Compare commits

...

2275 Commits

Author SHA1 Message Date
Amine Khaldi
75d3ae1a35 [0.4.3] * Update the release type.
svn path=/branches/ros-branch-0_4_3/; revision=73222
2016-11-13 10:38:42 +00:00
Amine Khaldi
bd884f3120 [0.4.3] * Merge shell32 fixes by Giannis in r73128. CORE-12106
svn path=/branches/ros-branch-0_4_3/; revision=73131
2016-11-05 11:07:31 +00:00
Amine Khaldi
a6c23e1508 [0.4.3] * Merge FstubReadPartitionTableEFI() fix by Pierre in r73112. CORE-12261
svn path=/branches/ros-branch-0_4_3/; revision=73119
2016-11-04 09:33:03 +00:00
Amine Khaldi
341f08fe62 [0.4.3] * Merge netcfgx changes by Doug in r73117. CORE-12094
svn path=/branches/ros-branch-0_4_3/; revision=73118
2016-11-04 09:30:13 +00:00
Amine Khaldi
2aa1dbe28e [0.4.3] * Merge IoWritePartitionTableEx() fix by Pierre in r73114. CORE-12261
svn path=/branches/ros-branch-0_4_3/; revision=73116
2016-11-04 09:17:52 +00:00
Amine Khaldi
51f682c062 [0.4.3] * Merge disk size computing overflow fix by Vort in r73113. CORE-12261
svn path=/branches/ros-branch-0_4_3/; revision=73115
2016-11-04 09:16:15 +00:00
Thomas Faber
8d7855228e [0.4.3]
- Merge the fastfat fix for Chrome committed in r73072
CORE-12132

svn path=/branches/ros-branch-0_4_3/; revision=73086
2016-10-30 20:32:02 +00:00
Thomas Faber
d85d2f10e7 [0.4.3]
- Revert r72839 & r72835 to avoid the FsRtlIsNameInExpressionPrivate crash from CORE-12121

svn path=/branches/ros-branch-0_4_3/; revision=73081
2016-10-30 18:11:13 +00:00
Amine Khaldi
950ecabf98 [0.4.3] * Merge rpcrt4 noisy fixme removal by Pierre in r73075.
svn path=/branches/ros-branch-0_4_3/; revision=73080
2016-10-30 17:19:18 +00:00
Amine Khaldi
4a8ee0589c [0.4.3] * Merge regsvr32 fix by Mark in r73077. CORE-12209
svn path=/branches/ros-branch-0_4_3/; revision=73079
2016-10-30 17:16:53 +00:00
Amine Khaldi
9c1e755a35 [0.4.3] * Merge eventvwr improvements by Hermès in r73043. CORE-11637
svn path=/branches/ros-branch-0_4_3/; revision=73073
2016-10-29 20:41:45 +00:00
Amine Khaldi
5450d07447 [0.4.3] * Apply the patch that allows us to dynamically change the resolution by resizing in VirtualBox. CORE-6742
svn path=/branches/ros-branch-0_4_3/; revision=73069
2016-10-29 18:25:32 +00:00
Thomas Faber
29accff111 [0.4.3]
- Update start menu banner

svn path=/branches/ros-branch-0_4_3/; revision=73067
2016-10-29 18:11:47 +00:00
Amine Khaldi
836872de4b [0.4.3] Add a hack by Thomas to avoid MmGetPhysicalAddress failures during USB transfers. CORE-9224
svn path=/branches/ros-branch-0_4_3/; revision=73066
2016-10-29 18:07:53 +00:00
Amine Khaldi
f8267425bd [0.4.3] * Disable COMMAND.COM debugging messages. CORE-10710
svn path=/branches/ros-branch-0_4_3/; revision=73065
2016-10-29 18:00:23 +00:00
Amine Khaldi
d7dcbcd3fd [0.4.3] * Apply the Wordpad related hack from CORE-5823 by Jared Smudde.
svn path=/branches/ros-branch-0_4_3/; revision=73064
2016-10-29 17:59:09 +00:00
Amine Khaldi
e1a776f958 [WIN32SS/USER32] Mask exceptions from WndProc, essentially reverting r72495. CORE-11915
svn path=/branches/ros-branch-0_4_3/; revision=73063
2016-10-29 17:57:53 +00:00
Amine Khaldi
5026076e31 [0.4.3] Update the version number.
svn path=/branches/ros-branch-0_4_3/; revision=73057
2016-10-28 21:32:23 +00:00
Ziliang Guo
d043f2969e [0.4.3]
Mark branch builds as release candidates.

svn path=/branches/ros-branch-0_4_3/; revision=73056
2016-10-28 21:06:03 +00:00
Hermès Bélusca-Maïto
c51f0d6551 And the usual thing... "fix build".
svn path=/trunk/; revision=73036
2016-10-25 23:57:35 +00:00
Hermès Bélusca-Maïto
1f9c38b3b9 [EVTLIB]: Create a EvtLib library for manipulating the event log file format from anywhere.
[EVENTLOG]: Make usage of this library.
CORE-11868 #resolve #comment Committed in r73035.

[EVENTLOG]: Protect the global handle table with a lock as it seems to me that this needs serialization. Please notify me if you think this is not actually necessary (and I'll revert that in case).

svn path=/trunk/; revision=73035
2016-10-25 23:50:31 +00:00
Hermès Bélusca-Maïto
34a06851d3 [EVENTLOG]
- Update code source files headers.
- Use explicit unicode functions for RegOpen/Query/SetXXX and safe-string APIs.
- Use GetSystemWindowsDirectoryW where needed instead of GetWindowsDirectoryW (TS-safe).
- Fix some variable names & types.
- Improve some DPRINTs.

svn path=/trunk/; revision=73034
2016-10-25 23:32:20 +00:00
Johannes Anderwald
496573473b [USBAUDIO]
- implement mute control property handler

svn path=/trunk/; revision=73033
2016-10-25 19:20:09 +00:00
Kamil Hornicek
fe5595d60d [GDI32]
- comply with MSDN and stop enumerating font families as soon as the user provided callback returns zero
- fixes bunch of user32:sysparams tests which rely on this

svn path=/trunk/; revision=73032
2016-10-25 17:08:05 +00:00
Peter Hater
263afc07c3 [WSHTCPIP] Don't return NO_ERROR in unimplemented WSHIoctl. It only confuses programs. Return WSAEINVAL. CORE-12104
svn path=/trunk/; revision=73031
2016-10-25 09:23:40 +00:00
Peter Hater
ca5719a178 [MSAFD] Implement WSPIoctl overlapped. CORE-12162 #resolve
svn path=/trunk/; revision=73030
2016-10-25 07:54:00 +00:00
Jérôme Gardou
04442ae74c [NTOS/MM]
- Arch striking again : take everywhere into account the +1 offset introduced in r72988
CORE-12047

svn path=/trunk/; revision=73029
2016-10-23 18:59:42 +00:00
Aleksandar Andrejevic
1ef056a0ed [NTVDM:VBE]: Don't crash if the video mode is invalid.
svn path=/trunk/; revision=73028
2016-10-23 17:21:58 +00:00
Hermès Bélusca-Maïto
6fcebba53b [CMAKE]: Introduce a evil workaround for the problem described in CORE-12205/CORE-12206, that was unveiled by commit r73024. CMake gurus, please review & make suggestions! :)
svn path=/trunk/; revision=73027
2016-10-22 22:51:34 +00:00
Hermès Bélusca-Maïto
00a8b0a3c8 [WLANCONF]: Addendum to r73024.
svn path=/trunk/; revision=73026
2016-10-22 22:15:10 +00:00
Hermès Bélusca-Maïto
6f5d03b414 [MORE]: Rewrite almost completely the MORE command, taking advantage of the console pager functionality of the ConUtils library (see CORE-10504 and commit r73024).
- When displaying files, display the percentage of file read so far in the "Continue" prompt. Otherwise (when being piped or feeded from StdIn), just display the "Continue" prompt without percentage.
- Try to detect the text file encoding (ANSI, UTF16-BE/BE w/ or w/o BOM; UTF-8 to do!!) before displaying it. See the code for more details.

NOTE that the other functionalities of more (being able to scroll one line at a time, other command-line switches, etc...) are still not implemented yet.

svn path=/trunk/; revision=73025
2016-10-22 22:07:28 +00:00
Hermès Bélusca-Maïto
eb198b854d [CONUTILS]
- Introduce new functionalities related to console streams, a console screen management api (almost stubbed), a console pager api (adapted from code from CMD). This new functionality will be used in the future. See CORE-10504 for more details.
- As this library is therefore growing up, split it in small parts (sublibraries) that can be used, with the following dependency scheme: base utils (standalone); streams depending on base; screen depending on streams; pager depending on screen.

[APPS]: As a result, modify the CMakeLists of the different apps that use conutils to make them depend on the correct sublibrary.

svn path=/trunk/; revision=73024
2016-10-22 21:54:29 +00:00
Hermès Bélusca-Maïto
26cf82fa5b [MODE]: Forgot this change too (related to kbd rate before delay).
svn path=/trunk/; revision=73023
2016-10-22 21:46:58 +00:00
Hermès Bélusca-Maïto
0c5fc9b3b5 [CLIP]: Check read status before number of bytes read. Update main resource file.
[COMP]: Code style fix; remove an unused define.
[EVENTCREATE]: Remove an unused define.

[HELP]
- Remove unneeded headers; minor code formatting.
- Remove an unused define.
- Add placeholder Czech resource translation.

[MODE]: Update translation (part 2/x); show the keyboard rate before the delay.

svn path=/trunk/; revision=73022
2016-10-22 21:42:13 +00:00
Johannes Anderwald
a3f82b7d7b [KS]
- enable topology property handlers

svn path=/trunk/; revision=73021
2016-10-22 19:52:51 +00:00
Johannes Anderwald
5dc6c5bb88 [USBAUDIO]
- fix warnings & leaks based on Thomas feedback

svn path=/trunk/; revision=73020
2016-10-22 12:34:03 +00:00
Mark Jansen
d0b74180b2 [FRAGINATOR] Silence a ton of warnings.
svn path=/trunk/; revision=73019
2016-10-22 12:13:34 +00:00
Mark Jansen
9efe78ac9f [OLE32] Stub and export CoGetCancelObject. CORE-12199
svn path=/trunk/; revision=73018
2016-10-22 12:03:33 +00:00
Johannes Anderwald
3e7f31ebe1 - implement MMixerGetDeviceNameWithComponentId, which retrieves the device name via component id
- start implement MMixerHandleTopologyFilter, does not yet fully work

svn path=/trunk/; revision=73017
2016-10-21 21:26:12 +00:00
Johannes Anderwald
a9a9930090 [USBAUDIO]
- implement retrieving string descriptor of product and store it in registry.

svn path=/trunk/; revision=73016
2016-10-21 21:15:01 +00:00
Hermès Bélusca-Maïto
6357011e41 [ADVAPI32_APITEST]: I wasn't alone for writing these tests!
svn path=/trunk/; revision=73015
2016-10-21 21:08:54 +00:00
Johannes Anderwald
3423877df1 [USBCCGP]
- fix invalid device descriptor for composite usb devices

svn path=/trunk/; revision=73014
2016-10-21 20:52:40 +00:00
Hermès Bélusca-Maïto
6672ea6af0 [MODE]: Adjust german resources.
svn path=/trunk/; revision=73013
2016-10-21 20:48:26 +00:00
Robert Naumann
dbf62b106c [MODE] add initial German translation. needs completition!!!
svn path=/trunk/; revision=73012
2016-10-21 20:44:38 +00:00
Peter Hater
08744dfc42 [WS2_32_APITESTS] Add tests for SIO_GET_INTERFACE_LIST. Brought to you by Andreas Maier. Thanks.
Minor modifications by me on comparison and expected flags.
ROSTESTS-246

svn path=/trunk/; revision=73011
2016-10-21 16:47:38 +00:00
Amine Khaldi
3315eae709 [ACPPAGE] Remove unneeded initialization. Should make the x64 bot a tiny bit happier. Spotted by Mark Jansen.
svn path=/trunk/; revision=73010
2016-10-21 09:48:00 +00:00
Amine Khaldi
8a6585ff73 [PSDK] Add missing RpcBindingServerFromClient.
svn path=/trunk/; revision=73009
2016-10-21 09:26:11 +00:00
Amine Khaldi
d61d2809de [URLMON] Stub and export HlinkGoForward(). CORE-12196
svn path=/trunk/; revision=73008
2016-10-21 09:03:45 +00:00
Amine Khaldi
a4cfe8d2da [RPCRT4_WINETEST] Addendum to r73006.
svn path=/trunk/; revision=73007
2016-10-21 09:02:08 +00:00
Amine Khaldi
c0e27b85ab [RPCRT4] Import Wine commit 01290cd by Colin and Christoph: Implement RpcBindingServerFromClient and populate NetworkAddr for each transport.
svn path=/trunk/; revision=73006
2016-10-21 09:01:35 +00:00
Pierre Schweitzer
708359754c [MPR]
Import Wine commit:
- d9c9d9b10f58844a780d8bfc9ed1b6713e37d487, Implement connected resources enumeration.

CORE-11757

svn path=/trunk/; revision=73005
2016-10-21 05:28:29 +00:00
Mark Jansen
a29538f1b9 [WINETESTS] Rename generated_i386.c to generated.c, adjust the CMakeLists.txt accordingly.
svn path=/trunk/; revision=73004
2016-10-20 21:44:12 +00:00
Mark Jansen
9fabe9b420 [SDK] Fix our Delayload notify hook for MSVC x64
svn path=/trunk/; revision=73003
2016-10-20 21:08:17 +00:00
Mark Jansen
a62945fc94 [APPHELP_APITEST] This should not be here.
svn path=/trunk/; revision=73002
2016-10-20 21:03:38 +00:00
Hermès Bélusca-Maïto
252f96e3b1 [KS]: Fix annotations, etc.
svn path=/trunk/; revision=73001
2016-10-20 20:44:02 +00:00
Johannes Anderwald
b8e67c826c [PSDK]
- add missing definition

svn path=/trunk/; revision=73000
2016-10-20 20:29:30 +00:00
Johannes Anderwald
3b8ab07631 [KS]
- implement support for KSPROPSETID_General

svn path=/trunk/; revision=72999
2016-10-20 20:02:43 +00:00
Hermès Bélusca-Maïto
38933ca790 [CMD]: Documentation improvement: we actually support two types of filename completions, windows-cmd like (the default one), and "bash-style" one (that is available through a compile switch). I prefer calling it "bash-style" over "unix-style" because this style of completion looks like the one from the GNU ReadLine library, that is used by Bash, which is not exclusive to unix per se...
svn path=/trunk/; revision=72998
2016-10-20 16:51:07 +00:00
Hermès Bélusca-Maïto
99ef1a3353 [KERNEL32]: Mark Get/SetEnvironmentVariableA/W as hotpatchable since it's needed for Clink 0.4.8 (<rant>btw, if GCC was able to set exported stdcall functions as hotpatchable at a global level, as MSVC does, those "DECLSPEC_HOTPATCH" hacks would not be necessary! </rant>)
svn path=/trunk/; revision=72997
2016-10-19 22:26:04 +00:00
Hermès Bélusca-Maïto
7f59e9a13c [MODE]
- Localization of output based on a patch by Lee Schroeder, but where I haven't modified yet the output localization of errors.
- Dynamically underline the headers of the device status reports (by me).
CORE-12178

svn path=/trunk/; revision=72996
2016-10-19 17:04:29 +00:00
Hermès Bélusca-Maïto
d259d035bc [MODE]
- Rearrange ResizeTextConsole so that it correctly computes the Top & Bottom parts of the window size rectangle;
- Fix its return type;
- Display an error if we failed resizing the console;
- Clear the screen before resizing the console, as the real MODE.COM does.
- Fix a parsing error in SetConsoleStateOld and in SetConsoleCPState.

svn path=/trunk/; revision=72995
2016-10-19 15:04:42 +00:00
Hermès Bélusca-Maïto
4c38c9a07e [MODE]: Code style changes + remove unused parameter for ResizeTextConsole.
svn path=/trunk/; revision=72994
2016-10-19 15:00:32 +00:00
Hermès Bélusca-Maïto
2e6eddbc97 [CONSRV]
- Call TermGetLargestConsoleWindowSize to obtain the largest console window size allowed on the system, and use it for GetConsoleScreenBufferInfo and for SetConsoleWindowInfo too, where it is used to check if the given user window size is not too large.
- Improve GuiGetLargestConsoleWindowSize for multi-monitor situations.
- Remove the redundant definition of GetScreenBufferSizeUnits in guiterm.c (it already exists in conwnd.c).

svn path=/trunk/; revision=72993
2016-10-18 23:51:59 +00:00
Hermès Bélusca-Maïto
be43197190 [CONSRV]: Code style changes only.
svn path=/trunk/; revision=72992
2016-10-18 23:45:19 +00:00
Pierre Schweitzer
a8e3f3a292 [PSDK]
Replace error codes that don't even exist in MS headers (but they are referenced on MSDN?!)
Replace their usage in code

svn path=/trunk/; revision=72991
2016-10-18 20:32:50 +00:00
Jérôme Gardou
3a5149de3e [NTOS/MM]
- Let the zero page thread decide itself whether it is active or not.
 - Raise the low memory limit for our good old balancer
 - Allow the balancer thread to wait for a page to be freed, with a lower limit than for "regular" page faults
 - Let ARM3 notify RosMm when a page gets freed
CORE-12047 #comment Whole patch got in in r72988, 72989 and 72990

svn path=/trunk/; revision=72990
2016-10-18 20:19:00 +00:00
Jérôme Gardou
63bbaff803 [NTOS/MM]
Miscellaneous fixes for legacy Mm section implementation
 - Always allocate a private page for IMAGE_SCN_CNT_UNINITIALIZED_DATA
 - Make sure a shared page is present before writing on a COW mapping and making a private copy.
 - Fix a race condition : when paging out a file section, old Mm lists all of the process maps, removing them one after the other and lowering the page reference count in the process. Sometimes a page fault occur in the process, the mapping is added, but the page refcount is not bumped because it requires locking the corresponding segment. Manage page refcount under segment lock.
CORE-12047

svn path=/trunk/; revision=72989
2016-10-18 20:01:18 +00:00
Jérôme Gardou
d46dd383f6 [NTOS/MM]
- Do not allocate zeroed pagefile entries for legacy Mm
CORE-12047

svn path=/trunk/; revision=72988
2016-10-18 19:55:22 +00:00
Jérôme Gardou
72c8ed3670 [FASTFAT]
- Acquire Paging IO Resource shared when performing paged writes 
Greenlighted by Pierre and tests.
CORE-12184 #resolve 

svn path=/trunk/; revision=72987
2016-10-18 19:28:16 +00:00
Pierre Schweitzer
6fa7ff1eba [PSDK]
Make DECLARE_CONST_UNICODE_STRING() work with something else than MSVC

svn path=/trunk/; revision=72986
2016-10-18 18:28:45 +00:00
Hermès Bélusca-Maïto
0508cc702d [KERNEL32_APITEST]: SetConsoleWindowInfo test:
- Improve the checks done for the tests;
- Add a new test (Test7) that tests the allowed console window sizes wrt. the csbi.dwMaximumWindowSize size.

svn path=/trunk/; revision=72985
2016-10-18 17:44:23 +00:00
Hermès Bélusca-Maïto
76c73fc423 [CONSRV]: Fixes for SetConsoleWindowInfo, where one notices that again the MSDN documentation on SetConsoleWindowInfo is partially wrong.
This makes all the kernel32_apitest:SetConsoleWindowInfo tests pass now.
Also, notify the console window about the size change.

svn path=/trunk/; revision=72984
2016-10-18 17:16:57 +00:00
Hermès Bélusca-Maïto
0d6632cdfb [CONSRV]: Minor fixes:
- Use GetSystemWindowsDirectoryW instead of GetWindowsDirectoryW inside "TranslateConsoleName";
- Don't add scrollbars by default to the console window when it's being created;
- Fix the 2nd parameter of MapVirtualKeyW call;
- Two code style changes in text.c and tuiterm.c.

svn path=/trunk/; revision=72983
2016-10-18 17:12:57 +00:00
Hermès Bélusca-Maïto
916943b1c4 [KERNEL32_APITEST]: Imprrove the SetConsoleWindowInfo test (add a new test case, and now correctly restores the console size after all the tests are done).
svn path=/trunk/; revision=72982
2016-10-18 16:08:34 +00:00
Hermès Bélusca-Maïto
ae221a8274 [KERNEL32_APITEST]: Commit a test for SetConsoleWindowInfo.
svn path=/trunk/; revision=72981
2016-10-18 15:35:06 +00:00
Hermès Bélusca-Maïto
533d9d5f59 [MODE]: Numerous fixes for the MODE utility:
- Parse the command line the same peculiar way as Windows' mode.com tool. This is certainly done such as to be backwards-compatible with MS-DOS' tool.
- Fix serial port string parsing, based on Wine's dll/win32/kernel32/wine/comm.c code. Note that the BuildCommDCB kernel32 API has the same syntax :)
- Implement support for MODE CON codepage, as well as screen size and typematic settings. Screen size code is based on NTVDM's one and will be subject to fixes later on.

MISSING stuff:
- LPT/COM port redirection.
- Localization :)

CORE-12176 #resolve
CORE-7998 CORE-8001

svn path=/trunk/; revision=72980
2016-10-17 22:19:22 +00:00
Johannes Anderwald
cad3120307 [WDMAUD]
- fix a bug in WdmAudControlDeviceType
- clear handle value when opening device interface key fails

svn path=/trunk/; revision=72979
2016-10-17 19:03:01 +00:00
Peter Hater
39544b234b [MSAFD] Add some parameter checks on send/recv based on wine tests. CORE-12104
svn path=/trunk/; revision=72978
2016-10-17 15:24:43 +00:00
Mark Jansen
ee50a9c889 [ATL][ATL_APITEST] Implementation / fixes for varions CRegKey functions, by Katayama Hirofumi MZ. CORE-11746 #resolve
svn path=/trunk/; revision=72977
2016-10-17 12:50:54 +00:00
Thomas Faber
14a0d23f4c [KMTESTS:OB]
- Add a test for the NT directory structure's ACLs
CORE-9184

svn path=/trunk/; revision=72976
2016-10-17 09:28:15 +00:00
Thomas Faber
85fa521728 [NTOS:CM]
- Ignore the KEY_WOW64_32KEY and KEY_WOW64_64KEY flags in NtOpenKey/NtCreateKey, as shown by tests.
CORE-9691 #resolve

svn path=/trunk/; revision=72975
2016-10-15 20:16:47 +00:00
Thomas Faber
0d36dcef60 [NTDLL_APITEST]
- Show that NtOpenKey and NtCreateKey accept, but ignore, KEY_WOW64_32KEY and KEY_WOW64_64KEY
CORE-9691

svn path=/trunk/; revision=72974
2016-10-15 18:33:21 +00:00
Johannes Anderwald
9bd7a7db6d [USBAUDIO]
- implement building topology connections

svn path=/trunk/; revision=72973
2016-10-15 17:56:44 +00:00
Benedikt Freisen
38d01b32ac [MSPAINT]
- fix an odd quirk that resulted from Paint setting wallpaper and wallpaper style in the wrong order
- add the flag SPIF_SENDWININICHANGE

Setting wallpapers now works, whenever the OS natively supports the respective file format for wallpapers.

svn path=/trunk/; revision=72972
2016-10-15 11:44:15 +00:00
Johannes Anderwald
5c2a0471bd [USBAUDIO]
- partly implement BuildUSBAudioFilterTopology

svn path=/trunk/; revision=72971
2016-10-14 22:08:28 +00:00
Johannes Anderwald
1c43c34853 [USBAUDIO]
- partly implement UsbAudioPinDataIntersect

svn path=/trunk/; revision=72970
2016-10-14 13:26:22 +00:00
Johannes Anderwald
4b5428d521 [USBAUDIO]
- specify processings flags in filter descriptor
- implement processing workers
- move code for initializing irp & urb into single function
- usbaudio now successfully captures audio in win2k3.

svn path=/trunk/; revision=72969
2016-10-14 10:35:19 +00:00
Amine Khaldi
25b64d3c35 [SHELL32] Add two missing AVIs. By Jared Smudde. CORE-11641
svn path=/trunk/; revision=72968
2016-10-13 21:46:39 +00:00
Amine Khaldi
e3d7748688 [EVENTVWR][EXPLORER][SHELL32] Russian translation update by Sergey Stopkin. CORE-12153
svn path=/trunk/; revision=72967
2016-10-13 21:39:37 +00:00
Peter Hater
a82f4b1f38 [MSAFD] Implement WSPGetOverlappedResult. Reviewed by Thomas and Art. Thanks! CORE-12134 #resolve
svn path=/trunk/; revision=72966
2016-10-13 20:30:42 +00:00
Mark Jansen
24100643a9 [NETCFGX] RegQueryValueExW accepts a size in bytes, not TCHARS. Also, this local buffer probably shouldnt be used. Uncovered by Victor Martinez Calvo. CORE-9665
svn path=/trunk/; revision=72965
2016-10-13 19:57:29 +00:00
Thomas Faber
6031bd0162 [KMTESTS:IO]
- Add a test for the maximum data length for MDLs
CORE-12132

svn path=/trunk/; revision=72964
2016-10-13 12:28:01 +00:00
Thomas Faber
4b9d31d916 [PSDK]
- ksmedia.h requires ks.h to be included first. Based on a patch by Lee Schroeder.
CORE-6783

svn path=/trunk/; revision=72963
2016-10-13 09:21:57 +00:00
Thomas Faber
1da8f46087 [PSDK]
- Add some KS definitions. Patch by Lee Schroeder
CORE-6783

svn path=/trunk/; revision=72962
2016-10-13 08:53:11 +00:00
Thomas Faber
6a96846321 [MSHTML_WINETEST]
- Re-enable skipped htmldoc tests.
ROSTESTS-113 #resolve

svn path=/trunk/; revision=72961
2016-10-12 21:10:04 +00:00
Thomas Faber
7f94fb8b3d [REGDUMP]
- Fix a buffer overflow. Patch by Víctor Martínez Calvo.
ROSTESTS-203 #resolve

svn path=/trunk/; revision=72960
2016-10-12 12:41:31 +00:00
Thomas Faber
3d2b354712 [USER32]
- Remove IsBadWritePtr hack. Patch by Katayama Hirofumi MZ.
CORE-12136 #resolve

svn path=/trunk/; revision=72959
2016-10-12 12:07:44 +00:00
Hermès Bélusca-Maïto
8fb10f0eea [WINETESTS/SETUPAPI]: setupapi/tests: Determine path to system32 directory at runtime. Synced from Wine-Staging commit 92510a34ed9ec67fec4e580a5c73b8b53c216734
ROSTESTS-234 #comment Updated in r72958.

svn path=/trunk/; revision=72958
2016-10-12 11:36:16 +00:00
Peter Hater
a0257c8b37 [WS2_32_APITESTS] Add super simple WSARecv tests used to test WSAGetOverlappedResult. ROSTESTS-197
svn path=/trunk/; revision=72957
2016-10-11 10:48:47 +00:00
Hermès Bélusca-Maïto
5bcbde18ec [CMD]: Fix the "TYPE" command so that it doesn't interpret the optional /P switch as a filename.
svn path=/trunk/; revision=72956
2016-10-10 19:17:03 +00:00
Hermès Bélusca-Maïto
b408826a0b [CMD]
- Improve the screen pager so that it looks a bit more like MORE's one: display full screen pages, where only the last line contains the "press any key..." prompt, and erase this prompt when a key is pressed and before displaying the other screen page.
- GetScreenSize parameters are pointers (so use NULL instead of 0);
- Use ARRAYSIZE instead of hardcoding buffer number of elements;
- Simplify PrintInfoLine() (use read-only resource string buffer returned by LoadString instead of a temporary buffer, since we are just interested in the counted string).

svn path=/trunk/; revision=72955
2016-10-10 19:15:07 +00:00
Hermès Bélusca-Maïto
8fbd67bc4a [CMD]
- Fix typo in STRING_MEMMORY_xxx symbols (memmory -> memory);
- Remove the trailing newline for the STRING_MISC_HELP1 page prompt, as part of reworking it a bit (see next commit);
- Code formatting in type.c as I'll touch it after.

svn path=/trunk/; revision=72954
2016-10-10 19:11:15 +00:00
Peter Hater
05f82b6443 [MSAFD] We support AF_INET,SOCK_RAW,IPPROTO_RAW and IF_INET,SOCK_RAW,IPPROTO_TCP triples also. Enable them in winsock mapping registry. CORE-12104
svn path=/trunk/; revision=72953
2016-10-10 08:00:20 +00:00
Peter Hater
81eb620cc0 [MSAFD] We support SOCK_RAW and IPPROTO_RAW also. CORE-12104
svn path=/trunk/; revision=72952
2016-10-10 07:57:34 +00:00
Peter Hater
f58ddd3b46 [WINHTTP] Properly initialize winsock. Based on wine tests CORE-12104
svn path=/trunk/; revision=72951
2016-10-10 06:54:56 +00:00
Peter Hater
0ebbe83388 [WININET] initialize winsock with proper version. Based on wine tests CORE-12104
svn path=/trunk/; revision=72950
2016-10-10 06:52:40 +00:00
Peter Hater
9017581a14 [WS2_32_APITESTS] Fix helper by not shutting down send. This way it breaks the test on windows also.
svn path=/trunk/; revision=72949
2016-10-10 06:48:56 +00:00
Peter Hater
91a772cfd5 [MSAFD] Fix some return codes and better parameter checks based on wine tests CORE-12104
svn path=/trunk/; revision=72948
2016-10-10 06:38:52 +00:00
Mark Jansen
aef3f9c467 RegQueryValueExW and RegQueryValueExA calls accept bytes. Patch by Victor Martinez Calvo. CORE-9665 #comment Thanks!
svn path=/trunk/; revision=72947
2016-10-09 20:58:08 +00:00
Mark Jansen
fc0c290789 [MSCONFIG_NEW|SETUP/WELCOME] Capitalize "os" in "ReactOS" part 4 by Adam Stachowicz CORE-9558 #resolve #comment Last patch applied, thanks!
svn path=/trunk/; revision=72946
2016-10-09 20:20:10 +00:00
Benedikt Freisen
2a5f64604f [MSPAINT] get rid of all _stprintf occurrences and the respective magic number sized TCHAR arrays
svn path=/trunk/; revision=72945
2016-10-09 11:42:37 +00:00
Hermès Bélusca-Maïto
84a2080689 [EVENTCREATE]: Update turkish translation, by Erdem Ersoy.
CORE-12120 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=72944
2016-10-08 19:43:16 +00:00
Hermès Bélusca-Maïto
8dd8a9d989 [PING]
- Use a dynamic-allocated buffer with FormatMessageW, fixes messages disappearance (eg. ping help in russian). CORE-12108 #comment Fixed in r72943.
- Remove the unneeded 1-line function "Usage" and instead just directly call the corresponding PrintString function.

svn path=/trunk/; revision=72943
2016-10-08 14:48:18 +00:00
Hermès Bélusca-Maïto
d03fd72465 [DEVMGR]: Fix spacing around "ReactOS" in translated strings.
svn path=/trunk/; revision=72942
2016-10-08 14:20:22 +00:00
Hermès Bélusca-Maïto
8b0c046e3c [FLTMC]: Resource strings do not need to be explicitely NULL-terminated, as ATL helpers know how to deal with them.
svn path=/trunk/; revision=72941
2016-10-08 14:05:06 +00:00
Hermès Bélusca-Maïto
2bc77973f5 [FORMAT]: Fix ukrainian translation by Vort.
svn path=/trunk/; revision=72940
2016-10-08 13:55:30 +00:00
Hermès Bélusca-Maïto
3d9c96162e Fix commit synchronization issue (that's what happens when you work on a patch that somebody else worked on in parallel!!)
svn path=/trunk/; revision=72939
2016-10-08 13:13:38 +00:00
Hermès Bélusca-Maïto
8b14a4a88a [TRANSLATIONS]: Russian translation update by Sergey Stopkin.
CORE-12108 #comment Спасибо!

svn path=/trunk/; revision=72938
2016-10-08 13:12:35 +00:00
Amine Khaldi
aec4ce26d4 [TRANSLATIONS] Russian translation update by Sergey Stopkin. CORE-12108
svn path=/trunk/; revision=72937
2016-10-08 12:57:53 +00:00
Amine Khaldi
d550219e4c [PING] German translation by Joachim Henze. CORE-12117
svn path=/trunk/; revision=72936
2016-10-08 12:50:15 +00:00
Thomas Faber
628956f819 [GDI32]
- Remove handling of BS_DIBPATTERN8X8 in CreateBrushIndirect. Fixes the last gdi32:brush winetest failure. Patch by Víctor Martínez Calvo.
CORE-9673 #resolve

svn path=/trunk/; revision=72935
2016-10-08 08:28:08 +00:00
Mark Jansen
c9c3a517b2 [MSGINA] Fix the order of checking for a valid / visible window, spotted by 'leha-bot' CORE-12028
svn path=/trunk/; revision=72934
2016-10-07 23:11:17 +00:00
Hermès Bélusca-Maïto
330db984fe [DISKPART][NET][WLANCONF]
Make those command tools use the console uilities library, aka. solve all those problems of wrong characters on the console...
CORE-10584 #resolve

[CONUTILS]: Remove the now unneeded compatibility defines.
CORE-10504

svn path=/trunk/; revision=72933
2016-10-07 22:50:32 +00:00
Hermès Bélusca-Maïto
4c4b769ef2 [LOGOFF]: Code formatting fixes, including tabs vs. spaces.
svn path=/trunk/; revision=72932
2016-10-07 22:08:20 +00:00
Hermès Bélusca-Maïto
0b335753ce [CONUTILS]: Fix build:
- Commit the *Puts functions.
- Fix __stdcall that needs to be read __cdecl for variadic functions.

svn path=/trunk/; revision=72931
2016-10-07 21:57:59 +00:00
Hermès Bélusca-Maïto
cc5ded3854 [CACLS][CLIP][COMP][EVENTCREATE][HELP][LOGOFF][SHUTDOWN][CHKDSK][FORMAT][SUBST]
- Use Puts functions where needed;
- Fix a __stdcall that needs to be read __cdecl for a variadic function.

[CACLS]
Fix some resources so that the strings can hold on the width of a standard console screen (80 chars).

svn path=/trunk/; revision=72930
2016-10-07 21:57:12 +00:00
Hermès Bélusca-Maïto
bf2828383e Fix build.
svn path=/trunk/; revision=72929
2016-10-07 20:44:15 +00:00
Hermès Bélusca-Maïto
bc065fb271 [CACLS][CLIP][COMP][HELP][LOGOFF][SHUTDOWN][CHKDSK][FORMAT][SUBST]
Make those command tools use the console uilities library, aka. solve all those problems of wrong characters on the console...
Nitpickers may notice that at some places, the usage of a "Puts"-like function would be better than Printf. Don't worry, I'm on it, it's for another commit.
CORE-10504
CORE-11909 #resolve

svn path=/trunk/; revision=72928
2016-10-07 20:37:36 +00:00
Mark Jansen
2ff4f82972 [NETID] Cleanup the spec file. Patch by Jared Smudde. CORE-11309 #resolve
svn path=/trunk/; revision=72927
2016-10-07 18:40:45 +00:00
Christoph von Wittich
ee7a3fece4 [MSAFD] Implement WSPDuplicateSocket. By Peter Hater. CORE-12092
svn path=/trunk/; revision=72926
2016-10-07 17:51:03 +00:00
Johannes Anderwald
eb204e920d [USBAUDIO]
- use IoInitializeIrp over IoAllocateIrp
- reinitialize irp and urb when resubmitting it
- usbaudio now successfully transfers stream irps (not yet fully working)

svn path=/trunk/; revision=72925
2016-10-07 17:30:27 +00:00
Christoph von Wittich
4c5f898585 [WS2_32] fix various ws2_32:sock failures with return codes. By Peter Hater. CORE-12104
svn path=/trunk/; revision=72924
2016-10-07 16:17:49 +00:00
Thomas Faber
d47e800182 [DWNL]
- Handle arbitrary console buffer width in write_status
CORE-10228 #resolve

svn path=/trunk/; revision=72923
2016-10-07 15:25:20 +00:00
Hermès Bélusca-Maïto
f239ca0f04 [KD]
- When enabling or disabling the kernel debugger and setting the KdDebuggerEnabled flag, also update the corresponding user-mode flag in SharedUserData->KdDebuggerEnabled.
- Turn KdpGetMemorySizeInMBs into a INIT_FUNCTION.
- Print kernel command line & ARC paths even in debug log file mode.

[KD64]
WinKD: Also print our nice ReactOS debug header (version, # of processors & memory MB, kernel command line and ARC paths).

svn path=/trunk/; revision=72922
2016-10-06 19:01:33 +00:00
Amine Khaldi
9593c338c3 [CONUTILS] Addendum to r72913. CORE-10504
svn path=/trunk/; revision=72921
2016-10-06 14:20:16 +00:00
Hermès Bélusca-Maïto
fe98303465 [RAPPS(_NEW)][SETUP]: Last russian translation fixes, by Kudratov Olimjon, amber, and Sergey Stopkin.
CORE-11510 CORE-11636 #resolve #comment Fixed in r72920, thanks to you all!

svn path=/trunk/; revision=72920
2016-10-06 12:51:05 +00:00
Hermès Bélusca-Maïto
baf0c710d8 [RAPPS_NEW]: Whitespace fix in taiwan chinese language.
svn path=/trunk/; revision=72919
2016-10-06 12:48:37 +00:00
Hermès Bélusca-Maïto
5f68ab2401 [RAPPS][RAPPS_NEW]: Try to not hardcode types of variables in sizeofs, and use _countof where possible.
svn path=/trunk/; revision=72918
2016-10-06 12:22:32 +00:00
Amine Khaldi
894fa45ad2 [WS2_32_WINETEST] Sync with Wine Staging 1.9.20.
svn path=/trunk/; revision=72917
2016-10-06 11:15:59 +00:00
Thomas Faber
e8109a02b4 [SYSSETUP]
- Install the DHCP client service as part of nettcpip.inf. This ensures it does not try to run before tcpip is installed.
CORE-12011 #resolve

svn path=/trunk/; revision=72916
2016-10-06 10:57:29 +00:00
Daniel Reimer
48a354d428 [INF]
Update Root CAs removing "Juur-SK", "EBG Elektronik Sertifika Hizmet Saglayicisi" and "IGC/A"

svn path=/trunk/; revision=72915
2016-10-05 22:53:24 +00:00
Daniel Reimer
f37012d4bd [FONTS]
Next time I will update the doc folder, too...

svn path=/trunk/; revision=72914
2016-10-05 22:48:51 +00:00
Hermès Bélusca-Maïto
89db25b0b1 [CONUTILS]: Create a C library for console output/input functions, last-error messages display, etc. to be used for all of our internal command-line utilities. Useless user32.dll dependencies are removed thanks to this lib. Currently only output functions are supported.
CORE-10504

[EVENTCREATE]: Adapt EventCreate to use ConUtils library, as an example of how to use this library.

svn path=/trunk/; revision=72913
2016-10-05 17:40:22 +00:00
Hermès Bélusca-Maïto
b881e7c859 [KERNEL32]: Improve RtlUnwind spec export.
svn path=/trunk/; revision=72912
2016-10-05 17:30:56 +00:00
Hermès Bélusca-Maïto
699e9b4328 [INCLUDES/CRT]: Fix the definition of 'stderr' (that we have wrong since r38292); move it next to the _iob definition.
svn path=/trunk/; revision=72911
2016-10-05 14:30:59 +00:00
Amine Khaldi
5290f6cf12 [MSAFD] Fix socket address length returned in WSPAccept. By Peter Hater. CORE-8549
svn path=/trunk/; revision=72910
2016-10-05 09:39:12 +00:00
Amine Khaldi
cd930de18d [WS2_32] Fix returned size of socketaddr on accepting connection. By Peter Hater. CORE-8549
svn path=/trunk/; revision=72909
2016-10-05 09:37:52 +00:00
Amine Khaldi
c3b215936d [WS2_32_APITEST] Add tests for getnameinfo. By Peter Hater. CORE-8549
svn path=/trunk/; revision=72908
2016-10-05 09:33:03 +00:00
Sylvain Petreolle
9c1da77024 [NtUser]
Revert r72905.

svn path=/trunk/; revision=72907
2016-10-05 08:46:30 +00:00
Colin Finck
a0c5f491cd Add a directory guaranteed to be empty :)
Needed for CORE-11988 to add arbitrary empty directories to the ISO image using mkisofs.
This change can't be expressed in a patch, so I have to do it right here.

svn path=/trunk/; revision=72906
2016-10-04 23:12:55 +00:00
Sylvain Petreolle
63a22e2a2f [NtUser]
Turn an ERR into a TRACE.

svn path=/trunk/; revision=72905
2016-10-04 21:45:39 +00:00
Amine Khaldi
b00ebb4709 [MSAFD] Fix some error translations by Peter Hater. CORE-7487
svn path=/trunk/; revision=72904
2016-10-04 18:36:00 +00:00
Amine Khaldi
fed5729c81 [WS2_32_WINETEST] Enable test_address_list_query() again, now that CORE-12000 is resolved.
svn path=/trunk/; revision=72903
2016-10-04 18:32:09 +00:00
Amine Khaldi
12aba472ef [MSAFD] Partial implementation of SIO_ADDRESS_LIST_QUERY by Peter Hater. CORE-12000
svn path=/trunk/; revision=72902
2016-10-04 18:27:17 +00:00
Thomas Faber
bf8b336ec9 [USER32_APITEST]
- Fix build

svn path=/trunk/; revision=72901
2016-10-04 15:37:25 +00:00
Thomas Faber
0a783e0ff3 [USER32_APITEST]
- Extend GetUserObjectInformation tests by adding tests for UOI_NAME on the default as well as custom window stations/desktops.
CORE-12073

svn path=/trunk/; revision=72900
2016-10-04 15:14:30 +00:00
Colin Finck
dc5f65c8d9 [HOST_TOOLS]
Defining -fshort-wchar globally for all host tools breaks every possibility to interact with the host's Unicode support for some operating systems with 4 byte wchar_t (like Mac OS X).
Let's better define no additional global flags and only add -fshort-wchar for the host modules that really need a 2-byte wchar_t for writing ReactOS data files. These are cmlibhost, inflibhost, mkhive and xml2sdb.

Also add -Wno-multichar only for cmlibhost, where it's required.

In preparation for CORE-11988

svn path=/trunk/; revision=72899
2016-10-04 12:37:52 +00:00
Amine Khaldi
2a4fd5b529 [ADNS][DNSAPI] Fix a local resolving regression that led to some browsers crashing after startup. By Peter Hater. CORE-12072 CORE-12088
svn path=/trunk/; revision=72898
2016-10-04 07:55:15 +00:00
Hermès Bélusca-Maïto
1c4750792d [CLIPBRD][EVENTVWR][MPLAY32][WELCOME][SYSDM]
Fix the ShowLastWin32Error helpers:
- don't display the last error string if it's ERROR_SUCCESS (since the code usually expects to display the last error message in case of errors);
- *always* call FormatMessage with the FORMAT_MESSAGE_IGNORE_INSERTS flag enabled. Indeed if it happens that the message string associated to an error ID contains insert parameter placeholders, and since we don't give here FormatMessage any argument array, the call would result into a crash without this flag.

svn path=/trunk/; revision=72897
2016-10-03 12:22:29 +00:00
Alex Ionescu
eb94308bbb [NTOS]: Handle two complex failure paths, one of which is apparently easily reproducible by ntdll:om test (I'm guessing some invalid object attribute). Thanks to Amine and lentin. Haven't tested this, but hopefully fixes things (and doesn't leak).
svn path=/trunk/; revision=72896
2016-10-03 03:30:11 +00:00
Hermès Bélusca-Maïto
58d0c0b704 [EVENTCREATE]: Update the english, russian & turkish translations:
- Translate a string into english (that I forgot to do: english & turkish);
- Fix the allowed event ID range mentioned in the help (russian);
- The event log names should not be localized (turkish).

svn path=/trunk/; revision=72895
2016-10-02 21:49:03 +00:00
Amine Khaldi
5a80dc6298 [EVENTCREATE] Attempt to fix unrecognized escape sequence issue. Sergey please review. CORE-12069
svn path=/trunk/; revision=72894
2016-10-02 20:40:06 +00:00
Amine Khaldi
b0887ed28d [TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-12089
svn path=/trunk/; revision=72893
2016-10-02 20:37:58 +00:00
Amine Khaldi
b88d0f18e9 [EVENTCREATE][PING] Russian translation update by Sergey Stopkin. CORE-12069
svn path=/trunk/; revision=72892
2016-10-02 19:26:45 +00:00
Giannis Adamopoulos
8a0defef3d [SHELL32]
- CNetFolder: Use the Folder class for the items shown. The same is done in shell extensions (in windows) that use the CDefaultContextMenu and want the Open and Explore verbs to be shown. This behaviour was first discovered by gigaherz when ntobjshex was tested in windows.
CORE-12086

svn path=/trunk/; revision=72891
2016-10-02 13:22:01 +00:00
Johannes Anderwald
1cfbbff51a [USBAUDIO]
- edit allocator framing struct to match endpoint requirements
- implement partly PinCaptureProcess, not yet working

svn path=/trunk/; revision=72890
2016-10-02 13:08:23 +00:00
Johannes Anderwald
160d7c5b1e [SDK]
- add missing definitions

svn path=/trunk/; revision=72889
2016-10-02 09:15:13 +00:00
Pierre Schweitzer
67cf4907ae [SHELL32]
When parsing the UNC names, start the connection to allow the user to browse the net folder immediately.
This is required for network providers which require the connections to be started before browsing (as VBoxNP).

This is likely a hack.

ROSAPPS-303
CORE-11757

svn path=/trunk/; revision=72888
2016-10-02 08:46:30 +00:00
Thomas Faber
bbc1b9deba [RTL]
- Only check for MBCS lead bytes in RtlIsTextUnicode if specifically requested
CORE-12027 #resolve for real this time

svn path=/trunk/; revision=72887
2016-10-02 08:34:30 +00:00
Hermès Bélusca-Maïto
e294510fcd [EVENTCREATE]: Update the lang files & make 1 stylistic change + remove trailing whitespace. No functionality changes.
svn path=/trunk/; revision=72886
2016-10-01 23:06:23 +00:00
Hermès Bélusca-Maïto
098c7ec631 [DISKPART]: Harmonize the source file info headers. No code changes.
svn path=/trunk/; revision=72885
2016-10-01 22:58:21 +00:00
Hermès Bélusca-Maïto
3eea4e5f2d [FORMAT]: Fix some resources.
svn path=/trunk/; revision=72884
2016-10-01 21:00:16 +00:00
Benedikt Freisen
66a9815a4e [MSPAINT]
- change type of haccel from HANDLE to HACCEL
- port registry code to ATL::CRegKey, which -- through its destructor -- should prevent handle leaks
- rename some parameters and variables
- incorporate some changes suggested by Carlo Bramini in CORE-12080

svn path=/trunk/; revision=72883
2016-10-01 20:04:43 +00:00
James Tabor
fb8f6fd2aa [NtUser]
- Turn off debug information.

svn path=/trunk/; revision=72882
2016-10-01 19:01:04 +00:00
James Tabor
0b4b25d0ed [User32_wineTest]
- Enable skipped test_activateapp tests.

svn path=/trunk/; revision=72881
2016-10-01 18:51:46 +00:00
James Tabor
d8c3f23447 [NtUser]
- Fix lockup while testing wine test_activateapp (all the tests including the ones commented out). Reordered focus functions to eliminate recursions. Fix ROSTESTS-208.

svn path=/trunk/; revision=72880
2016-10-01 18:48:02 +00:00
Thomas Faber
69ce708392 [ADVAPI32]
- Return ERROR_MORE_DATA instead of ERROR_BUFFER_OVERFLOW from RegEnumKeyExW in case the name or class buffer is too small.
CORE-12030 #resolve

svn path=/trunk/; revision=72879
2016-10-01 16:44:21 +00:00
Mark Jansen
cf6ff20079 [SHELL32] New shortcut overlay icon, fixed Folder Options Dialog icon, and other minor icon fixes by Jared Smudde. CORE-11414 #resolve #comment Thanks!
svn path=/trunk/; revision=72878
2016-10-01 16:35:14 +00:00
Mark Jansen
51a51d3174 [EXPLORER] Make the 'Remove' button in classic start menu properties spawn the remove dialog. Patch by Jared Smudde. CORE-12076 #resolve #comment Thanks!
svn path=/trunk/; revision=72877
2016-10-01 15:57:29 +00:00
Thomas Faber
3a5e3ae774 [ADVAPI32_APITEST]
- Add a test for RegEnumKeyExW showing that it should return ERROR_MORE_DATA instead of ERROR_BUFFER_OVERFLOW when the name buffer is too small. Based on a patch by Doug Lyons.
CORE-12030

svn path=/trunk/; revision=72876
2016-10-01 14:41:41 +00:00
Amine Khaldi
254a9ba114 [SHELL32] Disconnect dialog improvements by Jared Smudde. CORE-11864
svn path=/trunk/; revision=72875
2016-10-01 09:50:53 +00:00
Amine Khaldi
b5806e39e8 [NETSHELL][SAMSRV][SYSSETUP] Fix some misspellings. By Coburn on IRC and Jared Smudde. CORE-12013
svn path=/trunk/; revision=72874
2016-10-01 09:43:24 +00:00
Thomas Faber
531ee01590 [NTOS:EX]
- Acquire ProcessLock before accessing a process's thread list in NtQuerySystemInformation/SystemProcessInformation. Patch by Volodymyr Shcherbyna.
CORE-12001 #resolve

svn path=/trunk/; revision=72873
2016-10-01 09:03:47 +00:00
Amine Khaldi
10cdda5bf5 [MSTSC] Japanese translation improvements by Katayama Hirofumi MZ. CORE-12067
svn path=/trunk/; revision=72872
2016-10-01 08:38:01 +00:00
Thomas Faber
c77ad2e9b5 [WIN32K:NTGDI]
- Handle arbitrary-length DEVMODEW structures in NtGdiOpenDCW. Patch by Katayama Hirofumi MZ with small changes by me.
CORE-12068 #resolve

svn path=/trunk/; revision=72871
2016-10-01 08:25:35 +00:00
Dmitry Chapyshev
c60a62e0de [NTOS:FSRTL] Handle failure case
svn path=/trunk/; revision=72870
2016-09-30 17:33:19 +00:00
Thomas Faber
076a3c9cb7 [NTOS:MM]
- Get rid of MiNonPagedSystemSize, which is misleading because MmNumberOfSystemPtes can change throughout the startup process, thus invalidating this size variable
- Correctly reserve the system PTE space and nonpaged pool expansion space in MiInitSystemMemoryAreas
Should fix the remaining "Bad PTE" bug checks when running out of kernel address space.
CORE-11533 #resolve
CORE-11160 CORE-10611 CORE-11926 CORE-11873 CORE-11554 #comment This should be fixed with r72869, please retest.

svn path=/trunk/; revision=72869
2016-09-30 15:58:23 +00:00
Amine Khaldi
8e21414853 [DNSAPI_APITEST] Add more tests for DnsQuery_A/W. By Peter Hater. ROSTESTS-242
svn path=/trunk/; revision=72868
2016-09-30 15:23:25 +00:00
Amine Khaldi
040de105cc [ADNS][DNSAPI][MSWSOCK] Several fixes and improvements to DnsQuery and co, detailed in CORE-11394. This also fixes CORE-7441, many tests in dnsapi:DnsQuery, ws2_32:getaddrinfo and more. Brought to you by Peter Hater.
svn path=/trunk/; revision=72867
2016-09-30 15:19:29 +00:00
Johannes Anderwald
bc741955ed - fix bugs in USBAudioSelectAudioStreamingInterface
svn path=/trunk/; revision=72866
2016-09-30 09:57:42 +00:00
Johannes Anderwald
8895dae5d0 [USBAUDIO]
- implement GetMaxPacketSizeForInterface, UsbAudioAllocCaptureUrbIso, InitCapturePin

svn path=/trunk/; revision=72865
2016-09-29 22:19:34 +00:00
Daniel Reimer
ad3aa035db [RAPPS_NEW]
When Internet connection is down. Rapps does not generate any msg by Rama Teja Gampa
+ GIT -> SVN Patch manual translation
+ Bitrot fixes
+ Tabs -> Spaces fixes
CORE-10980 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=72864
2016-09-29 21:31:11 +00:00
Daniel Reimer
8ff30df6f3 [RAPPS]
Translate missing string

svn path=/trunk/; revision=72863
2016-09-29 21:25:36 +00:00
Daniel Reimer
60153818ab [ROSAPPS]
Russian translation update by Sergey Stopkin
ROSAPPS-333 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=72862
2016-09-29 21:02:07 +00:00
Daniel Reimer
91d63bd669 [PING]
Russian translation update by Sergey Stopkin + lil build fix by me
CORE-12019 #resolve #comment Committed, thx ^^ Beware of " in string blocks though, these are "" then

svn path=/trunk/; revision=72861
2016-09-29 20:59:03 +00:00
Daniel Reimer
30abd4f6ee [POWERCFG]
Bug fix and improvements to PowerCfg applet by Carlo Bramini
CORE-11801 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=72860
2016-09-29 20:54:58 +00:00
Daniel Reimer
c3df272d43 [3DTEXT]
3d Text Screensaver pt-BR translation by Lucas Raziel
CORE-11672 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=72859
2016-09-29 20:46:14 +00:00
Mark Jansen
137402a3be [DXDIAG] Fix DirectDraw test titles & 16bit icon. Patch by Jared Smudde. CORE-11054 #resolve #comment Thanks!
svn path=/trunk/; revision=72858
2016-09-29 20:29:59 +00:00
Johannes Anderwald
8363fc0f08 [USBAUDIO]
- fix bug in UsbAudioSetFormat

svn path=/trunk/; revision=72857
2016-09-29 19:25:31 +00:00
Hermès Bélusca-Maïto
a8badad1fa [EVENTCREATE]: Check for a better last error after the GetModuleFileNameW call.
svn path=/trunk/; revision=72856
2016-09-29 17:42:20 +00:00
Hermès Bélusca-Maïto
fbebe613b7 Temporarily switch the message file to English language to try to "fix" windmc compilation on linux host (*of course*, this problem didn't happen on the "GNU windmc (GNU Binutils) 2.23.51.20121208" provided in RosBE 2.1.3 for Windows, nor with MC.EXE from MSVC...)
svn path=/trunk/; revision=72855
2016-09-29 16:58:02 +00:00
Hermès Bélusca-Maïto
efc5b376b4 [EVENTCREATE]: Implement the EventCreate command-line tool, which allows reporting custom user events in event logs, by using the old-school NT <= 2k3 logging API.
More information in the JIRA report and in the source code (eventcreate.c).
The generator (evtmsggen) for the event message string templates file "evtmsgstr.mc" is also provided.
CORE-12065 #resolve

svn path=/trunk/; revision=72854
2016-09-29 16:49:27 +00:00
Amine Khaldi
1fbf90a712 [TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-12039
svn path=/trunk/; revision=72853
2016-09-29 11:33:25 +00:00
Benedikt Freisen
0e026443cf [PSDK][GDIPLUS]
Make previously untested GDI+ C++ wrappers compilable.  This involves:
- adding the respective headers to gdiplus.h in a sensible order
- adding forward-declarations
- adding friend-declarations, so that the wrapper functions in those classes can access the private GpXXX members
- const-qualifying the getters in class Color
- adding the EmfToWmfBitsFlags enum
- commenting out bits that use unavailable flatapi functions
- commenting out bits that for some reason the compiler does not like
- the typical typo/data type fixes that untested code tends to need
- moving the Font class within the same header to fulfill dependencies
- adding private GpXXX members to otherwise unimplemented classes
- adding a data-members-only implementation of SizeF

svn path=/trunk/; revision=72852
2016-09-29 11:15:10 +00:00
Amine Khaldi
6a6a58912e [IPHLPAPI][KERNEL32] Revert r72722 and apply a proper fix based on tests. By Peter Hater. CORE-10440 ROSTESTS-243
svn path=/trunk/; revision=72851
2016-09-29 10:49:30 +00:00
Amine Khaldi
d3aebbcedc [RTL] Demote this print as we'll be notified when failure occurs.
svn path=/trunk/; revision=72850
2016-09-29 10:00:07 +00:00
Amine Khaldi
c27310bf96 [KERNEL32_APITEST] Add tests that reveal how the GetComputerNameEx fix in r72722 was not proper. By Peter Hater. ROSTESTS-243
svn path=/trunk/; revision=72849
2016-09-29 09:44:57 +00:00
Thomas Faber
1ff9c7f40d [RAPPS]
- Avoid an unintended fall-through and document and intended one in DownloadProgressProc. CID 1341273 (rapps), 1363531 (rapps_new)

svn path=/trunk/; revision=72848
2016-09-29 09:36:33 +00:00
Thomas Faber
e5645b55eb [WIN32K:NTUSER]
- Add missing break in DefWndStartSizeMove. CID 513489
CORE-12064 #resolve

svn path=/trunk/; revision=72847
2016-09-29 08:23:26 +00:00
Hermès Bélusca-Maïto
4b67338a7f [REACTOS]: Do not gather all the generated message resource files in the same directory (sdk/include/reactos/), so that to avoid potential file collisions, but instead place them into their respective per-target directories.
CORE-12062 #resolve

[RAPPS_NEW]: Fix rapps_new message header & resource files inclusion.

[ROSTESTS]: Adjust the CMakeLists files in accordance.

svn path=/trunk/; revision=72846
2016-09-28 23:20:20 +00:00
Dmitry Chapyshev
fb4cb1c8c5 [SHLWAPI] Try to fix regression
svn path=/trunk/; revision=72845
2016-09-28 21:44:01 +00:00
Mark Jansen
8ab805c96c [DEGMGR] Revert r65406, this is not a leak. CORE-9716 #comment Please retest!
svn path=/trunk/; revision=72844
2016-09-28 21:05:39 +00:00
Johannes Anderwald
ff46d90618 [USBAUDIO]
- implement USBAudioSelectAudioStreamingInterface

svn path=/trunk/; revision=72843
2016-09-28 20:31:32 +00:00
Hermès Bélusca-Maïto
d1faa1a99f Addendum to r72841.
svn path=/trunk/; revision=72842
2016-09-28 20:22:33 +00:00
Hermès Bélusca-Maïto
9c77bd1cb7 Use set_module_type() with module type == "module" instead of specifying that the entrypoint is 0, for resource-only dlls.
svn path=/trunk/; revision=72841
2016-09-28 20:21:31 +00:00
Dmitry Chapyshev
0140e3bf68 [KERNEL32] Add check for Flags parameter.
* Fixes 124 tests for kernel32:WideCharToMultiByte

svn path=/trunk/; revision=72840
2016-09-28 19:53:43 +00:00
Dmitry Chapyshev
d507b7555e [NTOS:FSRTL] Rework FsRtlIsDbcsInExpression for correct parsing some expressions
* Fixes 1 test for kmtest:FsRtlExpression

svn path=/trunk/; revision=72839
2016-09-28 19:01:10 +00:00
Mark Jansen
7d865c5974 [KERNEL32] Mute WC_COMPOSITECHECK DPRINT1. CORE-12058 #resolve
svn path=/trunk/; revision=72838
2016-09-28 17:33:36 +00:00
James Tabor
eb207003e7 [Win32SS]
- Fix menu crash, marking the menu object destroyed if the access count is more than one. Must remember these are not GDI objects. Expect a retooling of user objects soon. Set CORE-11892.

svn path=/trunk/; revision=72837
2016-09-28 16:51:53 +00:00
Amine Khaldi
d0e5925de2 [IPHLPAPI_APITEST] Add some tests for GetNetworkParams. By Peter Hater. ROSTESTS-244
svn path=/trunk/; revision=72836
2016-09-28 14:27:48 +00:00
Dmitry Chapyshev
d04540ff98 [NTOS:FSRTL] Rework FsRtlIsNameInExpressionPrivate for correct parsing some expressions
* Fixes 1 test for kmtest:FsRtlExpression and 15 tests for kernel32:file

svn path=/trunk/; revision=72835
2016-09-27 23:00:20 +00:00
Giannis Adamopoulos
1b795376fc [SHELL32]
- CDesktopBrowser: Implement support for multiple monitors. This needs to be disabled since we don't support LVM_SETWORKAREAS in comctl32 yet. Till then confine the desktop window in the default monitor.

svn path=/trunk/; revision=72834
2016-09-27 22:53:39 +00:00
Johannes Anderwald
17cc431d33 [USBAUDIO]
- improve guid mess a bit
- thanks amine 

svn path=/trunk/; revision=72833
2016-09-27 19:56:54 +00:00
Johannes Anderwald
8112191cdb [USBAUDIO]
- implement USBAudioFilterCreate
- partly implement USBAudioPinCreate, USBAudioPinSetDataFormat

svn path=/trunk/; revision=72832
2016-09-27 19:20:00 +00:00
Amine Khaldi
96d5ff4d93 [PING] Minor fixes by Tim Crawford. Please see CORE-12022 for the list of changes.
svn path=/trunk/; revision=72831
2016-09-27 18:37:45 +00:00
Mark Jansen
105f70b1fe [ATL_APITEST] Remove dependency on rpcrt4. CORE-10029
svn path=/trunk/; revision=72830
2016-09-27 18:20:20 +00:00
Amine Khaldi
2735832354 [DNSAPI_APITEST] Add some tests for DnsQuery_A/W. By Peter Hater. ROSTESTS-242
svn path=/trunk/; revision=72829
2016-09-27 18:00:03 +00:00
Thomas Faber
b12f9a0545 [SHELL32]
- Work around what appears to be a bug in the VS 2010 resource compiler (it failed without an error message when processing this file)

svn path=/trunk/; revision=72828
2016-09-27 17:14:39 +00:00
Thomas Faber
16b33b45ab [ATL_APITEST]
- Fix MSVC build

svn path=/trunk/; revision=72827
2016-09-27 16:51:39 +00:00
Daniel Reimer
deb1abff20 [RAPPS]
ooops

svn path=/trunk/; revision=72826
2016-09-27 05:46:09 +00:00
James Tabor
5cb2406405 [NtUser]
- Need more information from callbacks.

svn path=/trunk/; revision=72825
2016-09-27 01:14:49 +00:00
Hermès Bélusca-Maïto
99b8a71b9d [USERINIT]: Addendum to r72823 (sorry for the redundant commits): Fix a use without initialization warning for the 'Success' variable: initialize it to TRUE so that we by default do not perform the main menu loop (in livecd mode).
svn path=/trunk/; revision=72824
2016-09-26 22:52:04 +00:00
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
Dmitry Chapyshev
e12d8ec40d [NLS] Add missed code pages
svn path=/trunk/; revision=72773
2016-09-22 18:14:07 +00:00
Giannis Adamopoulos
3fc6a9d6f0 [HIVECLS.INF]
- Drive property page is registered by sehll32.

svn path=/trunk/; revision=72772
2016-09-22 16:48:12 +00:00
Giannis Adamopoulos
adffe02e6f [SHELL32]
- Handle failure in SHELL32_CompareDetails.

svn path=/trunk/; revision=72771
2016-09-22 16:22:44 +00:00
Giannis Adamopoulos
c6db4d179c [SHELL32]
- COpenWithMenu: Don't try to close the same registry key twice.

svn path=/trunk/; revision=72770
2016-09-22 16:14:07 +00:00
Giannis Adamopoulos
e00840033e [SHELL32]
- HCR_GetFolderAttributes already calls GetAttributesOf when needed, calling it when it is not needed can lead to crashes.

svn path=/trunk/; revision=72769
2016-09-22 16:09:28 +00:00
Christoph von Wittich
ef8e98a485 [SHELL32] implement CreateViewWindow3 and fix CreateViewWindow2
svn path=/trunk/; revision=72768
2016-09-22 14:28:44 +00:00
Eric Kohl
e5d301366c [LSASRV]
LsapGetLogonSessionData: Marshall the session data before sending them to the client.

[SECUR32]
LsaConnectUntrusted: Wait for the authentication thread.
LsaGetLogonSessionData: Unmarshall the session data after receiving them from the server.

svn path=/trunk/; revision=72767
2016-09-22 11:27:05 +00:00
Benedikt Freisen
770c7d7cb0 [MSPAINT] Lets
svn path=/trunk/; revision=72766
2016-09-22 10:03:32 +00:00
Amine Khaldi
5d8bf427ca [PING] Rewrite ping. It now uses the Icmp* functions in iphlpapi, supports IPv4 and IPv6, and adds more options than available in the current ReactOS ping. Brought to you by Tim Crawford. CORE-10573
svn path=/trunk/; revision=72765
2016-09-22 08:10:47 +00:00
Christoph von Wittich
e0f1966727 [SHELL32] revert 72685 the testman hang wasn't related
svn path=/trunk/; revision=72764
2016-09-21 19:51:35 +00:00
Mark Jansen
2d582ff542 [CRT] Fix __getmainargs parsing for a commandline ending with spaces. Patch by Yaroslav Veremenko CORE-9199 #comment Thanks, please re-test!
svn path=/trunk/; revision=72763
2016-09-21 19:34:42 +00:00
Mark Jansen
6ee0488c6d [CRT_APITEST] Add tests for __getmainargs, testing a commandline ending with spaces. Patch by Yaroslav Veremenko CORE-9199
svn path=/trunk/; revision=72762
2016-09-21 19:26:47 +00:00
Mark Jansen
1d08fd530f [NETSHELL] Register some COM interfaces to fix a few tests. Patch by Jared Smudde. CORE-12016 #resolve #comment Thanks!
svn path=/trunk/; revision=72761
2016-09-21 19:04:07 +00:00
Mark Jansen
37e073b675 [NETSHELL.RGS] set eol-style so that hopefully the patchbot will eat a patch without choking on it.
svn path=/trunk/; revision=72760
2016-09-21 17:55:35 +00:00
Amine Khaldi
51d329b7e1 [IPHLPAPI] Fix all testIcmpSendEcho tests. By Peter Hater. Please see CORE-11993 for the list of changes.
svn path=/trunk/; revision=72759
2016-09-21 15:53:17 +00:00
Hermès Bélusca-Maïto
640e1bacfc [LSALIB]: Fix build (and 2 dprints in the process).
svn path=/trunk/; revision=72758
2016-09-21 14:02:54 +00:00
Eric Kohl
1b6257ac3f [LSASRV]
Revert all pointless changes from r72751.

svn path=/trunk/; revision=72757
2016-09-21 10:49:40 +00:00
Eric Kohl
73975f8f4a [LSALIB]
- LsaRegisterLogonProcess: Wait for the LSA_AUTHENTICATION_INITIALIZED event.
- LsaDeregisterLogonProcess: Use ZwClose to close the port handle.

svn path=/trunk/; revision=72756
2016-09-21 10:27:06 +00:00
Eric Kohl
dff8dfadb8 [LSASRV]
Open/Create and set the \\SECURITY\\LSA_AUTHENTICATION_INITIALIZED event after the LsaAuthenticationPort has been created.

svn path=/trunk/; revision=72755
2016-09-21 07:27:18 +00:00
Eric Kohl
0b423f6a54 [LSALIB][SECUR32]
- Move LsaConnectUntrusted() from sdk/lib/lsalib/lsa.c to dll/win32/secur32/lsalpc.c as it is not exported from ntoskrnl.
- Remove obsolete code from lsalib.

svn path=/trunk/; revision=72754
2016-09-21 06:19:22 +00:00
Eric Kohl
1df78f4892 [LSALIB]
LsaRegisterLogonProcess: Do not wait for \\SECURITY\\LSA_AUTHENTICATION_INITIALIZED to get signaled as it breaks the boot.

svn path=/trunk/; revision=72753
2016-09-21 06:11:02 +00:00
Eric Kohl
d307723a72 [NTOSKRNL]
- Move the session notification routines from se/lsa.c to se/srm.c.
- Get rid of se/lsa.c.

svn path=/trunk/; revision=72752
2016-09-21 04:57:25 +00:00
Hermès Bélusca-Maïto
9bc48b336f [SECUR32][NTOS]: Update the LSA export signatures for the functions that are implemented in the "lsalib" library.
[LSALIB]
- Add old-school annotations (as we currently do in our main .c code of our stuff).
- Mention that LsaConnectUntrusted is not an API that is exported (& implemented) by ntoskrnl.
- For LsaRegisterLogonProcess, we first wait for the LSA server to be ready (by waiting on its initialization event). This is TODO for LsaConnectUntrusted on the contrary.

[LSALIB][NTOS]
Usa the lsalib as the implementation of the LSA functions exported by ntoskrnl. But for that we need to recompile the lsalib as a library that can be used from inside ntoskrnl, because it needs some functions that are normally exported by ntos. For this purpose I add the library target "ntlsalib" (which also specify different #defines), to differentiate it from the (user-mode) "lsalib" one that is used by secur32.dll (Amine, if you have a better idea on how to do that, please let me know!).

svn path=/trunk/; revision=72751
2016-09-20 23:43:16 +00:00
Amine Khaldi
7d07b21168 [WS2_32] The current ws2_32 served us well, but it's time for ws2_32_new to shine. It took slightly more than 7 years since Ged brought-in Alex' impressive work on this module, and thanks to the great follow-up work by Peter Hater, Andreas Maier, Thomas Faber and everyone else involved in the effort, we now have a chance to retire ws2_32 in favor of ws2_32_new. The test results speak for the excellent achievements, and this serves as a platform to continue inspecting and fixing the remaining test failures. Thank you all for a job well done! Please see CORE-10440 for a summary of the changes performed in this commit.
svn path=/trunk/; revision=72750
2016-09-20 16:51:28 +00:00
Amine Khaldi
840345bf57 [MSAFD] Don't assume SOL_SOCKET is the only socket level. By Peter Hater. CORE-10440 CORE-12008
svn path=/trunk/; revision=72749
2016-09-20 16:31:53 +00:00
Amine Khaldi
e4af4ccb22 [ETC/SERVICES] Update services file as expected by the tests. By Peter Hater. CORE-10440
svn path=/trunk/; revision=72748
2016-09-20 09:45:02 +00:00
Amine Khaldi
e9878b1c6a [IPHLPAPI] Don't (de)initialize ws2 on dll process (attach/detach), do it on IcmpCreateFile/IcmpCloseHandle instead, due to the circular dependency ws2_32 -> mswsock -> dnsapi(adns lib) -> iphlpapi -> ws2_32. This creates 2 references to ws2_32 and ws2_32 can't cleanup on WSACleanup. By Peter Hater. CORE-10440
svn path=/trunk/; revision=72747
2016-09-20 09:42:51 +00:00
Amine Khaldi
b257841ecd [MSAFD] Move WSAAddressToStringA/W and WSAStringToAddressA/W in msafd protocol provider from ws2_32. Other small fixes for return codes. By Peter Hater. CORE-10440
svn path=/trunk/; revision=72746
2016-09-20 08:12:44 +00:00
James Tabor
e38d2daa32 [NtUser]
- Use send message only and fix return for WM_NC/ACTIVATE. See CORE-11979 and CORE-11324.

svn path=/trunk/; revision=72745
2016-09-20 02:00:18 +00:00
Johannes Anderwald
f5f288f652 [USBAUDIO]
- fix minor bugs
- start implementing filter context

svn path=/trunk/; revision=72744
2016-09-19 18:40:44 +00:00
Amine Khaldi
d35ce60785 [PSDK] Apply our headers style to winwlx.h. Supersedes and fixes the "fix whitespace" part of r72741.
svn path=/trunk/; revision=72743
2016-09-19 17:04:27 +00:00
Hermès Bélusca-Maïto
d4b08aa9bb Revert 2 small changes that I didn't want to do.
svn path=/trunk/; revision=72742
2016-09-19 15:51:13 +00:00
Hermès Bélusca-Maïto
9121ca5711 [PSDK]: Add annotations & fix whitespace.
svn path=/trunk/; revision=72741
2016-09-19 15:49:45 +00:00
Dmitry Chapyshev
ab60ef617a [KERNEL32] Sync other functions with Wine 1.9.17
* Fixes 1 test for kernel32:locale

svn path=/trunk/; revision=72740
2016-09-19 11:28:20 +00:00
Dmitry Chapyshev
b44173c769 [KERNEL32] Sync GetStringTypeW with Wine
* Fixes 255 tests for kernel32:locale

svn path=/trunk/; revision=72739
2016-09-19 10:11:19 +00:00
Thomas Faber
8970909ad9 [AFD]
- Fix MDL leak in failure case of AfdGetSockName. Patch by Volodymyr Shcherbyna. CID 1322161.
CORE-11096 #resolve

svn path=/trunk/; revision=72738
2016-09-19 08:15:24 +00:00
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
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
Hermès Bélusca-Maïto
368cd76efb Of course, as soon as you see such typos in our code, you can be 90% sure they are repeated elsewhere. And indeed they are. Fix the typos in our code (I leave them in the 3rd party code).
Concerning the fix in the NDK header I've checked that publicly available information about this structure (NirSoft website, Windows Internals book, Windows symbols...) has the member correctly named.

svn path=/trunk/; revision=72679
2016-09-14 22:51:55 +00:00
Amine Khaldi
a957a1d35d [INF] Fix some spelling errors. By Josh Soref. CORE-11986
svn path=/trunk/; revision=72678
2016-09-14 21:30:34 +00:00
Amine Khaldi
7b41c2ebbf [TRANSLATIONS] One step further towards improving our translations. Brought to you by Josh Soref aka timeless. CORE-11985
svn path=/trunk/; revision=72677
2016-09-14 20:38:53 +00:00
James Tabor
585f434ff4 [NtUser]
- Remove unneeded code and information, the problem is in focus.c:SFW. See CORE-11324.

svn path=/trunk/; revision=72676
2016-09-14 14:35:03 +00:00
James Tabor
9e1cd0b7ff [NtUser]
- Fix recursion issues, CORE-8780 and CORE-11979. See CORE-11324 for breakage.

svn path=/trunk/; revision=72675
2016-09-14 14:15:46 +00:00
Thomas Faber
503cf310ad [NTOS]
- Return pool quota before freeing IRPs to a lookaside list
CORE-11962 #resolve

svn path=/trunk/; revision=72674
2016-09-14 12:45:45 +00:00
Thomas Faber
aac3bbc746 [TCPIP]
- Don't try to mark IRPs as pending when they might already be completed. For simplicity, always pend them instead.
CORE-11962

svn path=/trunk/; revision=72673
2016-09-14 11:46:19 +00:00
Amine Khaldi
7d478eb667 [IP] Avoid use-after-free of IPDATAGRAM_REASSEMBLY structures. By Roel Messiant. CORE-11889
svn path=/trunk/; revision=72672
2016-09-14 10:09:02 +00:00
Amine Khaldi
d87e3543c1 [PSDK] Add PFE_EXPORT_FUNC.
svn path=/trunk/; revision=72671
2016-09-14 10:04:40 +00:00
Amine Khaldi
fd3e47079c [FREETYPE] Update to v2.7.0. CORE-11639
svn path=/trunk/; revision=72670
2016-09-14 10:01:27 +00:00
Amine Khaldi
019c2ecb53 [MEDIA/INF] Add raw transport provider from msafd. By Peter Hater. CORE-10440
svn path=/trunk/; revision=72669
2016-09-14 08:55:23 +00:00
Dmitry Chapyshev
a4cd19ec42 [RTL]
- Use correct checks for illegal chars
- Build context and 8.3 name on the basis of it (context can be already presented)

* Fixes 34 tests for ntdll:RtlGenerate8dot3Name (remained 16 tests will be fixed after correction of a problem with NLS files)

svn path=/trunk/; revision=72668
2016-09-14 00:31:30 +00:00
Hermès Bélusca-Maïto
f693e1e83a [PIFMGR]
- Add new icons by DSP2003 under CC-BY-SA 4.0 International License Terms (the .ico and the original .png files).
- Use DSP2003's icons wherever possible, otherwise fallback to "alternative" icons or to the placeholder icon. The aim is to finally convert or create all the remaining icons using DSP2003's style.
CORE-10253

svn path=/trunk/; revision=72667
2016-09-13 21:46:47 +00:00
Pierre Schweitzer
7d2b56ccb0 [NTDLL_APITEST]
RtlGenerate8dot3Name: show that we don't deal correctly with checksums while generating short names.

Dedicated to Christoph

svn path=/trunk/; revision=72666
2016-09-13 09:57:52 +00:00
Mark Jansen
02b4119836 [SHELL32] Do not try to call a NULL m_pSF2Parent. CORE-11969 #comment Please retest!
svn path=/trunk/; revision=72662
2016-09-12 18:05:22 +00:00
Aleksandar Andrejevic
c6f8d6fe2c [KS]
The "Add" routine is optional in the KSDEVICE_DISPATCH structure.
KsDevice.Descriptor should be initialized even if there is no device dispatch.


svn path=/trunk/; revision=72661
2016-09-12 03:59:04 +00:00
Hermès Bélusca-Maïto
4fa77bfbc3 [NTDLL]: Fix misspelling.
svn path=/trunk/; revision=72660
2016-09-11 20:40:41 +00:00
Dmitry Chapyshev
6dd9ac5dc5 [USER32] We have to use the copy of DEVMODEA structure (having size expanded on dmDriverExtra) for support of extra data of the driver
svn path=/trunk/; revision=72659
2016-09-11 20:11:35 +00:00
Dmitry Chapyshev
5e9b9699a6 [USER32_APITEST] Add tests for EnumDisplaySettingsA
svn path=/trunk/; revision=72658
2016-09-11 19:50:16 +00:00
Dmitry Chapyshev
35d777891f [USER32] We have to use the copy of DEVMODEW structure (having size expanded on dmDriverExtra) for support of extra data of the driver
* Fixes 16 tests for EnumDisplaySettings

svn path=/trunk/; revision=72657
2016-09-11 19:05:27 +00:00
Christoph von Wittich
0ec1c73cbf [WIN32K] set lasterror in NtGdiCombineRgn
svn path=/trunk/; revision=72656
2016-09-11 17:27:59 +00:00
Dmitry Chapyshev
10c7e5cb30 [NtUser] Try to fix tests for user32:EnumDisplaySettings
svn path=/trunk/; revision=72655
2016-09-11 16:13:46 +00:00
Christoph von Wittich
db1b0cb26d [KERNEL32] set ExitCode when terminating threads in ExitProcess as well
svn path=/trunk/; revision=72654
2016-09-11 13:22:33 +00:00
Christoph von Wittich
63df102547 [WIN32K] add missing parameter check in NtGdiArcInternal
svn path=/trunk/; revision=72653
2016-09-11 09:01:04 +00:00
James Tabor
4e415d8996 [USER32] - Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72652
2016-09-11 00:58:12 +00:00
James Tabor
3e15c24d4c [USER32] - Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72651
2016-09-11 00:58:00 +00:00
James Tabor
cf98f01e86 [USER32] - Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72650
2016-09-11 00:57:38 +00:00
Dmitry Chapyshev
50ce1f1694 [NtUser] Unnecessary check is removed and correct value of an error code is returned
* Fixes 2 tests for win32knt_apitest:NtUserEnumDisplaySettings

svn path=/trunk/; revision=72649
2016-09-10 22:30:53 +00:00
Dmitry Chapyshev
0bbd5c592b [NtUser] Fix 3 new tests for GET/SET NONCLIENTMETRICS, MINIMIZEDMETRICS, ICONMETRICS
svn path=/trunk/; revision=72648
2016-09-10 18:39:40 +00:00
Dmitry Chapyshev
5d2a362dda [WIN32KNT_APITEST] Add some tests for GET/SET NONCLIENTMETRICS, MINIMIZEDMETRICS, ICONMETRICS. It is checked in win2k3
svn path=/trunk/; revision=72647
2016-09-10 18:36:56 +00:00
Dmitry Chapyshev
47b4a945d2 [NtUser]
- Initialize cbSize for animationinfo
- Use widechar versions of structures

svn path=/trunk/; revision=72646
2016-09-10 17:58:32 +00:00
Dmitry Chapyshev
3776d19ec9 [WIN32KNT_APITEST]
- Remove wrong tests. Win2k3 ignores the size of structure for GET/SET NONCLIENTMETRICS, MINIMIZEDMETRICS, ICONMETRICS

[NtUser]
- Remove wrong checks

svn path=/trunk/; revision=72645
2016-09-10 16:17:35 +00:00
Eric Kohl
796aa0f7b3 [NTOSKRNL]
Fix lock/unlock order in SeLockSubjectContext/SeUnlockSubjectContext.
Patch by  Volodymyr Shcherbyna.
CORE-11966 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=72644
2016-09-10 13:54:16 +00:00
Christoph von Wittich
e44c624a3e [CRT] sync ischira.c to wine 1.9.16
svn path=/trunk/; revision=72643
2016-09-10 11:40:54 +00:00
Christoph von Wittich
acc28413a5 [CRT] fix build
svn path=/trunk/; revision=72642
2016-09-10 07:18:50 +00:00
Christoph von Wittich
2899d91c28 [CRT] sync wtoi64.c with wine 1.9.16
svn path=/trunk/; revision=72641
2016-09-10 06:52:50 +00:00
Christoph von Wittich
d38c74fa76 [SETUPAPI] sync diskspace.c with wine 1.9.16
svn path=/trunk/; revision=72640
2016-09-10 06:20:10 +00:00
Dmitry Chapyshev
e0009ad353 [NtUser]
- Initialize cbSize filed for HIGHCONTRASTW
- SOUNDSENTRY -> SOUNDSENTRYW
- Add checks of size for SPI_GETHIGHCONTRAST and SPI_SETHIGHCONTRAST

svn path=/trunk/; revision=72639
2016-09-09 23:03:42 +00:00
Dmitry Chapyshev
0774f98a1b [NtUser]
- LPICONMETRICS -> LPICONMETRICSW

svn path=/trunk/; revision=72638
2016-09-09 22:39:25 +00:00
Amine Khaldi
87c6f4541c [WIN32K] Fix the size passed to UserSystemParametersInfo(). Addresses test issues revealed by r72636.
svn path=/trunk/; revision=72637
2016-09-09 22:26:55 +00:00
Dmitry Chapyshev
3d5e037772 [WIN32KNT_APITEST]
- Fix copypasta

[NTUSER]
- User's buffer has to be checked before check of size parameters, differently we cannot safely check the sizes of structures

svn path=/trunk/; revision=72636
2016-09-09 20:44:34 +00:00
Dmitry Chapyshev
5b62af8967 [WIN32NT_APITEST]
- Add some tests for NtUserSystemParametersInfo

svn path=/trunk/; revision=72635
2016-09-09 20:27:31 +00:00
Christoph von Wittich
f5f84ed231 [CRT] add #ifdef for easier syncing
svn path=/trunk/; revision=72634
2016-09-09 17:40:53 +00:00
Christoph von Wittich
a9a1a8f8bd [CRT] sync strxfrm.c to wine-1.9.16
svn path=/trunk/; revision=72633
2016-09-09 17:22:29 +00:00
Christoph von Wittich
77685fe543 [CRT] _strtoi64_l should crash on NULL pointer
svn path=/trunk/; revision=72632
2016-09-09 16:54:55 +00:00
James Tabor
2fa1533cf4 [NtGDI]
- Remove unneeded return sets.

svn path=/trunk/; revision=72630
2016-09-09 15:12:04 +00:00
James Tabor
28d8ba0d3e [NtGDI]
- Fix remaining Path test results. Include Flat Path for Stroke Path. See CORE-4990.

svn path=/trunk/; revision=72628
2016-09-09 15:07:42 +00:00
James Tabor
cefd6ab0a1 [NtGDI]
- Fix Ellipse Path test results. See CORE-4990.

svn path=/trunk/; revision=72627
2016-09-09 14:30:44 +00:00
Dmitry Chapyshev
9434ff082b [WIN32K]
- Add missed checks of size
- Initialize cbSize field of structures

* Fixes 6 tests for win32knt_apitest:NtUserSystemParametersInfo

svn path=/trunk/; revision=72626
2016-09-08 22:46:42 +00:00
James Tabor
895906f45d [NtGDI]
- Fix Path issues, Sync/Port wine. See CORE-4990 (Fill Path painting?), CORE-9612 (Fixed) and CORE-11916 (Fixed). Maybe more.
- Pen width might be related to another issue outside Path. See CORE-2527.

svn path=/trunk/; revision=72625
2016-09-08 22:37:41 +00:00
Amine Khaldi
4e5e90c854 [WIN32K] Add some missing parameter checks. Fixes all but 4 tests in win32knt:NtUserEnumDisplaySettings. By Peter Hater. CORE-11524
svn path=/trunk/; revision=72624
2016-09-08 20:25:30 +00:00
Amine Khaldi
d4b414cc35 [WIN32K] Fix a crash in win32knt:NTUserSystemParametersInfo tests. Brought to you by Peter Hater. CORE-11525
svn path=/trunk/; revision=72623
2016-09-08 20:18:41 +00:00
Thomas Faber
8cb8d2d156 [OLE32]
- Gracefully handle NULL clipbrd in clipbrd_wndproc. This is probably not the right fix, but avoids crashing for now.
CORE-11905

svn path=/trunk/; revision=72622
2016-09-08 11:01:43 +00:00
Amine Khaldi
3b9689a4ea [CRT] Apply Wine commit 190c67c by Piotr Caban: Fix __pioinfo block size. CORE-11866
svn path=/trunk/; revision=72621
2016-09-08 10:56:41 +00:00
Amine Khaldi
6485aa2f27 [USER32_WINETEST] Enable the skipped part of clipboard.c as the issue documented in CORE-11953 doesn't happen in the KVM testbot.
svn path=/trunk/; revision=72620
2016-09-08 09:36:26 +00:00
Aleksandar Andrejevic
be20a14b8c [PSDK]
KsStreamPointerUnlock returns VOID, not NTSTATUS.


svn path=/trunk/; revision=72619
2016-09-08 01:23:06 +00:00
Aleksandar Andrejevic
325efbd59e [PSDK]
Add definitions for KsPinGetLeadingEdgeStreamPointer and KsStreamPointerUnlock.


svn path=/trunk/; revision=72618
2016-09-08 01:18:35 +00:00
Amine Khaldi
1c04786553 [WS2_32_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72617
2016-09-07 23:29:52 +00:00
Amine Khaldi
bca9ea7b61 [USER32_WINETEST] Sync with Wine Staging 1.9.18. One skipped part of clipboard.c is documented in CORE-11953
svn path=/trunk/; revision=72616
2016-09-07 23:24:48 +00:00
Amine Khaldi
a38f07f3e8 [SHELL32_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72615
2016-09-07 22:45:39 +00:00
Amine Khaldi
450fb4a3d3 [SETUPAPI_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72614
2016-09-07 22:43:09 +00:00
Amine Khaldi
4ec63eee1b [SERVICES_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72613
2016-09-07 22:35:17 +00:00
Amine Khaldi
ae503d62cc [MSVCRT_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72612
2016-09-07 22:34:15 +00:00
Amine Khaldi
89932f2716 [KERNEL32_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72611
2016-09-07 22:32:56 +00:00
Amine Khaldi
9018c6fe32 [GDI32_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72610
2016-09-07 22:12:51 +00:00
Dmitry Chapyshev
debfd3bfc1 [NTOS]
- Add missed _SEH2_YIELD's

svn path=/trunk/; revision=72609
2016-09-07 18:52:09 +00:00
Dmitry Chapyshev
a039776826 [NTOS:EX]
- Use ExAcquirePushLockShared instead ExAcquirePushLockExclusive (and move it outside enumeration)
- Don't leave a enumeration at ReqSize > Size. It is used for calculation of the size
- ObjectHeader->Type field currupted and I do not know who spoils it. Commented.
- Remove unneeded SEH

svn path=/trunk/; revision=72608
2016-09-07 17:34:17 +00:00
Aleksandar Andrejevic
d97ea85a86 [VGADDI]
Explain how VGA write mode 2 works. No code changes!
CORE-8164


svn path=/trunk/; revision=72607
2016-09-07 14:38:58 +00:00
Amine Khaldi
fc686705cd [CRT] Sync _cputs() with Wine Staging 1.9.16. CORE-11866 CORE-8546
svn path=/trunk/; revision=72606
2016-09-07 09:31:52 +00:00
James Tabor
dc4261f3eb [Win32k]
- Fix a crash while running modified stress test with explorer. See CORE-11913.

svn path=/trunk/; revision=72605
2016-09-07 06:33:44 +00:00
James Tabor
183626a804 [NtGdi]
- Remove Path for MoveTo and Polyline. It is not needed.
- Fix build.

svn path=/trunk/; revision=72604
2016-09-07 03:24:12 +00:00
James Tabor
c2a9c48bbf [NtGdi]
- Remove Path for MoveTo. It is not needed.

svn path=/trunk/; revision=72603
2016-09-07 03:20:18 +00:00
Aleksandar Andrejevic
7049508b80 [PSDK]
Add a definition for KsReleaseDevice to ks.h.


svn path=/trunk/; revision=72602
2016-09-07 01:16:47 +00:00
Ged Murphy
2852cc21e8 [PSDK]
- Add flt error codes to winerror.h

svn path=/trunk/; revision=72601
2016-09-06 20:53:43 +00:00
Ged Murphy
d7b8883f0c Stub 'LoadString(UINT)'
svn path=/trunk/; revision=72600
2016-09-06 20:30:13 +00:00
Ged Murphy
fc9eaeb551 try to fix unix build
svn path=/trunk/; revision=72599
2016-09-06 20:26:26 +00:00
Ged Murphy
cb088390cd [FLTMC]
- Add fltmc to the build
- Add some resource files for translation

svn path=/trunk/; revision=72598
2016-09-06 20:22:04 +00:00
Ged Murphy
245e4929bd [FLTMGR]
- We can now swap the 2k3 fltmgr with ours and successfully boot windows, so we can use the same name from here on.
- Start type is still demand as I've not done too much testing in ros, but it seems to be boot and run fine, so can be changed to boot start for anyone wanting to experiment a bit.

svn path=/trunk/; revision=72597
2016-09-06 17:10:14 +00:00
Ged Murphy
0674b88a50 [FLTMGR]
- Set correct major and minor versions
- Update the cmakelist file
- Export FltRegisterFilter and FltUnregisterFilter
- Minor cleanup

svn path=/trunk/; revision=72596
2016-09-06 17:03:27 +00:00
Ged Murphy
abe4dbbca0 [FLTMGR]
- Add stubs for context registration
- Add dispatch and device control handlers
- Implement the load IOCTL. We can now load minifilters with 'fltmc load <myfilter>'

svn path=/trunk/; revision=72595
2016-09-06 16:59:11 +00:00
Ged Murphy
2c3c2095fb [FLTMGR]
- Implement FltLoadFilter and stub FltUnloadFilter
- Register contexts if the caller requests (coming later)
- Stubpliment FltStartFiltering

svn path=/trunk/; revision=72594
2016-09-06 16:47:43 +00:00
Ged Murphy
72ae4c113e [FLTMGR]
- Properly handle requests that were sent directly to the fltmgr instead of sending them down the stack
- Add a separate callback for IRP_MJ_DEVICE_CONTROL and forward them on to an internal handler
- We can now open a handle to the fltmgr and send IOCTLs down to it.

svn path=/trunk/; revision=72593
2016-09-06 16:33:46 +00:00
Ged Murphy
4e466b10df Turn off building of the fltmgr for now while I (slowly) update it.
svn path=/trunk/; revision=72592
2016-09-06 16:27:38 +00:00
Ged Murphy
e37e1f59d3 [FLTLIB]
- On load, open a handle to fltmgr, not the target driver...
- Fixup the load data we send to the fltmgr to be the same Windows layout. We need to copy this interface to allow component sharing between windows and ros.
- Move IOCTLs to shared header

svn path=/trunk/; revision=72591
2016-09-06 15:52:38 +00:00
Ged Murphy
6cc00bad38 [FLTMGR]
- Add a header for sharing data between fltlib and fltmgr

svn path=/trunk/; revision=72590
2016-09-06 15:48:44 +00:00
Amine Khaldi
70a9414c61 [CRT] Reduce difference of file.c with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72589
2016-09-06 10:04:29 +00:00
Amine Khaldi
3f38d71d2d [CRT] Resort to partially syncing msvcrt_flush_buffer() in order to fix some test regressions. CORE-11866 CORE-11949
svn path=/trunk/; revision=72588
2016-09-05 22:39:59 +00:00
Amine Khaldi
8d8f918c2c [CRT] Sync msvcrt_flush_buffer(), add_std_buffer() and remove_std_buffer() with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72587
2016-09-05 20:58:12 +00:00
Dmitry Chapyshev
f57de63a06 [RTL]
- It is impossible to look for multi byte char in single byte table

svn path=/trunk/; revision=72586
2016-09-05 19:14:22 +00:00
Dmitry Chapyshev
e8b1768ca7 [RTL]
- Use correct table for multibyte code page

svn path=/trunk/; revision=72585
2016-09-05 17:44:05 +00:00
Dmitry Chapyshev
05a9507394 [RTL]
- NlsDbcsUnicodeToAnsiTable -> NlsUnicodeToMbAnsiTable, NlsDbcsUnicodeToOemTable -> NlsUnicodeToMbOemTable
- Change types to USHORT (its not PWCHAR's)

svn path=/trunk/; revision=72584
2016-09-05 17:32:06 +00:00
Thomas Faber
ee0aa584d8 [USBEHCI]
- Correct the definition of END_POINT_CAPABILITIES. Brought to you by Vadim Galyant.
CORE-11893 #resolve
CORE-9296

svn path=/trunk/; revision=72583
2016-09-05 13:06:26 +00:00
Christoph von Wittich
aca10fa72a [SHELL32] fix some typos
svn path=/trunk/; revision=72582
2016-09-05 07:52:52 +00:00
Dmitry Chapyshev
abdc65593f [KMTEST]
- Add null-pointer test for RtlIsValidOemCharacter

svn path=/trunk/; revision=72581
2016-09-04 23:15:08 +00:00
Dmitry Chapyshev
468c2342d6 [RTL]
- Implement RtlIsValidOemCharacter function

* Fixes all new tests for this function

svn path=/trunk/; revision=72580
2016-09-04 22:57:44 +00:00
Dmitry Chapyshev
1a8c432587 [KMTEST]
- Implement tests for RtlIsValidOemCharacter function

svn path=/trunk/; revision=72579
2016-09-04 22:15:53 +00:00
Christoph von Wittich
e3b66d324c [SHELL32] sync CQueryAssociations.cpp with wine
svn path=/trunk/; revision=72578
2016-09-04 20:10:29 +00:00
Amine Khaldi
7028633b58 [BTRFS][ZLIB] Addendum to r72576. CORE-11937
svn path=/trunk/; revision=72577
2016-09-04 17:31:50 +00:00
Pierre Schweitzer
74750c6d1a [BTRFS]
Sync btrfs to 0.6.

CORE-11937

svn path=/trunk/; revision=72576
2016-09-04 15:27:46 +00:00
Pierre Schweitzer
2d33d95a7b [ZLIB]
Revert r72574

svn path=/trunk/; revision=72575
2016-09-04 15:15:01 +00:00
Pierre Schweitzer
329d454546 [ZLIB]
When building zlib, only build portable functions so that we have a portable library.

CORE-11937

svn path=/trunk/; revision=72574
2016-09-04 15:11:26 +00:00
Mark Jansen
3eb3d2d909 [SHELL32] Use the new ShellDimScreen function to fade the background on logoff / shutdown dialogs. CORE-11422 #resolve
svn path=/trunk/; revision=72573
2016-09-04 14:18:41 +00:00
Mark Jansen
87a716926b [MSGINA] Implement ShellDimScreen. CORE-11422
svn path=/trunk/; revision=72572
2016-09-04 14:17:22 +00:00
Hermès Bélusca-Maïto
6a5543002e [NTVDM]: Improve a bit the WOW16 "unsupported" warning message. See CORE-10323
svn path=/trunk/; revision=72571
2016-09-04 11:46:08 +00:00
Amine Khaldi
c15ef5b516 [CRT] Sync undname.c with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72570
2016-09-04 09:04:00 +00:00
Christoph von Wittich
67e98141b8 [USER32] Fix use-after-free. wine patch by Thomas Faller
svn path=/trunk/; revision=72569
2016-09-04 08:57:52 +00:00
Amine Khaldi
25c33a9dae [SHELL32] Partially sync shlmenu.c with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72568
2016-09-04 08:57:08 +00:00
Christoph von Wittich
4d464164e8 [SDK] sync undname.c to wine 1.9.16
svn path=/trunk/; revision=72567
2016-09-04 08:54:06 +00:00
Christoph von Wittich
d054078c72 [SHELL32] some minor wine syncs
svn path=/trunk/; revision=72566
2016-09-04 08:44:20 +00:00
Christoph von Wittich
cd73072e50 [SETUPAPI] Remove dead code. wine patch by André Hentschel
svn path=/trunk/; revision=72565
2016-09-04 08:17:41 +00:00
Christoph von Wittich
b0d2f91e07 [ADVAPI32] Use proper enum member to initialize SECURITY_IMPERSONATION_LEVEL variable wine patch by Nikolay Sivov
svn path=/trunk/; revision=72564
2016-09-04 08:11:52 +00:00
Christoph von Wittich
068c14debb [USER32] on't overwrite 'cb' field with uninitialized data in DdeQueryConvInfo() patch by Nikolay Sivov
svn path=/trunk/; revision=72563
2016-09-04 08:03:23 +00:00
Christoph von Wittich
0bf3b4e81b [PSDK] fix typo
svn path=/trunk/; revision=72562
2016-09-04 07:57:03 +00:00
Christoph von Wittich
9eae1a4984 [SHELL32] add DECLSPEC_HOTPATCH to WinExec function (wine patch from Jacek Caban)
svn path=/trunk/; revision=72561
2016-09-04 07:50:55 +00:00
Christoph von Wittich
09dc7fbe19 [SHELL32] sync shellole.c with wine 1.9.16
svn path=/trunk/; revision=72560
2016-09-04 07:48:41 +00:00
Christoph von Wittich
55a37c4abb shell32: Do nothing if we can't convert PIDL to path in SHAddToRecentDocs (wine commit from Vincent Povirk)
svn path=/trunk/; revision=72559
2016-09-04 07:08:50 +00:00
Christoph von Wittich
4025100ad8 [NTOS] addenum to r72556
svn path=/trunk/; revision=72558
2016-09-04 06:20:53 +00:00
Dmitry Chapyshev
76de8ee7ce [RTL]
- Formatting only (no code changes)

svn path=/trunk/; revision=72557
2016-09-03 22:43:29 +00:00
Hermès Bélusca-Maïto
6d4d06afbb [NTOS]: Fix comments & increase code readability by directly using InterlockedIncrement.
svn path=/trunk/; revision=72556
2016-09-03 22:07:53 +00:00
Dmitry Chapyshev
2e18ad193c [NTOS:KE]
- Don't set value for DpcActive in KeInitializeMutant and KeInitializeMutex

* Fixes 55 tests in kmtest:KeMutex

svn path=/trunk/; revision=72555
2016-09-03 21:48:21 +00:00
Dmitry Chapyshev
8612af94d2 [NTOS:IO]
- Implement Lookaside Floats allocations in IoAllocateIrp and IoFreeIrp

* Fixes 2 tests in kmtest:IoIrp

svn path=/trunk/; revision=72554
2016-09-03 21:25:45 +00:00
Eric Kohl
7dc1fbc420 [SAMSRV]
Implement SamrSetSecurityObject.

svn path=/trunk/; revision=72553
2016-09-03 19:45:09 +00:00
Dmitry Chapyshev
f77ed4dcd6 [NTOS:IO]
- Add dismount checking (function should behave the same in the fastio and the slow case)
- Fix comment

svn path=/trunk/; revision=72552
2016-09-03 19:10:09 +00:00
Dmitry Chapyshev
d94cfe79f5 [NTOS:EX]
- Reset of count of handles prior to enumeration
See issue 11928 for more details.

svn path=/trunk/; revision=72551
2016-09-03 18:52:22 +00:00
Mark Jansen
865a118a60 [ADVAPI32] Do not report failure when closing a predefined registry key.
svn path=/trunk/; revision=72550
2016-09-03 16:31:27 +00:00
Mark Jansen
e61bc91d97 [APPHELP][APPHELP_APITEST] Partially implement SdbGetMatchingExe, SdbInitDatabase and SdbTagRefToTagID. CORE-10367
- SdbGetMatchingExe, SdbInitDatabase partial implementation by Mislav Blažević
- Tests by me, they pass on vista - win10. (Win2k3 has another struct layout)
- Move shared test functions to a common header
- SdbTagRefToTagID misses functionality related to multiple databases, but that is not supported anywhere yet.

svn path=/trunk/; revision=72549
2016-09-03 16:20:52 +00:00
Dmitry Chapyshev
212b70142c [NTOS:IO]
- Fix potential null-pointer dereferencing (we call IopCleanupAfterException in IopDeviceFsIoControl with Irp == NULL)

svn path=/trunk/; revision=72548
2016-09-03 15:49:55 +00:00
Eric Kohl
6c6813d7f7 [SAMSRV]
SamrQuerySecurityObject: Return security information according to the SecurityInformation parameter.

svn path=/trunk/; revision=72547
2016-09-03 15:06:20 +00:00
Dmitry Chapyshev
0a7f15c9c6 [NTOS:IO]
- IopDeviceFsIoControl is paged code
- Incorrect logic at when processing the IsDevIoCtl parameter

svn path=/trunk/; revision=72546
2016-09-03 15:02:57 +00:00
Dmitry Chapyshev
174d181e5c [NTOS:IO]
- It is paged code
- We do not compare with TRUE

svn path=/trunk/; revision=72545
2016-09-03 13:26:27 +00:00
Amine Khaldi
af3b7ffad5 [CRT] Apply Wine commit 21fd1d3 by Nikolay Sivov: Fix calloc() prototype. CORE-11866
svn path=/trunk/; revision=72544
2016-09-03 13:23:43 +00:00
Amine Khaldi
7dfe459bdf [CRT] Reduce difference of file.c with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72543
2016-09-03 12:40:59 +00:00
Dmitry Chapyshev
006abaebe6 [NTOS:FSRTL]
- Rework FsRtlIsHpfsDbcsLegal is similar FsRtlIsFatDbcsLegal

* Fixes 30 tests for kmtest FsRtlLegal

svn path=/trunk/; revision=72542
2016-09-03 10:47:21 +00:00
Amine Khaldi
44bb873f32 [RTL] Partially sync actctx.c with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72541
2016-09-03 10:46:01 +00:00
Amine Khaldi
8ba1bd92d3 [CRT] Apply Wine commit d3a48ee by Piotr Caban: Only check for flag presence in isatty function. CORE-11866 CORE-11904
svn path=/trunk/; revision=72540
2016-09-03 10:32:43 +00:00
Dmitry Chapyshev
f99009a18b [NTOS:FSRTL]
- The order of operations is changed
- Added check on availability of a '.' with a length of name of 8 and more characters (In 8.3 filename has to be a '.')
- Lead DBCS cannot precede the end of a filename

* Fixes 90 tests for kmtest FsRtlLegal

svn path=/trunk/; revision=72539
2016-09-03 00:37:51 +00:00
Mark Jansen
1f8f7ffbe8 [ICMP] Fix IcmpCloseHandle crashing on NULL handle. Patch by Tim Crawford. CORE-10707 #resolve #comment Thanks!
svn path=/trunk/; revision=72538
2016-09-02 21:47:05 +00:00
Hermès Bélusca-Maïto
8f1b88d617 [NDK]: Fix size of reserved member of the RTL_HEAP_INFORMATION structure, signaled by https://github.com/subTee/native-nt-toolkit/issues/5 and confirmed by Process Hacker headers.
svn path=/trunk/; revision=72537
2016-09-02 21:21:00 +00:00
Hermès Bélusca-Maïto
c986fba6d1 [NDK][UNIATA]: Fix typo. See https://github.com/subTee/native-nt-toolkit/issues/2 .
svn path=/trunk/; revision=72536
2016-09-02 21:09:56 +00:00
Dmitry Chapyshev
2725eb9e0b [NTOS:FSRTL]
- The name of the file can be shorter than 3 symbols

* Fixes 36 tests for kmtest FsRtlLegal

svn path=/trunk/; revision=72535
2016-09-02 20:21:02 +00:00
Dmitry Chapyshev
dff1c73022 [GDI32]
- ConvertBitmapInfo returns value of the cjInfoSize variable. We should not ignore this value. Checks are added
- The call of CalculateColorTableSize is not necessary, its value was already returned by ConvertBitmapInfo.

* Fixes 9 tests for gdi32_apitest CreateDIBitmap

svn path=/trunk/; revision=72534
2016-09-02 15:40:32 +00:00
Jérôme Gardou
9598f87c7c [KDGDB]
- Better report kernel stack (real back traces for all threads!)
 - Support reporting loaded libraries (== drivers, hal, etc.). You can even debug KDGDB inside KDGDB :-)
 - A few improvements here and there
CORE-8531

svn path=/trunk/; revision=72533
2016-09-01 22:58:15 +00:00
Dmitry Chapyshev
24834c0492 [NTOS:PS]
- Use ProbeForRead instead ProbeForWrite (ProbeForWrite is a behavior which was in win2000)
- Set returned length after checking buffer size (ntdll_apitest NtQueryInformationProcess has tests only for ProcessTimes, but I checked other cases and always Length is set after check of the size)

* Fixes 4 tests in ntdll_apitest NtQueryInformationProcess (all NtQueryInformationProcess tests passed now)

svn path=/trunk/; revision=72532
2016-09-01 22:38:25 +00:00
Dmitry Chapyshev
e72b567d4e [NTOS:EX]
- More correct exit on failure

svn path=/trunk/; revision=72531
2016-09-01 18:22:48 +00:00
Dmitry Chapyshev
125c4571ad [NTOS:EX]
- Use all handles enumeration in system instead of enumeration for each process
See issue 11906 for more details.

svn path=/trunk/; revision=72530
2016-09-01 16:39:54 +00:00
James Tabor
27e451c99f [NtGDI]
- Allocate initial entries for paths.

svn path=/trunk/; revision=72529
2016-09-01 06:53:28 +00:00
Dmitry Chapyshev
170bf20513 [NTOS:EX]
- Try to fix CORE-11906
See issue 11906 for more details.

svn path=/trunk/; revision=72528
2016-08-31 21:29:40 +00:00
Hermès Bélusca-Maïto
06c287d000 [README]
- Show our URLs using https.
- Add a "FAQ" section to point to the corresponding website URL; feel free to improve the section!

svn path=/trunk/; revision=72527
2016-08-31 21:22:37 +00:00
Mark Jansen
e54a97258b [SHELL32] Disable some controls for a network drive. Patch by Jared Smudde. CORE-11897 #resolve #comment Thanks!
svn path=/trunk/; revision=72526
2016-08-31 21:15:57 +00:00
James Tabor
a83d5e5fe6 [Win32SS]
- Patch by Sebastian Lackner : Do not block sending/posting WM_NOTIFY messages.
- Sync/Port : Fix more msg:msg_queue:test_notify_message results.

svn path=/trunk/; revision=72525
2016-08-31 21:14:35 +00:00
Amine Khaldi
cdce72e067 [BROWSEUI] Present "Is ReactOS legal" in ReactOS readme file. By Joachim Henze. CORE-11800
svn path=/trunk/; revision=72524
2016-08-31 20:54:51 +00:00
James Tabor
1ed7f14359 [NtUser]
- Fixed one of the msg:msg_paint:test_paint_messages while looking for another issue. See CORE-7166.

svn path=/trunk/; revision=72523
2016-08-31 20:38:09 +00:00
James Tabor
684902c4cc [NtUser]
- Fix test results for msg:msg_queue:test_broadcast.

svn path=/trunk/; revision=72522
2016-08-31 17:59:41 +00:00
James Tabor
8496d0aa2e [NtGDI]
- Patch by Sebastian Gasiorek : Fix incorrect placement of the text in the Tab buttons. Implement TA_UPDATECP. See CORE-1578 and CORE-11415.

svn path=/trunk/; revision=72521
2016-08-31 16:20:57 +00:00
James Tabor
303ece2421 [User32]
- MDI Sync/Port from wine head, not sure about Staging.

svn path=/trunk/; revision=72520
2016-08-31 16:05:34 +00:00
Aleksandar Andrejevic
a809e4ff02 [NTVDM:BIOS]
The 640x480x256 video mode has 640 bytes per scanline.


svn path=/trunk/; revision=72519
2016-08-31 15:37:53 +00:00
Aleksandar Andrejevic
724065020c [NTVDM:SVGA]
Halfplement (or perhaps hackplement) SVGA packed pixel addressing.


svn path=/trunk/; revision=72518
2016-08-31 05:38:56 +00:00
James Tabor
17a315285a [NtUser]
- Fix mouse move auto selecting while tracking popup menu. See CORE-2338.

svn path=/trunk/; revision=72517
2016-08-31 02:24:14 +00:00
Aleksandar Andrejevic
81b5e2b655 [NTVDM:BIOS]
Implement VESA function AH = 07h.


svn path=/trunk/; revision=72516
2016-08-30 22:52:49 +00:00
Dmitry Chapyshev
622507d06f [WIN32K]
- Stubpliment UOI_FLAGS flag in NtUserGetObjectInformation

* Fixes 32 tests in user32_apitest GetUserObjectInformation

svn path=/trunk/; revision=72515
2016-08-30 21:45:39 +00:00
Aleksandar Andrejevic
8c89d519a9 [NTVDM:SVGA]
Chain-4 addressing isn't really the same as packed-pixel addressing.
Also, fix a bug in the optimized odd/even mode reading code.


svn path=/trunk/; revision=72514
2016-08-30 21:07:26 +00:00
James Tabor
aa033a5fc4 [NtUser]
- Fix crash while using mouse or keyboard for menu selection in UxThmeme.
- Sync/Ports and copy paste error fixes.

svn path=/trunk/; revision=72513
2016-08-30 19:30:45 +00:00
Dmitry Chapyshev
2ef1af40a1 [KERNEL32]
- Failure if does not come to an end a way with a symbol '\' (exception - a path of a looks like 'C:')

* Fixes 2 tests for kernel32_apitest GetDriveType (all tests for GetDriveType passed now)

svn path=/trunk/; revision=72512
2016-08-30 19:22:00 +00:00
Dmitry Chapyshev
779ba0d221 [KERNEL32]
- Initialization of a string before obtaining information

* Fixes 2 tests for kernel32_apitest GetComputerNameEx (all tests passed now)

svn path=/trunk/; revision=72511
2016-08-30 17:36:01 +00:00
Dmitry Chapyshev
cc64f06a82 [RTL]
- Remove unneeded type-casts

svn path=/trunk/; revision=72510
2016-08-30 16:28:47 +00:00
Dmitry Chapyshev
7b880d99d0 [RTL]
- The Condition parameter every time is compared to VER_EQUAL, but does not change thus. This behavior wrong. We have to receive new Condition every time

* Fixes 7 tests in kernel32_winetest version (all tests passed now)

svn path=/trunk/; revision=72509
2016-08-30 15:10:07 +00:00
Aleksandar Andrejevic
8622e4ccf9 [NTVDM:EMS]
Implement EMS function 4E/03: "Get Size of Page-Mapping Array".


svn path=/trunk/; revision=72508
2016-08-30 02:13:40 +00:00
Dmitry Chapyshev
9df6fe4496 [NTOS:EX]
- Remove duplicate check

svn path=/trunk/; revision=72507
2016-08-29 21:11:01 +00:00
Dmitry Chapyshev
5168c15faa [NTOS:EX]
- Blocking of the user buffer before obtaining information
- Use of ObpGetHandleObject macro for receiving ObjectHeader
- Remove duplicate NULL pointer check for HandleTableEntry

svn path=/trunk/; revision=72506
2016-08-29 20:41:23 +00:00
Hermès Bélusca-Maïto
c56713f129 [CRT]: Fix typo. Thanks DopefishJustin:)
svn path=/trunk/; revision=72505
2016-08-29 16:44:21 +00:00
Hermès Bélusca-Maïto
499b414a4b [DOSKEY]
Our kernel32.lib already exports all of the console API and in particular the console history API, so we can directly link doskey against it and use them, instead of delay-loading at runtime. We just need to add their prototypes in the source code since they are not declared by wincon.h by default.

svn path=/trunk/; revision=72504
2016-08-29 15:39:19 +00:00
Mark Jansen
1dd7857278 [APPHELP][APPHELP_APITEST] Partially implement SdbMakeIndexKeyFromString
svn path=/trunk/; revision=72503
2016-08-29 15:19:55 +00:00
Mark Jansen
71ad0a0f9b [INCLUDE/WINE] Update test.h with a debug function for longlong.
Disabled by default because it introduces a new dependency on ntdll (_aullshr)

svn path=/trunk/; revision=72502
2016-08-29 15:16:50 +00:00
Hermès Bélusca-Maïto
99a31b3e64 [SHELL32]: We are not Windows! (and not completely Wine either).
svn path=/trunk/; revision=72501
2016-08-29 14:30:51 +00:00
Mark Jansen
0c589e512f Fix the build for msvc users.
svn path=/trunk/; revision=72500
2016-08-29 13:15:44 +00:00
Mark Jansen
820426939a [ATL][SHELL32] Add basic support for _ATL_NO_EXCEPTIONS in CString, use it in shell32 so that we can link without exception support. CORE-11841 #comment Please retest!
svn path=/trunk/; revision=72499
2016-08-29 12:29:45 +00:00
Aleksandar Andrejevic
93b57a7a0f [NTVDM:SVGA]
Don't forget to adapt the console attaching code to the new transposed video
memory, and certainly don't forget to make sure the ScanlineSizeLatch and
StartAddressLatch have the correct values before calling VgaVerticalRetrace.


svn path=/trunk/; revision=72498
2016-08-29 04:31:02 +00:00
Jérôme Gardou
0e07d3b761 [NTOS/MM]
- Shuffle parameter chacks in NtMapViewOfSection to make kmtest pass more of them
 - Restore previously lost check on ZeroBits against 21. Use the architecture specific define
 - Better check for ZeroBits and ViewSize

svn path=/trunk/; revision=72497
2016-08-28 21:07:51 +00:00
Aleksandar Andrejevic
78bb256379 [NTVDM:BIOS]
Implement mode 0x5F, otherwise known as VESA mode 0x101 (640x480 256 colors).


svn path=/trunk/; revision=72496
2016-08-28 20:15:03 +00:00
Jérôme Gardou
097bbc5c95 [WIN32SS/USER32]
- Do not mask exceptions from WndProc. If this makes programs crash, fine, fix it, but DON'T HIDE BUGS.
 - Use a wrappper (like wine does) to handle procs with bad calling conventions
ROSTESTS-155 : Please retest, user32 got in the way and masked the exception handler the wine test installed

svn path=/trunk/; revision=72495
2016-08-28 20:04:01 +00:00
Jérôme Gardou
665e8ea561 [NTOS/MM]
- Do not assert on transitions PTEs, we handle them just fine
ROSTESTS-155

svn path=/trunk/; revision=72494
2016-08-28 19:59:13 +00:00
Jérôme Gardou
3bb511ea04 [NTOS/MM]
- Properly chain events when reading a page from disk, aka don't wait on events allocated on the stack of another thread
 - Use proper type pointers, compilers sometimes help making things right

svn path=/trunk/; revision=72493
2016-08-28 19:53:27 +00:00
Dmitry Chapyshev
f25358387b [NTOS:EX]
- Remove duplicate checks

svn path=/trunk/; revision=72492
2016-08-28 19:28:41 +00:00
Dmitry Chapyshev
7fe5f71795 [NTOS]
- Use ExpLookupHandleTableEntry function for enumerate handles of process
- Filling handle information
- Setting ReqSize value before check of the size

* Fixes 2 tests ntdll_winetest info

svn path=/trunk/; revision=72491
2016-08-28 19:18:28 +00:00
Thomas Faber
cc9a7f1482 [NTOS:MM]
- Add MmSysPteIndex, MmSysPteTables and MmSysPteListBySizeCount to make WinDbg's !sysptes extension happy

svn path=/trunk/; revision=72490
2016-08-28 18:03:41 +00:00
Aleksandar Andrejevic
493ad03e52 [NTVDM:SVGA]
Fix the refresh rate calculation, again.


svn path=/trunk/; revision=72489
2016-08-28 16:17:14 +00:00
Dmitry Chapyshev
75ece18c55 [RTL]
- Implement IS_TEXT_UNICODE_DBCS_LEADBYTE flag

* Fixes 4 new tests in advapi32_apitest

svn path=/trunk/; revision=72488
2016-08-28 16:08:25 +00:00
Dmitry Chapyshev
85d39f7ebe [ADVAPI32_APITEST]
- Add tests for IS_TEXT_UNICODE_DBCS_LEADBYTE flag

[SDK]
- Add missed IS_TEXT_UNICODE_DBCS_LEADBYTE definition

svn path=/trunk/; revision=72487
2016-08-28 15:59:29 +00:00
Dmitry Chapyshev
af19896deb [RTL]
- Implement IS_TEXT_UNICODE_ILLEGAL_CHARS and IS_TEXT_UNICODE_ASCII16 flags

* It fixes 7 tests for the IsTextUnicode function in advapi32_apitest. All tests passed now

svn path=/trunk/; revision=72486
2016-08-28 11:05:01 +00:00
Thomas Faber
25d05a1982 [USBHUB]
- Return the correct pointer when handling TargetDeviceRelation, and avoid unnecessarily allocating from NonPagedPool. Patch by Vardan Mikayelyan, merged from r72376.

svn path=/trunk/; revision=72485
2016-08-28 10:52:40 +00:00
Dmitry Chapyshev
c49c7bb373 [ADVAPI32_APITEST]
- Add tests for IS_TEXT_UNICODE_ILLEGAL_CHARS flag (not passed on ReactOS)

svn path=/trunk/; revision=72484
2016-08-28 10:42:32 +00:00
Jérôme Gardou
92a722fd03 [NTOS/MM]
- NtQuerySection : Add initial support for ARM3 sections

svn path=/trunk/; revision=72483
2016-08-28 09:38:54 +00:00
Thomas Faber
4359ce1117 [NTOS:MM]
- Improve a debug print

svn path=/trunk/; revision=72482
2016-08-28 08:17:03 +00:00
Aleksandar Andrejevic
c93742a831 [NTVDM:BIOS]
Properly implement INT 15h, AH = 86h.


svn path=/trunk/; revision=72481
2016-08-28 02:00:10 +00:00
Aleksandar Andrejevic
fd7db0e65b [NTVDM:SVGA]
Fix the refresh rate calculation.


svn path=/trunk/; revision=72480
2016-08-28 01:53:52 +00:00
Aleksandar Andrejevic
3ecb5aa01a [NTVDM:SVGA]
Fix read mode 1.


svn path=/trunk/; revision=72479
2016-08-27 23:40:44 +00:00
James Tabor
b4743181f7 - Fix GCC build.
svn path=/trunk/; revision=72478
2016-08-27 23:05:51 +00:00
Aleksandar Andrejevic
4966051e96 [NTVDM]
Move the framebuffer update to the start of the display cycle to reduce tearing.
Stabilize the IPS calculation.


svn path=/trunk/; revision=72477
2016-08-27 21:55:34 +00:00
Dmitry Chapyshev
e5bc9e5062 [RTL]
- Implement IS_TEXT_UNICODE_REVERSE_ASCII16, IS_TEXT_UNICODE_REVERSE_STATISTICS flags
- Fix IS_TEXT_UNICODE_STATISTICS

* It fixes 2 tests for RtlIsTextUnicode function. Now all rtlstr in winetest are passed successfully

svn path=/trunk/; revision=72476
2016-08-27 20:18:18 +00:00
Hermès Bélusca-Maïto
148354095a [HAL]
Update the PCI hardware IDs database. Extracted from the pci.ids database from http://pci-ids.ucw.cz/ from 2016-08-26 03:15:02
Maintained by Albert Pool, Martin Mares, and other volunteers from the PCI ID Project at http://pci-ids.ucw.cz/.
CORE-11903 #resolve

svn path=/trunk/; revision=72475
2016-08-27 19:12:11 +00:00
Aleksandar Andrejevic
1bfb13f4fb [NTVDM:SVGA]
Properly implement the vertical retrace interval. The starting address and the
scanline size are calculated at the start, and the actual update is performed at
the end. This allows software to change the pixel panning and some other
parameters during the vertical retrace.
Also, normalize the CRTC register names.


svn path=/trunk/; revision=72474
2016-08-27 17:10:08 +00:00
Jérôme Gardou
acd35552c3 [NTOS/MM]
- Addendum to r72472 : address nodes are not VADs for the base section AVL table
CORE-11900

svn path=/trunk/; revision=72473
2016-08-27 13:22:17 +00:00
Jérôme Gardou
707280b695 [NTOS/MM]
- Keep the control area as being created through the whole creation process in MmCreateArm3Section
 - Use the segment length to find a suitable place for SEC_BASED sections
 - Properly remove the global section node when deleting a based section
CORE-11900 #resolve

svn path=/trunk/; revision=72472
2016-08-27 13:17:10 +00:00
Thomas Faber
5c207cc611 [USBHUB]
- Fix memory leaks in failure case of CreateUsbChildDeviceObject. Patch by Vardan Mikayelyan, merged from r72366.

svn path=/trunk/; revision=72471
2016-08-27 11:29:42 +00:00
James Tabor
c064e95689 [NtUser]
- Fix crash when there are no system cursors created. See CORE-11899.

svn path=/trunk/; revision=72470
2016-08-26 23:43:19 +00:00
Jérôme Gardou
2215ccef67 [NTOS/MM]
- Fix ZeroBits check in NtMapViewOfSection
 - Implement handling MEM_DOS_LIM AllocationType
This fixes all but a few NtMapViewOfSection (due to some temp file not being removed) wine tests + tests from 72468


svn path=/trunk/; revision=72469
2016-08-26 21:15:06 +00:00
Jérôme Gardou
9726a48493 [NTDLL_APITEST]
- Add some tests which show how Windows handles the ZeroBits argument

svn path=/trunk/; revision=72468
2016-08-26 21:08:24 +00:00
Jérôme Gardou
c0b63bd391 [KDGDB]
- Add a ugly and grotesque hack to give "o" back to RtlAssert so that we actually break on ASSERTs
 - Check for the breakpoint instruction for deciding when to move forward the ProgramCounter. This is OK since KD removes all breakpoints set when hitting a soft BP


svn path=/trunk/; revision=72467
2016-08-26 21:07:27 +00:00
Hermès Bélusca-Maïto
2e18c7a3cf Fix translation (cf. r72465) CORE-11763
svn path=/trunk/; revision=72466
2016-08-26 11:09:34 +00:00
Amine Khaldi
4959899003 * Please at least compile before committing patches. CORE-11763
svn path=/trunk/; revision=72465
2016-08-26 10:53:33 +00:00
Aleksandar Andrejevic
5aa44019cc [NTVDM:SVGA]
Implement the extended wrapping control (64 KB / 1 MB).
Transpose the video memory so that it corresponds to chain-4 and packed-pixel
modes. This allows us to optimize video memory access, since the majority of all
SVGA modes are packed-pixel. Only VgaReadMemory has been optimized so far.


svn path=/trunk/; revision=72464
2016-08-26 01:22:00 +00:00
Hermès Bélusca-Maïto
5108bc5af6 [CMAKE]: Update baseaddress_msvc.cmake with the updated scripts from CORE-11382 , with RTC1 enabled so that we get a bit of space margin. Dedicated to Thomas Faber :)
svn path=/trunk/; revision=72463
2016-08-25 18:26:13 +00:00
Hermès Bélusca-Maïto
c1a625b590 [IERUNONCE]: CORE-11763 #comment Addendum to r72456 : comment out one of the IDS_INCORRECTFORMAT strings (since only one can exist at a time!). Somebody (Sergey?) should choose the best translation between the two. Also re-add the original IDS_NOEXPORT string that just vanished out.
svn path=/trunk/; revision=72461
2016-08-25 17:13:24 +00:00
Hermès Bélusca-Maïto
d099454223 [TRANSLATIONS]: Update russian translation, by 'amber'.
CORE-11510 #comment Only the translations that did not collide with existing ones were committed! Please recheck :)

svn path=/trunk/; revision=72460
2016-08-25 14:32:50 +00:00
Thomas Faber
640b2bece9 [MSTSC]
- Unbreak build

svn path=/trunk/; revision=72458
2016-08-25 12:08:58 +00:00
Hermès Bélusca-Maïto
890ccaa0c2 [SHORTCUTS]: Update russian translations, by 'amber'.
CORE-11510

svn path=/trunk/; revision=72457
2016-08-25 10:49:37 +00:00
Hermès Bélusca-Maïto
70fe9b43c2 [TRANSLATIONS][ACPPAGE][IERNONCE]: Update ReactOS russian translation, by Sergey Stopkin.
CORE-11763 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=72456
2016-08-25 10:44:39 +00:00
Hermès Bélusca-Maïto
d6026c7465 [TRANSLATIONS][USETUP][EXPLORER]: Update ReactOS russian translation, by Kudratov Olimjon. Part 2
CORE-11636

svn path=/trunk/; revision=72455
2016-08-25 10:35:42 +00:00
Hermès Bélusca-Maïto
10c087b83b [TRANSLATIONS]: Update ReactOS russian translation, by Kudratov Olimjon. Part 1
CORE-11636

svn path=/trunk/; revision=72454
2016-08-25 10:22:26 +00:00
Aleksandar Andrejevic
d26178a938 [TRANSLATIONS]
Japanese translations for the following libraries: browseui, credui, ieframe,
iernonce, msports, msvfw32, mycomput, oleacc, samsrv, serialui, shimgvw, and
wldap32.
Patch by Katayama Hirofumi MZ. Thanks!
CORE-11884 #resolve #comment Committed in revision r72452.


svn path=/trunk/; revision=72452
2016-08-25 03:44:29 +00:00
Aleksandar Andrejevic
e7339745af [NTVDM:BIOS]
Implement VBE function AH = 0x05, "CPU Video Memory Control".


svn path=/trunk/; revision=72451
2016-08-25 03:01:18 +00:00
Hermès Bélusca-Maïto
e145ed06c6 [BOOTDATA]
- Remove invalid "ServiceType" registry value of the MPU401 driver.
- Fix MUP driver group.
- Fix MountMgr driver group.
- Fix rosfltmgr driver group.
- Add "Base" group list (until we have it inside some driver inf).
- Add tags for acpi, pci, null, beep and ksecdd drivers.

svn path=/trunk/; revision=72450
2016-08-24 19:55:12 +00:00
Eric Kohl
1161db9756 [LSASRV]
LsarSetSecurityObject: Impersonate the client and retrieve the client token when the owner sid will be set.

svn path=/trunk/; revision=72449
2016-08-23 21:14:17 +00:00
Amine Khaldi
15d8c32ada [ACPPAGE] Improve header inclusions.
svn path=/trunk/; revision=72448
2016-08-23 19:37:31 +00:00
Amine Khaldi
fd8f2bb80e [STRMBASE] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72447
2016-08-23 19:35:53 +00:00
Amine Khaldi
dd7d00f90d [RPCSS] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72446
2016-08-23 19:34:57 +00:00
Amine Khaldi
89a86c50c7 [WRITE] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72445
2016-08-23 19:34:21 +00:00
Amine Khaldi
55188dfb8c [WORDPAD] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72444
2016-08-23 19:32:58 +00:00
Amine Khaldi
5e7598a6d2 [WINHLP32] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72443
2016-08-23 19:31:44 +00:00
Amine Khaldi
444f693e31 [FREELDR] Fix a regression introduced in r70687. Dedicated to Sylvain Deverre.
svn path=/trunk/; revision=72442
2016-08-23 19:20:44 +00:00
Amine Khaldi
91dfb227f8 [WINMINE] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72441
2016-08-23 19:08:37 +00:00
Giannis Adamopoulos
4542952e42 [EXPLORER]
- CTrayWindow: Reorganise the code in logical groups to make it more readable. Move command handlers at the top of the file followed by the code that manages moving and resizing the taskbar. After that is code that paints the taskbar and the implementation of the ITrayWindow interface which I really doubt if it is needed. Finally at the bottom are the message handlers.

svn path=/trunk/; revision=72440
2016-08-23 16:52:05 +00:00
James Tabor
cf7c648a68 [NtUser]
- Properly sync wine menu code. Attempt to fix CORE-11892.

svn path=/trunk/; revision=72439
2016-08-23 16:33:44 +00:00
Hermès Bélusca-Maïto
df8d9cbd28 [CMAKE]: Update baseaddress_msvc.cmake with the updated scripts from CORE-11382 , after the recent translations of some of the message compiler files.
svn path=/trunk/; revision=72438
2016-08-23 12:15:12 +00:00
Aleksandar Andrejevic
c50b9d7c96 [NTVDM:SVGA]
Implement starting address extensions, scanline offset extensions and memory
address extensions.
No more 64 KB memory banks. The code now uses SVGA_BANK_SIZE (1 MB) for
everything.


svn path=/trunk/; revision=72436
2016-08-22 22:41:01 +00:00
Jérôme Gardou
fa5fed4f1d [KDGDB]
- Implement setting and removing breakpoints
 - Implement single-stepping
 - Only get past the breakpoint instruction when it comes from RtlpBreakWithStatus
 - Implement writing to memory
 - Always send the thread raising the exception to GDB to avoid confusing it
 - Let GDB find the program counter alone by querying the registers (support was already there before.)
 - Properly escape special characters on input
Ladies and gentlemen : the almost-fully functional GDB stub. (still no real multi-process support :-( )
To enable , in CMakeCache.txt :
 - Set GDB:BOOL=TRUE
 - Set _WINKD_:BOOL=TRUE
 - Set KDBG:BOOL=FALSE
To do : give GDB the list of loaded drivers. Loading ntoskrnl.exe symbols at 0x80801000 already does a good enough job.
Default output is on COM1. Can be configure to any othe COM port with usual kernel options.
Hope you'll like it as much as I do ;-)

svn path=/trunk/; revision=72435
2016-08-22 22:24:30 +00:00
Dmitry Chapyshev
e41a81db0b [TRANSLATIONS]
- Update Russian translation

svn path=/trunk/; revision=72434
2016-08-22 21:18:42 +00:00
Dmitry Chapyshev
05e9013f07 [SDK]
- It is partially translated into Russian

* Now there is a possibility of the translation of *.mc of files

svn path=/trunk/; revision=72433
2016-08-22 16:48:55 +00:00
Dmitry Chapyshev
840bf2046f [CMAKE]
- Update kernel32 address

svn path=/trunk/; revision=72432
2016-08-22 14:34:53 +00:00
Dmitry Chapyshev
bac50c092f [CMAKE]
- Convert all *.mc files to UTF16 LE (without BOM) at build
- Use unicode flag in windmc/mc for source files
- Switch UNICODE_SOURCE files to UNICODE (must check for the presence of regression tests)

svn path=/trunk/; revision=72431
2016-08-22 14:02:42 +00:00
Dmitry Chapyshev
bdc447f6cd [UTF16LE]
- Fix MSVC build

svn path=/trunk/; revision=72430
2016-08-22 13:49:12 +00:00
James Tabor
f7b2e13609 [NtUser]
- Defer the changing of the window region while setting the window position.
- Patch based on Stefano Toncich work. See CORE-6897 and possibly CORE-7229.

svn path=/trunk/; revision=72429
2016-08-22 13:28:02 +00:00
Dmitry Chapyshev
f5b4891559 Maybe strcasecmp?
svn path=/trunk/; revision=72428
2016-08-22 13:22:32 +00:00
Dmitry Chapyshev
bbe68b6347 [UTF16LE]
Try to fix build

svn path=/trunk/; revision=72427
2016-08-22 13:18:26 +00:00
Dmitry Chapyshev
457d4cff98 [UTF16LE]
- Implement ability to disable BOM writing

svn path=/trunk/; revision=72426
2016-08-22 13:14:41 +00:00
Dmitry Chapyshev
6ba5e47c0e [KERNEL32]
- Update Russian translation

svn path=/trunk/; revision=72425
2016-08-22 12:15:00 +00:00
Eric Kohl
2cb8276b6c [LSASRV]
Implement LsarSetSecurityObject.

svn path=/trunk/; revision=72421
2016-08-21 21:39:02 +00:00
Eric Kohl
fcf959d784 [INCLUDE]
Add the RtlLengthSecurityDescriptor prototype to the NDK.

svn path=/trunk/; revision=72420
2016-08-21 21:31:40 +00:00
Eric Kohl
72f1555249 [LSASRV]
Implement LsaIFree_LSAPR_TRANSLATED_SIDS.

svn path=/trunk/; revision=72419
2016-08-21 21:24:10 +00:00
Mark Jansen
cf27bf75e9 Addendum to r72417. CORE-11858 #resolve
svn path=/trunk/; revision=72418
2016-08-21 20:07:05 +00:00
Mark Jansen
11d1368d04 [WIN32SS] Fix argument name, spotted by Hermes. CORE-11858
svn path=/trunk/; revision=72417
2016-08-21 20:03:19 +00:00
Mark Jansen
963d66822f [SHELL32] Partially implement CFolderItems. Thanks to Giannis for the advice :)
svn path=/trunk/; revision=72416
2016-08-21 19:58:32 +00:00
Mark Jansen
63fae88fbc [SHELL32] Fix a crash in shell32:shelldispatch by returning an empty CFolderItems object instead of nothing.
svn path=/trunk/; revision=72415
2016-08-21 18:48:48 +00:00
Mark Jansen
8b95cbf0e2 [WIN32SS] Implement windows class versioning, by Sylvain Deverre. CORE-11858 #comment Committed, thanks!
svn path=/trunk/; revision=72414
2016-08-21 18:28:33 +00:00
Amine Khaldi
7e6c5db9a4 [CRT] Sync wctype.c with Wine Staging 1.9.16 and document this. CORE-11866
svn path=/trunk/; revision=72413
2016-08-21 18:24:21 +00:00
Amine Khaldi
9c71618a0d [FDEBUG] Improve header inclusions.
svn path=/trunk/; revision=72410
2016-08-21 17:25:07 +00:00
Amine Khaldi
1cd18d016a [WIDL] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72409
2016-08-21 17:22:27 +00:00
Amine Khaldi
7cf942787a [UNICODE] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72408
2016-08-21 16:47:13 +00:00
Amine Khaldi
0825399200 [README.WINE] Update some paths.
svn path=/trunk/; revision=72407
2016-08-21 16:44:35 +00:00
Amine Khaldi
761db77da5 [CDMAKE][CTR] Fix strtok_s for empty strings. Part of Wine commit 4fa616c by Bernhard Übelacker.
svn path=/trunk/; revision=72406
2016-08-21 16:30:06 +00:00
Amine Khaldi
f6aaf58005 [CRT] Sync strtok_s() with Wine Staging 1.9.16 and mark strtok() as synced. CORE-11866
svn path=/trunk/; revision=72405
2016-08-21 16:24:00 +00:00
Eric Kohl
c7c1b36949 [LSASRV]
Implement LsaIFree_LSAPR_SR_SECURITY_DESCRIPTOR and LsaIFree_LSAPR_TRANSLATED_NAMES.

svn path=/trunk/; revision=72404
2016-08-21 14:56:54 +00:00
Daniel Reimer
6f5011a861 [RAPPS]
Fix Audacity/NIRLauncher/Tahoma and Watercolor entries.

svn path=/trunk/; revision=72403
2016-08-21 11:45:05 +00:00
Amine Khaldi
7785437568 [TRANSLATIONS] Japanese translation of control panel applets by Katayama Hirofumi MZ. CORE-11882
svn path=/trunk/; revision=72402
2016-08-21 10:40:42 +00:00
Giannis Adamopoulos
56970603ce [SHELL32]
- CMenuBand: Do not open the context menu on mouse down but on mouse up.
- Patch by Joachim Henze (reactosfanboy)
CORE-10830

svn path=/trunk/; revision=72401
2016-08-20 22:05:12 +00:00
Mark Jansen
f156a8d727 [WIN32NT_APITEST] Add additional tests for NtUserCreateWindowEx by Sylvain Deverre. ROSTESTS-237 #resolve #comment Thanks!
svn path=/trunk/; revision=72400
2016-08-20 16:58:20 +00:00
Giannis Adamopoulos
68ed94281d [SHELL32]
- Use ExpandEnvironmentStringsW instead of PathUnExpandEnvStringsW in the pick icon dialog.
- Patch by Jared Smudde.
CORE-10962

svn path=/trunk/; revision=72399
2016-08-20 09:53:55 +00:00
Giannis Adamopoulos
8f70f4395e [SHELL32]
- Fail to delete any file if one is invalid.
- Patch by andy-123
CORE-9959

svn path=/trunk/; revision=72398
2016-08-20 09:43:09 +00:00
Giannis Adamopoulos
e4743d51be [SHELL32]
- Show an error message when creating a directory fails.
- Patch by Jared Smudde
CORE-11661

svn path=/trunk/; revision=72397
2016-08-20 09:34:25 +00:00
Jérôme Gardou
3bae10b2bc [SERVICES]
- Properly invalidate service handles when closing/freeing them
Dedicated to Hermès and any regression chaser. FalsePositives--

svn path=/trunk/; revision=72396
2016-08-19 22:15:53 +00:00
Jérôme Gardou
690941472d [NTOS/MM]
- Implement copy on write support in ARM3 page fault handler
CORE-8541 #resolve #comment committed in r72395

svn path=/trunk/; revision=72395
2016-08-19 17:24:53 +00:00
Amine Khaldi
fa041e04ad [HNETCFG] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72363
2016-08-19 09:55:53 +00:00
Amine Khaldi
a0297b51ec [SCRRUN_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72362
2016-08-19 09:54:01 +00:00
Amine Khaldi
22b736b312 [REG_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72361
2016-08-19 09:53:19 +00:00
Amine Khaldi
435823810b [REG] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72360
2016-08-19 09:52:47 +00:00
Amine Khaldi
d1ca52d800 [WSCRIPT_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72359
2016-08-19 09:49:22 +00:00
Amine Khaldi
2b9948d14b [WSCRIPT] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72358
2016-08-19 09:48:46 +00:00
Amine Khaldi
7762de059c [WININET_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72357
2016-08-19 09:46:10 +00:00
Amine Khaldi
86f990eac4 [WININET] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72356
2016-08-19 09:45:28 +00:00
Amine Khaldi
a58f578c0e [WINHTTP_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72355
2016-08-19 09:44:16 +00:00
Amine Khaldi
fb5949784d [WINHTTP] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72354
2016-08-19 09:43:46 +00:00
Amine Khaldi
722837d960 [WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72353
2016-08-19 09:42:48 +00:00
Amine Khaldi
0aa49a16bb [WINDOWSCODECS] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72352
2016-08-19 09:42:13 +00:00
Amine Khaldi
ae7213af9a [RPCRT4_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72351
2016-08-19 09:41:01 +00:00
Amine Khaldi
5f766a75dc [RPCRT4] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72350
2016-08-19 09:40:25 +00:00
Amine Khaldi
891c9a1bc1 [OLE32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72349
2016-08-19 09:39:12 +00:00
Amine Khaldi
e88c7f24df [OLE32] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72348
2016-08-19 09:38:43 +00:00
Amine Khaldi
d4778af3f0 [JSCRIPT_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72347
2016-08-19 09:37:22 +00:00
Amine Khaldi
4dd5cd6d92 [JSCRIPT] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72346
2016-08-19 09:36:35 +00:00
Amine Khaldi
6873f2c1ae [INETCOMM_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72345
2016-08-19 09:34:00 +00:00
Amine Khaldi
60cad68706 [INETCOMM] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72344
2016-08-19 09:33:16 +00:00
Amine Khaldi
e48834ab6d [PSDK] Update mimeole.idl. CORE-11866
svn path=/trunk/; revision=72343
2016-08-19 09:30:21 +00:00
Amine Khaldi
efa0b8f5af [GDIPLUS_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72342
2016-08-19 09:29:03 +00:00
Amine Khaldi
3f043d113a [GDIPLUS] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72341
2016-08-19 09:28:13 +00:00
Amine Khaldi
ee606040a1 [PSDK] Update netfw.idl. CORE-11866
svn path=/trunk/; revision=72340
2016-08-19 09:26:49 +00:00
Amine Khaldi
26869f8e63 [COMDLG32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72339
2016-08-19 09:24:50 +00:00
Amine Khaldi
2213bae856 [COMDLG32] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72338
2016-08-19 09:24:04 +00:00
Amine Khaldi
178465de85 [SETUPAPI_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72337
2016-08-19 09:21:44 +00:00
Amine Khaldi
a3bbb41299 [PSDK] Update icftypes.idl. CORE-11866
svn path=/trunk/; revision=72336
2016-08-19 09:20:52 +00:00
James Tabor
d3af3bb97e [NtUser] - Patch by Józef Kucia : Prevent resetting WS_MINIMIZE through SetWindowLong.
svn path=/trunk/; revision=72335
2016-08-18 23:37:42 +00:00
Mark Jansen
1a411ce0e6 Addendum to r72332
svn path=/trunk/; revision=72333
2016-08-18 19:34:12 +00:00
Mark Jansen
6db0c12e85 [ATL][ATL_APITEST] Add CImage initial implementation + tests, by Katayama Hirofumi MZ. CORE-10029 #comment Thanks, first iteration committed!
- Tests focus mainly on loading + saving images.
- The implementation is not perfect yet, see CImage_WIP.txt for test results.
- The GDI+ functions should be fixed before this test can pass fully, MS' ATL fails in ReactOS, but passes on Windows.

svn path=/trunk/; revision=72332
2016-08-18 19:27:49 +00:00
Amine Khaldi
ded08d3fbb [KERNEL32_WINETEST] Come on Jérôme! commit the awesomeness so we can remove this skip ;)
svn path=/trunk/; revision=72331
2016-08-18 19:12:59 +00:00
Dmitry Chapyshev
dbc5ec87ab [KERNEL32]
- Update Russian translation

svn path=/trunk/; revision=72329
2016-08-18 17:23:11 +00:00
Giannis Adamopoulos
2f6cecc6f1 [SHELL32]
- CDefaultContextMenu: Fix some cosmetic issues.

svn path=/trunk/; revision=72328
2016-08-18 14:01:44 +00:00
Giannis Adamopoulos
4c322eaeef [SHELL32]
- CDefView: Set the site of the context menu to the CDefView essentialy reverting r68727 which was wrong.
- CDefaultContextMenu: Implement IObjectWithSite interface. Don't use CWM_GETISHELLBROWSER to get a pointer to the shell browser. Do a IUnknown_QueryService to the site instead asking for either the shell browser or the shell view (and it is fine if there is none of them).
- Rename IDefaultContextMenu_Constructor to CDefaultContextMenu_CreateInstance and use ShellObjectCreatorInit to simplify its code.

svn path=/trunk/; revision=72327
2016-08-18 13:50:56 +00:00
Giannis Adamopoulos
9fab725041 [BROWSEUI]
- CInternetToolbar: Fix resizing the top rebar. Works in windows (but not in ros).

svn path=/trunk/; revision=72326
2016-08-18 13:24:16 +00:00
Giannis Adamopoulos
888d052418 [BROWSEUI]
- Use OleFlushClipboard while the browser window is being destroyed in order to make make any IDataObject that is in clipboard to render so as make is data available after the browser thread exits.
CORE-11565

svn path=/trunk/; revision=72325
2016-08-18 13:16:05 +00:00
Daniel Reimer
c611e5c83f [BOOTDATA]
Update CA root scripts adding "ISRG Root X1"

svn path=/trunk/; revision=72324
2016-08-18 12:07:59 +00:00
Daniel Reimer
8bd13ae274 [FONTS]
Update DejaVu to v2.37

svn path=/trunk/; revision=72323
2016-08-18 12:03:31 +00:00
Amine Khaldi
1ea4f4f0d7 [PSDK] Update wincodecsdk.idl. CORE-11866
svn path=/trunk/; revision=72322
2016-08-18 11:11:13 +00:00
Amine Khaldi
d00225ce65 [COMCTL32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72321
2016-08-18 11:10:51 +00:00
Amine Khaldi
297e33f228 [COMCTL32] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72320
2016-08-18 11:09:45 +00:00
Amine Khaldi
acdd6b2e5b [PSDK] Update gdiplusflat.h. CORE-11866
svn path=/trunk/; revision=72319
2016-08-18 10:56:57 +00:00
Amine Khaldi
b36e38a2a3 [XMLLITE_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72318
2016-08-18 10:55:43 +00:00
Amine Khaldi
78d4075504 [XMLLITE] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72317
2016-08-18 10:54:49 +00:00
Amine Khaldi
8497ce4353 [WSHOM_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72316
2016-08-18 10:53:52 +00:00
Amine Khaldi
42e1654535 [XINPUT1_3] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72315
2016-08-18 10:53:09 +00:00
Amine Khaldi
8ce605cde9 [WBEMDISP_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72314
2016-08-18 10:50:44 +00:00
Amine Khaldi
07f4aca553 [WBEMDISP] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72313
2016-08-18 10:50:14 +00:00
Amine Khaldi
f72814fe25 [USP10_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72312
2016-08-18 10:48:39 +00:00
Amine Khaldi
e47a8043ed [USP10] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72311
2016-08-18 10:47:59 +00:00
Amine Khaldi
3860b7af4a [URLMON_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72310
2016-08-18 10:46:40 +00:00
Amine Khaldi
042c7f8e93 [URLMON] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72309
2016-08-18 10:45:43 +00:00
Amine Khaldi
6da422d0ce [SHLWAPI_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72308
2016-08-18 10:44:39 +00:00
Amine Khaldi
4a513658de [SHLWAPI] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72307
2016-08-18 10:43:47 +00:00
Amine Khaldi
e16af6724e [RICHED20_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72306
2016-08-18 10:41:23 +00:00
Amine Khaldi
bacd0179ec [RICHED20] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72305
2016-08-18 10:40:37 +00:00
Amine Khaldi
8338fe9d09 [PSTOREC] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72304
2016-08-18 10:37:24 +00:00
Amine Khaldi
330e94b329 [PROPSYS_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72303
2016-08-18 10:35:58 +00:00
Amine Khaldi
df418ff838 [PROPSYS] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72302
2016-08-18 10:35:19 +00:00
Dmitry Chapyshev
c5ba8fbb12 [INPUT]
- Use _wcsdup instead internal DuplicateString
- Check of the returned value of the wcsstr function is added

svn path=/trunk/; revision=72301
2016-08-18 10:31:42 +00:00
Amine Khaldi
9b71c6be30 [PSDK] Update propvarutil.h. CORE-11866
svn path=/trunk/; revision=72300
2016-08-18 10:31:31 +00:00
Amine Khaldi
0f820f751c [OLEAUT32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72299
2016-08-18 10:30:35 +00:00
Amine Khaldi
7651447df4 [OLEAUT32] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72298
2016-08-18 10:29:24 +00:00
Amine Khaldi
ddb3a842ea [MSXML3_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72297
2016-08-18 10:27:46 +00:00
Amine Khaldi
2336f78df3 [MSXML3] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72296
2016-08-18 10:27:06 +00:00
Amine Khaldi
5613aa4e45 [MSVFW32] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72295
2016-08-18 10:25:37 +00:00
Amine Khaldi
b3323a21c5 [MSIMTF] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72294
2016-08-18 10:24:35 +00:00
Amine Khaldi
c96078d760 [MSI_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72293
2016-08-18 10:22:37 +00:00
Amine Khaldi
0cecc250b5 [MSI] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72292
2016-08-18 10:22:22 +00:00
Amine Khaldi
c99ab15017 [MSCTF_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72291
2016-08-18 10:20:17 +00:00
Amine Khaldi
f841a54235 [MSCTF] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72290
2016-08-18 10:19:15 +00:00
Amine Khaldi
e4a5020766 [MMDEVAPI_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72289
2016-08-18 10:17:56 +00:00
Amine Khaldi
53a474e252 [MMDEVAPI] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72288
2016-08-18 10:17:05 +00:00
Amine Khaldi
85b1436323 [MLANG] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72287
2016-08-18 10:16:03 +00:00
Amine Khaldi
7a8a3e75ea [MCIQTZ32] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72286
2016-08-18 10:15:04 +00:00
Amine Khaldi
5943af0b23 [MCICDA] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72285
2016-08-18 10:13:31 +00:00
Amine Khaldi
7510c70f4a [MCIAVI32] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72284
2016-08-18 10:12:12 +00:00
Amine Khaldi
6bc8a14ac1 [IEFRAME] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72283
2016-08-18 10:10:30 +00:00
Amine Khaldi
66863bf8c5 [IMM32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72282
2016-08-18 10:08:05 +00:00
Amine Khaldi
681eba21be [HLINK_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72281
2016-08-18 10:07:20 +00:00
Amine Khaldi
b2afbea16b [HLINK] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72280
2016-08-18 10:06:29 +00:00
Amine Khaldi
2b65c48e2d [HHCTRL.OCX] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72279
2016-08-18 10:05:18 +00:00
Amine Khaldi
ea1e7ebddb [DBGHELP] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72278
2016-08-18 10:04:21 +00:00
Amine Khaldi
0cac4632f5 [CRYPTUI] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72277
2016-08-18 10:03:16 +00:00
Amine Khaldi
056256bdd2 [CRYPT32] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72276
2016-08-18 10:01:42 +00:00
Amine Khaldi
06caf69964 [CREDUI] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72275
2016-08-18 10:00:07 +00:00
Amine Khaldi
922b77273d [CABINET] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72274
2016-08-18 09:58:31 +00:00
Amine Khaldi
0ee528548f [AVIFIL32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72273
2016-08-18 09:56:44 +00:00
Amine Khaldi
855d6e8644 [AVIFIL32] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72272
2016-08-18 09:55:39 +00:00
Amine Khaldi
9c0416c9fd [ATL] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72271
2016-08-18 09:54:01 +00:00
Amine Khaldi
3f76d7c905 [QUARTZ_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72270
2016-08-18 09:51:01 +00:00
Amine Khaldi
64dc1ba32c [QUARTZ] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72269
2016-08-18 09:50:09 +00:00
Amine Khaldi
ab2bcbbcb7 [QEDIT] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72268
2016-08-18 09:48:26 +00:00
Amine Khaldi
d6d93b75da [DPLAYX] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72267
2016-08-18 09:46:58 +00:00
Amine Khaldi
bef5d0e69f [DMUSIC] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72266
2016-08-18 09:45:45 +00:00
Amine Khaldi
7d75b785b8 [DINPUT_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72265
2016-08-18 09:44:21 +00:00
Amine Khaldi
9311bf01ef [DINPUT] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72264
2016-08-18 09:43:58 +00:00
Amine Khaldi
db110c2bfe [DEVENUM] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72263
2016-08-18 09:42:25 +00:00
Amine Khaldi
ab71e5511f [D3DXOF] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72262
2016-08-18 09:40:45 +00:00
Amine Khaldi
ebac637363 [SHELL32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72261
2016-08-18 09:39:10 +00:00
Amine Khaldi
aa23d6090c [PSDK] Update shldisp.idl. CORE-11866
svn path=/trunk/; revision=72260
2016-08-18 09:38:10 +00:00
Amine Khaldi
d71de35a77 [D3DRM_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72259
2016-08-18 09:37:07 +00:00
Amine Khaldi
e896b09c90 [D3DRM] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72258
2016-08-18 09:36:20 +00:00
Amine Khaldi
8ad1b07ac3 [PSDK] Update d3drmobj.h. CORE-11866
svn path=/trunk/; revision=72257
2016-08-18 09:34:23 +00:00
Amine Khaldi
470fde8354 [SECUR32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72256
2016-08-18 09:33:29 +00:00
Amine Khaldi
c7940bf549 [WS2_32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72255
2016-08-18 09:29:06 +00:00
Amine Khaldi
fb9b36051a [USER32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72254
2016-08-18 09:26:41 +00:00
Amine Khaldi
088421e1ef [KERNEL32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72253
2016-08-18 09:22:13 +00:00
Amine Khaldi
66b0514a00 [GDI32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72252
2016-08-18 09:19:56 +00:00
Amine Khaldi
214259b900 [CMD_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72251
2016-08-18 09:18:03 +00:00
Amine Khaldi
bdcb293e98 [AMSTREAM_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72250
2016-08-18 09:15:31 +00:00
Amine Khaldi
6a451198b1 [AMSTREAM] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72249
2016-08-18 09:14:24 +00:00
Mark Jansen
f2efdd0952 [DBGPRINT] --wintest mode: Improve readability of output.
svn path=/trunk/; revision=72248
2016-08-17 21:02:49 +00:00
Amine Khaldi
80afa82c59 [WIN32NT_APITEST] Add some NtUserCreateWindowEx tests by Sylvain Deverre. ROSTESTS-237
svn path=/trunk/; revision=72242
2016-08-17 17:53:11 +00:00
Amine Khaldi
be65077e3f [KERNEL32] Sync sortkey.c with Wine Staging 1.9.16. CORE-10771 CORE-11866
svn path=/trunk/; revision=72241
2016-08-17 15:35:42 +00:00
Amine Khaldi
b01239eb28 [GLU32] Remove the special case for Clang. CORE-11799
svn path=/trunk/; revision=72240
2016-08-17 15:33:15 +00:00
Amine Khaldi
1a954c4f3e [OPENGL32] We don't need mingwex anymore. CORE-11799
svn path=/trunk/; revision=72239
2016-08-17 15:29:25 +00:00
Amine Khaldi
02be91f3aa [INCLUDE/REACTOS] Add some missing VOIDs. CORE-11799
svn path=/trunk/; revision=72238
2016-08-17 15:21:48 +00:00
Hermès Bélusca-Maïto
a2b693dfc4 [EVENTLOG]
- Get rid of MyHeap.
- Continue using safe string functions.
- Allow event logs themselves to be their own source. And store the full list of log sources in the "Sources" registry multi-string value.
- Correctly compute the number of records.
- Correctly return the event number and the write timestamp of reported events.
- Use a helper function for ElfrReportEventW/A and for ElfrReportEventAndSourceW that is now implemented.
- Rewrite the file.c functions using NT-APIs almost exclusively for file operations.
- Modify the logic of LogfReadEvents so that a RecordNumber == 0 in sequential read mode means we need to determine where to start the read operation, depending on whether a forwards-read or a backwards-read is performed. The log handle's CurrentRecord member is therefore initialized to 0 before usage.
- Adjust LogfAllocAndBuildNewRecord to take in input the event generation timestamp.
- Do not "compute" the RecordNumber of the new event in LogfAllocAndBuildNewRecord; it will be consistently assigned by LogfWriteRecord.
- Correctly initialize the OldestRecordNumber to zero for new (empty) logs.
- Perform extensive log validity checks when opening existing logs: log header and EOF record as well as boundary checks.
- Rewrite almost of the functions to support event log wrapping (see https://msdn.microsoft.com/en-us/library/windows/desktop/bb309026(v=vs.85).aspx ) and splitted records. Now our event logs are not corrupted anymore, and are readable under Windows 2k/xp/2k3/Vista+.
- As a consequence of supporting wrapping event logs we need to iterate through them at loading time in order to locate the valid EOF record (indeed it may happen that the log header is not correctly synced, and its Start/EndOffsets are invalid. The EOF record offsets contain on the other way the correct values).

The file.c fixes are a bit still work-in-progress, but the bulk of the code works. It is extensively tested in situ in my local VM since 2 months now.

CORE-11843 #resolve

svn path=/trunk/; revision=72236
2016-08-16 21:08:15 +00:00
Dmitry Chapyshev
d5ac073cbc [INPUT]
- Show localized keyboard layout name

svn path=/trunk/; revision=72235
2016-08-16 18:33:50 +00:00
Sylvain Petreolle
445ae177c1 Get rosautotest from the web.
@aminekhaldi thanks for the idea.
ONLINE-567

svn path=/trunk/; revision=72234
2016-08-15 23:32:42 +00:00
Giannis Adamopoulos
bed40f1d7e [EXPLORER]
- Implement resizing the taskbar in steps based on the way the rebar resizes. It works in windows (a bit buggy) and it would work in ros if our rebar could resize on demand.
- Let CStartButton handle the creation of the start button.

svn path=/trunk/; revision=72233
2016-08-15 20:53:12 +00:00
Christoph von Wittich
d1686ea263 [ADVAPI32] add DECLSPEC_HOTPATCH to CreateProcessAsUser
svn path=/trunk/; revision=72231
2016-08-15 17:25:04 +00:00
Christoph von Wittich
3f62a5f7f8 [GDI32] sync GetICMProfileA to wine
svn path=/trunk/; revision=72230
2016-08-15 17:04:05 +00:00
Daniel Reimer
69a268849d Bye SHA1 @utorrent and bittorrent. Still no nice direct links for the broken ones found.
svn path=/trunk/; revision=72229
2016-08-15 15:02:07 +00:00
Amine Khaldi
450c7177af [CMAKE] Update baseaddress.cmake for the GCC build.
svn path=/trunk/; revision=72228
2016-08-15 11:56:47 +00:00
James Tabor
fddaeea688 [Win32SS]
- Fix regression from 62529, striped all the MF_POPUP from the code, no way to know if the submenu is a drop menu. See CORE-9269.

svn path=/trunk/; revision=72227
2016-08-15 01:14:47 +00:00
Eric Kohl
12ea67644c [LSASRV]
Implement LsarEnumerateAccountsWithUserRight.

svn path=/trunk/; revision=72226
2016-08-14 20:37:35 +00:00
Hermès Bélusca-Maïto
13478a6cb0 [ROSTESTS]: Add an interactive test that tests some parts of the event log service.
CORE-11843 CORE-11838

svn path=/trunk/; revision=72225
2016-08-14 19:15:54 +00:00
Hermès Bélusca-Maïto
e7ce655076 [ROSTESTS]: Update the code file header.
svn path=/trunk/; revision=72224
2016-08-14 19:12:30 +00:00
Hermès Bélusca-Maïto
2081c44ca0 [SDK:MC]: Ensure the EOL style of MC files is *always* CR-LF in *all* platforms.
svn path=/trunk/; revision=72223
2016-08-14 19:10:41 +00:00
Eric Kohl
deec91b6c2 [LSASRV]
Add missing TRACE messages.

svn path=/trunk/; revision=72222
2016-08-14 16:16:40 +00:00
Giannis Adamopoulos
21f8a27469 [SHELL32]
- Fix a bug in CStartMenu_Constructor and add some comments to explain what this part does.

svn path=/trunk/; revision=72221
2016-08-14 16:15:02 +00:00
Eric Kohl
09e88a8e27 [LSASRV]
LsarQuerySecurityObject: Build a new SD that conatains requested information only and return it to the caller.

svn path=/trunk/; revision=72220
2016-08-14 15:42:40 +00:00
Eric Kohl
e60fde9ccb [LSASRV]
Implement LsaIFree_LSAPR_CR_CIPHER_VALUE, LsaIFree_LSAPR_PRIVILEGE_ENUM_BUFFER and LsaIFree_LSAPR_REFERENCED_DOMAIN_LIST.

svn path=/trunk/; revision=72218
2016-08-14 10:26:23 +00:00
Eric Kohl
9426bb9c91 [SYSSETUP]
InstallPrivileges: 
- Use LsaAddAccountRights instead of LsaAddPrivilegesToAccount. This enables us to add privileges and user rights to a given account.
- Identify SIDs by a leading asterisk. Account names do not start with an asterisk.
defltws.inf:
- Add user rights.
- Add an asterisk before all SIDs.

svn path=/trunk/; revision=72217
2016-08-13 19:25:31 +00:00
Eric Kohl
7265f00e4e [LSASRV]
Implement LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER and fix a typo.

svn path=/trunk/; revision=72216
2016-08-13 17:15:04 +00:00
Eric Kohl
3890a9cf57 [LSASRV]
- LsapRegQueryKeyInfo: Return the maximum sub key name length too.
- LsarEnumerateAccounts: User the maximum sub key name length to allocate a large enough buffer instead of using a fixed size one.
- LsarAddAccountRights: Use the proper value size to retrieve the system access attribute.

svn path=/trunk/; revision=72215
2016-08-13 16:26:23 +00:00
Mark Jansen
caa5c5b12d [CRT][CRT_APITEST] Fix __getmainargs and __wgetmainargs parsing, verified with apitests. Patch by Yaroslav Veremenko. CORE-11673 #resolve #comment Thanks!
svn path=/trunk/; revision=72214
2016-08-12 21:31:32 +00:00
Hermès Bélusca-Maïto
f7cb5ca5c0 [EVENTLOG]
- Use NT functions to retrieve timestamps for events.
- Log kernel events with the current computer name.
- Don't hardcode variables types for sizeofs.
- Add type-checks for the data to be retrieved from the registry, and use default values in case the values do not exist or are invalid.
- Use ULONG_PTR to perform pointer arithmetics.
- Use string-safe functions for copy/concatenation.
- Cache EventLog source for eventlog service self-logging.
- Unlock the LogFile in LogfClearFile.
- Fix rounding in LogfAllocAndBuildNewRecord.
- Verify ELF handle validity in ElfrGetLogInformation.
- Implement IELF_HANDLE_rundown to correctly cleanup ELF handles when client apps shut down. Adapt also the parameter of ElfDeleteEventLogHandle for reusing it there.
- Update some code formatting.
CORE-11842 #resolve

I don't completely touch file.c as it contains most of my upcoming eventlog fixes...

svn path=/trunk/; revision=72213
2016-08-12 19:14:55 +00:00
Hermès Bélusca-Maïto
275590c74e [EVENTLOG]: Fix also ElfrChangeNotify here. Addendum to r72211. Must fix the build.
CORE-11839

svn path=/trunk/; revision=72212
2016-08-12 17:25:36 +00:00
Hermès Bélusca-Maïto
6fe74528cb [SDK:IDL]: Fix the event log RPC IDL file definitions:
- ElfrChangeNotify takes a IELF_HANDLE handle as its first parameter, not a pointer to it.
- Since we already use NT-like types (especially for USHORT variables), do the same for the other parameters (DWORD -> ULONG), and also use the Pxxx for pointers to xxx.
- Use Windows 2003 maximum size (0x3FFFF) for the event data to be written, instead of the Vista+ limit that is much smaller (0xF000). See also revisions r72207 and r72209.
CORE-11839 #resolve

svn path=/trunk/; revision=72211
2016-08-12 17:22:15 +00:00
Hermès Bélusca-Maïto
8402a33700 [SDK]: Move some event log flags to the correct header (from winbase.h to winnt.h).
CORE-11839

svn path=/trunk/; revision=72210
2016-08-12 14:24:55 +00:00
Hermès Bélusca-Maïto
0bdab15b0f [ADVAPI32_APITEST]: Addendum to r72207:
- Fix the tests so that they test what they have to test, on ReactOS & Windows 2k3/XP. (Note that here, ReactOS used the more restrained event size limitations of Vista+ compared to those of Win2k3. I choose to test, and will implement, the size limitations of Win2k3.)
- Choose a different name for the test such that it doesn't collide with the 'eventlog' test from advapi32_winetest.
CORE-11838 CORE-11839

svn path=/trunk/; revision=72209
2016-08-12 13:38:49 +00:00
Giannis Adamopoulos
43728d3f66 [SHELL32]
- Get rid of the functions that handle guid pidls and move their implementation in CRegFolder.cpp.

svn path=/trunk/; revision=72208
2016-08-12 12:21:13 +00:00
Hermès Bélusca-Maïto
b3195b9538 [ADVAPI32_APITEST]: Add some supplemental tests for Winetests' Event Logging functions, testing different RPC limits related to the maximum size of the data buffer in events.
CORE-11838 CORE-11839

svn path=/trunk/; revision=72207
2016-08-12 12:15:24 +00:00
Giannis Adamopoulos
87bf08acdb [SHELL32]
- Move CFSDropTarget to its own file.

svn path=/trunk/; revision=72206
2016-08-12 11:35:24 +00:00
Daniel Reimer
65ed10be3f [RAPPS}
Fix structural errors, fix some dead links, fix wrong lang inclusions, fix trailing spaces etcetc
Some entries are dead, like nirlauncher, watercolor, tahoma and audacity. Feel free to fix em. (@holiday till monday now, cya)

svn path=/trunk/; revision=72205
2016-08-12 11:00:21 +00:00
James Tabor
cbdab97572 [NtUser]
- Get the right shift to pass through the keyboard subsystem. (WIP)

svn path=/trunk/; revision=72204
2016-08-12 00:54:44 +00:00
James Tabor
018df975b6 [NtUser]
- Send Input Language Change System Character flag if font signature and system character is set.

svn path=/trunk/; revision=72203
2016-08-11 22:33:12 +00:00
James Tabor
d3001862bf [NtUser]
- If focus window null use active.

svn path=/trunk/; revision=72202
2016-08-11 22:04:33 +00:00
James Tabor
5b2fac1964 [NtUser]
- Fix registry update when turning on/off keyboard layout hotkey and selecting. VK_RSHIFT (WIP).

svn path=/trunk/; revision=72201
2016-08-11 21:36:55 +00:00
Hermès Bélusca-Maïto
9a84ae8ab1 Remove extra ending semicolons in our C code base.
svn path=/trunk/; revision=72199
2016-08-11 16:50:41 +00:00
Pierre Schweitzer
24572de19c [MPR]
Import Wine commit:
- b452e6285915b1ad46920fc8551335ab28bfb4c0, Implement local name automatic redirection for disks.
- a65c31e46fa354fc8fbf86c0b9f273f86132a571, Implement provider selection given remote name.

CORE-11757

svn path=/trunk/; revision=72198
2016-08-11 16:29:36 +00:00
James Tabor
4afd025847 [NtUser]
- Fix up Language Layout Hotkey Toggle support for the new Keyboard switching. Support registry settings. Dedicated to Dmitry Chapyshev.
- The registry entry it reads from is the wrong (the short number) one. Someone with registry knowledge please help.
  Also VK_LSHIFT is passed all the time and not VK_RSHIFT (WIP). Support for Left Alt and Control work including SysParam.
- Side Tracks : Fixed CORE-5683. ReactOS can switch from keyboard processing or from DeferWindowProc.

svn path=/trunk/; revision=72197
2016-08-11 15:53:05 +00:00
Thomas Faber
a93f0e73ff [FASTFAT]
- Fail invalid opens specifying FILE_DELETE_ON_CLOSE
CORE-6931

svn path=/trunk/; revision=72196
2016-08-11 13:25:57 +00:00
Thomas Faber
3b70374248 [FASTFAT]
- Cancel deletion of a directory if it is not empty when its last handle is closed
CORE-6931

svn path=/trunk/; revision=72195
2016-08-11 11:41:25 +00:00
James Tabor
d2ae65c710 - Fix Desktop hang if no windows open.
svn path=/trunk/; revision=72194
2016-08-11 00:29:26 +00:00
Thomas Faber
aed9207c96 [NTOS:FSRTL]
- Use the correct parent node when replacing an identical cache entry in FsRtlAddToTunnelCache
CORE-11819

svn path=/trunk/; revision=72193
2016-08-10 21:09:50 +00:00
Pierre Schweitzer
72eefb7a68 [KMTESTS:FSRTL]
Add a stress test for tunnel cache implementation, where we have fun adding duplicated entries.
It doesn't seem to go well.
These tests are also known as "Learn your English ordinals", or as "Learn how to count in English". My pleasure.

CORE-11819

svn path=/trunk/; revision=72192
2016-08-10 20:50:36 +00:00
Mark Jansen
da6a705bb1 [ATL][ATL_APITEST] Partially implement CRegKey + add tests. CORE-11746
svn path=/trunk/; revision=72191
2016-08-10 19:34:38 +00:00
Dmitry Chapyshev
ac58e0fdf6 [SDK]
- KLF_SHIFTLOCK is not equal 65535. Correct value is 0x00010000

svn path=/trunk/; revision=72190
2016-08-10 19:05:54 +00:00
Dmitry Chapyshev
4245233f5f [INPUT]
- Draw 0x2022 unicode symbol instead 0x25CF (marking default input method)
- Fix incorrect logic in CapsLock parameters
- Notice system of change CapsLock mode parameters

svn path=/trunk/; revision=72189
2016-08-10 19:04:11 +00:00
Giannis Adamopoulos
22c0bb2723 [SHELL32]
- Add CRegFolder using the guid item specific functions. So far it is only partly implemented with stuff like enumerating still missing.
- Use CRegFolder in CDesktopFolder, CDrivesFolder and CControlPanelFolder and stop using guid item specific functions.

svn path=/trunk/; revision=72188
2016-08-10 18:56:48 +00:00
Amine Khaldi
5645cda63f [SHIMLIB] Improve header inclusions.
svn path=/trunk/; revision=72187
2016-08-10 13:37:22 +00:00
Pierre Schweitzer
e3b0a95319 [NTOSKRNL]
While attempting to read data from disk in CcReadVirtualAddress(), always align our read size by pages.
That means that even on boundaries, we will read a complete page.
This fixes FSD relying on Cc to properly align reads and thus poorly failing in disk.sys because of unaligned reads.
Notably, it helps MS FastFAT loading a bit farther in ReactOS (but it still fails :-().
This also fixes a few kmtests.

CORE-11003
CORE-11819

svn path=/trunk/; revision=72186
2016-08-10 11:52:30 +00:00
Hermès Bélusca-Maïto
57888376d9 [INPUT]
- Fix misspelling "Dublicate" -> "Duplicate".
- Use ZeroMemory instead of memset(..., 0, ...).
- Don't hardcode most of the variable types for sizeof.

svn path=/trunk/; revision=72185
2016-08-10 11:42:21 +00:00
Thomas Faber
079e405958 [TCPIP]
- Use pool tagging

svn path=/trunk/; revision=72184
2016-08-10 11:19:59 +00:00
Thomas Faber
0439f525d3 [IP]
- Only accept an incoming connection on one listening socket, not all. Fixes use after free when multiple connection endpoints are assigned the same PCB.
CORE-11649 #resolve

svn path=/trunk/; revision=72183
2016-08-10 10:28:28 +00:00
Pierre Schweitzer
f27ecf0960 [KMTESTS:CC]
New test case which is matching the MS FastFAT CcCopyRead (minus the offset) and shows clearly the issue in our Cc.
It also shows that my hack is utterly broken :-).

CORE-11003
CORE-11819

svn path=/trunk/; revision=72182
2016-08-10 07:39:20 +00:00
James Tabor
831a53f80f [NtUser]
- Fix breakage due to WM_NCPAINT call. Duplicate check for draw caption bar Justin Case.

svn path=/trunk/; revision=72181
2016-08-10 03:02:57 +00:00
James Tabor
824b41c0b2 [NtUser]
- Fix regression from r71846. See CORE-11479 for more details.

svn path=/trunk/; revision=72180
2016-08-10 00:16:57 +00:00
Ged Murphy
6927d67350 [README.WINE]
- Remove reference to fltlib. It was, and will likely only ever be a stubbed dll in Wine

svn path=/trunk/; revision=72179
2016-08-09 22:23:16 +00:00
Ged Murphy
35623f5db9 [FLTLIB]
- Stub out fltlib.dll.
- Add basic implementations for FilterLoad and FilterUnload
- Remove the wine code, this lib talks directly to fltmgr.sys and is therefore a reactos only dll from now on.

svn path=/trunk/; revision=72178
2016-08-09 22:10:05 +00:00
Dmitry Chapyshev
d89d2873bc [INPUT]
- Rename input_new to input

svn path=/trunk/; revision=72177
2016-08-09 21:49:06 +00:00
Dmitry Chapyshev
ce6a889a7b [INPUT]
- Remove old input.dll

svn path=/trunk/; revision=72176
2016-08-09 21:45:58 +00:00
Dmitry Chapyshev
fcb6eaa8cc [KBSWITCH]
- Hackfix detecting keyboard layout switching

* Now when hotkeys switching layouts icon changes

svn path=/trunk/; revision=72175
2016-08-09 21:41:05 +00:00
Ged Murphy
0b589c107d [FLTMC]
- Start to implement fltMC
- It currently supports loading, unloading and listing loaded filter driver.

svn path=/trunk/; revision=72174
2016-08-09 21:33:53 +00:00
Ged Murphy
705846cb25 [FLTLIB_APITEST]
- Create a skeleton test project for fltlib.dll
- Not yet part of the build

svn path=/trunk/; revision=72173
2016-08-09 21:23:40 +00:00
Dmitry Chapyshev
e5d5259ab7 [INPUT]
- Small fix :-p

svn path=/trunk/; revision=72172
2016-08-09 21:09:07 +00:00
Dmitry Chapyshev
4e8d5c9c39 [INPUT]
- Implement 'Key Settings' and 'Change Key Settings' dialogs

* Now you can add, delete and change the input method, change the hotkey switching input methods. The system correctly responds to changes. It works fine in Windows 10, but has not yet been tested on ReactOS

svn path=/trunk/; revision=72171
2016-08-09 21:03:55 +00:00
Pierre Schweitzer
b7586c0478 [KMTESTS:CC]
It seems we're page-aligned.

CORE-11003

svn path=/trunk/; revision=72170
2016-08-09 20:52:38 +00:00
Pierre Schweitzer
dfdbabb521 [KMTESTS:CC]
Modify a bit the read test so that it actually fails in ReactOS. It instructs us that when it comes to file boundaries, our Cc fails to properly align read (whereas it should!).
This is the behavior exposed by the MS FastFAT.

CORE-11003
CORE-11819

svn path=/trunk/; revision=72169
2016-08-09 20:46:00 +00:00
Dmitry Chapyshev
e64e194b5d [INPUT]
- Implement editing input methods
- Marking default layout
- Other bugfixes

svn path=/trunk/; revision=72168
2016-08-09 18:26:43 +00:00
Giannis Adamopoulos
ecf30d78ed [SHELL32]
- Don't hardcode the path in the shell namespace in any folder appart for CDesktopFolder and CDrivesFolder.
- Make SHELL32_CoCreateInitSF slightly more generic and use it when we need to create and initialise a shell folder.
- Now SHELL32_BindToFS is used only by CFSFolder but SHELL32_CoCreateInitSF still uses the generic _ILSimpleGetTextW (it accesses the pidl).

svn path=/trunk/; revision=72167
2016-08-09 18:05:50 +00:00
Dmitry Chapyshev
b346062c73 [INPUT]
- Implement 'Remove', 'Set Default' for input methods

svn path=/trunk/; revision=72166
2016-08-09 14:01:52 +00:00
Pierre Schweitzer
22f90f2210 [KMTESTS:CC]
Complete the tests for Cc: not only check for alignment, but also check that expected data are returned.
Thanks to Thomas for his help on this :-).

CORE-11003

svn path=/trunk/; revision=72165
2016-08-09 12:43:18 +00:00
Thomas Faber
7849fac958 [NTOS:CC]
- Gracefully handle failure to obtain virtual memory when creating a VACB. We now no longer crash when running out of virtual memory during (large) file operations (but will still crash when running out of physical memory).
CORE-11533

svn path=/trunk/; revision=72164
2016-08-09 07:59:07 +00:00
Thomas Faber
0c43b4ec9c [NTOS:MM]
- Correctly reserve the whole 4 MB of HAL address space instead of just 2 pages
CORE-11533

svn path=/trunk/; revision=72163
2016-08-09 07:48:09 +00:00
Thomas Faber
2a05ceca1d [NTOS:MM]
- Accept memory areas that end at 0xffffffff
CORE-11533

svn path=/trunk/; revision=72162
2016-08-09 07:43:51 +00:00
Thomas Faber
41defc9597 [NTOS:MM]
- In debug builds, invalidate the MEMORY_AREA's Magic on destroy to catch potential uses after free

svn path=/trunk/; revision=72161
2016-08-09 07:28:02 +00:00
Dmitry Chapyshev
8a32608dfe [INPUT]
- Implement add input methods
- Some improvents

svn path=/trunk/; revision=72160
2016-08-08 20:30:36 +00:00
Benedikt Freisen
3185db7675 [MSPAINT] Handle settings from registry correctly. Patch by Carlo Bramini. CORE-11400
svn path=/trunk/; revision=72158
2016-08-08 14:00:18 +00:00
Pierre Schweitzer
77624f187f [FASTFAT]
Fix a FIXME: update the last writing date in case of null-length write.

svn path=/trunk/; revision=72157
2016-08-08 12:44:15 +00:00
Pierre Schweitzer
2a1acea36f [FASTFAT]
Opening file by ID is not possible with FAT.

svn path=/trunk/; revision=72156
2016-08-08 07:28:14 +00:00
James Tabor
f2e1baa17e [User32]
- Fix bug that was uncovered by r72143. See CORE-11810.
- Move System Commands to server side. Leaving Alt-Tab and Scrolls.

svn path=/trunk/; revision=72155
2016-08-07 23:52:43 +00:00
Dmitry Chapyshev
6b265ca585 [INPUT]
- Implement list of keyboard layouts on Settings Page

svn path=/trunk/; revision=72154
2016-08-07 23:28:50 +00:00
Eric Kohl
71757bb0fe [LSASRV]
- Partital implementation of LsarRemoveAccountRights.
- Simplify LsapLookupAccountRightValue. Return ACCESS_MASK instead of NTSTATUS.
- LsarAddAccountRights: Check parameters before referncing the policy handle.

svn path=/trunk/; revision=72153
2016-08-07 22:36:07 +00:00
Hermès Bélusca-Maïto
17704fdd87 [ADVAPI32]: Addendum to r72151: It's incorrect to compare the variable of BOOL type with TRUE. Any non-zero value is considered to be "true". Caught by Thomas.
svn path=/trunk/; revision=72152
2016-08-07 19:11:08 +00:00
Hermès Bélusca-Maïto
1b15193628 [ADVAPI32]: Don't directly redirect IsTextUnicode to RtlIsTextUnicode, but use a helper function, so that the return value is correctly set to TRUE or FALSE. Indeed the former function returns a BOOL (long) while the latter returns a BOOLEAN (byte), and the high bytes in the return value could not be correctly set otherwise.
Adapted from a patch by 'andy-123'.

CORE-11803 #resolve #comment Fixesd, thanks!

svn path=/trunk/; revision=72151
2016-08-07 19:02:07 +00:00
Hermès Bélusca-Maïto
0644419fd1 [SDK][RTL][NDK]: Update RtlIsTextUnicode prototype.
svn path=/trunk/; revision=72150
2016-08-07 18:52:49 +00:00
Hermès Bélusca-Maïto
2ecffb24d7 [ADVAPI32]: Cleanup file headers and whitespace.
svn path=/trunk/; revision=72149
2016-08-07 16:57:45 +00:00
Hermès Bélusca-Maïto
13b28424d8 [APITESTS]: Add a test for advapi32!IsTextUnicode.
CORE-11803

svn path=/trunk/; revision=72148
2016-08-07 16:35:56 +00:00
Thomas Faber
1d2d985d11 [FASTFAT]
- Update FCB hashes after changing the path name
CORE-11377

svn path=/trunk/; revision=72147
2016-08-07 14:24:45 +00:00
Dmitry Chapyshev
85915846eb [INPUT]
- Create an empty project for re-working keyboard layouts management

svn path=/trunk/; revision=72146
2016-08-07 13:07:23 +00:00
Pierre Schweitzer
2f3c2c58d2 [FASTFAT]
After renaming a directory, rename any children FCB that would still exist in the FSD. This will allow next directory opening to properly work and open correct data.
This defeats corruption on directory renaming.
Unfortunately, this solution is not ideal and our driver should be reworked so that it quits using a hash table and it quits storing the whole path in the FCBs.

Deep thanks to Wim Hueskes and Thomas Faber for their help debugging the issue!

CORE-11377

svn path=/trunk/; revision=72145
2016-08-07 12:29:48 +00:00
Thomas Faber
bf98b09370 [NTOS:CC]
- Define CcPfEnablePrefetcher
CORE-11799

svn path=/trunk/; revision=72144
2016-08-07 07:00:56 +00:00
Dmitry Chapyshev
bc10137a10 [KBSWITCH]
- Use strsafe functions
- Use Shell Hooks in dll for detecting keyboard layout switching
- Fix bug in loading kbsdll

* Detection switch keyboard layout is now working in Windovs, but does not work in ReactOS (WH_SHELL not work in win32k)

svn path=/trunk/; revision=72143
2016-08-06 20:48:33 +00:00
Dmitry Chapyshev
a32f426a76 [WIN32K]
- Detect Alt+Shift hotkeys and send input language change request message to window

* Switching the keyboard layout works now. The code needs to be improved

svn path=/trunk/; revision=72142
2016-08-06 17:43:57 +00:00
Eric Kohl
e6597810f6 [LSASRV]
Move ServiceInit() into a separate file.

svn path=/trunk/; revision=72141
2016-08-06 17:07:59 +00:00
Hermès Bélusca-Maïto
3027d2e22f [EVENTVWR]
Don't hardcode a fixed size for the memory buffer holding the event details data to be copied into the clipboard, but instead compute it using the real lengths of the different strings. Use also StringCbPrintfW instead.

svn path=/trunk/; revision=72140
2016-08-06 16:21:02 +00:00
Eric Kohl
bbedf68e82 [LSASRV]
Implement LsarAddAccountRigths and fix some bugs along the way:
- LsarGetSystemAccessAccount: Fix an uninitialized varable.
- LsarOpenAccount, LsarCreateAccount: Make these functions wrappers around the real implementation in LsarpCreateAccount and LsarpOpenAccount.
- LsarEnumerateAccountRights: Fix the use of the wrong array index.
- LsarAddAccountRights: Implement it.
- LsarpLookupPrivilegeValue: Return a pointer to an LUID instead of an NTSTATUS. It is much earier to use it this way.
- LsapLookupAccountRightValue: Implement it.


svn path=/trunk/; revision=72139
2016-08-06 15:07:41 +00:00
Thomas Faber
0cd0cc28ff [NTOS:MM][USER32]
- Correctly handle/avoid C99-style inline semantics
CORE-11794

svn path=/trunk/; revision=72138
2016-08-06 15:04:08 +00:00
Thomas Faber
a946a97f6b [WS2_32_NEW]
- Fix always true conditions in ComputeQuerySetSize
CORE-11799

svn path=/trunk/; revision=72137
2016-08-06 12:58:32 +00:00
Pierre Schweitzer
3a66592294 [FASTFAT]
Properly check for opened handles in subdirectories when we're about to rename a directory.
This helps reducing corruption where some renaming operations were allowed whereas they shouldn't have been.

CORE-11377
CORE-11426

svn path=/trunk/; revision=72136
2016-08-06 12:25:47 +00:00
Thomas Faber
22d54fcfa8 [SYSDM]
- Less ambiguously check the return value of DialogBoxParam
CORE-11794

svn path=/trunk/; revision=72135
2016-08-06 12:15:16 +00:00
Thomas Faber
62af010479 [WIN32K:NTUSER]
- Add some missing VOIDs
CORE-11799

svn path=/trunk/; revision=72134
2016-08-06 12:07:54 +00:00
Amine Khaldi
23b8928f06 [INCLUDE/CRT] Correct _wctime and _wctime_s when _USE_32BIT_TIME_T is defined. CORE-11799
svn path=/trunk/; revision=72133
2016-08-06 10:35:53 +00:00
Amine Khaldi
adbe2036e0 [CRT] Correct some types. CORE-11799
svn path=/trunk/; revision=72132
2016-08-06 10:18:08 +00:00
Amine Khaldi
35c9147919 [WIN32DLLS] We don't need mingwex for these modules anymore. CORE-11799
svn path=/trunk/; revision=72131
2016-08-06 09:53:47 +00:00
Amine Khaldi
603f35f918 [NTOS:MM] Add some missing VOIDs. CORE-11799
svn path=/trunk/; revision=72130
2016-08-06 09:34:39 +00:00
Amine Khaldi
9f5c4f5a29 [DIRECTX/WINE] We don't need mingwex for these anymore. CORE-11799
svn path=/trunk/; revision=72129
2016-08-06 09:32:45 +00:00
Amine Khaldi
b7565d1023 [NTOS:PNPMGR] Mark IopReportTargetDeviceChangeAsyncWorker as stdcall and remove the PWORKER_THREAD_ROUTINE cast. CORE-11799
svn path=/trunk/; revision=72128
2016-08-06 09:11:08 +00:00
Thomas Faber
88b195195f [NTOS:MM]
- Correctly check for overflow in PeFmtCreateSection
CORE-11794

svn path=/trunk/; revision=72127
2016-08-06 09:07:03 +00:00
Pierre Schweitzer
29270756ea [FASTFAT]
Don't mess with parentless FCB.
Dedicated to Thomas :-).

CORE-11377
CORE-11426

svn path=/trunk/; revision=72126
2016-08-06 08:57:47 +00:00
Pierre Schweitzer
bf24a57417 [FASTFAT]
Addendum to r72124

svn path=/trunk/; revision=72125
2016-08-06 08:32:17 +00:00
Pierre Schweitzer
ccacd0b3f1 [FASTFAT]
Track child FCB in parent FCB to allow browsing them in case it's needed.
This allows fixing a FIXME and offering better performances when renaming a directory.

CORE-11377
CORE-11426

svn path=/trunk/; revision=72124
2016-08-06 08:30:30 +00:00
Amine Khaldi
60c0a0a00d [CALC] We don't need mingwex anymore. CORE-11799
svn path=/trunk/; revision=72123
2016-08-06 08:26:54 +00:00
Amine Khaldi
5c9fcf98d1 [NTDLL] Add missing VOID. CORE-11799
svn path=/trunk/; revision=72122
2016-08-06 08:18:11 +00:00
Thomas Faber
be4ad0b096 [ARP]
- Do not return failure after successful operations
CORE-11794

svn path=/trunk/; revision=72121
2016-08-06 07:57:51 +00:00
Thomas Faber
933a038005 [CMD][UXTHEME]
- Clarify misleading indentation
CORE-11794

svn path=/trunk/; revision=72120
2016-08-06 07:08:52 +00:00
Thomas Faber
6feaa4a628 [CRT]
- Apply Wine commit b7f6362d (msvcrt: Use the correct object type for __non_rtti_object exceptions.) by Alexandre Julliard
CORE-11794

svn path=/trunk/; revision=72119
2016-08-06 06:52:41 +00:00
Thomas Faber
3e8de0c105 [CRT]
- Remove pointless inline
CORE-11794

svn path=/trunk/; revision=72118
2016-08-05 21:33:54 +00:00
Hermès Bélusca-Maïto
b515da6e1e [COMCTL32]: Addendum to r72116: Add the __REACTOS__ ifdefs to ease wine syncing, and update the patch in accordance.
CORE-11532

svn path=/trunk/; revision=72117
2016-08-05 17:45:34 +00:00
Giannis Adamopoulos
c515594b02 [COMCTL32]
- rebar: actually pass the hittest flag to the NM_NCHITTEST notification.
CORE-11532

svn path=/trunk/; revision=72116
2016-08-05 17:16:22 +00:00
Hermès Bélusca-Maïto
9a2f59499f [FASTFAT_NEW]: Fix add_pch command usage.
svn path=/trunk/; revision=72115
2016-08-05 11:54:48 +00:00
Pierre Schweitzer
0929932490 [NET/USE]
Always delete remembered connections on /delete

ROSAPPS-303

svn path=/trunk/; revision=72114
2016-08-05 10:58:09 +00:00
Pierre Schweitzer
751ace6d12 [FASTFAT]
Refactor vfatMakeFCBFromDirEntry() and vfatUpdateFCB() so that they share code. It will help avoiding wild FCB modifications on renaming.

CORE-11377

svn path=/trunk/; revision=72113
2016-08-05 10:48:01 +00:00
Giannis Adamopoulos
359bec99e3 [EXPLORER]
- Fix subclassing the tasks toolbar which was broken in r65274. 
CORE-11532

svn path=/trunk/; revision=72111
2016-08-05 09:06:30 +00:00
Mark Jansen
49fc85553f [ATL][ATL_APITEST] Add implementation + tests for most functions from CPoint, CSize, CRect. CORE-11747 #resolve
Not all functions are implemented, the ones that are not implemented are left in a comment in the header.

svn path=/trunk/; revision=72110
2016-08-04 19:15:21 +00:00
Mark Jansen
f0aaf60460 [INCLUDE/WINE] Update test.h with debug functions for POINT and SIZE.
svn path=/trunk/; revision=72109
2016-08-04 19:11:50 +00:00
Pierre Schweitzer
b32d97100d [MPR]
Check for the right capability.
Already sent upstream.

CORE-11757

svn path=/trunk/; revision=72108
2016-08-04 12:27:59 +00:00
Pierre Schweitzer
8f8d1f4f72 [MPR]
Add a missing break

svn path=/trunk/; revision=72107
2016-08-04 12:25:51 +00:00
Hermès Bélusca-Maïto
d77a6b17da [SHELL32]: Fix copypasta bug.
svn path=/trunk/; revision=72105
2016-08-03 20:02:28 +00:00
Christoph von Wittich
8491cda803 [BROWSEUI] set min width for addressband to 100. patch by Katayama Hirofumi MZ CORE-11766
svn path=/trunk/; revision=72103
2016-08-03 17:59:53 +00:00
James Tabor
e04a9f0689 [NtUser]
- Fix regression from r66350. See CORE-11324 for more details.

svn path=/trunk/; revision=72102
2016-08-03 17:41:22 +00:00
Thomas Faber
ae5f46e58e [NTOS:SE]
- Remove unnecessary null checks & fix up cleanup in SepCreateToken and SepDuplicateToken. Based on a patch by Víctor Martínez Calvo
CORE-11768 #resolve

svn path=/trunk/; revision=72101
2016-08-03 17:10:59 +00:00
Giannis Adamopoulos
ce6e5159ab Fix gcc build
svn path=/trunk/; revision=72100
2016-08-03 15:55:58 +00:00
Giannis Adamopoulos
0d767aa90b [SHELL32]
- CDesktopBrowser: Convert to an ATL CWindow class, remove unused fields and cleanup.

svn path=/trunk/; revision=72099
2016-08-03 15:52:27 +00:00
Pierre Schweitzer
cdc269d16b [NET/USE]
In case an automatic drive letter assignment was asked (net use * REMOTE), print the mapping that was performed on success.

ROSAPPS-303

svn path=/trunk/; revision=72098
2016-08-03 14:42:49 +00:00
Pierre Schweitzer
7f771e6484 [MPR]
Return the correct local name in case of automatic redirection.
Alreaedy sent upstream.

CORE-11757

svn path=/trunk/; revision=72097
2016-08-03 14:41:23 +00:00
Pierre Schweitzer
708319cff7 [FASTFAT]
Fixes suggested by Thomas:
- Don't dereference cached data after unpinning
- Pin big enough data to read direntries

CORE-11377

svn path=/trunk/; revision=72096
2016-08-03 12:54:46 +00:00
Hermès Bélusca-Maïto
19469b4540 [WIN32K]
- Deduplicate NtUserScrollWindowEx / IntScrollWindowEx by making NtUserScrollWindowEx properly call IntScrollWindowEx instead.
- Fix potential memory leaks in failure paths in IntScrollWindowEx.

svn path=/trunk/; revision=72093
2016-08-02 16:02:54 +00:00
Christoph von Wittich
7d7b8c4c9e [BROWSEUI] pass a full pidl to ILGetDisplayNameEx CORE-11458
svn path=/trunk/; revision=72092
2016-08-02 14:52:08 +00:00
Pierre Schweitzer
f6044dc084 [MPR]
Properly set local name in case of redirection for *A function calls.
Alreaedy sent upstream.

CORE-11757

svn path=/trunk/; revision=72091
2016-08-02 11:46:31 +00:00
Pierre Schweitzer
f3851aaaab [MPR]
Misc fixes.
Already sent upstream (d'oh!)

CORE-11757
ROSAPPS-303

svn path=/trunk/; revision=72090
2016-08-02 10:21:24 +00:00
Pierre Schweitzer
8cf6fe72db [HACKSSIGN]
Drop hackssign app. It's now obsolete.
You served us well :-).

ROSAPPS-303

svn path=/trunk/; revision=72089
2016-08-02 10:12:37 +00:00
Pierre Schweitzer
e3e7dd3331 [NET]
Implement the "net use" usage of the net command.
This allows connecting remote resources to local system with assigning them a local name, to enumerate such connected resources and to delete them.

This obsoletes the hackssign application.

The implementation is a bit... raw. It is mainly here to demonstrate what's doable in ReactOS now. And to help using features we were lacking up to now.
For instance, you can make use of 'net use * \\vmware-host\Shared Folders\{YOURSHARE}' to assign a local letter to your VMware shared folders.

ROSAPPS-303

svn path=/trunk/; revision=72088
2016-08-02 10:10:25 +00:00
Pierre Schweitzer
0549e22a98 [MPR]
Implement connected resources enumeration
To be sent upstream.

Patch 6/6

CORE-11757
ROSAPPS-303

svn path=/trunk/; revision=72087
2016-08-02 10:04:19 +00:00
Pierre Schweitzer
d833fdc50e [MPR]
Set the CONNECT_LOCALDRIVE on successful local redirection
To be sent upstream.

Patch 5/6

CORE-11757
ROSAPPS-303

svn path=/trunk/; revision=72086
2016-08-02 09:57:24 +00:00
Pierre Schweitzer
618dc07a58 [MPR]
Implement WNetCancelConnectionA(), WNetCancelConnectionW(), WNetCancelConnection2A()
Already sent upstream.

Patch 4/6

CORE-11757
ROSAPPS-303

svn path=/trunk/; revision=72085
2016-08-02 09:54:51 +00:00
Pierre Schweitzer
e0484e917c [MPR]
Implement WNetCancelConnection2W()
Already sent upstream.

Patch 3/6

CORE-11757
ROSAPPS-303

svn path=/trunk/; revision=72084
2016-08-02 09:53:54 +00:00
Pierre Schweitzer
ad51814d36 [MPR]
Implement provider automatic selection for WNetUseConnection. That means you don't need anylonger to provider the network provider handling the remote name to establish a connection to the resource.
Already sent upstream.

Patch 2/6

CORE-11757
ROSAPPS-303 

svn path=/trunk/; revision=72083
2016-08-02 09:51:09 +00:00
Pierre Schweitzer
c2b9d609e4 [MPR]
Time to react (again!).

Implement automatic local name redirection for new connection. This implements the behavior of the CONNECT_REDIRECT flag of WNetUseConnection.
Already sent upstream.

Patch 1/6

CORE-11757
ROSAPPS-303 

svn path=/trunk/; revision=72082
2016-08-02 09:49:20 +00:00
Amine Khaldi
c3e09eb2e6 [TRANSLATIONS] Russian translation update by Sergey Stopkin and co, with some fixes by me. CORE-11752
svn path=/trunk/; revision=72081
2016-08-02 09:16:16 +00:00
James Tabor
d7cf4ae646 [NtUser]
- Fix crash while mouse cursor is moving over stress test window (RegEdit). This fixes VLC too. Tested SeaMonkey and it did not crash. See CORE-9169 and CORE-9836.

svn path=/trunk/; revision=72080
2016-08-02 04:05:16 +00:00
Hermès Bélusca-Maïto
c6db848176 [EVENTVWR]
- Reorganize the header inclusions; add a PCH.
- Transform the event details dialog into a control that can be embedded:
  * in a resizable dialog,
  * or in a pane below the window listing the events.
CORE-11637

svn path=/trunk/; revision=72079
2016-08-01 23:29:55 +00:00
Hermès Bélusca-Maïto
1285f0af1c [NOTEPAD]: Fix danish menu shortcuts.
svn path=/trunk/; revision=72078
2016-08-01 23:01:58 +00:00
Jérôme Gardou
9bb0e5a772 [KDGDB]
- Turn this thing into something useful
   - Pretend we are only one process to GDB (making it a kernel-only debugger...) until the GDB team sorts this out
   - This is a kernel debugger stub you know. You didn't seriously pretend that recursive functions would be fine, did you ?
[NTOS:KD64]
 - Fix build
Pix or it din't happen : https://jira.reactos.org/secure/attachment/36322/source_level_debugging_ros.png

svn path=/trunk/; revision=72077
2016-08-01 22:16:58 +00:00
James Tabor
0f196e05cc [NtUser]
- Fix a recursion issue while processing posted messages. Related to CORE-10471. Dedicated to Thomas Faber for Free before Use testing.
- Pass extra information along with posted messages.
- Trigger an event when cursor position has changed.

svn path=/trunk/; revision=72076
2016-08-01 19:13:48 +00:00
James Tabor
a8d130326e - Remove trace.
svn path=/trunk/; revision=72075
2016-08-01 18:15:45 +00:00
James Tabor
283d51cef9 [User32]
- Use correct value for win:test_mdi. Use post instead of send, fix message sequence.
- Minor code changes.


svn path=/trunk/; revision=72074
2016-08-01 18:15:00 +00:00
Christoph von Wittich
ddccdcbf31 [SHELL32] remove obsolete FIXME. was fixed in r68015
svn path=/trunk/; revision=72073
2016-08-01 14:37:27 +00:00
Dmitry Chapyshev
0ed579c095 [USERENV]
- Create separate function for setup session manager variables
- Fixed a regression in msi package winetest after r72066

svn path=/trunk/; revision=72072
2016-08-01 14:26:12 +00:00
Pierre Schweitzer
1e7ca7179c [VFATLIB]
Don't leak memory

svn path=/trunk/; revision=72071
2016-08-01 12:05:13 +00:00
Dmitry Chapyshev
5cb1fd2dda [SHELL32]
- Fixed memory leak

[DNSLIB]
- Fixed uninitialized variable

[USERENV]
- Fixed typo

svn path=/trunk/; revision=72070
2016-08-01 11:29:01 +00:00
Pierre Schweitzer
21652b5c7f [NTFS]
Don't attempt to read beyond stream size.
Patch by Trevor Thompson.

CORE-11707

svn path=/trunk/; revision=72067
2016-08-01 06:14:45 +00:00
Dmitry Chapyshev
96fe018e77 [USERENV]
- Implement GetUserSid() (based on GetUserSidFromToken())
- Remove GetUserSidFromToken() and use new exported function
- Move SID functions to sid.c
- SetUserEnvironmentVariable should not fail, if can't get the short path. Instead, a long path
- Setup environment variables from Session Manager

* This fixes all winetests for userenv.dll (+20 passed tests)

svn path=/trunk/; revision=72066
2016-07-31 13:46:23 +00:00
James Tabor
2c2bd66efd [NtUser]
- Remove unused data.

svn path=/trunk/; revision=72065
2016-07-31 13:00:27 +00:00
Mark Jansen
179537bfc3 [BROWSEUI] Correct the 'Is this legal' url as suggested by Ken Rochard. Also rewrite the function to remove todo's, and make it localizable. CORE-11721 #resolve #comment Thanks!
svn path=/trunk/; revision=72063
2016-07-31 11:59:15 +00:00
Pierre Schweitzer
654cae59a0 [REISERFS]
Reduce verbosity

svn path=/trunk/; revision=72062
2016-07-31 10:13:39 +00:00
Mark Jansen
684feb7418 [ATL][ATL_APITEST] Implement / Improve CString, based upon the code that was already there. CORE-11579 #resolve
Add code + tests for:
Conversion of A->W and W->A, equality operators, MakeLower, MakeUpper, Find, FindOneOf, ReverseFind, Compare, Mid, Left, Right, Format, Replace, Trim, TrimLeft, TrimRight.

svn path=/trunk/; revision=72061
2016-07-30 19:07:43 +00:00
Hermès Bélusca-Maïto
47be569e64 [SCSIPORT]: Port Dmitry's fix from r72059 to our scsiport driver too. I'm wondering how "difficult" it would be to have some kind of scsiport library to be shared between the driver and freeldr's.
svn path=/trunk/; revision=72060
2016-07-30 16:20:41 +00:00
Dmitry Chapyshev
01bab59e21 [WHOAMI]
[ARP]
[TRACERT]
- Incorrect to compare the variable of BOOL type with TRUE. Any non-zero value is considered to be "true".

[FREELDR]
- Variable is assigned values twice
- The 'strlen' function was called multiple times inside the body of a loop
- It is inefficient to identify an empty string by using 'strlen(str) > 0' construct. A more efficient way is to check: str[0] != 0

[NTOBJSHEX]
[SLAYER]
[CMICONTROL]
- It is inefficient to identify an empty string by using 'strlen(str) > 0' construct. A more efficient way is to check: str[0] != 0

[SHELL32]
- There is no sense in testing the pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error 
- Verifying that a pointer value is not NULL is not required. The 'if (ptr != NULL)' check can be removed
- Fix copy-paste error in CMenuFocusManager::PlaceHooks()

[SRCLIENT]
- Remove unneeded check. A part of conditional expression is always false.

[DISK]
[ATAPI]
- Variable is assigned values twice

* All bugs found by PVS-Studio

svn path=/trunk/; revision=72059
2016-07-30 16:00:10 +00:00
Eric Kohl
19832336a1 [SOLITAIRE]
Add Portuguese/Brazillian translation.
Patch by Lucas Raziel.
CORE-11665 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=72058
2016-07-30 14:09:58 +00:00
Eric Kohl
2a7ad50640 [INF]
Update russian translation of inf strings.
Patch by amber.
CORE-11604 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=72057
2016-07-30 13:39:56 +00:00
Pierre Schweitzer
9c6fa5b19d [FASTFAT]
Fix a FIXME

svn path=/trunk/; revision=72056
2016-07-30 12:53:09 +00:00
Giannis Adamopoulos
7853148eb0 [BROWSEUI]
- Move handling of DISPID_NAVIGATECOMPLETE2 event from CAddressBand to CAddressEditBox as the todo comments say it should be.
- Remove the todo entries that are complete.
- Remove IDispatch from CAddressBand as it is not really needed. Now CAddressBand takes care only of positioning and handling the button while CAddressEditBox does all the parsing and interaction with the browser.

svn path=/trunk/; revision=72055
2016-07-30 12:47:39 +00:00
James Tabor
1d66234973 [NtUser]
- Fix hang while inputting mouse message. Fix CORE-9998.

svn path=/trunk/; revision=72054
2016-07-30 12:32:28 +00:00
Giannis Adamopoulos
fdff190335 [BROWSEUI]
- Use the _CreateInstance postfix for all functions that instantiate a class.
- Move the the CreateInstance functions of the exported classes to browseui.h where we can select uniformly which built in classes we use.

svn path=/trunk/; revision=72053
2016-07-30 11:53:16 +00:00
Dmitry Chapyshev
dea009126c [USER32]
- Add missing NULL-pointer checkes in rect functions
- Small coding-style fixes

svn path=/trunk/; revision=72052
2016-07-30 11:31:33 +00:00
Hermès Bélusca-Maïto
155818fc70 [PCIX]
Fix Device_SaveCurrentSettings: do not reference BarArray too soon if the index is out of bounds (in that case it means we are handling a ROM "BAR").
CID 716153, reported by Victor Martinez Calvo.
CORE-11215 #resolve

svn path=/trunk/; revision=72050
2016-07-29 13:44:37 +00:00
Hermès Bélusca-Maïto
d35cbe1643 [XDK]
- Move the PCI_COMMON_HEADER_LAYOUT next to the structures that use it.
- Add IRP flags description comments.

svn path=/trunk/; revision=72049
2016-07-29 13:17:58 +00:00
Giannis Adamopoulos
80cd3d14ba Fix build.
svn path=/trunk/; revision=72048
2016-07-29 12:59:16 +00:00
Giannis Adamopoulos
4d9d28fbd3 [SHELL32]
- Factor CFSDropTarget out of CFSFolder.
- For now their code is mixed (no code was moved), until we decide where exactly is should be kept.

svn path=/trunk/; revision=72047
2016-07-29 12:56:06 +00:00
Robert Naumann
a57e61507d [BROWSEUI] - explorerband: get the caption string from resource file instead of hardcoding it
svn path=/trunk/; revision=72046
2016-07-29 12:05:06 +00:00
Giannis Adamopoulos
5575b8bacc [SHELL32]
- CDefView: Add a missing error check.
CORE-11594

svn path=/trunk/; revision=72045
2016-07-29 12:03:20 +00:00
Pierre Schweitzer
80e79970b3 [EXT2]
Reduce driver verbosity

svn path=/trunk/; revision=72044
2016-07-29 11:54:08 +00:00
Giannis Adamopoulos
0aed20a50c [BROWSEUI]
- CExplorerBand: TranslateAcceleratorIO should return S_FALSE when it doesn't process the message in order to let other components process it.
CORE-11709

svn path=/trunk/; revision=72043
2016-07-29 10:38:22 +00:00
Pierre Schweitzer
b5746c9e6b [EXT2]
Upgrade the driver to release 0.68.

CORE-11714

svn path=/trunk/; revision=72042
2016-07-29 10:29:16 +00:00
Giannis Adamopoulos
45aa3e9f88 [SHELLL32]
- Split GenericExtractIcon_CreateInstance into CGuidItemExtractIcon_CreateInstance, CFSExtractIcon_CreateInstance and CDrivesExtractIcon_CreateInstance.

svn path=/trunk/; revision=72041
2016-07-29 06:21:11 +00:00
Sylvain Petreolle
4bbb7474b4 [INF]
Add data for generic container devices.

svn path=/trunk/; revision=72036
2016-07-28 17:12:31 +00:00
Thomas Faber
ba1b985215 [SHELL32_APITEST]
- Add a test for CShellLink::GetDescription/SetDescription
CORE-5272

svn path=/trunk/; revision=72035
2016-07-28 15:25:35 +00:00
Christoph von Wittich
ad14fb5ef9 [SHELL32] apply similar fixes to SetWorkingDirectory, SetArguments, SetIconLocation and SetRelativePath
svn path=/trunk/; revision=72034
2016-07-28 15:24:44 +00:00
Christoph von Wittich
de1219eb52 [SHELL32]check for NULL pointer in CShellLink::SetDescription. patch by Joachim Henze. fixes Opera 12 installer CORE-5272
svn path=/trunk/; revision=72033
2016-07-28 15:12:23 +00:00
Robert Naumann
372d5c10c4 [HIVECLS] Add support for RDP files. Patch by Jared Smudde. CORE-11655
svn path=/trunk/; revision=72032
2016-07-28 13:27:33 +00:00
Pierre Schweitzer
98136578cf [DOC]
Mark BTRFS as synced

svn path=/trunk/; revision=72031
2016-07-28 07:39:37 +00:00
Hermès Bélusca-Maïto
172e136024 [CONSRV]
- Do not hardcode the values of some flags used with GetKeyState.
- Rework a bit the 'OnScroll' function.
- Implement mouse scrolling the console.
CORE-9900 #resolve
CORE-8394
- In mouse selection mode, allow the user to enlarge the current selection area by pressing the SHIFT key together with clicking on some point.

svn path=/trunk/; revision=72030
2016-07-27 23:30:53 +00:00
Amine Khaldi
cb11c8aa56 [SETUPAPI] CORE-11689 is enough documentation for the issue, so we don't really need to mention it in every single build.
svn path=/trunk/; revision=72028
2016-07-27 21:38:56 +00:00
Giannis Adamopoulos
21c051f4ff [SHELL32]
- Query the drop effect from the key state. After latest wine sync we correctly get all possible effects instead of the effect of the last DragOver event.
CORE-11681

svn path=/trunk/; revision=72026
2016-07-27 20:51:36 +00:00
Pierre Schweitzer
b139d1b07b [BTRFS]
Import three fixes from my local GitHub repository:
- Don't attempt to remove Vcb from list twice on shutdown
- Properly add CCB to root_file
- Init cache for root_file so that cache uninit on shutdown isn't problematic

This fixes BTRFS in ReactOS.
These fixes have already been submitted upstream (https://github.com/maharmstone/btrfs/pull/23).

CORE-11674

svn path=/trunk/; revision=72024
2016-07-27 19:32:05 +00:00
Pierre Schweitzer
7695f39c11 [BTRFS]
Sync btrfs to 0.5.
This breaks BTRFS in ReactOS.

CORE-11674

svn path=/trunk/; revision=72023
2016-07-27 19:24:26 +00:00
Hermès Bélusca-Maïto
8c418c8bdb [SETUPAPI_WINETEST]: Use #ifdef __REACTOS__ instead to underline our local differences wrt. the synced Wine code. Per Amine request.
ROSTESTS_234

svn path=/trunk/; revision=72022
2016-07-27 19:17:35 +00:00
Hermès Bélusca-Maïto
9bd7b2e1f0 [SETUPAPI]: Temporarily remove the error popup since setupapi_winetest pops it out unexpectedly. We don't lose functionality wrt. what we had before r72008 (or with what Wine currently has).
CORE-11689

svn path=/trunk/; revision=72021
2016-07-27 19:12:35 +00:00
Hermès Bélusca-Maïto
1044e92a20 [SETUPAPI_WINETEST]: Temporarily "hackfix" the test so that it uses a more "suitable" test path.
ROSTESTS-234

svn path=/trunk/; revision=72020
2016-07-27 19:05:52 +00:00
Pierre Schweitzer
9c749a7606 [KMTESTS]
Add missing dependency

svn path=/trunk/; revision=72019
2016-07-27 16:40:30 +00:00
Thomas Faber
cb6e26b3db [NTOS:PO]
- Send power IRPs to the top of the device stack instead of the PDO
CORE-10110 #resolve

svn path=/trunk/; revision=72017
2016-07-27 11:15:52 +00:00
Hermès Bélusca-Maïto
7bd6365632 [SETUPAPI]: Implement SetupPromptForDiskA/W by importing dialog.c from Wine Staging 1.9.15.
(Add also the patch "Add patch to support IDF_CHECKFIRST in SetupPromptForDisk." by DarkPlayer - 541cc8d08661980dfe80fe2bb9dd27c91879e09f)

svn path=/trunk/; revision=72009
2016-07-27 00:48:41 +00:00
Hermès Bélusca-Maïto
86ff038c51 [SETUPAPI]
- Transform the cached OsVersionInfo structure into a OSVERSIONINFOEXW that is then reused in SetupDiGetActualSectionToInstallExW.
- Remove few unused hardcoded strings.
- Add two TRACEs in SetupDiGetActualSectionToInstallExW to debug diverse INF file installation problems.
- parser.c: enclose the contents of the for-loop inside braces.
- Implement pSetupSetGlobalFlags and pSetupModifyGlobalFlags, see https://msdn.microsoft.com/en-us/library/bb432397(v=vs.85).aspx
- Popup an error message box in InstallHinfSectionW if an error happened and if interactive setup is allowed (through the global setup flags).

svn path=/trunk/; revision=72008
2016-07-27 00:10:14 +00:00
Hermès Bélusca-Maïto
79ce70c1dd [NTVDM]: Don't attempt to deinitialize the video console if it wasn't previously initialized.
CORE-10182 #resolve

svn path=/trunk/; revision=72007
2016-07-26 19:57:40 +00:00
Hermès Bélusca-Maïto
ad81a85370 [INF]: Use the correct icon for audio controller devices in the device manager. By Jared Smudde.
CORE-11679 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=72006
2016-07-26 19:09:18 +00:00
Giannis Adamopoulos
37a1045d72 [BROWSEUI]
- CExplorerBand: Implement showing the context menu on right click.
- Part of the work submitted by Sylvain Deverre.
CORE-10838

svn path=/trunk/; revision=72004
2016-07-26 15:09:04 +00:00
Giannis Adamopoulos
0c47416f5d [BROWSEUI]
- CExplorerBand: Expand the tree view to the current folder when a new folder is browser (either with the addressbar or by double clicking a folder).
- Part of the work submitted by Sylvain Deverre.
CORE-10838

svn path=/trunk/; revision=72003
2016-07-26 14:31:38 +00:00
Pierre Schweitzer
4e4861b392 [NTOSKRNL_VISTA]
Implement KeQueryActiveProcessorCount().

CORE-11674

svn path=/trunk/; revision=72001
2016-07-25 20:45:48 +00:00
Hermès Bélusca-Maïto
b79e7d2eee [MMSYS]: Improve AddSoundProfile, by Victor Martinez Calvo (with 1 minor modification by myself):
 Don't return TRUE when CB_SETITEMDATA fails.
 Avoid pScheme NULL dereference if allocation fails. CID 1223154
 Avoid overflowing the destiny buffer by using StringCchCopy() CID 510953
and:
1) Make it more readable by returning as soon as possible when an error happens.
2) Make it more readable by reducing the nested ifs-checks.
3) Remove the added string in the combobox if the sound scheme buffer mem allocation fails (pt.3 modified).
CORE-11603 #resolve #comment Thanks!

svn path=/trunk/; revision=72000
2016-07-25 20:24:30 +00:00
Thomas Faber
42abc25acc [TOOLS]
- Fix MSVC 2013+ build. Patch by Victor Matovykh.
CORE-11575 #resolve

svn path=/trunk/; revision=71998
2016-07-25 19:28:40 +00:00
Thomas Faber
4d367e4fd3 [SHELL32]
- Add missing dependency

svn path=/trunk/; revision=71997
2016-07-25 19:25:46 +00:00
Christoph von Wittich
359533fc32 [ADVAPI32] silence debug spam
svn path=/trunk/; revision=71995
2016-07-25 11:07:44 +00:00
Thomas Faber
d84820daa7 [WIN32K:NTUSER]
- Fix UserDrawCaptionBar debug spam

svn path=/trunk/; revision=71994
2016-07-25 10:45:30 +00:00
Thomas Faber
5203dd99be [NTOS:CC]
- Unconditionally acquire the VACB lock during map/pin/unpin operations and release it appropriately
CORE-11555 #resolve
CORE-11654 CORE-11504 CORE-11328 #comment This might be fixed with r71993. Could you retry please?

svn path=/trunk/; revision=71993
2016-07-25 08:48:50 +00:00
Aleksandar Andrejevic
45fe0d3a21 [NTVDM]
Implement the VGA AC Color Select register.
Implement INT 0x10, AH = 0x10, subfunction AL = 0x13.


svn path=/trunk/; revision=71992
2016-07-24 18:25:50 +00:00
Thomas Faber
2a6c4f1119 [NTOS:CC]
- Centralize VACB locking/unlocking into inline functions for easier instrumentation

svn path=/trunk/; revision=71991
2016-07-24 17:10:30 +00:00
Aleksandar Andrejevic
7c0554a53f [NTVDM]
Always reset the AC latch before writing to the AC index register.
CORE-11669 #resolve #comment Should be fixed in revision r71990.


svn path=/trunk/; revision=71990
2016-07-24 15:45:50 +00:00
Hermès Bélusca-Maïto
493ec0db98 [EVENTVWR]
- Use helper functions for doing the filtering on the events (idea by Mark Jansen).
- Fix the states of menu items, depending on which event log/item (log file/filter; event item...) is currently selected.
- Correctly empty the event items list & cache whenever an event log/filter is closed (and avoid a crash when all logs/filters are closed and someone attempts to open an event item), during concurrent accesses. I use a reference count and AddRef/Release helpers.
- Get rid of the annoying log loading popup, and use instead the loading message displayed in the events listview as well as a progress-bar in the status bar.
CORE-11637

svn path=/trunk/; revision=71989
2016-07-24 15:24:50 +00:00
Amine Khaldi
0fb5509517 [GDI32] Sync EMFDRV_PolyPolylinegon() with Wine Staging 1.9.14. CORE-11521
svn path=/trunk/; revision=71986
2016-07-23 21:33:40 +00:00
Mark Jansen
517ee59e43 [CRT][GDI32] Introduce atan2 library, use it for gdi32 to fix a crash. CORE-11521
As suggested by Thomas :)

svn path=/trunk/; revision=71985
2016-07-23 20:35:11 +00:00
Pierre Schweitzer
0ee9e9b016 [MPR]
Provide ReactOS specific implementation for WNetGetConnection(), we cannot use Wine's due to Wine specific MountMgr calls.

svn path=/trunk/; revision=71984
2016-07-23 19:52:23 +00:00
Christoph von Wittich
1ce557f97e [SHELL32] close hKey in error case
svn path=/trunk/; revision=71983
2016-07-23 19:39:16 +00:00
Thomas Faber
43ed362610 [NTOS:IO]
- Avoid infinite loop in IopMountVolume. Brought to you by Vadim Galyant.
CORE-11663 #resolve

svn path=/trunk/; revision=71982
2016-07-23 18:18:11 +00:00
Mark Jansen
98de7f1bae [SHELL32] Addendum to r71980, RegSetValueEx expects a size in bytes, not chars. CORE-10439
svn path=/trunk/; revision=71981
2016-07-23 13:15:19 +00:00
Christoph von Wittich
7541633310 [SHELL32] cache entries of "New" menu
CORE-10439 

svn path=/trunk/; revision=71980
2016-07-23 12:31:30 +00:00
Giannis Adamopoulos
73e04c0cd1 [SHELL32]
- CDefView: Add the skeleton check that should be used to implement moving items in the CDefView. Nothing more is implemented because GetKeyState is completely unreliable.

svn path=/trunk/; revision=71979
2016-07-23 08:42:38 +00:00
Hermès Bélusca-Maïto
e88de75145 [ADVPACK]: Addendum to r71977: Add the resource file into the CMakeList.
CORE-7645

svn path=/trunk/; revision=71978
2016-07-22 14:15:09 +00:00
Hermès Bélusca-Maïto
1296982b50 [ADVPACK]: Add file version information resource.
CORE-7645 #comment Please retest the installation of Visual Basic 6 runtime with revision >= 71977.

svn path=/trunk/; revision=71977
2016-07-22 13:19:25 +00:00
Eric Kohl
ad68bb1dc2 [USETUP]
Keyboard Modifier LEDs not working in usetup.
Patch by Carlo Bramini.
CORE-3368 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71976
2016-07-21 20:53:43 +00:00
Mark Jansen
ac99dacfb5 [ACPPAGE] Add windows ME to the Win98 selection item. Patch by Lee Schroeder. CORE-11606 #resolve #comment Thanks!
svn path=/trunk/; revision=71975
2016-07-21 17:29:41 +00:00
Thomas Faber
6ab411d1dc [SERIAL]
- Properly stub SerialPower
CORE-11648

svn path=/trunk/; revision=71974
2016-07-20 12:50:58 +00:00
Thomas Faber
40e83ead42 [PARPORT]
- Properly stub FdoPower and PdoPower
CORE-11648

svn path=/trunk/; revision=71973
2016-07-20 12:21:11 +00:00
Thomas Faber
bdb49d597f [PCIIDEX]
- Add a stub for PciIdeXPowerDispatch
CORE-11648

svn path=/trunk/; revision=71972
2016-07-20 11:49:22 +00:00
Eric Kohl
a60fc83f53 [SERVICES]
Service logon page:
- Handle the interactive service type flag.
- Change the service configuration in the apply function.

svn path=/trunk/; revision=71971
2016-07-19 21:30:45 +00:00
Amine Khaldi
99c2c38f44 [KERNEL32_WINETEST] Sync thread tests with Wine Staging 1.9.14 now that Thomas fixed CORE-11511.
svn path=/trunk/; revision=71970
2016-07-19 18:12:15 +00:00
Thomas Faber
4bcb47a522 [NTOS:KE]
- Load LDT on context switch if required.
CORE-11511 #resolve

svn path=/trunk/; revision=71967
2016-07-19 12:51:49 +00:00
Hermès Bélusca-Maïto
280b976e35 [REGEDIT]
- Minor whitespace fixes in main.c
- Use a correct info msgbox title when showing regedit command-line usage. Something to think about: translate the cmdline usage! :)

svn path=/trunk/; revision=71966
2016-07-18 22:27:17 +00:00
Eric Kohl
17cc3322a5 [SERVMAN]
Service logon property page:
- Fix initialization and display bugs.
- Start work on the 'Apply' function. It doe not apply changes yet.
- Add password check messages.

svn path=/trunk/; revision=71965
2016-07-18 21:49:19 +00:00
Hermès Bélusca-Maïto
cc99d87bf4 [BOOTDATA]: Disable automatic debugger startup on application crash. This allows getting back the error popup as we used to have, and also warn the user there was indeed a problem, instead of silently start the default debugger (that I've set to an unexistant "drwtsn.exe") and fail silently, since that default debugger doesn't exist.
CORE-11508

svn path=/trunk/; revision=71964
2016-07-18 19:25:53 +00:00
Amine Khaldi
2e9c3e57e4 [USER32_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71963
2016-07-18 15:48:27 +00:00
Amine Khaldi
098b000c86 [USER32] Add missing lprc check in SetRect().
svn path=/trunk/; revision=71962
2016-07-18 15:46:38 +00:00
Amine Khaldi
a6161c8c11 [WS2_32_WINETEST] Sync with Wine Staging 1.9.14. Made possible thanks to Peter Hater's changes. CORE-11368 ROSTESTS-233
svn path=/trunk/; revision=71961
2016-07-18 10:44:58 +00:00
Amine Khaldi
a275f7904a [SHELL32] Add AVI file 151. By Jared Smudde. CORE-11638
svn path=/trunk/; revision=71960
2016-07-18 10:27:56 +00:00
James Tabor
56d0ed8cfd [User32]
- Fix log out shutdown dialog window input. See CORE-11633 #resolve


svn path=/trunk/; revision=71959
2016-07-18 02:35:46 +00:00
Hermès Bélusca-Maïto
d5ba2a3784 [EVENTVWR]
Commit "Part 1" of my Improvements for the Event Log Viewer. See CORE-11637 description for more details (too long to stay there).

svn path=/trunk/; revision=71958
2016-07-17 23:06:03 +00:00
Mark Jansen
0d4ae78fc9 [EXPLORER] Fix the Explore all users/open all users menu items. Patch by Jared Smudde. CORE-11146 #resolve #comment Thanks!
svn path=/trunk/; revision=71956
2016-07-16 17:49:27 +00:00
Eric Kohl
bca3b5833c Ooops! These were not meant to be committed!
svn path=/trunk/; revision=71955
2016-07-16 17:41:44 +00:00
Eric Kohl
949bd4b625 [SERVICES]
Check for NULL pointers before derreferecing them in ScmIsSameServiceAccount().
Patch by Victor Martinez Calvo.
CORE-11599 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71954
2016-07-16 17:39:37 +00:00
Eric Kohl
1ef04bbe0a [ADVAPI32]
Remove unneeded NULL checks at CreateServiceA/W and ChangeServiceConfigW/A().
Patch by Victor Martinez Calvo.
CORE-11610 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71953
2016-07-16 16:18:17 +00:00
Eric Kohl
50df31709e [LSASRV]
Fix cleanup in LsarRetrievePrivateData().
Modified patch by Victor Martinez Calvo.
CORE-11611 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71952
2016-07-16 14:57:33 +00:00
Thomas Faber
beec6930e7 [WS2_32]
- Fix a few ws2_32:getaddrinfo test failures. Based on a patch by Peter Hater.
CORE-11368

svn path=/trunk/; revision=71951
2016-07-16 07:49:30 +00:00
Thomas Faber
e556dea177 [KERNEL32]
- Fix GetComputerNameEx behavior with regard to NULL/non-NULL buffers and size calculation
CORE-11368

svn path=/trunk/; revision=71950
2016-07-16 07:08:21 +00:00
Mark Jansen
55cca82ae9 [EXPLORER] HACK: ignore unimplemented SetBandSiteInfo. Patch by Wim Hueskes. CORE-9809 #resolve #comment Thanks!
svn path=/trunk/; revision=71949
2016-07-15 23:33:53 +00:00
Hermès Bélusca-Maïto
42c9931850 [PSDK]: Add two missing flags concerning custom-drawn controls.
svn path=/trunk/; revision=71948
2016-07-15 21:12:52 +00:00
Amine Khaldi
4d6c550bad [KERNEL32] Check the return buffer for NULL before initializing the unicode string buffer with it. By Peter Hater. CORE-11368
svn path=/trunk/; revision=71947
2016-07-15 20:18:20 +00:00
James Tabor
0d440c625d [NtGdi]
- Make SetBkColor work the same as client side.

svn path=/trunk/; revision=71946
2016-07-15 20:13:33 +00:00
Hermès Bélusca-Maïto
3d3efd5dea [EVENTVWR]: Fix transparency problems for some icons.
svn path=/trunk/; revision=71944
2016-07-14 18:58:05 +00:00
Pierre Schweitzer
fccd3c6490 [BOOTLIB]
Fix checksum computation

CID #1363451

svn path=/trunk/; revision=71941
2016-07-14 13:04:08 +00:00
Pierre Schweitzer
ab07decf48 [BOOTLIB]
Fix out of bounds read.

CID #1363549

svn path=/trunk/; revision=71940
2016-07-14 12:58:29 +00:00
Pierre Schweitzer
b34c2f1548 [BOOTMGR]
Don't use uninit var.

CID #1363650

svn path=/trunk/; revision=71939
2016-07-14 12:46:31 +00:00
Pierre Schweitzer
d9e36e2928 [BOOTLIB]
Don't deal with uninit ptr.

CID #1363698

svn path=/trunk/; revision=71938
2016-07-14 12:40:17 +00:00
Pierre Schweitzer
e7bb031141 [NTOSKRNL]
Assert that the allocated buffers are not leaked.

CID #1248416

svn path=/trunk/; revision=71937
2016-07-14 12:21:57 +00:00
Pierre Schweitzer
aeaced7e5a [MUP]
Don't deal with uninit ptr.

CID #1322222

svn path=/trunk/; revision=71936
2016-07-14 12:07:05 +00:00
Mark Jansen
1e53a26381 [ACPPAGE] Remove unused var. CID 1363705
svn path=/trunk/; revision=71934
2016-07-13 18:44:51 +00:00
Mark Jansen
b53f38a463 [RAPPS_NEW] Use the actual buffer size instead of hardcoding a random number. CID 1363551
svn path=/trunk/; revision=71933
2016-07-13 18:33:42 +00:00
Mark Jansen
1aec6625e9 [ACLAYER] Use the return of StringCbPrintfW instead of ignoring it. CID 1363460-63, 65-70, 76, 78, 85, 88, 90
svn path=/trunk/; revision=71932
2016-07-13 18:10:37 +00:00
Mark Jansen
3fe36f5bb9 [APPHELP] Dereference after null check (default_dir). CID 1363509
svn path=/trunk/; revision=71931
2016-07-13 18:02:16 +00:00
Thomas Faber
02da519230 [NTOSKRNL_VISTA]
- Avoid ugly hacks
CORE-11596 #resolve

svn path=/trunk/; revision=71930
2016-07-13 17:48:21 +00:00
Hermès Bélusca-Maïto
8889af9d21 [NET]
No need to check for whether 'pBuffer' is NULL to call NetApiBufferFree, because:
- 'pBuffer' was used above this call without any particular checks;
- 'pBuffer' can be only null when NetUserEnum fails with an error different from NERR_Success or ERROR_MORE_DATA. But this case was actually checked for before using 'pBuffer'.
By Victor Martinez aka. Mr.Coverity ^^ :)
CID 1363629
CORE-11598 #resolve

svn path=/trunk/; revision=71929
2016-07-13 17:35:16 +00:00
Hermès Bélusca-Maïto
341b360aa5 [NTOSKRNL_VISTA lib]
Initialize utf8_ch_len to zero before using it (at each turn of the for-loop). As I couldn't find this code in Wine, I couldn't see whether they already fixed it or not. Caught by Victor.
CORE-11596

svn path=/trunk/; revision=71928
2016-07-13 16:43:16 +00:00
Hermès Bélusca-Maïto
d512139905 [SETUP]
- Fix leaking 'pSetupData' in case of failure. CID 1363604
- Since we know that in the remaining of the code, 'pSetupData' is a valid pointer, we can free it at the very end without rechecking whether it was NULL or not.
CORE-11591 #resolve

svn path=/trunk/; revision=71927
2016-07-13 16:33:37 +00:00
Hermès Bélusca-Maïto
368ccec209 [MAGNIFY]
Missing break. CID 1363532
CORE-11593 #resolve

svn path=/trunk/; revision=71926
2016-07-13 16:27:39 +00:00
Hermès Bélusca-Maïto
054f3b25f7 [MKHIVE]
- Fix usage of the 'Status' variable. CID 1363689
- Fix some DPRINTs.
CORE-11595 #resolve

svn path=/trunk/; revision=71925
2016-07-13 16:23:12 +00:00
Hermès Bélusca-Maïto
3aa8e4c2ac [CHARMAP]
Don't overrun FillGrid() when accessing the last elements. Rewrite the code using 'for' loops, in the same style as what is done elsewhere in the code. CID 1363552
CORE-11597 #resolve

svn path=/trunk/; revision=71924
2016-07-13 15:50:44 +00:00
Hermès Bélusca-Maïto
380484c985 [BOOTLIB]
- BiOpenKey is being feed with the wrong ElementHandle, it should be feed with ElementsHandle one. CID 1363670 . By Victor Martinez Calvo. CORE-11600 #resolve
[BOOTMGR]
- Fix an Assign vs Compare issue. CID 1363558 .  By Victor Martinez Calvo. CORE-11592 #resolve

svn path=/trunk/; revision=71923
2016-07-13 15:43:08 +00:00
Amine Khaldi
d90292f386 [BOOTLIB] Remove stray semicolon from a condition in ConsoleCreateLocalInputConsole(). Patch by Victor for CID 1363701. CORE-11588
svn path=/trunk/; revision=71919
2016-07-13 09:08:34 +00:00
James Tabor
fa03a0ab6b [USER32_WINETEST] Sync with Wine Staging 1.9.11 Part 4. CORE-11368
svn path=/trunk/; revision=71918
2016-07-13 03:16:00 +00:00
James Tabor
e5dd5ba644 [User32]
- Sync/port up to Wine Staging 1.9.11 or current. See CORE-11368.

svn path=/trunk/; revision=71917
2016-07-13 03:09:01 +00:00
James Tabor
dc9ad2ee45 [NtUser]
- Fix crash in User32:win:test_winproc_handles. See CORE-11368.

svn path=/trunk/; revision=71916
2016-07-13 03:04:20 +00:00
James Tabor
edd88125ab [User32]
- Fix regression in API:RealGetWindowClass test due to wine sync/port.
- ReactOS use of DIALOG_get_info is an enhanced fork of the same wine function.

svn path=/trunk/; revision=71915
2016-07-13 00:40:07 +00:00
Hermès Bélusca-Maïto
5c7bfe2f11 [CONCFG]: Add needed inclusion for StrSafe functions.
svn path=/trunk/; revision=71914
2016-07-13 00:09:36 +00:00
Hermès Bélusca-Maïto
47d9985bb4 [CONSRV]
- Fix potential Out-of-bounds access during string copy/concatenation. CID 1322098.
- Fix check for NULL after potential dereference. CID 1322175.

svn path=/trunk/; revision=71913
2016-07-13 00:06:09 +00:00
Hermès Bélusca-Maïto
a5b76eb779 [SHELL32]
- Use StringCbCopyW

[PROGMAN]
- Use StringCbCopyW: CID #1363712.
- Don't read registry values in a registry key if we failed to open it. CID #514350.

svn path=/trunk/; revision=71912
2016-07-12 23:00:50 +00:00
Hermès Bélusca-Maïto
4ef92827aa [USETUP]
- Don't hardcode buffer string size in GetPartTypeStringFromPartitionType calls.
- Possibly check whether the first character of the PartTypeString string is NULL before printing a generic partition information in case the partition type is unknown. We might check instead for the STRING_FORMATUNKNOWN string...
- Don't check for PartTypeString being NULL since it's not a pointer. CID #1363481 and CID #1363494.

svn path=/trunk/; revision=71911
2016-07-12 22:30:55 +00:00
Amine Khaldi
5ec6f3d9fc [KERNEL32_WINETEST] Sync with Wine Staging 1.9.14 except thread tests. CORE-11511
svn path=/trunk/; revision=71910
2016-07-12 21:10:24 +00:00
Amine Khaldi
54f3884769 [NTDLL_WINETEST] Partial sync with Wine Staging 1.9.14. CORE-11368 holds some remaining tests.
svn path=/trunk/; revision=71909
2016-07-12 20:40:20 +00:00
James Tabor
69fd33d2a0 [USER32_WINETEST] Sync with Wine Staging 1.9.11 Part 3. CORE-11368
svn path=/trunk/; revision=71907
2016-07-12 20:08:44 +00:00
James Tabor
45799931c9 [Win32SS]
- Update (Sync/Port) User32:Text to Wine Staging 1.9.11, see CORE-11368.

svn path=/trunk/; revision=71906
2016-07-12 20:06:30 +00:00
James Tabor
d9af32368a [Win32SS]
- Cleanup error codes for Classes and Menus.
- Update (Sync/Port) User32:Dialog to Wine Staging 1.9.11, see CORE-11368.
- Now pass exactly the same tests as windows, except for the two ToDos lines 1596 & 1617. The other test failures are on wine for not being compatible!

svn path=/trunk/; revision=71904
2016-07-12 18:23:04 +00:00
Amine Khaldi
1c7b4d4699 [SCHTASKS] Import from Wine Staging 1.9.14. CORE-11576
svn path=/trunk/; revision=71903
2016-07-12 15:35:42 +00:00
Amine Khaldi
a9be1b1122 [UXTHEME_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71902
2016-07-12 11:13:34 +00:00
Amine Khaldi
2a753b8ad3 [UXTHEME] Apply Wine commit 997e204 by Louis Lenders: Fix CloseThemeData with invalid handle value. CORE-11368
svn path=/trunk/; revision=71901
2016-07-12 11:12:58 +00:00
Amine Khaldi
94cda5e077 [SHELL32_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71900
2016-07-12 10:49:51 +00:00
Amine Khaldi
d86051a8c3 [PSDK] Add some missing ASSOCF_* enum elements.
svn path=/trunk/; revision=71899
2016-07-12 10:46:22 +00:00
Amine Khaldi
c59d46ec65 [ADVAPI32_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71898
2016-07-12 10:38:36 +00:00
Mark Jansen
78df1a00d6 [TRANSLATION] Russian translations by Nikolay Burshtyn (amber). CORE-11567 #resolve #comment Thanks!
svn path=/trunk/; revision=71896
2016-07-11 19:02:48 +00:00
Amine Khaldi
a4db20e9a9 [INCLUDES/WINE] Update test.h.
svn path=/trunk/; revision=71895
2016-07-11 10:47:42 +00:00
Amine Khaldi
dc0f375a2d [GDI32_WINETEST] Sync with Wine Staging 1.9.14.
svn path=/trunk/; revision=71894
2016-07-11 10:46:47 +00:00
Hermès Bélusca-Maïto
b9a5fd8135 Fix usage of the first parameter for TranslateAccelerator: this should be the handle of the window that will receive the accelerator commands (not the window from which the message originates).
svn path=/trunk/; revision=71893
2016-07-11 01:57:47 +00:00
Eric Kohl
3d32d3faaf [SERVMGR]
Service recovery page:
- Dissect the 'run process' command line and display it.
- Implement the 'Browse' button.

svn path=/trunk/; revision=71892
2016-07-10 21:54:17 +00:00
Eric Kohl
a9f075392d [NEWDEV]
Fix words in newdev. (Italian translation)
Patch by decodp.
CORE-11437 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71891
2016-07-10 20:26:05 +00:00
Pierre Schweitzer
79bcce0cbe [FASTFAT]
CcMapData 4th arg isn't a boolean but a flag. Fix it accordingly
CcPinRead 4th arg isn't a boolean but a flag. Fix it accordingly

svn path=/trunk/; revision=71890
2016-07-10 18:16:03 +00:00
Pierre Schweitzer
bc25d25107 [CDFS]
CcMapData 4th arg isn't a boolean but a flag. Fix it accordingly

svn path=/trunk/; revision=71889
2016-07-10 18:06:47 +00:00
Pierre Schweitzer
e8028606cf [FASTFAT][CDFS]
Call CcMapData(), CcPinRead() inside a SEH block
This allows returning more significant error codes on failure

[NTOSKRNL]
Enable Thomas code for raising exceptions

CORE-9848

svn path=/trunk/; revision=71888
2016-07-10 17:14:33 +00:00
Mark Jansen
7320b9bca3 [SDK] Add the first appcompat database, containing references to version lie shims. CORE-11302 #resolve
svn path=/trunk/; revision=71887
2016-07-10 16:21:53 +00:00
Mark Jansen
e3639a814e [SDK][XML2SDB] Introducing the xml2sdb host tool, used to convert xml files to appcompat Sdb files. CORE-11302
Uses tinyxml2 to parse the xml.
Thanks to Thomas for reviewing / suggesting fixes!

svn path=/trunk/; revision=71886
2016-07-10 16:14:39 +00:00
Mark Jansen
704241af92 [APPHELP] Prepare sdbwrite related api for a new hosttool. CORE-11302
- Adding an extra argument to SdbReAlloc
- Do not rely on platform wcs* functions.

svn path=/trunk/; revision=71885
2016-07-10 16:06:39 +00:00
Eric Kohl
35e5c8b39f [USETUP]
Add CAPS-LOCK support to the keyboard layout.
Patch by Carlo Bramini.
CORE-3368 #comment Thanks a lot!

svn path=/trunk/; revision=71884
2016-07-10 15:51:45 +00:00
Thomas Faber
20b9815882 [NTOS:CC]
- Raise exceptions on failure in CcMapData if RAISE_FROM_CC_MAP_DATA is defined. This is how the function should behave, and should be enabled once all our file system drivers correctly handle this.
CORE-9848

svn path=/trunk/; revision=71883
2016-07-10 14:46:37 +00:00
Mark Jansen
954b67bd37 [WIN32SS] Do not try to call DevModes when it is NULL (mirror drivers). Patch by Victor Matovykh. CORE-11441 #resolve #comment Thanks!
svn path=/trunk/; revision=71882
2016-07-10 14:23:58 +00:00
Mark Jansen
0ecb33fb4b [RAPPS] Fix some translated / misspelled tags.
svn path=/trunk/; revision=71881
2016-07-10 00:18:20 +00:00
Hermès Bélusca-Maïto
7e912fee22 [SHELL32]
- Fix the last parameter of a StringCchCopyEx call; fix a misspelling.
- Do not exclusively use GetFileAttributesEx to retrieve file attributes (for the file properties dialog). Indeed, it happens that this API (as well as GetFileAttributes), and equivalently, NtQueryFullAttributesFile (as well as NtQueryAttributesFile), can fail on *locked system* files (on Win2k/Win2k3/Win7, and on ROS), such as C:\pagefile.sys . See for example http://stackoverflow.com/questions/16772931/getfileattributes-on-locked-system-file and my comment in CORE-10757 . Therefore to retrieve file attributes also for these files we do a trick: we call FindFirstFile on the full path to said file. It happens that FindFirstFile can work on locked system files, and thus we are able to retrieve their attributes (+ size and file dates) as well!
See the code for more details.
CORE-10757 #resolve

svn path=/trunk/; revision=71880
2016-07-09 23:18:39 +00:00
Hermès Bélusca-Maïto
7795699eaa [KERNEL32]
- Do not use a "magic number" for the return value 0xFFFFFFFF from GetFileAttributes.
- Use a meaningful variable name for retrieving the result of GetFileAttributes.

svn path=/trunk/; revision=71879
2016-07-09 22:23:23 +00:00
Thomas Faber
121e0791d7 [SERVMAN]
- Fix MSVC build

svn path=/trunk/; revision=71878
2016-07-09 21:05:00 +00:00
Thomas Faber
ea98e8a8fd [LIBXML2]
- Fix MSVC build (already fixed upstream)

svn path=/trunk/; revision=71877
2016-07-09 21:01:11 +00:00
Amine Khaldi
b938f584f2 [LIBXSLT] Update to v1.1.29. CORE-11557
svn path=/trunk/; revision=71876
2016-07-09 18:30:47 +00:00
Amine Khaldi
5c2ff24677 [LIBXML2] Update to v2.9.4. CORE-11556
svn path=/trunk/; revision=71875
2016-07-09 18:07:58 +00:00
Amine Khaldi
2647877ea8 [CMAKE] Update baseaddress.cmake for the GCC build. CORE-11382
svn path=/trunk/; revision=71874
2016-07-09 17:38:40 +00:00
Amine Khaldi
647586b9d5 [FONTSUB] Import from Wine Staging 1.9.13. CORE-11219
svn path=/trunk/; revision=71873
2016-07-09 17:18:33 +00:00
Eric Kohl
995a10c899 [SERVMAN]
Add logon and recovery property pages. Still work in progress.

svn path=/trunk/; revision=71872
2016-07-09 16:51:21 +00:00
Pierre Schweitzer
746de0cb15 [FLTMGR]
Fix GCC build

svn path=/trunk/; revision=71871
2016-07-09 16:41:18 +00:00
Pierre Schweitzer
e9ce17fc5f [DDK]
MS DDK defines FLT_CALLBACK_DATA_QUEUE_FLAGS as ULONG.

svn path=/trunk/; revision=71870
2016-07-09 16:40:31 +00:00
Pierre Schweitzer
e5ca5b3971 [NTFS][FREELDR]
Cherrypick r71807 by Trevor Thompson

svn path=/trunk/; revision=71869
2016-07-09 16:21:13 +00:00
Thomas Faber
2bdf474cc4 [ACPI]
- This bus hosts all physical hardware. Surely some of it can be in the paging path...

svn path=/trunk/; revision=71868
2016-07-09 15:40:02 +00:00
Hermès Bélusca-Maïto
9a5faf7cc9 [EVENTVWR]
- Display 3 different "types" of logs in the tree: "system logs": Application, Security, System, that are the minimal set of standard logs present on NT systems; "application logs": all the other logs, that are available to the event log service (both "system" and "application" logs are registered in the registry, under the "EventLog" service key). Finally comes the "user logs" that consists in all the log files that are manually opened by the user inthe event log viewer.
- Use 'PEVENTLOGRECORD' instead of 'EVENTLOGRECORD *'.
- Don't hardcode the buffer length values in the size parameters used in the GetEventUserName function.
- Merge both GetDisplayNameFile and GetDisplayNameID helpers into a single GetDisplayNameFileAndID function, since the former two were always called in tandem.
- Forbid editing the labels of the tree root nodes "system"/"application"/"user" logs.
- Splitter bar: set the cursor only when it is on the bar, not when it is above the status bar...
- Resize the status bar only in WM_SIZE events.
- Remove few dead code.

svn path=/trunk/; revision=71867
2016-07-09 12:32:21 +00:00
Amine Khaldi
834f7edab0 [FREETYPE] Update to v2.6.4. CORE-11553 CORE-11543
svn path=/trunk/; revision=71866
2016-07-08 21:07:25 +00:00
Hermès Bélusca-Maïto
b5bf3c7a1f [FLTMGR]: Remove a MSVC warning: FltObjectDereference, whose prototype is publicly defined in fltkernel.h, doesn't return any value.
svn path=/trunk/; revision=71864
2016-07-08 17:44:59 +00:00
Ged Murphy
442231df6f - Slight code cleanup
- Add missing PAGED_CODE (thanks thomas)

svn path=/trunk/; revision=71863
2016-07-08 13:41:31 +00:00
Ged Murphy
7a8d83b7ea [NTOS]
- Implement IoCreateFileSpecifyDeviceObjectHint - will be needed for fltmgr
- Rename IoCreateFile to IopCreateFile and forward both IoCreateFile and IoCreateFileSpecifyDeviceObjectHint to that routine
- Add support to IopParseDevice to check for a top level device hint and use that instead of the real device.
- Create a file object extension in IopParseDevice and use that to store our top level device hint data
- Update IoGetRelatedDeviceObject to check for file object extensions and return the 'fake' top level device if we have one

svn path=/trunk/; revision=71862
2016-07-08 13:18:39 +00:00
Ged Murphy
5095fb9b9e [SDK]
- Add missing filter manager status codes

svn path=/trunk/; revision=71861
2016-07-08 13:05:33 +00:00
Ged Murphy
6e3d7d5199 [FLTMGR]
Move it to a more correct place in the tree

svn path=/trunk/; revision=71860
2016-07-08 13:04:44 +00:00
Ged Murphy
02ded7fff1 [FLTMGR]
- Implement basic versions of FltRegisterFilter and FltUnregisterFilter
- Add layout of data for FLT_FILTER, FLT_INSTANCE, FLT_OBJECT and their accociated data
- Add basic rundown protection for the FLT_FILTER object
- Removed from the build for now because GCC doesn't like our fltkernel.h header

svn path=/trunk/; revision=71859
2016-07-08 12:55:20 +00:00
Christoph von Wittich
872139bf03 [SETUPAPI] Properly export pSetupDoesUserHavePrivilege CORE-11544
svn path=/trunk/; revision=71856
2016-07-08 11:26:24 +00:00
Amine Khaldi
231f83e176 [SETUPAPI] Properly stub pSetupDoesUserHavePrivilege() export. CORE-11544
svn path=/trunk/; revision=71855
2016-07-08 10:45:30 +00:00
Daniel Reimer
de51e2d7d6 [RAPPS]
Remove .net 4 again. We have a rule regarding entries in RAPPS. Stuff that works can be added, thats why I ask for pics proving that. I fully confirm a working setup, but thats it. I have no clue how these pics running paint.net were made, but let me add this one: ONLY pics made of vanilla TRUNK as proof please. I will be readded as soon as it really works in TRUNK.

svn path=/trunk/; revision=71854
2016-07-08 10:16:48 +00:00
Amine Khaldi
20c16fce39 [MBEDTLS] Update to v2.3.0. CORE-11534
svn path=/trunk/; revision=71853
2016-07-08 09:44:52 +00:00
Hermès Bélusca-Maïto
bdffeb24d3 [EVENTVWR]: Fix the look of the status bar.
svn path=/trunk/; revision=71852
2016-07-07 23:32:55 +00:00
Hermès Bélusca-Maïto
b7c9f67f33 [EVENTVWR]: Allow the user to enumerate the events from the oldest to the newest, or vice-versa.
svn path=/trunk/; revision=71851
2016-07-07 23:03:34 +00:00
Hermès Bélusca-Maïto
4713d06eeb [EVENTVWR]
- Change the closed-folder icon, by Jared Smudde :)
- Add "open" and "log settings" menu items. Implementation will be done later.

svn path=/trunk/; revision=71850
2016-07-07 21:52:22 +00:00
James Tabor
6944d128ef [USER32_WINETEST] Sync with Wine Staging 1.9.11 Part 3. CORE-11368
svn path=/trunk/; revision=71849
2016-07-07 17:22:10 +00:00
Daniel Reimer
9b98a50a01 [RAPPS]
Auto Fixup of dead links, fix some BOMs, sizes and their units

svn path=/trunk/; revision=71848
2016-07-07 16:30:21 +00:00
James Tabor
60370b0622 [USER32_WINETEST] Sync with Wine Staging 1.9.11 Part 2. CORE-11368
svn path=/trunk/; revision=71847
2016-07-07 15:37:02 +00:00
James Tabor
eaef5b9f37 [NtUser]
- Patch by Victor Matovykh : Cleanup and optimization. See CORE-11479.

svn path=/trunk/; revision=71846
2016-07-07 15:21:54 +00:00
James Tabor
4cf4d58a41 [USER32_WINETEST] Sync with Wine Staging 1.9.11 Part 1. CORE-11368
svn path=/trunk/; revision=71845
2016-07-07 15:20:03 +00:00
Daniel Reimer
929d0fa6ce [RAPPS]
Add Freemat to the React OS application manager
CORE-10128 #resolve #comment Added, thx ^^

svn path=/trunk/; revision=71844
2016-07-07 11:12:54 +00:00
Daniel Reimer
b0235824ff [RAPPS]
New app to Manager Apps by r57zone (author of software)
CORE-11332 #resolve #comment Added, thx ^^

svn path=/trunk/; revision=71843
2016-07-07 11:09:21 +00:00
Daniel Reimer
a230db93a6 [RAPPS]
Scilab for Rapps by Rama Teja Gampa
CORE-10977 #resolve #comment Added, thx ^^

svn path=/trunk/; revision=71842
2016-07-07 11:04:54 +00:00
Daniel Reimer
d0657155c8 [RAPPS]
Add Far Manager in ReactOS App Manager
ROSAPPS-328 #resolve #comment Added, thx ^^ Btw, ROSAPPS is NOT for RAPPS entries, but for rosapps subtree bugreports.

svn path=/trunk/; revision=71841
2016-07-07 10:58:26 +00:00
Daniel Reimer
4bc5a3a34b [RAPPS]
Add .NET framework 4.0 to RAPPS by Alexander Rechitskiy
CORE-11523 #resolve #comment Added, thx for that nice find ^^

svn path=/trunk/; revision=71840
2016-07-07 10:28:41 +00:00
Daniel Reimer
9ce2c4f771 [RAPPS]
Add unxutils to rapps
CORE-10701 #resolve #comment Added, thx ^^

svn path=/trunk/; revision=71839
2016-07-07 10:22:02 +00:00
Daniel Reimer
aeb7d5cfc0 [RAPPS]
Add tcc 0.9.26 by Mark Jansen
CORE-10636 #resolve #comment Added, thx ^^

svn path=/trunk/; revision=71838
2016-07-07 10:20:05 +00:00
Hermès Bélusca-Maïto
1a6189885a [EVENTVWR]: Improve the user interface of the Event Log Viewer:
- Use a tree to list the available system logs (and in the future, the manually opened logs within the viewer).
- Allow the user to resize the treeview/listview.
- Use the standard shell about-box dialog to display the "About..." notice + copyright.
- Improve the Event Log Viewer icon, and add new ones (folders + eventlog file).

svn path=/trunk/; revision=71836
2016-07-06 23:14:56 +00:00
Mark Jansen
bcb7df7665 [SHELL32] Disable Paste menu items when no items are in the clipboard. Patch by Jared Smudde. CORE-11492 #resolve #comment Thanks!
svn path=/trunk/; revision=71834
2016-07-06 19:30:59 +00:00
Thomas Faber
d5c3d6287d [XDK]
- Define DRIVER_DISPATCH_PAGED and DRIVER_DISPATCH_RAISED

svn path=/trunk/; revision=71833
2016-07-06 10:52:08 +00:00
Christoph von Wittich
9875a2c7aa [GDI32]
reduce diff to wine (metafile)

svn path=/trunk/; revision=71831
2016-07-06 06:20:36 +00:00
Aleksandar Andrejevic
cb085e5f4a [NTVDM]
Implement an 800x600 256-color mode for testing purposes. Its register values
and mode information should be correct already.
Properly reset the VCLKs and the MCLK.
Clear the screen after switching to an extended video mode.
Fix the screen size computation in "High Resolution" modes.


svn path=/trunk/; revision=71830
2016-07-06 04:26:16 +00:00
Hermès Bélusca-Maïto
103794988b [CLIPBRD]: Use NULL for null pointer.
[EVENTVWR]: Add folder icons (needed for later).

svn path=/trunk/; revision=71829
2016-07-05 23:42:40 +00:00
Thomas Faber
b8507bdc86 [NTOS:OB]
- Always set LinkHandle in NtOpenSymbolicLinkObject, as shown by tests
CORE-11509 #resolve

svn path=/trunk/; revision=71828
2016-07-05 22:24:54 +00:00
Hermès Bélusca-Maïto
385c44897b [RAPPS(_new)][REGEDIT]: Fix our usage of (Begin)DeferWindowPos. See https://blogs.msdn.microsoft.com/oldnewthing/20050706-26/?p=35023 for more details.
svn path=/trunk/; revision=71827
2016-07-05 21:30:44 +00:00
Hermès Bélusca-Maïto
8d68884908 [REGEDIT]: We resize 4 windows --> BeginDeferWindowPos(4).
svn path=/trunk/; revision=71826
2016-07-05 21:13:48 +00:00
Daniel Reimer
f7107dbbab [BOOTDATA]
CA roots update

svn path=/trunk/; revision=71825
2016-07-05 20:54:34 +00:00
Hermès Bélusca-Maïto
796e90ac61 [SHORTCUTS]: Add a Task-Manager shortcut in the System Tools menu, for usability purposes.
CORE-11512 #resolve

svn path=/trunk/; revision=71824
2016-07-05 18:43:08 +00:00
Amine Khaldi
eaf1910a98 [SCHANNEL] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71821
2016-07-05 10:38:15 +00:00
Hermès Bélusca-Maïto
342c539058 [RTL]: Follow what I guess might be Alex' coding standards.
svn path=/trunk/; revision=71819
2016-07-05 00:38:28 +00:00
Hermès Bélusca-Maïto
2f20a38912 Fix misspelling "Detatch" --> "Detach"
svn path=/trunk/; revision=71818
2016-07-04 22:35:15 +00:00
Hermès Bélusca-Maïto
d5594d193f [NTOS]: Add a human-readable description for ObInitProcess as well.
svn path=/trunk/; revision=71817
2016-07-04 22:30:40 +00:00
Hermès Bélusca-Maïto
83bcad15b2 [NTOS]
- Document ObKillProcess.
- Implement and document ObClearProcessHandleTable (based on ObKillProcess).

svn path=/trunk/; revision=71816
2016-07-04 22:27:35 +00:00
Hermès Bélusca-Maïto
348c8da73d [NTOS]: Exit gently in MmCreateTeb if the call to MiCreatePebOrTeb failed. This is OK since the callers of MmCreateTeb check for its failure, and also perform cleanup & exit in accordance.
svn path=/trunk/; revision=71815
2016-07-04 22:23:07 +00:00
Eric Kohl
8b24e1b048 [SERVICES]
Fix yet another MSDN bug: ChangeServiceConfig2 ALWAYS requires SERVICE_CHANGE_CONFIG and SERVICE_START access rights and an enabled SE_SHUTDOWN_PRIVILEGE privilege when you try to set the failure actions. Otherwise, you will just get a STATUS_ACCESS_DENIED.

- Remove the access and privilege checks from ScmSetFailureActions and move them to RChangeServiceConfig2W.

svn path=/trunk/; revision=71814
2016-07-04 21:37:24 +00:00
Eric Kohl
8fdfbb5bd0 [SC]
- Fix buggy actions parser.
- Use proper NUL character instead of zero.

svn path=/trunk/; revision=71813
2016-07-04 21:04:00 +00:00
Hermès Bélusca-Maïto
d39e489c3a [RTL]: Code styling modifications only:
- Use RtlCopyMemory,
- Don't hardcode types for sizeof(parameters),
- Braces for 'for'-loops,
- while (TRUE) instead of while (1),
- Use ULONG for integer iterator that cannot be negative,
- Start sentences with capitals.

svn path=/trunk/; revision=71812
2016-07-04 20:40:45 +00:00
Hermès Bélusca-Maïto
982870596b [RTL]
- Duplicate the standard (input/output/error) handles from the parent process, when creating a new one.
- Properly fail RtlCreateUserProcess if any of the ZwWriteVirtualMemory or RtlpInitEnvironment calls fail.

svn path=/trunk/; revision=71811
2016-07-04 20:28:20 +00:00
Eric Kohl
4d933beb4c [BOOTDATA]
Revert to r71800.
Do not remove the time zone index because it is used to map countries to timezones.
CORE-11526 #resolve

svn path=/trunk/; revision=71808
2016-07-04 18:27:08 +00:00
Aleksandar Andrejevic
2e172f7a6e [NTVDM]
Remove the standard VGA modes from the VBE table as they're irrelevant for the
VBE driver.
Fix several bugs in INT 10h, AX = 4F02h:
- Don't crash if the video mode was not found.
- AH should be set to 1 on failure, and 0 on success.


svn path=/trunk/; revision=71806
2016-07-04 04:08:01 +00:00
Hermès Bélusca-Maïto
d13229363c [SHELL32]: Fix a regression I introduced in r71804.
svn path=/trunk/; revision=71805
2016-07-03 23:58:37 +00:00
Hermès Bélusca-Maïto
35eeb37cd4 [SHELL32]: Shell policies should also read what's stored in HKEY_LOCAL_MACHINE ... Actually SHRestricted should call SHRestrictionLookup from shlwapi.dll . I think I'll have to fork this code...
svn path=/trunk/; revision=71804
2016-07-03 23:36:21 +00:00
Aleksandar Andrejevic
f715167660 [NTVDM]
Implement getting/setting the current VESA video mode.
Reset the extended SVGA registers when switching to a standard VGA mode.


svn path=/trunk/; revision=71803
2016-07-03 19:06:33 +00:00
Hermès Bélusca-Maïto
62efa61633 [SHELL32]: Add a trailing "\1" for the MRU list commands.
Why? For ReactOS/Windows interoperability purposes.
Because if we don't do that, and then we use our shell32.dll on Windows and use the Run-File dialog, we start adding entries in the RunMRU registry key and, when those are then read by Windows' shell32, they are cut at the last backslash character...
CORE-11390 #resolve

svn path=/trunk/; revision=71802
2016-07-03 18:41:34 +00:00
Eric Kohl
649d151946 [BOOTDATA]
Remove the Index value from the time zone entries. We do not need it any more and it has been removed from Windows Vista.

svn path=/trunk/; revision=71801
2016-07-03 18:40:27 +00:00
Eric Kohl
d576e781b4 [BOOTDATA]
- Add "Belarus Time Zone".
- Add "Russia Time Zone 3", "Russia Timezone 10" and "Russia Time Zone 11".
- Fix some standard time and daylight time names.

svn path=/trunk/; revision=71800
2016-07-03 18:27:17 +00:00
Hermès Bélusca-Maïto
9b48938a7d [SHELL32]: Implement RunFileDlg notification (in RunDlgProc), as described in http://www.codeproject.com/KB/shell/runfiledlg.aspx .
CORE-11390

svn path=/trunk/; revision=71799
2016-07-03 18:07:40 +00:00
Hermès Bélusca-Maïto
6ed6175bfe [SHELL32][UNDOCSHELL]
- Whitespaces fixes (tabs -> spaces);
- Code formatting.

svn path=/trunk/; revision=71798
2016-07-03 18:05:27 +00:00
Eric Kohl
61e26d8796 [USETUP]
Fix crash during installation.
Patch by Wim Hueskens.
CORE-11409 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71797
2016-07-03 14:57:21 +00:00
Hermès Bélusca-Maïto
fcba48cf23 [BOOTDATA]: Apply the new russian timezones, by "amber".
CORE-10558 #resolve #comment Finally committed!! ^^ Please retest :)

svn path=/trunk/; revision=71796
2016-07-03 14:10:58 +00:00
Eric Kohl
2bbf6f4153 [MSGINA]
Icon fix ups.
Patch by Jared Smudde.
CORE-11417 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71795
2016-07-03 13:55:15 +00:00
Hermès Bélusca-Maïto
08f4d01b5a [KERNEL32]: Implement support for Auto-Execute (AE) Debugging: starting a user-specified debugger (e.g., DrWatson on Windows, etc...) which attaches to a user-mode application when the latter crashes.
CORE-11508 #resolve

svn path=/trunk/; revision=71794
2016-07-03 13:52:28 +00:00
Hermès Bélusca-Maïto
21d2accad3 [KERNEL32]
- No need to explicitely convert the pointers to PVOID in the NtQueryInformationProcess calls, and do not hardcode the size-of the variable being passed in parameter.
- "Fix" FatalAppExitW: it's only in checked builds that one can continue running the application even after a FatalAppExitW call.

svn path=/trunk/; revision=71793
2016-07-03 13:48:50 +00:00
Amine Khaldi
f844461ede [COMCTL32_WINETEST] Addendum to r71791. CORE-11383
svn path=/trunk/; revision=71792
2016-07-03 12:30:14 +00:00
Amine Khaldi
94977b7bd4 [COMCTL32] Apply Wine Staging commit 35bf531 by Michael Müller: Preserve custom colors between subitems. (v2). CORE-11383
svn path=/trunk/; revision=71791
2016-07-03 12:29:33 +00:00
Amine Khaldi
4daede09c7 [README.WINE] Mark some modules as synced with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71790
2016-07-03 12:11:37 +00:00
Amine Khaldi
0f78ecdf45 [WINMM_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71789
2016-07-03 11:58:56 +00:00
Amine Khaldi
26ffc33b4f [IPHLPAPI_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71788
2016-07-03 11:56:44 +00:00
Amine Khaldi
b798efdb73 [SETUPAPI_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71787
2016-07-03 11:54:30 +00:00
Amine Khaldi
5166023f77 [SERVICES_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71786
2016-07-03 11:52:01 +00:00
Eric Kohl
13c8b90fd3 [TRANSLATION]
Updating Turkish Translation
Patch by Erdem Ersoy.
CORE-11476 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71785
2016-07-03 11:50:29 +00:00
Amine Khaldi
78cd78815a [SECUR32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71784
2016-07-03 11:50:18 +00:00
Amine Khaldi
6e323c1869 [SCHANNEL_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71782
2016-07-03 11:46:08 +00:00
Amine Khaldi
6b4d3c57da [SHELL32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71781
2016-07-03 11:36:38 +00:00
Amine Khaldi
2e960e0505 [MSVCRT_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71780
2016-07-03 11:33:21 +00:00
Amine Khaldi
5ed7ca77cb [GDI32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368 CORE-11331
svn path=/trunk/; revision=71779
2016-07-03 11:29:52 +00:00
Amine Khaldi
b5f83611ac [WINHTTP_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71778
2016-07-03 11:21:35 +00:00
Amine Khaldi
7c7f34ef58 [PSDK] Update ntsecpkg.h. CORE-11368
svn path=/trunk/; revision=71777
2016-07-03 11:19:58 +00:00
Amine Khaldi
9865b5c0b9 [STDOLE32.TLB] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71776
2016-07-03 11:18:44 +00:00
Amine Khaldi
234f15fb5c [WIDL] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71775
2016-07-03 11:16:23 +00:00
Eric Kohl
893c145538 [TRANSLATION]
Romanian resources maintenance.
Patch by Ștefan Fulea.

CORE-11439 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71774
2016-07-03 09:51:22 +00:00
Thomas Faber
31ac33cd43 [KMTESTS]
- Addendum to r71770
CORE-11509

svn path=/trunk/; revision=71773
2016-07-03 09:23:37 +00:00
Eric Kohl
7507c1b2fc [SC]
Failure command:
- Parse the actions parameter.
- Adjust the shutdown privilege in order to set the failure actions.

svn path=/trunk/; revision=71772
2016-07-03 08:56:43 +00:00
Thomas Faber
f4bbaca31f [NTOS:OB]
- Use the correct buffer size for the link target in NtCreateSymbolicLinkObject
CORE-11509

svn path=/trunk/; revision=71771
2016-07-03 08:54:20 +00:00
Thomas Faber
8e4e756180 [KMTESTS:OB]
- Add a test for ZwCreateSymbolicLinkObject/ZwQuerySymbolicLinkObject
CORE-11509

svn path=/trunk/; revision=71770
2016-07-03 08:31:28 +00:00
Thomas Faber
869afd1010 [NTOS:OB]
- Use SEH to access the link target buffer in NtQuerySymbolicLinkObject
CORE-11509

svn path=/trunk/; revision=71769
2016-07-03 08:22:43 +00:00
Hermès Bélusca-Maïto
1feab2643f [KERNEL32]: Formatting fixes (whitespace...) only.
svn path=/trunk/; revision=71768
2016-07-02 20:52:25 +00:00
Hermès Bélusca-Maïto
12df37e35b [NTDLL]
Export RtlMapSecurityErrorToNtStatus since we have it available in our RTL library (however it is still only stubbed).

[RTL][NDK]
- NT-ify a bit error.c
- Add the prototypes of the functions that manipulate the "last Win32 error" and "last NT status".
- Add the prototypes of the functions that get & set the thread-error-mode (for hard-errors).
- Define some prototypes for NTOS_MODE_USER only.

[CONSRV]
RtlGetLastNtStatus is now in the NDK, no need to keep its prototype there anymore.

svn path=/trunk/; revision=71767
2016-07-02 20:37:35 +00:00
Amine Khaldi
7afa7475cc [INCLUDE/WINE] Update winternl.h. CORE-11368
svn path=/trunk/; revision=71766
2016-07-02 16:07:18 +00:00
Amine Khaldi
30ea2bc4e3 [QUARTZ_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71765
2016-07-02 15:56:56 +00:00
Amine Khaldi
b9d9c7829d [QUARTZ] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71764
2016-07-02 15:56:39 +00:00
Amine Khaldi
f88ab4534f [QEDIT_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71763
2016-07-02 15:52:42 +00:00
Amine Khaldi
011897033a [QEDIT] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71762
2016-07-02 15:52:21 +00:00
Amine Khaldi
79394b09e8 [PSDK] Update qedit.idl. CORE-11368
svn path=/trunk/; revision=71761
2016-07-02 15:42:23 +00:00
Amine Khaldi
8c8e0a9437 [DMUSIC] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71760
2016-07-02 15:40:22 +00:00
Amine Khaldi
b0105c5dc3 [DINPUT] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71759
2016-07-02 15:38:59 +00:00
Amine Khaldi
b30f3bad0f [D3DRM_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71758
2016-07-02 15:34:17 +00:00
Amine Khaldi
a8ea8a5e22 [D3DRM] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71757
2016-07-02 15:33:46 +00:00
Amine Khaldi
2115bc3365 [PSDK] Update d3drm.h. CORE-11368
svn path=/trunk/; revision=71756
2016-07-02 15:33:00 +00:00
Amine Khaldi
7a9c8ac328 [WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71755
2016-07-02 15:29:06 +00:00
Amine Khaldi
7d6b32431e [WINDOWSCODECS] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71754
2016-07-02 15:28:24 +00:00
Amine Khaldi
7eb19611cb [DEVENUM] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71753
2016-07-02 15:24:22 +00:00
Amine Khaldi
8b6b9733a6 [WININET_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71752
2016-07-02 15:23:55 +00:00
Amine Khaldi
7702f2f814 [WININET] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71751
2016-07-02 15:23:01 +00:00
Amine Khaldi
91e48f534f [PSDK] Update wincodec.idl. CORE-11368
svn path=/trunk/; revision=71750
2016-07-02 15:16:32 +00:00
Amine Khaldi
9419c686af [AMSTREAM_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71749
2016-07-02 15:15:26 +00:00
Amine Khaldi
c317834428 [PSDK] Update rpcdce.h. CORE-11368
svn path=/trunk/; revision=71748
2016-07-02 15:04:47 +00:00
Amine Khaldi
84e73a82e5 [PSDK] Add missing MUI_MERGE_SYSTEM_FALLBACK, MUI_MERGE_USER_FALLBACK and MUI_UI_FALLBACK.
svn path=/trunk/; revision=71747
2016-07-02 13:51:18 +00:00
Amine Khaldi
83402051c9 [UNICODE] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71746
2016-07-02 13:46:41 +00:00
Amine Khaldi
2f09a8e360 [AMSTREAM] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71745
2016-07-02 13:35:40 +00:00
Amine Khaldi
76c1345b9d [INETCPL] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71744
2016-07-02 13:28:27 +00:00
Amine Khaldi
aacb42ba4f [RPCRT4] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71743
2016-07-02 13:24:53 +00:00
Amine Khaldi
0ca1812305 [SETUPAPI] Properly stub SetupAddSectionToDiskSpaceListA, SetupAddToDiskSpaceListA and SetupQueryDrivesInDiskSpaceListA.
svn path=/trunk/; revision=71742
2016-07-02 13:17:44 +00:00
Amine Khaldi
1926b0f97a [SHLWAPI_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71741
2016-07-02 13:17:08 +00:00
Amine Khaldi
9bf8cb2c3f [SHLWAPI] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71740
2016-07-02 13:15:50 +00:00
Amine Khaldi
4c898721f4 [T2EMBED] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71739
2016-07-02 13:14:52 +00:00
Amine Khaldi
4db199664d [URLMON_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71738
2016-07-02 13:12:56 +00:00
Amine Khaldi
a9c2a0cb11 [URLMON] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71737
2016-07-02 13:11:50 +00:00
Amine Khaldi
a6a823f8ed [VBSCRIPT] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71736
2016-07-02 13:09:58 +00:00
Amine Khaldi
031bcbf7cc [WBEMPROX_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71735
2016-07-02 13:07:46 +00:00
Amine Khaldi
b822436c25 [WBEMPROX] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71734
2016-07-02 13:06:47 +00:00
Amine Khaldi
8822aee40f [WINSCARD] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71733
2016-07-02 13:05:27 +00:00
Amine Khaldi
2eca3a3c3e [WINTRUST_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71732
2016-07-02 13:04:19 +00:00
Amine Khaldi
98ed140b4f [WINTRUST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71731
2016-07-02 13:03:38 +00:00
Amine Khaldi
f287457a06 [WLDAP32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71730
2016-07-02 13:02:31 +00:00
Amine Khaldi
017d96265c [VERSION_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71729
2016-07-02 13:01:07 +00:00
Amine Khaldi
487d9a6aed [VERSION] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71728
2016-07-02 12:58:50 +00:00
Amine Khaldi
b9122a338a [XMLLITE_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71727
2016-07-02 12:57:07 +00:00
Amine Khaldi
acef311a10 [PSDK] Update xmllite.idl. CORE-11368
svn path=/trunk/; revision=71726
2016-07-02 12:56:15 +00:00
Amine Khaldi
ad8d7855c6 [XMLLITE] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71725
2016-07-02 12:53:37 +00:00
Amine Khaldi
071c42fe94 [USP10_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71724
2016-07-02 12:51:53 +00:00
Thomas Faber
74a531a658 [DNSAPI]
- Fix infinite loop in DnsQuery_W

svn path=/trunk/; revision=71723
2016-07-02 12:10:05 +00:00
Amine Khaldi
384142a8d9 * Missed this bit.
svn path=/trunk/; revision=71722
2016-07-02 11:58:22 +00:00
Amine Khaldi
8d0a00f1e8 [USP10] Attempt to fix non PCH build.
svn path=/trunk/; revision=71721
2016-07-02 11:55:26 +00:00
Amine Khaldi
008194c52a [USP10] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71720
2016-07-02 11:44:01 +00:00
Thomas Faber
4a36ad96cb [DNSAPI_APITEST]
- Handle unexpected failures without crashing
ROSTESTS-226

svn path=/trunk/; revision=71717
2016-07-02 08:49:07 +00:00
Hermès Bélusca-Maïto
0e71aef30a [TASKMGR]
debug.c:
- Don't hardcode the size of the string buffers.
- Only use KEY_QUERY_VALUE right to query the values inside a registry key.
- Fix size parameter value given to RegQueryValueEx.
- Use ZeroMemory instead of memset(..., 0, ...) (heh, we're in Win32 guys!)
- Close thread-and-process handles of the spawned debugger app.

svn path=/trunk/; revision=71716
2016-07-01 21:23:47 +00:00
Sylvain Petreolle
817eecf900 [SECUR32]
Enable LsaEnumerateLogonSessions and LsaGetLogonSessionData implemtations, used by VirtualBox guest additions.
CORE-7424

svn path=/trunk/; revision=71715
2016-07-01 19:55:32 +00:00
Hermès Bélusca-Maïto
22724e306e [NTOS]
The "BuildLab" string now contains the build number (date + revision number), together with the compiler version used to compile ReactOS.
CORE-6611 CORE-7889 CORE-8877

[WIN32K]
Now use the "BuildLab" string that is read from the registry to be displayed in the desktop watermark, instead of building it at run-time.
Addendum to r71504, CORE-11349

Based on an idea by Mark Jansen (learn_more).

svn path=/trunk/; revision=71714
2016-07-01 19:45:39 +00:00
Ged Murphy
c26e66bc8d The javascript search is turd...
svn path=/trunk/; revision=71712
2016-07-01 17:29:19 +00:00
Thomas Faber
1fd8fbb550 [DNSAPI]
- Check for NULL pointer in DnsQuery to avoid crashing tests

svn path=/trunk/; revision=71711
2016-07-01 17:19:04 +00:00
Thomas Faber
f6bb8b1fb6 [DNSAPI_APITEST]
- Fix unix build
ROSTESTS-226

svn path=/trunk/; revision=71710
2016-07-01 15:19:40 +00:00
Thomas Faber
2d22483bef [DNSAPI_APITEST]
- Add a test for DnsQuery. Patch by Víctor Martínez Calvo, with additional tests and fixes by me.
ROSTESTS-226 #resolve

svn path=/trunk/; revision=71709
2016-07-01 14:44:55 +00:00
Hermès Bélusca-Maïto
e82d66cfa5 [KERNEL32]: Don't hardcode flag values for NtOpenKey.
svn path=/trunk/; revision=71708
2016-06-30 20:34:10 +00:00
James Tabor
74a8923afe [Win32SS]
- Remove unused flag and set old menu type back, based on wine.

svn path=/trunk/; revision=71707
2016-06-30 17:01:14 +00:00
Ged Murphy
2dc8635605 - Revert the revert, we're now back to the latest config file.
- Turn off SERVER_BASED_SEARCH in the hope that it fixes the search issues.

svn path=/trunk/; revision=71706
2016-06-30 16:52:44 +00:00
James Tabor
e95ca2d8b7 [NtUser]
- Use internal function to validate menu handle. See CORE-11479 for more information.

svn path=/trunk/; revision=71704
2016-06-30 15:48:20 +00:00
Hermès Bélusca-Maïto
876a3b2681 [KERNEL32]
- Whitespace fixes (dosdev.c, except.c, loader.c)
- except.c: Remove some unneeded casts; NtQueryInformationProcess for 'ProcessDebugPort' is implemented and therefore it will never return STATUS_NOT_IMPLEMENTED.

svn path=/trunk/; revision=71703
2016-06-30 14:00:34 +00:00
Hermès Bélusca-Maïto
b92e83d7b9 [NOTEPAD]: Fix German menu keyboard shortcuts, by Joachim Henze.
CORE-11461 #resolve #comment German shortcut fixed, thanks!

svn path=/trunk/; revision=71702
2016-06-29 23:21:07 +00:00
Hermès Bélusca-Maïto
168b37af43 [CONSRV]: "Fix" pasting non-ansi characters in console by removing the code that was too careful (when pasting text we don't generally use the associated virtual key/scan code, but just the unicode character itself.
CORE-11465 #resolve #comment Fixed! You can paste cyrillic text in the console without problems, and it is correctly understood.

svn path=/trunk/; revision=71701
2016-06-29 23:14:29 +00:00
Hermès Bélusca-Maïto
cf4c3fc4ee [SHORTCUTS]: Update the translations for the ReactOS Read-Me file desktop shortcut. Courtesy David Quintana (gigaherz) for spanish, 'valeriusL' for russian, Grégory Macário Harbs (Mysoft) for portuguese, myself for german, italian, dutch and ukrainian (translators, please check those 4 last languages ^^ ).
svn path=/trunk/; revision=71700
2016-06-29 21:19:13 +00:00
Hermès Bélusca-Maïto
144be49260 [PING]: Fix statistics information in the case sending a ping packet fails. Patch by Tim Crawford.
CORE-10274 #resolve #comment Fixed, thanks for the report!

svn path=/trunk/; revision=71699
2016-06-29 20:30:43 +00:00
Hermès Bélusca-Maïto
666b0279ee [NOTEPAD]: Fix russian menu keyboard shortcuts, by 'denis2dev'.
CORE-11461 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=71698
2016-06-29 20:25:49 +00:00
Hermès Bélusca-Maïto
c37ff9ea32 [SUBST]
- Update the resource program description.
- Convert to full UNICODE.
- Use Win32 functions where possible.
- Factor-out the usage of QueryDosDevice into a QuerySubstedDrive function, that returns error codes according to whether the specified drive is a mapped (substed) drive, or is just an existing drive that is not a mapping, or if the drive does not exist. This allows us to detect attempts to use a drive letter that is not a mapped drive, to define a new mapping, and if so we reject such attempt.
This fixes CORE-10681 #resolve #comment Fixed with another patch according to my last remark.

svn path=/trunk/; revision=71695
2016-06-29 00:38:51 +00:00
Hermès Bélusca-Maïto
3d73fce572 [COMP]: Fix code header & resource program description.
svn path=/trunk/; revision=71694
2016-06-29 00:29:27 +00:00
Hermès Bélusca-Maïto
38416a7c00 [SUBST]
- Headers reordering.
- Use ARRAYSIZE.
- Give the internal helper function IsSubstedDrive just the single letter of the drive to check for.
- AddSubst and DeleteSubst: both take a drive string of *exactly* two characters: the drive letter and the ':' (and of course there's the NULL terminator): fix the parameter check in this regard.
- AddSubst: It is possible on Windows to use the DefineDosDevice API to map a drive letter to a *file* (yes yes!!) (but the mapping made is unusable). Forbids this case in SUBST since it is not made for that.
CORE-10681

svn path=/trunk/; revision=71693
2016-06-28 20:22:07 +00:00
Hermès Bélusca-Maïto
6d8d3402b3 [SUBST]: CORE-10681 #comment Apply part of Peter Hater's patch proposed in CORE-10681, that is, fixing the usage of QueryDosDevice API, but without the new IsDriveUsed functionality. (r71692)
svn path=/trunk/; revision=71692
2016-06-28 19:21:08 +00:00
Hermès Bélusca-Maïto
31eec4a410 [LAUTUS.MSSTYLES]: Russian translation by 'amber'
CORE-11425 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=71691
2016-06-28 18:54:16 +00:00
Hermès Bélusca-Maïto
469896aec5 [COMP]: Russian translation by 'amber'
CORE-11424 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=71690
2016-06-28 18:53:12 +00:00
James Tabor
87b3226b1d [NtUser]
- Remove unused code, enhance wine'isms while checking for menus.

svn path=/trunk/; revision=71689
2016-06-28 16:15:06 +00:00
James Tabor
4c070bf073 [NtUser]
- Patch by Victor Matovykh : Remove menu spacing if there is no menu to paint.

svn path=/trunk/; revision=71688
2016-06-28 15:56:21 +00:00
Hermès Bélusca-Maïto
5113536603 [KERNEL32]: Whitespace fixes only, no functional code changes.
svn path=/trunk/; revision=71687
2016-06-27 22:36:12 +00:00
Eric Kohl
def1d69426 [SERVICES]
RSetServiceObjectSecurity: Modify and store a service security descriptor.

svn path=/trunk/; revision=71686
2016-06-27 22:35:54 +00:00
Eric Kohl
90c41c110a [RTL]
Implement the core functionality of RtlpSetSecurityObject. Still incomplete.

svn path=/trunk/; revision=71685
2016-06-27 22:25:17 +00:00
Eric Kohl
aa7b502c14 [SERVICES]
- Create the absolute default service security descriptor when services.exe starts up.
- Create a self-relative security descriptor whenever it is needed.

svn path=/trunk/; revision=71684
2016-06-27 22:19:19 +00:00
Hermès Bélusca-Maïto
0a1b24ef17 [SUBST]: Fix help message indentation in different languages.
svn path=/trunk/; revision=71683
2016-06-27 20:10:59 +00:00
Hermès Bélusca-Maïto
a34c94d027 [SHELL32]: Adjust the size of the static text in the logoff dialog, for German language. Patch by 'reactosfanboy'.
CORE-11446 #resolve #comment Thanks!

svn path=/trunk/; revision=71682
2016-06-27 19:44:20 +00:00
Eric Kohl
86b93c239e [SERVICES]
Create an individual security descriptor for each service. We cannot use a common default security descriptor because RtlSetSecurityObject will free the old security descriptor when we try to set a new one.

svn path=/trunk/; revision=71679
2016-06-26 20:09:37 +00:00
Hermès Bélusca-Maïto
4fb300ea06 [EVENTVWR]
- No need to pop up an error box if we cannot find an event message resource DLL for the current event log.
- Flatten out GetEventMessageFileDLL a bit.
- Fix a comment.

svn path=/trunk/; revision=71678
2016-06-26 19:36:38 +00:00
Eric Kohl
d8eb428154 [SERVICES]
Use self-relative security descriptors only:
- Convert the default service security descriptor to the self-relative format.
- Remove security descriptor format conversions from ScmReadSecurityDescriptor and ScmWriteSecurityDescriptor.

svn path=/trunk/; revision=71676
2016-06-26 15:02:48 +00:00
Mark Jansen
6f6f0dfc4e [SCHANNEL] add missing function to the delayload header. Spotted by Peter Hater. CORE-11270 #resolve
svn path=/trunk/; revision=71675
2016-06-26 12:52:46 +00:00
Pierre Schweitzer
1edb644ad2 [FASTFAT]
Don't allow renaming a directory if there are opened files in it.
The way we do it for now isn't fully optimal and could be really improved, but that's a first step in the right direction.
This should help getting rid of FAT volumes corruption.
This also fixes a few winetests it seems.

CORE-11426 #comment Patch that fixes bug 3 committed in r71674

svn path=/trunk/; revision=71674
2016-06-26 10:23:35 +00:00
Thomas Faber
d19532d463 [NTOS:LPC]
- Avoid dereferencing a null pointer in LpcpDeletePort. By Samuel Serapión.
CORE-6850 #resolve

svn path=/trunk/; revision=71673
2016-06-25 23:27:45 +00:00
Thomas Faber
b25491463d [SHELL32_APITEST]
- Add a test for CShellLink GetPath/SetPath behavior with environment variables. Patch by Andreas Maier.
ROSTESTS-229 #resolve

svn path=/trunk/; revision=71672
2016-06-25 22:09:49 +00:00
Hermès Bélusca-Maïto
dbffece26e Fix build (i.e. a change that shouldn't have been done).
svn path=/trunk/; revision=71671
2016-06-25 20:12:18 +00:00
Hermès Bélusca-Maïto
21cc5e26a7 [EVENTVWR]
- Remove a unused header.
- Start (re)working on the functions that retrieve strings associated to event categories and messages.
- Just display the event category number if we are unable to retrieve its associated string.
- If we cannot retrieve the event source for formatting purposes, use a default string and append the event strings to it.
- Fix some problems related to the usage of 'lpComputerName': this global variable stores the computer name on which the Event Viewer is running (or connected to) and view the available logs. Don't overwrite it with computer names from the events.

- Modify some localized strings in the resource files. Translators, please review/fix translations!

svn path=/trunk/; revision=71670
2016-06-25 20:08:58 +00:00
Hermès Bélusca-Maïto
60aee9fc9e [EVENTVWR]
- Use C-style comments.
- Move the helper FreeRecords function closer to where it is used.
- Use the EVENTLOG_BASE_KEY define instead of re-hardcoding the registry path to the EventLog service.

svn path=/trunk/; revision=71669
2016-06-25 19:36:59 +00:00
Amine Khaldi
94c119a9c9 [MSI_WINETEST] Sync with Wine Staging 1.9.12. CORE-11266
svn path=/trunk/; revision=71668
2016-06-25 11:28:00 +00:00
Amine Khaldi
47da43b8e1 [MSI] Sync with Wine Staging 1.9.12. CORE-11266
svn path=/trunk/; revision=71667
2016-06-25 11:27:22 +00:00
Amine Khaldi
c0e08dd9be [PSDK] Add missing msidbServiceInstallErrorControl enum.
svn path=/trunk/; revision=71666
2016-06-25 11:26:38 +00:00
Ged Murphy
a95c7e6be8 Let's see if reverting the doxyfile makes doxygen useful again (or just breaks it)
svn path=/trunk/; revision=71656
2016-06-21 09:02:06 +00:00
Hermès Bélusca-Maïto
3a5a38a065 [i8042prt]: Add yet another Dell Latitude D620 hack to make its trackpad work.
CORE-11431 #resolve
CORE-6901

svn path=/trunk/; revision=71654
2016-06-19 13:13:01 +00:00
Eric Kohl
309b68de7d [SC]
Add EnumDepend command.

svn path=/trunk/; revision=71653
2016-06-18 11:18:53 +00:00
Eric Kohl
47dae4bd05 [SC]
Add GetKeyName command.

svn path=/trunk/; revision=71651
2016-06-16 21:18:59 +00:00
Mark Jansen
2df110e92d [MSGINA_APITEST] Add a test for ShellDimScreen, used to fade out the background of the logoff dialog. Thanks to Jared for finding the api, and Hermès for his help! CORE-11422
svn path=/trunk/; revision=71649
2016-06-16 21:00:08 +00:00
Eric Kohl
7d66c9341d [SC]
Add GetDisplayName command.

svn path=/trunk/; revision=71648
2016-06-16 19:47:50 +00:00
Eric Kohl
ffe9e79d41 [SC]
- Reorganized some commands in order to add erros and success messages.
- Added error and success messages.
- Enabled usage text for the failure command.

svn path=/trunk/; revision=71645
2016-06-15 21:28:33 +00:00
Mark Jansen
3320cc95a2 [SHELL32] Use the logoff dialog instead of the generic ConfirmDialog. Patch by Jared Smudde. CORE-11413 #resolve #comment Thanks!
svn path=/trunk/; revision=71643
2016-06-15 17:46:26 +00:00
Hermès Bélusca-Maïto
2a6da4ca41 [APITESTS]: Fix MSVC warning C4114: "same type qualifier used more than once".
svn path=/trunk/; revision=71642
2016-06-15 17:45:06 +00:00
Eric Kohl
caa61ecac3 [SC]
Add some error and success messages to the config and description commands.

svn path=/trunk/; revision=71640
2016-06-14 22:00:34 +00:00
Eric Kohl
464f46d352 [SC]
Merge the failure functions into a single file.

svn path=/trunk/; revision=71639
2016-06-14 20:58:37 +00:00
Eric Kohl
71cb6b0b4d [SC]
- Add the 'failure' command. The 'actions' option is not implemented yet.

svn path=/trunk/; revision=71638
2016-06-14 20:34:21 +00:00
Ged Murphy
1f533a9d6b [NTOS]
- Properly implement ObpValidateAccessMask
- If the security descriptor has a system acl, the caller will need access to it

svn path=/trunk/; revision=71636
2016-06-14 18:01:02 +00:00
Hermès Bélusca-Maïto
bf37176da7 [SHELL32]
- Use similar shell def-view window styles as on Windows.
- Add a "hack" to force the shell progman desktop window to get its correct window name, when running our shell on Windows. I don't know why calling CreateWindowExW(WS_EX_TOOLWINDOW, szProgmanClassName, szProgmanWindowName, ...) with a valid szProgmanWindowName string still persists in setting the window name to NULL... If someone has an idea, please let me know!
- Addendum to CORE-11375: Create the shell desktop view with the same size as the current desktop's workarea. Confirmed with ApiMonitor on Windows. I add some "FIXME" to make future developers think about possible improvements in the code.

svn path=/trunk/; revision=71635
2016-06-13 20:27:57 +00:00
Eric Kohl
4cb718e650 [SC]
Merge the config functions into a single file.

svn path=/trunk/; revision=71634
2016-06-13 20:01:47 +00:00
Eric Kohl
fdf12baa2b [SC]
- Move ParseCreateArguments to the misc.c file, rename it to ParseCreateConfigArguments and tweak it for use in the config command.
- Implement the config command.

svn path=/trunk/; revision=71633
2016-06-13 19:43:02 +00:00
Hermès Bélusca-Maïto
fc0c674649 [SHELL32]: Fix some whitespace and comments.
svn path=/trunk/; revision=71632
2016-06-13 19:39:35 +00:00
Hermès Bélusca-Maïto
20324ae269 [TELNET]: Add russian translation by "amber".
CORE-11411

svn path=/trunk/; revision=71631
2016-06-13 19:18:36 +00:00
Hermès Bélusca-Maïto
722e7e4aaf [DEVMGR]: Fix resource compiler error in MSVC 2010 or GCC' windres. Detected by Victor Martinez Calvo.
CORE-11408

svn path=/trunk/; revision=71630
2016-06-13 12:54:01 +00:00
Daniel Reimer
40e7477403 [RAPPS]
Script check. Fix any broken links. Update Hashes

svn path=/trunk/; revision=71629
2016-06-12 22:21:40 +00:00
Eric Kohl
c7664e0ded [SC]
Merge the description functions into a single file.

svn path=/trunk/; revision=71628
2016-06-12 20:12:15 +00:00
Eric Kohl
3746117c61 [SC]
- Add the 'description' command.
- Fix a little display bug in the 'qdescription' command: Do not print '(null)' if the service does not have a description.

svn path=/trunk/; revision=71627
2016-06-12 19:18:15 +00:00
Eric Kohl
b3bcb0725a [ADVAPI32]
Implement I_ScGetCurrentGroupStateW.

svn path=/trunk/; revision=71626
2016-06-12 17:48:09 +00:00
Daniel Reimer
2d6b126e44 [RAPPS]
Fix Burnaware hash
CORE-11190 #resolve #comment Fixed, thx ^^

svn path=/trunk/; revision=71625
2016-06-12 17:37:39 +00:00
Daniel Reimer
eed1cd063e [RAPPS]
Wrong version in Free Stopwatch entry.
CORE-11198 #resolve

svn path=/trunk/; revision=71624
2016-06-12 17:04:13 +00:00
Hermès Bélusca-Maïto
d63e0ea3fc [ROSTEST:PAINTDESKTOP]: Improve the test: don't force complete redraw when resizing the window, and return a non-zero value from WM_ERASEBKGD if the PaintDesktop call succeeded.
svn path=/trunk/; revision=71623
2016-06-12 16:48:25 +00:00
Hermès Bélusca-Maïto
ac4a897155 [ROSTESTS:USER32] Add an interactive test demonstrating how the PaintDesktop API should behave visually, and how we are not correctly doing well in this regard in ReactOS...
svn path=/trunk/; revision=71622
2016-06-12 14:34:58 +00:00
Hermès Bélusca-Maïto
0301f591be [NETSHELL]: Update russian translation by "leha-bot" and "amber".
CORE-11392

svn path=/trunk/; revision=71621
2016-06-12 13:50:33 +00:00
Hermès Bélusca-Maïto
4f1d2e9e7f [DEVMGR]: Update russian translation by "leha-bot" and "amber".
CORE-11392

svn path=/trunk/; revision=71620
2016-06-12 13:49:02 +00:00
Hermès Bélusca-Maïto
ff2db5c56f [DXDIAG]: Update russian translation by "leha-bot" and "amber".
CORE-11392

svn path=/trunk/; revision=71619
2016-06-12 13:46:51 +00:00
Hermès Bélusca-Maïto
af0f92795c [DXDIAG]: Sync some translations with the english one.
svn path=/trunk/; revision=71618
2016-06-12 13:43:39 +00:00
Hermès Bélusca-Maïto
3ebacc1882 [SC]: Fix a typo in the help.
svn path=/trunk/; revision=71617
2016-06-12 13:28:48 +00:00
Eric Kohl
8361105c91 [SC]
Implement the qc, qdescription and qfailure commands.

svn path=/trunk/; revision=71615
2016-06-11 21:24:40 +00:00
Mark Jansen
5b2c7d7e50 [APPHELP] Implement automatic stringtable generation when writing an Sdb database. CORE-10367
svn path=/trunk/; revision=71614
2016-06-11 21:12:43 +00:00
Hermès Bélusca-Maïto
d4a952c924 [PIFMGR]: Add the PIF icon resource library.
By Jared Smudde, Lee Schroeder, Ercan Ersoy, manuel.
Icons adapted from Tango Icon set and from public domain OpenClipArt (https://openclipart.org/share)
Part 1/2
CORE-10253

svn path=/trunk/; revision=71613
2016-06-11 16:16:26 +00:00
Eric Kohl
45cc914e9f [SC]
Implement the sdset command.

svn path=/trunk/; revision=71612
2016-06-11 15:01:01 +00:00
Eric Kohl
5965ffcd78 [SERVICES]
- Read the service security descriptors when the service list is created.
- Assign and write the default security descriptor when a service does not have its own security desciptor.
- Delete a service security desciptor when the service is deleted.

svn path=/trunk/; revision=71611
2016-06-11 09:41:05 +00:00
Pierre Schweitzer
4746de9066 [FASTFAT]
Properly round up 64b values.
This fixes reads on 4GB+ volumes.

Patch by Wim Hueskes.

CORE-10932 #resolve #comment Thanks for the patch! Commited in r71610

svn path=/trunk/; revision=71610
2016-06-11 09:32:00 +00:00
Mark Jansen
a44dfe6c76 [WIN32SS] Try to load the module before fetching an icon, instead of failing on a module that is not available in the current process. CORE-10292 #resolve
svn path=/trunk/; revision=71609
2016-06-10 20:57:26 +00:00
Hermès Bélusca-Maïto
b85cf60213 [WRITE]: Add wordpad's icon to write.exe compatibility bootstrap.
svn path=/trunk/; revision=71606
2016-06-10 00:14:36 +00:00
Hermès Bélusca-Maïto
287d77c8bd [SHELL32]: Replace icon 210 (filecab) with a valid one (coming from explorer).
svn path=/trunk/; revision=71604
2016-06-09 22:27:54 +00:00
Eric Kohl
5a180609eb [SERVICES]
- Create a default service security descriptor.
- RCreateServiceW: Assign the default security descriptor to new services on service creation and store it in the registry.
- RQueryServiceObjectSecurity: Return the services security descriptor to the caller.

svn path=/trunk/; revision=71603
2016-06-09 21:30:48 +00:00
Hermès Bélusca-Maïto
998a832892 [SOLITAIRE][SPIDER][CARDLIB]
- Remove the ugly WS_EX_CLIENTEDGE style from Solitaire and Spider.
- Make use of the member function parameters when calling CreateWindowEx in cardlib.
Patch by "toe_head2001".
CORE-11391

svn path=/trunk/; revision=71602
2016-06-09 20:33:36 +00:00
Hermès Bélusca-Maïto
25c377e044 [COMP]
- Fix the output of localized strings (and use the "well-known" PrintResourceString function already used in all the other cmdtools)
- Unconditionally increase the number of lines & the offset when performing the comparison.

svn path=/trunk/; revision=71601
2016-06-09 19:20:35 +00:00
Hermès Bélusca-Maïto
732c3f3d40 [COMP]
- Localize comp.exe. Patch + romanian translation by Stefan Fulea.
- French translation by Hermès Bélusca.
CORE-11060

svn path=/trunk/; revision=71600
2016-06-09 19:01:47 +00:00
Hermès Bélusca-Maïto
a014055837 [COMP]
- The comparison buffers contain bytes, not (T)CHARs. Pointed out by Stefan Fulea in CORE-11060.
- Remove a now unnecessary comment header "history" line since we have SVN for that instead.

svn path=/trunk/; revision=71599
2016-06-09 18:43:36 +00:00
James Tabor
e37fafee2c [User32]
- Patch by Jared Smudde : Set text background the same color as the rectangle.
- Adapted by Hermès Bélusca-Maïto. Themes, see CORE-11364.

svn path=/trunk/; revision=71598
2016-06-09 02:50:13 +00:00
Hermès Bélusca-Maïto
1a1823fc09 Well no need to initialize "Ret" if we overwrite immediately its old value.
svn path=/trunk/; revision=71597
2016-06-08 23:08:59 +00:00
Hermès Bélusca-Maïto
57360a0d04 [WIN32K:NTGDI]: Remove redundant code.
svn path=/trunk/; revision=71596
2016-06-08 23:07:32 +00:00
Hermès Bélusca-Maïto
cdae0d1bf7 [SHELL32]: Run dialog box: FillList was ANSI, now it's UNICODE! Partly rewrite Wine code.
svn path=/trunk/; revision=71595
2016-06-08 21:53:34 +00:00
Hermès Bélusca-Maïto
2f53cccf2f [CONSRV]
Only add a history entry if console echo is enabled. This ensures that anything sent to the console when echo is disabled (e.g. binary data, or secrets like passwords...) does not remain stored in memory.

svn path=/trunk/; revision=71593
2016-06-08 00:27:25 +00:00
Hermès Bélusca-Maïto
f29075b129 [DHCPSVC]: It's a service, move it in the correct directory.
svn path=/trunk/; revision=71592
2016-06-07 23:14:58 +00:00
Hermès Bélusca-Maïto
b8391e20ad [CONSRV]
- Remove a wrong assertion that I introduced in r70281 concerning Console->LinePos.
- Fix some boundary conditions.
- Completely reset line discipline variables when the line buffer is freed.
- Fix a potential buffer overrun in the case ReadControl->nInitialChars was larger than Console->LineMaxSize (the size of Console->LineBuffer), which serves to initialize Console->LineSize, Console->LinePos, and copy nInitialChars characters from user buffer.
CORE-11380 CORE-10997 #resolve

svn path=/trunk/; revision=71591
2016-06-07 22:52:44 +00:00
Eric Kohl
97556cc77d [SC]
Add the sdshow command.

svn path=/trunk/; revision=71590
2016-06-07 21:51:37 +00:00
Amine Khaldi
4460ce3990 [RICHED20_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71587
2016-06-07 11:02:39 +00:00
Amine Khaldi
7dcb748d30 [RICHED20] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71586
2016-06-07 11:01:48 +00:00
Amine Khaldi
833c7dbc6e [MSVFW32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71585
2016-06-07 10:59:18 +00:00
Amine Khaldi
662c918d67 [OPENGL32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71584
2016-06-07 10:58:19 +00:00
Amine Khaldi
93c6e744bd [QMGR] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71583
2016-06-07 10:55:17 +00:00
Amine Khaldi
5de9cef087 [OLEAUT32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71582
2016-06-07 10:53:40 +00:00
Amine Khaldi
f7918981cf [OLEAUT32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71581
2016-06-07 10:51:58 +00:00
Amine Khaldi
902eeb69b2 [OLE32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71580
2016-06-07 10:49:20 +00:00
Amine Khaldi
3df7653ebe [OLE32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71579
2016-06-07 10:47:21 +00:00
Amine Khaldi
76e295bbed [PSDK] Update objbase.h. CORE-11368
svn path=/trunk/; revision=71578
2016-06-07 10:43:40 +00:00
Amine Khaldi
820f0a6196 [MSXML3_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71577
2016-06-07 10:30:15 +00:00
Amine Khaldi
34ca173317 [MSXML3] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71576
2016-06-07 10:29:11 +00:00
Amine Khaldi
64fbdcc0f4 [MSVIDC32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71575
2016-06-07 10:27:20 +00:00
Amine Khaldi
beb1555b76 [MSVFW32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71574
2016-06-07 10:26:22 +00:00
Amine Khaldi
1314203868 [MSRLE32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71573
2016-06-07 10:24:56 +00:00
Mark Jansen
122a7bd37d [APPHELP_APITEST] Extend stringtable related tests. CORE-10367
svn path=/trunk/; revision=71572
2016-06-05 21:26:07 +00:00
Thomas Faber
3ee78af3cd [COMCTL32_WINETEST]
- Fix copypasta'd test list entry

svn path=/trunk/; revision=71571
2016-06-05 21:00:22 +00:00
Amine Khaldi
bf211a8bbb [DBGHELP] GET_ENTRY => CONTAINING_RECORD.
svn path=/trunk/; revision=71570
2016-06-05 19:47:14 +00:00
Amine Khaldi
85acdc55e6 [MSCTF_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71569
2016-06-05 19:38:56 +00:00
Amine Khaldi
c0d4c271a4 [MSCTF] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71568
2016-06-05 19:38:23 +00:00
Amine Khaldi
949478c3ff [PSDK] Update msctf.idl. CORE-11368
svn path=/trunk/; revision=71567
2016-06-05 19:36:59 +00:00
Amine Khaldi
237ea501ec [MPR_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71566
2016-06-05 19:35:47 +00:00
Amine Khaldi
99d9ec5a26 [MPR] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71565
2016-06-05 19:35:09 +00:00
Amine Khaldi
485277dd67 [MMDEVAPI_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71564
2016-06-05 19:34:02 +00:00
Amine Khaldi
0bdcd182df [MMDEVAPI] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71563
2016-06-05 19:33:06 +00:00
Amine Khaldi
74d48a8c13 [MGMTAPI] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71562
2016-06-05 19:32:00 +00:00
Amine Khaldi
e233be3395 [MCIQTZ32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71561
2016-06-05 19:30:31 +00:00
Amine Khaldi
28ad123809 [MCIAVI32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71560
2016-06-05 19:29:11 +00:00
Amine Khaldi
8cc3382109 [JSPROXY] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71559
2016-06-05 19:27:31 +00:00
Amine Khaldi
b20d96576c [JSCRIPT_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71558
2016-06-05 19:26:27 +00:00
Amine Khaldi
6f2fa805b0 [JSCRIPT] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71557
2016-06-05 19:25:30 +00:00
Amine Khaldi
8fff423976 [INETCOMM_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71556
2016-06-05 19:24:01 +00:00
Amine Khaldi
ab5f18229a [INETCOMM] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71555
2016-06-05 19:23:27 +00:00
Amine Khaldi
253dbd04f8 [PSDK] Update mimeole.idl. CORE-11368
svn path=/trunk/; revision=71554
2016-06-05 19:22:51 +00:00
Amine Khaldi
8258225614 [IMAADP32.ACM] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71553
2016-06-05 19:20:32 +00:00
Amine Khaldi
54e9896cae [IMAGEHLP_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71552
2016-06-05 19:18:47 +00:00
Amine Khaldi
bdf05dfe65 [IEFRAME] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71551
2016-06-05 19:18:20 +00:00
Amine Khaldi
6d8185db2f [PSDK] Update htiface.idl and htiframe.idl. CORE-11368
svn path=/trunk/; revision=71550
2016-06-05 19:17:37 +00:00
Amine Khaldi
8436b905ae [ICCVID] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71549
2016-06-05 19:11:42 +00:00
Amine Khaldi
8f5987dd7f [HNETCFG] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71548
2016-06-05 19:10:33 +00:00
Amine Khaldi
a0be6b0961 [GDIPLUS_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71547
2016-06-05 19:09:10 +00:00
Amine Khaldi
f1faf90a60 [GDIPLUS] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71546
2016-06-05 19:08:07 +00:00
Amine Khaldi
709c085e2d [DBGHELP] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71545
2016-06-05 19:05:55 +00:00
Amine Khaldi
83338521dc [CRYPT32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71544
2016-06-05 19:01:41 +00:00
Amine Khaldi
4505fb6902 [CRYPT32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71543
2016-06-05 19:00:43 +00:00
Amine Khaldi
ca71fe522a [COMDLG32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71542
2016-06-05 18:59:07 +00:00
Amine Khaldi
1cb9628323 [COMCTL32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71541
2016-06-05 18:56:37 +00:00
Amine Khaldi
9158c74670 [COMCTL32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71540
2016-06-05 18:52:20 +00:00
Amine Khaldi
1331bd1889 [PSDK] Add missing MCS_SHORTDAYSOFWEEK.
svn path=/trunk/; revision=71539
2016-06-05 18:45:07 +00:00
Amine Khaldi
198d18e749 [AVIFIL32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71538
2016-06-05 18:38:02 +00:00
Amine Khaldi
a34061d674 [WORDPAD] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71537
2016-06-05 18:35:43 +00:00
Amine Khaldi
a25bc0320e [WINHLP32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71536
2016-06-05 18:34:33 +00:00
Hermès Bélusca-Maïto
94b20ff164 [EXPLORER]: Also, sending direct WM_CLOSE messages to the traybar should not close it but instead popup the shutdown dialog. Addendum to r71533.
CORE-4351 CORE-8864

svn path=/trunk/; revision=71535
2016-06-05 14:29:28 +00:00
Hermès Bélusca-Maïto
1cfa76b438 [EXPLORER]: Minor style changes only.
svn path=/trunk/; revision=71534
2016-06-05 14:26:49 +00:00
Hermès Bélusca-Maïto
119d9c8f0b [SHELL32]: In some rare cases, pressing Alt-F4 in ReactOS when the desktop was on focus, just removed the desktop icons. The underlying "progman" window was indeed killed. Sending a WM_CLOSE message to it should not close it directly, but instead prompt the user with the Shutdown dialog. Tests on Windows show that it's indeed the case.
This fix completes r65557.
CORE-4351 CORE-8864

svn path=/trunk/; revision=71533
2016-06-05 14:10:14 +00:00
Hermès Bélusca-Maïto
aa62271497 [SHELL32]: Experiments on Win2k3 reveal that the shell_defview window can be moved if the desktop workarea rectangle changes of size and origin.
svn path=/trunk/; revision=71532
2016-06-05 13:17:55 +00:00
Hermès Bélusca-Maïto
b3a2e6dc2b [SHELL32]
- Use #ifdef __REACTOS__ instead of the #if (as done elsewhere in the code).
- The listview control hosted in a shelldll_defview has its caption named "FolderView".

svn path=/trunk/; revision=71531
2016-06-05 13:15:36 +00:00
Mark Jansen
5e01926bf5 [WIN32SS] Remember the last process that changed the displaymode with CDS_FULLSCREEN, restore mode after it quits. CORE-11358 #resolve
svn path=/trunk/; revision=71529
2016-06-05 11:16:02 +00:00
Pierre Schweitzer
4322caeede |SHELL32]
Don't blindly delete notification item while there are still ongoing user APC.
To do so, we use reference count, and attempt to release in various places: after APC ended, and on notification unregistration.
This avoids race condition with item between usage and freeing and thus use-afree-free (leading to explorer crash) while browsing rapidly accross directories.

CORE-10941 #resolve

svn path=/trunk/; revision=71528
2016-06-05 09:26:00 +00:00
David Quintana
326b3d7e91 [SHELL32]
Sorry, I'm still half asleep. I did need functional changes.

svn path=/trunk/; revision=71527
2016-06-05 09:06:33 +00:00
David Quintana
b4a3cb9acd [SHELL32]
Replace confusing usage of RECT with some actual variables. No functional changes.

svn path=/trunk/; revision=71526
2016-06-05 08:56:57 +00:00
Hermès Bélusca-Maïto
70fcffe67a [SHELL32]
- Pass indistinctly WM_SYSCOLORCHANGE and WM_SETTINGCHANGE messages sent to the shell progman window, down to its children windows (SHELLDLL_DefView and its associated ListView), as shown by tracking windows messages on Win2k3.
- If we receive a WM_SETTINGCHANGE with wParam == SPI_SETWORKAREA, i.e. the desktop working area was modified, we need to resize the underlying DefView, as shown by tracking windows messages on Win2k3. For the moment we implement support for only the primary monitor.
CORE-11375 #resolve
CORE-5618 #resolve
CORE-5620

svn path=/trunk/; revision=71525
2016-06-04 23:34:46 +00:00
Hermès Bélusca-Maïto
d63c3a89ad [SHELL32]
- Minor stylistic whitespace changes.
- Use 'IDA_DESKBROWSER' instead of hardcoding its value.
- The shell progman window uses the COLOR_DESKTOP as its hbrBackground: partly revert r66271.
- Correctly initialize rcDesk structure before using it for a CreateWindowEx call.

svn path=/trunk/; revision=71524
2016-06-04 23:29:34 +00:00
Hermès Bélusca-Maïto
4e9504f015 [SHELL32]
- Whitespace fix.
- SHSetShellWindowEx really directly redirects to user32.SetShellWindowEx.

svn path=/trunk/; revision=71523
2016-06-04 22:58:53 +00:00
Hermès Bélusca-Maïto
1b9a4118a8 [EXPLORER]: Minor stylistic formatting changes; add a notice about a SystemParametersInfoW(SPI_SETWORKAREA) call, concerning its action when explorer's taskbar size is changed.
svn path=/trunk/; revision=71522
2016-06-04 22:57:12 +00:00
Hermès Bélusca-Maïto
a3fdbc7eca [EXPLORER]: Use _countof where needed.
svn path=/trunk/; revision=71521
2016-06-04 22:51:19 +00:00
Hermès Bélusca-Maïto
1b3d6dfdc1 [RSHELL]: When rshell is compiled and used on Windows (as a testing replacement for shell32), it should correctly initialize the shell32_instance handle so that the rest of shell32 code can use something valid!
svn path=/trunk/; revision=71520
2016-06-04 22:50:33 +00:00
Amine Khaldi
fe2ef00a13 [WMIC] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71519
2016-06-04 18:04:03 +00:00
Amine Khaldi
9cd4c53ae9 [CMD_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71518
2016-06-04 18:00:50 +00:00
Amine Khaldi
f3d911bfbb [ADVAPI32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71517
2016-06-04 17:57:35 +00:00
Amine Khaldi
68fb09d514 [REG_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71516
2016-06-04 17:48:49 +00:00
Amine Khaldi
26b5aa3cbd [REG] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71515
2016-06-04 17:48:30 +00:00
Amine Khaldi
af54d8dea0 [MAGNIFY] Resource strings improvements by Henry Tang Ih. CORE-10966
svn path=/trunk/; revision=71514
2016-06-04 17:37:40 +00:00
Mark Jansen
85de8c6ccb [APPSHIM_APITEST] Show a few shims that do not use hooks to function.
svn path=/trunk/; revision=71513
2016-06-04 14:51:38 +00:00
Hermès Bélusca-Maïto
3f87882d7d [EXPLORER]
- Start to convert the code to pure Unicode.
- Use _countof where needed.
- Use UINT for loop counters where the counter value is always positive.
- Some whitespace fixes.

svn path=/trunk/; revision=71512
2016-06-04 14:09:20 +00:00
Giannis Adamopoulos
441ced48c3 [BROWSEUI]
- CExplorerBand: Navigate to the selected item when the selection changes.
- Part of the work submitted by Sylvain Deverre.
CORE-10838

svn path=/trunk/; revision=71510
2016-06-03 21:25:34 +00:00
Giannis Adamopoulos
5596ec9243 [SHELL32]
- HCR_GetClassName is not supposed to be specific for CLSID_MyDocuments
CORE-11363

svn path=/trunk/; revision=71509
2016-06-03 21:00:59 +00:00
Giannis Adamopoulos
25917dcb89 [BROWSEUI]
- CExplorerBand: Implement populating the treeview. You can navigate the shell namespace but clicking on an item doesn't do anything yet.
- Part of the work submitted by Sylvain Deverre. CExplorerBand::InsertItem was rewritten by me to be efficient.
CORE-10838

svn path=/trunk/; revision=71508
2016-06-03 19:35:33 +00:00
Hermès Bélusca-Maïto
0d6d9c18cc [NTDLL]
- In LdrpLoadImportModule, check for import module extension, and append it if not found.
- Fix LdrpLoadImportModule prototype.
CORE-11360

svn path=/trunk/; revision=71507
2016-06-03 19:02:46 +00:00
Robert Naumann
fe0b048d53 [DEVMGMT]Remove a self assignment. CORE-11183
svn path=/trunk/; revision=71505
2016-06-03 08:47:03 +00:00
Hermès Bélusca-Maïto
2d91f643ed [WIN32K][BUILDNO]
Add the compiler ID and version to the ROS version desktop watermark. Idea of encoded & learn_more, thanks :)

[BOOTDATA]
Enable the ROS version desktop watermark on our daily builds.

CORE-11349

svn path=/trunk/; revision=71504
2016-06-02 22:28:36 +00:00
Hermès Bélusca-Maïto
add8172c71 [SNDREC32]: Use a sunken edge for the waveform viewer.
svn path=/trunk/; revision=71503
2016-06-02 21:38:47 +00:00
Sylvain Petreolle
88cbd7c4bd [HIVES]
Fix paths passed to the hive maker.

svn path=/trunk/; revision=71502
2016-06-02 20:21:46 +00:00
Mark Jansen
4847a35732 [APPHELP_APITEST][APPHELP] Add new tests showing that SdbWriteStringTag and SdbEndWriteListTag are incorrect, fix SdbEndWriteListTag CORE-10367
SdbWriteStringTag requires the database to keep track of written strings, and append a stringtable to a database.

svn path=/trunk/; revision=71501
2016-06-02 18:59:04 +00:00
Thomas Faber
f5da7c7b8c [BROWSEUI]
- Avoid a double free in CComCatCachedCategory::CacheDSA. CComHeapPtr already takes care of this.

svn path=/trunk/; revision=71498
2016-06-02 12:19:56 +00:00
Amine Khaldi
31406b0c21 [MSI] Really silence DllRegisterServer MessageBoxes. Addendum to r71483. Spotted by Peter Hater. CORE-11244
svn path=/trunk/; revision=71497
2016-06-02 08:55:58 +00:00
Hermès Bélusca-Maïto
5141cdee91 [i8042prt]: Yet another initialization hack for the PS/2 touchpad of the Dell Latitude E4300 (which has the same problems). Tested with success by contributor "william341".
CORE-11344 CORE-6901

svn path=/trunk/; revision=71496
2016-06-01 23:04:08 +00:00
Hermès Bélusca-Maïto
d5eddcb8c4 [i8042prt]: Add another initialization hack for the PS/2 touchpad of the Dell Latitude D430. Proposed by Victor Martinez Calvo and tested with success by contributor "william341".
I emphasize that such hacks are absent from Windows' i8042prt.sys driver, yet it is able to correctly drive such touchpads.
CORE-11344 #resolve
CORE-6901

svn path=/trunk/; revision=71495
2016-06-01 22:23:56 +00:00
Hermès Bélusca-Maïto
9afc56b93b [DESK.CPL]: Check properly if the StringCbCopy has been copied correctly just by moving the check block to where it belongs.
CID 1322244
Patch by Victor Martinez Calvo
CORE-11212 #resolve

svn path=/trunk/; revision=71493
2016-06-01 21:23:37 +00:00
Giannis Adamopoulos
91c6b947d3 [BROWSEUI]
- CExplorerBand: Implement IOleWindow, IDockingWindow, IDeskBand, IObjectWithSite, IInputObject and IPersist interfaces. This creates and shows an empty tree view control in the bar.
- CShellBrowser: Restore the hack to use the local CExplorerBand instead of the system one.

svn path=/trunk/; revision=71492
2016-06-01 21:12:17 +00:00
Giannis Adamopoulos
c7a10e3a12 [BROWSEUI]
- Remove the proxy implementation of CExplorerBand. Add IDropTarget and IDropSource interfaces.

svn path=/trunk/; revision=71491
2016-06-01 20:13:27 +00:00
Pierre Schweitzer
990964945a [FS_REC]
Fix the UDFS recognizer.
Patch by Pater Hater.

CORE-9816

svn path=/trunk/; revision=71490
2016-06-01 20:13:15 +00:00
Mark Jansen
aa9a01829c [APPHELP] Fix a possible out of bounds write.
svn path=/trunk/; revision=71489
2016-06-01 19:37:25 +00:00
Mark Jansen
271329164d [APPHELP] Remove all NT api usage from sdbwrite, split apphelp.h header out in preparation of xml2sdb CORE-11302
svn path=/trunk/; revision=71488
2016-06-01 19:10:19 +00:00
Hermès Bélusca-Maïto
3f3dd21d90 [BOOTDATA]
- Swap two values so that they are listed in alphabetical order.
- PaintDesktopVersion is a DWORD value, as such, use a correct initializer.

svn path=/trunk/; revision=71487
2016-06-01 15:34:56 +00:00
Hermès Bélusca-Maïto
30c8acce49 [WIN32K]
Display a nice ReactOS version desktop watermark (with different fonts) when the corresponding registry values are set.
See http://winaero.com/blog/a-new-way-to-display-the-windows-version-on-your-desktop/ for more details (which works on Windows 2003 too).
CORE-11349 #resolve

svn path=/trunk/; revision=71486
2016-06-01 15:24:38 +00:00
Hermès Bélusca-Maïto
f61200c5d3 [BASESRV]
- Always NULL-terminate the cached CSDVersion string.
- Alex wrote most of this file! Attribute to him too.

svn path=/trunk/; revision=71485
2016-06-01 13:22:33 +00:00
Hermès Bélusca-Maïto
2c7124382b [WIN32K]: Avoid (LPWSTR) casts on strings that are LPCWSTR, by just using the corresponding const type LPCWSTR in the functions parameters.
svn path=/trunk/; revision=71484
2016-06-01 13:20:18 +00:00
Christoph von Wittich
b98bfa81af [MSI] silence DllRegisterServer MessageBoxes CORE-11244
svn path=/trunk/; revision=71483
2016-06-01 09:12:22 +00:00
Thomas Faber
2c220df020 [ACPICA]
- Define ACPI_USE_SYSTEM_CLIBRARY to use our libc functions rather than acpica's own implementations. Fixes MSVC release build and obsoletes some ROS-diffs
CORE-11184 #resolve

svn path=/trunk/; revision=71482
2016-06-01 07:32:30 +00:00
Thomas Faber
d317d4fbcc [CRT]
- Introduce an strtol static library that drivers can use to get access to strtol-style functions
CORE-11184

svn path=/trunk/; revision=71481
2016-06-01 07:09:50 +00:00
Thomas Faber
fd9cdcb64f [CRT]
- Give strtoi64_l and strtoul_l their missing leading underscores

svn path=/trunk/; revision=71480
2016-06-01 07:07:57 +00:00
Hermès Bélusca-Maïto
1e655de0a0 [REACTOS]: Turn tabs into spaces + indent.
svn path=/trunk/; revision=71479
2016-05-31 23:02:46 +00:00
Hermès Bélusca-Maïto
982dd1a3c6 [REACTOS][ROSAPPS][ROSSUBSYS]
The buildno #defines KERNEL_RELEASE_STR, KERNEL_RELEASE_RC (introduced in r756 17 years ago), and REACTOS_DLL_RELEASE_STR, REACTOS_DLL_RELEASE_RC (introduced in r11297 12 years ago) are things that never really caught out in our project. They were actually eclipsed in favour of the more common KERNEL_VERSION_STR and co. in our code.
I therefore remove the very last remains of the old KERNEL_RELEASE_xxx defines and replace them with KERNEL_VERSION_xxx ones.

svn path=/trunk/; revision=71478
2016-05-31 22:36:48 +00:00
Mark Jansen
d37cb8f5ad [APPHELP][ACLAYER][APPSHIM_APITEST] Fix some WCHAR hack constructions that VS 2010 didn't like, as pointed out by Hermès
svn path=/trunk/; revision=71477
2016-05-31 18:02:54 +00:00
Mark Jansen
487956500e [SHELL32] Rename CShell to CShellDispatch CORE-6892
svn path=/trunk/; revision=71476
2016-05-31 17:40:44 +00:00
Giannis Adamopoulos
a392e06a26 [BROWSEUI]
- Implement CShellBrowser::Navigate and CShellBrowser::Navigate2.
- Part of the work submitted by Sylvain Deverre.
CORE-10838

svn path=/trunk/; revision=71475
2016-05-31 14:57:05 +00:00
Giannis Adamopoulos
584260d6ae [BROWSEUI]
- Implement the toolbar that allows the user to close the band.
- Part of the work submitted by Sylvain Deverre.
CORE-10838

svn path=/trunk/; revision=71474
2016-05-31 14:52:18 +00:00
Giannis Adamopoulos
60b1d9b8d4 [BROWSEUI]
- CShellBrowser: Implement the Explrer bar menu. Implement checking if a band is already loaded. Destroy all bands while destroying the browser window. Misc changes.
- Part of the work submitted by Sylvain Deverre.
CORE-10838

svn path=/trunk/; revision=71473
2016-05-31 14:42:01 +00:00
Giannis Adamopoulos
1764bca67a [BROWSEUI]
- Fix a crash that can happen under weird circumstances.
- Part of the work submitted by Sylvain Deverre.
CORE-10838

svn path=/trunk/; revision=71472
2016-05-31 14:02:58 +00:00
Giannis Adamopoulos
19ee935a70 [BROWSEUI]
- Implement SHEnumClassesOfCategories
- Part of the work submitted by Sylvain Deverre.
CORE-10838

svn path=/trunk/; revision=71471
2016-05-31 13:39:42 +00:00
Robert Naumann
49c56d1976 [IERNONCE]Add Chinese and Malay translations. Patch by Henry Tang Ih. CORE-11022
svn path=/trunk/; revision=71470
2016-05-31 11:15:25 +00:00
Robert Naumann
c4e5821cb9 [SHIMGVW]Replacement for SHIMGVW control button bitmaps. Work by "dsp8195". CORE-11145
svn path=/trunk/; revision=71469
2016-05-31 10:59:04 +00:00
Robert Naumann
4f84951574 [COMCTL32][COMDLG32] Fix Esperanto localization. Patch by Mike Swanson. CORE-11264
svn path=/trunk/; revision=71468
2016-05-31 10:48:53 +00:00
Robert Naumann
3894367a3a [TASKMGR] Change "Mem Usage" status text. Patch by Tim Crawford. Use the more familiar term "Commit Charge" instead.
-Addition: Also apply this for greek and hewbrew CORE-10250

svn path=/trunk/; revision=71467
2016-05-31 10:31:16 +00:00
Robert Naumann
bf3287e7fe [CALC] Use ShellAbout for the about dialog in Calc. Patch by Jason Wendt. Thank You.
- Addition by me: delete about.c as well as ROS_logo.bmp CORE-11346

svn path=/trunk/; revision=71466
2016-05-31 08:04:18 +00:00
Giannis Adamopoulos
8636217b7d [BROWSEUI]
- Implement most methods of IBandSite for CBaseBarSite.
- Part of the work submitted by Sylvain Deverre.
CORE-8814 and CORE-10838

svn path=/trunk/; revision=71465
2016-05-30 22:38:36 +00:00
Hermès Bélusca-Maïto
c77272a3e6 [SHELL32]
It is enough to check the "ListviewShadow" registry setting for deciding whether or not the desktop icons should be transparent.
Now we also get transparent icons in safe mode with no wallpaper.
Thanks Jared Smudde for having pointing this out to me.

svn path=/trunk/; revision=71464
2016-05-30 21:30:25 +00:00
Giannis Adamopoulos
1c979e2bfb [BROWSEUI]
- Move the implementation of the search button from CInternetToolbar to CShellBrowser.
- Part of the work submitted by Sylvain Deverre.
CORE-8814 and CORE-10838

svn path=/trunk/; revision=71463
2016-05-30 20:52:05 +00:00
Giannis Adamopoulos
287a8f22f0 [BROWSEUI]
- Implement CBaseBar::ShowDW and CBaseBar::CloseDW.
- Simplify CBaseBar::SetClient.
- Implement resizing support for CBaseBar.

svn path=/trunk/; revision=71462
2016-05-30 20:37:40 +00:00
Giannis Adamopoulos
25f1b9eb0b [BROWSEUI]
- CBaseBar, CBaseBarSite: Implement IInputObject and IInputObjectSite interfaces
- Part of the work submitted by Sylvain Deverre. Simplified by me.
CORE-8814 and CORE-10838

svn path=/trunk/; revision=71461
2016-05-30 20:28:30 +00:00
Giannis Adamopoulos
9a118725bf [BROWSEUI]
- CBaseBar, CBaseBarSite: Add an initialization method in order to set the basebar and the basebar site as vertical.
- CShellBrowser: Create the basebar and the basebar site with the right orientation.
- Part of the work submitted by Sylvain Deverre.
CORE-8814 and CORE-10838

svn path=/trunk/; revision=71460
2016-05-30 20:02:45 +00:00
Giannis Adamopoulos
7e3d0a9bbd [BROWSEUI]
- Update the definition of SHEnumClassesOfCategories.
- Part of the work submitted by Sylvain Deverre.
CORE-8814 and CORE-10838

svn path=/trunk/; revision=71459
2016-05-30 19:47:09 +00:00
Hermès Bélusca-Maïto
2fc99cfd7f [CMD]: Harmonize CMD's welcome versioning message format with the one used in the VER command.
svn path=/trunk/; revision=71458
2016-05-29 17:21:44 +00:00
Hermès Bélusca-Maïto
39ed4ee85f [WIN32K]: Improvements to IntPaintDesktop:
- Recycle the 'Rect' variable instead of introducing a new one.
- Adapt the colour of the ROS desktop version text according to the desktop brush used and/or whether a wallpaper is used. This is inspired from what is done in the shell.

svn path=/trunk/; revision=71457
2016-05-29 15:24:53 +00:00
Hermès Bélusca-Maïto
ee14b3c341 [SHELL32]: Correctly clear the listview transparent shadow text flag.
svn path=/trunk/; revision=71456
2016-05-29 14:55:29 +00:00
Hermès Bélusca-Maïto
411cee2f02 [WIN32K]
- Write the desktop version string using user-defined font (the same as the one used for window caption titles).
- Reorganize a bit the code of IntPaintDesktop.

svn path=/trunk/; revision=71455
2016-05-29 13:18:05 +00:00
Pierre Schweitzer
a8ebfc7774 [DNSAPI]
Don't attempt to dereference a null-ptr in case of DNS resolution failure.

svn path=/trunk/; revision=71454
2016-05-29 12:12:15 +00:00
Pierre Schweitzer
0a04ca9713 [FREELDR]
Properly count used/unused partitions.
This fixes booting ReactOS when it is installed on a partition entry after an unused partition entry.
Patch by Wim Hueskes

CORE-11330 #resolve

svn path=/trunk/; revision=71453
2016-05-29 08:14:24 +00:00
Hermès Bélusca-Maïto
3e96c56d45 [DESK.CPL]
- Remove redundant UI elements in the "Advanced appearance" dialog.
- Add the possibility to modify the colors of inactive caption bar text and flat menu highlight (for XP/2k3+ only).

svn path=/trunk/; revision=71452
2016-05-29 00:57:31 +00:00
Eric Kohl
86ae503348 [MSPAINT]
Update russian translation
Patch by BinaryTree
CORE-10740 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71451
2016-05-28 22:40:34 +00:00
Hermès Bélusca-Maïto
9016ae61e6 [DESK.CPL]
- Fix french translation;
- Whitespace fix.

svn path=/trunk/; revision=71450
2016-05-28 22:05:48 +00:00
Eric Kohl
4c88138425 [SERVICES]
Prepare service logon.

svn path=/trunk/; revision=71449
2016-05-28 21:56:56 +00:00
Mark Jansen
1ddc5f058e [APPHELP_APITEST] Update embedded database to actually match the embedded exe again.
svn path=/trunk/; revision=71448
2016-05-28 21:46:24 +00:00
Mark Jansen
5d086596ff [APPSHIM_APITEST] Move versionlie tests to a dedicate shim-test binary.
svn path=/trunk/; revision=71447
2016-05-28 21:33:56 +00:00
Hermès Bélusca-Maïto
f1d8ae6b1a [FREELDR]: Usability fix: When pressing F8 (Advanced boot options menu), select "Start ReactOS normally" by default.
svn path=/trunk/; revision=71446
2016-05-28 20:21:11 +00:00
Pierre Schweitzer
4de2debfbb [KMTESTS:CC]
Introduce tests for Cc :-)
Currently, we only test CcCopyRead for specific alignment matters. It shows that under certain conditions, our Cc doesn't align reads it does, leading to later failure in disk.sys.
This reproduces an error observed with MS FastFAT in ReactOS.

CORE-11003

svn path=/trunk/; revision=71445
2016-05-28 19:59:10 +00:00
Hermès Bélusca-Maïto
b68e07fbaa [WIN32K]: Whitespace fix only.
svn path=/trunk/; revision=71444
2016-05-28 19:48:44 +00:00
Hermès Bélusca-Maïto
2047efde02 [DESK.CPL]
- Only use the minimum required registry rights needed in RegOpenKeyEx and RegCreateKeyEx calls.
- Fix SetDesktopBackColor function where we tried to save the selected desktop background color in the registry only in the case where opening the corresponding registry key actually failed... >_>
  Now we do the right thing!

svn path=/trunk/; revision=71443
2016-05-28 19:12:14 +00:00
Mark Jansen
cc1a5a5932 [APPHELP][APPHELP_APITEST] Implement various VersionLie shims. CORE-11299 #resolve
- Implement VersionLie shims
- Add tests for the VersionLie shims
- update get_host_winver prototype (thanks to Thomas for pointing out my err)

We cannot apply this shim yet, since a required part of the infrastructure is missing.

svn path=/trunk/; revision=71442
2016-05-28 17:55:56 +00:00
Hermès Bélusca-Maïto
15082cc9fc [SHELL32]: Always paint the desktop listview transparent. This allows explorer to display the default desktop background color set by win32k as well as the ReactOS version on the desktop.
See also r66271 and r66752.

svn path=/trunk/; revision=71441
2016-05-28 16:59:55 +00:00
Mark Jansen
605449d0fe [APPHELP] Register AppPatch directory with cmake, import SdbGetAppPatchDir implementation from Mislav Blažević CORE-10369
svn path=/trunk/; revision=71440
2016-05-28 16:47:39 +00:00
Mark Jansen
b6d0f03c96 [APPHELP] Begin shimlib implementation. CORE-11329
Implement some macro's and functions that help when registering shims.
These are all written in C, so that wine can use the shim libraries as well.

svn path=/trunk/; revision=71439
2016-05-28 16:42:57 +00:00
Hermès Bélusca-Maïto
849c418010 [KDCOM]: Properly revert the commits.
svn path=/trunk/; revision=71438
2016-05-28 15:54:44 +00:00
Timo Kreuzer
c6a6ac928a Revert a mistake commit...
svn path=/trunk/; revision=71437
2016-05-28 15:51:44 +00:00
Timo Kreuzer
5917e9e09d Patch "works": continue vs return stuff
svn path=/trunk/; revision=71436
2016-05-28 15:46:49 +00:00
Hermès Bélusca-Maïto
a7618ad8b5 [TIMEDATE.CPL]: Do not hardcode some of the buffer lengths.
CORE-11284

svn path=/trunk/; revision=71435
2016-05-28 15:23:00 +00:00
Eric Kohl
6ce8ee357a [NETSHELL]
German translation and fixed layout
Patch by reactosfanboy.
CORE-11278 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71434
2016-05-28 00:18:39 +00:00
Eric Kohl
345ad196e3 [TIMEDATE]
Fixes and improvements to datetime CPL applet.
Patch by Carlo Bramini.
Replaced the original RegLocalQuery() by QueryTimezoneData() to simplify the error handling.
Modification by Eric Kohl.
CORE-11284 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71433
2016-05-28 00:12:02 +00:00
Pierre Schweitzer
be0e0e64a7 [REISERFS]
r71430, repetita

svn path=/trunk/; revision=71432
2016-05-27 20:35:44 +00:00
Pierre Schweitzer
28fd35b834 [DOC]
Add a file to track imported FSD and their release

svn path=/trunk/; revision=71431
2016-05-27 20:32:45 +00:00
Pierre Schweitzer
101f7947a5 [FFS]
We don't need that file

CORE-11040

svn path=/trunk/; revision=71430
2016-05-27 17:52:03 +00:00
Pierre Schweitzer
189f1859ee [FS_REC]
Add support for FFS volumes.
Patch by Peter Hater.

This is done for FFS support! Enjoy :-)

CORE-11040 #resolve

svn path=/trunk/; revision=71429
2016-05-27 12:18:47 +00:00
Pierre Schweitzer
c16cf7dece [PSDK]
Now, ReactOS recognizes the FFS partition :-)

CORE-11040

svn path=/trunk/; revision=71428
2016-05-27 12:13:49 +00:00
Pierre Schweitzer
bb5e205150 [FFS]
Enable the FFS support.
Patch by Peter Hater.

CORE-11040

svn path=/trunk/; revision=71427
2016-05-27 12:12:18 +00:00
Pierre Schweitzer
88f0e76715 [AUTOCHK]
Add support for FFS

CORE-11040

svn path=/trunk/; revision=71426
2016-05-27 12:11:15 +00:00
Pierre Schweitzer
3a3ef631d1 [FFS]
Import the FFS driver by Jae-Hong Lee.
Patch by Peter Hater

CORE-11040

svn path=/trunk/; revision=71425
2016-05-27 12:08:38 +00:00
Pierre Schweitzer
c8fc495780 [UFFS]
Add the FFS DLL

CORE-11040

svn path=/trunk/; revision=71424
2016-05-27 12:05:40 +00:00
Pierre Schweitzer
126b96aee1 [FFSLIB]
Stub the FFS lib

CORE-11040

svn path=/trunk/; revision=71423
2016-05-27 12:04:45 +00:00
Hermès Bélusca-Maïto
5fa287634d [REACTOS]: Add a desktop shortcut to the ReadMe file of ReactOS, on both the livecd and installation. Useful for people discovering ReactOS for the first time.
svn path=/trunk/; revision=71422
2016-05-27 01:06:35 +00:00
Hermès Bélusca-Maïto
09084fe16a [INCLUDES] probe.h: use ExFreePoolWithTag for releasing unicode strings capture, and fully clear up said strings.
svn path=/trunk/; revision=71421
2016-05-26 23:17:59 +00:00
Hermès Bélusca-Maïto
c9493245e5 [WIN32K]: it can be useful to have a TAG_USTR for unicode strings.
svn path=/trunk/; revision=71420
2016-05-26 23:16:10 +00:00
Hermès Bélusca-Maïto
97032dd167 [NETSHELL]: Fix french orthograph.
svn path=/trunk/; revision=71419
2016-05-26 22:36:57 +00:00
Pierre Schweitzer
b6e9ec7df1 [USETUP]
Don't override the hidden sectors value set during format when seting up bootsector.
This allows installing ReactOS on a FAT partition that doesn't start on sector 63. Successfully tested with a partition starting on sector 2048, for instance.
Patch by Wim Hueskes

CORE-8825 #resolve #comment Committed in r71418. Thanks for the debugging and the patch!

svn path=/trunk/; revision=71418
2016-05-26 20:50:44 +00:00
Pierre Schweitzer
a1a1d0917e [FS_REC]
Add support for ReiserFS volumes.
Patch by Peter Hater.

This is done for ReiserFS support! Enjoy :-)

CORE-11005 #resolve

svn path=/trunk/; revision=71417
2016-05-26 18:17:19 +00:00
Pierre Schweitzer
d54f933810 [REISERFS]
Enable the ReiserFS support.
Patch by Peter Hater.

CORE-11005

svn path=/trunk/; revision=71416
2016-05-26 18:14:52 +00:00
Pierre Schweitzer
89138635e9 [AUTOCHK]
Add support for ReiserFS

CORE-11005

svn path=/trunk/; revision=71415
2016-05-26 18:12:36 +00:00
Pierre Schweitzer
0c5c8461eb [REISERFS]
Enable ReiserFS FSD build

CORE-11005

svn path=/trunk/; revision=71414
2016-05-26 18:11:57 +00:00
Pierre Schweitzer
fd78690041 [UREISERFS]
Add the ReiserFS DLL

CORE-11005

svn path=/trunk/; revision=71413
2016-05-26 18:10:20 +00:00
Pierre Schweitzer
7cc10e7297 [REISERFSLIB]
Stub the ReiserFS lib

CORE-11005

svn path=/trunk/; revision=71412
2016-05-26 18:08:42 +00:00
Pierre Schweitzer
f0a44d618b [EXT2]
Upgrade the driver to release 0.66.

CORE-11295 #resolve #comment Committed in r71411

svn path=/trunk/; revision=71411
2016-05-26 17:10:02 +00:00
Pierre Schweitzer
e6b12e4774 [NTOSKRNL]
Cherry pick r71407 by Trevor Thompson:
- Rewrote FsRtlGetNextBaseMcbEntry(), FsRtlLookupBaseMcbEntry(), and FsRtlNumberOfRunsInBaseMcb() using simpler logic.

This finally fixes broken MCB handling in ReactOS and allows FSDs relying on MCB to properly work in ReactOS!

CORE-11002 #resolve #comment Fixed in r71409

svn path=/trunk/; revision=71409
2016-05-26 16:35:45 +00:00
Eric Kohl
a5a8ffb511 [SERVMAN]
GetServiceConfig: Use only the required access rights. Makes servman usable for non-admin users.

svn path=/trunk/; revision=71408
2016-05-26 15:48:46 +00:00
Pierre Schweitzer
0b68260492 [NTOSKRNL]
Rework a bit the way mapping and pinning is working in ReactOS Cc. This is still wrong regarding the way Windows does it, but at least, it offers us more features for a more compatible behavior exposed to FSDs.
First of all, reintroduce the mutex used to lock VACB. Moving there to a resource wasn't enough to work address the issue. This reverts r71387.
Introduce the resource in the BCB, as it should be. This resource will be unused until pinning occurs. In such case, the VACB mutex gets unused so that we can get the BCB released by another thread without deadlocking the associated VACB.
The VACB can be locked again after the last unpinning operation.
Basically, that fixes drivers than pin in a thread and unpin in another thread, after having changed BCB owner. Until now, it would just have deadlock or crashed ReactOS.
The implementation of this preserves hacks and stubplementations already in place in Cc (let's say it's another hack on top of hacks).
It was successfully tested with Ext2Fsd 0.66.

Short summary:
- Replace the VACB resource by a mutex
- Introduce a resource in the BCB
- Fixed CcPinRead() implementation so that it respects PIN_EXCLUSIVE flag
- Implement CcUnpinDataForThread() so that it can unpin data which ownership was changed
- Implement CcSetBcbOwnerPointer() so that it properly set BCB owner and allows unpinning with CcUnpinDataForThread()

CORE-11310 #resolve #comment Committed in r71406

svn path=/trunk/; revision=71406
2016-05-26 12:09:05 +00:00
Pierre Schweitzer
c43741c804 [NTOSKRNL]
On CcInitializeCacheMap() call, keep track of the PinAccess value so that we can later check it on pinning.
It shouldn't be set to FALSE when the user attempts to perform pinning

CORE-11310

svn path=/trunk/; revision=71404
2016-05-26 11:50:42 +00:00
Hermès Bélusca-Maïto
3caf22d458 [USER32]: Remove a leftover from r59868.
svn path=/trunk/; revision=71403
2016-05-26 00:53:54 +00:00
Hermès Bélusca-Maïto
642c228981 [KERNEL32]: Indentation fix only.
svn path=/trunk/; revision=71402
2016-05-25 20:49:40 +00:00
Mark Jansen
bf1990897f [APPHELP_APITEST] Remove some code duplication.
svn path=/trunk/; revision=71400
2016-05-25 17:22:47 +00:00
David Quintana
b6bc3df218 [KERNEL32]
* Return TRUE from SetThreadStackGuarantee. Allows .NET 2.0 setup to complete and consequently allows some .net apps to work in ReactOS. Patch by the self-proclaimed Master of The Universe, Samuel Serapión.

svn path=/trunk/; revision=71399
2016-05-25 14:47:02 +00:00
Thomas Faber
412f0d26d0 [NTOS:EX]
- Use the calling thread instead of the passed-in thread to validate APC status in ExReleaseResourceForThreadLite. The latter can be user-set and might not be a KTHREAD at all.
CORE-11315 #resolve

svn path=/trunk/; revision=71398
2016-05-25 10:27:17 +00:00
Hermès Bélusca-Maïto
6305b9d645 [NTDLL]
Add exports for RtlOemStringToUnicodeSize, RtlUnicodeStringToAnsiSize and RtlUnicodeStringToOemSize as redirections to suitable Rtlx*** functions, as done in our ntoskrnl (and as on Windows either).
This should fix MSYS2 start on ReactOS.
CORE-10459 #comment Please retest!

svn path=/trunk/; revision=71397
2016-05-24 19:57:29 +00:00
Mark Jansen
eb98416097 [CRT] Partially sync strtoi64 with Wine Staging 1.9.9. Patch by Samuel Serapión CORE-11174 #resolve #comment Thanks!
svn path=/trunk/; revision=71396
2016-05-24 19:27:57 +00:00
Pierre Schweitzer
fff779dd5b [KMTESTS]
Add test for ExSetResourceOwnerPointer() and ExReleaseResourceForThreadLite()

CORE-11310

svn path=/trunk/; revision=71395
2016-05-24 08:13:17 +00:00
Eric Kohl
51881431dd [SERVICES]
- RChangeServiceConfigA/W: Modify or delete password secrets.
[ADVAPI32]
- ChangeServiceConfigA, CreateServiceA: Convert passwords to Unicode before passing them to the remote functions.

svn path=/trunk/; revision=71394
2016-05-23 21:48:32 +00:00
Pierre Schweitzer
0977ee2d46 [NTOSKRNL]
Fix misleading comment

svn path=/trunk/; revision=71393
2016-05-23 21:14:49 +00:00
Pierre Schweitzer
990c8c2740 [NTOSKRNL]
In Cc, replace the Vacb mutex by a Bcb resource.
Note that the resource is still placed in the Vacb by it belongs to the Bcb.
This is required to really implement CcSetBcbOwnerPointer().

CORE-11310

svn path=/trunk/; revision=71387
2016-05-23 19:47:39 +00:00
Eric Kohl
197eafa50e [SERVICES]
RCreateServiceW: Store a given password as a secret.

svn path=/trunk/; revision=71386
2016-05-23 15:02:37 +00:00
Eric Kohl
1dc0ccde6a [ADVAPI32]
Implement LogonUserEx[A/W].

svn path=/trunk/; revision=71385
2016-05-23 13:53:24 +00:00
Hermès Bélusca-Maïto
dca4fd46af [ADVAPI32]: Implement all the Elf*** event log APIs as wrappers around the corresponding RPC calls, and the Win32 APIs just become calls to the Elf*** APIs.
svn path=/trunk/; revision=71384
2016-05-23 02:03:49 +00:00
Hermès Bélusca-Maïto
4b98341168 [IDL]: Whitespace fixes only.
svn path=/trunk/; revision=71383
2016-05-22 22:20:25 +00:00
Thomas Faber
a315554938 [RTL]
- Return the ACE pointer from RtlFirstFreeAce also if it is at the end of the ACL buffer.
CORE-11304 #resolve

svn path=/trunk/; revision=71382
2016-05-22 22:11:54 +00:00
Mark Jansen
f03661d8e1 [APPHELP][APPHELP_APITEST] Add more db tests and implement SdbGetDatabaseVersion. CORE-10367
svn path=/trunk/; revision=71381
2016-05-22 20:39:41 +00:00
Mark Jansen
a6879a9948 [APPHELP][APPHELP_APITEST] Implement most of sdbread and sdbwrite, mainly the work of Mislav Blaževic, with some small additions from me. CORE-10367
svn path=/trunk/; revision=71380
2016-05-22 20:27:02 +00:00
Thomas Faber
5a7f64ba98 [SETUPAPI]
- Fix Buffer overflow in FixupServiceBinaryPath

svn path=/trunk/; revision=71379
2016-05-22 19:09:49 +00:00
Hermès Bélusca-Maïto
859060f887 [EVENTVWR]
- Fix the flags used in LoadLibraryEx calls for loading DLLs as resource files.
- Use a nice flag (FORMAT_MESSAGE_MAX_WIDTH_MASK) in FormatMessage calls so that no useless extra newlines are appended to the message strings that are recovered.
  This is especially useful when some strings as localized event log names are retrieved to be displayed in the menu (amongst other things)...
  This fixes CORE-8915 and fixes also the presentation of some event descriptions.
- Fix BuildLogList.

svn path=/trunk/; revision=71378
2016-05-22 19:00:55 +00:00
Hermès Bélusca-Maïto
5e80e9c714 [EVENTVWR]
- Set window parent for different MessageBox calls.
- Add a notice in ShowStatusMessageThread concerning a potential bug.
- Rename strings "Save Protocol" into "Save Event Log"; adjust translations in this regard.

svn path=/trunk/; revision=71377
2016-05-22 17:17:33 +00:00
Hermès Bélusca-Maïto
bd5fd5d6c0 [EVENTVWR]
- Fix a typo in the "loading, wait" dialog.
- Use a RichEdit control for the detailed event description text, so that we can have for free clickable URLs.
- Use "Courier New" as the font for the event data text, so that we can have finer grained control over the font size...

svn path=/trunk/; revision=71376
2016-05-22 16:19:55 +00:00
Pierre Schweitzer
e923b0875b [PSDK]
Define STATUS_FILE_LOCKED_WITH_ONLY_READERS and STATUS_FILE_LOCKED_WITH_WRITERS

CORE-11295

svn path=/trunk/; revision=71375
2016-05-22 13:22:52 +00:00
Eric Kohl
aab801e496 [EVENTVWR]
Display event data properly.

svn path=/trunk/; revision=71374
2016-05-22 12:15:30 +00:00
Thomas Faber
be92945d81 [SCHANNEL]
- Set received length to zero when the receive result is MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY instead of pretending we got data
CORE-11285 #resolve

svn path=/trunk/; revision=71373
2016-05-22 10:56:22 +00:00
Thomas Faber
88af808d05 [SCHANNEL]
- Correctly check for ROS_SCHAN_IS_BLOCKING
CORE-11285

svn path=/trunk/; revision=71372
2016-05-22 10:53:23 +00:00
Thomas Faber
0a56cd3a03 [UNIATA]
- When handling CD READ_CAPACITY requests in AtapiInterrupt__, fully rewind the DataBuffer instead of relying on the last read length. Fixes crash on first stage boot in KVM.
CORE-11286 #resolve
CORE-11296

svn path=/trunk/; revision=71371
2016-05-22 10:25:24 +00:00
Pierre Schweitzer
02fde17b6f [VFATLIB]
Update the amount of FAT entries taking into account that the first two are reserved and thus not usable.

Patch by Wim Hueskes

CORE-11283 #resolve #comment Committed in r71370, thanks for your patch!

svn path=/trunk/; revision=71370
2016-05-22 07:56:45 +00:00
Pierre Schweitzer
3fa137bf9c [SYSSETUP]
Update acknowledgements regarding imported FSDs in ReactOS.

Thanks Matt Wu and Mark Harmstone for your great work!

svn path=/trunk/; revision=71369
2016-05-22 07:56:23 +00:00
Hermès Bélusca-Maïto
c1ecc98f60 [EVENTVWR]
- Fix the window styles of the edit boxes in the event details dialog.
- Refactor some parts of the code to reduce the level of code indentation.
- Replace malloc/free by their Win32 counterparts HeapAlloc/HeapFree.
- When caching the full contents of a given event log, don't load at this point the event text/data. Only load those when opening the event details dialog.

svn path=/trunk/; revision=71368
2016-05-22 00:34:40 +00:00
Hermès Bélusca-Maïto
2c1a9b0f07 [EVENTVWR]
- Finish to convert the app to full unicode;
- Don't hardcode buffer lengths in function calls;
- Remove useless #pragma incantation;
- Whitespace fix.

svn path=/trunk/; revision=71367
2016-05-21 21:44:14 +00:00
Hermès Bélusca-Maïto
3c65b5a5a2 [FREELDR]: Increase again the number of BIOS memory descriptors to 80.
CORE-11247 #comment Please retest.

svn path=/trunk/; revision=71366
2016-05-21 16:12:31 +00:00
Eric Kohl
b666112fa1 [SAMSRV]
Implement SamrGetDomainPasswordInformation.

svn path=/trunk/; revision=71365
2016-05-21 15:05:49 +00:00
Eric Kohl
c26a5012b8 [SAMSRV]
Add LM_OWF_PASSWORD and NT_OWF_PASSWORD types and use them.
See MS-NRPC sections 2.2.1.1.1 to 2.2.1.1.4.

svn path=/trunk/; revision=71364
2016-05-21 13:12:53 +00:00
Pierre Schweitzer
2eca65d304 [NETSHELL]
Update French translation

CORE-10955

svn path=/trunk/; revision=71363
2016-05-21 09:40:18 +00:00
Mark Jansen
c04d14f8bb [MBEDTLS][SCHANNEL] Export mbedtls_ssl_config_free and use it. Patch by Peter Hater. CORE-11270 #resolve #comment Thanks!
svn path=/trunk/; revision=71362
2016-05-20 17:09:56 +00:00
Amine Khaldi
915ed50c3f [SDK][CMAKE] The CMake folder is part of our SDK. CORE-9111
svn path=/trunk/; revision=71361
2016-05-20 16:06:48 +00:00
Robert Naumann
507c4db50d [TASKMGR] improvement german: too long string in statusbar - Patch by Joachim Henze.
svn path=/trunk/; revision=71360
2016-05-19 22:41:08 +00:00
Hermès Bélusca-Maïto
fe1096e0c0 [SDK/INCLUDE]: Fix a typo in ntstatus.mc (Debuger --> Debugger).
svn path=/trunk/; revision=71359
2016-05-19 22:18:11 +00:00
Hermès Bélusca-Maïto
c294e76682 [SDK/INCLUDE]: Fix ntstatus.mc: extra end-line whitespace and erroneous newlines at the end of the messages.
svn path=/trunk/; revision=71358
2016-05-19 21:22:41 +00:00
Thomas Faber
28b4a2412b [AFD]
- Don't overwrite values in a completed IRP in ReceiveActivity
CORE-11276 #resolve

svn path=/trunk/; revision=71357
2016-05-19 21:17:18 +00:00
Eric Kohl
811a8408d0 [NETSHELL]
- Provide a common struct for the network setup data.
- Remember the typical/custom setup decision in order to return to the proper previous page when we click the 'Back' button on the domain page.
- Rename network setup page functions in a consistent way.
CORE-10955

svn path=/trunk/; revision=71356
2016-05-19 13:42:37 +00:00
Thomas Faber
6b27b08a69 [SERVICES]
- On service stop, set Service->lpImage to NULL after calling ScmDereferenceServiceImage, so the same image is not dereferenced again on service deletion
- Do not call ScmDereferenceServiceImage in CreateServiceListEntry, as the service should never have an image there
CORE-11273 #resolve

svn path=/trunk/; revision=71355
2016-05-19 13:01:04 +00:00
Thomas Faber
407f2e8218 [ACPI]
- Correctly double-null-terminate hardware IDs
CORE-11271 #resolve

svn path=/trunk/; revision=71354
2016-05-19 10:15:15 +00:00
Hermès Bélusca-Maïto
63318080ba [NETSHELL]
Addendum to r71348:
Fix MSVC build: "netshell\lang/de-DE.rc(87) : warning RC2182 : duplicate dialog control ID 3501" . Both IDC_NETWORK_TYPICAL and IDC_NETWORK_CUSTOM setup wizard pages had this same ID.
Obviously, GCC didn't catch this error. But the generated code would not have worked as expected.

CORE-10955 #comment [~milawynsrealm], please retest with r71353.

svn path=/trunk/; revision=71353
2016-05-18 21:49:31 +00:00
Colin Finck
270d4db920 Test commit to fix the nightmare caused by "previous" r71352.
See https://reactos.org/archives/public/ros-dev/2016-May/017845.html

svn path=/trunk/; revision=71352
2016-05-18 17:01:01 +00:00
Robert Naumann
59c83ddfe9 [SHELL32] Addendum to r71343: Remove some unneeded checks. The handles are initialized as NULL so they will never be true
svn path=/trunk/; revision=71351
2016-05-18 10:12:13 +00:00
Robert Naumann
0b4cad0a63 [TASKMGR] Use the correct title string for create new task dialog. Spotted by Jared Smudde. CORE-11129
svn path=/trunk/; revision=71350
2016-05-18 08:30:45 +00:00
Hermès Bélusca-Maïto
f02a81b1d9 [ROSAPPS/RDESKTOP]: Fix an heresy in the code.
svn path=/trunk/; revision=71349
2016-05-17 22:44:47 +00:00
Eric Kohl
97f7bbfc4b [SYSSETUP/NETSHELL]
2nd Stage Network Setup
Patch by Lee Schroeder and Eric Kohl.
- Move Lees 2nd stage network setup wizard code to netshell. It gets called by syssetup via NetSetupRequestWizardPages().
- Add code to syssetup which calls NetSetupRequestWizardPages and inserts the retrieved wizard pages into the setup wizard.
- Prevent a font handle leak by storing the bold font handle in the SetuData.

CORE-10955 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71348
2016-05-17 22:38:58 +00:00
Mark Jansen
256737ae18 [PSDK] now the ICurrentWorkingDirectory interface is actually an interface.
svn path=/trunk/; revision=71347
2016-05-16 18:50:14 +00:00
Eric Kohl
6f7967123d [NETAPI32]
Add NetGetAnyDCName stub.
CORE-11261 #comment Please test again!

svn path=/trunk/; revision=71346
2016-05-16 18:34:52 +00:00
Mark Jansen
ebd1e3d611 [BROWSEUI_APITEST] Add tests for ACListISF, a class used for autocompletion. CORE-9281
- Add tests for ACListISF.
- Change the SHExplorerParseCmdLine test to use GetProcAddress instead of relying on the import (it's not there anymore in NT 6.0+)

svn path=/trunk/; revision=71345
2016-05-16 18:03:09 +00:00
Mark Jansen
cb31fa202a [PSDK] Add missing definitions for IACList2 Options. CORE-9281
svn path=/trunk/; revision=71344
2016-05-16 17:59:10 +00:00
Robert Naumann
8d49e82b9c [SHELL32] - Implement a skeleton DlgProc for the folder options general dialog
- show icons depending on button states in folder options general dialog

svn path=/trunk/; revision=71343
2016-05-16 11:58:31 +00:00
Daniel Reimer
4cc03bbf01 [BOOTDATA]
Fix autorun.inf on LiveCD and HybridCD linking to a non existent welcome.exe. HybridCD now links to the correct folder to welcome.exe and LiveCD just opens the readme.txt
https://www.reactos.org/forum/viewtopic.php?f=2&t=15406

svn path=/trunk/; revision=71342
2016-05-16 11:11:22 +00:00
Christoph von Wittich
d2a7e3aea8 [REGSRV32] accept '-' as command line delimiter symbol as well
svn path=/trunk/; revision=71340
2016-05-16 07:17:45 +00:00
Hermès Bélusca-Maïto
8a7240c71a [NTOS][NDK][RTL]: Move the SEM_xxx flags and their corresponding RTL flags around so that they can be accessed in kernel code. I'll need them soon.
svn path=/trunk/; revision=71339
2016-05-15 22:40:34 +00:00
Hermès Bélusca-Maïto
ad5dceff98 [NTOS][USERSRV]: Both hard-error message box options "OptionOkNoWait" and "OptionCancelTryContinue" are valid!
svn path=/trunk/; revision=71338
2016-05-15 22:32:17 +00:00
Hermès Bélusca-Maïto
497e74bc43 [USERSRV]: Code formatting.
svn path=/trunk/; revision=71337
2016-05-15 22:29:23 +00:00
Hermès Bélusca-Maïto
02a7b8eca5 [NTOS]: Remove hardcoded constants; fix a comment; move some code around to reduce the level of code indentation.
svn path=/trunk/; revision=71336
2016-05-15 22:23:14 +00:00
Pierre Schweitzer
a3778e6d22 [DHCPD]
Plug leaks

svn path=/trunk/; revision=71335
2016-05-15 17:45:10 +00:00
Mark Jansen
dd2544d913 [COM_APITEST] Add ICurrentWorkingDirectory for CORE-9281
svn path=/trunk/; revision=71334
2016-05-15 14:45:01 +00:00
Mark Jansen
fb1cfa467b [PSDK] Add missing ICurrentWorkingDirectory definition. CORE-9281
svn path=/trunk/; revision=71333
2016-05-15 10:31:15 +00:00
Mark Jansen
70595b9400 [SHELL] Addendum to r71328, correct one german resource id.
svn path=/trunk/; revision=71332
2016-05-15 10:25:47 +00:00
Hermès Bélusca-Maïto
d74b93c5eb [NTOS][MUP]: Use the correct constant for the PriorityBoost parameter in the IoCompleteRequest calls.
svn path=/trunk/; revision=71331
2016-05-15 00:18:44 +00:00
Hermès Bélusca-Maïto
a8924f81c4 [DRIVERS][NTOSKRNL]
Don't use PWORK_QUEUE_ITEM casts in ExQueueWorkItem calls, but use the explicit underlaying work queue item object instead.

svn path=/trunk/; revision=71330
2016-05-15 00:16:31 +00:00
Hermès Bélusca-Maïto
fb35282eb3 [PROGMAN]
Implement drag&drop support for program items. A similar functionality can be implemented later in our shell32/explorer, based on this code.
We do here better than Windows' progman since we can select and move more than one icon.
Note that if you test it on ReactOS you will see nice bugs coming from our (well, Wine's) comctl32.dll xD :P

svn path=/trunk/; revision=71329
2016-05-12 22:36:05 +00:00
Robert Naumann
a8097ca3e1 [SHELL] Change the icon controls of the folder-options general page to static ones. Also give them and the radio buttons some meaningfull identifiers. Big thanks to our flying dutchman ;)
svn path=/trunk/; revision=71328
2016-05-12 21:26:55 +00:00
Hermès Bélusca-Maïto
41ed1557a2 [PROGMAN]
- Fix the icon chooser dialog: icon enumeration, icon list cleanup... Similar fixes should also be ported to our shell32 icon list dialog code!
- Remove erroneous LBS_SORT style from the icon list box.

svn path=/trunk/; revision=71327
2016-05-12 21:12:40 +00:00
Hermès Bélusca-Maïto
1e2e730dd3 [PROGMAN]
- Load the main icon in a global variable (we use it at different places).
- Use the main icon for the shell-about dialog.

svn path=/trunk/; revision=71325
2016-05-12 19:54:53 +00:00
Hermès Bélusca-Maïto
021e1a40a4 [PROGMAN]: Use a ListView to list program items. On systems that support it (aka. Vista+), enable ListView theming.
svn path=/trunk/; revision=71324
2016-05-12 19:45:26 +00:00
Amine Khaldi
80d2a73871 [PROGMAN] Fix PCH build.
svn path=/trunk/; revision=71322
2016-05-12 16:32:35 +00:00
Eric Kohl
1732ee52e0 [USETUP]
Pressing F3-Enter during setup behaves wrong sometimes.
Patch by Wim Hueskes.
CORE-11231 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71321
2016-05-12 16:18:32 +00:00
Eric Kohl
ade016e3a4 [USETUP]
Debug output in usetup.
Patch by Wim Hueskes.
CORE-11230 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71320
2016-05-12 15:30:49 +00:00
Eric Kohl
beacbdfc3b [TELNET]
Updating Turkish Translation.
Patch by Erdem Ersoy.
CORE-11226 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71319
2016-05-12 14:44:25 +00:00
Thomas Faber
297eae47ed [EXPLORER]
- Avoid activating windows when updating their size and position
CORE-11217

svn path=/trunk/; revision=71318
2016-05-12 12:14:42 +00:00
Hermès Bélusca-Maïto
6df01a9cb0 [PROGMAN]: Commit 90% of the work I did on progman since its first inclusion in ReactOS: this concerns upgrading its user interface code from Wine's Win3.11-compatible code to WinNT-compatible code.
As this is *recovered* code from what I had in my local trunk before my HDD crash that occurred last month, this is almost pure code without most of the comments (this especially concerns the MAIN_LoadSettings function).
The 10% code that is not restored yet concerns the reader/writer code for program group files, and it will be committed separately later. This (missing) code is the core of progman; without it progrman does nothing interesting apart from displaying its main window (and its utility dialogs).

svn path=/trunk/; revision=71317
2016-05-11 22:21:53 +00:00
Thomas Faber
bae547dcec [I8042PRT]
- Don't access device control IRPs after handing them off to a worker routine that has potentially already freed them.
CORE-11229 #resolve

svn path=/trunk/; revision=71316
2016-05-11 12:30:12 +00:00
Pierre Schweitzer
cfe81c2bb8 [BTRFS]
Cherry pick d71baf195715601212a2043f153400a964da6a18: Don't remove an entry list twice in add_to_space_list()

This avoids linked list entry twice removal

CORE-11057

svn path=/trunk/; revision=71315
2016-05-10 21:08:50 +00:00
Pierre Schweitzer
e1036d5ff1 [BTRFS]
Cherry pick aa04ca0ea4cadb0c70ff6d659916cc98b7b02c27: uninit: don't free roots before FCBs are freed

This avoids use-after-free on shutdown

svn path=/trunk/; revision=71314
2016-05-10 21:07:56 +00:00
Robert Naumann
ece9acc307 [SHELL32] Improve a list view header. Patch by Jared Smudde. CORE-11151
svn path=/trunk/; revision=71313
2016-05-10 20:48:39 +00:00
Mark Jansen
4a7af46cee [APPHELP] Remove imagehlp.dll dependency. CORE-10367
svn path=/trunk/; revision=71312
2016-05-10 20:42:37 +00:00
Thomas Faber
67c8423d4f [FASTFAT]
- Fix a use after free in VfatFlushVolume
CORE-11224 #resolve

svn path=/trunk/; revision=71311
2016-05-10 18:29:06 +00:00
Mark Jansen
64f0b43852 [UNIATA] Fix uninitialized variable usage. Patch by 'Alter'. CORE-11157 #resolve #comment Thanks!
svn path=/trunk/; revision=71309
2016-05-10 18:15:35 +00:00
Thomas Faber
bc4d7ba184 [IPHLPAPI]
- Don't use uninitialized values in AllocateAndGet*TableFromStack functions. CID 716757
- Free buffers on failure
CORE-11227 #resolve

svn path=/trunk/; revision=71308
2016-05-10 17:53:36 +00:00
Thomas Faber
ba1fac2999 [HAL]
- Create a wrapper version of HalpEndSoftwareInterrupt that frees its stack before calling the noreturn version of the next software interrupt handler. Fixes excessive stack usage when DPCs are queued in quick succession.
CORE-11123 #resolve

svn path=/trunk/; revision=71307
2016-05-10 15:03:56 +00:00
Thomas Faber
418ef674ed [IPHLPAPI]
- Fix memory leaks in getInterfaceInfoSet (CIDs 716370 and 716371)
- Fix a benign uninitialized variable use (CID 500783)
CORE-11224 #resolve

svn path=/trunk/; revision=71306
2016-05-10 13:59:41 +00:00
Thomas Faber
f40cfb8b12 [IPHLPAPI]
- Tabs to spaces. No code changes.

svn path=/trunk/; revision=71305
2016-05-10 13:42:57 +00:00
Thomas Faber
1ebef466b4 [NTOS:MM]
- Keep track of physical pages allocated for special pool, and respect the initially calculated MiSpecialPagesNonPagedMaximum

svn path=/trunk/; revision=71304
2016-05-10 11:47:05 +00:00
Hermès Bélusca-Maïto
bbc880b695 [CONSOLE.CPL]: Fix a test condition. Reviewed by Thomas Faber; initially patched by Victor Martinez Calvo Should fix CID 1322302 "Fix an use after free".
Please reanalyze with Coverity :)
CORE-11179

svn path=/trunk/; revision=71303
2016-05-09 22:06:27 +00:00
Sylvain Petreolle
2a4dd63e17 [TEST]
svn path=/trunk/; revision=71302
2016-05-09 20:57:35 +00:00
Thomas Faber
80c690a270 [USBHUB]
- Fix memory leak in failure case of CreateDeviceIds. Patch by Víctor Martínez Calvo. CID 1102364
CORE-11208 #resolve

svn path=/trunk/; revision=71301
2016-05-09 17:44:16 +00:00
Eric Kohl
6645a97ddb [SHELL32]
Improvements to the file types property page:
- Always show the selected file type.
- Set the focus to the listview control when the file types page gets activated.
- Enable/disable the Delete button for the initial file type selection too.

svn path=/trunk/; revision=71300
2016-05-09 15:11:25 +00:00
Eric Kohl
44a2d2b8b6 [NETAPI32]
Prevent dereferencing null-pointers.

svn path=/trunk/; revision=71299
2016-05-09 10:26:55 +00:00
Thomas Faber
9f70db7773 [BTRFS]
- Fix warnings

svn path=/trunk/; revision=71298
2016-05-09 09:10:13 +00:00
Thomas Faber
c2cc2ba3be [NTOS:SE]
- In SepPropagateAcl, gracefully handle unknown ACE types by simply copying them.
CORE-10694 #resolve

svn path=/trunk/; revision=71296
2016-05-09 08:49:18 +00:00
Thomas Faber
d9217570cb [SHELL32]
- Fix uninitialized return value in _SHGetDefaultValue. CID 1322231
CORE-11213 #resolve

svn path=/trunk/; revision=71295
2016-05-09 08:12:00 +00:00
Christoph von Wittich
8a8de70eb2 ZeroMemory expects buffer size in bytes
svn path=/trunk/; revision=71294
2016-05-09 08:01:49 +00:00
Thomas Faber
7fb10cb4d0 [WS2_32_NEW]
- Use the correct size of ServiceBuffer in getnameinfo. Patch by Víctor Martínez Calvo. CID 716150
CORE-11214 #resolve

svn path=/trunk/; revision=71293
2016-05-09 07:49:58 +00:00
Thomas Faber
274daad96e [WS2_32_NEW]
- Add missing null termination for the line buffer in GetProtoGetNextEnt. Patch by Víctor Martínez Calvo. CID 716700
CORE-11218 #resolve

svn path=/trunk/; revision=71292
2016-05-09 07:34:46 +00:00
Thomas Faber
7c3631a94b [SHELL32]
- Fix check for GCS_VALIDATE in CDefaultContextMenu::GetCommandString. Patch by Jared Smudde.
CORE-11183

svn path=/trunk/; revision=71291
2016-05-09 07:22:59 +00:00
Mark Jansen
d923444b3c [APPHELP] Addendum to r71226, fix some failing testcases of SdbGetFileAttributes + make it more robust. CORE-10367
- Work around a ROS bug (CORE-11206) by doing some better bounds checking.
- Silence a VAD warning by checking for NULL instead of blindly passing mem to NtUnmapViewOfSection
- Rewrite module type lookup code to use an enum and to return the found header.

svn path=/trunk/; revision=71290
2016-05-08 20:43:59 +00:00
Mark Jansen
0f8226d756 [NTDLL_APITEST] Show that NtMapViewOfSection does not properly NULL out the remainder of the mapped memory. CORE-11206
svn path=/trunk/; revision=71289
2016-05-08 17:01:15 +00:00
Sylvain Petreolle
da19f382ab Add the AHK tests as an optional module.
ONLINE-567

svn path=/trunk/; revision=71288
2016-05-08 15:01:46 +00:00
Hermès Bélusca-Maïto
c716950d97 [KSFILTER]: We may need to check the result of KspScanBus call here. To see whether we need to do that, add an assert. If hit then we know KspScanBus can fail and some proper failure code will be needed.
svn path=/trunk/; revision=71287
2016-05-08 14:53:14 +00:00
Hermès Bélusca-Maïto
2171daa6f5 [KSFILTER]: Return from KsCreateBusEnumObject() when scanning the bus fails. By Victor Martinez Calvo.
CID 1322294
CORE-11201 #resolve

svn path=/trunk/; revision=71286
2016-05-08 14:35:50 +00:00
Hermès Bélusca-Maïto
81ed2a4ade [BOOTLIB]: Fix EtfspGetDirentNameLength loops. By Victor Martinez Calvo.
CID 1341138
CORE-11178 #resolve

svn path=/trunk/; revision=71285
2016-05-08 14:28:06 +00:00
Hermès Bélusca-Maïto
ea332e56c0 [USETUP]: Fix typo in SectorCount.QuadPart calculation (and add ULONGLONG casts).
By Victor Martinez Calvo.
CORE-11205 #resolve

svn path=/trunk/; revision=71284
2016-05-08 13:50:38 +00:00
Hermès Bélusca-Maïto
dcf5329778 [TELNET]: Move around the resource files, in order to add the ability to localize telnet.
By Robert Naumann.
CORE-10717 #resolve #comment Thanks!

svn path=/trunk/; revision=71283
2016-05-08 13:46:16 +00:00
Hermès Bélusca-Maïto
a2812af07f [TELNET]: Correctly show the icon.
By Henry Tang Ih and Robert Naumann.
CORE-10717

svn path=/trunk/; revision=71282
2016-05-08 13:37:18 +00:00
Thomas Faber
6b172f26a4 [RTL]
- In RtlpGrowBlockInPlace, copy the heap block's user value if the old block has the HEAP_ENTRY_EXTRA_PRESENT flag, instead of looking at the flags of the following block (where this will never be set).
CORE-11196 #resolve

svn path=/trunk/; revision=71279
2016-05-08 08:07:11 +00:00
Thomas Faber
0f3e91c5f7 [NTDLL_APITEST]
- Add a test for heap user values and flags when using RtlReAllocateHeap in-place
CORE-11196

svn path=/trunk/; revision=71278
2016-05-08 08:03:50 +00:00
Hermès Bélusca-Maïto
c93051dff0 [CONSRV]: Use cmd's terminal icon that doesn't include crazy sizes.
svn path=/trunk/; revision=71277
2016-05-07 23:17:09 +00:00
Hermès Bélusca-Maïto
02a960b81c [PROGMAN]: Add some icons (will be used later).
svn path=/trunk/; revision=71276
2016-05-07 23:14:43 +00:00
Eric Kohl
c5cff1ce1b [SHELL32]
Improvements to the file type property page:
- Read the EditFlags value for each file type from the registry.
- Sort the file type list by extension and description.
- Do not add a file type to the list if the FTA_Exclude flag is set for the file type.
- Disable the delete button if the FTA_NoRemove flag is set fot the file type.
- Set the FTA_Exclude flag for the dllfiles, lnkfiles and piffiles file types.
- Set the FTA_NoRemove flag for the batfile, cmdfile, comfile and exefile file types.

svn path=/trunk/; revision=71275
2016-05-07 21:59:00 +00:00
Daniel Reimer
94edad6a7f [RAPPS]
FTP direct links are bad for ROS.

svn path=/trunk/; revision=71274
2016-05-07 15:17:21 +00:00
Daniel Reimer
2eafaecd6a [RAPPS]
Fix changed SHA1, fix broken downloads. Have fun 0.4.1 testers ^^

svn path=/trunk/; revision=71273
2016-05-07 13:01:25 +00:00
Mark Jansen
2c3a40046f [UDFS] Avoid double free in UDFLoadLogicalVolInt. Patch by Víctor Martínez Calvo. CID 1322300 CORE-11181 #resolve
#comment Thanks!

svn path=/trunk/; revision=71272
2016-05-07 11:50:03 +00:00
Mark Jansen
5994ce5887 [KBDTOOL] Handle failure to parse scancodes. Patch by Víctor Martínez Calvo. CID 1341307 CORE-11177 #resolve
#comment Thanks!

svn path=/trunk/; revision=71271
2016-05-07 10:22:45 +00:00
Pierre Schweitzer
3b58992913 [FASTFAT]
In case we're performing an in-place move (ie, in the same directory), if short name matches before and after, keep it.

This avoids that a file with long file name sees its short name changing on normally 'non-effect' renames.
For instance, in case of case-change only rename, short name will now be preserved.

See ya, you 7y old bug :-)

CORE-3875 #resolve #comment Fixed with r71270

svn path=/trunk/; revision=71270
2016-05-06 21:06:31 +00:00
Sylvain Petreolle
38b36a3dc0 [IERNONCE]
Add the romanian resource to the repository.
CORE-11111 #resolve
Fix build.

svn path=/trunk/; revision=71269
2016-05-06 20:20:02 +00:00
Eric Kohl
a8b256c57b [USETUP]
Fix serious path localization issue.
Patch by Wim Hueskes.
CORE-9656 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71268
2016-05-06 20:17:20 +00:00
Eric Kohl
b604470d8b [TRANSLATION]
Updating Turkish Translation.
Patch by Erdem Ersoy.
CORE-11130 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71267
2016-05-06 14:41:41 +00:00
Eric Kohl
003c39d73b [TRANSLATION]
Romanian resources maintenance.
Patch by Ștefan Fulea.
CORE-11111 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71266
2016-05-06 14:30:53 +00:00
Pierre Schweitzer
ae7080e660 [BTRFS]
Upgrade the WinBtrfs to release 0.4.

CORE-11172 #resolve #Committed in r71265

svn path=/trunk/; revision=71265
2016-05-05 17:26:47 +00:00
Pierre Schweitzer
3c7f167e24 [NTOSKRNL_VISTA]
Implement FsRtlValidateReparsePointBuffer().

CORE-11172

svn path=/trunk/; revision=71264
2016-05-05 16:58:16 +00:00
Mark Jansen
6137e4a401 [NTOSKRNL] Fix NtApphelpCacheControl image lookup failure return codes when validating file times.
Also silence some debug outputs in the normal usage flow.

svn path=/trunk/; revision=71263
2016-05-05 14:13:29 +00:00
Mark Jansen
7d65f2a648 fix the build for msvc (2013?) users.
svn path=/trunk/; revision=71262
2016-05-05 12:43:57 +00:00
Mark Jansen
3a8ce2cae5 [NTOSKRNL][NTDLL_APITEST] Fix error returned from NtCreateSection when opening an empty file. CORE-11166
svn path=/trunk/; revision=71261
2016-05-05 12:06:07 +00:00
Pierre Schweitzer
1393ed9477 [BTRFS]
Mark the CORE-11057 fix as local change.

CORE-11172

svn path=/trunk/; revision=71260
2016-05-05 06:48:56 +00:00
Christoph von Wittich
035804c150 [FREELDR] fix copypasta
CORE-11161

svn path=/trunk/; revision=71259
2016-05-04 08:28:44 +00:00
Amine Khaldi
03b9615a02 [UNIATA] Fix PCH.
svn path=/trunk/; revision=71255
2016-05-03 22:23:02 +00:00
Aleksey Bragin
4b9cf2e339 [UNIATA]
- Update to 0.46d7.

CORE-11157

svn path=/trunk/; revision=71252
2016-05-03 21:16:08 +00:00
Mark Jansen
ba05a7eccf [WINTRUST_WINETEST] Import Wine Staging commit bdb15cf (WinVerifyTrust tests), by Sebastian Lackner & Me CORE-10923
svn path=/trunk/; revision=71248
2016-05-03 19:29:39 +00:00
Pierre Schweitzer
5ad9ede05c [KERNEL32]
The onliner:
- Move to next entry by applying the offset to the previous entry, and not to the first entry

This fixes enumerating ADS from files with 3+ streams. Previously, doing dir /R in a directory would have lead to a cmd crash.

CORE-11164 #resolve #comment Fixed by r71245

svn path=/trunk/; revision=71245
2016-05-03 17:58:28 +00:00
Giannis Adamopoulos
92ad6046bc [SHELL32]
- Remove a debug message that should have been removed before committing.
- Also fix a test failure.

svn path=/trunk/; revision=71244
2016-05-03 17:10:09 +00:00
Giannis Adamopoulos
48cee97ceb [SHELL32]
- Move recyclebin static lib in the shell32 folder and name it shellrecyclebin alongside shelldesktop and shellmenu static libs.

svn path=/trunk/; revision=71243
2016-05-03 14:36:04 +00:00
Giannis Adamopoulos
ac223b4e20 [SHELL32]
- CDesktopFolder: Avoid doing any operation with pidls. Use the internal fs folders instead.

svn path=/trunk/; revision=71242
2016-05-03 13:47:16 +00:00
Thomas Faber
aa8f87d6c8 [WIN32K:NTUSER]
- Desktops should keep a reference to their parent window station
CORE-11124

svn path=/trunk/; revision=71240
2016-05-03 12:50:35 +00:00
Thomas Faber
16beeefbbb [WIN32K:NTUSER]
- In IntDesktopObjectDelete, correctly handle the case where pDeskInfo could not be allocated
CORE-11124

svn path=/trunk/; revision=71239
2016-05-03 12:38:41 +00:00
Thomas Faber
090738b6dd [WIN32K:NTUSER]
- Fix indentation. No functional changes.

svn path=/trunk/; revision=71238
2016-05-03 12:24:28 +00:00
Giannis Adamopoulos
f03ca04852 [SHELL32]
- lnk files are .. files so don't pretend that CDrivesFolder and CControlPanelFolder can contain lnk files.
- Don't create a full pidl just to parse it right away (which is a costly operation) when an IShellLink is queried from a folder.
- Fix a bug in CDesktopFolder::GetDisplayNameOf that was exposed by changes above.

svn path=/trunk/; revision=71237
2016-05-03 09:15:36 +00:00
Thomas Faber
0beda486ca [REG_WINETEST]
- Addendum to r71232: we no longer need to skip this test.
ROSTESTS-200

svn path=/trunk/; revision=71236
2016-05-02 20:30:59 +00:00
Pierre Schweitzer
9756d84f6c [USER32]
Import Wine commit:
- bfb7e167cb399dbba0a889b797bc11ece8b9e687, Check bounds before dereferencing.

svn path=/trunk/; revision=71235
2016-05-02 17:45:42 +00:00
Pierre Schweitzer
be41ea660b [COMDLG32]
Import Wine commit:
- d288d8d333f6faea9d64a0af944f125663a449d8, Check for overflow before dereferencing.

svn path=/trunk/; revision=71234
2016-05-02 17:45:39 +00:00
Giannis Adamopoulos
1a570d8bbb [SHELL32]
- Fix loading shortcut icons. The previous code passed a full pidl to GetUIObjectOf which is really wrong.
CORE-11158

svn path=/trunk/; revision=71233
2016-05-02 13:50:13 +00:00
Thomas Faber
c55c338dfa [NTOS:CM]
- Correctly handle NULL Data with nonzero DataSize in NtSetValueKey
ROSTESTS-200 #resolve

svn path=/trunk/; revision=71232
2016-05-02 13:19:44 +00:00
James Tabor
8357726420 [User32]
- Patch by Herschel Ralston : Fix scroll bar glitch. See CORE-3923 and CORE-11155.

svn path=/trunk/; revision=71231
2016-05-02 02:46:03 +00:00
Mark Jansen
0984c6825b [APPHELP][APPHELP_APITEST] Add some apphelp GUID helper functions + tests to be used later on. CORE-10367
- SdbGetStandardDatabaseGUID
- SdbGUIDFromString
- SdbGUIDToString
- SdbIsNullGUID

svn path=/trunk/; revision=71230
2016-05-01 21:43:30 +00:00
Pierre Schweitzer
81f2467b66 [NTFS]
Cherry pick a change from r71224 by Trevor:
- Don't fail too early in NtfsCreateFile() when requesting write/supersede operation. This allows already setting appropriate error in certain cases and making the driver more consistent

svn path=/trunk/; revision=71229
2016-05-01 20:16:08 +00:00
Pierre Schweitzer
64bc0243c3 [NTFS]
This has nothing to do in a NTFS driver

svn path=/trunk/; revision=71228
2016-05-01 20:13:26 +00:00
Giannis Adamopoulos
72a9b73970 [SHELL32]
- Remove IExtractIconA_Constructor and rename IExtractIconW_Constructor to GenericExtractIcon_CreateInstance which will handle both A and W.
- Make GenericExtractIcon_CreateInstance accept a pointer to a IShellFolder and a simple pidl.
- Avoid using SHGetPathFromIDListW. Use ILGetDisplayNameExW instead. May make loading icons for folders and exe files slightly faster as it does fewer I/O and less allocations.

svn path=/trunk/; revision=71227
2016-05-01 19:54:23 +00:00
Mark Jansen
78280ad21f [APPHELP][APPHELP_APITEST] Add SdbGetFileAttributes + tests, based on the work of Mislav Blažević CORE-10367
- Implement SdbGetFileAttributes (based on the work of Mislav Blažević)
- Add tests for SdbGetFileAttributes

svn path=/trunk/; revision=71226
2016-05-01 19:12:06 +00:00
Giannis Adamopoulos
535cdf4620 [SHELL32]
- Disentangle icon extraction for control panel. Add CCPLExtractIcon_CreateInstance and isolate control panel handling in CControlPanelFolder.cpp.

svn path=/trunk/; revision=71225
2016-05-01 19:05:32 +00:00
Pierre Schweitzer
c368ace889 [DHCPCSVC]
Properly end variadic args enumeration

svn path=/trunk/; revision=71223
2016-05-01 13:36:15 +00:00
Pierre Schweitzer
6e2ec32434 [SHELL32]
Don't use uninit var

svn path=/trunk/; revision=71222
2016-05-01 13:27:11 +00:00
Pierre Schweitzer
5080a1aaf4 [KS]
- Don't leak memory in KspValidateConnectRequest(), patch by Victor Martinez
- Also compute connect medium ID string only twice (could be even computed once) instead of doing so in each loop iteration

CORE-11099 #resolve #comment Committed in r71221 

svn path=/trunk/; revision=71221
2016-05-01 08:25:22 +00:00
Amine Khaldi
e6b21d5591 [SHELL32] Properly track RC file dependencies. CORE-9806
svn path=/trunk/; revision=71220
2016-04-30 16:21:23 +00:00
Pierre Schweitzer
5c66503f42 [PSDK]
Add missing definition

svn path=/trunk/; revision=71219
2016-04-30 16:12:49 +00:00
Giannis Adamopoulos
8ee72aa102 [SHELL32]
- Get rid of CPrintersExtractIconW and add CPrintersExtractIconW_CreateInstane which creates and initializes CExtractIcon.
- Also add CNetFolderExtractIcon_CreateInstance and CRecyclerExtractIcon_CreateInstance.

svn path=/trunk/; revision=71217
2016-04-30 15:30:59 +00:00
Thomas Faber
c1a1365490 [SHELL32_APITEST]
- Add a test for SHParseDisplayName
CORE-10434

svn path=/trunk/; revision=71216
2016-04-30 15:06:57 +00:00
Mark Jansen
ce192c47ea fix the build.
svn path=/trunk/; revision=71215
2016-04-30 14:33:57 +00:00
Giannis Adamopoulos
9ff8cfba85 Try to fix build.
svn path=/trunk/; revision=71214
2016-04-30 14:09:33 +00:00
Giannis Adamopoulos
42143e7d37 [SHELL32]
- Add an overload of SHSetStrRet which loads strings by default from shell32.
- Remove some dead code fomr CDrivesFolder.

svn path=/trunk/; revision=71213
2016-04-30 14:05:10 +00:00
Giannis Adamopoulos
61d4bb4dcc [SHELL32]
- Accept parsing paths like "C:". Also simplify CDrivesFolder::ParseDisplayName a bit.
Note: trying to run "c:" from the run dialog doesn't have the right result due to a bug in ShellExecute.

svn path=/trunk/; revision=71212
2016-04-30 12:52:17 +00:00
Pierre Schweitzer
f5eff4b750 [FASTFAT]
Update the FCB cached dir entry in case of a rename.

CORE-11150 #resolve #comment Fixed in r71209

svn path=/trunk/; revision=71209
2016-04-30 08:20:00 +00:00
Amine Khaldi
4d606b20df [SHELL32] German layout improvements in the folder options dialog. By Joachim Henze. CORE-11143
svn path=/trunk/; revision=71208
2016-04-26 21:17:25 +00:00
Thomas Faber
cc84d2386d [ACPI]
- Fix a broken status check in Bus_StartFdo. Spotted by willok.

svn path=/trunk/; revision=71207
2016-04-26 18:29:42 +00:00
Amine Khaldi
a91ac10b0f [CLASSPNP] Use NT_ASSERTMSGW instead of ASSERTMSGW.
svn path=/trunk/; revision=71206
2016-04-25 22:47:45 +00:00
Amine Khaldi
09f17e982e [CLASSPNP] Addendum to r71183.
svn path=/trunk/; revision=71205
2016-04-25 22:39:15 +00:00
Sylvain Petreolle
4a708c0f30 [CONFIGURE]
Addendum to r69601:
host-tools are "no longer required" but actually still exist.
Add the CMakeCache cleanup for them.


svn path=/trunk/; revision=71204
2016-04-24 22:40:53 +00:00
Pierre Schweitzer
a5f9846eb9 [BTRFS]
Don't remove an entry list twice in add_to_space_list().

This fixes a BSOD when trying to create a new file on a Btrfs volume.

Already sent upstream. Delayed due to inactivity.

CORE-11057 #resolve #comment Fixed with r71202

svn path=/trunk/; revision=71202
2016-04-24 19:58:15 +00:00
Sylvain Petreolle
83317e3688 [CDMAKE]
Don't check for extension length on Joliet images.
Encountered with AHK binaries.

ONLINE-567

svn path=/trunk/; revision=71201
2016-04-24 18:59:33 +00:00
Mark Jansen
b1e3b339f6 [APPHELP][APPHELP_APITEST] Update SdbTagToString tests to check all known tags CORE-10367
- Add a list of hardcoded tags, for all versions up to win7 they are checked against windows.
- Update SdbTagToString with a few missing strings
- Hardcode the used version to Win7 for now, as backporting these strings would not make much sense.

svn path=/trunk/; revision=71200
2016-04-24 17:19:09 +00:00
Sylvain Petreolle
1b54763b3b [NDIS]
Revert r71188 

svn path=/trunk/; revision=71199
2016-04-24 15:50:25 +00:00
Mark Jansen
f97c563d01 Nothing to see here.
svn path=/trunk/; revision=71198
2016-04-24 13:27:22 +00:00
Mark Jansen
7aaa9aee54 [APPHELP][APPHELP_APITEST] Add SdbTagToString + test by Mislav Blažević CORE-10367
svn path=/trunk/; revision=71197
2016-04-24 13:05:00 +00:00
Eric Kohl
84690a71d8 [SYSSETUP]
Rename SetAccountDomain to SetAccountsDomainSid and export it.

svn path=/trunk/; revision=71194
2016-04-24 11:29:40 +00:00
Mark Jansen
1fd32f0bbf * Addendum to r71192,
which was based on the research of Jared Smudde, Sylvain Deverre and Robert Naumann.
CORE-10837

svn path=/trunk/; revision=71193
2016-04-23 23:20:44 +00:00
Mark Jansen
8b77c254f8 [BROWSEUI][SHELL32] Stub Folder Options Property Page extension CORE-10837
- Stub the Property pages
- Disable some code that prevented the property pages from working (CORE-11140)
- Leave the menu item disabled for now, since a dialog that does not do anything will only confuse people (CORE-11141)

svn path=/trunk/; revision=71192
2016-04-23 23:05:07 +00:00
Mark Jansen
aac1b749ea [SHELL32] Fix the grouping of folder options radiobuttons CORE-10837
svn path=/trunk/; revision=71191
2016-04-23 22:22:40 +00:00
Mark Jansen
91d86a9a91 [SDK][SDK_APITEST] Improve delayload support CORE-10935
- Add an apitest for our delayload functions.
- Improve the delayload (mainly the failure cases, throw exceptions where expected etc).
- Add some tests for advanced delayload features (currently blocked on CORE-6504 and CORE-10957)

svn path=/trunk/; revision=71190
2016-04-23 20:38:06 +00:00
Sylvain Petreolle
8c386bbbcc [ROSTESTS]
apitests: win32kdll and win32nt can't be built on Release builds,
NtUserSetDbgTag is not exported.


svn path=/trunk/; revision=71189
2016-04-23 20:08:10 +00:00
Sylvain Petreolle
6cb4110a2e [NDIS]
Silence a debug output.
CORE-11137 #resolve


svn path=/trunk/; revision=71188
2016-04-23 19:09:30 +00:00
Sylvain Petreolle
eae7001339 Save the ReiserFS driver in the right place on installation CDs.
Patch by Peter Hater.

CORE-11005

svn path=/trunk/; revision=71187
2016-04-21 20:18:05 +00:00
Amine Khaldi
79a74c6baf [URLMON] Stub and export URLDownloadA. CORE-11136
svn path=/trunk/; revision=71186
2016-04-21 14:16:51 +00:00
Amine Khaldi
248dcd328b * Addendum to r71184. CORE-9111
svn path=/trunk/; revision=71185
2016-04-20 12:39:37 +00:00
Amine Khaldi
08a0346e9f [SDK] One step further towards ReactOS source code tree restructure: the sdk folder that groups includes, libraries and tools. CORE-9111
svn path=/trunk/; revision=71184
2016-04-20 12:36:25 +00:00
Amine Khaldi
e85488750c [CLASSPNP] Fix MSVC build. Brought to you by Timo.
svn path=/trunk/; revision=71183
2016-04-20 12:16:16 +00:00
Amine Khaldi
66d24776ff [LIBPNG] Update to v1.6.21. CORE-11128
svn path=/trunk/; revision=71182
2016-04-20 09:00:52 +00:00
Amine Khaldi
173e69f4af [README.WINE] Mark some modules and source files as synced with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=71181
2016-04-20 08:50:01 +00:00
Sylvain Petreolle
faca4ea066 Make the bootcd_extras, livecd_extras, hybridcd_extras actually work.
CORE-9527
Cannot be used for the AHK suite test bot, cdmake cannot add directories.
ONLINE-567

Arch, #TestYourCode :)

svn path=/trunk/; revision=71180
2016-04-19 21:41:46 +00:00
Pierre Schweitzer
eb85db6579 [NTOSKRNL]
Typo--;

svn path=/trunk/; revision=71179
2016-04-19 06:25:18 +00:00
Pierre Schweitzer
d1a397ab03 [NTOSKRNL]
Use the PairCount variable of the MCB to store the current amount of runs in the table. This will be properly used later on.

CORE-11002

svn path=/trunk/; revision=71178
2016-04-18 20:49:14 +00:00
Pierre Schweitzer
909eb635f2 [KMTESTS:FSRTL]
Add more failing tests for MCB. These are pretty basics and deal with holes.
They are pretty handy to show how broken the current MCB implementation is, in regard to holes management: it fails at properly counting runs when there are holes and it creates virtual runs (hence the broken count) for each hole. This shouldn't happen.

CORE-11002

svn path=/trunk/; revision=71177
2016-04-17 21:17:49 +00:00
Timo Kreuzer
050c4e8ff4 [XDK/DDK] Fix copy pasta
svn path=/trunk/; revision=71176
2016-04-17 21:14:51 +00:00
Thomas Faber
f66b801a75 [NTOS:KE]
- In debug builds, restore EBP early in KiSwitchThreads to get a sensible backtrace
CORE-11123

svn path=/trunk/; revision=71175
2016-04-17 09:55:13 +00:00
Timo Kreuzer
b5478dccca [NTOSKRNL]
Modify the ret8 interrupt return path in KiTrapExitStub, so that nested interrupts (e.g. as a result of an interrupt storm from a broken driver) will work more "like on Windows", i.e., now the broken driver will not cause stack exhaustion anymore, but a proper system hang! And it will be an even more efficient system hang than Windows has! This is not the '90s. You can't just walk up and crash the system, you have to do something cool first and do it properly "like Windows does", even if you're not using the same assembly instructions.

svn path=/trunk/; revision=71174
2016-04-16 22:38:11 +00:00
Thomas Faber
a976f17441 [USER32_APITEST]
- Add a test for window station reference counts
CORE-11124

svn path=/trunk/; revision=71173
2016-04-16 20:30:11 +00:00
Timo Kreuzer
5e40514cb7 [XDK/DDK] Update ASSERT definitions based on latest WDK (with some modifications regarding cast to void and macro parameter expansion). Use NT_ASSERT for ASSERT globally on reactos MSVC builds.
svn path=/trunk/; revision=71172
2016-04-16 15:53:32 +00:00
Thomas Faber
8a9b1f69ff [CMLIB]
- Turn down a noisy DPRINT

svn path=/trunk/; revision=71171
2016-04-16 14:19:47 +00:00
Timo Kreuzer
851f35f9cf [XDK/DDK] Fix prototype of FsRtlRegisterUncProvider, based on latest WDK
svn path=/trunk/; revision=71170
2016-04-16 13:14:31 +00:00
Thomas Faber
7da1830d85 [RTL]
- Silence noisy DPRINTs

svn path=/trunk/; revision=71169
2016-04-16 11:43:57 +00:00
Thomas Faber
05c5e89e5d [NTOS][WIN32K]
- Disable some noisy DPRINTs

svn path=/trunk/; revision=71168
2016-04-16 10:38:58 +00:00
Thomas Faber
17e18bc653 [WIN32K:NTUSER]
- Don't leak desktop reference in failure case of NtUserSwitchDesktop

svn path=/trunk/; revision=71167
2016-04-16 10:22:35 +00:00
Pierre Schweitzer
d23404960a [NTOSKRNL]
In FsRtlAddBaseMcbEntry(), don't merge runs in case there's a hole in LBNs

CORE-11002

svn path=/trunk/; revision=71166
2016-04-15 20:50:40 +00:00
Thomas Faber
270998174c [WIN32K:NTUSER]
- Don't access WindowStationName after free
- Handle RtlCreateAtomTable failure

svn path=/trunk/; revision=71165
2016-04-15 20:43:25 +00:00
Thomas Faber
8ab4a127ba [WIN32K:NTUSER]
- Initialize the window station object before calling ObInsertObject, since the object will be deleted in case of failure.
CORE-11124

svn path=/trunk/; revision=71164
2016-04-15 20:24:44 +00:00
Thomas Faber
741f025e65 [WIN32K:NTUSER]
- Fix indentation. No code changes.

svn path=/trunk/; revision=71163
2016-04-15 19:49:33 +00:00
Pierre Schweitzer
d814167aba [KMTESTS:FSRTL]
Add more non-failing tests

CORE-11002

svn path=/trunk/; revision=71162
2016-04-15 19:43:12 +00:00
Thomas Faber
9313bf7d63 [NTOS:MM]
- Fix list walk in MmGetSessionById

svn path=/trunk/; revision=71161
2016-04-15 18:30:18 +00:00
Pierre Schweitzer
60f5fc07fc [FREELDR]
Cherrypick r71159

svn path=/trunk/; revision=71160
2016-04-14 20:42:12 +00:00
Pierre Schweitzer
82c9e05743 [NTFS]
Don't attempt to read a sparse run of the disk.

Patch by Trevor Thompson

CORE-10998

svn path=/trunk/; revision=71159
2016-04-14 20:39:55 +00:00
Thomas Faber
db73e15d85 [ACPICA]
- Revert the changes adding arbitrary bit length read/write support since they cause problems on VirtualBox and will be reworked upstream.
CORE-11115 #resolve

svn path=/trunk/; revision=71158
2016-04-14 19:38:40 +00:00
Thomas Faber
519abb5b4a [NTOS:IO]
- Avoid excessive stack usage in IopInitializeDriverModule.

svn path=/trunk/; revision=71157
2016-04-14 15:18:53 +00:00
Pierre Schweitzer
d55cb36612 [NTFS]
Don't perform an overestimated allocation in NtfsReadFile()

Patch by Trevor Thompson

CORE-10998

svn path=/trunk/; revision=71156
2016-04-13 20:06:56 +00:00
Pierre Schweitzer
97d46bb600 [NTFS]
Don't leak memory in case of failures in NtfsReadDisk().

Based on a patch by Trevor Thompson.

CORE-10998

svn path=/trunk/; revision=71155
2016-04-13 19:52:42 +00:00
Mark Jansen
278ccfd7c8 [APPHELP] Change the ApphelpCheckInstallShieldPackage stub to a non-throwing one, use OutputDebugString by default. CORE-8591
svn path=/trunk/; revision=71154
2016-04-13 18:23:54 +00:00
Thomas Faber
d58a87beca [NTOS:PS]
- Return sensible values for KernelTime/UserTime from NtQueryInformationProcess:ProcessTimes
CORE-7007 #resolve

svn path=/trunk/; revision=71153
2016-04-12 17:44:47 +00:00
Thomas Faber
8bed306ee8 [NTDLL_APITEST]
- Add a test for NtQueryInformationProcess:ProcessTimes
CORE-7007

svn path=/trunk/; revision=71152
2016-04-12 17:39:01 +00:00
Thomas Faber
d28a4b2480 [ACPICA]
- Update to version 20160318
CORE-11114 #resolve

svn path=/trunk/; revision=71151
2016-04-12 15:44:33 +00:00
Thomas Faber
42ec0c2167 [COM_APITEST]
- Add some more classes, thanks to http://www.geoffchappell.com/studies/windows/ie/browseui/classes/index.htm

svn path=/trunk/; revision=71150
2016-04-12 13:18:32 +00:00
Thomas Faber
76370aa3b4 [ADVAPI32]
- Fix null termination in RegQueryInfoKeyA. Based on Wine commit 303daeef by Alexandre Juilliard.

svn path=/trunk/; revision=71149
2016-04-12 13:01:35 +00:00
Thomas Faber
fa41877cb2 [PSDK]
- Add CLSID_ACLHistory, CLSID_ACLMRU, CLSID_ACLCustomMRU

svn path=/trunk/; revision=71148
2016-04-12 11:58:11 +00:00
Thomas Faber
ce2bf75da7 [PSDK]
- Import SHCreateShellItemArrayFromIDLists, IShellView3, IAssocHandlerInvoker, IAssocHandler, IEnumAssocHandlers, SHAssocEnumHandlers and EnumerableObjectCollection from Wine

svn path=/trunk/; revision=71147
2016-04-12 09:27:27 +00:00
Thomas Faber
400687e3ed [PSDK]
- Reorder some definitions in shobjidl.idl to get us in better sync with Wine

svn path=/trunk/; revision=71146
2016-04-12 06:51:20 +00:00
Pierre Schweitzer
7598e7c2c4 [NTOSKRNL]
In FsRtlAddBaseMcbEntry(), try to detect incompatible LBNs before altering mappings.

This fixes a few tests failures

CORE-11002

svn path=/trunk/; revision=71145
2016-04-11 20:29:35 +00:00
Mark Jansen
57c45625a3 [SHELL32][SHELL32_WINETEST] Connect CDefViewDual to CDefView to fix crashes in the shelldispatch test ROSTESTS-209
- CDefViewDual::get_Application now returns a new CDefView to fix the winetest.
- Update CFolder, CFolderItem(s), CFolderItemVerb(s), CShell to use the new IDispatchImpl
- Enable the last two skipped testcases (test_ShellFolderViewDual, test_ShellWindows)

svn path=/trunk/; revision=71144
2016-04-11 18:28:31 +00:00
Colin Finck
1591074c3f [DOXYGEN]
doxygen.reactos.org is back, with a revamped Doxyfile and a new design! (= the standard Doxygen design :P)

This is mostly the default Doxyfile, with just obvious settings imported from our old one.
I've also enabled some advanced features such as dependency graphs and the treeview.
The configuration is far away from perfect, but everybody is invited to tune it and see the results on the next day.
Doxygen is regenerated everyday at 4:00 UTC. RosApps and RosTests are also included now.

You're also invited to add Doxygen comments everywhere. Right now, the documentation is dominated by our third-party imports.


svn path=/trunk/; revision=71143
2016-04-11 05:43:46 +00:00
Mark Jansen
60cf559dc6 [SHELL32] Use the previously implemented Typelib registration from ATL to register shell32. ROSTESTS-209
svn path=/trunk/; revision=71142
2016-04-10 21:32:27 +00:00
Pierre Schweitzer
4d3121a2c1 [KMTESTS:FSRTL]
Add a simple test for FsRtlAddLargeMcbEntry() which shows how hard it's broken... Not only it doesn't support mismatching LBNs, but it also replaces current mapping with broken one

CORE-11002

svn path=/trunk/; revision=71141
2016-04-10 18:02:04 +00:00
Thomas Faber
83f145b065 [MOUNTMGR]
- Avoid an unnecessarily large stack buffer in MountMgrMountedDeviceArrival
- Add missing OBJ_KERNEL_HANDLE. CORE-10207

svn path=/trunk/; revision=71140
2016-04-10 17:51:47 +00:00
Mark Jansen
1b444ed447 [ATL]
- Implement Typelib registration in CComModule::RegisterServer, based on dll/win32/atl/atl.c and dll/win32/atl80/atl80.c
- Add oleaut32 to devmgr and stobject import libraries
CORE-11104 #resolve

svn path=/trunk/; revision=71139
2016-04-10 16:53:00 +00:00
Mark Jansen
356a216e2c [SHELL32]
- Stub IShellFolderViewDual2
ROSTESTS-209 #comment CDefViewDual.patch committed.

svn path=/trunk/; revision=71138
2016-04-10 12:05:06 +00:00
Pierre Schweitzer
277ab38c90 [NTOSKRNL]
In  FsRtlAddBaseMcbEntry(): only merge runs if LBNs are consistent.

This fixes a few failing tests.

CORE-11002

svn path=/trunk/; revision=71137
2016-04-10 10:29:28 +00:00
Thomas Faber
05838e4ee8 [COM_APITEST]
- Add some classes and interfaces related to CORE-10838.

svn path=/trunk/; revision=71136
2016-04-10 09:40:16 +00:00
Thomas Faber
ca6fdccb45 [PSDK]
- Correct CLSID_FileSearchBand and add CLSID_IE_SearchBand and CLSID_ChannelsBand. Patch by Sylvain Deverre.
CORE-10838

svn path=/trunk/; revision=71135
2016-04-10 09:33:03 +00:00
Thomas Faber
0f968e68a7 [PSDK]
- Add DSA_GetItemCount and DSA_AppendItem. Patch by Sylvain Deverre.
CORE-10838

svn path=/trunk/; revision=71134
2016-04-10 09:22:08 +00:00
Mark Jansen
a7c3ff7e94 [SHELL32]
- Stub IShellView2
Patch by Jared Smudde
CORE-11049 #resolve #comment Thanks!

svn path=/trunk/; revision=71133
2016-04-09 23:20:15 +00:00
Pierre Schweitzer
e845d90149 [NTOSKRNL]
Drop dead code in FsRtlAddBaseMcbEntry().

CORE-11002

svn path=/trunk/; revision=71132
2016-04-09 22:18:14 +00:00
Mark Jansen
dfb5dab3d6 [ACPPAGE] Implement the base of the compatibility tab in explorer as shell extension.
Because the underlying shim infrastructure is not active yet, the page is disabled by default.
Hello Reactos :)
CORE-10375

svn path=/trunk/; revision=71131
2016-04-09 21:40:32 +00:00
Thomas Faber
2063cc07b6 [CDFS]
- Implement file locking
CORE-10790 #resolve

svn path=/trunk/; revision=71130
2016-04-09 19:33:42 +00:00
Thomas Faber
b05fcc754d [NTOS:WMI]
- Avoid a memory leak in failure case of WmipGetRawSMBiosTableData.
CORE-11095 #resolve

svn path=/trunk/; revision=71129
2016-04-09 16:16:12 +00:00
Thomas Faber
372ab04bc4 [USBSTOR]
- In USBSTOR_GetMaxLUN, correctly handle devices that do not support this request. Patch by Vadim Galyant.
CORE-10515 #resolve

svn path=/trunk/; revision=71128
2016-04-09 16:13:37 +00:00
Thomas Faber
ce2ec6562e [COM_APITEST]
- Add even more interfaces

svn path=/trunk/; revision=71127
2016-04-09 15:13:01 +00:00
Thomas Faber
70c91c4798 [COM_APITEST]
- Add some more interfaces

svn path=/trunk/; revision=71126
2016-04-09 14:05:08 +00:00
David Quintana
20666d0805 [UNIVGA16]
Change the cylliric glyphs for "Ы" and "ы", to allow them to have a pixel space before the next character. By Dmitri Poguliayev.

svn path=/trunk/; revision=71125
2016-04-09 13:46:52 +00:00
Thomas Faber
4238b10456 [IPHLPAPI]
- Improve stub for Icmp6ParseReplies
ROSTESTS-214

svn path=/trunk/; revision=71124
2016-04-09 09:26:19 +00:00
Thomas Faber
e71bfbadc6 [COM_APITEST]
- Add ieframe classes CLSID_Internet, CLSID_CUrlHistory, CLSID_InternetShortcut, CLSID_ShellUIHelper, CLSID_ShellNameSpace, CLSID_WebBrowser and CLSID_WebBrowser_V1
- Add shdocvw classes CLSID_SearchAssistantOC, CLSID_ShellSearchAssistantOC and CLSID_ShellShellNameSpace

svn path=/trunk/; revision=71123
2016-04-09 09:22:57 +00:00
Thomas Faber
02d3757499 [COM_APITEST]
- Add IID_ICallFactory, IID_IForegroundTransfer and IID_IRpcOptions
- Fix a format string mismatch

svn path=/trunk/; revision=71122
2016-04-09 09:18:57 +00:00
Thomas Faber
e58452bd21 [COM_APITEST]
- Add more interfaces, in particular IID_IMarshal2 and DIID_DWebBrowserEvents
- Alphabetize ieframe classes

svn path=/trunk/; revision=71121
2016-04-09 09:00:44 +00:00
Thomas Faber
1687e7dce2 [COM_APITEST]
- Test INamespaceWalk, INamespaceWalkCB and INamespaceWalkCB2
CORE-11093

svn path=/trunk/; revision=71120
2016-04-09 08:49:17 +00:00
Thomas Faber
acfe26b095 [OLE32]
- Apply Wine commit 110665a3 (ole32: Don't call spy on IMalloc::Free(NULL)) by Nikolay Sivov. Fixes test failures in atl:CComHeapPtr
CORE-11107 #resolve

svn path=/trunk/; revision=71119
2016-04-09 08:31:49 +00:00
Thomas Faber
a59f1989c5 [SHELL32]
- Revert the delay-loading changes from r71114 since they break 2nd stage.
ROSTESTS-209

svn path=/trunk/; revision=71118
2016-04-08 10:36:31 +00:00
Thomas Faber
ee729a69a3 [ATL]
- Add a basic implementation for IDispatchImpl. Patch by Mark Jansen.
CORE-11087

svn path=/trunk/; revision=71117
2016-04-08 08:38:48 +00:00
Thomas Faber
78a727d095 [SHELL32]
- Add stubs for the shell dispatch object, CShell, and its relatives. Patch by Mark Jansen.
[SHELL32_WINETEST]
- We no longer need to skip test_ParseName and test_Verbs thanks to Mark's work.
CORE-6892
ROSTESTS-209

svn path=/trunk/; revision=71116
2016-04-08 08:30:09 +00:00
Thomas Faber
0664f98833 [SHELL32]
- Explicitly use -W version of ShellExecute. Patch by Mark Jansen.
ROSTESTS-209

svn path=/trunk/; revision=71115
2016-04-08 07:56:22 +00:00
Thomas Faber
347c6105e0 [SHELL32]
- Delay-import some libraries. Patch by Mark Jansen.
ROSTESTS-209

svn path=/trunk/; revision=71114
2016-04-08 07:55:32 +00:00
Amine Khaldi
116f67cc1d [WINTRUST] Import Wine Staging commit bdb15cf by Mark Jansen: Verify image hash in WinVerifyTrust. CORE-10923
svn path=/trunk/; revision=71113
2016-04-07 14:23:55 +00:00
Amine Khaldi
f319f77c2c [DBGHELP] Stub dbghelp. CORE-2990
svn path=/trunk/; revision=71112
2016-04-07 13:58:19 +00:00
Thomas Faber
472b96ba74 [NTOS:IO]
- Do not leak ServiceName in IopInitializeBuiltinDriver
CORE-11084 #resolve

svn path=/trunk/; revision=71111
2016-04-06 20:10:09 +00:00
Thomas Faber
f860a631fc [NTOS:IO]
- Get rid of some magic numbers

svn path=/trunk/; revision=71110
2016-04-06 20:02:38 +00:00
Thomas Faber
552f1fd24d [NTOS:IO]
- Handle RtlCreateUnicodeString failure in IopInitializeBuiltinDriver. Patch by Víctor Martínez Calvo. CID 1341416
CORE-11029 #resolve

svn path=/trunk/; revision=71109
2016-04-06 20:00:34 +00:00
Thomas Faber
518a536514 [NTDLL_APITEST]
- Add missing va_end. Patch by Víctor Martínez Calvo.
ROSTESTS-202 #resolve

svn path=/trunk/; revision=71108
2016-04-06 19:31:20 +00:00
Thomas Faber
3d165be77b [CRT_APITEST]
- Add missing va_end. Patch by Víctor Martínez Calvo.
ROSTESTS-221 #resolve

svn path=/trunk/; revision=71107
2016-04-06 12:34:26 +00:00
Thomas Faber
1a15d6a55c [BOOTLIB]
- Fix uninitialized variable in MmFwGetMemoryMap. Patch by Víctor Martínez Calvo. CID 1341421
CORE-11026 #resolve

svn path=/trunk/; revision=71106
2016-04-06 12:30:06 +00:00
Thomas Faber
17943c3f75 [NDIS]
- Print status code in case MiniportInitialize fails
CORE-11073

svn path=/trunk/; revision=71105
2016-04-06 12:14:28 +00:00
Eric Kohl
88a13bc297 [CHARMAP]
Statusbar character descriptions.
Patch by Baruch Rutman.
CORE-7386 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71104
2016-04-05 20:29:48 +00:00
Robert Naumann
a6e21cf122 [WELCOME] Fix the blurry header bitmap. By Henry Tang Ih. CORE-10712
svn path=/trunk/; revision=71103
2016-04-05 19:29:56 +00:00
Robert Naumann
fd892c0f79 [EXPLORER][SHELL32] Fix some blurry and ugly icons. By Jared Smudde. CORE-10847 CORE-10848
svn path=/trunk/; revision=71102
2016-04-05 17:35:11 +00:00
Thomas Faber
edc42192c4 [WS2_32_APITEST]
- Add test for getservbyname
CORE-10440

svn path=/trunk/; revision=71101
2016-04-05 12:44:16 +00:00
Thomas Faber
8726fc984a [WS2_32_APITEST]
- Add test for getservbyport
CORE-10440

svn path=/trunk/; revision=71100
2016-04-05 12:20:47 +00:00
Robert Naumann
0b456041ef [EXPLORER] Add missing German translation. Patch by Joachim Henze. CORE-11075
svn path=/trunk/; revision=71099
2016-04-04 18:10:01 +00:00
Eric Kohl
cba34a3d1a [SERVMAN]
Improved column ordering.
Patch by Carlo Bramini.
CORE-10674 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71098
2016-04-03 22:13:01 +00:00
Thomas Faber
8a7494dd08 [KERNEL32]
- Correctly calculate the buffer size if the PATH variable is set but empty in BasepComputeProcessPath. Yes, this is a bug in Windows.
CORE-11080 #resolve

svn path=/trunk/; revision=71097
2016-04-03 20:48:51 +00:00
Pierre Schweitzer
d741481035 [NTOSKRNL]
Rework debug prints in Mcb, this is what helped bringing the infamous r71091.
NFC.

CORE-11002

svn path=/trunk/; revision=71096
2016-04-03 20:17:09 +00:00
Eric Kohl
57bdb633c8 [NETSTAT]
- Fix parsing of the -p option and enable / as option indicator.
- Display foreign address of a listening TCP port as '<host>:0'.

svn path=/trunk/; revision=71095
2016-04-03 14:10:31 +00:00
Timo Kreuzer
bb8967851b [KMTEST] Improve test output
svn path=/trunk/; revision=71094
2016-04-03 14:05:58 +00:00
Daniel Reimer
43e5749a1d [RAPPS]
Automatic Fixup of the whole RAPPS DB with a Python sync script from Christopher Reimer (based on the script from Ismael Ferreras Morezuelas): https://dl.dropboxusercontent.com/u/30053674/shaonificator.py
- Fixed ANY INI parsing errors like double language sections, missing braces, missing variable descriptions, typos...
- Fixed ANY sizes of downloads + all language specific alterations.
- Fixed ANY dead links.
- Fixed ANY SHA1 hashes.
- Comments are no more. All ppl who contributed and left their names in the comments of the files are now found in CONTRIBUTORS.
++ Removed offbyone.txt. The Browser is no more.

svn path=/trunk/; revision=71093
2016-04-03 13:38:29 +00:00
Timo Kreuzer
d1c586e3f3 [CREATESPEC] Some cleanup and fixes
svn path=/trunk/; revision=71092
2016-04-03 13:36:00 +00:00
Pierre Schweitzer
b37377e363 [KMTESTS:FSRTL]
Add more tests for LargeMcb functions.

These are not invented but real cases: they are extracted from Ext2Fsd driver attempting to read a file from disk. The read file in ReactOS is totally corrupted.

This shows how broken our current MCB implementation is. And unfortunately confirms CORE-11002.
I recommend not to import any other FSDs relying on MCB as long as this is not fixed (eg. CORE-11040); it makes them pretty pointless.

CORE-11002

svn path=/trunk/; revision=71091
2016-04-03 10:25:32 +00:00
Eric Kohl
57b8eba2fe [NETAPI32]
Fix copypasta bug from r71085.
Hint by Thomas Faber. Thank you very much!

svn path=/trunk/; revision=71090
2016-04-01 21:16:45 +00:00
Hermès Bélusca-Maïto
a66b77582f [CFGMGR32]: Fix an export, caught by Jason Wendt.
CORE-11076 #comment Fixed, thanks!

svn path=/trunk/; revision=71089
2016-04-01 18:51:08 +00:00
Thomas Faber
902af12d45 [USBSTOR]
- Fix memory leak in USBSTOR_ClassRequest. Patch by Vadim Galyant (vgal at rambler dot ru).
CORE-11074 #resolve

svn path=/trunk/; revision=71088
2016-04-01 08:32:40 +00:00
Eric Kohl
79407a8027 [NET]
Net utility not enumerating local user accounts.
Patch by Curtis Wilson.
CORE-11023 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71087
2016-03-31 21:48:43 +00:00
Eric Kohl
ec5cd6b41d [ADVAPI32]
CredWriteDomainCredentialsW missing in advapi32.dll.
Patch by Jared Smudde.
CORE-11055 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71086
2016-03-31 21:22:05 +00:00
Eric Kohl
84cd712088 [NETAPI32]
DsEnumerateDomainTrustsW missing in netapi32.dll.
Patch by Jared Smudde.
CORE-11056 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71085
2016-03-31 21:12:46 +00:00
Thomas Faber
3a5f8b5d7e [APPHELP]
- Add apphelp.dll. Patch by Mark Jansen, partially based on work by Mislav Blažević and the Wine team.
CORE-10367 #resolve

svn path=/trunk/; revision=71084
2016-03-31 12:54:05 +00:00
Thomas Faber
d4705d3a33 [NTOS:PNP]
- Fix indentation in PnpRootPdoPnpControl. Also avoid unnecessary casts. No functional changes.

svn path=/trunk/; revision=71083
2016-03-31 07:54:52 +00:00
Thomas Faber
72cf18964b [NTOS:PNP]
- Avoid INVALID_HANDLE_VALUE, it's not meant for the kernel.

svn path=/trunk/; revision=71082
2016-03-31 07:51:08 +00:00
Thomas Faber
d44ee74466 [SHELL32]
- Correctly handle desktop pidls in CDesktopFolder::CompareIDs. Based on a patch by Sylvain Deverre.
CORE-10747 CORE-10801 #resolve

svn path=/trunk/; revision=71081
2016-03-30 11:35:22 +00:00
Thomas Faber
113dd2e1e9 [SHELL32]
- Correctly handle NULL pidls in CDesktopFolder::CompareIDs and CDrivesFolder::CompareIDs. Based on a patch by Sylvain Deverre.
CORE-10745 #resolve
CORE-10747

svn path=/trunk/; revision=71080
2016-03-30 11:11:37 +00:00
Thomas Faber
510fc325df [SHELL32]
- Treat psfgaoOut as optional in SHParseDisplayName. Patch by Sylvain Deverre.
CORE-10747

svn path=/trunk/; revision=71079
2016-03-30 09:35:04 +00:00
Amine Khaldi
ef66463fce [IERNONCE] Turkish translation by Erdem Ersoy. CORE-11042
svn path=/trunk/; revision=71078
2016-03-29 09:53:44 +00:00
Thomas Faber
001dc229d5 [APPHELP_APITEST]
- Add tests for the apphelp SDB compatibility layer. Patch by Mark Jansen.
CORE-10367

svn path=/trunk/; revision=71077
2016-03-29 08:55:40 +00:00
Thomas Faber
df2d6a0e8a [BROWSEUI]
- Add stubs for IEnumString and IAutoCompleteDropDown to CAutoComplete. Patch by Jared Smudde.
CORE-11045 #resolve

svn path=/trunk/; revision=71076
2016-03-29 08:27:26 +00:00
Daniel Reimer
053ffccb8e [CAROOTS]
Updated SSL certs to up to date Mozilla DB. Done with swyter's great script from ROSBE-61

svn path=/trunk/; revision=71075
2016-03-28 23:15:30 +00:00
Daniel Reimer
d65859c0da [RAPPS]
BOMS! EVERYWHERE!

svn path=/trunk/; revision=71074
2016-03-28 22:56:27 +00:00
Daniel Reimer
1aac0898f6 [ROSAPPS]
Fixup the icons by Jared Smudde
ROSAPPS-307 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=71073
2016-03-28 21:54:06 +00:00
Daniel Reimer
ef66168b39 [Woops...]
Fix some missing stuff...

svn path=/trunk/; revision=71072
2016-03-28 21:40:16 +00:00
Daniel Reimer
68c216c066 [RAPPS/RAPPS_NEW]
Add Update Database to the toolbar by Jared Smudde
CORE-10924 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=71071
2016-03-28 21:38:35 +00:00
Daniel Reimer
e85d20412c [USERINIT]
Fix Russian translation for userinit by BinaryTree
CORE-10936 #resolve #comment Committed, thx.

svn path=/trunk/; revision=71070
2016-03-28 21:26:21 +00:00
Daniel Reimer
70e4386998 [RAPPS]
Update link to msxml3 and add entry for msxml6.
CORE-10602 #resolve #comment Fixed. Thx 

svn path=/trunk/; revision=71069
2016-03-28 21:16:49 +00:00
Amine Khaldi
55799c678e [TASKMGR][SYSDM] Russian translation update by Sergey Shmygalev. CORE-11043
svn path=/trunk/; revision=71068
2016-03-28 20:29:51 +00:00
Daniel Reimer
3f3038d338 [RAPPS]
Database Update... incl. SHA1 hashes. Appreciate it! This took 5 hrs thx to the stupid and USELESS hashes!

svn path=/trunk/; revision=71067
2016-03-28 18:26:24 +00:00
Timo Kreuzer
92100df1fc [CMAKE/MSVC] Enable function level linking and comdat folding independent from build type. This reduces freeldr size and allows to build with /RTC1 again. Since GCC doesn't support function level linking, cmlib should be refactored by moving some functions into different source files to avoid linking unused code into freeldr.
svn path=/trunk/; revision=71066
2016-03-28 16:38:26 +00:00
Timo Kreuzer
920ada6ae0 {SPEC2DEF] Allow forwarders to contain ordinals (xydll.#123)
svn path=/trunk/; revision=71065
2016-03-28 16:31:32 +00:00
Thomas Faber
027a043944 [SHELL32_APITEST]
- Add tests for IShellFolder::CompareIDs. Patch by Mark Jansen, with additional test cases by Sylvain Deverre.
CORE-10747

svn path=/trunk/; revision=71064
2016-03-28 15:35:21 +00:00
Thomas Faber
677a03e5af [USER32]
- Fix is_dib_monochrome for bitmaps using BITMAPCOREINFO. Patch by Mark Jansen.
CORE-10889

svn path=/trunk/; revision=71063
2016-03-28 14:58:20 +00:00
Thomas Faber
6da01fa019 [RTL]
- Don't print an uninitialized variable in parse_assembly_identity_elem. Spotted by Mark Jansen.
CORE-10927 #resolve

svn path=/trunk/; revision=71062
2016-03-28 11:43:16 +00:00
Thomas Faber
d7dacbad47 [CMAKE]
- Delay imports belong before regular imports because delayimp may pull in functions from kernel32
CORE-10935

svn path=/trunk/; revision=71061
2016-03-27 15:14:32 +00:00
Pierre Schweitzer
60b7bdf7c8 [NTFS]
Fix invalid read for data shared over two sectors

Patch by Trevor Thompson

CORE-10998

svn path=/trunk/; revision=71060
2016-03-27 09:33:22 +00:00
James Tabor
bc08222791 [User32]
- Fix crash by use of MDI container rules.
- Patch by Michael Müller: Preserve beginning of extra data for MDI windows.
- Patch by Jacek Caban : Ignore WM_CHILDACTIVATE on disabled windows in DefMDIChildProc.
- CORE-10912 Wine Staging 1.9.4

svn path=/trunk/; revision=71059
2016-03-26 23:12:01 +00:00
James Tabor
b0c749c4ea [User32]
- Patch by Piotr Caban : Select text control content while setting dialog focus.
- CORE-10912 Wine Staging 1.9.4
- Added comments.

svn path=/trunk/; revision=71058
2016-03-26 21:20:55 +00:00
Amine Khaldi
e308102f4a [REISERFS] Import ReiserFS file system driver for Windows. It will be enabled later on. Brought to you by Peter Hater. CORE-11005
svn path=/trunk/; revision=71057
2016-03-26 20:40:42 +00:00
Thomas Faber
aa172ad912 [USER32]
- Use the correct, previously calculated width and height in BITMAP_LoadImageW instead of assuming pbmi is an actual BITMAPINFO. Fixes loading bitmaps using BITMAPCOREINFO format. Patch by Mark Jansen.
CORE-10889

svn path=/trunk/; revision=71056
2016-03-26 15:35:21 +00:00
Pierre Schweitzer
7dd5bed1c6 [NTFS]
Fix a typo.

Patch by Trevor Thompson

CORE-10998

svn path=/trunk/; revision=71055
2016-03-26 13:22:32 +00:00
Pierre Schweitzer
49cf2b67df [FREELDR]
Cherrypick r71053

svn path=/trunk/; revision=71054
2016-03-26 13:19:09 +00:00
Pierre Schweitzer
4516374507 [NTFS]
Fix a bug in sparse files reading.

Spotted and fixed by Aman Priyadarshi

svn path=/trunk/; revision=71053
2016-03-26 13:15:14 +00:00
Pierre Schweitzer
0df3e104b4 [BTRFS]
Upgrade the WinBtrfs to release 0.3.

Mostly bugfixes

CORE-11024 #resolve #comment Committed in r71052

svn path=/trunk/; revision=71052
2016-03-26 11:53:07 +00:00
Hermès Bélusca-Maïto
7fb342fec3 [SYSSETUP]
- Reduce the C COM "ugliness" by using suitable macros. Thanks to Mark Jansen for having pointed that.
- Use sizeof() instead of ARRAYSIZE() * sizeof(WCHAR) to do the same thing.

svn path=/trunk/; revision=71051
2016-03-26 02:11:58 +00:00
Hermès Bélusca-Maïto
7dc1d07379 [SYSSETUP]: Code formatting, and exclusively use UNICODE strings.
svn path=/trunk/; revision=71050
2016-03-26 01:43:34 +00:00
Hermès Bélusca-Maïto
fcc8dd0c5a [SYSSETUP]
Allow for an optional working directory in the shortcuts definitions in the shortcuts.inf file.
Patch by Mark Jansen
CORE-11020 #comment Thank you very much!

[SHORTCUTS.INF]
As an application of the previous feature, make the shortcuts (desktop & start menu) of cmd.exe start it from the user directory.
CORE-11018 #comment Please retest with r71049.

svn path=/trunk/; revision=71049
2016-03-26 01:16:35 +00:00
Robert Naumann
85ca1a67fc [IERNONCE] Add resources, update file header, remove unneeded includes CORE-7194
svn path=/trunk/; revision=71048
2016-03-25 23:54:55 +00:00
Pierre Schweitzer
de0bb0d228 [NTOSKRNL_VISTA]
Bug fixes to FsRtlRemoveDotsFromPath() (buffer overrun, buffer underrun, etc.).

This fixes the failing test

svn path=/trunk/; revision=71047
2016-03-25 22:12:08 +00:00
Pierre Schweitzer
ef0b98d6fb [KMTESTS]
- Define a new macro function KmtGetSystemOrEmbeddedRoutineAddress() which is to be used to get a function address from Mm if it exists system-wide or to fallback to embedded function if it doesn't exist
- Use this mechanism to add tests for the newly implemented FsRtlRemoveDotsFromPath() which is Vista+.

That allows, with a single build (and thus, same binaries), testing a function in ReactOS and in Windows. 

svn path=/trunk/; revision=71046
2016-03-25 18:53:43 +00:00
Ziliang Guo
77f62e2539 Last rapps sync patch for rapps_new. Sync by Mark Jensen. Patch by toe_head2001.
CORE-10986

svn path=/trunk/; revision=71045
2016-03-25 02:14:36 +00:00
Ziliang Guo
1e01918302 Additional rapps sync involving SSL certs. Porting done by Mark Jensen. Original code from Ismael Ferreras Morezuelas.
CORE-10986

svn path=/trunk/; revision=71044
2016-03-25 02:10:08 +00:00
Ziliang Guo
3ccdac9aca Sync rapps_new with rapps. Porting done by Mark Jensen. Original code from Ismael Ferreras Morezuelas.
CORE-10986

svn path=/trunk/; revision=71043
2016-03-24 23:03:35 +00:00
Amine Khaldi
72fc8c1283 [HIVESFT] Fix Santiago timezone in ReactOS time settings. By Peter Hater. CORE-10231
svn path=/trunk/; revision=71042
2016-03-24 18:18:30 +00:00
Amine Khaldi
989c5c1042 [SHELL32] Do not ignore the localized name for Desktop. By Ștefan Fulea. CORE-11001
svn path=/trunk/; revision=71041
2016-03-24 18:05:47 +00:00
Amine Khaldi
1c83377e38 [NPFS] Add version information. By Lee Schroeder. CORE-11004
svn path=/trunk/; revision=71040
2016-03-24 10:21:25 +00:00
Hermès Bélusca-Maïto
8699bf007d [BTRFS]
BUGBUG in fileinfo.c: 'datalen' is used but not initialized!

[NTOSKRNL_VISTA]
Add most of the same compile-time definitions as for ntoskrnl proper, since this static library can be seen as part of the kernel! Fixes MSVC build.

svn path=/trunk/; revision=71039
2016-03-23 21:24:28 +00:00
Pierre Schweitzer
d0b46d4b4f [BTRFS]
Add the driver to the registry and to the CDs (out of cab)
Feel free to enjoy btrfs in ReactOS :-)

CORE-10892

svn path=/trunk/; revision=71038
2016-03-23 20:37:55 +00:00
Pierre Schweitzer
d6b45221ca [BTRFS]
Import the WinBtrfs 0.2 driver from https://github.com/maharmstone/btrfs.

Based on the initial work from Peter Hater, with various modification and patches sent upstream (yay, yet another collaboration :-)).

This driver is in its earlies, so expect crashes, issues, and so on. We'll keep it updated to get rid of these issues.
For now, it reads really well from a btrfs volume!

CORE-10892

svn path=/trunk/; revision=71037
2016-03-23 20:35:05 +00:00
Pierre Schweitzer
bd24dc4921 [NTOSKRNL_VISTA]
Introduce a new library dedicated to recent drivers: ntoskrnl_vista.

Its purpose is to provide some Vista+ syscalls to drivers that would require them.
Only 'simple' syscalls not depending on internal structures can land in this library (for the others, you're doomed ;-)).
This library is to be statically linked to your driver.

For the initial commit, the following syscalls have been implemented:
- RtlUnicodeToUTF8N(), RtlUTF8ToUnicodeN(), taken from Wine trunk, implemented by Thomas
- FsRtlRemoveDotsFromPath() implemented for the library

These three are required by the WinBtrfs FS driver

CORE-10892

svn path=/trunk/; revision=71036
2016-03-23 20:01:51 +00:00
Thomas Faber
8a1bed04bb [DBGHELP]
- Properly rename SYMBOL_INFO's member to Index, as done upstream. Dedicated to Timo.

svn path=/trunk/; revision=71035
2016-03-23 11:43:20 +00:00
Sylvain Petreolle
69a888dc46 [SMSS]
Less debug, better diagnostis.

svn path=/trunk/; revision=71034
2016-03-22 18:34:18 +00:00
Amine Khaldi
48463497bb [README.WINE] Mark some modules as synced with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=71033
2016-03-21 16:28:41 +00:00
Pierre Schweitzer
2bff25caed [NTOSKRNL]
Fix build.
Seriously... GCC, you allow this?!

svn path=/trunk/; revision=71032
2016-03-20 19:30:43 +00:00
Pierre Schweitzer
a15c1b7b67 [EXT2]
Update the driver to release 0.63.

One notable change is support for ExtX links (hard/sym). They work out of the box due to all the previous work that was done for supporting reparse points on NTFS.

Full changelog available at: http://www.ext2fsd.com/?p=195

CORE-10996 #resolve #comment Commited in r71031

svn path=/trunk/; revision=71031
2016-03-20 18:36:38 +00:00
Pierre Schweitzer
0a5da2af17 [NTOSKRNL]
Implement in a really simple way CcSetBcbOwnerPointer() and CcUnpinDataForThread(). They don't do everything the Windows Cc does, but at least, they do the basic job.

CORE-10996

svn path=/trunk/; revision=71030
2016-03-20 18:33:54 +00:00
Timo Kreuzer
b9ead554ad [PSDK] "Fix" _SYMBOL_INFO structure, by replacing "info" member with a union of Index (correct member name) and info (required by wine code)
svn path=/trunk/; revision=71029
2016-03-20 17:11:49 +00:00
Pierre Schweitzer
f8ab19dde0 [NTDLL_APITEST]
RtlGenerate8dot3Name: add more test locales

svn path=/trunk/; revision=71028
2016-03-20 11:31:42 +00:00
Pierre Schweitzer
34de8c69b3 [NTDLL_APITEST]
Set correct locale in RtlGenerate8dot3Name test.
This makes the test reproducible on every target plateform.

Patch by Mark Jansen.

ROSTESTS-218 #resolve #comment Patch commited in r71027. Thanks!

svn path=/trunk/; revision=71027
2016-03-20 10:51:14 +00:00
Amine Khaldi
1071daa616 [RAPPS_NEW] Add menu to the main window. By Mark Jansen. CORE-10992
svn path=/trunk/; revision=71026
2016-03-18 21:51:58 +00:00
Amine Khaldi
71df9d2dc5 [INETCPL][MMSYS][MSTSC][REGEDIT][SHELL32] Minor icon fixes by Jared Smudde. CORE-10987
svn path=/trunk/; revision=71022
2016-03-18 10:44:46 +00:00
Amine Khaldi
024dcc7549 [MUP][NTOS] Fix some misspellings. By Jared Smudde. CORE-10984
svn path=/trunk/; revision=71021
2016-03-18 10:29:46 +00:00
Ziliang Guo
acf15ae965 Implement SHA1 checksum in new RAPPS. Patch by Mark Jansen.
CORE-10908 #resolve

svn path=/trunk/; revision=71020
2016-03-18 06:40:39 +00:00
Pierre Schweitzer
32d02efe94 [MPR]
Import Wine commit:
- e8c8ddcbfc8bc4458add06062005a4022162deab, Don't send lpRemoteName when requesting network place.

This is the end: ReactOS WNet is fully in sync with Wine, with all the features required for network providers in.
Enjoy your VBox/VMware shared folders working with synced upstream!

CORE-10878
CORE-10032

svn path=/trunk/; revision=71019
2016-03-17 18:18:18 +00:00
Ged Murphy
bea0c19634 Implement CHeapPtr with a template allocator.
Re-Implement CComHeapPtr by deriving from CHeapPtr with a COM allocator
Patch by Mark Jansen
CORE 10903

svn path=/trunk/; revision=71018
2016-03-17 18:05:44 +00:00
Pierre Schweitzer
34c525c85d [VFATLIB]
Hint for future and current developers: there's a hidden feature in ReactOS, you can build it locally before committing, so that you can check whether your commit breaks build...
Amazing, isn't it?

svn path=/trunk/; revision=71017
2016-03-17 07:55:00 +00:00
Hermès Bélusca-Maïto
14590f92cf [VFATLIB]: Few "adjustments" (inspired from the code of DPRINT1) to diagnose
CORE-10932 CORE-10981 #comment Please retest with revision 71016 and make a debug log!

svn path=/trunk/; revision=71016
2016-03-17 01:11:10 +00:00
Pierre Schweitzer
02ce356779 [MPR]
Import Wine commit (by Nikolay Sivov):
- e920b4ecffd6387e24dd046fd7fa97d13d418d26, Implement WNetUseConnectionA().

CORE-10032

svn path=/trunk/; revision=71015
2016-03-16 18:40:14 +00:00
Eric Kohl
ca5647ee50 [RAPPS][RAPPS_NEW]
Missing italian translations in ReactOS.
Patch by Carlo Bramini.
CORE-9725

svn path=/trunk/; revision=71014
2016-03-14 18:55:23 +00:00
Eric Kohl
aedb89b5d9 [SHELL32]
Missing italian translations in ReactOS.
Patch by Carlo Bramini.
CORE-9725

svn path=/trunk/; revision=71013
2016-03-14 18:44:24 +00:00
Eric Kohl
d39f1f56f5 [SNDREC32]
Missing italian translations in ReactOS.
Patch by Carlo Bramini.
CORE-9725

svn path=/trunk/; revision=71012
2016-03-14 18:30:35 +00:00
Eric Kohl
3dae907e81 [NOTEPAD]
Missing italian translations in ReactOS.
Patch by Carlo Bramini.
CORE-9725

svn path=/trunk/; revision=71011
2016-03-14 18:25:07 +00:00
Amine Khaldi
b7c126d10e [TREE][USERINIT] Italian Translation update by Riccardo Montanari with fixes by me. CORE-10970
svn path=/trunk/; revision=71010
2016-03-14 09:22:20 +00:00
Eric Kohl
768609963a [MSGINA]
Missing italian translations in ReactOS.
Patch by Carlo Bramini.
CORE-9725

svn path=/trunk/; revision=71009
2016-03-13 23:21:52 +00:00
Eric Kohl
7f1403f94b [LSASRV]
Missing italian translations in ReactOS.
Patch by Carlo Bramini.
CORE-9725

svn path=/trunk/; revision=71008
2016-03-13 23:06:55 +00:00
Amine Khaldi
bf13654827 [README.WINE] Addendum to r71006.
svn path=/trunk/; revision=71007
2016-03-13 18:18:06 +00:00
Amine Khaldi
8164b6f2bc [MSACM32.DRV] Move to dll/win32.
svn path=/trunk/; revision=71006
2016-03-13 18:08:50 +00:00
Eric Kohl
5f61233a8f [CLIPBRD][MMC][REACTOS][APPWIZ][CONSOLE]
Update Simplified Chinese and Traditional Chinese Translation.
Patch by Henry Tang Ih.
CORE-10939 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71005
2016-03-13 18:05:10 +00:00
Eric Kohl
d4cd5254ba [BROWSEUI]
Brazilian Portuguese translation for browseui.dll.
Patch by Edison Henrique Andreassy.
CORE-10933 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71004
2016-03-13 16:55:23 +00:00
Eric Kohl
475537344f [INTL][INPUT]
Brazilian Portuguese translation for intl.cpl and input.dll.
Patch by Edison Henrique Andreassy.
CORE-10930 #release #comment Thanks a lot!

svn path=/trunk/; revision=71003
2016-03-13 14:21:09 +00:00
Amine Khaldi
8b061d20f4 [FREETYPE] Update to v2.6.3. CORE-10964
svn path=/trunk/; revision=71002
2016-03-13 11:33:31 +00:00
Amine Khaldi
614ed3b39a [WELCOME] React => ReactOS. By Henry Tang Ih. CORE-10946
svn path=/trunk/; revision=71001
2016-03-13 10:36:19 +00:00
Amine Khaldi
f9253f9bea [README.WINE] Mark some dlls as synced with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=71000
2016-03-13 09:06:54 +00:00
Hermès Bélusca-Maïto
aac6a3218e [SHELL32]: Modify EnumPickIconResourceProc so that it indeed uses its hModule parameter, and as a last simplification, just gives hDlgCtrl to EnumResourceNamesW.
svn path=/trunk/; revision=70999
2016-03-12 23:51:57 +00:00
Hermès Bélusca-Maïto
fba8d14251 [SHELL32]: Use _countof instead of ARRAYSIZE macro.
svn path=/trunk/; revision=70998
2016-03-12 17:09:39 +00:00
Hermès Bélusca-Maïto
c872e338a1 [SHELL32]: Correctly copy the icon file name string, using the user-defined nMaxFile parameter.
svn path=/trunk/; revision=70997
2016-03-12 17:06:33 +00:00
Pierre Schweitzer
6c63754861 [BOOTLIB]
Fix some invalid sizeof() usage

svn path=/trunk/; revision=70996
2016-03-12 17:01:39 +00:00
Amine Khaldi
49a077dc61 [SHELL32] Fix build.
svn path=/trunk/; revision=70995
2016-03-11 22:59:57 +00:00
Hermès Bélusca-Maïto
36ccda324d [SHELL32]: Use the system colours for drawing the icon list item selection rectangle, instead of using hardcoded values.
svn path=/trunk/; revision=70994
2016-03-11 22:13:48 +00:00
Hermès Bélusca-Maïto
431880741a [SHELL32]: Few SendMessageA -> SendMessageW conversions, and whitespace fixes.
svn path=/trunk/; revision=70993
2016-03-11 22:12:44 +00:00
Hermès Bélusca-Maïto
264200c726 [DELAYIMP]: Whitespace fixes only (tabs -> spaces).
svn path=/trunk/; revision=70992
2016-03-10 18:31:52 +00:00
Aleksandar Andrejevic
ab5df40430 [NTVDM]
Make the default graphics cursor more narrow and less ugly.
The new cursor is based on the one from DOSBox.


svn path=/trunk/; revision=70991
2016-03-10 02:44:37 +00:00
Aleksandar Andrejevic
2f923086b1 [NTVDM]
Implement PaintMouseCursor and EraseMouseCursor for video modes 12h and 13h.


svn path=/trunk/; revision=70990
2016-03-10 00:59:50 +00:00
Hermès Bélusca-Maïto
ac22a1149a [SHELL32]: Use Unicode version of GetWindowTextLength in the Run dialog box.
svn path=/trunk/; revision=70989
2016-03-10 00:05:00 +00:00
Amine Khaldi
e43a9a5105 [WINE/CONFIG] Update the LLVM bug report. Spotted by Mark Jansen.
svn path=/trunk/; revision=70985
2016-03-09 18:38:31 +00:00
Hermès Bélusca-Maïto
fd4e6f9c26 [PSDK][XDK]
- Add few missing #ifdef __GNUC__ before including msvctarget.h.
- The contents of intrin.h is included only if RC_INVOKED is not defined. Compatible with MinGW and WinSDK.
- Ignore PROBE_ALIGNMENT definition if no platform is defined, in case RC_INVOKED is defined. Compatible with MinGW and latest WinSDK.
The two last fixes are also necessary to not make the Visual Studio resource compiler complain when a resource file is opened in it.

svn path=/trunk/; revision=70984
2016-03-09 16:54:43 +00:00
Amine Khaldi
7e46a7f7f4 [KERNEL32] Correct Turkish Locale. By Erdem Ersoy. CORE-10921
svn path=/trunk/; revision=70983
2016-03-09 16:40:59 +00:00
Amine Khaldi
cded9ccbed [TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-10920
svn path=/trunk/; revision=70982
2016-03-09 16:39:02 +00:00
Amine Khaldi
8a0062231b [PSDK] Update oleidl.idl. CORE-10912
svn path=/trunk/; revision=70981
2016-03-09 16:34:27 +00:00
Amine Khaldi
3a9620d0b4 [TRANSLATIONS] Spanish translation update by Ismael Ferreras Morezuelas. CORE-10922
svn path=/trunk/; revision=70980
2016-03-09 16:33:41 +00:00
Amine Khaldi
a0ab4941f0 [USER32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70979
2016-03-09 09:25:21 +00:00
Amine Khaldi
98e06283e7 [SETUPAPI_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70978
2016-03-09 08:44:49 +00:00
Amine Khaldi
182359adfd [SHELL32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70977
2016-03-09 08:43:20 +00:00
Amine Khaldi
13376ac48f [MSVCRT_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70976
2016-03-09 08:36:59 +00:00
Amine Khaldi
6be757f3b7 [IMM32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70975
2016-03-09 08:32:48 +00:00
Hermès Bélusca-Maïto
5d8398fc61 [NTVDM]: Fix space padding calculation in the text-mode hex dumper.
svn path=/trunk/; revision=70974
2016-03-09 00:07:24 +00:00
Amine Khaldi
73f123b287 [KERNEL32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70973
2016-03-08 15:49:46 +00:00
Amine Khaldi
2efa541daf [XDK][PSDK][DDK] Improve winnt.h and make it share more definitions with wdm.h.
svn path=/trunk/; revision=70972
2016-03-08 15:35:17 +00:00
Amine Khaldi
70c93228cb [GDI32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70971
2016-03-08 15:01:05 +00:00
Amine Khaldi
6b4fafcb54 [PSDK] Update shobjidl.idl. CORE-10912
svn path=/trunk/; revision=70970
2016-03-08 14:55:33 +00:00
Amine Khaldi
c5d7583214 [BCRYPT] Implement mbedTLS backend. Brought to you by Peter Hater. CORE-10934
svn path=/trunk/; revision=70969
2016-03-08 14:49:52 +00:00
Amine Khaldi
6ac836433e [PSDK] Update xmldomdid.h. CORE-10912
svn path=/trunk/; revision=70968
2016-03-07 16:32:35 +00:00
Amine Khaldi
6b2347f73e [PSDK] Add some missing MUI_* definitions.
svn path=/trunk/; revision=70967
2016-03-06 21:32:01 +00:00
Amine Khaldi
b72891aa32 [DNSAPI_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70963
2016-03-06 16:50:59 +00:00
Amine Khaldi
bab6d16d7c [ADVAPI32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70962
2016-03-06 16:43:16 +00:00
Amine Khaldi
6e801f790b [OLEPRO32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70961
2016-03-06 16:11:19 +00:00
Amine Khaldi
8266de896c [PSDK] Update winerror.h. CORE-10912
svn path=/trunk/; revision=70960
2016-03-06 16:06:07 +00:00
Hermès Bélusca-Maïto
eadaf9793c [PROGMAN]: Fix build. Tango-like icon by Ismael Ferreras Morasuelas (swyter).
svn path=/trunk/; revision=70959
2016-03-06 15:01:08 +00:00
Thomas Faber
2145a94c5c [PROGMAN]
- Hermès, go fix build or whatever

svn path=/trunk/; revision=70958
2016-03-06 11:42:25 +00:00
Hermès Bélusca-Maïto
1f41be7d09 [PSDK]: Fix a define.
svn path=/trunk/; revision=70957
2016-03-05 22:46:54 +00:00
Amine Khaldi
375b0b6042 [PSDK] Satisfy MSVC 2010. Dedicated to Hermès.
svn path=/trunk/; revision=70956
2016-03-05 22:40:18 +00:00
Pierre Schweitzer
cfec64a66a [FS_REC]
Implement support for recognizing the Btrfs volumes.

Patch by Peter Hater.

CORE-10892 #comment The fs_rec part has been committed, thanks!

svn path=/trunk/; revision=70955
2016-03-05 13:01:11 +00:00
Amine Khaldi
821cc3d85c [XMLLITE_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70954
2016-03-05 11:09:57 +00:00
Amine Khaldi
f99a66eafb [WMIUTILS_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70953
2016-03-05 11:09:08 +00:00
Amine Khaldi
0916eb633b [WINMM_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70952
2016-03-05 11:06:50 +00:00
Amine Khaldi
15e3e7fd28 [WTSAPI32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70951
2016-03-05 11:04:47 +00:00
Amine Khaldi
eff9d67cf2 [WLDAP32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70950
2016-03-05 11:01:59 +00:00
Amine Khaldi
d3b1ceab03 [WININET_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70949
2016-03-05 10:59:21 +00:00
Amine Khaldi
0dbcea8773 [WININET] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70948
2016-03-05 10:58:26 +00:00
Amine Khaldi
44db21603f [WINHTTP_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70947
2016-03-05 10:55:00 +00:00
Amine Khaldi
6de537bd43 [WINHTTP] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70946
2016-03-05 10:51:52 +00:00
Amine Khaldi
cf5231619b [WBEMPROX_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70945
2016-03-05 10:48:40 +00:00
Amine Khaldi
dc9f8b24d1 [WBEMPROX] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70944
2016-03-05 10:48:13 +00:00
Amine Khaldi
9ff47835c1 [WBEMDISP] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70943
2016-03-05 10:36:27 +00:00
Amine Khaldi
7f6cf10dd9 [VBSCRIPT_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70942
2016-03-05 10:34:43 +00:00
Amine Khaldi
1faa5d60a4 [VERSION] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70941
2016-03-05 10:33:17 +00:00
Amine Khaldi
f54544cd06 [USP10_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70940
2016-03-05 10:30:57 +00:00
Amine Khaldi
5182944828 [USP10] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70939
2016-03-05 10:30:03 +00:00
Amine Khaldi
bf460ff671 [URLMON_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70938
2016-03-05 10:28:41 +00:00
Amine Khaldi
cc0b58e9c8 [URLMON] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70937
2016-03-05 10:27:46 +00:00
Amine Khaldi
2805e855c4 [TAPI32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70936
2016-03-05 10:26:27 +00:00
Pierre Schweitzer
277399b7d0 [AUTOCHK]
Add support for the Btrfs file system

CORE-10892

svn path=/trunk/; revision=70935
2016-03-05 10:24:16 +00:00
Pierre Schweitzer
bdcc0812c3 [UBTRFS]
Implement the utility DLL for the Btrfs file system

svn path=/trunk/; revision=70934
2016-03-05 10:22:15 +00:00
Amine Khaldi
35050b07f8 [SHLWAPI_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70933
2016-03-05 10:21:38 +00:00
Pierre Schweitzer
19f279aa02 [BTRFSLIB]
Stub the Btrfs lib

CORE-10892

svn path=/trunk/; revision=70932
2016-03-05 10:20:32 +00:00
Amine Khaldi
18e1e62ec0 [SHLWAPI] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70931
2016-03-05 10:20:00 +00:00
Amine Khaldi
6a78ba7288 [SECUR32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70930
2016-03-05 10:14:32 +00:00
Amine Khaldi
a12a32176f [PSDK] Add missing URL_ESCAPE_AS_UTF8.
svn path=/trunk/; revision=70929
2016-03-05 10:10:10 +00:00
Amine Khaldi
eaadf9f84a [RICHED32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70928
2016-03-05 10:08:10 +00:00
Amine Khaldi
916e33e5cc [SCRRUN_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70927
2016-03-05 10:07:02 +00:00
Amine Khaldi
c3885d3546 [SCRRUN] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70926
2016-03-05 10:06:02 +00:00
Amine Khaldi
c20ac899c6 [RPCRT4] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70925
2016-03-05 10:04:14 +00:00
Amine Khaldi
2021521c14 [RICHED20_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70924
2016-03-05 09:58:36 +00:00
Amine Khaldi
465363dbbd [RICHED20] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70923
2016-03-05 09:57:50 +00:00
Amine Khaldi
53f7b483b5 [PROGMAN] Properly import from Wine Staging 1.9.4. This fixes PCH usage, marks ReactOS specific diffs, reduces difference to upstream code, properly documents the sync in README.WINE, improves header inclusions and more. Changes should be sent upstream by their author (TM). CORE-10912
svn path=/trunk/; revision=70922
2016-03-05 08:45:08 +00:00
Amine Khaldi
e5678878b7 [PROGMAN] Fix build.
svn path=/trunk/; revision=70921
2016-03-05 08:24:55 +00:00
Hermès Bélusca-Maïto
61d6b87b99 [OOPS]
A little bird pointed to me that I forgot to add progman to compilation...

svn path=/trunk/; revision=70920
2016-03-05 01:29:46 +00:00
Hermès Bélusca-Maïto
841705c296 [PROGMAN]
- Fix the Shell-About box.
- Whitespace/indentation fixes in string.c
- Add missing size for the ICON resource item of the dialog "Program attributes". MSVC resource compiler considered that as an error, while GCC's windres compiled that without warning (who knows what they took as the default value...).

svn path=/trunk/; revision=70919
2016-03-05 01:27:27 +00:00
Hermès Bélusca-Maïto
1b6a12077c [PROGMAN]: Add the famous Program Manager (Win3.1 style) from Wine 1.9.5, with minor fixes for compilation. The icon should be replaced as soon as possible.
svn path=/trunk/; revision=70918
2016-03-04 19:22:35 +00:00
Hermès Bélusca-Maïto
7073e04791 [AUTOCHK][CHKDSK]
- Whitespace fixes;
- Remove useless comments.

[FORMAT]
- Whitespace (tabs -> spaces) and indentation fixes.

[VFATLIB]
- Change of name of variable.

svn path=/trunk/; revision=70917
2016-03-04 17:09:34 +00:00
Hermès Bélusca-Maïto
dc17af93ed [FORMAT]
- Completely reunicodify the application. CORE-9369
- Add back the original copyright/author information.

svn path=/trunk/; revision=70916
2016-03-04 16:26:57 +00:00
Robert Naumann
f19459a13b [RAPPS] Display error messages on download failures. Patch by toe_head2001. Thank you!
svn path=/trunk/; revision=70915
2016-03-04 16:10:26 +00:00
Robert Naumann
7110605be1 [APPWIZ] Stubplement ConfigStartMenu Patch by Jared Smudde. CORE-10788
svn path=/trunk/; revision=70914
2016-03-04 15:43:31 +00:00
Amine Khaldi
f9a4d5fa42 [PSDK] Update richedit.h. CORE-10912
svn path=/trunk/; revision=70913
2016-03-04 10:18:29 +00:00
Amine Khaldi
9676b263df [RASAPI32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70912
2016-03-04 09:46:02 +00:00
Amine Khaldi
35b4271233 [PSAPI_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70911
2016-03-04 09:44:49 +00:00
Amine Khaldi
8daa517099 [QMGR] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70910
2016-03-04 09:44:01 +00:00
Amine Khaldi
9bbc722f5e [OPENGL32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70909
2016-03-04 09:41:45 +00:00
Amine Khaldi
32c6851049 [ODBCCP32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70908
2016-03-04 09:39:35 +00:00
Amine Khaldi
299154ad71 [PDH] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70907
2016-03-04 09:38:25 +00:00
Amine Khaldi
c59425388d [OLEDLG_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70906
2016-03-04 09:36:12 +00:00
Amine Khaldi
798ac71373 [OLEDLG] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70905
2016-03-04 09:35:57 +00:00
Amine Khaldi
182031e324 [OLEAUT32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70904
2016-03-04 09:33:46 +00:00
Amine Khaldi
5567f3cf36 [OLEAUT32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70903
2016-03-04 09:33:34 +00:00
Amine Khaldi
0a2db0a106 [OLE32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70902
2016-03-04 09:30:16 +00:00
Amine Khaldi
bdeb901264 [OLE32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70901
2016-03-04 09:25:52 +00:00
Amine Khaldi
afcabd6d9e [PSDK] Update objidl.idl. CORE-10912
svn path=/trunk/; revision=70900
2016-03-04 09:20:21 +00:00
Hermès Bélusca-Maïto
4f69fb7420 [HELP]: Use ARRAYSIZE(buffer) instead of hardcoding its size.
svn path=/trunk/; revision=70899
2016-03-03 23:00:55 +00:00
Eric Kohl
ba411a1da0 [TIMEDATE]
Brazilian Portuguese translation for timedate.cpl.
Patch by  Edison Henrique Andreassy.
CORE-10919 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70898
2016-03-03 20:16:39 +00:00
Eric Kohl
f1de96bca2 Brazilian Portuguese translation for console.dll.
Patch by Edison Henrique Andreassy.
CORE-10918 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70897
2016-03-03 20:13:25 +00:00
Eric Kohl
e34e1dfc1d Brazilian Portuguese translation for access.cpl.
Patch by Edison Henrique Andreassy.
CORE-10916 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70896
2016-03-03 20:10:20 +00:00
Amine Khaldi
476ff7e622 [OLE32] Adapt to the recent objbase.h change.
svn path=/trunk/; revision=70895
2016-03-03 17:54:32 +00:00
Amine Khaldi
c9e309bf60 [PSDK] Update objbase.h. CORE-10912
svn path=/trunk/; revision=70894
2016-03-03 17:49:03 +00:00
Amine Khaldi
ae74d4fba9 [MSIEXEC] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70893
2016-03-03 14:29:43 +00:00
Amine Khaldi
1c0b7826ac [MSI_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70892
2016-03-03 14:28:57 +00:00
Amine Khaldi
5b552508ae [MSI] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70891
2016-03-03 14:28:37 +00:00
Amine Khaldi
528c860782 [PSDK] Add some missing definitions.
svn path=/trunk/; revision=70890
2016-03-03 14:11:13 +00:00
Amine Khaldi
e262b6027a [MSRLE_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70889
2016-03-03 14:10:09 +00:00
Amine Khaldi
9637fe24af [MSCMS_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70888
2016-03-03 14:08:46 +00:00
Amine Khaldi
b65776bc1b [ODBC32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70887
2016-03-03 14:08:04 +00:00
Amine Khaldi
147cf7ee71 [MSXML3_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70886
2016-03-03 14:05:59 +00:00
Amine Khaldi
ce187684eb [MSXML3] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70885
2016-03-03 14:00:49 +00:00
Amine Khaldi
565ee09080 [MSCTF] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70884
2016-03-03 13:48:58 +00:00
Amine Khaldi
0737aa31b7 [PSDK] Add some missing definitions.
svn path=/trunk/; revision=70883
2016-03-03 13:45:51 +00:00
Amine Khaldi
44d89b03bc [MSACM32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70882
2016-03-03 13:44:45 +00:00
Amine Khaldi
666f8ba388 [MPR_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70881
2016-03-03 13:43:32 +00:00
Amine Khaldi
1458f62d38 [MLANG_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70880
2016-03-03 13:42:35 +00:00
Amine Khaldi
57634b2a21 [MSACM32.DRV] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70879
2016-03-03 13:41:35 +00:00
Amine Khaldi
338dcef71c [MSACM32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70878
2016-03-03 13:40:51 +00:00
Amine Khaldi
8abbe01e6c [MMDEVAPI] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70877
2016-03-03 13:39:42 +00:00
Amine Khaldi
77f243c007 [MCIQTZ32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70876
2016-03-03 13:38:34 +00:00
Amine Khaldi
7aea6cbc61 [IMAGEHLP_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70875
2016-03-03 13:37:13 +00:00
Amine Khaldi
c3677ca740 [MAPI32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70874
2016-03-03 13:36:26 +00:00
Amine Khaldi
5d4b069a8b [PSDK] Update d3d11shader.h. CORE-10912
svn path=/trunk/; revision=70873
2016-03-03 13:25:26 +00:00
Amine Khaldi
6c51c66d48 [JSCRIPT_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70872
2016-03-03 13:25:03 +00:00
Amine Khaldi
07a14c5c02 [JSCRIPT] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70871
2016-03-03 13:24:43 +00:00
Amine Khaldi
832c97fe3b [INETCOMM] Sync with Wine Staging 1.9.4. CORE-10912 [PSDK] Update objidl.idl. [MAPI32][OLE32] Adapt to objidl.idl changes.
svn path=/trunk/; revision=70870
2016-03-03 13:03:11 +00:00
Hermès Bélusca-Maïto
b1ef18e020 [AUTOCHK][CHKDSK]: Minor fixes / formatting. Really add chkdsk to build.
[FMIFS]: Quickly implement the chkdsk function, the same way as it is done for the formatting function.

svn path=/trunk/; revision=70869
2016-03-03 00:36:25 +00:00
Hermès Bélusca-Maïto
9723b5e974 [CHKDSK]
- Integrate chkdsk into our build system.
- Whitespace fixes.

svn path=/trunk/; revision=70868
2016-03-02 22:05:19 +00:00
Hermès Bélusca-Maïto
4dc68af961 [ROSAPPS]: Remove chkdsk from the CMakeLists.
svn path=/trunk/; revision=70867
2016-03-02 20:23:09 +00:00
Hermès Bélusca-Maïto
9ebceb025b [CHKDSK]: Move checkdisk utility into the main trunk, but don't add it to compilation yet.
svn path=/trunk/; revision=70866
2016-03-02 20:21:27 +00:00
Amine Khaldi
b4c2da5739 [IEFRAME] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70865
2016-03-02 10:41:57 +00:00
Amine Khaldi
b3d83afecb [PSDK] Update some D3D10 related headers. CORE-10912
svn path=/trunk/; revision=70864
2016-03-02 10:41:10 +00:00
Amine Khaldi
fda1ee7c7d [GDIPLUS_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70863
2016-03-02 10:35:00 +00:00
Amine Khaldi
615db957ca [GDIPLUS] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70862
2016-03-02 10:34:40 +00:00
Amine Khaldi
1a6ea4f8e9 [PSDK] Update gdiplusflat.h. CORE-10912
svn path=/trunk/; revision=70861
2016-03-02 10:17:31 +00:00
Amine Khaldi
2de608a0e7 [FUSION][FUSION_1_1][FUSION_2_0] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70860
2016-03-02 10:11:41 +00:00
Amine Khaldi
c685be6a9e [DNSAPI] Correct and improve DnsFlushResolverCacheEntry_A() stub. CORE-10912
svn path=/trunk/; revision=70859
2016-03-02 09:58:46 +00:00
Hermès Bélusca-Maïto
778b819070 [VFATLIB]: Sync the FAT checker with dosfstools' fsck.vfat, from https://github.com/dosfstools/dosfstools . Synced with master branch, commit ed4e47b6757c05d4c23a9075b8b68003aa5dbfb8
svn path=/trunk/; revision=70858
2016-03-02 01:08:54 +00:00
Hermès Bélusca-Maïto
9fe7f7642f [USETUP]: In case chkdsk detects some disk errors, just display a warning message but allow the user to continue the installation.
svn path=/trunk/; revision=70857
2016-03-02 00:51:48 +00:00
Amine Khaldi
d763a707db [ADVPACK_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70856
2016-03-01 19:31:48 +00:00
Amine Khaldi
7b83519263 [CREDUI_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70855
2016-03-01 19:30:48 +00:00
Amine Khaldi
43c1223262 [DINPUT_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70854
2016-03-01 19:29:57 +00:00
Amine Khaldi
fcfb86e245 [DBGHELP] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70853
2016-03-01 19:28:06 +00:00
Amine Khaldi
39897547f2 [CRYPT32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70852
2016-03-01 19:21:01 +00:00
Amine Khaldi
d814026136 [CRYPT32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70851
2016-03-01 19:20:47 +00:00
Amine Khaldi
084413dfe6 [README.WINE] Mark the remaining DX modules as synced with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70850
2016-03-01 19:13:32 +00:00
Amine Khaldi
de0a20f43e [COMDLG32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70849
2016-03-01 19:12:27 +00:00
Amine Khaldi
1f027afc05 [COMDLG32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70848
2016-03-01 19:11:55 +00:00
Amine Khaldi
34400f4d6f [COMCTL32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70847
2016-03-01 19:02:49 +00:00
Amine Khaldi
74d4ba7655 [COMCTL32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70846
2016-03-01 19:02:33 +00:00
Amine Khaldi
6e92889aa6 [CMD_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70845
2016-03-01 18:56:31 +00:00
Amine Khaldi
cfef8c6c9b [INCLUDE/WINE] Update test.h. By Thomas Faber. CORE-10912
svn path=/trunk/; revision=70844
2016-03-01 18:56:14 +00:00
Amine Khaldi
3b02352dfc [AVIFIL32_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70843
2016-03-01 18:32:02 +00:00
Amine Khaldi
c5485a4bf0 [AVIFIL32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70842
2016-03-01 18:31:48 +00:00
Amine Khaldi
d9ba4bf170 [QUARTZ_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70841
2016-03-01 18:26:00 +00:00
Amine Khaldi
4e179c15ac [QUARTZ] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70840
2016-03-01 18:25:44 +00:00
Amine Khaldi
d4d184c689 [INCLUDE/WINE] Update winternl.h. CORE-10912
svn path=/trunk/; revision=70839
2016-03-01 18:21:47 +00:00
Amine Khaldi
1bd33c5367 [DXSDK] Add missing ksuuids.h inclusion.
svn path=/trunk/; revision=70838
2016-03-01 18:15:48 +00:00
Hermès Bélusca-Maïto
e3445e18d1 [USETUP]
- bootsup.c/.h, usetup.c: Save the old MBR sector in the system partition (this makes easier to restore the old one).
- fslist.c/.h, usetup.h: Fix header inclusion order.
- partlist.c/.h, usetup.c: On BIOS-PC architectures, the system partition can be formatted in any FS as long as it is the active partition (on the contrary, on architectures where such system partition is required, it is formatted in FAT). We currently do not have write support for all FSes out there (apart for FAT until now), so do a "clever" "trick" to work around this problem: on initialized disks, find the active partition and check its FS. If we support write access to this FS then we're OK, otherwise we change the (active) system partition for the one on which we are going to install ReactOS (which is, by construction, formatted with a FS on which we support write access).
The MBR (resp. the VBR) of the disk (resp. of the system partition) are always saved into files, making easy for people to boot on them (using FreeLdr) or restoring them.

CORE-10898

svn path=/trunk/; revision=70837
2016-03-01 15:00:56 +00:00
Amine Khaldi
a91cef7070 [STRMBASE] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70836
2016-03-01 13:41:22 +00:00
Amine Khaldi
284bfcc823 [PSDK] Update d3dcommon.idl. CORE-10912
svn path=/trunk/; revision=70835
2016-03-01 13:38:40 +00:00
Amine Khaldi
24426079d7 [DXDIAGN_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70834
2016-03-01 13:18:35 +00:00
Amine Khaldi
1c657e3e04 [DXDIAGN] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70833
2016-03-01 13:17:52 +00:00
Amine Khaldi
2e477a8332 [DPLAYX] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70832
2016-03-01 12:30:17 +00:00
Amine Khaldi
26f0614d70 [BCRYPT_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70831
2016-03-01 12:28:40 +00:00
Amine Khaldi
4efedc0606 [BCRYPT] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70830
2016-03-01 12:27:13 +00:00
Amine Khaldi
580e868308 [PSDK] Update bcrypt.h. CORE-10912
svn path=/trunk/; revision=70829
2016-03-01 12:24:32 +00:00
Amine Khaldi
dce802c523 [ATL100_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70828
2016-03-01 12:16:06 +00:00
Amine Khaldi
6310ce0e66 [ATL] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70827
2016-03-01 12:14:12 +00:00
Amine Khaldi
49bcd564e8 [CABINET] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70826
2016-03-01 12:12:48 +00:00
Aleksandar Andrejevic
c6e5bf1f49 [NTVDM]
Some programs expect an 8x8 font at F000:FA6E.
CORE-10877 #comment Works rather well as of r70825.


svn path=/trunk/; revision=70825
2016-03-01 00:44:20 +00:00
Pierre Schweitzer
5e3fd4edeb [NTOSKRNL]
The Ewoks concil said it's fine to dereference null pointers in the kernel, so, partly revert r70819 (by partly, I mean: revert everything excepted the comments that were fixed!).
Also add asserts that exist on Windows to make it obvious we're about to kill the whole kernel

To make it clear: fix the FSD!

svn path=/trunk/; revision=70824
2016-02-29 21:45:44 +00:00
Amine Khaldi
a1a070ac19 [DXSDK] Update d3dx9anim.h. CORE-10912
svn path=/trunk/; revision=70823
2016-02-29 21:09:38 +00:00
Amine Khaldi
6fb762b426 [DXSDK] Update d3dx9tex.h. CORE-10912
svn path=/trunk/; revision=70822
2016-02-29 21:07:02 +00:00
Amine Khaldi
0918f6d8ea [D3DX9_24][D3DX9_36] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70821
2016-02-29 21:01:26 +00:00
Hermès Bélusca-Maïto
679011f92d [USETUP]
- Formatting fixes only.
[DISKPART]
- Fix a confusion CylinderAlignment vs. SectorAlignment.
- Formatting fixes.

svn path=/trunk/; revision=70820
2016-02-29 20:58:32 +00:00
Pierre Schweitzer
2f26a4a9e9 [NTOSKRNL]
Don't attempt to null-dereference fastio routine without checking whether it was set first.

This fixes RW with FSDs using cache but no FastIO possibilities.

CORE-10892

svn path=/trunk/; revision=70819
2016-02-29 13:59:32 +00:00
Thomas Faber
5786d08d01 [VERSION]
- Trunk is 0.5-SVN now.

svn path=/trunk/; revision=70818
2016-02-29 13:12:57 +00:00
Thomas Faber
42a427d782 [ROSAUTOTEST]
- Update Testman web service URI for the new website since a redirect from the old address will not work for POST. Should fix WHS Testbot.
ROSTESTS-215 #resolve

svn path=/trunk/; revision=70817
2016-02-29 11:57:19 +00:00
Aleksandar Andrejevic
c799784abf [NTVDM]
VidBiosScrollWindow shouldn't corrupt the screen in non-alphanumeric modes.
CORE-10877


svn path=/trunk/; revision=70816
2016-02-29 04:14:55 +00:00
Hermès Bélusca-Maïto
960b573f7b [REACTOS]: s/partiton/partition/
svn path=/trunk/; revision=70815
2016-02-29 01:22:02 +00:00
James Tabor
3e20700354 - Fix build.
svn path=/trunk/; revision=70814
2016-02-29 00:32:08 +00:00
James Tabor
96ab54cc90 [Win32SS]
- Based on patch : Jacek Caban : Don't use window' s parent as an owner if WS_CHILD style is not set.
- https://www.winehq.org/pipermail/wine-cvs/2016-February/111835.html
- Pass all win:test_parent_owner.
- Add window last view to Desktop Information structure.

svn path=/trunk/; revision=70813
2016-02-29 00:29:52 +00:00
Amine Khaldi
6a531b1d1a [DINPUT] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70812
2016-02-29 00:08:18 +00:00
Amine Khaldi
033a7c5720 [D3DRM_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70811
2016-02-29 00:05:39 +00:00
Amine Khaldi
44d7b7156e [D3DRM] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70810
2016-02-29 00:01:53 +00:00
Amine Khaldi
3268729a9f [PSDK] Update ndrtypes.h. CORE-10912
svn path=/trunk/; revision=70809
2016-02-28 23:59:17 +00:00
Amine Khaldi
2172618e95 [D3D8][D3D9][DDRAW][WINED3D] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70808
2016-02-28 23:33:47 +00:00
Amine Khaldi
351cc7ab9c [WINHLP32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70807
2016-02-28 23:05:53 +00:00
Amine Khaldi
8978288c0b [REG_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70806
2016-02-28 23:04:29 +00:00
Amine Khaldi
5352d102a7 [INCLUDE/WINE] Update test.h. CORE-10912
svn path=/trunk/; revision=70805
2016-02-28 22:55:32 +00:00
Amine Khaldi
edd653485e [REG] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70804
2016-02-28 22:53:26 +00:00
Amine Khaldi
8d45bf82db [UNICODE] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70803
2016-02-28 22:40:54 +00:00
Sylvain Petreolle
dd21fa115a [ROSTESTS]
Handle generated tests on all architectures.
Update i386 files.

The kernel32 generated remains disabled,
Wine's definition of COMMCONFIG differs from our/MSDN definition.
Commented out nonexisting LPEXCEPTION_RECORD.

svn path=/trunk/; revision=70802
2016-02-28 20:56:00 +00:00
Eric Kohl
fbaaa03502 [DESK]
Brazilian Portuguese translation for desk.cpl.
Patch by Edison Henrique Andreassy.
CORE-10905 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70801
2016-02-28 20:48:31 +00:00
Eric Kohl
9173d75317 Brazilian Portuguese translation for hdwwiz.cpl.
Patch by Edison Henrique Andreassy.
CORE-10901 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70800
2016-02-28 20:44:26 +00:00
Eric Kohl
8035df5526 [INPUT]
Prevent removal of all languages from the language list by disabling the 'Remove' button when only one item remains. Enable the 'Remove' button when there is more than one item in the list.
CORE-3587 #resolve

svn path=/trunk/; revision=70799
2016-02-28 17:01:35 +00:00
Hermès Bélusca-Maïto
619dcec227 [USETUP]: Isolate the recognition of the filesystem of a partition into its own function.
svn path=/trunk/; revision=70798
2016-02-28 16:01:54 +00:00
Hermès Bélusca-Maïto
dd0671dab2 [USETUP]
- Remove some unused structure members.
- Consistently use the vocable "system partition" and "boot partition" (using MS aka. hardware-oriented definition) according to:
  https://en.wikipedia.org/wiki/System_partition_and_boot_partition
  http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/boot-and-system-volumes.html
  in few words:
  "system partition": the one that will be started by the platform firmware, and where the bootloader is found (only one per computer);
  "boot partition": the one where the OS of your choice resides (any number).

svn path=/trunk/; revision=70797
2016-02-28 15:25:22 +00:00
Pierre Schweitzer
cb7c75c1d1 [FS_REC]
--MagicValues;

svn path=/trunk/; revision=70796
2016-02-28 11:27:05 +00:00
Hermès Bélusca-Maïto
429d288e03 [USETUP]: Fix some translations (especially the french one).
svn path=/trunk/; revision=70795
2016-02-28 02:51:47 +00:00
Pierre Schweitzer
5b8d869263 [SHELL32]
Thanks to r70793, this hack is no longer needed.

CORE-10878
CORE-10032

svn path=/trunk/; revision=70794
2016-02-27 21:01:11 +00:00
Pierre Schweitzer
13dfbf2592 [MPR]
Fix enumeration of network places root directory when starting the enumeration from network providers enumeration

CORE-10878 #resolve #comment Fixed with r70793

svn path=/trunk/; revision=70793
2016-02-27 20:58:32 +00:00
Hermès Bélusca-Maïto
ad68f421d5 [USETUP]
- Use a more complete list of partition type names for displaying the partition types in the list.
CORE-4043 #resolve
- HACK (for ChkDsk): Guess the filesystem type of the current partition, based on its partition type ID. This is hackish because partitions with the same ID can be formatted with different file systems (e.g.: Linux partition ID 0x83 can cover EXT2/3/4, ReiserFS, etc). Therefore do NOT use GetPartTypeStringFromPartitionType for that!! (see r68156 and r70283).

svn path=/trunk/; revision=70792
2016-02-27 20:49:17 +00:00
Amine Khaldi
9ddf12fef6 [NTOSKRNL] Demote the UNIMPLEMENTED_DBGBREAK in WmiSetMark() to UNIMPLEMENTED. By Jared Smudde. CORE-10687
svn path=/trunk/; revision=70791
2016-02-27 20:18:14 +00:00
Amine Khaldi
5facba1484 [ROSTESTS] Even if "generated" build tests were done for i386, do not penalize the other arch builds by removing all the core modules tests from them. Simply skip the source file in question from their build. This reverts r70789.
svn path=/trunk/; revision=70790
2016-02-27 18:15:59 +00:00
Sylvain Petreolle
ca4faae3ba [ROSTESTS]
"generated" build tests were done for i386.
Don't build them on another architectures.

svn path=/trunk/; revision=70789
2016-02-27 15:49:58 +00:00
Pierre Schweitzer
3355fd5594 [FASTFAT]
Don't mark a pending IRP twice

svn path=/trunk/; revision=70788
2016-02-25 20:52:55 +00:00
Pierre Schweitzer
0f01876900 [NTFS]
Add a missing lock

svn path=/trunk/; revision=70787
2016-02-25 20:49:31 +00:00
Amine Khaldi
6184b009f9 [TRANSLATIONS] Spanish translation update and general localization improvements by Ismael Ferreras Morezuelas. CORE-10685
svn path=/trunk/; revision=70786
2016-02-25 11:03:21 +00:00
Eric Kohl
eda8c9117f Russian translation for mspaint.
Patch by BinaryTree.
CORE-10740 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70785
2016-02-24 22:18:54 +00:00
James Tabor
1a71a5dae6 [Win32SS]
- Fix hang, CORE-10785 and ROSTESTS-208.

svn path=/trunk/; revision=70784
2016-02-24 10:20:06 +00:00
James Tabor
1673380d6e - Fix build, this is used later.
svn path=/trunk/; revision=70783
2016-02-24 08:45:36 +00:00
James Tabor
c8fff05661 [Win32SS]
- Fix all wine win:test_GetMessagePos tests.
- See CORE-10867, please verify this is a fix.

svn path=/trunk/; revision=70782
2016-02-24 08:41:26 +00:00
Pierre Schweitzer
c87591d771 [DISK]
Also had the nasty partition number hack to IOCTL_DISK_GET_PARTITION_INFO_EX.

It is required for some file system to work in ReactOS (teasing :-))

svn path=/trunk/; revision=70781
2016-02-24 07:55:36 +00:00
Pierre Schweitzer
c0be6ae94e [NTFS]
Properly queue the IRP for deferred execution in case we got pending status

svn path=/trunk/; revision=70780
2016-02-24 07:54:20 +00:00
Pierre Schweitzer
5876421913 [NTFS]
Even more locking

svn path=/trunk/; revision=70779
2016-02-23 22:19:38 +00:00
Pierre Schweitzer
3d8efb5447 [NTFS]
Moar locking
Any resemblance to previous commit, living or dead, is purely coincidental

svn path=/trunk/; revision=70778
2016-02-23 20:45:11 +00:00
Pierre Schweitzer
2bda155345 [NTFS]
Moar locking

svn path=/trunk/; revision=70777
2016-02-23 19:57:10 +00:00
Ged Murphy
e37191a410 [ATL]
- Move CComBSTR and CComPtr to atlcomcli.h
- Patch from Mark Jansen
CORE-10610[ATL]
- Move CComBSTR and CComPtr to atlcomcli.h
- Patch from Mark Jansen
CORE-10610


svn path=/trunk/; revision=70776
2016-02-23 19:31:38 +00:00
Robert Naumann
0419710117 [SHELL32] Fix displaying icons and some strings in the file overwrite dialog.
Patch by Jared Smudde CORE-10832

svn path=/trunk/; revision=70775
2016-02-23 16:06:27 +00:00
Pierre Schweitzer
7c336358c8 [NTOSKRNL]
Implement the MiWriteCombined case of MmMapIoSpace().

This fixes NVIDIA display drivers loading in ReactOS. See: https://www.reactos.org/forum/viewtopic.php?p=120359#p120359

svn path=/trunk/; revision=70774
2016-02-22 22:52:35 +00:00
Pierre Schweitzer
3283c55709 [NTFS]
r70772b

svn path=/trunk/; revision=70773
2016-02-22 22:23:08 +00:00
Pierre Schweitzer
a8644f7a2d [NTFS]
- Implement IRP_MJ_CLEANUP (minus the cases we can't deal with yet)
- Implement open handles count for FCB & VCB
- Implement volume locking (so useful)

svn path=/trunk/; revision=70772
2016-02-22 22:20:54 +00:00
Pierre Schweitzer
24d3676235 [DISK]
- Remove one hack that seems not to be required anylonger.
- Add a comment to highlight the usage of the infamous partition 0 hack (who's the IopParseDevice() hack friend!)

svn path=/trunk/; revision=70771
2016-02-22 20:47:55 +00:00
Hermès Bélusca-Maïto
26495e949a [LOL]
Starting NT 5.1 a mysterious "VideoPortCheckForDeviceExistance" (with a 'a') export made its apparition, and is the same as the already existing "VideoPortCheckForDeviceExistence" (with a 'e') ^^
I add it only to be compatible with Win2k3 SP2 videoprt.sys exports.

svn path=/trunk/; revision=70770
2016-02-22 19:11:34 +00:00
Hermès Bélusca-Maïto
92e0fb44ca [VIDEOPRT]
- Complete the table of exported VideoPort functions (compatible Win2k3 SP2), some functions were missing in it: see for example the last picture of http://www.reactos.org/forum/viewtopic.php?f=4&t=14727#p120344 .
- Don't redirect the VideoPortInterlockedIncrement/Decrement/Exchange functions directly to NTOS, because otherwise they cannot be included in the exports table.

svn path=/trunk/; revision=70769
2016-02-22 19:07:44 +00:00
Pierre Schweitzer
195caaa854 [CLIPBRD]
Don't play with uninit var

svn path=/trunk/; revision=70768
2016-02-21 11:33:54 +00:00
Pierre Schweitzer
2b33641cc1 [KBDTOOL]
Don't deal with uninit memory

svn path=/trunk/; revision=70767
2016-02-21 11:32:17 +00:00
Amine Khaldi
1e830e6cc4 [SHELL32][USERENV] Add missing translations that led to empty start menu with the Swedish language. By Andreas Bjerkeholt. CORE-10857
svn path=/trunk/; revision=70766
2016-02-21 11:11:56 +00:00
Amine Khaldi
4b68bbe18c [MBEDTLS] Sync to v2.2.1. By Ismael Ferreras Morezuelas. CORE-10817
svn path=/trunk/; revision=70765
2016-02-21 10:56:57 +00:00
Eric Kohl
19f0f75966 [BATT]
Shrink the icon size.
Patch by Jared Smudde.
CORE-10750 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70764
2016-02-21 09:18:35 +00:00
Eric Kohl
191936726e [VARIOUS]
Updating Turkish Translation.
Patch by Erdem Ersoy.
#CORE-10879 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70763
2016-02-21 09:07:41 +00:00
Hermès Bélusca-Maïto
76f949716c [CDMAKE]
- Update source file headers.
- Improve some error output.
- Factorize code that creates El-Torito boot entries.
- Start thinking how to add UDF and AutoCRC support.

svn path=/trunk/; revision=70762
2016-02-21 03:00:16 +00:00
Eric Kohl
8d665c9085 [VARIOUS]
Romanian resources maintenance
Patch by Ștefan Fulea.
CORE-10811 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70761
2016-02-20 21:14:13 +00:00
Eric Kohl
2e13653bcf [MAIN]
Improve the icons! (in MAIN.CPL)
Patch by Jared Smudde.
CORE-10813 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70760
2016-02-20 18:50:52 +00:00
Pierre Schweitzer
cf7b88e22f [NP_ENUM]
Add a test application that allows checking that currently network places enumeration is broken in ReactOS

svn path=/trunk/; revision=70759
2016-02-20 15:56:49 +00:00
Pierre Schweitzer
58ef33073d [SHELL32]
Don't leak memory when enumerating network places...

svn path=/trunk/; revision=70758
2016-02-20 09:52:35 +00:00
Pierre Schweitzer
515de755e6 [NTOSKRNL]
If the cache wasn't initialized by the FSD serving the image, don't allow section creation to avoid later (dramatic) failure in CC.

Based on a patch by Sylvain Deverre.

CORE-10038 #comment Modified patch committed in r70756

svn path=/trunk/; revision=70756
2016-02-15 21:22:05 +00:00
Pierre Schweitzer
eacfcdff7c [MPR]
Import Wine commit:
- d070c263adf840cc14dde84eb8e73b04490d1900, Partially implement WNetUseConnectionW().

This reduces diff to Wine, by providing a cleaner implementation of WNetUseConnectionW().

CORE-10032

svn path=/trunk/; revision=70755
2016-02-15 20:32:25 +00:00
Pierre Schweitzer
f873af4b21 [MPR]
Import Wine commit (by Nikolay Sivov):
- 164fe0470ccf7cb3c0946cbb52d4139aec0c4a03, Query for NPAddConnection and NPAddConnection3 when loading a provider.

CORE-10032

svn path=/trunk/; revision=70754
2016-02-15 20:15:54 +00:00
James Tabor
cf5302e3de [User32]
- Update usage comments related to CORE-10855.

svn path=/trunk/; revision=70753
2016-02-15 17:38:23 +00:00
James Tabor
fbc10d8ca8 [User32]
- Update usage comments related to CORE-10855.

svn path=/trunk/; revision=70752
2016-02-15 17:34:17 +00:00
Hermès Bélusca-Maïto
22becce7e3 [USER32][NTUSER]
Remove some dead code; fix comments; mention that some code is redundant. This is added to help future people in cleaning up that mess called "win32k/user32".

svn path=/trunk/; revision=70751
2016-02-15 01:20:54 +00:00
Pierre Schweitzer
dcef60424d [NTFS]
Cowardly refuse to continue processing (enumerating/reading) when stumbling upon a compressed entry.
This avoids infinite loops when enumerating, incorrect files contents when reading.

CORE-10814 #resolve #comment 'Fixed' with r70750

svn path=/trunk/; revision=70750
2016-02-14 22:44:54 +00:00
Hermès Bélusca-Maïto
5bb8c16219 [WINHLP32]: This is true that it's Wine help, on Wine.... but not in ReactOS!
svn path=/trunk/; revision=70749
2016-02-14 21:35:14 +00:00
Pierre Schweitzer
364edfc021 [FASTFAT]
[NTFS]
Thanks to r70746, now, drop our beloved fix/hack/whatever about non-initialized floppy disks.

svn path=/trunk/; revision=70748
2016-02-14 19:56:17 +00:00
Pierre Schweitzer
a8410e8c47 [EXT2]
Revert r70746, more appropriate fix was committed in r70746

svn path=/trunk/; revision=70747
2016-02-14 19:54:54 +00:00
Pierre Schweitzer
78eb31503a [FLOPPY]
When discovering floppy controlers, immediately probe controlers to check whether they have a disk and if so, what's its geometry.
This avoids waiting for the first read, which will obviously never happen because FSD will try other operations depending on not set geometry.

This implies a modification in RWDetermineMediaType() to avoid infinite wait, in case there's no disk at all in the controler.

Addendum to r70725

svn path=/trunk/; revision=70746
2016-02-14 19:53:47 +00:00
Eric Kohl
9a468d30e5 [USERINIT]
Select the current keyboard layout in the keyloard layout list.

svn path=/trunk/; revision=70745
2016-02-14 18:57:12 +00:00
Hermès Bélusca-Maïto
c95d274bf6 [WIN32K:NTUSER]
- Cleanup window clipboard data while the window still exists and is not dereferenced.
- When a window is about to be destroyed (just before we send the WM_DESTROY message), if it is the current clipboard owner, make it release the clipboard. The WM_RENDERALLFORMATS message is then sent, and if needed, one WM_DRAWCLIPBOARD message.
- Send a WM_DRAWCLIPBOARD message when SetClipboardViewer is called.
WM_DRAWCLIPBOARD messages are sent as notifications to the corresponding windows.

svn path=/trunk/; revision=70744
2016-02-14 18:41:49 +00:00
Hermès Bélusca-Maïto
81c6aeb2dd [WIN32K]: Some whitespace fixes.
svn path=/trunk/; revision=70743
2016-02-14 18:26:23 +00:00
Eric Kohl
44cee0d9ea [USERINIT]
Set the keyboard layout properly.

svn path=/trunk/; revision=70742
2016-02-14 15:39:11 +00:00
Eric Kohl
0611e9366e [REGEDIT]
Minor improvement of Russian translation.
Patch by stacheldraht.
CORE-10775 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70741
2016-02-14 12:43:52 +00:00
Eric Kohl
350cdf5b7d [CHARMAP][CPL]
Improve English string in ReactOS.
Patch by Henry Tang Ih.
CORE-10844 #resolve #comment Thank you very much!

svn path=/trunk/; revision=70740
2016-02-14 10:56:55 +00:00
Eric Kohl
af4dc35090 [USERINIT]
Update Simplified/Traditional Chinese Translation.
Patch by Henry Tang Ih.
CORE-10825 #resolve #comment Thank you very much!

svn path=/trunk/; revision=70739
2016-02-14 09:00:47 +00:00
Hermès Bélusca-Maïto
1022f13973 [CLIPBRD]
- Avoid calling OpenClipboard with a NULL window handle.
- Display the clipboard erasing confirmation message before actually opening and resetting its contents.

[WIN32K]
- Improve few comments.
- In UserOpenClipboard, return success early in case the clipboard was already opened by the clipboard owner.

svn path=/trunk/; revision=70738
2016-02-14 01:52:58 +00:00
Hermès Bélusca-Maïto
6caeaebbdc [CLIPBRD]
- Update the name of the application.
[SHORTCUTS]
- Add a clipboard viewer shortcut into the start menu (for boot and live-cd).
CORE-10853

Translators, please review!

svn path=/trunk/; revision=70737
2016-02-13 23:54:42 +00:00
Hermès Bélusca-Maïto
c3c8cf879c [CLIPBRD]
- Add clipboard file icon by Jared Smudde.
- Open any clipboard data file given in the command line.

[BOOTDATA]
- Add registry entries for file extension .clp.

CORE-10853 #resolve #comment Support added in revision 70736.

svn path=/trunk/; revision=70736
2016-02-13 23:16:19 +00:00
Hermès Bélusca-Maïto
60c090d24a [CLIPBRD]: Finish the implementation of clipboard write file support. There may be room for improvements.
CORE-10852 #resolve

svn path=/trunk/; revision=70735
2016-02-13 20:57:39 +00:00
Eric Kohl
df2659d0ac [INTL]
Add the BS_TOP flag to the multiline checkboxes. The checkbox will display at the top of the control rather than at the middle.

svn path=/trunk/; revision=70734
2016-02-13 20:47:38 +00:00
Hermès Bélusca-Maïto
daeaf449c3 Remove trailing whitespace.
svn path=/trunk/; revision=70733
2016-02-13 17:05:08 +00:00
Hermès Bélusca-Maïto
667ae1acce [CLIPBRD]
- Disable message box messages added for testing purposes (but still keep them here in case one needs them).
- Start implementing clipboard write file support. Work in progress. See CORE-10852

svn path=/trunk/; revision=70732
2016-02-13 17:04:40 +00:00
Eric Kohl
a978398354 [USERINIT]
- Fill the keyboard layout list.
- Try to select a matching keyboard layout when the language selection gets changed.

svn path=/trunk/; revision=70731
2016-02-13 16:12:24 +00:00
Hermès Bélusca-Maïto
8b028fbdc8 [CLIPBRD]: Complete the read support from .clp clipboard files to be actually able to read files saved with the Windows 2k3 clipboard.
There actually exist two clipboard file formats, so-called "Win3.1" and a "WinNT" formats. Strangely enough Win2k (and Win2k3) clipboard viewer always save the files under the "Win3.1" format, whichever one you select.
I discovered the subtle difference between those two formats by looking at a very old MSDN sample program "EMFDCODE (Enhanced Metafile Decoder)" by Dennis Crain (see https://web.archive.org/web/20080406095812/http://msdn.microsoft.com/archive/en-us/dnargdi/html/msdn_emfdcode.asp? ) that still can be found on the Internet...
CORE-10550 #comment Read support fixed in r70730.

svn path=/trunk/; revision=70730
2016-02-13 16:08:09 +00:00
Hermès Bélusca-Maïto
3ef979d4d3 [DESK.CPL]: Fix resolution slider issues.
Patch by "reactosfanboy" and Mark Jansen (nick "learn_more")
CORE-10792 #resolve

svn path=/trunk/; revision=70729
2016-02-13 13:43:35 +00:00
Hermès Bélusca-Maïto
340d1b6e9f [MSCONFIG_NEW]: Activate OS-version-specific behaviour (ReactOS vs. Windows and pre-Vista vs. post-Vista).
svn path=/trunk/; revision=70728
2016-02-13 13:11:39 +00:00
Hermès Bélusca-Maïto
c6443d2f80 [MAGNIFY]: Improve french translation.
svn path=/trunk/; revision=70727
2016-02-13 13:00:04 +00:00
Hermès Bélusca-Maïto
92cc24aefe [MSCONFIG_NEW]: Explicitely use unicode APIs.
svn path=/trunk/; revision=70726
2016-02-13 12:58:41 +00:00
Pierre Schweitzer
f79fbfbb61 [EXT2]
Add the ReactOS famous... hack? fix? whatever? already present in FastFAT, NTFS...:
When accessing a floppy disk, our floppy storage stack can return that the disk type is unknown (some would say it's legit - see comments in FastFAT) and will also return a disk sector size of 0.
Then, when trying to read the floppy disk with said size, everything goes wrong (null length read is never a good thing). So, as in any other FSD in ReactOS, for disk sector size to 512 bytes in this really specific case.

This fixes BSOD when having a floppy drive in ReactOS (whatever its filesystem).

CORE-10464 #resolve #comment Fixed with r70725

svn path=/trunk/; revision=70725
2016-02-13 09:16:45 +00:00
Hermès Bélusca-Maïto
d6607c45f8 [DESK.CPL]: Use "WallPaperDir" for the value name of the wallpaper directory (compatible MSWin and what we do have already in the registry).
svn path=/trunk/; revision=70724
2016-02-13 00:32:34 +00:00
Hermès Bélusca-Maïto
e47d8784d4 [SHELL32]: Proper fix for CORE-9837 (see r68283): "Get run icon from shell32", including partial revert and code closer to Wine.
CORE-9837 #comment Proper fix in r70723

svn path=/trunk/; revision=70723
2016-02-13 00:16:19 +00:00
Hermès Bélusca-Maïto
992af1e421 [UNDOCSHELL]: Add descriptions for the RunFileDlg shell function (ripped off taskmgr's run.h file).
svn path=/trunk/; revision=70722
2016-02-12 23:50:33 +00:00
Hermès Bélusca-Maïto
445d808604 Whitespace fix only.
svn path=/trunk/; revision=70721
2016-02-12 23:46:14 +00:00
Hermès Bélusca-Maïto
b4741c36f4 [WIN32K]: Since r7146 (12 years ago) we correctly set a small Close button for tool windows. WARNING: Please do NOT sync this piece of code with Wine! Ours behave better when one changes the values of SM_CXSMSIZE / SM_CYSMSIZE.
svn path=/trunk/; revision=70720
2016-02-12 23:10:59 +00:00
Hermès Bélusca-Maïto
fe53065a4e [UXTHEME]
Temporarily disable the WS_EX_DLGMODALFRAME test whose presence broke opening the system menu when the user clicks on the window caption icon.
This half-broken DefWndNCHitTest comes from user32; see r70718 for more details.

svn path=/trunk/; revision=70719
2016-02-12 22:12:51 +00:00
Hermès Bélusca-Maïto
e02c739f6d [WIN32K][USER32]
- Both functions UserGetInsideRectNC and NC_GetInsideRect are the same: remove the redundant code and keep only NC_GetInsideRect.
- Move default WM_NCHITTEST into kernel side, getting rid of half-broken DefWndNCHitTest in user32. Note that we use a DefWndNCHitTest version almost unmodified in uxtheme.dll.
  I did this move also because otherwise, we didn't correctly checked for the presence of the window system menu icon. On the contrary the function GetNCHitEx (obviously taken from Wine's NC_HandleNCHitTest) correctly checks for this.

James, please review!

svn path=/trunk/; revision=70718
2016-02-12 22:10:29 +00:00
Hermès Bélusca-Maïto
6bed745b3d [UXTHEME]: Use a similar working logic to display (or not) the icon (or the default one) to windows/dialogs, taking in particular their exstyle WS_EX_DLGMODALFRAME in particular.
Dedicated to Jared Smudde.
CORE-9635 #resolve #comment A better fix was committed in r70717 to match r70715

svn path=/trunk/; revision=70717
2016-02-12 19:07:29 +00:00
Hermès Bélusca-Maïto
492e14a055 This stuff should not have been committed.
svn path=/trunk/; revision=70716
2016-02-12 17:37:41 +00:00
Hermès Bélusca-Maïto
c98d80baf0 [WIN32K]: Fix display of window title icon for dialogs having the WS_EX_DLGMODALFRAME style.
CORE-10850 #resolve
CORE-10437 #comment The real fix was committed in r70715.

svn path=/trunk/; revision=70715
2016-02-12 17:31:19 +00:00
Hermès Bélusca-Maïto
ed391467a5 [SYSICON]: Whitespace fixes only.
svn path=/trunk/; revision=70714
2016-02-12 17:21:32 +00:00
Hermès Bélusca-Maïto
3a3ddebe62 [WIN32SS]
- Fix orthograph
- Mention in the code that some stuff are hacks & need to be fixed.
- Add parentheses around bit checks.

svn path=/trunk/; revision=70713
2016-02-12 16:40:36 +00:00
Hermès Bélusca-Maïto
921fdfd85b But do not compile by default those extra tests. Colin, it is curious that when rosautotest encounters a test EXE that it doesn't like, it just completely bails out the test session. This should be fixed/behaviour improved.
svn path=/trunk/; revision=70712
2016-02-12 15:24:30 +00:00
Hermès Bélusca-Maïto
6d2ccc456c I forgot this file.
svn path=/trunk/; revision=70711
2016-02-12 15:12:54 +00:00
Hermès Bélusca-Maïto
4d930e07e8 [ROSTESTS]: Add "sysicon" test back, and augment it.
svn path=/trunk/; revision=70710
2016-02-12 15:10:59 +00:00
Hermès Bélusca-Maïto
0455477600 [FREELDR]: Continue removing code not related to freeldr entry-point from entry.S, and adopt source file names for i386 architecture similar to those of amd64.
svn path=/trunk/; revision=70709
2016-02-11 22:33:03 +00:00
Eric Kohl
6c834bbca5 [USERINIT]
Make the language selection work as expected.

svn path=/trunk/; revision=70708
2016-02-11 20:00:46 +00:00
Hermès Bélusca-Maïto
ba1d28dcc8 [CMLIB]: Implement CmpFreeSecurityDescriptor. See r70609.
CORE-10793 CORE-10796

svn path=/trunk/; revision=70707
2016-02-10 22:28:12 +00:00
Hermès Bélusca-Maïto
1eb1638e2e [CMLIB]
- Fix some comments.
- Simplify code.
- Add a missing check for hive exit nodes when deleting cells.

svn path=/trunk/; revision=70706
2016-02-10 22:18:20 +00:00
Hermès Bélusca-Maïto
4191c57d0f [CMLIB]: fix a typo in the constant name.
svn path=/trunk/; revision=70705
2016-02-10 22:04:57 +00:00
Robert Naumann
ed74c8abe7 [EXPLORER] Yet another bitmap resource fix. By Jared Smudde. CORE-10781
svn path=/trunk/; revision=70704
2016-02-08 23:30:49 +00:00
Robert Naumann
ccac5e7ee3 [EXPLORER] Stubplement Customize Notifications dialog. Patch by Jared Smudde. CORE-10725
svn path=/trunk/; revision=70703
2016-02-08 23:16:36 +00:00
Eric Kohl
84a8d432f8 Add missing newline!
svn path=/trunk/; revision=70702
2016-02-08 14:51:52 +00:00
Eric Kohl
8f032fb669 [REACTOS]
Add columns and column titles to the partition listview.

svn path=/trunk/; revision=70701
2016-02-08 14:41:09 +00:00
Eric Kohl
b8c5994f8f [REACTOS]
Remove remaining groupboxes from wizard pages.

svn path=/trunk/; revision=70700
2016-02-07 21:06:31 +00:00
Eric Kohl
2104e66991 [USETUP]
Danish translation for usetup.
Patch by Lars Rasmussen.
CORE-10812 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70699
2016-02-07 20:24:18 +00:00
Eric Kohl
6592d7d424 [WLANSVC]
Add the version information for the WLAN Service.
Patch by Lee Schroeder.
CORE-10836 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70698
2016-02-07 20:08:08 +00:00
Thomas Faber
ba31c44d1e [KERNEL32]
- Hide STATUS_SXS_INVALID_ACTCTXDATA_FORMAT in BasepProbeForDllManifest and fake a manifest not found status instead. Windows's RtlCreateActivationContext will always return this code since we call it with a completely invalid structure. Should fix boot on VMware-Hybrid testbot.
CORE-10843

svn path=/trunk/; revision=70697
2016-02-07 09:38:47 +00:00
Thomas Faber
cab26c80f1 [LWIP]
- Don't use the already over-used LWIP_TAG for lookaside list allocations

svn path=/trunk/; revision=70696
2016-02-06 22:11:03 +00:00
Hermès Bélusca-Maïto
9a5b681194 [FREELDR]
- Whitespace fixes only in the disk code.
- Fix the name of the EXT2 FS driver.
- Move I/O initialization after Mm init so that we can properly read disk data into the correct buffers if needed (and I will need that).

svn path=/trunk/; revision=70695
2016-02-05 23:47:35 +00:00
Hermès Bélusca-Maïto
1d42ae7dce Order of definitions is still important!
svn path=/trunk/; revision=70694
2016-02-05 21:15:25 +00:00
Hermès Bélusca-Maïto
7a8e098eb7 [FREELDR]: Add source file header to scsiport.c; move structure definitions together.
svn path=/trunk/; revision=70693
2016-02-05 21:12:53 +00:00
Hermès Bélusca-Maïto
c62cd02730 [FREELDR]
Start splitting FreeLdr in the same spirit as our new UEFI boot manager/loader: split into a boot library, the boot manager code, and the NT loader.
- The boot library provides the basic support (read INI/INF files, memory management, debugging, ARC compatibility/emulation, ...).
- The boot manager code is FreeLdr proper.
- The NT loader is used for loading Windows or ReactOS. Because of that fact I rename its directory "windows" into "NTLDR" to underline the fact it can load NT-type OSes (more exactly version 5.x), to which both Windows 2k/XP/2k3 and ReactOS belong. The APIs will certainly be renamed "NtLdrXXX" instead of "WinLdrXXX".
- The general PE loader is put into the boot library since it is needed also by FreeLdr proper to be able to load SCSI drivers (on x86/64/... architectures; on ARC systems SCSI support is automatically provided).

svn path=/trunk/; revision=70692
2016-02-05 00:17:33 +00:00
Eric Kohl
ee1d2a2874 Used a better check for the root item of the treeview. The listview, status bar and address bar should only get wiped when the user selects the root item of the treeview.
CORE-10803 #comment Retest please!

svn path=/trunk/; revision=70691
2016-02-04 23:50:36 +00:00
Hermès Bélusca-Maïto
10bff42ab6 Remove redundant extra terminating ';' in all of our C code.
svn path=/trunk/; revision=70690
2016-02-04 20:42:07 +00:00
Hermès Bélusca-Maïto
02e447d135 [CODE]: s/interupt/interrupt/
svn path=/trunk/; revision=70689
2016-02-04 20:27:44 +00:00
Hermès Bélusca-Maïto
8bc34bbe18 [FREELDR]: Export RtlAssert.
svn path=/trunk/; revision=70688
2016-02-03 22:56:17 +00:00
Hermès Bélusca-Maïto
bc01b35fdf [FREELDR]
- The PE code can be built as an executable, it works as expected and nothing changes (the size of the generated code doesn't change).
- Export the Scsi functions also on x86 MSVC builds. Because of that, increase the number of expected PE sections in the FreeLdr image check function. Note that x64 MSVC build do not have the Scsi code ready yet, hence it doesn't export the corresponding functions.
- The spec2def command should have the name of the generated PE file.
- Remove one hardcoded value.

During my investigations I noticed that using a section alignment of 0x400 for freeldr MSVC builds (instead of the default 0x1000) made the MSVC builds *bigger*. Furthermore, using the default alignment of 0x1000 makes the freeldr MSVC builds unbootable. I don't understand why. Maybe a freeldr guru knows that?

svn path=/trunk/; revision=70687
2016-02-03 22:18:05 +00:00
Hermès Bélusca-Maïto
3f9bbc9a01 [BOOTMGR]
- Make BmMain stdcall as it's an entry point, the same way as ROSLOAD's OslMain.
[ROSLOAD]
- Fix a comment.
- Fix compilation on x64 and on GCC by specifying the entrypoint stack, exactly as what we do for KiSystemStartup in the kernel.

svn path=/trunk/; revision=70686
2016-02-03 19:12:34 +00:00
James Tabor
201e5c881a [User32]
- Patch by Manuel : Explorer not draw (16 bits) icons. See CORE-10789.

svn path=/trunk/; revision=70685
2016-02-03 16:39:28 +00:00
Hermès Bélusca-Maïto
a346165f3c [FREELDR]: Move the (private) HAL Pci bus initialization calls to where they are needed: for SCSI initialization (see r46017).
svn path=/trunk/; revision=70684
2016-02-03 16:30:39 +00:00
Hermès Bélusca-Maïto
076441f3ce [FREELDR]
- Move the NTOS loader files that were scattered in many places into their own directory (now all that stuff is inside freeldr/windows).
- Split arch/arm/winldr.c into the real winldr code (going into freeldr/windows) and entry point code (going into arch/arm/entry.c).

svn path=/trunk/; revision=70683
2016-02-03 15:20:37 +00:00
Hermès Bélusca-Maïto
9f8022a2b3 [FREELDR]
- Move some code where it should better belong to.
- Add few source code file headers.
- Add missing partition IDs.

svn path=/trunk/; revision=70682
2016-02-03 14:07:18 +00:00
Hermès Bélusca-Maïto
7e33c2343e [i8042PRT]: Forgot this one, addendum to r70680.
svn path=/trunk/; revision=70681
2016-02-03 00:40:37 +00:00
Hermès Bélusca-Maïto
9cc0aedad7 [FREELDR][STREAM][NTOS]
Replace old bugzilla report IDs to their JIRA counterparts.

[LIBUSB]
The third parameter of IoRegisterDeviceInterface is a pointer (optional). Use NULL instead of 0.

svn path=/trunk/; revision=70680
2016-02-03 00:37:23 +00:00
Hermès Bélusca-Maïto
fe52797f20 [FREELDR]: Remove deprecated code.
svn path=/trunk/; revision=70679
2016-02-03 00:04:05 +00:00
Hermès Bélusca-Maïto
4d428f4551 [NTOS:INBV]
- Initialize global variables to known default values.
- When Inbv initializes the display, reset the video mode *ONLY* if we do not have a custom boot logo (because otherwise we want to see our custom boot logo!). This also fixes the video mode used by ReactOS when booting it using Windows ntldr!

svn path=/trunk/; revision=70678
2016-02-02 23:28:45 +00:00
Sylvain Petreolle
ecc5e30ce6 MSVC: Properly define debug functions for release builds.
svn path=/trunk/; revision=70677
2016-02-02 20:51:50 +00:00
Hermès Bélusca-Maïto
81e1b30067 [USETUP]: Enlarge some string buffers that hold localized printf-formatted strings.
svn path=/trunk/; revision=70676
2016-02-02 02:23:56 +00:00
Hermès Bélusca-Maïto
f2f176a202 [USETUP]
- Use defines instead of hardcoded values for partition type IDs.
- Add some support for installing ReactOS on EXT2 partitions.
- Add few code that will be needed when we support NTFS installation.
- Refactor InstallFatBootcodeToPartition and its auxiliary functions. CORE-4870

svn path=/trunk/; revision=70675
2016-02-02 01:55:05 +00:00
Hermès Bélusca-Maïto
f9e7ff40dc [CMLIB]: Demote the DPRINT1 saying that we leak the security block descriptor to a DPRINT. People (Alex & me) working on cmlib already know this. "Fixes" timeout problems of the testbots due to spamming this dprint.
svn path=/trunk/; revision=70674
2016-02-01 23:10:38 +00:00
Pierre Schweitzer
db453b5b54 [BOOTDATA]
Drop last references to rosvboxmgmt!

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70673
2016-02-01 22:18:47 +00:00
Pierre Schweitzer
629f718914 [ROSVBOXMGMT]
Drop rosvboxmgmt hack.
Thanks, you served us well. But r70670 killed you. Too bad!

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70672
2016-02-01 22:17:43 +00:00
Pierre Schweitzer
886fc1b808 [SHELL32]
Time to (re)act!
Step 2/2: continue Giannis' UNC hack in Shell32:
- Implement the ILCreateFromNetworkPlaceW() helper, which is just Giannis' code to allow creating a hacky PIDL for enumeration.
- Implement the CNetFolderEnum class, which allows enumerating network places. So far, it's pretty basic (no tree structure) but, it does its job. It would be to improve
- Implement the CNetFolder::EnumObjects() function.

This commit, in itself, more or less obsoletes hackssign application. Indeed, now, you just need to go to your network places, to be able to browse your network shares (like VMware or VBox shares) provided you installed the VMware/VBox additions in your VM.
However, hackssign will remains in rosapps for now: we don't have any other way to assign a drive letter to a network place so far, and VMware doesn't provide such feature.
Furthermore, this is a big hack. And until we have a correct implementation, we can keep another hack along ;-).

Feel free to decently enjoy your network shares in ReactOS :-).

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70671
2016-02-01 22:07:55 +00:00
Pierre Schweitzer
ef3e0ddadc [MPR]
Time to (re)act!
Step 1/2:
- Implement WNetUseConnectionA() as a simple forwarder to WNetUseConnectionW().
This function should make it somehow, somewhen to Wine. Feel free to help the process by lighting cierges.
- Halplement WNetUseConnectionW() to match a really specific case: it can handle requests from VBoxTray and pass them properly to VBox NP.
In its current state, this function isn't to be shared with Wine.
Other calls (specifically without local path, nor network provider) aren't handled and will lead to an error.

But, in itself, this commit obsoletes rosvboxmgmt by making ReactOS able to autostart (on VBoxTray demand :-)) the VBox shared folders.
Furthermore, if you ask for a drive letter to be assigned to your shared folder, it will happen!

Now, in order to use VBox shared folders, just configure VBox to assign them a drive letter, install ReactOS, install VBox Guest Additions... Profit!

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70670
2016-02-01 21:59:47 +00:00
Sylvain Petreolle
cebd126f81 [OPENGL]
Free the variable arguments in vsnprintf implementation.
Patch by Victor Martinez.
CORE-10629

svn path=/trunk/; revision=70669
2016-01-31 19:14:24 +00:00
Sylvain Petreolle
e0ac8691be cmlib: Fix debug string becoming too big for testbot (doesn't fix successful-but-canceled ntdll:NtDeleteKey)
Alex, do we have an actual free-security-descriptor function ?

svn path=/trunk/; revision=70668
2016-01-31 17:42:05 +00:00
Sylvain Petreolle
fb390d657c [TASKMGR]
Remove hacks for idle time.

svn path=/trunk/; revision=70663
2016-01-30 17:18:08 +00:00
Sylvain Petreolle
2076f09a0c [TASKMGR]
protect some variables with the critical section
Patch by Mark Jansen.
CORE-10787

svn path=/trunk/; revision=70662
2016-01-30 17:01:04 +00:00
Hermès Bélusca-Maïto
4dd9a543a3 [BOOTDATA]: Normally, in the hybridcd, the livecd stuff should go into its own subdirectory.
svn path=/trunk/; revision=70655
2016-01-29 01:18:53 +00:00
Hermès Bélusca-Maïto
32c29291cd [VERSION]: Improve versioning based on r70641.
svn path=/trunk/; revision=70651
2016-01-29 00:07:08 +00:00
Aleksey Bragin
f6cd52a04f [LDR]
- Fix a typo in kernel32's manifest prober routine
- Don't RtlGetActiveActivationContext if it's already existing
- Improve actctx and ldr debug prints
- This fixes numerous LDR bugs, such as the famous bug with MSVCR90 CORE-7313, .NET installation issues CORE-7489 and, hopefully, many other. Thank you very much for putting your trust in me!

svn path=/trunk/; revision=70646
2016-01-27 15:02:28 +00:00
Pierre Schweitzer
1d3fa0bb12 [MPR]
Import Wine commit:
- 80eb2fa08eb21ba9504438493fa66097ed03faf5, Add support for REG_EXPAND_SZ for providers path.

This fixes VMware network provider (vmhgfs.dll) not being able to be loaded in ReactOS.

CORE-10032

svn path=/trunk/; revision=70645
2016-01-26 18:09:47 +00:00
Daniel Reimer
259b98442e [REACTOS]
Finish German translation, fix some coordinates and sync these fixes to all other languages. Fix a typo.

svn path=/trunk/; revision=70644
2016-01-26 01:45:29 +00:00
Eric Kohl
952474b7f9 [REACTOS]
- Remove the code that hides the system menu and the cancel button. Users should be able to cancel the installation process.
- Add code to reboot ReactOS after completing or cancelling the wizard. It is disabled for now.
- Remove the groupbox on the device page.
- Resize / realign the controls on the drive page.
- Replace the listbox on the drive page by a list view.

svn path=/trunk/; revision=70643
2016-01-25 22:39:26 +00:00
Amine Khaldi
2de93288c0 [VERSION] Improve the way we define ReactOS version, to allow us to mark it as SVN or as a release, and for the latter, allow us to mark it as a candidate or as the final one.
svn path=/trunk/; revision=70641
2016-01-25 18:37:20 +00:00
Amine Khaldi
c8bc427d74 [I8042PRT] Apply a workaround for Dell Latitude D630. By Thomas Faber. CORE-10797
svn path=/trunk/; revision=70639
2016-01-25 18:08:06 +00:00
Eric Kohl
ac19c5f29c [REACTOS]
- Fix height of the inner wizard pages.
- Do not show the header for the finish page.
- Remove the language selection page and the ReactOS logo because they have been moved to userinit.
- Start removing groupbox controls from the wizard pages. They just occupy a lot of space.
- Resize / realign the install type page and add some descriptive text to all languages.
- Allocate setup data from the heap and pass the setup data pointer to each wizard page.
- Move the drive wizard page (DriveDlgProc) to a separate file.
- Move the common declarations to a new header file.

svn path=/trunk/; revision=70638
2016-01-23 23:20:32 +00:00
Aleksey Bragin
7b1920c911 [NTOSKRNL]
- Fix a typo.

svn path=/trunk/; revision=70637
2016-01-22 09:23:21 +00:00
Alex Ionescu
a68573d0c5 [BOOTLIB]: Fuck you binutils.
svn path=/trunk/; revision=70636
2016-01-21 17:08:33 +00:00
Amine Khaldi
125060988e [RTL] Revert some accidental formatting changes in r70634. NFC.
svn path=/trunk/; revision=70635
2016-01-21 16:52:31 +00:00
Alex Ionescu
445a748bf8 [RTL/NDK]: For some strange reason, we were missing LdrRelocateImage. Also we had the right type for LdrRelocateImageWithBias, but not the former. Fix that.
[BOOTLIB]: Finish the rest of the image loader. However, relocations appear to fail.

svn path=/trunk/; revision=70634
2016-01-21 16:16:12 +00:00
Alex Ionescu
55b6c66d7a [BOOTLIB]: Cleanup, less magic.
svn path=/trunk/; revision=70633
2016-01-21 15:47:14 +00:00
Alex Ionescu
953f5a4f99 [BOOTLIB]: Implement checksum calculation for PE header sum.
[BOOTLIB]: Implement most of ImgpLoadPEImage. The checksum of the mapped image file matches the checksum in the flat PE file, meaning our load loop works as designed.
Next step are relocations and we'll be done.

svn path=/trunk/; revision=70632
2016-01-21 05:16:40 +00:00
Alex Ionescu
d5f06366a8 [DDK]: SVN isn't GIT alex. It's not smart enough to commit the entire tree, only the place where you right-clicked.
svn path=/trunk/; revision=70631
2016-01-20 17:01:53 +00:00
Alex Ionescu
d59c799233 [ROSLOAD]: SUBSYSTEM_WINDOWS_BOOT_APPLICATION is 16, not 14.
svn path=/trunk/; revision=70630
2016-01-20 17:00:51 +00:00
Alex Ionescu
53c32a9428 [BOOTLIB]: Begin PE loader. Works so far. Next up is loading the sections, zeroing out the .bss, and computing checksum.
svn path=/trunk/; revision=70629
2016-01-20 17:00:18 +00:00
Amine Khaldi
26f25f68f5 [USETUP] Add missing Italian STRING_EXTENDED_PARTITION string. CORE-10809
svn path=/trunk/; revision=70627
2016-01-20 15:20:59 +00:00
Alex Ionescu
e7cbf6ea1b [ROSLOAD]: Create directory and build rules. rosload.efi is now dropped in system32\boot just like on the Windows Setup DVD. BlImgLoadBootApplication is able to find it.
[BOOTMGR/BOOTLIB]: Fix factorings that were incorrect but not noticed when bootmgr was the only bootlib user. Now with rosload in the picture, they became obvious.
[EFISYS]: BCD should not be on the EFISYS.BIN, only on the boot volume, just like a Windows DVD.

svn path=/trunk/; revision=70626
2016-01-20 06:59:12 +00:00
Alex Ionescu
5126de14b6 [HIVEBCD/BOOTMGR]: Prep work
svn path=/trunk/; revision=70625
2016-01-20 03:53:59 +00:00
Alex Ionescu
5a21e5a50e [BOOTLIB]: Cleanups and small fixes.
svn path=/trunk/; revision=70624
2016-01-20 03:43:56 +00:00
Alex Ionescu
00d85d909c [BOOTMGR]: Cleanup, less magic, one bug fix.
svn path=/trunk/; revision=70623
2016-01-20 02:58:39 +00:00
Alex Ionescu
c68737148c [BOOTLIB]: Fix build
svn path=/trunk/; revision=70622
2016-01-20 01:29:59 +00:00
Alex Ionescu
adeb70e21e [BOOTLIB]: Rough sketches of BlImgLoadBootApplication, BlImgStartBootApplication, BlImgUnLoadBootApplication.
svn path=/trunk/; revision=70621
2016-01-20 01:28:50 +00:00
Pierre Schweitzer
e7f66b6dad [MPR]
Import Wine commits:
- 39ec97ea9dcba270bbea31a7eaa7b842bf1beb1f, Implement WNetAddConnectionA(), WNetAddConnection2A(), WNetAddConnection3A().
- 092c60e98cec9956127145f7c8a5db88082ce7d2, Implement WNetAddConnectionW(), WNetAddConnection2W(), WNetAddConnection3W().

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70619
2016-01-19 18:39:18 +00:00
Alex Ionescu
68e9874f36 [BOOTMGR]: Support for launching a recovery sequence.
[BOOTMGR]: Stub support for boot errors.
[BOOTMGR]: Stubplement support for device creation for boot applications (only for fully specified devices)
[BOOTMGR]: Implement support for execution transfer, including recovery mode/sequence.
[BOOTMGR]: Implement support for launching a boot entry.
[BOOTLIB]: Support for EFI Firmware device enumeration, driver attachment, and comparison.
[BOOTLIB]: Support for appending BOOLEAN or INTEGER BCD options.
Next step is the PE loader.

svn path=/trunk/; revision=70618
2016-01-19 18:21:54 +00:00
Amine Khaldi
de0a6b1666 [TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-10805
svn path=/trunk/; revision=70616
2016-01-18 19:20:44 +00:00
Alex Ionescu
ac25cdec6c [BOOTMGR]: Implement support for getting the default boot entry, the current boot menu policy, and finish implementation of getting the selected boot entry.
[BOOTMGR]: Stubplement support for catching keystrokes right before boot (such as F8, F10). No key input is actually read.
Boot Manager now attempts to load the winload entry as part of BmpLaunchBootEntry.

svn path=/trunk/; revision=70615
2016-01-18 18:16:49 +00:00
Alex Ionescu
12f04d8cb1 [HIVEBCD]: Fix wrong element type for application device element.
[BOOTMGR]: Implement boot sequence population. We correctly detect our winload.efi entry in the BCD hive.
[BOOTMGR]: Document more application entry flags.
[BOOTLIB]: Document and implement BCD object description parsing. Based off BCD Reference Guide / Geoff Chappel's website.
[BOOTLIB]: Add support for appending a boot option to an entry.

svn path=/trunk/; revision=70614
2016-01-18 16:54:44 +00:00
Alex Ionescu
f3c6cefe6f [BOOTMGFW]: Implement BmEnumerateBootEntries.
[BOOTLIB]: Implement BlGetOptionGuid. All BCD option APIs should now be implemented.
[BOOTLIB]: Fix memory corruption + out-of-bounds bugs in BlAppendBootOptions, which made the BCD options remain empty.

svn path=/trunk/; revision=70611
2016-01-18 05:26:10 +00:00
Alex Ionescu
51f9487ff7 [HIVEBCD]: Implement an entire wholeseome BCD boot hive, including multiple levels of inheritance (globalsettings, dbgsettings, emssettings, bootloadersettings), plus entries for {memdiag}, {bootmgr} and {winload}.
[BOOTLIB]: Fix a bug in BCD parsing which was causing massive heap corruption. Became evident with the increased complexity of the new BCD hive.

svn path=/trunk/; revision=70610
2016-01-18 04:18:12 +00:00
Alex Ionescu
ba3178b813 [CMLIB/NTOSKRNL]: Move key deletion functions to cmlib, so that UEFI boot library can use them.
[BOOTLIB]: Implement BCD element deletion (bootreg: implement key deletion)
[BOOTMGR]: Implement BL_FATAL_ERROR_BCD_ENTRIES fatal error.
[BOOTMGR]: Stubplement support for memory list data parsing (when memtest.efi will run), and stubplement support for boot persistent data blobs.
[BOOTMGR]: Stubplement boot sequence support, create stub for boot entry population.
[BOOTMGR]: Stubplement boot entry selection, create stub for boot entry enumeration.
Mostly factoring-level changes to get us closer to the needed code paths.

svn path=/trunk/; revision=70609
2016-01-17 21:48:00 +00:00
Eric Kohl
f91d835c5a [USERINIT]
Add missing newline for MSVC.

svn path=/trunk/; revision=70608
2016-01-17 19:37:18 +00:00
Eric Kohl
8c9a41db96 [USERINIT]
Add two dialogs that are shown when the LiveCD is booted. The first dialog is used to select the language and keyboard layout. The second dialog is used to either start the shell or the GUI installer. Language and keyboard layout selection are still work in progress.

svn path=/trunk/; revision=70607
2016-01-17 19:20:47 +00:00
Sylvain Petreolle
9511b56f3c [FLOPPY]
Check for controller configuration status.
CORE-10761 #comment Please retest.

svn path=/trunk/; revision=70606
2016-01-17 16:59:55 +00:00
Hermès Bélusca-Maïto
8c2454ea74 [CMLIB]
- Now that both FreeLdr and MKHIVE use the regular (aka. the "NT-style public") CMLIB functions, get rid of the "old-style public" cmlib functions, with the exception of CmCreateRootNode and CmPrepareHive which remain for now due to a slight different implementation difference between NT and ours. Remove the cmtools.c file containing those old functions.
- Remove the now-deprecated VALUE_LIST_CELL structure (which was an old version of CELL_DATA:KeyList).
- When freeing hive bins (in HvpFreeHiveBins), use the storage number count stored in the hive instead of a constant value.
- Flat hives have only one storage type (they are read-only and reside only in memory).
CORE-10802
CORE-10793

svn path=/trunk/; revision=70605
2016-01-17 02:12:37 +00:00
Hermès Bélusca-Maïto
17c6bfd956 [FREELDR]
Make FreeLdr fully using the CMLIB library. CORE-10802 #resolve
CORE-10793

svn path=/trunk/; revision=70604
2016-01-17 01:42:11 +00:00
Hermès Bélusca-Maïto
660ad50bae [MKHIVE]
- Fix two warnings in GCC Linux build (in KeBugCheckEx and in a call to the helper function RepGetValueData).
- Remove two unused RTL ANSI functions.
- Fix USHORT vs. ULONG type misuage.
- Fix SIZE_T vs. ULONG usage.

svn path=/trunk/; revision=70603
2016-01-17 01:29:43 +00:00
Hermès Bélusca-Maïto
30da982e36 [MKHIVE]
- Make mkhive tool correctly initialize the Max(Value)[Name|Data]Length members of HHIVE structure. CORE-10794 #resolve
- Add default security hive descriptors to our mkhive-built registry hives. CORE-10795 #resolve
- Make MKHIVE fully using the CMLIB library. CORE-10802
CORE-10793

svn path=/trunk/; revision=70602
2016-01-17 00:50:03 +00:00
Hermès Bélusca-Maïto
5a29ec2659 [CMLIB]
- One less hardcoded number.
- Minor code formatting.

[NTOS]
- Minor code formatting (cmvalche.c).
- The key-node timestamp can usually be retrieved without using another temporary value.
- The security descriptor copy allocated for the hive can be freed after it was assigned to it.

[MKHIVE]
- Minor formatting of the source headers.
- Update the list of registry value types; add another error code (to be used later on).
- Remove now unused "ntoskrnl.h" header.

CORE-10793

svn path=/trunk/; revision=70601
2016-01-16 23:54:45 +00:00
Eric Kohl
b45ce14687 [MMC]
- Prepare the 'file open', 'file save' and 'file save as' actions.
- Store the file name in the console struncture.

svn path=/trunk/; revision=70600
2016-01-16 15:17:12 +00:00
Hermès Bélusca-Maïto
2bb29d9cea [BOOTDATA]
- Add "aif" and "aiff" to the supported MCI Extensions.
- Remove an extra erroneous "rmi" entry that was wrongly marked as being of type "MPEGVideo".

svn path=/trunk/; revision=70597
2016-01-16 00:30:01 +00:00
Pierre Schweitzer
a8eec26809 [MOUNTMGR]
Warn when stubling upon Winism.

svn path=/trunk/; revision=70596
2016-01-15 21:12:57 +00:00
Hermès Bélusca-Maïto
9e6cbffcd8 [FREELDR]
- Since the registry handling rewrite of Timo in r61595 all the freeldr-specific registry structures got deprecated. Remove them, as well as few other prototypes of non-existing functions.
- Use the CMLIB registry flags instead of some (already-removed) flags --> fix build.

svn path=/trunk/; revision=70594
2016-01-14 20:00:18 +00:00
Hermès Bélusca-Maïto
62e9fb7872 [CMLIB]
- Do not define _NTOSKRNL_ at compilation time, keep only the _NTSYSTEM_ define (and NASSERT).
- Remove deprecated unused private flags.
- Modify CmCreateRootNode to make it look more similar to the CmpCreateRootNode function of ntoskrnl/config/cmsysini.c, to ease future code adaptation in cmlib & mkhive and then deprecate CmCreateRootNode in favour of CmpCreateRootNode.

svn path=/trunk/; revision=70593
2016-01-14 18:03:35 +00:00
Hermès Bélusca-Maïto
5cef0d2fc2 [VFATLIB]: Comments (and DPRINT) fixes only.
svn path=/trunk/; revision=70583
2016-01-13 14:12:04 +00:00
Hermès Bélusca-Maïto
734bc29142 [CMLIB]
- Fix HBLOCK_SIZE vs. HSECTOR_SIZE mix-ups in HvpGetHiveHeader.
- Add a function to create cluster-aligned hive base blocks (HBASE_BLOCK) based on the existing code of HvpGetHiveHeader, and use it everytime we need to allocate HBASE_BLOCKs.
- Keep the actual base block size in the BaseBlockAlloc member, and use this value for the "quota" parameter when we free the blocks.
- Introduce & use a function to initialize the hive file name array (mainly used for debugging purposes).
- "HvpInitializeMemoryInplaceHive" should read "HvpInitializeFlatHive" instead since this function is used to initialize a flat hive. Memory-in-place hives are a different thing.
- Fix some memory leaks in the error paths of HvLoadHive.
- Initialize some additional hive members in HvInitialize(Hive).

svn path=/trunk/; revision=70582
2016-01-13 01:40:58 +00:00
Hermès Bélusca-Maïto
36a7330eee [CMLIB]: Better fix for r70580.
svn path=/trunk/; revision=70581
2016-01-12 22:22:18 +00:00
Hermès Bélusca-Maïto
c63d2718c5 [CMLIB]: Fix host-tool compilation (+ add a comment).
svn path=/trunk/; revision=70580
2016-01-12 22:17:39 +00:00
Hermès Bélusca-Maïto
ab7ca4116c [CMLIB]
- Fix some structure definitions to match Win2k3 symbols (define also _SECURITY_DESCRIPTOR_RELATIVE for the host-tools so that the CM_KEY_SECURITY structure is always correctly defined).
- Complete other structure definitions with respect to the NT version defined at compile time; http://msdn.mirt.net/ was used as the source of information.
- Add the definition of CM_BIG_DATA for supporting big valued keys (see also http://www.msuiche.net/2009/06/07/windows-vista-and-later-registry-secrets/ for what they are).

[NTOS]
- Move CM functions defined in the CMLIB out of the internal ntoskrnl headers.

svn path=/trunk/; revision=70579
2016-01-12 21:37:36 +00:00
Pierre Schweitzer
cae19acb7a [ROSVBOXMGMT]
Let's add hacks to glue hacks together:
In case rosvboxmgmt is started with its current directory not being the directory where it is along with hackssign_client.exe, then autoassign fails finding the hackssign client executable and thus, fails assigning drive letter.
This is what happens when you starts rosvboxmgmt on boot with shell.
So, when using autoassign, first look for the location of rosvboxmgmt and set our current directory there.

This fixes rosvboxmgmt autoassign not working on boot.

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70578
2016-01-11 22:41:32 +00:00
Hermès Bélusca-Maïto
658e9e13b3 [DESK.CPL]
Resolution selection improvement patch by Mark Jansen:
- Fix a bug that allowed only a subset of resolutions to be visible.
- Update the preview on the fly when dragging the resolution slider.
- Fix a bug that prevented the monitor preview from properly invalidating the preview, leaving the old preview partially visible.
Needs to be included in 0.4 branch.
CORE-10786

svn path=/trunk/; revision=70577
2016-01-11 20:52:44 +00:00
Eric Kohl
30862b5020 [vfatlib]
- Use a single wipe function (FatWipeSectors) for FAT12, FAT16 and FAT32.
- Code has been reviewed by Hermès and me. Ready for merge into 0.4.

svn path=/trunk/; revision=70576
2016-01-11 20:44:06 +00:00
Hermès Bélusca-Maïto
d0eb702ec2 [NTOS:CONFIG]
Remove a very old hack (that dated back from the Configuration Manager rewrite): now the hives are already correctly loaded in memory, therefore there is no need to call CmCreateRootNode after creating a hive, because the root node is subsequently initialized with calls to CmpCreateLinkNode. The comment saying that calls to CmCreateRootNode can be removed when CmpCreateLinkNode is used, is now in order. This means we correctly parse & mount the hives. The CmCreateRootNode function is now only used in the 'mkhive' tool in order to create file hives, since this tool needs to create new hives from nowhere (that's why also our bootloaders do not need this function: they only load & parse existing hive files).

The fact that this hack remained caused us hidden troubles: some hives (SAM, SOFTWARE) had "two" root keys: a first one that was unused (which was created by this hackish call), and the second one which was the one used (and was created by CmpCreateLinkNode as expected).

svn path=/trunk/; revision=70575
2016-01-11 00:37:44 +00:00
Eric Kohl
4216e8389f [SCSIPORT]
Fix indentation! No code changes!

svn path=/trunk/; revision=70574
2016-01-10 22:39:25 +00:00
Hermès Bélusca-Maïto
a677879087 [NTOS:CONFIG]
- Remove useless casts.
- Fix a REG_OPTION_* hack.

svn path=/trunk/; revision=70573
2016-01-10 22:35:09 +00:00
Eric Kohl
cd9434b877 [NDK]
Add PLUGPLAY_CONTROL_RETRIEVE_DOCK_DATA.

svn path=/trunk/; revision=70572
2016-01-10 21:26:46 +00:00
Eric Kohl
b83fd18555 [INTL]
- Remove the Advanced page for non-admin users.
- Disable the 'complex script' and 'east asian language' checkboxes for non-admin users.

svn path=/trunk/; revision=70571
2016-01-10 21:12:23 +00:00
Timo Kreuzer
24c45ac2f1 [PSDK]
Add missing dbghelp.h definitions

svn path=/trunk/; revision=70570
2016-01-10 19:46:16 +00:00
Timo Kreuzer
1c0099452e [CREATESPEC]
- Implement retrieving export names from forwarders
- Add error() function to print errors
- Refactor image/symbol loading
- Fix some bugs and add some hacks, so that it compiles in out tree
- Add to build

svn path=/trunk/; revision=70569
2016-01-10 18:50:36 +00:00
Eric Kohl
3c1003aaf5 [LSASRV]
Add credential function stubs to the lsa dispatch table.

svn path=/trunk/; revision=70568
2016-01-10 13:01:29 +00:00
Eric Kohl
396b335764 [LSASRV]
Add missing exports.

svn path=/trunk/; revision=70567
2016-01-10 12:44:35 +00:00
Eric Kohl
cc8ac23992 [ADVAPI32]
Implement LsaOpenPolicySce.
[LSASRV]
Update the LsarOpenPolicySce prototype.

svn path=/trunk/; revision=70566
2016-01-10 10:27:46 +00:00
Hermès Bélusca-Maïto
1dba309628 [CMLIB][NTOS:CONFIG]
- The BaseBlock->Length member is really the size in bytes of the full hive, minus the header (base) block size.
- Remove the last remnents of the "hack of doom" aka. the one similar in magnitude to the US national debt, addendum to r61621 and r26712. The FileSize can be computed with BaseBlock->Length.

svn path=/trunk/; revision=70565
2016-01-10 02:16:39 +00:00
Hermès Bélusca-Maïto
a5ed535978 [NTOS:CONFIG]
- Use the standard "CmHive" naming (that is used in all the rest of the 'config' module) for the first parameter of CmpInitializeHive.
[CMLIB]
- Fix the order of the 'HiveFlags'/'FileType' parameters in HvInitialize (the function 'CmGetSystemControlValues' in ntoskrnl/config/cmcontrl.c got them right already).

svn path=/trunk/; revision=70564
2016-01-10 01:28:04 +00:00
Hermès Bélusca-Maïto
3182337569 [CMLIB]: Use the HvGetCell* macros where it's possible.
svn path=/trunk/; revision=70563
2016-01-09 23:50:10 +00:00
Hermès Bélusca-Maïto
c8688507db [CMLIB]: Go from 3-space indentation to 4-space.
svn path=/trunk/; revision=70562
2016-01-09 23:42:45 +00:00
Hermès Bélusca-Maïto
c55976dada [CMLIB]
- HV_BLOCK_SIZE and HBLOCK_SIZE are the same thing; prefer the newly introduced HBLOCK_SIZE define.
- Improve the HvGetCell* macros.
- Add next to the defined hive signatures what their corresponding strings are (for documentation purpose).
- Some whitespace fixes in the headers.

svn path=/trunk/; revision=70561
2016-01-09 23:15:05 +00:00
Eric Kohl
496764ad58 [DEVMGR]
Set the focus to the treeview when the main window recieves a WM_ACTIVATE message.
CORE-10769 #resolve #comment Fixed in r70560.

svn path=/trunk/; revision=70560
2016-01-09 22:22:17 +00:00
Timo Kreuzer
2a5c5c0c76 [CREATESPEC]
Small utility to auto-create spec files. Uses MS symbol server to evaluate data not available in the export table. Features:
- Parse export table for export names and forwarders
- Find function name for nameless exports
- Recognize calling convention / data exports
- Analyze function parameters

svn path=/trunk/; revision=70559
2016-01-09 19:05:14 +00:00
Hermès Bélusca-Maïto
6ed0a4c6b2 [USETUP]: Do not append an extra NULL-terminator when updating freeldr.ini
svn path=/trunk/; revision=70558
2016-01-09 11:39:56 +00:00
Hermès Bélusca-Maïto
119229c8fb [USETUP]: Since calling RtlAllocateHeap with the HEAP_ZERO_MEMORY flag works as expected, just use it instead of manually zero-out the newly-created buffer just after.
svn path=/trunk/; revision=70557
2016-01-09 11:22:20 +00:00
Alex Ionescu
9701df346f [BOOTMGFW]: Implement the final boot selection & launch loop.
[BOOTMLIB]: Implement a few more BCD option functions.
Minus a PE loader (BmpLaunchBootEntry) and some more BCD parsing (BmpGetSelectedBootEntry) with some glue in between, the UEFI Boot Manager is nearly done. Once it is, it will be time to implement the actual loader -- Winload.efi. The good news is that we'll have all of bootlib already good to go (with all its hacks). The bad news is that Winload will turn on paging, so all those unimplemented paths and UEFI mode switches will have to be made to work.

svn path=/trunk/; revision=70556
2016-01-09 05:39:18 +00:00
Hermès Bélusca-Maïto
5e7a5d0d57 [DEVMGR]: Keep the computer name as it is, don't lower-case it.
svn path=/trunk/; revision=70555
2016-01-08 21:14:13 +00:00
Hermès Bélusca-Maïto
adec9641bc [CDMAKE]: Improve an error message.
svn path=/trunk/; revision=70554
2016-01-08 20:27:55 +00:00
Hermès Bélusca-Maïto
9c232dfd4f [CDMAKE]
- #if _WIN32 --> #ifdef _WIN32
- Define the "max" macro only if needed.
- Fix a comment.
- Plug a memory leak ('case_name' not freed in the "!*case_name" case of the dir_hash_create_dir function).
- Return a non-zero value (the file structure pointer) from dir_hash_add_file in case we succeed in creating the file in the ISO structure, and NULL otherwise (i.e. when the filename is empty). In that latter case we fail the hard way. No-named files are completely invalid in ISO archives. Now, the following testcase (e.g. to be added into bootcd.lst):
reactos/reactos.exe/=C:/test/reactos.exe
fails as expected (before, we were able to create a directory named "reactos/reactos.exe", and inside, a no-named file with the contents of C:/test/reactos.exe).

svn path=/trunk/; revision=70553
2016-01-08 20:25:30 +00:00
Hermès Bélusca-Maïto
509ec7bdab [CDMAKE]
- Optimize splitting paths (merge chop_dirname and chop_filename functions).
- Make the code working as expected for the following testcases (you can test these by adding the following lines into e.g. bootcd.lst):
testdir1   --> create "testdir1" in the root directory.
testdir2/  --> create "testdir2" in the root directory. No no-named subdirectory is created.
testdir3// --> create "testdir3" in the root directory. No no-named subdirectory is created.
dir1//\/dir14///\//\//   --> create "dir1" in the root directory, and "dir14" inside dir1. No no-named subdirectory is created.
EFI/ReactOS/Boot/Fonts//chs_boot.ttf=C:/somepath/chs_boot.ttf --> create the directories "EFI/ReactOS/Boot/Fonts", no no-named subdirectory is created, and create in the Fonts directory the file "chs_boot.ttf".

Before those changes, empty no-named (therefore, invalid) subdirectories were created in the second, third and fourth testcases, and an obscure error was returned in the fifth testcase.

svn path=/trunk/; revision=70552
2016-01-08 18:43:46 +00:00
Thomas Faber
9533d5eb74 [ACPICA]
- Update to version 20160108

svn path=/trunk/; revision=70551
2016-01-08 16:41:39 +00:00
Thomas Faber
3e7cd6e646 [ACPICA]
- Actually use the BSD/GPL licensed version as we should be, instead of the Intel license

svn path=/trunk/; revision=70550
2016-01-08 16:37:52 +00:00
Hermès Bélusca-Maïto
2aa1a8c21d [BOOTMGR]: Fix missing '\r' for EfiPrintf newlines, and few misspellings.
svn path=/trunk/; revision=70549
2016-01-08 15:01:11 +00:00
9658 changed files with 841544 additions and 145134 deletions

View File

@@ -19,7 +19,7 @@ endif()
project(REACTOS)
# Versioning
include(include/reactos/version.cmake)
include(sdk/include/reactos/version.cmake)
# Don't escape preprocessor definition values added via add_definitions
cmake_policy(SET CMP0005 OLD)
@@ -53,15 +53,15 @@ string(TOLOWER ${ARCH} ARCH)
# Compile options
if(ARCH STREQUAL "i386")
include(cmake/config.cmake)
include(sdk/cmake/config.cmake)
elseif(ARCH STREQUAL "amd64")
include(cmake/config-amd64.cmake)
include(sdk/cmake/config-amd64.cmake)
elseif(ARCH STREQUAL "arm")
include(cmake/config-arm.cmake)
include(sdk/cmake/config-arm.cmake)
endif()
# Compiler flags handling
include(cmake/compilerflags.cmake)
include(sdk/cmake/compilerflags.cmake)
add_definitions(-D__REACTOS__)
@@ -76,7 +76,7 @@ if(NOT MSVC_IDE)
endif()
# Bison and Flex support
# include(cmake/bison-flex.cmake)
# include(sdk/cmake/bison-flex.cmake)
if(NOT CMAKE_CROSSCOMPILING)
@@ -94,30 +94,28 @@ if(NOT CMAKE_CROSSCOMPILING)
add_definitions(/D_ALLOW_KEYWORD_MACROS)
endif()
add_definitions(/Dinline=__inline)
else()
add_compile_flags("-fshort-wchar -Wno-multichar")
endif()
include_directories(include/host)
include_directories(sdk/include/host)
if(NOT MSVC)
add_subdirectory(dll/win32/dbghelp)
endif()
add_subdirectory(tools)
add_subdirectory(lib)
add_subdirectory(sdk/tools)
add_subdirectory(sdk/lib)
if(NOT NEW_STYLE_BUILD)
if(NOT MSVC)
export(TARGETS bin2c widl gendib cabman cdmake fatten hpp mkhive obj2bin spec2def geninc rsym mkshelllink utf16le FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
export(TARGETS bin2c widl gendib cabman cdmake fatten hpp mkhive obj2bin spec2def geninc rsym mkshelllink utf16le xml2sdb FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
else()
export(TARGETS bin2c widl gendib cabman cdmake fatten hpp mkhive obj2bin spec2def geninc mkshelllink utf16le FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
export(TARGETS bin2c widl gendib cabman cdmake fatten hpp mkhive obj2bin spec2def geninc mkshelllink utf16le xml2sdb FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
endif()
endif()
else()
if(NEW_STYLE_BUILD)
include(cmake/host-tools.cmake)
include(sdk/cmake/host-tools.cmake)
endif()
# Print build type
@@ -207,59 +205,60 @@ else()
enable_language(RC)
# Localization definitions
include(cmake/localization.cmake)
include(sdk/cmake/localization.cmake)
set(I18N_DEFS "")
# This will set I18N_DEFS for later use
set_i18n_language(${I18N_LANG})
# Compiler specific definitions and macros
if(MSVC)
include(cmake/msvc.cmake)
include(sdk/cmake/msvc.cmake)
else()
include(cmake/gcc.cmake)
include(sdk/cmake/gcc.cmake)
endif()
# Generic macros
include(cmake/CMakeMacros.cmake)
include(sdk/cmake/CMakeMacros.cmake)
# IDL macros for widl/midl
# We're using widl now for both MSVC and GCC builds
include(cmake/widl-support.cmake)
include(sdk/cmake/widl-support.cmake)
include_directories(
include
include/psdk
include/dxsdk
${REACTOS_BINARY_DIR}/include
${REACTOS_BINARY_DIR}/include/psdk
${REACTOS_BINARY_DIR}/include/dxsdk
${REACTOS_BINARY_DIR}/include/ddk
${REACTOS_BINARY_DIR}/include/reactos
include/crt
include/ddk
include/ndk
include/reactos
include/reactos/libs)
sdk/include
sdk/include/psdk
sdk/include/dxsdk
${REACTOS_BINARY_DIR}/sdk/include
${REACTOS_BINARY_DIR}/sdk/include/psdk
${REACTOS_BINARY_DIR}/sdk/include/dxsdk
${REACTOS_BINARY_DIR}/sdk/include/ddk
${REACTOS_BINARY_DIR}/sdk/include/reactos
${REACTOS_BINARY_DIR}/sdk/include/reactos/mc
sdk/include/crt
sdk/include/ddk
sdk/include/ndk
sdk/include/reactos
sdk/include/reactos/libs)
if(ARCH STREQUAL "arm")
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/arm)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/arm)
endif()
add_dependency_header()
add_subdirectory(include/xdk)
add_subdirectory(include/psdk)
add_subdirectory(include/dxsdk)
add_subdirectory(include/reactos/wine)
add_subdirectory(include/reactos/mc)
add_subdirectory(include/asm)
add_subdirectory(sdk/include/xdk)
add_subdirectory(sdk/include/psdk)
add_subdirectory(sdk/include/dxsdk)
add_subdirectory(sdk/include/reactos/wine)
add_subdirectory(sdk/include/reactos/mc)
add_subdirectory(sdk/include/asm)
if(NO_ROSSYM)
include(cmake/baseaddress_dwarf.cmake)
include(sdk/cmake/baseaddress_dwarf.cmake)
elseif(MSVC)
include(cmake/baseaddress_msvc.cmake)
include(sdk/cmake/baseaddress_msvc.cmake)
else()
include(cmake/baseaddress.cmake)
include(sdk/cmake/baseaddress.cmake)
endif()
# For MSVC builds, this puts all debug symbols file in the same directory.
@@ -271,12 +270,12 @@ else()
add_subdirectory(dll)
add_subdirectory(drivers)
add_subdirectory(hal)
add_subdirectory(lib)
add_subdirectory(sdk/lib)
add_subdirectory(media)
add_subdirectory(modules)
add_subdirectory(ntoskrnl)
add_subdirectory(subsystems)
add_subdirectory(tools/wpp)
add_subdirectory(sdk/tools/wpp)
add_subdirectory(win32ss)
# Create the registry hives
@@ -285,7 +284,7 @@ else()
# Create {bootcd, livecd, bootcdregtest}.lst
create_iso_lists()
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/include/reactos)
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/sdk/include/reactos)
add_dependency_footer()
endif()

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@ STRING(REPLACE "/PreLoad.cmake" "" REACTOS_HOME_DIR ${CMAKE_CURRENT_LIST_FILE})
#message("/PreLoad.cmake ... ${REACTOS_HOME_DIR}")
SET(CMAKE_MODULE_PATH "${REACTOS_HOME_DIR}/cmake" CACHE INTERNAL "")
SET(CMAKE_MODULE_PATH "${REACTOS_HOME_DIR}/sdk/cmake" CACHE INTERNAL "")
#message("CMAKE_MODULE_PATH = ${CMAKE_MODULE_PATH}")

View File

@@ -14,7 +14,7 @@ The ReactOS project, although currently focused on Windows Server 2003
compatibility, is always keeping an eye toward compatibility with
Windows Vista and future Windows NT releases.
More information is available at: http://www.reactos.org
More information is available at: https://www.reactos.org
2. Building ReactOS
-------------------

View File

@@ -9,6 +9,7 @@ add_subdirectory(control)
add_subdirectory(dxdiag)
add_subdirectory(extrac32)
add_subdirectory(findstr)
add_subdirectory(fltmc)
add_subdirectory(fontview)
add_subdirectory(games)
add_subdirectory(hh)

View File

@@ -1,6 +1,8 @@
list(APPEND SOURCE cacls.c cacls.rc)
add_executable(cacls ${SOURCE})
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
add_executable(cacls cacls.c cacls.rc)
set_module_type(cacls win32cui UNICODE)
target_link_libraries(cacls conutils_stream ${PSEH_LIB})
add_importlibs(cacls advapi32 user32 shell32 msvcrt kernel32)
add_cd_file(TARGET cacls DESTINATION reactos/system32 FOR all)

View File

@@ -33,155 +33,17 @@ static GENERIC_MAPPING FileGenericMapping =
};
static
INT
LengthOfStrResource(IN HINSTANCE hInst,
IN UINT uID)
static VOID
PrintError(DWORD dwError)
{
HRSRC hrSrc;
HGLOBAL hRes;
LPWSTR lpName, lpStr;
if (dwError == ERROR_SUCCESS)
return;
if (hInst == NULL)
{
hInst = GetModuleHandle(NULL);
}
/* There are always blocks of 16 strings */
lpName = (LPWSTR)MAKEINTRESOURCE((uID >> 4) + 1);
/* Find the string table block */
hrSrc = FindResourceW(hInst, lpName, (LPWSTR)RT_STRING);
if (hrSrc)
{
hRes = LoadResource(hInst, hrSrc);
if (hRes)
{
lpStr = LockResource(hRes);
if (lpStr)
{
UINT x;
/* Find the string we're looking for */
uID &= 0xF; /* position in the block, same as % 16 */
for (x = 0; x < uID; x++)
{
lpStr += (*lpStr) + 1;
}
/* Found the string */
return (int)(*lpStr);
}
}
}
return -1;
ConMsgPuts(StdErr, FORMAT_MESSAGE_FROM_SYSTEM,
NULL, dwError, LANG_USER_DEFAULT);
}
static
INT
AllocAndLoadString(OUT LPTSTR *lpTarget,
IN HINSTANCE hInst,
IN UINT uID)
{
INT ln;
ln = LengthOfStrResource(hInst,
uID);
if (ln++ > 0)
{
(*lpTarget) = (LPTSTR)HeapAlloc(GetProcessHeap(),
0,
ln * sizeof(TCHAR));
if ((*lpTarget) != NULL)
{
INT Ret;
Ret = LoadString(hInst,
uID,
*lpTarget,
ln);
if (!Ret)
{
HeapFree(GetProcessHeap(),
0,
*lpTarget);
}
return Ret;
}
}
return 0;
}
static
VOID
PrintHelp(VOID)
{
LPTSTR szHelp;
if (AllocAndLoadString(&szHelp,
NULL,
IDS_HELP) != 0)
{
_tprintf(_T("%s"),
szHelp);
HeapFree(GetProcessHeap(),
0,
szHelp);
}
}
static
VOID
PrintErrorMessage(IN DWORD dwError)
{
LPTSTR szError;
if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_IGNORE_INSERTS |
FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
dwError,
MAKELANGID(LANG_NEUTRAL,
SUBLANG_DEFAULT),
(LPTSTR)&szError,
0,
NULL) != 0)
{
_tprintf(_T("%s"),
szError);
LocalFree((HLOCAL)szError);
}
}
static
DWORD
LoadAndPrintString(IN HINSTANCE hInst,
IN UINT uID)
{
TCHAR szTemp[255];
DWORD Len;
Len = (DWORD)LoadString(hInst,
uID,
szTemp,
sizeof(szTemp) / sizeof(szTemp[0]));
if (Len != 0)
{
_tprintf(_T("%s"),
szTemp);
}
return Len;
}
static
BOOL
static BOOL
PrintFileDacl(IN LPTSTR FilePath,
IN LPTSTR FileName)
{
@@ -199,10 +61,8 @@ PrintFileDacl(IN LPTSTR FilePath,
return FALSE;
}
_tcscpy(FullFileName,
FilePath);
_tcscat(FullFileName,
FileName);
_tcscpy(FullFileName, FilePath);
_tcscat(FullFileName, FileName);
/* find out how much memory we need */
if (!GetFileSecurity(FullFileName,
@@ -318,8 +178,7 @@ BuildSidString:
}
/* print the file name or space */
_tprintf(_T("%s "),
FullFileName);
ConPrintf(StdOut, L"%s ", FullFileName);
/* attempt to map the SID to a user name */
if (AceIndex == 0)
@@ -335,35 +194,29 @@ BuildSidString:
/* print the domain and/or user if possible, or the SID string */
if (Name != NULL && Domain[0] != _T('\0'))
{
_tprintf(_T("%s\\%s:"),
Domain,
Name);
ConPrintf(StdOut, L"%s\\%s:", Domain, Name);
IndentAccess = (DWORD)_tcslen(Domain) + _tcslen(Name);
}
else
{
LPTSTR DisplayString = (Name != NULL ? Name : SidString);
_tprintf(_T("%s:"),
DisplayString);
ConPrintf(StdOut, L"%s:", DisplayString);
IndentAccess = (DWORD)_tcslen(DisplayString);
}
/* print the ACE Flags */
if (Ace->Header.AceFlags & CONTAINER_INHERIT_ACE)
{
IndentAccess += LoadAndPrintString(NULL,
IDS_ABBR_CI);
IndentAccess += ConResPuts(StdOut, IDS_ABBR_CI);
}
if (Ace->Header.AceFlags & OBJECT_INHERIT_ACE)
{
IndentAccess += LoadAndPrintString(NULL,
IDS_ABBR_OI);
IndentAccess += ConResPuts(StdOut, IDS_ABBR_OI);
}
if (Ace->Header.AceFlags & INHERIT_ONLY_ACE)
{
IndentAccess += LoadAndPrintString(NULL,
IDS_ABBR_IO);
IndentAccess += ConResPuts(StdOut, IDS_ABBR_IO);
}
IndentAccess += 2;
@@ -375,13 +228,11 @@ BuildSidString:
{
if (AccessMask == FILE_ALL_ACCESS)
{
LoadAndPrintString(NULL,
IDS_ABBR_NONE);
ConResPuts(StdOut, IDS_ABBR_NONE);
}
else
{
LoadAndPrintString(NULL,
IDS_DENY);
ConResPuts(StdOut, IDS_DENY);
goto PrintSpecialAccess;
}
}
@@ -389,24 +240,20 @@ BuildSidString:
{
if (AccessMask == FILE_ALL_ACCESS)
{
LoadAndPrintString(NULL,
IDS_ABBR_FULL);
ConResPuts(StdOut, IDS_ABBR_FULL);
}
else if (!(Ace->Mask & (GENERIC_READ | GENERIC_EXECUTE)) &&
AccessMask == (FILE_GENERIC_READ | FILE_EXECUTE))
{
LoadAndPrintString(NULL,
IDS_ABBR_READ);
ConResPuts(StdOut, IDS_ABBR_READ);
}
else if (AccessMask == (FILE_GENERIC_READ | FILE_GENERIC_WRITE | FILE_EXECUTE | DELETE))
{
LoadAndPrintString(NULL,
IDS_ABBR_CHANGE);
ConResPuts(StdOut, IDS_ABBR_CHANGE);
}
else if (AccessMask == FILE_GENERIC_WRITE)
{
LoadAndPrintString(NULL,
IDS_ABBR_WRITE);
ConResPuts(StdOut, IDS_ABBR_WRITE);
}
else
{
@@ -446,38 +293,32 @@ BuildSidString:
{STANDARD_RIGHTS_ALL, IDS_STANDARD_RIGHTS_ALL},
};
LoadAndPrintString(NULL,
IDS_ALLOW);
ConResPuts(StdOut, IDS_ALLOW);
PrintSpecialAccess:
LoadAndPrintString(NULL,
IDS_SPECIAL_ACCESS);
ConResPuts(StdOut, IDS_SPECIAL_ACCESS);
/* print the special access rights */
x = sizeof(AccessRights) / sizeof(AccessRights[0]);
x = ARRAYSIZE(AccessRights);
while (x-- != 0)
{
if ((Ace->Mask & AccessRights[x].Access) == AccessRights[x].Access)
{
_tprintf(_T("\n%s "),
FullFileName);
for (x2 = 0;
x2 < IndentAccess;
x2++)
ConPrintf(StdOut, L"\n%s ", FullFileName);
for (x2 = 0; x2 < IndentAccess; x2++)
{
_tprintf(_T(" "));
ConPuts(StdOut, L" ");
}
LoadAndPrintString(NULL,
AccessRights[x].uID);
ConResPuts(StdOut, AccessRights[x].uID);
}
}
_tprintf(_T("\n"));
ConPuts(StdOut, L"\n");
}
}
_tprintf(_T("\n"));
ConPuts(StdOut, L"\n");
/* free up all resources */
if (Name != NULL)
@@ -541,7 +382,7 @@ GetPathOfFile(LPTSTR FilePath, LPCTSTR pszFiles)
*pch = 0;
if (!GetFullPathName(FilePath, MAX_PATH, FullPath, NULL))
{
PrintErrorMessage(GetLastError());
PrintError(GetLastError());
return FALSE;
}
lstrcpyn(FilePath, FullPath, MAX_PATH);
@@ -549,7 +390,7 @@ GetPathOfFile(LPTSTR FilePath, LPCTSTR pszFiles)
attrs = GetFileAttributes(FilePath);
if (attrs == 0xFFFFFFFF || !(attrs & FILE_ATTRIBUTE_DIRECTORY))
{
PrintErrorMessage(ERROR_DIRECTORY);
PrintError(ERROR_DIRECTORY);
return FALSE;
}
}
@@ -591,7 +432,7 @@ PrintDaclsOfFiles(LPCTSTR pszFiles)
LastError = GetLastError();
if (LastError == ERROR_ACCESS_DENIED)
{
PrintErrorMessage(LastError);
PrintError(LastError);
if (!OptionC)
{
FindClose(hFind);
@@ -599,17 +440,21 @@ PrintDaclsOfFiles(LPCTSTR pszFiles)
}
}
else
{
break;
}
}
else
_tprintf(_T("\n"));
{
ConPuts(StdOut, L"\n");
}
} while(FindNextFile(hFind, &FindData));
LastError = GetLastError();
FindClose(hFind);
if (LastError != ERROR_NO_MORE_FILES)
{
PrintErrorMessage(LastError);
PrintError(LastError);
return FALSE;
}
@@ -771,7 +616,7 @@ ChangeACLsOfFiles(LPCTSTR pszFiles)
LastError = GetLastError();
if (LastError == ERROR_ACCESS_DENIED)
{
PrintErrorMessage(LastError);
PrintError(LastError);
if (!OptionC)
{
FindClose(hFind);
@@ -788,7 +633,7 @@ ChangeACLsOfFiles(LPCTSTR pszFiles)
if (LastError != ERROR_NO_MORE_FILES)
{
PrintErrorMessage(LastError);
PrintError(LastError);
return FALSE;
}
@@ -826,7 +671,7 @@ ChangeACLsOfFilesInCurDir(LPCTSTR pszFiles)
LastError = GetLastError();
if (LastError == ERROR_ACCESS_DENIED)
{
PrintErrorMessage(LastError);
PrintError(LastError);
if (!OptionC)
{
FindClose(hFind);
@@ -843,7 +688,7 @@ ChangeACLsOfFilesInCurDir(LPCTSTR pszFiles)
if (LastError != ERROR_NO_MORE_FILES)
{
PrintErrorMessage(LastError);
PrintError(LastError);
return FALSE;
}
@@ -872,7 +717,7 @@ ChangeACLsOfFilesInCurDir(LPCTSTR pszFiles)
LastError = GetLastError();
if (LastError == ERROR_ACCESS_DENIED)
{
PrintErrorMessage(LastError);
PrintError(LastError);
if (!OptionC)
{
FindClose(hFind);
@@ -889,26 +734,29 @@ ChangeACLsOfFilesInCurDir(LPCTSTR pszFiles)
if (LastError != ERROR_NO_MORE_FILES)
{
PrintErrorMessage(LastError);
PrintError(LastError);
return FALSE;
}
return TRUE;
}
int
__cdecl
_tmain(int argc, const TCHAR *argv[])
int _tmain(int argc, const TCHAR *argv[])
{
INT i;
LPTSTR pch;
BOOL InvalidParameter = FALSE;
/* Initialize the Console Standard Streams */
ConInitStdStreams();
if (argc <= 1)
{
PrintHelp();
ConResPuts(StdOut, IDS_HELP);
return 0;
}
// FIXME: Convert to proper parsing, with support for /?
/*
* parse command line options
*/
@@ -991,8 +839,8 @@ _tmain(int argc, const TCHAR *argv[])
if (InvalidParameter)
{
PrintErrorMessage(ERROR_INVALID_PARAMETER);
PrintHelp();
PrintError(ERROR_INVALID_PARAMETER);
ConResPuts(StdOut, IDS_HELP);
return 1;
}

View File

@@ -23,7 +23,8 @@ CACLS όνομα_αρχείου [/T] [/E] [/C] [/G χρήστης:άδειες [
C Αλλαγή (εγγραφή)\n\
F Πλήρης έλεγχος\n\
/D user Αποτροπή χρήστη από προσπέλαση.\n\
Τα Wildcards μπορούν να χρησιμοποιηθούν για να προσδιορίσουν παραπαπάνω από ένα αρχεία στην εντολή.\n\
Τα Wildcards μπορούν να χρησιμοποιηθούν για να προσδιορίσουν παραπαπάνω από\n\
ένα αρχεία στην εντολή.\n\
Μπορείτε να προσδιορίσετε παρπαάνω από έναν χρήστη στην εντολή.\n\n\
Abbreviations:\n\
CI - Container Inherit.\n\

View File

@@ -18,7 +18,8 @@ CACLS archivo [/T] [/E] [/C] [/G user:perm [...]] [/R usuario [...]]\n\
W Escribir\n\
C Cambiar (escribir)\n\
F Control total\n\
/R usuario Revoca los derechos de acceso al usuario especificado (unicamente válido con /E).\n\
/R usuario Revoca los derechos de acceso al usuario especificado\n\
(unicamente válido con /E).\n\
/P user:perm Reemplaza los derechos de acceso del usuario especificado.\n\
Perm puede ser: N Ninguno\n\
R Leer\n\

View File

@@ -15,7 +15,8 @@ CACLS nomfichier [/T] [/E] [/C] [/G user:perm [...]] [/R user [...]]\n\
W Écriture\n\
C Modification (Écriture)\n\
F Contrôle total\n\
/R user Supprime les droits d'accès de l'utilisateur spécifié (valide uniquement avec /E).\n\
/R user Supprime les droits d'accès de l'utilisateur spécifié\n\
(valide uniquement avec /E).\n\
/P user:perm Remplace les droits d'accès de l'utilisateur spécifié.\n\
Perm peut valoir : N Aucun \n\
R Lecture\n\
@@ -23,7 +24,8 @@ CACLS nomfichier [/T] [/E] [/C] [/G user:perm [...]] [/R user [...]]\n\
C Modification (Écriture)\n\
F Contrôle total\n\
/D user Interdit l'accès à l'utilisateur spécifié.\n\
Il est possible d'utiliser des caractères joker pour sélectionner plus d'un fichier avec une commande.\n\
Il est possible d'utiliser des caractères joker pour sélectionner plus d'un\n\
fichier avec une commande.\n\
Il est possible de spécifier plus d'un utilisateur dans une commande.\n\n\
Abréviations:\n\
CI - Héritage du conteneur.\n\

View File

@@ -2,7 +2,9 @@ LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
IDS_HELP "ACL's (Access Control Lists, toegangslijsten) van bestanden weergeven\nof bewerken\n\nCACLS bestandsnaam [/T] [/E] [/C] [/G gebr:toeg] [/R gebruiker [...]]\n\
IDS_HELP "ACL's (Access Control Lists, toegangslijsten) van bestanden weergeven\n\
of bewerken\n\n\
CACLS bestandsnaam [/T] [/E] [/C] [/G gebr:toeg] [/R gebruiker [...]]\n\
[/P gebr:toeg [...]] [/D gebruiker [...]]\n\
bestandsnaam ACL's weergeven.\n\
/T ACL's wijzigen van opgegeven bestanden in\n\

View File

@@ -24,7 +24,8 @@ CACLS nazwa pliku [/T] [/E] [/C] [/G użytkownik:dostęp [...]] [/R użytkownik
W Zapis\n\
C Zmiana (zapis)\n\
F Pełny dostęp\n\
/R użytkownik Odwołuje prawa dostępu określonemu użytkownikowi (działa tylko z opcją /E).\n\
/R użytkownik Odwołuje prawa dostępu określonemu użytkownikowi\n\
(działa tylko z opcją /E).\n\
/P użytkownik:dostęp Edytuje prawa dostępu określonego użytkownika.\n\
Poziom dostępu:\n\
N Brak\n\
@@ -33,7 +34,8 @@ CACLS nazwa pliku [/T] [/E] [/C] [/G użytkownik:dostęp [...]] [/R użytkownik
C Zmiana (zapis)\n\
F Pełny dostęp\n\
/D użytkownik Odbiera prawa dostępu określonemu użytkownikowi.\n\
W jednym poleceniu można edytować prawa dostępu do wielu plików, używając symboli wieloznacznych.\n\
W jednym poleceniu można edytować prawa dostępu do wielu plików, używając\n\
symboli wieloznacznych.\n\
W jednym poleceniu można edytować prawa dostępu wielu użytkowników.\n\n\
Skróty:\n\
CI - Dziedziczenie kontenera.\n\

View File

@@ -1,11 +1,4 @@
/*
* FILE: base/applications/cacls/lang/ro-RO.rc
* ReactOS Project (http://www.reactos.org)
* TRANSLATOR: Fulea Ștefan (PM on ReactOS Forum at fulea.stefan)
* CHANGE LOG: 2011-08-20 initial translation
* 2011-10-17 diacritics change
*/
/* Ștefan Fulea (stefan dot fulea at mail dot md) */
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE
@@ -18,7 +11,7 @@ CACLS nume_fișier [/T] [/E] [/C] [/G utilizator:acces [...]]\n\
/T Modifică ACL pentru fișierele specificate în\n\
directorul curent și toate subdirectoarele sale.\n\
/E Editează ACL curentă evitând astfel înlocuirea ei.\n\
/C Continuă și la erori de acces interzis.\n\
/C Continuă și la erori de acces respins.\n\
/G utilizator:acces Acordă drepturile de acces specificate pentru utilizator.\n\
acces poate fi de: R Citire\n\
W Scriere\n\

View File

@@ -2,11 +2,14 @@
#define _CACLS_PRECOMP_H
#include <stdarg.h>
#include <tchar.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winuser.h> // For CharPrev
#include <sddl.h>
#include <tchar.h>
#include <conutils.h>
#include "resource.h"

View File

@@ -2,7 +2,6 @@
add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
list(APPEND SOURCE
about.c
convert.c
function.c
rpn.c
@@ -14,11 +13,9 @@ file(GLOB calc_rc_deps res/*.*)
add_rc_deps(resource.rc ${calc_rc_deps})
add_executable(calc ${SOURCE} resource.rc)
set_module_type(calc win32gui UNICODE)
add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
add_importlibs(calc advapi32 user32 shell32 gdi32 msvcrt kernel32)
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
target_link_libraries(calc mingwex)
elseif(MSVC)
if(MSVC)
add_importlibs(calc ntdll)
endif()

View File

@@ -1,33 +0,0 @@
#include "calc.h"
#define MAX_LICENSE_SIZE 1000 // it's enought!
INT_PTR CALLBACK AboutDlgProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
{
TCHAR *license;
switch (msg) {
case WM_INITDIALOG:
license = (TCHAR *)alloca(MAX_LICENSE_SIZE*sizeof(TCHAR));
if (LoadString(calc.hInstance, IDS_STRING_LICENSE, license, MAX_LICENSE_SIZE))
SendDlgItemMessage(hWnd, IDC_EDIT_LICENSE, WM_SETTEXT, 0, (LPARAM)license);
/* Update software version */
SendDlgItemMessage(hWnd, IDC_TEXT_VERSION, WM_GETTEXT, (WPARAM)MAX_LICENSE_SIZE, (LPARAM)license);
_tcscat(license, CALC_VERSION);
SendDlgItemMessage(hWnd, IDC_TEXT_VERSION, WM_SETTEXT, 0, (LPARAM)license);
return TRUE;
case WM_COMMAND:
switch (LOWORD(wp)) {
case IDOK:
EndDialog(hWnd, 0);
return TRUE;
}
break;
case WM_CLOSE:
EndDialog(hWnd, 0);
return 0;
}
return FALSE;
}

View File

@@ -41,8 +41,6 @@
#define IDC_STATIC ((DWORD)-1)
#endif
#define CALC_VERSION TEXT("1.11")
#define MAX_CALC_SIZE 256
/*#define USE_KEYBOARD_HOOK*/

View File

@@ -296,22 +296,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "За ReactOS Calc"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Добре", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Изчислителят на РеактОС", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Версия:", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Написано от Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Статистическа кутия"
@@ -419,11 +403,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc is free software released under GNU GPL license.\r\n\r\nYou can get a copy of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nYou can also get a translation of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Грешка"
IDS_QUICKHELP "Бърза помощ"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Изчислителят на РеактОС"
IDS_AUTHOR "Написано от Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -295,22 +295,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "O ReactOS Kalkulačce"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS Kalkulačka", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Verze ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Autor: Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistické výpočty"
@@ -418,11 +402,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS kalkulačka je svobodný software vydaný pod licencí GNU GPL.\r\n\r\nZde najdete znění GNU GPL licence:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nZde také najdete překlad GNU GPL licence:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Chyba"
IDS_QUICKHELP "Rychlá nápověda"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS Kalkulačka"
IDS_AUTHOR "Autor: Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -290,22 +290,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Über ReactOS Rechner"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS Rechner", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Version ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Geschrieben von Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistikbox"
@@ -413,11 +397,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Rechner ist freie Software, herausgegeben unter der GNU GPL Lizenz.\r\n\r\nSie können hier eine Kopie der GNU GPL Lizenz erhalten:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nSie können hier auch eine Übersetzung der GNU GPL Lizenz erhalten:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Fehler"
IDS_QUICKHELP "Schnellhilfe"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS Rechner"
IDS_AUTHOR "Geschrieben von Carlo Bramini"
END
/* Konversionstypen */
STRINGTABLE
BEGIN

View File

@@ -290,22 +290,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Σχετικά..."
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Αριθμομηχανή", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Έκδοση ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Από τον Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistics box"
@@ -413,11 +397,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc is free software released under GNU GPL license.\r\n\r\nYou can get a copy of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nYou can also get a translation of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Σφάλμα"
IDS_QUICKHELP "Quick help"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Αριθμομηχανή"
IDS_AUTHOR "Από τον Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -290,22 +290,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About ReactOS Calc"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS Calculator", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Version ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Written by Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistics box"
@@ -347,7 +331,7 @@ BEGIN
END
POPUP "&Help"
BEGIN
MENUITEM "&Help topics", IDM_HELP_HELP
MENUITEM "&Help Topics", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "&About ReactOS Calc", IDM_HELP_ABOUT
END
@@ -380,7 +364,7 @@ BEGIN
END
POPUP "&Help"
BEGIN
MENUITEM "&Help topics", IDM_HELP_HELP
MENUITEM "&Help Topics", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "&About ReactOS Calc", IDM_HELP_ABOUT
END
@@ -403,7 +387,7 @@ BEGIN
END
POPUP "&Help"
BEGIN
MENUITEM "&Help topics", IDM_HELP_HELP
MENUITEM "&Help Topics", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "&About ReactOS Calc", IDM_HELP_ABOUT
END
@@ -413,11 +397,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc is free software released under GNU GPL license.\r\n\r\nYou can get a copy of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nYou can also get a translation of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Error"
IDS_QUICKHELP "Quick help"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS Calculator"
IDS_AUTHOR "Written by Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -296,22 +296,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Acerca de la Calculadora de ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Aceptar", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Calculadora de ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Versión ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Creada por Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Cuadro de estadísticas"
@@ -419,18 +403,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "La Calculadora de ReactOS es software libre realizado bajo licencia GNU GPL.\r\n\
\r\n\
Puedes obtener una copia de la licencia GNU GPL aquí:\r\n\
http://www.gnu.org/licenses/gpl.html\r\n\
\r\n\
También puedes obtener una traducción de la licencia GNU GPL aquí:\r\n\
http://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Error"
IDS_QUICKHELP "Ayuda rápida"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Calculadora de ReactOS"
IDS_AUTHOR "Creada por Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -290,22 +290,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "À propos de la Calculatrice ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Calculatrice ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Version ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "par Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistiques"
@@ -413,11 +397,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "Calculatrice ReactOS est un logiciel libre distribué sous licence GNU GPL.\r\n\r\nVous pouvez obtenir une copie de la licence GNU GPL ici:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nVous pouvez aussi obtenir une traduction de la licence GNU GPL ici:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Erreur"
IDS_QUICKHELP "Aide rapide"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Calculatrice ReactOS"
IDS_AUTHOR "par Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -292,22 +292,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "אודות המחשבון ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "אישור", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "מחשבון ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "גירסה ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "נכתבה על ידי Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "תיבת סטטיסטיקה"
@@ -415,11 +399,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc is free software released under GNU GPL license.\r\n\r\nYou can get a copy of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nYou can also get a translation of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "שגיאה"
IDS_QUICKHELP "עזרה מהירה"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "מחשבון ReactOS"
IDS_AUTHOR "נכתבה על ידי Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -298,22 +298,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "A ReactOS Számológépről"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS Számológép", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Verzió ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Írta Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statisztika"
@@ -421,11 +405,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "A ReactOS Számológép a GNU GPL licenc alatt kiadott szabad szoftver.\r\n\r\nA GNU GPL licenc egy másolatát innen szerezheted be:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nValamint a GNU GPL licenc fordítását innen szerezheted be:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Hiba"
IDS_QUICKHELP "Gyors súgó"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS Számológép"
IDS_AUTHOR "Írta Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -290,22 +290,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Informazioni su ReactOS Calc"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Calcolatrice ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Versione ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Scritto da Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Finestra di statistica"
@@ -413,11 +397,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc e` software libero rilasciato sotto licenza GNU GPL.\r\n\r\nE` possibile ottenere una copia del testo della licenza GNU GPL all'indirizzo:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nE` possibile ottenere una traduzione del testo della licenza GNU GPL all'indirizzo:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Errore"
IDS_QUICKHELP "Guida rapida"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Calcolatrice ReactOS"
IDS_AUTHOR "Scritto da Carlo Bramini"
END
/* Categorie per le conversioni */
STRINGTABLE
BEGIN

View File

@@ -290,22 +290,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS 電卓について"
FONT 9, "MS UI Gothic"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS 電卓", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Version ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Written by Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistics box"
@@ -413,11 +397,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS 電卓はGNU GPLライセンスの元で提供されるフリーソフトウェアです。\r\n\r\nこちらでGNU GPLライセンスのコピーを得ることができます:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nこちらでGNU GPLライセンスの翻訳を得ることができます:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "エラー"
IDS_QUICKHELP "クイックヘルプ"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS 電卓"
IDS_AUTHOR "Written by Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -292,22 +292,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS 계산기 정보"
FONT 9, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS 계산기", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "버젼 ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Carlo Bramini에 의해 쓰여짐", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistics box"
@@ -415,11 +399,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc is free software released under GNU GPL license.\r\n\r\nYou can get a copy of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nYou can also get a translation of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "에러"
IDS_QUICKHELP "빠른 도움말"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS 계산기"
IDS_AUTHOR "Carlo Bramini에 의해 쓰여짐"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -290,22 +290,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Over ReactOS Rekenmachine"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS Rekenmachine", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Versie", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Geschreven door: Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistiek-venster"
@@ -413,11 +397,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "De ReactOS Rekenmachine is free software gepubliceerd onder de GNU GPL licentie.\r\n\r\nU kan een kopie van GNU GPL licentie hier bezichtigen:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nU kan ook een vertaling van de GNU GPL licentie hier bezichtigen:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Fout"
IDS_QUICKHELP "Snelle hulp"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS Rekenmachine"
IDS_AUTHOR "Geschreven door: Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -290,22 +290,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Om ReactOS Kalkulator"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS Kalkulator", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Versjon ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Laget av Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "statistikk boks"
@@ -413,11 +397,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Kalkulator er gratis programvare utgitt under GNU GPL lisensen.\r\n\r\nDu kan få en kopi av GNU GPL lisensen her:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nDu kan også få en oversettelse av GNU GPL lisensen her:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Feil"
IDS_QUICKHELP "Rask hjelp"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS Kalkulator"
IDS_AUTHOR "Laget av Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -299,22 +299,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "O Kalkulatorze ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Kalkulator ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Wersja ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Autorstwa: Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statystyka"
@@ -422,11 +406,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "Kalkulator ReactOS jest darmowym programem, publikowanym zgodnie z licencją GNU GPL.\r\n\r\nMożesz otrzymać kopię licencji GNU GPL tutaj:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nTłumaczenie licencji GNU GPL znajdziesz tutaj:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Błąd"
IDS_QUICKHELP "Szybka pomoc"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Kalkulator ReactOS"
IDS_AUTHOR "Autorstwa: Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -292,22 +292,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Sobre Calc ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Calcuadora ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Versão ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Escrita por Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Caixa de estatísticas"
@@ -415,11 +399,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "Calculadora ReactOS é um software livre lançado sobre a licença GNU GPL.\r\nVocê pode adquirir uma cópia da licença GNU GPL no endereço abaixo:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nVocê também pode adquirir uma tradução da licença GNU GPL no endereço abaixo:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Erro"
IDS_QUICKHELP "Ajuda rápida"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Calcuadora ReactOS"
IDS_AUTHOR "Escrita por Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -295,22 +295,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Despre Minicalculator"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Î&nchide", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Minicalculator ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Versiune ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Scris de Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistici"
@@ -418,11 +402,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "Această aplicație este publică; fiind permisă modificarea și/sau (re)distribuția sa în termenii Licenței Publice Generale GNU publicată de Free Software Foundation; sau versiunea 2 a Licenței, sau (la alegere) a oricărei versiuni ulterioare.\r\n\r\nAceastă aplicație este distribuită doar în speranța de a fi utilă, FĂRĂ însă NICI O GARANȚIE; nici măcar cu garanția implicită a VANDABILITĂȚII sau a UTILITĂȚII ÎNTR-UN SCOP ANUME. Pentru mai multe detalii consultați Licența Publică Generală GNU.\r\n\r\nPuteți vedea această licență aici:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nDe asemenea puteți consulta traduceri neoficiale ale acestei licențe aici:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Eroare"
IDS_QUICKHELP "Manual"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Minicalculator ReactOS"
IDS_AUTHOR "Scris de Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -290,22 +290,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "О программе"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Калькулятор ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Версия ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Автор: Карло Брамини", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Статистика"
@@ -323,89 +307,89 @@ END
IDR_MENU_SCIENTIFIC_1 MENU
BEGIN
POPUP "Правка"
POPUP "&Правка"
BEGIN
MENUITEM "Копировать\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Вставить\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "&Копировать\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Вст&авить\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Вид"
POPUP "В&ид"
BEGIN
MENUITEM "Обычный", IDM_VIEW_STANDARD
MENUITEM "Научный", IDM_VIEW_SCIENTIFIC
MENUITEM "Преобразование", IDM_VIEW_CONVERSION
MENUITEM "&Обычный", IDM_VIEW_STANDARD
MENUITEM "&Инженерный", IDM_VIEW_SCIENTIFIC
MENUITEM "П&еревод величин", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Шестнадцатеричный\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Десятичный\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Восьмеричный\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Двоичный\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM "&Шестнадцатеричный\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "&Десятичный\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "&Восьмеричный\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Двои&чный\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Градусы\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Радианы\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Грады\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM "&Градусы\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Радиа&ны\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Гр&ады\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Количество цифр в группе", IDM_VIEW_GROUP, CHECKED
MENUITEM "Группировать &цифры", IDM_VIEW_GROUP, CHECKED
END
POPUP "Справка"
POPUP "&Справка"
BEGIN
MENUITEM "Вызов справки", IDM_HELP_HELP
MENUITEM "&Вызов справки", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "О программе", IDM_HELP_ABOUT
MENUITEM "&О программе", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU
BEGIN
POPUP "Правка"
POPUP "&Правка"
BEGIN
MENUITEM "Копировать\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Вставить\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "&Копировать\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Вст&авить\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Вид"
POPUP "В&ид"
BEGIN
MENUITEM "Обычный", IDM_VIEW_STANDARD
MENUITEM "Научный", IDM_VIEW_SCIENTIFIC
MENUITEM "Преобразование", IDM_VIEW_CONVERSION
MENUITEM "&Обычный", IDM_VIEW_STANDARD
MENUITEM "&Инженерный", IDM_VIEW_SCIENTIFIC
MENUITEM "П&еревод величин", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Шестнадцатеричный\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Десятичный\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Восьмеричный\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Двоичный\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM "&Шестнадцатеричный\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "&Десятичный\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "&Восьмеричный\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Двои&чный\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "8 байт\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "4 байт\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "2 байт\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "1 байт\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM "&8 байт\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "&4 байт\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "&2 байт\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "&1 байт\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "Количество цифр в группе", IDM_VIEW_GROUP, CHECKED
MENUITEM "Группировать &цифры", IDM_VIEW_GROUP, CHECKED
END
POPUP "Справка"
POPUP "&Справка"
BEGIN
MENUITEM "Вызов справки", IDM_HELP_HELP
MENUITEM "&Вызов справки", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "О программе", IDM_HELP_ABOUT
MENUITEM "&О программе", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU
BEGIN
POPUP "Правка"
POPUP "&Правка"
BEGIN
MENUITEM "Копировать\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Вставить\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "&Копировать\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Вст&авить\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Вид"
POPUP "В&ид"
BEGIN
MENUITEM "Обычный", IDM_VIEW_STANDARD
MENUITEM "Научный", IDM_VIEW_SCIENTIFIC
MENUITEM "Преобразование", IDM_VIEW_CONVERSION
MENUITEM "&Обычный", IDM_VIEW_STANDARD
MENUITEM "&Инженерный", IDM_VIEW_SCIENTIFIC
MENUITEM "П&еревод величин", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Количество цифр в группе", IDM_VIEW_GROUP, CHECKED
MENUITEM "Группировать &цифры", IDM_VIEW_GROUP, CHECKED
END
POPUP "Справка"
POPUP "&Справка"
BEGIN
MENUITEM "Вызов справки", IDM_HELP_HELP
MENUITEM "&Вызов справки", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "О программе", IDM_HELP_ABOUT
MENUITEM "&О программе", IDM_HELP_ABOUT
END
END
@@ -413,11 +397,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "Калькулятор ReactOS - свободное программное обеспечение, распространяющееся по лицензии GNU GPL.\r\n\r\nВы можете получить копию лицензии GNU GPL здесь:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nОзнакомиться c переводом лицензии GNU GPL можно здесь:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Ошибка"
IDS_QUICKHELP "Быстрая справка"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Калькулятор ReactOS"
IDS_AUTHOR "Автор: Карло Брамини"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -297,22 +297,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Čo je kalkulačka systému ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Kalkulačka systému ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Verzia ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Napísal Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Štatistika"
@@ -420,11 +404,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "Kalkulačka systému ReactOS je voľný softvér vydaný pod licenciou GNU GPL.\r\n\r\nKópiu licencie GNU GPL môžete získať tu:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nRovnako môžete získať preklad licencie GNU GPL tu:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Chyba"
IDS_QUICKHELP "Rýchla pomoc"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Kalkulačka systému ReactOS"
IDS_AUTHOR "Napísal Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -294,22 +294,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Informacione mbi Makine Llogaritje ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS Makine Llogaritje", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Versioni ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "krijuar nga Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Kutia e Statistikave"
@@ -417,11 +401,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "Makina Llogaritese ReactOS eshte program falas i lanquar nen liçensen GNU GPL.\r\n\r\nJu mund te merrni nje kopje te liçenses se GNU CPL ketu:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nJu gjithashtu mund te merrni e liçenses se GNU GPL ketu:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Error"
IDS_QUICKHELP "Ndihmë e shpejtë"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS Makine Llogaritje"
IDS_AUTHOR "krijuar nga Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -297,22 +297,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Om ReactOS Kalkylator"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS Kalkylator", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Version ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Skriven av Carlo Bramini, Övers.: Jaix Bly", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistik box"
@@ -420,11 +404,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Kalkylator är gratis programvara utgivet under GNU GPL licensen.\r\n\r\nDu kan få en kopia av GNU GPL licensen här:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nDu kan också få en översättning av GNU GPL lisensen här:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Fel"
IDS_QUICKHELP "Snabb hjälp"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS Kalkylator"
IDS_AUTHOR "Skriven av Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -290,22 +290,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "เกี่ยวกับ ReactOS Calc"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "ตกลง", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "เครื่องคิดเลข ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "รุ่น ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Written by Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "กล่องสถานะ"
@@ -413,11 +397,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc is free software released under GNU GPL license.\r\n\r\nYou can get a copy of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nYou can also get a translation of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "ผิดพลาด"
IDS_QUICKHELP "สิ่งนี้คืออะไร ?"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "เครื่องคิดเลข ReactOS"
IDS_AUTHOR "Written by Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -1,4 +1,4 @@
/* TRANSLATOR: 2013, 2014 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
/* TRANSLATOR: 2013, 2014, 2016 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
@@ -292,22 +292,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Hesap Makinesi Üzerine"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Tamam", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Hesap Makinesi", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Sürüm: ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Carlo Bramini eliyle yapılmıştır.", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Sayımlama Penceresi"
@@ -327,8 +311,8 @@ IDR_MENU_SCIENTIFIC_1 MENU
BEGIN
POPUP "&Düzen"
BEGIN
MENUITEM "&Çoğalt\tCtrl+C", IDM_EDIT_COPY
MENUITEM "&Yapıştır\tCtrl+V", IDM_EDIT_PASTE
MENUITEM "&Çoğalt\tDenetim+C", IDM_EDIT_COPY
MENUITEM "&Yapıştır\tDenetim+V", IDM_EDIT_PASTE
END
POPUP "&Görünüm"
BEGIN
@@ -359,8 +343,8 @@ IDR_MENU_SCIENTIFIC_2 MENU
BEGIN
POPUP "&Düzen"
BEGIN
MENUITEM "&Çoğalt\tCtrl+C", IDM_EDIT_COPY
MENUITEM "&Yapıştır\tCtrl+V", IDM_EDIT_PASTE
MENUITEM "&Çoğalt\tDenetim+C", IDM_EDIT_COPY
MENUITEM "&Yapıştır\tDenetim+V", IDM_EDIT_PASTE
END
POPUP "&Görünüm"
BEGIN
@@ -392,8 +376,8 @@ IDR_MENU_STANDARD MENU
BEGIN
POPUP "&Düzen"
BEGIN
MENUITEM "&Çoğalt\tCtrl+C", IDM_EDIT_COPY
MENUITEM "&Yapıştır\tCtrl+V", IDM_EDIT_PASTE
MENUITEM "&Çoğalt\tDenetim+C", IDM_EDIT_COPY
MENUITEM "&Yapıştır\tDenetim+V", IDM_EDIT_PASTE
END
POPUP "&Görünüm"
BEGIN
@@ -415,11 +399,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "Hesap Makinesi, GNU GPL ruhsatıyla yayımlanan bir özgür yazılımdır.\r\n\r\nGNU GPL ruhsatının bir kopyasını şuradan elde edebilirsiniz:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nBir de GNU GPL ruhsatının bir çevirisini şuradan elde edebilirsiniz:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Yanlışlık"
IDS_QUICKHELP "Hızlı Yardım"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Hesap Makinesi"
IDS_AUTHOR "Carlo Bramini eliyle yapılmıştır."
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -298,22 +298,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Про Калькулятор ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Калькулятор ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Версія ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Написав Карло Браміні", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Статистика"
@@ -421,11 +405,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "Калькулятор ReactOS - вільне програмне забезпечення, випущене за ліцензією GNU GPL.\r\n\r\nВи можете отримати копію ліцензії GNU GPL тут:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nВи можете також отримати переклад ліцензії GNU GPL тут:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Помилка"
IDS_QUICKHELP "Швидка довідка"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Калькулятор ReactOS"
IDS_AUTHOR "Написав Карло Браміні"
END
/* Types of conversion */
STRINGTABLE
BEGIN

View File

@@ -292,22 +292,6 @@ BEGIN
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "关于 ReactOS 计算器"
FONT 9, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "确定", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "ReactOS 计算器", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "版本 ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "作者 Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "统计框"
@@ -415,11 +399,17 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "ReactOS 计算器是在 GNU GPL 协议下发行的自由软件。\r\n\r\n你可以从这儿取得一份 GNU GPL 协议的副本:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\n你也可以从这儿取得其翻译\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "错误"
IDS_QUICKHELP "快速帮助"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "ReactOS 计算器"
IDS_AUTHOR "作者 Carlo Bramini"
END
/* Types of conversion */
STRINGTABLE
BEGIN

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

View File

@@ -1,17 +1,16 @@
#pragma once
#define IDS_STRING_LICENSE 1
#define IDS_CALC_NAME 1
#define IDS_MATH_ERROR 2
#define IDS_QUICKHELP 3
#define IDS_AUTHOR 4
#define IDD_DIALOG_SCIENTIFIC 101
#define IDD_DIALOG_STANDARD 102
#define IDD_DIALOG_ABOUT 103
#define IDD_DIALOG_STAT 104
#define IDD_DIALOG_CONVERSION 105
#define IDR_MENU_SCIENTIFIC_1 106
#define IDR_MENU_SCIENTIFIC_2 107
#define IDR_MENU_STANDARD 108
#define IDB_BITMAP_ROS 109
#define IDI_CALC_BIG 110
#define IDI_CALC_SMALL 111
#define IDC_RADIO_HEX 1002
@@ -88,7 +87,6 @@
#define IDC_TEXT_OUTPUT 1074
#define IDC_TEXT_PARENT 1075
#define IDC_TEXT_MEMORY 1076
#define IDC_EDIT_LICENSE 1078
#define IDC_LIST_STAT 1079
#define IDC_BUTTON_RET 1080
#define IDC_BUTTON_LOAD 1081
@@ -98,7 +96,6 @@
#define IDC_BUTTON_SQRT 1085
#define IDC_BUTTON_PERCENT 1086
#define IDC_BUTTON_CONVERT 1087
#define IDC_TEXT_VERSION 1088
#define IDC_BUTTON_FOCUS 1089
#define IDC_COMBO_CATEGORY 1090
#define IDC_COMBO_FROM 1091

View File

@@ -22,9 +22,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDI_CALC_BIG ICON "res/calc.ico"
IDI_CALC_SMALL ICON "res/calc_sm.ico"
/* Bitmaps */
IDB_BITMAP_ROS BITMAP "res/ROS_logo.bmp"
#include <reactos/manifest_exe.rc>
/* UTF-8 */

View File

@@ -3,6 +3,7 @@
#include <winbase.h>
#include <wingdi.h>
#include <winreg.h>
#include <shellapi.h>
#define HTMLHELP_PATH(_pt) TEXT("%systemroot%\\Help\\calc.chm::") TEXT(_pt)
@@ -1338,8 +1339,14 @@ static INT_PTR CALLBACK DlgMainProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
SetFocus(GetDlgItem(hWnd, IDC_BUTTON_FOCUS));
switch (LOWORD(wp)) {
case IDM_HELP_ABOUT:
DialogBox(calc.hInstance,MAKEINTRESOURCE(IDD_DIALOG_ABOUT), hWnd, AboutDlgProc);
{
TCHAR infotitle[100];
TCHAR infotext[200];
LoadString(calc.hInstance, IDS_CALC_NAME, infotitle, SIZEOF(infotitle));
LoadString(calc.hInstance, IDS_AUTHOR, infotext, SIZEOF(infotext));
ShellAbout(hWnd, infotitle, infotext, (HICON)LoadIcon(calc.hInstance, MAKEINTRESOURCE(IDI_CALC_BIG)));
return TRUE;
}
case IDM_HELP_HELP:
#ifndef DISABLE_HTMLHELP_SUPPORT
HtmlHelp(hWnd, HTMLHELP_PATH("/general_information.htm"), HH_DISPLAY_TOPIC, (DWORD_PTR)NULL);

View File

@@ -24,6 +24,10 @@ HICON hSmIcon;
HICON hBgIcon;
SETTINGS Settings;
/* GetUName prototype */
typedef int (WINAPI * GETUNAME)(WORD wCharCode, LPWSTR lpbuf);
GETUNAME GetUName;
/* Font-enumeration callback */
static
int
@@ -257,6 +261,20 @@ UpdateSettings(HWND hDlg)
}
#endif
VOID
UpdateStatusBar(WCHAR wch)
{
WCHAR buff[MAX_PATH];
WCHAR szDesc[MAX_PATH];
if (GetUName)
{
GetUName(wch, szDesc);
wsprintfW(buff, L"U+%04X: %s", wch, szDesc);
SendMessageW(hStatusWnd, SB_SETTEXT, 0, (LPARAM)buff);
}
}
static
void
ChangeView(HWND hWnd)
@@ -571,6 +589,7 @@ wWinMain(HINSTANCE hInst,
INT Ret = 1;
HMODULE hRichEd20;
MSG Msg;
HINSTANCE hGetUName = NULL;
hInstance = hInst;
@@ -578,6 +597,18 @@ wWinMain(HINSTANCE hInst,
iccx.dwICC = ICC_TAB_CLASSES;
InitCommonControlsEx(&iccx);
/* Loading the GetUName function */
hGetUName = LoadLibraryW(L"getuname.dll");
if (hGetUName != NULL)
{
GetUName = (GETUNAME) GetProcAddress(hGetUName, "GetUName");
if (GetUName == NULL)
{
FreeLibrary(hGetUName);
hGetUName = NULL;
}
}
if (RegisterMapClasses(hInstance))
{
hRichEd20 = LoadLibraryW(L"RICHED20.DLL");
@@ -603,5 +634,8 @@ wWinMain(HINSTANCE hInst,
UnregisterMapClasses(hInstance);
}
if (hGetUName != NULL)
FreeLibrary(hGetUName);
return Ret;
}

View File

@@ -4,18 +4,18 @@ IDD_CHARMAP DIALOGEX 6, 6, 292, 224
FONT 8, "MS Shell Dlg", 0, 0
STYLE DS_SHELLFONT | WS_CHILD | WS_VISIBLE
BEGIN
LTEXT "Font:", IDC_STATIC, 6, 7, 24, 9
LTEXT "&Font:", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE |
WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Help", IDC_CMHELP, 249, 5, 35, 13
PUSHBUTTON "&Help", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP |
WS_VSCROLL, 20, 22, 266, 156
LTEXT "Characters to copy:", IDC_STATIC, 6, 188, 66, 9
LTEXT "Ch&aracters to copy:", IDC_STATIC, 6, 188, 66, 9
CONTROL "", IDC_TEXTBOX, RICHEDIT_CLASS, ES_AUTOHSCROLL | WS_BORDER |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 74, 186, 114, 13
DEFPUSHBUTTON "Select", IDC_SELECT, 194, 186, 44, 13
PUSHBUTTON "Copy", IDC_COPY, 242, 186, 44, 13, WS_DISABLED
CONTROL "Advanced view", IDC_CHECK_ADVANCED, "Button", BS_AUTOCHECKBOX |
DEFPUSHBUTTON "&Select", IDC_SELECT, 194, 186, 44, 13
PUSHBUTTON "&Copy", IDC_COPY, 242, 186, 44, 13, WS_DISABLED
CONTROL "Ad&vanced view", IDC_CHECK_ADVANCED, "Button", BS_AUTOCHECKBOX |
WS_TABSTOP, 8, 208, 95, 10
END
@@ -23,14 +23,14 @@ IDD_ADVANCED DIALOGEX 0, 0, 292, 64
STYLE DS_SHELLFONT | WS_CHILD
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Charset:", IDC_STATIC, 8, 8, 48, 8
LTEXT "Charse&t:", IDC_STATIC, 8, 8, 48, 8
COMBOBOX IDC_COMBO_CHARSET, 72, 4, 116, 80, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Group by:", IDC_STATIC, 8, 28, 50, 8
LTEXT "&Group by:", IDC_STATIC, 8, 28, 50, 8
COMBOBOX IDC_COMBO_GROUPBY, 72, 24, 116, 80, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Search", IDC_BUTTON_SEARCH, 200, 44, 50, 14
PUSHBUTTON "Sea&rch", IDC_BUTTON_SEARCH, 200, 44, 50, 14
EDITTEXT IDC_EDIT_SEARCH, 72, 44, 116, 14, ES_AUTOHSCROLL
LTEXT "Search for:", IDC_STATIC, 8, 48, 42, 8
LTEXT "Unicode:", IDC_STATIC, 200, 8, 30, 8
LTEXT "S&earch for:", IDC_STATIC, 8, 48, 42, 8
LTEXT "&Unicode:", IDC_STATIC, 200, 8, 30, 8
EDITTEXT IDC_EDIT_UNICODE, 236, 4, 28, 12, ES_AUTOHSCROLL
END
@@ -40,7 +40,7 @@ FONT 8, "MS Shell Dlg", 0, 0
STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Character Map v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "Close", IDOK, 75, 162, 44, 15
PUSHBUTTON "&Close", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL |
WS_TABSTOP | ES_READONLY | ES_MULTILINE

View File

@@ -6,18 +6,18 @@ IDD_CHARMAP DIALOGEX 6, 6, 292, 224
FONT 8, "MS Shell Dlg", 0, 0
STYLE DS_SHELLFONT | WS_CHILD | WS_VISIBLE
BEGIN
LTEXT "Шрифт:", IDC_STATIC, 6, 7, 27, 9
LTEXT "&Шрифт:", IDC_STATIC, 6, 7, 27, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE |
WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Справка", IDC_CMHELP, 249, 5, 35, 13
PUSHBUTTON "&Справка", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP |
WS_VSCROLL, 20, 22, 266, 156
LTEXT "Для копирования:", IDC_STATIC, 6, 188, 95, 9
LTEXT "Д&ля копирования:", IDC_STATIC, 6, 188, 95, 9
CONTROL "", IDC_TEXTBOX, RICHEDIT_CLASS, ES_AUTOHSCROLL | WS_BORDER |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 74, 186, 114, 13
DEFPUSHBUTTON "Выбрать", IDC_SELECT, 194, 186, 44, 13
PUSHBUTTON "Копировать", IDC_COPY, 242, 186, 44, 13, WS_DISABLED
CONTROL "Дополнительные параметры", IDC_CHECK_ADVANCED, "Button", BS_AUTOCHECKBOX |
DEFPUSHBUTTON "&Выбрать", IDC_SELECT, 194, 186, 44, 13
PUSHBUTTON "&Копировать", IDC_COPY, 242, 186, 44, 13, WS_DISABLED
CONTROL "&Дополнительные параметры", IDC_CHECK_ADVANCED, "Button", BS_AUTOCHECKBOX |
WS_TABSTOP, 8, 208, 110, 10
END
@@ -25,14 +25,14 @@ IDD_ADVANCED DIALOGEX 0, 0, 292, 64
STYLE DS_SHELLFONT | WS_CHILD
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Набор символов:", IDC_STATIC, 8, 8, 55, 8
LTEXT "&Набор символов:", IDC_STATIC, 8, 8, 55, 8
COMBOBOX IDC_COMBO_CHARSET, 72, 4, 116, 80, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Группировка:", IDC_STATIC, 8, 28, 50, 8
LTEXT "&Группировка:", IDC_STATIC, 8, 28, 50, 8
COMBOBOX IDC_COMBO_GROUPBY, 72, 24, 116, 80, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Найти", IDC_BUTTON_SEARCH, 200, 44, 50, 14
EDITTEXT IDC_EDIT_SEARCH, 72, 44, 116, 14, ES_AUTOHSCROLL
LTEXT "Поиск:", IDC_STATIC, 8, 48, 42, 8
LTEXT "Юникод:", IDC_STATIC, 200, 8, 30, 8
LTEXT "П&оиск:", IDC_STATIC, 8, 48, 42, 8
LTEXT "&Юникод:", IDC_STATIC, 200, 8, 30, 8
EDITTEXT IDC_EDIT_UNICODE, 236, 4, 28, 12, ES_AUTOHSCROLL
END
@@ -42,7 +42,7 @@ FONT 8, "MS Shell Dlg", 0, 0
STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Таблица символов v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "Закрыть", IDOK, 75, 162, 44, 15
PUSHBUTTON "&Закрыть", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL |
WS_TABSTOP | ES_READONLY | ES_MULTILINE

View File

@@ -140,6 +140,7 @@ LrgCellWndProc(HWND hwnd,
EndPaint(hwnd,
&ps);
UpdateStatusBar(infoPtr->pActiveCell->ch);
break;
}

View File

@@ -107,8 +107,9 @@ FillGrid(PMAP infoPtr,
i = XCELLS * infoPtr->iYStart;
added = 0;
x = y = 0;
while ((y <= YCELLS) && (x <= XCELLS))
for (y = 0; y < YCELLS; y++)
for (x = 0; x < XCELLS; x++)
{
ch = (WCHAR)infoPtr->ValidGlyphs[i];
@@ -131,14 +132,6 @@ FillGrid(PMAP infoPtr,
i++;
ch = (WCHAR)i;
// move to the next cell
x++;
if (x > XCELLS - 1)
{
x = 0;
y++;
}
}
SelectObject(ps->hdc,
hOldFont);

View File

@@ -74,6 +74,7 @@ BOOL RegisterMapClasses(HINSTANCE hInstance);
VOID UnregisterMapClasses(HINSTANCE hInstance);
/* charmap.c */
VOID UpdateStatusBar(WCHAR wch);
extern VOID ChangeMapFont(HWND hDlg);
/* settings.c */

View File

@@ -8,7 +8,7 @@ if(NOT MSVC)
endif()
include_directories(
${REACTOS_SOURCE_DIR}/lib/atl
${REACTOS_SOURCE_DIR}/sdk/lib/atl
includes)
list(APPEND SOURCE

View File

@@ -2,9 +2,9 @@
list(APPEND SOURCE
clipbrd.c
cliputils.c
winutils.c
fileutils.c
scrollutils.c
winutils.c
precomp.h)
add_executable(clipbrd ${SOURCE} clipbrd.rc)

View File

@@ -58,7 +58,28 @@ static void SaveClipboardToFile(void)
return;
}
WriteClipboardFile(szFileName);
WriteClipboardFile(szFileName, CLIP_FMT_NT /* CLIP_FMT_31 */);
CloseClipboard();
}
static void LoadClipboardDataFromFile(LPWSTR lpszFileName)
{
if (MessageBoxRes(Globals.hMainWnd, Globals.hInstance,
STRING_DELETE_MSG, STRING_DELETE_TITLE,
MB_ICONWARNING | MB_YESNO) != IDYES)
{
return;
}
if (!OpenClipboard(Globals.hMainWnd))
{
ShowLastWin32Error(Globals.hMainWnd);
return;
}
EmptyClipboard();
ReadClipboardFile(lpszFileName);
CloseClipboard();
}
@@ -87,19 +108,7 @@ static void LoadClipboardFromFile(void)
if (!GetOpenFileNameW(&ofn))
return;
if (!OpenClipboard(Globals.hMainWnd))
{
ShowLastWin32Error(Globals.hMainWnd);
return;
}
if (MessageBoxRes(Globals.hMainWnd, Globals.hInstance, STRING_DELETE_MSG, STRING_DELETE_TITLE, MB_ICONWARNING | MB_YESNO) == IDYES)
{
EmptyClipboard();
ReadClipboardFile(szFileName);
}
CloseClipboard();
LoadClipboardDataFromFile(szFileName);
}
static void LoadClipboardFromDrop(HDROP hDrop)
@@ -109,19 +118,7 @@ static void LoadClipboardFromDrop(HDROP hDrop)
DragQueryFileW(hDrop, 0, szFileName, ARRAYSIZE(szFileName));
DragFinish(hDrop);
if (!OpenClipboard(Globals.hMainWnd))
{
ShowLastWin32Error(Globals.hMainWnd);
return;
}
if (MessageBoxRes(Globals.hMainWnd, Globals.hInstance, STRING_DELETE_MSG, STRING_DELETE_TITLE, MB_ICONWARNING | MB_YESNO) == IDYES)
{
EmptyClipboard();
ReadClipboardFile(szFileName);
}
CloseClipboard();
LoadClipboardDataFromFile(szFileName);
}
static void SetDisplayFormat(UINT uFormat)
@@ -169,7 +166,7 @@ static void InitMenuPopup(HMENU hMenu, LPARAM index)
DrawMenuBar(Globals.hMainWnd);
}
void UpdateDisplayMenu(void)
static void UpdateDisplayMenu(void)
{
UINT uFormat;
WCHAR szFormatName[MAX_FMT_NAME_LEN + 1];
@@ -193,7 +190,7 @@ void UpdateDisplayMenu(void)
uFormat = EnumClipboardFormats(0);
while (uFormat)
{
RetrieveClipboardFormatName(Globals.hInstance, uFormat, szFormatName, ARRAYSIZE(szFormatName));
RetrieveClipboardFormatName(Globals.hInstance, uFormat, TRUE, szFormatName, ARRAYSIZE(szFormatName));
if (!IsClipboardFormatSupported(uFormat))
{
@@ -234,10 +231,14 @@ static int ClipboardCommandHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM l
case CMD_DELETE:
{
if (MessageBoxRes(Globals.hMainWnd, Globals.hInstance, STRING_DELETE_MSG, STRING_DELETE_TITLE, MB_ICONWARNING | MB_YESNO) == IDYES)
if (MessageBoxRes(Globals.hMainWnd, Globals.hInstance,
STRING_DELETE_MSG, STRING_DELETE_TITLE,
MB_ICONWARNING | MB_YESNO) != IDYES)
{
DeleteClipboardContent();
break;
}
DeleteClipboardContent();
break;
}
@@ -255,12 +256,12 @@ static int ClipboardCommandHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM l
case CMD_ABOUT:
{
WCHAR szTitle[MAX_STRING_LEN];
HICON hIcon;
WCHAR szTitle[MAX_STRING_LEN];
hIcon = LoadIconW(Globals.hInstance, MAKEINTRESOURCE(CLIP_ICON));
hIcon = LoadIconW(Globals.hInstance, MAKEINTRESOURCE(CLIPBRD_ICON));
LoadStringW(Globals.hInstance, STRING_CLIPBOARD, szTitle, ARRAYSIZE(szTitle));
ShellAboutW(Globals.hMainWnd, szTitle, 0, hIcon);
ShellAboutW(Globals.hMainWnd, szTitle, NULL, hIcon);
DeleteObject(hIcon);
break;
}
@@ -279,10 +280,8 @@ static void ClipboardPaintHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
PAINTSTRUCT ps;
RECT rc;
if (!OpenClipboard(NULL))
{
if (!OpenClipboard(Globals.hMainWnd))
return;
}
hdc = BeginPaint(hWnd, &ps);
GetClientRect(hWnd, &rc);
@@ -318,18 +317,18 @@ static void ClipboardPaintHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
break;
}
case CF_ENHMETAFILE:
{
PlayEnhMetaFileFromClipboard(hdc, &rc);
break;
}
case CF_METAFILEPICT:
{
PlayMetaFileFromClipboard(hdc, &rc);
break;
}
case CF_ENHMETAFILE:
{
PlayEnhMetaFileFromClipboard(hdc, &rc);
break;
}
default:
{
DrawTextFromResource(Globals.hInstance, ERROR_UNSUPPORTED_FORMAT, hdc, &rc, DT_CENTER | DT_WORDBREAK | DT_NOPREFIX);
@@ -346,6 +345,28 @@ static LRESULT WINAPI MainWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
{
switch(uMsg)
{
case WM_CREATE:
{
Globals.hMenu = GetMenu(hWnd);
Globals.hWndNext = SetClipboardViewer(hWnd);
UpdateDisplayMenu();
SetDisplayFormat(0);
break;
}
case WM_CLOSE:
{
DestroyWindow(hWnd);
break;
}
case WM_DESTROY:
{
ChangeClipboardChain(hWnd, Globals.hWndNext);
PostQuitMessage(0);
break;
}
case WM_PAINT:
{
ClipboardPaintHandler(hWnd, uMsg, wParam, lParam);
@@ -395,28 +416,6 @@ static LRESULT WINAPI MainWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
break;
}
case WM_CREATE:
{
Globals.hMenu = GetMenu(hWnd);
Globals.hWndNext = SetClipboardViewer(hWnd);
UpdateDisplayMenu();
SetDisplayFormat(0);
break;
}
case WM_CLOSE:
{
DestroyWindow(hWnd);
break;
}
case WM_DESTROY:
{
ChangeClipboardChain(hWnd, Globals.hWndNext);
PostQuitMessage(0);
break;
}
case WM_CHANGECBCHAIN:
{
if ((HWND)wParam == Globals.hWndNext)
@@ -534,7 +533,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
wndclass.cbSize = sizeof(wndclass);
wndclass.lpfnWndProc = MainWndProc;
wndclass.hInstance = hInstance;
wndclass.hIcon = LoadIconW(hInstance, MAKEINTRESOURCEW(CLIP_ICON));
wndclass.hIcon = LoadIconW(hInstance, MAKEINTRESOURCEW(CLIPBRD_ICON));
wndclass.hCursor = LoadCursorW(0, IDC_ARROW);
wndclass.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
wndclass.lpszMenuName = MAKEINTRESOURCEW(MAIN_MENU);
@@ -574,6 +573,10 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
ShowLastWin32Error(Globals.hMainWnd);
}
/* If the user provided a path to a clipboard data file, try to open it */
if (lpCmdLine != NULL && *lpCmdLine)
LoadClipboardDataFromFile(lpCmdLine);
UpdateLinesToScroll();
while (GetMessageW(&msg, 0, 0, 0))

View File

@@ -8,7 +8,8 @@
#define REACTOS_STR_ORIGINAL_FILENAME "clipbrd.exe"
#include <reactos/version.rc>
CLIP_ICON ICON "res/clipbrd.ico"
CLIPBRD_ICON ICON "res/clipbrd.ico"
CLPFILE_ICON ICON "res/clpfile.ico"
#include <reactos/manifest_exe.rc>
@@ -30,6 +31,9 @@ CLIP_ICON ICON "res/clipbrd.ico"
#ifdef LANGUAGE_RO_RO
#include "lang/ro-RO.rc"
#endif
#ifdef LANGUAGE_RU_RU
#include "lang/ru-RU.rc"
#endif
#ifdef LANGUAGE_TR_TR
#include "lang/tr-TR.rc"
#endif

View File

@@ -8,73 +8,61 @@
#include "precomp.h"
int GetPredefinedClipboardFormatName(HINSTANCE hInstance, UINT uFormat, LPWSTR lpszFormat, UINT cch)
static int
GetPredefinedClipboardFormatName(HINSTANCE hInstance,
UINT uFormat,
BOOL Unicode,
PVOID lpszFormat,
UINT cch)
{
static
struct FORMAT_NAME
{
UINT uFormat;
UINT uResID;
} uFormatList[] = {
/* Table sorted in increasing order of CF_xxx values, please keep it this way! */
{CF_TEXT , STRING_CF_TEXT }, // 1
{CF_BITMAP , STRING_CF_BITMAP }, // 2
{CF_METAFILEPICT, STRING_CF_METAFILEPICT}, // 3
{CF_SYLK , STRING_CF_SYLK }, // 4
{CF_DIF , STRING_CF_DIF }, // 5
{CF_TIFF , 0/*STRING_CF_TIFF*/ }, // 6
{CF_OEMTEXT , STRING_CF_OEMTEXT }, // 7
{CF_DIB , STRING_CF_DIB }, // 8
{CF_PALETTE , STRING_CF_PALETTE }, // 9
{CF_PENDATA , 0/*STRING_CF_PENDATA*/ }, // 10
{CF_RIFF , 0/*STRING_CF_RIFF*/ }, // 11
{CF_WAVE , 0/*STRING_CF_WAVE*/ }, // 12
{CF_UNICODETEXT , STRING_CF_UNICODETEXT }, // 13
{CF_ENHMETAFILE , STRING_CF_ENHMETAFILE }, // 14
#if(WINVER >= 0x0400)
{CF_HDROP , STRING_CF_HDROP }, // 15
{CF_LOCALE , STRING_CF_LOCALE }, // 16
#endif
#if(WINVER >= 0x0500)
{CF_DIBV5 , STRING_CF_DIBV5 }, // 17
#endif
};
switch (uFormat)
{
case CF_TEXT:
{
return LoadStringW(hInstance, STRING_CF_TEXT, lpszFormat, cch);
}
case CF_BITMAP:
{
return LoadStringW(hInstance, STRING_CF_BITMAP, lpszFormat, cch);
}
case CF_OEMTEXT:
{
return LoadStringW(hInstance, STRING_CF_OEMTEXT, lpszFormat, cch);
}
case CF_UNICODETEXT:
{
return LoadStringW(hInstance, STRING_CF_UNICODETEXT, lpszFormat, cch);
}
case CF_DIB:
{
return LoadStringW(hInstance, STRING_CF_DIB, lpszFormat, cch);
}
case CF_LOCALE:
{
return LoadStringW(hInstance, STRING_CF_LOCALE, lpszFormat, cch);
}
case CF_ENHMETAFILE:
{
return LoadStringW(hInstance, STRING_CF_ENHMETAFILE, lpszFormat, cch);
}
case CF_METAFILEPICT:
{
return LoadStringW(hInstance, STRING_CF_METAFILEPICT, lpszFormat, cch);
}
case CF_PALETTE:
{
return LoadStringW(hInstance, STRING_CF_PALETTE, lpszFormat, cch);
}
case CF_TEXT: case CF_BITMAP: case CF_METAFILEPICT:
case CF_SYLK: case CF_DIF: // case CF_TIFF:
case CF_OEMTEXT: case CF_DIB: case CF_PALETTE:
// case CF_PENDATA: // case CF_RIFF: // case CF_WAVE:
case CF_UNICODETEXT: case CF_ENHMETAFILE:
#if(WINVER >= 0x0400)
case CF_HDROP: case CF_LOCALE:
#endif
#if(WINVER >= 0x0500)
case CF_DIBV5:
#endif
{
return LoadStringW(hInstance, STRING_CF_DIBV5, lpszFormat, cch);
}
case CF_SYLK:
{
return LoadStringW(hInstance, STRING_CF_SYLK, lpszFormat, cch);
}
case CF_DIF:
{
return LoadStringW(hInstance, STRING_CF_DIF, lpszFormat, cch);
}
case CF_HDROP:
{
return LoadStringW(hInstance, STRING_CF_HDROP, lpszFormat, cch);
if (Unicode)
return LoadStringW(hInstance, uFormatList[uFormat-1].uResID, (LPWSTR)lpszFormat, cch);
else
return LoadStringA(hInstance, uFormatList[uFormat-1].uResID, (LPSTR)lpszFormat, cch);
}
default:
@@ -84,13 +72,24 @@ int GetPredefinedClipboardFormatName(HINSTANCE hInstance, UINT uFormat, LPWSTR l
}
}
void RetrieveClipboardFormatName(HINSTANCE hInstance, UINT uFormat, LPWSTR lpszFormat, UINT cch)
void
RetrieveClipboardFormatName(HINSTANCE hInstance,
UINT uFormat,
BOOL Unicode,
PVOID lpszFormat,
UINT cch)
{
if (!GetPredefinedClipboardFormatName(hInstance, uFormat, lpszFormat, cch))
if (!GetPredefinedClipboardFormatName(hInstance, uFormat, Unicode, lpszFormat, cch))
{
if (!GetClipboardFormatName(uFormat, lpszFormat, cch))
if (Unicode)
{
LoadStringW(hInstance, STRING_CF_UNKNOWN, lpszFormat, cch);
if (!GetClipboardFormatNameW(uFormat, (LPWSTR)lpszFormat, cch))
LoadStringW(hInstance, STRING_CF_UNKNOWN, (LPWSTR)lpszFormat, cch);
}
else
{
if (!GetClipboardFormatNameA(uFormat, (LPSTR)lpszFormat, cch))
LoadStringA(hInstance, STRING_CF_UNKNOWN, (LPSTR)lpszFormat, cch);
}
}
}

View File

@@ -6,8 +6,13 @@
* PROGRAMMERS: Ricardo Hanke
*/
int GetPredefinedClipboardFormatName(HINSTANCE hInstance, UINT uFormat, LPWSTR lpszFormat, UINT cch);
void RetrieveClipboardFormatName(HINSTANCE hInstance, UINT uFormat, LPWSTR lpszFormat, UINT cch);
void
RetrieveClipboardFormatName(HINSTANCE hInstance,
UINT uFormat,
BOOL Unicode,
PVOID lpszFormat,
UINT cch);
void DeleteClipboardContent(void);
UINT GetAutomaticClipboardFormat(void);
BOOL IsClipboardFormatSupported(UINT uFormat);

View File

@@ -4,6 +4,7 @@
* FILE: base/applications/clipbrd/fileutils.c
* PURPOSE: Clipboard file format helper functions.
* PROGRAMMERS: Ricardo Hanke
* Hermes Belusca-Maito
*/
#include "precomp.h"
@@ -16,9 +17,7 @@ static HGLOBAL ClipboardReadMemoryBlock(HANDLE hFile, DWORD dwOffset, DWORD dwLe
hData = GlobalAlloc(GHND, dwLength);
if (!hData)
{
return NULL;
}
lpData = GlobalLock(hData);
if (!lpData)
@@ -46,20 +45,22 @@ static HGLOBAL ClipboardReadMemoryBlock(HANDLE hFile, DWORD dwOffset, DWORD dwLe
return hData;
}
static BOOL ClipboardReadMemory(HANDLE hFile, DWORD dwFormat, DWORD dwOffset, DWORD dwLength, LPCWSTR lpFormatName)
static BOOL ClipboardReadMemory(HANDLE hFile, DWORD dwFormat, DWORD dwOffset, DWORD dwLength, WORD FileIdentifier, PVOID lpFormatName)
{
HGLOBAL hData;
DWORD dwTemp;
DWORD dwTemp = 0;
hData = ClipboardReadMemoryBlock(hFile, dwOffset, dwLength);
if (!hData)
{
return FALSE;
}
if ((dwFormat >= 0xC000) && (dwFormat <= 0xFFFF))
{
dwTemp = RegisterClipboardFormatW(lpFormatName);
if (FileIdentifier == CLIP_FMT_31)
dwTemp = RegisterClipboardFormatA((LPCSTR)lpFormatName);
else if ((FileIdentifier == CLIP_FMT_NT) || (FileIdentifier == CLIP_FMT_BK))
dwTemp = RegisterClipboardFormatW((LPCWSTR)lpFormatName);
if (!dwTemp)
{
GlobalFree(hData);
@@ -80,6 +81,39 @@ static BOOL ClipboardReadMemory(HANDLE hFile, DWORD dwFormat, DWORD dwOffset, DW
return TRUE;
}
static BOOL ClipboardWriteMemory(HANDLE hFile, DWORD dwFormat, DWORD dwOffset, PDWORD pdwLength)
{
HGLOBAL hData;
LPVOID lpData;
DWORD dwBytesWritten;
hData = GetClipboardData(dwFormat);
if (!hData)
return FALSE;
lpData = GlobalLock(hData);
if (!lpData)
return FALSE;
*pdwLength = GlobalSize(hData);
if (SetFilePointer(hFile, dwOffset, NULL, FILE_BEGIN) == INVALID_SET_FILE_POINTER)
{
GlobalUnlock(hData);
return FALSE;
}
if (!WriteFile(hFile, lpData, *pdwLength, &dwBytesWritten, NULL))
{
GlobalUnlock(hData);
return FALSE;
}
GlobalUnlock(hData);
return TRUE;
}
static BOOL ClipboardReadPalette(HANDLE hFile, DWORD dwOffset, DWORD dwLength)
{
LPLOGPALETTE lpPalette;
@@ -120,6 +154,45 @@ static BOOL ClipboardReadPalette(HANDLE hFile, DWORD dwOffset, DWORD dwLength)
return TRUE;
}
static BOOL ClipboardReadMetafile(HANDLE hFile, DWORD dwOffset, DWORD dwLength)
{
HMETAFILE hMf;
HGLOBAL hData;
LPVOID lpData;
hData = ClipboardReadMemoryBlock(hFile, dwOffset, dwLength);
if (!hData)
{
return FALSE;
}
lpData = GlobalLock(hData);
if (!lpData)
{
GlobalFree(hData);
return FALSE;
}
hMf = SetMetaFileBitsEx(dwLength, lpData);
GlobalUnlock(hData);
GlobalFree(hData);
if (!hMf)
{
SetLastError(ERROR_OUTOFMEMORY);
return FALSE;
}
if (!SetClipboardData(CF_METAFILEPICT, hMf))
{
DeleteMetaFile(hMf);
return FALSE;
}
return TRUE;
}
static BOOL ClipboardReadEnhMetafile(HANDLE hFile, DWORD dwOffset, DWORD dwLength)
{
HENHMETAFILE hEmf;
@@ -202,53 +275,126 @@ static BOOL ClipboardReadBitmap(HANDLE hFile, DWORD dwOffset, DWORD dwLength)
void ReadClipboardFile(LPCWSTR lpFileName)
{
CLIPBOARDFILEHEADER cfhFileHeader;
CLIPBOARDFORMATHEADER *cfhFormatArray = NULL;
CLIPFILEHEADER ClipFileHeader;
CLIPFORMATHEADER ClipFormatArray;
NTCLIPFILEHEADER NtClipFileHeader;
NTCLIPFORMATHEADER NtClipFormatArray;
PVOID pClipFileHeader;
PVOID pClipFormatArray;
DWORD SizeOfFileHeader, SizeOfFormatHeader;
WORD wFileIdentifier;
WORD wFormatCount;
DWORD dwFormatID;
DWORD dwLenData;
DWORD dwOffData;
PVOID szName;
HANDLE hFile;
DWORD dwBytesRead;
BOOL bResult;
int i;
hFile = CreateFileW(lpFileName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
/* Open the file for read access */
hFile = CreateFileW(lpFileName, GENERIC_READ, FILE_SHARE_READ, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
if (hFile == INVALID_HANDLE_VALUE)
{
ShowLastWin32Error(Globals.hMainWnd);
goto done;
}
if (!ReadFile(hFile, &cfhFileHeader, sizeof(cfhFileHeader), &dwBytesRead, NULL))
/* Just read enough bytes to get the clipboard file format ID */
if (!ReadFile(hFile, &wFileIdentifier, sizeof(wFileIdentifier), &dwBytesRead, NULL))
{
ShowLastWin32Error(Globals.hMainWnd);
goto done;
}
if ((cfhFileHeader.wFileIdentifier != CLIPBOARD_FORMAT_NT) && (cfhFileHeader.wFileIdentifier != CLIPBOARD_FORMAT_BK))
/* Set data according to the clipboard file format ID */
switch (wFileIdentifier)
{
MessageBoxRes(Globals.hMainWnd, Globals.hInstance, ERROR_INVALID_FILE_FORMAT, 0, MB_ICONSTOP | MB_OK);
goto done;
case CLIP_FMT_31:
SizeOfFileHeader = sizeof(CLIPFILEHEADER);
SizeOfFormatHeader = sizeof(CLIPFORMATHEADER);
pClipFileHeader = &ClipFileHeader;
pClipFormatArray = &ClipFormatArray;
break;
case CLIP_FMT_NT:
case CLIP_FMT_BK:
SizeOfFileHeader = sizeof(NTCLIPFILEHEADER);
SizeOfFormatHeader = sizeof(NTCLIPFORMATHEADER);
pClipFileHeader = &NtClipFileHeader;
pClipFormatArray = &NtClipFormatArray;
break;
default:
MessageBoxRes(Globals.hMainWnd, Globals.hInstance, ERROR_INVALID_FILE_FORMAT, 0, MB_ICONSTOP | MB_OK);
goto done;
}
cfhFormatArray = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, cfhFileHeader.wFormatCount * sizeof(CLIPBOARDFORMATHEADER));
if (!cfhFormatArray)
{
SetLastError(ERROR_OUTOFMEMORY);
ShowLastWin32Error(Globals.hMainWnd);
goto done;
}
if (!ReadFile(hFile, cfhFormatArray, cfhFileHeader.wFormatCount * sizeof(CLIPBOARDFORMATHEADER), &dwBytesRead, NULL))
/* Completely read the header */
SetFilePointer(hFile, 0, NULL, FILE_BEGIN);
if (!ReadFile(hFile, pClipFileHeader, SizeOfFileHeader, &dwBytesRead, NULL) ||
dwBytesRead != SizeOfFileHeader)
{
ShowLastWin32Error(Globals.hMainWnd);
goto done;
}
for (i = 0; i < cfhFileHeader.wFormatCount; i++)
/* Get header data */
switch (wFileIdentifier)
{
switch (cfhFormatArray[i].dwFormatID)
case CLIP_FMT_31:
assert(wFileIdentifier == ((CLIPFILEHEADER*)pClipFileHeader)->wFileIdentifier);
wFormatCount = ((CLIPFILEHEADER*)pClipFileHeader)->wFormatCount;
break;
case CLIP_FMT_NT:
case CLIP_FMT_BK:
assert(wFileIdentifier == ((NTCLIPFILEHEADER*)pClipFileHeader)->wFileIdentifier);
wFormatCount = ((NTCLIPFILEHEADER*)pClipFileHeader)->wFormatCount;
break;
}
/* Loop through the format data array */
for (i = 0; i < wFormatCount; i++)
{
if (SetFilePointer(hFile, SizeOfFileHeader + i * SizeOfFormatHeader, NULL, FILE_BEGIN) == INVALID_SET_FILE_POINTER)
{
ShowLastWin32Error(Globals.hMainWnd);
goto done;
}
if (!ReadFile(hFile, pClipFormatArray, SizeOfFormatHeader, &dwBytesRead, NULL))
{
ShowLastWin32Error(Globals.hMainWnd);
goto done;
}
/* Get format data */
switch (wFileIdentifier)
{
case CLIP_FMT_31:
dwFormatID = ((CLIPFORMATHEADER*)pClipFormatArray)->dwFormatID;
dwLenData = ((CLIPFORMATHEADER*)pClipFormatArray)->dwLenData;
dwOffData = ((CLIPFORMATHEADER*)pClipFormatArray)->dwOffData;
szName = ((CLIPFORMATHEADER*)pClipFormatArray)->szName;
break;
case CLIP_FMT_NT:
case CLIP_FMT_BK:
dwFormatID = ((NTCLIPFORMATHEADER*)pClipFormatArray)->dwFormatID;
dwLenData = ((NTCLIPFORMATHEADER*)pClipFormatArray)->dwLenData;
dwOffData = ((NTCLIPFORMATHEADER*)pClipFormatArray)->dwOffData;
szName = ((NTCLIPFORMATHEADER*)pClipFormatArray)->szName;
break;
}
switch (dwFormatID)
{
case CF_OWNERDISPLAY:
case CF_DSPMETAFILEPICT:
case CF_METAFILEPICT:
{
break;
}
@@ -256,55 +402,191 @@ void ReadClipboardFile(LPCWSTR lpFileName)
case CF_BITMAP:
case CF_DSPBITMAP:
{
bResult = ClipboardReadBitmap(hFile, cfhFormatArray[i].dwOffData, cfhFormatArray[i].dwLenData);
bResult = ClipboardReadBitmap(hFile, dwOffData, dwLenData);
break;
}
case CF_DSPENHMETAFILE:
case CF_ENHMETAFILE:
case CF_METAFILEPICT:
case CF_DSPMETAFILEPICT:
{
bResult = ClipboardReadEnhMetafile(hFile, cfhFormatArray[i].dwOffData, cfhFormatArray[i].dwLenData);
bResult = ClipboardReadMetafile(hFile, dwOffData, dwLenData);
break;
}
case CF_ENHMETAFILE:
case CF_DSPENHMETAFILE:
{
bResult = ClipboardReadEnhMetafile(hFile, dwOffData, dwLenData);
break;
}
case CF_PALETTE:
{
bResult = ClipboardReadPalette(hFile, cfhFormatArray[i].dwOffData, cfhFormatArray[i].dwLenData);
bResult = ClipboardReadPalette(hFile, dwOffData, dwLenData);
break;
}
default:
{
if ((cfhFormatArray[i].dwFormatID < CF_PRIVATEFIRST) || (cfhFormatArray[i].dwFormatID > CF_PRIVATELAST))
if ((dwFormatID < CF_PRIVATEFIRST) || (dwFormatID > CF_PRIVATELAST))
{
bResult = ClipboardReadMemory(hFile, cfhFormatArray[i].dwFormatID, cfhFormatArray[i].dwOffData, cfhFormatArray[i].dwLenData, cfhFormatArray[i].szName);
bResult = ClipboardReadMemory(hFile, dwFormatID, dwOffData, dwLenData, wFileIdentifier, szName);
}
break;
}
}
if (!bResult)
{
ShowLastWin32Error(Globals.hMainWnd);
}
}
done:
if (hFile != INVALID_HANDLE_VALUE)
{
CloseHandle(hFile);
}
if (cfhFormatArray)
{
HeapFree(GetProcessHeap(), 0, cfhFormatArray);
}
return;
}
void WriteClipboardFile(LPCWSTR lpFileName)
void WriteClipboardFile(LPCWSTR lpFileName, WORD wFileIdentifier)
{
MessageBoxW(Globals.hMainWnd, L"This function is currently not implemented.", L"Clipboard", MB_OK | MB_ICONINFORMATION);
CLIPFILEHEADER ClipFileHeader;
CLIPFORMATHEADER ClipFormatArray;
NTCLIPFILEHEADER NtClipFileHeader;
NTCLIPFORMATHEADER NtClipFormatArray;
PVOID pClipFileHeader;
PVOID pClipFormatArray;
DWORD SizeOfFileHeader, SizeOfFormatHeader;
WORD wFormatCount;
DWORD dwFormatID;
DWORD dwLenData;
DWORD dwOffData;
// PVOID szName;
HANDLE hFile;
DWORD dwBytesWritten;
int i;
/* Create the file for write access */
hFile = CreateFileW(lpFileName, GENERIC_WRITE, 0, NULL,
CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
if (hFile == INVALID_HANDLE_VALUE)
{
ShowLastWin32Error(Globals.hMainWnd);
goto done;
}
wFormatCount = CountClipboardFormats();
/* Select the file format and setup the header according to the clipboard file format ID */
switch (wFileIdentifier)
{
case CLIP_FMT_31:
SizeOfFileHeader = sizeof(CLIPFILEHEADER);
SizeOfFormatHeader = sizeof(CLIPFORMATHEADER);
pClipFileHeader = &ClipFileHeader;
pClipFormatArray = &ClipFormatArray;
ClipFileHeader.wFileIdentifier = CLIP_FMT_31; // wFileIdentifier
ClipFileHeader.wFormatCount = wFormatCount;
break;
case CLIP_FMT_NT:
case CLIP_FMT_BK:
SizeOfFileHeader = sizeof(NTCLIPFILEHEADER);
SizeOfFormatHeader = sizeof(NTCLIPFORMATHEADER);
pClipFileHeader = &NtClipFileHeader;
pClipFormatArray = &NtClipFormatArray;
NtClipFileHeader.wFileIdentifier = CLIP_FMT_NT; // wFileIdentifier
NtClipFileHeader.wFormatCount = wFormatCount;
break;
default:
MessageBoxRes(Globals.hMainWnd, Globals.hInstance, ERROR_INVALID_FILE_FORMAT, 0, MB_ICONSTOP | MB_OK);
goto done;
}
/* Write the header */
SetFilePointer(hFile, 0, NULL, FILE_BEGIN);
if (!WriteFile(hFile, pClipFileHeader, SizeOfFileHeader, &dwBytesWritten, NULL) ||
dwBytesWritten != SizeOfFileHeader)
{
ShowLastWin32Error(Globals.hMainWnd);
goto done;
}
/* Compute where the data should start (after the file header and the format array) */
dwOffData = SizeOfFileHeader + wFormatCount * SizeOfFormatHeader;
/* Loop through each format and save the data */
i = 0;
dwFormatID = EnumClipboardFormats(0);
while (dwFormatID)
{
if (i >= wFormatCount)
{
/* Must never happen! */
assert(FALSE);
break;
}
/* Write the clipboard data at the specified offset, and retrieve its length */
if (!ClipboardWriteMemory(hFile, dwFormatID, dwOffData, &dwLenData))
goto Cont;
/* Write the format data header */
switch (wFileIdentifier)
{
case CLIP_FMT_31:
ZeroMemory(pClipFormatArray, sizeof(CLIPFORMATHEADER));
((CLIPFORMATHEADER*)pClipFormatArray)->dwFormatID = dwFormatID;
((CLIPFORMATHEADER*)pClipFormatArray)->dwLenData = dwLenData;
((CLIPFORMATHEADER*)pClipFormatArray)->dwOffData = dwOffData;
RetrieveClipboardFormatName(Globals.hInstance,
dwFormatID,
FALSE,
((CLIPFORMATHEADER*)pClipFormatArray)->szName,
ARRAYSIZE(((CLIPFORMATHEADER*)pClipFormatArray)->szName));
break;
case CLIP_FMT_NT:
case CLIP_FMT_BK:
ZeroMemory(pClipFormatArray, sizeof(NTCLIPFORMATHEADER));
((NTCLIPFORMATHEADER*)pClipFormatArray)->dwFormatID = dwFormatID;
((NTCLIPFORMATHEADER*)pClipFormatArray)->dwLenData = dwLenData;
((NTCLIPFORMATHEADER*)pClipFormatArray)->dwOffData = dwOffData;
RetrieveClipboardFormatName(Globals.hInstance,
dwFormatID,
TRUE,
((NTCLIPFORMATHEADER*)pClipFormatArray)->szName,
ARRAYSIZE(((NTCLIPFORMATHEADER*)pClipFormatArray)->szName));
break;
}
if (SetFilePointer(hFile, SizeOfFileHeader + i * SizeOfFormatHeader, NULL, FILE_BEGIN) == INVALID_SET_FILE_POINTER)
{
ShowLastWin32Error(Globals.hMainWnd);
goto done;
}
if (!WriteFile(hFile, pClipFormatArray, SizeOfFormatHeader, &dwBytesWritten, NULL))
{
ShowLastWin32Error(Globals.hMainWnd);
goto done;
}
/* Adjust the offset for the next data stream */
dwOffData += dwLenData;
Cont:
i++;
dwFormatID = EnumClipboardFormats(dwFormatID);
}
done:
if (hFile != INVALID_HANDLE_VALUE)
CloseHandle(hFile);
return;
}

View File

@@ -4,26 +4,49 @@
* FILE: base/applications/clipbrd/fileutils.h
* PURPOSE: Clipboard file format helper functions.
* PROGRAMMERS: Ricardo Hanke
* Hermes Belusca-Maito
*/
#define CLIPBOARD_FORMAT_31 0xC350
#define CLIPBOARD_FORMAT_NT 0xC351
#define CLIPBOARD_FORMAT_BK 0xC352
#define CLIP_FMT_31 0xC350
#define CLIP_FMT_NT 0xC351
#define CLIP_FMT_BK 0xC352
#define MAX_FMT_NAME_LEN 79
typedef struct _CLIPBOARDFILEHEADER
/*
* Win3.1 Clipboard File Format (default)
*/
#pragma pack(push, 1)
typedef struct _CLIPFILEHEADER
{
WORD wFileIdentifier;
WORD wFormatCount;
} CLIPBOARDFILEHEADER;
} CLIPFILEHEADER;
typedef struct _CLIPBOARDFORMATHEADER
typedef struct _CLIPFORMATHEADER
{
WORD dwFormatID;
DWORD dwLenData;
DWORD dwOffData;
CHAR szName[MAX_FMT_NAME_LEN];
} CLIPFORMATHEADER;
#pragma pack(pop)
/*
* NT Clipboard File Format
*/
typedef struct _NTCLIPFILEHEADER
{
WORD wFileIdentifier;
WORD wFormatCount;
} NTCLIPFILEHEADER;
typedef struct _NTCLIPFORMATHEADER
{
DWORD dwFormatID;
DWORD dwLenData;
DWORD dwOffData;
WCHAR szName[MAX_FMT_NAME_LEN];
} CLIPBOARDFORMATHEADER;
} NTCLIPFORMATHEADER;
void ReadClipboardFile(LPCWSTR lpFileName);
void WriteClipboardFile(LPCWSTR lpFileName);
void WriteClipboardFile(LPCWSTR lpFileName, WORD wFileIdentifier);

View File

@@ -32,7 +32,8 @@ END
STRINGTABLE
BEGIN
STRING_CLIPBOARD "Zwischenablage"
STRING_CLIPBOARD "Clipboard Viewer"
STRING_CLIPFILE "Clipboard Element"
STRING_DELETE_MSG "Soll der Inhalt der Zwischenablage gelöscht werden?"
STRING_DELETE_TITLE "Zwischenablage löschen"
STRING_FORMAT_NT "Zwischenablagedateien für ReactOS (*.clp)"

View File

@@ -10,7 +10,7 @@ BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Open...", CMD_OPEN
MENUITEM "Save &as...", CMD_SAVE_AS
MENUITEM "Save &As...", CMD_SAVE_AS
MENUITEM SEPARATOR
MENUITEM "E&xit", CMD_EXIT
END
@@ -32,7 +32,8 @@ END
STRINGTABLE
BEGIN
STRING_CLIPBOARD "Clipboard"
STRING_CLIPBOARD "Clipboard Viewer"
STRING_CLIPFILE "Clipboard Element"
STRING_DELETE_MSG "Clear contents of the Clipboard?"
STRING_DELETE_TITLE "Clear Clipboard"
STRING_FORMAT_NT "Clipboard files for ReactOS (*.clp)"

View File

@@ -34,7 +34,8 @@ END
STRINGTABLE
BEGIN
STRING_CLIPBOARD "Portapapeles"
STRING_CLIPBOARD "Clipboard Viewer"
STRING_CLIPFILE "Clipboard Element"
STRING_DELETE_MSG "¿Borrar contenidos del Portapapeles?"
STRING_DELETE_TITLE "Vaciar Portapapeles"
STRING_FORMAT_NT "Archivos de Portapapeles de ReactOS (*.clp)"

View File

@@ -18,7 +18,7 @@ BEGIN
BEGIN
MENUITEM "&Supprimer\tSuppr", CMD_DELETE
END
POPUP "&Affichage"
POPUP "Affic&hage"
BEGIN
MENUITEM "&Automatique", CMD_AUTOMATIC
END
@@ -32,7 +32,8 @@ END
STRINGTABLE
BEGIN
STRING_CLIPBOARD "Presse-papiers"
STRING_CLIPBOARD "Visionneuse du Presse-papiers"
STRING_CLIPFILE "Élément du Presse-papiers"
STRING_DELETE_MSG "Voulez-vous effacer le contenu du Presse-papiers ?"
STRING_DELETE_TITLE "Effacer le Presse-papiers"
STRING_FORMAT_NT "Fichiers du Presse-papiers ReactOS (*.clp)"

View File

@@ -33,7 +33,8 @@ END
STRINGTABLE
BEGIN
STRING_CLIPBOARD "Clipboard"
STRING_CLIPBOARD "Inspector de Clipboard"
STRING_CLIPFILE "Element de Clipboard"
STRING_DELETE_MSG "Elimină conținutul din Clipboard?"
STRING_DELETE_TITLE "Curăță Clipboard"
STRING_FORMAT_NT "Fișiere clipboard pentru ReactOS (*.clp)"

View File

@@ -0,0 +1,65 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
VK_DELETE, CMD_DELETE, VIRTKEY
END
MAIN_MENU MENU
BEGIN
POPUP "&Файл"
BEGIN
MENUITEM "&Открыть...", CMD_OPEN
MENUITEM "Сохранить &как...", CMD_SAVE_AS
MENUITEM SEPARATOR
MENUITEM "В&ыход", CMD_EXIT
END
POPUP "&Правка"
BEGIN
MENUITEM "&Удалить\tDel", CMD_DELETE
END
POPUP "&Вид"
BEGIN
MENUITEM "&Автоматически", CMD_AUTOMATIC
END
POPUP "&Справка"
BEGIN
MENUITEM "&Вызов справки", CMD_HELP
MENUITEM SEPARATOR
MENUITEM "&О программе", CMD_ABOUT
END
END
STRINGTABLE
BEGIN
STRING_CLIPBOARD "Просмотр буфера обмена"
STRING_CLIPFILE "Элемент буфера обмена"
STRING_DELETE_MSG "Очистить содержимое буфера обмена?"
STRING_DELETE_TITLE "Очистить буфер обмена"
STRING_FORMAT_NT "Файлы буфера обмена ReactOS (*.clp)"
STRING_FORMAT_GEN "Файлы буфера обмена (*.clp)"
END
STRINGTABLE
BEGIN
STRING_CF_UNKNOWN "Неизвестный формат"
STRING_CF_TEXT "Текст"
STRING_CF_BITMAP "Точечный рисунок"
STRING_CF_OEMTEXT "Текст в кодировке OEM"
STRING_CF_UNICODETEXT "Текст в кодировке Юникод"
STRING_CF_DIB "Аппаратно-независимый точечный рисунок (DIB)"
STRING_CF_LOCALE "Языковые данные"
STRING_CF_ENHMETAFILE "Расширенный метафайл"
STRING_CF_METAFILEPICT "Метафайл"
STRING_CF_PALETTE "Цветовая палитра"
STRING_CF_DIBV5 "Аппаратно-независимый точечный рисунок (DIB) (Версия 5)"
STRING_CF_SYLK "Формат символических ссылок"
STRING_CF_DIF "Формат обмена данными"
STRING_CF_HDROP "Очистить данные"
END
STRINGTABLE
BEGIN
ERROR_UNSUPPORTED_FORMAT "Буфер обмена содержит данные, которые невозможно отобразить."
ERROR_INVALID_FILE_FORMAT "Выбранный файл не является файлом буфера обмена."
END

View File

@@ -1,4 +1,4 @@
/* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
/* TRANSLATOR: 2015, 2016 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
@@ -34,7 +34,8 @@ END
STRINGTABLE
BEGIN
STRING_CLIPBOARD "Pano"
STRING_CLIPBOARD "Pano Görüntüleyicisi"
STRING_CLIPFILE "Pano Ögesi"
STRING_DELETE_MSG "Pano içeriğini sil?"
STRING_DELETE_TITLE "Pano Sil"
STRING_FORMAT_NT "ReactOS İçin Pano Kütükleri (*.clp)"

View File

@@ -34,7 +34,8 @@ END
STRINGTABLE
BEGIN
STRING_CLIPBOARD "剪贴板"
STRING_CLIPBOARD "剪贴板查看程序"
STRING_CLIPFILE "剪贴板上的元素"
STRING_DELETE_MSG "清除剪贴板的内容吗?"
STRING_DELETE_TITLE "清除剪贴板"
STRING_FORMAT_NT "ReactOS 的剪贴板文件 (*.clp)"

View File

@@ -34,7 +34,8 @@ END
STRINGTABLE
BEGIN
STRING_CLIPBOARD "剪貼簿"
STRING_CLIPBOARD "剪貼簿查看程式"
STRING_CLIPFILE "剪貼簿上的元素"
STRING_DELETE_MSG "清除剪貼簿的內容嗎?"
STRING_DELETE_TITLE "清除剪貼簿"
STRING_FORMAT_NT "ReactOS 的剪貼簿檔案 (*.clp)"

View File

@@ -5,6 +5,8 @@
#include <limits.h>
#include <assert.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -1,38 +1,40 @@
#pragma once
#define MAIN_MENU 100
#define CLIP_ICON 101
#define ID_ACCEL 102
#define CLIPBRD_ICON 100
#define CLPFILE_ICON 101
#define MAIN_MENU 102
#define ID_ACCEL 103
#define CMD_OPEN 100
#define CMD_SAVE_AS 101
#define CMD_EXIT 102
#define CMD_DELETE 103
#define CMD_HELP 105
#define CMD_ABOUT 106
#define CMD_OPEN 110
#define CMD_SAVE_AS 111
#define CMD_EXIT 112
#define CMD_DELETE 113
#define CMD_HELP 115
#define CMD_ABOUT 116
#define CMD_AUTOMATIC 1000
#define STRING_CLIPBOARD 100
#define STRING_DELETE_MSG 101
#define STRING_DELETE_TITLE 102
#define STRING_FORMAT_NT 103
#define STRING_FORMAT_GEN 104
#define STRING_CLIPBOARD 120
#define STRING_CLIPFILE 121
#define STRING_DELETE_MSG 123
#define STRING_DELETE_TITLE 124
#define STRING_FORMAT_NT 125
#define STRING_FORMAT_GEN 126
#define STRING_CF_UNKNOWN 200
#define STRING_CF_TEXT 201
#define STRING_CF_BITMAP 202
#define STRING_CF_OEMTEXT 203
#define STRING_CF_UNICODETEXT 204
#define STRING_CF_DIB 205
#define STRING_CF_LOCALE 206
#define STRING_CF_ENHMETAFILE 207
#define STRING_CF_METAFILEPICT 208
#define STRING_CF_METAFILEPICT 203
#define STRING_CF_SYLK 204
#define STRING_CF_DIF 205
#define STRING_CF_OEMTEXT 207
#define STRING_CF_DIB 208
#define STRING_CF_PALETTE 209
#define STRING_CF_DIBV5 210
#define STRING_CF_SYLK 211
#define STRING_CF_DIF 212
#define STRING_CF_HDROP 213
#define STRING_CF_UNICODETEXT 213
#define STRING_CF_ENHMETAFILE 214
#define STRING_CF_HDROP 215
#define STRING_CF_LOCALE 216
#define STRING_CF_DIBV5 217
#define ERROR_UNSUPPORTED_FORMAT 300
#define ERROR_INVALID_FILE_FORMAT 301

View File

@@ -72,7 +72,7 @@ void HandleKeyboardScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
void HandleMouseScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LPSCROLLSTATE state)
{
SCROLLINFO si;
SCROLLINFO si;
int Delta;
int NewPos;
@@ -119,7 +119,7 @@ void HandleMouseScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
void HandleHorizontalScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LPSCROLLSTATE state)
{
SCROLLINFO si;
SCROLLINFO si;
int Delta;
int NewPos;
@@ -166,7 +166,7 @@ void HandleHorizontalScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
NewPos = state->CurrentX;
break;
}
}
}
NewPos = min(state->MaxX, max(0, NewPos));
@@ -189,7 +189,7 @@ void HandleHorizontalScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
void HandleVerticalScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LPSCROLLSTATE state)
{
SCROLLINFO si;
SCROLLINFO si;
int Delta;
int NewPos;

View File

@@ -14,9 +14,21 @@ void ShowLastWin32Error(HWND hwndParent)
LPWSTR lpMsgBuf = NULL;
dwError = GetLastError();
if (dwError == ERROR_SUCCESS)
return;
if (!FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
dwError,
LANG_USER_DEFAULT,
(LPWSTR)&lpMsgBuf,
0, NULL))
{
return;
}
FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
NULL, dwError, 0, (LPWSTR)&lpMsgBuf, 0, NULL);
MessageBoxW(hwndParent, lpMsgBuf, NULL, MB_OK | MB_ICONERROR);
LocalFree(lpMsgBuf);
}
@@ -243,7 +255,7 @@ UINT RealizeClipboardPalette(HWND hWnd)
UINT uResult;
HDC hDevContext;
if (!OpenClipboard(NULL))
if (!OpenClipboard(Globals.hMainWnd))
{
return GDI_ERROR;
}

View File

@@ -3,6 +3,7 @@ add_subdirectory(comp)
add_subdirectory(cscript)
add_subdirectory(dbgprint)
add_subdirectory(doskey)
add_subdirectory(eventcreate)
add_subdirectory(find)
add_subdirectory(help)
add_subdirectory(hostname)
@@ -10,6 +11,7 @@ add_subdirectory(lodctr)
add_subdirectory(mode)
add_subdirectory(more)
add_subdirectory(reg)
add_subdirectory(schtasks)
add_subdirectory(sort)
add_subdirectory(taskkill)
add_subdirectory(tree)

View File

@@ -1,5 +1,8 @@
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
add_executable(clip clip.c clip.rc)
set_module_type(clip win32cui UNICODE)
add_importlibs(clip user32 msvcrt kernel32 advapi32)
target_link_libraries(clip conutils_stream ${PSEH_LIB})
add_importlibs(clip advapi32 user32 msvcrt kernel32)
add_cd_file(TARGET clip DESTINATION reactos/system32 FOR all)

View File

@@ -12,31 +12,17 @@
#include <winbase.h>
#include <winuser.h>
#include <conutils.h>
#include "resource.h"
static void PrintError(void)
VOID PrintError(DWORD dwError)
{
DWORD dwError;
LPWSTR lpMsgBuf = NULL;
dwError = GetLastError();
if (dwError == NO_ERROR)
if (dwError == ERROR_SUCCESS)
return;
FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
NULL, dwError, 0, (LPWSTR)&lpMsgBuf, 0, NULL);
wprintf(L"%s", lpMsgBuf);
LocalFree(lpMsgBuf);
}
static void PrintResourceString(UINT uID)
{
WCHAR buff[500];
if (LoadStringW(GetModuleHandle(NULL), uID, buff, ARRAYSIZE(buff)))
{
wprintf(L"%s", buff);
}
ConMsgPuts(StdErr, FORMAT_MESSAGE_FROM_SYSTEM,
NULL, dwError, LANG_USER_DEFAULT);
}
static BOOL IsDataUnicode(HGLOBAL hGlobal)
@@ -61,28 +47,27 @@ int wmain(int argc, wchar_t** argv)
LPBYTE lpBuffer;
SIZE_T dwSize = 0;
/* Initialize the Console Standard Streams */
hInput = GetStdHandle(STD_INPUT_HANDLE);
ConInitStdStreams();
/* Check for usage */
if (argc > 1 && wcsncmp(argv[1], L"/?", 2) == 0)
{
PrintResourceString(IDS_HELP);
ConResPuts(StdOut, IDS_HELP);
return 0;
}
if (GetFileType(hInput) == FILE_TYPE_CHAR)
{
PrintResourceString(IDS_USAGE);
ConResPuts(StdOut, IDS_USAGE);
return 0;
}
/* Initialize a growable buffer for holding clipboard data */
hBuffer = GlobalAlloc(GMEM_MOVEABLE | GMEM_ZEROINIT, 4096);
if (!hBuffer)
{
PrintError();
return -1;
}
goto Failure;
/*
* Read data from the input stream by chunks of 4096 bytes
@@ -92,7 +77,7 @@ int wmain(int argc, wchar_t** argv)
{
lpBuffer = GlobalLock(hBuffer);
if (!lpBuffer)
goto cleanup;
goto Failure;
bStatus = ReadFile(hInput, lpBuffer + dwSize, 4096, &dwBytesRead, NULL);
dwSize += dwBytesRead;
@@ -100,11 +85,11 @@ int wmain(int argc, wchar_t** argv)
hTemp = GlobalReAlloc(hBuffer, GlobalSize(hBuffer) + 4096, GMEM_ZEROINIT);
if (!hTemp)
goto cleanup;
goto Failure;
hBuffer = hTemp;
}
while (dwBytesRead > 0 && bStatus);
while (bStatus && dwBytesRead > 0);
/*
* Resize the buffer to the total size of data read.
@@ -118,7 +103,7 @@ int wmain(int argc, wchar_t** argv)
/* Attempt to open the clipboard */
if (!OpenClipboard(NULL))
goto cleanup;
goto Failure;
/* Empty it, copy our data, then close it */
@@ -138,8 +123,8 @@ int wmain(int argc, wchar_t** argv)
CloseClipboard();
return 0;
cleanup:
GlobalFree(hBuffer);
PrintError();
Failure:
if (hBuffer) GlobalFree(hBuffer);
PrintError(GetLastError());
return -1;
}

View File

@@ -2,9 +2,11 @@
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Clip Command"
#define REACTOS_STR_INTERNAL_NAME "clip"
#define REACTOS_STR_ORIGINAL_FILENAME "clip.exe"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Clip Command"
#define REACTOS_STR_INTERNAL_NAME "clip"
#define REACTOS_STR_ORIGINAL_FILENAME "clip.exe"
#include <reactos/version.rc>
/* UTF-8 */

View File

@@ -1,3 +1,4 @@
/* Ștefan Fulea (stefan dot fulea at mail dot md) */
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE

View File

@@ -7,5 +7,5 @@ BEGIN
IDS_USAGE "\nВведите ""CLIP /?"" для получения справки по использованию.\n"
IDS_HELP "\nПеренаправляет вывод от утилит командной строки в буфер обмена.\n\n\
CLIP [/?]\n\n\
/? Вывод справки по использованию..\n"
/? Вывод справки по использованию.\n"
END

View File

@@ -1,5 +1,8 @@
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
add_executable(comp comp.c comp.rc)
set_module_type(comp win32cui)
set_module_type(comp win32cui UNICODE)
target_link_libraries(comp conutils_stream ${PSEH_LIB})
add_importlibs(comp msvcrt kernel32)
add_cd_file(TARGET comp DESTINATION reactos/system32 FOR all)

View File

@@ -1,255 +1,245 @@
/*
* ReactOS Win32 Applications
* Copyright (C) 2005 ReactOS Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS comp utility
* FILE: base/applications/cmdutils/comp/comp.c
* PURPOSE: Compares the contents of two files
* PROGRAMMERS: Ged Murphy (gedmurphy@gmail.com)
* REVISIONS:
* GM 25/09/05 Created
*
*/
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#define STRBUF 1024
/* getline: read a line, return length */
INT GetBuff(char *buff, FILE *in)
{
return fread(buff, 1, STRBUF, in);
}
INT FileSize(FILE * fd)
{
INT result = -1;
if (fseek(fd, 0, SEEK_END) == 0 && (result = ftell(fd)) != -1)
{
/* Restoring file pointer */
rewind(fd);
}
return result;
}
/* Print program usage */
VOID Usage(VOID)
{
_tprintf(_T("\nCompares the contents of two files or sets of files.\n\n"
"COMP [/L] [/A] [data1] [data2]\n\n"
" data1 Specifies location and name of first file to compare.\n"
" data2 Specifies location and name of second file to compare.\n"
" /A Display differences in ASCII characters.\n"
" /L Display line numbers for differences.\n"));
}
int _tmain (int argc, TCHAR *argv[])
{
INT i;
/* File pointers */
FILE *fp1 = NULL;
FILE *fp2 = NULL;
INT BufLen1, BufLen2;
PTCHAR Buff1 = NULL;
PTCHAR Buff2 = NULL;
TCHAR File1[_MAX_PATH + 1], // File paths
File2[_MAX_PATH + 1];
BOOL bAscii = FALSE, // /A switch
bLineNos = FALSE; // /L switch
UINT LineNumber;
UINT Offset;
INT FileSizeFile1;
INT FileSizeFile2;
INT NumberOfOptions = 0;
INT FilesOK = 1;
INT Status = EXIT_SUCCESS;
/* Parse command line for options */
for (i = 1; i < argc; i++)
{
if (argv[i][0] == '/')
{
switch (argv[i][1])
{
case 'A':
bAscii = TRUE;
NumberOfOptions++;
break;
case 'L':
bLineNos = TRUE;
NumberOfOptions++;
break;
case '?':
Usage();
return EXIT_SUCCESS;
default:
_tprintf(_T("Invalid switch - /%c\n"), argv[i][1]);
Usage();
return EXIT_FAILURE;
}
}
}
if (argc - NumberOfOptions == 3)
{
_tcsncpy(File1, argv[1 + NumberOfOptions], _MAX_PATH);
_tcsncpy(File2, argv[2 + NumberOfOptions], _MAX_PATH);
}
else
{
_tprintf(_T("Bad command line syntax\n"));
return EXIT_FAILURE;
}
Buff1 = (TCHAR *)malloc(STRBUF * sizeof(TCHAR));
if (Buff1 == NULL)
{
_tprintf(_T("Can't get free memory for Buff1\n"));
return EXIT_FAILURE;
}
Buff2 = (TCHAR *)malloc(STRBUF * sizeof(TCHAR));
if (Buff2 == NULL)
{
_tprintf(_T("Can't get free memory for Buff2\n"));
Status = EXIT_FAILURE;
goto Cleanup;
}
if ((fp1 = fopen(File1, "rb")) == NULL)
{
_tprintf(_T("Can't find/open file: %s\n"), File1);
Status = EXIT_FAILURE;
goto Cleanup;
}
if ((fp2 = fopen(File2, "rb")) == NULL)
{
_tprintf(_T("Can't find/open file: %s\n"), File2);
Status = EXIT_FAILURE;
goto Cleanup;
}
_tprintf(_T("Comparing %s and %s...\n"), File1, File2);
FileSizeFile1 = FileSize(fp1);
if (FileSizeFile1 == -1)
{
_tprintf(_T("Can't determine size of file: %s\n"), File1);
Status = EXIT_FAILURE;
goto Cleanup;
}
FileSizeFile2 = FileSize(fp2);
if (FileSizeFile2 == -1)
{
_tprintf(_T("Can't determine size of file: %s\n"), File2);
Status = EXIT_FAILURE;
goto Cleanup;
}
if (FileSizeFile1 != FileSizeFile2)
{
_tprintf(_T("Files are different sizes.\n"));
Status = EXIT_FAILURE;
goto Cleanup;
}
LineNumber = 1;
Offset = 0;
while (1)
{
BufLen1 = GetBuff(Buff1, fp1);
BufLen2 = GetBuff(Buff2, fp2);
if (ferror(fp1) || ferror(fp2))
{
_tprintf(_T("Files read error.\n"));
Status = EXIT_FAILURE;
goto Cleanup;
}
if (!BufLen1 && !BufLen2)
break;
assert(BufLen1 == BufLen2);
for (i = 0; i < BufLen1; i++)
{
if (Buff1[i] != Buff2[i])
{
FilesOK = 0;
/* Reporting here a mismatch */
if (bLineNos)
{
_tprintf(_T("Compare error at LINE %d\n"), LineNumber);
}
else
{
_tprintf(_T("Compare error at OFFSET %d\n"), Offset);
}
if (bAscii)
{
_tprintf(_T("file1 = %c\n"), Buff1[i]);
_tprintf(_T("file2 = %c\n"), Buff2[i]);
}
else
{
_tprintf(_T("file1 = %X\n"), Buff1[i]);
_tprintf(_T("file2 = %X\n"), Buff2[i]);
}
Offset++;
if (Buff1[i] == '\n')
LineNumber++;
}
}
}
if (FilesOK)
_tprintf(_T("Files compare OK\n"));
Cleanup:
if (fp1)
fclose(fp1);
if (fp2)
fclose(fp2);
if (Buff1)
free(Buff1);
if (Buff2)
free(Buff2);
return Status;
}
/* EOF */
/*
* ReactOS Win32 Applications
* Copyright (C) 2005 ReactOS Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* PROJECT: ReactOS Comp utility
* COPYRIGHT: See COPYING in the top level directory
* FILE: base/applications/cmdutils/comp/comp.c
* PURPOSE: Compares the contents of two files
* PROGRAMMERS: Ged Murphy (gedmurphy@gmail.com)
*/
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
#include <conutils.h>
#include "resource.h"
#define STRBUF 1024
/* getline: read a line, return length */
INT GetBuff(PBYTE buff, FILE* in)
{
return fread(buff, sizeof(BYTE), STRBUF, in);
}
INT FileSize(FILE* fd)
{
INT result = -1;
if (fseek(fd, 0, SEEK_END) == 0 && (result = ftell(fd)) != -1)
{
/* Restoring file pointer */
rewind(fd);
}
return result;
}
int wmain(int argc, WCHAR* argv[])
{
INT i;
/* File pointers */
FILE *fp1 = NULL;
FILE *fp2 = NULL;
INT BufLen1, BufLen2;
PBYTE Buff1 = NULL;
PBYTE Buff2 = NULL;
WCHAR File1[_MAX_PATH + 1], // File paths
File2[_MAX_PATH + 1];
BOOL bAscii = FALSE, // /A switch
bLineNos = FALSE; // /L switch
UINT LineNumber;
UINT Offset;
INT FileSizeFile1;
INT FileSizeFile2;
INT NumberOfOptions = 0;
INT FilesOK = 1;
INT Status = EXIT_SUCCESS;
/* Initialize the Console Standard Streams */
ConInitStdStreams();
/* Parse command line for options */
for (i = 1; i < argc; i++)
{
if (argv[i][0] == L'/')
{
switch (towlower(argv[i][1]))
{
case L'a':
bAscii = TRUE;
NumberOfOptions++;
break;
case L'l':
bLineNos = TRUE;
NumberOfOptions++;
break;
case L'?':
ConResPuts(StdOut, IDS_HELP);
return EXIT_SUCCESS;
default:
ConResPrintf(StdErr, IDS_INVALIDSWITCH, argv[i][1]);
ConResPuts(StdOut, IDS_HELP);
return EXIT_FAILURE;
}
}
}
if (argc - NumberOfOptions == 3)
{
wcsncpy(File1, argv[1 + NumberOfOptions], _MAX_PATH);
wcsncpy(File2, argv[2 + NumberOfOptions], _MAX_PATH);
}
else
{
ConResPuts(StdErr, IDS_BADSYNTAX);
return EXIT_FAILURE;
}
Buff1 = (PBYTE)malloc(STRBUF);
if (Buff1 == NULL)
{
ConPuts(StdErr, L"Can't get free memory for Buff1\n");
Status = EXIT_FAILURE;
goto Cleanup;
}
Buff2 = (PBYTE)malloc(STRBUF);
if (Buff2 == NULL)
{
ConPuts(StdErr, L"Can't get free memory for Buff2\n");
Status = EXIT_FAILURE;
goto Cleanup;
}
if ((fp1 = _wfopen(File1, L"rb")) == NULL)
{
ConResPrintf(StdErr, IDS_FILEERROR, File1);
Status = EXIT_FAILURE;
goto Cleanup;
}
if ((fp2 = _wfopen(File2, L"rb")) == NULL)
{
ConResPrintf(StdErr, IDS_FILEERROR, File2);
Status = EXIT_FAILURE;
goto Cleanup;
}
ConResPrintf(StdOut, IDS_COMPARING, File1, File2);
FileSizeFile1 = FileSize(fp1);
if (FileSizeFile1 == -1)
{
ConResPrintf(StdErr, IDS_FILESIZEERROR, File1);
Status = EXIT_FAILURE;
goto Cleanup;
}
FileSizeFile2 = FileSize(fp2);
if (FileSizeFile2 == -1)
{
ConResPrintf(StdErr, IDS_FILESIZEERROR, File2);
Status = EXIT_FAILURE;
goto Cleanup;
}
if (FileSizeFile1 != FileSizeFile2)
{
ConResPuts(StdOut, IDS_SIZEDIFFERS);
Status = EXIT_FAILURE;
goto Cleanup;
}
LineNumber = 1;
Offset = 0;
while (1)
{
BufLen1 = GetBuff(Buff1, fp1);
BufLen2 = GetBuff(Buff2, fp2);
if (ferror(fp1) || ferror(fp2))
{
ConResPuts(StdErr, IDS_READERROR);
Status = EXIT_FAILURE;
goto Cleanup;
}
if (!BufLen1 && !BufLen2)
break;
assert(BufLen1 == BufLen2);
for (i = 0; i < BufLen1; i++)
{
if (Buff1[i] != Buff2[i])
{
FilesOK = 0;
/* Reporting here a mismatch */
if (bLineNos)
ConResPrintf(StdOut, IDS_MISMATCHLINE, LineNumber);
else
ConResPrintf(StdOut, IDS_MISMATCHOFFSET, Offset);
if (bAscii)
{
ConResPrintf(StdOut, IDS_ASCIIDIFF, 1, Buff1[i]);
ConResPrintf(StdOut, IDS_ASCIIDIFF, 2, Buff2[i]);
}
else
{
ConResPrintf(StdOut, IDS_HEXADECIMALDIFF, 1, Buff1[i]);
ConResPrintf(StdOut, IDS_HEXADECIMALDIFF, 2, Buff2[i]);
}
}
Offset++;
if (Buff1[i] == '\n')
LineNumber++;
}
}
if (FilesOK)
ConResPuts(StdOut, IDS_MATCH);
Cleanup:
if (fp2)
fclose(fp2);
if (fp1)
fclose(fp1);
if (Buff2)
free(Buff2);
if (Buff1)
free(Buff1);
return Status;
}
/* EOF */

View File

@@ -1,5 +1,29 @@
#include <windef.h>
#define REACTOS_STR_FILE_DESCRIPTION "File Compare Utility"
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS File Compare Utility"
#define REACTOS_STR_INTERNAL_NAME "comp"
#define REACTOS_STR_ORIGINAL_FILENAME "comp.exe"
#include <reactos/version.rc>
/* UTF-8 */
#pragma code_page(65001)
#ifdef LANGUAGE_EN_US
#include "lang/en-US.rc"
#endif
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_RO_RO
#include "lang/ro-RO.rc"
#endif
#ifdef LANGUAGE_RU_RU
#include "lang/ru-RU.rc"
#endif
#ifdef LANGUAGE_TR_TR
#include "lang/tr-TR.rc"
#endif

View File

@@ -0,0 +1,23 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE
BEGIN
IDS_HELP "Compares the contents of two files or sets of files.\n\n\
COMP [/L] [/A] [data1] [data2]\n\n\
data1 Specifies location and name of first file to compare.\n\
data2 Specifies location and name of second file to compare.\n\
/A Display differences in ASCII characters (default: hexadecimal).\n\
/L Display line numbers for differences.\n"
IDS_INVALIDSWITCH "Invalid switch - /%c\n"
IDS_BADSYNTAX "Bad command line syntax\n"
IDS_FILEERROR "Cannot find/open file: %s\n"
IDS_COMPARING "Comparing %s and %s...\n"
IDS_FILESIZEERROR "Cannot determine size of file: %s\n"
IDS_SIZEDIFFERS "Files are different sizes.\n"
IDS_READERROR "Files read error.\n"
IDS_MISMATCHLINE "Compare error at LINE %d\n"
IDS_MISMATCHOFFSET "Compare error at OFFSET 0x%X\n"
IDS_ASCIIDIFF "file%d = %c\n"
IDS_HEXADECIMALDIFF "file%d = %X\n"
IDS_MATCH "Files compare OK\n"
END

View File

@@ -0,0 +1,23 @@
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
IDS_HELP "Compare le contenu de deux fichiers ou ensembles de fichiers.\n\n\
COMP [/L] [/A] [data1] [data2]\n\n\
data1 Spécifie l'emplacement et le nom du premier fichier à comparer.\n\
data2 Spécifie l'emplacement et le nom du second fichier à comparer.\n\
/A Affiche les différences en caractères ASCII (défaut: hexadécimal).\n\
/L Affiche les numéros de ligne des différences.\n"
IDS_INVALIDSWITCH "Paramètre invalide - /%c\n"
IDS_BADSYNTAX "Syntaxe incorrecte\n"
IDS_FILEERROR "Impossible de trouver/ouvrir le fichier : %s\n"
IDS_COMPARING "Comparaison de %s et %s...\n"
IDS_FILESIZEERROR "Ne peut pas déterminer la taille du fichier : %s\n"
IDS_SIZEDIFFERS "Les fichiers sont de taille différente.\n"
IDS_READERROR "Erreur lors de la lecture des fichiers.\n"
IDS_MISMATCHLINE "Erreur de comparaison à LIGNE %d\n"
IDS_MISMATCHOFFSET "Erreur de comparaison à OFFSET 0x%X\n"
IDS_ASCIIDIFF "fichier%d = %c\n"
IDS_HEXADECIMALDIFF "fichier%d = %X\n"
IDS_MATCH "Comparaison des fichiers OK\n"
END

View File

@@ -0,0 +1,24 @@
/* Ștefan Fulea (stefan dot fulea at mail dot md) */
LANGUAGE LANG_ROMANIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_HELP "Compară conținuturile a două fișiere sau grupuri de fișiere.\n\n\
COMP [/L] [/A] [data1] [data2]\n\n\
data1 Calea și numele primului fișier de comparat.\n\
data2 Calea și numele celui de-al doilea fișier de comparat.\n\
/A Afișează diferențele în caractere ASCII (implicit: hexazecimal).\n\
/L Afișează numărul liniei pentru diferențe.\n"
IDS_INVALIDSWITCH "Parametru nevalid - /%c\n"
IDS_BADSYNTAX "Sintaxă eronată\n"
IDS_FILEERROR "Nu se poate găsi/deschide fișierul: %s\n"
IDS_COMPARING "Se compară %s și %s...\n"
IDS_FILESIZEERROR "Nu se poate determina dimensiunea fișierului: %s\n"
IDS_SIZEDIFFERS "Fișierele au dimensiuni diferite.\n"
IDS_READERROR "Eroare la citirea fișierelor.\n"
IDS_MISMATCHLINE "Diferență identificată la linia %d\n"
IDS_MISMATCHOFFSET "Diferență identificată la poziția 0x%X\n"
IDS_ASCIIDIFF "fișier%d = %c\n"
IDS_HEXADECIMALDIFF "fișier%d = %X\n"
IDS_MATCH "Fișierele sunt identice\n"
END

View File

@@ -0,0 +1,23 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_HELP "Сравнение содержимого двух файлов или наборов файлов.\n\n\
COMP [/L] [/A] [данные1] [данные2]\n\n\
данные1 Расположение и имя первого файла для сравнения.\n\
данные2 Расположение и имя второго файла для сравнения.\n\
/A Вывод различий в формате ASCII (по умолчанию: шестнадцатиричный).\n\
/L Вывод номеров строк, в которых обнаружены различия.\n"
IDS_INVALIDSWITCH "Недопустимый ключ - /%c\n"
IDS_BADSYNTAX "Не верный формат командной строки\n"
IDS_FILEERROR "Не удалось найти/открыть файл: %s\n"
IDS_COMPARING "Сравнение %s и %s...\n"
IDS_FILESIZEERROR "Не удалось определить размер файла: %s\n"
IDS_SIZEDIFFERS "Файлы разных размеров.\n"
IDS_READERROR "Ошибка чтения файлов.\n"
IDS_MISMATCHLINE "Ошибка сравнения в СТРОКЕ %d\n"
IDS_MISMATCHOFFSET "Ошибка сравнения в ПОЗИЦИИ 0x%X\n"
IDS_ASCIIDIFF "файл%d = %c\n"
IDS_HEXADECIMALDIFF "файл%d = %X\n"
IDS_MATCH "Различия не найдены\n"
END

View File

@@ -0,0 +1,25 @@
/* TRANSLATOR: 2016 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_HELP "İki kütüğün ya da iki kütük öbeğinin içeriklerini karşılaştırır.\n\n\
COMP [/L] [/A] [veri1] [veri2]\n\n\
veri1 Karşılaştırılacak birinci kütüğün adını ve konumunu belirtir.\n\
veri2 Karşılaştırılacak ikinci kütüğün adını ve konumunu belirtir.\n\
/A ASCII damgalarındaki ayrımları görüntüle. (Ön tanımlı: On altılık.)\n\
/L Ayrımlar için yataç numaraları görüntüle.\n"
IDS_INVALIDSWITCH "Geçersiz seçenek - /%c\n"
IDS_BADSYNTAX "Geçersiz komut yatacı söz dizimi.\n"
IDS_FILEERROR "Kütük açılamıyor ya da aranamıyor: %s\n"
IDS_COMPARING "%s ve %s karşılaştırılıyor...\n"
IDS_FILESIZEERROR "Kütüğün büyüklüğü saptanamıyor: %s\n"
IDS_SIZEDIFFERS "Kütükler ayrı büyüklüklerde.\n"
IDS_READERROR "Kütükleri okuma yanlışlığı.\n"
IDS_MISMATCHLINE "%d. yataçta karşılaştırma yanlışlığı.\n"
IDS_MISMATCHOFFSET "0x%X ofsetinde karşılaştırma yanlışlığı.\n"
IDS_ASCIIDIFF "kütük%d = %c\n"
IDS_HEXADECIMALDIFF "kütük%d = %X\n"
IDS_MATCH "Kütükleri karşılaştırma bitti.\n"
END

View File

@@ -0,0 +1,15 @@
#pragma once
#define IDS_HELP 100
#define IDS_INVALIDSWITCH 101
#define IDS_BADSYNTAX 102
#define IDS_FILEERROR 103
#define IDS_COMPARING 104
#define IDS_FILESIZEERROR 105
#define IDS_SIZEDIFFERS 106
#define IDS_READERROR 107
#define IDS_MISMATCHLINE 108
#define IDS_MISMATCHOFFSET 109
#define IDS_ASCIIDIFF 110
#define IDS_HEXADECIMALDIFF 111
#define IDS_MATCH 112

View File

@@ -44,7 +44,7 @@ int _tmain(int argc, TCHAR ** argv)
/* get available tests */
strcpy(cmd, argv[2]);
strcat(cmd, " --list");
strcat(cmd, " --list");
pPipe = _tpopen(cmd, "r");
if (pPipe != NULL)
{
@@ -68,6 +68,8 @@ int _tmain(int argc, TCHAR ** argv)
if (nlptr2)
*nlptr2 = '\0';
puts(psBuffer2);
if (nlptr2)
*nlptr2 = '\n';
OutputDebugStringA(psBuffer2);
}
_pclose(pPipe2);

View File

@@ -1,12 +1,31 @@
#include <stdarg.h>
#include <stdio.h>
#include <wchar.h>
#include <locale.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wincon.h>
#include <stdio.h>
#include <wchar.h>
#include <assert.h>
#include <locale.h>
/* Console API functions which are absent from wincon.h */
VOID
WINAPI
ExpungeConsoleCommandHistoryW(LPCWSTR lpExeName);
DWORD
WINAPI
GetConsoleCommandHistoryW(LPWSTR lpHistory,
DWORD cbHistory,
LPCWSTR lpExeName);
DWORD
WINAPI
GetConsoleCommandHistoryLengthW(LPCWSTR lpExeName);
BOOL
WINAPI
SetConsoleNumberOfCommandsW(DWORD dwNumCommands,
LPCWSTR lpExeName);
#include "doskey.h"
@@ -14,19 +33,12 @@
WCHAR szStringBuf[MAX_STRING];
LPWSTR pszExeName = L"cmd.exe";
/* Function pointers */
typedef DWORD (WINAPI *GetConsoleCommandHistoryW_t) (LPWSTR sCommands, DWORD nBufferLength, LPWSTR sExeName);
typedef DWORD (WINAPI *GetConsoleCommandHistoryLengthW_t) (LPWSTR sExeName);
typedef BOOL (WINAPI *SetConsoleNumberOfCommandsW_t)(DWORD nNumber, LPWSTR sExeName);
typedef VOID (WINAPI *ExpungeConsoleCommandHistoryW_t)(LPWSTR sExeName);
GetConsoleCommandHistoryW_t pGetConsoleCommandHistoryW;
GetConsoleCommandHistoryLengthW_t pGetConsoleCommandHistoryLengthW;
SetConsoleNumberOfCommandsW_t pSetConsoleNumberOfCommandsW;
ExpungeConsoleCommandHistoryW_t pExpungeConsoleCommandHistoryW;
static VOID SetInsert(DWORD dwFlag)
{
/*
* NOTE: Enabling the ENABLE_INSERT_MODE mode can also be done by calling
* kernel32:SetConsoleCommandHistoryMode(CONSOLE_OVERSTRIKE) .
*/
DWORD dwMode;
HANDLE hConsole = GetStdHandle(STD_INPUT_HANDLE);
GetConsoleMode(hConsole, &dwMode);
@@ -36,7 +48,7 @@ static VOID SetInsert(DWORD dwFlag)
static VOID PrintHistory(VOID)
{
DWORD Length = pGetConsoleCommandHistoryLengthW(pszExeName);
DWORD Length = GetConsoleCommandHistoryLengthW(pszExeName);
PBYTE HistBuf;
WCHAR *Hist;
WCHAR *HistEnd;
@@ -48,9 +60,13 @@ static VOID PrintHistory(VOID)
Hist = (WCHAR *)HistBuf;
HistEnd = (WCHAR *)&HistBuf[Length];
if (pGetConsoleCommandHistoryW(Hist, Length, pszExeName))
if (GetConsoleCommandHistoryW(Hist, Length, pszExeName))
{
for (; Hist < HistEnd; Hist += wcslen(Hist) + 1)
{
wprintf(L"%s\n", Hist);
}
}
HeapFree(GetProcessHeap(), 0, HistBuf);
}
@@ -102,8 +118,12 @@ static VOID PrintMacros(LPWSTR pszExeName, LPWSTR Indent)
AliasEnd = (WCHAR *)&AliasBuf[Length];
if (GetConsoleAliasesW(Alias, Length * sizeof(BYTE), pszExeName))
{
for (; Alias < AliasEnd; Alias += wcslen(Alias) + 1)
{
wprintf(L"%s%s\n", Indent, Alias);
}
}
HeapFree(GetProcessHeap(), 0, AliasBuf);
}
@@ -198,23 +218,12 @@ wmain(VOID)
{
WCHAR *pArgStart;
WCHAR *pArgEnd;
HMODULE hKernel32;
setlocale(LC_ALL, "");
/* Get the full command line using GetCommandLine(). We can't just use argv,
* because then a parameter like "gotoroot=cd \" wouldn't be passed completely. */
pArgEnd = GetCommandLineW();
hKernel32 = LoadLibraryW(L"kernel32.dll");
/* Get function pointers */
pGetConsoleCommandHistoryW = (GetConsoleCommandHistoryW_t)GetProcAddress( hKernel32, "GetConsoleCommandHistoryW");
pGetConsoleCommandHistoryLengthW = (GetConsoleCommandHistoryLengthW_t)GetProcAddress( hKernel32, "GetConsoleCommandHistoryLengthW");
pSetConsoleNumberOfCommandsW = (SetConsoleNumberOfCommandsW_t)GetProcAddress( hKernel32, "SetConsoleNumberOfCommandsW");
pExpungeConsoleCommandHistoryW = (ExpungeConsoleCommandHistoryW_t)GetProcAddress( hKernel32, "ExpungeConsoleCommandHistoryW");
assert(pGetConsoleCommandHistoryW && pGetConsoleCommandHistoryLengthW &&
pSetConsoleNumberOfCommandsW && pExpungeConsoleCommandHistoryW);
/* Skip the application name */
GetArg(&pArgStart, &pArgEnd);
@@ -242,11 +251,11 @@ wmain(VOID)
}
else if (!_wcsnicmp(pArgStart, L"/LISTSIZE=", 10))
{
pSetConsoleNumberOfCommandsW(_wtoi(pArgStart + 10), pszExeName);
SetConsoleNumberOfCommandsW(_wtoi(pArgStart + 10), pszExeName);
}
else if (!wcsicmp(pArgStart, L"/REINSTALL"))
{
pExpungeConsoleCommandHistoryW(pszExeName);
ExpungeConsoleCommandHistoryW(pszExeName);
}
else if (!wcsicmp(pArgStart, L"/INSERT"))
{

View File

@@ -0,0 +1,12 @@
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
## The message string templates are in ANSI to reduce binary size
add_message_headers(ANSI evtmsgstr.mc)
add_executable(eventcreate eventcreate.c eventcreate.rc)
set_module_type(eventcreate win32cui UNICODE)
add_dependencies(eventcreate evtmsgstr)
target_link_libraries(eventcreate conutils_stream ${PSEH_LIB})
add_importlibs(eventcreate advapi32 msvcrt kernel32)
add_cd_file(TARGET eventcreate DESTINATION reactos/system32 FOR all)

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,29 @@
#include <windef.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS EventCreate Command"
#define REACTOS_STR_INTERNAL_NAME "eventcreate"
#define REACTOS_STR_ORIGINAL_FILENAME "eventcreate.exe"
#include <reactos/version.rc>
/* Message Table resource for the message string templates */
#include <evtmsgstr.rc>
/* UTF-8 */
#pragma code_page(65001)
#ifdef LANGUAGE_EN_US
#include "lang/en-US.rc"
#endif
#ifdef LANGUAGE_FR_FR
#include "lang/fr-FR.rc"
#endif
#ifdef LANGUAGE_RU_RU
#include "lang/ru-RU.rc"
#endif
#ifdef LANGUAGE_TR_TR
#include "lang/tr-TR.rc"
#endif

View File

@@ -0,0 +1,105 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS EventCreate Command
* FILE: base/applications/cmdutils/eventcreate/evtmsggen.c
* PURPOSE: Generator for the event message string templates file.
* Creates the message string file in the current directory.
* PROGRAMMER: Hermes Belusca-Maito
*
* You can compile this generator:
* with GCC : $ gcc -o evtmsggen.exe evtmsggen.c
* with MSVC: $ cl evtmsggen.c (or: $ cl /Fe"evtmsggen.exe" evtmsggen.c)
*/
#include <stdio.h>
/*
* Enable/disable this option to use "English" for the message table language.
* The default behaviour when the option is disabled selects "Neutral" language.
*/
// #define ENGLISH
/* The default End-Of-Line control for the message file */
#define EOL "\r\n"
static void usage(char* name)
{
fprintf(stdout, "Usage: %s ID_min ID_max outfile.mc\n", name);
}
int main(int argc, char* argv[])
{
FILE* outFile;
unsigned int id_min, id_max;
unsigned int i;
/* Validate the arguments */
if (argc != 4)
{
usage(argv[0]);
return -1;
}
id_min = (unsigned int)atoi(argv[1]);
id_max = (unsigned int)atoi(argv[2]);
if (id_min > id_max)
{
fprintf(stderr, "ERROR: Min ID %u cannot be strictly greater than Max ID %u !\n", id_min, id_max);
return -1;
}
/* Open the file */
outFile = fopen(argv[3], "wb");
if (!outFile)
{
fprintf(stderr, "ERROR: Could not create output file '%s'.\n", argv[3]);
return -1;
}
/* Generate the file */
/* Write the header */
fprintf(outFile,
";/*" EOL
"; * %s" EOL
"; * Contains event message string templates for the EventCreate Command." EOL
"; *" EOL
"; * This file is autogenerated, do not edit." EOL
"; * Generated with:" EOL
"; * %s %u %u %s" EOL
"; */" EOL
EOL
#ifdef ENGLISH
"LanguageNames=(English=0x409:MSG00409)" EOL
#else
"LanguageNames=(Neutral=0x0000:MSG00000)" EOL
#endif
"MessageIdTypedef=DWORD" EOL
EOL,
argv[3],
argv[0], id_min /* argv[1] */, id_max /* argv[2] */, argv[3]);
/* Write the message string templates */
for (i = id_min; i <= id_max; ++i)
{
fprintf(outFile,
"MessageId=0x%X" EOL
#ifdef ENGLISH
"Language=English" EOL
#else
"Language=Neutral" EOL
#endif
"%%1" EOL
"." EOL
EOL,
i);
}
/* Close the file */
fclose(outFile);
return 0;
}
/* EOF */

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,69 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE
BEGIN
IDS_USAGE "Type ""EVENTCREATE /?"" for usage information.\n"
IDS_HELP "\n\
EVENTCREATE [/S computer [/U [domain\\]user [/P password]]] /ID EventID\n\
{[/L logname] | [/SO source]} /T type /C category /D description\n\
\n\
Description:\n\
This tool enables an administrator to create a custom event in\n\
a specified event log.\n\
\n\
Parameters:\n\
/S computer Specifies the remote computer where to connect.\n\
\n\
/U [domain\\]user Specifies the user account under which the command\n\
should execute.\n\
\n\
/P [password] Specifies the password of the user account.\n\
Prompts for input if omitted.\n\
\n\
/L logname Specifies the name of the log where the event will be\n\
created. The valid names are:\n\
Application, System, Security\n\
(the latter is reserved only for the SYSTEM account).\n\
\n\
/SO source Specifies the source name to use for the event\n\
(if not specified, the default source name\n\
will be 'eventcreate').\n\
A valid source can be any string and should represent\n\
the application or the component that is generating\n\
the event.\n\
\n\
/T type Specifies the type of event to create.\n\
The valid types are: SUCCESS, ERROR, WARNING,\n\
INFORMATION.\n\
\n\
/C category Specifies the event category (integer) for the event.\n\
\n\
/ID EventID Specifies the event ID for the event. This must be\n\
an integer between 0 and 65535.\n\
\n\
/D description Specifies the description to use for the newly\n\
created event.\n\
\n\
/? Displays this help screen.\n\
"
IDS_INVALIDSWITCH "Invalid switch - '%s'.\n"
IDS_BADSYNTAX_0 "Bad command line syntax.\n"
IDS_BADSYNTAX_1 "Bad command line syntax. The option '%s' requires a value.\n"
IDS_BADSYNTAX_2 "Bad command line syntax. The value for the option '%s' cannot be empty.\n"
IDS_BADSYNTAX_3 "Bad command line syntax. The value '%s' is not allowed for the option '%s'.\n"
IDS_BADSYNTAX_4 "Bad command line syntax. The value cannot be specified for the option '%s'.\n"
IDS_BADSYNTAX_5 "Bad command line syntax. The option '%s' is not allowed more than %lu times.\n"
IDS_BADSYNTAX_6 "Bad command line syntax. The mandatory option '%s' is absent.\n"
// IDS_BADSYNTAX_7 "Bad command line syntax. The value for the option '%s' is outside the allowed range.\n"
IDS_BADSYNTAX_7 "Bad command line syntax. The value for the option '%s' must be between %d and %d.\n"
IDS_LOG_NOT_FOUND "The log '%s' does not exist. Cannot create the event.\n"
IDS_SOURCE_NOCREATE "The new source cannot be created because the log name is not specified.\nPlease use the /L switch to specify the log name.\n"
IDS_SOURCE_EXISTS "The source already exists in the log '%s' and cannot be duplicated.\n"
IDS_SOURCE_NOT_CUSTOM "The Source parameter is used to identify the custom scripts/applications\n(not the installed applications).\n"
IDS_SUCCESS_1 "Operation successful: an event of type '%s' has been created in the log '%s'.\n"
IDS_SUCCESS_2 "Operation successful: an event of type '%s' has been created with the source '%s'.\n"
IDS_SUCCESS_3 "Operation successful: an event of type '%s' has been created\nin the log '%s' with the source '%s'.\n"
IDS_SWITCH_UNIMPLEMENTED "The option '%s' is not currently supported, sorry for the inconvenience!\n"
END

View File

@@ -0,0 +1,70 @@
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
IDS_USAGE "Entrez ""EVENTCREATE /?"" pour afficher la syntaxe.\n"
IDS_HELP "\n\
EVENTCREATE [/S système [/U utilisateur [/P mot_de_passe]]] /ID id_événement\n\
{[/L journal] | [/SO source]} /T type /C catégorie /D description\n\
\n\
Description :\n\
Cet outil permet à un administrateur de créer un événement ayant un\n\
message et un identificateur personnalisés dans un journal d'événements\n\
spécifié.\n\
\n\
Liste de paramètres :\n\
/S système Spécifie le système distant auquel se connecter.\n\
\n\
/U [domaine\\]utili. Spécifie le contexte de l'utilisateur\n\
sous lequel la commande doit s'exécuter.\n\
\n\
/P [mot_de_passe] Spécifie le mot de passe du contexte\n\
utilisateur donné. Il est demandé s'il est omis.\n\
\n\
/L journal Spécifie le journal d'événement dans lequel\n\
l'événementest créé. Les noms valides sont :\n\
Application, System, Security\n\
(le dernier est réservé seulement pour le compte\n\
SYSTEM).\n\
\n\
/SO source Spécifie la source devant être utilisée pour\n\
l'événement (s'il n'est pas spécifié, la valeur\n\
par défaut de la source sera 'eventcreate').\n\
Une source valide peut être une chaîne et doit\n\
représenter l'application ou le composant qui génère\n\
l'événement.\n\
\n\
/T type Spécifie le type d'événement à créer.\n\
Les types autorisés sont : SUCCESS, ERROR, WARNING,\n\
INFORMATION.\n\
\n\
/C catégorie Spécifie la catégorie de l'événement (nombre entier).\n\
\n\
/ID identificateur Spécifie l'ID de l'événement. Un identificateur\n\
peut être un nombre entier compris entre 0 et 65535.\n\
\n\
/D description Spécifie la description du nouvel événement.\n\
\n\
/? Affiche cet écran d'aide.\n\
"
IDS_INVALIDSWITCH "Option invalide - '%s'.\n"
IDS_BADSYNTAX_0 "Syntaxe incorrecte.\n"
IDS_BADSYNTAX_1 "Syntaxe incorrecte. L'option '%s' requiert une valeur.\n"
IDS_BADSYNTAX_2 "Syntaxe incorrecte. La valeur pour l'option '%s' ne peut pas être vide.\n"
IDS_BADSYNTAX_3 "Syntaxe incorrecte. La valeur '%s' n'est pas autorisée pour l'option '%s'.\n"
IDS_BADSYNTAX_4 "Syntaxe incorrecte. La valeur ne peut pas être spécifiée pour l'option '%s'.\n"
IDS_BADSYNTAX_5 "Syntaxe incorrecte. L'option '%s' n'est pas autorisée plus de %lu fois.\n"
IDS_BADSYNTAX_6 "Syntaxe incorrecte. L'option obligatoire '%s' est absente.\n"
// IDS_BADSYNTAX_7 "Syntaxe incorrecte. La valeur pour l'option '%s' est en dehors de la plage autorisée.\n"
IDS_BADSYNTAX_7 "Syntaxe incorrecte. La valeur pour l'option '%s' doit être comprise entre %d et %d.\n"
IDS_LOG_NOT_FOUND "Le journal '%s' n'existe pas. Impossible de créer l'événement.\n"
IDS_SOURCE_NOCREATE "La nouvelle source ne peut être créée car le nom du journal n'est pas spécifié.\nUtilisez le commutateur /L pour spécifier le nom du journal.\n"
IDS_SOURCE_EXISTS "La source existe déjà dans le journal '%s' et ne peut pas être dupliquée.\n"
IDS_SOURCE_NOT_CUSTOM "Le paramètre Source est utilisé pour identifier les scripts/applications\npersonnalisées (pas les applications installées).\n"
IDS_SUCCESS_1 "Opération réussie : un événement de type '%s' a été créé dans le journal '%s'.\n"
IDS_SUCCESS_2 "Opération réussie : un événement de type '%s' a été créé avec la source '%s'.\n"
IDS_SUCCESS_3 "Opération réussie : un événement de type '%s' a été créé\ndans le journal '%s' avec la source '%s'.\n"
IDS_SWITCH_UNIMPLEMENTED "L'option '%s' n'est pas supporté pour le moment, désolé pour le désagrément!\n"
END

View File

@@ -0,0 +1,68 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_USAGE "Введите ""EVENTCREATE /?"" для получения справки по использованию.\n"
IDS_HELP "\n\
EVENTCREATE [/S система [/U [домен\\]пользователь [/P пароль]]] /ID код_события\n\
{[/L имя_журнала] | [/SO источник]} /T тип /C категория /D описание\n\
\n\
Описание:\n\
Эта команда позволяет администратору создать запись об особом событии \n\
в указанном журнале событий.\n\
\n\
Список параметров:\n\
/S система Определяет удаленную систему для подключения.\n\
\n\
/U [домен\\]польз. Определяет контекст пользователя, под которым\n\
выполняется данная команда.\n\
\n\
/P [пароль] Задает пароль для данного контекста пользователя.\n\
Запрашивает ввод пароля, если он не был задан.\n\
\n\
/L журнал Журнал в котором будет создано событие.\n\
Доступными именами являются:\n\
Application, System, Security\n\
(последний зарезервирован только для учетной записи SYSTEM).\n\
\n\
/SO источник Задает имя источника, используемого для события\n\
(если не указано, то по умолчанию имя источника\n\
будет 'eventcreate').\n\
Допустимым источником является любая строка, представляющая\n\
приложение или компонент, который генерирует\n\
событие.\n\
\n\
/T тип Тип создаваемого события.\n\
Допустимыми типами являются: SUCCESS, ERROR, WARNING,\n\
INFORMATION.\n\
\n\
/C категория Определяет категорию события (число) для события.\n\
\n\
/ID код_события Код события для этого события. Допустимым кодом\n\
является число в диапазоне от 0 до 65535.\n\
\n\
/D описание Описание для создаваемого события.\n\
\n\
/? Показать эту справку.\n\
"
IDS_INVALIDSWITCH "Неправильный параметр или аргумент - '%s'.\n"
IDS_BADSYNTAX_0 "Синтаксическая ошибка.\n"
IDS_BADSYNTAX_1 "Синтаксическая ошибка. Для параметра '%s' должно быть указано значение.\n"
IDS_BADSYNTAX_2 "Синтаксическая ошибка. Значение опции '%s' не может быть пустым.\n"
IDS_BADSYNTAX_3 "Синтаксическая ошибка. Значение '%s' является недопустимым для опции '%s'.\n"
IDS_BADSYNTAX_4 "Синтаксическая ошибка. Для опции '%s' не может быть указано значение.\n"
IDS_BADSYNTAX_5 "Синтаксическая ошибка. Опция '%s' не допускается более чем %lu раз.\n"
IDS_BADSYNTAX_6 "Синтаксическая ошибка. Отсутствует обязательный параметр '%s'.\n"
// IDS_BADSYNTAX_7 "Синтаксическая ошибка. Значение для опции '%s' за пределами разрешенного диапазона.\n"
IDS_BADSYNTAX_7 "Синтаксическая ошибка. Значение для опции '%s' должно быть в диапазоне от %d до %d.\n"
IDS_LOG_NOT_FOUND "Журнал '%s' не существует. Не удалось создать событие.\n"
IDS_SOURCE_NOCREATE "Новый источник не может быть создан, поскольку имя журнала не указано.\nИспользуйте параметр /L чтобы указать имя журнала.\n"
IDS_SOURCE_EXISTS "Источник уже существует в журнале '%s' и не может быть продублирован.\n"
IDS_SOURCE_NOT_CUSTOM "Параметр Источник используется для идентификации сценариев/программ\nпользовательских приложений (не установленных приложений).\n"
IDS_SUCCESS_1 "Операция выполнена успешно: событие с типом '%s' было успешно создано в журнале '%s'.\n"
IDS_SUCCESS_2 "Операция выполнена успешно: событие с типом '%s' было успешно создано с источником '%s'.\n"
IDS_SUCCESS_3 "Операция выполнена успешно: событие с типом '%s' было успешно создано\nв журнале '%s' с источником '%s'.\n"
IDS_SWITCH_UNIMPLEMENTED "Опция '%s' не поддерживается, приносим извинения за возможное неудобство!\n"
END

View File

@@ -0,0 +1,72 @@
/* TRANSLATOR: 2016 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_USAGE "Kullanım bilgisi için ""EVENTCREATE /?"" yazınız.\n"
IDS_HELP "\n\
EVENTCREATE [/S bilgisayar [/U [etki alanı\\]kullanıcı [/P şifre]]] \n\
/ID olay kimliği {[/L kayıt adı] | [/SO kaynak]} /T tür /C ulam\n\
/D tanım\n\
\n\
Tanım:\n\
Bu araç, bir yöneticiye belirli bir olay kaydı içinde husûsî bir olay\n\
oluşturmayı sağlar.\n\
\n\
Değişkenler:\n\
/S bilgisayar Bağlanacak uzak bilgisayarı belirtir.\n\
\n\
/U [etki alanı\\]kullanıcı Altında komutun çalışacağı kullanıcı hesâbını\n\
belirtir.\n\
\n\
/P [şifre] Kullanıcı hesâbının şifresini belirtir.\n\
Kullanılmazsa girdi için sorar.\n\
\n\
/L kayıt adı Oluşturulacak olayın kayıt adını belirtir.\n\
Geçerli adlar şunlardır:\n\
Application, System, Security\n\
(İkincisi yalnızca DİZGE hesâbına ayrılmıştır.)\n\
\n\
/SO kaynak Olay için kullanılacak kaynak adını belirtir.\n\
(Belirtilmezse ön tanımlı kaynak adı\n\
'eventcreate' olacaktır.)\n\
Geçerli bir kaynak, rastgele bir dizgi olabilir ve olayı\n\
oluşturan uygulamayı veyâ bileşeni belirtmelidir.\n\
\n\
/T tür Oluşturulacak olayın türünü belirtir.\n\
Geçerli türler: SUCCESS, ERROR, WARNING,\n\
INFORMATION.\n\
\n\
/C ulam Olaya göre olay ulamını (tamsayı) belirtir.\n\
\n\
/ID olay kimliği Olaya göre olay kimliğini belirtir. Bu\n\
0 ile 65535 arasında bir tamsayı olmalıdır.\n\
\n\
/D tanım Yeni oluşturulan olay için kullanılacak\n\
tanımı belirtir.\n\
\n\
/? Bu yardım görüntülüğünü görüntüler.\n\
"
IDS_INVALIDSWITCH "Geçersiz değişken - ""%s"".\n"
IDS_BADSYNTAX_0 "Geçersiz komut yatacı yazımı.\n"
IDS_BADSYNTAX_1 "Geçersiz komut yatacı yazımı. ""%s"" seçeneği bir değer gerektirir.\n"
IDS_BADSYNTAX_2 "Geçersiz komut yatacı yazımı. ""%s"" seçeneği için değer boş olamaz.\n"
IDS_BADSYNTAX_3 "Geçersiz komut yatacı yazımı. Değer ""%s"", ""%s"" seçeneği için izin verilmedi.\n"
IDS_BADSYNTAX_4 "Geçersiz komut yatacı yazımı. ""%s"" seçeneği için değer belirtilemiyor.\n"
IDS_BADSYNTAX_5 "Geçersiz komut yatacı yazımı. ""%s"" seçeneğine %lu kezden çok izin verilmiyor.\n"
IDS_BADSYNTAX_6 "Geçersiz komut yatacı yazımı. Zorunlu ""%s"" seçeneği yok.\n"
// IDS_BADSYNTAX_7 "Geçersiz komut yatacı yazımı. ""%s"" seçeneği için değer izin verilen aralığın dışında.\n"
IDS_BADSYNTAX_7 "Geçersiz komut yatacı yazımı. ""%s"" seçeneği için değer %d ile %d arasında olmalı.\n"
IDS_LOG_NOT_FOUND """%s"" kaydı yok. Olay oluşturulamıyor.\n"
IDS_SOURCE_NOCREATE "Kayıt adı belirtilmediğinden yeni kaynak oluşturulamıyor.\nKayıt adını belirtmek için lütfen /L seçeneğini kullanınız.\n"
IDS_SOURCE_EXISTS "Kaynak ""%s"" kaydında önceden var ve çoğaltılamaz.\n"
IDS_SOURCE_NOT_CUSTOM "Kaynak değişkeni, husûsî betikleri veyâ husûsî uygulamaları\n(kurulu uygulamaları değil) belirlemek için kullanılıyor.\n"
IDS_SUCCESS_1 "İşlem başarılı: ""%s"" türünde bir olay ""%s"" kaydında oluşturuldu.\n"
IDS_SUCCESS_2 "İşlem başarılı: ""%s"" türünde bir olay ""%s"" kaynağıyla oluşturuldu.\n"
IDS_SUCCESS_3 "İşlem başarılı: ""%s"" türünde bir olay ""%s"" kaydında ""%s"" kaynağıyla oluşturuldu.\n"
IDS_SWITCH_UNIMPLEMENTED """%s"" seçeneği şimdilik desteklenmiyor, sıkıntı için üzgünüm!\n"
END

Some files were not shown because too many files have changed in this diff Show More