Compare commits

...

712 Commits

Author SHA1 Message Date
David Quintana
5a2e3e9bed [EXPLORER] Update start menu banner 2017-10-26 22:30:14 +02:00
Timo Kreuzer
959d9c6201 [NTOSKRNL] Fix out-of-bounds access (CID-1401083) and potencial memory leak in FsRtlIsNameInExpressionPrivate 2017-10-26 20:52:27 +02:00
Timo Kreuzer
561f18afea [NTOSKRNL] Fix our-of-bounds access and memory leak (CID-1401178, 1401177) in FsRtlIsDbcsInExpression 2017-10-26 20:52:27 +02:00
Giannis Adamopoulos
d310df0dd2 [SHELL32] CDefView: Fix a leak of an HMENU. This fix is thanks to Joachim Henze who found the bug and quickly found the guilty revision. CORE-13911 2017-10-26 21:39:32 +03:00
Giannis Adamopoulos
27fe3d475f [ACPPAGE] Convert CLayerUIPropPage to use CPropertyPageImpl 2017-10-26 12:37:08 +03:00
Giannis Adamopoulos
283afefc4e Add CPropertyPageImpl that allows us to make property pages object oriented 2017-10-26 12:37:08 +03:00
Giannis Adamopoulos
e7c29bb1fc [ATL] Add CHAIN_MSG_MAP macro 2017-10-26 12:37:08 +03:00
Katayama Hirofumi MZ
85ae842105 [WIN32SS] fix font extent.
CORE-13840
2017-10-25 21:10:35 +02:00
Ged Murphy
b10dd06aa5 [KMTEST] Initial usermode support for testing FS mini-filters (#81)
* [KMTEST] Initial usermode support for testing FS mini-filters
- Add base routines to wrap the win32 'Filter' APis
- Add support routines to be used when testing FS filter drivers
- Move KmtCreateService to a private routine so it can be shared with KmtFltCreateService
- Completely untested at the mo, so likely contains bugs at this point
2017-10-25 10:39:55 +01:00
Eric Kohl
5cfc1e3152 [STORPORT] Get the interrupt from the resource list, connect it and call the miniports HwInterrupt routine.
CORE-13866
2017-10-23 23:21:58 +02:00
Serge Gautherie
deb9c5416f CORE-13048. [I8042PRT] keyboard.c: Restore 1 "Irql =" (which was lost in r30000). (#63)
[I8042PRT] Restore 1 "Irql =" (which was lost in r30000). CORE-13048
2017-10-23 21:18:27 +02:00
Alexander Shaposhnikov
b46d3ce5e9 [CONFIGURE] Add -VS_VER flag (#86)
This flag can override the detected version of VS.
Usage example: `configure.cmd vssolution -VS_VER 14`
2017-10-23 19:28:15 +03:00
Pierre Schweitzer
0add5d0a79 [KERNEL32] Fix MSVC build 2017-10-23 17:25:19 +02:00
Pierre Schweitzer
34c39a1336 [KERNEL32] Implement NpGetUserNamep() 2017-10-23 17:09:21 +02:00
Amine Khaldi
f7932ba2de [NTDLL_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:48:05 +01:00
Amine Khaldi
ab3045c504 [INCLUDE/WINE] Update winternl.h. CORE-13762 2017-10-23 13:48:05 +01:00
Amine Khaldi
6595983e83 [REGEDIT_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:48 +01:00
Amine Khaldi
8901d24b00 [QEDIT_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:37 +01:00
Amine Khaldi
bff534936a [PSAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:21 +01:00
Amine Khaldi
3ce9d8ab17 [OPENGL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:02 +01:00
Samuel Serapion
136fabd357 [CRT] Use MAX_PATH for buffer meant to contain an arbitrary path
The cFileName member of WIN32_FIND_DATA is an array of MAX_PATH(260). Using strcpy/wcscpy with the target buffer being smaller is potentially bad. Corresponds to CID 1401198 and 1401195.
2017-10-23 14:44:38 +02:00
Pierre Schweitzer
19cef7806c [KERNEL32] Fix a FIXME in GetNamedPipeHandleStateW and stub a private function for a left unimplemented function 2017-10-23 14:36:18 +02:00
Pierre Schweitzer
3832f83a32 [KERNEL32] Check Basep8BitStringToDynamicUnicodeString() return and only call -W in case of success
CID 1419330
2017-10-23 13:39:44 +02:00
Pierre Schweitzer
19f1cd78c1 [KERNEL32] Check NtQueryInformationFile succeed before using its return. Also fix coding style
CID 512966
2017-10-23 12:36:43 +02:00
Pierre Schweitzer
361664d57f [FFS] Don't leak on failure
CID 1363596
2017-10-23 10:35:21 +02:00
Pierre Schweitzer
34d74fbd17 [FFS] Don't leak memory on volume mount
CID 1363583
2017-10-23 10:35:21 +02:00
Pierre Schweitzer
19bf484a5b [FFS] Don't allocate (and leak :-)) an unused event
CID 1363607
2017-10-23 10:35:21 +02:00
Giannis Adamopoulos
0503d8808c [EXPLORER] Reduce the spam due to the broken CBandSite in browseui 2017-10-23 00:34:38 +03:00
Pierre Schweitzer
5c5d20e50c [REISERFS] Don't leak on failure
CID 1363597
2017-10-22 22:51:02 +02:00
Pierre Schweitzer
2df125472b [REISERFS] Don't leak on failure
CID 1363593
2017-10-22 22:40:21 +02:00
Pierre Schweitzer
05f00fe63b [REISERFS] Don't allocate (and leak :-)) an unused event
CID 1363603
2017-10-22 22:30:22 +02:00
Mark Jansen
31a11bba7e [ATL] Implement CDialogImpl
CORE-13903
2017-10-22 21:18:04 +02:00
Giannis Adamopoulos
143c306006 [BROWSEUI] CBandSiteMenu: Use CSimpleArray and CComHeapPtr. 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos
3bfdbf3b2c [BROWSEUI] Improve CBandSiteBase::OnWinEvent to forward messages correctly to the child bands. 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos
bab9a54039 [BROWSEUI] Add a hack and abuse ISFB_STATE_QLINKSMODE to make the quick launch band to be aligned to left and show no text 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos
ee3b732043 [BROWSEUI] CISFBand: Misc fixes
- Slightly improve the implementation of IShellFolderBand
- Show both folders and files in the toolbar
- Use the name of the folder shown as the name of the band
2017-10-22 20:03:32 +03:00
Giannis Adamopoulos
37e6151b40 [BROWSEUI] CBandSiteMenu: Implement the Desktop, Quick Launch and New Toolbar menu items 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos
0ed80264f9 [BROWSEUI] CBandSiteMenu: Fix two broken loops 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos
3e812a66ff [BROWSEUI] Enable the menu items for the toolbars submenu of the CBandSiteMenu. Also add a new string which will be used in the next commit. 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos
8a52080dcc [BROWSEUI] Rename CISFBand_CreateInstance and add a CISFBand_CreateInstance macro that makes easy to switch between the system implementation or the local one. 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos
ee1cbf51e1 [PSDK] Add some missing definitions from IShellFolderBand 2017-10-22 20:03:32 +03:00
Timo Kreuzer
072d1821e7 [STORPORT] Fix x64 build 2017-10-22 18:31:07 +02:00
Timo Kreuzer
6073359086 [REACTOS] Fix x64 build
- SIZE_T -> ULONG in KsecGatherEntropyData
- Add missing ZwQueryInformationProcess() prototype for x64 build of btrfs
- Fix ml.exe path for VS 2017 Community Edition
- Add missing Handle32ToHandle to basetsd.h
2017-10-22 16:49:04 +02:00
Timo Kreuzer
547b38e022 [NDK] Add tests for TEB 2017-10-22 14:36:18 +02:00
Timo Kreuzer
95827a70e6 [NDK] Fix/improve definition of TEB
This also changes the default definition for NTDDI_VERSION in sdkddkver.h to NTDDI_WS03SP1, when _WIN32_WINNT is _WIN32_WINNT_WS03.
2017-10-22 14:36:18 +02:00
Timo Kreuzer
30cd606fe2 [NDK] fix some rtltypes.h definitions 2017-10-22 14:36:18 +02:00
Eric Kohl
9e642ea15b [STORPORT] Add the InitializeDpc code path to StorPortNotification().
CORE-13866
2017-10-22 09:25:36 +02:00
Eric Kohl
cc95d3ece3 [STORPORT] Implement StorPortNotification() / EnablePassiveInitialization and call the passive initialization routine.
CORE-13866
2017-10-21 23:58:42 +02:00
Eric Kohl
f9f21574ba [STORPORT] Implement parts of StorPortGetPhysicalAddress() that handle the uncached extension.
CORE-13866
2017-10-21 21:55:42 +02:00
Eric Kohl
ec4fe62118 [STORPORT] The miniport drivers HwInitialize routine returns a BOOLEAN. Handle this properly.
CORE-13866
2017-10-21 21:51:25 +02:00
Eric Kohl
dc16ad20a9 [BOOTDATA] This was not meant to be committed. 2017-10-21 18:00:10 +02:00
Eric Kohl
45cc5c0e37 [STORPORT] Implement StorPortGetUncachedExtension().
CORE-13866
2017-10-21 17:56:06 +02:00
Pierre Schweitzer
8eb66fa1b6 [RDBSS] Make it clear that we want to zero all the create parameters
CID 1411975
2017-10-21 15:10:41 +02:00
Amine Khaldi
b8549aef08 [MMDEVAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:10:14 +01:00
Amine Khaldi
8856b0bde3 [WMIUTILS_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:08:03 +01:00
Amine Khaldi
ddb53a4bab [UXTHEME_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:01:30 +01:00
Amine Khaldi
7a90aee56c [SHLWAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:00:13 +01:00
Amine Khaldi
684625e49f [QMGR_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:33:33 +01:00
Amine Khaldi
2f9927dddc [PDH_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:22:17 +01:00
Amine Khaldi
6c2597df71 [ODBCCP32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:15:59 +01:00
Pierre Schweitzer
7601011f4e [MOUNTMGR] Don't attempt to free random address on failure
CID 515354
2017-10-21 14:15:00 +02:00
Amine Khaldi
3a06e69a11 [MSXML3_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:14:13 +01:00
Amine Khaldi
959d60f54a [MPR_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:11:27 +01:00
Amine Khaldi
fec16ab0c0 [MSI] Apply Wine commit fdac39f by Hans Leidekker: Pass correct length to GetDateFormatW. CORE-13902 2017-10-21 11:45:18 +01:00
Pierre Schweitzer
b539380dac [RAPPS] Don't leak handle on success
CID 1419256
2017-10-21 10:49:02 +02:00
Pierre Schweitzer
c274b25c95 [FLOPPY] Fix broken loop
CID 1419440
2017-10-21 10:28:00 +02:00
Amine Khaldi
c15036cf3c [TRAVIS-CI] Increase the git clone depth a bit. 2017-10-19 22:33:24 +01:00
Amine Khaldi
68eadadcc6 [SHELL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-19 22:30:28 +01:00
Amine Khaldi
a6bf4abd2e [PSDK] Add missing KNOWN_FOLDER_FLAG and ILIsEmpty(). CORE-13762 2017-10-19 22:30:28 +01:00
Amine Khaldi
867a81a46b [MSVCRT_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-19 22:30:16 +01:00
Amine Khaldi
cd5b304861 [FONTS] Sync Tahoma and Symbol fonts with Wine Staging 2.16. CORE-13762 2017-10-19 22:30:01 +01:00
Amine Khaldi
9a436e2dfa [KERNEL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-19 22:29:35 +01:00
Amine Khaldi
f61627e540 [PSDK] Add some missing definitions to winbase.h. Import libloaderapi.h from Wine Staging 2.16. CORE-13762 2017-10-19 22:29:35 +01:00
Timo Kreuzer
c66b66656b [NTOSKRNL] Add ASSERTs to make sure, we never use an uninitialized variable 2017-10-19 08:36:57 +02:00
Alexander Shaposhnikov
d385122f1e Create PULL_REQUEST_TEMPLATE.md
This will act as a template for GitHub Pull Requests.
GitHub allows to hide this file in `.github` folder, so I did.
2017-10-17 21:44:07 +03:00
Alexander Shaposhnikov
ba35d63da1 Update README.md: Add CONTRIBUTING mention 2017-10-17 21:12:17 +03:00
Alexander Shaposhnikov
d7c8a57458 Create CONTRIBUTING.md (#46)
CONTRIBUTING.md is a common way to tell external developers on how to contribute.
This way we can link to this file in case of git author name issues for example.
2017-10-17 21:12:17 +03:00
Serge Gautherie
ba507ba439 [SYSSETUP] [USERINIT] "sLanguage" relates to LOCALE_SABBREVLANGNAME actually, not LOCALE_SLANGUAGE. CORE-13128 #62 2017-10-17 13:59:18 +01:00
Eric Kohl
b22c128070 [STORPORT] Implement StorPortGetDeviceBase().
CORE-13866
2017-10-17 00:05:26 +02:00
Giannis Adamopoulos
f0f1e5ffdb [QCKLNCH] Remove qcklnch (#61)
- Move CIFSBand to the shellbars static lib which is linked to browseui and rshell.
- Move CQuickLaunchBand to rshell.
- Make nescessary adjustments so that they can both be registered and instantiated.
2017-10-16 23:56:34 +03:00
Pierre Schweitzer
3a33ab9638 [NTDLL_APITEST] Add simple tests for RtlUnicodeStringToAnsiString() that were used to test the kernel32 regression 2017-10-16 22:04:22 +02:00
Pierre Schweitzer
36abd95390 [DOC] Reflect BtrFS Update
CORE-13896
2017-10-16 20:30:31 +02:00
Pierre Schweitzer
ed263291d1 [UBTRFS] Update to 1.0.1
CORE-13896
2017-10-16 20:30:24 +02:00
Pierre Schweitzer
fb2a56e02a [SHELLBTRFS] Upgrade to 1.0.1
CID 1419312

CORE-13896
2017-10-16 20:30:16 +02:00
Pierre Schweitzer
4672b2ba5e [BTRFS] Upgrade to BtrFS 1.0.1
CID 1419459, 1419378

CORE-13896
2017-10-16 20:29:55 +02:00
Eric Kohl
194df1ba58 [STORPORT] Implement StorPortSetBusDataByOffset.
CORE-13866
2017-10-16 20:06:15 +02:00
Stas'M
1624c1d8c9 [BOOTDATA] Change readme encoding to UTF-8 2017-10-16 19:58:01 +03:00
Giannis Adamopoulos
a08d1f92be [PSDK] Try to fix build 2017-10-16 18:32:23 +03:00
Giannis Adamopoulos
a4576f5509 [STOBJECT] Fix build on linux 2017-10-16 18:21:02 +03:00
Giannis Adamopoulos
3c9aedfd1c [QCKLNCH] Fix gcc build 2017-10-16 18:15:20 +03:00
Giannis Adamopoulos
129f98b473 [PSDK] Fix build. 2017-10-16 18:04:15 +03:00
Shriraj Sawant
7fbc5f4230 [STOBJECT] Implement the hotplug and the power icons in the system tray 2017-10-16 17:51:19 +03:00
Shriraj Sawant
7a3865f1df [QCKLNCH] Implement the quick launch shell extension including the CISFBand 2017-10-16 17:51:12 +03:00
Giannis Adamopoulos
d114f48fd4 [PSDK] Add CLSID_ISFBand, IShellFolderBand and IFolderBandPriv 2017-10-16 17:51:11 +03:00
Colin Finck
a7d388c350 [KD] [KD64] Introduce KdpPrintBanner and use it in all places where we print the (now consistent) banner instead of copying the code over and over again.
I still don't like that we're copying code between KD and KD64 instead of sharing it.
But as both modules are totally distinct at the moment, I won't be the one introducing shared functions between them.

This is a follow up to 50ae5e7c52, which TortoiseGit accidentally turned into a "Message only" commit...
Never hit ALT+Y by mistake! ;)
2017-10-16 11:47:14 +02:00
Colin Finck
50ae5e7c52 [KD] [KD64] Introduce KdpPrintBanner and use it in all places where we print the (now consistent) banner instead of copying the code over and over again.
I still don't like that we're copying code between KD and KD64 instead of sharing it.
But as both modules are totally distinct at the moment, I won't be the one introducing shared functions between them.
2017-10-16 11:40:52 +02:00
Colin Finck
2cf30244cf [KD] Output the long commit hash as well at the start of the debug log.
This will be used by Testman.
Previously, it had to translate the short hash from the build number to a long hash, but such a database (GitInfo) only exists for commits in the master branch.
2017-10-16 10:38:12 +02:00
Eric Kohl
b21019e3d1 [STORPORT] Query the bus interface of the lower (bus) device and implement StorPortGetBusData().
CORE-13866
2017-10-16 00:13:21 +02:00
Eric Kohl
3f5aeb9363 [STORPORT] Attach copies of the resource lists to the FDO device extension and use them to fill the access ranges in the port configuration.
Storahci does not crash on initialization any more. :-)
CORE-13866
2017-10-15 15:21:56 +02:00
Pierre Schweitzer
6808e7d25b [LIBTIRPC] Fix CVE-2017-8779 by backporting its fix
CORE-13460
2017-10-15 13:55:07 +02:00
Eric Kohl
dd0027ba19 [STORPORT] Initialize the port configuration and pass it to the HwFindAdapter routine. 2017-10-15 13:10:08 +02:00
Pierre Schweitzer
eb05356a26 [KERNEL32_APITEST] Add a few tests for GetVolumeInformation that were used to fix previous issues 2017-10-15 10:44:50 +02:00
Pierre Schweitzer
5bfc68cc14 [KERNEL32] Fix buffer size for allocation in GetVolumeInformationW(). This fixes function failing with big enough buffer. 2017-10-15 10:43:49 +02:00
Eric Kohl
42cb5353b8 [STORORT] Allocate the miniport device extension and use it the calls to HwFindAdapter and HwInitialize.
CORE-13866
2017-10-15 00:06:22 +02:00
Pierre Schweitzer
dc8bfeabcf [KERNEL32] Use proper size for allocating buffer in GetVolumeInformationA(). This was leading to allocate a too small buffer under certain conditions and to overrun it.
This fixes JRE7 setup.
This regression was brought in by r75969.

CORE-13888
2017-10-14 23:19:12 +02:00
Eric Kohl
8dea67f8ba [STORPORT] Initialize a miniport object and call the miniport HwFindAdapter and HwInitialize routines.
CORE-13866
2017-10-14 19:12:24 +02:00
Giannis Adamopoulos
da5b61f32f [EXPLORER] Remove an unnecessary refresh of the rebar and its bands. 2017-10-14 18:42:37 +03:00
Eric Kohl
804092f41b [BOOTDATA]: Add the storport and storahci to the boot configuration.
Enable 'PCI\CC_0106 = storahci' and disable 'PCI\CC_0106 = uniata' in order to enable the storahci driver for AHCI controllers.
2017-10-14 00:22:36 +02:00
Thomas Faber
bf74391dcd [USBPORT] Avoid more integer overflows. 2017-10-13 23:36:29 +02:00
Thomas Faber
a45779a12f [USBPORT] Avoid a benign integer overflow in USBHI_QueryDeviceInformation (CID 1419219). 2017-10-13 23:36:29 +02:00
Thomas Faber
45741cdf3a [USBPORT] Remove unnecessary null check in USBPORT_HandleSubmitURB (CID 1419367). 2017-10-13 23:36:29 +02:00
Thomas Faber
a237edf4bb [USBPORT] Fix ControllerName leak in USBPORT_GetUnicodeName (CID 1419258). 2017-10-13 23:36:29 +02:00
Thomas Faber
b5289a2f6e [USBPORT] Fix level check in USBDI_QueryBusInformation (CID 1419403). 2017-10-13 23:36:29 +02:00
Serge Gautherie
41b94fd17b [INTL]: Simplify code (addendum to r74582). (#41)
CORE-13242
2017-10-13 22:24:37 +02:00
Eric Kohl
28f30ba854 [STORAHCI] Make the storahci driver build on gcc and add it to the build. 2017-10-13 21:52:38 +02:00
Waritnan Sookbuntherng
1128447196 [WIN32K][DESK.CPL]: Add fit and fill background placement options (#28)
- WIN32K and DESK.CPL: Add fit and fill background placement options.
- DESK.CPL: Define wallpaper placement constants; update translations.
- WIN32K: Fix coding style.
CORE-13360
2017-10-13 21:44:02 +02:00
Hermès Bélusca-Maïto
30bfd8afad [STORPORT]: Fix build: declare STORPORT_API functions as exports. 2017-10-12 23:14:08 +02:00
EricKohl
b2c6c07d0f [STORPORT] Start the implementation of the storport driver and add it to the build.
CORE-13866
2017-10-12 22:41:47 +02:00
gedmurphy
637276f1ab Merge branch 'master' of https://github.com/reactos/reactos 2017-10-12 21:36:29 +01:00
Ged Murphy
650cca217a [FLTMGR]
- Implement FltGetVolumeProperties
- Internal structs taken from public pdbs
2017-10-12 21:32:21 +01:00
gedmurphy
1473c522cf [FLTMGR]
- Implement FltGetVolumeProperties
- Internal structs taken from public pdbs
2017-10-12 21:06:41 +01:00
EricKohl
2a4ea213fa [SRVSVC] Implement NetrServerStatisticsGet(). 2017-10-12 17:57:45 +02:00
Ged Murphy
9d15fb9279 Start to implement fltmgr tests [WIP] (#52)
[FLTMGR]
- Partially implement registering contexts
- Add a misc file which contains stubs of the APIs needed in the test suite
- Export some APIs needed by the test suite

[KMTESTS]
- Create a File System Mini-filter wrapper to host drivers for the filter manager tests
- Add a test file which will be used for testing that mini-filters load correctly
- Add a test file which will be used to write tests for IRP_MJ_CREATE requests
2017-10-12 15:32:30 +01:00
Alisson Lauffer
5d0a122ff6 [TRANSLATION]: Brazilian Portuguese translation update for input.cpl (#51) 2017-10-12 00:10:23 +02:00
EricKohl
5048dc8930 [WKSSVC] Implements NetrWorkstationStatisticsGet().
Should fix CORE-13867 and CORE-13868.
2017-10-11 22:55:01 +02:00
Jared Smudde
a8ad1702da [SYSSETUP] Change "Select the theme you prefer" to "Select the theme you prefer." to fit in with the other titles in second stage setup. 2017-10-11 13:22:24 +02:00
Serge Gautherie
9b1e056e8f [FREELDR] Discard empty entries in PcMemGetBiosMemoryMap. CORE-13332
Improve a TRACE() from f588de2e79.
2017-10-11 13:20:15 +02:00
Pierre Schweitzer
78e5caaec2 [RDBSS] Fix broken cast when comparing DFS magic values
CID 1419139
2017-10-11 08:38:26 +02:00
Pierre Schweitzer
f9b26bc0f2 [RXCE] Don't remove uninitialized list entry
CID 1419234
2017-10-11 08:31:36 +02:00
Pierre Schweitzer
151869c6ef [RDBSS] Avoid uninit var usage.
CID 1419475
2017-10-11 08:20:48 +02:00
Stopkin Sergey
74cc91524a [GETUNAME] Update the Russian translation. #45 CORE-13222 2017-10-10 13:03:32 +01:00
Adam Słaboń
9c790dfc3b Polish translation update (#29)
* Polish translation update
2017-10-10 12:14:38 +02:00
Amine Khaldi
cf8c9bc312 [TRAVIS-CI] We only need to keep going despite errors in the ninja step. 2017-10-09 23:22:08 +01:00
Hermès Bélusca-Maïto
496b1cb951 Don't stop compilation at the first error.
This gives developers a chance to see at once all the potential
errors that can exist which could make further compilations fail.
2017-10-09 20:59:26 +02:00
Amine Khaldi
54e277d6b5 [CMAKE] Update baseaddress.cmake for the GCC builds. 2017-10-09 12:35:20 +01:00
Mark Jansen
4dafcc5ea2 [MSI] Fix a buffer overrun in build_default_format CORE-13881
Imported wine commit:
f517022: msi: Fix an invalid write in build_default_format (Valgrind).
2017-10-09 12:33:18 +01:00
Amine Khaldi
15786900c9 [MSI] Addendum to 71bffdc as I removed this unintentionally. 2017-10-09 12:32:09 +01:00
Alexander Shaposhnikov
48b2714578 README.md: Fix missing links 2017-10-09 05:03:46 +03:00
Alexander Shaposhnikov
7cffc6d5ce README.md: Added badges
Added various badges: CI, SourceForge, GitHub stats etc.
Centered image
Fixed some typos
2017-10-09 04:56:51 +03:00
Sergey Stopkin
c8d97709cb CORE-13875 Added russian translation for timeout util 2017-10-08 18:14:44 +02:00
Victor Kukshiev
2ece6171c0 ru calculator translation update 2017-10-08 18:12:09 +02:00
Timo Kreuzer
c22817db06 [NDK] Improve NDK tests for KTHREAD and add them to build 2017-10-08 18:11:07 +02:00
Timo Kreuzer
b8bd38c860 [NDK] Add Win8+ version of KTHREAD 2017-10-08 18:11:07 +02:00
Timo Kreuzer
d176ddedd6 [XDK] Fix KWAIT_BLOCK definition for Win8+ 2017-10-08 18:11:07 +02:00
Adam Stachowicz
8b8108ddee [TRAVIS-CI] Fix formatting and move "./RosBEBinFull/RosBE.sh < tmp_file" to script for better 'Job Log' readability. 2017-10-08 14:54:43 +01:00
Hermès Bélusca-Maïto
d260385023 [KERNEL32]: Add a .gitattributes file for the winnls resource files.
The .nls files in winnls are actual resource text files for kernel32 and not binary NLS files.
Therefore treat them as such.
2017-10-08 15:48:07 +02:00
Hermès Bélusca-Maïto
0436a4c73b Add a small descriptive comment for the reason why the chosen files are specified in a .gitattributes file. 2017-10-08 15:48:07 +02:00
Amine Khaldi
e7054d7688 [AMSTREAM] We don't need to define WIDL_C_INLINE_WRAPPERS here anymore. 2017-10-08 14:32:50 +01:00
Amine Khaldi
e38cdd2f62 [MSCOREE] Fix build. 2017-10-08 14:28:58 +01:00
Amine Khaldi
6cdefd33e1 [PSDK] Update unknwn.idl. CORE-13762 2017-10-08 14:07:28 +01:00
Timo Kreuzer
24856b8de6 [NTOSKRNL] Add back parentheses that got removed in r75605 2017-10-08 14:53:04 +02:00
Amine Khaldi
891d81e058 [WIDL] Sync with Wine Staging 2.16. CORE-13762
b42a155 widl: Handle C++ aggregate returns in a MSVC compatible way.
084fa63 widl: Only generate Proxy Stubs when functions have the call_as attribute.
fbdf119 widl: Try to find imported typelib using .tlb extension if it wasn't specified.
2017-10-08 13:41:50 +01:00
Amine Khaldi
561bed7b55 [ADVAPI32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-08 13:41:17 +01:00
Amine Khaldi
babc61c5ee [PSDK] Add missing CreateRestrictedToken() declaration. CORE-13762 2017-10-08 13:41:17 +01:00
Amine Khaldi
d77464b3d6 [TRAVIS-CI] Initial version of the Travis-CI script. 2017-10-08 13:38:07 +01:00
Amine Khaldi
57cda5aa7d [MSDMO] Fix build. 2017-10-08 12:28:23 +01:00
Amine Khaldi
7d346cbc73 [SHLWAPI] Highlight a difference and mark the module as synced with Wine Staging 2.16. CORE-13762 2017-10-08 12:09:52 +01:00
Amine Khaldi
0c6498fa67 [MSIEXEC] Sync with Wine Staging 2.16. CORE-13762
d73c38f msiexec: Fix parsing of command lines where quoted strings and properties are not separated by whitespace.
2017-10-08 12:08:41 +01:00
Amine Khaldi
84ccccabe0 [WMVCORE_WINETEST] Import from Wine Staging 2.16. CORE-13762 2017-10-08 11:49:33 +01:00
Amine Khaldi
ea59f30f86 [WMVCORE] Sync with Wine Staging 2.16. CORE-13762
998fe04 wmvcore: Support IWMPacketSize2 interfaces in IWMReader.
0570cf9 wmvcore: Support IWMProfile3 interfaces in IWMReader.
98e94b2 wmvcore: Support IReferenceClock interfaces in IWMReader.
163aac1 wmvcore: Support IWMLanguageList interfaces in IWMReader.
b1702c4 wmvcore: Support IWMHeaderInfo/2/3 interfaces in IWMReader.
73f8066 wmvcore: Support IWMReaderPlaylistBurn interface in IWMReader.
b15c398 wmvcore: Support IWMReaderTimecode interface in IWMReader.
465feb7 wmvcore: Support IWMReaderTypeNegotiation interface in IWMReader.
437c667 wmvcore: Support IWMReaderStreamClock interface in IWMReader.
34b9b10 wmvcore: Support IWMReaderNetworkConfig1/2 interfaces in IWMReader.
94af027 wmvcore: Support IWMReaderAccelerator in IWMReader.
3f6b7c3 wmvcore: Add WMCheckURLScheme stub.
7381cec wmvcore: Implement WMCreateWriterPriv.
2017-10-08 11:49:33 +01:00
Amine Khaldi
c95f8e51d3 [PSDK] Update wmsdkidl.idl and import some of its related idl files from Wine Staging 2.16. CORE-13762 2017-10-08 11:49:33 +01:00
Amine Khaldi
dc0774d8d0 [PSDK] Update mmreg.h and rpcndr.h. CORE-13762 2017-10-08 11:49:33 +01:00
Amine Khaldi
85d9a38ac0 [D3DX9_24 => 43] Sync with Wine Staging 2.16. CORE-13762 2017-10-08 11:48:29 +01:00
Amine Khaldi
2f8e6f711c [MSI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-08 11:31:31 +01:00
Amine Khaldi
71bffdcde9 [MSI] Sync with Wine Staging 2.16. CORE-13762
cb4c1dc msi: Always return MSIDBSTATE_ERROR when MsiGetDatabaseState is called from a custom action.
04d242d msi: Create dummy thread to initialize COM for custom actions.
52fbaeb msi: Add support for ActionText table.
700ebc8 msi: Return the correct values from dialogs.
a3dd99c msi: Return the current date and time.
4ccc82a msi: Use the Error table for more messages.
77e3d33 msi: Use MsiProcessMessage() to send error messages.
3ca2dfe msi: Avoid uninitialized pointer access on error path (Coverity).
d631714 msi: Add a trailing linefeed to a FIXME() trace.
39c2ff0 msi: Send the dialog created message in dialog_create().
14f865e msi: Don't queue a parent dialog to be shown in EndDialog.
8826584 msi: Process ShowDialog/EndDialog after all other control events.
44fb23d msi: Don't set _BrowseProperty.
b4c39f4 msi: Avoid a null pointer dereference.
51bd884 msi: Properly parse empty format strings.
16f0dff msi: Return the correct values from custom actions.
f348c7c msi: Rewrite dump_record().
f9c68df msi: Use the given record for INSTALLMESSAGE_ACTIONDATA.
c788ed85 msi: Provide the result of the last action.
1505912 msi: Allow setting NULL in MsiSetInteger().
f9f53fe msi: Correctly format the template field for MsiProcessMessage().
3033dae msi: Implement UI messages for dialogs.
5da9250 msi: Don't increment the refcount when creating dialogs.
48237e2 msi: Add a basic internal UI implementation.
39b841d msi: Fix a buffer overrun.
9032279 msi: Implement UI messages in MsiOpenPackage().
bcc4a04 msi: Implement INSTALLMESSAGE_INITIALIZE and INSTALLMESSAGE_TERMINATE.
a388906 msi: Send the correct UI messages upon calling MsiDoAction().
de5246a msi: Don't reimplement record formatting.
4e49ae3cc msi: Pass the given record to the callback.
df31a7c msi: Store string and record callback data separately.
cef6799 msi: Use an external UI record handler before a string handler.
2017-10-08 11:31:31 +01:00
Amine Khaldi
154006810e [PSDK] Update msi.h. CORE-13762 2017-10-08 11:31:31 +01:00
Sylvain Deverre
c51df789e8 [WDMAUD] Close mixers on cleanup. Should fix CORE-10735 definitely (#21)
[WDMAUD] Close mixers on cleanup. CORE-10735
2017-10-08 11:29:17 +02:00
Pierre Schweitzer
d788a52c79 [KERNEL32_APITEST]: Add tests for IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME that show its usage is "one-shot". Once queried, it gets forgotten. 2017-10-08 10:12:08 +02:00
Mark Jansen
48fe08654d [URLMON] Convert urlmon.inf to utf8 since git insists on fucking up utf16 files. 2017-10-07 23:43:57 +02:00
Hermès Bélusca-Maïto
66c2299bfe Fix encoding of some INF files (-> UTF-8 without BOM). 2017-10-07 22:21:22 +02:00
Mark Jansen
da27e0026a [URLMON] Remove BOM from urlmon.inf 2017-10-07 22:11:41 +02:00
Aditya Giri
1600baa762 Fix typo 2017-10-07 19:53:43 +03:00
Pierre Schweitzer
ac8d045461 [KERNEL32_APITEST]: Rewrite DeviceIoControl to test both disk.sys and cdrom.sys 2017-10-07 14:07:06 +02:00
Amine Khaldi
bd6e933ca5 [MSI] Group translations into the lang folder. 2017-10-07 12:41:53 +01:00
Pierre Schweitzer
dcff3c9298 Add modules/optional to .gitignore 2017-10-07 13:26:01 +02:00
Pierre Schweitzer
d3b4f09eb3 [KERNEL32_APITEST]: Fix uninit stack var usage 2017-10-07 12:11:17 +02:00
Pierre Schweitzer
a6b61b855c [KERNEL32_APITEST]: Add few tests for IOCTL_MOUNTDEV_QUERY_UNIQUE_ID 2017-10-07 12:09:27 +02:00
jimtabor
31aab36e88 [Win32SS]
- Merge path objects with gdi path structure. See CORE-13536.
2017-10-06 11:54:27 -05:00
Colin Finck
da53a9399a [WS2_32_APITEST] Make the apitest fully C89-compliant to fix building under MSVC 2010.
In C89, you can only initialize the first member of a union within a declaration. Unfortunately, that is the S_un_b UCHAR array for the S_un union inside struct in_addr.
So we have to initialize it with each UCHAR member of Address.
2017-10-06 17:33:47 +02:00
Colin Finck
950c86fb4c Fix remaining text file line endings in the tree. (#18)
Based on https://stackoverflow.com/a/1511273

Also enforce CRLF for all *.xml files in our tree, because they are distributed with ReactOS.
2017-10-06 15:00:36 +02:00
Hermès Bélusca-Maïto
3cd76b91b5 [INCLUDE]: ntddrdsk.h: Fix "__cplusplus" and the ramdisk GUID definitions. 2017-10-06 01:08:10 +02:00
Hermès Bélusca-Maïto
fce8e1b595 [INCLUDE]: ntddrdsk.h: align defs on multiple of 4-space tab. 2017-10-06 01:08:10 +02:00
gigaherz
aff6757284 [NTUSER] Fix rogue CR in a LF-only file. 2017-10-06 00:04:46 +02:00
Pierre Schweitzer
d7ee95b28b [KERNEL32]: w2k3ify GetDriveTypeA() 2017-10-05 23:43:10 +02:00
Pierre Schweitzer
cb17d5dba4 [KERNEL32]: Reimplement GetDriveTypeW(). This allows providing a quick path for DOS drives and fixes a few detection cases. It allows brings in support for mount points. 2017-10-05 23:41:26 +02:00
Pierre Schweitzer
676bd0cf37 [KERNEL32]: Finally get rid of no longer used function InternalOpenDirW() 2017-10-05 22:14:44 +02:00
Pierre Schweitzer
8b6518139d [KERNEL32]: Reimplement GetDiskFreeSpaceExA() to make it w2k3 compliant 2017-10-05 22:14:44 +02:00
Pierre Schweitzer
1e2424ee98 [KERNEL32]: Refactor a bit GetDiskFreeSpaceExW(), no ground breaking changes 2017-10-05 22:14:44 +02:00
Pierre Schweitzer
87448f3d8b [KERNEL32]: Reimplement GetDiskFreeSpaceA() to make it w2k3 compliant 2017-10-05 22:14:44 +02:00
Pierre Schweitzer
5bee374c82 [KERNEL32]: Reimplement GetDiskFreeSpaceW() to fix various issues in it. It also brings support for appcompat 2017-10-05 22:14:44 +02:00
Serge Gautherie
55ae20931f [FREELDR] Properly check for end-of-memory-map entries when skipping ranges smaller than page size.
CORE-12881

Signed-off-by: Timo Kreuzer <timo.kreuzer@reactos.org>
2017-10-05 19:19:42 +02:00
Serge Gautherie
274ace05b2 [FREELDR] Add 64 bit alignment macros (ULONGLONG_ALIGN_UP/DOWN_BY) for aligning physical addresses that can be larger than 4GB and the default macros truncate to ULONG_PTR.
CORE-12881

Signed-off-by: Timo Kreuzer <timo.kreuzer@reactos.org>
2017-10-05 19:19:42 +02:00
Serge Gautherie
f588de2e79 [FREELDR] Improve trace prints in pcmem.c, no logical changes
CORE-12881

Signed-off-by: Timo Kreuzer <timo.kreuzer@reactos.org>
2017-10-05 19:19:42 +02:00
Timo Kreuzer
5c4d857407 [WIN32K] Add a comment regarding UserEnterExclusive() in UserGetDesktopDC()
This is a test-commit using GitHubs SVN interface.
2017-10-05 18:40:33 +02:00
Pierre Schweitzer
75f1637f37 [CLASS2]: Fix status code on too small as exposed by kernel32:DeviceIoControl 2017-10-04 21:13:25 +02:00
Alexander Shaposhnikov
9f8693a4e4 Delete README 2017-10-04 22:09:27 +03:00
Colin Finck
71fba9dea1 [VERSION] Use --abbrev=7 for "git describe" to enforce a short hash of 7 characters no matter what the default is for your Git installation. 2017-10-04 20:49:43 +02:00
Colin Finck
9ebf43567d Add .gitattributes and .gitignore files and normalize line endings in the repository (#10) 2017-10-04 20:37:32 +02:00
Goblenus
c609406c2f Fix url typo in README (#9) 2017-10-04 11:40:37 +03:00
Hermès Bélusca-Maïto
f9b6429468 Delete "ghost" old(*) files that have been mysteriously added back during the SVN-to-Git transition.
To check that these changes are correct, checkout in a directory (let's call it "ros_svn") the /trunk/reactos/ of our read-only SVN repo r76032 and in /trunk/reactos/modules/, the rosapps, rostests and wallpapers.
In a second directory (let's call it "ros_git"), clone the corresponding Git-converted ReactOS directory.
Before applying this patch (and the previous one that added back the empty directories), you should see additional files in ros_git that are not in ros_svn, corresponding to these files I'm deleting here (plus some .gitignore files),
and you should also see additional files in ros_svn that do not appear in ros_git: these are the empty directories I've restored in my previous patch.

Now, after the application of both the previous patch that restores the empty directories (and deletes the .gitignore files), and this patch that removes the ghost files, you should only see that the only differences
between ros_git and ros_svn are the extra .keep files in the empty directories, and that's all!

Command-line for the tests:
diff --strip-trailing-cr -r ros_svn ros_git > diff_svn2git.txt

"-r" means recursive, and "--strip-trailing-cr" ignores the CR-LF vs. LF (or CR) EOLs.

(*): by "ghost" old(*) files I understand files that existed previously in the far past, that then were deleted long ago in SVN, and that popped out back during the Git migration.
2017-10-04 10:28:36 +02:00
Hermès Bélusca-Maïto
acdf04bad2 Add .keep guard files in order to restore lost but empty directories we had with SVN.
Note that when you start populating these directories, you can remove the associated .keep guard file(s)!
2017-10-04 10:28:36 +02:00
Hermès Bélusca-Maïto
221ed4cefe Remove unwanted .gitignore files. 2017-10-04 10:28:36 +02:00
Sergei Abramov
b4f0a71f90 [NTOBJSHEX] Fix typo.
Patch by Sergei Abramov.
CORE-13863
2017-10-04 10:16:12 +03:00
Alexander Shaposhnikov
42051b6055 Readme Markdown Page (#2)
Create README.md
2017-10-04 08:28:08 +03:00
Pierre Schweitzer
e48d6a658f [CLASS2]: Cosmetic fixes by Thomas 2017-10-03 21:34:00 +02:00
Pierre Schweitzer
fdb72d7f85 [CLASS2]: - In ScsiClassCreateDeviceObject() don't drop received object name and store it in the device extension
- Implement support for the IOCTL_MOUNTDEV_QUERY_DEVICE_NAME IOCTL; return the store device name
2017-10-03 21:34:00 +02:00
tkreuzer
6882d62790 [REGEDIT] Support editing REG_FULL_RESOURCE_DESCRIPTOR values 2017-10-03 20:33:31 +02:00
Colin Finck
417e262dfc Build rosapps, rostests, wallpapers when their CMake variables are set instead of checking for directory existence.
By default, ReactOS will now build without any of these modules.
You can enable them using e.g. "configure -DENABLE_ROSTESTS=1".
2017-10-03 16:36:59 +02:00
Colin Finck
b9cf2e37f3 Supply the source directory as working directory when launching Git commands. Should fix retrieving the Git hash on the build machines. 2017-10-03 15:29:13 +02:00
Colin Finck
3d6040615a Make ReactOS report the Git revision as output by "git describe".
- REVISION is now something like "0.4.7-dev-53-g1304b53" instead of "r12345".
- Change WINDOWS_NT_BANNER to better represent the ReactOS version and the reported NT version.
- Introduce REACTOS_COMMIT_HASH which contains the full 40-character commit hash (for comparing revisions, e.g. in rosautotest/testman).
2017-10-03 12:55:38 +02:00
Colin Finck
c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
Pierre Schweitzer
b94e2d8ca0 [CLASS2]
It's up to class drivers to handle MountMgr requests. So, make it handle them, even though that's just to fail because it's not implemented.
This will stop IOCTLs to be sent down in the storage stack.

svn path=/trunk/; revision=76032
2017-10-03 06:40:08 +00:00
Pierre Schweitzer
350ede0c7f [KERNEL32]
Reimplement GetVolumePathNameW(). This fixes a lot of failing Wine tests.
Note that three of them are not fixed, which is a good thing as these also fail in the WHS bot!

svn path=/trunk/; revision=76031
2017-10-03 06:19:12 +00:00
Hermès Bélusca-Maïto
b896e9a9c3 [CMD]: New CTTY command.
- Introduce back the CTTY command (that normally only exists on DOS
  versions of COMMAND.COM but doesn't on Windows NT' CMD.EXE), whose aim
  is to "change the active terminal" (syntax: CTTY <dos_device>). To
  achieve that we actually redirect STDIN, STDOUT and STDERR to read/write
  handles opened to the <dos_device>. This is very handy when it comes to
  redirecting all the standard handles to e.g. a serial terminal ("CTTY COM1"
  for example).
- Fix some typos in the resources.

svn path=/trunk/; revision=76029
2017-10-02 17:03:01 +00:00
Eric Kohl
084f682e54 [DDK]
Prepare the storport header file for the new storport driver.

svn path=/trunk/; revision=76028
2017-10-02 12:56:27 +00:00
Pierre Schweitzer
9c82138c3c [KERNEL32]
Avoid an use-after-free in GetVolumeNameForRoot()

svn path=/trunk/; revision=76027
2017-10-01 21:29:53 +00:00
Timo Kreuzer
bed6d00963 [WIN32U] Rename win32kdll to win32u, which is the "official" name on Windows 10
svn path=/trunk/; revision=76026
2017-10-01 17:41:11 +00:00
Pierre Schweitzer
a0b2ac0ff9 [KERNEL32]
- Implement the internal functions: GetVolumeNameForRoot(), BasepGetVolumeNameFromReparsePoint(), BasepGetVolumeNameForVolumeMountPoint() that allow querying the volume name (GUID form) given a volume root
- Reimplement GetVolumeNameForVolumeMountPointW() with the new internal function BasepGetVolumeNameForVolumeMountPoint() this fixes a few bugs and adds supports for reparse points
- Reimplement GetVolumeNameForVolumeMountPointA() to make it w2k3 compliant 

Note that I dropped copyrights in the header, as everything got reimplemented

svn path=/trunk/; revision=76025
2017-10-01 16:36:37 +00:00
Hermès Bélusca-Maïto
b77e16847d [CMD]: Fix inclusion order.
svn path=/trunk/; revision=76024
2017-10-01 16:33:33 +00:00
Hermès Bélusca-Maïto
2280ba6846 [CMD]: Use the CONUTILS library (Part 1/x) for an uniform and consistent experience across command-line tools.
- Make most of CMD use the conutils library. This means that
  now we explicitely use the CON_STREAM objects. In particular code
  handling STDIN/OUT/ERR redirection should be handled with care.
- Factor out much of console-related support code into console.c.
  Code for console input is however not "CON_STREAM-enabled" yet.
- Change ConOutPrintfPaging prototype to make it return TRUE/FALSE
  when it can continue paged-printing or not, respectively.
CORE-13860

svn path=/trunk/; revision=76023
2017-10-01 16:30:39 +00:00
Hermès Bélusca-Maïto
0599206b8b [CONUTILS]: Add some string resources functions that can support a specified hModule parameter, and add small construction helpers for CON_SCREEN and CON_PAGER.
svn path=/trunk/; revision=76022
2017-10-01 16:03:44 +00:00
Timo Kreuzer
d47bb60c1c [REACTOS] Replace comparison against TRUE with comparison against FALSE
Based on patch by Love Nystrom

svn path=/trunk/; revision=76021
2017-10-01 14:42:04 +00:00
Timo Kreuzer
87fcad8440 [RTL/x64] Fix logic in RtlpTryToUnwindEpilog
svn path=/trunk/; revision=76020
2017-10-01 14:36:21 +00:00
Timo Kreuzer
555300d680 [RTL/x64] Support frames to skip in flags to RtlWalkFrameChain
svn path=/trunk/; revision=76019
2017-10-01 14:34:26 +00:00
Pierre Schweitzer
37630ef0ab [NDK]
Define REPARSE_DATA_BUFFER so that we can stop redefining it everywhere...

svn path=/trunk/; revision=76018
2017-10-01 12:56:00 +00:00
Timo Kreuzer
d2f383360b [FREELDR] Simplify DebugDumpBuffer
svn path=/trunk/; revision=76017
2017-10-01 11:08:26 +00:00
Timo Kreuzer
256494ee63 [MPU401] Move registry entries for mpu401.sys from hivesys.inf to it's own registry inf file.
This file is not used, since we don't even build the mpu401 driver.

svn path=/trunk/; revision=76016
2017-10-01 10:56:32 +00:00
Timo Kreuzer
5f052cf911 [VGA_NEW] Remove duplicated enable.c from CMakeLists.txt
svn path=/trunk/; revision=76015
2017-10-01 10:25:05 +00:00
Timo Kreuzer
fe39f082e1 [VGA_NEW] Add CMakeLists.txt and fix build
svn path=/trunk/; revision=76014
2017-10-01 10:17:30 +00:00
Timo Kreuzer
ce9ba19614 [INTRIN] Add missing _cdecl attributes
svn path=/trunk/; revision=76013
2017-10-01 10:14:03 +00:00
Pierre Schweitzer
8ded1b5746 [KERNEL32]
Implement GetVolumePathNamesForVolumeNameW()

svn path=/trunk/; revision=76012
2017-10-01 08:23:06 +00:00
Timo Kreuzer
c500afd0fa [GDI32] Remove obsolete function GdiIsHandleValid, which is just a copy of GdiValidateHandle
svn path=/trunk/; revision=76011
2017-10-01 07:53:54 +00:00
Hermès Bélusca-Maïto
552e8c13bb [CMD]: Improve ExecuteAutoRunFile() with validity checks.
svn path=/trunk/; revision=76010
2017-09-30 22:12:21 +00:00
Hermès Bélusca-Maïto
11f7d225c8 [CMD]: Small refactoring:
- Moving ConGetDefaultAttributes() in console.h;
- Moving some SDK inclusions into precomp.h;
- Removing extern HANDLE hIn; and localize the SHORT maxx/y variables;
- Comment fix;
- Whitespace fixes for screen.c.

svn path=/trunk/; revision=76009
2017-09-30 21:37:34 +00:00
Hermès Bélusca-Maïto
d7bbf5ad8a [CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD. Part 3/x
svn path=/trunk/; revision=76008
2017-09-30 21:05:49 +00:00
Hermès Bélusca-Maïto
03f438982b [CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD. Part 2/x
svn path=/trunk/; revision=76007
2017-09-30 19:52:30 +00:00
David Quintana
e97875595e [FATTEN]
Fix copypasta.

svn path=/trunk/; revision=76006
2017-09-30 19:19:30 +00:00
David Quintana
26b0b23a26 [FATTEN]
Improve the error checking and error messages a bit.

svn path=/trunk/; revision=76005
2017-09-30 19:11:22 +00:00
Hermès Bélusca-Maïto
c94595ce44 [TIMEOUT]: Italian translation by Carlo Bramini.
CORE-13856 #resolve #comment Committed in r76004, thanks!

svn path=/trunk/; revision=76004
2017-09-30 17:34:05 +00:00
Hermès Bélusca-Maïto
f23489fd32 [CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD.
svn path=/trunk/; revision=76003
2017-09-30 15:28:06 +00:00
Hermès Bélusca-Maïto
31530e9e62 [CMD]: Move console management prototypes to their own header.
svn path=/trunk/; revision=76002
2017-09-30 15:09:38 +00:00
Hermès Bélusca-Maïto
9254157290 [CMD]: Addendum to r76000, with ConSetTitle.
svn path=/trunk/; revision=76001
2017-09-30 14:26:34 +00:00
Hermès Bélusca-Maïto
c1596e7b3a [CMD]: Little refactoring to lay out the way to using the CONUTILS library in CMD.
- Move the code used to beep, clear screen, and color the screen into console.c ;
- Rename SetScreenColor into ConSetScreenColor, and invert its second parameter (bNoFill -> bFill); its default behaviour is to fill all the screen.

svn path=/trunk/; revision=76000
2017-09-30 14:10:21 +00:00
Hermès Bélusca-Maïto
3c9f2e199f [CMD]: Minor modifications in the files I'm going to touch next:
- Use ARRAYSIZE() instead of hardcoding string buffer max. number of chars.
- Un-globalize a variable; remove dead defines.
- Minor code formatting fixes.

svn path=/trunk/; revision=75999
2017-09-30 14:04:24 +00:00
Timo Kreuzer
4f39e403dc [MSVCRT] Export _pwctype
How did CRTDLL, which forwards _pwctype_dll to msvcrt._pwctype, ever link?

svn path=/trunk/; revision=75998
2017-09-30 12:43:08 +00:00
Hermès Bélusca-Maïto
cd45987d1a [CMD]: Diverse improvements:
- Add pre-support for "enable extensions".
- Load CMD settings at startup from the registry (from HKLM and HKCU
  Software\\Microsoft\\Command Processor reg key), as done by Windows' CMD.EXE.
- Add support for CMD.EXE /E(:OFF), /X, /Y command-line switches.
- Correctly set the console colors when using CMD.EXE /T: switch.
- Start support for two control characters for the completion: the standard CompletionChar
  and the PathCompletionChar (if one desires to autocomplete *just* directory
  names -- or associated -- but not everything), as Windows' CMD.EXE offers.

svn path=/trunk/; revision=75997
2017-09-30 11:39:08 +00:00
Hermès Bélusca-Maïto
7d6b5d99a6 [ASM]: CORE-13850 #comment Fix MASM compilation errors with the CFI annotation macros substitutes (broken by r75989).
svn path=/trunk/; revision=75996
2017-09-30 10:29:50 +00:00
Hermès Bélusca-Maïto
9f36a72013 [ASM]: Code formatting only.
svn path=/trunk/; revision=75995
2017-09-30 10:29:06 +00:00
Hermès Bélusca-Maïto
ff79952c22 [CMD]: Fix translations for the COLOR command.
For few translations, the COLOR command help contained a deprecated /F switch,
which was changed long time ago to the /-F switch ("Does not fill the console
blank space with color attribute").
Also, remove a now-unneeded localized informative string for the COLOR command (which rendered it Windows-incompatible).

svn path=/trunk/; revision=75994
2017-09-30 09:50:08 +00:00
Hermès Bélusca-Maïto
5e41079086 [CMD]: Fix few comments & use ARRAYSIZE(str) instead of sizeof(str)/sizeof(str[0]) for strings.
svn path=/trunk/; revision=75993
2017-09-30 09:13:04 +00:00
Colin Finck
b6d999dbe4 [ROSTESTS] Use the new header with SPDX license identifier for my printing-related API tests
svn path=/trunk/; revision=75992
2017-09-29 18:33:04 +00:00
Colin Finck
bb0896b823 [ROSAUTOTEST] Use the new header with SPDX license identifier and remove dead source files.
svn path=/trunk/; revision=75991
2017-09-29 18:13:54 +00:00
Jérôme Gardou
abc37007a0 [RTL]
- Add CFI annotations to debug functions
CORE-8531

svn path=/trunk/; revision=75990
2017-09-29 17:32:11 +00:00
Jérôme Gardou
9173e7c6cf [ASM]
- Add CFI annotation macros
CORE-13850 #resolve

svn path=/trunk/; revision=75989
2017-09-29 17:31:23 +00:00
Colin Finck
154f1aaacd [PRINTING] [SKIPLIST] Use the new header with SPDX license identifier and relicense the entire Printing Stack as well as its Skiplist dependency under GPL-2.0+
Previously, the Printing Stack was a mix of GPLed and LGPLed code. Having everything under GPL-2.0+ makes things consistent and allows me to import code from most Open Source licenses.
Given that the Printing Stack components are exchangeable with their Windows counterparts and implement documented interfaces, this license change doesn't impose any additional restrictions on dependent components (like printer drivers).

svn path=/trunk/; revision=75988
2017-09-29 17:18:19 +00:00
Colin Finck
57d74df773 [VGAFONTEDIT] Use the new header with SPDX license identifier and make the entire application GPL-2.0+
The code of the single GPL-2.0 only file "misc.c" was originally derived from GPL-2.0 only devmgmt.
I have now replaced it with the same code from LGPL-2.1+ mmc, which makes my application a full GPL-2.0+ work. This is legit, because I know that Thomas Weidenmueller is the original author of the "misc.c" code.

svn path=/trunk/; revision=75987
2017-09-29 13:58:14 +00:00
Colin Finck
26dd1bcf1f [FASTFAT_NEW] [FULLFAT] Remove the FullFAT-based "fastfat_new" driver and the third-party FullFAT library itself.
Our driver has not seen any development since 2010 and the current fastfat driver has long surpassed it.
Even more important, FullFAT is licensed under a modified version of GPLv3 that forbids commercial usage. Shipping it as a ReactOS dependency would render the OS unusable for commercial scenarios.
If anybody wants to resurrect the driver, you can always get it from the repository history.

svn path=/trunk/; revision=75986
2017-09-29 10:21:33 +00:00
Colin Finck
e9bc2c9b4c [HEADERS] Use the new header with SPDX license identifier for host headers I've contributed to and ensure license compliance for pshpack/poppack.
- The pshpack and poppack headers were rewritten from scratch as their current versions came with no license information and included obsolete checks (e.g. for an ancient FreeBSD version).
  I have put the new ones under CC0-1.0, which is equivalent to Public Domain but legally valid also in jurisdictions which have no concept of Public Domain (e.g. Germany).
- Relicense nls.h under CC0-1.0 too. I'd recommend the same for typedefs.h, but I'm not the only contributor to that file.

svn path=/trunk/; revision=75985
2017-09-29 10:10:26 +00:00
Colin Finck
ea2806e13c [BOOTSECTORS] Use the new header with SPDX license identifier for the ISO boot sector files I contributed to.
Remove the unmaintained .asm files.

svn path=/trunk/; revision=75984
2017-09-28 20:21:45 +00:00
Colin Finck
d20eaaf8ca [CONTROL] Use the new header with SPDX license identifier.
- The original header committed in 2004 clearly indicated "or any later version", so use GPL-2.0+
  That header has since been removed in r33507 by some "Colin Finck" guy ;)
- Add Hermès to the list of copyright holders, since he rewrote most of this in r62694.

svn path=/trunk/; revision=75983
2017-09-28 15:47:25 +00:00
Sylvain Petreolle
9704b70031 Set the resolution to 800x600x16 bit onbootcdregtest.
This removes the fallback to 640x480x256 colors induced by the lack of 32bits in KVM's cirrus GPU.
Fixes:
dosbox 2.intro
irfanview 2.OpenDocument
smplayer 2.play_file


svn path=/trunk/; revision=75982
2017-09-28 14:43:09 +00:00
Eric Kohl
3ebd207ba1 [PCI]
Fix a port base adddress decoding bug. Port base addresses were always decoded like memory base addresses. Because of this bug, a device could have two port address ranges starting at the same base address but with different lengths.

svn path=/trunk/; revision=75981
2017-09-27 22:59:48 +00:00
James Tabor
64bf415133 [NtUser]
- Patch by MudHead : Should test for invalid parent parameter. See CORE-13718.

svn path=/trunk/; revision=75980
2017-09-27 22:39:17 +00:00
James Tabor
8cc85a404a [NtUser]
- Patch by MudHead : Not setting error on success. See CORE-13717.

svn path=/trunk/; revision=75979
2017-09-27 22:35:26 +00:00
Pierre Schweitzer
92bc7bdab5 [KERNEL32]
- Move InternalOpenDirW() to disk.c; that's the last place where it's used
- Implement GetVolumePathNamesForVolumeNameA(); its -W implementation is still to be implemented
- W2K3ify SetVolumeLabelW() and SetVolumeLabelA() 

svn path=/trunk/; revision=75978
2017-09-27 17:43:52 +00:00
Hermès Bélusca-Maïto
4bce7ced02 [TIMEOUT]: Use a waitable timer to wait for a maximum of 1 second, instead of using some Sleep(100) calls. The only Sleep() call allowed is the Sleep(INFINITE) one.
svn path=/trunk/; revision=75977
2017-09-26 14:29:25 +00:00
Eric Kohl
036a0ad651 [FASTFAT]
Revert r75975 because of failures in the advpack files winetest.

svn path=/trunk/; revision=75976
2017-09-26 13:49:09 +00:00
Eric Kohl
4a830ca857 [FASTFAT]
Terminate the path name at the last slash when a file is opened using the IO_OPEN_TARGET_DIRECTORY option. This fixes some IoCreateFile kernel mode tests.

svn path=/trunk/; revision=75975
2017-09-26 12:36:17 +00:00
Eric Kohl
4364981793 [NETAPI32]
Implement NetLogonSetServiceBits().

svn path=/trunk/; revision=75974
2017-09-26 09:18:20 +00:00
Giannis Adamopoulos
03acaff5b1 [WINLOGON][WIN32K][WINSRV] -Silence a lot of debug prints in the shutdown sequence. Add some debug prints in case of error. Also print the name of the processes that get terminated. Keep the debug prints that show the parameters that are passed to SrvExitWindowsEx and WM_LOGONNOTIFY.
svn path=/trunk/; revision=75973
2017-09-26 09:11:51 +00:00
Eric Kohl
b7bb40a33e [NETAPI32]
Implement NetStatisticsGet() and move NetpNtStatusToApiStatus().

svn path=/trunk/; revision=75972
2017-09-26 09:03:27 +00:00
Eric Kohl
98789a5ce7 [NETAPI32]
Rename misc.c to utils.c because misc.c will be used for something else.

svn path=/trunk/; revision=75971
2017-09-26 07:51:56 +00:00
Eric Kohl
fdd95cf2c9 [NETAPI]
Add proper client implementations for NetQueryDisplayInformation() and NetGetDisplayInformationIndex().

svn path=/trunk/; revision=75970
2017-09-26 07:32:49 +00:00
Pierre Schweitzer
45b7500fd9 [KERNEL32]
W2K3ify GetVolumeInformationA().
Also fix a regression brought by GetVolumeInformationW() rewrite (yay, winetests!).

svn path=/trunk/; revision=75969
2017-09-26 06:18:07 +00:00
Hermès Bélusca-Maïto
6b45a088f3 [TIMEOUT]: Implement the TIMEOUT utility (found on Win2k3 and upwards). This is an improved "pause" command, with elapsed time count display.
Based from a patch by Lee Schröder, with modifications by myself.
CORE-10044 #resolve

svn path=/trunk/; revision=75968
2017-09-25 23:31:44 +00:00
Pierre Schweitzer
d2669dc03b [KERNEL32]
- Implement IsThisARootDirectory()
- Reimplement GetVolumeInformationW() to make it w2k3 compliant.
This fixes a few winetests and makes fsutil fsinfo ntfsinfo work in ROS :-)

svn path=/trunk/; revision=75967
2017-09-25 21:33:56 +00:00
Pierre Schweitzer
282de8aeb9 [FSUTIL]
- Modify OpenVolume so that it can restrict volume opening to a NTFS volume (broken on ROS...)
- Implement fsutil fsinfo ntfsinfo

svn path=/trunk/; revision=75966
2017-09-25 18:59:54 +00:00
Mark Jansen
5e87235129 [WINED3D] Silence a noisy DPRINT that makes Test KVM AHK abort.
CORE-13829

svn path=/trunk/; revision=75965
2017-09-24 21:32:18 +00:00
Hermès Bélusca-Maïto
236b03f729 [MORE]: Remove an unused library import (user32).
svn path=/trunk/; revision=75964
2017-09-24 19:02:29 +00:00
Hermès Bélusca-Maïto
c72889ae3d [CHCP][CMD]: Make the CHCP command a standalone executable, for backwards compatibility with Windows etc. This allows the user to be able to replace it with a 3rd-party one.
CORE-10295 #resolve
CORE-9444

svn path=/trunk/; revision=75963
2017-09-24 19:00:47 +00:00
Thomas Faber
fe3618347b [MBEDTLS]
- Disable the use of SSE2 instruction. ROS supports CPUs that do not support these.
CORE-13826 #resolve
CORE-10338

svn path=/trunk/; revision=75962
2017-09-24 13:11:18 +00:00
Pierre Schweitzer
d875d1bd49 [FASTFAT]
Implement statistics counting for non cached read/write operations.

svn path=/trunk/; revision=75961
2017-09-24 12:35:37 +00:00
Amine Khaldi
bc87785826 [WS2_32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75960
2017-09-24 11:36:21 +00:00
Amine Khaldi
9c8d9cd263 [REG_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75959
2017-09-24 11:33:35 +00:00
Amine Khaldi
044cf8a897 [REG] Sync with Wine Staging 2.16. CORE-13762
39e0e81 reg: Null-terminate incomplete REG_EXPAND_SZ and REG_MULTI_SZ Unicode data.
82fc4c8 reg: Close any open registry keys before starting the key deletion process.
5de883c reg: Use the correct return codes during the import operation.
56e58e4 reg: Delete registry keys via the state machine.
d90f2a5 reg: Delete registry values via the state machine.
db98cc4 reg: Handle unknown registry data types in the state machine.
32d5368 reg: Import hex data via the state machine.
f1874c1 reg: Import REG_DWORD data via the state machine.
038f1c6 reg: Parse data types and import REG_SZ data via the state machine.
0565934 reg: Parse key names and value names in the state machine.
3e87a70 reg: Introduce a partial state machine for importing Windows 3.1 registry data.
aa386af reg: Add initial support for the import operation.
f2fbbec reg: Rename reg.h to resource.h.
c6c95a0 reg: Compile with msvcrt.
8c253c4 reg: Make some variables 'static const'.
337e0f4 reg: Avoid an uninitialized variable warning.
8abec73 reg: Dynamically allocate memory for the value name buffer when deleting all registry values in a specified key.
e7ea838 reg: Use a helper function to resize a memory buffer.
a1bc33a reg: Use a helper function to free allocated memory.
a6e28cc reg: Use a helper function to allocate memory and die on failure.
90da210 reg: Account for sizeof(WCHAR) when resizing the value name buffer during the query operation.
fb22f6c reg: Avoid using RegQueryInfoKey() to enumerate subkeys and values in the query operation.

svn path=/trunk/; revision=75958
2017-09-24 11:33:04 +00:00
Amine Khaldi
3826e0eec9 [PSDK] Update winreg.h. CORE-13762
svn path=/trunk/; revision=75957
2017-09-24 11:32:16 +00:00
Amine Khaldi
62b637c47c [XMLLITE_WINETEST] Addendum to r75951.
svn path=/trunk/; revision=75956
2017-09-24 11:27:47 +00:00
Amine Khaldi
106ef83977 [FREETYPE] Update to v2.8.1. CORE-13825
svn path=/trunk/; revision=75955
2017-09-24 11:20:15 +00:00
Amine Khaldi
38346faf51 [WINDOWSCODECS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75954
2017-09-24 11:19:20 +00:00
Amine Khaldi
060ff9c61a [PSDK] Update wincodec.idl and winerror.h. [WINDOWSCODECS] Sync with Wine Staging 2.16. CORE-13762
b2229cc windowscodecs: Add support for CMYK to BGR conversion.
22b69e6 windowscodecs: Move JPEG frame image data initialization from Frame::CopyPixels to Decoder::Initialize. (v2)
b635fa0 windowscodecs: Move additional processing out of the JPEG decoding loop.
80649c5 windowscodecs: Fix stride calculation in JPEG decoder.
0d88ec1 windowscodecs: Fix IWICBitmapEncoder::SetPalette for a not initialized case in JPEG encoder.
267bca1 windowscodecs: PNGEncoder: Return 32bppRGBA pixel format by default.
8bae213 windowscodecs: Fix 32bppGrayFloat to 8bppGray conversion.
8648aaf wincodecs: Add encoder options for JPEG.
2eeef78 windowscodecs: Fix a memory leak.
c092f1a windowscodecs: Add some tests for IWICMetadataQueryReader.
2271ba8 windowscodecs: Add initial implementation of IWICMetadataQueryReader::GetMetadataByName.
d3280c8 windowscodecs: Implement IWICBitmapDecoder::GetMetadataQueryReader in the GIF decoder.
c94bf3c windowscodecs: Implement IWICMetadataQueryReader::GetLocation.
3059668 windowscodecs: Use PropVariantCompareEx to compare metadata items.
f258903 windowscodecs: Implement IWICMetadataQueryReader::GetContainerFormat.
714175e windowscodecs: Implement WICMapSchemaToName.
e1eed88 windowscodecs: Implement WICMapShortNameToGuid.
37ae4f2 windowscodecs: Implement WICMapGuidToShortName.
cf1269a windowscodecs: Register WICImagingFactory2 interface.

svn path=/trunk/; revision=75953
2017-09-24 11:19:07 +00:00
Amine Khaldi
9cbeb9ed81 [PSDK] Update propidl.idl. CORE-13762
svn path=/trunk/; revision=75952
2017-09-24 11:18:52 +00:00
Amine Khaldi
93c3651871 [XMLLITE_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75951
2017-09-24 11:18:47 +00:00
Amine Khaldi
c95d5971f0 [XMLLITE] Sync with Wine Staging 2.16. CORE-13762
49a57bc xmllite/writer: Improve handling of the output with invalid encoding.
a6d6beb xmllite/writer: Do not indent after just BOM has been written.
5773a5d xmllite/writer: Fix indentation on WriteElementString().
5f4ed88 xmllite/writer: Fix empty element and state handling in WriteElementString().
b06dd7d xmllite/reader: Added a helper for setting current attribute cursor.
be56791 xmllite/reader: Implement MoveToAttributeByName().

svn path=/trunk/; revision=75950
2017-09-24 11:18:39 +00:00
Amine Khaldi
73ddc666c6 [WINTRUST] Sync with Wine Staging 2.16. CORE-13762
59a476e wintrust: use enhanced crypto provider in VerifyImageHash
9369e80 wintrust: Increase buffer size to silence a gcc warning.

svn path=/trunk/; revision=75949
2017-09-24 11:18:27 +00:00
Amine Khaldi
f1c2481230 [WINMINE] Sync with Wine Staging 2.16. CORE-13762
ca8f056 winemine: Added Shift+LClick hotkey to uncover multiple cells.
9b90266 winemine: Mine random placing fix.

svn path=/trunk/; revision=75948
2017-09-24 11:18:18 +00:00
Amine Khaldi
1f77be3c1e [WININET_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75947
2017-09-24 11:18:11 +00:00
Amine Khaldi
40cc018ed0 [WININET] Sync with Wine Staging 2.16. CORE-13762
43deec9 wininet: Use standard wine_dbgstr_longlong.
085ce26 wininet: Drain content before reusing connection in open_http_connection.
59395d8 wininet: Never do blocking reads in chunked_read if zero chunk size is aready read.
4f40039 wininet: Release connection in HTTPREQ_Read only if remaining control data may be drainad without blocking.
8090d16 wininet: Store error state separately from end of stream in chunked stream.
752d078 wininet: Always use drain_content specific to stream type.
90b936f wininet: Try to read reamaining data in chunked_drain_content.
2ecdac8 wininet: Return error codes from HTTP streams.
7949a22 wininet: Correctly pass URL length to InternetCrackUrlW in get_redirect_url.
a24b826 wininet: Improved cookie debug traces.
f55a116 wininet: Fix potential use-after-free (Coverity).
89f1d8c wininet: Fixed connection_pool_cs declaration.
cee9982 wininet: Return an error on redirect with no host name specified.
61e28c0 wininet: Moved INTERNET_STATUS_REDIRECT notification to HTTP_HandleRedirect.
9c95915 wininet: Correctly handle redirects to non-http URLs.

svn path=/trunk/; revision=75946
2017-09-24 11:17:59 +00:00
Amine Khaldi
11ab123dcd [WINHTTP_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75945
2017-09-24 11:17:51 +00:00
Amine Khaldi
9048599788 [WINHTTP] Sync with Wine Staging 2.16. CORE-13762
d0813b7 winhttp: Avoid returning while holding a lock (Coverity).
5a61913 winhttp: Rename host_t to hostdata_t.
2a99f0e winhttp: Periodically free outdated connections.
5226865 winhttp: Cache and reuse persistent HTTP connections.
e0e8a3f winhttp: Introduce global connected hosts store and keep reference to host in netconn_t.
d1d65c9 winhttp: Merge netconn_create and netconn_connect implementations.
3e60241 winhttp: Store socked address in netconn_t.
e129023 winhttp: Pass socket address as sockaddr_storage to netconn_connect.
c2f464d winhttp: Get rid of no longer needed netconn_init.
8c9df5b winhttp: Use notification flags to explicitly mark notifications that should signal an event.
c502629 winhttp: Allocate netconn_t separately from request_t.
c06104c winhttp: Store security_flags in request_t instead of netconn_t.
f2bb206 winhttp: Reset content length when a redirect creates a new connection.
0923897 winhttp: Only read as much data as advertized when draining content.

svn path=/trunk/; revision=75944
2017-09-24 11:17:43 +00:00
Amine Khaldi
9b95d548ca [WINEMP3.ACM] Sync with Wine Staging 2.16. CORE-13762
ffebb91 winemp3.acm: Fix error in acmStreamSize().

svn path=/trunk/; revision=75943
2017-09-24 11:17:34 +00:00
Amine Khaldi
3e1315cb4b [WBEMPROX] Sync with Wine Staging 2.16. CORE-13762
65d7ff8 wbemprox: Add FreePhysicalMemory to Win32_OperatingSystem.

svn path=/trunk/; revision=75942
2017-09-24 11:17:27 +00:00
Amine Khaldi
f8f96865c6 [WBEMDISP] Sync with Wine Staging 2.16. CORE-13762
82527f8 wbemdisp: Add a trailing newline to a TRACE() message.

svn path=/trunk/; revision=75941
2017-09-24 11:17:20 +00:00
Amine Khaldi
36aff8b89c [USP10_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75940
2017-09-24 11:17:14 +00:00
Amine Khaldi
b24cdd026a [USP10] Sync with Wine Staging 2.16. CORE-13762
9d32c2d usp10: Fall back to 'dflt' language if shaping language tag isn't found.
866eec8 usp10: Undefined characters above the BMP should be assigned to Script_Surrogates.
4f96439 user32: Fix rendering of tabs in edit control.
b736dbe make_unicode: Update data tables to Unicode 10.0.0.

svn path=/trunk/; revision=75939
2017-09-24 11:17:06 +00:00
Pierre Schweitzer
10a7555f9e [FASTFAT]
Implement statistics counting for create operations.

svn path=/trunk/; revision=75938
2017-09-24 09:50:36 +00:00
Pierre Schweitzer
1fac1ca781 [FASTFAT]
Start implementing statistics support. So far, everything is just nulled.
These 0 can be properly queried with fsutil fsinfo statistics.

svn path=/trunk/; revision=75937
2017-09-24 08:56:06 +00:00
Eric Kohl
1ffd7e141b [WLNOTIFY]
- Add Notifications for the Scheduler Service.

svn path=/trunk/; revision=75936
2017-09-23 22:29:36 +00:00
Pierre Schweitzer
43f11525a6 [FSUTIL]
Use saved last error, don't get it again

svn path=/trunk/; revision=75935
2017-09-23 20:22:59 +00:00
Pierre Schweitzer
e54cfbd253 [FSUTIL]
Implement fsutil fsinfo statistics
Note that compared to w2k3 one, ours really supports FAT volumes (even though our FAT doesn't support it!).

svn path=/trunk/; revision=75934
2017-09-23 20:15:16 +00:00
Pierre Schweitzer
a497f5aae2 [PSDK]
Define FSCTL_FILESYSTEM_GET_STATISTICS and its associated structures

svn path=/trunk/; revision=75933
2017-09-23 20:13:54 +00:00
Eric Kohl
4de8e2e114 [LSASRV]
Add some comments and improve trace messages.

svn path=/trunk/; revision=75932
2017-09-23 18:58:39 +00:00
Eric Kohl
62e2601488 [DATETIME]
Invert the sort order of the timezone list. List the timezones from GMT-12:00 to GMT+13:00.

svn path=/trunk/; revision=75931
2017-09-23 18:54:58 +00:00
Eric Kohl
8929269a24 [TRANSLATION]
Polish translation update.
Patch by Adam Słaboń.
CORE-13802

svn path=/trunk/; revision=75930
2017-09-23 17:32:13 +00:00
Thomas Faber
7cf06c89d0 [DRIVERS][NTOS][EVTLIB][USER32]
- Silence some debug spam

svn path=/trunk/; revision=75929
2017-09-23 13:34:50 +00:00
Mark Jansen
763d7b8473 [USER32][WIN32K] Make antialiased disabled font readable. Patch by Katayama Hirofumi MZ. CORE-7721
svn path=/trunk/; revision=75928
2017-09-22 19:47:34 +00:00
Mark Jansen
8749cbd5b9 [ACPPAGE] Work around a crash with BSTR's. CORE-13800 #resolve
svn path=/trunk/; revision=75927
2017-09-22 19:42:08 +00:00
Eric Kohl
6192c20ab7 [DDK]
Add all ide commands to make the storahci driver happy.

svn path=/trunk/; revision=75926
2017-09-22 17:45:04 +00:00
Eric Kohl
451d484fcd [SAMSRV]
Implement SamIFree_SAMPR_DISPLAY_INFO_BUFFER.

svn path=/trunk/; revision=75925
2017-09-22 12:29:53 +00:00
Eric Kohl
70d4f2c68f [SAMSRV]
Implement SamIFree_SAMPR_ALIAS_INFO_BUFFER, SamIFree_SAMPR_DOMAIN_INFO_BUFFER and SamIFree_SAMPR_GROUP_INFO_BUFFER.

svn path=/trunk/; revision=75924
2017-09-22 10:05:48 +00:00
Thomas Faber
ef8a43b733 [CMAKE]
- Hackfix base addresses to avoid comctl32/rpcrt4 overlap. This makes use of the fact that baseaddress_winspool.drv is not being used (it should be called baseaddress_winspool).
Base addresses should be properly regenerated at some point, and the issues exposed by the relocations are still bugs that need to be fixed. This should at least make testbot reliable again though.
CORE-13804

svn path=/trunk/; revision=75923
2017-09-22 09:26:32 +00:00
Thomas Faber
5fd71adffe [NDIS]
- Don't assert on IRP_MJ_CLEANUP
CORE-7630

svn path=/trunk/; revision=75922
2017-09-22 07:31:57 +00:00
Thomas Faber
95646b73c9 [NDIS]
- Don't assert on unimplemented ioctl. Print the control code instead.
CORE-7630

svn path=/trunk/; revision=75921
2017-09-22 07:28:29 +00:00
Thomas Faber
d40669cdad [SVCHOST]
- Don't print "GetProcAddress failed" error for optional functions

svn path=/trunk/; revision=75920
2017-09-22 07:17:20 +00:00
Pierre Schweitzer
05fa2e9b51 [FASTFAT]
Don't allow temporary attribute to be set on a directory.
Even though our FastFAT totally ignores such attribute, this is illegal on Windows and makes SetFileAttribute fail, so do the same.

CORE-13495

svn path=/trunk/; revision=75919
2017-09-21 10:33:23 +00:00
Pierre Schweitzer
4cbe35070d [FASTFAT]
Notify in case of attributes/dates changes

svn path=/trunk/; revision=75918
2017-09-21 09:47:13 +00:00
Pierre Schweitzer
8e33b21e34 [FASTFAT]
Misc fixes:
- Only set file attributes if they changed
- Fail to set attributes if directory attribute is asked for a file
- Perform file attributes setting before dates to allow safe fail

svn path=/trunk/; revision=75917
2017-09-21 09:45:23 +00:00
Pierre Schweitzer
d8753f3e88 [KMTESTS:KERNEL32]
Magic values--;

svn path=/trunk/; revision=75916
2017-09-21 08:52:27 +00:00
Pierre Schweitzer
31316a72ad [KERNEL32]
Rewrite GetFileAttributesW() to make it simpler and more accurate.
Make GetFileAttributesA() call GetFileAttributesW()
This fixes the last failing tests from r75236.

CORE-13495

svn path=/trunk/; revision=75915
2017-09-20 16:38:48 +00:00
Pierre Schweitzer
2a7d12c9c0 [KERNEL32]
Rewrite SetFileAttributesW() to make it W2K3 compliant.
Notable improvements:
- Supports reparse points
- Doesn't query attributes to set them (speedup!)

This fixes a few failures in tests committed in r75236.

CORE-13495

svn path=/trunk/; revision=75914
2017-09-20 16:13:15 +00:00
Pierre Schweitzer
64047e551c [FSUTIL]
Implement fsutil volume diskfree

svn path=/trunk/; revision=75913
2017-09-20 11:41:28 +00:00
Eric Kohl
0cf7641a8e explorer: Improve Japanese resource
Patch by Katayama Hirofumi MZ.
CORE-13809

svn path=/trunk/; revision=75912
2017-09-20 10:35:55 +00:00
Pierre Schweitzer
2ac2acf2d7 [VFATLIB]
Fix a really bad bug in VfatChkdsk(), the routine used to check a volume:
In case readwrite is enabled (ie, volume fixing is allowed), when the volume is opened, it is also locked.
If the volume has the clean shutdown bit and is to be checked only if that one is not set, then the volume lock is leaked.
This makes the volume then totally unusable later on (any later open will fail).

Because r75772 fixed volume locking on non-system partition, this totally broke (access denied) any secondary FAT volume in ROS.

Now, we just properly release the lock when required, also made a comment more explicit to avoid later bugs like that.

CORE-13805

svn path=/trunk/; revision=75911
2017-09-20 08:45:28 +00:00
Pierre Schweitzer
84fd9647d3 [FSUTIL]
Implement fsutil volume dismount

CORE-13805

svn path=/trunk/; revision=75910
2017-09-20 08:15:10 +00:00
Pierre Schweitzer
2bcf27a7d0 [FSUTIL]
Define handlers type

svn path=/trunk/; revision=75909
2017-09-20 07:50:48 +00:00
Pierre Schweitzer
0fa3874c25 [FASTFAT]
Only perform dismount check on close/cleanup for volume opening.
This prevents random dismounts and fixes 1st stage when ENABLE_SWAPOUT is enabled in FastFAT (disabled by default).

CORE-13805

svn path=/trunk/; revision=75908
2017-09-19 21:19:55 +00:00
Thomas Faber
67b277f50f [USBPORT]
- Simplify some loops in USBPORT_OpenInterface. No logical changes

svn path=/trunk/; revision=75907
2017-09-18 12:01:12 +00:00
Thomas Faber
f8f16e6698 [USBPORT]
- Rename NumInterfaces to NumEndpoints in USBPORT_OpenInterface

svn path=/trunk/; revision=75906
2017-09-18 11:50:42 +00:00
Amine Khaldi
194b4799ae [URLMON_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75903
2017-09-17 22:58:07 +00:00
Amine Khaldi
51e0becc32 [URLMON] Sync with Wine Staging 2.16. CORE-13762
5660a9b urlmon: Remove a redundant NULL check before SysFreeString().
acb1f03 urlmon: Support BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS in BindProtocol object.
ccc5ba2 urlmon: Added a helper function for releasing protocol handler.
cded077 urlmon: Release previously set URI in BindProtocol::StartEx.
9e92254 urlmon: Added support for BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS in http protocol handler.

svn path=/trunk/; revision=75902
2017-09-17 22:58:01 +00:00
Amine Khaldi
24a6fd76cb [PSDK] Update urlmon.idl. CORE-13762
svn path=/trunk/; revision=75901
2017-09-17 22:57:54 +00:00
Amine Khaldi
9aead4c3e9 [SXS] Sync with Wine Staging 2.16. CORE-13762
3c4f6ed sxs: Use standard wine_dbgstr_longlong.

svn path=/trunk/; revision=75900
2017-09-17 22:57:49 +00:00
Amine Khaldi
dd8abae2c1 [RPCRT4_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75899
2017-09-17 22:57:43 +00:00
Amine Khaldi
0ee2ebaf78 [RPCRT4] Sync with Wine Staging 2.16. CORE-13762
2d9e894 rpcrt4: Always protect ref access for connections associated with protseq in RPCRT4_ReleaseConnection.
aea6d23 rpcrt4: Mark function that are only called from assembly as hidden.
bea5c0c rpcrt4: Spelling fixes in comments.
2cb32b2 rpcrt4: Change RPCRT4_ReleaseConnection return type to void.
e889b02 rpcrt4: Fix a race when server grabs a connection from the list of active connections.
09e98be rpcrt4: Wait for server threads to finish in RpcMgmtWaitServerListen.
e98c7a5 rpcrt4: Wait for all active connections to be released before quiting server thread.
10a6b33 rpcrt4: Recreate listening pipe in rpcrt4_protseq_np_get_wait_array if needed.
5c2083f rpcrt4: Store listening pipe name in RpcConnection_np.
5c81f82 rpcrt4: Store server thread handle in RpcServerProtseq.

svn path=/trunk/; revision=75898
2017-09-17 22:57:32 +00:00
Amine Khaldi
c615faa665 [RICHED20_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75897
2017-09-17 22:57:24 +00:00
Amine Khaldi
ec29185ee5 [RICHED20] Sync with Wine Staging 2.16. CORE-13762
58cac9c riched20: Remove the separate implementation of IOleWindow as IOleInPlaceSite inherits from IOleWindow.
adf53a9 riched20: Add support for pasting EMFs.
bbf34a4 riched20: Use the implementation of EM_PASTESPECIAL for EM_CANPASTE.
46fef3d riched20: Use the implementation of EM_PASTESPECIAL for WM_PASTE.
9bec53f riched20: Add support for EM_PASTESPECIAL.
417c80d riched20: Don't create a special richedit ole instance for the RTF parser.
1bc48be riched20: Initialize ME_TextEditor members in ME_MakeEditor().
5cc8c9f riched20: Retrieve the default paragraph alignment from the text host.
4cb7578 riched20: Move the editor initialization out of CreateTextHost().
2d91663 riched20: New high resolution cursor generated from SVG.
17b7cde riched20: The background colour is set using \highlight.

svn path=/trunk/; revision=75896
2017-09-17 22:57:18 +00:00
Amine Khaldi
ac45094d68 [PROPSYS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75895
2017-09-17 22:57:07 +00:00
Amine Khaldi
f20aa39c5f [PROPSYS] Sync with Wine Staging 2.16. CORE-13762
7960ed9 propsys: Don't use the format string size as buffer size.

svn path=/trunk/; revision=75894
2017-09-17 22:56:55 +00:00
Amine Khaldi
212b13d23c [OLEAUT32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75893
2017-09-17 22:56:47 +00:00
Amine Khaldi
1fdf9e8b55 [OLEAUT32] Sync with Wine Staging 2.16. CORE-13762
8da116d oleaut32: Don't copy uninitialized data.
0dde882 oleaut32: Use variable with the correct type in LIST_FOR_EACH_ENTRY_SAFE macro.
840ab7c oleaut32: Simplify VarCat implementation.
538e46a oleaut32: Improve support for IDispatch in VarCat.
cf45f3b oleaut32: Add an arguments check to LoadTypeLibEx.
4be8d83 oleaut32: Make VARIANT_GetLocalisedText() static.

svn path=/trunk/; revision=75892
2017-09-17 22:56:37 +00:00
Amine Khaldi
ddc5ae090a [OLE32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75891
2017-09-17 22:56:20 +00:00
Amine Khaldi
7634613083 [OLE32] Sync with Wine Staging 2.16. CORE-13762
a56bc8f ole32: Store proxy/stub CLSIDs per process, not per apartment.
3b44927 ole32: New high resolution cursors generated from SVG.
5a3b87a ole32: Avoid null pointer dereferences in CoGetTreatAsClass.
13c6d37 ole32: Add stub for OleGetIconOfFile.
33a720b ole32: InitNew() should fail if there is a current storage.
966e8a2 ole32: Create initial cache entries for the CLSID_Picture_ classes.
111b72f ole32: Add the ability to create an entry without returning it.
705ccd7 ole32: Start allocating regular cache entries with id of 2.
0267564 ole32: Fix incorrectly assigned member in the presentation stream.
85a1309 ole32: Make bitmap_info_size() static.

svn path=/trunk/; revision=75890
2017-09-17 22:56:11 +00:00
Amine Khaldi
88ff4126bc [MSIMG32] Sync with Wine Staging 2.16. CORE-13762
f77bf35 msimg32: Label ordinals.

svn path=/trunk/; revision=75889
2017-09-17 22:55:42 +00:00
Eric Kohl
77c2852a86 syssetup: Improve Japanese translation
Patch by Katayama Hirofumi MZ.
CORE-13785

svn path=/trunk/; revision=75888
2017-09-17 22:55:33 +00:00
Amine Khaldi
228f385b07 [MSACM32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75887
2017-09-17 22:55:26 +00:00
Amine Khaldi
2eca02f322 [MSACM32] Sync with Wine Staging 2.16. CORE-13762
993faf5 msacm32: Implement ACMFORMATCHOOSE_STYLEF_INITTOWFXSTRUCT.
84e61e6 msacm32: Add invalid parameter checks for acmFormatChoose().
5e2c243 msacm32: Don't add a format entry if it is decode-only.
cadedd7 msacm32: Rewrite PCM conversion functions.
7493364 msacm32: Check correct variable.
ab2760e msacm32: Try to suggest PCM to PCM conversion first.
8e88af3 msacm32: Add more invalid parameter checks for acmFormatSuggest().
1e30f79 msacm32: Add invalid parameter checks for acmFormatDetails().
c984aa5 msacm32: Add more invalid parameter checks for acmFormatEnum().
4e0c370 msacm32: Don't write cbSize if the format is WAVE_FORMAT_PCM.

svn path=/trunk/; revision=75886
2017-09-17 22:55:04 +00:00
Amine Khaldi
dd68529ca0 [MAPI32] Sync with Wine Staging 2.16. CORE-13762
b0a31c3 mapi32: A spelling fix in a comment.

svn path=/trunk/; revision=75885
2017-09-17 22:54:52 +00:00
Amine Khaldi
f3e05d3f32 [JSPROXY] Sync with Wine Staging 2.16. CORE-13762
a79c6a8 jsproxy: Label ordinals.

svn path=/trunk/; revision=75884
2017-09-17 22:54:44 +00:00
Amine Khaldi
438c6a92bc [JSCRIPT_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75883
2017-09-17 22:54:31 +00:00
Amine Khaldi
b78d31eea4 [JSCRIPT] Sync with Wine Staging 2.16. CORE-13762
c25208f jscript: Added support for VT_R4 VARIANT types.
5c8c4d9 jscript: A spelling fix in a comment.

svn path=/trunk/; revision=75882
2017-09-17 22:54:24 +00:00
Amine Khaldi
c6b07cf471 [INETCOMM_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75881
2017-09-17 22:54:17 +00:00
Amine Khaldi
a9ac902402 [INETCOMM] Sync with Wine Staging 2.16. CORE-13762
fe6367a inetcomm: Implemented IMimeBody::GetClassID().
5557081 inetcomm: Release previously set data (Valgrind).

svn path=/trunk/; revision=75880
2017-09-17 22:54:12 +00:00
Amine Khaldi
6a84c2d5cb [IMAADP32.ACM] Sync with Wine Staging 2.16. CORE-13762
0f0fb98 imaadp32.acm: Fix nibble ordering.
2a1c1a4 imaadp32.acm: Fix block size calculations.

svn path=/trunk/; revision=75879
2017-09-17 22:54:07 +00:00
Amine Khaldi
d848cc9cc3 [COMCTL32] Addendum to r75862. CORE-13762
svn path=/trunk/; revision=75878
2017-09-17 22:54:01 +00:00
Eric Kohl
a7f1e83942 desk.cpl: Improve Japanese translation
Patch by Katayama Hirofumi MZ.
CORE-13784

svn path=/trunk/; revision=75877
2017-09-17 22:50:06 +00:00
Eric Kohl
a5e393fe66 devmgr: Japanese translation
Patch by Katayama Hirofumi MZ.
CORE-13783

svn path=/trunk/; revision=75876
2017-09-17 22:41:08 +00:00
Eric Kohl
53b96724e4 SysSetup: Russian translation of Theme dialog
Patch by amber.
CORE-13708

svn path=/trunk/; revision=75875
2017-09-17 22:23:24 +00:00
Eric Kohl
fd8f7eb653 TRANSLATION: Update Polish translation
Patch by Marcin Mikołajczak.
CORE-13750

svn path=/trunk/; revision=75874
2017-09-17 22:11:50 +00:00
Amine Khaldi
73232b5227 [GDIPLUS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75873
2017-09-17 12:34:24 +00:00
Amine Khaldi
c6f32e4a5f [GDIPLUS] Sync with Wine Staging 2.16. CORE-13762
6bf1b63 gdiplus: Account for gdi32 transform in SOFTWARE_GdipDrawThinPath.
e127101 gdiplus: Send paths to gdi32 in device coordinates.
93e8507 gdiplus: Account for gdi32 transform in GdipDrawImage.
be95252 gdiplus: Use SOFTWARE_GdipDrawPath with alpha hdc's.
0914f62 gdiplus: Account for gdi transform in brush_fill_pixels.
399fd55 gdiplus: Account for gdi transform in SOFTWARE_GdipFillRegion.
016dc76 gdiplus: Transform clipping region to gdi device coordinates.
cfa4f08 gdiplus: Replace DPtoLP with an internal coordinate space constant.
5c12ced gdiplus: Check for invalid coordinate space in GdipTransformPoints.
8c593bd gdiplus: Set correct color space flags for grayscale images.
7860d11 gdiplus: Don't call PlayEnhMetaFileRecord for records handled by gdiplus.
5870431 gdiplus: Force conversion of 8 bpp grayscale PNG images to 32 bpp BGRA.
42e5d27 gdiplus: Use defined constants for wrap modes.
79ebd3f gdiplus: Fix copy-paste typo.
a4ab858 gdiplus: GdipCreateMetafileFromWmfFile will also load EMFs.
aac33da gdiplus: Implement transform matrix for line gradient brushes.
14bb8df gdiplus: Support GdipSetClipRegion in metafiles.
4a02870 gdiplus: Add write_region_data helper and use it in GdipGetRegionData.
595959c gdiplus: Add more accurate algorithm for inverting scaling and translation matrices in GdipInvertMatrix.
1744277 gdiplus: Implement stub for GdipGraphicsSetAbort.
331a7af gdiplus: Fix a possible floating point exception in path gradients.
400cfb0 gdiplus: Avoid division by zero in SOFTWARE_GdipDrawThinPath.
2176348 gdiplus: Return success saving path to metafile.
70afb4e gdiplus: Fix saving pen dashed line cap style to metafile.
a172cc6 gdiplus: Free dash_pattern_scaled (Coverity).
58eb74c gdiplus: Use write_path_data helper in GdipGetRegionData.
a892b68 gdiplus: Add write_path_data helper to create EMF+ path object.
5545332 gdiplus: Store newer gdi+ version in created GdipRegions.
cfe2b3f gdiplus: Don't require specific gdi+ versions in metafile structures.
a8b5fdd gdiplus: Use VERSION_MAGIC2 constant in metafiles functions.
8498aa3 gdiplus: Add support for creating image object containing metafile.
9f22041 gdiplus: Fix leak in widen_dashed_figure.
f9b881e gdiplus: Fix GdipGetVisibleClipBounds behavior on metafiles.
de37ced gdiplus: Add partial support for GdipFillPath on metafiles.
e79c4ca gdiplus: Add partial support for GdipDrawPath on metafiles.
7d6896e gdiplus: Add helper for saving pens to metafile.
e502a8d gdiplus: Add helper for saving path objects in metafile.
8608bf5 gdiplus: Add DrawPath stub for metafiles.
29968cf gdiplus: Support GdipSetInterpolationMode in metafiles.
f248374 gdiplus: Support GdipSetCompositingQuality in metafiles.
1cecd47 gdiplus: Support GdipSetCompositingMode in metafiles.
910975a gdiplus: Support GdipSetSmoothingMode in metafiles.
f716029 gdiplus: Support GdipSetPixelOffsetMode in metafiles.
683315d gdiplus: Support GdipSetTextRenderingHint in metafiles.
689268d gdiplus: Add support for ImageAttributes when drawing image to metafile.
ac231b1 gdiplus: Add function for managing metafile objects id.
e1e4dd2 gdiplus: Add partial support for GdipDrawImagePointsRect on metafile.
1a75f76 gdiplus: Remove unused clsid parameter from encode_image_func helpers.
01c9fb9 gdiplus: Remove a duplicate word in a comment.
6ec3cd9 gdiplus: Set flatness more appropriately in GdipDrawPath.
7e1522c gdiplus: Scale widened dashes to the pen width.
c95877d gdiplus: Write API documentation for GdipAddPathArc and GdipAddPathArcI.
f1123f3 gdiplus: Write API for GdipClonePath.
f96e319 gdiplus: Write API for GdipAddPathLine and GdipAddPathLineI.
260cbd0 gdiplus: Implement triangular line caps in widened paths.
a4b7fe6 gdiplus: Initialize containers list in GdipCloneImage.

svn path=/trunk/; revision=75872
2017-09-17 12:34:15 +00:00
Amine Khaldi
2a10a08909 [PSDK] Update gdiplusflat.h. CORE-13762
svn path=/trunk/; revision=75871
2017-09-17 12:34:07 +00:00
Amine Khaldi
7fe9b5b5c7 [FUSION_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75870
2017-09-17 12:34:03 +00:00
Amine Khaldi
224936e090 [FUSION] Sync with Wine Staging 2.16. CORE-13762
da03b46 fusion: Use standard wine_dbgstr_longlong.

svn path=/trunk/; revision=75869
2017-09-17 12:33:57 +00:00
Amine Khaldi
bcd314bf3f [DBGHELP] Sync with Wine Staging 2.16. CORE-13762
00e27186 dbghelp: Silence a noisy FIXME.

svn path=/trunk/; revision=75868
2017-09-17 12:33:49 +00:00
Amine Khaldi
10e905a8e0 [CRYPTUI] Sync with Wine Staging 2.16. CORE-13762
8dcc4ed cryptui: Use proper size for combobox controls.

svn path=/trunk/; revision=75867
2017-09-17 12:33:43 +00:00
Amine Khaldi
be8fcdf98b [CRYPT32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75866
2017-09-17 12:33:34 +00:00
Amine Khaldi
bb1a436399 [CRYPT32] Sync with Wine Staging 2.16. CORE-13762
8738b03 crypt32: Increase buffer size to silence a gcc warning.

svn path=/trunk/; revision=75865
2017-09-17 12:33:29 +00:00
Amine Khaldi
caa0205165 [COMDLG32] Sync with Wine Staging 2.16. CORE-13762
823c4b1 comdlg32: Use proper size for combobox controls.
1c1db33 comdlg32: Improve tracing messages.
c4b133e comdlg32: Simplify notification helper.

svn path=/trunk/; revision=75864
2017-09-17 12:33:21 +00:00
Amine Khaldi
72bcc475e7 [COMCTL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75863
2017-09-17 12:33:06 +00:00
Amine Khaldi
a82b6638df [COMCTL32] Sync with Wine Staging 2.16. CORE-13762
d505c2d comctl32/monthcal: Make sure set focus date is valid before using it (Valgrind).
a56f49c comctl32/monthcal: Make sure set today date is valid before using it (Valgrind).
9231452 comctl32/monthcal: Initialize day field before setting final hit test result (Valgrind).
1d45250 comctl32/listview: Invalidate the focus rectangle when the control gets or loses focus.
d6fdbae comctl32: New high resolution cursors generated from SVG.
11c557b comctl32: Don't FIXME on handled cases.
5b06498 comctl32/taskdialog: Added support for custom buttons.
9e3ebed comctl32/taskdialog: Added TaskDialog() export.
d93ae6f comctl32/toolbar: Support undocumented IDs for standard bitmap lists.
ece34a1 comctl32/toolbar: Don't add NULL imagelist entries.
e558858 comctl32: Change some overly exciting tracing messages.

svn path=/trunk/; revision=75862
2017-09-17 12:33:00 +00:00
Thomas Faber
fd6f688414 [KMTESTS:KERNEL32]
- Add additional file attribute tests. Based on a patch by Katayama Hirofumi MZ.
CORE-13495

svn path=/trunk/; revision=75861
2017-09-17 08:08:39 +00:00
Amine Khaldi
69f853d085 [README.WINE] Update the status of the recently committed syncs. CORE-13762
svn path=/trunk/; revision=75860
2017-09-16 20:52:03 +00:00
Amine Khaldi
323ee47885 [QUARTZ_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75859
2017-09-16 20:45:12 +00:00
Amine Khaldi
e8ecd538d4 [QUARTZ] Sync with Wine Staging 2.16. CORE-13762
84f5761 quartz: Use standard wine_dbgstr_longlong.
e994c62 quartz: Use nAvgBytesPerSec to calculate length.
e1d14d2 quartz: Restore a comment explaining mediatime.
bf9eaac quartz: Small readability fix.

svn path=/trunk/; revision=75858
2017-09-16 20:45:04 +00:00
Amine Khaldi
7967cf2972 [DPLAYX_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75857
2017-09-16 20:44:56 +00:00
Amine Khaldi
abbe72e76a [DPLAYX] Sync with Wine Staging 2.16. CORE-13762
6a6f336 dplayx: Implement IDirectPlayLobby3 EnumAddressTypes.
2ef274b dplayx: Implement IDirectPlay4 EnumConnections.
4f4b3be dplayx: First name server address may be null.

svn path=/trunk/; revision=75856
2017-09-16 20:44:50 +00:00
Amine Khaldi
48e74aa082 [DINPUT] Sync with Wine Staging 2.16. CORE-13762
5214b47 dinput: Do not wait for hook thread startup in IDirectInput8::Initialize.
83a3887 dinput: Avoid possible deadlock when CS are acquired in different order.
49fdde1 dinput: Use proper size for combobox controls.
b50d1fa dinput: Limit axes while remaping broken devices.

svn path=/trunk/; revision=75855
2017-09-16 20:44:43 +00:00
Amine Khaldi
52433225ed [D3DRM_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75854
2017-09-16 20:44:31 +00:00
Amine Khaldi
ea31417d4a [D3DRM] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75853
2017-09-16 20:44:24 +00:00
Amine Khaldi
387aaf72d9 [PSDK] Update d3drmobj.h. CORE-13762
svn path=/trunk/; revision=75852
2017-09-16 20:44:16 +00:00
Amine Khaldi
43e0ab00ae [D3DCOMPILER_43] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75851
2017-09-16 20:44:11 +00:00
Amine Khaldi
c132f6a316 [DDRAW] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75850
2017-09-16 20:44:06 +00:00
Amine Khaldi
d38829ca69 [D3D9] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75849
2017-09-16 20:43:55 +00:00
Amine Khaldi
5d9d77ba1a [D3D8] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75848
2017-09-16 20:43:50 +00:00
Amine Khaldi
3d13ed394e [WINED3D] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75847
2017-09-16 20:43:40 +00:00
Pierre Schweitzer
e42a504524 [NTOSKRNL]
Don't set the read paging IO on write.
Fixes tests from r75845.

svn path=/trunk/; revision=75846
2017-09-15 12:14:42 +00:00
Pierre Schweitzer
891930d175 [KMTESTS:CC]
[KMTESTS:MM]
Also test the paging IO flag of the MDL

svn path=/trunk/; revision=75845
2017-09-15 12:10:59 +00:00
Pierre Schweitzer
f62d7e0c24 [NTOSKRNL]
Fix the way the paging IO MDLs are issued by Cc on read.
Similar to r75834.
Fixes tests from r75842.

svn path=/trunk/; revision=75844
2017-09-15 11:49:55 +00:00
Pierre Schweitzer
2cbaba6989 [KMTESTS:CC]
That wasn't meant to be committed

svn path=/trunk/; revision=75843
2017-09-15 11:24:38 +00:00
Pierre Schweitzer
9ac91a4ca5 [KMTESTS:CC]
Tests for paging IO MDL for read operations. Equivalent to r75833 (and r75840).
They fail in ROS.

svn path=/trunk/; revision=75842
2017-09-15 10:37:00 +00:00
Pierre Schweitzer
752fc9bb9c [KMTESTS:MM]
Revert r75840.
It's no use that way

svn path=/trunk/; revision=75841
2017-09-15 10:32:22 +00:00
Pierre Schweitzer
369ae3655b [KMTESTS:MM]
Tests for paging IO MDL for read operations. Equivalent to r75833.

svn path=/trunk/; revision=75840
2017-09-15 08:16:14 +00:00
Mark Jansen
82c8079674 [LIBTIRPC] Do not add makefiles in the CMakeLists.txt
svn path=/trunk/; revision=75839
2017-09-14 20:31:53 +00:00
Pierre Schweitzer
7f2f7b1fe4 [RAPPS]
Update French translation

svn path=/trunk/; revision=75838
2017-09-14 16:00:01 +00:00
Alexander Shaposhnikov
e38d1d701c [RAPPS] Toggle toolbar captions on resize
- Implemented hiding toolbar captions when buttons are about to intersect with the searchbar
- Minor style changes

svn path=/trunk/; revision=75837
2017-09-14 15:56:19 +00:00
Pierre Schweitzer
03dfbbb09d [BTRFS]
Disable the MountMgr thread; given the current storage stack state, it's useless and can even cause troubles

CORE-13769

svn path=/trunk/; revision=75836
2017-09-14 09:04:32 +00:00
Pierre Schweitzer
6876083dc6 [KMTESTS:MM]
Few tests for MmBuildMdlForNonPagedPool() I wrote earlier.
They all pass fine on ROS.

svn path=/trunk/; revision=75835
2017-09-13 16:38:32 +00:00
Pierre Schweitzer
662241cc75 [NTOSKRNL]
Don't call MmBuildMdlForNonPagedPool in CcWriteVirtualAddress():
- BaseAddress comes from PagedPood
- Windows returns a locked MDL from paged pool
- See tests from r75833 that are getting fixed with that revision

This fixes assertions failures on BtrFS write.

CORE-13763
CORE-13769

svn path=/trunk/; revision=75834
2017-09-13 16:13:21 +00:00
Pierre Schweitzer
d7718b4d51 [KMTESTS:MM]
Add a test that shows that MDLs issued by Cc for paging IOs are not in the correct state (nor correctly allocated)

CORE-13769

svn path=/trunk/; revision=75833
2017-09-13 11:53:56 +00:00
Sylvain Petreolle
6c0cb314cd Stub CoGetInterceptorFromTypeInfo for Firefox. (lets xul.dll to load)
CORE-12828

svn path=/trunk/; revision=75832
2017-09-12 20:25:59 +00:00
Daniel Reimer
85c69e94ac [RAPPS]
ENOUGH!
CORE-13666 #resolve #comment Fixed forever!

svn path=/trunk/; revision=75831
2017-09-11 19:20:32 +00:00
Sylvain Petreolle
f77c6b5493 [RAPPS]
Include cleanup. Patch by sanchaez+small changes by me.

svn path=/trunk/; revision=75830
2017-09-10 23:44:22 +00:00
Sylvain Petreolle
795a573d67 [RAPPS]
Better place for a pch inclusion. Spotted by gigaherz

svn path=/trunk/; revision=75829
2017-09-10 22:57:01 +00:00
Sylvain Petreolle
f48ddd7571 [RAPPS]
Include rapps.h(pch) in unattended.h
Fixes GCC build.

svn path=/trunk/; revision=75828
2017-09-10 22:50:52 +00:00
David Quintana
d33f811244 [RAPPS]
* Fix linux build? maybe? please?

svn path=/trunk/; revision=75827
2017-09-10 22:31:08 +00:00
David Quintana
5798e9349a Merge RAPPS improvements branch into trunk.
Contains the work done by sanchaez (Alexander Shaposhnikov) during GSoC 2017:
 * Better information in the application details view.
 * Bulk installation of multiple applications at once.
 * Command-line automation of installation (single and bulk).

(for more details, see the related blog posts)

TRANSLATORS: Many resources have been changed, and they are in need of review!

svn path=/trunk/; revision=75826
2017-09-10 22:07:29 +00:00
David Quintana
430d5ab6cd * Fix svn merge-info confusion regarding this file.
svn path=/branches/GSoC_2017/rapps/; revision=75825
2017-09-10 21:26:00 +00:00
Alexander Shaposhnikov
a219ebec32 [RAPPS] Stopped GCC whining (fixed GCC build)
svn path=/branches/GSoC_2017/rapps/; revision=75824
2017-09-10 21:02:06 +00:00
Alexander Shaposhnikov
fa2ddd2f4c [ATL] Fixed atlcoll.h ignoring _ATL_NO_EXCEPTIONS
svn path=/branches/GSoC_2017/rapps/; revision=75823
2017-09-10 20:59:48 +00:00
Alexander Shaposhnikov
79ee865810 [ATL] CStringT fixes
- Added copy constructor and assignment from CSimpleStringT to CStringT 
  This fixed initialization while using `operator+` in GCC.
  ```CStringW s = a + b; ```
  operator+ operators are defined for CSimpleStringT.
  It worked in MSVC because it did implicit conversion of CSimpleStringT to PCXSTR which called appropriate CStringT constructor.
  GCC doesn't do such conversions and triggers an error.
- Unified `operator=(CStringT, PCXSTR)` with the rest

svn path=/branches/GSoC_2017/rapps/; revision=75822
2017-09-10 20:45:56 +00:00
David Quintana
164da232b6 * Sync with trunk HEAD (r75820).
svn path=/branches/GSoC_2017/rapps/; revision=75821
2017-09-10 19:23:45 +00:00
Alexander Shaposhnikov
ec69b8b62f [RAPPS] Moved cabinet.dll related definitions to separate header
svn path=/branches/GSoC_2017/rapps/; revision=75820
2017-09-10 17:33:14 +00:00
Sylvain Petreolle
cdf0904278 Commit forgotten part of the Esperanto support from r75378.
CORE-11021

svn path=/trunk/; revision=75819
2017-09-10 16:38:24 +00:00
Kamil Hornicek
3c1b7f0877 [WIN32K]
- really check whether the requested pixel is outside of the surface in NtGdiGetPixel
CORE-12820

svn path=/trunk/; revision=75818
2017-09-10 09:09:57 +00:00
Alexander Shaposhnikov
050d268e04 [RAPPS] Replaced my @gmail.com email with @reactos,org one & Removed my copyright from rosui.h
svn path=/branches/GSoC_2017/rapps/; revision=75816
2017-09-09 20:44:43 +00:00
Alexander Shaposhnikov
b49140dc40 [RAPPS] License header unification and minor style changes
- Unified & reformatted license headers according to https://www.reactos.org/wiki/Coding_Style
- Minor style changes

svn path=/branches/GSoC_2017/rapps/; revision=75815
2017-09-09 20:38:06 +00:00
Alexander Shaposhnikov
9cf1050fce [RAPPS] CConfigParser cleanup
- removed `static` from strings declaration as pointed out by gadamopoulos

svn path=/branches/GSoC_2017/rapps/; revision=75814
2017-09-09 19:43:39 +00:00
Alexander Shaposhnikov
a2bf4ef201 [RAPPS] Renamed CmdParser to UseCmdParameters
svn path=/branches/GSoC_2017/rapps/; revision=75813
2017-09-09 19:41:08 +00:00
Alexander Shaposhnikov
3bb7be0c59 [RAPPS] resource.h: Added missing space
svn path=/branches/GSoC_2017/rapps/; revision=75812
2017-09-09 19:13:35 +00:00
Alexander Shaposhnikov
991801248f [RAPPS] Deleted installdlg.cpp as unused
svn path=/branches/GSoC_2017/rapps/; revision=75811
2017-09-09 19:12:41 +00:00
Alexander Shaposhnikov
840044411f [RAPPS] Settings Dialog changes
- replaced `static` with unnamed namespace (static in this context was deprecated in C++03)
- fixed `Choose Folder` dialog text not loading the first time (trivial)

svn path=/branches/GSoC_2017/rapps/; revision=75810
2017-09-09 19:11:04 +00:00
Alexander Shaposhnikov
94e82f5f37 [RAPPS] Replaced double ternary operators with one if for readability
svn path=/branches/GSoC_2017/rapps/; revision=75809
2017-09-09 17:50:31 +00:00
Alexander Shaposhnikov
d733214459 [RAPPS] Library load fixup in crichedit.h
svn path=/branches/GSoC_2017/rapps/; revision=75808
2017-09-09 17:40:39 +00:00
Colin Finck
6116aa816b [MKISOFS]
Update mkisofs to schily-2017-09-07.
Among other things, this version comes with an upstream fix for David's x64 fix in r75399. We are now using 100% unmodified upstream code again.

svn path=/trunk/; revision=75806
2017-09-09 15:06:48 +00:00
Pierre Schweitzer
dc1e7928d0 [FSUTIL]
Implement fsutil hardlink create

svn path=/trunk/; revision=75804
2017-09-08 20:51:16 +00:00
Mark Jansen
e1ea305c4d [APPHELP_APITEST][APPSHIM_APITEST] Update the license headers
svn path=/trunk/; revision=75803
2017-09-08 20:33:40 +00:00
Mark Jansen
ab7639ea30 [XML2SDB][SHIMDBG] Update license headers
svn path=/trunk/; revision=75802
2017-09-08 20:31:28 +00:00
Mark Jansen
cd21e2fbda [ACLAYERS][ACGENRAL] Update license headers + include cleanup.
svn path=/trunk/; revision=75801
2017-09-08 20:29:16 +00:00
Kamil Hornicek
f65d8f9140 [WIN32SS|KBDHID]
- fix some typos and copypastas

svn path=/trunk/; revision=75800
2017-09-08 20:20:34 +00:00
Mark Jansen
7279c0c541 [APPHELP][ACPPAGE][SHIMLIB] Update license headers
svn path=/trunk/; revision=75799
2017-09-08 20:19:51 +00:00
Kamil Hornicek
8c09b9537d [SHELL32]
- some tweaks, optimizations and fixes for the free/used disk space pie chart drawing code to properly cover all corner cases and remove minor drawing artifacts
CORE-8757

svn path=/trunk/; revision=75798
2017-09-08 20:00:59 +00:00
Kamil Hornicek
266bdc5e3d [NOTEPAD]
- don't allow multiple instances of the find/replace dialog

CORE-13744


svn path=/trunk/; revision=75797
2017-09-08 19:09:48 +00:00
Pierre Schweitzer
8e31783cb7 [BTRFSLIB]
Sync to 1.0

CORE-13763

svn path=/trunk/; revision=75796
2017-09-08 16:31:32 +00:00
Pierre Schweitzer
925c2e9d2f [SHELLBTRFS]
Fix MSVC build?

CORE-13763

svn path=/trunk/; revision=75795
2017-09-08 12:13:10 +00:00
Pierre Schweitzer
05354b6107 [SHELLBTRFS]
Add missing header

CORE-13763

svn path=/trunk/; revision=75794
2017-09-08 12:01:47 +00:00
Pierre Schweitzer
c032d89e77 [SHELLBTRFS]
Sync the btrfs shell extension to 1.0

CORE-13763

svn path=/trunk/; revision=75793
2017-09-08 11:59:42 +00:00
Pierre Schweitzer
31328a8e2d [NDK]
- Make FILE_INFORMATION_CLASS definition consistent with XDK
- Add the definition of FILE_ACCESS_INFORMATION

CORE-13763

svn path=/trunk/; revision=75792
2017-09-08 11:46:06 +00:00
Pierre Schweitzer
ee763bc499 [NDK]
Add a missing typedef

svn path=/trunk/; revision=75791
2017-09-08 11:41:31 +00:00
Pierre Schweitzer
28683eed06 [PSDK]
Define FSCTL_GET_INTEGRITY_INFORMATION, FSCTL_SET_INTEGRITY_INFORMATION, FSCTL_DUPLICATE_EXTENTS_TO_FILE and their associated structures

CORE-13763

svn path=/trunk/; revision=75790
2017-09-08 11:40:52 +00:00
Pierre Schweitzer
679192cab4 [XDK]
Add a Win8.1 FSCTL

CORE-13763

svn path=/trunk/; revision=75789
2017-09-08 11:39:17 +00:00
Pierre Schweitzer
7eb6e7c2ac [BTRFS]
Fix build

CORE-13763

svn path=/trunk/; revision=75787
2017-09-08 08:15:21 +00:00
Pierre Schweitzer
68a5f90220 [BTRFS]
Sync btrfs to 1.0.

CORE-13763

svn path=/trunk/; revision=75786
2017-09-08 08:02:43 +00:00
Pierre Schweitzer
eb9a2dd5b2 [DDK]
Define IDE_COMMAND_FLUSH_CACHE

CORE-13763

svn path=/trunk/; revision=75785
2017-09-08 07:55:16 +00:00
Thomas Faber
8ec72be7cd [USBPORT][USBHUB_NEW]
- Add license headers

svn path=/trunk/; revision=75784
2017-09-08 07:32:39 +00:00
Thomas Faber
ba2be71aa9 [USBPORT]
- Begin implementing split transfers. Patch by Vadim Galyant.

svn path=/trunk/; revision=75783
2017-09-08 07:17:34 +00:00
Pierre Schweitzer
cb8ab26d8b [NTOSKRNL]
In IoReportDetectedDevice(), don't attempt to guess service name, use the one provided in DriverObject.
This fixes BtrFS file system driver initialization.
Patch by Thomas Faber.

CORE-13763

svn path=/trunk/; revision=75782
2017-09-07 21:23:19 +00:00
Mark Jansen
969293ce10 [SDK] Allow version lie shims to be applied to msi.dll
svn path=/trunk/; revision=75781
2017-09-07 16:46:33 +00:00
Pierre Schweitzer
8df0380fb1 [FSUTIL]
Fix a cppcheck warning

svn path=/trunk/; revision=75780
2017-09-07 12:49:13 +00:00
Timo Kreuzer
8011060032 [WDMAUD.DRV/KMIXER] Replace a float mul/div/round operation with integer math.
svn path=/trunk/; revision=75779
2017-09-06 21:09:25 +00:00
Pierre Schweitzer
78fa10c45b [FSUTIL]
Print nicer error messages

svn path=/trunk/; revision=75778
2017-09-06 17:11:03 +00:00
Pierre Schweitzer
3ffb3ab04a [FSUTIL]
Implement fsutil fsinfo volumeinfo.
Works well with our various FS :-)

svn path=/trunk/; revision=75777
2017-09-06 16:35:46 +00:00
Pierre Schweitzer
d738dbe0df [XDK]
Add missing defines for FS features

svn path=/trunk/; revision=75776
2017-09-06 16:28:22 +00:00
Pierre Schweitzer
cd85658a08 [FSUTIL]
Fix build (how does it even build locally?!)

svn path=/trunk/; revision=75775
2017-09-06 15:36:05 +00:00
Pierre Schweitzer
935155b549 [FSUTIL]
Implement fsutil fsinfo drives and fsutil fsinfo drivetype

svn path=/trunk/; revision=75774
2017-09-06 15:32:02 +00:00
Pierre Schweitzer
0134cec6f4 [FSUTIL]
Add a helper for opening a volume. Make it check for local devices if needed

svn path=/trunk/; revision=75773
2017-09-06 12:41:52 +00:00
Pierre Schweitzer
a8a2ee2151 [FASTFAT]
Don't decrease the open handle count too much (in cleanup & close). This avoid overflow and allows correct openings count

svn path=/trunk/; revision=75772
2017-09-06 11:49:30 +00:00
Pierre Schweitzer
a9dcc28ffb [FASTFAT]
Don't return uninit status on allocation failure.

svn path=/trunk/; revision=75771
2017-09-06 11:48:42 +00:00
James Tabor
dda7065bee [Shell32]
- Patch by Fabian Maurer : Draw text on message boxes without background.
- Fixes CORE-13742.

svn path=/trunk/; revision=75770
2017-09-06 05:33:35 +00:00
Pierre Schweitzer
76a0cdb017 [PSDK]
Define FSCTL_MARK_VOLUME_DIRTY.
This fixes build (erm)

svn path=/trunk/; revision=75769
2017-09-05 19:19:22 +00:00
Pierre Schweitzer
4274a76991 [FSUTIL]
Implement setting the dirty bit (fsutil dirty set) on a volume.

This doesn't allow to trigger a chkdsk on reboot with ReactOS, because of
the way we handle the dirty bit in our FAT implementation is a bit... weird.

This works on W2K3 though!

svn path=/trunk/; revision=75768
2017-09-05 19:11:02 +00:00
Pierre Schweitzer
bf608cfae1 [FASTFAT]
Fix a bug:
- IRP information was never set in VfatIsVolumeDirty() and thus dirty status was never copied back to the caller

svn path=/trunk/; revision=75767
2017-09-05 19:08:01 +00:00
Pierre Schweitzer
bb567d1320 [FSUTIL]
Avoid code duplication++

svn path=/trunk/; revision=75766
2017-09-05 13:24:00 +00:00
Pierre Schweitzer
e03a7274dc [FSUTIL]
Avoid code duplication

svn path=/trunk/; revision=75765
2017-09-05 13:10:16 +00:00
Pierre Schweitzer
7f463d43db [FSUTIL]
Add a skeleton for the fsutil tool.
As a proof of concept, implement fsutil dirty query.
More to follow ;-).

svn path=/trunk/; revision=75764
2017-09-05 12:56:45 +00:00
Pierre Schweitzer
a81f0507f2 [PSDK]
Add FSCTL for dirty bit read

svn path=/trunk/; revision=75763
2017-09-05 12:51:08 +00:00
Alexander Shaposhnikov
40b95d2e89 [RAPPS] Merged two Installed and Available enum values into one enum
svn path=/branches/GSoC_2017/rapps/; revision=75761
2017-09-03 21:10:24 +00:00
Alexander Shaposhnikov
1b21bb0fc5 [RAPPS] Complete renaming
svn path=/branches/GSoC_2017/rapps/; revision=75760
2017-09-03 21:03:06 +00:00
Alexander Shaposhnikov
a73e3ef3a3 [RAPPS] Amendment: undo renaming in loaddlg.cpp
svn path=/branches/GSoC_2017/rapps/; revision=75759
2017-09-03 20:48:53 +00:00
Alexander Shaposhnikov
49ec689c2d [RAPPS] Formatting fixes
- CAvailableApplicationInfo: added m_ prefixes to members
- CAvailableApps: renamed EnumAvailableApplications to Enum
- Renamed LICENSE_TYPE enum to LicenseType and renamed enum values
- unattended.cpp: Added license header

svn path=/branches/GSoC_2017/rapps/; revision=75758
2017-09-03 20:37:14 +00:00
Alexander Shaposhnikov
e949d212ca [RAPPS] Removed unecessary inline in crichedit.h
svn path=/branches/GSoC_2017/rapps/; revision=75756
2017-09-03 20:23:44 +00:00
Alexander Shaposhnikov
9be376d93f [RAPPS] Fixed newline in de-DE.rc
svn path=/branches/GSoC_2017/rapps/; revision=75754
2017-09-03 19:52:38 +00:00
Thomas Faber
fae06a9723 [USBPORT]
Patch by Vadim Galyant:
- Move isochronous transfer functions to their own file
- Fix return type of PUSBPORT_COMPLETE_TRANSFER
- Improve some debug prints

svn path=/trunk/; revision=75745
2017-09-02 22:48:45 +00:00
Timo Kreuzer
e8937c0896 [CMAKE] Add CL version 19.11 from VS 2017 version 15.3.3 to configure.cmd
svn path=/trunk/; revision=75743
2017-09-02 16:27:38 +00:00
Thomas Faber
22cc49f3f6 [NTOS:MM]
- Improve inaccurate debug print

svn path=/trunk/; revision=75742
2017-09-02 15:18:02 +00:00
James Tabor
a99a524b47 [User32]
- Disable code from CORE-10266.

svn path=/trunk/; revision=75741
2017-09-02 14:36:16 +00:00
Thomas Faber
0f34777514 [MBEDTLS]
- Update to version 2.6.0
CORE-13739

svn path=/trunk/; revision=75740
2017-09-02 13:06:14 +00:00
Thomas Faber
4db421613f [MPG123]
- Update to version 1.25.6
CORE-13739

svn path=/trunk/; revision=75739
2017-09-02 13:03:21 +00:00
Thomas Faber
16de0b2c4d [LIBPNG]
- Update to version 1.6.32
CORE-13739

svn path=/trunk/; revision=75738
2017-09-02 12:44:21 +00:00
Thomas Faber
f8b28727ba [USBPORT]
- Avoid unnecessary duplicate variables in USBPORT_FlushPendingTransfers

svn path=/trunk/; revision=75737
2017-09-02 09:03:07 +00:00
Thomas Faber
161bcc1aa2 [USBPORT]
- Fix logic error: don't complete IRPs for which the cancel routine has been called.

svn path=/trunk/; revision=75736
2017-09-02 08:59:52 +00:00
James Tabor
6af37fd54e [NtUser]
- Patch by Fabian Maurer : Send WM_NCPAINT and WM_ERASEBKGND when window is shown. Only send position-change messages when needed.
- Adapted patch and fixes CORE-3998.

svn path=/trunk/; revision=75735
2017-09-02 04:45:16 +00:00
James Tabor
968673daab [NtUser]
- Fix a potential crash in test_menu_locked_by_window.

svn path=/trunk/; revision=75734
2017-09-02 04:08:22 +00:00
Hermès Bélusca-Maïto
5e78e7c3c1 [EVENTCREATE]: Use wcstoul() to retrieve and check for valid numerical values.
svn path=/trunk/; revision=75733
2017-09-01 20:35:25 +00:00
Hermès Bélusca-Maïto
4e1f270f19 [CONSOLE.CPL]: Fix an invalid success check after calling wcstoul(), plus usage fixes for the True-Type combobox edit box.
svn path=/trunk/; revision=75732
2017-09-01 20:17:25 +00:00
Mark Jansen
f032e273d2 [SHIMENG] Fix logging when handling ordinal ordinal functions.
svn path=/trunk/; revision=75731
2017-09-01 19:06:04 +00:00
Mark Jansen
87ad6ca5ef [SERVICES] Allow CreateService to create an interactive service under the LocalSystem account.
MSDN stated that this is allowed, and this fixes VMWare Horizon setup not working.
CORE-13434

svn path=/trunk/; revision=75730
2017-09-01 18:27:40 +00:00
Hermès Bélusca-Maïto
bf14a6ac69 [NET]: Whitespace fixes only.
svn path=/trunk/; revision=75729
2017-09-01 18:00:06 +00:00
Hermès Bélusca-Maïto
89e4e6102e [ACPPAGE]: "Sync fail" with Mark Jansen's translation work in CORE-13693, sorry :(
svn path=/trunk/; revision=75726
2017-08-31 20:49:02 +00:00
Hermès Bélusca-Maïto
c65f4c81cf [ACPPAGE]: Improve the compatibility tab:
- Use the tab title from the corresponding dialog resource caption string.
- Fix some translations, and complete the french one.
- Use DialogBoxParamW and MAKEINTRESOURCEW (with W).

svn path=/trunk/; revision=75725
2017-08-31 20:38:38 +00:00
Alexander Shaposhnikov
be9184dfa6 [RAPPS] Adjusted splitter values a bit. CORE-13163
svn path=/branches/GSoC_2017/rapps/; revision=75718
2017-08-30 22:22:38 +00:00
Giannis Adamopoulos
08585bba00 [BROWSEUI] -Demote a fixme print to a mere comment.
svn path=/trunk/; revision=75714
2017-08-30 12:59:05 +00:00
Giannis Adamopoulos
f89672624d [SHELL32] -SHChangeNotifyRegister: Don't call CreateFileW with something that is not a filesystem path as this will obviously fail like when we are browsing My Computer.
svn path=/trunk/; revision=75713
2017-08-30 12:49:59 +00:00
Giannis Adamopoulos
a051cd5754 [SHELL32][BROWSEUI] -Demote some uselass error prints and promote some others that make sense to have. Avoid a case that would logically hit an error as initialization of the shell browser is still under way,
svn path=/trunk/; revision=75712
2017-08-30 12:29:43 +00:00
Alexander Shaposhnikov
409b9f317c [RAPPS] Fixed resizing issues. CORE-13163
svn path=/branches/GSoC_2017/rapps/; revision=75710
2017-08-30 07:59:27 +00:00
Giannis Adamopoulos
7396067b2a [EXPLORER] -Fix a comment typo. CORE-13566
svn path=/trunk/; revision=75706
2017-08-29 09:11:57 +00:00
Hermès Bélusca-Maïto
7a73afbbc0 [CMD]: Russian translation for the START command, adapted from amber CORE-13248, jperm CORE-13560 and reviewed by Alexander Shaposhnikov (sanchaez). Thank you all :)
Addendum to r75369.

svn path=/trunk/; revision=75705
2017-08-28 20:31:34 +00:00
Thomas Faber
62ae004747 [INF]
- Properly set svn:eol-style. These files are text, so they shouldn't be marked as binary, and they need to have CRLF line endings since they go on the iso.

svn path=/trunk/; revision=75704
2017-08-28 19:42:35 +00:00
Alexander Shaposhnikov
153d823dc2 [RAPPS] Final commit
- Removed atlex

svn path=/branches/GSoC_2017/rapps/; revision=75702
2017-08-28 15:12:23 +00:00
Giannis Adamopoulos
f6de9ccb3d [UXTHEME] -When calculating the size of caption buttons assume that they have the same size. Hacks in the theme files that change the way the buttons are drawn actually make them appear to have a different size. CORE-13512
svn path=/trunk/; revision=75696
2017-08-28 13:41:16 +00:00
Sylvain Petreolle
8fe63e68c5 [RAPPS] Add a SHA1 sum to uTorrent.
CORE-13666

svn path=/trunk/; revision=75691
2017-08-27 12:00:55 +00:00
Giannis Adamopoulos
6f1a2f7dc9 [UXTHEME] -Ignore the alpha channel so that TrasnparentBlt will be used when a bitmap has an alpha channel but no pixel has alpha transparency. CORE-13464
svn path=/trunk/; revision=75688
2017-08-27 10:55:30 +00:00
Giannis Adamopoulos
3ee6628aa5 [BROWSEUI] -CExplorerBand: Calling ILGetDisplayNameEx with a full pidl was a bit hacky after all because it doesn't work always in win10. Just get the name manually as no helper is good enough.
svn path=/trunk/; revision=75687
2017-08-27 09:35:03 +00:00
Alexander Shaposhnikov
3f0ba7a08e [RAPPS] RC of final commit
- Hide checkboxes in "Installed"

svn path=/branches/GSoC_2017/rapps/; revision=75686
2017-08-27 00:00:45 +00:00
James Tabor
93751aff42 [GDI32|Metafile]
- Andrew Eikum : Update metafile world transform immediately in winnt mode.
- More information at https://www.winehq.org/pipermail/wine-cvs/2017-August/122607.html .

svn path=/trunk/; revision=75685
2017-08-26 22:49:13 +00:00
Alexander Shaposhnikov
15a86cdf6a [RAPPS]
- Fixed crash when trying to double-click in the "Installed" category
- Replaced APPLICATION_INFO with CAvailableApplicationInfo
- Added DownloadInfo struct as a replacement of APPLICATION_INFO in CDownloadManager
- Minor fixes

svn path=/branches/GSoC_2017/rapps/; revision=75684
2017-08-26 22:43:05 +00:00
Alexander Shaposhnikov
b6ba25a4da [RAPPS]
- Fixed typo in lang/ru-RU.rc

svn path=/branches/GSoC_2017/rapps/; revision=75683
2017-08-26 22:35:29 +00:00
Kamil Hornicek
2cee3c23f7 [TRANSLATIONS]
- Fix missing shortcuts on desktop for Ukrainian localization.

svn path=/trunk/; revision=75682
2017-08-26 21:19:44 +00:00
Alexander Shaposhnikov
0430bfa868 [RAPPS]
- Fixed switching between "Installed" and "Available"
- Added default icon to "Installed"

svn path=/branches/GSoC_2017/rapps/; revision=75681
2017-08-26 19:41:09 +00:00
Alexander Shaposhnikov
93010e2e08 [RAPPS]
- Revert s_EnumInstalledAppProc()

svn path=/branches/GSoC_2017/rapps/; revision=75680
2017-08-26 17:52:55 +00:00
Alexander Shaposhnikov
9fa8155e7c [RAPPS]
- Amend last commit - added gui.h

svn path=/branches/GSoC_2017/rapps/; revision=75679
2017-08-26 17:42:21 +00:00
Alexander Shaposhnikov
c3baad9f4f [RAPPS]
- Removed hard-coded string leftover
- Re-enabled Installed category

svn path=/branches/GSoC_2017/rapps/; revision=75678
2017-08-26 16:49:18 +00:00
Giannis Adamopoulos
c311042950 [BROWSEUI][SHELL32] -Move bitmap resources used by browseui from shell32 to browseui. Browseui alongside filebrowser.exe can already be used in windows so it makes sense to let it have toolbar icons even in latest windows versions. (It works from xp to win10).
svn path=/trunk/; revision=75677
2017-08-26 14:38:32 +00:00
Hermès Bélusca-Maïto
0054982013 [BOOTDATA]: Move an inf comment where it belongs.
svn path=/trunk/; revision=75675
2017-08-26 12:52:28 +00:00
Alexander Shaposhnikov
5842c7c6d4 [RAPPS]
- Added language strings to all .rc
- Replaced hardcoded strings with resource counterparts
- Fixed settings loading always default
- Fixed force update not working
- Removed hInst from LoadStringW() where possible

svn path=/branches/GSoC_2017/rapps/; revision=75673
2017-08-26 08:39:42 +00:00
Thomas Faber
d8a59d7716 [WIN32K:NTUSER]
- Remove unnecessary thread reference in IsThreadSuspended.

svn path=/trunk/; revision=75672
2017-08-26 07:31:38 +00:00
Giannis Adamopoulos
9cf9a89aa0 [BROWSEUI] -CAddressEditBox: Populate address bar combobox. Patch by Barrett Karish with improvements by me to fix leaks and add error checks. CORE-10988
svn path=/trunk/; revision=75670
2017-08-25 15:03:25 +00:00
Giannis Adamopoulos
58ef11fbed [SHELL32] -Silence two unneeded prints.
svn path=/trunk/; revision=75666
2017-08-25 08:59:10 +00:00
Giannis Adamopoulos
19c1694e55 [SHELL32] -CRecycleBin: Call GetDriveTypeW with correct parameters. Now files can be deleted to the recycle bin again. Patch by Serge Gautherie. CORE-12340
svn path=/trunk/; revision=75665
2017-08-25 08:44:13 +00:00
Alexander Shaposhnikov
94406ba5bc [RAPPS]
- HACKFIX for ReactOS in gui.cpp - prevent counting below zero
  see explanation comment
- Fix for percentage being shown incorrectly

svn path=/branches/GSoC_2017/rapps/; revision=75664
2017-08-24 23:48:10 +00:00
Giannis Adamopoulos
a28235c709 [USER32_APITEST] -Add a monster of a test to check if WM_DESTROYCLIPBOARD is blocking or not. Use a critical section while recording as we use a single message cache in two threads. After 50154, 50816, 50846 and 75616 changing back and forth, this test shows that 75616 is correct and making sure that it won't be changed again in the future, somehting that would break the ole clipboard.
svn path=/trunk/; revision=75663
2017-08-24 23:08:09 +00:00
Alexander Shaposhnikov
aa15934f23 [RAPPS]
Changes in the update process:
- Made UpdateAppsDB() functions static and added ForceUpdateAppsDB()
- EnumAvailableApplications() doesn't update DB on it's own
- Force updating now done only if bUpdateAtStart set or if no settings loaded (first run)
- Minor cleanup

svn path=/branches/GSoC_2017/rapps/; revision=75662
2017-08-24 22:04:44 +00:00
James Tabor
ddaeb9ccac [User32]
- Patch by mudhead : If the index is out of range, no error should be set, see CORE-13716.

svn path=/trunk/; revision=75661
2017-08-24 22:03:01 +00:00
Alexander Shaposhnikov
f65f506032 [RAPPS]
- Clean up the DB directory if extracting failed

svn path=/branches/GSoC_2017/rapps/; revision=75660
2017-08-24 21:56:27 +00:00
Alexander Shaposhnikov
c41df30066 [RAPPS]
- Changed the download process - now ThreadFunc handles the download loop
- Passing values to ThreadFunc as a parameter rather than static members
- Declared .cab download AppInfo static so it won't fade away during the download
- Fixed .cab extraction failing while no rapps folder present
- Visual improvements to the .cab dialog

svn path=/branches/GSoC_2017/rapps/; revision=75659
2017-08-24 18:46:39 +00:00
Aleksandar Andrejevic
699a97f3e2 [NTVDM]: Fix linear 4-bpp mode. Return the status of the AC palette when the index register is read.
svn path=/trunk/; revision=75643
2017-08-23 04:44:55 +00:00
Giannis Adamopoulos
524ce41fa2 [SHELL32] -CRecycleBin: Factor out a new class called CRecyclerDropTarget, which will take the data object and call SHFileOperation for its contents. Add a noisy print to show the parameters passed in SHFileOperation and make it to always use DROPEFFECT_MOVE. Make CDefaultContextMenu use the new drop target in order to delete a file.
svn path=/trunk/; revision=75640
2017-08-22 13:50:25 +00:00
Colin Finck
78c1aeecb9 [FS_REC]
Always register CDFS as a low-priority filesystem. This inserts it at the tail of the filesystem queue instead of the head, meaning UDF always takes precedence and UDF/CDFS hybrid media is properly detected as UDF.
Thanks to Pierre for the hint!

Should fix what's reported in https://jira.reactos.org/browse/CORE-9816?focusedCommentId=78820&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-78820

svn path=/trunk/; revision=75638
2017-08-22 09:09:19 +00:00
Giannis Adamopoulos
8da0a3a46d [OLE32] -Recreate the clipboard window if it isn't a valid window handle. Can happen if the thread that first used the ole clipboard exists which also leads to the clipboard window being destroyed.
svn path=/trunk/; revision=75637
2017-08-22 08:02:30 +00:00
Giannis Adamopoulos
6bb9ea74e5 [SHELL32] Misc fixes for CFSFolder
- GetCLSIDForFileType: Check if the shell extension is blocked by the Blocked key like wine does.
- CFSFolder::BindToObject: Remove a redundant check as _ILGetFileStructW already does the same check.
- CFSFolder::GetUIObjectOf: Do not try to load an IconHandler or an arbitrary extension for directories.
- CFSFolder::SetNameOf: Simplify and make secure by using great helpers like wcscmp and PathCombineW

svn path=/trunk/; revision=75634
2017-08-21 12:18:46 +00:00
Giannis Adamopoulos
af33a37eb4 [SHELL32] -CFSFolder: Fix a couple of handle leaks.
svn path=/trunk/; revision=75633
2017-08-21 09:07:41 +00:00
Colin Finck
4f8ba0560c [FS_REC]
- Add a detection routine for CDFS (ISO-9660) volumes that verifies the Primary Volume Descriptor.
- Use this to also detect CDFS on disks and load the CDFS driver if it has not been loaded yet (e.g. when a bootcd/livecd flashed USB drive is inserted at boot of an installed ReactOS).
- Fix a comment in udfs.c.

svn path=/trunk/; revision=75630
2017-08-20 15:30:59 +00:00
Thomas Faber
ecc55a34f2 [HDAUDBUS]
- Correctly disable interrupts for status change events. Fixes infinite "HDA_InterruptService c0000000" debug spam (interrupt storm) on VMware with HDAudio sound enabled.
CORE-13704 #resolve

svn path=/trunk/; revision=75629
2017-08-20 15:02:53 +00:00
Hermès Bélusca-Maïto
0aa863c9ed [BROWSEUI]: Improve the rendering of the toolbar pin buttons. By dsp8195. Sorry for the delay!
CORE-10838

svn path=/trunk/; revision=75628
2017-08-20 12:05:25 +00:00
Eric Kohl
80b20b10c3 [SHELL32]
Folder Options: Japanese TreeView translation.
Patch by Katajama Hirofumi MZ.
CORE-13690

svn path=/trunk/; revision=75627
2017-08-20 08:47:23 +00:00
Eric Kohl
b53f16528b [SYSSETUP]
Japanese translation of Theme dialog.
Patch by Katajama Hirofumi MZ.
CORE-13691

svn path=/trunk/; revision=75626
2017-08-20 08:27:16 +00:00
Giannis Adamopoulos
b5af5aa749 [SHELL32] -CFSDropTarger: Improve the debug message that shows the first thing that is copied or moved and where. This way we sort of know what parameters we pass to SHFileOperationW.
svn path=/trunk/; revision=75625
2017-08-19 15:48:47 +00:00
Colin Finck
75cb0454f7 [USETUP]
Add type 0x96 as "CDFS/ISO-9660" to our list of partition types now that our ISOs flashed to USB use it.

svn path=/trunk/; revision=75624
2017-08-19 14:53:54 +00:00
Giannis Adamopoulos
9fee94b692 [SHELL32] -CFSDropTarget: Simplyfy the code path that handles the CFSTR_SHELLIDLIST format. Don't use FOF_MULTIDESTFILES to keep things simple. CORE-13176
svn path=/trunk/; revision=75623
2017-08-19 11:19:06 +00:00
Giannis Adamopoulos
3c6b222f15 [SHELL32] -Simplify the drop target of CRecycleBin to let the data object generate the list of names that can be passed to SHFileOperationW.
svn path=/trunk/; revision=75622
2017-08-19 11:09:28 +00:00
Mark Jansen
fe4d4aa690 [WINED3D] Dereference context slightly later, as seen in wine. This prevents some crashes while applications are starting up. (f.e. ANNO1602)
svn path=/trunk/; revision=75621
2017-08-19 09:51:17 +00:00
Christoph von Wittich
f5aed8f8c1 [WLANAPI] map rpc to win error codes
svn path=/trunk/; revision=75620
2017-08-19 06:04:08 +00:00
Giannis Adamopoulos
08b350c0dc [SHELL32] -CDefaultContextMenu: Correctly differentiate the copy and the cut commands.
svn path=/trunk/; revision=75619
2017-08-18 17:39:34 +00:00
Giannis Adamopoulos
1980176e15 [SHELL32] -CDefViewBckgrndMenu: Fix pasting in the background of a folder.
svn path=/trunk/; revision=75618
2017-08-18 17:32:20 +00:00
Mark Jansen
e6008ea636 [OLE32] Do not crash on an invalid / empty clipboard.
CORE-12302

svn path=/trunk/; revision=75617
2017-08-18 17:18:46 +00:00
Giannis Adamopoulos
8998ffaca2 [WIN32K] -NtUserEmptyClipboard: Change its behaviour to wait for WM_DESTROYCLIPBOARD to return so it behaves like windows and our ole32 doesn't trip on its assumptions that everything works fine. A test will be written soon to prove that this is correct. CORE-12302
svn path=/trunk/; revision=75616
2017-08-18 17:18:17 +00:00
Benedikt Freisen
44fc547ffa [MSPAINT] Use Gdiplus::Bitmap in place of ATL::CImage to load pictures -- this un-breaks loading a picture's resolution from file
svn path=/trunk/; revision=75615
2017-08-18 17:01:01 +00:00
Alexander Shaposhnikov
bf41db72f6 [RAPPS]
- Correct the build process

svn path=/branches/GSoC_2017/rapps/; revision=75614
2017-08-18 16:38:28 +00:00
Timo Kreuzer
369ad20c7b [FTFD] Ignore NULL objects in free() wrapper
svn path=/trunk/; revision=75613
2017-08-18 15:02:05 +00:00
Timo Kreuzer
45720ed145 [FTFD] Fix indentation
svn path=/trunk/; revision=75612
2017-08-18 15:02:01 +00:00
Eric Kohl
7a47c14c8f [STOBJECT]
- Add support for the hotplug icon.
- Set default menu items in the context menus.
- Use a timer to properly distinguish between a single and a double click on an icon.
- Some code cleanup.

svn path=/trunk/; revision=75611
2017-08-18 14:49:11 +00:00
Timo Kreuzer
6c364c895d [NTOSKRNL] Fix 64 bit warnings about conversion in PsExitSpecialApc and PspTerminateThreadByPointer
svn path=/trunk/; revision=75610
2017-08-18 12:31:19 +00:00
Timo Kreuzer
8dea5dc526 Revert "[WIN32K] Fix probing and parameter validation in NtGdiPolyPolyDraw"
svn path=/trunk/; revision=75609
2017-08-18 12:18:41 +00:00
Timo Kreuzer
dd172a4fce [WIN32K] Fix probing and parameter validation in NtGdiPolyPolyDraw
svn path=/trunk/; revision=75608
2017-08-18 11:15:54 +00:00
Giannis Adamopoulos
d800840ef7 [SHELL32] Shell extension support for files.
- CFSFolder: Implement binding to files, implement loading arbitrary extensions for GetUIObjectOf from the registry, implement loading IconHandler shell extensions. Use the new helper routines to simplify getting the drop target.
- Improve the shortcut icons hack.

svn path=/trunk/; revision=75607
2017-08-18 09:11:59 +00:00
Timo Kreuzer
0d5f8b292a [NDK] Fix prototype of Nt/ZwQuerySystemInformation
svn path=/trunk/; revision=75606
2017-08-18 08:44:08 +00:00
Timo Kreuzer
44ae2b0fee [NTOSKRNL] Fix memory area macros
svn path=/trunk/; revision=75605
2017-08-18 08:42:43 +00:00
Giannis Adamopoulos
ce6b6fab9f [STOBJECT] Fix bug that caused some resource strings not to be loaded.
- These strings need to either be in every language file or have their own resource range but since we are using the same resource ids with windows I will just duplicate them.

svn path=/trunk/; revision=75604
2017-08-18 08:38:52 +00:00
Benedikt Freisen
bac7b8613e [PSDK][GDIPLUS] Further work on Graphics
svn path=/trunk/; revision=75603
2017-08-18 08:09:04 +00:00
Timo Kreuzer
7f3f55628a [NTOSKRNL] Remove duplicate fields from MEMORY_AREA
svn path=/trunk/; revision=75602
2017-08-18 07:13:34 +00:00
Giannis Adamopoulos
695d9ff51e [WIN32K] -Fix a bug with TransparentBlt when it should really ignore the alpha channel. CORE-13040. Approved by Timo.
svn path=/trunk/; revision=75601
2017-08-17 22:45:51 +00:00
Giannis Adamopoulos
c312beab6a [UXTHEME] -Remove some dead code
svn path=/trunk/; revision=75600
2017-08-17 21:31:52 +00:00
Thomas Faber
18c780f243 [USBHUB_NEW]
- Fix interval calculation in USBH_Wait. Patch by Vadim Galyant.

svn path=/trunk/; revision=75599
2017-08-17 19:55:13 +00:00
Thomas Faber
a93c1aa32f [CMIDriver]
- Set svn:eol-style to CRLF for inf files. Files that end up on the iso should never have 'native' line endings.

svn path=/trunk/; revision=75598
2017-08-17 19:25:32 +00:00
Giannis Adamopoulos
e8f24951d6 [SHELL32] -Simplify some coe in CShellLink.cpp
svn path=/trunk/; revision=75597
2017-08-17 16:46:15 +00:00
Mark Jansen
9d8fe6f238 [SHIMENG] Enable the Application Compatibility framework by default.
- Also add disabled keys to configure the logging
- Demote a noisy print used in the shim engine.
At this point the shim engine should be functional enough to be used.
One thing that remains is creating more shims(fixes) to use, and implement more features for the already existing ones.
CORE-13284

svn path=/trunk/; revision=75596
2017-08-17 16:42:29 +00:00
Giannis Adamopoulos
123a0e6818 [SHELL32] -AddFSClassKeysToArray: Increase the size of the buffer for the value read from the registry. There are cases when 40 are not enough.
svn path=/trunk/; revision=75595
2017-08-17 16:35:16 +00:00
Mark Jansen
1eee5db1a5 [ACLAYERS] Add a compatibility shim + layer for the VMWare Horizon setup.
This fixes the setup trying to print some debug strings.
For now the shim has to be applied manually, however the setup does not complete yet.
Patch bits & fixes by Thomas.
CORE-13434

svn path=/trunk/; revision=75594
2017-08-17 16:27:56 +00:00
Giannis Adamopoulos
41f448998f [COM_APITEST] -Add tests for CLSID_AttachmentServices.
svn path=/trunk/; revision=75593
2017-08-17 16:01:29 +00:00
Giannis Adamopoulos
58edf0b679 [ADVAPI32] -RegOpenKeyExW: Call NtOpenKey again with aligned parameters if STATUS_DATATYPE_MISALIGNMENT was returned the first time. CORE-13689
svn path=/trunk/; revision=75592
2017-08-17 14:37:24 +00:00
Colin Finck
fb160be266 [CDFS]
- Add a basic CDFS filesystem library "cdfslib" for checking and formatting a CDFS volume. Checking is unimplemented and formatting not supported anyway :)
- Use this library in the new "ucdfs" DLL and that DLL in "autochk". Fixes the "Unable to verify a CDFS volume" message at boot.
- Return the right device type (FILE_DEVICE_CD_ROM or FILE_DEVICE_DISK) in when querying volume information in cdfs.sys to get the proper icon in Explorer.

svn path=/trunk/; revision=75591
2017-08-17 12:21:27 +00:00
Colin Finck
d31e5d598c [FORMATTING]
Convert all tabs to spaces in ntdddisk.h

svn path=/trunk/; revision=75590
2017-08-17 12:18:28 +00:00
Eric Kohl
38f8c1bdc2 [ADVAPI32]
RegQueryInfoKey: Initializing *lpcbSecurityDescriptor before calling NtQueryKey fixes the remaining api tests.

svn path=/trunk/; revision=75589
2017-08-17 12:11:10 +00:00
Mark Jansen
dd1078cd17 [NTDLL_APITEST] Test unaligned pointers for NtOpenKey
CORE-13689

svn path=/trunk/; revision=75588
2017-08-17 11:42:13 +00:00
Mark Jansen
441f8dc306 [ADVAPI32_APITEST] Addendum to 75585, use void pointers to work around gcc ignoring pshpack1.
svn path=/trunk/; revision=75587
2017-08-17 11:06:46 +00:00
Colin Finck
956092d462 - Add 0x96 as ISO9660 partition type to ntdddisk.h (from https://en.wikipedia.org/wiki/Partition_type) and detect it using IsRecognizedPartition.
- Make our isohybrid create an MBR with partition type 0x96.

This properly assigns a drive letter to the Live-CD and lets me boot into desktop using "qemu -hda livecd.iso".
Fixes CORE-13184

svn path=/trunk/; revision=75586
2017-08-17 11:03:40 +00:00
Mark Jansen
ddcdef0768 [ADVAPI32_APITEST] Test unaligned pointers for RegOpenKeyExW.
svn path=/trunk/; revision=75585
2017-08-17 10:30:10 +00:00
Benedikt Freisen
2e7b5c5b11 [PSDK][GDIPLUS] Further work on wrapper classes Pen, Graphics and Brush
svn path=/trunk/; revision=75584
2017-08-17 09:44:57 +00:00
Timo Kreuzer
26e00e78a8 [WIN32K] Revert an accidental change from r75566
Fixes gdi32_winetest metafile regression

svn path=/trunk/; revision=75583
2017-08-17 09:39:43 +00:00
Timo Kreuzer
e1e2478e77 [WIN32K] Don't call IntIsFontRenderingEnabled() while holding an exclusive GDI object lock.
Should fix GUI hangs.

svn path=/trunk/; revision=75582
2017-08-17 09:08:57 +00:00
Colin Finck
7607ced6c6 [CDFS]
Fix uninitialized variable usage (why did neither MSVC nor GCC catch this?)

svn path=/trunk/; revision=75581
2017-08-16 23:12:55 +00:00
Timo Kreuzer
7462d87d28 [NTOS] Make the GET_HASH_ENTRY() macro return a pointer to the entry instead of the entry itself.
Implicitly it was already returning a pointer, which was then referenced using a "." instead of "->", giving the impression we were working on the returned object instead of the original data. - Convert some macros to inline functions

svn path=/trunk/; revision=75580
2017-08-16 20:30:45 +00:00
Colin Finck
3c64b4cbe9 [CDFS]
Register CDFS as a disk filesystem too in order to flash our ISOs directly to USB drives and boot from them. Also fix some DPRINTs in the course of that.

One step closer towards CORE-13184: This gets qemu -hda bootcd.iso to work.
What still doesn't work is qemu -hda livecd.iso and booting from a flashed USB drive on real hardware.
Further changes are also required in fs_rec, but this code isn't ready yet and doesn't seem to be the current blocker either.

Credits go to the entire Hackfest Team for helping on this!!

svn path=/trunk/; revision=75579
2017-08-16 20:04:55 +00:00
Benedikt Freisen
03d7bcb26c [PSDK][GDIPLUS] Further Pen work
svn path=/trunk/; revision=75578
2017-08-16 18:13:22 +00:00
Timo Kreuzer
4c0b46fd0a [PSDK] Add Win10 NTDDI version defines, improve version check
svn path=/trunk/; revision=75577
2017-08-16 17:10:06 +00:00
Benedikt Freisen
ee3e42bee0 [PSDK][GDIPLUS] Partly implement Pen
svn path=/trunk/; revision=75576
2017-08-16 16:19:17 +00:00
Timo Kreuzer
366d9c7141 [FLTMC][NFSD] Fix version definition
svn path=/trunk/; revision=75575
2017-08-16 16:06:41 +00:00
Timo Kreuzer
85f9842aab [KERNEL32] Support PAGE_EXECUTE_WRITECOPY in CreateFileMappingW if OsMajorVersion is 6+.
svn path=/trunk/; revision=75574
2017-08-16 16:06:36 +00:00
Timo Kreuzer
e7ffae1153 [DELAYIMP] Use underscore symbol prefix only on x86
svn path=/trunk/; revision=75573
2017-08-16 16:06:31 +00:00
Timo Kreuzer
2bb99ee284 [PSDK] Add SymSrvIsStoreW prototype to dbghelp.h
svn path=/trunk/; revision=75572
2017-08-16 16:06:27 +00:00
Timo Kreuzer
28b262929a [INTRIN.H] Add _mul128 and _umul128 prototypes and remove some obsolete ones from the MSC version.
svn path=/trunk/; revision=75571
2017-08-16 16:06:22 +00:00
Timo Kreuzer
4a92978784 [FAT32] Remove duplicated print
svn path=/trunk/; revision=75570
2017-08-16 16:06:18 +00:00
Timo Kreuzer
af3006ca2d [SHELLDESKTOP] Add missing dependency to psdk
svn path=/trunk/; revision=75569
2017-08-16 16:06:14 +00:00
Eric Kohl
49141de174 [SETUPAPI]
Add stubs for the remaining range list functions.

svn path=/trunk/; revision=75568
2017-08-16 14:18:42 +00:00
Timo Kreuzer
566a13042f [WIN32K] Remove old comments
svn path=/trunk/; revision=75567
2017-08-16 14:18:08 +00:00
Timo Kreuzer
93cecddaa8 [WIN32K]
- Refactor GreExtTextOutW to use a single exit path instead of 3
- Call MouseSafetyOnDraw* only for direct DCs

svn path=/trunk/; revision=75566
2017-08-16 13:37:15 +00:00
Eric Kohl
66de37e22f [SETUPAPI]
- Implement CMP_GetBlockedDriverInfo.
- Make sure that CMP_GetServerSideDeviceInstallFlags and CMP_WaitServicesAvailable can be called on local and remote machines.

svn path=/trunk/; revision=75565
2017-08-16 11:45:21 +00:00
Colin Finck
a6222fc8f3 [FREELDR]
Lower MAX_DISKREADBUFFER_SIZE to let INT 13h, AH=42h only read a maximum of 127 sectors (instead of 128 previously).
This fixes USB booting into the kernel on at least Dell Latitude D531 and Lenovo ThinkPad X61.

Now CORE-13184 remains (in a VM and on real hardware, probably related to the CDFS driver)

svn path=/trunk/; revision=75564
2017-08-16 10:44:15 +00:00
Benedikt Freisen
87980a1275 [PSDK][GDIPLUS] Forward NULL parameters to wrapped functions instead of blindly dereferencing them when trying to pass a pointee's pointer member to the wrapped function
svn path=/trunk/; revision=75563
2017-08-16 09:57:56 +00:00
Eric Kohl
0078433e69 [SETUPAPI]
Implement CM_Create_Range_List and CM_Free_Range_List. Still WIP.

svn path=/trunk/; revision=75562
2017-08-16 09:44:20 +00:00
Giannis Adamopoulos
40b5e9f4f8 [SHLWAPI] -Addendum to 75533. Pass the id offset to IContextMenu::InvokeCommand. Fixes launching applications from the start menu. CORE-13680
svn path=/trunk/; revision=75561
2017-08-15 23:02:45 +00:00
Alexander Shaposhnikov
9f9cf93785 [RAPPS]
- Style changes, typo fixes etc.

svn path=/branches/GSoC_2017/rapps/; revision=75560
2017-08-15 22:35:45 +00:00
Alexander Shaposhnikov
0a7403c03b [RAPPS]
- Quit CmdParser() as soon as no valid key supplied

svn path=/branches/GSoC_2017/rapps/; revision=75559
2017-08-15 21:39:21 +00:00
Alexander Shaposhnikov
96d2f529a5 [RAPPS]
- Close the INF file after loading the info

svn path=/branches/GSoC_2017/rapps/; revision=75558
2017-08-15 20:47:10 +00:00
Alexander Shaposhnikov
5af894b102 [RAPPS]
- Added the icon provided by Pi_User5

svn path=/branches/GSoC_2017/rapps/; revision=75556
2017-08-15 19:39:20 +00:00
Alexander Shaposhnikov
14be048f6f [RAPPS]
- Changed "/SETUP" key to "/INSTALL"
- Added support for multiple apps install by "/INSTALL"
  rapps /INSTALL 7-Zip AkelPad [...]
- Added INF based batch install with the "/SETUP" key
  Works for the full path for the .inf file
  TODO: detect if user entered the relative path for the inf and correct it
- Moved CmdParser to include/unattended.h and unattended.cpp

svn path=/branches/GSoC_2017/rapps/; revision=75555
2017-08-15 19:36:23 +00:00
Timo Kreuzer
cdcf2da12e [WIN32K] IntEngBitBlt returns BOOL, not NTSTATUS!
Fix usage in NtGdiSetDIBitsToDeviceInternal accordingly and get rid of NTSTATUS variable entirely.

svn path=/trunk/; revision=75553
2017-08-15 18:13:14 +00:00
Mark Jansen
a5b5ed5bd3 [ACPPAGE] Do not allow shims to be applied to files in System32/WinSxs.
CORE-13618

svn path=/trunk/; revision=75552
2017-08-15 12:37:25 +00:00
Thomas Faber
0435bc7005 [DDK]
- Fix calling convention for NDIS_PROC. Fixes stack corruption when running 3rd party network drivers
CORE-13685 #resolve

svn path=/trunk/; revision=75551
2017-08-15 12:32:05 +00:00
Giannis Adamopoulos
2af89ef8f0 [SHELL32] -Greatly optimize the already hacky implementations of ILIsEqual, ILIsParent and ILFindChild by not using the crappy _ILSimpleGetText but the new one _ILHACKCompareSimpleIds. CORE-13681
svn path=/trunk/; revision=75550
2017-08-15 12:13:19 +00:00
Mark Jansen
c06d8a94c9 [ATL] Use the AtlThrow helper so we can disable exceptions by defining _ATL_NO_EXCEPTIONS
svn path=/trunk/; revision=75549
2017-08-15 09:02:17 +00:00
Eric Kohl
4730de1195 [EXPLORER]
Improve the taskbar property sheet.
- Improve the preview images (pixel perfect).
- Improve the Japanese translation.
Patch by Katayama Hirofumi MZ.
CORE-13574

svn path=/trunk/; revision=75548
2017-08-14 20:43:14 +00:00
Eric Kohl
3cb9b85a65 [VARIOUS]
Mass update for Romanian resource files.
Patch by Ștefan Fulea.
CORE-13599

svn path=/trunk/; revision=75547
2017-08-14 20:14:19 +00:00
Alexander Shaposhnikov
a59f6f7573 [RAPPS]
- Added headers to CMake file to have them in the VS project

svn path=/branches/GSoC_2017/rapps/; revision=75543
2017-08-14 17:04:43 +00:00
Alexander Shaposhnikov
69d1dbb371 [RAPPS]
- Added /SETUP key support 
  TODO: use the short names from db files
- Some style changes
- Conditional creation of the dialogs

svn path=/branches/GSoC_2017/rapps/; revision=75542
2017-08-14 17:00:20 +00:00
Mark Jansen
f70b9ef65f [SHIMENG] Filter shims based on the include/exclude node specified, as well as their presence in certain directories.
- Shims are not allowed on files from System32 / WinSxs.
- Individual shims can override this per module with includes/excludes.
- Shims can specify additional dlls to ignore or include.
- Specify a default list of dlls to be included from system32.
CORE-13618

svn path=/trunk/; revision=75541
2017-08-14 16:34:56 +00:00
Thomas Faber
84de59dab1 [USETUP]
- Include some actually useful information when printing errors

svn path=/trunk/; revision=75536
2017-08-14 16:01:46 +00:00
Giannis Adamopoulos
976a20a098 [COMCTL32] -DrawShadowText: Don't print an error when GdiAlphaBlend fails. This can happen when the painting is outside the clip region. Some themes tend to move text elements in weird places so as just to hide them so this only causes spam.
svn path=/trunk/; revision=75535
2017-08-14 15:51:12 +00:00
Eric Kohl
959a179f58 missing german translation and sort treeview alphabetically
Patches by: reactosfanboy and Katayama Hierofumi MZ
CORE-13674 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=75534
2017-08-14 15:40:15 +00:00
Giannis Adamopoulos
551d8fa312 [SHELL32]
- CDefaultContextMenu: Make it respect the IContextMenu interface and expect menu id offsets instead of real menu ids and actually use the idCmdFirst and idCmdLast parameters in QueryContextMenu. Make the default part use and existed menu from the resources but changed accordingly so the ids of its elements can be adjusted to the next free id of the constructed menu. Rename InsertMenuItemsOfDynamicContextMenuExtension to AddShellExtensionsToMenu, DoDynamicShellExtensions to InvokeShellExt, and DoStaticShellExtensions to InvokeRegVerb. Make AddShellExtensionsToMenu and AddStaticContextMenusToMenu behave like QueryContextMenu to return the number of ids they occupy. Add two helpers SHGetMenuIdFromMenuMsg and SHSetMenuIdInMenuMsg to change the id that is contained in the lparam of WM_DRAWITEM and WM_MEASUREITEM before forwarding them.
- CDefView: When calling QueryContextMenu before using TrackPopupMenu, use 1 as the first id that will filled by the IContextMenu because we want 0 to be used as an indicator that the menu was canceled. Use SHGetMenuIdFromMenuMsg and SHSetMenuIdInMenuMsg to change the lparam of the messages forwarded to the IContextMenu accordingly.
- CDefViewBckgrndMenu: Add a hack so as to keep the code as simple as possible while respecting idCmdFirst and idCmdLast.
- CNewMenu: Remove a hack that was needed because WM_DRAWITEM didn't come with the menu id offset but with the real menu id.
- CDesktopFolder, CFSFolder: Make the callbacks avoid adding an extra separators.
After that shell extensions in menus should work better and callbacks to shell folders should really be able to add several menu items. 

svn path=/trunk/; revision=75533
2017-08-14 15:25:58 +00:00
Hervé Poussineau
9748e8bde3 [USETUP] Remove one special case for keyboard devices
Keyboard devices must have an upperfilter (kdbclass) to work correctly. Detect these
devices using the Keyboard GUID class instead of using the inf section name.

svn path=/trunk/; revision=75532
2017-08-13 13:11:43 +00:00
Pierre Schweitzer
9e84082a45 [MOVEFILE]
Open source the movefile utily that allows queueing deletion/renaming operations for the next reboot

svn path=/trunk/; revision=75531
2017-08-13 10:15:55 +00:00
Pierre Schweitzer
88fd33f6a2 [ROSINTERNALS]
Addendum to r75529

svn path=/trunk/; revision=75530
2017-08-12 20:43:53 +00:00
Pierre Schweitzer
a4774e85c1 [ROSINTERNALS]
Move the sysinternals tools to their own directory: rosinternals. To be completed :-)

svn path=/trunk/; revision=75529
2017-08-12 20:39:12 +00:00
Pierre Schweitzer
128ea676bf [PENDMOVES]
Open source the PendMoves utility from Sysinternals that allow easy display of renaming/deleting operations queued for next reboot.
See: https://docs.microsoft.com/en-us/sysinternals/downloads/pendmoves

svn path=/trunk/; revision=75528
2017-08-12 18:17:12 +00:00
Hermès Bélusca-Maïto
e7fb5e7c33 [EVTLIB]: Allow specifying a memory allocation tag when freeing the allocated buffers (functionality similar to the Ex**WithTag kernel functions).
[EVENTLOG]: Use the previous functionality; use also the internal LogfpAlloc() / LogfpFree() functions when dealing with buffers related to event log files.

svn path=/trunk/; revision=75527
2017-08-11 12:37:15 +00:00
Mark Jansen
bfac984256 [RAPPS] Delete uTorrent until CORE-13666 is cleared up.
svn path=/trunk/; revision=75521
2017-08-10 17:09:58 +00:00
Giannis Adamopoulos
7e43b947a1 [UXTHEME] -Implement taking into account the flags set by SetThemeAppProperties. Now the shim that disables themes per application works.
svn path=/trunk/; revision=75514
2017-08-09 08:14:50 +00:00
Giannis Adamopoulos
61427a2eaf [UXTHEME_APITEST] -Add tests for SetThemeAppProperties.
svn path=/trunk/; revision=75513
2017-08-09 07:14:44 +00:00
Alexander Shaposhnikov
9293dbee23 [RAPPS]
- Refactoring
- A template for a future parameters parser

svn path=/branches/GSoC_2017/rapps/; revision=75512
2017-08-08 21:32:11 +00:00
Giannis Adamopoulos
effafa925c [USER32] -Make it clear when VersionRegisterClass is used. This should be called after a versioned class was not found hence it should appear after some failures in win32k (and this is exactly how RegisterClassNameW was designed to be used, after a failure to find a class).
svn path=/trunk/; revision=75511
2017-08-08 21:09:51 +00:00
Mark Jansen
92d7c962fa [UNATTEND] Show how to enable the lautus theme in unattended mode.
svn path=/trunk/; revision=75510
2017-08-08 19:43:49 +00:00
Giannis Adamopoulos
f33a6d3c88 [COMCTL32] -Fix a typo.
svn path=/trunk/; revision=75502
2017-08-07 11:08:26 +00:00
Hermès Bélusca-Maïto
5bef76033f [SYSSETUP]: Fix a typo.
svn path=/trunk/; revision=75501
2017-08-07 11:03:02 +00:00
Giannis Adamopoulos
7a138bc11f [SHELL32] -Restore some code I incorrectly removed in r75360. CORE-13564
svn path=/trunk/; revision=75500
2017-08-07 10:09:30 +00:00
Robert Naumann
28cce7cb83 [ACPPAGE][SYSSETUP] Update German translation
svn path=/trunk/; revision=75499
2017-08-06 20:38:49 +00:00
Robert Naumann
a27bfb60bd [CPL] Improve some German string translationd. This better matches the position of the applets in the control panel and avoids truncation of the icon captions. Patch by Joachim Henze. CORE-12099 #resolve #comment Committed all but "Ordneroptionen -> Ordner" in r75498
svn path=/trunk/; revision=75498
2017-08-06 20:23:00 +00:00
Pierre Schweitzer
cec633535f [SYSSETUP]
Translate r75495 in French.
Thanks Giannis! :-)

svn path=/trunk/; revision=75496
2017-08-06 12:15:19 +00:00
Giannis Adamopoulos
fc1f0c2088 [SYSSETUP] -Implement a wizard page that lets the user select lautus as the default theme. If the user keeps pressing enter, the theme will not be applied.
svn path=/trunk/; revision=75495
2017-08-06 09:18:19 +00:00
Giannis Adamopoulos
02cc8362fa [COMCTL32] -Implement BUTTON_IMAGELIST_ALIGN_RIGHT, BUTTON_IMAGELIST_ALIGN_TOP, BUTTON_IMAGELIST_ALIGN_BOTTOM
svn path=/trunk/; revision=75494
2017-08-06 09:05:58 +00:00
Mark Jansen
f13b9a9480 [FONTSUB] Russian translation by Sergey Stopkin.
ROSAPPS-339 #resolve #comment Thanks!

svn path=/trunk/; revision=75492
2017-08-05 20:08:00 +00:00
Mark Jansen
d10c0ec112 [WIN32SS] Improve GetFontResourceInfoW. Patch by Katayama Hirofumi MZ & Doug Lyons.
CORE-13365 #resolve #comment Thanks!

svn path=/trunk/; revision=75491
2017-08-05 20:04:24 +00:00
Daniel Reimer
d057073a7c [RAPPS]
Update RAPPS d/l urls to fix broken links.
Update version changes on unchanged direct links.

svn path=/trunk/; revision=75490
2017-08-05 16:52:57 +00:00
Mark Jansen
7746fd43d1 [APPHELP][XML2SDB] Code cleanup + add assertions
- Always used pdb or hsdb, no more 'db'
- Add property to an PDB that describes if it's opened for read/write, and assert on this
- Add comments

svn path=/trunk/; revision=75489
2017-08-05 12:05:06 +00:00
Giannis Adamopoulos
793519c8bc [COMCTL32] -BUTTON_PaintWithTheme: Draw checked pushlike buttons as pressed.
svn path=/trunk/; revision=75488
2017-08-05 10:23:07 +00:00
Pierre Schweitzer
98d7d08cbf [RDBSS]
- Implement RxSetRenameInfo()
- Implement the SL_OPEN_TARGET_DIRECTORY case in RxCreateFromNetRoot()
This implements renaming in RDBSS, and thus in NFS.
So far, renaming fails due to different NET_ROOT, I need to check why. So far, files are properly copied on rename failure.

CORE-8204
CORE-11327
CORE-13632

svn path=/trunk/; revision=75487
2017-08-05 08:12:23 +00:00
Sylvain Petreolle
a315eeefe1 Revert r75485, MSVC needs wininet to do the UrlCrackW forward.
svn path=/trunk/; revision=75486
2017-08-04 23:39:15 +00:00
Sylvain Petreolle
41c7842302 Remove a theoretical circular dependancy between wininet and shlwapi.
shlwapi actually doesn't use wininet.

svn path=/trunk/; revision=75485
2017-08-04 23:06:54 +00:00
Pierre Schweitzer
ff54a48737 [NFS]
And make NP a bit more discrete when not really used...

svn path=/trunk/; revision=75484
2017-08-04 19:46:32 +00:00
Pierre Schweitzer
b7661c5a63 [NFS]
Make hack introduced in r75415 more verbose.

CORE-8204
CORE-11327

svn path=/trunk/; revision=75483
2017-08-04 19:43:42 +00:00
Pierre Schweitzer
29a235cb9b [RDBSS]
Implement RxSetDispositionInfo(): this allows deleting files on a remote NFS share!

CORE-8204
CORE-11327
CORE-13636

svn path=/trunk/; revision=75482
2017-08-04 19:23:42 +00:00
Pierre Schweitzer
6afca05215 [RDBSS]
On cleanup, only take the quick path if the file was already orphaned

CORE-11327

svn path=/trunk/; revision=75481
2017-08-04 19:18:42 +00:00
Pierre Schweitzer
e010523b86 [RXCE]
In RxRemoveNameNetFcb(), check if name was already removed. MS doesn't do this, but as we use double linked-list macros
that perform extra sanity checks, this is required. This can be called twice for a single FCB.

CORE-11327
CORE-13632
CORE-13636

svn path=/trunk/; revision=75480
2017-08-04 19:05:11 +00:00
Pierre Schweitzer
ebe9e0bce0 [KERNEL32]
Don't leak a handle when renaming a source file which is a MS mount point or a file without the reparse attribute while we can query its reparse information.

CORE-13635

svn path=/trunk/; revision=75478
2017-08-04 12:18:52 +00:00
Giannis Adamopoulos
2dd61864ba [hivecls.inf] -Add an option to immediately enable an msstyles file with right click.
svn path=/trunk/; revision=75477
2017-08-04 09:12:33 +00:00
Giannis Adamopoulos
e5733424ba [DESK.CPL]
-Improve the hack that lets it process arguments by using the process command line instead of the one shell32 gives to the cpl.
-Implement a new action called ActivateMSTheme that activates an msstyle file without showing any gui. If no file is passed, the classic theme is activated thus making it possible to switch themes from command line (or any other application may need to switch themes by launching desk.cpl).

svn path=/trunk/; revision=75476
2017-08-04 08:53:06 +00:00
Mark Jansen
7b06ed4395 [RAPPS] Remove Burnaware free. CORE-12194 #resolve
svn path=/trunk/; revision=75475
2017-08-03 20:52:01 +00:00
Pierre Schweitzer
eae32333ca [RDBSS]
Don't attempt to dereference NULL-ptr if CCB isn't set.
Fixes crash in RxFsdCommonDispatch() under rare circumstances.

CORE-11327

svn path=/trunk/; revision=75474
2017-08-03 20:47:41 +00:00
Pierre Schweitzer
62806dc561 [RXCE]
In spite of what its name may look like: SyncEvent is a notification event, not a sync event.
Use the correct event for synchronization. This avoids infinite wait in certain circumstances in RxScavengeFobxsForNetRoot()

CORE-11327

svn path=/trunk/; revision=75473
2017-08-03 20:23:39 +00:00
Hermès Bélusca-Maïto
d767b361d2 [FREELDR][INFLIB]: It is perfectly correct to retrieve the field of index == 0 of an INF line, by using the InfGetStringField() helper (corresponding to the SetupGetStringField() API).
svn path=/trunk/; revision=75472
2017-08-03 14:56:07 +00:00
Alexander Shaposhnikov
284762155e [RAPPS]
- Split the rapps.h into multiple headers for easier managing
- Moved headers to include/
- Corrected some typos and moved functions around

svn path=/branches/GSoC_2017/rapps/; revision=75469
2017-08-02 12:50:53 +00:00
Pierre Schweitzer
54bb40541b [RXCE]
Make code that deals with DBG stuff only built in DBG builds

CORE-11327
CORE-13610

svn path=/trunk/; revision=75468
2017-08-01 18:04:18 +00:00
Thomas Faber
1332e273a2 [ACPICA]
- Update to version 20170728
CORE-13625 #resolve

svn path=/trunk/; revision=75467
2017-08-01 09:11:52 +00:00
Pierre Schweitzer
be6eed4f49 [RDBSS]
For non dbg builds, don't implement macro defined functions RxCheckShareAccess(), RxRemoveShareAccess(), RxSetShareAccess(), RxUpdateShareAccess()

CORE-11327
CORE-13610

svn path=/trunk/; revision=75465
2017-08-01 06:35:20 +00:00
Giannis Adamopoulos
c54a058138 [SYSSETUP.INF] -Move registering comctl32.dll and ole32.dll much earlier in the setup.
svn path=/trunk/; revision=75464
2017-07-31 16:11:09 +00:00
Giannis Adamopoulos
6a67b9ef6b [COMCTL32] -Fix some failed tests for TB_GETMETRICS. Add support for button spacing.
svn path=/trunk/; revision=75463
2017-07-31 13:10:46 +00:00
Giannis Adamopoulos
6aa52a76c8 [COMCTL32_APITESTS] -Add toolbar tests for TB_SETBUTTONSIZE, TB_SETPADDING, TB_GETBUTTONSIZE, TB_GETMETRICS.
svn path=/trunk/; revision=75462
2017-07-31 13:04:09 +00:00
Pierre Schweitzer
26c43d8081 [RXCE]
Only implement RxTrackerUpdateHistory() if RDBSS_TRACKER is defined

CORE-11327
CORE-13610

svn path=/trunk/; revision=75461
2017-07-31 10:35:18 +00:00
Pierre Schweitzer
3118deeae6 [RDBSS]
For non dbg builds, don't implement macro defined functions RxDumpCurrentAccess(), RxDumpWantedAccess()

CORE-11327
CORE-13610

svn path=/trunk/; revision=75460
2017-07-31 09:33:01 +00:00
Mark Jansen
fa95932bfc [REGEDIT] Fix the search dialog not opening when the root node is selected. Patch by Joachim Henze (reactosfanboy).
Small changes by me.
CORE-13071 #resolve #comment Thanks!

svn path=/trunk/; revision=75458
2017-07-30 14:04:44 +00:00
Mark Jansen
24376e47c4 [SDK][XML2SDB] Simplify include / exclude node specification.
svn path=/trunk/; revision=75457
2017-07-30 13:37:35 +00:00
Mark Jansen
22331e8f4b [SHIMENG] Partial rewrite to make the code easier to maintain.
- Protect ARRAY access with macro's / helper functions.
- Do not store objects in the ARRAY data, but store pointers to the objects.
- Rewrite import hooking to use an ARRAY instead of single linked lists.

svn path=/trunk/; revision=75455
2017-07-30 12:47:57 +00:00
Mark Jansen
cbb6f94f4d [ACPPAGE] Fix the shell extension asking to add an empty layer.
svn path=/trunk/; revision=75454
2017-07-30 12:46:53 +00:00
Pierre Schweitzer
e4cfb86b3e [RDBSS]
Implement RxPrepareToReparseSymbolicLink().
This allows symbolic links to work on a NFS share, we can now follow links that would have been exported by the server.

Safe to merge.

CORE-8204
CORE-11327
CORE-13615

svn path=/trunk/; revision=75451
2017-07-30 12:24:26 +00:00
Alexander Shaposhnikov
af150f51fd [RAPPS] Incorrect "C" symbol replaced in the rest of the files
svn path=/branches/GSoC_2017/rapps/; revision=75435
2017-07-28 22:43:58 +00:00
Alexander Shaposhnikov
0169546588 [RAPPS] Incorrect symbol replaced (why was it there though)
svn path=/branches/GSoC_2017/rapps/; revision=75434
2017-07-28 22:42:00 +00:00
Alexander Shaposhnikov
e3fdbe5806 [RAPPS] Bulk install!
- Added ListView class
- Added ListView to a dialog
  Dialog shows the install progress of individual apps. It also waits for an installator to finish before issuing another download-install cycle.
- Fixed: Downloads pointing to "\"
- Fixed: Selection data is not retrieved correctly
- Yet again replacing some macros to wide functions
- Minor improvements

svn path=/branches/GSoC_2017/rapps/; revision=75433
2017-07-28 22:37:24 +00:00
Alexander Shaposhnikov
084ec8dee3 [RAPPS]
- Added DownloadManager class (static for now)
- Multiple selection launches multiple download dialogs
  (Checkbox selection has a priority over Selection when clicking Install)
  *A preperation for lauching a single dialog with a list of apps*
- Show currently installing app in the dialog window

svn path=/branches/GSoC_2017/rapps/; revision=75417
2017-07-27 09:02:42 +00:00
Alexander Shaposhnikov
9b5e78353a [RAPPS]
- A quick fix for counter - used a list that is not updated prior to the message

svn path=/branches/GSoC_2017/rapps/; revision=75413
2017-07-26 17:27:34 +00:00
Alexander Shaposhnikov
ec9d05004b [RAPPS] Making checkboxes useful WIP
- Added selection counter
  *NOTE: This requires changes in lang files*
- Added Sellect/Desellect button functionality
- Fixed some typos and macros-to-wide-functions

svn path=/branches/GSoC_2017/rapps/; revision=75411
2017-07-26 13:30:46 +00:00
Alexander Shaposhnikov
1866b89100 [RAPPS] Improvements & multiple selections
- Improved translations view - storing LCIDs now
- Added checkboxes on list view and Select All button (although they do nothing just yet)
- Made download dialogs nonmodal (yay, download and install multiple apps at once!)
- Minor code improvements

svn path=/branches/GSoC_2017/rapps/; revision=75384
2017-07-20 22:57:48 +00:00
Alexander Shaposhnikov
bbc5642138 [RAPPS] Fixed multiple redraws of the apps list
svn path=/branches/GSoC_2017/rapps/; revision=75376
2017-07-19 11:35:46 +00:00
Alexander Shaposhnikov
f07567454b [RAPPS] Translations
- Implemented HasNativeLanguage() and HasEnglishLanguage()
- Moved config parser to it's own class CConfigParser
- Added translation strings

svn path=/branches/GSoC_2017/rapps/; revision=75375
2017-07-19 10:39:03 +00:00
Alexander Shaposhnikov
ce70e3c89b [RAPPS] Refactoring & bugfixes
- Made a bunch of classes for Available apps;
- Removed unnessesary GetBuffer calls;
- Set a bit higher minimum height for RichEdit;
- Added "Single" indicator for the Languages to show that the translation available is the only one;
- Small style changes.

svn path=/branches/GSoC_2017/rapps/; revision=75373
2017-07-18 22:52:51 +00:00
Alexander Shaposhnikov
f2b68a0423 [ATL] [3RDPARTY] Updated & moved atlex to sdk/lib/3rdparty
svn path=/branches/GSoC_2017/rapps/; revision=75361
2017-07-16 15:38:38 +00:00
Alexander Shaposhnikov
5db3c35fc8 [RAPPS] Showing info from Languages sectin
- Created dummies & added new string resources
- lang/uk-UA.rc: translated all strings
- crichedit.h: safe text add

svn path=/branches/GSoC_2017/rapps/; revision=75334
2017-07-13 22:01:02 +00:00
Alexander Shaposhnikov
e01bd5a80f [RAPPS] Language loading
- RAPPS now can load language list from a file where locale identifiers are separated by '|'
  `Language=0C09|0813|0422 \\English|Dutch|Ukrainian`
The only limitation is that the parameter is only 260 chars.
So there arises another goal - multiline parameters
- This list is stored in `CSimpleArray<CStringW>` as strings
Maybe it would be wiser to store them as INT array.
- Some refactoring

svn path=/branches/GSoC_2017/rapps/; revision=75328
2017-07-13 15:29:53 +00:00
Alexander Shaposhnikov
8e4e422ba7 [RAPPS] More code improvements
- Replaced some functions with their Wide versions
- Generalized `GetInstalledVersion` function so it could accept NULL
- Minor cleanup

svn path=/branches/GSoC_2017/rapps/; revision=75324
2017-07-12 22:59:26 +00:00
Alexander Shaposhnikov
c4527e3a56 [SDK] Added atlex for future use
- atlex is ATL wrappers for WINAPI functions
- It is header-only library licensed under GPLv3
- For details see https://github.com/Amebis/atlex 

svn path=/branches/GSoC_2017/rapps/; revision=75319
2017-07-11 22:08:48 +00:00
Alexander Shaposhnikov
8f622b4bd0 [ATL]
- Added missing operator+=

svn path=/branches/GSoC_2017/rapps/; revision=75318
2017-07-11 21:58:31 +00:00
Alexander Shaposhnikov
09da413dc8 [RAPPS] Fixes
- Minor style improvements
- Not resizing with GetBuffer() calls where not nessesary
- loaddlg.cpp: Wrong logic fixed
- rosui.h: Fixed length determination

svn path=/branches/GSoC_2017/rapps/; revision=75317
2017-07-10 22:45:53 +00:00
Alexander Shaposhnikov
c8a43ce2d1 [RAPPS] Some fixes
- winmain.cpp, loaddlg.cpp, installed.cpp: 
  Changed string-related opreations
- installed.cpp: Fixed buffer sizing when calling RegQueryValueExW()
- misc.cpp: Removed unused function
- rosui.h: Made use of GetWindowTextLength()
        

svn path=/branches/GSoC_2017/rapps/; revision=75316
2017-07-10 22:26:01 +00:00
Alexander Shaposhnikov
cf469e4f74 [RAPPS] Extensive conversion to ATL and general improvements
* Converted most of the WCHAR buffers to ATL::CStringW
* available.cpp: replaced C heap list with ATL::CAtlList
* Improved style consistency
* Added myself to the headers
* Other improvements

svn path=/branches/GSoC_2017/rapps/; revision=75315
2017-07-10 21:02:24 +00:00
Alexander Shaposhnikov
d555cfe80a [RAPPS] StringCbCatW => StringCchCatW, sizeof() => _countof()
:(

svn path=/branches/GSoC_2017/rapps/; revision=75241
2017-06-29 19:31:19 +00:00
Alexander Shaposhnikov
f1d019a00a [RAPPS] winmain.cpp: sizeof instead of _countof
svn path=/branches/GSoC_2017/rapps/; revision=75240
2017-06-29 19:22:13 +00:00
Alexander Shaposhnikov
096c811846 [RAPPS] Fixed default "Download" folder default. Now defaults to "RAPPS Downloads" folder in user Documents or installation drive.
svn path=/branches/GSoC_2017/rapps/; revision=75239
2017-06-29 18:57:52 +00:00
Alexander Shaposhnikov
82f11f1d0b [RAPPS] Update check, license type
* Added LicenseType numeric field in the RAPPS DB files. 
  Values mean: 1 - open source, 2 - freeware, 3 - trial/demo
  The existing License field will be used to contain the license name itself.
* Finished version parser and update check.
  Now RAPPS can suggest an update.
* Added new strings to lang/en-US.rc, lang/ru-RU.rc, lang/uk-UA.rc

svn path=/branches/GSoC_2017/rapps/; revision=75233
2017-06-29 14:17:16 +00:00
Alexander Shaposhnikov
de725c5391 [FORMATTING][RAPPS] available.cpp: Fix braces
svn path=/branches/GSoC_2017/rapps/; revision=75220
2017-06-27 23:33:15 +00:00
Alexander Shaposhnikov
17e36ed120 [RAPPS]
* Separated available and installed version. 
  If the app is installed it's DisplayVersion is shown.
* Reduced registry key access checks
* Version parser WIP

svn path=/branches/GSoC_2017/rapps/; revision=75219
2017-06-27 23:21:58 +00:00
Alexander Shaposhnikov
928e1c0ba3 [RAPPS]
* Reduced "installed" check - checks only for the key inself and not the DisplayName.
  Blazing fast!
* Added installed version getter
* Added version parser function (without definition yet).
  Meant to support versions like 1.2.3.4.
* rapps.h: Added #pragma once

svn path=/branches/GSoC_2017/rapps/; revision=75211
2017-06-26 22:07:43 +00:00
Alexander Shaposhnikov
5582a642ef [RAPPS]
* available.cpp: Replaced macros with inline functions.
* gui.cpp: Fixed typo.

svn path=/branches/GSoC_2017/rapps/; revision=75190
2017-06-25 01:09:00 +00:00
Alexander Shaposhnikov
53a7a45ec6 [RAPPS]
* Added individual icons loading for each app 
  The icons are loaded by the Name field in the DB for the proof-of-concept.
  It falls back to default icon if none present. 
  TODO: It would be best to make another entry there for icon name.

svn path=/branches/GSoC_2017/rapps/; revision=75168
2017-06-23 07:04:43 +00:00
Alexander Shaposhnikov
8b189b4be3 [RAPPS]
* Added constants in resource.h for stringtables
* Removed "Installed apps" from the TreeView
* Added intallation status to the RichEdit using existing check
* Changed IsInstalledApplication signature to accept access righta 
  This is needed for the 64 bit systems.

svn path=/branches/GSoC_2017/rapps/; revision=74920
2017-06-04 21:36:14 +00:00
Alexander Shaposhnikov
18da595008 [RAPPS]
* Added STRINGTABLE entries for installation status in en-US.rc and ru-RU.rc

svn path=/branches/GSoC_2017/rapps/; revision=74771
2017-06-03 17:20:07 +00:00
25332 changed files with 1357046 additions and 1361396 deletions

83
.gitattributes vendored Normal file
View File

@@ -0,0 +1,83 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Files with these extensions are accepted source files inside the ReactOS
# tree. They should have native line endings of the OS.
*.acf text
*.asm text
*.c text
*.cc text
*.cmake text
*.cpp text
*.cxx text
*.h text
*.hpp text
*.hxx text
*.idl text
*.inc text
*.inl text
*.klc text
*.l text
*.lds text
*.md text
*.rc text
*.s text
*.S text
*.sfd text
*.spec text
*.svg text
*.txt text
*.TXT text
*.y text
# Files with these extensions end up in the built ReactOS system, so they
# need to have CRLF line endings.
*.bat text eol=crlf
*.cmd text eol=crlf
*.exp text eol=crlf
*.hhc text eol=crlf
*.hhp text eol=crlf
*.ini text eol=crlf
*.INI text eol=crlf
*.inf text eol=crlf
*.inf.tpl text eol=crlf
*.js text eol=crlf
*.manifest text eol=crlf
*.mc text eol=crlf
*.mof text eol=crlf
*.rgs text eol=crlf
*.sif text eol=crlf
*.vbs text eol=crlf
*.vcxproj text eol=crlf
*.xml text eol=crlf
# Files with these extensions are accepted binary files inside the ReactOS
# tree. Git must not tamper with them at all!
*.avi binary
*.bin binary
*.bmf binary
*.bmp binary
*.BMP binary
*.chm binary
*.cur binary
*.dll binary
*.emf binary
*.gif binary
*.ico binary
*.jpg binary
*.mp3 binary
*.nls binary
*.otf binary
*.pdn binary
*.pfb binary
*.pfm binary
*.png binary
*.psd binary
*.ttc binary
*.ttf binary
*.wav binary
*.xcf binary
# All other extensions not explicitly mentioned here are left for Git to
# handle automatically.
# You must not rely on them having a particular line ending style!

13
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@@ -0,0 +1,13 @@
## Purpose
_Do a quick recap of your work here._
JIRA issue: [CORE-XXXX](https://jira.reactos.org/browse/CORE-XXXX)
## Proposed changes
-
-
## TODO
- [ ] Task 1
- [ ] Task 2

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
output-*
modules/optional

12
.travis.yml Normal file
View File

@@ -0,0 +1,12 @@
language: bash
git:
depth: 5
before_script:
- wget https://svn.reactos.org/amine/RosBEBinFull.tar.gz -O RosBE.tar.gz
- tar -xzf RosBE.tar.gz
- echo 'mkdir ../Build && cd ../Build && $TRAVIS_BUILD_DIR/configure.sh -DENABLE_ROSTESTS=1 && cd reactos && ninja -k 0 && ninja bootcd' > tmp_file
script:
- ./RosBEBinFull/RosBE.sh < tmp_file

295
CMakeLists.txt Normal file
View File

@@ -0,0 +1,295 @@
cmake_minimum_required(VERSION 2.8.12)
if(POLICY CMP0017)
# Shadow cmake provided modules
cmake_policy(SET CMP0017 OLD)
endif()
if(POLICY CMP0026)
# Allow use of the LOCATION property
cmake_policy(SET CMP0026 OLD)
endif()
if(POLICY CMP0051)
# List TARGET_OBJECTS in SOURCES target property
cmake_policy(SET CMP0051 NEW)
endif()
if(POLICY CMP0058)
# Ninja requires custom command byproducts to be explicit
cmake_policy(SET CMP0058 OLD)
endif()
project(REACTOS)
# Versioning
include(sdk/include/reactos/version.cmake)
# Don't escape preprocessor definition values added via add_definitions
cmake_policy(SET CMP0005 OLD)
cmake_policy(SET CMP0002 NEW)
if(POLICY CMP0018)
cmake_policy(SET CMP0018 OLD)
endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
set(CMAKE_SHARED_LIBRARY_PREFIX "")
set(CMAKE_SKIP_PREPROCESSED_SOURCE_RULES TRUE)
set(CMAKE_SKIP_ASSEMBLY_SOURCE_RULES TRUE)
set(CMAKE_COLOR_MAKEFILE OFF)
#set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)
if(NOT DEFINED NEW_STYLE_BUILD)
set(NEW_STYLE_BUILD TRUE)
endif()
if(NOT ARCH)
set(ARCH i386)
endif()
# Now the ARCH variable will be in lowercase.
# It is needed because STREQUAL comparison
# is case-sensitive.
# See http://cmake.3232098.n2.nabble.com/Case-insensitive-string-compare-td7580269.html
# for more information.
string(TOLOWER ${ARCH} ARCH)
# Compile options
if(ARCH STREQUAL "i386")
include(sdk/cmake/config.cmake)
elseif(ARCH STREQUAL "amd64")
include(sdk/cmake/config-amd64.cmake)
elseif(ARCH STREQUAL "arm")
include(sdk/cmake/config-arm.cmake)
endif()
# Compiler flags handling
include(sdk/cmake/compilerflags.cmake)
add_definitions(-D__REACTOS__)
if(MSVC_IDE)
add_compile_flags("/MP")
endif()
# We don't need CMake importlib handling.
# FIXME: Remove the MSVC_IDE condition when the upcoming RosBE lands.
if(NOT MSVC_IDE)
unset(CMAKE_IMPORT_LIBRARY_SUFFIX)
endif()
# Bison and Flex support
# include(sdk/cmake/bison-flex.cmake)
if(NOT CMAKE_CROSSCOMPILING)
if(NEW_STYLE_BUILD)
set(TOOLS_FOLDER ${CMAKE_CURRENT_BINARY_DIR})
endif()
add_definitions(-DTARGET_${ARCH})
if(MSVC)
if(ARCH STREQUAL "i386")
add_definitions(/D_X86_ /DWIN32 /D_WINDOWS)
endif()
if(MSVC_VERSION GREATER 1699)
add_definitions(/D_ALLOW_KEYWORD_MACROS)
endif()
add_definitions(/Dinline=__inline)
endif()
include_directories(sdk/include/host)
if(NOT MSVC)
add_subdirectory(dll/win32/dbghelp)
endif()
add_subdirectory(sdk/tools)
add_subdirectory(sdk/lib)
if(NOT NEW_STYLE_BUILD)
if(NOT MSVC)
export(TARGETS bin2c widl gendib cabman fatten hpp isohybrid mkhive mkisofs obj2bin spec2def geninc rsym mkshelllink utf16le xml2sdb FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
else()
export(TARGETS bin2c widl gendib cabman fatten hpp isohybrid mkhive mkisofs obj2bin spec2def geninc mkshelllink utf16le xml2sdb FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
endif()
endif()
else()
if(NEW_STYLE_BUILD)
include(sdk/cmake/host-tools.cmake)
endif()
# Print build type
message("-- Build Type: ${CMAKE_BUILD_TYPE}")
# adjust the default behaviour of the FIND_XXX() commands:
# search headers and libraries in the target environment, search
# programs in the host environment
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER)
#useful stuff!
include(CMakeParseArguments)
# Do some cleanup
file(REMOVE
${REACTOS_BINARY_DIR}/dependencies.graphml
${REACTOS_BINARY_DIR}/boot/ros_livecd.txt
${REACTOS_BINARY_DIR}/boot/ros_livecd_target.txt
${REACTOS_BINARY_DIR}/boot/ros_minicd.txt
${REACTOS_BINARY_DIR}/boot/ros_minicd_target.txt
${REACTOS_BINARY_DIR}/boot/ros_cab.txt
${REACTOS_BINARY_DIR}/boot/ros_cab_target.txt)
if(NOT NEW_STYLE_BUILD)
if(NOT DEFINED REACTOS_BUILD_TOOLS_DIR)
set(REACTOS_BUILD_TOOLS_DIR ${REACTOS_SOURCE_DIR}/build)
endif()
set(IMPORT_EXECUTABLES "${REACTOS_BUILD_TOOLS_DIR}/ImportExecutables.cmake" CACHE FILEPATH "Host executables")
include(${IMPORT_EXECUTABLES})
endif()
if(DBG)
add_definitions(-DDBG=1 -D_SEH_ENABLE_TRACE)
else()
add_definitions(-DDBG=0)
endif()
if(KDBG)
add_definitions(-DKDBG=1)
endif()
if(_WINKD_)
add_definitions(-D_WINKD_=1)
endif()
if(CMAKE_VERSION MATCHES "ReactOS")
set(PCH 1 CACHE BOOL "Whether to use precompiled headers")
else()
set(PCH 0 CACHE BOOL "Whether to use precompiled headers")
endif()
# Version Options
add_definitions(-DWINVER=0x502
-D_WIN32_IE=0x600
-D_WIN32_WINNT=0x502
-D_WIN32_WINDOWS=0x502
-D_SETUPAPI_VER=0x502)
# Arch Options
if(ARCH STREQUAL "i386")
add_definitions(-D_M_IX86 -D_X86_ -D__i386__ -Di386)
elseif(ARCH STREQUAL "amd64")
add_definitions(-D_M_AMD64 -D_AMD64_ -D__x86_64__ -D_WIN64)
elseif(ARCH STREQUAL "arm")
# _M_ARM is already defined by toolchain
add_definitions(-D_ARM_ -D__arm__ -DWIN32)
if(SARCH STREQUAL "omap-zoom2")
add_definitions(-D_ZOOM2_)
endif()
endif()
# Other
if(ARCH STREQUAL "i386")
add_definitions(-DUSE_COMPILER_EXCEPTIONS -D_USE_32BIT_TIME_T)
elseif(ARCH STREQUAL "amd64")
add_definitions(-DUSE_COMPILER_EXCEPTIONS -DNO_UNDERSCORE_PREFIX)
elseif(ARCH STREQUAL "arm")
add_definitions(-DUSE_COMPILER_EXCEPTIONS -DNO_UNDERSCORE_PREFIX)
endif()
# Activate support for assembly source files
enable_language(ASM)
# Activate language support for resource files
enable_language(RC)
# Localization definitions
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(sdk/cmake/msvc.cmake)
else()
include(sdk/cmake/gcc.cmake)
endif()
# Generic macros
include(sdk/cmake/CMakeMacros.cmake)
# IDL macros for widl/midl
# We're using widl now for both MSVC and GCC builds
include(sdk/cmake/widl-support.cmake)
include_directories(
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}/sdk/include/reactos/arm)
endif()
add_dependency_header()
add_subdirectory(sdk/include/ndk/tests)
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(sdk/cmake/baseaddress_dwarf.cmake)
elseif(MSVC)
include(sdk/cmake/baseaddress_msvc.cmake)
else()
include(sdk/cmake/baseaddress.cmake)
endif()
# For MSVC builds, this puts all debug symbols file in the same directory.
set(CMAKE_PDB_OUTPUT_DIRECTORY "${REACTOS_BINARY_DIR}/msvc_pdb")
#begin with boot so reactos_cab target is defined before all other modules
add_subdirectory(boot)
add_subdirectory(base)
add_subdirectory(dll)
add_subdirectory(drivers)
add_subdirectory(hal)
add_subdirectory(sdk/lib)
add_subdirectory(media)
add_subdirectory(modules)
add_subdirectory(ntoskrnl)
add_subdirectory(subsystems)
add_subdirectory(sdk/tools/wpp)
add_subdirectory(win32ss)
# Create the registry hives
create_registry_hives()
# Create {bootcd, livecd, bootcdregtest}.lst
create_iso_lists()
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/sdk/include/reactos)
add_dependency_footer()
endif()

93
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,93 @@
# How To Contribute
There are several ways to contribute to the development of ReactOS. The most often encountered problem is not knowing where to begin or what to do. If you are able to program or understand the technical information that is pertinent to this project, helping the development can be easy.
- [What To Do?](#what-to-do?)
- [How To Contribute?](#how-to-contribute?)
- [Where To Start?](#where-to-start?)
## What To Do?
### Fix bugs
You can try to fix a few bugs that are already listed in [JIRA]. Squashing bugs is not a simple task. It requires a lot more skill than simply searching for them, and can be time consuming; however, by doing that you greatly help ReactOS become a stable system.
_NOTE: patches related to 3rd party code such as Wine or BtrFS should be sent to upstream of the said projects. See [3rd Party Files.txt], [README.WINE] and [README.FSD] in [media/doc](media/doc) for details._
### Fix tests
Tests are used to check the functionality and correctness of APIs on ReactOS compared to Windows implementations. There are some unit tests that you could help ReactOS pass, which can be found [in the Web Test Manager][testman] and some that are broken or yet to be written.
### Fix Coverity scans
[Coverity] is enhanced static analysis that uncovers leaks, buffer overflows, security issues and other. We do such scans on ReactOS codebase pretty often. You can [request][request-coverity] to see Coverity 'defects' and help to fix them.
### Test ReactOS
By localizing bugs, developers can identify what causes the bug and which part it affects. There are a variety of methods to [debug] ReactOS while testing it. After identifying a bug, check if it is already known about by searching on JIRA and adding any additional information to the report. If you think that it is an unidentified bug, consider [filing a bug report].
### Implement new things
Considering ReactOS is alpha quality software, there is a lot of [missing functionality] that Windows operating systems have. Before starting a project to implement something, find out whether another person is working on the same thing. If you find that someone is already working on it, ask if any assistance is needed for what specifically is being worked on or a related project. More often than not, someone will start to implement something and move onto something else before it's complete. Make sure you stay committed to what you are going to implement, and do not be afraid to ask for assistance if you need help with something.
### Write documentation
There are some important points if you would like to help document ReactOS:
1. Make sure the documentation does not exist yet (if it does, help improve it).
2. Respect [clean room reverse engineering] practices.
3. Add your knowledge to a place where the other developers can find it.
## How To Contribute?
Your contribution can be of numerous forms. We currently accept two ways to contribute - Pull Requests and Patches.
### Pull Requests
Since our [migration to GitHub] we gladly accept __[Pull Requests]__. Pull requests let you tell others about changes you have pushed to a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before the changes are merged into the repository. __Pull request is a prefered way to submit your work__ - it makes reviewing and merging your contribution much easier.
### Patches
A __[patch]__ is a set of changes to existing source code. The changes in a patch can be merged into existing source code. This process is referred to as applying a patch (to source code). Which changes a patch contains and the way the patch is structured can have significant impact on the consequences that can happen from applying the patch.
See [Submitting Patches] for details.
### Rules and Recommendations
- *Use your __real name__ and __real email__.* We do not accept anonymous contributions!
- *Ensure your contribution is properly described.* Include the relevant issue number if applicable.
- *Put only related changes.* It will make reviewing easier as the reviewer needs to recall less information about the existing source code that is changed.
- *Search for similar pull requests/patches before submitting.* It may be that a similar pull request or issue was opened previously. Comment and review on that one instead.
- *Keep your contribution small and focused on the topic.* It can be tempting to fix existing issues as you come across them while reading the source code. Resist the temptation and put in a note in the source code instead, or (even better) put the issue in the issue tracking system.
- *Respect our __[Coding Style]__ and __[Programming Guidelines]__.*
- *Do not be afraid to ask questions.* Ask our developers on JIRA or [IRC] channel.
## Where To Start?
Finding a good project to start with can be a challenge, because when starting out you are (usually) not aware of all the possibilities. To help you find a project, here are some ideas to try:
- Find a test that fails, and try to make it succeed: <https://www.reactos.org/testman/>
- Look around in JIRA, and if you have problems finding nice projects to start with, there is a label for this: <https://jira.reactos.org/issues/?jql=labels%20%3D%20starter-project>
- Ask for help on [IRC]
- Additionally, there are some tests that cause crashes/hangs, but these might be slightly harder: <https://jira.reactos.org/browse/ROSTESTS-125>
[clean room reverse engineering]: https://en.wikipedia.org/wiki/Clean_room_design
[debug]: https://reactos.org/wiki/Debugging
[JIRA]: https://jira.reactos.org/
[filing a bug report]: https://reactos.org/wiki/File_Bugs
[testman]: https://www.reactos.org/testman/
[migration to GitHub]: https://www.reactos.org/project-news/reactos-repository-migrated-github
[humans are terrible at tracking large amount of information]: https://www.eurekalert.org/pub_releases/2005-03/aps-hmc030805.php
[Pull requests]: https://help.github.com/articles/about-pull-requests/
[tips for reviewing patches]: https://drupal.org/patch/review
[missing functionality]: https://reactos.org/wiki/Missing_ReactOS_Functionality
[patch]: https://git-scm.com/docs/git-format-patch
[Submitting Patches]: https://reactos.org/wiki/Submitting_Patches
[Coding Style]: https://reactos.org/wiki/Coding_Style
[IRC]: https://reactos.org/wiki/Connect_to_the_ReactOS_IRC_Channels
[Programming Guidelines]: https://reactos.org/wiki/Programming_Guidelines
[3rd Party Files.txt]: /media/doc/3rd_Party_Files.txt
[README.WINE]: /media/doc/README.WINE
[README.FSD]: /media/doc/README.FSD
[Coverity]: https://scan.coverity.com/projects/reactos
[request-coverity]: https://scan.coverity.com/memberships/new?project_id=reactos

112
README.md Normal file
View File

@@ -0,0 +1,112 @@
# ReactOS Project [![release.badge]][release.link] [![sfstats.badge]][sfstats.link] [![travis.badge]][travis.link] [![appveyor.badge]][appveyor.link]
<p align=center>
<img src="https://reactos.org/wiki/images/0/02/ReactOS_logo.png">
</p>
[![license.badge]][license.link] [![ghcontrib.badge]][ghcontrib.link] [![ghstats.badge]][ghstats.link] [![commits.badge]][commits.link] [![coverity.badge]][coverity.link]
## Quick Links
- [Website](https://reactos.org)
- [Wiki](https://reactos.org/wiki)
- [Forum](https://reactos.org/forum)
- [JIRA Bug Tracker](https://jira.reactos.org/issues)
- [ReactOS Git mirror](https://git.reactos.org)
- [Testman](https://reactos.org/testman/)
## What is ReactOS?
ReactOS™ is an Open Source effort to develop a quality operating system that is compatible with applications and drivers written for the Microsoft® Windows™ NT family of operating systems (NT4, 2000, XP, 2003, Vista, Seven).
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.
The code of ReactOS is licensed under [GNU GPL 2.0+](https://spdx.org/licenses/GPL-2.0+.html).
## Building [![rosbewin.badge]][rosbewin.link] [![rosbeunix.badge]][rosbeunix.link]
To build the system it is strongly advised to use the _ReactOS Build Environment (RosBE)._
Up-to-date versions for Windows and for Unix/GNU-Linux are available from our download page at: http://www.reactos.org/wiki/Build_Environment.
Alternatively one can use Microsoft Visual C++ (MSVC) version 2010+. Building with MSVC is covered here: https://www.reactos.org/wiki/Building_with_MSVC.
### Binaries
To build ReactOS you must run the `configure` script in the directory you want to have your build files. Choose `configure.cmd` or `configure.sh` depending on your system. Then run `ninja <modulename>` to build a module you want or just `ninja` to build all modules.
### Bootable images
To build a bootable CD image run `ninja bootcd` from the
build directory. This will create a CD image with a filename `bootcd.iso`.
See ["Building ReactOS"](http://www.reactos.org/wiki/Building_ReactOS) for more details.
## Installing
ReactOS currently can only be installed on a machine that has a FAT16 or FAT32 partition as the active (bootable) partition.
The partition on which ReactOS is to be installed (which may or may not be the bootable partition) must also be formatted as FAT16 or FAT32.
ReactOS Setup can format the partitions if needed.
To install ReactOS from the bootable CD distribution, extract the archive contents. Then burn the CD image, boot from it, and follow the instructions.
See ["Installing ReactOS"](https://www.reactos.org/wiki/Installing_ReactOS) Wiki page or [INSTALL](INSTALL) for more details.
## Testing
If you discover a bug in ReactOS search on JIRA first - it might be reported already. If not report the bug providing logs and as many information as possible.
See ["File Bugs"](https://www.reactos.org/wiki/File_Bugs) for a guide.
__NOTE:__ The bug tracker is _not_ for discussions. Please use `#reactos` Freenode IRC channel or our [forum](https://reactos.org/forum).
## Contributing
We are always looking for developers! Check [how to contribute](CONTRIBUTING.md) if you are willing to participate.
## More information
ReactOS is a Free and Open Source operating system based on the Windows architecture,
providing support for existing applications and drivers, and an alternative to the current dominant consumer operating system.
It is not another wrapper built on Linux, like WINE. It does not attempt or plan to compete with WINE; in fact, the user-mode part of ReactOS is almost entirely WINE-based and our two teams have cooperated closely in the past.
ReactOS is also not "yet another OS". It does not attempt to be a third player like any other alternative OS out there. People are not meant to uninstall Linux and use ReactOS instead; ReactOS is a replacement for Windows users who want a Windows replacement that behaves just like Windows.
More information is available at: https://www.reactos.org.
Also see the [media/doc](/media/doc/) subdirectory for some sparse notes.
## Who is responsible
Active devs are listed as members of [GitHub organization](https://github.com/orgs/reactos/people).
See also the [CREDITS](CREDITS) file for others.
## Code mirrors
The main development is done on [GitHub](https://github.com/reactos/reactos). We have an [alternative mirror](https://git.reactos.org/) in case GitHub is down.
There is also an obsolete [SVN archive repository](https://svn.reactos.org/svn/reactos?view=revision) that is kept for historical purposes.
[travis.badge]: https://travis-ci.org/reactos/reactos.svg?branch=master
[appveyor.badge]: https://ci.appveyor.com/api/projects/status/github/reactos/reactos?branch=master&svg=true
[coverity.badge]: https://scan.coverity.com/projects/205/badge.svg?flat=1
[commits.badge]: https://img.shields.io/github/commits-since/reactos/reactos/0.4.7-dev.svg
[release.badge]: https://img.shields.io/badge/release-0.4.6-brightgreen.svg
[license.badge]: https://img.shields.io/badge/license-GNU_GPL_2.0+-blue.svg
[sfstats.badge]: https://img.shields.io/sourceforge/dm/reactos.svg
[ghstats.badge]: https://img.shields.io/github/commit-activity/4w/reactos/reactos.svg
[ghcontrib.badge]: https://img.shields.io/github/contributors/reactos/reactos.svg
[rosbewin.badge]: https://img.shields.io/badge/RosBE_Windows-2.1.5-blue.svg
[rosbeunix.badge]: https://img.shields.io/badge/RosBE_Unix-2.1.2-blue.svg
[travis.link]: https://travis-ci.org/reactos/reactos
[appveyor.link]: https://ci.appveyor.com/project/AmineKhaldi/reactos
[coverity.link]: https://scan.coverity.com/projects/205
[commits.link]: https://github.com/reactos/reactos/commits/master
[release.link]: https://sourceforge.net/projects/reactos/files/ReactOS/0.4.6
[license.link]: https://spdx.org/licenses/GPL-2.0+.html
[sfstats.link]: https://sourceforge.net/projects/reactos
[ghstats.link]: https://github.com/reactos/reactos/graphs/commit-activity
[ghcontrib.link]: https://github.com/reactos/reactos/graphs/contributors
[rosbewin.link]: https://sourceforge.net/projects/reactos/files/RosBE-Windows/i386/2.1.5/
[rosbeunix.link]: https://sourceforge.net/projects/reactos/files/RosBE-Unix/2.1.2/

View File

@@ -0,0 +1,712 @@
/*
* Translators: Petru Dimitriu (petrimetri at gmail dot com)
* Ștefan Fulea (stefan dot fulea at mail dot md)
*/
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
/* Dialogs */
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 163
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Minicalculator"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "", IDC_STATIC, 5 ,14, 141, 20
CONTROL "Hex", IDC_RADIO_HEX, "Button", BS_AUTORADIOBUTTON, 8, 21, 30, 10
CONTROL "Dec", IDC_RADIO_DEC, "Button", BS_AUTORADIOBUTTON, 41, 21, 30, 10
CONTROL "Oct", IDC_RADIO_OCT, "Button", BS_AUTORADIOBUTTON, 74, 21, 30, 10
CONTROL "Bin", IDC_RADIO_BIN, "Button", BS_AUTORADIOBUTTON, 107, 21, 30, 10
GROUPBOX "", IDC_STATIC, 5, 34, 84, 20
CONTROL "Inv", IDC_CHECK_INV, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 8, 41, 26, 10
CONTROL "Hyp", IDC_CHECK_HYP, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 49, 41, 29, 10
CTEXT "", IDC_TEXT_PARENT, 93, 38, 18, 16, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
CTEXT "", IDC_TEXT_MEMORY, 126, 38, 18, 16, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
PUSHBUTTON "Sta", IDC_BUTTON_STA, 5, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Med", IDC_BUTTON_AVE, 5, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sum", IDC_BUTTON_SUM, 5, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s", IDC_BUTTON_S, 5, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat", IDC_BUTTON_DAT, 5, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E", IDC_BUTTON_FE, 38, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "dms", IDC_BUTTON_DMS, 38, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "sin", IDC_BUTTON_SIN, 38, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "cos", IDC_BUTTON_COS, 38, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "tan", IDC_BUTTON_TAN, 38, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(", IDC_BUTTON_LEFTPAR, 64, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Exp", IDC_BUTTON_EXP, 64, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y", IDC_BUTTON_XeY, 64, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2", IDC_BUTTON_Xe2, 64, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3", IDC_BUTTON_Xe3, 64, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")", IDC_BUTTON_RIGHTPAR, 90, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln", IDC_BUTTON_LN, 90, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log", IDC_BUTTON_LOG, 90, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!", IDC_BUTTON_NF, 90, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x", IDC_BUTTON_RX, 90, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC", IDC_BUTTON_MC, 123, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR", IDC_BUTTON_MR, 123, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS", IDC_BUTTON_MS, 123, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+", IDC_BUTTON_MP, 123, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "pi", IDC_BUTTON_PI, 123, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7", IDC_BUTTON_7, 156, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4", IDC_BUTTON_4, 156, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1", IDC_BUTTON_1, 156, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0", IDC_BUTTON_0, 156, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A", IDC_BUTTON_A, 156, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8", IDC_BUTTON_8, 182, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5", IDC_BUTTON_5, 182, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2", IDC_BUTTON_2, 182, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-", IDC_BUTTON_SIGN, 182, 120, 24, 18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B", IDC_BUTTON_B, 182, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9", IDC_BUTTON_9, 208, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6", IDC_BUTTON_6, 208, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3", IDC_BUTTON_3, 208, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",", IDC_BUTTON_DOT, 208, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C", IDC_BUTTON_C, 208, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/", IDC_BUTTON_DIV, 234, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*", IDC_BUTTON_MULT, 234, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-", IDC_BUTTON_SUB, 234, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+", IDC_BUTTON_ADD, 234, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D", IDC_BUTTON_D, 234, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Mod", IDC_BUTTON_MOD, 260, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sau", IDC_BUTTON_OR, 260, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Lsh", IDC_BUTTON_LSH, 260, 100, 24, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=", IDC_BUTTON_EQU, 260, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E", IDC_BUTTON_E, 260, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Și", IDC_BUTTON_AND, 286, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "SauX", IDC_BUTTON_XOR, 286, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Neg", IDC_BUTTON_NOT, 286, 100, 24, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Int", IDC_BUTTON_INT, 286, 120, 24, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F", IDC_BUTTON_F, 286, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "", IDC_STATIC, 147, 14, 163, 20
CONTROL "64 biți", IDC_RADIO_QWORD, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 150, 21, 38, 10
CONTROL "32 biți", IDC_RADIO_DWORD, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 190, 21, 38, 10
CONTROL "16 biți", IDC_RADIO_WORD, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 230, 21, 38, 10
CONTROL "8 biți", IDC_RADIO_BYTE, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 270, 21, 38, 10
CONTROL "Grade", IDC_RADIO_DEG, "Button", BS_AUTORADIOBUTTON, 150, 21, 45, 10
CONTROL "Radiani", IDC_RADIO_RAD, "Button", BS_AUTORADIOBUTTON, 204, 21, 45, 10
CONTROL "Gradiani", IDC_RADIO_GRAD, "Button", BS_AUTORADIOBUTTON, 258, 21, 45, 10
PUSHBUTTON "C", IDC_BUTTON_CANC, 267, 38, 43, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE", IDC_BUTTON_CE, 222, 38, 43, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Înapoi", IDC_BUTTON_BACK, 177, 38, 43, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "", IDC_TEXT_OUTPUT, 5, 1, 305, 14, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 169, 128
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Minicalculator"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "C", IDC_BUTTON_CANC, 123, 23, 41, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE", IDC_BUTTON_CE, 80, 23, 41, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Înapoi", IDC_BUTTON_BACK, 36, 23, 42, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "", IDC_TEXT_OUTPUT, 5, 1, 159, 14, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
PUSHBUTTON "7", IDC_BUTTON_7, 36, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4", IDC_BUTTON_4, 36, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1", IDC_BUTTON_1, 36, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0", IDC_BUTTON_0, 36, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8", IDC_BUTTON_8, 62, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5", IDC_BUTTON_5, 62, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2", IDC_BUTTON_2, 62, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-", IDC_BUTTON_SIGN, 62, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9", IDC_BUTTON_9, 88, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6", IDC_BUTTON_6, 88, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3", IDC_BUTTON_3, 88, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",", IDC_BUTTON_DOT, 88, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/", IDC_BUTTON_DIV, 114, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*", IDC_BUTTON_MULT, 114, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-", IDC_BUTTON_SUB, 114, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+", IDC_BUTTON_ADD, 114, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "√", IDC_BUTTON_SQRT, 140, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%", IDC_BUTTON_PERCENT, 140, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x", IDC_BUTTON_RX, 140, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=", IDC_BUTTON_EQU, 140, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "", IDC_TEXT_MEMORY, 8, 24, 18, 16, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
PUSHBUTTON "MC", IDC_BUTTON_MC, 5, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR", IDC_BUTTON_MR, 5, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS", IDC_BUTTON_MS, 5, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+", IDC_BUTTON_MP, 5, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Minicalculator"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Convertește", IDC_BUTTON_CONVERT, 35, 105, 76, 17
COMBOBOX IDC_COMBO_CATEGORY, 5, 31, 140, 168, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Categorie:", IDC_STATIC, 5, 20, 56, 8
COMBOBOX IDC_COMBO_FROM, 5, 60, 140, 168, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Conversie din:", IDC_STATIC, 5, 49, 56, 8
COMBOBOX IDC_COMBO_TO, 5, 87, 140, 168, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Conversie în:", IDC_STATIC, 5, 76, 56, 8
CONTROL "C", IDC_BUTTON_CANC, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 276, 24, 40, 17
CONTROL "CE", IDC_BUTTON_CE, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 232, 24, 40, 17
CONTROL "Înapoi", IDC_BUTTON_BACK, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 24, 40,17
RTEXT "", IDC_TEXT_OUTPUT, 5, 1, 312, 14, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
CONTROL "7", IDC_BUTTON_7, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 48, 24, 18
CONTROL "4", IDC_BUTTON_4, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 67, 24, 18
CONTROL "1", IDC_BUTTON_1, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 86, 24, 18
CONTROL "0", IDC_BUTTON_0, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 105, 24, 18
CONTROL "8", IDC_BUTTON_8, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 48, 24, 18
CONTROL "5", IDC_BUTTON_5, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 67, 24, 18
CONTROL "2", IDC_BUTTON_2, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 86, 24, 18
CONTROL "+/-", IDC_BUTTON_SIGN, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 105, 24, 18
CONTROL "9", IDC_BUTTON_9, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 48, 24, 18
CONTROL "6", IDC_BUTTON_6, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 67, 24, 18
CONTROL "3", IDC_BUTTON_3, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 86, 24, 18
CONTROL ",", IDC_BUTTON_DOT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 105, 24, 18
CONTROL "/", IDC_BUTTON_DIV, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 48, 24, 18
CONTROL "*", IDC_BUTTON_MULT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 67, 24, 18
CONTROL "-", IDC_BUTTON_SUB, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 86, 24, 18
CONTROL "+", IDC_BUTTON_ADD, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 105, 24, 18
CONTROL "√", IDC_BUTTON_SQRT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 48, 24, 18
CONTROL "%", IDC_BUTTON_PERCENT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 67, 24, 18
CONTROL "1/x", IDC_BUTTON_RX, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 86, 24, 18
CONTROL "=", IDC_BUTTON_EQU, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 105, 24, 18
CTEXT "", IDC_TEXT_MEMORY, 152, 24, 24, 18, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
CONTROL "MC", IDC_BUTTON_MC, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 48, 24, 18
CONTROL "MR", IDC_BUTTON_MR, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 67, 24, 18
CONTROL "MS", IDC_BUTTON_MS, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 86, 24, 18
CONTROL "M+", IDC_BUTTON_MP, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 105, 24, 18
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistici"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX IDC_LIST_STAT, 4, 4, 156, 40, LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "RET", IDC_BUTTON_RET, 4, 48, 36, 16
PUSHBUTTON "LOAD", IDC_BUTTON_LOAD, 44, 48, 36, 16
PUSHBUTTON "CD", IDC_BUTTON_CD, 84, 48, 36, 16
PUSHBUTTON "CAD", IDC_BUTTON_CAD, 124, 48, 36, 16
CTEXT "n=0", IDC_TEXT_NITEMS, 4, 68, 156, 12, SS_CENTERIMAGE | SS_SUNKEN
END
/* Menus */
IDR_MENU_SCIENTIFIC_1 MENU
BEGIN
POPUP "&Editare"
BEGIN
MENUITEM "&Copiază\tCtrl-C", IDM_EDIT_COPY
MENUITEM "&Lipește\tCtrl-V", IDM_EDIT_PASTE
END
POPUP "&Afișare"
BEGIN
MENUITEM "Mod st&andard", IDM_VIEW_STANDARD
MENUITEM "Mod știi&nțific", IDM_VIEW_SCIENTIFIC
MENUITEM "Con&versie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "&Hexazecimal\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "&Zecimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "&Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "&Binar\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "&Grade\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "&Radiani\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Gra&diani\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Grupează &cifrele", IDM_VIEW_GROUP, CHECKED
END
POPUP "Aj&utor"
BEGIN
MENUITEM "&Manual…", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "&Despre…", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU
BEGIN
POPUP "&Editare"
BEGIN
MENUITEM "&Copiază\tCTRL-C", IDM_EDIT_COPY
MENUITEM "&Lipește\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "&Afișare"
BEGIN
MENUITEM "Mod st&andard", IDM_VIEW_STANDARD
MENUITEM "Mod știi&nțific", IDM_VIEW_SCIENTIFIC
MENUITEM "Con&versie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "&Hexazecimal\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "&Zecimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "&Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "&Binar\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "&64 biți\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "&32 biți\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "&16 biți\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "&8 biți\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "Grupează &cifrele", IDM_VIEW_GROUP, CHECKED
END
POPUP "Aj&utor"
BEGIN
MENUITEM "&Manual…", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "&Despre…", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU
BEGIN
POPUP "&Editare"
BEGIN
MENUITEM "&Copiază\tCTRL-C", IDM_EDIT_COPY
MENUITEM "&Lipește\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "&Afișare"
BEGIN
MENUITEM "Mod st&andard", IDM_VIEW_STANDARD
MENUITEM "Mod știi&nțific", IDM_VIEW_SCIENTIFIC
MENUITEM "Con&versie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Grupează &cifre", IDM_VIEW_GROUP, CHECKED
END
POPUP "Aj&utor"
BEGIN
MENUITEM "&Manual…", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "&Despre…", IDM_HELP_ABOUT
END
END
/* String Tables */
STRINGTABLE
BEGIN
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
IDS_CONV_ANGLE "Unghi"
IDS_CONV_AREA "Suprafață"
IDS_CONV_CONSUMPTION "Consum (motoare)"
IDS_CONV_CURRENCY "Valută"
IDS_CONV_ENERGY "Energie"
IDS_CONV_LENGTH "Lungimi"
IDS_CONV_POWER "Putere"
IDS_CONV_PRESSURE "Presiune"
IDS_CONV_TEMPERATURE "Temperatură"
IDS_CONV_TIME "Timp"
IDS_CONV_VELOCITY "Viteză"
IDS_CONV_VOLUME "Volum"
IDS_CONV_WEIGHT "Masă"
END
/* Angles */
STRINGTABLE
BEGIN
IDS_ANGLE_DEGREES "Grade"
IDS_ANGLE_GRADIANS "Gradiani"
IDS_ANGLE_RADIANS "Radiani"
END
/* Areas */
STRINGTABLE
BEGIN
IDS_AREA_ACRES "Acri"
IDS_AREA_ACRES_BRAZIL "Acri (Brazilia)"
IDS_AREA_ACRES_FRANCE "Acri (Franța)"
IDS_AREA_ACRES_SCOTS "Acri (Scots)"
IDS_AREA_ACRES_US "Acri (SUA)"
IDS_AREA_ARES "Ares"
IDS_AREA_CHOU "Chou"
IDS_AREA_DANBO "Danbo"
IDS_AREA_HECTARES "Hectare"
IDS_AREA_JEONGBO "Jeongbo"
IDS_AREA_MORGEN_HUNGARY "Morgen (Ungaria)"
IDS_AREA_MU "Mu"
IDS_AREA_PING "Ping"
IDS_AREA_PYEONG "Pyeong"
IDS_AREA_PYEONGBANGJA "Pyeongbangja"
IDS_AREA_RAI "Rai"
IDS_AREA_SE "Se"
IDS_AREA_SQUARE_CENTIMETERS "Centimetri pătrați"
IDS_AREA_SQUARE_CHR "Chr pătrați"
IDS_AREA_SQUARE_FATHOMS "Fathomi pătrați"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "Fathomi pătrați (Ungaria)"
IDS_AREA_SQUARE_FEET "Picioare pătrate"
IDS_AREA_SQUARE_INCHES "Țoli pătrați"
IDS_AREA_SQUARE_KILOMETERS "Kilometri pătrați"
IDS_AREA_SQUARE_LAR "Lar pătrați"
IDS_AREA_SQUARE_METER "Metri pătrați"
IDS_AREA_SQUARE_MILES "Mile pătrate"
IDS_AREA_SQUARE_MILLIMETERS "Milimetri pătrați"
IDS_AREA_SQUARE_SHAKU "Shaku pătrați"
IDS_AREA_SQUARE_TSUEN "Tsuen pătrați"
IDS_AREA_SQUARE_VA "Va pătrați"
IDS_AREA_SQUARE_YARD "Yarzi pătrați"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
/* Consumptions */
STRINGTABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "Kilometri/litru"
IDS_CONSUMPTION_L_PER_100_KM "Litri/100 kilometri"
IDS_CONSUMPTION_MILES_GALLON_UK "Mile/galon (Marea Britanie)"
IDS_CONSUMPTION_MILES_GALLON_US "Mile/galon (SUA)"
END
/* Currencies */
STRINGTABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Șiling autriac"
IDS_CURRENCY_BELGIAN_FRANC "Franc belgian"
IDS_CURRENCY_CYPRIOT_POUND "Liră cipriotă"
IDS_CURRENCY_CZECH_KORUNA "Coroană cehă"
IDS_CURRENCY_DEUTSCHE_MARK "Marcă nemțească"
IDS_CURRENCY_DUTCH_GUILDER "Guilder olandez"
IDS_CURRENCY_ESTONIAN_KROON "Coroană estoniană"
IDS_CURRENCY_EURO "Euro"
IDS_CURRENCY_FINNISH_MARKKA "Marcă finlandeză"
IDS_CURRENCY_FRENCH_FRANC "Franc framcez"
IDS_CURRENCY_GREEK_DRACHMA "Drahmă grecească"
IDS_CURRENCY_IRISH_POUND "Liră irlandeză"
IDS_CURRENCY_ITALIAN_LIRA "Liră italiană"
IDS_CURRENCY_LATVIAN_LATS "Lats leton"
IDS_CURRENCY_LITHUANIAN_LITAS "Litas lituanian"
IDS_CURRENCY_LUXEMBOURG_FRANC "Franc luxemburghez"
IDS_CURRENCY_MALTESE_LIRA "Litră malteză"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Escudo portughez"
IDS_CURRENCY_SLOVAK_KORUNA "Coroană slovacă"
IDS_CURRENCY_SLOVENIAN_TOLAR "Tolar sloven"
IDS_CURRENCY_SPANISH_PESETA "Peseta spaniolă"
END
/* Energies */
STRINGTABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "Calorii 15 °C"
IDS_ENERGY_BTUS "Unități termale britanice"
IDS_ENERGY_ERGS "Erg"
IDS_ENERGY_EVS "Electroni-Volt"
IDS_ENERGY_FOOT_POUNDS "Picioare-Livră"
IDS_ENERGY_IT_CALORIES "Calorii Tabel Internațional"
IDS_ENERGY_IT_KILOCALORIES "Kilocalorii Tabel Internațional"
IDS_ENERGY_JOULES "Jouli"
IDS_ENERGY_KILOJOULES "Kilojouli"
IDS_ENERGY_KILOWATT_HOURS "Kilowați-oră"
IDS_ENERGY_NUTRITION_CALORIES "Calorii nutriționale"
IDS_ENERGY_TH_CALORIES "Calorii termochimice"
END
/* Lengths */
STRINGTABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Ångströmi"
IDS_LENGTH_ASTRONOMICAL_UNITS "Unități astronomice"
IDS_LENGTH_BARLEYCORNS "Grani"
IDS_LENGTH_CENTIMETERS "Centimetri"
IDS_LENGTH_CHAINS_UK "Lanțuri (Marea Britanie)"
IDS_LENGTH_CHI "Chi"
IDS_LENGTH_CHOU "Chou"
IDS_LENGTH_CHR "Chr"
IDS_LENGTH_CUN "Cun"
IDS_LENGTH_FATHOMS "Fathom"
IDS_LENGTH_FATHOMS_HUNGARY "Fathom (Ungaria)"
IDS_LENGTH_FEET "Picioare"
IDS_LENGTH_FURLONGS "Furlong"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Palme"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "Țoli"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Kilometeri"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Ani lumină"
IDS_LENGTH_LINKS_UK "Links (Marea Britanie)"
IDS_LENGTH_METERS "Metri"
IDS_LENGTH_MICRONS "Microni"
IDS_LENGTH_MILES "Mile"
IDS_LENGTH_MILLIMETERS "Milimetri"
IDS_LENGTH_NAUTICAL_MILES "Mile nautice"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_PARSECS "Parseci"
IDS_LENGTH_PICAS "Picas"
IDS_LENGTH_RI_JAPAN "Ri (Japonia)"
IDS_LENGTH_RI_KOREA "Ri (Corea)"
IDS_LENGTH_RODS "Rod"
IDS_LENGTH_SAWK "Sawk"
IDS_LENGTH_SEN "Sen"
IDS_LENGTH_SHAKU "Shaku"
IDS_LENGTH_SPAN "Span"
IDS_LENGTH_SUN "Sun"
IDS_LENGTH_TSUEN "Tsuen"
IDS_LENGTH_VA "Va"
IDS_LENGTH_YARDS "Yard"
IDS_LENGTH_YOTE "Yote"
IDS_LENGTH_ZHANG "Zhang"
END
/* Powers */
STRINGTABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "Unități termice britanice pe minut"
IDS_POWER_FPS_PER_MINUTE "Picior-livre pe minut"
IDS_POWER_HORSEPOWER "Cai putere"
IDS_POWER_KILOWATTS "Kilowați"
IDS_POWER_MEGAWATTS "Megawați"
IDS_POWER_WATTS "Wați"
END
/* Pressures */
STRINGTABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmosfere"
IDS_PRESSURE_BARS "Bari"
IDS_PRESSURE_HECTOPASCALS "Hectopascali"
IDS_PRESSURE_KILOPASCALS "Kilopascali"
IDS_PRESSURE_MM_OF_MERCURY "Milimetri coloană de mercur"
IDS_PRESSURE_PASCALS "Pascali"
IDS_PRESSURE_PSI "Livre-forță pe țol pătrat"
END
/* Temperatures */
STRINGTABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "Celsius"
IDS_TEMPERATURE_FAHRENHEIT "Fahrenheit"
IDS_TEMPERATURE_KELVIN "Kelvin"
IDS_TEMPERATURE_RANKINE "Rankine"
END
/* Time */
STRINGTABLE
BEGIN
IDS_TIME_DAYS "Zile"
IDS_TIME_HOURS "Ore"
IDS_TIME_NANOSECONDS "Nanoseconds"
IDS_TIME_MICROSECONDS "Microsecunde"
IDS_TIME_MILLISECONDS "Milisecunde"
IDS_TIME_MINUTES "Minute"
IDS_TIME_SECONDS "Secunde"
IDS_TIME_WEEKS "Săptămâni"
IDS_TIME_YEARS "Ani"
END
/* Velocities */
STRINGTABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centimetri/oră"
IDS_VELOCITY_FEET_HOUR "Picioare/oră"
IDS_VELOCITY_FEET_SECOND "Picioare/secundă"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometri/oră"
IDS_VELOCITY_KNOTS "Nod"
IDS_VELOCITY_MACH "Mach"
IDS_VELOCITY_METERS_SECOND "Metri/secundă"
IDS_VELOCITY_MILES_HOUR "Mile/oră"
END
/* Volumes */
STRINGTABLE
BEGIN
IDS_VOLUME_BARRELS_UK "Barili (Marea Britanie)"
IDS_VOLUME_BARRELS_OIL "Barili de petrol"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "Bushel (Marea Britanie)"
IDS_VOLUME_BUSHELS_US "Bushel (SUA)"
IDS_VOLUME_CUBIC_CENTIMETERS "Centrimetri cubi"
IDS_VOLUME_CUBIC_FEET "Picioare^3"
IDS_VOLUME_CUBIC_INCHES "Țoli cubi"
IDS_VOLUME_CUBIC_METERS "Metri cubi"
IDS_VOLUME_CUBIC_YARDS "Yarzi cubi"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "Uncii fluide (Marea Britanie)"
IDS_VOLUME_FLUID_OUNCES_US "Uncii fluide (SUA)"
IDS_VOLUME_GALLONS_UK "Galoni (Marea Britanie)"
IDS_VOLUME_GALLONS_DRY_US "Galoni, uscat (SUA)"
IDS_VOLUME_GALLONS_LIQUID_US "Galoni, lichid (SUA)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "Litri"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "Mililitri"
IDS_VOLUME_PINTS_UK "Pints (Marea Britanie)"
IDS_VOLUME_PINTS_DRY_US "Pints, uscat (SUA)"
IDS_VOLUME_PINTS_LIQUID_US "Pints, lichid (SUA)"
IDS_VOLUME_QUARTS_UK "Quarts (Marea Britanie)"
IDS_VOLUME_QUARTS_DRY_US "Quarts, uscat (SUA)"
IDS_VOLUME_QUARTS_LIQUID_US "Quarts, lichid (SUA)"
IDS_VOLUME_SEKI "Seki"
IDS_VOLUME_SYOU "Syou"
IDS_VOLUME_TANANLOUNG "Tananloung"
IDS_VOLUME_TANG "Tang"
IDS_VOLUME_TO "To"
END
/* Weights */
STRINGTABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_CARATS "Carate"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "Grame"
IDS_WEIGHT_GWAN "Gwan"
IDS_WEIGHT_HARB "Harb"
IDS_WEIGHT_JIN_CHINA "Jin (China)"
IDS_WEIGHT_JIN_TAIWAN "Jin (Taiwan)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_KILOGRAMS "Kilograme"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (China)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Taiwan)"
IDS_WEIGHT_MONME "Monme"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "Uncii, avoirdupois"
IDS_WEIGHT_OUNCES_TROY "Uncii, troy"
IDS_WEIGHT_POUNDS "Livre"
IDS_WEIGHT_QUINTAL_METRIC "Chintale (metric)"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "Stones"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "Tonni"
IDS_WEIGHT_TONS_UK "Tone (Marea Britanie)"
IDS_WEIGHT_TONS_US "Tone (SUA)"
END

View File

@@ -0,0 +1,707 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
/* Dialogs */
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 163
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Калькулятор ReactOS"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "", IDC_STATIC, 5 ,14, 141, 20
CONTROL "Hex", IDC_RADIO_HEX, "Button", BS_AUTORADIOBUTTON, 8, 21, 30, 10
CONTROL "Dec", IDC_RADIO_DEC, "Button", BS_AUTORADIOBUTTON, 41, 21, 30, 10
CONTROL "Oct", IDC_RADIO_OCT, "Button", BS_AUTORADIOBUTTON, 74, 21, 30, 10
CONTROL "Bin", IDC_RADIO_BIN, "Button", BS_AUTORADIOBUTTON, 107, 21, 30, 10
GROUPBOX "", IDC_STATIC, 5, 34, 84, 20
CONTROL "Inv", IDC_CHECK_INV, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 8, 41, 26, 10
CONTROL "Hyp", IDC_CHECK_HYP, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 49, 41, 29, 10
CTEXT "", IDC_TEXT_PARENT, 93, 38, 18, 16, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
CTEXT "", IDC_TEXT_MEMORY, 126, 38, 18, 16, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
PUSHBUTTON "Sta", IDC_BUTTON_STA, 5, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Ave", IDC_BUTTON_AVE, 5, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sum", IDC_BUTTON_SUM, 5, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s", IDC_BUTTON_S, 5, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat", IDC_BUTTON_DAT, 5, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E", IDC_BUTTON_FE, 38, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "dms", IDC_BUTTON_DMS, 38, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "sin", IDC_BUTTON_SIN, 38, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "cos", IDC_BUTTON_COS, 38, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "tan", IDC_BUTTON_TAN, 38, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(", IDC_BUTTON_LEFTPAR, 64, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Exp", IDC_BUTTON_EXP, 64, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y", IDC_BUTTON_XeY, 64, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2", IDC_BUTTON_Xe2, 64, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3", IDC_BUTTON_Xe3, 64, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")", IDC_BUTTON_RIGHTPAR, 90, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln", IDC_BUTTON_LN, 90, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log", IDC_BUTTON_LOG, 90, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!", IDC_BUTTON_NF, 90, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x", IDC_BUTTON_RX, 90, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC", IDC_BUTTON_MC, 123, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR", IDC_BUTTON_MR, 123, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS", IDC_BUTTON_MS, 123, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+", IDC_BUTTON_MP, 123, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "pi", IDC_BUTTON_PI, 123, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7", IDC_BUTTON_7, 156, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4", IDC_BUTTON_4, 156, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1", IDC_BUTTON_1, 156, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0", IDC_BUTTON_0, 156, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A", IDC_BUTTON_A, 156, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8", IDC_BUTTON_8, 182, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5", IDC_BUTTON_5, 182, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2", IDC_BUTTON_2, 182, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-", IDC_BUTTON_SIGN, 182, 120, 24, 18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B", IDC_BUTTON_B, 182, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9", IDC_BUTTON_9, 208, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6", IDC_BUTTON_6, 208, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3", IDC_BUTTON_3, 208, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",", IDC_BUTTON_DOT, 208, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C", IDC_BUTTON_C, 208, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/", IDC_BUTTON_DIV, 234, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*", IDC_BUTTON_MULT, 234, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-", IDC_BUTTON_SUB, 234, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+", IDC_BUTTON_ADD, 234, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D", IDC_BUTTON_D, 234, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Mod", IDC_BUTTON_MOD, 260, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Or", IDC_BUTTON_OR, 260, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Lsh", IDC_BUTTON_LSH, 260, 100, 24, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=", IDC_BUTTON_EQU, 260, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E", IDC_BUTTON_E, 260, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "And", IDC_BUTTON_AND, 286, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Xor", IDC_BUTTON_XOR, 286, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Not", IDC_BUTTON_NOT, 286, 100, 24, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Int", IDC_BUTTON_INT, 286, 120, 24, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F", IDC_BUTTON_F, 286, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "", IDC_STATIC, 147, 14, 163, 20
CONTROL "8 байт", IDC_RADIO_QWORD, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 150, 21, 38, 10
CONTROL "4 байт", IDC_RADIO_DWORD, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 190, 21, 38, 10
CONTROL "2 байт", IDC_RADIO_WORD, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 230, 21, 38, 10
CONTROL "1 байт", IDC_RADIO_BYTE, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 270, 21, 38, 10
CONTROL "Градусы", IDC_RADIO_DEG, "Button", BS_AUTORADIOBUTTON, 150, 21, 45, 10
CONTROL "Радианы", IDC_RADIO_RAD, "Button", BS_AUTORADIOBUTTON, 204, 21, 45, 10
CONTROL "Грады", IDC_RADIO_GRAD, "Button", BS_AUTORADIOBUTTON, 258, 21, 45, 10
PUSHBUTTON "C", IDC_BUTTON_CANC, 267, 38, 43, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE", IDC_BUTTON_CE, 222, 38, 43, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Back", IDC_BUTTON_BACK, 177, 38, 43, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "", IDC_TEXT_OUTPUT, 5, 1, 305, 14, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 169, 128
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Калькулятор ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "C", IDC_BUTTON_CANC, 123, 23, 41, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE", IDC_BUTTON_CE, 80, 23, 41, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Back", IDC_BUTTON_BACK, 36, 23, 42, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "", IDC_TEXT_OUTPUT, 5, 1, 159, 14, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
PUSHBUTTON "7", IDC_BUTTON_7, 36, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4", IDC_BUTTON_4, 36, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1", IDC_BUTTON_1, 36, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0", IDC_BUTTON_0, 36, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8", IDC_BUTTON_8, 62, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5", IDC_BUTTON_5, 62, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2", IDC_BUTTON_2, 62, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-", IDC_BUTTON_SIGN, 62, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9", IDC_BUTTON_9, 88, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6", IDC_BUTTON_6, 88, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3", IDC_BUTTON_3, 88, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",", IDC_BUTTON_DOT, 88, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/", IDC_BUTTON_DIV, 114, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*", IDC_BUTTON_MULT, 114, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-", IDC_BUTTON_SUB, 114, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+", IDC_BUTTON_ADD, 114, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sqrt", IDC_BUTTON_SQRT, 140, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%", IDC_BUTTON_PERCENT, 140, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x", IDC_BUTTON_RX, 140, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=", IDC_BUTTON_EQU, 140, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "", IDC_TEXT_MEMORY, 8, 24, 18, 16, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
PUSHBUTTON "MC", IDC_BUTTON_MC, 5, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR", IDC_BUTTON_MR, 5, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS", IDC_BUTTON_MS, 5, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+", IDC_BUTTON_MP, 5, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Калькулятор ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Конвертировать", IDC_BUTTON_CONVERT, 35, 105, 76, 17
COMBOBOX IDC_COMBO_CATEGORY, 5, 31, 140, 168, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Категория:", IDC_STATIC, 5, 20, 56, 8
COMBOBOX IDC_COMBO_FROM, 5, 60, 140, 168, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Конвертировать из:", IDC_STATIC, 5, 49, 56, 8
COMBOBOX IDC_COMBO_TO, 5, 87, 140, 168, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Конвертировать в:", IDC_STATIC, 5, 76, 56, 8
CONTROL "C", IDC_BUTTON_CANC, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 276, 24, 40, 17
CONTROL "CE", IDC_BUTTON_CE, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 232, 24, 40, 17
CONTROL "Back", IDC_BUTTON_BACK, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 24, 40,17
RTEXT "", IDC_TEXT_OUTPUT, 5, 1, 312, 14, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
CONTROL "7", IDC_BUTTON_7, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 48, 24, 18
CONTROL "4", IDC_BUTTON_4, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 67, 24, 18
CONTROL "1", IDC_BUTTON_1, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 86, 24, 18
CONTROL "0", IDC_BUTTON_0, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 105, 24, 18
CONTROL "8", IDC_BUTTON_8, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 48, 24, 18
CONTROL "5", IDC_BUTTON_5, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 67, 24, 18
CONTROL "2", IDC_BUTTON_2, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 86, 24, 18
CONTROL "+/-", IDC_BUTTON_SIGN, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 105, 24, 18
CONTROL "9", IDC_BUTTON_9, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 48, 24, 18
CONTROL "6", IDC_BUTTON_6, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 67, 24, 18
CONTROL "3", IDC_BUTTON_3, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 86, 24, 18
CONTROL ",", IDC_BUTTON_DOT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 105, 24, 18
CONTROL "/", IDC_BUTTON_DIV, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 48, 24, 18
CONTROL "*", IDC_BUTTON_MULT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 67, 24, 18
CONTROL "-", IDC_BUTTON_SUB, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 86, 24, 18
CONTROL "+", IDC_BUTTON_ADD, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 105, 24, 18
CONTROL "Sqrt", IDC_BUTTON_SQRT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 48, 24, 18
CONTROL "%", IDC_BUTTON_PERCENT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 67, 24, 18
CONTROL "1/x", IDC_BUTTON_RX, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 86, 24, 18
CONTROL "=", IDC_BUTTON_EQU, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 105, 24, 18
CTEXT "", IDC_TEXT_MEMORY, 152, 24, 24, 18, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
CONTROL "MC", IDC_BUTTON_MC, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 48, 24, 18
CONTROL "MR", IDC_BUTTON_MR, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 67, 24, 18
CONTROL "MS", IDC_BUTTON_MS, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 86, 24, 18
CONTROL "M+", IDC_BUTTON_MP, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 105, 24, 18
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Статистика"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX IDC_LIST_STAT, 4, 4, 156, 40, LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "RET", IDC_BUTTON_RET, 4, 48, 36, 16
PUSHBUTTON "LOAD", IDC_BUTTON_LOAD, 44, 48, 36, 16
PUSHBUTTON "CD", IDC_BUTTON_CD, 84, 48, 36, 16
PUSHBUTTON "CAD", IDC_BUTTON_CAD, 124, 48, 36, 16
CTEXT "n=0", IDC_TEXT_NITEMS, 4, 68, 156, 12, SS_CENTERIMAGE | SS_SUNKEN
END
/* Menus */
IDR_MENU_SCIENTIFIC_1 MENU
BEGIN
POPUP "&Правка"
BEGIN
MENUITEM "&Копировать\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Вст&авить\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "В&ид"
BEGIN
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 SEPARATOR
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
END
POPUP "&Справка"
BEGIN
MENUITEM "&Вызов справки", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "&О программе", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU
BEGIN
POPUP "&Правка"
BEGIN
MENUITEM "&Копировать\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Вст&авить\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "В&ид"
BEGIN
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 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 SEPARATOR
MENUITEM "Группировать &цифры", IDM_VIEW_GROUP, CHECKED
END
POPUP "&Справка"
BEGIN
MENUITEM "&Вызов справки", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "&О программе", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU
BEGIN
POPUP "&Правка"
BEGIN
MENUITEM "&Копировать\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Вст&авить\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "В&ид"
BEGIN
MENUITEM "&Обычный", IDM_VIEW_STANDARD
MENUITEM "&Инженерный", IDM_VIEW_SCIENTIFIC
MENUITEM "П&еревод величин", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Группировать &цифры", IDM_VIEW_GROUP, CHECKED
END
POPUP "&Справка"
BEGIN
MENUITEM "&Вызов справки", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "&О программе", IDM_HELP_ABOUT
END
END
/* String Tables */
STRINGTABLE
BEGIN
IDS_MATH_ERROR "Ошибка"
IDS_QUICKHELP "Быстрая справка"
END
/* About */
STRINGTABLE
BEGIN
IDS_CALC_NAME "Калькулятор ReactOS"
IDS_AUTHOR "Автор: Карло Брамини"
END
/* Types of conversion */
STRINGTABLE
BEGIN
IDS_CONV_ANGLE "Угол"
IDS_CONV_AREA "Площадь"
IDS_CONV_CONSUMPTION "Расход топлива (двигатели)"
IDS_CONV_CURRENCY "Валюта"
IDS_CONV_ENERGY "Энергия"
IDS_CONV_LENGTH "Длина"
IDS_CONV_POWER "Мощность"
IDS_CONV_PRESSURE "Давление"
IDS_CONV_TEMPERATURE "Температура"
IDS_CONV_TIME "Время"
IDS_CONV_VELOCITY "Скорость"
IDS_CONV_VOLUME "Объем"
IDS_CONV_WEIGHT "Вес"
END
/* Angles */
STRINGTABLE
BEGIN
IDS_ANGLE_DEGREES "градус"
IDS_ANGLE_GRADIANS "град"
IDS_ANGLE_RADIANS "радиан"
END
/* Areas */
STRINGTABLE
BEGIN
IDS_AREA_ACRES "акр"
IDS_AREA_ACRES_BRAZIL "акр (бразильский)"
IDS_AREA_ACRES_FRANCE "акр (французский)"
IDS_AREA_ACRES_SCOTS "акр (шотландский)"
IDS_AREA_ACRES_US "акр (США)"
IDS_AREA_ARES "ар"
IDS_AREA_CHOU "чоу"
IDS_AREA_DANBO "дамбо"
IDS_AREA_HECTARES "гектар"
IDS_AREA_JEONGBO "дженгбо"
IDS_AREA_MORGEN_HUNGARY "морген (венгерский)"
IDS_AREA_MU "му"
IDS_AREA_PING "пин"
IDS_AREA_PYEONG "пён"
IDS_AREA_PYEONGBANGJA "пёнбанджа"
IDS_AREA_RAI "рай"
IDS_AREA_SE "хэйхо сяку"
IDS_AREA_SQUARE_CENTIMETERS "квадратный сантиметр"
IDS_AREA_SQUARE_CHR "квадратный ча"
IDS_AREA_SQUARE_FATHOMS "квадратный фатом"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "квадратный фатом (венгерский)"
IDS_AREA_SQUARE_FEET "квадратный фут"
IDS_AREA_SQUARE_INCHES "квадратный дюйм"
IDS_AREA_SQUARE_KILOMETERS "квадратный километр"
IDS_AREA_SQUARE_LAR "квадратный лар"
IDS_AREA_SQUARE_METER "квадратный метр"
IDS_AREA_SQUARE_MILES "квадратная миля"
IDS_AREA_SQUARE_MILLIMETERS "квадратный миллиметр"
IDS_AREA_SQUARE_SHAKU "квадратный шаку"
IDS_AREA_SQUARE_TSUEN "квадратный тсуэн"
IDS_AREA_SQUARE_VA "квадратная ва"
IDS_AREA_SQUARE_YARD "квадратный ярд"
IDS_AREA_TAN "тан"
IDS_AREA_TSUBO "цубо"
END
/* Consumptions */
STRINGTABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "километр/литр"
IDS_CONSUMPTION_L_PER_100_KM "литров/100 километров"
IDS_CONSUMPTION_MILES_GALLON_UK "миль/галлон (британский)"
IDS_CONSUMPTION_MILES_GALLON_US "миль/галлон (США)"
END
/* Currencies */
STRINGTABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Австралийский шиллинг"
IDS_CURRENCY_BELGIAN_FRANC "Бельгийский франк"
IDS_CURRENCY_CYPRIOT_POUND "Киприотский фунт"
IDS_CURRENCY_CZECH_KORUNA "Чешская крона"
IDS_CURRENCY_DEUTSCHE_MARK "Немецкая марка"
IDS_CURRENCY_DUTCH_GUILDER "Голландский гульден"
IDS_CURRENCY_ESTONIAN_KROON "Эстонская крона"
IDS_CURRENCY_EURO "Евро"
IDS_CURRENCY_FINNISH_MARKKA "Финская марка"
IDS_CURRENCY_FRENCH_FRANC "Французский франк"
IDS_CURRENCY_GREEK_DRACHMA "Греческая драхма"
IDS_CURRENCY_IRISH_POUND "Ирландский фунт"
IDS_CURRENCY_ITALIAN_LIRA "Итальянская лира"
IDS_CURRENCY_LATVIAN_LATS "Латвийский лат"
IDS_CURRENCY_LITHUANIAN_LITAS "Литовский лит"
IDS_CURRENCY_LUXEMBOURG_FRANC "Люксембургский франк"
IDS_CURRENCY_MALTESE_LIRA "Мальтийская лира"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Португальское эскудо"
IDS_CURRENCY_SLOVAK_KORUNA "Словацкая крона"
IDS_CURRENCY_SLOVENIAN_TOLAR "Словенский толар"
IDS_CURRENCY_SPANISH_PESETA "Испанская песета"
END
/* Energies */
STRINGTABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "калория пятнадцатиградусная"
IDS_ENERGY_BTUS "британская тепловая единица"
IDS_ENERGY_ERGS "эрг"
IDS_ENERGY_EVS "электронвольт"
IDS_ENERGY_FOOT_POUNDS "футофунт"
IDS_ENERGY_IT_CALORIES "калория международная"
IDS_ENERGY_IT_KILOCALORIES "килокалория международная"
IDS_ENERGY_JOULES "джоуль"
IDS_ENERGY_KILOJOULES "килоджоуль"
IDS_ENERGY_KILOWATT_HOURS "киловатт-час"
IDS_ENERGY_NUTRITION_CALORIES "калория пищевая"
IDS_ENERGY_TH_CALORIES "калория термохимическая"
END
/* Lengths */
STRINGTABLE
BEGIN
IDS_LENGTH_ANGSTROMS "ангстрем"
IDS_LENGTH_ASTRONOMICAL_UNITS "астрономическая единица"
IDS_LENGTH_BARLEYCORNS "барлейкорн"
IDS_LENGTH_CENTIMETERS "сантиметр"
IDS_LENGTH_CHAINS_UK "чейн (британский)"
IDS_LENGTH_CHI "чи"
IDS_LENGTH_CHOU "чоу"
IDS_LENGTH_CHR "ча"
IDS_LENGTH_CUN "цунь"
IDS_LENGTH_FATHOMS "фатом"
IDS_LENGTH_FATHOMS_HUNGARY "фатом (венгерский)"
IDS_LENGTH_FEET "фут"
IDS_LENGTH_FURLONGS "фарлонг"
IDS_LENGTH_GAN "гань"
IDS_LENGTH_HANDS "ладонь"
IDS_LENGTH_HUNH "ханх"
IDS_LENGTH_INCHES "дюйм"
IDS_LENGTH_JA "я"
IDS_LENGTH_JEONG "джеонг"
IDS_LENGTH_KABIET "кабьет"
IDS_LENGTH_KEN "кен"
IDS_LENGTH_KEUB "кеуб"
IDS_LENGTH_KILOMETERS "километр"
IDS_LENGTH_LAR "лар"
IDS_LENGTH_LIGHT_YEARS "световой год"
IDS_LENGTH_LINKS_UK "линк (британский)"
IDS_LENGTH_METERS "метр"
IDS_LENGTH_MICRONS "микрометр"
IDS_LENGTH_MILES "миля"
IDS_LENGTH_MILLIMETERS "миллиметр"
IDS_LENGTH_NAUTICAL_MILES "морская миля"
IDS_LENGTH_NIEU "ньё"
IDS_LENGTH_PARSECS "парсек"
IDS_LENGTH_PICAS "пика"
IDS_LENGTH_RI_JAPAN "ри (японская)"
IDS_LENGTH_RI_KOREA "ри (корейская)"
IDS_LENGTH_RODS "род"
IDS_LENGTH_SAWK "соук"
IDS_LENGTH_SEN "сен"
IDS_LENGTH_SHAKU "шаку"
IDS_LENGTH_SPAN "спан"
IDS_LENGTH_SUN "сан"
IDS_LENGTH_TSUEN "тсуэн"
IDS_LENGTH_VA "ва"
IDS_LENGTH_YARDS "ярд"
IDS_LENGTH_YOTE "йоут"
IDS_LENGTH_ZHANG "чжан"
END
/* Powers */
STRINGTABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "британская тепловая единица в минуту"
IDS_POWER_FPS_PER_MINUTE "футофунт в минуту"
IDS_POWER_HORSEPOWER "лошадиная сила"
IDS_POWER_KILOWATTS "киловатт"
IDS_POWER_MEGAWATTS "мегаватт"
IDS_POWER_WATTS "ватт"
END
/* Pressures */
STRINGTABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "атмосфера (физическая)"
IDS_PRESSURE_BARS "бар"
IDS_PRESSURE_HECTOPASCALS "гектопаскаль"
IDS_PRESSURE_KILOPASCALS "килопаскаль"
IDS_PRESSURE_MM_OF_MERCURY "миллиметр ртутного столба"
IDS_PRESSURE_PASCALS "паскаль"
IDS_PRESSURE_PSI "фунт на квадратный дюйм"
END
/* Temperatures */
STRINGTABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "градус (по шкале Цельсия)"
IDS_TEMPERATURE_FAHRENHEIT "градус (по шкале Фаренгейта)"
IDS_TEMPERATURE_KELVIN "градус (по шкале Кельвина)"
IDS_TEMPERATURE_RANKINE "градус (по шкале Rankine)"
END
/* Time */
STRINGTABLE
BEGIN
IDS_TIME_DAYS "день"
IDS_TIME_HOURS "час"
IDS_TIME_NANOSECONDS "наносекунда"
IDS_TIME_MICROSECONDS "микросекунда"
IDS_TIME_MILLISECONDS "миллисекунда"
IDS_TIME_MINUTES "минута"
IDS_TIME_SECONDS "секунда"
IDS_TIME_WEEKS "неделя"
IDS_TIME_YEARS "год"
END
/* Velocities */
STRINGTABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "сантиметр в час"
IDS_VELOCITY_FEET_HOUR "фут в час"
IDS_VELOCITY_FEET_SECOND "фут в секунду"
IDS_VELOCITY_KILOMETERS_HOUR "километр в час"
IDS_VELOCITY_KNOTS "узел"
IDS_VELOCITY_MACH "мах"
IDS_VELOCITY_METERS_SECOND "метр в секунду"
IDS_VELOCITY_MILES_HOUR "миля в час"
END
/* Volumes */
STRINGTABLE
BEGIN
IDS_VOLUME_BARRELS_UK "баррель (британский)"
IDS_VOLUME_BARRELS_OIL "баррель нефтяной"
IDS_VOLUME_BUN "бун"
IDS_VOLUME_BUSHELS_UK "бушель (британский)"
IDS_VOLUME_BUSHELS_US "бушель (США)"
IDS_VOLUME_CUBIC_CENTIMETERS "кубический сантиметр"
IDS_VOLUME_CUBIC_FEET "кубический фут"
IDS_VOLUME_CUBIC_INCHES "кубический дюйм"
IDS_VOLUME_CUBIC_METERS "кубический метр"
IDS_VOLUME_CUBIC_YARDS "кубический ярд"
IDS_VOLUME_DOE "то"
IDS_VOLUME_FLUID_OUNCES_UK "жидкая унция (британская)"
IDS_VOLUME_FLUID_OUNCES_US "жидкая унция (США)"
IDS_VOLUME_GALLONS_UK "галлон (британский)"
IDS_VOLUME_GALLONS_DRY_US "галлон (для сухих веществ, США)"
IDS_VOLUME_GALLONS_LIQUID_US "галлон (для жидкостей, США)"
IDS_VOLUME_GOU "гоу"
IDS_VOLUME_HOP "хоп"
IDS_VOLUME_ICCE "иккэ"
IDS_VOLUME_KWIAN "квиан"
IDS_VOLUME_LITERS "литр"
IDS_VOLUME_MAL "маль"
IDS_VOLUME_MILLILITERS "миллилитр"
IDS_VOLUME_PINTS_UK "пинта (британская)"
IDS_VOLUME_PINTS_DRY_US "пинта (для сухих веществ, США)"
IDS_VOLUME_PINTS_LIQUID_US "пинта (для жидкостей, США)"
IDS_VOLUME_QUARTS_UK "кварта (британская)"
IDS_VOLUME_QUARTS_DRY_US "кварта (для сухих веществ, США)"
IDS_VOLUME_QUARTS_LIQUID_US "кварта (для жидкостей, США)"
IDS_VOLUME_SEKI "сэки"
IDS_VOLUME_SYOU "сё"
IDS_VOLUME_TANANLOUNG "тананлунг"
IDS_VOLUME_TANG "тан"
IDS_VOLUME_TO "ту"
END
/* Weights */
STRINGTABLE
BEGIN
IDS_WEIGHT_BAHT "бат"
IDS_WEIGHT_CARATS "карат"
IDS_WEIGHT_CHUNG "чанг"
IDS_WEIGHT_DON "дон"
IDS_WEIGHT_GEUN "джин"
IDS_WEIGHT_GRAMS "грамм"
IDS_WEIGHT_GWAN "кван"
IDS_WEIGHT_HARB "хап"
IDS_WEIGHT_JIN_CHINA "джин (китайский)"
IDS_WEIGHT_JIN_TAIWAN "джин (тайвань)"
IDS_WEIGHT_KAN "канн"
IDS_WEIGHT_KILOGRAMS "килограмм"
IDS_WEIGHT_KIN "кын"
IDS_WEIGHT_LIANG_CHINA "лианг (китайский)"
IDS_WEIGHT_LIANG_TAIWAN "лианг (тайвань)"
IDS_WEIGHT_MONME "монм"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "унция (торговая)"
IDS_WEIGHT_OUNCES_TROY "унция (тройская)"
IDS_WEIGHT_POUNDS "фунт"
IDS_WEIGHT_QUINTAL_METRIC "квинтал (метрический)"
IDS_WEIGHT_SALOUNG "салунг"
IDS_WEIGHT_STONES "стоун"
IDS_WEIGHT_TAMLUNG "тамлунг"
IDS_WEIGHT_TONNES "тонна"
IDS_WEIGHT_TONS_UK "тонна (британская)"
IDS_WEIGHT_TONS_US "тонна (США)"
END

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -19,7 +19,7 @@ void prepare_rpn_result_2(calc_number_t *rpn, TCHAR *buffer, int size, int base)
#define MAX_LD_WIDTH 16
/* calculate the width of integer number */
width = (rpn->f==0) ? 1 : (int)log10(fabs(rpn->f))+1;
if (calc.sci_out == TRUE || width > MAX_LD_WIDTH || width < -MAX_LD_WIDTH)
if ((calc.sci_out != FALSE) || (width > MAX_LD_WIDTH) || (width < -MAX_LD_WIDTH))
_stprintf(buffer, TEXT("%#e"), rpn->f);
else {
TCHAR *ptr, *dst;

View File

@@ -39,7 +39,7 @@ void prepare_rpn_result_2(calc_number_t *rpn, TCHAR *buffer, int size, int base)
width = 1 + mpfr_get_si(t, MPFR_DEFAULT_RND);
mpfr_clear(t);
}
if (calc.sci_out == TRUE || width > max_ld_width || width < -max_ld_width)
if ((calc.sci_out != FALSE) || (width > max_ld_width) || (width < -max_ld_width))
ptr = temp + gmp_sprintf(temp, "%*.*#Fe", 1, max_ld_width, ff);
else {
ptr = temp + gmp_sprintf(temp, "%#*.*Ff", width, ((max_ld_width-width-1)>=0) ? max_ld_width-width-1 : 0, ff);

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More