Compare commits

...

673 Commits

Author SHA1 Message Date
Timo Kreuzer
f5e225dd3b Sync with trunk r66766
svn path=/branches/dib_rewrite/; revision=66768
2015-03-17 23:10:13 +00:00
Giannis Adamopoulos
6453a718f6 [EXPLORER]
- Hackfix Win+E hotkey. This works in Windows but our ShellExecuteEx isn't that good.

svn path=/trunk/; revision=66765
2015-03-17 21:29:17 +00:00
Timo Kreuzer
1d21ec19a9 [I8042PRT]
- Revert hack from r63126 to make some notebook controllers work, and which also broke the mouse wheel on other systems, and replace it with an #ifdef.
See CORE-6901, CORE-4048, CORE-8572 

svn path=/trunk/; revision=66762
2015-03-17 19:58:14 +00:00
Kamil Hornicek
a8b91177ab [MSGINA]
- add the TABSTOP style to the shutdown and change password dialog combo boxes

svn path=/trunk/; revision=66760
2015-03-17 18:55:44 +00:00
Christoph von Wittich
20a16ad64e [SHELL23]
fix IDD_NOOPEN dialog size (german locale only)

svn path=/trunk/; revision=66757
2015-03-17 17:14:44 +00:00
Kamil Hornicek
43c38210ce [SHELL32]
- properly calculate the size of the open with icon control
CORE-3904

svn path=/trunk/; revision=66756
2015-03-17 15:33:38 +00:00
Christoph von Wittich
0b7e5d37e3 [SHELL32]
use 16x16 icons instead of scaled down 32x32 icons in openwithmenu
CORE-9379

svn path=/trunk/; revision=66755
2015-03-17 15:14:13 +00:00
Christoph von Wittich
b9df25fdc3 [SHELL32]
don't use 16 color icons in OpenWithDialog
CORE-9379

svn path=/trunk/; revision=66754
2015-03-17 09:59:53 +00:00
Hermès Bélusca-Maïto
f04c5e01f1 [NTOS]: Addendum to r66735: move the code that prints our revision number in the SOS banner to a different place, in order to remain NT-compatible (that is, the CSDVersion string should only contain "Service Pack ###" or "Service Pack ###, v.###" according to the value of the CSDReleaseType registry value).
svn path=/trunk/; revision=66753
2015-03-17 03:04:20 +00:00
Hermès Bélusca-Maïto
bc181f2e5b [RSHELL]: Sync back with r66271.
svn path=/trunk/; revision=66752
2015-03-17 01:53:16 +00:00
Hermès Bélusca-Maïto
451fc5b69a [WIN32K]: Since I don't have time to properly fix the desktop version painting for the CLT 2015 release, I hackfix that by printing a hardcoded version string built up from our static build numbers.
svn path=/trunk/; revision=66750
2015-03-17 01:17:26 +00:00
Hermès Bélusca-Maïto
8e0f23552f [SHELL32]: We need to also use the fonts string for the szValueName of the reg value (otherwise the default reg value gets the fonts dir path). Addendum to r66748. CORE-9362
svn path=/trunk/; revision=66749
2015-03-16 23:48:31 +00:00
Hermès Bélusca-Maïto
640a5fac01 [SHELL32]: Fonts folder should point to C:\ReactOS\Fonts instead of C:\ReactOS :-) (and it is not internationalized).
svn path=/trunk/; revision=66748
2015-03-16 22:48:58 +00:00
Hermès Bélusca-Maïto
07d66bcb42 Fix some printf specifiers...
svn path=/trunk/; revision=66747
2015-03-16 22:10:59 +00:00
Hermès Bélusca-Maïto
1cd9362c3a [MPLAY32]:
- Improve the app's title by printing the filename and the current state of the player. By Ricardo Hanke.
- Fix pause state retrieval.

svn path=/trunk/; revision=66746
2015-03-16 21:16:07 +00:00
David Quintana
be7e5a84eb [NTOBJSHEX]
* Fix leak of the PIDL and PIDL Manager from the shell folder destructors.
* Switch PIDL Manager to a lazy enumeration so it won't lookup the folder contents unless/until they are needed.

svn path=/trunk/; revision=66745
2015-03-16 20:47:05 +00:00
Hermès Bélusca-Maïto
287b968fc1 [MPLAY32]: Some improvements to TogglePlaybackState(). By Ricardo Hanke.
CORE-9378 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=66744
2015-03-16 20:37:53 +00:00
Eric Kohl
83b0fdb098 [NETAPI32]
Implement NetUseAdd, NetUseDel, NetUseEnum and NetUseGetInfo.

svn path=/trunk/; revision=66743
2015-03-16 20:03:54 +00:00
Kamil Hornicek
d754c64cfd [KERNEL32]
- don't garble the output with invalid data in WideCharToUtf7
- fixes whopping 65536 failed tests and as a result Testman shouldn't choke on kernel32:codepage anymore

svn path=/trunk/; revision=66742
2015-03-16 19:00:57 +00:00
David Quintana
c05c34ec78 [SHELL32]
* Disable the hardcoded part of the File menu. It provided no useful function and couldn't be localized. It can be reintroduced later when it is done properly.

svn path=/trunk/; revision=66741
2015-03-16 18:58:37 +00:00
Aleksey Bragin
1de8ba622f [WIN32K]
- Delete macros referring to non-existing GDIOBJ_FreeObj and GDIOBJ_FreeObjByHandle.

svn path=/trunk/; revision=66738
2015-03-16 17:05:56 +00:00
Giannis Adamopoulos
cad16a9700 [RSHELL]
- Implement sorting shell menu items
- Patch by David Quintana

svn path=/trunk/; revision=66737
2015-03-16 16:30:24 +00:00
Kamil Hornicek
fde547dc16 [RAPPS]
- adjust the settings dialog layout (by Stefan Fulea) CORE-9377
- disable the proxy settings input boxes if default/no proxy is selected
- update the czech translation

svn path=/trunk/; revision=66736
2015-03-16 15:34:00 +00:00
Hermès Bélusca-Maïto
c32ac4bd68 [BOOTDATA]
- Remove hardcoded registry values: CurrentVersion, CSDVersion and CurrentBuildNumber from HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion. They are computed and stored there by the kernel.
- All the versioning is controlled by the two values: CSDReleaseType and CSDVersion in HKLM\SYSTEM\CurrentControlSet\Control\Windows. Currently we target SP1.

[NTDLL]
The lpVersionInformation->szCSDVersion string should not be built by RtlGetVersion, but instead retrieved from the Peb->CSDVersion string that in turn is initialized by the NTDLL PE Loader. Normally this is a App-Compatibility-dependent string, but for now we somewhat hardcode it (it is built using the actual Peb->OSCSDVersion number).

[RTL]: Rename some variables "à la NT" and use adequate types (but no code changes otherwise).

[NTOS]
- Fix PsGetVersion that should use the CmCSDVersionString variable. This API also returns TRUE if we are in checked build mode (the high byte of NtBuildNumber is flagged).
- The kernel should initialize the CurrentVersion, CSDVersion and CurrentBuildNumber registry values (and few other ones) from the two main CSDReleaseType and CSDVersion values.
- Fix the ReactOS-specific version+revision display in SOS mode.

CORE-6611 CORE-7889 CORE-8877

svn path=/trunk/; revision=66735
2015-03-16 03:14:16 +00:00
Cameron Gutman
7dbea55bd3 [IP]
- Don't select disconnected interfaces as default
- Only count prefix matches of non-zero length
- Fixes connectivity with multiple NICs when one or more is disconnected

svn path=/trunk/; revision=66734
2015-03-16 00:52:02 +00:00
Hermès Bélusca-Maïto
4d9ed8332c [NTOS]: "system32" --> "System32"
svn path=/trunk/; revision=66733
2015-03-16 00:25:32 +00:00
David Quintana
1185ffa6b7 [NTOBJSHEX]
* Implement support for column sorting in CompareIDs, for Name, Type, and Creation Date columns. The link target, and registry key contents are not sortable yet.

svn path=/trunk/; revision=66732
2015-03-15 18:17:27 +00:00
David Quintana
975b75f825 [NTOBJSHEX]
* Fix CompareID sorting to prefer "folders" first, and sort by name otherwise.

svn path=/trunk/; revision=66729
2015-03-15 17:33:55 +00:00
Giannis Adamopoulos
ecc5539849 [HEADERS]
- Remove winlogon.h and move its contents in undocuser.h

svn path=/trunk/; revision=66728
2015-03-15 16:50:55 +00:00
Hermès Bélusca-Maïto
5286be0747 Adjust CMakeLists entry in consequence of r66725.
svn path=/trunk/; revision=66726
2015-03-15 16:07:33 +00:00
Hermès Bélusca-Maïto
8a3d7e3c7f Rename 'wallpaper' repo to 'wallpapers' (since it doesn't contain only 1 wallpaper :p )
svn path=/trunk/; revision=66725
2015-03-15 16:06:50 +00:00
Hermès Bélusca-Maïto
471f5b643b [REACTOS][WALLPAPERS]
- Add a whole bunch of new wallpapers (easier to grab them from the repo instead of going through Forum + Jira to search for them). Now that we support JPG/PNG/... wallpapers (in addition to bitmap ones) since r66394, we can have many jpg wallpapers for the price (read: same size) of 1 bitmap one.
- Move a file to a better appropriate place.

svn path=/trunk/; revision=66724
2015-03-15 16:04:48 +00:00
Giannis Adamopoulos
c179b87a32 [UXTHEME]
- Call DrawCaption in user32 when we get WM_NCUAHDRAWCAPTION and there is no active theme.
- Should finally fix CORE-9016.

svn path=/trunk/; revision=66723
2015-03-15 13:39:15 +00:00
Giannis Adamopoulos
387fa04f75 [USER32]
- Implement RealUserDrawCaption and pass it to uxtheme in order to paint the classic caption when needed. 
CORE-9016

svn path=/trunk/; revision=66722
2015-03-15 13:37:13 +00:00
Timo Kreuzer
67fb6732b2 [PSDK]
Add winternl.h, which is compatible with the native one. Do not use this header. USE NDK! (Thanks Hermes!) It's only there for SDK compatibility and to make sure nobody will think it's missing and add it to make use of it.
And to make sure, nobody will use this header, it will #error if you include it from a reactos module.

svn path=/trunk/; revision=66721
2015-03-15 00:10:26 +00:00
Timo Kreuzer
2f63c537d6 [DDK/PSDK/NDK/XDK]
- Improve annotations for some functions
- Sync winnt.h with XDK

svn path=/trunk/; revision=66720
2015-03-15 00:05:50 +00:00
David Quintana
477fb78355 [NTOBJSHEX]
* Implement loading the hardcoded list of root keys.
* Add support for root keys to the registry PIDL structure.
* Add support for root-key PIDLs in the registry folder.
* Implement loading root keys when no path is specified.
* Expose the registry folder as a namespace extension to My Computer.
* Make the namespace extension folder names load from resources.
* Add icons for registry keys and values.
CORE-9244 #resolve #comment Basic registry browsing should now be functional. Any other issues (including editing capability), would go in followup issues.

svn path=/trunk/; revision=66719
2015-03-15 00:00:13 +00:00
Timo Kreuzer
42d0a9c883 [QUARTZ_WINETEST]
Add missing dxsdk dependency

svn path=/trunk/; revision=66718
2015-03-14 23:58:45 +00:00
Timo Kreuzer
26b0009be6 [GDI32]
Make sure winternl.h is included from the wine folder

svn path=/trunk/; revision=66717
2015-03-14 23:35:27 +00:00
Timo Kreuzer
87d23adf45 [DLLS]
Make sure include/reactos/wine is included BEFORE PSDK headers. (I didn't tackle all DLLs, only those that (will) need it)

svn path=/trunk/; revision=66716
2015-03-14 23:34:31 +00:00
Timo Kreuzer
37e0c5bcb5 [WINETESTS]
Make sure include/reactos/wine is included BEFORE PSDK headers.

svn path=/trunk/; revision=66715
2015-03-14 23:33:29 +00:00
Timo Kreuzer
019895b42e [ROSAPPS]
Fix GCC warnings

svn path=/trunk/; revision=66714
2015-03-14 23:32:00 +00:00
Timo Kreuzer
f6ca509b09 [PSDK]
winnt.h: Improve Rtl*Memory defines, add missing RtlEqualMemory

svn path=/trunk/; revision=66713
2015-03-14 22:11:20 +00:00
Hermès Bélusca-Maïto
98f1285e6b [NOTEPAD]
- Remove unneeded ChangeLog file (we have SVN)
- Partial wine resync of notepad (part 1/x): it's just to bring back some of their fixes and improvements. CORE-9371

svn path=/trunk/; revision=66712
2015-03-14 20:00:39 +00:00
Timo Kreuzer
95776e2e8e [PSDK]
Add missing _Enum_is_bitflag_ and _Strict_type_match_ annotations. remove a wrong annotation

svn path=/trunk/; revision=66711
2015-03-14 18:12:50 +00:00
Johannes Anderwald
5b7132ef6a - fix build
svn path=/trunk/; revision=66710
2015-03-14 17:53:52 +00:00
Johannes Anderwald
c7133edff8 [WDMAUD]
- convert wdmaud to a software pnp device
- register device interface
[WDMAUD.DRV]
- open wdmaud via device interface

svn path=/trunk/; revision=66709
2015-03-14 17:50:30 +00:00
Hermès Bélusca-Maïto
249fea034e [NTOS]: Do not assert if we haven't shut down ReactOS yet, in 99.99% cases it's because you asked it to go into a non-yet implemented power state.
CORE-8537 #resolve #comment Replaced the ASSERT by an informative message when the power action is not implemented. r66708.

svn path=/trunk/; revision=66708
2015-03-14 16:40:26 +00:00
Amine Khaldi
400db38479 [CMAKE/GCC] Prevent GCC from searching any of the default directories, except when we're dealing with set_cpp. Now GCC build is on par with the MSVC build in terms of header inclusions.
svn path=/trunk/; revision=66707
2015-03-14 15:47:04 +00:00
Amine Khaldi
4583a9f8ee [WS2_32_WINETEST] Fix MSVC build.
svn path=/trunk/; revision=66706
2015-03-14 15:45:07 +00:00
Hermès Bélusca-Maïto
9756db83c9 [FMIFS]: Reorganize a bit the inclusions, and always compile the DLL in UNICODE.
svn path=/trunk/; revision=66705
2015-03-14 15:37:00 +00:00
Timo Kreuzer
f2c994e17e [PSDK]
Avoid redefinition of FILE_DEVICE_SMARTCARD in winsmcrd.h, when combined with wine/winioctl.h. A similar #ifdef exists in the MS header.

svn path=/trunk/; revision=66704
2015-03-14 15:34:48 +00:00
Amine Khaldi
b6882286d4 [WINETESTS] Addendum to r66701. Fixes MSVC build.
svn path=/trunk/; revision=66703
2015-03-14 15:22:32 +00:00
Hermès Bélusca-Maïto
0b1cd10648 [TASKMGR]: Use correct headers aka. NDK instead of wine/winternl.h . Also remove an unneeded header. Spotted by Sylvain.
svn path=/trunk/; revision=66702
2015-03-14 15:19:07 +00:00
Amine Khaldi
62ceafc675 [KERNEL32_WINETEST] Really fix winternl.h inclusions. Our GCC build missed these.
svn path=/trunk/; revision=66701
2015-03-14 15:14:41 +00:00
Amine Khaldi
470a162a83 [CMAKE] Disable PCH when the host system is Apple OS X.
svn path=/trunk/; revision=66700
2015-03-14 14:55:41 +00:00
Timo Kreuzer
5d175f22e0 [ROSAPPS]
Fix 2 warnings

svn path=/trunk/; revision=66699
2015-03-14 14:45:51 +00:00
Christoph von Wittich
7ca2e76aa8 [PSAPI_WINETEST]
fix build

svn path=/trunk/; revision=66698
2015-03-14 14:04:46 +00:00
Christoph von Wittich
fff0346a1f [WINETESTS]
fix kernel32 and ntdll winetest build

svn path=/trunk/; revision=66697
2015-03-14 14:02:06 +00:00
Timo Kreuzer
e209e6b5ac [WS2_32_APITEST]
Addendum to r66695: use winternl.h from wine folder

svn path=/trunk/; revision=66696
2015-03-14 13:41:50 +00:00
Timo Kreuzer
00aac1ad3b [PSDK]
Move winternl.h to include/reactos/wine.

svn path=/trunk/; revision=66695
2015-03-14 13:40:36 +00:00
Timo Kreuzer
ceb8bad33a [FONTVIEW]
In WinMain, higher the scope of szFileName to ensure that it and all variables that point to it are valid
throughout the program.
Should fix CID 731447.
Patch by Ricardo Hanke
CORE-9360 #resolve

svn path=/trunk/; revision=66694
2015-03-14 12:45:21 +00:00
Daniel Reimer
7df0a113d2 [RAPPS]
Update russian description for Tuxpaint in rapps by Petr Akhlamov
CORE-9153 #resolve #comment Added. Thx.

svn path=/trunk/; revision=66693
2015-03-14 12:39:55 +00:00
Timo Kreuzer
84aa5336fb [PSDK]
Sync winternl.h with wine

svn path=/trunk/; revision=66692
2015-03-14 12:32:08 +00:00
Daniel Reimer
48c063ad71 [RAPPS]
Add File search 6.8.1 to Database. Updates and German translation by me.
CORE-9338 #resolve #comment Added, thx for reporting.

svn path=/trunk/; revision=66691
2015-03-14 12:28:12 +00:00
Daniel Reimer
401b8cd1d1 [RAPPS]
lack of a proxy configuration by Peter Hater. German translation updated by me.
CORE-4852 #resolve #comment Committed, thx for help.

svn path=/trunk/; revision=66690
2015-03-14 12:20:45 +00:00
Amine Khaldi
f759acbfe3 [SHELL32] Show/Hide hidden files/folders through registry. By Lee Schroeder. CORE-9207
svn path=/trunk/; revision=66689
2015-03-14 12:18:33 +00:00
Amine Khaldi
ff09513565 [DESK] Implement and export InstallScreenSaver{A,W}. By Peter Hater. CORE-6812
svn path=/trunk/; revision=66688
2015-03-14 12:10:33 +00:00
Amine Khaldi
6b8bf7348d [MPLAY32] Remove szPrevFile and related code without removing the part that invokes the file open dialog if playback is started when no media file is opened. By Ricardo Hanke. CORE-8477
svn path=/trunk/; revision=66687
2015-03-14 12:05:49 +00:00
Amine Khaldi
5828eec88b [INETCPL] Add a certificate picture to the Content Tab. Brought to you by Jared. CORE-9263
svn path=/trunk/; revision=66686
2015-03-14 12:00:24 +00:00
Timo Kreuzer
e4ce29c7c6 [WIN32K]
Initialize list entry after removing a message from DispatchingMessagesHead. Fixes list corruption.
CORE-9357 #resolve

svn path=/trunk/; revision=66685
2015-03-14 11:22:31 +00:00
Johannes Anderwald
11164521c3 [MMSYS]
- hardware ids must be terminated by 2 zero bytes
[KS]
- more fixes to software bus pnp enumerator
[MMIXER]
- dont assert on buggy topology lines
[NTOS]
- keys must be REG_OPTION_VOLATILE
- allocate file object with correct tag
[INF]
- register wdmaudio as pnp software device (not yet ready)

svn path=/trunk/; revision=66684
2015-03-14 11:12:32 +00:00
Amine Khaldi
7236b07eec [KERNEL32] Silence a DPRINT.
svn path=/trunk/; revision=66683
2015-03-14 10:59:40 +00:00
Amine Khaldi
d534d99907 [DDK] Bring nt_vdd.h up to DDK formatting standards and use annotations. NFC.
svn path=/trunk/; revision=66682
2015-03-14 10:50:52 +00:00
Amine Khaldi
959962a683 [DESK] Set the default value for the placement combobox and load the monitor bitmap before the registry is accessed. Lower the requested access rights for RegOpenKeyEx to HKEY_QUERY_VALUE. In case RegOpenKeyEx fails, simply return to the calling function. Remove result and varType variables. By Ricardo Hanke. CORE-9365
svn path=/trunk/; revision=66681
2015-03-14 10:28:22 +00:00
Amine Khaldi
4ec3e6e63e [SYSDM] Add new icons to the Hardware tab of sysdm. Brought to you by Jared. CORE-9317
svn path=/trunk/; revision=66680
2015-03-14 10:15:13 +00:00
Amine Khaldi
0524088717 [DESK] Fix a freeze caused by changing screensaver settings. By Peter Hater. CORE-5718
svn path=/trunk/; revision=66679
2015-03-14 10:10:06 +00:00
Amine Khaldi
a7516a6c98 [PSDK] Add missing ulFileCount field in the ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION structure. Fixes a kernel32:actctx test failure.
svn path=/trunk/; revision=66678
2015-03-14 10:06:04 +00:00
Amine Khaldi
99300d7111 [NTDLL_WINETEST] Fix test failures on systems with broken RtlDecompressBuffer(). By Sebastian Lackner.
svn path=/trunk/; revision=66677
2015-03-14 10:03:10 +00:00
David Quintana
a5f9430988 [NTOBJSHEX]
* Fix content type column to represent the correct type, or "Key". This column would contain the custom class name if it was ever assigned (I have not seen such a case).
* Implement reading registry values when enumerating details.
Now the registry browsing is semi-useful, albeit read-only.

svn path=/trunk/; revision=66676
2015-03-14 04:04:27 +00:00
Hermès Bélusca-Maïto
9606bcd3f2 [NTVDM]: Move EMS support as a BIOS module (and initialize it after the BIOS has finished its initialization, including resetting the INT handlers).
svn path=/trunk/; revision=66675
2015-03-14 03:37:54 +00:00
David Quintana
6928fadeff [NTOBJSHEX]
* Replace the custom context menu classes with the default implementation from shell32. As a side-effect, navigation now works in ReactOS.
* Make use of the default implementations of IDataObject and IQueryAssociations from shell32 (required by the IContextMenu implementation of Win2003).
* Fix initialization of the NT Object Folder's pidl.
* Make CompareIDs recursive.
* Fix the recursivity in GetDisplayNameOf, when called with FORPARSING.
NOTE: There is still some issue with GetDisplayNameOf, where the address shown in the addressbar seems to skip path components.

svn path=/trunk/; revision=66674
2015-03-14 03:15:36 +00:00
Aleksandar Andrejevic
d2d2431614 [NTVDM]
Implement the EMS memory handlers.
Make memory hooks expandable.


svn path=/trunk/; revision=66673
2015-03-14 01:54:35 +00:00
Hermès Bélusca-Maïto
a0ee24eb0b You haven't seen those changes. Never.
svn path=/trunk/; revision=66672
2015-03-14 01:50:05 +00:00
Hermès Bélusca-Maïto
c80f97eea6 [NTVDM]
- cpu.c: Convert the faulting address to "real" (VM) address before calling the exception handler.
- ems.c: Simplify code by using ARRAY_INDEX; some poiters should point to physical memory.
- ems.c: Memory hook addresses should be "real".
- memory.c: Remove an extra MemFastMoveMemory call; really use IsListEmpty (was commented by error in my previous commit).

svn path=/trunk/; revision=66671
2015-03-14 01:45:50 +00:00
Hermès Bélusca-Maïto
c73bb5a49f [NTVDM]
- Export VDDInstallMemoryHook and VDDDeInstallMemoryHook.
- Stubplement and export VDDAllocMem, VDDFreeMem, VDDIncludeMem and VDDExcludeMem (undocumented).

svn path=/trunk/; revision=66670
2015-03-13 23:26:33 +00:00
Hermès Bélusca-Maïto
682debaaf6 [NTVDM]
- Move the VDD memory handler API prototypes to the corresponding DDK header.
- Fix few function arguments types and add few more comments :)
- Move all NTVDM-memory related functions to memory.c
- Prefer checking for !IsListEmpty(&list) instead of doing list.Flink != &list (ehh! NTVDM is not win32k!!)

svn path=/trunk/; revision=66669
2015-03-13 22:38:44 +00:00
Christoph von Wittich
6ea4a782ee [WLANSVC]
fix a typo
spotted by Eric

svn path=/trunk/; revision=66668
2015-03-13 19:09:32 +00:00
Aleksandar Andrejevic
f0154e5af4 [NTVDM]
Fix copypasta in the file headers.


svn path=/trunk/; revision=66667
2015-03-13 18:28:45 +00:00
Aleksandar Andrejevic
888e1c450b [NTVDM][FAST486]
- Implement VDDInstallMemoryHook and VDDDeInstallMemoryHook using page guards.
- Implement another API for memory hooks that should be faster than page guards
(for NTVDM only).
- Adjust the VGA and EMS memory handlers to use this method.
- In Fast486, implement a method that will allow us to "rewind" the current instruction,
in case it was interrupted by a memory hook page fault.
- Use a memory hook to protect the BIOS ROM from being written to.


svn path=/trunk/; revision=66666
2015-03-13 17:57:51 +00:00
Timo Kreuzer
027720cd57 [INCLUDE/WINE]
Delete mmreg.h from wine folder, we have an almost identical and more complete version in psdk

svn path=/trunk/; revision=66665
2015-03-11 18:02:11 +00:00
Thomas Faber
07aa0d698c [DDK][NDK][XDK]
- Update some definitions to match WDK8.1. Fixes a few compatibility issues between NDK and WDK.
CORE-9356 #resolve

svn path=/trunk/; revision=66663
2015-03-11 09:21:10 +00:00
Hermès Bélusca-Maïto
444d33d50b [WIN32K]
- Implement NtUserResolveDesktop, which opens a desktop and a window station based on a desktop path string (format: "WinSta\Desktop").
- Move NtUserConsoleControl to a more suitable file, and implement the control code that allows CSRSS to assign console input threads to given desktops.
- Simplify a bit the code in NtUserSetInformationThread.

[CONSRV]
Turn the console input thread to a real one. There should be one such thread per desktop. When a console process is started, we open the desktop on which the process is going to start, we create a new input thread (attach it to the desktop) if needed, or reuse the existing one, and then we open the terminal on the correct desktop.

CORE-9346 #resolve #comment Fixed in revision 66662.

svn path=/trunk/; revision=66662
2015-03-11 01:21:29 +00:00
Timo Kreuzer
3ea483bc85 [WIN32K]
Don't set Message->DispatchingListEntry.Flink to NULL / compare against NULL, but use InitializeListHead and IsListEmpty. Make sure the list entry is properly initialize, when the item is removed Fixes list corruption.

svn path=/trunk/; revision=66661
2015-03-10 10:27:00 +00:00
Amine Khaldi
e5c8124164 [ADVAPI32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66660
2015-03-10 10:10:54 +00:00
Amine Khaldi
8d12ad730d [MSVCRT_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66659
2015-03-10 10:10:35 +00:00
Amine Khaldi
26326ca7d5 [NTDLL_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66658
2015-03-10 10:10:04 +00:00
Amine Khaldi
6bd29991d4 [PSDK] Add missing KEY_NAME_INFORMATION structure. CORE-9246
svn path=/trunk/; revision=66657
2015-03-10 10:09:14 +00:00
Timo Kreuzer
5f980c38ce [WIN32K]
Fix a typo introduced in r66644. Fixes icon corruption / testbot regression.
CORE-9351 #resolve

svn path=/trunk/; revision=66656
2015-03-10 10:01:44 +00:00
Timo Kreuzer
649462e5ff [NDK]
Update no_sal2.h

svn path=/trunk/; revision=66655
2015-03-10 09:10:14 +00:00
Timo Kreuzer
bb60692b92 [SAL]
- kernelspecs.h: Add IRQL level defines, remove a duplicate annotation and make some definitions more consistent
- concurrencysal.h: Add missing annotations (only dummies so far)
- driverspecs.h: Add some missing annotations
- sal_old.h: remove __inner_callback, which is in sal.h

svn path=/trunk/; revision=66654
2015-03-10 09:10:00 +00:00
Timo Kreuzer
ba96aa436b [INCLUDE/CRT]
Fix annotations for _dupenv_s and _wdupenv_s (They are broken in MS headers, looks like nobody uses attributes for SAL...)

svn path=/trunk/; revision=66653
2015-03-10 09:09:48 +00:00
Timo Kreuzer
54b2c750ce [SAL]
Implement _Deref_post_bytecount_, _Outptr_result_maybenull_z_, _Pre_unknown_ and _Maybe_raises_SEH_exception_ annotations

svn path=/trunk/; revision=66652
2015-03-10 09:09:31 +00:00
Timo Kreuzer
05322e37a2 [XDK]
Fix typos, spotted by Thomas.

svn path=/trunk/; revision=66651
2015-03-10 09:05:08 +00:00
Timo Kreuzer
475a0d5255 [WIN32K]
Annotate eng/mapping.c

svn path=/trunk/; revision=66650
2015-03-10 00:13:43 +00:00
Timo Kreuzer
eebc6ac87d [WIN32K]
Annotate mouse.c, move some prototypes to the proper location.
Fix bugs in EngSetPointerShape and IntEngSetPointerShape, where the passed in XLATEOBJ could be NULL. Found by MSVC static analyzer.

svn path=/trunk/; revision=66649
2015-03-10 00:13:29 +00:00
Timo Kreuzer
af94181e04 [WIN32K]
Annotate rect.c

svn path=/trunk/; revision=66648
2015-03-10 00:13:17 +00:00
Timo Kreuzer
b673073aa1 [WIN32K]
- Annotate eng/device.c and semaphor.c.
- Get rid of IntGdiAcquire/ReleaseSemaphore
- Move some prototypes where they belong

svn path=/trunk/; revision=66647
2015-03-10 00:13:04 +00:00
Timo Kreuzer
d33bc192ba [WIN32K]
Fix all MSVC static analyzer warnings. (a few are suppressed after checking that it's ok)
Fixes a number of missing or wrong function return checks, wrong printf format specifiers and a few other things,

svn path=/trunk/; revision=66646
2015-03-10 00:12:41 +00:00
Timo Kreuzer
42587dd1d3 [WIN32K]
Apply proper formatting to polyfill.c

svn path=/trunk/; revision=66645
2015-03-10 00:11:43 +00:00
Timo Kreuzer
fe4dc5d9d5 [WIN32K]
Annotate a number of GDI functions to match public header declarations.

svn path=/trunk/; revision=66644
2015-03-10 00:11:29 +00:00
Timo Kreuzer
6a2c72929e [PSDK]
Move __analysis_assume to sal.h (like in newer Windows SDKs) and define it (together with _Analysis_assume_) to "((void)0)" instead of to nothing, to allow it to be used with a comma.

svn path=/trunk/; revision=66643
2015-03-10 00:10:57 +00:00
Timo Kreuzer
83779b37e6 [PSDK/DDK/XDK]
- Make NT_ASSERT() give the MSVC static analyzer a hint that the condition can now be excpected to be true. This adds __analysis_unreachable(), which uses __assume(0) on _PREFAST_ builds. This is neccessary, since it seems impossible to make MSVC respect __analysis_noreturn / __declspec(noreturn) on an intrinsic prototype like __int2c().

svn path=/trunk/; revision=66642
2015-03-10 00:10:46 +00:00
Timo Kreuzer
a3df492617 [PSDK]
Update ntgdi.h:
- Change some return types from VOID to NTSTATUS. This was done recently on Windows, but there shouldn't be a compatibility issue with returning an NTSTATUS value instead of the random contents of the eax register.
- Change 2 parameters from VOID* to DRIVER_INFO_2W* and 2 parameters from VOID* to POINTL*
- Add annotations

svn path=/trunk/; revision=66641
2015-03-10 00:10:33 +00:00
Timo Kreuzer
6ff50b28b0 [PSDK]
struct _DRVENABLEDATA -> struct tagDRVENABLEDATA

svn path=/trunk/; revision=66640
2015-03-10 00:10:09 +00:00
Timo Kreuzer
4aa79e133e [CMAKE]
Make warning C4716 (function must return a value) an error on MSVC

svn path=/trunk/; revision=66639
2015-03-10 00:09:58 +00:00
Timo Kreuzer
e04361b3a8 [WIN32K]
Fix bug in EngMapEvent

svn path=/trunk/; revision=66638
2015-03-10 00:09:41 +00:00
Timo Kreuzer
1e9299af24 [PSDK]
Fix NULL-termination bugs in ntstrunsafe.h

svn path=/trunk/; revision=66637
2015-03-10 00:09:30 +00:00
Timo Kreuzer
4beaf120e7 [DDK/XDK]
- Fix some prototypes in wdm.h (PMDLX -> PMDL)
- Fix annotations for ExFreePool(WithTag)

svn path=/trunk/; revision=66636
2015-03-10 00:09:20 +00:00
Timo Kreuzer
7aa570c1fd [WIN32K]
Fix some annotations

svn path=/trunk/; revision=66635
2015-03-10 00:08:54 +00:00
Amine Khaldi
6e781e624c [VMWINST] Use StringCb{Copy,Cat} instead of wcs{cpy,cat} to ensure that no buffer overflows occur. CID 514272s and 515210. By Ricardo Hanke. CORE-9347
svn path=/trunk/; revision=66634
2015-03-09 20:50:42 +00:00
Amine Khaldi
8ffd0f2576 [MSI_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66633
2015-03-09 20:28:54 +00:00
Amine Khaldi
102b741c7e [MSI] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66632
2015-03-09 20:28:19 +00:00
Amine Khaldi
3bce081d61 [PSDK] Add missing MsiProvidedComponent{A,W} declarations. CORE-9246
svn path=/trunk/; revision=66631
2015-03-09 20:26:03 +00:00
Amine Khaldi
c6589cc426 [MSIEXEC] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66630
2015-03-09 20:02:20 +00:00
Amine Khaldi
ca2dfb03a3 [OLE32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66629
2015-03-09 19:58:31 +00:00
Amine Khaldi
ec27d5b880 [OLE32] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66628
2015-03-09 19:57:38 +00:00
Amine Khaldi
a5ef97a5f5 [ADVPACK_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66627
2015-03-09 19:20:13 +00:00
Amine Khaldi
c46d40ad2f [ADVPACK] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66626
2015-03-09 19:19:38 +00:00
Amine Khaldi
e0770c3e3a * Silence a debug print. Spotted by Aleksey.
svn path=/trunk/; revision=66625
2015-03-09 19:08:16 +00:00
Christoph von Wittich
9ee7073a81 [GDI32]
fix gdi32 clipping winetest

svn path=/trunk/; revision=66624
2015-03-09 19:05:58 +00:00
Amine Khaldi
9a8d806a2e [RTL] Partly sync actctx.c with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66623
2015-03-09 18:08:15 +00:00
Amine Khaldi
66123cf941 [KERNEL32] Sync GetStringTypeW() with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66622
2015-03-09 17:53:20 +00:00
Amine Khaldi
220e1cfae1 [TASKMGR] Do not show negative CPU usage. By Peter Hater. CORE-9050
svn path=/trunk/; revision=66621
2015-03-09 17:38:31 +00:00
Amine Khaldi
780865a796 [KERNEL32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66620
2015-03-09 17:15:16 +00:00
Timo Kreuzer
4e51a10654 [WIN32K]
Fix another typo in the same line... Spotted by Jerome.

svn path=/trunk/; revision=66619
2015-03-09 01:11:06 +00:00
Timo Kreuzer
ada7f6e85d [WIN32K]
Replace ROUND_UP with ALIGN_UP_BY

svn path=/trunk/; revision=66618
2015-03-08 23:37:06 +00:00
Timo Kreuzer
16c191f8a8 [WIN32K]
Improve the situation with ROP handling, trying to make things clearer.

svn path=/trunk/; revision=66617
2015-03-08 23:36:49 +00:00
Timo Kreuzer
ebd0c06809 [WIN32K]
- Pass size in bytes to UnsafeSetBitmapBits from NtGdiCreateBitmap
- In NtGdiSetBitmapBits check for stock bitmap and non-API bitmap.

svn path=/trunk/; revision=66616
2015-03-08 23:36:36 +00:00
Timo Kreuzer
d52f661e5f [WIN32K]
- Remove wrong flags when initializing a DC
- Set DC::prgnattr before potentially passing it to the cleanup function after failure to create a handle. Add a comment that this is not actually enough. Will be fixed, once we use C++
- Increase GDI object stack levels to 20

svn path=/trunk/; revision=66615
2015-03-08 23:36:25 +00:00
Timo Kreuzer
6dcd051d62 [WIN32K]
Make sure a region is reasonably initialized, before potentially passing it to the cleanup function, when failing to create a handle.

svn path=/trunk/; revision=66614
2015-03-08 23:36:14 +00:00
Timo Kreuzer
d09753a207 [WIN32K]
Fix a typo

svn path=/trunk/; revision=66613
2015-03-08 23:36:04 +00:00
Timo Kreuzer
cdc2efb241 [WIN32K]
NtGdiSetDIBitsToDeviceInternal: Check for ScanLines == 0 and clean up exit pathes. Fixes assertion failure in gdi32_winetest:bitmap

svn path=/trunk/; revision=66612
2015-03-08 22:44:36 +00:00
Timo Kreuzer
ff14566384 [WIN32K]
- Pass bitmap buffer size to SURFACE_AllocSurface and validate it
- Fix arithmetic overflow checks by using RtlULongMult
- GreExtTextOutW: do not allocate / blit zero sized bitmaps
- NtGdiStretchDIBitsInternal: do not pass negative y size to GreCreateBitmapEx
- DIB_CreateDIBSection: use calculated bitmap size, instead of biSizeImage when calculating the section view size and as size parameter to GreCreateBitmapEx
CORE-9245 #resolve

svn path=/trunk/; revision=66611
2015-03-08 17:25:44 +00:00
Hermès Bélusca-Maïto
15f19bca32 [CONSRV]: Hackfix the icons retrieval in the same way as what was done in r65683, because we have a bug in PrivateExtractIconExW.
svn path=/trunk/; revision=66610
2015-03-08 14:28:19 +00:00
Hermès Bélusca-Maïto
c8eb15561c [CONSRV]: Fix the console TUI frontend compilation.
svn path=/trunk/; revision=66609
2015-03-08 13:52:06 +00:00
Timo Kreuzer
e7aacb5163 [WIN32K]
- revert an "improvement" in NtUserFindExistingCursorIcon
- Remove boken asserts
- Implement GreSetBitmapOwner and use it to set bitmap owner in IntSetCursorData
- Fix cleanup after failure in setting bitmap owner
- Fix string cleanup (don't free INTRESOURCE)
- Validate frame indices to be within range
- Make sure frame indices and JIR reates are copied
- A few other fixes/improvements

svn path=/trunk/; revision=66608
2015-03-08 13:44:24 +00:00
Amine Khaldi
e53889cf98 [NOTEPAD] Prevent some NULL pointer dereferences. CID 502217. By Ricardo Hanke. CORE-9337
svn path=/trunk/; revision=66607
2015-03-08 13:16:46 +00:00
Johannes Anderwald
63439e78ff [MMSYS]
- fix build

svn path=/trunk/; revision=66606
2015-03-08 09:37:06 +00:00
Johannes Anderwald
d2e31d5fde [MMSYS]
- install software bus pnp enumerator only once

svn path=/trunk/; revision=66605
2015-03-08 08:28:12 +00:00
Hermès Bélusca-Maïto
97bb83fcd9 [USETUP]: Fix some problems with extra-backslashes in paths, and fix the support for the setup directory "\" which means "the install directory" (i.e. C:\ReactOS usually).
[BOOTDATA/VGAFONTS]: Install the vga fonts needed for the Blue driver. Better fix for r57755 and r59547.

svn path=/trunk/; revision=66604
2015-03-08 04:09:23 +00:00
David Quintana
9c9b3171f8 [NTOBJSHEX]
* Make the shell view default to details mode.
* Some cleanups.

svn path=/trunk/; revision=66603
2015-03-08 02:05:24 +00:00
Aleksandar Andrejevic
b0c6956a17 [NTVDM]
Implement EMS function AH = 57h.


svn path=/trunk/; revision=66602
2015-03-08 00:36:46 +00:00
Timo Kreuzer
e0a175fa25 [INTRIN]
Fix x64 build.

svn path=/trunk/; revision=66601
2015-03-07 22:35:52 +00:00
Johannes Anderwald
20b24dadb9 [KS]
- fix multiple bugs in software bus pnp enumerator 
[INF]
- add wdmaud.sys as a client of the software bus pnp enumerator

svn path=/trunk/; revision=66600
2015-03-07 18:01:03 +00:00
Johannes Anderwald
4f6af40fc9 [MMSYS]
- install software bus pnp enumerator when an audio device is installed

svn path=/trunk/; revision=66599
2015-03-07 17:33:13 +00:00
Timo Kreuzer
3eba2a1fe4 [INTRIN]
Add some missing intrinsics for GCC (_InterlockedExchangeAdd8, __incgsqword, _BitScanForward64, _BitScanReverse64, _bittest64, _bittestandset64, _bittestandreset64, _bittestandcomplement64, _rotr64, _lrotl, _lrotr, __lzcnt, __lzcnt16, __popcnt, __popcnt16, __lzcnt64, __popcnt64, __cpuidex, __ud2, __writecr8/__readcr8 (x86))
Remove useless top level const modifiers from parameters (they do only tell the compiler that the variable cannot be modified, they do not tell the compiler whether the parameter is a compiler constant!)

svn path=/trunk/; revision=66598
2015-03-07 13:22:42 +00:00
Hermès Bélusca-Maïto
6fa9017029 [NTVDM]: Add configuration files (will be needed in the future). By Lee Schroeder.
CORE-7736 CORE-7832

svn path=/trunk/; revision=66597
2015-03-07 01:42:16 +00:00
Aleksandar Andrejevic
3b4c8c96b6 [NTVDM]
Begin implementing Expanded Memory Space (EMS) support.


svn path=/trunk/; revision=66596
2015-03-07 00:43:17 +00:00
Hermès Bélusca-Maïto
005645416e [SHORTCUTS]: Add RApps shortcut to the desktop.
CORE-9190

svn path=/trunk/; revision=66595
2015-03-07 00:21:24 +00:00
Daniel Reimer
63ac32d5c9 [MSTSC]
German update. No user cares about the number of colors at all. It always was called High/True Color and thus we do so too.

svn path=/trunk/; revision=66594
2015-03-07 00:06:06 +00:00
Hermès Bélusca-Maïto
551a042b6f [MPLAY32]
- Additional improvements by Ricardo Hanke, see CORE-8477 for all the details!
- Add support for play/pause button: now we change its icon and tooltip.
- Do not block when repeatedly change play/pause state.

svn path=/trunk/; revision=66593
2015-03-06 23:49:49 +00:00
Hermès Bélusca-Maïto
529183cda7 [SHIMGVW]
- Few whitespace fixes.
- Fix a regression where an exception was thrown when opening a file from cdrom.
Patch by Ricardo Hanke.
CORE-9250 #resolve #comment Patch v2 committed! Thanks!

svn path=/trunk/; revision=66592
2015-03-06 20:32:38 +00:00
Amine Khaldi
a565167c59 [RAPPS] Fix maximizing. By Ismael Ferreras Morezuelas. CORE-9060
svn path=/trunk/; revision=66591
2015-03-06 20:23:45 +00:00
Amine Khaldi
4f727bf356 [RAPPS] Change APPLICATION_DATEBASE_URL to APPLICATION_DATABASE_URL and add a FIXME about switching to HTTPS once is supported. By Ismael Ferreras Morezuelas. CORE-9060
svn path=/trunk/; revision=66590
2015-03-06 20:20:25 +00:00
Hermès Bélusca-Maïto
8c59114082 [DESK]: Include files from the wallpaper directory in the list of available desktop backgrounds.
Patch by Ricardo Hanke.
CORE-9288 #resolve #comment Patch v3 committed, thanks!

svn path=/trunk/; revision=66589
2015-03-06 20:13:21 +00:00
Hermès Bélusca-Maïto
42c3492b5c Revert tree-restructure attempt: r66583, r66582, r66581, r66578, sauf ntdll changes, r66576 and r66575 sauf mvdm changes (ok with Aleksander).
svn path=/trunk/; revision=66588
2015-03-06 14:33:02 +00:00
Hermès Bélusca-Maïto
2fd746a504 Revert r66580 and r66579.
svn path=/trunk/; revision=66587
2015-03-06 14:31:32 +00:00
Christoph von Wittich
55ac845a5e revert r66585
svn path=/trunk/; revision=66586
2015-03-06 11:49:28 +00:00
Christoph von Wittich
c982804893 [NTOSKRNL]
disable sysenter on Pentium Pro
http://lkml.iu.edu/hypermail/linux/kernel/0308.2/1534.html
CORE-6582

svn path=/trunk/; revision=66585
2015-03-06 09:29:50 +00:00
Hermès Bélusca-Maïto
a2a0e1c9a1 [MSTSC]: Add support for 32-bit colour. Patch by 'hater'.
CORE-9322 #resolve #comment Committed in r66584, thanks!

svn path=/trunk/; revision=66584
2015-03-06 02:16:00 +00:00
Hermès Bélusca-Maïto
b8571b27e9 [SHELL]: shimgvw is a shell extension.
svn path=/trunk/; revision=66583
2015-03-06 02:01:31 +00:00
Hermès Bélusca-Maïto
829e58590e [SHELL]: Move shell dlls to where they should belong.
CORE-9111

svn path=/trunk/; revision=66582
2015-03-06 01:26:58 +00:00
Hermès Bélusca-Maïto
22cd6ee5a3 Revert an unwanted change from r66575.
svn path=/trunk/; revision=66581
2015-03-06 00:43:46 +00:00
Hermès Bélusca-Maïto
5d3273e56a I hope this is the last one.
svn path=/trunk/; revision=66580
2015-03-06 00:37:49 +00:00
Hermès Bélusca-Maïto
dc5cf71fa4 ... and that.
svn path=/trunk/; revision=66579
2015-03-06 00:34:20 +00:00
Hermès Bélusca-Maïto
3d596d154a Really fix build this time (otherwise that means my full clean builds are broken). Also remove that strange win32k dependency from ntdll (that appeared only via the headers inclusion, and nothing else).
svn path=/trunk/; revision=66578
2015-03-06 00:31:01 +00:00
Hermès Bélusca-Maïto
c1d94ddee2 [NTDLL]: Remove unneeded includes (fix build).
svn path=/trunk/; revision=66577
2015-03-06 00:03:52 +00:00
Hermès Bélusca-Maïto
76edda527f Fix build (forgot these 3 files).
svn path=/trunk/; revision=66576
2015-03-05 23:20:06 +00:00
Hermès Bélusca-Maïto
ddb90f1e10 Start source tree (final, I hope!) restructuration. Part 1/X
Win32, Shell, Services, MVDM

svn path=/trunk/; revision=66575
2015-03-05 23:03:33 +00:00
Timo Kreuzer
9a340ee253 [INTRIN]
Fix MSVC / x64 build

svn path=/trunk/; revision=66574
2015-03-05 23:00:18 +00:00
Timo Kreuzer
da855e568d [INCLUDE/CRT]
- Move all intrinsic prototypes to intrin.h and remove duplicated declatations from msc/intrin.h and mingw/intrin_x86.h
- Fix some intrinsic prototypes for GCC
- Fix some SAL annotations for intrinsics

svn path=/trunk/; revision=66573
2015-03-05 21:09:36 +00:00
Timo Kreuzer
5269230c55 [CRT]
Remove definition of __JUMP_BUFFER and include setjmp.h instead, where it is defined.

svn path=/trunk/; revision=66572
2015-03-05 21:09:12 +00:00
Timo Kreuzer
bd5b0e3bd3 [INCLUDE]
#undef some constants in arc.h to avoid conflicts with errno.h

svn path=/trunk/; revision=66571
2015-03-05 21:08:58 +00:00
Hermès Bélusca-Maïto
b086a99725 Small source tree cleanup:
- Remove leftovers from rbuild era.
- Remove .hgeol that was introduced in r53995 in an attempt to have Mercury "get[ing] native line endings":
<@hbelusca> tkreuzer - hi tkreuzer! do you know whether you still need this .hgeol file at the root of our source tree?
<@tkreuzer> hbelusca: no, feel free to delete it
- rgenstat/llmosrt.c --> llmsort.c (take it from cdmake); this is however an unused tool in our build toolchain.

svn path=/trunk/; revision=66570
2015-03-05 20:43:25 +00:00
Sylvain Petreolle
bf41d9fe8e [EXT2FS]
No drive in media is not an error condition.
The hardware reporting no 'ghost' floppy drives like vmware don't show this trace.

svn path=/trunk/; revision=66569
2015-03-05 16:13:44 +00:00
Hermès Bélusca-Maïto
57d181cd3f [KEYBOARDLAYOUTS]: Improve on r61053 and r64791 by moving the keyboard layout LD script to its correct directory.
svn path=/trunk/; revision=66568
2015-03-05 15:04:25 +00:00
Hermès Bélusca-Maïto
974e7aafa1 [WELCOME]: Port all the extra features that we usually need for our custom releases for FOSDEM, CLT, etc... See r62439, r66116 and r66121 (in particular keep the <msg> feature, it can be useful for some cases. It's not because you remove it that you'll gain 100 MB in the CD-ROM!).
svn path=/trunk/; revision=66567
2015-03-04 22:37:51 +00:00
Hermès Bélusca-Maïto
96bb81fb65 Errm... fix build.
svn path=/trunk/; revision=66566
2015-03-04 22:13:31 +00:00
Hermès Bélusca-Maïto
9fe5dd6bb4 [WELCOME]: Code style changes only.
svn path=/trunk/; revision=66565
2015-03-04 22:10:49 +00:00
Hermès Bélusca-Maïto
66e25b43b8 [WELCOME!]: Fix CID 515150 (and warn if the app that we start cannot be started). By Ricardo Hanke.
CORE-9325 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=66564
2015-03-04 21:42:09 +00:00
Hermès Bélusca-Maïto
6e0183f1c0 Whitespace fixes only.
svn path=/trunk/; revision=66563
2015-03-04 21:37:35 +00:00
Hermès Bélusca-Maïto
327531bfd4 [MPLAY32]: Fix CID 515203 and CID 515204: replace remaining _tcscpy and _stprintf with strsafe functions.
By Ricardo Hanke.
CORE-9306 CORE-9308 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=66562
2015-03-03 21:35:07 +00:00
Hermès Bélusca-Maïto
f7730a4c06 Fix comment >_>
svn path=/trunk/; revision=66561
2015-03-03 21:24:04 +00:00
Hermès Bélusca-Maïto
2aeddacd34 [MAGNIFIER]: Code formatting.
svn path=/trunk/; revision=66560
2015-03-03 21:20:49 +00:00
Johannes Anderwald
55a3ce0d00 [KS]
- fix multiple bugs in the software bus enumerator

svn path=/trunk/; revision=66559
2015-03-03 21:07:48 +00:00
Hermès Bélusca-Maïto
4fa5f10a81 [MAGNIFY]: Fix CID 512972 and CID 512973.
[EVENTLOG]: Fix CID 515148, CID 515149 and CID 512988.
By Ricardo Hanke.
CORE-9314 CORE-9316 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=66558
2015-03-03 21:03:21 +00:00
Christoph von Wittich
0117e3b8cb [WLANAPI]
partially implement RpcOpenHandle and RpcCloseHandle

svn path=/trunk/; revision=66557
2015-03-03 20:57:33 +00:00
Hermès Bélusca-Maïto
edb65177d2 [CMD]: Improve German translation, by Robert Naumann.
CORE-9311 #resolve #comment Committed, thanks! (with Codeseite --> Codepage change).

svn path=/trunk/; revision=66556
2015-03-03 20:53:33 +00:00
Hermès Bélusca-Maïto
eedc82f7ce [TRANSLATION]: Global Romanian translation update, by Stefan Fulea. See CORE-9313 for all the details!
CORE-9313 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=66555
2015-03-03 20:49:07 +00:00
Johannes Anderwald
6c19ea5c6a [NTOS]
- fix bug

svn path=/trunk/; revision=66554
2015-03-03 16:39:31 +00:00
Christoph von Wittich
394264825f [WLANAPI]
add stubs for WlanReasonCodeToString, WlanIhvControl, WlanSetSecuritySettings and WlanGetAvailableNetworkList

svn path=/trunk/; revision=66553
2015-03-03 11:43:24 +00:00
Daniel Reimer
e1f523b79c [LAUTUS]
Patch: Make it translatable and add German translation by Robert Naumann + fixed one typo by me.
CORE-9310 #resolve #comment Committed with one lil typo fixed, thx.

svn path=/trunk/; revision=66552
2015-03-03 01:35:12 +00:00
Amine Khaldi
e9069a6bb3 [PSDK] Fix winternl.h version of SECTION_IMAGE_INFORMATION and add missing MEM_EXECUTE_OPTION_DISABLE_THUNK_EMULATION definition.
svn path=/trunk/; revision=66551
2015-03-02 23:38:49 +00:00
Amine Khaldi
2634b3a6aa [PSDK] Add missing PF_NX_ENABLED, PROCESS_DEP_ENABLE and PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION definitions.
svn path=/trunk/; revision=66550
2015-03-02 23:37:00 +00:00
Kamil Hornicek
e9590ca78f [MESA]
- remove a stray debug break
CORE-8781

svn path=/trunk/; revision=66549
2015-03-02 20:26:25 +00:00
Christoph von Wittich
adf2d63295 [WLANAPI_WINETEST]
add more tests

svn path=/trunk/; revision=66548
2015-03-02 19:28:15 +00:00
Christoph von Wittich
213dbef1b4 [WLANAPI]
add stubs for WlanQueryInterface and WlanGetInterfaceCapability

svn path=/trunk/; revision=66547
2015-03-02 19:27:45 +00:00
Johannes Anderwald
ed9dfffa61 [HIDCLASS]
- remove no longer required pnp hack

svn path=/trunk/; revision=66546
2015-03-02 19:16:45 +00:00
Johannes Anderwald
87b47bb64d [NTOS]
- use IopGetDeviceObjectFromDeviceInstance to retrieve PDO

svn path=/trunk/; revision=66545
2015-03-02 19:14:16 +00:00
Christoph von Wittich
aa78e3fd93 [WLANAPI_WINETEST]
add some more tests

svn path=/trunk/; revision=66544
2015-03-02 17:24:30 +00:00
Christoph von Wittich
d95aa9978c [WLANAPI]
add checks for invalid parameters

svn path=/trunk/; revision=66543
2015-03-02 17:23:38 +00:00
Christoph von Wittich
314db647da [WLANAPI_WINETEST]
add some tests for WlanConnect, WlanDisconnect and WlanScan

svn path=/trunk/; revision=66542
2015-03-02 16:10:33 +00:00
Christoph von Wittich
2102bfa1f0 [WLANAPI]
stub some WlanProfile functions
fix some declarations

svn path=/trunk/; revision=66541
2015-03-02 14:33:50 +00:00
James Tabor
fcdfd8831e [NtUser]
- Fix test for child windows. This is for painting changes. See CORE-7447.

svn path=/trunk/; revision=66540
2015-03-02 06:45:19 +00:00
Hermès Bélusca-Maïto
e83e0a084f [SHLWAPI]: Update the ros-diff.
svn path=/trunk/; revision=66539
2015-03-02 01:23:55 +00:00
Hermès Bélusca-Maïto
811fcc6a66 [SHLWAPI]: Remove some Wine madness. CORE-8936.
svn path=/trunk/; revision=66538
2015-03-02 01:15:00 +00:00
Hermès Bélusca-Maïto
1597cd2a51 Fix build.
svn path=/trunk/; revision=66537
2015-03-02 01:02:18 +00:00
Hermès Bélusca-Maïto
993853e877 [SHELL32]: Fix some imports.
CORE-8936 CORE-8174

svn path=/trunk/; revision=66536
2015-03-02 00:59:14 +00:00
Amine Khaldi
ebe1d82979 [README.WINE] Mark some DirectX modules as synced with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66535
2015-03-01 22:51:48 +00:00
Amine Khaldi
440b3fe282 [QUARTZ] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66534
2015-03-01 22:48:56 +00:00
Amine Khaldi
338231b612 [QEDIT] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66533
2015-03-01 22:47:11 +00:00
Amine Khaldi
094e0aaace [MSDMO] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66532
2015-03-01 22:39:22 +00:00
Amine Khaldi
9667e8c3ef [DXGI] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66531
2015-03-01 22:38:27 +00:00
Amine Khaldi
db128b9633 [PSDK] Add missing E_NOT_SUFFICIENT_BUFFER definition.
svn path=/trunk/; revision=66530
2015-03-01 22:36:59 +00:00
Amine Khaldi
2e3c340382 [NOTEPAD] Fix CIDs 510916 and 716307. By Ricardo Hanke. CORE-9300
svn path=/trunk/; revision=66529
2015-03-01 22:35:47 +00:00
Timo Kreuzer
ebdb755ed6 [WIN32K]
Rewrite NtUserSetCursorIconData
Fixes:
- Memory leaks
- Cursors left in an unpredictable / unhealthy state, including pointers to freed memory, when an operation failed
- Decision whether a cursor uses an ACON or CURSOR as the underlying structure based on user provided flags, instead of cursor flags, which were not even set in the first place.
- Allowing a usermode caller to corrupt the cusor structure, by converting an ACON with a smaller allocation size into a CURSOR
CORE-9301 #resolve

svn path=/trunk/; revision=66528
2015-03-01 22:00:24 +00:00
Timo Kreuzer
b288b023a8 [WIN32K]
Formatting only. Add a space after if/for/while.

svn path=/trunk/; revision=66527
2015-03-01 17:59:51 +00:00
Timo Kreuzer
5e781d44e0 [WIN32K]
Get rid of our old cursoricon implementation. Rename cursoricon_new.c to cursoricon.c and remove all traces of NEW_CURSORICON

svn path=/trunk/; revision=66526
2015-03-01 17:36:12 +00:00
Timo Kreuzer
400b4d9289 [NTOSKRNL]
Add some _SEH2_VOLATILE and a comment about memory barriers

svn path=/trunk/; revision=66525
2015-03-01 16:33:43 +00:00
Timo Kreuzer
b95eb87486 [NTOSKRNL]
Remove broken DbgBreakPoints

svn path=/trunk/; revision=66524
2015-03-01 16:30:58 +00:00
Eric Kohl
dc2aa925db [NETAPI32]
Implement the Directory Service Setup (dssetup) client interface.

svn path=/trunk/; revision=66523
2015-03-01 15:41:11 +00:00
Thomas Faber
bbe66391dc [NTDLL:LDR]
- Implement LdrSetDllManifestProber
CORE-6354 CORE-9298

svn path=/trunk/; revision=66522
2015-03-01 15:34:06 +00:00
Johannes Anderwald
bf6e7cd971 [STREAMCI]
- install driver's inf

svn path=/trunk/; revision=66521
2015-03-01 15:26:49 +00:00
Eric Kohl
a4ed9e2e4e [LSASRV]
Implement the Directory Service Setup (dssetup) server.

svn path=/trunk/; revision=66520
2015-03-01 15:21:23 +00:00
Johannes Anderwald
55af6547e4 [NTOS]
- plug leak in error case

svn path=/trunk/; revision=66519
2015-03-01 13:53:16 +00:00
Hermès Bélusca-Maïto
01dccc57d3 [CMD]
- Do not hardcode the length of the string arrays in the LoadString calls (use ARRAYSIZE instead)
- Localize the command prompt info line. CORE-9293 #resolve #comment I placed the string in the resource files so that you can now localize it!

svn path=/trunk/; revision=66518
2015-03-01 12:28:38 +00:00
Amine Khaldi
dbf228f1ed [OLE32] Export stubs for CoCancelCall, CoDisableCallCancellation and CoEnableCallCancellation. Brought to you by Radek Liška. CORE-9298
svn path=/trunk/; revision=66517
2015-03-01 11:55:56 +00:00
Colin Finck
65b4da13f4 [ROSAUTOTEST]
- Finish a test run in the database when all tests have successfully been run. This got lost during the C++ rewrite of rosautotest in r40147.
- Don't spam the logs with useless OK messages. Only report the web service response if an error occurred.

svn path=/trunk/; revision=66516
2015-03-01 11:19:30 +00:00
Amine Khaldi
f268fadf4a [WS2_32] Improve exports and make them match native. CORE-8174
svn path=/trunk/; revision=66515
2015-03-01 11:04:03 +00:00
Cameron Gutman
e7607f493e [NDIS]
- Fix a bugcheck caused when drivers pend requests NDIS-internal requests issued during initialization
- Fixes Dell 1390 WLAN card (currently scanning via wlanconf isn't working, but connecting via SSID works)

svn path=/trunk/; revision=66514
2015-03-01 10:43:12 +00:00
Christoph von Wittich
d607b14920 [NDIS]
support REG_DWORD in NdisReadConfiguration
CORE-8046
  

svn path=/trunk/; revision=66513
2015-03-01 10:15:50 +00:00
Cameron Gutman
23eb1ea1e7 [NDIS]
- Always call MiniportISR if the interrupt is shared
- Call MiniportHandleInterrupt even if MiniportInitialize is running
- This commit and r66511 fix the Broadcom 57XX NIC (CORE-9295)

svn path=/trunk/; revision=66512
2015-03-01 08:11:53 +00:00
Cameron Gutman
44ccc12ac6 [PCI]
- Handle 64-bit PCI base address registers (BARs)
- Fix maximum address in resource requirements for 20-bit resources
- Fix flags on memory and I/O port resources
[NTOS]
- Fix handling of 64-bit resources

svn path=/trunk/; revision=66511
2015-03-01 07:52:32 +00:00
Thomas Faber
dd703eff88 [NETSHELL]
- Use WINE_REGISTRY resource type for resource registered with __wine_register_resources
CORE-9291 #resolve

svn path=/trunk/; revision=66510
2015-03-01 05:57:09 +00:00
Hermès Bélusca-Maïto
b8d2976462 [WS2_32]: Export GetAddrInfoW (which is still a stub) and FreeAddrInfoW. Should make Lync happier (but since GetAddrInfo is a stub, maybe not so happy ^^).
CORE-9287 #resolve

svn path=/trunk/; revision=66509
2015-03-01 00:58:31 +00:00
Hermès Bélusca-Maïto
5f9629166d [KBSWITCH]
Add keyboard switcher to startup, per-user. Since we currently do not support expandable string values for shell run startup, just use a normal string. Also there's currently a bug in our explorer that makes the icon of kbswitch not appearing when it is launched at startup.
See CORE-6787 for more information.

svn path=/trunk/; revision=66508
2015-03-01 00:28:17 +00:00
Hermès Bélusca-Maïto
0107779ca0 [HELP]: Fix console output for languages using non-latin characters. Patch by Vort.
CORE-7409 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=66507
2015-02-28 23:50:01 +00:00
Thomas Faber
99126ff14b [ROSAUTOTEST]
- Disable error dialogs unless running in interactive mode
ONLINE-441

svn path=/trunk/; revision=66506
2015-02-28 21:29:44 +00:00
Sylvain Petreolle
1d174e03c2 [NTDLL/LDR]
LdrpInitializeProcess:
Don't use NtLdrEntry to initialize LdrpImageEntry.
It is overwritten afterwards to initialize the real NtLdrEntry.


svn path=/trunk/; revision=66505
2015-02-28 21:23:07 +00:00
Thomas Faber
b3777ffecc [ROSAUTOTEST]
- Continue the testing process in case a test fails to execute
ONLINE-441

svn path=/trunk/; revision=66504
2015-02-28 21:12:25 +00:00
Thomas Faber
5dfd2fc11e [CPPRT]
- Implement __CxxFrameHandler3 as a wrapper around __CxxFrameHandler that translates VC8-style function exception descriptions to VC7-style. This is necessary to make C++ exceptions work on Windows Server 2003, because msvcrt!__CxxFrameHandler does not support VC8 descriptors there.
CORE-9290 #resolve

svn path=/trunk/; revision=66503
2015-02-28 21:03:04 +00:00
Hermès Bélusca-Maïto
38ecef1f2b [MSTSC]
Update MSTSC with latest (1.8.3) rdesktop version.
Patch by 'hater', for more details see CORE-9013 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=66502
2015-02-28 20:28:09 +00:00
Amine Khaldi
014d37e58e [XDK] Addendum to r66499.
svn path=/trunk/; revision=66501
2015-02-28 16:00:09 +00:00
Amine Khaldi
8257e43a23 [KERNEL32_VISTA] Add and export InitOnceExecuteOnce(). CORE-9246
svn path=/trunk/; revision=66500
2015-02-28 15:46:43 +00:00
Amine Khaldi
bf1e0d3a4a [PSDK] Add missing RTL_RUN_ONCE_INIT, RTL_RUN_ONCE_INIT_FN, PRTL_RUN_ONCE_INIT_FN and RtlRunOnceComplete() definitions.
svn path=/trunk/; revision=66499
2015-02-28 15:41:27 +00:00
Hermès Bélusca-Maïto
a492e11380 [SVCHOST]: Delay-load netapi32 and ole32 (they will be loaded only if needed).
[WIN32K]: Fix cursor check (in few corner cases SYSTEMCUR(ARROW) happens to be NULL, when some programs -- ole32 -- wants to create windows while there is no graphics initialized yet). James, can you investigate?

svn path=/trunk/; revision=66498
2015-02-28 15:33:26 +00:00
Amine Khaldi
eef5ed99c0 [PSDK] Add missing INIT_ONCE_STATIC_INIT and InitOnceExecuteOnce() definitions.
svn path=/trunk/; revision=66497
2015-02-28 14:34:18 +00:00
Amine Khaldi
383d18186d [PSDK] Update COWAIT_FLAGS.
svn path=/trunk/; revision=66496
2015-02-28 14:06:40 +00:00
Amine Khaldi
fb0428980a [DPLAYX_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66495
2015-02-28 11:57:37 +00:00
Amine Khaldi
572558396d [DPLAYX] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66494
2015-02-28 11:57:17 +00:00
Amine Khaldi
cf10f6f049 [BOOTDATA/HIVESFT] Add DirectPlay service providers registry entries. CORE-9285
svn path=/trunk/; revision=66493
2015-02-28 11:56:36 +00:00
Johannes Anderwald
02e6218232 [STREAMCI]
- minor changes

svn path=/trunk/; revision=66492
2015-02-28 11:28:06 +00:00
Amine Khaldi
dd6ea04003 [DMUSIC] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66491
2015-02-28 11:21:27 +00:00
Amine Khaldi
5b09d5a99c [D3DX9_*] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66490
2015-02-28 11:17:10 +00:00
Amine Khaldi
b77d71098d [INCLUDE/WINE] Attempt to please the...
svn path=/trunk/; revision=66489
2015-02-28 10:35:08 +00:00
Amine Khaldi
3bec612279 [D3D8][D3D9][DDRAW][WINED3D] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66488
2015-02-28 10:18:41 +00:00
Amine Khaldi
c7a1e940d7 [DXGI] Add missing config.h include.
svn path=/trunk/; revision=66487
2015-02-28 10:17:21 +00:00
Amine Khaldi
d80ef97368 [INCLUDE/WINE] Update rbtree.h. CORE-9246
svn path=/trunk/; revision=66486
2015-02-28 10:15:41 +00:00
Amine Khaldi
7eb3fcf1d5 [NETSHELL] Simplify registration by using an rgs file. Brought to you by Giannis Adamopoulos. CORE-9276
svn path=/trunk/; revision=66485
2015-02-28 10:11:51 +00:00
Amine Khaldi
1a045cb4b3 [CMAKE] Just check for ReactOS in CMake version for PCH, not a specific version.
svn path=/trunk/; revision=66484
2015-02-28 09:59:39 +00:00
Johannes Anderwald
1b229a4827 [USBCCGP]
- reset interface count before loop
- add extra checks

svn path=/trunk/; revision=66483
2015-02-28 09:48:16 +00:00
Thomas Faber
7a357f830c [ROSAUTOTEST]
- Avoid double-close of pipe handles

svn path=/trunk/; revision=66482
2015-02-28 06:56:56 +00:00
Colin Finck
8d14ace200 [ROSAUTOTEST]
- Check the environment variable ROSAUTOTEST_DIR for an alternative path to the test executables. Otherwise use the default %windir%\bin
- Update the URL of the web service

svn path=/trunk/; revision=66481
2015-02-28 02:39:14 +00:00
Colin Finck
d3ee77adf9 [CMAKE]
Use the STRING(timestamp ...) command introduced in CMake 2.8.11 to get rid of our today macro and in particular the wmic dependency.
wmic requires administrator privileges on NT 5.x

svn path=/trunk/; revision=66480
2015-02-28 00:36:49 +00:00
Thomas Faber
49bb368ddc [KMTESTS]
- Add a test showing RtlUpcaseUnicodeString behavior with zero-length strings
- Run all test cases against FsRtlIsNameInExpressionTest on checked builds, only the Dbcs version asserts
CORE-9254

svn path=/trunk/; revision=66479
2015-02-27 22:42:35 +00:00
Thomas Faber
b9809e6704 [CDFS]
- Handle errors from CcInitializeCacheMap and CcCopyRead
CORE-6501

svn path=/trunk/; revision=66478
2015-02-27 21:30:09 +00:00
Thomas Faber
33d9e81156 [CDFS]
- Do not touch Irp after handing it off to FsRtlNotifyFullChangeDirectory
CORE-8776 CORE-9274 #resolve

svn path=/trunk/; revision=66477
2015-02-27 12:39:27 +00:00
Hermès Bélusca-Maïto
840282e4d3 [BUGCODES]: Add bugcheck 0xF7 DRIVER_OVERRAN_STACK_BUFFER (that encountered while debugging Windows), with description coming from what windbg gave to me.
svn path=/trunk/; revision=66476
2015-02-27 01:59:17 +00:00
Hermès Bélusca-Maïto
2fe77c41bd [NTOS]
- Check for command line validity in some places.
- Correctly set the number of bitmap resources. Spotted by Thomas. CORE-6781

svn path=/trunk/; revision=66475
2015-02-27 01:39:49 +00:00
Thomas Faber
74900e380b [TASKMGR]
- Add missing break that causes stack corruption

svn path=/trunk/; revision=66474
2015-02-27 00:08:26 +00:00
Giannis Adamopoulos
714369041b [BROWSEUI]
- Moce CAutoComplete from shell32 to browseui where it belongs

svn path=/trunk/; revision=66473
2015-02-26 18:44:34 +00:00
Christoph von Wittich
dc9f351bfc [TASKMGR]
fix keyboard navigation for the tabcontrol
See issue 4245 for more details.

svn path=/trunk/; revision=66472
2015-02-26 16:16:36 +00:00
Christoph von Wittich
329f3e0d7f [PSDK]
Update NETINFOSTRUCT, PERF_COUNTER_DEFINITION and PERF_OBJECT_TYPE structures
remove packing from winwlx.h

svn path=/trunk/; revision=66471
2015-02-26 15:45:01 +00:00
Christoph von Wittich
3c1dc3355c [PSDK]
fix some AMD64 specific issues (structure alignment, 32 Bit pointer)

svn path=/trunk/; revision=66470
2015-02-26 14:43:22 +00:00
Christoph von Wittich
b00d7d80c5 [PSDK]
Fix IMAGEHLP_DEFERRED_SYMBOL_LOAD structure in imagehlp.h to match definition in dbghelp.h

svn path=/trunk/; revision=66469
2015-02-26 13:03:33 +00:00
Christoph von Wittich
a9221aa730 [PSDK]
Update SECURITY_LOGON_SESSION_DATA structure
add LSA_LAST_INTER_LOGON_INFO structure

svn path=/trunk/; revision=66468
2015-02-26 09:42:45 +00:00
Amine Khaldi
591e1443a1 [PSDK] Update SERVER_INFO_598 structure.
svn path=/trunk/; revision=66467
2015-02-26 09:29:26 +00:00
Thomas Faber
04bcefa076 [USER32_WINETEST]
- Apply a different hack to make Jim happy.
- If you revert any of this and your changes break tests on Windows, I will revert your revert.

svn path=/trunk/; revision=66466
2015-02-26 09:25:58 +00:00
Amine Khaldi
f63b100488 [USER32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66465
2015-02-26 09:05:15 +00:00
James Tabor
07f05e1c23 [User32_WINETEST]
- Move test_SetFocus first as it is done originally. Refer to read past wine CVS logs for the reason.

svn path=/trunk/; revision=66464
2015-02-26 08:38:00 +00:00
Thomas Faber
888df95a50 [NTOS:CM]
- Addendum to r66462: don't forget to check buffer length
CORE-9267

svn path=/trunk/; revision=66463
2015-02-26 08:04:03 +00:00
Thomas Faber
2e9b11e0ea [NTOS:CM]
- Ignore multiple consecutive backslashes in CmpGetNextName
CORE-9267 #resolve

svn path=/trunk/; revision=66462
2015-02-26 03:17:17 +00:00
Hermès Bélusca-Maïto
a2803cecfc [NTOS]
- Use a more standard name for the cursor position headless command structure.
- Remove the useless SysThreadCreated variable.

- Implement the remaining headless support in inbv functions, dealing with text colour (on windows, always set white text on black background). I added an extra feature (disabled by default) in case you want to get colourful headless support.
- Disable all code related to displaying different logos for different SKUs since up to now ReactOS doesn't have Storage or Cluster flavours, but keep it for reference in case somebody needs it. The resource IDs are still there.
- Disable all code related to rotating progress bar (à la XP) since it is not really implemented in ReactOS at the moment.
CORE-6781

svn path=/trunk/; revision=66461
2015-02-26 01:59:05 +00:00
Hermès Bélusca-Maïto
b0c1753de2 [NTOS]
Implement headless terminal commands:
* HeadlessCmdClearToEndOfDisplay
* HeadlessCmdClearToEndOfLine
* HeadlessCmdDisplayAttributesOff
* HeadlessCmdDisplayInverseVideo
* HeadlessCmdSetColor
* HeadlessCmdPositionCursor

svn path=/trunk/; revision=66460
2015-02-26 00:40:25 +00:00
Eric Kohl
af0a104d59 [INCLUDE]
wkssvc.idl: Add NetrWkstaUserGetInfo and NetrWkstaUserSetInfo definitions based on the Samba wkssvc.idl and MSDN.

[NETAPI32]
- Implement NetWkstaUserGetInfo and NetWkstaUserSetInfo.
- Add some debug output.

[WKSSVC]
Add NetrWkstaUserGetInfo and NetrWkstaUserSetInfo stubs.
CORE-9248

svn path=/trunk/; revision=66459
2015-02-25 22:11:41 +00:00
Giannis Adamopoulos
e52e391e68 fix build. I forgot this file
svn path=/trunk/; revision=66458
2015-02-25 20:04:53 +00:00
Giannis Adamopoulos
420ed9cda0 [USER32]
- button.c: Use NtUserAlterWindowStyle where wine uses WIN_SetStyle (usage and parameters were confirmed with windbg)

[NTUSER]
- Implement NtUserAlterWindowStyle.

Fixes remaining failures in user32:msg_controls test.

svn path=/trunk/; revision=66457
2015-02-25 20:02:10 +00:00
Thomas Faber
4ad9239209 [USER32_WINETEST]
- Apply hacks to make the tests succeed on Windows

svn path=/trunk/; revision=66456
2015-02-25 17:31:53 +00:00
Thomas Faber
8e610dc42c [COM_APITEST]
- Add some more interfaces

svn path=/trunk/; revision=66455
2015-02-25 16:22:26 +00:00
Giannis Adamopoulos
e657208f02 [USER32_WINETEST]
- Split user32:msg test to 14 separate tests
- The original test consisted of more than 14k lines of code

svn path=/trunk/; revision=66454
2015-02-25 15:55:57 +00:00
Thomas Faber
4c25d9683c [COM_APITEST]
- Add some more interfaces
- Add CLSID_CDBurn

svn path=/trunk/; revision=66453
2015-02-25 15:00:24 +00:00
James Tabor
4a69037878 [NtUser]
- Fix API GetDCEx tests! Dedicated to the great work by Timo Kreuzer.
- This uncovered a loop flaw, witch passed on any DCE last accessed.

svn path=/trunk/; revision=66452
2015-02-25 13:25:57 +00:00
Thomas Faber
d733548fb4 [DESK.CPL]
- Don't convert the selected wallpaper if it is already a bitmap. Patch by Ricardo Hanke.
CORE-8802 #resolve

svn path=/trunk/; revision=66451
2015-02-25 13:24:13 +00:00
Hermès Bélusca-Maïto
2aae46eafa [CPLS]: Add the console CPL to the control panel.
svn path=/trunk/; revision=66450
2015-02-25 13:07:44 +00:00
Thomas Faber
6160cfa603 [USER32]
- In MsgiUnicodeToAnsiMessage, use a single contiguous buffer for CREATESTRUCTA and its strings. This allows applications to modify the structure without ill effects
- Don't return the address of a stack structure in MsgiAnsiToUnicodeMessage
CORE-8777 #resolve

svn path=/trunk/; revision=66449
2015-02-25 12:24:38 +00:00
Thomas Faber
ee88b1c9f3 [WIN32K:NTUSER]
- Store string system parameter settings null-terminated
CORE-8653 #resolve

svn path=/trunk/; revision=66448
2015-02-25 09:12:56 +00:00
James Tabor
72c5a3a810 [NtUser]
- Fix wine Msg test_SetActiveWindow with six remaining.

svn path=/trunk/; revision=66447
2015-02-25 04:37:56 +00:00
Giannis Adamopoulos
3b79ee9cb8 [IEXPLORE]
- Set http://www.reactos.org as the default homepage.

[BOOTDATA]
- Remove settings that are now set by iexplore.inf

svn path=/trunk/; revision=66446
2015-02-25 01:20:06 +00:00
Giannis Adamopoulos
2c1f1d8d60 [IEXPLORE]
- Contrary to wine we store our version info with utf16 (like windows do). Fix checking for native internet explorer.
- Now our iexplore.inf is installed.

svn path=/trunk/; revision=66445
2015-02-25 01:02:03 +00:00
Timo Kreuzer
42017a3c83 [USER32_APITEST]
Add some test for GetDCEx that highlight the ridiculous implementation of owned and class DCs.

svn path=/trunk/; revision=66444
2015-02-24 23:15:08 +00:00
Eric Kohl
10f7d12a0b [NETAPI32]
Fix indentation. No code changes!

svn path=/trunk/; revision=66443
2015-02-24 22:58:01 +00:00
Eric Kohl
3bac08f755 [NETAPI32]
DsRoleGetPrimaryDomainInformation: Implement stubs for the DsRoleUpgradeStatus and DsRoleOperationState cases.

svn path=/trunk/; revision=66442
2015-02-24 22:50:55 +00:00
Eric Kohl
5d32abc29b [NETAPI32]
Implement the client side of NetWkstaSetInfo and NetWkstaUserEnum.

svn path=/trunk/; revision=66441
2015-02-24 22:15:58 +00:00
Thomas Faber
e6003a5b4e [COM_APITEST]
- Add IID_ITranslateShellChangeNotify, the answer to CORE-8844 - found by David
- Fix some non-constant offsets
- Re-alphabetize the lists

svn path=/trunk/; revision=66440
2015-02-24 12:52:18 +00:00
Christoph von Wittich
3d2fd7db25 [PSDK]
add missing members to DISK_PERFORMANCE struct

svn path=/trunk/; revision=66439
2015-02-24 11:04:02 +00:00
Christoph von Wittich
9f260fcfef [PSDK]
fix NOTIFYICONDATA definition

svn path=/trunk/; revision=66438
2015-02-24 10:21:10 +00:00
Daniel Reimer
e596272631 [NEWDEV]
German update by GonzoMD
Some tidy up in the *seemslikebuttonsthrownintoaguieditor* coordinates

svn path=/trunk/; revision=66437
2015-02-23 23:14:51 +00:00
Eric Kohl
e71c25046e [NETAPI32]
CORE-9248
Comment out NetGetJoinInformation and NetWkstaGetInfo in wksta.c and reimplement them as RPC client  functions to the workstation service in wksta_new.c.

svn path=/trunk/; revision=66436
2015-02-23 22:55:43 +00:00
Amine Khaldi
075ebb4c7b [DINPUT] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66435
2015-02-23 20:20:45 +00:00
Amine Khaldi
23bc579d1a [D3DXOF] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66434
2015-02-23 19:47:46 +00:00
Thomas Faber
c385450c93 [NTDLL:LDR]
- Apply OffsetModuleName to the first import entry, not the current one in LdrpUpdateLoadCount3. Fixes missing reference updates on dependency-loaded DLLs.
CORE-5125 CORE-7127 #resolve

svn path=/trunk/; revision=66433
2015-02-23 19:03:08 +00:00
Amine Khaldi
558bb053a2 [D3DX9_30] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66432
2015-02-23 19:01:22 +00:00
Amine Khaldi
d207a7e9cb [PSDK] Apply our header formatting style on windns.h. NFC.
svn path=/trunk/; revision=66431
2015-02-23 18:54:14 +00:00
Amine Khaldi
e9c44033b2 [PSDK] Use proper packing for some structures.
svn path=/trunk/; revision=66430
2015-02-23 18:31:46 +00:00
David Quintana
8a7bac06a7 [NTOBJSHEX]
* Missed these sizeof().
* A tiny typo in the comments.
CORE-9244

svn path=/trunk/; revision=66429
2015-02-23 18:14:39 +00:00
Amine Khaldi
f0667d8ccd [PSDK] Update DNS_HEADER structure.
svn path=/trunk/; revision=66428
2015-02-23 18:13:29 +00:00
Christoph von Wittich
3b264430a4 [PSDK]
add missing member bFullscreenSupported to _CONSOLE_SCREEN_BUFFER_INFOEX

svn path=/trunk/; revision=66427
2015-02-23 17:31:27 +00:00
David Quintana
a2605cb0d4 [NTOBJSHEX]
* Fix all the size calculations broken by r66425.
* Fix subfolder navigation (in windows).
* Fix enumeration skipping the last item.
* Add the beginning of a registry folder implementation. It doesn't display all data types yet, and it doesn't support editing or searching.
CORE-9244

svn path=/trunk/; revision=66426
2015-02-23 17:13:32 +00:00
Hermès Bélusca-Maïto
b7138a87f6 [NTOBJSHEX]
- Fix headers.
- Fix MSVC warning C4200: nonstandard extension used : zero-sized array in struct/union.

[PSDK]
Fix MSVC warning C4200: nonstandard extension used : zero-sized array in struct/union. Note to Wine synchronizers and PSDK maintainers: those MIB* structures should go into a tcpmib.h header instead.

svn path=/trunk/; revision=66425
2015-02-23 16:28:13 +00:00
Thomas Faber
9a5316a185 [IDL]
- Fix duplicate attribute warning

svn path=/trunk/; revision=66424
2015-02-23 15:58:49 +00:00
Thomas Faber
c1a4ad1da6 [WBEMPROX]
- Implement Win32_ComputerSystem.UserName
- Fix buffer size in get_computername
CORE-8678 #resolve

svn path=/trunk/; revision=66423
2015-02-23 15:25:29 +00:00
Giannis Adamopoulos
d084f43c43 [COM_APITEST]
- Test the interfaces of CLSID_SharedTaskScheduler and CLSID_BackgroundTaskScheduler

svn path=/trunk/; revision=66422
2015-02-23 13:49:43 +00:00
Giannis Adamopoulos
1e63581c43 [HEADERS]
- Define CLSID_BackgroundTaskScheduler and CLSID_SharedTaskScheduler
- Properly define IShellTaskScheduler and IID_IShellTaskScheduler

svn path=/trunk/; revision=66421
2015-02-23 13:43:51 +00:00
Amine Khaldi
b3871ae66b [D3DRM] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66420
2015-02-23 11:03:25 +00:00
Hermès Bélusca-Maïto
765910a9dd [NTOS]: Recenter the logos on screen and improve few of them.
svn path=/trunk/; revision=66419
2015-02-23 02:42:58 +00:00
Giannis Adamopoulos
8370f15813 [COMCTL32]
- Implement ILS_SATURATE in our image list implementation
- Use ILS_SATURATE when showing icons of disabled buttons in the toolbar

Patch Ismael Ferreras Morezuelas aka swyter
CORE-8916

svn path=/trunk/; revision=66418
2015-02-22 20:59:08 +00:00
David Quintana
1990bd1af2 [NTOBJSHEX]
* Fix some issues spotted by Thomas Faber.

svn path=/trunk/; revision=66417
2015-02-22 20:18:48 +00:00
Giannis Adamopoulos
c32b26e981 [COMCTL32]
- Rebar: Fix drawing dividers between bands broken in r66402

svn path=/trunk/; revision=66416
2015-02-22 19:44:34 +00:00
Amine Khaldi
718e01f661 [D3DCOMPILER_43] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66415
2015-02-22 18:53:39 +00:00
David Quintana
cdd19990f6 [RSHELL]
[NBTSHELL]
[NTOBJSHEX]
* Fix prototypes of GetAttributesOf and GetUIObjectOf to conform with the specialized IDLIST subtypes.

[PSDK]
* Fix the declaration of PCITEMID_CHILD to make the "const" attribute affect the contents, and not the pointers themselves.

In preparation for whenever CORE-8441 happens.

svn path=/trunk/; revision=66414
2015-02-22 18:26:58 +00:00
Johannes Anderwald
a91859ea46 [NEWDEV]
- fix hardcoded leftover spotted by ThFabba

svn path=/trunk/; revision=66413
2015-02-22 17:55:23 +00:00
Johannes Anderwald
1726257036 [NEWDEV]
- fix 'first hardware page' not shown bug

svn path=/trunk/; revision=66412
2015-02-22 17:53:17 +00:00
Timo Kreuzer
264915f48d [NTVDM]
- Fix BINARY_TO_BCD and BCD_TO_BINARY
- Fix MSVC warnings

svn path=/trunk/; revision=66411
2015-02-22 16:31:58 +00:00
Sylvain Petreolle
c70e11ab21 [BROWSEUI]
update Russian Translation by Akhlamov Petr
CORE-7981 #resolve #comment Committed.

svn path=/trunk/; revision=66410
2015-02-22 16:25:23 +00:00
Thomas Faber
789b0f121b [SPOOLSV]
- The Spooler service is not pausable. Fixes some wbemprox:query tests

svn path=/trunk/; revision=66409
2015-02-22 16:25:20 +00:00
Timo Kreuzer
852b44c786 [PSDK]
Improve / fix range constants in limits.h and intsafe.h, get rid of stuff that shouldn't be there.

svn path=/trunk/; revision=66408
2015-02-22 16:05:51 +00:00
Amine Khaldi
a83b35cc4e [WBEMPROX] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66407
2015-02-22 15:46:17 +00:00
Amine Khaldi
b93f8ae429 [WS2_32] Stub and export GetNameInfoW. CORE-9249
svn path=/trunk/; revision=66406
2015-02-22 15:37:44 +00:00
Eric Kohl
993dffa548 [WKSSVC]
Add the Workstation service.
CORE-9248

svn path=/trunk/; revision=66405
2015-02-22 15:27:35 +00:00
Amine Khaldi
1e0744ebaf [UNICODE] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66404
2015-02-22 15:05:52 +00:00
Eric Kohl
7a09cd28b8 [INCLUDE]
CORE-9248
Add the RPC interface difinition for the Workstation service.

svn path=/trunk/; revision=66403
2015-02-22 14:36:29 +00:00
Giannis Adamopoulos
618837996d [COMCTL32]
- Rebar: paint the area that is not covered by the bands. This is a v6 feature and fixes the ugly non-painted rectangle in the taskbar.

svn path=/trunk/; revision=66402
2015-02-22 13:18:41 +00:00
Johannes Anderwald
68f04beae4 [KS]
- dont access pin descriptor beyond size
- found with special pool

svn path=/trunk/; revision=66401
2015-02-22 10:16:46 +00:00
David Quintana
167a0c4414 Addendum to r66396: Register the shell extension during installation.
svn path=/trunk/; revision=66400
2015-02-22 01:20:54 +00:00
Daniel Reimer
8956c41015 [SHELL32]
German translation update

svn path=/trunk/; revision=66399
2015-02-21 23:39:00 +00:00
Hermès Bélusca-Maïto
acf5c98c36 [VERSION]
- Revision string without the dash. That allows to possibly use a different separator.
- Just use the ROS revision number in the kernel SOS banner, instead of using a convoluted computation that overflows when the revision number is >= 65536. CORE-8877 #resolve #comment Fixed in r66398, thanks!

svn path=/trunk/; revision=66398
2015-02-21 22:38:22 +00:00
David Quintana
391daff8d0 Revert a change that never happened, and apply it to the right file. ;P
svn path=/trunk/; revision=66397
2015-02-21 21:26:18 +00:00
David Quintana
ea2b914576 [NTOBJSHEX]
* Introduce a shell extension that allows the user to browse the NT Object namespace from within the shell.
CORE-9243 #resolve

svn path=/trunk/; revision=66396
2015-02-21 21:21:02 +00:00
Johannes Anderwald
988950d2f3 [INF]
- add swenum to critical device database

svn path=/trunk/; revision=66395
2015-02-21 17:54:42 +00:00
Thomas Faber
9c057aef6e [DESK.CPL]
- Load wallpapers using GDI+ and convert them to bitmap format as needed. We now support PNG and JPEG (and more) wallpapers! Patch by Ricardo Hanke, small modifications by me.
CORE-8802 #resolve

svn path=/trunk/; revision=66394
2015-02-21 17:47:57 +00:00
Timo Kreuzer
e299c2dfe9 [WIN32K]
Fix release build

svn path=/trunk/; revision=66393
2015-02-21 17:28:37 +00:00
Amine Khaldi
b2df4c6fc5 [SHELL32] Addendum to r66383. CORE-4476
svn path=/trunk/; revision=66392
2015-02-21 17:27:41 +00:00
Thomas Faber
69c3ed5de6 [LIBJPEG]
- Restore the ros-diff lost in a sync. Fixes libjpeg.dll exports on MSVC builds.
CORE-9242 #resolve

svn path=/trunk/; revision=66391
2015-02-21 17:18:38 +00:00
Thomas Faber
50468701cf [STREAMCI]
- Revert r66381 since the build failure was the builder's fault, not the code's

svn path=/trunk/; revision=66390
2015-02-21 15:07:28 +00:00
Amine Khaldi
34c7987e0d [CMAKE] Move ccache related handling to the gcc set.
svn path=/trunk/; revision=66389
2015-02-21 14:40:14 +00:00
Giannis Adamopoulos
b5ea02031c [SHELL32]
- Fix crash during shell32:shlfileop test.
CORE-4476

svn path=/trunk/; revision=66388
2015-02-21 14:36:22 +00:00
Amine Khaldi
8c7c00cbc2 * Addendum to r66386.
svn path=/trunk/; revision=66387
2015-02-21 14:34:42 +00:00
Sylvain Petreolle
661bad6b05 Disable PCH use in ccache builds.
svn path=/trunk/; revision=66386
2015-02-21 14:24:19 +00:00
Eric Kohl
1a1b7a15c4 [NTOSKRNL]
NtQueryInformationFile: Implement the FileAllInformation case according to 'File System Internals' page 485.

svn path=/trunk/; revision=66385
2015-02-21 14:19:16 +00:00
Giannis Adamopoulos
6b6f74ec68 [SHELL32]
- Fix build. Also note that the previous patch was from Huw Campbell.

svn path=/trunk/; revision=66384
2015-02-21 12:59:42 +00:00
Giannis Adamopoulos
194015ecae [SHELL32]
- Implement progress dialogs for SHFileOperation
- Patch by Hwu Davies
CORE-4476

svn path=/trunk/; revision=66383
2015-02-21 12:52:58 +00:00
Thomas Faber
af1e5ea7ad [KERNEL32]
- BasepGetModuleHandleExW returns BOOLEAN, not NTSTATUS. Treat it as such.
- Always set last error code on failure in BasepGetModuleHandleExW.
CORE-9241 #resolve

svn path=/trunk/; revision=66382
2015-02-21 12:24:19 +00:00
Johannes Anderwald
fc3d9599a4 [STREAMCI]
- hackfix build #2

svn path=/trunk/; revision=66381
2015-02-21 10:34:13 +00:00
Johannes Anderwald
d50415a948 [PSDK]
- fix build

svn path=/trunk/; revision=66380
2015-02-21 10:14:00 +00:00
Johannes Anderwald
ac5ea38615 [STREAMCI]
- start implement streaming device class installer

svn path=/trunk/; revision=66379
2015-02-21 10:09:36 +00:00
Hermès Bélusca-Maïto
695876f5d8 [NTOS]
- Mispelling + whitespace fixes.
- Move the finalization of the boot logo display *before* we enable strings to be displayed (as on Windows), but *after* having increased the progress bar to 100% (contrary to Windows), so that we can display the progress bar at 100% without any problem and then do the correct transition:
  * either GUI splash-screen --> text-mode emulation console with product name in console header + footer (aka. SOS mode)
  * or SOS mode --> text-mode emulation without any graphics.
  Since it is done before starting SMSS, we can correctly display the strings it may output (or start other native apps) without fearing that after 5 seconds, the screen clears up in front of you.
CORE-9112 #resolve #comment Fixed in r66378, thanks for reporting!

svn path=/trunk/; revision=66378
2015-02-21 01:25:47 +00:00
Hermès Bélusca-Maïto
b52759fd26 Fix MessageBox parameter value (handles ~= pointers --> NULL)
svn path=/trunk/; revision=66377
2015-02-20 23:52:48 +00:00
Hermès Bélusca-Maïto
83343dbae2 [MC files]
CORE-3655 #comment Hackfix the fact that when being compiled with GCC on Linux, compiled messages have their endlines encoded with LF instead of with CR-LF as required by Windows compatibility. This should be normally fixed in windmc (the GCC/binutils message compiler); I've enough complained about that, but not directly to GCC/binutils team. Until they fix their tool, I ask SVN to always store the .mc files with CR-LF endlines. This should "fix" the problem. Suggestion by Thomas Faber.

svn path=/trunk/; revision=66376
2015-02-20 23:36:23 +00:00
Hermès Bélusca-Maïto
5622302062 [SMSS]: Improve some dprints (that prints strings; sometimes they happen to print empty strings for unknown reasons so I need to really check whether they are empty or not); remove extra whitespace at the end of dprints. Initialize a variable.
svn path=/trunk/; revision=66375
2015-02-20 22:03:23 +00:00
Timo Kreuzer
ac84f94b5d [WIN32K]
Add back support for allocator stack backtraces for GDI objects and dump a list of BTs, when the GDI object table is exhausted. Disabled by default.

svn path=/trunk/; revision=66374
2015-02-20 21:25:10 +00:00
Hermès Bélusca-Maïto
e154160e2f [EXPLORER]: Activate Logoff command. Patch by Lee Schroeder plus extra modifs.
CORE-9104 #resolve

svn path=/trunk/; revision=66373
2015-02-20 20:08:52 +00:00
Hermès Bélusca-Maïto
f9b5ca3c79 Move explorer_old to the rosapps.
CORE-9198 #resolve

svn path=/trunk/; revision=66372
2015-02-20 14:54:05 +00:00
Giannis Adamopoulos
7910f9f2f0 [WIN32K][CONSRV]
- Silence a few more debug prints

svn path=/trunk/; revision=66371
2015-02-20 14:19:30 +00:00
Giannis Adamopoulos
0baafb6d87 [WIN32K]
- Silence several debug prints that spam the debug log for no reason

svn path=/trunk/; revision=66370
2015-02-20 13:42:22 +00:00
Thomas Faber
61021517a7 [NTOS:PS]
- In PspExitThread, correctly set the ZeroInit field of the message before calling LpcRequestPort (which would otherwise complain with STATUS_INVALID_PARAMETER and fail to send the message)
- In NtRegisterThreadTerminatePort, dereference the port object in case of failure, not a null pointer
CORE-9234 #resolve

svn path=/trunk/; revision=66369
2015-02-20 12:04:57 +00:00
Thomas Faber
bd97b31dbc [KERNEL32_APITEST]
- Use correct format specifier aka fix GCC build

svn path=/trunk/; revision=66368
2015-02-20 10:34:18 +00:00
Thomas Faber
93c0d33c18 [KERNEL32_APITEST]
- Add a test for process termination behavior. This shows that CreateProcess with CREATE_SUSPENDED followed by TerminateProcess causes a handle leak.
CORE-9234

svn path=/trunk/; revision=66367
2015-02-20 10:29:47 +00:00
Johannes Anderwald
963293b249 [PSDK]
- add dif function codes

svn path=/trunk/; revision=66366
2015-02-20 09:24:47 +00:00
Thomas Faber
5f07c07d64 [KERNEL32]
- Make BaseSetLastNTError return the converted Win32 error code. This will determine the upper 24 bits of EAX in functions that return BOOLEAN FALSE right after calling BaseSetLastNTError, e.g. Wow64EnableWow64FsRedirection. Fixes installers using WiX Toolset (e.g. VS2012 redist) on MSVC builds.
See http://wixtoolset.org/issues/4681/ for the WiX bug that causes this.
CORE-8010

svn path=/trunk/; revision=66365
2015-02-20 07:03:00 +00:00
James Tabor
25b96c6299 [Win32ss]
- Cleanup and remove unused code.

svn path=/trunk/; revision=66364
2015-02-20 06:24:04 +00:00
Hermès Bélusca-Maïto
b1c86da173 [SHORTCUTS]: Shortcut to regedit is to regedit, not to the NT 3.x compatibility stub!!
svn path=/trunk/; revision=66363
2015-02-20 02:09:28 +00:00
Hermès Bélusca-Maïto
10483c52fc Forgot this file ;)
svn path=/trunk/; revision=66362
2015-02-20 02:07:23 +00:00
Hermès Bélusca-Maïto
6d4a7022f5 [SHELL32]: Partial sync:
SHA-1: a08160680be1a3164e882fcc41504f115ba62f12
* shell32: Automatically expand CPL applet path string.
(Hermès Bélusca-Maïto)

svn path=/trunk/; revision=66361
2015-02-20 02:05:46 +00:00
Hermès Bélusca-Maïto
e1ba90be5b [FREELDR]: Code formatting; support drive numbers that can be also specified in particular in hexadecimal: 0x??? or in octal: 0??? (first character starts with '0' so it's OK).
svn path=/trunk/; revision=66360
2015-02-19 21:06:38 +00:00
Hermès Bélusca-Maïto
da54da3feb [WINSRV]: Initialize Context.QueryResult to a meaningful value by default. Spotted by Thomas.
CORE-9229 #resolve

svn path=/trunk/; revision=66359
2015-02-19 20:38:03 +00:00
Pierre Schweitzer
a4da8ab741 [KERNEL32]
OK, Thomas had to convince me that MAX_USHORT + MAX_USHORT + 0x400 + 0x6 cannot overflow an ULONG.
So remove useless check.
By Thomas :-)

svn path=/trunk/; revision=66358
2015-02-19 19:15:46 +00:00
Pierre Schweitzer
d0b90bd6bf [KERNEL32]
Remove trailing spaces.
Patch by Thomas

svn path=/trunk/; revision=66357
2015-02-19 19:10:07 +00:00
Pierre Schweitzer
becaec4f27 [KERNEL32]
Fix heap buffer overflow in case PendingFileRenameOperations already exists.
Spotted by Thomas

svn path=/trunk/; revision=66356
2015-02-19 19:05:56 +00:00
Pierre Schweitzer
5fa459dac2 [KERNEL32]
Fixx 64bits build.
Spotted by Thomas

svn path=/trunk/; revision=66355
2015-02-19 18:42:37 +00:00
Pierre Schweitzer
b8620eab1b [KERNEL32]
Don't pretend that ExceptionRecord.ExceptionInformation[2] is a pointer to a string in case of Delphi exception. This can lead to invalid pointer dereference in DbgPrint then.

For instance:
(../../dll/win32/kernel32/client/except.c:371) Delphi Exception at address: 50075885
(../../dll/win32/kernel32/client/except.c:372) Exception-Object: 00E885A8
(../../dll/win32/kernel32/client/except.c:373) Exception text: 2

svn path=/trunk/; revision=66354
2015-02-19 18:36:32 +00:00
Thomas Faber
b45c1ca3a8 [EXPLORER]
- Fix uninitialized variable use in CTaskSwitchWnd::OnContextMenu

svn path=/trunk/; revision=66353
2015-02-19 16:30:37 +00:00
Thomas Faber
888d828ea7 [PSDK]
- Fix packing for system restore point API types (STATEMGRSTATUS in particular). Fixes VC++ 2012 redist installer.
CORE-8010 #resolve

svn path=/trunk/; revision=66352
2015-02-19 15:42:33 +00:00
Thomas Faber
c845f97fbf [KMTESTS:RTL]
- Add some simple tests for RtlRaiseStatus to the RtlException test
- Add missing volatile in (disabled) stack overflow test that caused an infinite loop on GCC builds
CORE-8773

svn path=/trunk/; revision=66351
2015-02-19 12:55:57 +00:00
James Tabor
d6caab357b [NtUser]
- Fix wine msg test_SetParent tests. See CORE-7447. Show owned pop up code was added for later testing.

svn path=/trunk/; revision=66350
2015-02-19 02:03:53 +00:00
Jérôme Gardou
3bb981743c [CRYPT32]
- Addenratum to r64026: Merge the certificate stores for real.
CORE-5675 #resolve

svn path=/trunk/; revision=66349
2015-02-18 21:27:40 +00:00
Pierre Schweitzer
e8c27f3109 [ROSAUTOTESTS]
Remove redundant GetTickCount() call

svn path=/trunk/; revision=66348
2015-02-18 19:52:04 +00:00
Thomas Faber
e6c4261148 [GDI32_APITEST]
- Refactor EnumFontFamilies test to be more generic, and check for some common expected system fonts. This shows that EnumFontFamilies behaves correctly, but that we're missing the System font in the enumeration.
CORE-9222

svn path=/trunk/; revision=66347
2015-02-18 13:18:30 +00:00
Thomas Faber
4b1e3b1eba [MSXML3_WINETEST]
- Re-enable test_save
CORE-6738 ROSTESTS-82

svn path=/trunk/; revision=66346
2015-02-18 11:44:01 +00:00
Thomas Faber
8c6ef59bc5 [GDIPLUS_WINETESTS]
- Re-enable test_font_metrics, test_logfont and test_fontfamily.
CORE-6660
ROSTESTS-79 CORE-6643 #resolve
- Skip test_font_substitution instead.
ROSTESTS-154

svn path=/trunk/; revision=66345
2015-02-18 11:20:37 +00:00
Thomas Faber
39cc028410 [GDIPLUS_WINETEST]
- Re-enable test_string_functions
CORE-6659 ROSTESTS-78 #resolve

svn path=/trunk/; revision=66344
2015-02-18 10:50:00 +00:00
Thomas Faber
53651189db [WININET_WINETEST]
- Re-enable test_cert_struct in test_secure_connection
ROSTESTS-121 #resolve

svn path=/trunk/; revision=66343
2015-02-18 10:06:46 +00:00
Jérôme Gardou
fddcf61917 [WIN32SS/NTGDI]
- Reject bits data early in SetBitmapBits when it's clear that they can't fit in the destination bitmap.
Fixes ugly Office 2007 rulers showing garbage.

svn path=/trunk/; revision=66342
2015-02-17 20:41:51 +00:00
Jérôme Gardou
d40314e7dd [NTOS/SE]
- Properly dereference thread object in NtOpenThreadTokenEx

svn path=/trunk/; revision=66341
2015-02-17 20:41:47 +00:00
Jérôme Gardou
8b177cb83f [NTOS]
- Properly close handle thread when failing to start it.

svn path=/trunk/; revision=66340
2015-02-17 20:41:40 +00:00
Thomas Faber
b74ab8276c [PSDK]
- Move OFN_DONTADDTORECENT and OFN_ENABLEINCLUDENOTIFY to commdlg.h where they belong

svn path=/trunk/; revision=66339
2015-02-17 18:37:24 +00:00
Thomas Faber
db58f63ba6 [WMIUTILS]
- The dll belongs in system32\wbem; make it so. Spotted by Robert Naumann.
CORE-9212

svn path=/trunk/; revision=66338
2015-02-17 18:23:06 +00:00
Jérôme Gardou
c78bc820f6 [WS2_32]
- Do not free resources at process termination.
 - Free the provider catalog after the handle table, since the latter references the former.

svn path=/trunk/; revision=66337
2015-02-17 15:08:54 +00:00
Jérôme Gardou
52a5043b98 [RTL/DPH]
- Do not merge memory blocks if they don't belong to the same VM "region" (ie not allocated from the same NtAllocateVirtualMemory call)
Fixes failures of ZwProtectVirtualMemory calls.
Bugs see DPH rollin', they hatin'

svn path=/trunk/; revision=66336
2015-02-17 15:08:47 +00:00
Thomas Faber
ddaa717558 [WMIUTILS]
- Import from Wine 1.7.27 (or your choice of any later version)
CORE-9212 #resolve

svn path=/trunk/; revision=66335
2015-02-17 15:07:56 +00:00
Jérôme Gardou
51fd410d89 [NTOSKRNL/MM]
- MiIsEntireRangeCommitted: Ensure the PTE we are checking is really faulted in.
 - Prefer MiPteToPde and MiPdeToPte (which should really be called MiFirstPteInPde) instead of MiAddressToPte and MiPteToAddress
Fixes weird failed ASSERT in page fault handler when using DPH.

svn path=/trunk/; revision=66334
2015-02-17 14:19:05 +00:00
Thomas Faber
873109862d [EXPLORER]
- Load default application icon and display it in the taskbar for windows that have no icon. Fixes "GetIconInfo failed" debug prints all over the place (and looks prettier).
CORE-9211 #resolve

svn path=/trunk/; revision=66333
2015-02-17 12:59:22 +00:00
James Tabor
ec53fab6c4 [NtUser]
- Fix wine msg test_SetFocus tests. Use send message for WM_WINDOWPOSCHANGING. If nothing has been drawn and the no position changed bits set, set no Z order and no redraw. See CORE-7447.

svn path=/trunk/; revision=66332
2015-02-17 08:25:43 +00:00
Thomas Faber
9424c41250 [WIN32K:NTUSER]
- Remove unneeded casts, fix format specifiers, and clarify some logic in co_MsqSendMessage

svn path=/trunk/; revision=66331
2015-02-17 08:08:04 +00:00
James Tabor
d85dd86c4d [User32]
- Add missing wParam for hooks. See CORE-7447.

svn path=/trunk/; revision=66330
2015-02-17 06:42:27 +00:00
Jérôme Gardou
296b072782 [RSHELL]
- Fix use after free (and spanish style issues ;-) )

svn path=/trunk/; revision=66329
2015-02-16 22:40:15 +00:00
Jérôme Gardou
12ac60c6f7 [EXPLORER]
- Prperly initialize members in CStartMenu constructor.

svn path=/trunk/; revision=66328
2015-02-16 22:33:15 +00:00
Jérôme Gardou
b53f6e070e [RSHELL]
- Do not free invalid data.
See MSDN SHBindToParent documentation for details.

svn path=/trunk/; revision=66327
2015-02-16 22:33:08 +00:00
Jérôme Gardou
91ab921a3d [NTDLL_APITEST]
- Add tests showing windows behaviour in case of stack overflow.

svn path=/trunk/; revision=66326
2015-02-16 21:15:55 +00:00
Jérôme Gardou
03d126b2fa [NTDLL_APITEST]
- Add tests showing how NtAllocateVirtualMemory and NtQueryVirtualMemory work together

svn path=/trunk/; revision=66325
2015-02-16 21:15:27 +00:00
Jérôme Gardou
b9ea54f29a [KERNEL32]
- Fix mixed arguments.
CORE-9201 #resolve
CORE-9124 #comment Please retest

svn path=/trunk/; revision=66324
2015-02-16 21:13:36 +00:00
Jérôme Gardou
660ebacbe6 [KERNEL32]
Revert r64525 - Always allocate a guard page at the bottom of the stack.

svn path=/trunk/; revision=66323
2015-02-16 21:12:51 +00:00
Daniel Reimer
14cf90ba59 ... ANSI vs UTF-8... sorry
svn path=/trunk/; revision=66322
2015-02-16 20:44:12 +00:00
Daniel Reimer
06b792b5bf [SERVICES]
German translation & Small fix I think which should be right for English ^^

svn path=/trunk/; revision=66321
2015-02-16 20:27:29 +00:00
Thomas Faber
cc97feb5e1 [BOOTCDREGTEST]
- Add /n switch to rosautotest invocation to see how much of a difference it makes on testbot

svn path=/trunk/; revision=66320
2015-02-16 16:17:22 +00:00
Eric Kohl
723079bd61 [NTOSKRNL]
NtQueryInformationFile: Implement the FileModeInformation case according to 'File System Internals' page 485.

svn path=/trunk/; revision=66319
2015-02-16 15:33:34 +00:00
Thomas Faber
8e230698ba [ROSAUTOTEST]
- Add /n option to suppress console output. May or may not help to speed up testbot runs, but can't hurt to have in here.

svn path=/trunk/; revision=66318
2015-02-16 14:55:39 +00:00
Pierre Schweitzer
d78a21fe33 [WMISVC]
Silence a DPRINT

svn path=/trunk/; revision=66317
2015-02-16 13:40:13 +00:00
Thomas Faber
1ea34407b8 [ROSAUTOTEST]
- Abstract unidirectional anonymous pipes into a CPipe class
- Abstract a process with redirected output into a CPipedProcess class
- Use these abstractions to avoid polling for output from test processes. Instead, use blocking read operations to yield the CPU while waiting for data.
ROSTESTS-144 #resolve

svn path=/trunk/; revision=66316
2015-02-16 13:17:04 +00:00
Eric Kohl
52106a09f2 [SERVICES]
Remove unused prototype.

svn path=/trunk/; revision=66315
2015-02-16 11:52:43 +00:00
Eric Kohl
b34d3ab3cd [SERVICES]
Replace hard-coded strings by string resources.

svn path=/trunk/; revision=66314
2015-02-16 11:47:40 +00:00
Thomas Faber
5329a4681c [PSDK]
- Add missing OUT_SCREEN_OUTLINE_PRECIS, OUT_PS_ONLY_PRECIS & CLIP_DFA_DISABLE definitions aka fix build

svn path=/trunk/; revision=66313
2015-02-16 09:11:13 +00:00
Thomas Faber
fee9806390 [GDI32_WINETEST]
- Sync to Wine 1.7.36
- Properly disable test_dib_formats. ROSTESTS-152, CORE-5922
- Fix skip message in test_mono_bitmap not to point to a resolved bug. ROSTESTS-153, CORE-5922
- Re-enable font tests that were left skipped even though the associated bug is correctly marked as resolved. ROSTESTS-8

svn path=/trunk/; revision=66312
2015-02-16 09:06:45 +00:00
Thomas Faber
b7f3b58ad0 [USER32_WINETEST]
- Re-enable test_shell_window
ROSTESTS-23

svn path=/trunk/; revision=66311
2015-02-16 07:37:19 +00:00
James Tabor
0a97b2b39d [Win32ss]
- Fix wine msg:test_winevents.
- Fix global hooks while sending to same process different thread. Yes, interesting.
- Fix event hooks, use posting (faster) instead of sending. This fixed a problem while sending to the same thread.

svn path=/trunk/; revision=66310
2015-02-16 03:32:46 +00:00
James Tabor
2ff860c8f1 [NtUser]
- This fixes use after free linking in the message system. See CORE-9173. Dedicated to Thomas Faber.

svn path=/trunk/; revision=66309
2015-02-16 03:16:01 +00:00
Hermès Bélusca-Maïto
b4899bb982 [KERNEL32][NTUSER]: Shut up some dprints.
CORE-9186

svn path=/trunk/; revision=66308
2015-02-15 23:55:52 +00:00
Eric Kohl
6a71e26135 [NTOSKRNL]
NtQueryInformationFile: Implement FileAccessInformation and FileAlignmentInformation cases according to 'File System Internals' page 485.

svn path=/trunk/; revision=66307
2015-02-15 23:06:30 +00:00
Hermès Bélusca-Maïto
9d4dbeb5c9 [WINSRV]
- Part 2/2 of SrvLogon (see r66303): load the per-user shutdown timeouts.
- Retrieve those per-user shutdown timeouts from the registry when the user logs on, adapted from Alex' shutdown patch plus existing code.
- Commit the main part of shutdown code (finally!), still unfinished yet:
  * Need to switch to the desktop where the hanging GUI app's window is present,
  * Need to deal with apps from other users
  * What about SYSTEM processes?
  * What about console processes?
- Reuse the old timeout code.
- Fix the sending of WM_QUERYENDSESSION and WM_ENDSESSION messages (this is done by win32k directly; for that winsrv needs just to send one WM_CLIENTSHUTDOWN message with the correct wParam parameter).

Part 13/X
CORE-8322 #comment Big commit in revision 66306!

svn path=/trunk/; revision=66306
2015-02-15 22:57:40 +00:00
Hermès Bélusca-Maïto
c7457ca21e [NTOS]: Less "magic" indices.
svn path=/trunk/; revision=66305
2015-02-15 22:29:50 +00:00
Thomas Faber
05b349a93c [NTOS]
- In ExpReleaseOrWaitForKeyedEvent, always restore previous values for ETHREAD::KeyedWaitValue and ETHREAD::KeyedWaitChain, as these fields have alternative meanings outside of keyed events
- Add missing list walk in ExpReleaseOrWaitForKeyedEvent
- In Nt(WaitFor|Release)KeyedEvent, refuse keys that are not two-byte aligned as shown by Wine tests
- Don't forget to set KTHREAD::Process on thread creation
Fixes hang when running ntdll_winetest:om as well as failing tests.
ROSTESTS-118 #resolve

svn path=/trunk/; revision=66304
2015-02-15 22:20:34 +00:00
Hermès Bélusca-Maïto
3ce6fcf3b2 [USER32]
Implement SrvLogon (client-side), called by the SetWindowStationUser API (called by winlogon) when a user logs-on (or off).
See also http://www.openrce.org/reference_library/win32_call_chains/2003SP1/USER32/SetWindowStationUser and http://www.openrce.org/reference_library/win32_call_chains/2003SP1/USER32/Logon for details.
Part 1/2

svn path=/trunk/; revision=66303
2015-02-15 21:56:03 +00:00
Thomas Faber
c5dcd5d90a [ADVAPI32_WINETEST]
- Skip over service timeout tests because they take too long. This is not a bug, the tests are completing successfully -- however they are designed to cause service manager timeouts and take two minutes in doing so. Testbot time is too valuable to do this on every commit.
ROSTESTS-151

svn path=/trunk/; revision=66302
2015-02-15 18:20:59 +00:00
David Quintana
384d4f06d5 [SHELL32]
* Include enumeration of hidden files in the default shell view, until we have a proper way of toggling it.
CORE-9192

svn path=/trunk/; revision=66301
2015-02-15 18:05:34 +00:00
Thomas Faber
b3038d2a51 [TDILIB][IPHLPAPI][WSHTCPIP]
- Request only the access rights that are actually required in openTcpFile. Fixes many should-be access denied errors originating from netshell. While this doesn't fix the root cause of CORE-9172, it is a required step if we ever want netshell to work for non-Admin users.
CORE-9172

svn path=/trunk/; revision=66300
2015-02-15 17:57:34 +00:00
Thomas Faber
4db087dde9 [OLEAUT32_WINETEST]
- Re-enable test_apm and test_enhmetafile.
ROSTESTS-2

svn path=/trunk/; revision=66299
2015-02-15 17:54:41 +00:00
Thomas Faber
e31687b11f [URLMON_WINETEST]
- Re-enable protocol test.
ROSTESTS-38

svn path=/trunk/; revision=66298
2015-02-15 17:50:18 +00:00
Hermès Bélusca-Maïto
ee1471efd0 [MSISERVER]: Fix few things after commits 66278 and 66279.
[WMISVC]: Add RPCSS dependency (ok it's not really used now since wmisvc is a stub, but it's for the future).

svn path=/trunk/; revision=66297
2015-02-15 17:28:41 +00:00
Pierre Schweitzer
848766e7d3 [BOOTDATA]
Add missing quote.
Spotted by Hermès

svn path=/trunk/; revision=66296
2015-02-15 17:22:13 +00:00
Pierre Schweitzer
0db7698abb [WMISVC]
Add a stub for the "Windows Management Infrastructure" service.
This helps the Intel PRO eth card installer to go a bit farther 

svn path=/trunk/; revision=66295
2015-02-15 17:19:57 +00:00
Sylvain Petreolle
c7f86181e1 Remove duplicated flag KLF_SETFORPROCESS.
Patch by Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=66294
2015-02-15 16:41:08 +00:00
Timo Kreuzer
1492f3e41a [FRAMEDYN]
Fix copypasta in the spec file

svn path=/trunk/; revision=66293
2015-02-15 16:18:18 +00:00
Hermès Bélusca-Maïto
83b14404e5 Forgot those files too.
svn path=/trunk/; revision=66292
2015-02-15 16:11:08 +00:00
Hermès Bélusca-Maïto
2ee57cd570 [WINSRV]: Remove the now-unneeded switch-app dialog that was moved to user32 since revision 51459.
svn path=/trunk/; revision=66291
2015-02-15 16:08:36 +00:00
Sylvain Petreolle
b9d092f271 Fix sysfile association.
Patch by Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=66290
2015-02-15 15:49:33 +00:00
Thomas Faber
ea641395a6 [INF]
- Save inf files as UTF-8 in SVN, convert them to UTF-16 at build time as needed.
CORE-8221

svn path=/trunk/; revision=66289
2015-02-15 15:42:00 +00:00
Thomas Faber
88db04e8d6 [SHELL32]
- Rename "Insert" to "Paste" in CDefaultContextMenu

svn path=/trunk/; revision=66288
2015-02-15 15:21:52 +00:00
Timo Kreuzer
18ee2fa09b [FRAMEDYN]
Fix compilation on x64

svn path=/trunk/; revision=66287
2015-02-15 14:39:02 +00:00
Timo Kreuzer
ee423a157c [LIBS]
Fix some MSVC warnings (and potential bugs) regarding signed/unsigned comparison.

svn path=/trunk/; revision=66286
2015-02-15 11:24:52 +00:00
Timo Kreuzer
5bc307769c [PSDK]
Add _SH_ to processor definitions, fix some processor #ifdefs
Patch by Yuntian Zhang
CORE-7946 #resolve

svn path=/trunk/; revision=66285
2015-02-15 11:22:29 +00:00
Timo Kreuzer
2cb0d0e242 [SHELL32]
Fix prototype of COpenWithDialog::NoOpenDlgProc. DLGPROCs return INT_PTR, not BOOL. Fixes amd64 build.

svn path=/trunk/; revision=66284
2015-02-15 11:21:31 +00:00
Timo Kreuzer
526eda105e [KDVBOX]
Fix amd64 build

svn path=/trunk/; revision=66283
2015-02-15 11:13:30 +00:00
Timo Kreuzer
3a6df0d8b5 [FREELDR]
Fix non-x86 build

svn path=/trunk/; revision=66282
2015-02-15 11:10:09 +00:00
Thomas Faber
e6c56afe8c [KMTESTS]
- Add KmtGetSystemRoutineAddress and use it to avoid importing functions that are not available in some versions of Windows. This allows running kmtests on Windows XP SP3 (and probably Server 2003 SP0/SP2). Note that failures on XP are still not valid bugs, this is purely for convenience!  Dedicated to Jérôme.
ROSTESTS-150

svn path=/trunk/; revision=66281
2015-02-15 10:23:21 +00:00
James Tabor
af36a2a4df [User32]
- Move notify window event to a better location for passing wine msg:test_winevents. See CORE-7447.

svn path=/trunk/; revision=66280
2015-02-15 10:14:18 +00:00
Pierre Schweitzer
c1e830e073 [BOOTDATA]
Errm...
Spotted by Giannis

svn path=/trunk/; revision=66279
2015-02-15 10:02:57 +00:00
Pierre Schweitzer
8ea7e85637 [BOOTDATA]
msiexec can be used as a service (and might be required by some MSIs)

svn path=/trunk/; revision=66278
2015-02-15 09:59:29 +00:00
Thomas Faber
bc8701e5b7 [KMTESTS:KE]
- Enable KeSpinLock test that apparently never made it into testlist.c for some reason?

svn path=/trunk/; revision=66277
2015-02-15 09:29:32 +00:00
Johannes Anderwald
5ff3a2b55c [INF]
- add wdmaudio.inf 

svn path=/trunk/; revision=66276
2015-02-15 09:03:08 +00:00
Hermès Bélusca-Maïto
4c28eeae21 [WINLOGON][USER32]
Fix the explanations of how Windows/ReactOS should shut down (it's winlogon itself that calls NtShutdownSystem, not something else; that story about "SMSS API #1" concerns the SMSS API SmpSessionCompleteApi called by the helper function SmSessionComplete which is in turn called by CSRSS function CsrDereferenceNtSession, when all win32 processes are gone, as it should).
The webpage http://www.reactos.org/wiki/ShutdownProcess should be corrected for.

[USER32]
Whitespace fixes for winstation code.

svn path=/trunk/; revision=66275
2015-02-15 02:07:23 +00:00
Timo Kreuzer
61ec2f8e01 [NTOSKRNL]
Demote the "HACK: RemainingAccess = 0x%08lx  DesiredAccess = 0x%08lx\n" from DPRINT1 to DPRINT, since it's massively spamming the log.
See CORE-9184

svn path=/trunk/; revision=66274
2015-02-15 00:26:41 +00:00
Timo Kreuzer
e07232f673 [WIN32K]
In NtGdiGetDIBitsInternal limit the size of what is being copied back to to usermode to the cjMaxInfo parameter. Fixes crash of Firefox when downloading files.
CORE-8895 #resolve

svn path=/trunk/; revision=66273
2015-02-15 00:05:50 +00:00
Pierre Schweitzer
5b0af50bdc [NTFS]
Query the value of NtfsMftZoneReservation on mount.
Not used yet.
CORE-8725

svn path=/trunk/; revision=66272
2015-02-14 20:55:47 +00:00
Hermès Bélusca-Maïto
4f6f4969d9 [SHELL32]
- magic_value--;
- Don't assign a desktop background colour by default. So that we can get the safe-mode background working (in safe mode), while having the default desktop background colours in normal situations.
Patch by Giannis.

svn path=/trunk/; revision=66271
2015-02-14 19:56:04 +00:00
Thomas Faber
a3e8496b8d [RTL]
- Implement RtlIpv4StringToAddressExW. Patch by Mark Jansen.
CORE-6490

svn path=/trunk/; revision=66270
2015-02-14 19:14:32 +00:00
Timo Kreuzer
279e2f65b3 [DRIVERS]
Fix a few MSVC warnings

svn path=/trunk/; revision=66269
2015-02-14 19:07:36 +00:00
Timo Kreuzer
2566611f13 [CMAKE]
Disable MSVC linker warning LNK4078 (multiple sections found with different attributes) for INIT sections.

svn path=/trunk/; revision=66268
2015-02-14 18:58:52 +00:00
Timo Kreuzer
d932c7c5bf [PSDK]
Add #ifdef include guards to winnt.h. RC doesn't seem to support #pragma once and emits a redefinition warning, since with RC we first include winnt.h without STRICT defined, then again from windef.h with STRICT defined.

svn path=/trunk/; revision=66267
2015-02-14 17:04:42 +00:00
Timo Kreuzer
1605785f0b [CMAKE]
- Disable warning C4800: forcing value to bool 'true' or 'false' (performance warning). This  is emitted when assigning an integer value to a C++ bool, which is always true (1) or false (0), so assigning an integer to it, will result in an implicit comparison against 0. But "fixing" this warning by adding an explicit comparison ("bool f = (i != 0);") will actually result in LESS efficient code (for whatever reasons). So this warning can be considered entirely useless and counter productive.
- Remove C4018 (signed/unsigned mismatch) from the TODO in the disable list. A comparison between an unsigned and a signed value will very likely result in wrong behavior and can easily cause hard to spot security bugs (e.g. when doing overflow checks). It is also often easy to fix.

svn path=/trunk/; revision=66266
2015-02-14 15:44:44 +00:00
Pierre Schweitzer
4490614032 [NTFS]
NtfsMoonWalkID():
- Do not allow opening a file by ID if it's not in use any longer
- Do not attempt to create the full path, if an error occured during walk

svn path=/trunk/; revision=66265
2015-02-14 15:41:44 +00:00
Pierre Schweitzer
483c6f32a5 [NTFS]
Simplify the implementation of the "Open by ID" feature of our driver.
Instead of creating singleton FCB not linked to the rest of FS tree, just walk the whole path down, to recreate it.

This doesn't make nfi work properly though. Will investigate more.

CORE-8725

svn path=/trunk/; revision=66264
2015-02-14 15:35:35 +00:00
Timo Kreuzer
e713b40c77 [SPEC2DEF]
Silence warning about ignored C++ redirections

svn path=/trunk/; revision=66263
2015-02-14 14:28:02 +00:00
Timo Kreuzer
0be5288cdb [GDI32_APITEST]
Add additional tests for CreateBitmap and fix a test.
Patch by Victor Martinez
ROSTESTS-56 #resolve

svn path=/trunk/; revision=66262
2015-02-14 14:07:50 +00:00
David Quintana
a15598b25c [BROWSEUI]
* Convert some leftover DbgPrints to TRACEs and ERRs.

svn path=/trunk/; revision=66261
2015-02-14 14:00:24 +00:00
Timo Kreuzer
35862dad78 [GDI32_APITEST]
Fix GCC build

svn path=/trunk/; revision=66260
2015-02-14 13:24:54 +00:00
Timo Kreuzer
dd25b0e4c0 [GDI32_APITEST]
Add tests for OffsetRgn, PaintRgn and FrameRgn, fix 1BPP DIB creation in InitStuff()

svn path=/trunk/; revision=66259
2015-02-14 13:19:02 +00:00
Thomas Faber
46e350e52c [COM_APITEST]
- Add classes found in Wine's shell32_classes.idl and browseui_classes.idl

svn path=/trunk/; revision=66258
2015-02-14 12:59:16 +00:00
Thomas Faber
094a54bd50 [PACKAGES]
- Copy libwinpthread-1.dll if present instead of forcing the use of a specific set of GnuTLS binaries. Partially reverts r66110. Should fix testbot problems (mshtml_winetest:events in particular).
CORE-9167

svn path=/trunk/; revision=66257
2015-02-14 12:03:58 +00:00
Timo Kreuzer
529aae440b [GDI32_APITEST]
Fix InitStuff(), declare the 32 bpp DIB array 2 dimensional and make it 8x8 in size.

svn path=/trunk/; revision=66256
2015-02-14 11:25:02 +00:00
Timo Kreuzer
151e583938 [CMAKE]
Fix the fix. (tm)

svn path=/trunk/; revision=66255
2015-02-14 11:09:31 +00:00
Timo Kreuzer
ec1c6cbde1 [CMAKE]
Fix bugs in start/end_module_group, found by Jérôme.

svn path=/trunk/; revision=66254
2015-02-14 11:01:58 +00:00
Pierre Schweitzer
4a5d15129b [IPHLPAPI]
Add the missing loop iterator in GetAdaptersAddresses().
This fixes infinite loop, and fixes Firefox 3.6 boot.

CORE-9051 #resolve #comment Fixed in r66253


svn path=/trunk/; revision=66253
2015-02-14 08:02:08 +00:00
Hermès Bélusca-Maïto
d3b9c68d22 [WINLOGON]
- Reshuffle a bit some code.
- Never fail if the kill-COM-processes thread fails to be created.
- WlxLogoff GINA callback *must* be called *after* our logoff handling (with HandleLogoff). This is what happens on Windows (just add breakpoints on ExitWindowsEx and on WlxIsLogoffOk and WlxLogoff, and enable winlogon tracing).

[WIN32K]
Rename a flag to something more meaningful, and fix a flag filtering bug: lParams = wParam & something; ---> lParams = lParam & something; (the wParam is used for something else).

Part 12/X
CORE-8322

svn path=/trunk/; revision=66252
2015-02-14 05:27:55 +00:00
Timo Kreuzer
31e18a472f [ROSTESTS]
Create rostests module group. You can now compile rostests with "ninja rostests". Dedicated to Colin.

svn path=/trunk/; revision=66251
2015-02-13 20:20:52 +00:00
Timo Kreuzer
acc5a32efa [CMAKE]
Add support for "module groups". These are meta targets that automatically include all targets using set_module_type() that are included between start_module_group(name) and end_module_group().

svn path=/trunk/; revision=66250
2015-02-13 20:19:51 +00:00
Hermès Bélusca-Maïto
b8a680b61e [CONSRV]: Remove unused commented DtbgIsDesktopVisible.
svn path=/trunk/; revision=66249
2015-02-13 16:19:14 +00:00
Hermès Bélusca-Maïto
71b4e606fd [BASESRV]: Only SHUTDOWN_NORETRY can be set via Get/SetProcessShutdownParameters APIs.
svn path=/trunk/; revision=66248
2015-02-13 16:16:28 +00:00
Johannes Anderwald
c75d1415e8 [IPHLPAPI]
- hackplement GetExtendedTcpTable class TCP_TABLE_OWNER_PID_ALL
- fixes XAMPP control panel startup

svn path=/trunk/; revision=66247
2015-02-13 15:03:45 +00:00
Johannes Anderwald
0cffc5a67c [PSDK]
- add MIB_TCPROW_OWNER_PID, MIB_TCPTABLE_OWNER_PID types

svn path=/trunk/; revision=66246
2015-02-13 14:58:05 +00:00
James Tabor
fee28b842e [NtUser]
- Fix wine msg:test_SendMessageTimeout. Do not allow the message to pass on after a timeout.

svn path=/trunk/; revision=66245
2015-02-13 13:45:11 +00:00
James Tabor
89e2d8aeb8 [NtUser]
- Use a real timer for caret. This should cleanup message testing from those random system timer messages. See CORE-7447.

svn path=/trunk/; revision=66244
2015-02-13 13:39:57 +00:00
Thomas Faber
f0c36353f3 [WIN32K:NTUSER]
- Assert sanity of object reference counts in UserReferenceObject, UserDereferenceObject and UserDeleteObject. If you hit a cLockObj < 0x10000 assertion failure, you found yourself a use after free (RtlFreeHeap will put a LIST_ENTRY in this location, so a freed item has a kernel pointer there).
See CORE-8703 for an example.

svn path=/trunk/; revision=66243
2015-02-13 10:11:50 +00:00
Thomas Faber
c4f27cbca8 [GDI32_APITEST]
- Fix stack buffer overflow in InitPerBitDepth
ROSTESTS-147 #resolve

svn path=/trunk/; revision=66242
2015-02-13 09:06:00 +00:00
James Tabor
cc64141e3f [NtUser]
- This should fix dialog breakage due to r66237.

svn path=/trunk/; revision=66241
2015-02-13 01:03:38 +00:00
Hermès Bélusca-Maïto
fc6cd9e51d [WINLOGON]
- Implement KillComProcesses that just kills with force and without any notification back to winlogon, any remaining app that is still alive even if we asked before to kill apps (it's just the aim of this function, not more).
- Fix internal flags according to WinDbg sessions with Win2k3 + tracing checked build winlogon (testing logoff/shutdown/reboot from winlogon itself and when using the "shutdown" command).
- FIXME: Manage EWX_FORCE flag in winlogon...

[WINSRV]
Fix a DPRINT.

[WIN32K]
- Introduce a NotifyLogon function to manage winlogon notifications (when we shutdown and "end" shutdown steps, or cancel it).
- Fix some flags settings.

Part 11/X
CORE-8322

-------
This is a test:
!error !rot13 !reebe !ebg13 !error !rot13 !reebe !ebg13

svn path=/trunk/; revision=66240
2015-02-12 23:35:58 +00:00
James Tabor
adf709aee1 [NtUser]
- Fix dialog breakage due to r66237.

svn path=/trunk/; revision=66239
2015-02-12 23:10:10 +00:00
James Tabor
56ed054411 [NtUser]
- Fix wine msg.c:test_quit_message tests.

svn path=/trunk/; revision=66238
2015-02-12 21:33:43 +00:00
James Tabor
b390d903ad [NtUser]
- Reorder Destroy and Free window, getting close to how wine does it. Still more work is needed.

svn path=/trunk/; revision=66237
2015-02-12 21:28:39 +00:00
Timo Kreuzer
c940d08a6a [WIN32K]
Initialize EBRUSHOBJ.psoMask in EBRUSHOBJ_vInit. Should fix CORE-9165

svn path=/trunk/; revision=66236
2015-02-12 09:18:20 +00:00
Thomas Faber
f1d9eded2c [NTOS:MM]
- Set aside some additional system PTEs if special pool is enabled
CORE-8680

svn path=/trunk/; revision=66235
2015-02-12 09:14:52 +00:00
James Tabor
d0376b2093 [NtUser]
- Fix the results from the new API CreateWindowEx tests. Message sequence and isolating each job Destroy and Free perform will come later. Refer to CORE-8703. This may not fix the crash while in wine test User32:msg.c.
- Dedicated to Thomas Faber.
- Fix build window list using threads. The link list works okay for locking but for tracking thread windows, use the snapshot method.

svn path=/trunk/; revision=66234
2015-02-12 00:17:41 +00:00
James Tabor
8f317b9b09 [ApiTest]
- Add Thomas Faber API test from CORE-8703.

svn path=/trunk/; revision=66233
2015-02-11 23:53:08 +00:00
Timo Kreuzer
c34281f198 [MESA]
Partly sync find_value() with MESA 10.4.4. Fixes endless loop when GoogleEarth is started. GoogleEarth now loads and displays the earth, but it doesn't handle any input and makes the entire GUI hang.

svn path=/trunk/; revision=66232
2015-02-11 21:36:01 +00:00
Timo Kreuzer
becf1bd404 [WIN32K]
Implement support for hatch brush masks.

svn path=/trunk/; revision=66231
2015-02-11 21:35:48 +00:00
Timo Kreuzer
88cc747e0b [WIN32K]
Fix handling of mask bitmap in NtGdiMaskBlt

svn path=/trunk/; revision=66230
2015-02-11 21:35:09 +00:00
Timo Kreuzer
ab543f2e54 [WIN32K]
- Handle the case where we have a masked ROP, but no mask surface in EngBitBlt
- Alloc ROPs with a mask in EngPaint
Fixes ASSERT when GoogleEarth is launched.

svn path=/trunk/; revision=66229
2015-02-11 21:34:42 +00:00
Timo Kreuzer
aad6643529 [WIN32K]
Add minimal infrastructure for handling pattern brush masks.

svn path=/trunk/; revision=66228
2015-02-11 21:34:11 +00:00
Timo Kreuzer
3035893507 [WIN32K]
Improve naming of some BRUSH fields and set the correct fields to the correct values (ulStyle was not for the brush style, but the hatch style!)

svn path=/trunk/; revision=66227
2015-02-11 21:33:50 +00:00
Timo Kreuzer
1b7dcc47ca [WIN32K]
- Make sure PENs and BRUSHes are properly initialized.
- Fix BRUSHATTR allocation
- enable BRUSHATTR deallocation
- Remove some obsolete defines

svn path=/trunk/; revision=66226
2015-02-11 21:33:24 +00:00
Timo Kreuzer
a9a2c6971f [WIN32K]
Fix ROP2 value coming from user mode before using it.

svn path=/trunk/; revision=66225
2015-02-11 21:32:54 +00:00
Timo Kreuzer
cc61579cf1 [WIN32K]
Simplify ROP4_USES_* macros

svn path=/trunk/; revision=66224
2015-02-11 21:32:24 +00:00
Hermès Bélusca-Maïto
ccb97ad07d [WIN32K]: Fix an insecure user buffer reading/writing. Caught by Thomas Faber, thanks!
CORE-8322

svn path=/trunk/; revision=66223
2015-02-11 20:12:30 +00:00
Thomas Faber
07232c5dd8 [SHELL32]
- Show a confirmation dialog when emptying the recycle bin. Patch by Robert Naumann, with some modifications by me.
CORE-9006 #resolve

svn path=/trunk/; revision=66222
2015-02-11 11:06:12 +00:00
Timo Kreuzer
4b22cb6483 [GDI32_APITEST]
Add more tests for MaskBlt

svn path=/trunk/; revision=66221
2015-02-10 22:33:19 +00:00
Timo Kreuzer
95d5773b2e [GDI32_APITEST]
Add more helper code

svn path=/trunk/; revision=66220
2015-02-10 22:31:17 +00:00
Daniel Reimer
bd1dc3f8ca [BROWSEUI]
Fix german layout to... look better.

svn path=/trunk/; revision=66219
2015-02-10 21:02:11 +00:00
Thomas Faber
a7c7e5b7cf [GDI32_APITEST]
- Fix flakiness in GetDIBits test

svn path=/trunk/; revision=66218
2015-02-10 20:29:54 +00:00
Hermès Bélusca-Maïto
9c52a6c77b [CONSRV]: Fix a DPRINT.
svn path=/trunk/; revision=66217
2015-02-10 18:27:34 +00:00
Aleksandar Andrejevic
7ffd32d418 [FAST486]
Implement Fast486FpuMultiply properly.


svn path=/trunk/; revision=66216
2015-02-10 17:29:26 +00:00
Daniel Reimer
fdc2ad5b23 [BROWSEUI]
German update.
(Is it possible that our browseui is not even similar to the one from Win 5.2?)

svn path=/trunk/; revision=66215
2015-02-10 02:03:35 +00:00
Daniel Reimer
ab2c8401b7 [BROWSEUI]
Sync all languages with the once more not synced English one... Every language has a different state and no one sees that if the new strings are not added in there. At least add the English original. Thx for understanding.
DIALOG -> DIALOGEX

svn path=/trunk/; revision=66214
2015-02-09 23:25:49 +00:00
Giannis Adamopoulos
791bd8a318 Fix build on unix hosts
svn path=/trunk/; revision=66213
2015-02-09 22:31:53 +00:00
Giannis Adamopoulos
bb9cc13c1f [BROWSEUI]
- Implement CProgressDialog based on wine
- Patch by Huw Campbell, improved by me
CORE-4476

svn path=/trunk/; revision=66212
2015-02-09 22:29:23 +00:00
Thomas Faber
fd227cda35 [INCLUDE]
- Fix CListView::HitTest. Fixes stack corruption when dragging files on the desktop.
CORE-9143 #resolve

svn path=/trunk/; revision=66211
2015-02-09 19:59:59 +00:00
Thomas Faber
c066cbd438 [USER32]
- In ICO_ExtractIconExW, don't try to return two icons if only one was requested. Fixes stack corruption.
CORE-9142 #resolve

svn path=/trunk/; revision=66210
2015-02-09 19:04:42 +00:00
Giannis Adamopoulos
7b2c9d42ef [COM_APITEST]
- Test the interfaces exposed by CLSID_ProgressDialog
CORE-4476

svn path=/trunk/; revision=66209
2015-02-08 23:47:11 +00:00
Thomas Faber
3df35a13be [DDK]
- Add additional list entry checks that can be optionally enabled by defining EXTRA_KERNEL_LIST_ENTRY_CHECKS. These checks warn against attempts to remove items from an empty list, which can easily be an error (and is trivial to avoid where it's not).
- Enable these checks by default for ReactOS code
CORE-8419 #resolve

svn path=/trunk/; revision=66208
2015-02-08 14:22:26 +00:00
Thomas Faber
5a1de25f17 [NTOS]
- Avoid removing list entry if the list is empty in IopUnQueueIrpFromThread
CORE-8419

svn path=/trunk/; revision=66207
2015-02-08 14:15:45 +00:00
Thomas Faber
a5667eedbc [DDK]
- Add list entry security checks equivalent to those in current WDKs. This is useful for ROS because it detects memory corruption very quickly.
CORE-8419

svn path=/trunk/; revision=66206
2015-02-08 13:22:06 +00:00
Eric Kohl
f2772f2806 [NTOSKRNL]
Implement NtSaveMergedKeys and its backend CmSaveMergedKeys.

svn path=/trunk/; revision=66205
2015-02-08 11:49:58 +00:00
Thomas Faber
f142ee5329 [DDK]
- Add RtlFailFast and FAST_FAIL_* codes
CORE-8419

svn path=/trunk/; revision=66204
2015-02-08 10:57:47 +00:00
Johannes Anderwald
89896f9912 [PORTCLS]
- fix crash / assert triggered with cwawdm driver
- fix irp leak
- CORE 7822

svn path=/trunk/; revision=66203
2015-02-08 08:11:51 +00:00
Hermès Bélusca-Maïto
3d3bdc5873 [WINSRV]: Remove some deprecated code, keep other parts for reusage later on; cleanup SrvExitWindowsEx. If you enable the NotifyAndTerminateProcess call, you get a basic win32 process termination. This is now where the real work starts: do not kill CSRSS nor Winlogon, do not kill processes from other sessions, etc... Deal with console apps; display timeout dialog, and focus on the app that blocks shutdown by switching to the correct desktop. And we MUST NOT use user32 desktop APIs for switching to the different desktops, but we need to directly call win32k!! (for reasons that will appear later on; not implemented at the moment). Giannis, I will need your help for that!
Part 10/X
CORE-8322

svn path=/trunk/; revision=66202
2015-02-08 00:54:22 +00:00
Thomas Faber
683c14c278 [SPEC2DEF]
- Don't warn about symbols that should be private on MSVC builds. Link already does this.
CORE-8445

svn path=/trunk/; revision=66201
2015-02-08 00:00:30 +00:00
Thomas Faber
b8808ef996 [CMAKE]
- Support NO_PRIVATE_WARNINGS parameter when invoking spec2def to suppress warnings about symbols that should be private
- Disable such warnings for msxml3, ole32 and rsaenh
CORE-8445

svn path=/trunk/; revision=66200
2015-02-07 23:54:15 +00:00
Hermès Bélusca-Maïto
41180fb6b0 [SPEC2DEF]: Display the -private exports warning *only* when making import libs.
CORE-8445 #comment -private warning only displayed for import libs.

svn path=/trunk/; revision=66199
2015-02-07 21:42:26 +00:00
Thomas Faber
cfcdf14cef [SPEC2DEF]
- Remove space before colon in error messages

svn path=/trunk/; revision=66198
2015-02-07 21:20:15 +00:00
Hermès Bélusca-Maïto
38bb64ba24 [WINLOGON]
- Add DPRINTs to monitor how shutdown goes on (obviously they will go away when shutdown on ROS will be working).
- Add dumb handler for LN_LOGOFF_CANCELED message (unused for now...)

[WIN32K]: DPRINTs added for monitoring shutdown.

[WINSRV]: Start to plugin the whole thing (using pieces of Alex' shutdown patch):
- We need to use a "shutdown" loop (for UserThreadInitiateShutdown win32k call) for being able to cancel shuts down (not implemented yet).
- Add the "magic" call to CsrShutdownProcesses that calls the Shutdown callback of each CSR server for each Win32 process (these are those callbacks that do the real job of terminating the apps, displaying the "Kill the app" dialog, etc...). In few words, the old (disabled) code of InternalExitReactos need to go into those shutdown callbacks (but this is for other commits!).

Part 9/X

CORE-8322 #comment Continue plugging in the shutdown code (from Alex' patch) in WINSRV with adaptations into WINLOGON (+ adding DPRINTs for controlling the whole thing).

svn path=/trunk/; revision=66197
2015-02-07 20:46:27 +00:00
Amine Khaldi
aeaff2bf59 [WIN32K:INCLUDES] Some formatting fixes. NFC.
svn path=/trunk/; revision=66196
2015-02-07 19:14:42 +00:00
Timo Kreuzer
981aafb792 [WIN32K]
Fix the ROP code passed to IntEngStretchBlt from NtGdiStretchDIBitsInternal. Fixes crash of Nimbus Notes installer.
CORE-9048 #resolve

svn path=/trunk/; revision=66195
2015-02-07 17:51:20 +00:00
Hermès Bélusca-Maïto
159c00fe95 [WIN32k:includes] Whitespace fixes.
svn path=/trunk/; revision=66194
2015-02-07 16:19:57 +00:00
Timo Kreuzer
880a4bf3de [FREELDR]
- #ifdef DBG -> #if DBG
- #if 0 DbgDumpMemoryMap()

svn path=/trunk/; revision=66193
2015-02-07 15:52:18 +00:00
Hermès Bélusca-Maïto
b8d8fbdc9d [WINLOGON][WIN32K]
Move the shutdown privilege check from winlogon to win32k (function "UserInitiateShutdown") as it should be done.

[WIN32K]
- Introduce the pair of UserInitiateShutdown/UserEndShutdown calls that should be called when WINSRV starts a shutdown (and when it finishes it). In particular it is in UserInitiateShutdown that we need to check whether the caller has the rights to perform a shutdown (it should also have a valid window station).
- Remove the ROS-specific TWOPARAM_ROUTINE_EXITREACTOS call that is traded for Win2k3-compatible call to UserInitiateShutdown.

[WINSRV]
Hackfix our current ExitWindowsEx functionality (based on a patch by Alex made against r46050 for win32csr) to make it "compatible" with the improvements in win32k: impersonate the caller and call the UserInitiateShutdown win32k system call (instead of the TWOPARAM_ROUTINE_EXITREACTOS). More will come later on.

[USER32]
Win32k can require performing shutdown in an asynchronous way (needed also on WINSRV side) so we need to put all the code in a worker thread.

Part 8/X (part 6 was r65693 and part 7 was r66186).

CORE-8322 #comment Start to add Alex' win32csr shutdown patch in WINSRV; fixes for winlogon and additions to win32k.

svn path=/trunk/; revision=66192
2015-02-07 15:26:42 +00:00
Timo Kreuzer
8e988cc2f3 [MKHIVE]
Add back CmpAllocate prototype. Fixes MSVC warnings.

svn path=/trunk/; revision=66191
2015-02-07 15:05:04 +00:00
Giannis Adamopoulos
42554e6098 [SHELL32]
- Get rid of IDD_FILE_COPY dialog. It was never used, never completed and windows don't really have such a dialog.
- Remove SHShowFileOperationDialog which was never completed. This will be replaced shortly with a working solution by Huw Davies 

svn path=/trunk/; revision=66190
2015-02-07 14:42:39 +00:00
Thomas Faber
f3b718e042 [RTL]
- Implement RtlIpv4StringToAddressW. Dedicated to Jérôme. Thanks to the countless reviewers.
CORE-6490

svn path=/trunk/; revision=66189
2015-02-07 13:24:29 +00:00
Thomas Faber
008adec92d [WIN32K]
- Do not use an uninitialized variable in UserSetProcessWindowStation. Feel free to fix this properly

svn path=/trunk/; revision=66188
2015-02-07 11:11:37 +00:00
Thomas Faber
16c8f0601d [RTL]
- Implement RtlIpv4StringToAddressA and RtlIpv4StringToAddressExA using their -W counterparts
CORE-6490

svn path=/trunk/; revision=66187
2015-02-07 10:07:24 +00:00
Hermès Bélusca-Maïto
3e714d22fb [WINLOGON][WIN32K]: Tend towards Win2k3-compatible winlogon logoff/shutdown messaging. Something that needs to be fixed is that it is not winlogon that checks whether the app requesting the shutdown has the correct rights, but it is win32k. I temporarily disable this check in winlogon (it's not as if we introduced a security breach in ReactOS ^^)
svn path=/trunk/; revision=66186
2015-02-07 01:18:40 +00:00
Hermès Bélusca-Maïto
94c27d3aeb [WINSRV]: Remove a long standing hack (added 4 years ago) that is now useless.
CORE-5138 #comment Hack from r51460 finally removed.

svn path=/trunk/; revision=66185
2015-02-06 23:29:09 +00:00
James Tabor
cc48a3494b [User32]
- Patch by Huw Davies : Merge the blitting of the centered and non-centered cases.

svn path=/trunk/; revision=66184
2015-02-06 21:17:10 +00:00
James Tabor
e0152471f9 [WineTests|User32]
- Sync Combo to wine head. Patch by Huw Davies : Make the combo's listbox a topmost window. See CORE-5186 for prior report.

svn path=/trunk/; revision=66183
2015-02-06 21:07:59 +00:00
James Tabor
4cb4ee6326 [User32]
- Patch by Piotr Caban : Only store dialog focus when window is hidden or inactive. Only use DIALOGINFO-> hwndFocus to store last focus of inactive windows.

svn path=/trunk/; revision=66182
2015-02-06 20:57:45 +00:00
James Tabor
d783274010 [WineTests|User32]
- Sync Dialog to wine head.

svn path=/trunk/; revision=66181
2015-02-06 20:56:57 +00:00
Jérôme Gardou
fcddf62f18 [KMTEST/TCPIP]
- Add tests checking for TDI_CONNECT behaviour.

svn path=/trunk/; revision=66180
2015-02-06 10:49:04 +00:00
Hermès Bélusca-Maïto
51d68a3329 [FREELDR]
- For now, only activate custom ReactOS boot on non-x86 builds.
- Fix INI section item list initialization before using it! Fixes custom ReactOS boots (ie. remove an invalid heap free). Now custom ReactOS boots work!

svn path=/trunk/; revision=66179
2015-02-06 01:21:45 +00:00
Hermès Bélusca-Maïto
149e5e961a [SHELL32]
- Fix registry value retrieval with RegGetValue (RRF_RT_REG_EXPAND_SZ has a non-obvious functioning: it should be used with NO_EXPAND flag. Otherwise use RRF_RT_REG_SZ to retrieve REG_SZ values, or REG_EXPAND_SZ values with automatic expansion as expected). CORE-9001 #resolve #comment Fixed, thanks for reporting!
- Fix whitespace.

svn path=/trunk/; revision=66178
2015-02-06 00:07:23 +00:00
James Tabor
b07541cc5d [Win32ss]
- Validate the parent window before locking it. Attempt to fix CORE-9117.

svn path=/trunk/; revision=66177
2015-02-05 23:46:57 +00:00
Amine Khaldi
bff824b2ca [DLLs] Revert r66167 (Privatize the exports that should be so). Fixes MSVC build. Of course the glorious GCC toolchain is oblivious to this.
svn path=/trunk/; revision=66176
2015-02-05 22:12:55 +00:00
James Tabor
4f897d6aa9 [User32]
- Return timeout if the count and wait time is zero. This is a wine hack and fixes two related mgs:test_MsgWait* tests. Attempt to fix CORE-9117. Not sure if MsgWaitForMultipleObjects is the problem.

svn path=/trunk/; revision=66175
2015-02-05 21:31:05 +00:00
Hermès Bélusca-Maïto
d511783a3c [FREELDR]: Remove some extra newlines at the end of error messages that are displayed via message boxes, and also for few of them, use the fact that our message boxes implement printf-like features.
svn path=/trunk/; revision=66174
2015-02-05 21:24:26 +00:00
Hermès Bélusca-Maïto
927ab9996d [FREELDR]: Fix initialization of BootPath variable, and add some explanation comment as requested long time ago by Pierre.
svn path=/trunk/; revision=66173
2015-02-05 21:17:35 +00:00
Timo Kreuzer
23a57a334f [W32KNAPI]
Load NtGdiFlushUserBatch dynamically to allow loading on Win 2003, where the function does not exist.
ROSTESTS-131 #resolve

svn path=/trunk/; revision=66172
2015-02-05 10:10:33 +00:00
Timo Kreuzer
2efb302756 [GDI32]
CORE-8350 #comment Fix return value on error in RealizePalette. #resolve

svn path=/trunk/; revision=66171
2015-02-05 09:35:54 +00:00
Aleksandar Andrejevic
af6093b4a5 [FAST486]
Implement FRNDINT.


svn path=/trunk/; revision=66170
2015-02-05 01:03:09 +00:00
Hermès Bélusca-Maïto
63773511d0 [FREELDR]: Add some debug information when searching for PCI routing tables.
svn path=/trunk/; revision=66169
2015-02-05 00:43:39 +00:00
James Tabor
3c936843c2 - Missed this one.
svn path=/trunk/; revision=66168
2015-02-05 00:13:51 +00:00
Hermès Bélusca-Maïto
6ee06a3b26 [DLLs]: Privatize the exports that should be so.
svn path=/trunk/; revision=66167
2015-02-05 00:12:12 +00:00
James Tabor
fe753e82c7 [Win32ss]
- Setup system cursors and icons. Could help with Themes.
- Set default cursor to the message queue structure.
- Fix wine cursor icon tests. Fix ATI cursor passing issue.
- Fix that sticky mouse cursor while the screen saver is on.
- Move cursor code from User32 and shake that pop up window too.
- Setup for window station security checking.
- Dedicated to the great work by Jérôme Gardou. Doing ones best to preserve his original code!

svn path=/trunk/; revision=66166
2015-02-05 00:11:35 +00:00
Hermès Bélusca-Maïto
aa19105965 [SPEC2DEF]
- Warn about symbols that should be private. Patch by Thomas Faber. CORE-8445 #resolve #comment Committed in revision 66165. It's also nice/useful to get the warnings even if we are not generating an import lib (example when building rsaenh): MSVC warns also in this case.
- Improve error messages.
- some_ptr = 0; ---> use NULL instead.
- remove useless extra parentheses.

svn path=/trunk/; revision=66165
2015-02-04 23:56:23 +00:00
James Tabor
9491749bfd [NtUser]
- Add object handle information and set station user support.

svn path=/trunk/; revision=66164
2015-02-04 21:59:15 +00:00
Hermès Bélusca-Maïto
2ff70a1a12 [MSPAINT]: Improve help menu name in some languages.
Patch by Jared.
CORE-9087 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=66163
2015-02-04 21:34:22 +00:00
Daniel Reimer
5c1c0cf9fc [RAPPS]
Fix broken link to Total Commander
CORE-9123 #resolve #comment Please retry. Thx for help.

svn path=/trunk/; revision=66162
2015-02-04 21:27:20 +00:00
Jérôme Gardou
f8de863698 [NTDLL]
- use the edx register to store the function pointer to the syscall trampoline.
This is how google Chrome checks if an exported function is a system call or not.
See https://chromium.googlesource.com/chromium/src.git/+/master/sandbox/win/src/service_resolver_32.cc and https://bugs.winehq.org/show_bug.cgi?id=21232 for details

svn path=/trunk/; revision=66161
2015-02-04 16:58:41 +00:00
Amine Khaldi
667174effd [TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-7861
svn path=/trunk/; revision=66160
2015-02-04 14:58:20 +00:00
Amine Khaldi
d952727844 [SHELL32] Move some *RecycleBin*() functions to a more appropriate source file. Improve header inclusions.
svn path=/trunk/; revision=66159
2015-02-04 09:13:43 +00:00
Timo Kreuzer
949aef7e6c [GDI32_APITEST]
Add simple tests for RealizePalette.
CORE-8350 #comment Tests show that the patch is not correct.

svn path=/trunk/; revision=66158
2015-02-04 09:02:25 +00:00
Timo Kreuzer
910b673508 [WIN32K]
Always update surface flags in EngModifySurface

svn path=/trunk/; revision=66157
2015-02-04 08:21:54 +00:00
Aleksandar Andrejevic
ec76f48f58 [FAST486]
Implement FDECSTP, FINCSTP and FXTRACT.


svn path=/trunk/; revision=66156
2015-02-04 03:22:48 +00:00
Hermès Bélusca-Maïto
6af8dff1f8 [FAST486]: Use a more "regular" syntax (i.e. understandable by other compilers than GCC).
svn path=/trunk/; revision=66155
2015-02-04 03:12:03 +00:00
Aleksandar Andrejevic
0027e5a95a [FAST486]
Implement FCHS, FABS, FTST, FXAM, FLD1, FLDL2T, FLDL2E, FLDPI, FLDLG2, FLDLN2 and FLDZ.


svn path=/trunk/; revision=66154
2015-02-04 02:47:13 +00:00
Hermès Bélusca-Maïto
56608c8fe0 [MPLAY32]: Use a consistent type/naming for mci errors.
svn path=/trunk/; revision=66153
2015-02-04 01:42:11 +00:00
Hermès Bélusca-Maïto
3c758ecb42 [MPLAY32]
Build the Open-File filter mask in runtime, according to the supported extensions and media devices registered in the registry.
Patch by Ricardo Hanke.
CORE-7883 #resolve #comment Committed, with number-of-chars vs. number-of-bytes fixes by me, plus minor modification to build the filter only once when mplay32 is launched, and use a default filter if runtime filter build fails.

svn path=/trunk/; revision=66152
2015-02-04 01:36:17 +00:00
Aleksandar Andrejevic
f0d5e95467 [FAST486]
Add stubs for the remaining FPU instructions. Implement FNOP.


svn path=/trunk/; revision=66151
2015-02-03 03:26:59 +00:00
David Quintana
5ddd8473f3 [RSHELL]
* Add comments in some key places.
* Reshuffled the order of a few methods.

svn path=/trunk/; revision=66150
2015-02-02 22:06:59 +00:00
James Tabor
be2a9b2e37 [Win32ss]
- Fix SeaMonkey crash while restarting the web browser.

svn path=/trunk/; revision=66149
2015-02-02 06:22:26 +00:00
Eric Kohl
168427ac29 [NTOSKRNL]
SeAssignSecurityEx: Add support for SEF_DEFAULT_OWNER_FROM_PARENT and SEF_DEFAULT_GROUP_FROM_PARENT.
This fixes several kmtest:SeInheritance bugs.

svn path=/trunk/; revision=66148
2015-02-01 23:01:31 +00:00
Hermès Bélusca-Maïto
80a5b9b021 [STLPORT]
Fix assignment. Patch by Victor Martinez.
CORE-8117 #resolve #comment Fixed in r66147, thanks!

svn path=/trunk/; revision=66147
2015-02-01 22:37:06 +00:00
Hermès Bélusca-Maïto
dcf70ea86f [FREELDR]: All tabs to 4 spaces and remove trailing whitespace.
svn path=/trunk/; revision=66146
2015-02-01 22:15:32 +00:00
Hermès Bélusca-Maïto
cd843a9298 [FREELDR]
- Code style changes (whitespace + C-style comments).
- Move reactos/registry to windows/ since it's only for booting windows-like OSes that registry functions are used.
- ARC hw support functions first move (i.e. another code refactoring will happen) outside of reactos/ (since they are used generally, not just for ReactOS loading).
- ARC name outside of reactos/
- Delete now-useless reactos/ subdirectory.

svn path=/trunk/; revision=66145
2015-02-01 21:35:45 +00:00
Hermès Bélusca-Maïto
fd896be2a7 [FREELDR]
- Fix date format in CHANGELOG (that uses that #$@! of US format)
- Diverse code style changes (whitespace, extra braces, C++ to C-style comments, ...)

svn path=/trunk/; revision=66144
2015-02-01 20:22:13 +00:00
Hermès Bélusca-Maïto
2682e03820 [FREELDR]
- Remove an unexisting function declaration.
- Move some boot methods back to suitable place.
- Whitespace fixes.

svn path=/trunk/; revision=66143
2015-02-01 17:49:11 +00:00
Hermès Bélusca-Maïto
42ef1d09a7 [FREELDR]: Pseudo-fix my previous commit. But anyway, the "usebiossettings" case looks strange... (I mean, this precise line: LoaderRedirectionInformation.PortAddress = (PUCHAR)strtoul(Settings, 0, 16); ).
svn path=/trunk/; revision=66142
2015-02-01 15:22:31 +00:00
Hermès Bélusca-Maïto
3536a8463e [FREELDR]: Don't use a null pointer for strstr call.
CORE-8198 #resolve #comment Fixed.

svn path=/trunk/; revision=66141
2015-02-01 15:10:19 +00:00
Hermès Bélusca-Maïto
434111e8b0 [CMLIB]: Whitespace fixes only.
svn path=/trunk/; revision=66140
2015-02-01 14:39:35 +00:00
Eric Kohl
df5dff26f4 [NTOSKRNL][INCLUDE]
Add keyed event access mask values and use them in the keyed event object implementation.
This fixes another kmtest:ObTypes bug.

svn path=/trunk/; revision=66139
2015-02-01 13:59:09 +00:00
Hermès Bélusca-Maïto
b799bbb859 [RTL]
- Whitespace files.
- Add missing PSEH inclusion (that can be detected if one comments the objbase.h include in rtl.h ...)

[MKHIVE]
Code cleanup + add a comment to explain what this ntoskrnl.h file is.

svn path=/trunk/; revision=66138
2015-02-01 13:33:06 +00:00
Hermès Bélusca-Maïto
5a6cb60c3d [CDMAKE]: Code cleanup (remove useless comments and that setjmp thingie).
svn path=/trunk/; revision=66137
2015-02-01 12:39:37 +00:00
Eric Kohl
30701b9657 [NTOSKRNL]
Set invalid atributes for the mutant object type. This fixes a kmtest:ObTypes bug.

svn path=/trunk/; revision=66136
2015-02-01 12:24:03 +00:00
James Tabor
e007c66f9b [NtUser]
- Add default setting to Foreground Flash Count. Should fix flash.

svn path=/trunk/; revision=66135
2015-01-31 23:30:30 +00:00
Aleksandar Andrejevic
6af9d3e24c [FAST486]
Implement FLDENV and FRSTOR.


svn path=/trunk/; revision=66134
2015-01-31 22:47:05 +00:00
James Tabor
4c848e9a69 [NtUser]
- Get flash window ready for use. Still more testing is needed. Missing shell support.

svn path=/trunk/; revision=66133
2015-01-31 22:41:34 +00:00
James Tabor
db9a74e7cc [NtUser]
- Hack fix crash while removing menus. See CORE-9107 for crash information and CORE-8299 for overall menu issues.

svn path=/trunk/; revision=66132
2015-01-31 21:44:26 +00:00
Aleksandar Andrejevic
8c1b044a8c [FAST486]
Implement FSTENV and FSAVE. Keep track of the last FPU instruction and operand.


svn path=/trunk/; revision=66131
2015-01-31 21:34:56 +00:00
Hermès Bélusca-Maïto
2369d5c3db Code style changes only.
svn path=/trunk/; revision=66130
2015-01-31 19:05:15 +00:00
Hermès Bélusca-Maïto
2f36640fb3 No code clarification, sorry.
svn path=/trunk/; revision=66129
2015-01-31 18:56:14 +00:00
Hermès Bélusca-Maïto
1957f91121 [CDMAKE]: Fix Philip's firstname; clarify code.
svn path=/trunk/; revision=66128
2015-01-31 18:54:52 +00:00
Hermès Bélusca-Maïto
73164f7524 [CDMAKE]: Have fun with cdmake:
- Fix copyright headers
- Fix string identifiers for ISO9660 and Joliet

svn path=/trunk/; revision=66127
2015-01-31 18:44:28 +00:00
Aleksandar Andrejevic
73f35d3ca1 [FAST486]
Implement FST/FSTP for single reals.


svn path=/trunk/; revision=66126
2015-01-31 16:13:40 +00:00
Eric Kohl
7008e871d9 [NPFS]
Fix a little logical error. This should fix the ntdll pipe winetest.

svn path=/trunk/; revision=66125
2015-01-31 15:58:00 +00:00
Hermès Bélusca-Maïto
494d45c39e [SHELL32]
Improve "no-open" feature by using a better icon. Patch by Jared.
CORE-9102 #resolve #comment Fixed ;)

svn path=/trunk/; revision=66118
2015-01-30 00:43:35 +00:00
Hermès Bélusca-Maïto
c389b991cd [BOOTDATA]: Default also to 32bpp (livecd, ...); see r65498 for more details. CORE-8826
svn path=/trunk/; revision=66113
2015-01-29 01:35:21 +00:00
Hermès Bélusca-Maïto
40c1535d0f [PACKAGES]: Update GNUTLS package files (tested by Sylvain & Daniel).
svn path=/trunk/; revision=66110
2015-01-29 00:43:44 +00:00
Hermès Bélusca-Maïto
77df154671 [LIVE|HYBRIDCD]: We also need an empty "Default User/Start Menu/Programs" directory.
svn path=/trunk/; revision=66109
2015-01-29 00:20:56 +00:00
Hermès Bélusca-Maïto
cf50f5cc47 [ROS***]: Add few more information in the readme's.
svn path=/trunk/; revision=66108
2015-01-29 00:15:35 +00:00
Hermès Bélusca-Maïto
5875781e83 [REACTOS_SETUP]
Show a critical error if txtsetup.sif cannot be found, instead of displaying empty fields in the setup. Patch by Lee Schroeder.
CORE-8971 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=66107
2015-01-29 00:06:55 +00:00
Hermès Bélusca-Maïto
249f9c7ce2 [FREELDR]: Reset FrldrBootDrive before chainloading in some cases (when the boot drive is going to change), because ChainLoadBiosBootSectorCode uses FrldrBootDrive for the boot drive. An alternative would be to pass this boot drive as a parameter to ChainLoadBiosBootSectorCode... Fixes FreeLdr booting to another drive.
svn path=/trunk/; revision=66106
2015-01-28 23:23:48 +00:00
Sylvain Petreolle
789f1cabb1 [LIVECD]
Add shortcut to the On Screen Keyboard.
Patch by Jared.
CORE-9093 #resolve

svn path=/trunk/; revision=66105
2015-01-28 22:32:53 +00:00
Sylvain Petreolle
9c919ee3e2 [UNIATA]
Update to 0.45e.
CORE-8727 #resolve
Sorry for the delay !

svn path=/trunk/; revision=66104
2015-01-28 22:20:09 +00:00
Pierre Schweitzer
c58284202d [FREELDR]
Revert r66102

svn path=/trunk/; revision=66103
2015-01-28 21:03:18 +00:00
Pierre Schweitzer
7e14b032e6 [FREELDR]
Fix REL build

svn path=/trunk/; revision=66102
2015-01-28 20:52:38 +00:00
Pierre Schweitzer
cb47930ae1 [CDMAKE]
It's totally pointless to nullify after calloc

svn path=/trunk/; revision=66101
2015-01-28 20:41:23 +00:00
Hermès Bélusca-Maïto
abc4e17f7c [CDMAKE]
- Fix misusage of the hash-table. CORE-9098 #resolve #comment Fixed in revision 66100!
- Really fix date for files and directories when CDs are generated on Windows. Use UTC time everywhere. Simplify code.

svn path=/trunk/; revision=66100
2015-01-28 20:26:56 +00:00
Timo Kreuzer
311d5df6e2 [FREELDR]
Increase number of static memory descriptors from 32 to 40.
CORE-9097 #resolve #comment Please retest and reopen if it's still not fixed.

svn path=/trunk/; revision=66099
2015-01-27 22:19:25 +00:00
Hermès Bélusca-Maïto
de72d5eae8 [CDMAKE]: Whitespace fixes only.
svn path=/trunk/; revision=66098
2015-01-27 19:31:19 +00:00
Hermès Bélusca-Maïto
ff86a5c370 Fix bootcd-regtest target. All the bootsectors (plus isoboot) should go to bootcd and bootcdregtest cds, and only isoboot should remain for the live and hybrid cds.
svn path=/trunk/; revision=66097
2015-01-27 00:19:02 +00:00
Colin Finck
b4c0d0c2fe [EXPLORER]
- Provide an editable file for the start menu banner just like we had for explorer-old
- Use the same font that's used for the ReactOS logo

svn path=/trunk/; revision=66095
2015-01-26 22:32:43 +00:00
Timo Kreuzer
320306b310 [WIN32K]
Fix major bug in EngModifySurface: when pvScan0 and lDelta are passed, the surface is converted to type STYPE_BITMAP. pvBits is calculated accordingly and surface flags are updated according to flSurface parameter. Fixes crash with Intel 810 graphic drivers. Thanks to Julio Carchi for testing/helping with debugging. CORE-7821 #resolve

svn path=/trunk/; revision=66094
2015-01-26 22:11:34 +00:00
Timo Kreuzer
516e2cc43d [DIBLIB]
Fix ROP operation by ANDing the result with the appropriate dest mask, for all required ROPs). Fixes MaskBlt tests.

svn path=/branches/dib_rewrite/; revision=60905
2013-11-09 19:32:12 +00:00
Timo Kreuzer
e8516eca35 Sync with trunk (r60786)
svn path=/branches/dib_rewrite/; revision=60828
2013-11-02 09:31:39 +00:00
Timo Kreuzer
194e3169b6 [WIN32K] Several fixes and improvements to NtGdiSetDIBitsToDeviceInternal and GreCreateDIBitmapInternal
[GDI32] "Fix" behavior of SetDIBitsToDevice, based on how (broken) Windows actually behaves
All tests for SetDIBitsToDevice now pass, except one, but this seems to be an Mm problem (looks like we commit ridiculously large user mode stacks instead of growing them on demand)

svn path=/branches/dib_rewrite/; revision=60788
2013-10-28 20:59:54 +00:00
Timo Kreuzer
72f1e50a9a [GDI32] Handle CBM_CREATDIB
[WIN32K] Make sure compressed DIBs have a bitmap size in the BITMAPINFOHEADER

svn path=/branches/dib_rewrite/; revision=59586
2013-07-25 21:03:14 +00:00
Timo Kreuzer
428150412d [WIN32K]
Fix some bugs related to DIB brushes.

svn path=/branches/dib_rewrite/; revision=59564
2013-07-23 15:31:43 +00:00
Timo Kreuzer
74a8fc4a83 [DIBLIB] Fix right-to-left SRCCOPY, silence a warning
[WIN32K] Improve EngBitBlt and EndCopyBits to properly handle device managed surfaces and support RLE compression.

svn path=/branches/dib_rewrite/; revision=59550
2013-07-21 20:33:10 +00:00
Timo Kreuzer
05374e6cb4 Try to merge with trunk (r59468)
svn path=/branches/dib_rewrite/; revision=59469
2013-07-13 13:42:42 +00:00
Timo Kreuzer
ac4d69e0e5 Add some optional files to bootcd
svn path=/branches/dib_rewrite/; revision=58317
2013-02-16 16:21:03 +00:00
Timo Kreuzer
8636a9e3d3 [WIN32K]
Add more ASSERTs

svn path=/branches/dib_rewrite/; revision=58061
2012-12-30 19:11:22 +00:00
Timo Kreuzer
80e30e05e8 [DIBLIB]
- Use memmove explicitly in Dib_BitBlt_SRCCOPY_EqSurf and use it for right-to-left copy as well.

svn path=/branches/dib_rewrite/; revision=58051
2012-12-30 12:32:00 +00:00
Timo Kreuzer
fb0060e616 Sync with trunk r58022
svn path=/branches/dib_rewrite/; revision=58023
2012-12-28 12:19:38 +00:00
Timo Kreuzer
33fa833042 [WIN32K/GDI32]
- Many changes and bugfixes to the new DIB code
It's in a usable state now, also working with the new diblib. Still lots of bugs and failures need to be fixed.

svn path=/branches/dib_rewrite/; revision=57078
2012-08-14 22:27:00 +00:00
Timo Kreuzer
df2fd2fd3c Sync trunk r57060
svn path=/branches/dib_rewrite/; revision=57061
2012-08-12 13:22:27 +00:00
Timo Kreuzer
698e524965 Sync trunk r56901
svn path=/branches/dib_rewrite/; revision=56902
2012-07-15 20:47:28 +00:00
Timo Kreuzer
b417fbcc66 [WIN32K]
- Mark bitmap as API bitmap in NtGdiCreateDIBSection
- Mark palette as DIB section palette in NtGdiCreateDIBSection
- Set biXPelsPerMeter to 0 instead of using the bitmap dimentions
- Check BITMAPINFO parameters in GreGetDIBits
- Handle case when requested bit depth doesn't match actual one in GreGetDIBits
- Use maximum BITMAPINFO size in NtGdiGetDIBitsInternal
- Verify header size in NtGdiGetDIBitsInternal
- Misc code improvements

svn path=/branches/dib_rewrite/; revision=56593
2012-05-16 14:13:26 +00:00
Timo Kreuzer
f806ab62fb [WIN32K]
Implement DC_bIsBitmapCompatible, which checks if a bitmap can be used with the DC in SelectBitmap or GetDIBits

svn path=/branches/dib_rewrite/; revision=56591
2012-05-15 16:52:21 +00:00
Timo Kreuzer
54747199af [WIN32K]
Halfplement GreCreateDIBitmapInternal

svn path=/branches/dib_rewrite/; revision=56569
2012-05-12 21:05:35 +00:00
Timo Kreuzer
fb3cfa8952 [WIN32K]
Move SURFACE_iCompression to surface.c and implement SURFACE_vSetPalette

svn path=/branches/dib_rewrite/; revision=56568
2012-05-12 20:42:22 +00:00
Timo Kreuzer
d5ecfd0434 [WIN32K]
- Fix RGB vs BGR mistake in SURFACE_iCompression
- Return the number of copied scanlines in GreGetDIBits
- Fix calculation of destination address in GreGetDIBits

svn path=/branches/dib_rewrite/; revision=56565
2012-05-12 17:40:58 +00:00
Timo Kreuzer
72d0eb760a [WIN32K]
Some work on NtGdiGetDIBitsInternal

svn path=/branches/dib_rewrite/; revision=56561
2012-05-10 19:28:53 +00:00
Timo Kreuzer
a33c59fba9 [WIN32K]
- Start of the rewrite for DIB bitmaps and sections
- Rewrite of brush code

svn path=/branches/dib_rewrite/; revision=56555
2012-05-09 20:36:16 +00:00
Timo Kreuzer
8ccaec4a4a Sync with trunk r56553
svn path=/branches/dib_rewrite/; revision=56554
2012-05-09 20:21:00 +00:00
Timo Kreuzer
79d909144f Merge r56543 - r56548
svn path=/branches/dib_rewrite/; revision=56549
2012-05-09 08:23:25 +00:00
Timo Kreuzer
28f1ad65a6 Sync with trunk r56543
svn path=/branches/dib_rewrite/; revision=56544
2012-05-08 18:11:09 +00:00
Timo Kreuzer
cb252654e2 [REACTOS]
Create a branch for DIB rewrite

svn path=/branches/dib_rewrite/; revision=56444
2012-04-29 11:09:08 +00:00
21956 changed files with 601324 additions and 1966541 deletions

253
CMakeLists.txt Normal file
View File

@@ -0,0 +1,253 @@
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()
project(REACTOS)
# Versioning
include(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)
set(CMAKE_SKIP_INSTALL_RULES ON)
if(NOT CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS")
set(CMAKE_DISABLE_NINJA_DEPSLOG 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(cmake/config.cmake)
elseif(ARCH STREQUAL "amd64")
include(cmake/config-amd64.cmake)
elseif(ARCH STREQUAL "arm")
include(cmake/config-arm.cmake)
endif()
# Compiler flags handling
include(cmake/compilerflags.cmake)
add_definitions(-D__REACTOS__)
if(NOT CMAKE_CROSSCOMPILING)
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)
else()
add_compile_flags("-fshort-wchar -Wno-multichar")
endif()
include_directories(include/host)
if(NOT MSVC)
add_subdirectory(dll/win32/dbghelp)
endif()
add_subdirectory(tools)
add_subdirectory(lib)
if(NOT MSVC)
export(TARGETS bin2c widl gendib cabman cdmake mkhive obj2bin spec2def geninc rsym mkshelllink utf16le FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
else()
export(TARGETS bin2c widl gendib cabman cdmake mkhive obj2bin spec2def geninc mkshelllink utf16le FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
endif()
else()
# 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)
# Default to Debug for the build type
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
# 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 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})
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__)
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)
endif()
# Activate support for assembly source files
enable_language(ASM)
# Activate language support for resource files
enable_language(RC)
# Localization definitions
include(cmake/localization.cmake)
set(I18N_DEFS "")
# This will set I18N_DEFS for later use
set_i18n_language(${I18N_LANG})
# Compiler specific definitions and macros
if(MSVC)
include(cmake/msvc.cmake)
else()
include(cmake/gcc.cmake)
endif()
# Generic macros
include(cmake/CMakeMacros.cmake)
# IDL macros for widl/midl
# We're using widl now for both MSVC and GCC builds
include(cmake/widl-support.cmake)
include_directories(
include
include/psdk
include/dxsdk
${REACTOS_BINARY_DIR}/include
${REACTOS_BINARY_DIR}/include/psdk
${REACTOS_BINARY_DIR}/include/dxsdk
${REACTOS_BINARY_DIR}/include/reactos
include/crt
include/ddk
include/ndk
include/reactos
include/reactos/libs)
if(ARCH STREQUAL "arm")
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/arm)
endif()
add_dependency_header()
add_subdirectory(include/psdk)
add_subdirectory(include/dxsdk)
add_subdirectory(include/reactos/wine)
add_subdirectory(include/reactos/mc)
add_subdirectory(include/asm)
if(NO_ROSSYM)
include(cmake/baseaddress_dwarf.cmake)
else()
include(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(lib)
add_subdirectory(media)
add_subdirectory(modules)
add_subdirectory(ntoskrnl)
add_subdirectory(subsystems)
add_subdirectory(tools/wpp)
add_subdirectory(win32ss)
# Create {bootcd, livecd, bootcdregtest}.lst
create_iso_lists()
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/include/reactos)
add_dependency_footer()
endif()

View File

@@ -0,0 +1,719 @@
/*
Translators: Petru Dumitriu (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_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Despre Minicalculator"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Î&nchide", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Minicalculator ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Versiune ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Scris de Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistici"
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_STRING_LICENSE "Această aplicație este publică; fiind permisă modificarea și/sau (re)distribuția sa în termenii Licenței Publice Generale GNU publicată de Free Software Foundation; sau versiunea 2 a Licenței, sau (la alegere) a oricărei versiuni ulterioare.\r\n\r\nAceastă aplicație este distribuită doar în speranța de a fi utilă, FĂRĂ însă NICI O GARANȚIE; nici măcar cu garanția implicită a VANDABILITĂȚII sau a UTILITĂȚII ÎNTR-UN SCOP ANUME. Pentru mai multe detalii consultați Licența Publică Generală GNU.\r\n\r\nPuteți vedea această licență aici:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nDe asemenea puteți consulta traduceri neoficiale ale acestei licențe aici:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Eroare"
IDS_QUICKHELP "Manual"
END
/* 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_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_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

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

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