Compare commits

...

2187 Commits

Author SHA1 Message Date
Timo Kreuzer
7aafb75d80 [CMAKE]
Improve configure script. It now defaults to nmake for MSVC, if you want a "VSSolution", pass exactly this as 1st paramter
Patch by Samuel Serapion

svn path=/branches/cmake-bringup/; revision=50857
2011-02-21 20:11:52 +00:00
Amine Khaldi
6f76e10ed7 [CMAKE]
- Fix hhctrl msvc build.

svn path=/branches/cmake-bringup/; revision=50812
2011-02-18 19:48:33 +00:00
Amine Khaldi
296da83caf [CMAKE]
- Fix LINK (msvc) warnings.

svn path=/branches/cmake-bringup/; revision=50811
2011-02-18 19:40:51 +00:00
Timo Kreuzer
1766b55f4d [CMAKE]
Add support for VS 8-10 and SDK to configure script, add error checks. Patch by Samuel Serapion with small modifications by me.

svn path=/branches/cmake-bringup/; revision=50810
2011-02-18 17:35:50 +00:00
Amine Khaldi
5a357ba755 [CMAKE]
- Fix shlwapi msvc build.

svn path=/branches/cmake-bringup/; revision=50809
2011-02-18 17:34:55 +00:00
Amine Khaldi
855d46d1f9 [CMAKE]
- Fix shlwapi build. This reverts r50794.

svn path=/branches/cmake-bringup/; revision=50808
2011-02-18 17:30:19 +00:00
Johannes Anderwald
c630ded4ea - Fix for the fix (suggested by cmake doyen)
svn path=/branches/cmake-bringup/; revision=50805
2011-02-18 15:09:22 +00:00
Johannes Anderwald
35981f6794 - Fix a few linking errors for msvc CMakeLists
- Fails to find _isinf

svn path=/branches/cmake-bringup/; revision=50802
2011-02-18 14:58:30 +00:00
Johannes Anderwald
a0dee4ab22 - Fix ddraw build
svn path=/branches/cmake-bringup/; revision=50801
2011-02-18 14:48:09 +00:00
Johannes Anderwald
0970afe8cf - Fix kmixer linking
svn path=/branches/cmake-bringup/; revision=50796
2011-02-18 12:09:10 +00:00
Johannes Anderwald
ab7c42e1cc - Fix acpi really.
svn path=/branches/cmake-bringup/; revision=50795
2011-02-18 12:01:54 +00:00
Johannes Anderwald
8981bb0251 - Fix shlwapi linking
svn path=/branches/cmake-bringup/; revision=50794
2011-02-18 11:27:42 +00:00
Amine Khaldi
3023e9622f [CMAKE]
- Fix sysdm build.

svn path=/branches/cmake-bringup/; revision=50793
2011-02-18 11:06:34 +00:00
Amine Khaldi
21a72dbc59 [CMAKE]
- Fix powercfg build.

svn path=/branches/cmake-bringup/; revision=50792
2011-02-18 11:04:12 +00:00
Amine Khaldi
6d6a4a8382 [CMAKE]
- Fix LINK (msvc) warnings.

svn path=/branches/cmake-bringup/; revision=50791
2011-02-18 10:56:43 +00:00
Amine Khaldi
5b4e1e33bf [CMAKE]
- Fix LINK (msvc) warnings.

svn path=/branches/cmake-bringup/; revision=50790
2011-02-18 10:51:01 +00:00
Amine Khaldi
9e237549fd [CMAKE]
- Fix LINK (msvc) warnings.

svn path=/branches/cmake-bringup/; revision=50789
2011-02-18 10:45:12 +00:00
Amine Khaldi
b3ffef4ca9 [CMAKE]
- Fix LINK (msvc) warnings.

svn path=/branches/cmake-bringup/; revision=50788
2011-02-18 10:43:59 +00:00
Amine Khaldi
2788bb0fbe [CMAKE]
- Fix LINK (msvc) warnings.

svn path=/branches/cmake-bringup/; revision=50787
2011-02-18 10:42:11 +00:00
Amine Khaldi
c536bc34c9 [CMAKE]
- Fix LINK (msvc) warnings.

svn path=/branches/cmake-bringup/; revision=50786
2011-02-18 10:23:44 +00:00
Amine Khaldi
00f9ce17fc [CMAKE]
- Fix msdmo build. Really.

svn path=/branches/cmake-bringup/; revision=50785
2011-02-18 10:12:42 +00:00
Amine Khaldi
ff62e63d04 [CMAKE]
- Fix wuapi build. Really.

svn path=/branches/cmake-bringup/; revision=50783
2011-02-18 09:47:14 +00:00
Johannes Anderwald
e600857c19 - Revert all changes made to wuapi. This doesnt work properly with gcc
svn path=/branches/cmake-bringup/; revision=50782
2011-02-18 02:27:40 +00:00
Johannes Anderwald
b56e88991d try fix build
svn path=/branches/cmake-bringup/; revision=50781
2011-02-18 02:16:29 +00:00
Johannes Anderwald
fb5f05beaa - Fix batt msvc build
svn path=/branches/cmake-bringup/; revision=50780
2011-02-18 01:22:32 +00:00
Johannes Anderwald
9eb2eb0af8 - Fix pcix msvc build
svn path=/branches/cmake-bringup/; revision=50779
2011-02-18 01:09:42 +00:00
Johannes Anderwald
f3b2ad3c84 - Fix linking error
svn path=/branches/cmake-bringup/; revision=50778
2011-02-18 01:06:17 +00:00
Johannes Anderwald
ee5db18b72 - Fix xinput msvc build
- Powered by Amine

svn path=/branches/cmake-bringup/; revision=50777
2011-02-18 00:39:31 +00:00
Johannes Anderwald
a72b838de5 - Amine fixes msvc linking of wuapi elegantly
- All complaints to him ;)

svn path=/branches/cmake-bringup/; revision=50776
2011-02-18 00:25:53 +00:00
Johannes Anderwald
895106f07c - Amine wins ;)
svn path=/branches/cmake-bringup/; revision=50775
2011-02-18 00:00:56 +00:00
Johannes Anderwald
5156ef29e8 - Add wuapi.idl to build
- Include psdk dir for header search
- Fixes wuapi compile with msvc, though doesnt link yet

svn path=/branches/cmake-bringup/; revision=50774
2011-02-17 23:54:23 +00:00
Amine Khaldi
2c828839b6 [CMAKE]
- A better, albeit temporary fix for 50714 and 50716.

svn path=/branches/cmake-bringup/; revision=50772
2011-02-17 22:12:27 +00:00
Amine Khaldi
c127856716 [CMAKE]
- Fix build. Really.

svn path=/branches/cmake-bringup/; revision=50771
2011-02-17 22:11:00 +00:00
Timo Kreuzer
99d12014da Try fix build
svn path=/branches/cmake-bringup/; revision=50769
2011-02-17 20:09:56 +00:00
Timo Kreuzer
ba07da3850 [MSHTML]
revert r50702

svn path=/branches/cmake-bringup/; revision=50765
2011-02-17 13:40:11 +00:00
Timo Kreuzer
91fce48fa1 [HEADERS]
- Remove include/reactos and include/reactos/wine include directories for host tools
- Add include/host/wine directory
- Move wpp.h to include/host/wine
- Put a seperate config.h into include/host
- Add a dummy debug.h and guiddef.h, wine/list.h, wine/port.h and wine/rpcfc.h that link to the original ones to include/host

svn path=/branches/cmake-bringup/; revision=50763
2011-02-16 22:48:56 +00:00
Timo Kreuzer
9eac3c415c [WINED3D]
Fix build

svn path=/branches/cmake-bringup/; revision=50762
2011-02-16 20:50:12 +00:00
Timo Kreuzer
a95f4bb427 [CMAKE]
Fix MSVC build of ATL

svn path=/branches/cmake-bringup/; revision=50761
2011-02-16 16:04:51 +00:00
Johannes Anderwald
94ee03d85a - Try fix build
svn path=/branches/cmake-bringup/; revision=50760
2011-02-16 15:58:40 +00:00
Timo Kreuzer
a0a2838527 [CMAKE]
fix build

svn path=/branches/cmake-bringup/; revision=50759
2011-02-16 15:48:59 +00:00
Johannes Anderwald
635df4ebf8 - Fix smss build
svn path=/branches/cmake-bringup/; revision=50758
2011-02-16 15:12:14 +00:00
Johannes Anderwald
cdb7e212a6 - Fix pdh build
svn path=/branches/cmake-bringup/; revision=50757
2011-02-16 14:59:53 +00:00
Johannes Anderwald
db6c80acc4 - Fix msimtf build (msvc)
svn path=/branches/cmake-bringup/; revision=50756
2011-02-16 14:55:04 +00:00
Johannes Anderwald
003221af2a - Fix linker warning
svn path=/branches/cmake-bringup/; revision=50755
2011-02-16 14:49:21 +00:00
Johannes Anderwald
8198650c01 - Fix mciseq linking for msvc
svn path=/branches/cmake-bringup/; revision=50754
2011-02-16 14:47:50 +00:00
Johannes Anderwald
9d318004b3 - Fix spec
svn path=/branches/cmake-bringup/; revision=50753
2011-02-16 14:45:23 +00:00
Johannes Anderwald
18c6ed81d8 - Fix linker (msvc) warning
svn path=/branches/cmake-bringup/; revision=50752
2011-02-16 14:44:36 +00:00
Johannes Anderwald
7e5fc16b29 - Fix a linker error in itss
svn path=/branches/cmake-bringup/; revision=50751
2011-02-16 14:43:14 +00:00
Johannes Anderwald
7fd3c04d0d - Fix more linker warning for msvc
svn path=/branches/cmake-bringup/; revision=50750
2011-02-16 14:37:43 +00:00
Johannes Anderwald
9a3aebab03 - Fix msvc linker warning
svn path=/branches/cmake-bringup/; revision=50749
2011-02-16 14:35:30 +00:00
Johannes Anderwald
3ae2bbdad9 - Fix build
svn path=/branches/cmake-bringup/; revision=50748
2011-02-16 14:33:34 +00:00
Johannes Anderwald
8c0ac25595 - Fix hhctrl build (MSVC)
svn path=/branches/cmake-bringup/; revision=50747
2011-02-16 14:31:08 +00:00
Johannes Anderwald
f4f7a60ffc - Fix build gdpiplus (MSVC)
svn path=/branches/cmake-bringup/; revision=50746
2011-02-16 14:27:41 +00:00
Johannes Anderwald
8d0d751fc8 - Fix linker warning
svn path=/branches/cmake-bringup/; revision=50745
2011-02-16 14:21:29 +00:00
Johannes Anderwald
c4a9cee447 - Fix linker warning
svn path=/branches/cmake-bringup/; revision=50744
2011-02-16 14:16:56 +00:00
Johannes Anderwald
7fa52e068e - Fix beepmidi linker error
svn path=/branches/cmake-bringup/; revision=50743
2011-02-16 14:14:47 +00:00
Johannes Anderwald
70746e30b0 - Fix batt build
svn path=/branches/cmake-bringup/; revision=50742
2011-02-16 14:12:09 +00:00
Johannes Anderwald
1f4a4e1a5b - Fix atl build
svn path=/branches/cmake-bringup/; revision=50741
2011-02-16 14:09:37 +00:00
Johannes Anderwald
fb127d4391 - Fix wined3d compilation with msvc
- Does not link yet

svn path=/branches/cmake-bringup/; revision=50740
2011-02-16 13:57:06 +00:00
Johannes Anderwald
4c8c01ba70 - Fix build ddraw
svn path=/branches/cmake-bringup/; revision=50739
2011-02-16 13:38:51 +00:00
Timo Kreuzer
f5d44f65f7 [CMAKE]
Fix include dir for wined3d

svn path=/branches/cmake-bringup/; revision=50738
2011-02-16 13:36:34 +00:00
Johannes Anderwald
56d1db8f55 Fix build d3d9
svn path=/branches/cmake-bringup/; revision=50737
2011-02-16 13:34:36 +00:00
Johannes Anderwald
333120e9eb - Fix build d3d8
svn path=/branches/cmake-bringup/; revision=50736
2011-02-16 13:30:37 +00:00
Johannes Anderwald
71bb5d31b6 - Fix build of msdmo
svn path=/branches/cmake-bringup/; revision=50735
2011-02-16 13:24:36 +00:00
Johannes Anderwald
148920d946 - Fix linker warning
svn path=/branches/cmake-bringup/; revision=50733
2011-02-16 13:04:34 +00:00
Timo Kreuzer
3782cef5b1 [WINED3D]
Replace 0/0, 1/0 with NAN and INFINITY

svn path=/branches/cmake-bringup/; revision=50732
2011-02-16 12:54:58 +00:00
Timo Kreuzer
e5251147ba [WINE]
Add math.h for wine code, with NAN and INFINITY as portable constants.

svn path=/branches/cmake-bringup/; revision=50731
2011-02-16 12:53:21 +00:00
Johannes Anderwald
7d3bc17152 - Fix msvc build
svn path=/branches/cmake-bringup/; revision=50729
2011-02-16 10:51:49 +00:00
Johannes Anderwald
62b0db3082 - Fix msvc framebuf build
svn path=/branches/cmake-bringup/; revision=50728
2011-02-16 10:46:02 +00:00
Johannes Anderwald
81619aef1e - Fix vgaddi build (msvc)
svn path=/branches/cmake-bringup/; revision=50727
2011-02-16 10:43:59 +00:00
Johannes Anderwald
a35e1b6b03 - Fix vbemp build
svn path=/branches/cmake-bringup/; revision=50726
2011-02-16 10:38:21 +00:00
Johannes Anderwald
6cf55b5d6d - Fix linker warnings
svn path=/branches/cmake-bringup/; revision=50725
2011-02-16 10:23:07 +00:00
Johannes Anderwald
e0b78ef7c3 - Fix build
svn path=/branches/cmake-bringup/; revision=50724
2011-02-16 10:21:15 +00:00
Sylvain Petreolle
a104502501 [CMAKE]
Fix dxdiag build.

svn path=/branches/cmake-bringup/; revision=50722
2011-02-15 22:07:05 +00:00
Timo Kreuzer
05f0a228c5 [KSPROXY]
- Fix gcc build
- don't pass gcc flags to msvc
. mark some exports as private

svn path=/branches/cmake-bringup/; revision=50720
2011-02-15 20:47:09 +00:00
Timo Kreuzer
2dffc72254 [MSI]
- Fix reource files (strings must be in one line)
- Fix compilation with MSVC

svn path=/branches/cmake-bringup/; revision=50719
2011-02-15 19:15:01 +00:00
Johannes Anderwald
9fc442cfa8 - Revert irrelevant changes
svn path=/branches/cmake-bringup/; revision=50718
2011-02-15 18:15:32 +00:00
Johannes Anderwald
95d0eed68e - Add wincodec.idl to build
- windowscodecs gets now further

svn path=/branches/cmake-bringup/; revision=50717
2011-02-15 18:08:53 +00:00
Johannes Anderwald
cc0604236b - Apply same fix for wmilib
- set_entrypoint macro appears to be broken for msvc 16.00.30319.01 (VS 2010)

svn path=/branches/cmake-bringup/; revision=50716
2011-02-15 17:39:00 +00:00
Timo Kreuzer
94da3603af [WINE]
Don't define __ASM_DEFINE_FUNC and __ASM_STDCALL_FUNC on MSVC builds

svn path=/branches/cmake-bringup/; revision=50715
2011-02-15 17:36:10 +00:00
Johannes Anderwald
6521a945bc - Fix drmk build for msvc
svn path=/branches/cmake-bringup/; revision=50714
2011-02-15 17:29:11 +00:00
Giannis Adamopoulos
d372ef8b22 [acpi]
-Fix compilation with msc

svn path=/branches/cmake-bringup/; revision=50713
2011-02-15 17:12:36 +00:00
Timo Kreuzer
a7014019f3 [NMIDEBUG]
Fix compilation with MSVC

svn path=/branches/cmake-bringup/; revision=50712
2011-02-15 17:03:28 +00:00
Giannis Adamopoulos
8e32abe55c [uniata]
- Fix some compilation issues with msc

svn path=/branches/cmake-bringup/; revision=50711
2011-02-15 17:01:38 +00:00
Giannis Adamopoulos
687b927625 [comctl32]
- Fix compilation with msc

svn path=/branches/cmake-bringup/; revision=50710
2011-02-15 16:19:10 +00:00
Giannis Adamopoulos
56cbf56146 [glu32]
- Fix compilation with msc

svn path=/branches/cmake-bringup/; revision=50709
2011-02-15 16:03:55 +00:00
Giannis Adamopoulos
6fb6b3dc44 [shell32]
- Fix some compilation issues with msc

svn path=/branches/cmake-bringup/; revision=50708
2011-02-15 16:01:02 +00:00
Giannis Adamopoulos
0020a48e12 [winmm]
- Fix compilation with msc

svn path=/branches/cmake-bringup/; revision=50707
2011-02-15 15:57:42 +00:00
Giannis Adamopoulos
53313b61be [oskittcp]
-Fix compilation with msc

svn path=/branches/cmake-bringup/; revision=50706
2011-02-15 15:54:42 +00:00
Johannes Anderwald
73d18c6855 - Missed that fix
- Really fixes mstask compilation ;)

svn path=/branches/cmake-bringup/; revision=50705
2011-02-15 15:29:09 +00:00
Timo Kreuzer
3b49c98d95 [CMAKE]
Temporarily don't compile mshtl on msvc. simply to see how many errors are left.

svn path=/branches/cmake-bringup/; revision=50704
2011-02-15 15:26:01 +00:00
Johannes Anderwald
ddb18f5bc0 - Fix compilation of mstask
svn path=/branches/cmake-bringup/; revision=50703
2011-02-15 15:11:46 +00:00
Timo Kreuzer
0d94103670 [MSHTML]
Fix compilation of nsiface.idl with midl. Only pointers to interfaces are allowed in typedefs.
Also define nsISupports to IUnknown, because thats what it is and nothing else is allowed.
Please someone pass this to wine.

svn path=/branches/cmake-bringup/; revision=50702
2011-02-15 13:29:05 +00:00
Sylvain Petreolle
29e5b3094b [CMAKE]
Fix msvc usetup build.

svn path=/branches/cmake-bringup/; revision=50701
2011-02-15 13:01:44 +00:00
Timo Kreuzer
b0fe2ffc8f [CMAKE]
fix msvc build of mswsock

svn path=/branches/cmake-bringup/; revision=50700
2011-02-15 12:54:50 +00:00
Timo Kreuzer
285dd00828 [CMAKE]
Fix MSVC build of ntdllsys

svn path=/branches/cmake-bringup/; revision=50699
2011-02-15 12:46:08 +00:00
Sylvain Petreolle
141181cdbc [CMAKE]
Fix msvc ext2 build.
Fix soundblaster includes.

svn path=/branches/cmake-bringup/; revision=50697
2011-02-14 20:56:12 +00:00
Timo Kreuzer
0c69202021 [ASM]
Add ljmp16 .fill and .space macros

svn path=/branches/cmake-bringup/; revision=50696
2011-02-14 20:12:12 +00:00
Timo Kreuzer
e274013c30 [MSVCRT]
_CxxThrowException is stdcall, not cdecl.
Someone please forward this to wine

svn path=/branches/cmake-bringup/; revision=50693
2011-02-14 14:28:07 +00:00
Timo Kreuzer
0ea1c67bac [NTOSKRNL]
Fix build with MSVC

svn path=/branches/cmake-bringup/; revision=50692
2011-02-14 13:45:15 +00:00
Timo Kreuzer
e29077a3cf [KDCOM]
Fix build of new kdcom

svn path=/branches/cmake-bringup/; revision=50691
2011-02-14 13:42:40 +00:00
Johannes Anderwald
2c23ee07a9 - Fix compiling (not linking)
svn path=/branches/cmake-bringup/; revision=50690
2011-02-14 13:02:24 +00:00
Timo Kreuzer
58541489db [CMAKE]
- Drop support for MSVC versions below 1300
- use the same flags for WDK / host as normal
- Disable optimization on Debug builds, its incompatible with /ZI

svn path=/branches/cmake-bringup/; revision=50689
2011-02-14 11:09:48 +00:00
Amine Khaldi
3f7f1e0d7f [CMAKE]
- Get rid of the redundancy in setting msvc flags, and set /ZI instead of /Zi for both host and target modules.
- Get rid of the redundancy in setting the default behaviour of the FIND_XXX() commands between toolchain files.

svn path=/branches/cmake-bringup/; revision=50688
2011-02-14 10:32:46 +00:00
Timo Kreuzer
25b4d48b89 [CMAKE]
Remove the RelWithDebInfo hack for MSVC

svn path=/branches/cmake-bringup/; revision=50687
2011-02-14 09:33:36 +00:00
Amine Khaldi
afd1fcd6cf [CMAKE]
- Fix host checking and the unix case handling in today() macro.
- Fixes unix build.

svn path=/branches/cmake-bringup/; revision=50684
2011-02-13 19:01:08 +00:00
Johannes Anderwald
f9fead82ad [MMIXER]
- Allocate memory for the logical pin array
- Use the correct counter variable for logical pin array
- Found by msvc

svn path=/branches/cmake-bringup/; revision=50674
2011-02-12 19:08:22 +00:00
Johannes Anderwald
d33174f9de [KS]
- Fix a bug where a spinlock was acquired on not initialized local variable
- Found by msvc

svn path=/branches/cmake-bringup/; revision=50671
2011-02-12 18:52:35 +00:00
Timo Kreuzer
44366c9fd0 Fix merge artifact
svn path=/branches/cmake-bringup/; revision=50666
2011-02-12 10:46:17 +00:00
Timo Kreuzer
33533af643 [RICHED20]
Fix compilation with MSVC
the small fix in txtsrv.c should be sent to wine (tm)

svn path=/branches/cmake-bringup/; revision=50664
2011-02-12 01:40:32 +00:00
Timo Kreuzer
bcf29f9d9d [NTOSKRNL]
Fix compilation of zw.S with MSVC

svn path=/branches/cmake-bringup/; revision=50660
2011-02-11 17:39:07 +00:00
Amine Khaldi
d4a7d0fb36 [CMAKE]
- Mark fastcall exports correctly, now that we have proper support in spec2def.

svn path=/branches/cmake-bringup/; revision=50658
2011-02-11 17:07:01 +00:00
Timo Kreuzer
054a3b2291 [CLASSPNP]
Fix a bug, I introduced.

svn path=/branches/cmake-bringup/; revision=50651
2011-02-10 13:07:54 +00:00
Timo Kreuzer
1d2ca9b115 [USB]
Fix merge artifact

svn path=/branches/cmake-bringup/; revision=50649
2011-02-10 12:56:12 +00:00
Amine Khaldi
54f8c1fb23 [CMAKE]
- Fix build.

svn path=/branches/cmake-bringup/; revision=50636
2011-02-09 17:06:56 +00:00
Timo Kreuzer
89fbead325 sync trunk HEAD (r50626)
svn path=/branches/cmake-bringup/; revision=50635
2011-02-09 15:56:57 +00:00
Amine Khaldi
d6f1cb454c [CMAKE]
- Apply the proper definition to user32_wsprintf using target properties.

svn path=/branches/cmake-bringup/; revision=50630
2011-02-09 12:09:21 +00:00
Timo Kreuzer
9b9bf81ccc [CMAKE]
Remove unneccessary EXTERNAL_OBJECT property

svn path=/branches/cmake-bringup/; revision=50629
2011-02-09 11:16:40 +00:00
Timo Kreuzer
fc12facc03 [CMAKE]
Ignore warnings about different section flags, when linking freeldr

svn path=/branches/cmake-bringup/; revision=50628
2011-02-09 11:09:50 +00:00
Timo Kreuzer
b32867cfba [CMAKE]
Link cryptdll to advapi32

svn path=/branches/cmake-bringup/; revision=50627
2011-02-09 10:30:01 +00:00
Timo Kreuzer
ebe0662d8c [WIN32K]
add missing file

svn path=/trunk/; revision=50626
2011-02-09 09:31:37 +00:00
Timo Kreuzer
014ff8c894 [NCI]
Ue macros for the other nci generated files, too and delete nci-tool.

svn path=/trunk/; revision=50625
2011-02-09 01:07:30 +00:00
Pierre Schweitzer
46610513c9 [FREELDR/NTFS]
Some fixes and addings to the NTFS header.
To be used later in order to fix NTFS driver in FreeLdr

svn path=/trunk/; revision=50624
2011-02-08 23:36:14 +00:00
Timo Kreuzer
4c9f7711b5 try to fix build.
How did it work before? Probably by chance. "As usual"(tm)

svn path=/trunk/; revision=50623
2011-02-08 20:32:04 +00:00
Timo Kreuzer
7fd2b87f3b [ASM]
- Change the macros to prefix the labels with Nt or Zw depending on whether we build usermode or kernel mode stubs
- Create zw.S using the macros

svn path=/trunk/; revision=50622
2011-02-08 19:00:54 +00:00
Timo Kreuzer
e37056f9ec [WIN32KSYS]
replace nci-generated stubs with a stub file using macros

svn path=/trunk/; revision=50621
2011-02-08 17:33:50 +00:00
Timo Kreuzer
7b91620ccb [ASM]
Add syscalls.inc, containing assembler macros to generate syscall stubs (all supported architectures)

svn path=/trunk/; revision=50620
2011-02-08 16:50:49 +00:00
Aleksey Bragin
eef9f90434 - "FontSmoothing" system parameter registry key should be REG_SZ (as it is in Windows, and as other SPIs are).
svn path=/trunk/; revision=50619
2011-02-08 15:55:56 +00:00
Roel Messiant
67f749a33b [HEAP]
- RtlpInsertFreeBlockHelper: Don't validate the Previous Size of the next Heap Entry when inserting a free Heap Entry into a free list. Should solve bug #5843 and may affect bug #5857.
  All callers of this function already perform this check, except for RtlpInsertFreeBlock, a function used during Heap Segment creation/expansion.
  RtlpInsertFreeBlock creates multiple free Heap Entries (using the helper function) if the free space is too big to be contained in a single Heap Entry.
  In such a case however, it creates a Heap Entry and calls the helper before creating the next Heap Entry, which triggers this assert.

svn path=/trunk/; revision=50617
2011-02-08 06:06:33 +00:00
Pierre Schweitzer
6b67a4985e [RTL]
Minor code changes to RTL (one would call them "optimisation"). Added some missing paged code.
Plus added useful asserts (used to catch r50615 bug!)

svn path=/trunk/; revision=50616
2011-02-07 23:23:33 +00:00
Pierre Schweitzer
dab840147a [USETUP]
Fix a really mean bug: wcslen() returns the size in characters whereas MaximumLength has to be in bytes.
Now, this sets MaximumLength to its appropriate size and prevents some memory issues (and buffers having odd size, which is weird for an unicode string...).

svn path=/trunk/; revision=50615
2011-02-07 23:16:29 +00:00
Pierre Schweitzer
ff11a09b02 [KMTEST]
Adding a new test for FsRtlIsNameInExpression(). Which is failing...
Will that end a day?!

svn path=/trunk/; revision=50614
2011-02-07 21:38:55 +00:00
Pierre Schweitzer
395793a7f2 [NTOSKRNL/PPC]
Fix the fix, spotted by "ThFabba" on IRC

svn path=/trunk/; revision=50612
2011-02-06 13:50:57 +00:00
Pierre Schweitzer
0b40557c13 [NTOSKRNL/PPC]
Fix sizeof() wrong usage

svn path=/trunk/; revision=50611
2011-02-06 13:05:45 +00:00
Eric Kohl
d3bca39b11 [SETUPAPI]
Implement CM_Is_Version_Available and CM_Is_Version_Available_Ex.

svn path=/trunk/; revision=50610
2011-02-05 21:58:19 +00:00
Jérôme Gardou
0b0d97cc92 [SYSSETUP]
SC Manager needs SC_MANAGER_ENUMERATE_SERVICE access right to be able to open a service
Add debug prints to help tracking down the "EnableUserModePnpManager()" issue

svn path=/trunk/; revision=50609
2011-02-05 16:00:11 +00:00
Timo Kreuzer
32bd053438 [NTOS]
Try to fix a winetst crash.

svn path=/trunk/; revision=50607
2011-02-04 23:19:00 +00:00
Amine Khaldi
f11bd43d00 [FREELDR]
- Don't apply gcc only flags to msvc.

svn path=/branches/cmake-bringup/; revision=50606
2011-02-04 22:43:36 +00:00
Timo Kreuzer
92d036f574 [WIN32K]
Fix a bug in calculation of the background color for 32bpp -> 1bpp color translations.
Fixes bug 2372

svn path=/trunk/; revision=50605
2011-02-04 13:53:49 +00:00
Timo Kreuzer
66cff693af [WIN32K]
Fix buggy mechanism of pushing and popping free gdi handle slots. The old mechanism unneccessarily locked the entry and it was prone to the ABA problem as it didn't use a sequence number.

svn path=/trunk/; revision=50604
2011-02-03 19:25:09 +00:00
Amine Khaldi
4426c9c0e7 [PORTCLS]
- Merge 50601 and 50602 from trunk. Portcls now compiles and links with msvc.

svn path=/branches/cmake-bringup/; revision=50603
2011-02-03 18:26:08 +00:00
Amine Khaldi
81b68c76fc [PORTCLS]
- Fix more msvc issues.

svn path=/trunk/; revision=50602
2011-02-03 18:21:19 +00:00
Johannes Anderwald
8fc76c66ea [PORTCLS]
- Try fix msvc issues for cmake branch

svn path=/trunk/; revision=50601
2011-02-03 17:17:18 +00:00
Johannes Anderwald
960f350819 [AUDIO]
- Add i/o completion routine, which delivers the number of bytes written / read
- Close event handle, after the overlapped request has been handled.
- Audio stack no longer leaks ~ 50 event handles per second

svn path=/trunk/; revision=50600
2011-02-03 09:34:59 +00:00
Timo Kreuzer
321385374d [CMAKE]
-Define HAVE_ALLOCA_H for dbghelp

svn path=/branches/cmake-bringup/; revision=50599
2011-02-02 17:40:25 +00:00
Timo Kreuzer
41d9b26507 [WINE]
Add alloca.h, which includes malloc.h. This is neccessary for MSVC builds of dbghelp

svn path=/branches/cmake-bringup/; revision=50598
2011-02-02 17:39:22 +00:00
Timo Kreuzer
85c0b78873 [SECUR32]
- Sort exports like on Windows
- Implement some functions as proper stubs
[SECURITY]
- Cleanup exports (remove 31 of 77 functions)
- properly forward all exports
- Link to secur32 for forwarded exports

svn path=/branches/cmake-bringup/; revision=50597
2011-02-02 17:06:20 +00:00
Timo Kreuzer
f9a184e117 [CMAKE]
Link fusion to uuid to fix msvc build

svn path=/branches/cmake-bringup/; revision=50595
2011-02-02 14:41:48 +00:00
Timo Kreuzer
f264eb68b2 [CMAKE]
Fix MSVC build of normaliz

svn path=/branches/cmake-bringup/; revision=50594
2011-02-02 14:05:29 +00:00
Timo Kreuzer
61c48c4272 [CMAKE]
Fix a typo

svn path=/branches/cmake-bringup/; revision=50593
2011-02-02 14:01:06 +00:00
Timo Kreuzer
7b45f773ed [CMAKE]
Link cfgmgr32 to setupapi, it redirects functions there and MSVC needs the importlib for that.

svn path=/branches/cmake-bringup/; revision=50592
2011-02-02 13:52:30 +00:00
Timo Kreuzer
ca768add12 [USER32]
- Remove exports for IsProcess16Bit and IsSETEnabled
- Redirect CalcMenuBar, PaintMenuBar and SetConsoleReserveKeys to NtUser*
- Implement stubs for BuildReasonArray, CreateSystemThreads, DestroyReasons, DeviceEventWorker, GetCursorFrameInfo, GetReasonTitleFromReasonCode, RecordShutdownReason, UserLpkPSMTextOut, UserLpkTabbedTextOut, Win32PoolAllocationStats
- Remove implementations of SetCursor, ClipCursor, GetClipCursor and HiliteMenuItem
- Remove auto stub file from sources
- Fix resource include path

svn path=/branches/cmake-bringup/; revision=50590
2011-02-02 13:15:26 +00:00
Timo Kreuzer
a2ceee354a [CMAKE]
revert r50587

svn path=/branches/cmake-bringup/; revision=50589
2011-02-01 22:07:32 +00:00
Timo Kreuzer
79d0882159 [CMAKE]
Correctly define CMAKE_RC_CREATE_SHARED_LIBRARY and CMAKE_ASM_CREATE_SHARED_LIBRARY for MSVC.

svn path=/branches/cmake-bringup/; revision=50588
2011-02-01 22:06:31 +00:00
Timo Kreuzer
fbba664095 [TAPIUI]
Set linker language C

svn path=/branches/cmake-bringup/; revision=50587
2011-02-01 21:51:48 +00:00
Timo Kreuzer
4fa40b55e4 [MSCMS]
mscms needs to link to advapi32, currently gcc builds optimize the calls to Reg* apis away, because of unimplemented fucntions.

svn path=/branches/cmake-bringup/; revision=50586
2011-02-01 20:23:33 +00:00
Timo Kreuzer
7d6c6d9196 [JSCRIPT]
Fix build with MSVC

svn path=/branches/cmake-bringup/; revision=50585
2011-02-01 20:08:13 +00:00
Timo Kreuzer
12eb8a290f [CMAKE]
add ftol2_asm.s to crt and ci.c to msvcsup

svn path=/branches/cmake-bringup/; revision=50584
2011-01-31 23:29:03 +00:00
Timo Kreuzer
84a13923a5 [CRT]
Implement call_finally_block, call_filter and call_unwind_func for MSVC

svn path=/branches/cmake-bringup/; revision=50583
2011-01-31 22:10:17 +00:00
Sylvain Petreolle
0c8a13f783 [ROSTESTS]
Add mmixer_test to cmake build.

svn path=/trunk/; revision=50582
2011-01-31 21:50:16 +00:00
Sylvain Petreolle
f22ed7dc10 [CMAKE]
Sync trunk up to r50570.

svn path=/branches/cmake-bringup/; revision=50581
2011-01-31 21:47:39 +00:00
Timo Kreuzer
99f04cc9ab [CMAKE]
(M)IDL doesn't allow definiting multiple identifiers with the same name and different case. Define MSIRUNMODE to MSIRUNMODE_T so it doesn't conflict with MsiRunMode anymore.

svn path=/branches/cmake-bringup/; revision=50580
2011-01-31 21:44:35 +00:00
Timo Kreuzer
b75df5788b [CMAKE]
Fix MSVC build of imm32

svn path=/branches/cmake-bringup/; revision=50579
2011-01-31 21:11:21 +00:00
Timo Kreuzer
8ea8ddbce1 [CMAKE]
Disable run-time type information for MSVC

svn path=/branches/cmake-bringup/; revision=50578
2011-01-31 19:47:02 +00:00
Timo Kreuzer
cb4db3af6f [CRT]
Put __declspec(nothrow) at a valid (for MSVC) position.

svn path=/branches/cmake-bringup/; revision=50577
2011-01-31 19:46:05 +00:00
Sylvain Petreolle
7de1e5ea8a [CMAKE]
Fix WSCUpdateProvider spec entry.

svn path=/branches/cmake-bringup/; revision=50576
2011-01-31 16:32:16 +00:00
Sylvain Petreolle
9fe4129254 [CMAKE]
Fix classpnp build.

svn path=/branches/cmake-bringup/; revision=50575
2011-01-31 15:56:39 +00:00
Timo Kreuzer
9cc4f5ceee [CMAKE]
Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation.

svn path=/branches/cmake-bringup/; revision=50574
2011-01-31 14:20:53 +00:00
Timo Kreuzer
ea3b37d0f8 [UUID]
Define _MIDL_USE_GUIDDEF_, this causes __decspec(selectany) to be used on the iids. This way we don't need any linker flags to silence warnings and it also fixes errors when linking later.

svn path=/branches/cmake-bringup/; revision=50573
2011-01-30 22:10:55 +00:00
Timo Kreuzer
1b18ef5578 [UUID]
Fix build with MSVC. We ignore warnings about duplicated symbols. MS uuid also contains them.

svn path=/branches/cmake-bringup/; revision=50572
2011-01-30 20:05:05 +00:00
Amine Khaldi
c2e1cbdff3 [ROSSYM]
- Properly handle images without debug symbols.

svn path=/branches/cmake-bringup/; revision=50571
2011-01-30 16:43:08 +00:00
Eric Kohl
83cdb8776c [NPFS]
Return multiple file entries in a single request.

svn path=/trunk/; revision=50570
2011-01-30 15:13:35 +00:00
Timo Kreuzer
96abfd1223 [UUID]
The old uuid library was one file containing all the uuids, generated from the psdk headers, which results in all GUIDs being linked, as soon as a single one is used. Also while widl creates DEFINE_GUID() entries in the header files, midl only creates "extern GUID", so this didn't work on MSVC. The new version uses iid files generated from the idl files and some extra C files. This works with both midl and widl, reduces overhead when linking uuids and is much closer to MS uuid lib.

svn path=/branches/cmake-bringup/; revision=50569
2011-01-30 14:09:38 +00:00
Michael Martin
613f1bbf85 [EXPLORER_NEW]
Implement resizing the work area.
Patch by greenie (greenie__ at hotmail dot com)

See issue #5846 for more details.

svn path=/trunk/; revision=50568
2011-01-30 03:56:40 +00:00
Eric Kohl
72664fe2d6 [LSALIB]
Fix compiler warnings for AMD64 build.

svn path=/trunk/; revision=50566
2011-01-29 19:01:34 +00:00
Aleksey Bragin
e7d3f44f6f - Define M_PI_4 too.
svn path=/trunk/; revision=50565
2011-01-29 19:00:15 +00:00
Timo Kreuzer
ff4324fb98 [CMAKE]
Fix compilation of actxprxy with MSVC

svn path=/branches/cmake-bringup/; revision=50563
2011-01-29 18:16:46 +00:00
Timo Kreuzer
4d2d6956d3 [CMAKE]
Link ole32 to iidlib. Fixes compilation on MSVC

svn path=/branches/cmake-bringup/; revision=50562
2011-01-29 17:58:43 +00:00
Timo Kreuzer
04e691ee90 [UUID]
Remove duplicate iids

svn path=/branches/cmake-bringup/; revision=50561
2011-01-29 17:58:06 +00:00
Timo Kreuzer
cdf564ef64 [CMAKE]
Add iidlib, a library containing all iids from the idl files

svn path=/branches/cmake-bringup/; revision=50560
2011-01-29 17:57:34 +00:00
Timo Kreuzer
1b389a39f8 [CMAKE]
- Add a macro add_iid_library to generate a static lib containing iids
- Fix get_includes and get_defines

svn path=/branches/cmake-bringup/; revision=50559
2011-01-29 17:45:45 +00:00
Timo Kreuzer
e33bf5e8ba [CLASSPNP]
Fix build with MSVC

svn path=/branches/cmake-bringup/; revision=50558
2011-01-29 15:12:40 +00:00
Timo Kreuzer
2ea20c66b6 [FRAMEBUF_NEW]
Fix build with MSVC

svn path=/branches/cmake-bringup/; revision=50557
2011-01-29 15:02:53 +00:00
Timo Kreuzer
a042b23093 [VGA_NEW]
Fix build with msvc

svn path=/branches/cmake-bringup/; revision=50556
2011-01-29 14:57:40 +00:00
Timo Kreuzer
dc0e8ba402 [NTDLL_APITEST]
Make syntax of ZwContinue.S ML compatible

svn path=/trunk/; revision=50555
2011-01-29 14:47:29 +00:00
Timo Kreuzer
e3d0802c23 [PSDK]
Fix include of windows.h from rpc.h

svn path=/branches/cmake-bringup/; revision=50554
2011-01-29 14:41:18 +00:00
Timo Kreuzer
2d462cd8b1 [CMAKE]
Don't compile w32kdll and w32knapi test on MSVC

svn path=/trunk/; revision=50553
2011-01-29 14:08:44 +00:00
Aleksey Bragin
a5dcd02b08 [TDI]
- Oleg Baikalow: Finish CTE timers. CTE implementation is complete now.

svn path=/trunk/; revision=50552
2011-01-29 14:03:41 +00:00
Aleksey Bragin
10c56cc21a [TDI]
- Move CTE routines into corresponding events.c and timer.c source code files before further applying Oleg's patches.

svn path=/trunk/; revision=50551
2011-01-29 13:07:06 +00:00
Aleksey Bragin
fa2a65b537 [TDI]
- Oleg Baikalow: Implement basic event and delayed event support functions for CTE. Structure names are made up, but their contents should be compatible with what Windows 2003 tdi.sys uses. Formatting and coding style fixes by the committer.

svn path=/trunk/; revision=50550
2011-01-29 11:13:51 +00:00
Timo Kreuzer
48a509e1d2 [CMAKE]
Ignore MSVC standard includes

svn path=/branches/cmake-bringup/; revision=50549
2011-01-29 10:29:42 +00:00
James Tabor
e459daf68f [Win32k]
- Fix crash with standalone win test_hind_message test.

svn path=/trunk/; revision=50548
2011-01-29 09:09:10 +00:00
James Tabor
ac10b13f14 [Win32k]
- Patch by rafalh <rafalh1992 at o2 dor pl>, see bug 5835. Fix timers implementation.


svn path=/trunk/; revision=50547
2011-01-29 09:03:25 +00:00
Aleksey Bragin
3ade810715 - Oleg Baikalow: TDI exported function prototypes are documented in WDK 7, so use them in our driver instead of old, probably NT4-aged stubs full of unknown variables.
- Oleg Baikalow: Don't use psdk's tdi.h but use a real tdikrnl.h (adding a _TDI_ global define so it's recognized as a tdi driver itself).

svn path=/trunk/; revision=50546
2011-01-28 22:13:44 +00:00
Timo Kreuzer
ca495a84b1 [IP]
Convert checksum.S to new ML compatible syntax. Resulting obj was compared and is identical to trunk (both GAS and ML)

svn path=/branches/cmake-bringup/; revision=50545
2011-01-28 20:35:22 +00:00
Aleksey Bragin
840ffb118a - Robert Horvath: Modify GetFullPathName to follow Windows behaviour more closely. Reduces kernel32:path winetests by 4, and fixes all GetFullPathName tests.
See issue #5865 for more details.

svn path=/trunk/; revision=50544
2011-01-28 20:22:15 +00:00
Aleksey Bragin
0c53866f7f - Robert Horvath: Always limit destLen to MAX_PATH (modified to an if condition by me).
See issue #5861 for more details.

svn path=/trunk/; revision=50543
2011-01-28 20:18:07 +00:00
Johannes Anderwald
2e9e41d857 [KS]
- Less spam, more information

svn path=/trunk/; revision=50542
2011-01-28 19:45:49 +00:00
Timo Kreuzer
56a3daafd4 [PSDK]
Fix inline definition of STRSAFEAPI for MSVC

svn path=/branches/cmake-bringup/; revision=50541
2011-01-28 19:41:28 +00:00
Timo Kreuzer
0f56e5955a [CMAKE]
Set linker language for win32ksys to C. Fixes MSVC compilation

svn path=/branches/cmake-bringup/; revision=50540
2011-01-28 19:37:22 +00:00
Timo Kreuzer
14a2a83fa2 [CMAKE]
Remove module name from ntoskrnl add_importlib_target

svn path=/branches/cmake-bringup/; revision=50539
2011-01-28 18:16:48 +00:00
Timo Kreuzer
066102156e [HID]
Fix spec file. All of the functions are present, either stubbed or implemented.

svn path=/branches/cmake-bringup/; revision=50538
2011-01-28 18:13:54 +00:00
Timo Kreuzer
2d96eac29f [CRT]
add a single prototype, instead of including math.h

svn path=/branches/cmake-bringup/; revision=50537
2011-01-28 17:44:30 +00:00
Timo Kreuzer
09d50a5784 [CMAKE]
- Preserve case of symbols when assembling (this is not default)
- link to msvcsup

svn path=/branches/cmake-bringup/; revision=50536
2011-01-28 17:40:36 +00:00
Sylvain Petreolle
cac01ad6eb [CMAKE]
Fix crt/bootcdregtest regression, due to _USER32_WSPRINTF.
add_definitions does not apply to target, but current directory.

svn path=/branches/cmake-bringup/; revision=50535
2011-01-28 13:41:55 +00:00
Amine Khaldi
79d8b4cf40 [CMAKE]
- Share freeldr_arch as a static lib between freeldr and setupldr.
- Some formatting fixes.

svn path=/branches/cmake-bringup/; revision=50534
2011-01-28 11:40:45 +00:00
Amine Khaldi
14c01bd73c [CMAKE]
- Properly handle setting the suffix variable. Fixes import libs creation.

svn path=/branches/cmake-bringup/; revision=50533
2011-01-28 11:25:24 +00:00
Johannes Anderwald
2b27c4f0de [WDMAUD.DRV]
- Merge from audio branch
- Fix build 
[WDMAUD_KERNEL]
- Fix build 
- Update to new mmixer library interface

svn path=/trunk/; revision=50532
2011-01-28 11:23:37 +00:00
Johannes Anderwald
c6b26fa452 [KS]
- Merge from audio branch
- Perform irp completion in dedicated function
- Move Software Bus function into own file
- Remove debugging code which caused crashes
- Partly implement IKsProcessingObject interface for filter
- Fix check in FindMatchingCreateItem function
- Implement software bus enumerator functions
[SWENUM]
- Implement SwDispatchPower, SwDispatchPower

svn path=/trunk/; revision=50531
2011-01-28 10:37:27 +00:00
Johannes Anderwald
f53f16f839 [PSDK]
- Merge from audio branch

svn path=/trunk/; revision=50529
2011-01-28 10:25:07 +00:00
Johannes Anderwald
269e92c794 [MMEBUDDY]
- Merge from audio branch
- Handle mixers identified by id, not by handle
- Fix opening of mixer devices
- Waveformat struct is only provided when type is wave device
- Implement wave reset routine, fixes audio recording on ReactOS SndRec, AudaCity etc. Also fixes random hang in WinAmp when skipping audio bytes
- Implement wave pausing / restarting, should lead to smoother playback
[MMIXER]
- Merge from audio branch
- Tons of fixes to enumeration of mixerlines, controls / etc
- Fix mixer event notification callbacks
- For more info, read audio-bringup log


svn path=/trunk/; revision=50528
2011-01-28 10:17:01 +00:00
Johannes Anderwald
33f5660028 [WINLOGON]
- Add msg constants (by smiley)

svn path=/trunk/; revision=50527
2011-01-28 09:58:44 +00:00
Johannes Anderwald
9358c42c8f [MMIXER_TEST]
- Update mmixer tests

svn path=/trunk/; revision=50526
2011-01-28 09:56:00 +00:00
Amine Khaldi
818d876f00 [CMAKE]
- The suffix variable already holds a dot, don't add another one. Fixes import libs generation.

svn path=/branches/cmake-bringup/; revision=50525
2011-01-28 09:31:54 +00:00
Matthias Kupfer
5bf7527edb - save the KeyboardCues value correctly
svn path=/trunk/; revision=50524
2011-01-27 23:53:57 +00:00
Timo Kreuzer
8c4b892bea [undocuser.h]
Add nreline at the end of the file. MSVC is very picky about that.

svn path=/branches/cmake-bringup/; revision=50523
2011-01-27 23:45:40 +00:00
Timo Kreuzer
d57a12e96a [RTL]
_Interlocked(Compare)ExchangePointer is an intrinsic that doesn't exist on x86, use portable version.

svn path=/branches/cmake-bringup/; revision=50522
2011-01-27 23:03:01 +00:00
Matthias Kupfer
51cb31fbc9 - effects dialog doesn't affect the color scheme (commented out until fixed finally)
svn path=/trunk/; revision=50521
2011-01-27 22:00:22 +00:00
Timo Kreuzer
0af4984309 [CMAKE]
Remove dll name from add_importlib_target macro

svn path=/branches/cmake-bringup/; revision=50520
2011-01-27 21:57:54 +00:00
Timo Kreuzer
39ec3cff8c [CMAKE]
get the library suffix from the target instead of passing it to the macro.

svn path=/branches/cmake-bringup/; revision=50519
2011-01-27 21:50:54 +00:00
Timo Kreuzer
168ca7cab8 [CMAKE]
Use spec file for getuname importlib

svn path=/branches/cmake-bringup/; revision=50518
2011-01-27 21:48:44 +00:00
Timo Kreuzer
62ff363e37 [UUID]
Add IID_IWineD3DDeviceParent for MSVC

svn path=/branches/cmake-bringup/; revision=50515
2011-01-27 16:18:47 +00:00
Timo Kreuzer
fe46ef7daa [CMAKE]
Compile a dummy rossym library on MSVC

svn path=/branches/cmake-bringup/; revision=50514
2011-01-27 16:17:25 +00:00
Timo Kreuzer
e92a8c0a72 [CRT]
Fix some warnings

svn path=/branches/cmake-bringup/; revision=50513
2011-01-27 13:45:06 +00:00
Timo Kreuzer
676e232576 [CMAKE]
ML64 compatibility fixes for amd64 assembly

svn path=/branches/cmake-bringup/; revision=50512
2011-01-27 13:37:21 +00:00
Timo Kreuzer
4814cb8ca6 [EXPLORER_NEW]
Fix syntax

svn path=/branches/cmake-bringup/; revision=50509
2011-01-27 10:47:55 +00:00
Timo Kreuzer
ef0127add2 [WORDPAD]
Fix chinese resource file

svn path=/branches/cmake-bringup/; revision=50508
2011-01-27 10:44:08 +00:00
Timo Kreuzer
8b1927d888 [PING]
Fix resource syntax for MSVC and recent versions of the gcc preprocessor.

svn path=/branches/cmake-bringup/; revision=50507
2011-01-27 10:42:06 +00:00
Timo Kreuzer
8191f95396 [CMAKE]
- Sync with trunk 50501
- fix a couple of merge artifacts (indentation)

svn path=/branches/cmake-bringup/; revision=50505
2011-01-26 23:24:08 +00:00
Sylvain Petreolle
e2b7eacdd5 [CMAKE]
Sync trunk up to r50477.

svn path=/branches/cmake-bringup/; revision=50504
2011-01-26 22:19:12 +00:00
Colin Finck
736698d868 [ROSAUTOTEST]
- Fix direct submission to Testman after the recent changes and finally change the location to "reactos.org" instead of "localhost".
  Makes Rosautotest ready for running tests on our upcoming Windows Server instance.

svn path=/trunk/; revision=50502
2011-01-26 21:56:17 +00:00
Timo Kreuzer
3c0a0ad03b Fix build of wined3d
svn path=/trunk/; revision=50501
2011-01-26 17:43:31 +00:00
Timo Kreuzer
46ff706cc4 [CRT]
Cleanup math.h from unixism. For now move everything that doesn't belong there into mingw_math.h.

svn path=/trunk/; revision=50500
2011-01-26 17:16:07 +00:00
Timo Kreuzer
7cf49f4328 [CRT]
- Replace isinf with !_finite and isnan with _isnan

svn path=/trunk/; revision=50499
2011-01-26 16:28:34 +00:00
Timo Kreuzer
243ce74d82 [AVIFIL32]
Split utf8 resources into theit own file (MSVC compatibility)


svn path=/trunk/; revision=50498
2011-01-26 16:26:42 +00:00
Timo Kreuzer
2508955123 crt header compatibility update:
- define _USE_MATH_DEFINES for dsound, gdiplus, jscript and some win32k files
- don't define HAVE_LRINT(F) in libsamplerate
- Remove M_PI constants from win32k

svn path=/trunk/; revision=50497
2011-01-26 16:24:35 +00:00
Timo Kreuzer
7ad2ae7720 [FREELDR]
Fix compilation on MSVC

svn path=/branches/cmake-bringup/; revision=50496
2011-01-25 22:23:10 +00:00
Timo Kreuzer
81995bfd2e [CRT]
Fix copy pasta. Spotted by rs on irc.

svn path=/branches/cmake-bringup/; revision=50495
2011-01-25 20:56:14 +00:00
Timo Kreuzer
0fab7e8671 [CRT]
On MSVC mark abs, labs and strcmp as intrinsics (needed when compiling with /O2+) and disable a warning that they are not intrinsics (when compiled with /O1)

svn path=/branches/cmake-bringup/; revision=50494
2011-01-25 20:48:56 +00:00
Timo Kreuzer
6b8ea6b64e [CMAKE]
Link smss to msvcsup on MSVC builds


svn path=/branches/cmake-bringup/; revision=50493
2011-01-25 19:19:02 +00:00
Timo Kreuzer
f9870b513e [PSDK]
Include pseh.h not only for gcc

svn path=/branches/cmake-bringup/; revision=50492
2011-01-25 18:58:21 +00:00
Timo Kreuzer
5a73dc4e58 [RTL]
Add InterlockedBitTestAndSet* defines

svn path=/branches/cmake-bringup/; revision=50491
2011-01-25 18:48:26 +00:00
Timo Kreuzer
67e321c158 [CMAKE]
- Fix mc command
- temporary disable optimization settings to prevent warning

svn path=/branches/cmake-bringup/; revision=50490
2011-01-25 18:09:29 +00:00
Timo Kreuzer
14bde089ab [CMAKE]
Don't include resources twice in findstr, remove rbuild file

svn path=/branches/cmake-bringup/; revision=50489
2011-01-25 17:00:43 +00:00
Timo Kreuzer
f4dd5fd0c6 [CMAKE]
msc.cmake: fix spec2def invocation, add pseh library, remove set_export_spec

svn path=/branches/cmake-bringup/; revision=50488
2011-01-25 16:31:04 +00:00
Timo Kreuzer
45cb5eb141 [CMAKE]
On MSVC builds, compile native SEH support into PSEH library.
This should be part of the crt, but our crt is too disorganized to handle that. The empty C file is for cmake to get the library right.

svn path=/branches/cmake-bringup/; revision=50486
2011-01-25 16:26:54 +00:00
Timo Kreuzer
0c480c0cb2 [KERNEL32]
Escape some characters in nls files for MSVC compatibility

svn path=/branches/cmake-bringup/; revision=50485
2011-01-25 14:40:32 +00:00
Timo Kreuzer
50c1320ff9 [CMAKE]
Fix return type of NdrClientCall*

svn path=/branches/cmake-bringup/; revision=50484
2011-01-25 11:55:45 +00:00
Timo Kreuzer
87ab59ef61 [CRT]
Implement __SEH_epilog

svn path=/branches/cmake-bringup/; revision=50483
2011-01-25 09:33:37 +00:00
Timo Kreuzer
776c09f1fd [CRT]
Implement ms compatible __SEH_prolog

svn path=/branches/cmake-bringup/; revision=50482
2011-01-25 01:28:41 +00:00
Timo Kreuzer
54759c40ba [CMAKE]
Fix rostests after changing macros

svn path=/trunk/; revision=50481
2011-01-24 21:20:04 +00:00
Timo Kreuzer
d5fecffd28 [NTDLL]
Fix some exports by marking them as fastcall instead of prepending an @ to the name

svn path=/branches/cmake-bringup/; revision=50480
2011-01-24 20:24:35 +00:00
Timo Kreuzer
d3f4900a66 [CRT]
compile memcmp, abs and labs on MSVC, too.

svn path=/branches/cmake-bringup/; revision=50479
2011-01-24 19:50:01 +00:00
Timo Kreuzer
0d54e35b94 [CMAKE]
Refactor IDL compilation:
- Move all macros to idl-support.cmake
- Make rpc proxy a static library, instead of fiddeling with SOURCE variable
- Merge client and server rpc libraries into one library
- Reorder global makelist file a little
- Improve configure script
- Improve naming, use add_* when a target is added, generate_* when only a file is generated
- Don't compile wbemcli.idl on MSVC (temp hack)
- Don't compile rossym on MSVC, we don't use it
- Use ml64 as assembler when compiling for amd64
- fix spec2def invocation

svn path=/branches/cmake-bringup/; revision=50478
2011-01-24 18:13:40 +00:00
Aleksey Bragin
311184a8fa - Remove undocumented defines from winuser.h and include undocuser.h when _WINE is defined.
svn path=/trunk/; revision=50477
2011-01-24 12:58:51 +00:00
Roel Messiant
6c6117766d [NTOS]
- Only update the System Page Directory when expanding the paged pool. Fixes the PointerPde asserts.
  On paged pool expansion, the system page directory and the process page directory of the calling process were updated.
  When updating the process page directory, an assert made sure the PDE that got written was invalid.

  In case of the System process, both page directories are located on the same physical page.
  So when this process expanded the paged pool, the system page directory update automagically
  updated the process page directory too.  The assert therefore triggered.

  Not explicitly updating the process page directory will result in a page fault later on, which is
  handled by copying the required PDE from the system page directory to the process page directory.

  Rumour has it this fix is incorrect because "something's wrong with the System PDE stuff".  The lack
  of any further info however leads to this change and explanation.

svn path=/trunk/; revision=50475
2011-01-23 19:27:13 +00:00
Eric Kohl
ce2570f468 [NPFS]
Check if the whole pipe name fits into the return buffer. Return STATUS_BUFFER_OVERFLOW if it does not fit and copy only a part of the file name in this case.

svn path=/trunk/; revision=50474
2011-01-23 14:41:07 +00:00
Sylvain Petreolle
256c5c72c0 [CMAKE]
WIN32: get build date without overcomplicated string parsing.

svn path=/branches/cmake-bringup/; revision=50473
2011-01-23 13:10:14 +00:00
Sylvain Petreolle
9fb04fdf80 [CMAKE]
Fix buildno.h when subversion is not installed.

svn path=/branches/cmake-bringup/; revision=50472
2011-01-23 11:27:01 +00:00
Timo Kreuzer
4dbcb77b8f [CRT]
fix definition of _crt_va_arg for amd64

svn path=/branches/cmake-bringup/; revision=50471
2011-01-22 23:22:10 +00:00
Timo Kreuzer
5f6e050626 - _mingw.h: Don't define USE_MINGW_SETJMP_TWO_ARGS for MSVC
- _mingw.h: Fix definition of _CRT_ALIGN for MSVC
- intrin.h: _InterlockedAddLargeStatistic is not an intrinsic on MSVC for x64
- intrin.h: Fix return type of _InterlockedOr64
- wdm.h: Fix warnings in KfRaiseIrql and RtlExtendedMagicDivide inline implementations
- winnt.h: Simplify definition of GetCurrentFiber

svn path=/branches/cmake-bringup/; revision=50470
2011-01-22 19:17:10 +00:00
Timo Kreuzer
1fb963feea [CMAKE]
Remove _M_AXP64 definition

svn path=/branches/cmake-bringup/; revision=50469
2011-01-22 18:41:33 +00:00
Eric Kohl
8b8fbc77af [SETUPAPI]
Fix a warning.

svn path=/trunk/; revision=50468
2011-01-22 18:16:12 +00:00
Timo Kreuzer
e212d018ae [CMAKE]
Copy vadefs.h from amd64 branch

svn path=/branches/cmake-bringup/; revision=50467
2011-01-22 17:52:33 +00:00
Timo Kreuzer
a3604ffda3 [CMAKE]
- lowerize ARCH string (fixes cmlib)
- move definition

svn path=/branches/cmake-bringup/; revision=50465
2011-01-22 17:13:06 +00:00
Timo Kreuzer
83fb618aba [CMAKE]
Don't set lib pathes in msc toolchain file. Fixes amd64

svn path=/branches/cmake-bringup/; revision=50464
2011-01-22 16:26:37 +00:00
Timo Kreuzer
9ea0f74e9d [CMAKE]
Fix and improve configure script

svn path=/branches/cmake-bringup/; revision=50463
2011-01-22 16:25:35 +00:00
Timo Kreuzer
e3a47f88a8 [CMAKE]
Fix configure script for MSVC

svn path=/branches/cmake-bringup/; revision=50462
2011-01-22 16:05:07 +00:00
Eric Kohl
f6b450f16a [SETUPAPI]
- Implement CMP_WaitServicesAvailable().
- CM_Get_First_Log_Conf_Ex(): Create a LOG_CONF_INFO struct only if plcLogConf is not NULL. 

svn path=/trunk/; revision=50461
2011-01-22 15:43:57 +00:00
Timo Kreuzer
d7420c8060 [FREELDR]
compile headless support only for x86

svn path=/trunk/; revision=50459
2011-01-22 09:47:20 +00:00
Timo Kreuzer
a89924e2bd [NTOSKRNL]
MiAddressToPte translates a virtual address to the corresponding PTE, MiAddressToPde to the corresponding PDE. MiPteToAddress is the inverse of MiAddressToPte and translates from a PTE to the virtual address. MiPdeToAddress broke this scheme and didn't calculate the corresponding virtual adress, but the adress of the page table. Fix this inconsistency by renaming the macro to MiPdeToPte and adding a fixed MiPdeToAddress. All references fixed accordingly.

svn path=/trunk/; revision=50458
2011-01-22 09:43:52 +00:00
Timo Kreuzer
e62f89f35b [INTRIN]
- Implement _mm_sfence, _mm_lfence, __faststorefence (for amd64)
- Don't use __sync_synchronize() for _ReadWriteBarrier, as it issues an mfence instruction and this is not what we want
- Remove "BUGBUG" comment, because the fact that _ReadBarrier and _WriteBarrier are full (compiler) barriers isn't critical.

svn path=/trunk/; revision=50456
2011-01-21 20:56:36 +00:00
Sylvain Petreolle
029f4fd445 [CMAKE]
Forgotten deletion in previous commit.

svn path=/branches/cmake-bringup/; revision=50455
2011-01-21 20:37:01 +00:00
Sylvain Petreolle
5f1a2314f2 [CMAKE]
Use cmake subversion capabilities to generate buildno.h and version.h.

svn path=/branches/cmake-bringup/; revision=50454
2011-01-21 20:29:45 +00:00
Eric Kohl
313c5318b3 [NPFS]
Initialize only the required parts of the return buffer. This will enable the driver to return information about multiple pipes in a single request.

svn path=/trunk/; revision=50452
2011-01-20 21:48:06 +00:00
Timo Kreuzer
1da8f22b84 [ROSSYM]
The function dexec uses the varable p only in one location where its checked against nil, It neither initialized, not used anywhere else. This is probably a typo and b->p was meant. Yes I'm completely guessing, but this code doesn't give any other chance then guessing and it will probably not be worse then using an uninitialized variable...
@original author: please review.

svn path=/branches/cmake-bringup/; revision=50450
2011-01-20 15:39:55 +00:00
Timo Kreuzer
0eada29ab7 [CMAKE]
Disable format warnings for winetest_ok

svn path=/branches/cmake-bringup/; revision=50449
2011-01-20 14:30:15 +00:00
Timo Kreuzer
35e02b21b1 [CMAKE]
cast some fprintf parameters explicitly to the required type to fix warnings.

svn path=/branches/cmake-bringup/; revision=50448
2011-01-20 12:53:47 +00:00
Timo Kreuzer
9f0220b25e [CMAKE]
Define __ROS_LONG64__ for all winetests

svn path=/trunk/; revision=50447
2011-01-20 12:52:41 +00:00
Amine Khaldi
4b35cf7b8b [CMAKE]
- Revert r50441. Please note that the recent revisions around this define are for testing.

svn path=/trunk/; revision=50444
2011-01-19 19:01:37 +00:00
Timo Kreuzer
87100588dc [GDI32]
Fix broken portable implementation of _lrintf, 2nd try :)

svn path=/trunk/; revision=50443
2011-01-19 18:10:50 +00:00
Timo Kreuzer
8c35fc79b8 [GDI32]
Fix broken portable implementation of _lrintf

svn path=/trunk/; revision=50442
2011-01-19 18:10:08 +00:00
Amine Khaldi
d0f0bdb64b [CMAKE]
- Add __WINESRC__ definition to all winetests.

svn path=/trunk/; revision=50441
2011-01-19 17:51:43 +00:00
Timo Kreuzer
2ea57bf789 [ASM]
Add include guards to asm.inc and comment out broken ljmp macro

svn path=/trunk/; revision=50438
2011-01-19 16:58:58 +00:00
Timo Kreuzer
b1d121930a [CMAKE]
Revert part of 50435

svn path=/trunk/; revision=50437
2011-01-19 16:26:49 +00:00
Timo Kreuzer
6e889205be [CMAKE]
test for the buildbot

svn path=/branches/cmake-bringup/; revision=50436
2011-01-19 16:19:52 +00:00
Timo Kreuzer
97830a1dfe [CMAKE]
Revert r50434. Insetad add __WINESRC__ definition to amstream and avifil32 winetests

svn path=/trunk/; revision=50435
2011-01-19 14:59:38 +00:00
Timo Kreuzer
f7786ad9d4 [CMAKE]
Add __WINESRC__ definition to all winetests.

svn path=/trunk/; revision=50434
2011-01-19 14:18:42 +00:00
Timo Kreuzer
7d0de33986 [CMAKE]
Fix warnings by casting values explicitly to int in wine/test.h

svn path=/branches/cmake-bringup/; revision=50433
2011-01-19 13:50:22 +00:00
Timo Kreuzer
eb1dd36ba2 [CMAKE]
define _CRT_NONSTDC_NO_DEPRECATE for libmpg123 to silence a warning

svn path=/branches/cmake-bringup/; revision=50432
2011-01-19 13:35:09 +00:00
Timo Kreuzer
be0830b12f [CMAKE]
Move secure api functions from external file into string.h and use standard macros. Fixes 2 warnings.

svn path=/branches/cmake-bringup/; revision=50431
2011-01-19 13:33:48 +00:00
Timo Kreuzer
a23b388edb [CMAKE]
Include stdio.h into strsafe.h to silence a warning

svn path=/branches/cmake-bringup/; revision=50430
2011-01-19 12:05:18 +00:00
Timo Kreuzer
75818ca832 [CMAKE]
prevent macro refefinition

svn path=/branches/cmake-bringup/; revision=50429
2011-01-19 11:58:42 +00:00
Timo Kreuzer
8f523a01d4 [CMAKE]
Add missing strcpy_s and strcat_s prototypes to silence some warnings

svn path=/branches/cmake-bringup/; revision=50428
2011-01-19 11:55:45 +00:00
Timo Kreuzer
0f17c54568 [CMAKE]
Don't add importlibs folder as link directory for anything other than i386 builds

svn path=/branches/cmake-bringup/; revision=50427
2011-01-19 11:33:27 +00:00
Roel Messiant
05602c1b7e [NTOS]
- Fix a typo in the page fault handler that caused PDEs to be fixed up when they were in fact valid.

svn path=/trunk/; revision=50426
2011-01-18 22:42:44 +00:00
Sylvain Petreolle
5d2288d18d [CMAKE]
Convert wsock32 to spec.

svn path=/branches/cmake-bringup/; revision=50423
2011-01-18 15:02:26 +00:00
Daniel Reimer
24ce794fa2 revert it... test commit...
svn path=/trunk/; revision=50418
2011-01-17 23:16:46 +00:00
Daniel Reimer
6f4a16f6f0 Test commit
svn path=/trunk/; revision=50417
2011-01-17 23:12:27 +00:00
Daniel Reimer
0f6f4a6797 Update rapps database and add encoded's VMWare Sound driver.
svn path=/trunk/; revision=50416
2011-01-17 23:05:15 +00:00
Sylvain Petreolle
c9f45b2977 [TEST]
Enable DroidSansFallback.ttf.

svn path=/trunk/; revision=50415
2011-01-17 23:01:16 +00:00
Sylvain Petreolle
c925aa8d89 [TEST]
Disable DroidSansFallback.ttf.

svn path=/trunk/; revision=50414
2011-01-17 22:58:29 +00:00
Sylvain Petreolle
31f466388e [TEST]
Enable DroidSansFallback.ttf.

svn path=/trunk/; revision=50413
2011-01-17 22:53:11 +00:00
Sylvain Petreolle
313b09060f [TEST]
Disable DroidSansFallback.ttf.

svn path=/trunk/; revision=50412
2011-01-17 22:46:46 +00:00
Sylvain Petreolle
a3950d9165 [MSVCRT]
No reason for wcsxfrm to be a stub when code is here.

svn path=/trunk/; revision=50411
2011-01-17 21:51:30 +00:00
Sylvain Petreolle
830f3bf4c5 TRANSLATION: fix typo in shutdown.
svn path=/trunk/; revision=50410
2011-01-17 21:37:59 +00:00
Timo Kreuzer
f0264e4afc [USER32]
Fix CreateIcon and CreateIconIndirect. Fixes user32_winetest:cursoricon. (Yes we execute less tests, but that is correct! wine probably only passes these tests by chance)

svn path=/trunk/; revision=50408
2011-01-17 01:22:16 +00:00
Amine Khaldi
e8a298b190 [CMAKE]
- Adapt gdi32 apitest cmake build to the recent changes.

svn path=/trunk/; revision=50407
2011-01-16 22:11:35 +00:00
Timo Kreuzer
1fe01dc0e3 [USER32]
- Fix bug in CreateIconIndirect
- implement get_icon_size
- use unmodified wine code for STATIC_PaintIconfn

svn path=/trunk/; revision=50406
2011-01-16 21:41:47 +00:00
Timo Kreuzer
93fc2852cd [USER32_APITEST]
Add tests for GetIconInfo.

svn path=/trunk/; revision=50405
2011-01-16 21:03:20 +00:00
Timo Kreuzer
8bf0247095 [GDI32_APITEST]
Add tests for DPtoLP
- More tests for CombineTransform, CreateBitmapIndirect and SelectObject

svn path=/trunk/; revision=50404
2011-01-16 20:53:48 +00:00
Timo Kreuzer
e1efc7ca51 [AMD64]
Add ksamd64.inc

svn path=/trunk/; revision=50403
2011-01-16 18:16:24 +00:00
Matthias Kupfer
58fa62af33 - Fix replaced by more flexible code for arbitrary cursor sizes
svn path=/trunk/; revision=50402
2011-01-16 18:15:12 +00:00
Timo Kreuzer
5524d17a56 [CMAKE]
Provide the asm offset constants that are used throughout the code instead the official ones. We'll have to decide which way to go later.

svn path=/branches/cmake-bringup/; revision=50401
2011-01-16 18:07:15 +00:00
Timo Kreuzer
f6165b795c [CMAKE] Convert crtdll to spec
svn path=/branches/cmake-bringup/; revision=50400
2011-01-16 18:02:17 +00:00
Thomas Bluemel
98fe9682e3 Implement GetClassLongPtrA/W
svn path=/trunk/; revision=50399
2011-01-16 17:08:07 +00:00
Matthias Kupfer
030dbb0bbc - Fix draw of cursors in static controls
- Last part of fix for bug #4874

svn path=/trunk/; revision=50398
2011-01-16 12:51:14 +00:00
Thomas Bluemel
44f8ef985c Create a security descriptor for the desktops rather than passing the ACLs in as a security descriptor
svn path=/trunk/; revision=50397
2011-01-16 02:51:58 +00:00
Thomas Bluemel
8f2b4ea5e1 Portability bugfixes
svn path=/trunk/; revision=50396
2011-01-16 01:32:45 +00:00
Timo Kreuzer
fb49d55fda [WIN32K]
Set correct error value on failure in NtUserSetCursor. Patch by Victor Martinez.

svn path=/trunk/; revision=50392
2011-01-15 19:42:56 +00:00
Timo Kreuzer
6ecbc52144 [NTOSKRNL]
Fix comments and reduce code complexity.

svn path=/trunk/; revision=50391
2011-01-15 19:13:22 +00:00
Eric Kohl
b51f0a0553 [NTOSKRNL]
Simplify SepPrivilegeCheck.
Patch by Timo Kreuzer.

svn path=/trunk/; revision=50390
2011-01-15 14:35:26 +00:00
Timo Kreuzer
08c3db2a66 [PING]
Fix MyLoadString. Patch by menone7 at gmail dot com.

svn path=/trunk/; revision=50389
2011-01-15 12:58:05 +00:00
Timo Kreuzer
97b0bc9cd2 [CRT]
Fix uninitialized warning

svn path=/trunk/; revision=50387
2011-01-15 11:18:01 +00:00
Giannis Adamopoulos
ce53947b29 Revert 50381 and 50382. Altough it reduces number of reboots in the test server, it somehow reveals a registry corruption and cripples completely automated testing
svn path=/trunk/; revision=50386
2011-01-14 23:20:26 +00:00
Timo Kreuzer
3d2338dcfb [CRT]
Fix miscalculation of number of decimal points to shift for %f format. Should fix shlwapi:string tests and bug 5818.

svn path=/trunk/; revision=50385
2011-01-14 20:00:10 +00:00
Roel Messiant
e1fd32ceb8 [IPHLPAPI]
- Remove conditional redefine of DPRINT. Wine debug channels at this point, and we have NDEBUG.
- Use TRACE instead of DbgPrint. Gets rid of the "Status 2" spam when no static nameserver is in the registry.

svn path=/trunk/; revision=50384
2011-01-14 18:47:57 +00:00
Amine Khaldi
bb2d08d57e [CMAKE]
- Fix rosautotest build.

svn path=/trunk/; revision=50382
2011-01-13 11:13:09 +00:00
Giannis Adamopoulos
ff9649d7d7 [rosautotest]
-Implement closing any dialog that shows and stays visible for some time. This way rosautotest can now continue if a test application crashes or asserts.

svn path=/trunk/; revision=50381
2011-01-13 09:58:04 +00:00
Giannis Adamopoulos
4fa818b9d8 [user32]
- Implement sending EVENT_SYSTEM_DIALOGSTART event. It will be used by rosautotest

svn path=/trunk/; revision=50380
2011-01-13 09:56:32 +00:00
Roel Messiant
f4bc8a0c1e [CMAKE]
- Add tests for CombineTransform and MaskBlt, part 2. Build is happy again.

svn path=/trunk/; revision=50379
2011-01-12 23:20:02 +00:00
Johannes Anderwald
21a501b67b Fix typos ;)
svn path=/trunk/; revision=50378
2011-01-12 22:25:16 +00:00
Pierre Schweitzer
332f24f0c3 [PING]
French translation patch from myself aka Pierre Schweitzer, with deepest love, and so on...

svn path=/trunk/; revision=50377
2011-01-12 21:55:48 +00:00
Timo Kreuzer
8e33611d65 [PING]
Italian translation of ping. Patch by Vincenzo Cotugno ( vins8920 at hotmail dot com)

svn path=/trunk/; revision=50376
2011-01-12 21:35:45 +00:00
Timo Kreuzer
936141aff8 [WIN32K]
Go back to hiding the cursor with GreMovePointer, instead of setting NULL bitmaps. While MSDN states that psoColor and psoMask can both be NULL in DrvSetPointerShape, it doesn't explicitly say anything about both being NULL at the same time. VBox driver doesn't expect that and will crash, so most likely windows doesn't do this.

svn path=/trunk/; revision=50375
2011-01-12 21:15:46 +00:00
Timo Kreuzer
4d273ac5b0 [PING]
Polish translation of ping. Patch by Olaf Siejka.

svn path=/trunk/; revision=50374
2011-01-12 20:05:06 +00:00
Timo Kreuzer
56bba0d097 [PING]
Add German translation.

svn path=/trunk/; revision=50373
2011-01-12 17:12:09 +00:00
Timo Kreuzer
224a9ae3e3 [PING]
Implement small helper MyLoadString, using FindResource, LoadResource, LockResource and replacing LoadString, so we don't need to link to user32 anymore.

svn path=/trunk/; revision=50372
2011-01-12 15:31:20 +00:00
Timo Kreuzer
131cc1f4b3 [PING]
Add localization support to ping. Patch by "none" (menone7 at gmail dot com)

See issue #5500 for more details.

svn path=/trunk/; revision=50371
2011-01-12 14:57:22 +00:00
Timo Kreuzer
ab4a29a81b [WIN32K]
Reset monitor size after mode switch. patch by rafalh <rafalh1992 at o2 dor pl>

See issue #5727 for more details.

svn path=/trunk/; revision=50370
2011-01-12 14:02:54 +00:00
Timo Kreuzer
2aa0f3b839 [NTOSKRNL]
Remove broken definition of SharedUserdata and use correct SharedUserData instead. Fixes a crash on real Hardware. Patch by Daniel Zimmermann (netzimme at googlemail dot com)

See issue #5650 for more details.

svn path=/trunk/; revision=50369
2011-01-12 13:40:34 +00:00
Timo Kreuzer
d73991290d [EXPLORER_NEW]
Open a context menu, when a task is right clicked.
Patch by greenie (greenie__ at hotmail dot com)

See issue #4671 for more details.

svn path=/trunk/; revision=50368
2011-01-12 13:22:12 +00:00
Timo Kreuzer
33579181bb [EXPLORER_NEW]
Provide the ability to query version info (needed for task
grouping).
Patch by DavidErceg <dave_154@hotmail.com>

See issue #4386 for more details.

svn path=/trunk/; revision=50367
2011-01-12 13:12:00 +00:00
Timo Kreuzer
fceaa9ff48 [WIN32K]
- In UserSetCursor, return a pointer to the old cursor, not the handle
- really delete the pointer shape when NULL cursor is set, instead of just hiding it.
- Move reference handling completely to NtUserSetCursor
- In UserChangeDisplaySettings, set NULL cursor before change and restore old cursor after change to make sure we have the right color format.

See issue #5722 for more details.

svn path=/trunk/; revision=50365
2011-01-12 11:49:29 +00:00
Timo Kreuzer
8119453d37 [WIN32K]
Don't leak the memory for DIB sections. we set BMF_DONT_FREE in SURFACE_bSetBitmapBits, when the caller provides bits. This needs to be reconsidered.

svn path=/trunk/; revision=50363
2011-01-12 01:01:30 +00:00
Timo Kreuzer
9e27e5706e [WIN32K]
Don't trat BI_BITFIELDS as compressed format in DIB_CreateDIBSection. Fixes KSStudio. Why it was introduced by r48359? I don't know. It was broken before. I refrain from making any more comments about that piece of ... code.

See issue #5781 for more details.

svn path=/trunk/; revision=50362
2011-01-12 00:26:20 +00:00
Timo Kreuzer
10c634a79d [USER32]
- Use new wsprintf library, remove old code (536 lines)
- Fixes output of %I64, for example dxdiag

svn path=/trunk/; revision=50361
2011-01-11 19:57:55 +00:00
Timo Kreuzer
85a33b9385 [CRT]
- Add user32_wsprintf library, with all the wsprintf functions, generated from the same codebase
- simplify handling of ll modifier in streamout

svn path=/trunk/; revision=50360
2011-01-11 19:09:48 +00:00
Giannis Adamopoulos
279d1b9348 fix build
svn path=/trunk/; revision=50359
2011-01-11 19:04:44 +00:00
Giannis Adamopoulos
f87e9de819 fix build
svn path=/trunk/; revision=50358
2011-01-11 18:55:19 +00:00
Giannis Adamopoulos
60c3c28ee1 [undocuser.h]
- gather several undocumented definitions for user32 that were defined in several different files, sometimes in the source, sometimes in headers and sometimes defined several times here and there
This file should not contain internal user32 definitions but undocumented public definitions

svn path=/trunk/; revision=50357
2011-01-11 18:47:16 +00:00
Timo Kreuzer
caa8ab6ac5 [CRT]
Remove deprecated <if>.

svn path=/trunk/; revision=50356
2011-01-11 15:17:35 +00:00
Timo Kreuzer
7397aa09ad [CRT]
Get rid of the old printf code and some unused functions. 3346 lines of code less.

svn path=/trunk/; revision=50355
2011-01-11 13:13:47 +00:00
Timo Kreuzer
0b68bdaf30 [CRT]
Improve code readability a bit

svn path=/trunk/; revision=50354
2011-01-11 12:17:46 +00:00
Amine Khaldi
5962942907 [CMAKE]
- Fix wmi and drmk entry points.
- Don't use both reactos and wine debug headers in iphlpapi. Fixes the macro redefinition warnings.

svn path=/branches/cmake-bringup/; revision=50353
2011-01-10 20:59:17 +00:00
Timo Kreuzer
500a89ae51 [WIN32K]
Remove debugging code.

svn path=/trunk/; revision=50352
2011-01-10 09:53:56 +00:00
James Tabor
e642b65095 [Win32k]
- Implement NtGdiCreateMetafileDC.
- Since most of the gdi work I committed is being reverted or if'ed out of existence, this will be the last.

svn path=/trunk/; revision=50351
2011-01-10 01:36:14 +00:00
James Tabor
ce036c09c3 [Win32k]
- Win32k implementation of GetCharacterPlacementW, work is dedicated to the late Professor John Collins.


svn path=/trunk/; revision=50350
2011-01-10 01:30:17 +00:00
Timo Kreuzer
d731a4b9f1 [WIN32K]
Fix use of XFORMOBJ. Should fix gdi32_winetest clipping regression and release breakage.

svn path=/trunk/; revision=50349
2011-01-09 23:23:42 +00:00
Amine Khaldi
9790b02502 [CMAKE]
- Fix another warning in libxml2. Thanks to Timo.

svn path=/branches/cmake-bringup/; revision=50348
2011-01-09 21:34:20 +00:00
Roel Messiant
aed1ae8698 [NTOS]
Complete rewrite reserving and releasing of System PTEs.

The previous algorithm, in a nutshell, worked as follows:
- PTE clusters are in a singly linked list, ordered by their base address.
- All PTEs in the clusters are zeroed (except for cluster list bookkeeping).
- Upon reservation: Walk the list to get the first cluster that's large enough, cut the requested amount of PTEs off its tail and return them.
- Upon release: Create a new cluster using the PTEs to release, and merge it together with possible adjacent clusters.

Problems with the previous algorithm:
- While the idea is that all PTEs in clusters are zeroed, which requesters rely on, cluster bookkeeping isn't zeroed on merges.
  The side effect of this was that PTEs that weren't really zeroed were randomly delivered to requesters.
- 99% of the time, allocations are serviced using the first cluster in the list, which is virtually always the first suitable cluster.
  This is so because the ordering is based on the base address of the clusters, and allocations are serviced using the cluster tail.
  Because the first cluster starts out as the whole pool, and the pool is quite sizable, it can deal with virtually allocations.. for a while.
- A corollary of the previous point is *massive fragmentation* because: as long as an allocation isn't released back into the pool,
  the space of previous allocations that have been released isn't reused because the first cluster can't suck them up, and enough allocations remain in use.
- The combined effect of the previous two points: a first cluster that effectively shrinks mostly, with small clusters forming behind it.
  Once the first cluster has shrunk far enough (which of course takes a long time), 90% of the space may still be free, scattered in mostly small clusters.
  This would make decent sized allocations fail because of the heavy fragmentation.
- An implementation detail that caused the head of the list to be treated as a genuine cluster when the first cluster in the list was too small.
  The algorithm (as explained above) made this case quite unlikely until your system has been running for a while, after which it could happily
  corrupt list heads of other pools, depending on where the list head is with respect to its own pool.

Empirically obtained data revealed that after just *booting to the desktop*, the pool for System Pte Space entries
contained roughly 70 (unusable) clusters, blocking 15 to 20% of the pool. These figures increased to roughly 100
clusters and 30 to 35% after opening a foxy browser and using it to visit a mathematically inspired search engine.

The same data also showed that over 95% of allocations requested just a single PTE, and a noticable allocation spike
also occured in the range of 65-128 PTEs.  It should be clear optimizing for small allocations is a good idea,
and preferably encourage reuse the same PTEs for such allocations.

And the new algorithm was born:
- PTE clusters are in a singly linked list, ordered by increasing cluster size.
- All PTEs in the clusters are zeroed (except for cluster list bookkeeping) .. really this time!
- Upon reservation: Walk the list to get the first cluster that's large enough, cut the requested amount of PTEs off its tail and return them.
- Upon release: Create a new cluster using the PTEs to release, and merge it together with possible adjacent clusters.
- Both in the reservation and release actions, insertions into the list preserve the increasing cluster size order.

Empirically obtained data now revealed that after just booting to the desktop, the pool for System Pte Space entries
contained exactly 2 clusters.  This increased to 10 clusters after some minor internet browsing and watching a 5 minute video using a media player.


svn path=/trunk/; revision=50347
2011-01-09 20:52:22 +00:00
Amine Khaldi
90683e300a [CMAKE]
- Reduce libxml2 warnings.

svn path=/branches/cmake-bringup/; revision=50346
2011-01-09 20:40:34 +00:00
Timo Kreuzer
9cf739ac6f [WIN32K]
Cleanup pooltags a little, use official tags where known and applicable.

svn path=/trunk/; revision=50345
2011-01-09 19:51:06 +00:00
Timo Kreuzer
c2c492d850 [WIN32K]
In GreCreateBitmapEx handle allocation failure in the rle hack path and set LastError, when failed to allocate bitmap bits.

svn path=/trunk/; revision=50344
2011-01-09 18:53:58 +00:00
Timo Kreuzer
39b87b357f [WIN32K]
- In BitmapFormat, allow intermediate bpp values, use ULONG as parameter type, instead of WORD and DWORD
- In NtGdiCreateBitmap get the real bpp value from the gajBitsPerFormat array
- Add back check of too large nWidth (needed to make sure, cjWidthBytes didn't overflow)
- Merge all parameter checks
- Check cPlanes and cBitsPixel paramters explicitly
- Use GreCreateBitmapEx
- Remove BITMAP_GetRealBitsPixel

svn path=/trunk/; revision=50343
2011-01-09 18:38:41 +00:00
Timo Kreuzer
3ecc17156e [WIN32K]
Improve NtGdiStretchDIBitsInternal, use _SEH2_YIELT instead of saving an NTSTATUS and handle the fast path in place instead of setting a BOOL variable. Fixes warnings about uninitialized variables.

svn path=/trunk/; revision=50342
2011-01-09 18:11:44 +00:00
Amine Khaldi
b02f54b843 [CMAKE]
- Add missing define.

svn path=/branches/cmake-bringup/; revision=50341
2011-01-09 17:24:39 +00:00
Amine Khaldi
4bb42765f5 [CMAKE]
- Improve the warnings and compiler flags according to the different architectures we have.

svn path=/branches/cmake-bringup/; revision=50340
2011-01-09 16:49:10 +00:00
Dmitry Gorbachev
e6182247f6 [FREELDR]
Delete a duplicate line.

svn path=/trunk/; revision=50339
2011-01-09 15:11:49 +00:00
Sylvain Petreolle
acf11aa2c7 [CMAKE]
Get a proper bootcd for unix builds (3rd stage.)
Thanks to Amine for his findings.


svn path=/branches/cmake-bringup/; revision=50338
2011-01-08 23:25:58 +00:00
Sylvain Petreolle
f8f7ec4d56 [CMAKE]
-fshort-wchar is not related to inline, neither is i386 specific.


svn path=/branches/cmake-bringup/; revision=50337
2011-01-08 23:22:54 +00:00
Sylvain Petreolle
398ded55b9 [CMAKE]
Move -fshort-wchar defintion (gcc specific).


svn path=/branches/cmake-bringup/; revision=50336
2011-01-08 22:33:22 +00:00
Amine Khaldi
aa6bee3557 [CMAKE]
- Prevent some status codes redefinitions.

svn path=/branches/cmake-bringup/; revision=50335
2011-01-08 21:41:12 +00:00
Amine Khaldi
152b92b928 [CMAKE]
- Improve message headers handling.

svn path=/branches/cmake-bringup/; revision=50334
2011-01-08 20:44:41 +00:00
Amine Khaldi
9d64a217d5 [CMAKE]
- Prevent cmake from escaping preprocessor definition values added via add_definitions.
- Fix a FIXME in oleaut32 and urlmon builds.

svn path=/branches/cmake-bringup/; revision=50333
2011-01-08 20:01:33 +00:00
Timo Kreuzer
907aab7488 {GDI32]
Check paramters in CombineTransform

svn path=/trunk/; revision=50332
2011-01-08 19:24:29 +00:00
Timo Kreuzer
c265d7532b [GDI32_APITEST]
Remove the stuff that shouldn't have been comitted.

svn path=/trunk/; revision=50331
2011-01-08 19:20:20 +00:00
Timo Kreuzer
ae1bdd5334 [GDI32]
- Move EFLOAT handling in seperate file, its x86 specific
- Implement CombineTransform fully in usermode instead of forwarding to NtGdiCombineTransform
- Implement MatrixToXForm
- Implement GdiTransformPoints

svn path=/trunk/; revision=50330
2011-01-08 19:06:38 +00:00
Timo Kreuzer
281dd88c8c [GDI32_APITEST]
Add tests for CombineTransform and MaskBlt

svn path=/trunk/; revision=50329
2011-01-08 18:56:38 +00:00
Amine Khaldi
458d9009dd [CMAKE]
- Fix the browseui bulgarian translation file name.

svn path=/branches/cmake-bringup/; revision=50328
2011-01-08 14:11:37 +00:00
Amine Khaldi
a3ca9b561e [CMAKE]
- Fix rossym dependencies.

svn path=/branches/cmake-bringup/; revision=50327
2011-01-08 13:55:06 +00:00
Amine Khaldi
74811b583a [CMAKE]
- Fix more dependencies.

svn path=/branches/cmake-bringup/; revision=50326
2011-01-08 13:30:27 +00:00
Amine Khaldi
b4e7b22469 [CMAKE]
- Fix delayimp dependency.

svn path=/branches/cmake-bringup/; revision=50324
2011-01-08 13:19:38 +00:00
Amine Khaldi
dcee0f7cc5 [CMAKE]
- Fix dnslib dependency.

svn path=/branches/cmake-bringup/; revision=50323
2011-01-08 13:14:25 +00:00
Amine Khaldi
1ecaf59fcb [CMAKE]
- Fix a missing dependency.

svn path=/branches/cmake-bringup/; revision=50322
2011-01-08 13:00:35 +00:00
Timo Kreuzer
7cea632244 [GDI32]
Implement GdiGetDcAttr. Just for convenience / cleaner code.

svn path=/trunk/; revision=50321
2011-01-08 12:19:23 +00:00
Amine Khaldi
287ba86f03 [CMAKE]
- Add -fshort-wchar to host tools

svn path=/branches/cmake-bringup/; revision=50320
2011-01-08 11:52:58 +00:00
Aleksey Bragin
1e3d9c9a96 [HEAP]
- Peer review rocks.

svn path=/trunk/; revision=50319
2011-01-08 11:32:55 +00:00
Timo Kreuzer
c413c22ddf [CRT]
Fix _flsbuf return value

svn path=/trunk/; revision=50314
2011-01-07 21:15:35 +00:00
Amine Khaldi
7f7729cb6c [CMAKE]
- Add ntdll apitest to build.

svn path=/trunk/; revision=50312
2011-01-07 20:31:56 +00:00
Timo Kreuzer
b58a3e9752 [NTDLL_APITEST]
Convert asm to GAS/ML compatible format

svn path=/trunk/; revision=50311
2011-01-07 20:11:56 +00:00
Amine Khaldi
54f486c247 [CMAKE]
- Silence the quotes warning.

svn path=/branches/cmake-bringup/; revision=50310
2011-01-07 20:07:15 +00:00
Aleksey Bragin
a3647b9727 [HEAP]
- Fix a typo (assignment) in the ASSERT, spotted by Johannes Anderwald.

svn path=/trunk/; revision=50309
2011-01-07 15:33:46 +00:00
Amine Khaldi
a0cb4ff5eb [CMAKE]
- Delete an unneeded lib.mak
- Don't build bin2c, we don't seem to need it.
- A minor cleanup, no functionality change intended.

svn path=/branches/cmake-bringup/; revision=50308
2011-01-07 12:11:46 +00:00
Timo Kreuzer
ca4ebe1b55 [WIN32K]
- Use if, instead of switch to handle flags in XFORMOBJ_bXformFixPoints
- Define XFORMOBJ to EXFORMOBJ, a stack object that links to the matrix
- There is no spoon.

svn path=/trunk/; revision=50307
2011-01-06 22:00:26 +00:00
Jérôme Gardou
38bbc45b31 [APITESTS:GDI32]
Add missing \n

svn path=/trunk/; revision=50306
2011-01-06 19:03:09 +00:00
Amine Khaldi
24511aea48 [CMAKE]
- Restructure hal build.

svn path=/branches/cmake-bringup/; revision=50305
2011-01-06 18:59:49 +00:00
Michael Martin
686accee7c [usb/usbehci]:
- EhciDefferedRoutine: Only free Mdl if one was created when the request was added to the queue.
- Dont assume that three transfer descriptors need to be freed, use a while moving to each linked and free instead.
- Yabba Dabba Doo added to increase size of message. :)


svn path=/trunk/; revision=50304
2011-01-06 18:45:18 +00:00
Michael Martin
e11ab1740c [usb/usbehci]:
- Implement URB_FUNCTION_SELECT_INTERFACE.
- Add missing IoMarkIrpPending before calling SubmitControlRequest.
- Now use BuildSetupPacketFromURB for creating the CtrlSetup data structure.
- When selecting configuration, make the ConfigurationHandle from the related UsbDevice instead of always the RootHub device.
- Fix typo that caused all pipes to be marked as interrupt type.
- Change CompletePendingURBRequest to only complete one SCE request Irp.

svn path=/trunk/; revision=50303
2011-01-06 18:29:52 +00:00
Michael Martin
748ea2de6c [usb/usbehci]:
- Fix bug in InitializeUsbDevice that caused endpoints to be duplicated in internal config structure.
- Fix implementation of UsbRemoveDevice.
- Implement SetDeviceHandleData and RestoreUsbDevice.
- SubmitControlTransfer: Not all control request need data, in which case dont create a MDL and a PID_CODE_IN_TOKEN TD Descriptor.
- Fix bug in ReleaseMemory that caused memory not to be marked as free.
- Fix incorrect memory header size that resulted in memory corruption.

svn path=/trunk/; revision=50302
2011-01-06 17:46:59 +00:00
Amine Khaldi
0d77e58cf9 [CMAKE]
- Fix formatting.

svn path=/branches/cmake-bringup/; revision=50301
2011-01-06 17:08:38 +00:00
Amine Khaldi
166360a829 [CMAKE]
- Initial support of the arm toolchain/build.

svn path=/branches/cmake-bringup/; revision=50300
2011-01-06 16:57:56 +00:00
Daniel Reimer
6d1907d27b Update rapps database
svn path=/trunk/; revision=50297
2011-01-06 12:44:01 +00:00
Timo Kreuzer
506c53833e [WIN32K]
Fix a bug in FLOATOBJ_DivLong

svn path=/trunk/; revision=50296
2011-01-06 00:19:40 +00:00
Timo Kreuzer
2f04a69915 [CRT]
Fix build

svn path=/trunk/; revision=50291
2011-01-04 22:29:43 +00:00
Timo Kreuzer
79ec14277f [CRT]
- Rewrite broken _flsbuf and implement _flswbuf
- use _flswbuf in wstreamout
- Fixes broken text output in dwnl etc

svn path=/trunk/; revision=50290
2011-01-04 22:22:13 +00:00
Sylvain Petreolle
6ea6bad914 TRANSLATION: Fix browseui bulgarian resource filename.
svn path=/trunk/; revision=50289
2011-01-04 22:19:45 +00:00
Timo Kreuzer
768bb41032 [WIN32K]
- Fix type of DCLEVEL::prgnClip / prgnMeta (PVOID -> PREGION)
- Move NtGdiGetRandomRgn to dcobjs.c

svn path=/trunk/; revision=50288
2011-01-04 18:18:28 +00:00
Johannes Anderwald
00b94dd55a [CRT]
- Fix build

svn path=/trunk/; revision=50287
2011-01-04 17:52:34 +00:00
Johannes Anderwald
2a21adaff0 [CRT]
- Set errno when a overflow occurs in strtoull
- Fixes 2 wine tests failures in msvcrt:string

svn path=/trunk/; revision=50286
2011-01-04 17:29:10 +00:00
Johannes Anderwald
14baaa8cb2 [MSVCRT_WINETEST]
- Revert 50283

svn path=/trunk/; revision=50285
2011-01-04 17:27:57 +00:00
Roel Messiant
7b455367ff [KERNEL32]
- ReadDirectoryChangesW: Treat the OVERLAPPED structure as an IO_STATUS_BLOCK, not one of its fields.

svn path=/trunk/; revision=50284
2011-01-04 17:26:25 +00:00
Timo Kreuzer
ca2b0ca3a7 [WIN32K]
- Simplify error checks, by reordering code in NtGdiScaleViewportExtEx
- Simplify exception handling, use _SEH2_YIELD
- Change function order
- Minor code improvements

svn path=/trunk/; revision=50283
2011-01-04 16:53:23 +00:00
Johannes Anderwald
131fb32a3c [MSVCRT_WINETEST]
- Comment out test which fails in WinXP SP3

svn path=/trunk/; revision=50282
2011-01-04 16:45:03 +00:00
Timo Kreuzer
53d46bda12 [WIN32K]
- Access the DC member directly instead of using IntGdiGetDCOrg
- Remove unused IntGdiGetDCOrg, GdiSetDCOrg, GdiGetDCOrgEx

svn path=/trunk/; revision=50281
2011-01-04 15:52:59 +00:00
Timo Kreuzer
c855b45934 [WIN32K]
Implement NtGdiGetBoundsRect and NtGdiSetBoundsRect. Patch by Samuel Serapion with modifications by me.

svn path=/trunk/; revision=50280
2011-01-04 12:36:19 +00:00
Timo Kreuzer
391de4dea7 fix build
svn path=/trunk/; revision=50279
2011-01-03 20:00:25 +00:00
Timo Kreuzer
316a3efbac [CRT]
Fix a number of errors in floating point output.

svn path=/trunk/; revision=50278
2011-01-03 19:39:17 +00:00
Sylvain Petreolle
6d8a71b4a4 [CMAKE]
Add apitests and pseh2_test.


svn path=/trunk/; revision=50277
2011-01-03 11:24:54 +00:00
Timo Kreuzer
09f4598c1d [CRT]
Enable new printf implementation.

svn path=/trunk/; revision=50276
2011-01-03 11:22:46 +00:00
Timo Kreuzer
a457cc5898 [CRT]
Fix a bug in _ecvt that makes msvcrt_winetest::printf crash

svn path=/trunk/; revision=50275
2011-01-03 11:00:28 +00:00
Timo Kreuzer
6cdeeb6a1e [CRT]
Fix several bugs in new printf implementation.

svn path=/trunk/; revision=50274
2011-01-03 10:33:58 +00:00
Timo Kreuzer
92487266d8 [CRT]
Improve new printf implementation:
- remove duplicated code and implement a generic function for all (v)s(w)(n)printf
- don't call _flsbuf for string streams, while this works on windows, it doesn't work correctly on reactos (bug!)
- Fix return error codes

svn path=/trunk/; revision=50273
2011-01-03 01:07:54 +00:00
Roel Messiant
916ec376d6 [SETUPAPI]
- SetupDiClassNameFromGuidExW: Simplify interaction with registry.
- SetupDiCreateDeviceInfoW: Check for correct error value.
- SetupDiGetClassDescriptionExW: Rewrite to return the correct required size and prevent WCHAR sized buffer overflow.
- SetupDiGetClassDevsExW: Return INVALID_HANDLE_VALUE instead of NULL in failure case.

svn path=/trunk/; revision=50272
2011-01-03 00:45:34 +00:00
Amine Khaldi
6c0c23cb53 [CMAKE]
- Sync with trunk head (r50270)
- This also reverts r49298.

svn path=/branches/cmake-bringup/; revision=50271
2011-01-03 00:33:31 +00:00
Timo Kreuzer
1cd9389032 [MSVCRT]
Apply a hack to msvcrt spec file to avoid duplicate definition of atexit. Mingw-w64 has an identical hack.

svn path=/trunk/; revision=50270
2011-01-02 21:17:03 +00:00
Timo Kreuzer
0f4c9e54a4 [MINGW]
Revert r50267 

svn path=/trunk/; revision=50269
2011-01-02 21:14:58 +00:00
Timo Kreuzer
1e9ed4c977 [MSVCRT_WINETEST]
Link explicitly to msvcrt, instead of importing half of the functions from ntdll.

svn path=/trunk/; revision=50268
2011-01-02 20:39:40 +00:00
Timo Kreuzer
ad11d9e21a [MINGW]
Don't compile atonexit.c. atexit is exported from msvcrt.

svn path=/trunk/; revision=50267
2011-01-02 20:38:42 +00:00
Timo Kreuzer
d8b80d9d78 [MSVCRT]
Don't export _matherr

svn path=/trunk/; revision=50266
2011-01-02 20:15:14 +00:00
Eric Kohl
4176a64858 [RBUILD]
Fix "format not a string literal and no format arguments" build warnings.

svn path=/trunk/; revision=50265
2011-01-02 20:04:53 +00:00
Eric Kohl
b1b36bfcc3 [NPFS]
- Add support for FileFullDirectoryInformation and FileBothDirectoryInformation.
- Fix an off-by-one bug in the buffer size calculation.
- Zero-initialize the return buffer.

svn path=/trunk/; revision=50264
2011-01-02 19:37:08 +00:00
Roel Messiant
e3c5d45770 [NTOS]
- Reduce PDE/PTE confusion a little more.
- MiQueryMemoryBasicInformation: Fall back on MEMORY_AREA data in sections until the MM rewrite also covers these. See issue #5791 for more info.

svn path=/trunk/; revision=50263
2011-01-02 19:30:26 +00:00
Johannes Anderwald
ef85e78ddd [KERNEL32]
- Fix heap corruptions in MoveFileWithProgress
- Fixes kernel32_winetest change crash
- Introduced in rev 18073 (25.Sept 2005)

svn path=/trunk/; revision=50262
2011-01-02 16:54:00 +00:00
Christoph von Wittich
89c7718c10 [PSDK]
sync urlmon.idl with wine 1.3.10

svn path=/trunk/; revision=50261
2011-01-02 14:21:47 +00:00
Timo Kreuzer
a29fc23779 [WIN32K]
Improve LDEVOBJ_bLoadImage, use ExportSectionPointer from the GdiDriverInfo structure instead of calling RtlImageDirectoryEntryToData

svn path=/trunk/; revision=50260
2011-01-02 13:05:51 +00:00
Aleksey Bragin
ebef3b756c [NTOS]
- Temporary bring back the old boot image until I or sir_richard commit a proper fix.

svn path=/trunk/; revision=50259
2011-01-02 09:30:24 +00:00
Johannes Anderwald
cbc098ed88 [NETCFGX]
- Fix case where there is only one static dns server set

svn path=/trunk/; revision=50258
2011-01-01 21:34:17 +00:00
Johannes Anderwald
3f0d2fffb3 [IPHLPAPI]
- Rewrite name server enumeration routines
- Check if static dns entries are present before checking for dynamic dns entries
- Fixes static dns entries
[NETCFGX]
- GetPerAdapterInfo requires IP_PER_ADAPTER_INFO struct
- Fix reading static dns entries
- Delete static name server key, when changing dns servers to automatic (dhcp)
- Don't delete DhcpNameServer key yet, as more interaction is needed with dhcp service when changing from static dns to dynamic dhcp
- Should finally fix static dns when dhcp is active

svn path=/trunk/; revision=50257
2011-01-01 21:13:07 +00:00
Sir Richard
3062a63e47 [VIDEOPRT/WIN32K]: Synchronize and share PEVENT/ENG_EVENT/VIDEO_PORT_EVENT implementation, as these objects are actually the same (and VideoPrt Event* APIs can be used on GRE Event Objects). Use ENG_EVENT structure from ntddvdeo.h instead of re-creating our own. Drivers using these interfaces will no longer explode.
[VIDEOPRT]: Add parameter checks to DeleteEvent and WaitForSingleObject.
[VIDEOPRT]: Fix WaitForSingleObject. It was waiting on the Object paramter itself -- which is the VideoPrt/ENG Event, not a real object, we have to wait on ->pKEvent instead.
[VIDEOPRT]: Fix WaitForSingleObject round two, it was returning the NT_STATUS, while VideoPrt should return VP_STATUS/Win32 error codes.
[WIN32K]: Allocate/free GRE events directly from pool, instead of using Eng APIs. Use documented tag for GRE Events (Dfsm), found in pooltag.txt
[WIN32K]: Implement EngMapEvent and EngUnmapEvent.


svn path=/trunk/; revision=50256
2011-01-01 18:15:25 +00:00
Johannes Anderwald
e1b24207af [AUDIO-BRINGUP]
- Remove debugging code which caused a crash when the ks device does not use resources

svn path=/branches/audio-bringup/; revision=50255
2011-01-01 16:44:19 +00:00
Colin Finck
05721dae3e Proper fix for r50248 ;-)
Happy New Year from my side as well!

svn path=/trunk/; revision=50254
2011-01-01 15:54:31 +00:00
Timo Kreuzer
d50bc6057e [CRT]
Fix bugs in new printf implementation: use buffer size in _snprintf and check for the right failure return value of streamout_char.

svn path=/trunk/; revision=50251
2011-01-01 13:50:07 +00:00
Eric Kohl
90ac7fad2f [NPFS]
- Add NpfsDirectoryControl routine in order to enumerate pipes.
- Use NpfsGetFcb and NpfsGetCcb to retrieve the FCB or CCB and use SEH to protect these routines.

svn path=/trunk/; revision=50250
2011-01-01 12:40:24 +00:00
Michael Martin
7996ddf5cc [usb/usbehci]:
- Remove all hardware related routines from fdo.c as they are now in hardware.c
- Replace ExecuteControlRequest with new SubmitControlTransfer.
- For internal control requests (originating from ehci driver) use an event to signal request completion.
- When submitting non internal control request save the Irp in the software part of the QueueHead.
For these requests check for errors and complete the Irp with the appropriate URB Status when the QueueHead is complete.
- Misc code cleanup and dead code removal.
- UsbEhci now works as before and should be ready for some forward progress.

svn path=/trunk/; revision=50249
2011-01-01 12:20:19 +00:00
Aleksey Bragin
46fe11727a Happy New Year!
Dear ReactOS team, you're the best.

svn path=/trunk/; revision=50248
2010-12-31 23:06:19 +00:00
James Tabor
1f1bdb7dd4 [User32]
- Start creeping in more Left to Right support, readying up for the next wine User32 controls port and test sync. Code is based on wine, credit them for any breakages. 8^P Our positions are off by 103 x 122 in some test cases, anyone having an idea please chime in.

svn path=/trunk/; revision=50247
2010-12-31 21:10:29 +00:00
Amine Khaldi
617f2dab5b [CMAKE]
- Don't link ks to msvcrt either.

svn path=/branches/cmake-bringup/; revision=50246
2010-12-31 18:51:00 +00:00
Amine Khaldi
8e1cf24706 [CMAKE]
- Don't link portcls to msvcrt (?!) Spotted using the dependency graph added recently by Timo.

svn path=/branches/cmake-bringup/; revision=50245
2010-12-31 18:48:26 +00:00
Timo Kreuzer
161033b429 [CMAKE]
Fix conflict artifacts.

svn path=/branches/cmake-bringup/; revision=50244
2010-12-31 16:54:37 +00:00
Timo Kreuzer
8c14a1744a [CMAKE]
Add generation of a depencency graph for shared libraries.
The output is a graphml file. Can be enabled with GENERATE_DEPENDENCY_GRAPH switch.

svn path=/branches/cmake-bringup/; revision=50243
2010-12-31 16:49:49 +00:00
Roel Messiant
f9a750c9c0 [UMPNPMGR]
- Start using XP- and Vista-compatible pipe names for the RPC endpoint. Kick out the ROS-specific \pipe\umpnpmgr one.
- Use only the Vista pipe name for now, using the XP one makes device installation fail..
- Use the correct PNP interface UUID
[SETUPAPI]
- Bind to the PNP service using the Vista-compatible pipe.
 

svn path=/trunk/; revision=50242
2010-12-31 16:27:01 +00:00
Timo Kreuzer
6ebba3e6a5 [CMAKE]
Go back to DllMain entrypoints. Fixes cardgames.

svn path=/branches/cmake-bringup/; revision=50241
2010-12-31 15:53:55 +00:00
Timo Kreuzer
14ab9898c2 [CMAKE]
Delete hal_i386.def

svn path=/branches/cmake-bringup/; revision=50240
2010-12-31 15:43:06 +00:00
Timo Kreuzer
dca822d5db [CMAKE]
Delete ks.def

svn path=/branches/cmake-bringup/; revision=50239
2010-12-31 15:42:03 +00:00
Timo Kreuzer
43993833da [CMAKE]
Delete scsiport_i386.def

svn path=/branches/cmake-bringup/; revision=50238
2010-12-31 15:35:59 +00:00
Timo Kreuzer
922971f3c0 [CMAKE]
Fix ftfd.spec

svn path=/branches/cmake-bringup/; revision=50237
2010-12-31 15:35:13 +00:00
Timo Kreuzer
9c55eb1528 [CMAKE]
Delete msacm.spec.def

svn path=/branches/cmake-bringup/; revision=50236
2010-12-31 15:17:11 +00:00
Timo Kreuzer
40f51f077f [CMAKE]
Delete ntdll.def

svn path=/branches/cmake-bringup/; revision=50235
2010-12-31 15:15:09 +00:00
Timo Kreuzer
93ad7973a8 [CMAKE]
Remove def file for the kernel

svn path=/branches/cmake-bringup/; revision=50234
2010-12-31 15:12:58 +00:00
Timo Kreuzer
bf9290d80d [CMAKE]
Some amd64 compilation fixes

svn path=/branches/cmake-bringup/; revision=50233
2010-12-31 15:12:00 +00:00
Timo Kreuzer
288c48c7ad [CMAKE]
remove a def file

svn path=/branches/cmake-bringup/; revision=50232
2010-12-31 15:11:06 +00:00
Michael Martin
0d6bdbec51 [usb/usbehci]:
- Remove all hardware related structs from usbehci.h as they are now in hardware.h.
- Add debugging routines for usb descriptors, queue heads and transfer descriptors.
- This will break building usbehci, but not a problem as it is not included in the default build. Will be fixed with later commit.

svn path=/trunk/; revision=50231
2010-12-31 12:26:12 +00:00
Michael Martin
61f99c89a6 [usb/usbehci]:
- Implement creating and deleting Queue Heads and Transfer Descriptors from common buffer.
- Implement linking/unlinking QueueHeads to create a linked list for Asynchronous Schedule traversal.
- Implement BuildSetupPacketFromURB for creating a setup packet from a URB. 
- Implement SubmitControlTransfer.

svn path=/trunk/; revision=50230
2010-12-31 12:01:21 +00:00
James Tabor
cb0b5d3b3a [Win32k|User32]
- Add hack to mark desktop window as a desktop window and notes for creating a desktop with tips in win32k. Move user position code from window to winpos.

svn path=/trunk/; revision=50229
2010-12-31 04:43:35 +00:00
Sylvain Petreolle
37fdeb8a46 [CMAKE]
Add all winetests to bootcd, thanks to unix find :)

svn path=/trunk/; revision=50228
2010-12-30 22:17:33 +00:00
Sylvain Petreolle
ab2048a22f [CMAKE]
Add rosautotest and kernel32_winetest to bootcdregtest.
cmake bootcdregtest lives.

svn path=/trunk/; revision=50227
2010-12-30 21:49:36 +00:00
Amine Khaldi
e26b7f9a66 [CMAKE]
- Wine lib isn't needed for rosautotest.

svn path=/trunk/; revision=50226
2010-12-30 17:58:18 +00:00
Amine Khaldi
078e5c0a31 [CMAKE]
- Update oleaut32 winetest.
- Add rosautotest to build.

svn path=/trunk/; revision=50225
2010-12-30 17:55:25 +00:00
Amine Khaldi
fce639e14b [CMAKE]
- Disable some resource files (mostly japanese ones) with a FIXME. They prevent us from compiling in unix due to an iconv issue.
- Lower the minimum required cmake version to 2.6
- Fix browseui resource paths.

svn path=/branches/cmake-bringup/; revision=50224
2010-12-30 15:39:10 +00:00
Michael Martin
4eef1c1925 [usb/usbehci]:
- Reorganization code to put hardware related structures and routines in own source files. 
- Modify ResetPort to correctly reset the port instead of the controller.
- Implement allocating chunks of memory from the Common Buffer for use with the rest of source code.


svn path=/trunk/; revision=50223
2010-12-30 15:12:46 +00:00
James Tabor
c1d677d16a - Fix copy paste error, which means this code is not used, should have pop up during testing.
svn path=/trunk/; revision=50222
2010-12-30 05:56:50 +00:00
James Tabor
f888c0c7b1 [Win32k|User32]
- Fix most of the user32 wine win test_mdi tests. Leaving 6 failures dealing with rect size. Start A2U and U2A support.

svn path=/trunk/; revision=50221
2010-12-30 05:52:06 +00:00
James Tabor
88e4ef1d91 [Win32k]
- NtUserSetWindowFNID, sets user client side window function Ids, expands to ghost.

svn path=/trunk/; revision=50220
2010-12-30 03:03:45 +00:00
James Tabor
a7d5cdfa3b [User32]
- Controls: Set fnids for the user client controls.

svn path=/trunk/; revision=50219
2010-12-30 02:32:50 +00:00
James Tabor
c2a558dbb7 [Win32k|User32]
- Fix mdi class window function Id, now msi message tests do not assert.


svn path=/trunk/; revision=50218
2010-12-30 00:59:10 +00:00
Timo Kreuzer
5351f44808 [CMAKE]
LD is stupid and doesn't handle stdcall decoration as proper as dlltool does (after we provided a patch). Passing --kill-at, also kills C++ mangled names and exports with stdcall decoration are imposible. In trunk we use dlltool to generate an exp file that we link with LD, but in the cmake branch we pass the def file to LD directly. Luckily we have a tool called spec2def that can handle these things. We now generate 2 different .def files, one for LD, containing the undecorated export name forwarded to the decorated symbol name (FooFunc=FooFunc@12), while the 2nd def file which is passed to dlltool for exportlib generation has full stdcall decorations. --kill-at is now passed to dlltool only. This commit might break msvc, but should be pretty easy to fix.

svn path=/branches/cmake-bringup/; revision=50217
2010-12-29 23:58:17 +00:00
Amine Khaldi
6e719f7d6f [CMAKE]
- Remove an unintended change.

svn path=/branches/cmake-bringup/; revision=50216
2010-12-29 19:11:17 +00:00
Jérôme Gardou
061f46d608 [CMAKE]
Improve rpcproxy macro
split boot/CMakeLists.txt into smaller and clearer CMakeLists.txt

svn path=/branches/cmake-bringup/; revision=50215
2010-12-29 18:28:34 +00:00
Sylvain Petreolle
a1d29e9435 [CMAKE]
Fix rpcrt4_winetest build.

svn path=/trunk/; revision=50214
2010-12-29 16:12:56 +00:00
Timo Kreuzer
0c36281490 [STLPORT]
- Only use #pragma intrinsics on MSVC
- Don't add function prototypes for _InterlockedXxx

svn path=/branches/cmake-bringup/; revision=50213
2010-12-29 13:35:40 +00:00
Timo Kreuzer
9871a03861 [STLPORT]
- Fix compilation with 64 bit gcc

svn path=/branches/cmake-bringup/; revision=50212
2010-12-29 11:45:57 +00:00
Timo Kreuzer
88614730f8 [STLPORT]
- Add some additional definitions for amd64 compilation with gcc

svn path=/branches/cmake-bringup/; revision=50211
2010-12-29 11:42:10 +00:00
Aleksey Bragin
0834418ad7 [NTOS]
- Greatly simplify and fix the incorrect and overcomplicated if condition in IoIsOperationSynchronous(), based on MSDN description. Bug spotted, fix tested by Pierre.

svn path=/trunk/; revision=50210
2010-12-29 11:12:17 +00:00
Timo Kreuzer
dd830cafba [NTOSKRNL]
- Add MiPdeToAddress and MI_IS_PAGE_LARGE for amd64
- Fix a pragma message
- Add some missing globals for amd64

svn path=/branches/cmake-bringup/; revision=50209
2010-12-29 10:20:39 +00:00
James Tabor
6c87e66f80 [User32]
- Fix most of the user32 wine win test_mdi tests. Leaving 30 failures dealing with rect size, Class and Title names.

svn path=/trunk/; revision=50208
2010-12-29 08:17:54 +00:00
Timo Kreuzer
78cc22ef6f [CMAKE]
- fix decorations on non-x86 builds
- improve batt and aclui
- remove set_export_spec macro

svn path=/branches/cmake-bringup/; revision=50207
2010-12-29 08:08:18 +00:00
James Tabor
b2a4a3214a - Update note after 50205.
svn path=/trunk/; revision=50206
2010-12-29 04:52:06 +00:00
James Tabor
0f8e42980e [Win32k]
- Fix all the user32 wine win test_enum_thread_windows tests.

svn path=/trunk/; revision=50205
2010-12-29 04:43:51 +00:00
Pierre Schweitzer
41c9b7cdd4 [NTOSKRNL]
Fix typo ~

svn path=/trunk/; revision=50204
2010-12-28 21:40:23 +00:00
Pierre Schweitzer
eec37f83b1 [NTOSKRNL]
Hoovering part 2...

svn path=/trunk/; revision=50203
2010-12-28 21:34:54 +00:00
Pierre Schweitzer
3ca46a9903 [NTOSKRNL]
Plumber work part 1. To prevent leaks

svn path=/trunk/; revision=50202
2010-12-28 21:12:51 +00:00
Pierre Schweitzer
f5bc202da7 [NTOSKRNL]
Hoover a bit in CC part 1. Should make MM happier.
But MS fastfat driver not yet

svn path=/trunk/; revision=50201
2010-12-28 20:59:24 +00:00
Timo Kreuzer
cf31695e04 [CMAKE]
Fix compilation of kddll

svn path=/branches/cmake-bringup/; revision=50200
2010-12-28 20:29:34 +00:00
Timo Kreuzer
4ebc5415a4 [CMAKE]
Build the right kdcom when _WINKD_ is set

svn path=/branches/cmake-bringup/; revision=50199
2010-12-28 19:56:55 +00:00
Timo Kreuzer
79816c62c3 [ASM]
KTIMER_TABLE are for win7 only

svn path=/branches/cmake-bringup/; revision=50198
2010-12-28 19:12:01 +00:00
Timo Kreuzer
a34ed64ca4 [DRIVERS]
Add missing breaks. Patch by Samuel Serapion.

svn path=/trunk/; revision=50197
2010-12-28 18:20:28 +00:00
Timo Kreuzer
158319da85 [CMAKE/ROSSYM]
Use _WIN32 instead of WIN32

svn path=/branches/cmake-bringup/; revision=50196
2010-12-28 17:12:58 +00:00
Timo Kreuzer
4bebddb463 [CMAKE/AMD64]
- add missing definitions for amd64

svn path=/branches/cmake-bringup/; revision=50195
2010-12-28 17:10:53 +00:00
Timo Kreuzer
c06e6d6e4a [CMAKE]
- Add _WINKD_ definition
- fix DBG and KDBG

svn path=/branches/cmake-bringup/; revision=50194
2010-12-28 17:08:11 +00:00
Timo Kreuzer
087eda6b50 [NTOSKRNL]
- Use SLIST_ENTRY instead of SINGLE_LIST_ENTRY for interlocked operations
- Remove unused variable

svn path=/branches/cmake-bringup/; revision=50191
2010-12-28 16:03:46 +00:00
Pierre Schweitzer
13e99eb885 [NTOSKRNL]
Apply consistent formatting to CcMapData

svn path=/trunk/; revision=50190
2010-12-28 14:49:53 +00:00
Timo Kreuzer
4595756a37 [CMAKE]
Fix stdcall entry points for x86

svn path=/branches/cmake-bringup/; revision=50189
2010-12-28 12:42:05 +00:00
Timo Kreuzer
ad52f07f5a [CMAKE]
- Fix set_entrypoint for other architectures than x86, add an optional 3rd parameter for stdcall stackbytes
- don't add stdcall decoration to def files for other architectures then x86

svn path=/branches/cmake-bringup/; revision=50188
2010-12-28 12:14:13 +00:00
Amine Khaldi
67118af43a [CMAKE]
- Actually the ARCH initialization is needed in both places.

svn path=/branches/cmake-bringup/; revision=50187
2010-12-28 12:00:49 +00:00
Amine Khaldi
8c95f75064 [CMAKE]
- Move the ARCH initialization to the main cmake file instead of the toolchain file.

svn path=/branches/cmake-bringup/; revision=50186
2010-12-28 11:50:56 +00:00
James Tabor
527d9e4e17 [Win32k]
- Fix all the user32 wine win test_CreateWindow tests.

svn path=/trunk/; revision=50185
2010-12-28 10:38:38 +00:00
James Tabor
e6a4fb691d [User32]
- Fix all the user32 wine win test_parent_owner tests.

svn path=/trunk/; revision=50183
2010-12-28 10:03:07 +00:00
Timo Kreuzer
c74b766c0c [CMAKE]
Fix configure script for host tools

svn path=/branches/cmake-bringup/; revision=50182
2010-12-28 09:17:42 +00:00
James Tabor
2bf00ca962 [Win32k|User32]
- Fix all the user32 wine win test_SetParent tests.


svn path=/trunk/; revision=50181
2010-12-28 07:22:42 +00:00
Timo Kreuzer
0549475d8e [CMAKE]
Fix genincdata for amd64

svn path=/branches/cmake-bringup/; revision=50180
2010-12-28 01:06:06 +00:00
Timo Kreuzer
654e22e491 [CMAKE]
Add a few definitions for amd64

svn path=/branches/cmake-bringup/; revision=50179
2010-12-28 01:04:55 +00:00
Jérôme Gardou
2fab3880ba [CMAKE]
- add bootcdregtest target

svn path=/branches/cmake-bringup/; revision=50178
2010-12-27 23:57:37 +00:00
Jérôme Gardou
17243e2930 [CMAKE]
- use already set variable for idl file compilation

svn path=/branches/cmake-bringup/; revision=50177
2010-12-27 23:57:12 +00:00
Timo Kreuzer
3f62bce4ad [CMAKE]
Add support for different architectures to configure script and simplify it a bit

svn path=/branches/cmake-bringup/; revision=50176
2010-12-27 23:14:50 +00:00
Aleksey Bragin
18910c84c6 [FASTFAT_NEW]
- Don't use same name for a local boolean var and global enum. Spotted by Pierre.

svn path=/trunk/; revision=50175
2010-12-27 22:02:11 +00:00
Pierre Schweitzer
9670bc63c4 [FASTFAT]
Remove unused vars ~

svn path=/trunk/; revision=50173
2010-12-27 21:38:40 +00:00
Jérôme Gardou
544ab09953 [CMAKE]
- add regtest.cmd to reactos.cab

svn path=/branches/cmake-bringup/; revision=50172
2010-12-27 21:05:32 +00:00
Amine Khaldi
0e74512f1e [CMAKE]
- Improve amd64 toolchain support.

svn path=/branches/cmake-bringup/; revision=50171
2010-12-27 20:10:40 +00:00
Timo Kreuzer
c44d0d4055 [CMAKE]
Fix a definition in svcctl.idl (MSVC)

svn path=/branches/cmake-bringup/; revision=50170
2010-12-27 18:44:31 +00:00
Amine Khaldi
9248292c48 [CMAKE]
- Improve formatting.

svn path=/branches/cmake-bringup/; revision=50169
2010-12-27 18:29:10 +00:00
Aleksey Bragin
52891961b6 [FASTFAT_NEW]
- Some fixes to the previous commit.

svn path=/trunk/; revision=50168
2010-12-27 18:14:24 +00:00
Pierre Schweitzer
18204992ea [FASTFAT]
MagicValue--;
ThanksTo(James, Amine);
/* EOF */

svn path=/trunk/; revision=50167
2010-12-27 18:11:35 +00:00
Timo Kreuzer
f59d1d7987 [PSEH]
Allow configuration of native SEH vs PSEH vs dummy PSEH with macro definitions (USE_NATIVE_SEH, USE_DUMMY_PSEH)

svn path=/trunk/; revision=50166
2010-12-27 17:55:53 +00:00
Amine Khaldi
ce5c1f3bcb [CRT]
- Add missing _A_VOLID definition.

svn path=/trunk/; revision=50165
2010-12-27 17:51:08 +00:00
Aleksey Bragin
0858e66dd1 [FASTFAT_NEW]
- Substantially improve FatiCreate routine, to handle previously unhandled cases, fix wrong code structure in some places, add a stub for further implementation of a new file creation branch.
- Hackskip setting delay-on-close for a file for now (with a debug print reminder!)

svn path=/trunk/; revision=50164
2010-12-27 16:49:21 +00:00
Jérôme Gardou
c7c2a79d5b [GDI32]
- Consistent formatting, no code change.

svn path=/trunk/; revision=50163
2010-12-27 16:23:59 +00:00
Aleksey Bragin
f7ab02f22e [PSDK]
- Add missing definitions.

svn path=/trunk/; revision=50161
2010-12-27 15:32:47 +00:00
Christoph von Wittich
fdea91b64c [CRT]
import strtoi64 from wine 1.3.10

svn path=/trunk/; revision=50159
2010-12-27 12:45:03 +00:00
Roel Messiant
cd7f6a4a36 [SCSIPORT]
- ScsiPortDeviceControl: Slight improvement to buffer length validation. Return failure status on a handful of failure cases. Prevents buffer overruns in user code.

svn path=/trunk/; revision=50158
2010-12-27 10:15:36 +00:00
Christoph von Wittich
17d7d4c15e [FUSION]
use crt="msvcrt" instead of <library>msvcrt</library>

svn path=/trunk/; revision=50157
2010-12-27 09:54:01 +00:00
Christoph von Wittich
9e86562b37 [FUSION]
sync to wine 1.3.10

svn path=/trunk/; revision=50156
2010-12-27 09:50:02 +00:00
Timo Kreuzer
4c3e53b5a2 [NSLOOKUP]
Use memcpy with sizeof instead of strncpy with strlen to make sure the destination string will be zero terminated.
CID 1649

svn path=/trunk/; revision=50155
2010-12-27 09:18:00 +00:00
James Tabor
9f634e70cf [Win32k]
- Use SendNotifyMessage for broadcasting these messages and SendMessageNoWait when not broadcasting.

svn path=/trunk/; revision=50154
2010-12-27 09:08:01 +00:00
Christoph von Wittich
7785b6ca52 [CRT]
import MSVCRT_I10_OUTPUT from wine

svn path=/trunk/; revision=50153
2010-12-27 09:07:27 +00:00
Timo Kreuzer
e8fc5482a0 [NTOSKRNL]
Make definitions of ExpChangeRundown, ExpChangePushlock and ExpSetRundown 64 bit safe (have one portable definition and use it accordingly)

svn path=/trunk/; revision=50152
2010-12-26 22:25:47 +00:00
Daniel Reimer
0093430c81 Update Winefile to 1.3.10 too
svn path=/trunk/; revision=50151
2010-12-26 16:28:51 +00:00
Daniel Reimer
8354381c8b Sync xcopy, iexplore, winhlp32, wordpad and write to wine 1.3.10
svn path=/trunk/; revision=50150
2010-12-26 16:25:30 +00:00
Timo Kreuzer
07bf61809e [NTOSKRNL]
Remove all #line 15 "ARM³::BLA"
Reasons:
- It doesn't provide any benefits, its only purpose was to "look cool"
- It never looked cool, instead a character mess appeared
- It makes finding the related file harder, especially when the file is named differently then the description or when multiple files have the same tag
- It effectively breaks Coverity scans

svn path=/trunk/; revision=50149
2010-12-26 15:23:03 +00:00
Timo Kreuzer
9db755b143 [VMX_SVGA]
Convert a pointer to a WCHAR string to an array of WCHARs to fix sizeof calculation. CID 10404

svn path=/trunk/; revision=50148
2010-12-26 15:04:02 +00:00
Timo Kreuzer
08d8df3975 [VGA_NEW]
Use strlen() istead of sizeof() to get the string length from a pointer. CID 10403.

svn path=/trunk/; revision=50147
2010-12-26 14:54:57 +00:00
Daniel Reimer
7e4bfb42f2 Fix for Fox Audio Player. Newest Version and leading to a Setup with libmpg
svn path=/trunk/; revision=50146
2010-12-26 14:37:41 +00:00
Daniel Reimer
e0da68cf95 Update rapps database.
svn path=/trunk/; revision=50145
2010-12-26 13:54:57 +00:00
Daniel Reimer
f75ed5ac15 Bug 5756: TRANSLATION: multiple modules: Bulgarian by CCTAHEB
Bug 5761: TRANSLATION: Czech translation update by Radek Liska

svn path=/trunk/; revision=50144
2010-12-26 13:28:51 +00:00
Aleksey Bragin
eee450c6e0 [PSDK]
- Oleg Baikalow: Don't call TDIEntityID structure and type with the same name.

svn path=/trunk/; revision=50143
2010-12-26 12:56:51 +00:00
Johannes Anderwald
1ff1757719 [AUDIO-BRINGUP]
- Hack-register software bus driver

svn path=/branches/audio-bringup/; revision=50142
2010-12-26 11:35:05 +00:00
James Tabor
2062df62ca [Win32k]
- Fixes bug 5792 and Get/PeekMessage tests. I noticed co_IntPostOrSendMessage to co_IntSendMessageNoWait changes when it should have been changed to co_IntSendMessage. Same as co_IntSendMessage to co_IntSendMessageNoWait when it should have not changed.... I'm sorting it out. ATM win test locks up and the system shutdown box is not present only the text message.

svn path=/trunk/; revision=50141
2010-12-26 11:11:27 +00:00
Timo Kreuzer
866846bf8c [CALC]
Initialize next field. Fixes CID 11063

svn path=/trunk/; revision=50140
2010-12-26 09:39:31 +00:00
Timo Kreuzer
4d40fbf685 [WIN32K]
Remove SetLastWin32Error and use EngSetLastError instead

svn path=/trunk/; revision=50139
2010-12-25 11:01:14 +00:00
Timo Kreuzer
54ee99abdb [WIN32K]
Fix EngGetLastError and EngSetLastError

svn path=/trunk/; revision=50138
2010-12-25 10:37:55 +00:00
Johannes Anderwald
b0d8c894e8 [AUDIO-BRINGUP]
- Fix pci / swenum group key
- Remove swenum from reactos.dff
- Put swenum in bootstrap base

svn path=/branches/audio-bringup/; revision=50137
2010-12-25 09:12:20 +00:00
Johannes Anderwald
184b70c1de [INF]
- Fix PCI group key

svn path=/trunk/; revision=50136
2010-12-25 09:08:44 +00:00
Roel Messiant
cbd14f3708 [WIN32K]
- IntCreateWindow: Fill out MaximumLength field of the window name. Fixes potential buffer overflow in at least NtUserDefSetText.

svn path=/trunk/; revision=50135
2010-12-25 05:27:01 +00:00
Art Yerkes
9e8a4109b0 Make sure to initialize our page operation mutex.
Scan the whole range of the MemoryArea for pages to evict.
This fixes cache section page eviction.

svn path=/trunk/; revision=50134
2010-12-24 22:54:24 +00:00
Jérôme Gardou
1513741845 [GDI32]
- remove useless memory reallocation : the buffer size must be dword aligned, we have no way to guarantee the buffer location will be.
  - pass BITMAPINFO pointer size to NtGdiGetDIBitsInternal
[WIN32K]
  - Improve "not enough memory" check when creating a bitmap
  - use correct function to set the last error.

svn path=/trunk/; revision=50133
2010-12-24 20:29:25 +00:00
Amine Khaldi
f09db5b9bf [CMAKE]
- Delete more useless definition files.
- Improve more modules.

svn path=/branches/cmake-bringup/; revision=50132
2010-12-24 19:07:09 +00:00
Amine Khaldi
ae92d98a66 [CMAKE]
- Delete more useless definition files.
- Improve more modules.

svn path=/branches/cmake-bringup/; revision=50131
2010-12-24 18:37:44 +00:00
Amine Khaldi
4ece6bd5ba [CMAKE]
- Delete some useless definition files.
- Improve some modules.

svn path=/branches/cmake-bringup/; revision=50130
2010-12-24 18:12:56 +00:00
Amine Khaldi
50b7280024 [CMAKE]
- Add new-cc activation flag. Dedicated to arty.

svn path=/branches/cmake-bringup/; revision=50129
2010-12-24 18:04:31 +00:00
Amine Khaldi
237d6eab1a [CMAKE]
- Improve some modules.

svn path=/branches/cmake-bringup/; revision=50126
2010-12-24 16:12:23 +00:00
Amine Khaldi
265a973995 [CMAKE]
- Add msi, qmgr and qmgrprxy to build.

svn path=/branches/cmake-bringup/; revision=50125
2010-12-24 14:25:10 +00:00
Amine Khaldi
6d973bdc1c [CMAKE]
- Improve formatting, mainly the uppercase macro names. No functionality change.

svn path=/branches/cmake-bringup/; revision=50124
2010-12-24 13:38:27 +00:00
Amine Khaldi
682ad4754b [CMAKE]
- Fix shell32.
- Fix and enable mstask.

svn path=/branches/cmake-bringup/; revision=50123
2010-12-24 12:23:19 +00:00
Timo Kreuzer
f81462977d [CMAKE]
Don't compile telnet and explorer on MSVC for now

svn path=/branches/cmake-bringup/; revision=50122
2010-12-24 12:13:17 +00:00
Giannis Adamopoulos
23499a2d4d [win32k]
- Remove co_IntPostOrSendMessage and use co_IntSendMessageNoWait where possible

svn path=/trunk/; revision=50121
2010-12-24 12:11:10 +00:00
Amine Khaldi
91f7232df7 [CMAKE]
- Add the remaining winetests to build. We compile them all now.

svn path=/trunk/; revision=50120
2010-12-24 12:09:01 +00:00
Amine Khaldi
cef278f70f [CMAKE]
- Add a macro to handle IDL interfaces.

svn path=/branches/cmake-bringup/; revision=50119
2010-12-24 12:08:24 +00:00
Amine Khaldi
7c5322ff9b [CMAKE]
- Use SIZE_T in MIDL_user_allocate. This reverts r49295.

svn path=/branches/cmake-bringup/; revision=50118
2010-12-24 11:42:18 +00:00
Dmitry Gorbachev
f8d20cdb33 Marco Radossevich <fwdprojects=at=email=dot=it>, a.k.a. forart:
"Just two important examples that involved my contributions: UniATA & FullFAT."

No code changes.
See thread <http://www.reactos.org/forum/viewtopic.php?f=14&t=8809> for more details.

svn path=/trunk/; revision=50117
2010-12-24 01:59:13 +00:00
Timo Kreuzer
e7f8fba710 [RTL}
Replace RtlMoveMemory x86 asm code with the code from CRT's memmove, which is better. Now we can close bug #1941

svn path=/trunk/; revision=50116
2010-12-23 19:11:19 +00:00
Aleksey Bragin
c884962fb3 [UNIATA]
- Update uniata to 0.40a1. Prepared by Samuel Serapion, edited by me.
See issue #5762 for more details.

svn path=/trunk/; revision=50115
2010-12-23 16:59:55 +00:00
Roel Messiant
3bb6178e68 [SHELL32]
- Add NULL checks in IShellView and IDropTarget implementations. Should fix bug #5780.

svn path=/trunk/; revision=50114
2010-12-23 15:38:14 +00:00
Roel Messiant
aa62a1a2a6 [WIN32K]
- NtGdiGetDIBitsInternal: Copy the requested amount of scanlines into the return buffer, not the whole bitmap. Should fix bug #5766.

svn path=/trunk/; revision=50113
2010-12-23 14:10:59 +00:00
Timo Kreuzer
ac56cac80c [VBEMP]
Fix rounding error when calculating display size
Loosely based on patch by neoman.
Fixes gdi32_winetest:mapping

See issue #5790 for more details.

svn path=/trunk/; revision=50112
2010-12-23 12:11:19 +00:00
Aleksey Bragin
7ea8c55b57 [NTOS]
- Fix copypasta, thanks Victor!

svn path=/trunk/; revision=50111
2010-12-23 09:14:42 +00:00
Art Yerkes
d758597cd4 Do the required flush when the last reference to a cache stripe is released.
The installer now completes given enough ram in NEWCC=1, and writes an
understandable FS.  There's at least one more problem preventing the 
resulting installation from booting however.
Fix a bug in rmap where we were checking the next (unfortunately named
current) rmap for a segment membership.
Fix a mistake in cache trim.
#ifdef detection of DirectMapping in section in NEWCC mode in page out.

svn path=/trunk/; revision=50110
2010-12-23 08:42:51 +00:00
Aleksey Bragin
ad1b414a31 [NTOS]
- Fix a typo in region size calculation of special memory areas, which unbreaks OllyDbg & co. Thanks Michael Martin for the hint.
See issue #5692 for more details.

svn path=/trunk/; revision=50109
2010-12-22 22:18:32 +00:00
Aleksey Bragin
d1d1894231 [NTOS]
- Fix memory region size calculation in MemoryBasicInformation in certain cases. Spotted by Michael Martin.

svn path=/trunk/; revision=50108
2010-12-22 21:59:27 +00:00
Aleksey Bragin
70f0698953 [NTOS]
- Fix incompatibility with newer KiEnterTrap implementation. Should fix spontaneous issues I possibly introduced with my previous commit, and finally fixes that VirtualBox issue.

svn path=/trunk/; revision=50107
2010-12-22 21:27:31 +00:00
Timo Kreuzer
27a2217c5b [NTDLL]
Fix harderror status on machine type mismatch and pass file name.

svn path=/trunk/; revision=50106
2010-12-22 20:20:52 +00:00
Roel Messiant
96d2fe3970 [I8042PRT]
- Calculate packet type according to PS/2++ spec (CID 1810).
- Fix technical detail in comment to match spec.

svn path=/trunk/; revision=50105
2010-12-22 19:09:25 +00:00
Johannes Anderwald
b546b6d0b2 [KS]
- Add sanity checks
- Acquire device entry lock before dealing with device entries
- Fix acquiring bus device extension for parent bus device object
- Store result in irp io status block
- get install interface from assoicated system buffer
- Fixes install of new audio devices with ros ks in windows
- Tested with VBOX 3.2.10+WINXP+SP3

svn path=/branches/audio-bringup/; revision=50104
2010-12-22 18:53:08 +00:00
Timo Kreuzer
ccc082914c [WIN32K]
Silence 3 DPRINTs

svn path=/trunk/; revision=50103
2010-12-22 18:30:59 +00:00
Amine Khaldi
bec9e0bfa6 [CMAKE]
- Add rostests to build when the folder exists.
- Alter the importlib target macro to handle definition files along with spec files.

svn path=/branches/cmake-bringup/; revision=50101
2010-12-22 16:37:32 +00:00
Amine Khaldi
f5ce699517 [CMAKE]
- Add the apitests to build.
- Improve some winetests.

svn path=/trunk/; revision=50100
2010-12-22 16:33:37 +00:00
Timo Kreuzer
7f1fb18031 [NTDLL]
Raise harderror and terminate process when the image is of a foreign architecture.

svn path=/trunk/; revision=50099
2010-12-22 16:19:40 +00:00
Timo Kreuzer
b1730a09db [NDK] Add IMAGE_FILE_MACHINE_NATIVE
[NTOS] Remove IMAGE_FILE_MACHINE_NATIVE and IMAGE_FILE_MACHINE_ARCHITECTURE definitions, use only the former

svn path=/trunk/; revision=50098
2010-12-22 16:14:58 +00:00
Johannes Anderwald
3c6ed75839 [AUDIO-BRINGUP]
- Partly implement IKsProcessingObject interface, which will be used to handle ks filter-centric based filters
- Fix broken check, which failed to construct filters, which dont have a FILTER_DISPATCH associated
- Add check which fails create requests, when the filter doesnot allow user mode access (i.e. echo cancelation filter)
- register ks worker to dispatch processing requests to the IKsProcessingObject
- Implement KsFilterAttemptProcessing, KsFilterGetAndGate

svn path=/branches/audio-bringup/; revision=50097
2010-12-22 15:20:38 +00:00
Timo Kreuzer
76ff797dcb [HAL]
Convert while (TRUE); to ASSERT(FALSE); on unimplemented pathes.

svn path=/trunk/; revision=50096
2010-12-22 14:31:39 +00:00
Aleksey Bragin
fc17a96938 [NTOS]
- Always initialize TrapFrame segment selectors in KiEnterTrap, because further C code relies on at least TrapFrame->SegFs being correct. Running Arwinss on VirtualBox exposed this bug.
I wouldn't find solution for this bug without Timo's great help!

svn path=/trunk/; revision=50095
2010-12-22 14:26:36 +00:00
Johannes Anderwald
030ee14071 [PSDK]
- Add ks gate functions

svn path=/branches/audio-bringup/; revision=50094
2010-12-22 13:52:25 +00:00
Timo Kreuzer
2342366fe3 [FORMATTING]
Apply indentation of 4 spaces.

svn path=/trunk/; revision=50093
2010-12-22 13:33:09 +00:00
Timo Kreuzer
1f982b1479 [NTDLL]
Move RtlPcToFileHeader to rtl/libsupp.c

svn path=/trunk/; revision=50092
2010-12-22 13:07:04 +00:00
Timo Kreuzer
372bbf2a73 [FORMATTING]
Apply indentation of 4 spaces.

svn path=/trunk/; revision=50091
2010-12-22 13:00:47 +00:00
Pierre Schweitzer
10bab36870 [FASTFAT]
Fix for a buffer overflow and then a buffer overrun (if ever it fixes something)
The way filenames are handled for FAT entries should be REALLY simplified. This would prevent such errors.
Thus, there are more magic values in fastfat driver than everywhere else in ReactOS which makes proper fixing hard (impossible?).
Finally, the code for that fix is crappy, but I don't care, it fits the rest of the fastfat driver code.
*pissed off*
Fixes CID #2502

svn path=/trunk/; revision=50090
2010-12-22 00:13:03 +00:00
Timo Kreuzer
1ef6958203 [SCSIPORT]
ScsiPortConvertPhysicalAddressToUlong takes an ULONG_PTR as input, fix function accordingly and do the "calculation" directly instead of calling RtlConvertUlongToLargeInteger
Spotted by Samuel.

svn path=/trunk/; revision=50089
2010-12-21 23:48:15 +00:00
Pierre Schweitzer
f43fa44a2e [NTOSKRNL]
Fix CID 3454

svn path=/trunk/; revision=50087
2010-12-21 22:24:50 +00:00
Jérôme Gardou
90d2da336d [VGA_NEW]
- avoid buffer overrun, CID 11049
Brought to light by vicmarcal

svn path=/trunk/; revision=50085
2010-12-21 21:55:29 +00:00
Timo Kreuzer
4a58e37b7c [NTSOKRNL]
add a comment so that noone will stumble upon this atrocity a second time.

svn path=/trunk/; revision=50084
2010-12-21 21:48:29 +00:00
Pierre Schweitzer
a5a6940af8 [NTOSKRNL]
Actually, code was correct, but ugly (who said "normal, that's a hack).
So, when that code is called from SetupLDR, KeyHandle is required to be to 1. This what code does. Thing we do in the if condition when it appears we are called from SetupLDR.
To avoid any further question, or warning, adding more parenthesis to show that we know what we do.
So, to sum up, there's no comparaison for KeyHandle

svn path=/trunk/; revision=50083
2010-12-21 21:35:04 +00:00
Amine Khaldi
a2ca649780 [NTOSKRNL]
- Fix an assign where a comparison was intended. CID 2626.

svn path=/trunk/; revision=50082
2010-12-21 20:28:21 +00:00
Michael Martin
604d4c9de8 [NTOS]: Check that MaximumSize is valid value if the section is being backed by paging file.
svn path=/trunk/; revision=50081
2010-12-21 15:19:58 +00:00
Roel Messiant
2b69f5fa2c [DEVMGR]
- DisplayDevicePropertyText: Use full DWORD value, not just one byte of it (CID 1803).
[WINMM]
- MCI_Close: Use UINT instead of UINT16 for the device id (CID 1804).

svn path=/trunk/; revision=50080
2010-12-21 14:58:13 +00:00
Johannes Anderwald
ea8f6ef311 [AUDIO-BRINGUP]
- Move irp completion to CompleteRequest function for debugging of multiple irp completion bugs
- Remove bugs asserts in IKsDevice_PnpStartDevice
- Set device to started when the device does not need pnp notification
- Don't complete the irp in IKsDevice_Create, the driver has already done this
- Comment out UNIMPLEMENTED macro in KsFilterAttemptProcessing
- Fix check in FindMatchingCreateItem
- Don't set DO_DIRECT_IO flags on PDO devices
- Set DO_DEVICE_INITIALIZING flag on PDO device 
- Construct device name with swprintf
- Add check if the device entry has already been constructed
- Zero device capabilities
- Implement bus watchdog routine. The routine checks if pdo has successfully been started, otherwise the pdo is marked invalid and the deleted and then constructed again. If the pdo has been started, all pending irp requests are completed with STATUS_REPARSE. (This is probably not supported by Ros kernel yet)
- Acquire device entry list lock when working with device entries
- Always store status code in irp for all Ks bus api routines
- Handle IRP_MN_REMOVE_DEVICE
- Start watchdog timer when IRP_MN_START_DEVICE is received
- Ros KS nos successfully initializes and all audio devices appear in VBOX+WinXP+SP3. Playback not yet working (Needs KsAttemptFilterProcessing for splitter and friends)
- TODO: enhance time out to make audio system initialize faster

svn path=/branches/audio-bringup/; revision=50079
2010-12-21 13:06:47 +00:00
Cameron Gutman
018e160fdf [EXPLORER-NEW]
- Fix another "sizeof" usage mistake
- CID 1631

svn path=/trunk/; revision=50078
2010-12-21 04:48:36 +00:00
Cameron Gutman
e67bf5752c [USBDRIVER]
- Fix a bug that resulted in us only copying half of the old keyboard data
- CID 10402

svn path=/trunk/; revision=50077
2010-12-21 04:35:12 +00:00
Roel Messiant
95e952c388 [CLASSPNP]
- Use correct type in sizeof expression (CID 1646 and 10401).
- Simplify signature define (CID 3653 and 3654).
- Remove funky 0xFF characters.

svn path=/trunk/; revision=50076
2010-12-21 00:41:52 +00:00
Jérôme Gardou
88a37f9ee8 [CMAKE]
- issue an error when an invalid module type is provided
  - add nativedll module type.

svn path=/branches/cmake-bringup/; revision=50075
2010-12-20 23:51:41 +00:00
Cameron Gutman
6c76be5e63 [URLMON]
- Sync to Wine 1.3.9

svn path=/trunk/; revision=50074
2010-12-20 21:29:55 +00:00
Cameron Gutman
72fa05f13b [WININET]
- Sync to Wine 1.3.9

svn path=/trunk/; revision=50073
2010-12-20 21:25:11 +00:00
Cameron Gutman
cbbeec3a07 [NDIS]
- Fix sizeof typo
- CID 10400

svn path=/trunk/; revision=50072
2010-12-20 20:57:22 +00:00
Cameron Gutman
f683f3f37a [WINHTTP]
- Sync to Wine 1.3.9

svn path=/trunk/; revision=50071
2010-12-20 20:36:21 +00:00
Aleksey Bragin
29d4944804 - Update "slightly less than all" IDLs to Wine-1.3.9. (Except for shlobj, shobjidl and shtypes.h, and DirectX stuff).
svn path=/trunk/; revision=50070
2010-12-20 11:56:24 +00:00
Timo Kreuzer
6e95cdc657 [CRT]
rename pow_asm.c to powl.c to reflect it's content.

svn path=/trunk/; revision=50069
2010-12-20 11:48:55 +00:00
Timo Kreuzer
bc5452aa10 [CRT]
Fix bugs in converted asm file. Fixes Firefox color issues.

svn path=/trunk/; revision=50068
2010-12-20 10:16:43 +00:00
Johannes Anderwald
8baebdbded [AUDIO-BRINGUP]
- Move software bus functions into swenum.c
- Add missing #undef INTERFACE in ksiface.h
- Partly implement KsRemoveBusEnumInterface
- Implement KsServiceBusEnumPnpRequest, KsServiceBusEnumCreateRequest, KsIsBusEnumChildDevice, KsInstallBusEnumInterface, KsGetBusEnumPnpDeviceObject, KsCreateBusEnumObject, KsGetBusEnumParentFDOFromChildPDO, KsGetBusEnumIdentifier
- KS now supports the software bus driver
- As a side effect, ks.sys now fully works in Windows XP
- Tested with VBox+WINXP SP3+

svn path=/branches/audio-bringup/; revision=50067
2010-12-20 02:45:18 +00:00
Roel Messiant
8e7e8f566f [ADVAPI32]
- ConvertStringSidToSidW: Stop writing 1 subauthority too much. Fixes a DWORD sized buffer overflow. Should fix bug #5764.
- ConvertStringSidToSidW: Don't leak an allocated SID in case of failure.
[SETUPAPI]
- SetupDiClassNameFromGuidExW: Rewrite to prevent a buffer overflow and pass additional winetests. Should fix bug #5474.
- SetupDiClassNameFromGuidExA: Return the required buffer size in failure cases.

svn path=/trunk/; revision=50066
2010-12-19 23:19:04 +00:00
Amine Khaldi
12c5516985 [CMAKE]
- Use an actual entrypoint for oleacc. Reflects r50064.

svn path=/branches/cmake-bringup/; revision=50065
2010-12-19 23:00:46 +00:00
Roel Messiant
4989fe718a [OLEACC]
- Use an actual entrypoint. Needed to record the instance handle, used by various function that access resources of the module. Should fix oleacc:main winetest.

svn path=/trunk/; revision=50064
2010-12-19 22:53:29 +00:00
Aleksey Bragin
ec2b5bea7f [WIDL]
- Update to Wine-1.3.9.
- Important note: Syntax of widl invocation changed slightly, so take this into account when merging to cmake branch.

svn path=/trunk/; revision=50063
2010-12-19 20:47:16 +00:00
Timo Kreuzer
94ac46c49e [CMAKE]
Fix configure script for msvc

svn path=/branches/cmake-bringup/; revision=50062
2010-12-19 17:01:35 +00:00
Amine Khaldi
f4cc19c36a [CMAKE]
- Improve several modules.

svn path=/branches/cmake-bringup/; revision=50055
2010-12-17 21:54:56 +00:00
Timo Kreuzer
79c58d8279 [CMAKE]
Add a simple configure script for windows hosts. Run it from any path, where you want to build both the tools and reactos in 2 subfolders.

svn path=/branches/cmake-bringup/; revision=50054
2010-12-17 20:11:04 +00:00
Aleksey Bragin
a2dad68309 [PSDK]
- Oleg Baikalow: Add missing definitions to ipexport.h.

svn path=/trunk/; revision=50053
2010-12-17 15:32:07 +00:00
Amine Khaldi
ad73c3a733 [CMAKE]
- Improve mciwave.

svn path=/branches/cmake-bringup/; revision=50051
2010-12-17 13:54:13 +00:00
Amine Khaldi
f9880abc15 [CMAKE]
- Fix msacm32.dll entry point. This fixes the World Peace issue, I mean, bootcd and livecd userinit exception issue. We get to the shell now in both. Thanks to Johannes for helping me investigate this.

svn path=/branches/cmake-bringup/; revision=50050
2010-12-17 13:45:27 +00:00
James Tabor
e8264b6759 [Win32k|User32]
- Finish 50030 (work by Giannis), Now PostMessage passes all the correct data based on Get/PeekMessage. Example: Post A, Get/Peek A, Translate A, Dispatch A, should be that simple. FYI: DDE memory handling should be in win32k not user32 and why,,,,, ~see next point~
- Patch up problems (at a minimum) going into the SendMessage/Timeout A2U U2A support in win32k and fixed SMTO callback if local.

svn path=/trunk/; revision=50047
2010-12-17 01:09:42 +00:00
Giannis Adamopoulos
f21a470fe6 remove some more unnecessary debug output
svn path=/trunk/; revision=50045
2010-12-16 21:42:28 +00:00
Giannis Adamopoulos
5a3dff4bd2 [win32k]
-Remove an unneeded debug message

svn path=/trunk/; revision=50043
2010-12-16 20:41:25 +00:00
Giannis Adamopoulos
5996aeb16b [user32_winetest]
-revert the previous commit

svn path=/trunk/; revision=50042
2010-12-16 19:11:13 +00:00
Giannis Adamopoulos
fa87a286f1 [user32_winetest]
-deactivate some tests that hang in reactos that have already been deactived and reactivded by mistake twice

svn path=/trunk/; revision=50041
2010-12-16 18:49:10 +00:00
Amine Khaldi
5e5b677ac5 [CMAKE]
- Update some more base addresses. Thanks to Roel for his help.

svn path=/branches/cmake-bringup/; revision=50039
2010-12-16 15:42:17 +00:00
Amine Khaldi
1a282efb6f [CMAKE]
- Assign a base address to ftfd.

svn path=/branches/cmake-bringup/; revision=50038
2010-12-16 15:03:13 +00:00
Amine Khaldi
4efeea1fb3 [CMAKE]
- Update some base addresses to adapt to new binary sizes. Thanks to Roel for his help.

svn path=/branches/cmake-bringup/; revision=50037
2010-12-16 14:35:26 +00:00
Johannes Anderwald
219cbd064d [AUDIO-BRINGUP]
- Implement SwDispatchPower

svn path=/branches/audio-bringup/; revision=50036
2010-12-16 11:56:12 +00:00
Johannes Anderwald
7a85cb26a1 [AUDIO-BRINGUP]
- Fix several bugs in SwDispatchPnp routine
- Routine did not complete requests, when KsServiceBusEnumPnpRequest successfully handled the request
- Software bus driver did not handle resource lists irps
- Software bus driver did not support querying pnp device state
- Software bus driver leaked the irp for IOCTL_SWENUM_GET_BUS_ID requests in SwDispatchDeviceControl
- Software bus driver is now successfully initializes in XP and audio devices are present

svn path=/branches/audio-bringup/; revision=50035
2010-12-16 11:10:45 +00:00
Johannes Anderwald
fe9ca5c028 [AUDIO-BRINGUP]
- Trying to activate the software bus driver. Needs more work

svn path=/branches/audio-bringup/; revision=50034
2010-12-16 09:09:43 +00:00
Amine Khaldi
4f505e46f5 [CMAKE]
- Arty: Add usermode addresses translation support. WIP.

svn path=/branches/cmake-bringup/; revision=50033
2010-12-15 23:37:54 +00:00
Aleksey Bragin
074f4cec87 [NTOS]
- Roel Messiant: Fix NtQueryObject to return the required buffer size if the buffer provided was too small. Unimplemented paths behaviour is preserved.

svn path=/trunk/; revision=50032
2010-12-15 20:12:03 +00:00
Aleksey Bragin
19e368a616 [RTL]
- Roel Messiant: Specify proper byte length of a unicode string. Fixes out of bounds access in actctx.c support code. No more half-cut active context stuff in debug logs.

svn path=/trunk/; revision=50031
2010-12-15 20:03:43 +00:00
Giannis Adamopoulos
ca9039c50e [win32k]
- Use the new version of NtUserGetMessage and NtUserPeekMessage written by Jim. It is possible to use them now because GetMessage and PeekMessage don't return messages that contain pointers. As a result they don't need to do any extra work to copy the message to user mode. All messages that contain pointers are sent messages and this means that they don't get into the message loop. Instead they are passed directly to the window proc.
- DispatchMessage works only if the target window belongs to the current thread. This lets us remove uneeded copies of lparam to user mode. 

[user32]
- Remove a bunch of uneeded code in GetMessage and PeekMessage that copyied the lparam in a new buffer and did unicode to ansi convertions. It is not needed because they don't receive messages with pointers any more

svn path=/trunk/; revision=50030
2010-12-15 19:21:48 +00:00
evb
2138d6d794 - Mode detect look for 4BPP, planar, graphics < 0x800 mode now
- Add GDIINFO from NT4 VGA DDK sample driver
- Set 4BPP prefer DIB format
- No graphics caps set for VGA driver
- Put static palette/color buffer for when VGA IOCTL send later
- Convert almost done, bInitSURF is last

svn path=/trunk/; revision=50029
2010-12-14 04:10:14 +00:00
evb
46ab421926 - Finish make enable.c work full on vga, main change force 4BPP (disable other codes), create 4BPP bitmap surfobj, associate and lock
- Easy part done, now hard part

svn path=/trunk/; revision=50028
2010-12-14 03:52:00 +00:00
evb
3b3c818073 - fix now palette.c for vga, by copy logPalVGA/VGALOGPALETTE from NT4 DDK VGA sample drv and turn off codes for allocate 256 color pallette, instead use fix 16 color logPalVGA
- fix header of debug.c

svn path=/trunk/; revision=50027
2010-12-14 03:27:51 +00:00
evb
bd41ac7ef9 - Add the new vga miniport to build
- Replace the framebuf_new spec rc rbuild with vga_new spec rc rbuild
- Delete pointer.c
- Start make changes, driver.h new fields for VGA, change driver short/long name/tag, add macros and in enable.c remove hw pointer support

svn path=/trunk/; revision=50026
2010-12-14 03:17:29 +00:00
evb
4803978d0e - commit base for new vga display miniport driver, is svn copy of framebuf_new as many codes identical
- Will than commit and document differences to make into vga driver

svn path=/trunk/; revision=50025
2010-12-14 03:03:30 +00:00
Pierre Schweitzer
1d0887e1ac [NTOSKRNL]
Silent FstubEx* debug prints on popular demand (ie, Timo)

svn path=/trunk/; revision=50024
2010-12-13 22:24:49 +00:00
Amine Khaldi
ebc3a24d42 [CMAKE]
- Fix winspool import lib target.
- Improve some modules.

svn path=/branches/cmake-bringup/; revision=50023
2010-12-13 12:25:51 +00:00
Pierre Schweitzer
fd45340e00 [NTOSKRNL]
Merge some changes from r50021 to FsRtlIsNameInExpression() to make code easier to read and understand...

svn path=/trunk/; revision=50022
2010-12-13 11:33:29 +00:00
Pierre Schweitzer
435cdd8c49 [NTOSKRNL]
Rewritten FsRtlIsDbcsInExpression() using FsRtlIsNameInExpression() pattern.
This fixes all failing tests from kmtest.sys and make this function definitely tastier to MS fastfat.sys

svn path=/trunk/; revision=50021
2010-12-13 11:24:52 +00:00
Pierre Schweitzer
2fed6b5925 [KMTEST]
Added testcases for FsRtlIsDbcsInExpression()

svn path=/trunk/; revision=50020
2010-12-13 11:06:57 +00:00
Pierre Schweitzer
ffd29f0aa3 [NTOSKRNL]
Fixed FsRtlIsNameInExpression() according to r50018 tests

svn path=/trunk/; revision=50019
2010-12-12 22:17:45 +00:00
Pierre Schweitzer
94b828f1a4 [KMTEST]
Added more testcases for FsRtlIsNameInExpression()

svn path=/trunk/; revision=50018
2010-12-12 22:09:35 +00:00
Pierre Schweitzer
1632e9c528 Revert r50016
svn path=/trunk/; revision=50017
2010-12-12 22:04:59 +00:00
Pierre Schweitzer
2af18a66e3 Commit test...
svn path=/trunk/; revision=50016
2010-12-12 22:03:42 +00:00
Sylvain Petreolle
dbb98253a6 [ROSTESTS]
Delete test file.


svn path=/trunk/; revision=50015
2010-12-12 21:48:05 +00:00
Sylvain Petreolle
50dce372bb [ROSTESTS]
Add lorem ipsum test file.

svn path=/trunk/; revision=50014
2010-12-12 21:30:20 +00:00
Daniel Reimer
8448d43632 Update the rapps database.
svn path=/trunk/; revision=50013
2010-12-12 18:56:43 +00:00
Johannes Anderwald
7a95ed1cfa [KS]
- Fix 2 bugs in KsCreateBusEnumObject. It didnt store the allocated device extension and it didnt store the PnpDeviceObject when it was provided by the caller
- Implement KsGetBusEnumIdentifier, KsGetBusEnumPnpDeviceObject

svn path=/branches/audio-bringup/; revision=50012
2010-12-11 19:44:15 +00:00
Timo Kreuzer
6d9a17264d [CMAKE]
Revert some idl changes from r49286 and r49293, that broke mouse
and keyboard in 2nd stage.

svn path=/branches/cmake-bringup/; revision=50011
2010-12-11 17:04:24 +00:00
Amine Khaldi
e829be1010 [CMAKE]
- Add some importlib targets.

svn path=/branches/cmake-bringup/; revision=50005
2010-12-10 16:08:35 +00:00
Johannes Anderwald
30d346530e [AUDIO-BRINGUP]
- Implement a timeout handler, which detects whether the audio thread has hung. The code has not yet been activated
- Remove unused members

svn path=/branches/audio-bringup/; revision=50001
2010-12-10 11:03:28 +00:00
Aleksey Bragin
c19a377df2 [HEAP]
- Time has come to get rid of a slightly modified implementation of WINE's heap, which is a hack based on Windows 95's heap implementation, itself a hack of DOS memory management. It supported 3 out of the 18 possible NT Heap Flags, did not support custom allocation/deallocation routines, and was about 50-80x slower with fragmentation rates up to 500x higher when compared to NT's LFH (WINE is lucky because the advanced NT Heap features are used in kernel-mode usually, not in user-mode, and they are crossing their fingers for this being the same). Several high-end SQL/Database applications would significantly benefit from custom heap features provided by NT. Not to say about removing crappy support for a custom Commit routine and crappy support for User-defined flags and the User-defined value.

- So, the glorious moment for a new heap manager, which is (to remind you) a totally new heap manager, resembling real NT heap manager, based on data structures similar to Windows 2003 and Vista+'s heap structures, supporting advanced heap flags (e.g. useful for debugging), having substantially lower fragmentation rates (and thus speed and reliability), having native support for user-defined flags and user-defined values, also native support for a custom commit routine, which is very important for trunk's win32 subsystem. It also reserves, commits, decommits and frees memory on the fly, unlike existing heap manager which prefers to reserve and commit as much as possible, and doesn't decommit when it's no longer necessary. Not to say about support for per process heaps, with a proper lock, and a further support for a special so-called debug heap allocator (to be implemented in heapdbg.c) which will be useful for finding heap corruptions.

Yeah, I'm not a fun person :D

svn path=/trunk/; revision=50000
2010-12-10 09:33:20 +00:00
Johannes Anderwald
f93d9928e3 [AUDIO-BRINGUP]
- Implement WODM_RESTART / WODM_PAUSE
- Fixes playback in Audacity and many others probably

svn path=/branches/audio-bringup/; revision=49999
2010-12-10 08:23:20 +00:00
Johannes Anderwald
6c695cc12d [AUDIO-BRINGUP]
- Fix broken wave recording

svn path=/branches/audio-bringup/; revision=49998
2010-12-10 07:41:44 +00:00
Johannes Anderwald
a0f720954d [AUDIO-BRINGUP]
- Implement WdmAudResetStreamByMMixer, StopStreamingInSoundThread
- WIDM_RESET / WODM_RESET are now implemented
- Skipping now audio bytes (i.e. jumping to different audio position) now properly works and no longer causes a hang under certain conditions

svn path=/branches/audio-bringup/; revision=49997
2010-12-10 06:14:10 +00:00
Timo Kreuzer
867a6b79d4 [WIN32K]
Merge r49994 and r49995 from reactx branch

svn path=/trunk/; revision=49996
2010-12-09 15:53:55 +00:00
Johannes Anderwald
7ae8c563cc [AUDIO-BRINGUP]
- Respect channel count which defines if the control acts uniform or per channel
- Fix bug in MMixerSetGetMuxControlDetails

svn path=/branches/audio-bringup/; revision=49993
2010-12-09 11:33:58 +00:00
Johannes Anderwald
5e2f536e5c [AUDIO-BRINGUP]
- Implement MixerEvent callback in wdmaud.drv
- Comment out assert which is hit in VmWare
- Implement full support mux controls

svn path=/branches/audio-bringup/; revision=49990
2010-12-08 19:49:28 +00:00
Colin Finck
f1892bd3a3 Remove the "irc", "press-media" and "tools" directories.
They were moved to the "press-media" and "project-tools" repositories now.

svn path=/trunk/; revision=49986
2010-12-08 16:42:47 +00:00
Johannes Anderwald
568ec33a57 - Fix build #2
svn path=/branches/audio-bringup/; revision=49984
2010-12-07 22:24:33 +00:00
Johannes Anderwald
fc15c3f30b - Add temporary hack to prevent MS Sndvol32 from crashing
- Found by smiley

svn path=/branches/audio-bringup/; revision=49983
2010-12-07 22:22:24 +00:00
Aleksey Bragin
bbb9384573 [DDK]
- Oleg Baikalow: Fix NDIS macros.

svn path=/trunk/; revision=49982
2010-12-07 22:07:00 +00:00
Johannes Anderwald
133053626b - Fix compile #1
svn path=/branches/audio-bringup/; revision=49981
2010-12-07 21:58:43 +00:00
Aleksey Bragin
ffe49df99a [REGEDIT]
- Adam Kachwalla: Fix inconsistent formatting.
- Me: to anyone who's gonna try syncing the code with Wine's regedit: Have fun!
See issue #5716 for more details.

svn path=/trunk/; revision=49980
2010-12-07 21:49:25 +00:00
Johannes Anderwald
64a772037e - Revert 49927 "Update to trunk" as it breaks KsStudio (again)
svn path=/branches/audio-bringup/; revision=49979
2010-12-07 21:46:43 +00:00
Eric Kohl
65081666b5 [NPFS]
Enable the driver to open a directory using a relative path name.

svn path=/trunk/; revision=49978
2010-12-07 20:16:45 +00:00
Johannes Anderwald
2b777abf96 [AUDIO-BRINGUP]
- Silence traces

svn path=/branches/audio-bringup/; revision=49975
2010-12-07 17:46:25 +00:00
Johannes Anderwald
ee4f08ad85 [PORTCLS]
- Merge from the audio branch
- Fix node property handler
- Take advantage of IPinCount interface

svn path=/trunk/; revision=49974
2010-12-07 17:23:09 +00:00
Johannes Anderwald
4cf9ead133 [AUDIO-BRINGUP]
- Fix major bug which made change volume / mute requests fail

svn path=/branches/audio-bringup/; revision=49972
2010-12-07 15:52:25 +00:00
Johannes Anderwald
062790010c [AUDIO-BRINGUP]
- Implement registering source / destination lines + controls of alternative mixers
- Implement support function for retrieving mixer by name

svn path=/branches/audio-bringup/; revision=49970
2010-12-07 15:19:22 +00:00
Johannes Anderwald
d6f6afee98 [SHELL32]
- Implement copy / paste for files when tree view is present
- Don't add shortcuts / executables to recent file list

svn path=/trunk/; revision=49969
2010-12-07 14:35:54 +00:00
Amine Khaldi
0b6a8d819a [CMAKE]
- More work rostests cmake integration. Winetests are almost all done (two remain).

svn path=/trunk/; revision=49968
2010-12-07 11:40:10 +00:00
Johannes Anderwald
6a0327f62c [AUDIO-BRINGUP]
- Fix error message when mmixer library has failed to initialize
- Remove device handle from MIXER_INFO as a mixer can span over more than one device (i.e. mixer, wave)
- Add device handle to mixer control struct
- Store mixer controls in list than in array. Will later be used to add hacks (i.e wave line must have volume controls etc)
- Add reserved member to topology pin struct and mark used pins as reserved. It is then used to add alternative mixers destination lines

svn path=/branches/audio-bringup/; revision=49967
2010-12-07 10:29:57 +00:00
Amine Khaldi
2923228336 [CMAKE]
- Start working on rostests cmake integration.

svn path=/trunk/; revision=49966
2010-12-07 09:27:10 +00:00
Johannes Anderwald
4256033623 [AUDIO-BRINGUP]
- Implement support for retrieving mux mixer controls 
- Implement support for on/off controls
- Store logical pins for nodes connecting to another nodes. Currently not yet used


svn path=/branches/audio-bringup/; revision=49965
2010-12-06 16:00:06 +00:00
Giannis Adamopoulos
a38b059ca1 [win32k]
- In FNID_SENDMESSAGECALLBACK use SEH before accesing the user-mode buffer

svn path=/trunk/; revision=49962
2010-12-06 12:07:05 +00:00
Cameron Gutman
3e169e3cb2 [NDIS]
- Add a missing spin lock release in a failure case
- Fix incomplete copying of NDIS 5.1 miniport characteristics

svn path=/trunk/; revision=49961
2010-12-06 04:39:57 +00:00
Johannes Anderwald
3da0b30d8a [AUDIO-BRINGUP]
- Implement determination of the channel count for source mixer lines

svn path=/branches/audio-bringup/; revision=49960
2010-12-06 02:15:33 +00:00
Johannes Anderwald
4a8590e0d6 [AUDIO-BRINGUP]
- Add advanced flags of KSPROPERTY_MEMBERSHEADER

svn path=/branches/audio-bringup/; revision=49959
2010-12-06 01:43:55 +00:00
Johannes Anderwald
b913ec3d17 [AUDIO-BRINGUP]
- Fix the famous node property handler bug, leading to lots of audio related crashes

svn path=/branches/audio-bringup/; revision=49958
2010-12-06 01:06:37 +00:00
Giannis Adamopoulos
5f879a1245 [win32k]
-Amend to r41772. Allow PostMessage to handle DDE messages

svn path=/trunk/; revision=49957
2010-12-05 23:10:03 +00:00
Johannes Anderwald
d8bb0e8df8 [AUDIO-BRINGUP]
- Remove installation of non-existant wdmaud / sysaudio / kmixer

svn path=/branches/audio-bringup/; revision=49956
2010-12-05 21:31:33 +00:00
Johannes Anderwald
f5a193a41b [AUDIO-BRINGUP]
- Properly determine the component type and target type of source lines
- Correctly set dwDestination / target type / component member for source lines

svn path=/branches/audio-bringup/; revision=49955
2010-12-05 18:01:24 +00:00
Aleksey Bragin
ca9bd80182 [TASKMGR]
- Rafal Harabien: Add support for DELETE key to processes and applications list in taskmgr.
See issue #5646 for more details.

svn path=/trunk/; revision=49954
2010-12-05 10:27:45 +00:00
Timo Kreuzer
3e64650a54 [ROSSYM]
Silence debug prints

svn path=/branches/cmake-bringup/; revision=49953
2010-12-04 21:16:35 +00:00
Timo Kreuzer
7764ff4c95 [CMAKE]
Give ntdll a baseaddress

svn path=/branches/cmake-bringup/; revision=49952
2010-12-04 20:18:24 +00:00
Johannes Anderwald
f0b3c9997f [AUDIO-BRINGUP]
- Fix line ids of source lines
- Fix calculating line id of source lines
- MS sndvol32 is still crashing in user32

svn path=/branches/audio-bringup/; revision=49951
2010-12-04 18:53:51 +00:00
James Tabor
e781fb11a4 [Win32k|User32]
- Remove the old send message API and use NtUserMessageCall.
- Send messages do not pass the Ansi bit. This was evident during the hook changes. User32 knows the caller is Ansi and with a Unicode window user32 can make the apropate switch. Win32k on the other hand, assumes, based on the Unicode window the caller is Unicode. Hook tests enabled in send message, forces the call to win32k, and the Ansi product is Unicode data. Using NtUserMessageCall this bit can be passed forward to allow win32k to make the correct switch going to callback.

svn path=/trunk/; revision=49950
2010-12-04 17:51:17 +00:00
Johannes Anderwald
a7d4c7146b [AUDIO-BRINGUP]
- More fixes for mmixer library
- Store destination lines sharing the same mixer object in the same object
- Fix generating destination lines id / soure lines
- Add mux node for input mixers
- Disable code which checked if the topology node has already been reserved for an another line. Tests in WinXP concluded that ms does not do this at all, though documentation claims it
- Add source line to the correct destination line
- Fix a memory leak
- Fix tons of bugs in MMixerGetLineInfo



svn path=/branches/audio-bringup/; revision=49949
2010-12-04 17:45:48 +00:00
Eric Kohl
95aa3be8eb [NPFS]
- Fail attempts to connect or disconnect a directory or device.
- Fail attempts to connect or disconnect a pipe by the client.

svn path=/trunk/; revision=49948
2010-12-04 15:25:27 +00:00
Timo Kreuzer
91b7e707a9 [CMAKE]
"don't assign 1 to a BOOL variable"

svn path=/branches/cmake-bringup/; revision=49947
2010-12-04 12:54:17 +00:00
Timo Kreuzer
090377fe9d [CMAKE]
- Fix configuration with cmake-gui (BOOL variables are TRUE/FALSE not 0/1)
- Remove unused DBG_OR_KDBG

svn path=/branches/cmake-bringup/; revision=49946
2010-12-04 12:48:02 +00:00
Eric Kohl
fe0eda52aa [NPFS]
Read and write IRPs must fail if the caller is not a pipe but a directory or a device.

svn path=/trunk/; revision=49945
2010-12-04 08:54:16 +00:00
Amine Khaldi
d459599a8b [CMAKE]
- Activate ws2_32.

svn path=/branches/cmake-bringup/; revision=49943
2010-12-03 22:32:02 +00:00
Amine Khaldi
a1e7c693ec [CMAKE]
- Emit debug info.

svn path=/branches/cmake-bringup/; revision=49942
2010-12-03 22:23:37 +00:00
Timo Kreuzer
f1ebdab3df [CMAKE]
Remove duplicated dll import

svn path=/branches/cmake-bringup/; revision=49940
2010-12-03 21:05:01 +00:00
Sylvain Petreolle
a6c98dde60 [CMAKE]
Revert 49926.
Its not needed anymore after timo's stubs.h fix in 49933.

svn path=/branches/cmake-bringup/; revision=49938
2010-12-03 19:41:06 +00:00
Amine Khaldi
d37f67f379 [CMAKE]
- Improve some modules.
- Convert notifyhook def into a spec, and add the import lib target.
- Get rid of the import libs that we already generate (the rest are still just temporary)

svn path=/branches/cmake-bringup/; revision=49937
2010-12-03 19:20:45 +00:00
James Tabor
a3bba1d54a [Win32k]
- More fixes to In Send message support. One more case fixed in looping back.

svn path=/trunk/; revision=49936
2010-12-03 18:13:28 +00:00
James Tabor
6e80bd7c43 [Win32k]
- More fixes to In Send and Reply message support.

svn path=/trunk/; revision=49935
2010-12-03 18:02:02 +00:00
Timo Kreuzer
f4b7920876 [CMAKE]
define inline to __inline for host tools on MSVC builds

svn path=/branches/cmake-bringup/; revision=49934
2010-12-03 17:51:03 +00:00
Timo Kreuzer
be61366908 [CMAKE]
include debug.h explicitly from reactos folder, to avoid including the wine one. Fixes ws2_32

svn path=/branches/cmake-bringup/; revision=49933
2010-12-03 17:48:03 +00:00
Amine Khaldi
f7da79e889 [CMAKE]
- Improve more modules.

svn path=/branches/cmake-bringup/; revision=49932
2010-12-03 17:41:29 +00:00
Johannes Anderwald
6cee9e1837 [AUDIO-BRINGUP]
- Pass audio device id to wdmaud.drv callback functions
- Extend VALIDATE_MMSYS_PARAMETER macro
- Handle case when the caller does not pass handle of mixer, but a device id
- Pass device id to mmixer library
- Remove dead code
- MS sndvol32.exe now gets further, but crashes in user32 IntCallMessageProc

svn path=/branches/audio-bringup/; revision=49931
2010-12-03 16:49:33 +00:00
Amine Khaldi
c2575b551d [CMAKE]
- Add dllname optional parameter to the import lib creation macro.
- Use it in the kernel.

svn path=/branches/cmake-bringup/; revision=49930
2010-12-03 16:17:41 +00:00
James Tabor
7d1736a1a2 [Win32k|User32]
- Fixed SendNotifyMessage, thanks to Michael Martin callback changes. Fixed DispatchMessage when dealing with thread errors. Fixed all but one of the Get/PeekMessage wine tests. Fixed attaching threads to process information. Plus other fixes.
- Implemented support for QS bits, ReplyMessage (not fully correct), and others.
- Tested everything here, please post regressions so I can add more applications to the test list. This patch is synced with 49720 and 49772. After that there are graphic issues.
- Credits goes to wine for helping with diagnosing issues in the ReactOS message system.

svn path=/trunk/; revision=49929
2010-12-03 15:34:06 +00:00
Johannes Anderwald
6c8e7899a9 - Update to trunk
svn path=/branches/audio-bringup/; revision=49927
2010-12-03 15:05:26 +00:00
Sylvain Petreolle
3b0a4a1478 [CMAKE]
Manual stubs for user32.

svn path=/branches/cmake-bringup/; revision=49926
2010-12-03 13:48:48 +00:00
Timo Kreuzer
a7894a8714 [CMAKE]
Some manual stubs for mapi32

svn path=/branches/cmake-bringup/; revision=49925
2010-12-03 13:41:06 +00:00
Johannes Anderwald
16d979e4ad - Merge from trunk
- Hackfixed to build

svn path=/branches/audio-bringup/; revision=49924
2010-12-03 13:37:09 +00:00
Johannes Anderwald
c47ea5cd38 - Merge from trunk
- Hackfixed to build

svn path=/branches/audio-bringup/; revision=49923
2010-12-03 13:32:50 +00:00
Timo Kreuzer
53620b9c9b [CMAKE]
Fix libshdocvw

svn path=/branches/cmake-bringup/; revision=49921
2010-12-03 12:08:09 +00:00
Johannes Anderwald
8e0af0da53 [AUDIO-BRINGUP]
- Remove wdmaud test code

svn path=/branches/audio-bringup/; revision=49920
2010-12-03 11:53:15 +00:00
Johannes Anderwald
a5d898e1ac [AUDIO-BRINGUP]
- Check if library has already been initialized
- Remove function macro for legacy (wdmaud.sys connection)

svn path=/branches/audio-bringup/; revision=49919
2010-12-03 11:47:43 +00:00
Timo Kreuzer
3972c628bb revert accidental change from r49499
svn path=/trunk/; revision=49918
2010-12-03 11:46:52 +00:00
Johannes Anderwald
0db537dac8 [AUDIO-BRINGUP]
- Fix opening of mixer / midi devices

svn path=/branches/audio-bringup/; revision=49917
2010-12-03 11:14:29 +00:00
Amine Khaldi
4ff54162dd [CMAKE]
- More work on import lib targets and improving modules.

svn path=/branches/cmake-bringup/; revision=49916
2010-12-03 11:01:21 +00:00
Amine Khaldi
11cdb20f02 [CMAKE]
- More work on import lib targets and improving modules.

svn path=/branches/cmake-bringup/; revision=49914
2010-12-03 10:26:32 +00:00
Amine Khaldi
d8b2780e7e [CMAKE]
- Start adding proper import lib targets.
- Improve some modules.

svn path=/branches/cmake-bringup/; revision=49913
2010-12-03 09:26:06 +00:00
Johannes Anderwald
458fddc634 [AUDIO-BRINGUP]
- Activate dsound rewrite

svn path=/branches/audio-bringup/; revision=49911
2010-12-03 03:42:10 +00:00
Johannes Anderwald
8e1a78a39c [AUDIO-BRINGUP]
- Enable mmixer library in wdmaud.drv
- Delete unused code
- Don't call wave streaming handler again from the io completion callback. As this will sooner or later will cause crash because the stack got eaten
- Create a thread for each io packet and handle the completion callback within it. 
- Audio packets are now directly routed from winmm -> wdmaud.drv -> portcls instead of winmm -> wdmaud.drv -> wdmaud.sys -> sysaudio.sys -> kmixer.sys -> portcls.sys
- Needs more testing & fine tuning, to fixup audio glitches

svn path=/branches/audio-bringup/; revision=49910
2010-12-03 03:39:55 +00:00
Johannes Anderwald
4bafd25194 [AUDIO-BRINGUP]
- Delete wdmaud, sysaudio, kmixer

svn path=/branches/audio-bringup/; revision=49909
2010-12-03 03:36:28 +00:00
Amine Khaldi
c47b3863d9 [CMAKE]
- Adapt to the new spec2def syntax.

svn path=/branches/cmake-bringup/; revision=49908
2010-12-02 23:37:33 +00:00
Amine Khaldi
b7f44d1892 [CMAKE]
- WIP: Make rossym and its users rely on dwarf debug info. Brought to you by the Arty.

svn path=/branches/cmake-bringup/; revision=49906
2010-12-02 23:20:22 +00:00
Timo Kreuzer
3ddfc0b355 [CMAKE]
Fix compilation of setupldr on msvc

svn path=/branches/cmake-bringup/; revision=49905
2010-12-02 22:24:58 +00:00
Timo Kreuzer
7d0047c609 [CMAKE]
Invoke spec2def only once to generate asm stub and def file.

svn path=/branches/cmake-bringup/; revision=49904
2010-12-02 22:16:59 +00:00
Amine Khaldi
faa04c1086 [CMAKE]
- Group some cross compiling related sections.
- Implement add_importlib_target() for gcc.
- Improve the msvc version.

svn path=/branches/cmake-bringup/; revision=49903
2010-12-02 21:56:40 +00:00
Timo Kreuzer
3f7c3ba575 [CMAKE]
On MSVC builds link eventvwr, dwnl, ftp, ping, telnet, tracert to ntdll to resolve _allmul and friends
link ftp to oldnames

svn path=/branches/cmake-bringup/; revision=49902
2010-12-02 19:44:46 +00:00
Timo Kreuzer
69e1da4398 [CMAKE]
Cleanup old comment

svn path=/branches/cmake-bringup/; revision=49901
2010-12-02 19:18:25 +00:00
Timo Kreuzer
d044fc5af3 [CMAKE]
- Add importlib for dplayx, ksuser, wined3d
- link dplay to dplayx

svn path=/branches/cmake-bringup/; revision=49900
2010-12-02 19:13:47 +00:00
Sylvain Petreolle
dc90d687fe [CMAKE]
Fix shlwapi.

svn path=/branches/cmake-bringup/; revision=49899
2010-12-02 14:57:32 +00:00
Timo Kreuzer
1a20b0bd9c [NTOSKRNL]
patch by Samuel Serapion:
Implement MemorySectionName case for NtQueryVirtualMemory. Protect buffer access with SEH.

See issue #5753 for more details.

svn path=/trunk/; revision=49898
2010-12-02 14:37:16 +00:00
Timo Kreuzer
2d23617922 [MSVC]
Fix typeof(WineDirect3DCreateClipper) definition for MSVC.

svn path=/branches/cmake-bringup/; revision=49897
2010-12-02 13:37:59 +00:00
Sylvain Petreolle
d0d1abf53c [CMAKE]
Update msvcrt stubs.

svn path=/branches/cmake-bringup/; revision=49896
2010-12-02 13:32:01 +00:00
Sylvain Petreolle
4f5a031400 [CMAKE]
Fix build for winmm and syssetup.

svn path=/branches/cmake-bringup/; revision=49895
2010-12-02 12:58:59 +00:00
Sylvain Petreolle
e3e3bef533 [CMAKE]
Disable msnet32.

svn path=/branches/cmake-bringup/; revision=49894
2010-12-02 12:38:16 +00:00
Sylvain Petreolle
1d2630cc29 [CMAKE]
Add stubs file to source automatically.

Gcc: fix set_rc_compiler() so that it doesn't conflict with custom_incdefs().

svn path=/branches/cmake-bringup/; revision=49893
2010-12-02 12:36:16 +00:00
Timo Kreuzer
cabd360822 [CMAKE]
D3DXCreateTexture is already implemented, not a stub

svn path=/branches/cmake-bringup/; revision=49892
2010-12-02 12:14:35 +00:00
Timo Kreuzer
5c87a775bf [CMAKE]
- Link wine dx, that do forwards to the respective import libs (MSVC requires that)
- add import lib for d3dx9_24
- add IID_IUnknown to d3dx9_36_main.c for MSVC

svn path=/branches/cmake-bringup/; revision=49891
2010-12-02 11:49:15 +00:00
Timo Kreuzer
4ebc21e75b [CMAKE]
add libd3dx9_24.a

svn path=/branches/cmake-bringup/; revision=49890
2010-12-02 11:45:24 +00:00
Timo Kreuzer
28f9048710 [CMAKE]
Generate proper stdcall stubs for d3dx9_24 and d3dx9_36
Fix D3DXLoadSurfaceFromSurface parameters

svn path=/branches/cmake-bringup/; revision=49889
2010-12-02 11:44:24 +00:00
Timo Kreuzer
7b68fbc7bb [CMAKE]
Convert __wine_spec_unimplemented_stub to a macro

svn path=/branches/cmake-bringup/; revision=49888
2010-12-01 21:39:38 +00:00
Timo Kreuzer
92a36a982e [CMAKE]
Manual stubs for comctl32

svn path=/branches/cmake-bringup/; revision=49887
2010-12-01 21:16:25 +00:00
Amine Khaldi
f8bea92055 [CMAKE]
- Inhibit all warning messages for mesa32.

svn path=/branches/cmake-bringup/; revision=49886
2010-12-01 20:49:45 +00:00
Timo Kreuzer
a46bd17bc1 [CMAKE]
Manual stubs for cabinet

svn path=/branches/cmake-bringup/; revision=49885
2010-12-01 20:29:09 +00:00
Timo Kreuzer
a0e85898c8 [CMAKE]
Fix browseui

svn path=/branches/cmake-bringup/; revision=49884
2010-12-01 20:11:15 +00:00
Timo Kreuzer
c843606e23 [CMAKE]
wine depends on buildno header

svn path=/branches/cmake-bringup/; revision=49883
2010-12-01 18:28:34 +00:00
Timo Kreuzer
d18b9b0c9b [PSDK]
Fix include guard for unknown.h

svn path=/branches/cmake-bringup/; revision=49882
2010-12-01 14:56:05 +00:00
Sylvain Petreolle
30922e7435 [CMAKE]
Fix dwmapi, mpr and msxml3.
Ordinal stubs were given the same internal names as Wine.

svn path=/branches/cmake-bringup/; revision=49881
2010-12-01 13:36:16 +00:00
Timo Kreuzer
b9e6a0061a [CMAKE]
manual stubs for atl

svn path=/branches/cmake-bringup/; revision=49880
2010-12-01 13:16:39 +00:00
Timo Kreuzer
b9b9c03a1c [CMAKE]
Manual stubs for activeds

svn path=/branches/cmake-bringup/; revision=49879
2010-12-01 09:44:45 +00:00
Sylvain Petreolle
98fa3bb8d8 [CMAKE]
Fix msvcrt and query build.

svn path=/branches/cmake-bringup/; revision=49878
2010-11-30 22:31:17 +00:00
Sylvain Petreolle
53010e4c40 [CMAKE]
Stubs: Fix some win32 modules.

svn path=/branches/cmake-bringup/; revision=49876
2010-11-30 20:57:01 +00:00
Aleksey Bragin
ed5da47acd [FINDSTR]
- Port findstr (incomplete, as author of this patch states, it may satisfy RosBE, .c .h and .rc files) from FreeDOS project. Needed for RosBE-on-ReactOS support.
See issue #5724 for more details.

svn path=/trunk/; revision=49875
2010-11-30 19:14:41 +00:00
Sylvain Petreolle
e57db5ea40 [CMAKE]
Add d3dx9_36 importlib.

svn path=/branches/cmake-bringup/; revision=49874
2010-11-30 17:51:44 +00:00
Aleksey Bragin
7ca7ff0cbd [CMD]
- Carlo Bramix: MultiByteToWideChar() has just 6 and not 8 parameters, probably it's a forgetten copy/past from WideCharToMultiByte().
- Carlo Bramix: ConvertULargeInteger() should have its parameter 'Len' declared as UINT rather than 'INT'. This fixes a signed/unsigned mismatch warning.
See issue #5678 for more details.

svn path=/trunk/; revision=49873
2010-11-30 16:38:53 +00:00
Aleksey Bragin
76b3ad6788 [DDRAW]
- Jerome Gardou: Almost all of the ddraw->refcount winetests pass. One remains, due to the fact that IdirectDrawSurface::SetPalette is unimplemented. IDirectDraw::Createpalette is implemented too, but needs testing. There are no parameter checks.
- Comments from me: The patch is not build-tested, however I did my best to merge it to existing ddraw and I prefer the actual code to be in the repository rather than hanging in bugzilla for years (last comment to the patch is dated 29.10.2009).

See issue #4909 for more details.

svn path=/trunk/; revision=49872
2010-11-30 16:29:49 +00:00
Sylvain Petreolle
e141d4c363 [CMAKE]
Stubs: Fix some win32 modules.

svn path=/branches/cmake-bringup/; revision=49871
2010-11-29 23:08:38 +00:00
Timo Kreuzer
db7b8d8030 [CMAKE]
Fix stubs and imports for wine dx

svn path=/branches/cmake-bringup/; revision=49870
2010-11-29 19:42:58 +00:00
Timo Kreuzer
5ef10219b5 [CMAKE]
- Add stub file for d3dx9_26 and d3dx9_36
- d3dx9_26 imports from d3dx9_36 (def redirection)

svn path=/branches/cmake-bringup/; revision=49869
2010-11-29 19:31:43 +00:00
Amine Khaldi
0522c531df [CMAKE]
- Add the stubs file as an output file.

svn path=/branches/cmake-bringup/; revision=49866
2010-11-29 18:36:22 +00:00
Amine Khaldi
2a6108be5a [CMAKE]
- Add auto stubs support to the msvc based toolchains.

svn path=/branches/cmake-bringup/; revision=49865
2010-11-29 18:35:43 +00:00
Amine Khaldi
0f1a6952bb [CMAKE]
- Add auto stubs support to the gcc based toolchains.

svn path=/branches/cmake-bringup/; revision=49864
2010-11-29 18:33:07 +00:00
Timo Kreuzer
6c24157fa1 add stubs.h
svn path=/branches/cmake-bringup/; revision=49863
2010-11-29 18:07:36 +00:00
Timo Kreuzer
89a3a5f960 [SPEC2DEF]
- add support for stubs generation
- add support for "proper" stubs, with calling convention and parameter dump
- handle -private
- change invokation a bit
[CMAKE]
- remove the old VARIANT hack

svn path=/branches/cmake-bringup/; revision=49862
2010-11-29 17:53:20 +00:00
James Tabor
081b22869e [User32]
- Fixed export for PrintWindow see bug 5466 and 5609.

svn path=/trunk/; revision=49861
2010-11-29 16:48:27 +00:00
Timo Kreuzer
dbf57f9949 [DXSDK]
Don't use stdole32.tlb.
Seems that this is the problem that made midl fail. Maybe not. Yesterday it was all about VARIANT, which has no effect today. Let's see what tomorrow will bring :-?

svn path=/branches/cmake-bringup/; revision=49860
2010-11-29 14:43:30 +00:00
Timo Kreuzer
434632f5ca [WINE]
Add msvchelper.h, a file that helps wine dx stuff to comple on msvc.

svn path=/branches/cmake-bringup/; revision=49859
2010-11-29 09:29:20 +00:00
Pierre Schweitzer
6a6c5e47e6 [NTOSKRNL/NEWCC]
Init Dummy var even if just used for debug to suppress warning

svn path=/trunk/; revision=49858
2010-11-28 22:33:19 +00:00
Timo Kreuzer
1a27a9ff85 [CMAKE]
remove /GR from c++ options, it's on by default and we get a warning when additionally specifiying /GR-

svn path=/branches/cmake-bringup/; revision=49857
2010-11-28 21:49:54 +00:00
Timo Kreuzer
5c2f95e5a4 [CMAKE]
Make rpcproxy macro portable

svn path=/branches/cmake-bringup/; revision=49856
2010-11-28 20:16:40 +00:00
Timo Kreuzer
6ea3626acc [CMAKE]
Get rid of the stubs file for quartz, it was a mistake.

svn path=/branches/cmake-bringup/; revision=49855
2010-11-28 20:12:05 +00:00
Timo Kreuzer
e2d8cf2570 [CMAKE]
Don't compile CRT_fp8.c, CRT_fp10.c and xtxtmode.c. we don't need those and MSVC complains about duplicate symbols, as it's exported from msvcrt already.

svn path=/branches/cmake-bringup/; revision=49854
2010-11-28 19:28:03 +00:00
Timo Kreuzer
498b0098dd [UUID]
Add IID_IStream and IID_IEnumDMO for MSVC

svn path=/branches/cmake-bringup/; revision=49853
2010-11-28 19:05:03 +00:00
Timo Kreuzer
0dbbf13b57 [DXSDK]
Put coclass MediaDet into the library DexterLib

svn path=/branches/cmake-bringup/; revision=49852
2010-11-28 16:53:47 +00:00
Pierre Schweitzer
e8615c4221 [DDK]
FsRtlRemoveBaseMcbEntry() return is VOID

svn path=/trunk/; revision=49851
2010-11-28 16:43:40 +00:00
Amine Khaldi
14dc931ab1 [NTOSKRNL/MM]
- Fix the use of an uninitialized variable.

svn path=/trunk/; revision=49850
2010-11-28 16:38:51 +00:00
Timo Kreuzer
69c7a5d30c [WINE]
Add a dummy DECL_GLOBAL_CONSTRUCTOR for MSVC

svn path=/branches/cmake-bringup/; revision=49849
2010-11-28 16:37:46 +00:00
Pierre Schweitzer
b0fb94b1f3 [NTOSKRNL]
Never read code & commit while being tired...

svn path=/trunk/; revision=49848
2010-11-28 16:33:56 +00:00
Timo Kreuzer
5782837e7e [CMAKE]
Reapply the midl hack. Someone wants to trick me or something. I could swear it just worked one minute ago.

svn path=/branches/cmake-bringup/; revision=49847
2010-11-28 16:22:38 +00:00
Timo Kreuzer
7cef73429a [CMAKE]
Fix dependencies for importlib targets

svn path=/branches/cmake-bringup/; revision=49846
2010-11-28 16:12:25 +00:00
Timo Kreuzer
4592c1140e [CMAKE]
- Remove the dxsdk hack. It works now without. Why? I don't know. Why didn't it work before? I have no idea. Maybe the newlines. Anyway it works. If someone breaks it, I'll ki^Z^Z revert it ;-)

svn path=/branches/cmake-bringup/; revision=49845
2010-11-28 15:52:00 +00:00
Timo Kreuzer
4f075e995e [DXSDK]
- Reenable dxsdk for MSVC
[PSDK/DXSDK]
- add a newlines at the end of several files.

svn path=/branches/cmake-bringup/; revision=49844
2010-11-28 15:47:13 +00:00
Timo Kreuzer
0ee737e354 [CMAKE]
Add a hack for midl. Don't ask me why, but renaming IEnumVARIANT to something different globally fixes the compilation of dxsdk. someone with more idl knowledge should check that.

svn path=/branches/cmake-bringup/; revision=49843
2010-11-28 15:40:47 +00:00
Timo Kreuzer
f4d65e62c9 [CMAKE]
Remove the old global strict_context_handle hack

svn path=/branches/cmake-bringup/; revision=49842
2010-11-28 12:58:10 +00:00
Timo Kreuzer
fd2a3657cb [PSDK]
Add a hack for midl.

svn path=/branches/cmake-bringup/; revision=49841
2010-11-28 12:40:33 +00:00
Aleksey Bragin
5afe6c4f39 [ATL]
- Ettl Martin: Make CComCriticalSection destructor virtual.
See issue #4975 for more details.

svn path=/trunk/; revision=49840
2010-11-28 12:10:59 +00:00
Timo Kreuzer
b46aa66305 [CMAKE]
add a number of importlin targets and convert to spec

svn path=/branches/cmake-bringup/; revision=49839
2010-11-28 10:19:28 +00:00
Timo Kreuzer
a916747152 [CRT]
Implement thiscall wrapper for MSVC

svn path=/branches/cmake-bringup/; revision=49838
2010-11-28 10:14:51 +00:00
Timo Kreuzer
b8702f60f7 [UUID]
Add a number of GUIDs. They are duplicated from idl generated headers, because of a small difference between widl and midl. widl generates "DEFINE_GUID" entries for each interface, while midl generates "extern GUID" only. The latter matching MS SDK headers. If someone can think of a more elegant way of solving this, let me know.

svn path=/branches/cmake-bringup/; revision=49837
2010-11-28 10:12:35 +00:00
Timo Kreuzer
205fe71c5d [CRT]
Fix another typo

svn path=/trunk/; revision=49836
2010-11-28 09:53:22 +00:00
Timo Kreuzer
719c9e9811 [PSDK]
Add some GUIDs for MSVC.

svn path=/branches/cmake-bringup/; revision=49835
2010-11-28 09:28:28 +00:00
James Tabor
52a1227b43 [User32]
- Sync up with wine 1.2 rc6 menu so it will pass the tests from rev 47939.

svn path=/trunk/; revision=49834
2010-11-28 01:37:16 +00:00
Timo Kreuzer
f5cd0290d4 [CMAKE]
- Link libxslt to ntdll for MSVC
- Don't compile some directx stuff with MSVC atm
- Add importlib target for dinput
- add importlib target for wined3d and use autogenerated def
- Improve quartz

svn path=/branches/cmake-bringup/; revision=49833
2010-11-28 01:24:36 +00:00
Timo Kreuzer
da553e4658 [REACTOS]
Fix Italian resource file syntax

svn path=/branches/cmake-bringup/; revision=49832
2010-11-28 01:01:36 +00:00
Timo Kreuzer
c79199adc1 [CMAKE]
Make rapps a win32gui app and link to msvcrt

svn path=/branches/cmake-bringup/; revision=49831
2010-11-28 00:47:58 +00:00
Timo Kreuzer
af040adf50 [CRT]
Fix typos

svn path=/trunk/; revision=49830
2010-11-28 00:10:02 +00:00
Timo Kreuzer
a97affe62a [CMAKE]
Fix build of msvcsup (add missing file)

svn path=/branches/cmake-bringup/; revision=49829
2010-11-27 23:47:10 +00:00
Timo Kreuzer
adfc8941cc [CMAKE]
ML wants /nologo, not /NOLOGO

svn path=/branches/cmake-bringup/; revision=49828
2010-11-27 23:41:23 +00:00
Timo Kreuzer
250e056ece revert r49824
svn path=/trunk/; revision=49827
2010-11-27 22:24:15 +00:00
Timo Kreuzer
1d70b8136a [ASM]
Merge asm related changes from cmake branch.

svn path=/trunk/; revision=49826
2010-11-27 22:12:15 +00:00
Aleksey Bragin
9ce5939959 [MPRAPI]
- Sync to Wine-1.3.8
See issue #5718 for more details.

svn path=/trunk/; revision=49825
2010-11-27 21:38:11 +00:00
Timo Kreuzer
ff164c8fa4 [XML]
Silence a warning on MSVC

svn path=/trunk/; revision=49824
2010-11-27 19:02:37 +00:00
Timo Kreuzer
7b5ea6afe3 [CMAKE]
Add an incomplete cmake file for msi

svn path=/branches/cmake-bringup/; revision=49823
2010-11-27 18:30:39 +00:00
Timo Kreuzer
a4ef3baa57 [MSVCRT]
- Fix forwarded export of GetLocaleInfoW
- Rename _inp & co to MSVCRT__inp, because they are only available as intrinsics on MSVC
- Implement them using the intrinsic

svn path=/branches/cmake-bringup/; revision=49822
2010-11-27 15:50:53 +00:00
Amine Khaldi
86c023e2c7 [CMAKE]
- Add missing asm dependency.

svn path=/branches/cmake-bringup/; revision=49821
2010-11-27 15:31:33 +00:00
Amine Khaldi
2b43789ca0 [CMAKE]
- Fix xinput9_1_0

svn path=/branches/cmake-bringup/; revision=49819
2010-11-27 13:05:52 +00:00
Amine Khaldi
0893cf2ba7 [CMAKE]
- Fix xinput1_2

svn path=/branches/cmake-bringup/; revision=49818
2010-11-27 12:55:14 +00:00
Amine Khaldi
5a6f3448b7 [CMAKE]
- Improve kernel32.

svn path=/branches/cmake-bringup/; revision=49817
2010-11-27 12:49:37 +00:00
Sylvain Petreolle
20eb327863 [CMAKE]
Add msvcrt dependencies.

svn path=/branches/cmake-bringup/; revision=49816
2010-11-27 12:46:17 +00:00
Amine Khaldi
91afe86220 [CMAKE]
- Fix msvcrt.

svn path=/branches/cmake-bringup/; revision=49815
2010-11-27 12:41:23 +00:00
Timo Kreuzer
cb23bbe38a [INTRIN]
Implement _inp, _inpd, _inpw, _outp, _outpd, _outpw as intrinsics, like on MSVC

svn path=/branches/cmake-bringup/; revision=49814
2010-11-27 12:36:14 +00:00
Amine Khaldi
16fed19fbd [CMAKE]
- Add ccache support.

svn path=/branches/cmake-bringup/; revision=49813
2010-11-27 11:27:09 +00:00
Amine Khaldi
4103cf5929 [CMAKE]
- Comment out what seems to be a missing file.

svn path=/branches/cmake-bringup/; revision=49812
2010-11-27 10:48:44 +00:00
Amine Khaldi
eb8df6a835 [CMAKE]
- Fix more modules.

svn path=/branches/cmake-bringup/; revision=49811
2010-11-27 09:00:22 +00:00
Amine Khaldi
4e1f5725ff - Fix more dlls.
svn path=/branches/cmake-bringup/; revision=49810
2010-11-27 01:16:42 +00:00
Amine Khaldi
099f7ed3c4 - Remove some unneeded pdef files.
- Fix some modules now that they use proper startup code.

svn path=/branches/cmake-bringup/; revision=49809
2010-11-27 00:36:28 +00:00
Timo Kreuzer
9de09f2c2d [NDK]
Fix syntax for MSVC

svn path=/branches/cmake-bringup/; revision=49808
2010-11-27 00:10:47 +00:00
Timo Kreuzer
8040e998be [CMAKE]
add a bunch more importlib targets

svn path=/branches/cmake-bringup/; revision=49807
2010-11-27 00:02:36 +00:00
Amine Khaldi
4a8860b952 - Correct the entry point for win32dll, win32ocx and cpl module types.
- Fix acledit.

svn path=/branches/cmake-bringup/; revision=49806
2010-11-26 23:57:03 +00:00
Timo Kreuzer
efa7393534 [CMAKE]
- implicitly link to msvcsup
- set proper entrypoints
- add linkerflags /DLL and /DRIVER

svn path=/branches/cmake-bringup/; revision=49805
2010-11-26 23:48:07 +00:00
Timo Kreuzer
dc89f45599 [CMAKE]
Add msvcsup static library for MSVC. This might be superseded by something else later.

svn path=/branches/cmake-bringup/; revision=49804
2010-11-26 23:45:30 +00:00
Sylvain Petreolle
f1283c58c6 [CMAKE]
Sync with trunk. (r49792)

svn path=/branches/cmake-bringup/; revision=49803
2010-11-26 23:33:34 +00:00
Sylvain Petreolle
cca965e6bc [CMAKE]
Add missing asm dependency.

svn path=/branches/cmake-bringup/; revision=49801
2010-11-26 23:05:46 +00:00
Timo Kreuzer
0ff3955b9b [MINGW]
Merge .CRT section into .rdata when linking to mingw lib. This silences the warnings about uninitialized constructors.

svn path=/branches/cmake-bringup/; revision=49799
2010-11-26 22:52:46 +00:00
Timo Kreuzer
c2adbec142 [MINGW]
Fix .CRT section attributes to avoid linker warning, when merging with .rdata

svn path=/branches/cmake-bringup/; revision=49798
2010-11-26 22:51:06 +00:00
Timo Kreuzer
64e9a6a0a6 [CMAKE]
add importlib target for csrsrv

svn path=/branches/cmake-bringup/; revision=49797
2010-11-26 00:20:29 +00:00
Timo Kreuzer
0fc3ec9dea [CMAKE]
No mesa32 for MSVC for now. It has lots of assembly that would need to be ported. It also talkes ages to compile.


svn path=/branches/cmake-bringup/; revision=49796
2010-11-26 00:01:20 +00:00
Timo Kreuzer
cfba60d19d [LIBXML2]
add a hack around the hack

svn path=/branches/cmake-bringup/; revision=49795
2010-11-25 23:16:12 +00:00
Timo Kreuzer
5a54b0b454 [CRT]
simplify and fix definition of setjmp

svn path=/branches/cmake-bringup/; revision=49794
2010-11-25 22:35:57 +00:00
Timo Kreuzer
93f5d28abf [CMAKE]
Link libjpg explicitly to kernel32 and link to mingw_common on MSVC builds

svn path=/branches/cmake-bringup/; revision=49793
2010-11-25 22:14:07 +00:00
Aleksey Bragin
cc202fdc31 [FREELDR]
- Conditionally enable heap-related debugging and validation checks by an MM_DBG define for all architectures. Inspired by 49744.

svn path=/trunk/; revision=49792
2010-11-25 22:03:56 +00:00
Timo Kreuzer
a68d9fb74f [CMAKE]
Convert win32k to spec and add importlib target

svn path=/branches/cmake-bringup/; revision=49791
2010-11-24 23:38:19 +00:00
Pierre Schweitzer
fb04d4fd23 [NTOSKRNL]
Fix the fix, ie fix x86.
Everything should work now ~

svn path=/trunk/; revision=49790
2010-11-24 22:51:03 +00:00
Sylvain Petreolle
cea642beb3 [FREELDR]
poor little printf causes boot break, nuff said.

svn path=/trunk/; revision=49789
2010-11-24 20:55:15 +00:00
Timo Kreuzer
c5244531f2 [WORDPAD]
Fix rc syntax (multiline strings with \ at the end). This is to compile with MS reasource compiler, we can hope wine will adopt this, because latest versions of gcc's preprocessor also don't support this anymore.

svn path=/branches/cmake-bringup/; revision=49788
2010-11-24 20:19:55 +00:00
Timo Kreuzer
c41cbd1d26 [NTOS]
Add some missing intrinsics for MSVC

svn path=/branches/cmake-bringup/; revision=49787
2010-11-24 20:03:01 +00:00
Sir Richard
5f47e1ddd0 [NTOS]: Seems like cpsr_c doesn't work in this case? Need to investigate. Put an infinite loop in the entrypoint on ARM.
svn path=/trunk/; revision=49786
2010-11-24 18:56:35 +00:00
Sir Richard
a5dbee0b8f [NTOS]: STATUS_SUCCESS is not the only succesful return code.
svn path=/trunk/; revision=49785
2010-11-24 18:53:47 +00:00
Timo Kreuzer
acc442de12 [CMAKE]
Add importlib targets for glu32, opengl32, rpcrt4

svn path=/branches/cmake-bringup/; revision=49784
2010-11-24 18:53:07 +00:00
Timo Kreuzer
ec2d741f31 [SERVICES]
Fix a typo (|| instead of |). Found by clang.

svn path=/trunk/; revision=49783
2010-11-24 18:30:12 +00:00
Sir Richard
889287242f [NTOS]: Fix 16-bit interlocked operations on ARM (GCC doesn't provide built-ins). ARM should build now.
svn path=/trunk/; revision=49782
2010-11-24 18:19:42 +00:00
Sir Richard
ae6d759f4c [NTOS]: Some more ARM build and linker fixes, moving some of the new x86 C code into ARM. This should really be shared later.
[NTOS]: Totally broke thread context switching on ARM for now. It's a Good Thing.

svn path=/trunk/; revision=49781
2010-11-24 17:49:52 +00:00
Sir Richard
a19af9c7cb [NDK]: Fix definition of ARM PTE/PDE structure.
[NTOS]: Fix up ARM code to match recent ARM3 changes.
[NTOS]: Do not use initguid inside every single file to zillionplicate the GUIDs! Why doesn't the x86 linker catch this?!!?
[ARMDDK]: Define some spinlock functions.

svn path=/trunk/; revision=49780
2010-11-24 17:26:30 +00:00
Pierre Schweitzer
85adb4ff80 [NTOSKRNL]
That's not because ARM will rule the world on a day that you're obliged to break x86 build.
Fixed build. Will it work? Only God knows.

svn path=/trunk/; revision=49779
2010-11-24 17:24:54 +00:00
Sir Richard
1a6196d960 [NTOS]: Add MiGetPteOffset for ARM. All of the kernel compiles, but does not link yet.
svn path=/trunk/; revision=49778
2010-11-24 16:09:19 +00:00
Sir Richard
d3036c6ebf [CONFIG]: Instead of having 4 template rbuild configuration files that must be kept in-sync, maybe there should be a generic one that they all inherit from?
[CONFIG]: Add new property settings that exist in x86, but not ARM because nobody added them there. For example, nor cc, nor cache were being built on ARM, because NEWCC was undefined (which isn't treated as 0 by rbuild).
How I long for CMAKE.

svn path=/trunk/; revision=49777
2010-11-24 16:08:54 +00:00
Timo Kreuzer
d921c532f1 [TASKMGR]
- add #pragma code_page(1252) at the end of some resource files to help msvc's resource compiler
- "Untranslate" a few Japanese strings, as they contain illegal characters. Someone speaking Japanese should retranslate them using proper escape sequences where neccessary.
- Don't include headers twice

svn path=/branches/cmake-bringup/; revision=49776
2010-11-24 15:59:23 +00:00
Sir Richard
0a30393880 [ARMDDK]: Oh, right, forgot how this was laid out. should fix ARM build.
svn path=/trunk/; revision=49775
2010-11-24 15:41:28 +00:00
Sir Richard
2a91ad3419 [NTOS]: Fix incorrect assumptions that a PDE == PTE which have crept up throughout new ARM3 code.
[NTOS]: Fix a couple more unportable directly "Hard" PTE field accesses, instead of using portable MI macros.
[NTOS]: Cleanup some of the pool code that had really messed up PDE vs PTE.
[NTOS]: Define the number of page directoty levels for ARM.
[NTOS]: Comment out some ARM3 code that won't be needed now that most of the x86 code is in C.
Fixes all but one build error.

svn path=/trunk/; revision=49774
2010-11-24 15:21:45 +00:00
Sir Richard
bb8885c1d7 [PSDK/NDK]: Fix KPCR/KIPCR for ARM to match x86 more closely. Add KeGetTickCount for ARM.
svn path=/trunk/; revision=49773
2010-11-24 15:18:24 +00:00
Giannis Adamopoulos
8379e12418 [win32k]
-move several user stubs in ntstubs.c

svn path=/trunk/; revision=49772
2010-11-24 14:52:23 +00:00
Sir Richard
b145be7aef [NTOS]: Errr... wow! Another one caught by ARM GCC. I can swear x86 GCC used to catch these. Did someone change warning settings? Anyhow, fix a *f++ which increments the pointer, not the value INSIDE the pointer (*f)++. Fixes MiDeleteSystemPageableVm.
svn path=/trunk/; revision=49771
2010-11-24 14:47:08 +00:00
Sir Richard
bae9b1d587 [NTOS]: Erm, why is it that the ARM compiler detects this obvious bug, but x86 does not? Fix missing ShareCount zeroing when unlocking an MDL.
svn path=/trunk/; revision=49770
2010-11-24 14:39:23 +00:00
Giannis Adamopoulos
4ef8ef5ae9 [win32k]
- Remove some unused functions

svn path=/trunk/; revision=49769
2010-11-24 14:13:12 +00:00
Sir Richard
aa3c437ea1 [ARMLLB]: Delete deprecated folder
[ARMLLB]: Add missing UART functionality for ZOOM2. Leverages existing CPORT library.

svn path=/trunk/; revision=49768
2010-11-24 14:07:56 +00:00
Timo Kreuzer
4d2bf9c918 [KERNEL32]
Revert r49761 on Pierre's request

svn path=/trunk/; revision=49767
2010-11-24 12:35:51 +00:00
Daniel Reimer
44af886a1c Updates for Rapps Download Database.
svn path=/trunk/; revision=49766
2010-11-24 08:56:20 +00:00
Timo Kreuzer
8a51e80841 [CMAKE]
Add a number of importlib targets

svn path=/branches/cmake-bringup/; revision=49765
2010-11-24 08:55:07 +00:00
Timo Kreuzer
4ea9e2650f [XCOPY]
Fix Swedish resource file syntax

svn path=/branches/cmake-bringup/; revision=49764
2010-11-24 08:51:44 +00:00
Timo Kreuzer
49fae5916f [PSDK]
Fix compilation of ctfutb.idl with widl

svn path=/branches/cmake-bringup/; revision=49763
2010-11-24 08:48:34 +00:00
Timo Kreuzer
53eb6ed31f [PSDK]
- Add a workaround to dispex.idl to prevent sal annotations to be generated. A better solution would be to have definitions in pur headers, but they conflict with external c++ headers.
- Add a number of missing interfaces
- Fix MIDL compilation of mlang, by adding adding a library definition

svn path=/branches/cmake-bringup/; revision=49762
2010-11-24 00:27:08 +00:00
Pierre Schweitzer
531a052d9e [KERNEL32]
- Added real implementation of SetLastError() (instead of forwarding to NTDLL)
- Implemented BaseSetLastNTError()
- Renamed Basep8BitStringToCachedUnicodeString() to Basep8BitStringToStaticUnicodeString() and sightly changed its implementation
- Fixed implementation of LoadLibraryExA() & DisableThreadLibraryCalls() using those changes
This is matching w2k3 implementation. This is of course a WIP.

svn path=/trunk/; revision=49761
2010-11-23 23:39:58 +00:00
Pierre Schweitzer
92967f5f41 [NTOSKRNL]
Forgotten comments...

svn path=/trunk/; revision=49759
2010-11-23 20:05:33 +00:00
Pierre Schweitzer
1ab061dba1 [NTOSKRNL]
- Implemented FsRtlPTeardownPerFileObjectContexts(), FsRtlLookupPerFileObjectContext(), FsRtlInsertPerFileObjectContext(), FsRtlRemovePerFileObjectContext()
- Stubplemented IoGetFileObjectFilterContext(), IoChangeFileObjectFilterContext()
- Add support of per file object filter context to IopDeleteFile()
As ReactOS doesn't support file objects extensions, this doesn't work (blame Aleksey) - yet

svn path=/trunk/; revision=49758
2010-11-23 20:01:04 +00:00
Sir Richard
c70bf13d93 [FREELDR]: Fix RAM layout assumptions in ARM code.
svn path=/trunk/; revision=49757
2010-11-23 17:54:11 +00:00
Sir Richard
e79eaea9b3 [FREELDR]: For *every single heap allocation*, there was code to request an entire *heap statistic run*! This is ridiculous and slows heap allocations tremendously. Additionally, it also assumes bstats was linked in, which it might not be if the flag wasn't set in bheap.c. Only enable this code if a special MM_DBG define is set.
[FREELDR]: Done originally for ARM, but I think x86 will appreciate the benefit too (and x86 can now go ahead and disable all those ridiculous debug settings that are turned on by default in bheap.c).

svn path=/trunk/; revision=49756
2010-11-23 17:29:40 +00:00
Sir Richard
7ca4b3879b [FREELDR]: Cleanup firmware table setup and add support for being booted from a ZOOM2 ARMLLB, and set the correct file system buffer address for that board.
svn path=/trunk/; revision=49755
2010-11-23 17:27:22 +00:00
Sir Richard
15696106fe [FREELDR]: Use PaToVa to set the Hive and NLS data pointers, instead of assuming that KSEG0_BASE | Pa is the correct answer for all architectures.
svn path=/trunk/; revision=49754
2010-11-23 17:26:31 +00:00
Sir Richard
3cba3193a4 [FREELDR]: Headless/EMS support is an x86-specific feature (at least for now, until the code is made portable).
svn path=/trunk/; revision=49753
2010-11-23 17:25:37 +00:00
Sir Richard
ba4d24ea04 [FREELDR]: VaToPa/PaToVa are assuming all architectures have VA at PA | KSEG0_BASE. This is not the case. On ZOOM2, DDR RAM starts at 0x80000000 for example, so KSEG0 == VA == PA. Use an ifdef do handle this.
svn path=/trunk/; revision=49752
2010-11-23 17:24:59 +00:00
Sir Richard
77b3701cfd [FREELDR]: Define FreeLoader module for ARM. Differences with x86 are mostly due to the fact "bootloader" was unfortunately made an x86-specific module type, so we have to use "kernel" to get around that, which thankfully has remained portable.
svn path=/trunk/; revision=49751
2010-11-23 17:23:47 +00:00
Sir Richard
883b9b56b8 [FREELDR]: Put ARM boot code in .init section to guarantee it goes first in the file, as per the linker script.
svn path=/trunk/; revision=49750
2010-11-23 17:22:33 +00:00
Sir Richard
74e7e1825e [FREELDR]: Add more keycodes.
svn path=/trunk/; revision=49749
2010-11-23 17:21:52 +00:00
Sir Richard
28169472e5 [FREELDR]: Add linker script for ARM as well. We drop the relocation section as it shouldn't be needed.
svn path=/trunk/; revision=49748
2010-11-23 17:21:30 +00:00
Sir Richard
7b5b2fa5d2 [NTOS]: Don't put boot.s in "arch" anymore, it's part of "boot" now.
svn path=/trunk/; revision=49747
2010-11-23 17:20:20 +00:00
Sir Richard
14e2c790ab [FREELDR]: Set load address for ZOOM2, and differentiate Beagle vs ZOOM2.
svn path=/trunk/; revision=49746
2010-11-23 17:19:52 +00:00
Sir Richard
262a3a7945 [FREELDR]: Add startup file for ARM builds as well, so that _start can be the first function in the file.
svn path=/trunk/; revision=49745
2010-11-23 17:19:22 +00:00
Sir Richard
492d30fecb [FREELDR]: On ARM, don't turn on maximum, hyper, ultra-slow debugging and analysis features for the heap. This, for example, reduces FreeLoader's size by 32KB+ and speeds up boot by entire seconds, as the entire heap isn't zeroed out on startup.
[FREELDR]: May I humbly suggest you do the same on x86?!

svn path=/trunk/; revision=49744
2010-11-23 17:17:32 +00:00
Sir Richard
b363fcdc3b [ARMLLB]: Split up support between OMAP3 Beagle and ZOOM2.
[ARMLLB]: Implement ZOOM2 ARMLLB board support package. TWL4030 read/write implemented (through basic I2C on the HS interface), RTC and Keypad Matrix implemented (through TWL4030), NEC WVGA Panel Initialization (through basic SPI interface on the MBPSI), basic clock setup and GPIO access for DSS/DISPC, setup DSS/DISPC for output on the NEC panel. UART implemented through Quad-UART NS16550 compatible chip (using CPORTlib).
[ARMLLB]: Requires having been booted through x-loader+uboot as a kernel image. Will work on directly booting from NAND later.

svn path=/trunk/; revision=49743
2010-11-23 17:14:41 +00:00
Sir Richard
0b05db72cf [ARMLLB]: Although the soothing BSOD blue color is nice for LLB debugging, we'd really prefer to have black so it looks more natural on the eyes when booting to FreeLoader. As such, make the default backcolor black, but keep the old blue color for early testing, if enabled with a define.
svn path=/trunk/; revision=49742
2010-11-23 16:50:35 +00:00
Sir Richard
00c2cfbe36 [ARMLLB]: We made certain assumptions in the "generic" files that are actually board-specific. For example, Versatile does indeed return a strange ULONG as the RTC time (seconds since 1970, I think), but TWL4030 on the ZOOM2 is normal and returns BCD RTC values just like the PC CMOS. Therefore, most of the "Generic" time.c code should move to versatile later. For now, use an IFDEF.
[ARMLLB]: Likewise, not all platforms have a PS/2 controller like the Versatile. ZOOM2 for example has a keypad, so the generic "input" file shouldn't assume keyboard-only. As such, most of the code there should also be made specific, but for now, use an ifdef.

svn path=/trunk/; revision=49741
2010-11-23 16:49:28 +00:00
Sir Richard
cc0c432e7b [ARMLLB]: Include FreeLoader's keycode mappings (which don't seem standard) in ARMLLB, so we can do correct keypad to keycode translation.
[ARMLLB]: Include ReactOS's standard debug.h, which lets us un-redefine DbgPrint, and also gives us goodies like ASSERT and DPRINT1.

svn path=/trunk/; revision=49740
2010-11-23 16:46:30 +00:00
Sir Richard
b64b944ab1 [ARMLLB]: Forgot to commit this earlier: define the ATAG_REVISION header.
svn path=/trunk/; revision=49739
2010-11-23 16:45:34 +00:00
Sir Richard
57571947e3 [ARMLLB]: Add the MACHINE_TYPE code for the ZOOM2, based on the standard machtype definitions maintained by the various boot loader communities.
svn path=/trunk/; revision=49738
2010-11-23 16:44:59 +00:00
Sir Richard
2a7167e9ce [ARMLLB]: Initialize hardware before parsing environment variables. This makes more sense, and also allows debug output from the environment scanning code.
svn path=/trunk/; revision=49737
2010-11-23 16:44:19 +00:00
Sir Richard
ba9136a9ff [ARMLLB]: Add uImage header which uBoot expects on the images it can load nicely (using "go" will not give us ATAGs, "bootm" requires this header). It's a static header instead of requiring the mkImage tool, since we can disable data checksums in uBoot. We basically fake being a Linux kernel and the LLB handles the ATAGs.
[ARMLLB]: Add boot stack for Zoom2.

svn path=/trunk/; revision=49736
2010-11-23 16:43:32 +00:00
Sir Richard
b9c9c55b77 [ARMLLB]: Add support for ATAG_REVISION.
[ARMLLB]: Fix support of ATAG_MEM: there can be multiple tags, one per DRAM bank.
[ARMLLB]: Fix the default case not to "return": it should "Break" instead.
[ARMLLB]: Only apply the RAMDisk hack on Beagle for now.

svn path=/trunk/; revision=49735
2010-11-23 16:42:00 +00:00
Sir Richard
589fe32c63 [ARMLLB]: Make DbgPrint compatible so we can use debug.h.
svn path=/trunk/; revision=49734
2010-11-23 16:40:10 +00:00
Sir Richard
befced9244 [HAL]: Make directory/buildfiles for OMAP3-specific HAL. Shared between ZOOM2 and Beagle for now.
svn path=/trunk/; revision=49733
2010-11-23 16:39:14 +00:00
Sir Richard
1b065e7bab [CRT]: _assert should use DbgRaiseAssertionFailure which is (a) correct and (b) portable, instead of __debugbreak.
svn path=/trunk/; revision=49732
2010-11-23 16:36:54 +00:00
Sir Richard
af32d444fa [PSDK]: Add missing DbgRaiseAssertionFailure inline to winnt.h header.
svn path=/trunk/; revision=49731
2010-11-23 16:36:24 +00:00
Sir Richard
a17fe7e176 [WINE]: Fix non-x86 versions of Wine's push/pop exception frame macro.
svn path=/trunk/; revision=49730
2010-11-23 16:35:48 +00:00
Sir Richard
af01d7d129 [CRT]: Define JBLEN and JBTYPE for ARM, based on the Windows ARM CRT source code (public).
svn path=/trunk/; revision=49729
2010-11-23 16:35:13 +00:00
Sir Richard
26d84c43e2 [NTOS]: Define portable MI_MAKE_ACCESSED_PAGE macro.
[NTOS]: Fix MiDetermineUserGlobalPteMask to account ARM, where the PDE and PTE formats are different.
[NTOS]: Fix MiDetermineUserGlobalPteMask to use portable PTE macros instead of hard-coding x86-only fields.

svn path=/trunk/; revision=49728
2010-11-23 16:34:30 +00:00
Sir Richard
a93c65e3fe [ARM]: The text section is called ".text", not "text". This caused any ARM assembly to create a new section in the PE and waste 4KB.
svn path=/trunk/; revision=49727
2010-11-23 16:33:29 +00:00
Sir Richard
9dfdc0c94c [NTOS]: Bugfixes for the I/O Controller Object.
svn path=/trunk/; revision=49726
2010-11-23 16:32:56 +00:00
Sir Richard
49914debb9 [ARM]: Our new target is the ZOOM2 OMAP3, instead of Beagle (but we'll keep testing both).
svn path=/trunk/; revision=49725
2010-11-23 16:32:18 +00:00
Sylvain Petreolle
90b23eee60 [PSDK]
Comment out specstrings.h inclusion in windef.h as per Timo's request.
Fixes build.

svn path=/trunk/; revision=49724
2010-11-23 16:08:39 +00:00
Timo Kreuzer
eb64df8ebd [PSDK]
Don't define __in and __null on c++ build. as long as we keep using host headers, this won't work

svn path=/trunk/; revision=49723
2010-11-23 11:47:50 +00:00
Timo Kreuzer
afe4af1acf [PSDK]
Partly sync windef.h with mingw-w64 and add specstrings.h
reverts the previous revert, fixed definition of NULL to __null in stddef.h

svn path=/trunk/; revision=49722
2010-11-23 11:30:17 +00:00
Timo Kreuzer
2ce6020471 revert r49718
svn path=/trunk/; revision=49720
2010-11-23 01:20:05 +00:00
James Tabor
e690f5af92 [Win32k]
- Restore capturing the hit test in the desktop structure. Move journal record hook before sending the mouse hook.

svn path=/trunk/; revision=49719
2010-11-23 01:16:58 +00:00
Timo Kreuzer
b9ced2b73b [PSDK]
Partly sync windef.h with mingw-w64 and add specstrings.h

svn path=/trunk/; revision=49718
2010-11-23 00:06:01 +00:00
Pierre Schweitzer
4aa271271e [NTOSKRNL]
Add missing prototype and define

svn path=/trunk/; revision=49717
2010-11-22 23:51:00 +00:00
Pierre Schweitzer
c06fd57e9c [NTOSKRNL]
- Implemented FsRtlLookupPerStreamContextInternal(), FsRtlInsertPerStreamContext(), FsRtlRemovePerStreamContext(), FsRtlTeardownPerStreamContexts()
Based on my previous work on pierre-fsd branch.

svn path=/trunk/; revision=49716
2010-11-22 23:30:01 +00:00
Timo Kreuzer
e08f002f40 [WIN32K]
Apply workaround for POINT / POINTL, like for the others

svn path=/trunk/; revision=49715
2010-11-22 23:20:50 +00:00
Timo Kreuzer
332a782a37 [GDI32]
Don't make the wrong assumption that POINT and POINTL are identical.

svn path=/trunk/; revision=49714
2010-11-22 23:18:59 +00:00
Eric Kohl
d828ba929b [NPFS]
Add an FCB that represents the file system (volume/device) and support absolute and relative open, cleanup and close.

svn path=/trunk/; revision=49713
2010-11-22 23:08:11 +00:00
Pierre Schweitzer
e69e3b27ee [NTOSKRNL]
- Renamed MmIsFileAPagingFile() to MmIsFileObjectAPagingFile() its appropriated name
- Added it to internal headers
- Implemented FsRtlIsPagingFile()

svn path=/trunk/; revision=49712
2010-11-22 22:18:02 +00:00
Pierre Schweitzer
4f335ab6b0 [NTOSKRNL]
- Add missing PAGED_CODE() where needed
- Removed a wrong ASSERT in FsRtlIsNameInExpressionPrivate() and replace it by the right one
- Mark FsRtlIsDbcsInExpression() as halfplemented

svn path=/trunk/; revision=49711
2010-11-22 21:38:23 +00:00
Giannis Adamopoulos
9b693d8c69 [win32k]
- Fix one of the greatest hacks in message handling: do not wake up every message queue when there is mouse or keyboard input ( wake only the thread that must take input)
- rewrite co_WinPosWindowFromPoint, co_MsqInsertMouseMessage and co_MsqPeekHardwareMessage
- port co_IntProcessMouseMessage and MsqSendParentNotify from wine 
- call co_IntProcessHardwareMessage from co_MsqPeekHardwareMessage, and not from co_IntPeekMessage
- move co_IntProcessHardwareMessage, co_IntProcessKeyboardMessage and co_IntProcessMouseMessage to msgqueue.c

svn path=/trunk/; revision=49710
2010-11-22 20:10:56 +00:00
Timo Kreuzer
e71cf78478 [CMAKE]
Use spec file for ntoskrnl and set image base to 0x00400000 on MSVC builds. This is the value that Windows has and the ms linker doesn't like to use the kernel address.

svn path=/branches/cmake-bringup/; revision=49709
2010-11-22 14:11:16 +00:00
Timo Kreuzer
d208da9a5b [NTOSKRNL]
Don't include initguid.h in a global header. It causes the guids to be generated in every object file, using 16 bytes per guid. We were lucky that the linker seemed to detect duplicates, so that the resulting image size isn't affected. Add a new file guid.c, that only contains the guids.

svn path=/branches/cmake-bringup/; revision=49708
2010-11-22 14:08:41 +00:00
Timo Kreuzer
b473508960 [REGEDIT]
Fix syntax

svn path=/branches/cmake-bringup/; revision=49707
2010-11-22 13:06:05 +00:00
Timo Kreuzer
c9032b29c8 [CMAKE]
Don't automatically create and link manifest files on MSVC

svn path=/branches/cmake-bringup/; revision=49706
2010-11-22 12:57:51 +00:00
Timo Kreuzer
674c35dcd7 [CMAKE]
No precompiled headers for MSVC atm

svn path=/branches/cmake-bringup/; revision=49705
2010-11-22 12:25:25 +00:00
Timo Kreuzer
07359cbdc3 [PAINT]
Fix syntax

svn path=/branches/cmake-bringup/; revision=49704
2010-11-22 09:55:50 +00:00
Timo Kreuzer
0f10cf2e2a [PDSK]
MIDL doesn't like if interfaces are not defined. Add some empty interfaces to activedbg.idl make it compile.

svn path=/branches/cmake-bringup/; revision=49703
2010-11-22 00:34:25 +00:00
Timo Kreuzer
9053592456 [PSDK]
Fix HTMLFormElement uuid and add missing retval in IHTMLDocument6
Add back some previously disabled idl files for msvc

svn path=/branches/cmake-bringup/; revision=49702
2010-11-21 23:51:09 +00:00
Eric Kohl
8b5175e0ab [NPFS/KERNEL32]
Switch back to the old pipe wait code but keep the new code in place (disabled).

svn path=/trunk/; revision=49701
2010-11-21 23:15:11 +00:00
Timo Kreuzer
59a904c185 [PSDK]
Fix IRequestDictionary uuid

svn path=/branches/cmake-bringup/; revision=49700
2010-11-21 21:27:57 +00:00
Timo Kreuzer
ef952b8a6a [PSDK]
Fix ITravelLog uuid

svn path=/branches/cmake-bringup/; revision=49699
2010-11-21 21:20:17 +00:00
Timo Kreuzer
ff48ee3d73 [KBSDLL]
Link explicitly to msvcrt

svn path=/branches/cmake-bringup/; revision=49698
2010-11-21 19:51:55 +00:00
Timo Kreuzer
e1f1113670 [CMAKE]
Allow no entrypoint for MSVC and use no entrypoint in genincdata to silence warning

svn path=/branches/cmake-bringup/; revision=49697
2010-11-21 19:47:55 +00:00
Sylvain Petreolle
046d0e3522 [CMAKE]
ntdllsys: Add asm dependency.

svn path=/branches/cmake-bringup/; revision=49696
2010-11-21 18:37:27 +00:00
Timo Kreuzer
a89666c0c1 [gdi32]
Fix spec file

svn path=/branches/cmake-bringup/; revision=49695
2010-11-21 18:11:50 +00:00
Timo Kreuzer
ea9d55b42c [HAL]
Fix exports

svn path=/branches/cmake-bringup/; revision=49694
2010-11-21 17:24:11 +00:00
Pierre Schweitzer
2b6a79d9c9 [NTOSKRNL]
Previously, in ReactOS' stories:
ReactOS was broken since more a hundred of commits when two devs decided it was enough. One (we will name him Timo) fixed the context switch. The second, with the help of a third dev (Pierre & Hervé) decided to run tests by disabling some stuff (ie INIT_FUNCTION). This magically made testbot going back to life.
But, some complains came from the ML, so trying to appease world, Pierre decided to revert half of his changes, thinking this would be OK.

~~
Now, after a night. It appears that half revert was a pretty bad idea. Testbot keeps being broken.
So, this commit reverts r49665 (which was half reverting r49662). That way, testbot should be back, able to run tests. BUT, due to a NPFS issue, some tests are broken. Eric has been nicely mailed about that issue, with an idea of fix (thanks go here to Aleksey).

~~
For those who like that, drama to follow on ML.
I turn into being S/M...

svn path=/trunk/; revision=49691
2010-11-21 16:04:52 +00:00
Timo Kreuzer
b9bb6eeba9 [RTL]
Add missing Interlocked definition

svn path=/branches/cmake-bringup/; revision=49690
2010-11-21 14:40:57 +00:00
Timo Kreuzer
dcb3379a79 [SCSIPORT]
Convert to spec

svn path=/branches/cmake-bringup/; revision=49689
2010-11-21 14:28:52 +00:00
Timo Kreuzer
357417071a [MSVCRT]
Add 25 exports with proper entries instead of stub

svn path=/branches/cmake-bringup/; revision=49688
2010-11-21 13:46:56 +00:00
Timo Kreuzer
a233914955 [MSVCRT]
- Make stubs raise an exception like winestubs
- Remove ugly wine-stubs

svn path=/branches/cmake-bringup/; revision=49686
2010-11-21 13:35:43 +00:00
Timo Kreuzer
8f135be13f [MSDMO]
add proper stubs

svn path=/branches/cmake-bringup/; revision=49685
2010-11-21 13:21:05 +00:00
Timo Kreuzer
129bc9c356 [MSVCRT]
- Add a number of stub functions to fix build
- Comment out some exports that are probably 2k/nt4 only
- don't set -u flag for MSVC

svn path=/branches/cmake-bringup/; revision=49684
2010-11-21 13:08:55 +00:00
Timo Kreuzer
26718d757e [CMAKE]
- Add /nologo, when preprocessing asm files
- Move add_pch to compiler specific files (maybe someone can fix it for MSVC)
- Update set_module_type for MSVC

svn path=/branches/cmake-bringup/; revision=49683
2010-11-21 12:32:03 +00:00
Timo Kreuzer
822496fa61 [MINGW]
Remove alloca_probe_16 stub

svn path=/branches/cmake-bringup/; revision=49682
2010-11-21 12:29:35 +00:00
Timo Kreuzer
63dde4fa13 [HAL]
Convert asm to new syntax, use spec file


svn path=/branches/cmake-bringup/; revision=49681
2010-11-21 10:10:38 +00:00
Timo Kreuzer
45a06d507a [RTL]
- Use portable interlocked functions in code, define them to intrinsics for x86 and x64 in the header

svn path=/branches/cmake-bringup/; revision=49680
2010-11-21 10:05:20 +00:00
Timo Kreuzer
0b8509a565 [CRT]
- Use ___readcr4 instead of __readcr4, because MSVC doesn't like this intrinsic to be redefined.
- Add _ftol2

svn path=/branches/cmake-bringup/; revision=49679
2010-11-21 09:36:26 +00:00
Timo Kreuzer
1a4c47df9e [RTL]
Don't use _InterlockedCompareExchangePointer, that function doesn't exist on x86

svn path=/branches/cmake-bringup/; revision=49678
2010-11-21 01:36:51 +00:00
Timo Kreuzer
f12dd9240e [CMAKE]
Add EXTERNAL_OBJECT TRUE for generated def files on gcc builds. Fixes empty exports.
Add kernelmodedriver module type for MSVC

svn path=/branches/cmake-bringup/; revision=49677
2010-11-21 00:55:46 +00:00
Aleksey Bragin
fc65d4400f [NTDLL]
- Fix LdrVerifyImageMatchesChecksum() prototype.

svn path=/trunk/; revision=49676
2010-11-20 22:05:42 +00:00
Timo Kreuzer
8ee00e2746 [CMAKE]
Bye, bye, winebuild. Welcome spec2def.

svn path=/branches/cmake-bringup/; revision=49675
2010-11-20 21:43:57 +00:00
Timo Kreuzer
e3d6ac2051 [LOADPERF]
add proper stubs

svn path=/branches/cmake-bringup/; revision=49673
2010-11-20 18:37:19 +00:00
Timo Kreuzer
531c9e5eee add missing file.
svn path=/branches/cmake-bringup/; revision=49672
2010-11-20 18:04:06 +00:00
Timo Kreuzer
580f370be3 [CRYPTDLL]
Add proper stubs.

svn path=/branches/cmake-bringup/; revision=49671
2010-11-20 18:03:01 +00:00
Timo Kreuzer
16720dd129 [QUARTZ]
Add stub for GetProxyDllInfo

svn path=/branches/cmake-bringup/; revision=49670
2010-11-20 17:39:53 +00:00
Timo Kreuzer
f90a97e5a6 [CRT]
- Add __readcr4 to crt to compensate for MSVC bug
- Compile strnset with MSVC

svn path=/branches/cmake-bringup/; revision=49669
2010-11-20 16:38:45 +00:00
Amine Khaldi
e11826a832 [CMAKE]
- Sync with trunk.

svn path=/branches/cmake-bringup/; revision=49668
2010-11-20 16:33:34 +00:00
Timo Kreuzer
5cd6be3583 [CMAKE]
- Pass /nologo to the assembler
- don't implicitly link msvcrt and kernel32

svn path=/branches/cmake-bringup/; revision=49667
2010-11-20 16:21:24 +00:00
Amine Khaldi
47c6e8006a [CMAKE]
- Get rid of the ugly stubs file. It's not needed anymore.

svn path=/branches/cmake-bringup/; revision=49666
2010-11-20 15:58:35 +00:00
Pierre Schweitzer
6baacb986b [NTOSKRNL]
Get back INIT_FUNCTION on lassy's polite request.

svn path=/trunk/; revision=49665
2010-11-20 15:53:18 +00:00
Timo Kreuzer
795de760bd [CMAKE]
add importlib targets for bootvid, kdcom, ttfd

svn path=/branches/cmake-bringup/; revision=49664
2010-11-20 15:37:52 +00:00
Pierre Schweitzer
3eb9ba0807 [NTOSKRNL]
[HAL]
Disable INIT_FUNCTION to see whether it's responsible for Qemu broken status. Some are complaining of unworking trunk since r49463.
This will be reverted after tests.

svn path=/trunk/; revision=49662
2010-11-20 13:54:45 +00:00
Timo Kreuzer
dca867f3fd [ASM]
add some more missing constants

svn path=/branches/cmake-bringup/; revision=49661
2010-11-20 13:30:16 +00:00
Timo Kreuzer
d65aa994f7 [CRT]
Implement __alloca_probe_16

svn path=/branches/cmake-bringup/; revision=49660
2010-11-20 13:03:11 +00:00
Pierre Schweitzer
ebec2dd826 [NTOSKRNL]
Fix potential buffer overflow

svn path=/trunk/; revision=49659
2010-11-20 12:07:24 +00:00
Dmitry Chapyshev
bb5c7012d3 - Add wer.dll from Wine 1.3.7
- Sync gdiplus with Wine 1.3.7

svn path=/trunk/; revision=49658
2010-11-20 11:24:17 +00:00
Timo Kreuzer
66a7b7ba1d [NTOSKRNL]
Convert assembly to new sytax

svn path=/branches/cmake-bringup/; revision=49657
2010-11-20 11:09:32 +00:00
Timo Kreuzer
eea3ac2425 [NTOSKRNL]
Remove duplicated and incompatible implementations of setjmp / longjmp

svn path=/branches/cmake-bringup/; revision=49656
2010-11-20 10:57:26 +00:00
Timo Kreuzer
eb84dde490 [NTOSKRNL]
Use constants instead of a gcc extension

svn path=/branches/cmake-bringup/; revision=49655
2010-11-20 10:43:37 +00:00
Pierre Schweitzer
40232d377b [NTOSKRNL/PPC]
Fix index out of bounds

svn path=/trunk/; revision=49654
2010-11-20 10:22:36 +00:00
James Tabor
5d81f0a584 [Wine32k|User32]
- Implement client thread information for the beginning of QS flag support and signaling synchronization of messages.
- Set and clear idle event when setting clearing masks. This fixed the idle foreground hook call from user mode.
- Fixed wine ListBox and ReactOS ComboBox tests. Critical note: SendMessageA/W, when IsThreadHooked is used and any global hooks are affirmed, all messages are sent to Win32k and the result is, A to W and W to A mismatch via UMToKM. Fixing Global hook support exposed a critical bug in ReactOS message system. Enable the appropriate hooks will temporarily remedy this bug.
- All patches are from a checked out revision from 49475. Upping ntuser.h, win32k and user32 to sync.

svn path=/trunk/; revision=49653
2010-11-20 04:24:44 +00:00
Timo Kreuzer
4b3f3b86fd [KERNEL32]
Get rid of stub entries in spec file, either replacing them with a real export or commenting them out in case of win2k only exports and 1 Win7 export

svn path=/branches/cmake-bringup/; revision=49652
2010-11-20 00:50:08 +00:00
Timo Kreuzer
e0c83caeee [NTDLL]
- Convert dispatch.S to new asm syntax
- Add exports for RtlAddVectoredContinueHandler and RtlRemoveVectoredContinueHandler

svn path=/branches/cmake-bringup/; revision=49651
2010-11-20 00:46:31 +00:00
Timo Kreuzer
cf90c329f2 [RTL]
Add stubs for RtlAddVectoredContinueHandler and RtlRemoveVectoredContinueHandler

svn path=/branches/cmake-bringup/; revision=49649
2010-11-19 23:51:02 +00:00
Timo Kreuzer
ecdfe19579 [KERNEL32]
Switch to new asm syntax
Add dependency to asm

svn path=/branches/cmake-bringup/; revision=49648
2010-11-19 23:40:01 +00:00
Timo Kreuzer
cf6d90b6f2 [ASM]
Add more constants for ks386.inc

svn path=/branches/cmake-bringup/; revision=49647
2010-11-19 23:16:50 +00:00
Eric Kohl
abf6a5bfd5 [NPFS]
- Rename DEVICE_EXTENSION to NPFS_VCB.
- Add a type variable to distinguish FCBs and CCBs for device, directory or pipe.
- Attach an FCB to the VCB that represents the root directory of the file system and implement an open routine for the root directory.
- Make NpfsWaitPipe work when it is called for the root directory.

[KERNEL32]
- Remove the old version of WaitNamedPipeW.

This patch fixes the broken wait pipe code. It was written and tested on r49458 because later revisions do not work for me.

svn path=/trunk/; revision=49646
2010-11-19 22:42:53 +00:00
Timo Kreuzer
8b7d047834 [CMAKE]
- Add asm dependencies to freeldr, ntdll, crt
- Add importlib for hal and ntoskrnl
- Fix ntoskrnl spec file
- Fix resource pathes in ntoskrnl.rc

svn path=/branches/cmake-bringup/; revision=49645
2010-11-19 22:02:33 +00:00
Timo Kreuzer
5312a38c2f [CRT]
Remove unneccessary prototypes

svn path=/branches/cmake-bringup/; revision=49643
2010-11-19 18:57:51 +00:00
Timo Kreuzer
da6504af5d [CRT]
Silence a warning

svn path=/branches/cmake-bringup/; revision=49642
2010-11-19 18:56:58 +00:00
Timo Kreuzer
39f50aac50 [RTL]
Add dependency to asm

svn path=/branches/cmake-bringup/; revision=49641
2010-11-19 18:55:26 +00:00
Timo Kreuzer
dcf8904df7 [WIN32K]
Convert asm files into new syntax

svn path=/branches/cmake-bringup/; revision=49640
2010-11-19 18:51:50 +00:00
Timo Kreuzer
f5958e9cb8 [ASM]
Add more constants for ks386.inc


svn path=/branches/cmake-bringup/; revision=49639
2010-11-19 18:27:05 +00:00
Amine Khaldi
b3705126a7 [CMAKE]
- Fix the remaining modules.

svn path=/branches/cmake-bringup/; revision=49638
2010-11-19 17:59:23 +00:00
Amine Khaldi
77c6616d62 [CMAKE]
- Revert back to including the definition files into the source files list.

svn path=/branches/cmake-bringup/; revision=49637
2010-11-19 17:41:48 +00:00
Amine Khaldi
478a5435a9 [CMAKE]
- Improve the _filename condition.
- Some minor formatting.

svn path=/branches/cmake-bringup/; revision=49636
2010-11-19 16:43:43 +00:00
Amine Khaldi
6a5e2c0992 [CMAKE]
- Fix libcntpr build.

svn path=/branches/cmake-bringup/; revision=49635
2010-11-19 16:42:39 +00:00
Timo Kreuzer
8dc1f0eb0e [CMAKE]
Fix dependencies, fix native-spec2def

svn path=/branches/cmake-bringup/; revision=49634
2010-11-19 16:38:25 +00:00
Amine Khaldi
70dbd8d479 [CMAKE]
- Fix gcc host tools build.

svn path=/branches/cmake-bringup/; revision=49633
2010-11-19 15:58:35 +00:00
Timo Kreuzer
9431c38607 [SPEC2DEF]
rename spec2pdef to spec2def

svn path=/branches/cmake-bringup/; revision=49632
2010-11-19 15:27:58 +00:00
Dmitry Chapyshev
4e31a0e529 - Sync atl, hlink, shdocvw, wtsapi32 with Wine 1.3.7
svn path=/trunk/; revision=49631
2010-11-19 15:21:38 +00:00
Timo Kreuzer
9fcb3dd84a [CMAKE]
Hack away dxsdk for MSVC for now

svn path=/branches/cmake-bringup/; revision=49630
2010-11-19 15:16:26 +00:00
Timo Kreuzer
390cf6bc5f [CMAKE]
Add a new macro set_export_spec(), that replaces the use of spec2def + adding the generated def file to the sources
Remove EXTERNAL_OBJECT TRUE property for the generated def files.

svn path=/branches/cmake-bringup/; revision=49629
2010-11-19 14:21:18 +00:00
Timo Kreuzer
5054fc46a3 [INTRIN]
Add a workaround for __readcr4, MSVC suffers an internal error when using the intrinsic and optimization is on.

svn path=/branches/cmake-bringup/; revision=49628
2010-11-19 13:55:58 +00:00
Timo Kreuzer
c1929445d7 [NDK]
Simplify NtCurrentTeb, always use intrinsics
remove GetCurrentFiber

svn path=/branches/cmake-bringup/; revision=49627
2010-11-19 13:52:12 +00:00
Amine Khaldi
9457de721a [CMAKE]
- Make nmake makefiles verbose.

svn path=/branches/cmake-bringup/; revision=49626
2010-11-19 13:51:32 +00:00
Timo Kreuzer
993ebf53f1 [NDK]
Fix 64 bit TEB definition

svn path=/branches/cmake-bringup/; revision=49624
2010-11-19 11:43:22 +00:00
Timo Kreuzer
99a1acdf7e [ASM]
Rename the target to asm, to simplify dependencies
add missing constants

svn path=/branches/cmake-bringup/; revision=49622
2010-11-19 11:11:49 +00:00
Timo Kreuzer
dc0023e49d [CMAKE]
Fix typos in add_importlib_target macro, use /NOLOGO

svn path=/branches/cmake-bringup/; revision=49621
2010-11-19 10:54:05 +00:00
Timo Kreuzer
d8113f9ea2 [NTDLL]
Fix typos in spec file

svn path=/branches/cmake-bringup/; revision=49620
2010-11-19 10:23:39 +00:00
Jérôme Gardou
13aeeacdb3 [CMAKE]
- Improve browseui CMakeLists.txt
  - remove stdc++ dependancy to portcls
  - improve stlport header hack

svn path=/branches/cmake-bringup/; revision=49619
2010-11-19 09:53:49 +00:00
Pierre Schweitzer
752c855c83 [NTOSKRNL]
Simplify code, which should bring some fixing

svn path=/trunk/; revision=49618
2010-11-19 06:46:59 +00:00
Pierre Schweitzer
ae495fcf68 [NTOSKRNL]
Use appropriated macros

svn path=/trunk/; revision=49617
2010-11-19 06:34:14 +00:00
Pierre Schweitzer
d4577f8b7f [FORMATTING]
No code change

svn path=/trunk/; revision=49616
2010-11-19 06:28:20 +00:00
Jérôme Gardou
d738b24b6f [CMAKE]
- use correct link script file for freeldr and setupldr
  - use correct definition file for advapi32
  - don't specify name to add_bootcd_target if not needed
  - portcls is not a kernel mode driver
  - Disable stcall fixup, except for mesa32 which requires it
  - remove an useless file from minihal, add a forgotten one to freeldr

svn path=/branches/cmake-bringup/; revision=49615
2010-11-18 21:32:10 +00:00
Timo Kreuzer
5ba58aa606 [NTOSKRNL]
- Initialize the Zero variable
- Don't corrupt the Color value in case we didn't have any page on MmZeroedPageListHead.
- Fixes boot.

svn path=/trunk/; revision=49614
2010-11-18 19:20:38 +00:00
James Tabor
4886d14bab [Win32k]
- Fix style, use client style.

svn path=/trunk/; revision=49613
2010-11-18 16:26:54 +00:00
James Tabor
7b2f0a799a [Win32k]
- Test for hooks before setting up for a hook call. This eliminates overhead.

svn path=/trunk/; revision=49612
2010-11-18 16:17:59 +00:00
Sylvain Petreolle
86e54f666f [CMAKE]
Add dplayx and ksproxy.ax to bootcd.

svn path=/branches/cmake-bringup/; revision=49611
2010-11-18 15:41:39 +00:00
Giannis Adamopoulos
2b843622b4 [win32k]
- Some more cleanup

svn path=/trunk/; revision=49610
2010-11-18 13:57:21 +00:00
Timo Kreuzer
83c94373d7 [NTOSKRNL]
Fix a bug.

svn path=/trunk/; revision=49609
2010-11-18 03:14:47 +00:00
Sylvain Petreolle
d490a7349e [CMAKE]
Fix crt parallel build.

svn path=/branches/cmake-bringup/; revision=49608
2010-11-16 17:44:24 +00:00
Timo Kreuzer
406dfdbc87 [CMAKE]
Sync trunk (rr49606)

svn path=/branches/cmake-bringup/; revision=49607
2010-11-16 13:43:39 +00:00
James Tabor
c65ab760bf [Win32k|User32] - Cleanup and added debug prints.
svn path=/trunk/; revision=49606
2010-11-16 05:30:20 +00:00
James Tabor
3d573b97a6 [Win32k]
- Tweaks to hook and event timeouts. Increase performance with DOSBox when using mouse and keyboard.

svn path=/trunk/; revision=49605
2010-11-16 04:52:53 +00:00
Timo Kreuzer
c4c880d59c [NTOSKRNL]
Don't declare a variable in the moddle of a function, MSVC gets very angry about that.

svn path=/branches/cmake-bringup/; revision=49604
2010-11-15 23:43:28 +00:00
Timo Kreuzer
440627d3df [NTOSKRNL]
Remove alloc pragmas for functions that don't exist enymore

svn path=/branches/cmake-bringup/; revision=49603
2010-11-15 22:30:20 +00:00
Timo Kreuzer
ac8a48c91f [NTOSKRNL]
Fix a warning for MSVC, stub __builtin_expect

svn path=/branches/cmake-bringup/; revision=49601
2010-11-15 22:06:01 +00:00
Timo Kreuzer
1c7fc49e5f [NTOSKRNL]
Convert pspec to spec

svn path=/branches/cmake-bringup/; revision=49600
2010-11-15 21:29:58 +00:00
Timo Kreuzer
d3d023aadc [HAL]
convert pspec to spec

svn path=/branches/cmake-bringup/; revision=49599
2010-11-15 21:26:06 +00:00
Timo Kreuzer
1335cf4210 [CRT]
Add a number of compilation fixes for MSVC

svn path=/branches/cmake-bringup/; revision=49598
2010-11-15 20:08:49 +00:00
Timo Kreuzer
b7383087f4 revert unwanted changes
svn path=/branches/cmake-bringup/; revision=49597
2010-11-15 19:45:52 +00:00
Timo Kreuzer
3ebe2aa8f7 [FREELDR]
Add a new file realmode.S for MSVC currently only containing some stubs to resolve references. The 16 bit code needs some work to be compilable with ML.
Delete some amd64 files that only duplicated x86 16 bit code. Remove unused _alloca.S. Improve freeldr rules, add some experimental linking flags for MSVC, it links with a few warnings.

svn path=/branches/cmake-bringup/; revision=49596
2010-11-15 19:44:48 +00:00
Timo Kreuzer
47508a0b72 [GENINCDATA]
- Use 32 bit constants by default and add macros for 64 bit and pointer size. Fixes some constants.

svn path=/branches/cmake-bringup/; revision=49594
2010-11-15 19:14:56 +00:00
Johannes Anderwald
f05d82cd17 [PORTCLS]
- Implement support for IPinCount interface
- Add informal debug print

svn path=/branches/audio-bringup/; revision=49593
2010-11-15 09:09:42 +00:00
James Tabor
7a5f137974 [Win32k] - Fix hooks, do not cleanup hooks when any window from the same thread is destroyed.
svn path=/trunk/; revision=49592
2010-11-15 06:52:44 +00:00
Timo Kreuzer
ab6c2ee54c [CRT]
incude asm.inc instead of reactos/asm.h
Fix a bug that smeaked into _chkstk

svn path=/branches/cmake-bringup/; revision=49591
2010-11-15 01:29:12 +00:00
Timo Kreuzer
0c7d0cbc07 [CMAKE]
Add include/asm to asm include pathes

svn path=/branches/cmake-bringup/; revision=49590
2010-11-15 01:09:10 +00:00
Timo Kreuzer
07652e2631 [RTL]
Make asm files compilable with ML

svn path=/branches/cmake-bringup/; revision=49589
2010-11-15 01:03:14 +00:00
Timo Kreuzer
d3652562e5 [FREELDR]
Convert fathelp.S into ML compatible code. The result is identical to the old version when compiled with gcc, but slightly different when compiled with ml. Especially the code starts at position 6 instead of 0, with a one byte text section at the top, this needs more investigation. also there is a large reg move, but that doesn't hurt. Finally the padding at the end doesn't work at all.

svn path=/branches/cmake-bringup/; revision=49588
2010-11-14 17:46:56 +00:00
Daniel Reimer
14a5ef32d6 Bug 5726: PATCH: regedit: Language File skeleton strings (geekdundee<A_T>gmail.com)
Bug 5735: PATCH: updated slovak translations by Mario Kacmar
Bug 5740: TRANSLATION: rapps: polish (wojtekkozlo664<A_T>op.pl)
Updated the Rapps Versions, too.

svn path=/trunk/; revision=49587
2010-11-14 15:22:48 +00:00
Timo Kreuzer
3947c4313f [ASM}
Add .org for ML

svn path=/branches/cmake-bringup/; revision=49586
2010-11-14 13:55:05 +00:00
Timo Kreuzer
ad20e16add [CMAKE]
Fix a typo

svn path=/branches/cmake-bringup/; revision=49585
2010-11-14 13:42:03 +00:00
Timo Kreuzer
acead639b1 [GENINCDATA] add dependency to bugcodes, factor out definitions in template files.
[ASM] Add asm.inc, to be included in all asm files for GAS / ML compatibility

svn path=/branches/cmake-bringup/; revision=49584
2010-11-14 13:40:19 +00:00
Timo Kreuzer
cbf119bf9b [FREELDR]
- Use macro __ASM__ instead of ASM
- guard #pragma once against inclusion in asm files
- Use the HEX() macro for constants for the asm files

svn path=/branches/cmake-bringup/; revision=49583
2010-11-14 13:36:25 +00:00
Timo Kreuzer
345892376c [FREELDR]
Convert arch.S to intel syntax.

svn path=/branches/cmake-bringup/; revision=49582
2010-11-14 13:25:20 +00:00
Giannis Adamopoulos
6fce3aa19b [win32k]
-Rename MsqInsertSystemMessage to MsqInsertMouseMessage

svn path=/trunk/; revision=49581
2010-11-14 09:53:07 +00:00
Giannis Adamopoulos
4ac999a033 [win32k]
- Simplify co_IntPeekMessage even more

svn path=/trunk/; revision=49580
2010-11-14 09:01:17 +00:00
James Tabor
31efb355c9 [Win32k]
- Fixed WaitForInputIdle, finally!, passed all the wine tests for it.
- Moved Get/Peek message to the new all in one support routine.
- Foreground hook hits one out of five, this needs more research.
- Attempted to workout synchronizing issues with low level and regular hooks.

svn path=/trunk/; revision=49579
2010-11-14 00:27:38 +00:00
Timo Kreuzer
dcfe4ea6a9 [PSDK]
Move definitions of BitScanForward and BitScanReverse out of gcc specific area

svn path=/branches/cmake-bringup/; revision=49578
2010-11-13 23:57:49 +00:00
Jérôme Gardou
078e1855fa [CMAKE]
- syssetup.inf has its place in bootcd until we generate it automatically.

svn path=/branches/cmake-bringup/; revision=49577
2010-11-13 23:49:08 +00:00
Jérôme Gardou
e3dad735d4 [CMAKE]
- improve some files

svn path=/branches/cmake-bringup/; revision=49576
2010-11-13 22:23:59 +00:00
Timo Kreuzer
11a6e6c0c4 [CMAKE]
Fix a typo

svn path=/branches/cmake-bringup/; revision=49575
2010-11-13 21:06:05 +00:00
Timo Kreuzer
306ed4d40b [FREELDR]
Merge r49573

svn path=/branches/cmake-bringup/; revision=49574
2010-11-13 21:02:14 +00:00
Timo Kreuzer
ea5d462bdf [FREELDR]
Convert most of the trap and blue screen code from asm to C, use KTRAP_FRAME and KSPECIAL_REGISTERS on the stack, instead of using a bunch of global variables. Convert multiply used asm code chunks into macros. Use intel syntax for remaining asm.
135 lines of C + 178 lines of asm, instead of 942 lines of asm

svn path=/trunk/; revision=49573
2010-11-13 19:48:13 +00:00
Jérôme Gardou
6d8fe9df10 [CMAKE]
- fix typo

svn path=/branches/cmake-bringup/; revision=49572
2010-11-13 00:00:04 +00:00
Jérôme Gardou
eea0d56fec [CAKE]
- simplify set_image_base

svn path=/branches/cmake-bringup/; revision=49571
2010-11-12 23:52:40 +00:00
Amine Khaldi
d4fdd1fa4b [CMAKE]
- Fix build.

svn path=/branches/cmake-bringup/; revision=49570
2010-11-12 13:28:23 +00:00
Sylvain Petreolle
6496ec767d [CMAKE]
Add vgafonts dependency.
Thanks to AmineKhaldi.

svn path=/branches/cmake-bringup/; revision=49569
2010-11-12 13:05:10 +00:00
Sylvain Petreolle
38c38ad62d [CMAKE]
Move jscript stdole2 dependency to jsglobal.

svn path=/branches/cmake-bringup/; revision=49568
2010-11-12 12:46:54 +00:00
Timo Kreuzer
b554be26f1 [CRT]
Revert renaming change to tchar.h, which does not contain any assembly

svn path=/branches/cmake-bringup/; revision=49567
2010-11-11 17:12:12 +00:00
Timo Kreuzer
ab465e66e3 [CRT]
Rename a number of .h files that contain assembly code into .inc to better reflect their purpose

svn path=/branches/cmake-bringup/; revision=49566
2010-11-11 17:10:09 +00:00
Jérôme Gardou
6b0b6cb78f [HEADERS]
- move stlport headers to the c++ directory
 - add a specific _reactos.h configuration file for stlport
 - add cerrno to c++ headers
 - __declspec(nothrow) must be placed before calling convention with msvc. GCC doesn't care.
We now use our headers with both msvc and gcc.

svn path=/branches/cmake-bringup/; revision=49565
2010-11-11 15:58:18 +00:00
Timo Kreuzer
5e8bd0b3df [GENINCDATA]
Fix a bug that caused excessive quotes in the output


svn path=/branches/cmake-bringup/; revision=49563
2010-11-11 15:29:20 +00:00
Timo Kreuzer
82b1bd223a [CMAKE]
Add importlib target for acledit

svn path=/branches/cmake-bringup/; revision=49562
2010-11-11 15:28:02 +00:00
Timo Kreuzer
f2ab1b31c4 [ASM]
add genincdata, a module that will be compiled as a dll to provide the data for geninc to be converted into an .inc file.

svn path=/branches/cmake-bringup/; revision=49561
2010-11-11 13:40:29 +00:00
Sir Richard
ef4089933a [NTOS]: Start using colored pages. This will help performance on real systems significantly as cache is now taken into account by the memory manager. Also radically changes the way page allocations are given out and creates a less uniform physical memory layout. The fact this now works means that the PFN lists are finally now sane.
svn path=/trunk/; revision=49559
2010-11-11 13:15:40 +00:00
Sir Richard
d5c3a8295f [NTOS]: Use MI_PFN_ELEMENT in this code, as the extra checks done by MiGetPfnEntry are irrelevant and slow things down.
[NTOS]: Remove some old ReactOS hacks before we had MMROSPFNDATA.

svn path=/trunk/; revision=49558
2010-11-11 13:13:05 +00:00
Sir Richard
0bbcdaf47f [NTOS]: Fix a bug in MiRemovePageByColor which caused corruption of the page list and could lead to crashes, re-use of freed memory, assuming active memory was free, etc.
svn path=/trunk/; revision=49557
2010-11-11 13:08:41 +00:00
Sir Richard
7a047a7902 [NTOS]: Fix another bug in the continuous memory allocation code, which would go off-by-one while looping the PFN entries for the allocation, and corrupt the PteFrame/PteAddress of an unrelated PFN entry. If this PFN was in the active lists, it would cause page table leaks and faults, if the page was on a free list, it would override the colored list backlink and corrupt the list, later causing unlinked pages to remain linked to the list.
svn path=/trunk/; revision=49556
2010-11-11 13:05:52 +00:00
Art Yerkes
0cb645cb12 Part 1 of fixes: For some reason beyond me, I had abbreviated
MiCowSectionPage to always assume CoW rather than always not
CoW for cache sections.  

Make sure we're looking for cache type sections rather than
(as we were in the branch) data file sections.  More needed.

svn path=/trunk/; revision=49555
2010-11-11 08:15:50 +00:00
Timo Kreuzer
2e9717b577 [CMAKE]
Create importlibs from spec files for kernel32, advapi32, gdi32, user32 and msvcrt
calc now compiles with MSVC and works (slightly buggy)

svn path=/branches/cmake-bringup/; revision=49554
2010-11-10 22:50:21 +00:00
Timo Kreuzer
1d6d730ed6 [MSVCRT] Don't export linux stuff from our precious MSVCRT
[MINGW] Bring back _matherr()

svn path=/branches/cmake-bringup/; revision=49553
2010-11-10 22:43:46 +00:00
Jérôme Gardou
8c6671477e [HEADERS]
- start using our own c++ headers and forward stlport ones to them in msvc build.
 - fix fpecode declaration for MSVC.
[CMAKE]
 - cardlib is a cpp library.
Now stlport compiles with msvc.

svn path=/branches/cmake-bringup/; revision=49552
2010-11-10 22:20:05 +00:00
Timo Kreuzer
3742d626dc [CRT]
Add  pragma function for _wcsset on MSVC builds

svn path=/branches/cmake-bringup/; revision=49551
2010-11-10 22:15:10 +00:00
Timo Kreuzer
cfe78ef2b3 [RTL]
Instead of including ndk/asm.h, add the 2 neccessary constants to seh.s

svn path=/branches/cmake-bringup/; revision=49550
2010-11-10 22:11:12 +00:00
Jérôme Gardou
541b368402 [CMAKE]
- build and export spec2pdef

svn path=/branches/cmake-bringup/; revision=49549
2010-11-10 22:02:51 +00:00
Timo Kreuzer
6d02bbe70e [CMAKE]
- add importlib target for ntdll

svn path=/branches/cmake-bringup/; revision=49547
2010-11-10 21:01:14 +00:00
Jérôme Gardou
5d8dd5d148 [STLPORT]
- move headers to include directory
  - delete some incidentally committed things

svn path=/branches/cmake-bringup/; revision=49546
2010-11-10 17:36:28 +00:00
Timo Kreuzer
2b5855372c [CMAKE]
- Move spec2def into comppiler specific files, use spec2pdef tool on MSVC builds
- Add a ridiculously complex macro to create the importlibs for MSVC. (It was hard for me to figure this out, so be it for you ;-))

svn path=/branches/cmake-bringup/; revision=49545
2010-11-10 12:33:24 +00:00
Timo Kreuzer
f655f86d82 [MINGW]
special stuff for MSVC

svn path=/branches/cmake-bringup/; revision=49543
2010-11-09 20:43:09 +00:00
Sir Richard
64e92d2d8e [NTOS]: Fix bugs in MiAllocateContiguousPages. Fixes an ASSERT Caemyr was seeting a lot (the cont-able ASSERT).
svn path=/trunk/; revision=49541
2010-11-09 13:26:26 +00:00
Timo Kreuzer
769e7c0eb8 [CMAKE]
Add a hack to fix compilation of irot.idl with MSVC. If someone knows how to correctly fix this, please let me know.

svn path=/branches/cmake-bringup/; revision=49538
2010-11-09 01:42:06 +00:00
Amine Khaldi
5c96fe41a4 [CMAKE]
- Use pdef files in some dlls.

svn path=/branches/cmake-bringup/; revision=49537
2010-11-08 22:57:05 +00:00
Timo Kreuzer
4dc6967310 [CRT]
Fix assembly syntax


svn path=/branches/cmake-bringup/; revision=49536
2010-11-08 19:21:13 +00:00
Timo Kreuzer
04d745acca [CMAKE]
add missing dependency

svn path=/branches/cmake-bringup/; revision=49535
2010-11-08 19:01:52 +00:00
Timo Kreuzer
84b1635034 [CRT]
- Add #pragma function to a number of intrisics that we implement to avoid a compiler error of MSVC
- Add a workaround to prevent some functions from being inlined
- Move sqrtf out of i386 directory
- Convert a number of inline assembly functions to raw assembly

svn path=/branches/cmake-bringup/; revision=49534
2010-11-08 18:36:45 +00:00
Timo Kreuzer
5e6639c9b2 [CMAKE]
Don't put /M* on the command line

svn path=/branches/cmake-bringup/; revision=49533
2010-11-08 18:14:26 +00:00
Timo Kreuzer
5f52062082 [MSVC]
Fix warnings

svn path=/branches/cmake-bringup/; revision=49532
2010-11-08 13:48:45 +00:00
Timo Kreuzer
77e17454fa [CMAKE]
Delete the Modules dir.

svn path=/branches/cmake-bringup/; revision=49531
2010-11-08 13:45:34 +00:00
Timo Kreuzer
aad5d0a980 [CMAKE]
Move the cmake module directory one level down

svn path=/branches/cmake-bringup/; revision=49530
2010-11-08 13:41:29 +00:00
Timo Kreuzer
7689b5dda6 [CMAKE]
Convert gdi32 to pdef

svn path=/branches/cmake-bringup/; revision=49529
2010-11-08 13:32:52 +00:00
Timo Kreuzer
21907631c7 [ACLDEDIT]
Delete acledit.def

svn path=/branches/cmake-bringup/; revision=49527
2010-11-08 13:15:54 +00:00
Timo Kreuzer
da76b4e5c2 [CMAKE]
Convert acledit to pdef

svn path=/branches/cmake-bringup/; revision=49526
2010-11-08 12:58:32 +00:00
Sir Richard
f205f243bb [NTOS]: Assign a working set to the system process and correctly initialize its address space.
[NTOS]: Assign the working set list address, system-wide, but per-process (in hyperspace).
[NTOS]: Give every process its working set page, and store it. Build a bogus working set list (MMWSL).
[NTOS]: Use the process working set list (MMWSL) to track page table references during faults, just as Windows does.
[NTOS]: Correctly initialize the colored page list heads and assert their validity.

svn path=/trunk/; revision=49525
2010-11-08 12:35:50 +00:00
Timo Kreuzer
c4f1145fca [CMAKE]
- add new macro add_linkerflag to avoid code duplication
- add new macro set_pdef_file, replacing the use of pdef2def, which is neccessary to resolve issues with MSVC. cmake doesn't handle def files as source files very well, when they are not in the current source directory.

svn path=/branches/cmake-bringup/; revision=49524
2010-11-08 12:24:33 +00:00
Sir Richard
e8c269c0c4 [NTOS]: Optimize new context switching code to avoid wasted cycles.
svn path=/trunk/; revision=49523
2010-11-08 11:56:22 +00:00
Timo Kreuzer
44eef5b073 [SHLWAPI]
Explicitly add msvcrt before ntdll to use it's *sprintf functions. Fixes bug 5557

svn path=/trunk/; revision=49522
2010-11-08 10:04:43 +00:00
Sir Richard
b4593924da [NTOS]: KiDispatchInterrupt (the DPC handler) in C, instead of ASM.
svn path=/trunk/; revision=49521
2010-11-08 02:37:17 +00:00
Sir Richard
77d20c89bf [NTOS]: Context switch in C instead of ASM. Can be made more portable, but it's a good start. Unless Timo rewrites it.
svn path=/trunk/; revision=49520
2010-11-08 02:15:53 +00:00
Pierre Schweitzer
58e3fc91d5 [NTOSKRNL]
Minor stuff.
Here is your commit Timo ;)

svn path=/trunk/; revision=49519
2010-11-08 00:31:00 +00:00
Sylvain Petreolle
c3774adb66 [CMAKE]
Add missing files to bootcd.

svn path=/branches/cmake-bringup/; revision=49518
2010-11-07 21:24:35 +00:00
Sylvain Petreolle
eb4821a38b [CMAKE]
Add remaining Wine directx dlls to bootcd.

svn path=/branches/cmake-bringup/; revision=49517
2010-11-07 21:22:31 +00:00
Timo Kreuzer
7d0aa25a0f [CRT]
In streamout(): fix a number of formatting bugs, round floats, fix issue with large unsigned values that were treated as signed, simplify some code.

svn path=/trunk/; revision=49516
2010-11-07 10:06:00 +00:00
Johannes Anderwald
d864a0a08a [PORTCLS]
- Enable property handler

svn path=/branches/audio-bringup/; revision=49515
2010-11-07 09:16:31 +00:00
Timo Kreuzer
2f7608101c [CRT]
In streamout() handle %%, negative fieldwidth and negative precision.

svn path=/trunk/; revision=49514
2010-11-07 00:59:41 +00:00
Timo Kreuzer
49cee181ca [CRT]
Fix a bug in streamout(), that could cause a buffer overrun and made msvcrt_winetest crash.

svn path=/trunk/; revision=49513
2010-11-06 23:03:22 +00:00
Amine Khaldi
87def142b6 [SPRINTF]
- Don't compile the new sprintf by default. Requested by Timo.

svn path=/trunk/; revision=49512
2010-11-06 15:38:43 +00:00
Johannes Anderwald
6024f16988 - merge audio headers
svn path=/branches/audio-bringup/; revision=49511
2010-11-06 12:10:50 +00:00
Amine Khaldi
42d74e98d6 [CMAKE]
- Add acledit.pdef

svn path=/branches/cmake-bringup/; revision=49510
2010-11-06 11:43:26 +00:00
Amine Khaldi
1c18b9b723 [CMAKE]
- Add a preprocessed definition file for acledit.
- Add the pdef2def macro.
- Include wpp into build, widl links to it.
- Fix libmpg123.

svn path=/branches/cmake-bringup/; revision=49509
2010-11-06 11:31:38 +00:00
Timo Kreuzer
351689996d [MINGW]
#if 0 _matherr(). We already have it in our crt and it's exported from msvcrt. MSVC doesn't like when it's there twice.

svn path=/branches/cmake-bringup/; revision=49506
2010-11-06 09:17:04 +00:00
Timo Kreuzer
d46d983c8f [MINGW]
Don't define __ImageBase to something else on MSVC builds

svn path=/branches/cmake-bringup/; revision=49505
2010-11-06 00:25:57 +00:00
Amine Khaldi
117bdf56ae [CMAKE]
- Fix and enable browseui.

svn path=/branches/cmake-bringup/; revision=49504
2010-11-05 23:25:51 +00:00
Amine Khaldi
7393a02b74 [CMAKE]
- Explicitly disable auto imports for executables.
- Set a proper linker invocation for C++ modules.

svn path=/branches/cmake-bringup/; revision=49503
2010-11-05 23:17:29 +00:00
Sylvain Petreolle
d929fc29f7 [CMAKE]
Bootcd/Livecd : Add dplayx, ntfs and mup.
Add forgotten wined3d importlib, my bad.

svn path=/branches/cmake-bringup/; revision=49502
2010-11-05 23:14:29 +00:00
Timo Kreuzer
a7fb24759b Fix build
svn path=/trunk/; revision=49501
2010-11-05 23:12:59 +00:00
Amine Khaldi
f8a9857975 [CMAKE]
- Fix and enable glu32 and winemp3.acm

svn path=/branches/cmake-bringup/; revision=49500
2010-11-05 23:06:24 +00:00
Timo Kreuzer
bf49c46b23 [CRT]
New implementation of all printf functions. It's stream based (like MS one is) rather than buffer based (like our old is). Floating point is not 100% finished, but current implementation is good enough to boot. It can be enabled by a config switch.

svn path=/trunk/; revision=49499
2010-11-05 22:21:36 +00:00
Sylvain Petreolle
e37863e0ac [CMAKE]
Bootcd: Add some directx dlls.

svn path=/branches/cmake-bringup/; revision=49498
2010-11-05 21:49:09 +00:00
Amine Khaldi
7c79c0ae87 [CMAKE]
- Explicitly disable auto imports, and fix the modules that were missed out by the previous related commit.
- Dedicated to Usurp.

svn path=/branches/cmake-bringup/; revision=49497
2010-11-05 21:22:07 +00:00
Jérôme Gardou
97863bb997 [CMAKE]
Fix mingw_dllmain build

svn path=/branches/cmake-bringup/; revision=49496
2010-11-05 18:52:57 +00:00
Amine Khaldi
9d024b274d [MMC]
- Remove pragma once from the main header.

svn path=/branches/cmake-bringup/; revision=49495
2010-11-05 18:41:05 +00:00
Amine Khaldi
f0156b8450 [CMAKE]
- Update spec2def use in bzip2.

svn path=/branches/cmake-bringup/; revision=49494
2010-11-05 18:35:47 +00:00
Amine Khaldi
045e8b304b [CMAKE]
- Fix a typo.

svn path=/branches/cmake-bringup/; revision=49493
2010-11-05 18:09:09 +00:00
Amine Khaldi
c93d1289fd [CMAKE]
- Remove wpp from build.
- Improve several tools and libs.
- Improve the root cmake file.

svn path=/branches/cmake-bringup/; revision=49492
2010-11-05 18:06:25 +00:00
Johannes Anderwald
8f6a632579 - Merge audio components from head
svn path=/branches/audio-bringup/; revision=49491
2010-11-05 17:56:34 +00:00
Amine Khaldi
2901215553 [CMAKE]
- Improve more libs.

svn path=/branches/cmake-bringup/; revision=49490
2010-11-05 17:35:39 +00:00
Amine Khaldi
0e69cd8f27 [CMAKE]
- Improve drivers' libs.

svn path=/branches/cmake-bringup/; revision=49489
2010-11-05 17:29:01 +00:00
Amine Khaldi
012f99f221 [CMAKE]
- Improve win32k, lib{jpeg,png,tiff,xslt} and win32k.

svn path=/branches/cmake-bringup/; revision=49488
2010-11-05 17:12:31 +00:00
Amine Khaldi
6967f20f37 [CMAKE]
- Improve the kernel build.

svn path=/branches/cmake-bringup/; revision=49487
2010-11-05 16:57:33 +00:00
Sir Richard
7642321a2c [NTOS]: Make idle loop portable. Can be moved out of /i386 now.
svn path=/trunk/; revision=49486
2010-11-05 16:00:05 +00:00
Sir Richard
8a59fecfa5 [NTOS]: Implement the idle loop in C.
svn path=/trunk/; revision=49485
2010-11-05 15:58:34 +00:00
Sylvain Petreolle
4bf0ec6bd9 [CMAKE]
Bootcd:
Added : syssetup.inf, vgafonts.cab, c_28593.nls, ntvdm.
Remove blue from reactos.cab.

svn path=/branches/cmake-bringup/; revision=49484
2010-11-05 14:33:14 +00:00
Sylvain Petreolle
fbf705275d [CMAKE]
Add more dll/ and drivers/ modules to bootcd.
Fix mesa32 definitions.

svn path=/branches/cmake-bringup/; revision=49483
2010-11-05 13:46:48 +00:00
Sylvain Petreolle
ac1ef420cd [CMAKE]
Add dlls to bootcd.
Fix hhctrl build.

svn path=/branches/cmake-bringup/; revision=49482
2010-11-05 13:25:28 +00:00
Timo Kreuzer
4a3ed006a1 [USER32]
Convert pspec to spec to fix build

svn path=/branches/cmake-bringup/; revision=49481
2010-11-05 13:14:37 +00:00
Sylvain Petreolle
5af2ed766e [CMAKE]
Add keyboards to bootcd.

svn path=/branches/cmake-bringup/; revision=49480
2010-11-05 12:08:37 +00:00
Amine Khaldi
30bb25e2f0 [CMAKE]
- Improve most of the static libraries.

svn path=/branches/cmake-bringup/; revision=49479
2010-11-05 12:02:12 +00:00
Timo Kreuzer
5eb25b5c24 Create a branch for audio work
svn path=/branches/audio-bringup/; revision=49478
2010-11-05 11:04:48 +00:00
Sylvain Petreolle
b9041e39bf [CMAKE]
Add base/ modules to bootcd.

svn path=/branches/cmake-bringup/; revision=49477
2010-11-05 10:37:10 +00:00
Sylvain Petreolle
8456a5473e [CMAKE]
Revert incorrect auto import change and use proper definitions instead.

svn path=/branches/cmake-bringup/; revision=49476
2010-11-05 09:38:42 +00:00
James Tabor
c3f5d851e3 [Win32k] - Turn off debug prints.
svn path=/trunk/; revision=49475
2010-11-05 00:37:30 +00:00
Timo Kreuzer
de201a2357 [CMAKE]
Create importlib for advapi32
Link advapi32 to msvcrt, needed for SEH

svn path=/branches/cmake-bringup/; revision=49474
2010-11-05 00:12:47 +00:00
Timo Kreuzer
39989dc9be [CMAKE]
Add /SAFESEH:NO to MSVC linker command line to fix unresolved symbol issue.

svn path=/branches/cmake-bringup/; revision=49473
2010-11-05 00:08:12 +00:00
James Tabor
200c27535e [Win32k|User32]
- This hook commit fixes the ros regression testing startup, but consider this a hax fix until more research in Global hooks has completed. More pointed Global hook tests are needed. Misc changes, removed unused storage pointers and reordering. For DosBOX, the mouse low level is now working and the keyboard low level should not be so intermittent as before, now sending messages from system desktop not from thread desktop, see bug 5670 for more details.

svn path=/trunk/; revision=49472
2010-11-04 23:45:34 +00:00
Amine Khaldi
12ab761aa1 [CMAKE]
- Improve hal, adns and bzip2.

svn path=/branches/cmake-bringup/; revision=49471
2010-11-04 21:38:28 +00:00
Amine Khaldi
08bb8bef3d [CMAKE]
- Improve the rest of the drivers.

svn path=/branches/cmake-bringup/; revision=49470
2010-11-04 21:31:33 +00:00
Amine Khaldi
a7fe68d16b [CMAKE]
- Improve more drivers.

svn path=/branches/cmake-bringup/; revision=49469
2010-11-04 21:06:20 +00:00
Amine Khaldi
bbecbe25fc [CMAKE]
- Improve base and bus drivers.

svn path=/branches/cmake-bringup/; revision=49468
2010-11-04 20:46:27 +00:00
Sylvain Petreolle
b37636dc12 [CMAKE]
One .acm suffix is enough.
Dedicated to AmineKhaldi.

svn path=/branches/cmake-bringup/; revision=49467
2010-11-04 13:29:58 +00:00
Aleksey Bragin
1dec9f52a4 [APPS]
- Damir Aliev: Properly convert encoding in cmdline tools.
See issue #3487 for more details.

svn path=/trunk/; revision=49466
2010-11-04 12:28:08 +00:00
Aleksey Bragin
2bb39272f6 [REGEDIT]
Adam Kachwalla <geekdundee@gmail.com>
- "Load Hive..." and "Unload Hive..." menu items implemented
- Make address bar case-insensitive
- Remove trailing slashes in address bar when at root keys (e.g. "HKEY_LOCAL_MACHINE\" or "HKEY_CURRENT_USER\")
- Address "go" button added
- Removed ~8px slack from bottom of the app (not needed and looks better)
- Factored out error displaying functions into error.c file.

See issue #5711 for more details.

svn path=/trunk/; revision=49465
2010-11-04 12:05:35 +00:00
Timo Kreuzer
3872d5db6c [KERNEL32]
Print delphi exception with the Exception code 0xeedfade, we were previously only checking for 0xeedface, maybe an older value.

svn path=/trunk/; revision=49464
2010-11-04 10:16:14 +00:00
Sir Richard
9cdff0edae [HAL]: Add INIT_FUNCTION where needed. Will save 860KB later.
svn path=/trunk/; revision=49463
2010-11-04 01:28:09 +00:00
Jérôme Gardou
3e704fcf1c [WINE/CONFIG]
MSVC has no sys/time.h
[DDK]
  Directly include <wingdi.h>
[UNICODE]
  Fix build on msvc
All tools now build with msvc.

svn path=/branches/cmake-bringup/; revision=49461
2010-11-03 18:15:51 +00:00
Jérôme Gardou
8a92f19054 [CMAKE]
cmake doesn't like braces

svn path=/branches/cmake-bringup/; revision=49460
2010-11-03 16:59:50 +00:00
Jérôme Gardou
9e6d47d509 [CMAKE]
allow to specify build tools directory with -DREACTOS_BUILD_TOOLS_DIR=Y:\you\path
So now you're able to use multiple compilers with one tree without too much worry.

svn path=/branches/cmake-bringup/; revision=49459
2010-11-03 12:57:03 +00:00
Timo Kreuzer
9bcd5e12e8 [WIN32K]
- Make InitVideo return NTSTATUS and properly handle failure
- Silence a DPRINT, improve a DPRINT

svn path=/trunk/; revision=49458
2010-11-03 12:20:07 +00:00
Johannes Anderwald
5876e615b5 [KS]
- Fix several bugs in KsProbeStreamIrp
- If requestor is KernelMode - just save a pointer in Irp->AssociatedIrp.SystemBuffer (currently not used)
- If requestor is UserMode mark irp as buffered. Also set Flag IRP_INPUT_OPERATION when the ioctl is IOCTL_KS_READ_STREAM. This is important to propagate modifications to KSSTREAM_HEADERS (in particular DataUsed member)
- ReactOS KS can now be used in WinXP in combination with KSStudio. In order to make it fully work, ks needs to implement software bus functions
[PORTCLS]
- Rewrite internal irp queue handling
- It now supports multiple KSSTREAM_HEADERs per Irp, variable sized KSSTREAM_HEADERs per irp.
- Store the mapped virtual address not in the KSSTREAM_HEADER, as user programs will receive then invalid addresses
- Add checks whether this irp is for an sink pin or source pin
- Fix multiple bugs when the pin is looped buffer mode (How did this work before?)
- ReactOS portcls + WinXP now properly works with audio recording
[WDMAUD_KERNEL]
- Don't free associated stream header anymore
- Tested with VBox 3.2.10 + VmWare Player 3.1.2 + WinXP 

svn path=/trunk/; revision=49457
2010-11-03 11:16:33 +00:00
Aleksey Bragin
db762f8fa5 [TASKMGR]
- Fix Russian translation, by spb-ivan92.
See issue #5685 for more details.

svn path=/trunk/; revision=49456
2010-11-03 09:09:57 +00:00
Timo Kreuzer
6cfc0da40b [WIN32K]
Change all Init functions to be NTAPI instead of FASTCALL, return NTSTATUS, and be an INIT_FUNCTION (saving incredible 2k). Simplify the initialization sequence by using a simple macro. Delete a comment that is not true anymore.
Move some globals to appropriate file.

svn path=/trunk/; revision=49455
2010-11-03 00:51:19 +00:00
Timo Kreuzer
d63277525c [CMAKE]
- fix add_importlib_target
- fix win32dll entrypoint (we wouldn't need to specify one, if the one in mingw lib had enough underscores)

svn path=/branches/cmake-bringup/; revision=49453
2010-11-02 21:31:45 +00:00
Timo Kreuzer
42f5ff6943 [MINGW]
add CRTDLL definition so that the startup code for dlls is actually compiled

svn path=/branches/cmake-bringup/; revision=49452
2010-11-02 20:39:19 +00:00
Amine Khaldi
cc843688e5 [CMAKE]
- Minor formatting.

svn path=/branches/cmake-bringup/; revision=49451
2010-11-02 20:27:06 +00:00
Amine Khaldi
2f6d499617 [CMAKE]
- Move more dlls with no stubs into using def files instead of spec files.

svn path=/branches/cmake-bringup/; revision=49450
2010-11-02 20:23:56 +00:00
Amine Khaldi
79b73c825d [CMAKE]
- Move more dlls with no stubs into using def files instead of spec files.

svn path=/branches/cmake-bringup/; revision=49449
2010-11-02 19:58:29 +00:00
Amine Khaldi
67948fbc90 [CMAKE]
- Move some dlls with no stubs into using def files instead of spec files.

svn path=/branches/cmake-bringup/; revision=49448
2010-11-02 18:19:44 +00:00
Jérôme Gardou
fa36534888 [CMAKE]
Poor little gcc, forgotten by Timo

svn path=/branches/cmake-bringup/; revision=49447
2010-11-02 17:25:36 +00:00
Sir Richard
85e5b5be56 [NTOS]: Mark all initialization functions INIT_FUNCTION.
[NTOS]: This will save ~280KB of RAM once we dump INIT from RAM in a future patch.
[NTOS]: Display current free RAM at certain checkpoints.

svn path=/trunk/; revision=49445
2010-11-02 16:29:06 +00:00
Sir Richard
ee45da75e0 [NTOS]: Add page-tracking macro calls wherever needed. MI_TRACE_PFNS is still off, though, so this code won't be called.
svn path=/trunk/; revision=49444
2010-11-02 15:16:22 +00:00
Sir Richard
5f9569d3c5 [NTOS]: Define an array of MI_USAGE integers to track what a PFN is used for.
[NTOS]: Extend the MMPFN structure for ReactOS-specific PFN tracing mechanism.
[NTOS]: Add macros to track page usage and process/extra-data (not yet used).

svn path=/trunk/; revision=49443
2010-11-02 15:05:37 +00:00
Sir Richard
3163a7e933 [NTOS]: CR3 should be PDE_BASE, not PTE_BASE!
[NTOS]: Define DemandZeroPte.

svn path=/trunk/; revision=49442
2010-11-02 15:02:41 +00:00
Sir Richard
3a3d75946e [NTOS]: Misc typo and cleanup fixes.
svn path=/trunk/; revision=49441
2010-11-02 14:58:39 +00:00
Sir Richard
dae4714960 [NTOS]: Fix a bug in the MDL Code which would dereference a completely bogus page frame index.
svn path=/trunk/; revision=49440
2010-11-02 14:58:10 +00:00
Sir Richard
c7b69d59e3 [NTOS]: Fix a bug in MmFindGapBottomUp which could make it return an address lower than what the caller said should be the lowest address.
svn path=/trunk/; revision=49439
2010-11-02 14:50:06 +00:00
Sir Richard
36429c0a64 [NTOS]: You can't just set MDL_LOCKED_PAGES without actually... locking the page. Add a MmReferencePage when doing so, so when that a paging read/write IRP gets completed (and MmUnlockPages is called), the page gets handled correctly. Can now boot with 64MB RAM without ASSERTs.
[NTOS]: Fix one of the MDL code paths that isn't getting called frequently.

svn path=/trunk/; revision=49438
2010-11-02 14:46:46 +00:00
Sir Richard
55256a107f [NTOS]: ASSERT nobody tries to put ARM3 pages into the MC_USER LRU.
svn path=/trunk/; revision=49437
2010-11-02 14:42:08 +00:00
Sir Richard
72e1ab5fb8 [NTOS]: Assert nobody tries to touch the sharecount of a non-ARM3 page.
svn path=/trunk/; revision=49436
2010-11-02 14:41:51 +00:00
Sir Richard
4bdf7033a7 [NTOS]: Fix typos.
svn path=/trunk/; revision=49435
2010-11-02 14:41:29 +00:00
Sir Richard
8c212103be [NTOS]: Sanity checks when dealing with creating/cleaning process address space.
[NTOS]: Set the VmDeleted flag when the process address space is being nuked.

svn path=/trunk/; revision=49434
2010-11-02 14:41:03 +00:00
Sir Richard
f6fa150d19 [NTOS]: Make sure we don't get a user-pointer back from MmMapInSystemSpace.
svn path=/trunk/; revision=49433
2010-11-02 14:40:31 +00:00
Sir Richard
82ca671f14 [NTOS]: Remove merge artifact from newcc.
svn path=/trunk/; revision=49432
2010-11-02 14:40:07 +00:00
Sir Richard
893dc1fad1 [NTOS]: Protect Arty's changes with #ifdef NEWCC, otherwise this code ASSERTs and crashes as soon as a pageout operation is required. Since your advanced test/regression systems boot into configurations with 1GB+ RAM, you never even test these paths and one could put an ASSERT(FALSE) and you wouldn't even notice it (as proven).
svn path=/trunk/; revision=49431
2010-11-02 14:38:52 +00:00
Johannes Anderwald
c600a169fb [KSUSER, KS, SYSAUDIO]
- Make pin / node / allocator create requests compatible to ms by removing obsolete slash before object class
- Return correct error code in ksuser's KsCreatePin
- ReactOS KS is now able to create audio pins in Windows XP, though playback is not yet working
- All changes except ksuser change has been verified to work with VBox 3.2.10
- KS user changes not tested yet as KSStudio not working in trunk

svn path=/trunk/; revision=49428
2010-11-02 09:37:30 +00:00
Timo Kreuzer
2b2d3d2776 [CMAKE]
Rename add_importlib_def to add_importlib_target
add importlib targets for ntdll, msvcrt, shell32, user32

svn path=/branches/cmake-bringup/; revision=49427
2010-11-02 09:22:58 +00:00
Art Yerkes
f2e646d5b4 [CACHE]
The cache manager rewrite I started years ago has finally appeared in
ReactOS' trunk and although at this point it's not quite perfectly
integrated, it's enough to boot up the bootcd or livecd. To check out
the more mature original, check out arty-newcc-reactos, branch
arty-newcc on bitbucket.org . Amine Khaldi encouraged me quite a bit
to not give up on it, and was able to reach out and be an advocate
when i really wasn't able to.  Others agree that the time has come to
begin removing the old cache manager. I expect the remaining problems
in the version going to trunk will be taken care of relatively
quickly.

The motivation for this effort lies in the particularly hairy
relationship between ReactOS' cache manager and data sections. This
code completely removes page sharing between cache manager and section
and reimagines cache manager as being a facility layered on the memory
manager, not really caring about individual pages, but simply managing
data section objects where caching might occur.

It took me about 2 years to do the first pass of this rewrite and most
of this year to fix some lingering issues, properly implement demand
paging in ReactOS (code which didn't come with this patch in a
recognizable form), and finish getting the PrivateCacheMap and
SharedCacheMap relationship correct.

Currently, the new ntoskrnl/cache directory contains an own
implementation of data file sections. After things have settled down,
we can begin to deprecate and remove the parts of ReactOS' section
implementation that depend on a close relationship with cache
manager. Eventually, I think that the extra code added to
ntoskrnl/cache/section will be removed and ReactOS' own sections will
replace the use of the special MM_CACHE_SECTION_SEGMENT in the cache
path.

Note also, that this makes all cache manager (and new section parts)
use wide file offsets. If my section code were to take over other
parts of the ReactOS memory manager, they would also benefit from
these improvements.

I invite anyone who wants to to peek at this code and fix whatever
bugs can be found.


svn path=/trunk/; revision=49423
2010-11-02 02:32:39 +00:00
Timo Kreuzer
7697abf4a2 [WIN32K]
Disable GDI_DEBUG. It's using > 20 MB memory. Too much for some people ;-)

svn path=/trunk/; revision=49422
2010-11-02 01:17:45 +00:00
Timo Kreuzer
a3623f23de [CRT]
- Make all x86assembly ML compatible
- Remove memcpy, it was duplicated from memmove, copy the label instead
- Guard some code against compilation on msvc, as these functions are intrinsics on MSVC and cannot be implemented
- Fix some x64 assembly (don't modify stack below rsp)

svn path=/branches/cmake-bringup/; revision=49421
2010-11-02 00:06:33 +00:00
Timo Kreuzer
0d7a1c46a0 [ASM]
Fix dummy ASSUME

svn path=/branches/cmake-bringup/; revision=49420
2010-11-02 00:03:41 +00:00
Timo Kreuzer
62ea941082 [ASM]
Add .double macro for ML and dummy ASSUME macro for GAS
Allow XMM instructions for ML

svn path=/branches/cmake-bringup/; revision=49419
2010-11-01 23:18:51 +00:00
Jérôme Gardou
070543284f [CMAKE]
- improve win32k/CMakeLists.txt

svn path=/branches/cmake-bringup/; revision=49418
2010-11-01 22:55:56 +00:00
Johannes Anderwald
26895c3eac [PORTCLS]
- Portcls does not need to set the size of the audio buffer for completed irps. This is done in a completion callback in wdmaud. Verified with WinXP portcls
[WDMAUD_KERNEL]
- Free allocated mdls in the io completion routine. Also free the associated stream header.
[KS]
- Replace all ms portcls hacks by one. 
- MS Portcls is now working in ReactOS (which is nice for testing audio related bugs) 

svn path=/trunk/; revision=49417
2010-11-01 22:21:24 +00:00
Jérôme Gardou
a6e4c15192 [PSDK]
- add TrustedDomainAuthInformationInternal and TrustedDomainFullInformationInternalFix to _TRUSTED_INFORMATION_CLASS.
Fixes build

svn path=/trunk/; revision=49415
2010-11-01 20:55:11 +00:00
Timo Kreuzer
3187b69e40 [HAL]
Temporary build "fix"

svn path=/branches/cmake-bringup/; revision=49414
2010-11-01 19:11:27 +00:00
Timo Kreuzer
531b4e5a24 {ASM]
- Remove superfluous .code64
- Add some macros for MSVC

svn path=/trunk/; revision=49413
2010-11-01 18:48:40 +00:00
Jérôme Gardou
d933565eff [ASM]
- no ML doesn't mean 64 bits, right?

svn path=/branches/cmake-bringup/; revision=49412
2010-11-01 18:42:33 +00:00
Jérôme Gardou
eea40886f2 [DXSDK]
- an interface must have an uuid.
If it "conflicts with uuids.h", then the problem il elsewhere.

svn path=/branches/cmake-bringup/; revision=49411
2010-11-01 18:24:17 +00:00
Johannes Anderwald
63a4962e7c [PORTCLS]
- Dear lawyers / worried developers, this is the XP DDK Version. 

svn path=/trunk/; revision=49410
2010-11-01 17:33:06 +00:00
Jérôme Gardou
887046a6ee [CMAKE]
- build msvc importlibs explicitly from def file
  - circumvent lack of pseh lib in MSVC.
  - fix advapi32.def

svn path=/branches/cmake-bringup/; revision=49409
2010-11-01 17:24:32 +00:00
Timo Kreuzer
18dd356710 [HAL]
Make systimer.S ML compatible. Replace most hardcoded numerical values with proper symbolic constants.

svn path=/branches/cmake-bringup/; revision=49408
2010-11-01 16:42:53 +00:00
Timo Kreuzer
23ade33f3e [CMAKE]
set custom command to compile asm files for MSVC toolchain. They are being preprocessed first.

svn path=/branches/cmake-bringup/; revision=49407
2010-11-01 16:40:30 +00:00
Jérôme Gardou
7f39320ea9 [CMAKE]
- put advapi32.def into source files.

svn path=/branches/cmake-bringup/; revision=49406
2010-11-01 16:32:32 +00:00
Timo Kreuzer
f2fd276358 [CMAKE]
When PreLoad.cmake is run, the CMAKE_CURRENT_SOURCE_DIR points to the directory, where the cmake command was executed (bug?). To get the root folder of reactos, use CMAKE_CURRENT_LIST_FILE, which points to PreLoad.cmake in the root folder.

svn path=/branches/cmake-bringup/; revision=49405
2010-11-01 15:15:02 +00:00
Eric Kohl
45f49f49a4 [ADVAPI32]
Implement LsaAddAccountRights(), LsaQueryTrustedDomainInfoByName() and LsaRemoveAccountRights().

svn path=/trunk/; revision=49403
2010-11-01 14:09:33 +00:00
Jérôme Gardou
85f6dd0d60 [CMAKE]
- fix build, sorry

svn path=/branches/cmake-bringup/; revision=49402
2010-11-01 14:05:48 +00:00
Johannes Anderwald
92caa24fa4 [PORTCLS]
- Add license header

svn path=/trunk/; revision=49401
2010-11-01 13:23:15 +00:00
Eric Kohl
fbd13b3b7b [SETUPAPI]
Implement CM_Get_Device_ID_List_ExW().

svn path=/trunk/; revision=49400
2010-11-01 12:39:51 +00:00
Timo Kreuzer
89358dad46 [RTL]
Make asm files ML compatible

svn path=/branches/cmake-bringup/; revision=49399
2010-11-01 11:41:01 +00:00
Timo Kreuzer
cf02eb354a [CMAKE]
Add missing dependencies for MSVC add_importlibs

svn path=/branches/cmake-bringup/; revision=49398
2010-11-01 09:39:53 +00:00
Timo Kreuzer
415f19bb99 [NTDLLSYS]
Set LINKER_LANGUAGE to C. Neccessary for MSVC.

svn path=/branches/cmake-bringup/; revision=49397
2010-11-01 09:39:06 +00:00
Jérôme Gardou
accc078cea [CMAKE]
- put ntdll.def in source files

svn path=/branches/cmake-bringup/; revision=49396
2010-11-01 09:32:04 +00:00
Timo Kreuzer
431cc33a5a [NTDLL]
- Convert the pspec to spec and use it
- add add_importlib_target

svn path=/branches/cmake-bringup/; revision=49395
2010-11-01 08:58:18 +00:00
James Tabor
3fbc8a9077 [Explorer] - Revert last change.
svn path=/trunk/; revision=49394
2010-11-01 03:21:52 +00:00
James Tabor
4fb4d86702 [Explorer] - Track the only Global Hook ReactOS has.
svn path=/trunk/; revision=49393
2010-11-01 03:10:59 +00:00
James Tabor
4e5c48aaaf [Win32k] - Track end of life thread when removing hooks.
svn path=/trunk/; revision=49392
2010-11-01 01:56:07 +00:00
Jérôme Gardou
9db2f953c2 [CMAKE]
- improve ntoskrnl/CMakeLists.txt

svn path=/branches/cmake-bringup/; revision=49391
2010-11-01 01:23:17 +00:00
Jérôme Gardou
9abab8be5e [CMAKE]
- add sermouse and kbdfr to live and boot cd
  - improve kbdclass, mouclass and i8042prt build files

svn path=/branches/cmake-bringup/; revision=49390
2010-11-01 00:54:15 +00:00
Johannes Anderwald
326f161b42 [PORTCLS]
- Add MPU-401 Uart miniport driver from DDK 2003 sample

svn path=/trunk/; revision=49389
2010-11-01 00:26:59 +00:00
Johannes Anderwald
dc4a3fbbe2 [DDK]
- Add dmusprop header
- Add IMP_PowerNotify macro to portcls.h
- Add IID_IMusicTechnology guid to portcls.h
- Add GTI_XXX macros to portcls.h
- Remove broken definitions of KSPROPSETID_Synth, KSPROPSETID_Synth_Dls. They are defined in dmusprop.h
- Add KSDATARANGE_MUSIC to ksmedia.h
- Add KSMUSIC_TECHNOLOGY, KSDATAFORMAT_SUBTYPE_MIDI_BUS, KSAUDFNAME_MIDI, KSNODETYPE_SYNTHESIZER to ksmedia.h

svn path=/trunk/; revision=49388
2010-11-01 00:17:07 +00:00
Jérôme Gardou
c5b6b76033 [CMAKE]
- add 3rdparty dlls to boot and live cd
  - use gdi32 spec file
  - mark user32.def as EXTERNAL_OBJECT

svn path=/branches/cmake-bringup/; revision=49387
2010-11-01 00:04:46 +00:00
James Tabor
93b73bb489 [Win32k] - Lock thread when removing hooks.
svn path=/trunk/; revision=49386
2010-10-31 23:42:37 +00:00
Jérôme Gardou
a305f84916 [CMAKE]
- fix libxslt build

svn path=/branches/cmake-bringup/; revision=49384
2010-10-31 23:19:12 +00:00
Jérôme Gardou
adbabf12ed [CMAKE]
- fix classpnp compilation.
Thanks go to lassy to explain me why this didn't work before.

svn path=/branches/cmake-bringup/; revision=49383
2010-10-31 22:46:22 +00:00
Jérôme Gardou
8e61f006a7 [CMAKE]
- improve class2 build file
  - set EXTERNAL_OBJECT properties to ntdll def file

svn path=/branches/cmake-bringup/; revision=49382
2010-10-31 22:41:31 +00:00
Amine Khaldi
cce222beed [CMAKE]
- Improve ntdll.

svn path=/branches/cmake-bringup/; revision=49381
2010-10-31 22:38:10 +00:00
Jérôme Gardou
a6524961b3 [CMAKE]
- cmake handles gracefully def files if you tell him to do ;-)
  - partial revert of an (accidental?) kernel32 change

svn path=/branches/cmake-bringup/; revision=49380
2010-10-31 22:15:35 +00:00
Timo Kreuzer
1ddb50ec34 [KERNEL32]
Include English resource file first, escape certain characters for MSVC compatibility.
"Should be sent to wine"(tm)

svn path=/branches/cmake-bringup/; revision=49379
2010-10-31 21:56:17 +00:00
Timo Kreuzer
29207fa8b2 [KERNEL32]
Rename pspec to spec, fix a comment, remove a #define and use it instead of the def file

svn path=/branches/cmake-bringup/; revision=49378
2010-10-31 18:18:35 +00:00
Timo Kreuzer
ee10c4c2c7 [CMAKE]
Implement add_importlib_target macro to build importlibs for MSVC. We can't use MSVC's libraries, as they are incomplete.
gcc version does nothing.

svn path=/branches/cmake-bringup/; revision=49377
2010-10-31 17:31:05 +00:00
Johannes Anderwald
bafe662783 [MMIXER]
- Enumerate MIDI devices and provide all necessary functions to deal with them
[WDMAUD_KERNEL]
- Implement support functions which call the provided functions of mmixer library
- Fix a bug in device interface request ioctl handler
- Midi devices should now be visible, capabilities be retrieved and opened / close
- Writing data is not yet supported

svn path=/trunk/; revision=49376
2010-10-31 14:34:41 +00:00
Timo Kreuzer
e25c1a8cee [FIND]
MSVC compatability: Properly escape quotes in string tables ("", not \")

svn path=/branches/cmake-bringup/; revision=49375
2010-10-31 13:38:58 +00:00
Johannes Anderwald
5dd7b0178c [MMEBUDDY]
- Getting device capabilities requires the unicode version of the structure
- Implement MIDM_OPEN, MIDM_CLOSE, MIDM_START, MIDM_STOP
- Implement MODM_OPEN, MODM_CLOSE
- Refactor MmeOpenWaveDevice into MmeOpenDevice add add support MIXER_DEVICE_TYPE, MIDI_IN_DEVICE_TYPE, MIDI_OUT_DEVICE_TYPE
- Refactor MmeCloseWaveDeivce into MmeCloseDevice and add support MIXER_DEVICE_TYPE, MIDI_IN_DEVICE_TYPE, MIDI_OUT_DEVICE_TYPE

svn path=/trunk/; revision=49374
2010-10-31 13:20:11 +00:00
Jérôme Gardou
b3346b150f revert 49345 as requested by ros arm team.
svn path=/branches/cmake-bringup/; revision=49373
2010-10-31 10:42:40 +00:00
Johannes Anderwald
c2e15397cc [SHELL32]
- Enable code as we support now IOCTL_DISK_GET_LENGTH_INFO
- IOCTL_DISK_GET_LENGTH_INFO implemented in 49369

svn path=/trunk/; revision=49372
2010-10-31 10:09:55 +00:00
Eric Kohl
18ab208eeb [SERVICES]
Revert r49366.

svn path=/trunk/; revision=49371
2010-10-31 10:00:21 +00:00
Timo Kreuzer
d1dfa87850 [CMAKE]
Fix a typo

svn path=/branches/cmake-bringup/; revision=49370
2010-10-31 09:16:35 +00:00
Pierre Schweitzer
3b08424abb [DISK]
Implemented support for IOCTL_DISK_GET_LENGTH_INFO

svn path=/trunk/; revision=49369
2010-10-31 08:13:33 +00:00
Johannes Anderwald
0fefcc022b [PORTCLS]
- Revert 49356
- This change breaks portcls on WinXP

svn path=/trunk/; revision=49368
2010-10-30 23:17:34 +00:00
Amine Khaldi
a2e649110b [CMAKE]
- "cmake gracefully handles def files as source files" You mean it gracefully ignores them, right ?
- Fix the kernel and class2 exports. More to come.
- Fix imaadp32.acm

svn path=/branches/cmake-bringup/; revision=49367
2010-10-30 22:03:40 +00:00
Eric Kohl
1917d1c595 Merge ScmControlService() and ScmSendStartCommand() into ScmSendServiceCommand().
svn path=/trunk/; revision=49366
2010-10-30 19:25:23 +00:00
Amine Khaldi
5afba1c7f7 [CMAKE]
- Fix mshtml.tlb

svn path=/branches/cmake-bringup/; revision=49365
2010-10-30 17:45:01 +00:00
Cameron Gutman
d4bd38df22 [REGEDIT]
- Fix a bug causing registry entries with names containing a backslash to be displayed incorrectly

svn path=/trunk/; revision=49364
2010-10-30 17:41:51 +00:00
Sylvain Petreolle
10abd192d4 [CMAKE]
Leftover from 49358.

svn path=/branches/cmake-bringup/; revision=49363
2010-10-30 17:37:44 +00:00
Jérôme Gardou
2e3d2c189b [CMAKE]
- leftover from r49358

svn path=/branches/cmake-bringup/; revision=49362
2010-10-30 17:05:21 +00:00
Sylvain Petreolle
810a1ec99c [CMAKE]
Add boot drivers to reactos.cab.

svn path=/branches/cmake-bringup/; revision=49361
2010-10-30 16:44:31 +00:00
Timo Kreuzer
a4b48e3576 [WIN32K]
Fix a bug in InitVideo: when looping through the adapters, reinitialize the cbValue before querying the registry.
Also handle failure.

svn path=/trunk/; revision=49360
2010-10-30 16:34:52 +00:00
Amine Khaldi
61ea2fc187 [CMAKE]
- Leftover from the previous commit.

svn path=/branches/cmake-bringup/; revision=49359
2010-10-30 16:24:35 +00:00
Jérôme Gardou
4ee1da42f1 [CMAKE]
- rewrite spec2def macro because
1. cmake gracefully handles def files as source files
2. cmake gracefully handles autogenerated files as source
3. it did not take into account the fact that all shared libraries haven't the .dll extension

svn path=/branches/cmake-bringup/; revision=49358
2010-10-30 16:08:19 +00:00
Jérôme Gardou
ddc4718357 [CMAKE]
- add ntdll to reactos.cab

svn path=/branches/cmake-bringup/; revision=49357
2010-10-30 16:03:40 +00:00
Johannes Anderwald
951c6f7fa3 [PORTCLS]
- Do not leak KSSTREAM_HEADER (48 bytes) for each IOCTL_KS_WRITE_STREAM / IOCTL_KS_READ_STREAM request
- Audio stack should now leak less memory

svn path=/trunk/; revision=49356
2010-10-30 15:40:54 +00:00
Johannes Anderwald
92563c84b9 [WDMAUD_KERNEL]
- Unlock locked pages before freeing the mdl
- Fixes assertion hit 'Assertion 'OldRefCount < 2500' failed at ARM³::MDLSUP line 1008'
- Fixes playback / recording of longer audio files

svn path=/trunk/; revision=49355
2010-10-30 15:15:22 +00:00
Sylvain Petreolle
fb307fc436 [CMAKE]
Fix livecd regression.

svn path=/branches/cmake-bringup/; revision=49354
2010-10-30 13:15:33 +00:00
Amine Khaldi
e943f1f3b2 [CMAKE]
- Create folders in single calls.
- Apply a consistent formatting.

svn path=/branches/cmake-bringup/; revision=49353
2010-10-30 13:07:15 +00:00
Jérôme Gardou
d60adaf6d7 revert unwanted change
svn path=/branches/cmake-bringup/; revision=49352
2010-10-30 13:04:29 +00:00
Jérôme Gardou
fda2e2e4f8 [CMAKE]
- add explorer-cfg-template.xml to livecd and bootcd
  - add idndl.dll to livecd

svn path=/branches/cmake-bringup/; revision=49351
2010-10-30 12:51:21 +00:00
Jérôme Gardou
5647d2cd6a [CMAKE]
- improve reactos.dff generation
  - rename reactos.dff reactos.dff.in to mark this is an input file.
This is THE file you'd have to edit for slipstreaming, adding binary files, whatever you usually like to do with reactos.dff

svn path=/branches/cmake-bringup/; revision=49349
2010-10-30 11:51:13 +00:00
Sylvain Petreolle
1c93be12da [CMAKE]
scrnsave: add missing dependency.

svn path=/branches/cmake-bringup/; revision=49348
2010-10-30 10:16:42 +00:00
Jérôme Gardou
fd5ef6b1c1 [CMAKE]
- add macros add_cab and add_cab_target to add files to reactos.dff
  - add bootcd target
  - make use of these macros to create bootcd and livecd
Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!!

svn path=/branches/cmake-bringup/; revision=49347
2010-10-30 09:53:53 +00:00
Jérôme Gardou
7ee0c086fc [CMAKE]
- jscript requires stdole2.tlb

svn path=/branches/cmake-bringup/; revision=49346
2010-10-30 09:22:55 +00:00
Jérôme Gardou
5e9036e712 [CLASSPNP]
- fix a whole bunch of function prototype. (how does t even work in trunk?)
[CMAKE]
  - add classpnp.sys to build

svn path=/branches/cmake-bringup/; revision=49345
2010-10-30 00:03:28 +00:00
Sylvain Petreolle
e617cbf750 [CMAKE]
Add dll/cpl and dll/3rdparty modules to build.

svn path=/branches/cmake-bringup/; revision=49344
2010-10-29 21:47:35 +00:00
Sylvain Petreolle
988a0bb06f [TIMEDATE]
Fix French translation.

svn path=/trunk/; revision=49343
2010-10-29 21:16:05 +00:00
Gregor Schneider
2b2307cae4 [CRT] Remove empty file
svn path=/trunk/; revision=49342
2010-10-29 18:18:54 +00:00
Jérôme Gardou
52fa287f57 [CMAKE]
- add libcabinet.a

svn path=/branches/cmake-bringup/; revision=49341
2010-10-29 18:16:37 +00:00
Johannes Anderwald
8de36e1611 - Remove obsolete code
- Thanks to Amine

svn path=/trunk/; revision=49340
2010-10-29 13:47:19 +00:00
Sylvain Petreolle
2be091d196 [CMAKE]
Enable auto import.

svn path=/branches/cmake-bringup/; revision=49339
2010-10-29 12:27:26 +00:00
Timo Kreuzer
788c89ca8b [WIN32K]
Fix possible use of uninitialized variable. Spotted by Amine.


svn path=/trunk/; revision=49338
2010-10-29 09:31:54 +00:00
Johannes Anderwald
363873b407 [PORTCLS]
- Fix stupid bug which lead to access an invalid buffer.
- dedicated to igorko

svn path=/trunk/; revision=49337
2010-10-29 01:09:13 +00:00
Johannes Anderwald
4995df02c5 - Fix mdl probe access rights
svn path=/trunk/; revision=49336
2010-10-29 00:41:06 +00:00
Johannes Anderwald
ed04f3bb51 - remove rtl dependency
- thanks to mephisto!

svn path=/trunk/; revision=49335
2010-10-28 23:33:50 +00:00
Sylvain Petreolle
c5e8d03038 [CMAKE]
Add remaining base/applications modules, except sndrec32.
wordpad resources fixes will be submitted upstream.

svn path=/branches/cmake-bringup/; revision=49334
2010-10-28 22:16:07 +00:00
Sylvain Petreolle
240f4f6f73 [CMAKE]
Cant' have comments in mc files.

svn path=/branches/cmake-bringup/; revision=49333
2010-10-28 22:10:10 +00:00
Aleksey Bragin
0b6aeda1ed Roel Messiant:
- Heap corruption fixes.

svn path=/trunk/; revision=49332
2010-10-28 22:08:18 +00:00
Giannis Adamopoulos
7f008d8e60 [win32k]
message.c:
- Don't use RETURN macro
- Correctly use SEH. Use _SEH2_YIELD

svn path=/trunk/; revision=49331
2010-10-28 17:14:29 +00:00
Jérôme Gardou
8da36b0412 [CMAKE]
- add vgafonts cab file to build

svn path=/branches/cmake-bringup/; revision=49330
2010-10-28 16:36:49 +00:00
Jérôme Gardou
c386b94d62 [CMAKE]
- add spider and winmine to build

svn path=/branches/cmake-bringup/; revision=49327
2010-10-28 12:53:07 +00:00
Jérôme Gardou
8d49ee6f51 [CMAKE]
- simplify dxsdk

svn path=/branches/cmake-bringup/; revision=49326
2010-10-28 12:37:56 +00:00
Amine Khaldi
34134f4cfa [CMAKE]
- More work on the missing modules. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49325
2010-10-28 11:33:02 +00:00
Timo Kreuzer
a84fd28122 [FORMATTING]
- Replace big file header with small header
- apply consistent indentation of 4 spaces

svn path=/trunk/; revision=49324
2010-10-28 08:15:41 +00:00
Jérôme Gardou
ed8cab27c4 sync with trunk r49322
svn path=/branches/cmake-bringup/; revision=49323
2010-10-27 23:45:28 +00:00
Timo Kreuzer
f69973e1e6 [NTOSKRNL]
- Add IoWMIDeviceObjectToProviderId and IoIs32bitProcess stubs for 64bit builds
- Comment out some deprecated amd64 code
- Add MmProtectToValue
- Fix a typo

svn path=/trunk/; revision=49322
2010-10-27 22:58:23 +00:00
Sylvain Petreolle
c5b7494a04 [CMAKE]
Export cabman as native tool.

svn path=/branches/cmake-bringup/; revision=49321
2010-10-27 22:43:04 +00:00
Jérôme Gardou
90fdc2da9a [CMAKE]
- qedit depends on dxsdk

svn path=/branches/cmake-bringup/; revision=49319
2010-10-27 22:39:48 +00:00
Amine Khaldi
2cfaec97b3 [CMAKE]
- Improve win32k

svn path=/branches/cmake-bringup/; revision=49318
2010-10-27 22:27:16 +00:00
Jérôme Gardou
f9b79bf9fc [CMAKE]
- Downgrade a warning to a status, so this is not too intrusive

svn path=/branches/cmake-bringup/; revision=49317
2010-10-27 22:25:35 +00:00
Johannes Anderwald
28b8adb2ee - remove debug prints
- dedicated to christoph

svn path=/trunk/; revision=49316
2010-10-27 21:12:44 +00:00
Sylvain Petreolle
b1e9d4a2df [WLANSVC]
Fix MIDL_user_allocate prototype.
Dedicated to zefklop.

svn path=/branches/cmake-bringup/; revision=49315
2010-10-27 20:50:14 +00:00
Timo Kreuzer
6e7b4722d6 [CLASSPNP]
Fix a typo in the spec file

svn path=/trunk/; revision=49314
2010-10-27 20:40:59 +00:00
Giannis Adamopoulos
97a11cb468 [FORMATTING]
- Fix formatting in message.c

svn path=/trunk/; revision=49313
2010-10-27 20:31:17 +00:00
Timo Kreuzer
8e45fe3079 [basetsd.h]
add POINTER_SIGNED, POINTER_UNSIGNED, SPOINTER_32, UPOINTER_32

svn path=/trunk/; revision=49312
2010-10-27 20:14:15 +00:00
Timo Kreuzer
41d4321928 [CLASSPNP]
Convert to spec

svn path=/trunk/; revision=49311
2010-10-27 20:13:06 +00:00
Timo Kreuzer
1c363f5fbe [WIN32K]
Improve the code to enumerate monitors.
- Don't use custom MIN / MAX / ABS macros
- Calculate distance by r^2 = x^2 + y^2
- Use RECTL_bIntersectRect instead of code duplication
- Fix possible NULL pointer dereference
- pass bottom-right exclusive rect to IntGetMonitorsFromRect from NtUserMonitorFromPoint
- Don't handle MONITOR_DEFAULTTOPRIMARY and MONITOR_DEFAULTTONEAREST twice
- Use unsigned variables for unsigned values
- Don't check the result of a UINT returning function for < 0
- Improve readability

svn path=/trunk/; revision=49310
2010-10-27 17:16:11 +00:00
Timo Kreuzer
72f80d0c80 [WIN32K]
Fix possible NULL pointer dereferences. Spotted by Amine Khaldi.

svn path=/trunk/; revision=49309
2010-10-27 17:08:40 +00:00
Timo Kreuzer
7dbcf100d3 [FORMATTING]
- Apply consistent indentation of 4 spaces and ansi style formatting.
- Remove the long GPL header

svn path=/trunk/; revision=49308
2010-10-27 15:59:48 +00:00
Jérôme Gardou
b2f64ac552 Sync with trunk (r49303)
svn path=/branches/cmake-bringup/; revision=49307
2010-10-27 15:52:24 +00:00
Sylvain Petreolle
5644ab604d [CMAKE]
Improve minicd and livecd macros.
Files and iso images are updated/cleaned without any manual steps.

svn path=/branches/cmake-bringup/; revision=49306
2010-10-27 14:06:40 +00:00
Jérôme Gardou
ef1e9cefa1 [CMAKE]
- use baseaddresses for dlls

svn path=/branches/cmake-bringup/; revision=49305
2010-10-27 14:00:51 +00:00
Timo Kreuzer
08810169e7 [WIN32K]
Fix possible NULL pointer dereference. Spotted by Amine Khaldi.

svn path=/trunk/; revision=49303
2010-10-27 12:51:32 +00:00
Aleksey Bragin
58781041d7 [NTOS/MM]
- Don't access pfn database directly, there is a function for this. Thanks sir_richard.

svn path=/trunk/; revision=49302
2010-10-27 09:58:18 +00:00
James Tabor
f605d2c596 [Win32k|User32]
- Fix for DosBOX. See bug 5670 for more details. Added more data copies in user32 hook.c.

svn path=/trunk/; revision=49301
2010-10-27 01:56:56 +00:00
James Tabor
851c1c1742 [User32] - Fix an over site and copy the return data back to the kernel.
svn path=/trunk/; revision=49300
2010-10-27 00:03:41 +00:00
Jérôme Gardou
b7ce9b13b4 [CMAKE]
- remove unnecessary linkage

svn path=/branches/cmake-bringup/; revision=49299
2010-10-26 23:38:28 +00:00
Jérôme Gardou
f78d6fc1e2 [RPCRT4]
- Fix build

svn path=/branches/cmake-bringup/; revision=49298
2010-10-26 22:07:36 +00:00
Jérôme Gardou
5bc7ffddc4 [PSDK]
- remove GCC special flag, as it has no reason to exist. Thanks go to Timo for having tested this.

svn path=/branches/cmake-bringup/; revision=49297
2010-10-26 21:57:12 +00:00
Aleksey Bragin
07cd3fc8d0 [NTOS/MM]
- Don't lie about page protection in MiQueryAddressState. Fixes PDFCreator-alike bugs.
See issue #5627 for more details.

svn path=/trunk/; revision=49296
2010-10-26 21:34:52 +00:00
Jérôme Gardou
252350f815 [WIN32 DLLS]
- fix MIDL_user_allocate once and for all

svn path=/branches/cmake-bringup/; revision=49295
2010-10-26 18:58:46 +00:00
Jérôme Gardou
3714ca7137 [PSDK]
- fix definition of MIDL_STUB_DESC

svn path=/branches/cmake-bringup/; revision=49294
2010-10-26 18:43:25 +00:00
Jérôme Gardou
f2537e5a3e [SERVICES]
- fix definition of midl_user_allocate, RQueryServiceConfigW and RQueryServiceConfigA

svn path=/branches/cmake-bringup/; revision=49293
2010-10-26 18:39:27 +00:00
Jérôme Gardou
4633d81b0a [UMPNPMGR]
- Fix definition of midl_user_allocate

svn path=/branches/cmake-bringup/; revision=49292
2010-10-26 18:38:03 +00:00
Jérôme Gardou
db8bb8c054 [CMAKE]
- rpcss depends on winesdk
[RPCSS]
  - fix declaration of MIDL_user_allocate

svn path=/branches/cmake-bringup/; revision=49291
2010-10-26 18:30:13 +00:00
Jérôme Gardou
b52b88ac96 [CMAKE]
- fix typo

svn path=/branches/cmake-bringup/; revision=49290
2010-10-26 18:01:37 +00:00
Jérôme Gardou
06537a6ad4 [CMAKE]
- midl support for building rpc server/client libraries

svn path=/branches/cmake-bringup/; revision=49289
2010-10-26 17:42:02 +00:00
Jérôme Gardou
cfbe481dc6 [WLANSVC]
- Fix wlansvc.idl for parsing with midl

svn path=/branches/cmake-bringup/; revision=49288
2010-10-26 17:36:57 +00:00
Jérôme Gardou
f22a9e6956 [CMAKE]
- WINNT isn't defined, don't redefine it. Pointed by Usurp.

svn path=/branches/cmake-bringup/; revision=49287
2010-10-26 17:23:00 +00:00
Jérôme Gardou
7c02a12b82 [SVCCTL]
- fix parsing of svcctl.idl with midl

svn path=/branches/cmake-bringup/; revision=49286
2010-10-26 17:20:00 +00:00
Jérôme Gardou
1537d3b259 [CMAKE]
- redefine _WIN32_WINNT too for building pnp rpc client and server libs

svn path=/branches/cmake-bringup/; revision=49285
2010-10-26 17:06:39 +00:00
Jérôme Gardou
85659d3f75 [LSARPC]
- define right interface in lsa.acf

svn path=/branches/cmake-bringup/; revision=49284
2010-10-26 16:55:46 +00:00
Jérôme Gardou
e829b4d212 [EVENTLOG]
- Correct definition of midl_user_allocate

svn path=/branches/cmake-bringup/; revision=49283
2010-10-26 16:36:25 +00:00
Jérôme Gardou
ec1e12e566 [PSDK]
- Add MIDL_user_allocate and MIDL_user_free definitions
  - #ifdef a GCC hack

svn path=/branches/cmake-bringup/; revision=49281
2010-10-26 16:01:08 +00:00
Johannes Anderwald
4434b6bf69 [PORTCLS]
- Disable driver specific filter / pin / node property handlers until bug leading to crashes has been found

svn path=/trunk/; revision=49280
2010-10-26 15:19:14 +00:00
Jérôme Gardou
ab5836ad90 [CMAKE - MSC]
- Add set_image_base macro
  - add psdk and buildno dependencies to modules

svn path=/branches/cmake-bringup/; revision=49279
2010-10-26 07:31:04 +00:00
James Tabor
4588fc7dc5 [Win32k|User32]
- Add fix for KsStudio for Olaf Siejka and debug prints for WH_KEYBOARD_LL. See bug 5670 for more details.

svn path=/trunk/; revision=49278
2010-10-26 06:24:50 +00:00
Aleksey Bragin
f46ca6e613 [NTOS/MM]
- Handle various special cases in NtQueryVirtualMemory (e.g. querying illegal virtual addresses, shared memory area, etc). Example of an app doing this - OllyDbg.

svn path=/trunk/; revision=49277
2010-10-25 20:50:45 +00:00
Daniel Reimer
71ab4ed50f Update rapps database.
svn path=/trunk/; revision=49276
2010-10-25 20:08:50 +00:00
Timo Kreuzer
684c3d3791 [YAROTOWS] Reintegrate the branch. For a brighter future.
Main features:
- Implement LDEVOBJ api. Responsible for loading dlls (display drivers, font drivers, keyboard layout, etc), replacing code in different locations.
- Implement PDEVOBJ api. A PDEVOBJ represents a physical device and is the core component for handling multiple display devices.
- Rewrite device locking. The new method was neccessary to allow dynamic mode switching.
- Implement support for enumerating display devices and settings.
- Implement dynamic mode switching.
- Implement a number of Eng mapping functions.
- Rewrite Eng level surface handling for cleaner code and better compatability.
- Rewrite parts of the DIB handling code.
- Rewrite DC creation and deletion. Deletion and cleanup is now completely callback based. Now we don't leak the DC objects when terminating a process, like we did before.
- Improve the XLATE and BRUSH code, removing several old hacks.
- Improve icon code.

Thanks to Jerome Gardou, Kamil Hornicek and everyone helping.

svn path=/trunk/; revision=49275
2010-10-25 17:36:27 +00:00
Timo Kreuzer
7a2f3e30fc Merge trunk head (r49270)
svn path=/branches/reactos-yarotows/; revision=49272
2010-10-25 15:26:06 +00:00
Timo Kreuzer
8a28b85f48 [WIN32K]
Silence and improve a DPRINT

svn path=/branches/reactos-yarotows/; revision=49271
2010-10-25 15:05:33 +00:00
James Tabor
f5258132f4 [Win32k]
- Do not override WH_JOURNALPLAYBACK results if zero.

svn path=/trunk/; revision=49270
2010-10-25 02:51:09 +00:00
James Tabor
4f65bd047d [Win32k]
- Fix typos found by Mephisto on IRC, also add some debug prints in SetWindowsHookEx to see what hooks are installed. 

svn path=/trunk/; revision=49269
2010-10-25 01:37:14 +00:00
James Tabor
ba351010ec [User32]
- One more leftover to add. Now we test for both Local and Global hooks in user32. This will force any message sent to win32k if there are any Global hookers so we loose in performance. We need to rethink our usage of these Global hookers in our code.

svn path=/trunk/; revision=49268
2010-10-25 00:15:35 +00:00
Kamil Hornicek
a5a3c1563c [WIN32K]
Simplify the RLE hack and avoid code duplication.
Bail out of UserEnumDisplaySettings early in case invalid ModeNum was requested.
Use default BPP value in UserChangeDisplaySettings if DM_BITSPERPEL is not set. Partially fixes "fullscreen issue" as described on the yarotows wiki page.
Remove some unused variables + misc cleanup.

svn path=/branches/reactos-yarotows/; revision=49267
2010-10-24 23:40:23 +00:00
Timo Kreuzer
c5880b6a1c [WIN32K]
- Rewrite InitVideo
- Move registry functions to the appropriate file
- Silence some DPRINTs

svn path=/branches/reactos-yarotows/; revision=49266
2010-10-24 23:32:18 +00:00
Kamil Hornicek
a2e78394d2 [WIN32K]
Set proper flags and masks in BuildDIBPalette. Set PAL_BGR for 24/32 BPP in AllocPalette. Rename Mode to Flags to better reflect its usage. Fixes "red icons" and dibtest.

svn path=/branches/reactos-yarotows/; revision=49265
2010-10-24 22:52:50 +00:00
Kamil Hornicek
6237a1d524 [WIN32K]
Follow-up to r48681. Fixes text on disabled controls.

svn path=/branches/reactos-yarotows/; revision=49264
2010-10-24 22:51:51 +00:00
Sylvain Petreolle
394ca95775 [CMAKE]
Use msvc friendly macro.
Add network drivers to livecd.

svn path=/branches/cmake-bringup/; revision=49263
2010-10-24 21:19:00 +00:00
Sylvain Petreolle
9fad2797d5 [CMAKE]
Add network applications to build and livecd.

svn path=/branches/cmake-bringup/; revision=49262
2010-10-24 21:07:56 +00:00
Aleksey Bragin
9bfee86717 [N[NTOS/MM]
- Initialize Found to FALSE in NtQueryVirtualMemory. I wonder how GCC missed uninitialized var usage?
- Implement case when NtQueryVirtualMemory is called with non-existing virtual address.
See issue #3755 for more details.

svn path=/trunk/; revision=49261
2010-10-24 20:02:04 +00:00
Sylvain Petreolle
0ef2d803bf [CMAKE]
Fix winspool loading.

svn path=/branches/cmake-bringup/; revision=49260
2010-10-24 15:03:07 +00:00
Eric Kohl
4cb29716d1 [SERVICES]
RControlService: Check the current state before sending a control request.

svn path=/trunk/; revision=49259
2010-10-24 13:48:11 +00:00
Amine Khaldi
8c7563f645 [CMAKE]
- Add set_image_base macro.
- Fix ks linking.

svn path=/branches/cmake-bringup/; revision=49258
2010-10-24 12:44:36 +00:00
Timo Kreuzer
2eb1b02bc0 [WIN32K]
Fix possible NULL pointer free. Fixes solitaire.

svn path=/branches/reactos-yarotows/; revision=49257
2010-10-24 11:57:02 +00:00
Cameron Gutman
3a7694182b [HAL]
- Fix a broken loop that resulted in us registering the resources of multiple COM ports as our KD port
- Fixes bug #5530

svn path=/trunk/; revision=49256
2010-10-24 10:48:10 +00:00
Cameron Gutman
f7f4cae9ba [HAL]
- HalpEnableInterruptHandler: Set the IDT_LATCHED flag if the caller requested a latched interrupt

svn path=/trunk/; revision=49255
2010-10-24 10:28:15 +00:00
Eric Kohl
7d6c0f7918 [SERVICES]
- Use new handle check functions in RCloseServiceHandle().
- RControlService: Check if a control request is acceptable for a user mode service before sending it to the service.

svn path=/trunk/; revision=49253
2010-10-24 09:21:37 +00:00
Cameron Gutman
7d9a1e9f3b [NTOSKRNL]
- Fix a critical bug in the conflict detection code
- Don't unconditionally skip conflict detection for shared resources, instead it should be done on a descriptor-by-descriptor basis (if both descriptors are shared)
- This check wasn't removed when I initially wrote this code and added the proper check below

svn path=/trunk/; revision=49252
2010-10-24 09:05:17 +00:00
Cameron Gutman
58a93c730c [PNPMGR]
- Check that we got a valid vector back from HAL when translating an interrupt resource
- Add some debugging messages for failure paths in device resource handling code

svn path=/trunk/; revision=49251
2010-10-24 06:16:35 +00:00
James Tabor
24acd670a4 [Win32k]
- Fix an exception when set condition * first always is used then moving the mouse. There seems to be an initialization issue (The Init Bug) and not setting a desktop.

svn path=/trunk/; revision=49250
2010-10-24 04:36:45 +00:00
Cameron Gutman
5958a4e877 [NTOSKRNL]
- Partially implement IoAssignResources so that it creates a non-conflicting resource list from the requirements but it doesn't claim the resources for the device in the registry
- Partially implement IoReportResourceUsage so that it checks the resource list for conflicts but doesn't claim the resources in the registry
- Please test this revision with a variety of hardware and drivers because it activates several code paths in the PnP manager
- If this causes problems, look for "Denying an attempt to claim resources currently in use by another device!" in the debug log and report the bug to me

svn path=/trunk/; revision=49249
2010-10-24 02:51:48 +00:00
Cameron Gutman
e7431a821b [NTOSKRNL]
- Rewrite the resource map code to fix a regression, several failures cases, and a few memory leaks
- Remove an incorrect definition of IopDetectResourceConflict in pnpreport.c (no idea how this didn't trigger an onslaught of warnings)

svn path=/trunk/; revision=49248
2010-10-24 02:38:14 +00:00
Timo Kreuzer
d90c19e431 Fix a comment
svn path=/trunk/; revision=49247
2010-10-23 22:34:47 +00:00
Sylvain Petreolle
1fb94b1cb5 [CMAKE]
sync with trunk (r49230)

svn path=/branches/cmake-bringup/; revision=49246
2010-10-23 22:14:59 +00:00
Timo Kreuzer
548559a3d5 [WIN32K]
- Remove a wrong ASSERT
- Improve EngLoadImageEx to correctly handle the path and optional dll extension.
- Get rid of EngLoadDriver

svn path=/branches/reactos-yarotows/; revision=49245
2010-10-23 21:59:21 +00:00
Johannes Anderwald
69b6f20b77 [PORTCLS]
- Fix multiple bugs in round buffer implementation
- Should result in less audio glitches, especially when playing audio files with low sample rates. Please report any regressions!

svn path=/trunk/; revision=49244
2010-10-23 20:20:18 +00:00
Johannes Anderwald
37d654bb93 [PORTCLS]
- Rewrite the topology filter / pin / node property handling
- Store property sets of filter / pins / nodes in a common property set array
- Write a common dispatch function, which serves as a trampoline for filter / pin / node property requests
- Private property handlers of the drivers are now accessible

svn path=/trunk/; revision=49243
2010-10-23 18:51:17 +00:00
Johannes Anderwald
0d136362a0 [PORTCLS]
- Remove silence buffer hack
- Stub DRM Property Handler
- Before stopping the audio pin, fill the dma buffer with silence samples
- create a subdevice descriptor for instantiated pins too

svn path=/trunk/; revision=49242
2010-10-23 18:42:59 +00:00
Timo Kreuzer
b0dd54e446 [FORMATTING]
Fix indentation, no code change.

svn path=/branches/reactos-yarotows/; revision=49241
2010-10-23 17:05:34 +00:00
Timo Kreuzer
8af88571ea sync with trunk (r49238)
svn path=/branches/reactos-yarotows/; revision=49240
2010-10-23 16:42:45 +00:00
Johannes Anderwald
17fe2b3988 - Fix definition of KSPROPSETID_DrmAudioStream, KSPROPERTY_DRMAUDIOSTREAM
svn path=/trunk/; revision=49239
2010-10-23 14:42:22 +00:00
Johannes Anderwald
4b5747df27 [PORTCLS]
- Fix check if the pin can be instantiated another time
- Remove hack to close old
- Add function FreePin to remove its old reference
- Fix memory leaks / reference leaks in WavePci pin implementation
- Fix memory / reference leaks in WavePci Close implementation

svn path=/trunk/; revision=49238
2010-10-23 12:10:56 +00:00
Johannes Anderwald
cd63ffe6c2 [KS]
- Fix property set support handler for topology nodes
- Check if the driver supports a basic support handler. In that case return the basic support handler

svn path=/trunk/; revision=49237
2010-10-23 12:00:11 +00:00
Sylvain Petreolle
956eb46aec [CMAKE]
Livecd: Add rundll32.
Cmake livecd lives !

svn path=/branches/cmake-bringup/; revision=49236
2010-10-23 11:55:36 +00:00
Sylvain Petreolle
070a3b3935 [CMAKE]
Livecd: Add inf files.
Temporarily add generated syssetup.inf from trunk.

svn path=/branches/cmake-bringup/; revision=49235
2010-10-23 11:35:26 +00:00
Amine Khaldi
b975ab079c [CMAKE]
- Create profiles related folders into the livecd iso.
- Add some missing modules to livecd.

svn path=/branches/cmake-bringup/; revision=49234
2010-10-23 10:38:48 +00:00
Amine Khaldi
885ea97149 [CMAKE]
- Add the missing resource file to explorer.

svn path=/branches/cmake-bringup/; revision=49233
2010-10-23 10:24:53 +00:00
Amine Khaldi
76697d8da4 [CMAKE]
- Add explorer, umpnpmgr, userinit and winhlp32 to livecd.

svn path=/branches/cmake-bringup/; revision=49232
2010-10-23 10:15:02 +00:00
James Tabor
e7c4137319 [Win32k|User32]
- Rewrite the Event and Hook procedures. See bug 5670 for more details.

svn path=/trunk/; revision=49231
2010-10-23 05:36:12 +00:00
Sylvain Petreolle
89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00
Aleksey Bragin
26164e7b2e [MSI]
- Fix freed memory access and fix freeing of invalid pointer. (from http://www.winehq.org/pipermail/wine-patches/2010-October/094849.html )
See issue #3755 for more details.

svn path=/trunk/; revision=49229
2010-10-22 16:22:21 +00:00
Amine Khaldi
5299b0db47 [CMAKE]
- Fix comdlg32 and add it to build.

svn path=/branches/cmake-bringup/; revision=49228
2010-10-22 15:20:41 +00:00
Sylvain Petreolle
cfc11b5ca5 [CMAKE]
Add comdlg32, ole32, oleaut32, rpcrt4, shell32,urlmon to build.
comdlg32 remains disabled due to build error in Danish resources.

svn path=/branches/cmake-bringup/; revision=49227
2010-10-22 15:17:45 +00:00
Sylvain Petreolle
7dce7ccce4 [CMAKE]
Add rpcss to build.

svn path=/branches/cmake-bringup/; revision=49226
2010-10-22 14:55:38 +00:00
Sylvain Petreolle
3346380aaa [CMAKE]
Livecd: Add hal, ntoskrnl, csrss, csrsrv, win32k.

svn path=/branches/cmake-bringup/; revision=49225
2010-10-22 14:15:01 +00:00
Sylvain Petreolle
fd229355cc [CMAKE]
Livecd: Add base/ modules.

svn path=/branches/cmake-bringup/; revision=49224
2010-10-22 14:10:12 +00:00
Sylvain Petreolle
c56d82e4c8 [CMAKE]
Livecd: Add dlls that aren't win32dll modules.

svn path=/branches/cmake-bringup/; revision=49223
2010-10-22 14:05:00 +00:00
Sylvain Petreolle
b7e466a220 [CMAKE]
Livecd: Add drivers.

svn path=/branches/cmake-bringup/; revision=49222
2010-10-22 13:46:11 +00:00
Sylvain Petreolle
fc6a87624a [CMAKE]
Add win32dll modules to livecd for now.
For better flexibility, this will be needed in each module file.

svn path=/branches/cmake-bringup/; revision=49221
2010-10-22 13:40:02 +00:00
Sylvain Petreolle
5d3618ef80 [CMAKE]
Livecd : Add fonts and nls files.

svn path=/branches/cmake-bringup/; revision=49220
2010-10-22 13:21:57 +00:00
Aleksey Bragin
955c4d7d77 [MSI]
- Sync to Wine-1.3.5.

svn path=/trunk/; revision=49219
2010-10-22 13:18:11 +00:00
Sylvain Petreolle
493475d8d2 [CMAKE]
Add mkhive to build.
Add livecd target.
Make filename optional in add_mini_target, using the target one as default.
Move MACRO_IDL_FILES to CMakeMacros.cmake.
Add rpcproxy macro.
Build interface definitions headers for epm and irot.

svn path=/branches/cmake-bringup/; revision=49218
2010-10-22 13:15:58 +00:00
Sylvain Petreolle
cba659a83a [CMAKE]
Make midimap msc friendly.

svn path=/branches/cmake-bringup/; revision=49217
2010-10-22 10:54:06 +00:00
Aleksey Bragin
12cded29f1 [ADVAPI32]
- Roel Messiant: Fix short-circuit evaluation.
See issue #5677 for more details.

svn path=/trunk/; revision=49216
2010-10-21 20:30:37 +00:00
Eric Kohl
824ec6597d [SERVICES]
- Remove the reference counter from the common handle type as a handle is never shared or duplicated.
- Remove the access right from the service handle as it is not used.
- Dereference service manager handles and service handles in two separate functions that SEH-protect the initial access to the handle and signature check. This will protect SCM from bogus handles.

svn path=/trunk/; revision=49214
2010-10-20 17:28:10 +00:00
Pierre Schweitzer
538b9e4fbf [NTOSKRNL]
Implemented FstubAdjustPartitionCount(), FstubConvertExtendedToLayout(), FstubCopyEntryEFI(), FstubCreateDiskMBR(), FstubCreateDiskEFI(), FstubCreateDiskRaw(), FstubDbgPrintSetPartitionEx(), FstubReadHeaderEFI(), FstubReadPartitionTableEFI(), FstubSetPartitionInformationEFI(), FstubVerifyPartitionTableEFI(), FstubWriteBootSectorEFI(), FstubWriteEntryEFI(), FstubWriteHeaderEFI(), FstubWritePartitionTableEFI(), FstubWritePartitionTableMBR(), FstubWriteSector()

Implemented IoCreateDisk(), IoGetBootDiskInformation(), IoReadDiskSignature(), IoSetPartitionInformationEx(), IoVerifyPartitionTable(), IoWritePartitionTableEx()

To sum up, this commit finishes FSTUB API implementation in the ReactOS kernel. This means one important thing: now ReactOS kernel knows about a bit about EFI and about GPT. No need to say that it's the first step into EFI support. But a lot more work is needed. Especially since the kernel is the only real entity in ReactOS to handle GPT. All the rest of the OS doesn't know anything about GPT.

A small note about FstubVerifyPartitionTableEFI(). This function is supposed to check whether a disk formated with GPT is valid, and if it's not, to fix it. First step is implemented. Second step isn't yet supported.

A general note about all that stuff: on GPT, backup table isn't properly handled for the moment, as ReactOS is experiencing disk geometry issues. That means it's not having the proper disk sectors count and then, can't find the backup table (which is located on last disk sector).

References:
http://www.intel.com/technology/efi/
http://developer.apple.com/library/mac/#technotes/tn2006/tn2166.html
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=blob;f=fs/partitions/efi.h;hb=HEAD
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=blob;f=fs/partitions/efi.c;hb=HEAD

svn path=/trunk/; revision=49212
2010-10-19 20:34:48 +00:00
Sir Richard
b238bc9126 [NTOS]: Go back to using RosMm for the NLS section since supposedly this causes issues on some systems. This is the only actual change in r206/208/209, so if Caemyr's data is correct, this fill fix it.
svn path=/trunk/; revision=49211
2010-10-19 20:23:37 +00:00
Pierre Schweitzer
60501a925e [DISK]
Hackplemented support for IOCTL_DISK_GET_PARTITION_INFO_EX. It will work fine for MBR partitions but will fake returns for GPT partitions.

svn path=/trunk/; revision=49210
2010-10-19 19:27:28 +00:00
Sir Richard
6f48b81057 [NTOS]: Fix multiple math/logic bugs in the PrototypePTE paths. Caught while trying to switch the Win32k GDI Handle Table to ARM3 sections.
svn path=/trunk/; revision=49209
2010-10-19 18:57:30 +00:00
Sir Richard
ef6bc56d6f [NTOS]: C Pointer Math will bite even the most experienced programmer in the ass. Fix wrong calculation which led to ASSERTs and memory corruption (since the last revision).
svn path=/trunk/; revision=49208
2010-10-19 17:39:22 +00:00
Timo Kreuzer
f58427d6cc [CMAKE]
disable rpcrt4 again, which was accidentally enabled


svn path=/branches/cmake-bringup/; revision=49207
2010-10-19 17:13:20 +00:00
Sir Richard
3e8034d4a5 [NTOS]: Add support for unmapping ARM3 sections, destroying segments and control areas, and clearing out subsection PTEs.
[NTOS]: Add support to MiDeletePte/MiDeleteVirtualAddresses to handle Section VADs.
[NTOS]: Add support to MiDeletePte to handle valid, prototype PTEs.
[NTOS]: Add MEM_TOP_DOWN support to ARM3 section code.
[NTOS]: Add support for unmapping currently mapped ARM3 section views at process termination.
[NTOS]: Use the new ARM3 section code for mapping the NLS section in the system (tests the system-view mapping code) and in each new process (tests the data-mapping code). Section is correctly unmapped at process termination time!

svn path=/trunk/; revision=49206
2010-10-19 17:07:11 +00:00
Sir Richard
20d602d71f [NTOS]: Use allocation attribute 0x1 instead of 0xC0000000 to let RosMm know this is an ARM3 section. 0xC0000000 is actually a valid combination of SEC_ flags, 0x1 is illegal and thus recognized.
svn path=/trunk/; revision=49205
2010-10-19 17:01:28 +00:00
Sir Richard
785baaf68e [NTOS]: Implement the MAREA<->VAD hack for section VADs as well.
svn path=/trunk/; revision=49204
2010-10-19 17:00:12 +00:00
Sir Richard
a0cd959fc1 [NTOS]: Get rid of MC_NPPOOL and MC_PPOOL memory consumers since those are not managed by RosMm anymore. Use MC_SYSTEM for the page table stuff that RosMm still handles, and keep MC_USER and MC_CACHE for the current Section/VirtualMemory/Cache RosMm code.
svn path=/trunk/; revision=49203
2010-10-19 16:58:27 +00:00
Sir Richard
24811e9233 [NDK]: Add MMVAD_SHORT.
svn path=/trunk/; revision=49202
2010-10-19 16:57:20 +00:00
Sir Richard
52d26f0643 [NTOS]: Implement MiDecrementReferenceCount and rewrite large parts of the ProbeAndLock/Unlock MDL API to fully use ARM3 APIs, dropping MmReference/DereferencePage behind.
[NTOS]: Fix many MDL API bugs: correctly check for I/O pages, use LIST_HEAD instead of -1, track system-wide locked pages, use the process working set lock instead of the address space lock, add check for cross-ring MDL mappings, and make some small optimizations.
[NTOS]: Make some more fixes in MmAllocatePagesForMdl, MmFreeMdlPages to make the PFN entries more "correct".
[NTOS]: Had a little breakthrough: instead of complicating our lives and hiding certain ReactOS-Mm fields inside legitimate ARM3/MMPFN fields, differentiate between "legacy" (RosMm) and ARM3 pages. The legacy allocator (MmAllocPage/MmRequestPageMemoryConsumer) will use the non-paged pool to allocate a MMROSPFN add-on (8 bytes), in which the RMAP list head and SWAPENTRY are stored. When a legacy "free" is done, this data is deleted. Additionally, we can now tell apart between ARM3 and RosMm pages, so appropriate ASSERTs have been added to make sure the two never cross paths (which should safely let us use all the PFN fields now and implement working sets, etc...). I don't know why I didn't think of this sooner.

svn path=/trunk/; revision=49201
2010-10-19 04:30:48 +00:00
Sir Richard
609dce9faf [NTOS]: Clean up Mm initialization, there is now no-more RosMM stuff done in Phase 0 of MmInit, only ARM3 runs. The kernel address space and memory areas are only initialized in Phase 1, because that's where sections are started up, and they're the only thing other than VM which still use memory-areas.
svn path=/trunk/; revision=49200
2010-10-18 23:07:09 +00:00
Johannes Anderwald
619ab27e1d [KS]
- Fix KSPROPERTY_PIN_CATEGORY handler when no category is provided
- Fix KSPROPERTY_PIN_NAME handler when there is no name provided. Use fallback pin category. If there is no category provided, fail with correct error code
- Fix KSPROPERTY_TOPOLOGY_NAME handler by checking if there is a node name provided. If not use node type as fallback.
- Return correct error code when property request id is out of bounds

svn path=/trunk/; revision=49199
2010-10-18 22:21:00 +00:00
Johannes Anderwald
54374ca72e [PORTCLS]
- Store Miniport object in the device descriptor
- Fixes assert in NVidia NForce Audio Driver

svn path=/trunk/; revision=49198
2010-10-18 18:59:17 +00:00
Sir Richard
32ccfc25bf [NTOS]: Remove the "35314 sginsberg /* REACTOS Mm Hack of Doom */". Apocalypse averted?
svn path=/trunk/; revision=49196
2010-10-18 14:34:35 +00:00
Sir Richard
ba0bd37078 [NTOS]: Remove the Bavarian hack, I no longer think it is needed.
svn path=/trunk/; revision=49195
2010-10-18 14:29:05 +00:00
Sir Richard
a81f92c1cb [NTOS]: Store the protection mask in the Fake VADs as well, we can read/convert this from the MAREA protection value.
[NTOS]: Reimplement NtQueryVirtualMemory to use VAD information instead. Even though Alloc/Free are still MAREA-based, the fake VADs we build ought to be enough to make the query API work for certain limited scenarios. Only some paths are implemented and it's lacking SEH, but it's good enough for the install/boot requirements. If there are any regressions, please file bugs.

svn path=/trunk/; revision=49194
2010-10-18 14:25:33 +00:00
Sir Richard
26c20f3857 [NTOS]: Complete the VAD-to-MAREA Synchronization hack by removing fake MAREAs that were added when inserting real VADs. To do this, we have to track the fake MAREA associated with a VAD, so we overload the FirstProtoTypePte field in the VAD, if this is NOT a section VAD (which we don't use yet). We'll figure something out for section VADs later.
[NTOS]: Now that VAD and MAREA views are synchronized, remove the VAD limit and let VADs be created at any address. Also do not create an arbitrary 16MB VAD memory area anymore. This basically now allows for as many PEB/TEBs as can fit in the address space, fixing the recent known regression that limited the number of threads a process could have.

svn path=/trunk/; revision=49193
2010-10-18 13:10:54 +00:00
Johannes Anderwald
7c151f3f05 [WDMAUD.DRV]
- Kernel streaming pins need to transit states from Run -> Pause -> Acquire -> Stop.
- Fixes SB Live playback hang on last tone when stopping playback

svn path=/trunk/; revision=49191
2010-10-17 22:38:34 +00:00
Johannes Anderwald
5542d91941 [MMIXER]
- Apply a hack to filter out pins, which are not part of filter node processing path
- The hack filters out all pins which have a physical connection. Ideally the code should check if the pin is part of a different rendering path and in that case remove the pin. 
- Revert 49167

svn path=/trunk/; revision=49189
2010-10-17 21:15:21 +00:00
Sir Richard
068812254c [NTOS]: Fix brainfart (an interesting bug we would've never hit, but a bug nevertheless).
svn path=/trunk/; revision=49188
2010-10-17 20:11:04 +00:00
Sir Richard
84328d78db [NTOS]: Use MI_SET_PFN_DELETED where we missed it.
[NTOS]: Implement support for deleting user-mode pageable VM addresses. Now when cleaning up the process address space, MiDeleteVirtualAddresses is called for the VADs, so this will now actually free the PEB/TEB pages that were previously getting leaked for each thread/process (a known regression I introduced when moving to VADs for PEB/TEB).

svn path=/trunk/; revision=49187
2010-10-17 20:02:17 +00:00
Sir Richard
3910f94f4a [NTOS]: Handle faults on non-demand-zero PTEs (and/or demand-zero PTEs that are not READWRITE (such as EXECUTE_READWRITE)).
svn path=/trunk/; revision=49186
2010-10-17 19:56:04 +00:00
Daniel Reimer
ef0b6ce0bc Sync the out of sync winemine to Wine 1.3.5 and fork it, because of the modified look, improved resources and different code structure.
Additionally call it winmine, as it is in windows, too.

svn path=/trunk/; revision=49185
2010-10-17 17:04:39 +00:00
Eric Kohl
b6bcbf0886 [ADVAPI32]
Move the Encrypted File System (EFS) functions into their own file.

svn path=/trunk/; revision=49184
2010-10-17 15:01:46 +00:00
Eric Kohl
3114284398 [PSDK]
Add DecryptFileA/W prototype.

svn path=/trunk/; revision=49183
2010-10-17 14:54:59 +00:00
Sylvain Petreolle
1e4af3fa18 [APITESTS]
Fix (R)TEST macros in gdi32_apitest,
ensures correct display and no crash report in testman.

svn path=/trunk/; revision=49182
2010-10-17 14:50:02 +00:00
Sylvain Petreolle
081e778c2d Katayama Hirofumi:
Add / update Japanese translations.
Fix typos in calc en-US resource.
Bug #5673,5674,5675,5676.

svn path=/trunk/; revision=49181
2010-10-17 12:47:02 +00:00
Sylvain Petreolle
f33d927f43 Patch by Roel Messiant :
Initialise PPB to zero.

The change from NtAllocateVirtualMemory to RtlAllocateHeap causes the memory to
be not automatically initialised to zero anymore.
Not every field of the PPB (for which the memory is allocated) gets explicitly
initialised, meaning this results in them having bogus values.

One of the now uninitialised fields is DebugFlags, which results in
DbgBreakPoint being called in NtProcessStartup.  Simply ensuring the memory is
zeroed makes it all better again.

svn path=/trunk/; revision=49180
2010-10-17 11:12:54 +00:00
Daniel Reimer
49c30a8a6d Sync reg xcopy winhlp32 wordpad and msiexec with Wine 1.3.5
svn path=/trunk/; revision=49179
2010-10-17 00:26:32 +00:00
Sir Richard
82949cc7b2 [CSRSS]: Should use MEM_COMMIT | MEM_RESERVE, not just MEM_COMMIT when requesting a range of adress space that wasn't already reserved. This works in ReactOS because, well, no reason to explain why, but it wouldn't work on Windows or with a VAD-based kernel.
svn path=/trunk/; revision=49178
2010-10-16 21:04:50 +00:00
Sir Richard
55e59a3673 [NTOS]: Add MmProtectToValue array to convert MM/PTE protection values to Win32 protection flags.
svn path=/trunk/; revision=49177
2010-10-16 21:02:48 +00:00
Aleksey Bragin
8cf3c262f2 [PSDK]
- Add NOMIRRORBITMAP definition.

svn path=/trunk/; revision=49176
2010-10-16 19:46:03 +00:00
Aleksey Bragin
f4be908fdd [PSDK]
- Add ICONINFOEX* definitions and GetIconInfoEx* declarations from Wine.

svn path=/trunk/; revision=49175
2010-10-16 17:23:40 +00:00
Eric Kohl
eccf8af929 [ADVAPI32]
Implement LsaAddPrivilegesToAccount(), LsaCreateTrustedDomain(), LsaDeleteTrustedDomain() and LsaOpenTrustedDomainByName().

svn path=/trunk/; revision=49174
2010-10-16 16:26:52 +00:00
Sir Richard
36edd7ee75 !!! The previous commit message had a typo, these are the Windows XP DDK Samples, not the Server 2003 DDK samples !!!
[CLASSPNP/CDROM_NEW]: Remove useless files.

svn path=/trunk/; revision=49172
2010-10-16 15:48:42 +00:00
Sir Richard
73c1c7f232 [CLASSPNP]: Add Windows Server 2003 DDK ClassPNP sample, under the license and terms of the Windows Server 2003 DDK.
[CDROM]: Add Windows Server 2003 DDK Cdrom Sample, under the license and terms of the Windows Server 2003 DDK.
They both build and run fine, but PCIIDE(x) must be completed/enabled, and atapi must be rewritten to be WDM-compliant.

svn path=/trunk/; revision=49171
2010-10-16 15:24:08 +00:00
Cameron Gutman
8047296236 [SCSIPORT]
- Fix a couple of typos in the DMA code from my last commit

svn path=/trunk/; revision=49170
2010-10-16 15:15:51 +00:00
Sir Richard
68e8260b98 [RTL]: Fix a bug introduced Mon Dec 6 00:25:14 1999 UTC (10 years, 10 months ago) in revision 828. NtFreeVirtualMemory takes a pointer to the address to free, not the address instead. For the last 11 years, freeing the process parameter block resulted in freeing whatever the first value in the structure is, which is MaximumLength and initialized to 0x1000. ReactOS would then free whatever random address was in that area. In real Windows, it is illegal to free an allocation in the middle of the base address, and this call failed with the new VAD code. ReactOS either leaked the memory or freed random data, who knows.
[RTL]: Make the PPB live in the Heap instead of having its own virtual allocation, fixing the issue above. Stop rounding it to a PAGE_SIZE, and just use the space required.

svn path=/trunk/; revision=49169
2010-10-16 14:20:30 +00:00
Kamil Hornicek
3b63f433a0 [MMIXER]
Amendment to rev. 49167 requested by Caemyr.

svn path=/trunk/; revision=49168
2010-10-16 13:55:09 +00:00
Johannes Anderwald
53ddbca64c [MMIXER]
- Disable assert for now

svn path=/trunk/; revision=49167
2010-10-16 12:39:49 +00:00
Johannes Anderwald
aa8c6826c3 [MMIXER]
- Add support for topologies where pins directly connect to other pins without nodes in between
- Check if the topology contains node. Fixes assert hit in VmWare Player(sound is not working)
- Thanks to Caemyr for testing

svn path=/trunk/; revision=49166
2010-10-16 12:36:21 +00:00
Eric Kohl
ab14f413c9 [LSASRV]
- Change the calling convention of all LSA-RPC function to stdcall.
- Export some of the LSA-RPC functions.

svn path=/trunk/; revision=49165
2010-10-16 12:34:04 +00:00
Eric Kohl
b560e7a480 [ADVAPI32]
Implement LsaCreateAccount(), LsaOpenAccount() and LsaSetInformationPolicy().

svn path=/trunk/; revision=49164
2010-10-16 09:41:47 +00:00
Eric Kohl
c35d9e6039 [LSASRV]
Add ServiceInit() stub and call it from lsass.

svn path=/trunk/; revision=49163
2010-10-16 08:48:25 +00:00
Cameron Gutman
e53b74f8c5 [SCSIPORT]
- Implement support for 2 interrupts
- Halfplement support for 2 DMA channels
- Set/Read the CM_RESOURCE_DMA flags
- Remove a duplicate spin lock initialization
- Partially tested with 2 interrupts in use but UniATA seems to be broken because it registers both interrupts for each channel even though they are not sharable which causes it to fail when initializing the secondary IDE channel

svn path=/trunk/; revision=49162
2010-10-15 21:38:00 +00:00
Eric Kohl
40a9859ca5 [ADVAPI32/LSASRV]
- Prepare LsapValidateDbHandle for access checks.
- Move the functionality of LsaQueryInformationPolicy (advapi32.dll) into the new function LsarQueryInformationPolicy (lsasrv.dll).
- Remove dead code from advapi32.dll.

svn path=/trunk/; revision=49161
2010-10-15 21:28:42 +00:00
Timo Kreuzer
7796502f67 [WIN32K]
Renove some unneccessary casts

svn path=/trunk/; revision=49160
2010-10-15 20:13:10 +00:00
Timo Kreuzer
f2db8eca6a Add apitests to reactos.dff
svn path=/trunk/; revision=49159
2010-10-15 20:03:47 +00:00
Cameron Gutman
50bca246a8 [SCSIPORT]
- Remove some code duplication and fix a bug of copying the same interrupt information twice for a device with 2 interrupts (instead of the info for interrupt 1 then the info for interrupt 2) effectively making initialization fail because the resource allocation code will detect a conflict with itself

svn path=/trunk/; revision=49158
2010-10-15 19:25:07 +00:00
Timo Kreuzer
b5fef1ffcd [WINED3D]
Our CRT causes duplicate definitions, when trying to use it as fallback for missing msvcrt imports. Work around this limitation by adding powf and sqrtf wrappers for amd64 builds

svn path=/trunk/; revision=49157
2010-10-15 16:56:13 +00:00
Aleksey Bragin
e700e19237 [HEAP]
- Fix a typo which lead to incorrect flags being forced. Fixes last remaining major winetest failures (only 1 GlobalAlloc/Free implementation related one is left to be fixed).

svn path=/trunk/; revision=49156
2010-10-15 15:53:10 +00:00
Pierre Schweitzer
1a3aa9c454 [HEAP]
Hackfixed build by stubbing RtlpValidateHeapHeaders(), RtlpValidateHeapEntry() and hackplementing RtlpValidateHeap().
To be properly fixed.

svn path=/trunk/; revision=49155
2010-10-15 15:05:15 +00:00
Aleksey Bragin
7f8660190b [HEAP]
- Implement parameters validation ("DebugHeap") in all used RTL heap APIs. Winetests failures down to 4.

svn path=/trunk/; revision=49154
2010-10-15 13:16:48 +00:00
Timo Kreuzer
6fa23913f1 [CRT]
Add powf() wrapper

svn path=/trunk/; revision=49153
2010-10-15 12:33:08 +00:00
Giannis Adamopoulos
1d07d0bf75 [win32k]
- Clean up co_IntPeekMessage

svn path=/trunk/; revision=49152
2010-10-15 08:34:59 +00:00
Johannes Anderwald
8158082c80 [WDMAUD_KERNEL]
- Implement registering event routine which gets called when a topology node (volume / mute node) changes
- Implement fetching event changes
[MMIXER]
- Implement support routines which get called when a topology node changes its state
- Volume changes / mute on/off changes should now be broadcasted again to all listening applications

svn path=/trunk/; revision=49151
2010-10-15 02:24:35 +00:00
Johannes Anderwald
8a0913d231 [MMIXER]
- Rewrite topology node enumeration algorithm
- Old algorithm didnt properly take in account sum/mux nodes, may assign nodes to multiple lines and was not able to detect circuits which may lead to infinite loops
- New algorithm properly partitions the nodes and also checks if nodes has already been assigned. As a plus, it is also faster
- Algorithm based on msdn http://msdn.microsoft.com/en-us/library/ff538873(v=VS.85).aspx
- Tested on VBox 3.28 (AC97)
- Please retest supported soundcards for regressions


svn path=/trunk/; revision=49150
2010-10-15 00:20:15 +00:00
Aleksey Bragin
4758da752f [HEAP]
- Add special debug heap function declarations and stubs.
- Add a useful inline for detecting whether a special or normal heap is going to be used.

svn path=/trunk/; revision=49149
2010-10-14 20:55:38 +00:00
Jérôme Gardou
2d93fd22ac [CMAKE]
- include stlport directory in set_cpp macro
  - move set_cpp macro where it belongs : it's generic enough to go to CMakeMacros.cmake

svn path=/branches/cmake-bringup/; revision=49148
2010-10-14 20:16:57 +00:00
Aleksey Bragin
57f4a96cc1 [HEAP]
- Add ability to dynamically allocate UCR descriptors when preallocated amount is exhausted.
- Fix a few bugs in RtlpFindAndCommitPages and in deactivated RtlpDecommitFreeBlock.
- Enable free blocks decommitting.
- New heap manager would now be ready to replace the old one.

svn path=/trunk/; revision=49147
2010-10-14 20:04:20 +00:00
Eric Kohl
6e2cb102ff [RPCRT4]
Add a missing format type to unmarshall_discriminant().

svn path=/trunk/; revision=49146
2010-10-14 19:41:03 +00:00
Giannis Adamopoulos
692b1c23aa [win32k]
- When we try to call a hook with null hook proc will cause a crash in user32. Add an assertion in win32k in order to catch the problem a bit earlier

svn path=/trunk/; revision=49145
2010-10-14 18:53:12 +00:00
Giannis Adamopoulos
36b0351814 [win32k]
- Disable checking if a hook is active. It is safe to disable it for now because it is just an optimization. If we try to call a hook when it is not active, it will fail anyway when it tries to find the hook. Fixes calling low level hooks

svn path=/trunk/; revision=49144
2010-10-14 18:36:33 +00:00
Sylvain Petreolle
887822f92e [CMAKE]
Enable comctl32.

svn path=/branches/cmake-bringup/; revision=49143
2010-10-14 17:40:25 +00:00
Jérôme Gardou
d6686bcbb1 Sync with trunk head (r49139)
svn path=/branches/reactos-yarotows/; revision=49142
2010-10-14 14:23:50 +00:00
Jérôme Gardou
33a0b314cd [CMAKE]
- add kernelmodedriver module type
  - add set_cpp macro, which takes care of all c++ stuff for you
  - hackfix stlport headers for c++ kernel mode modules.
  - complain about explorer
  - solitaire, telnet and uniata now build happily against stlport

svn path=/branches/cmake-bringup/; revision=49141
2010-10-14 11:03:20 +00:00
Daniel Reimer
bb61fb5246 Merge r49139.
svn path=/branches/cmake-bringup/; revision=49140
2010-10-13 21:24:20 +00:00
Daniel Reimer
773744f9ec Another dll addition to cmake, another rc file fix.
svn path=/trunk/; revision=49139
2010-10-13 21:23:48 +00:00
Sylvain Petreolle
2f9642faa3 [CMAKE]
Improve amstream and msdmo.

svn path=/branches/cmake-bringup/; revision=49138
2010-10-13 19:20:54 +00:00
Amine Khaldi
9ddf9db633 [AUTHZ]
- Missed these.

svn path=/trunk/; revision=49137
2010-10-13 14:54:37 +00:00
Amine Khaldi
8a867c2d84 [AUTHZ]
- Fix AuthzReportSecurityEvent, AuthzInitializeObjectAccessAuditEvent and AuthzInitializeObjectAccessAuditEvent2 prototypes.

svn path=/trunk/; revision=49136
2010-10-13 14:30:49 +00:00
Amine Khaldi
9ff87a62ad [CMAKE]
- More work on the dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49135
2010-10-13 12:11:50 +00:00
Amine Khaldi
6c93543364 [DDK]
- Fix RtlStringCbPrintf prototypes.

svn path=/trunk/; revision=49134
2010-10-13 10:53:01 +00:00
Sir Richard
6f0a1a3598 [SMSS]: Remove the ROS_DOESNT_SUCK hack, and correctly started subsystem processes with the first MB reserved.
[CSRSRV]: CSRSS was started with a free address space, and was able to map 0xA0000 into it by luck, because the ReactOS Mm allocator picks address ranges randomly, and it somehow managed to avoid the low 1MB addresses. Were this algorithm to change, or perhaps, were we to implement VADs for VM allocations, the 0xA0000 region might already be allocated (by an early-process-initialization allocation, such as the heap). This is what the flag referenced above was designed for, but it was not used. Using this flag, on the other hand, now makes CSRSS fail, because it attempts to map the RAM into 0xA0000, which fails since you can map a section on top of reserved memory. To work around this Brobdingnagian annoyance, CSRSS simply releases the first MB of memory that SMSS has nicely reserved for it, and then proceeds with the mapping. This fixes the issue of getting 0xA0000 by luck and now guarantees it can be mapped.

svn path=/trunk/; revision=49133
2010-10-12 21:17:58 +00:00
Eric Kohl
8bfc61d69d [WIDL]
Update widl to version 1.3.4.

svn path=/trunk/; revision=49132
2010-10-12 20:51:07 +00:00
Pierre Schweitzer
6d0861e9ed [NTOSKRNL]
Implemented IopFetchConfigurationInformation(), IopCreateArcNamesCd(), IopCreateArcNamesDisk(), IopVerifyDiskSignature()
Removed IopApplyRosCdromArcHack(), IopGetDiskInformation(), IopAssignArcNamesToCdrom()
Finally, rewritten IopCreateArcNames()

To make it short, this is the rewrite of ARC names handling in the kernel.
This brings our kernel to a higher state of existence. Indeed, it's leaving NT4 design for a proper NT5.2 design, with less hacks, less ROS specific stuff and such.
This code handles the mount manager we don't have yet.

svn path=/trunk/; revision=49131
2010-10-12 20:29:50 +00:00
Pierre Schweitzer
82e5bca0e7 [NTOSKRNL]
Implemented FstubAllocateDiskInformation(), FstubDbgGuidToString(), FstubDbgPrintDriveLayoutEx(), FstubDbgPrintPartitionEx(), FstubDetectPartitionStyle(), FstubFreeDiskInformation(), FstubGetDiskGeometry(), FstubReadPartitionTableMBR(), FstubReadSector()

Stubbed FstubReadPartitionTableEFI()

This leads to a correct & working implementation of IoReadPartitionTableEx(). As this state, it only handles MBR partition tables as EFI/GPT as been stubbed out.

EFI/GPT support will come later.

svn path=/trunk/; revision=49130
2010-10-12 20:22:29 +00:00
Pierre Schweitzer
466f11a06e [CLASS2]
Switch use from DISK_GEOMETRY to DISK_GEOMETRY_EX. It's needed to handle some Windows 2003's kernel routines.

[CDROM]
Reflect changes in Class2.

[DISK]
Reflect changes in Class2.
Also added support for IOCTL_DISK_GET_DRIVE_GEOMETRY_EX.

svn path=/trunk/; revision=49129
2010-10-12 20:17:55 +00:00
Eric Kohl
7b8d28a209 [D3D]
Preparations for update to widl 1.3.4.

svn path=/trunk/; revision=49128
2010-10-12 20:07:58 +00:00
Cameron Gutman
eb1a973d69 [HAL]
- Check that the interrupt line is not 255
- Check that the interrupt pin is not 0
- Fixes a failed assertion that Caemyr experienced with an ATI Rage graphics card

svn path=/trunk/; revision=49127
2010-10-12 20:02:15 +00:00
Aleksey Bragin
1bcf80bc88 [HEAP]
- Implement heap validation support.

svn path=/trunk/; revision=49126
2010-10-12 18:34:48 +00:00
Amine Khaldi
6c00026235 [DDK]
- Fix ClassDebugPrint prototype.

svn path=/trunk/; revision=49125
2010-10-12 16:39:38 +00:00
Kamil Hornicek
3905ce18c3 Attempt nr. 2: link wined3d to crt on amd64 build.
svn path=/trunk/; revision=49124
2010-10-12 15:02:31 +00:00
Kamil Hornicek
065484b260 Fix amd64 build.
svn path=/trunk/; revision=49123
2010-10-12 14:24:58 +00:00
Aleksey Bragin
917da839e1 [NTDLL]
- Don't access unitialized memory. Caught thanks to a new heap manager, and this fixes all weird actctx exceptions in kernel32_winetest heap.

svn path=/trunk/; revision=49122
2010-10-12 09:03:39 +00:00
Kamil Hornicek
8dec037a81 [WIN32K]
UserEnumDisplaySettings returns NTSTATUS.

svn path=/branches/reactos-yarotows/; revision=49118
2010-10-11 15:56:46 +00:00
James Tabor
770f1576a5 [Wine Tests]
- Update the only two tests that I tested and know that does not have RTL support. The Right To Left support will be another comprehensive change that can be done in a non intrusive way as long no one uses it.

svn path=/trunk/; revision=49117
2010-10-11 15:12:47 +00:00
Kamil Hornicek
75c09c4aa9 [WINED3D]
Update wined3d, ddraw, d3d8 and d3d9 to Wine 1.3.4.

svn path=/trunk/; revision=49116
2010-10-11 13:56:39 +00:00
Giannis Adamopoulos
e351569713 [win32k]
- Remove the FreeLParam 'feature' from win32k. This hack allowed us to post messages that contain pointers. However we don't do it anymore so we can also remove this as well
- Add keyboard messages to the list with Hardware messages and not in the list with post messages

svn path=/trunk/; revision=49115
2010-10-11 13:01:46 +00:00
Giannis Adamopoulos
f87e0a7d9e [win32k]
-Move checks for active hooks in co_HOOK_CallHooks

svn path=/trunk/; revision=49114
2010-10-11 10:58:33 +00:00
Aleksey Bragin
71e0a64605 [HEAP]
- Fix DWORD -> ULONG in function definitions too.

svn path=/trunk/; revision=49113
2010-10-11 10:29:41 +00:00
Pierre Schweitzer
793daae607 [NDK]
Fixed build

svn path=/trunk/; revision=49112
2010-10-11 10:20:40 +00:00
Aleksey Bragin
0568f4e2ce [HEAP]
- Fix RtlQuery/SetHeapInformation prototypes, move them to an appropriate place.
- Implement RtlQuery/SetHeapInformation.
- Implement in-place block growing.
- Amount of winetest heap failures is down to 6 (3 exceptions still happen).

svn path=/trunk/; revision=49111
2010-10-11 08:39:04 +00:00
Aleksey Bragin
dff2d51166 [ADVAPI32]
- Katayama Hirofumi: Use DataLength field in RegEnumValueW instead of DataOffset.
- Roel Messiant: Test behaviour in Vista and apply same fix to RegEnumValueA.
See issue #2492 for more details.

svn path=/trunk/; revision=49110
2010-10-11 07:47:52 +00:00
James Tabor
11291ff204 [Win32k|User32]
- Move to the new window structure. Window Object served us well.

svn path=/trunk/; revision=49109
2010-10-11 03:41:41 +00:00
Daniel Reimer
90c7ea54cf Merge r49107.
svn path=/branches/cmake-bringup/; revision=49108
2010-10-10 23:30:05 +00:00
Daniel Reimer
f6c0e1acf0 RC file fixes for inconsistences shown up by the recent dll work in r49105.
svn path=/trunk/; revision=49107
2010-10-10 23:29:32 +00:00
Amine Khaldi
24340825cc [CMAKE]
- Fix cryptui build. This should be sent upstream.

svn path=/branches/cmake-bringup/; revision=49106
2010-10-10 22:59:37 +00:00
Amine Khaldi
b02b04fc53 [CMAKE]
- More work on the dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49105
2010-10-10 22:58:42 +00:00
Daniel Reimer
b7cf54f91f Merge r49103.
svn path=/branches/cmake-bringup/; revision=49104
2010-10-10 22:37:09 +00:00
Daniel Reimer
7d3981e209 More resource fixes making warnings vanish when built with cmake.
svn path=/trunk/; revision=49103
2010-10-10 22:36:35 +00:00
Aleksey Bragin
b00e93abd1 [HEAP]
- Properly set HEAP_GROWABLE flag if dwMaximumSize is 0 in HeapCreate. Also check for dwMaximumSize validity. Fixes out-of-memory problems when running "heavy" applications like Office 2003 setup with a new heap manager (which actually respects HEAP_GROWABLE flag).

svn path=/trunk/; revision=49102
2010-10-10 21:52:48 +00:00
Daniel Reimer
09de31e63e Merge r49096 to cmake branch
svn path=/branches/cmake-bringup/; revision=49101
2010-10-10 19:31:41 +00:00
Timo Kreuzer
058a7eb644 [CMAKE]
MSVC: Don't use the debug version of msvcrt

svn path=/branches/cmake-bringup/; revision=49100
2010-10-10 16:27:01 +00:00
Timo Kreuzer
27301ff2e6 [CMAKE]
Add CMAKE_RC_CREATE_SHARED_LIBRARY for msvc (simply copied from gcc atm)


svn path=/branches/cmake-bringup/; revision=49099
2010-10-10 16:17:40 +00:00
Daniel Reimer
e45344cae1 Replace \" with "" in resource files. This makes CMAKE build way more silent. Needs to be merged.
TBD find a way to silent warnings happening due to \n in strings.

svn path=/trunk/; revision=49096
2010-10-10 14:45:03 +00:00
Eric Kohl
cc89c1b5b3 [NTOSKRNL]
Implement SeImpersonateClientEx() and simplify SeImpersonateClient().

svn path=/trunk/; revision=49091
2010-10-10 11:31:51 +00:00
Aleksey Bragin
d498e714c6 [HEAP]
- Add 64 bit compatibility.

svn path=/trunk/; revision=49090
2010-10-10 11:16:55 +00:00
Benedikt Freisen
47bd0d25ed [PAINT]
- apply patch by Black_Fox (see bug 5434)
- fix minor bugs introduced by it
- generalize changes related to mirroring rectangular selections to free form selections
- solve problem regarding selection contents update

svn path=/trunk/; revision=49089
2010-10-10 09:57:44 +00:00
Timo Kreuzer
684d97f9f3 [CMAKE]
- add Windows.cmake, copied from cmake, but with command line file disabled for debugging puposes
- for now use /MTd (static crt) for C++ apps compiled with MSVC

svn path=/branches/cmake-bringup/; revision=49088
2010-10-10 08:56:52 +00:00
Eric Kohl
4ab377fc5e [WIDL]
- Revert r49085 and r49086.

svn path=/trunk/; revision=49087
2010-10-09 23:13:57 +00:00
Eric Kohl
c30d993d2e [WIDL]
Fix Unix build.

svn path=/trunk/; revision=49086
2010-10-09 22:54:37 +00:00
Eric Kohl
71c108681a [WIDL]
- Sync to Wine-1.3.4
- Bugfix: The switchtype attribute of non-encapsulated unions was not  propagated to a type but only to its aliases.

svn path=/trunk/; revision=49085
2010-10-09 22:41:05 +00:00
Daniel Reimer
bc4071a15a Update rapps database
svn path=/trunk/; revision=49084
2010-10-09 22:36:58 +00:00
Cameron Gutman
411c11b801 [URLMON]
- Sync to WINE 1.3.4
[WININET]
- Add a forgotten change to the diff
[WINHTTP]
- Sync to WINE 1.3.4
- Sync the inet_ntop.c change from wininet
- Update the diff

svn path=/trunk/; revision=49083
2010-10-09 21:52:25 +00:00
Cameron Gutman
efe34232b4 [PSDK]
- Add INET_E_USE_DEFAULT_SETTING definition
[WINE]
- Add iscntrlW() definition

svn path=/trunk/; revision=49082
2010-10-09 21:10:39 +00:00
Cameron Gutman
c95d5d74b8 [WININET]
- Sync wininet to WINE 1.3.4
- Regenerate wininet_ros.diff so that it actually applies against current WINE head

svn path=/trunk/; revision=49081
2010-10-09 20:08:18 +00:00
Amine Khaldi
2c6d5eb092 [CMAKE]
- Add libspoolss.a

svn path=/branches/cmake-bringup/; revision=49080
2010-10-09 19:20:50 +00:00
Amine Khaldi
60a11ae666 [CMAKE]
- Some work on the dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49079
2010-10-09 19:15:45 +00:00
Cameron Gutman
f39c42c8c2 [WININET]
- Add a ROS-specific change that was missed during the last winesync to fix winsock error handling
- Remove the CP_UNIXCP definition
- Use WSASetLastError instead of errno in inet_ntop.c
- Thanks to IRC:igorko for pointing out the bug

svn path=/trunk/; revision=49078
2010-10-09 18:40:16 +00:00
Timo Kreuzer
ae8c809c3b [CMAKE] Fix option checking
svn path=/branches/cmake-bringup/; revision=49077
2010-10-09 16:25:03 +00:00
Timo Kreuzer
1ae19bdc4a [CMAKE]
Disable PSEH for MSVC

svn path=/branches/cmake-bringup/; revision=49076
2010-10-09 16:23:07 +00:00
Timo Kreuzer
576f37ef4c [CMAKE]
Apply a custom script for MSVC to work around cmakes's WDK incompatibility.

svn path=/branches/cmake-bringup/; revision=49075
2010-10-09 16:13:29 +00:00
Amine Khaldi
78306f6e03 [CMAKE]
- Fix libmpg123 and add it to build.

svn path=/branches/cmake-bringup/; revision=49073
2010-10-09 14:34:03 +00:00
Sylvain Petreolle
da55a789c3 [CMAKE]
Add minicd target.
This partial bootcd target produces a minicd iso,
able to start the install process to the cabinet installation page.

svn path=/branches/cmake-bringup/; revision=49072
2010-10-09 13:54:36 +00:00
Aleksey Bragin
de743e0f9b [HEAP]
- Move (and cleanup) private heap definitions and structure to a standalone header file heap.h. It's explicitly included in heap_rewrite.c and heapdbg.c to prevent conflicts with the existing heap manager in heap.c.

svn path=/trunk/; revision=49071
2010-10-09 13:02:34 +00:00
Amine Khaldi
303e51c09c [CMAKE]
- Apply the linker script to freeldr.

svn path=/branches/cmake-bringup/; revision=49070
2010-10-09 12:53:12 +00:00
Aleksey Bragin
c76fdb3cd6 [HEAP]
- Implement setting/getting heap user values and flags (very easy provided heap design is now proper). Amount of winetest failures is down to 12 (but 3 crashes in child processes).

svn path=/trunk/; revision=49069
2010-10-09 12:49:30 +00:00
Amine Khaldi
239538fb9b [CMAKE]
- Bring back explorer.

svn path=/branches/cmake-bringup/; revision=49068
2010-10-09 12:48:57 +00:00
Amine Khaldi
60ede58f09 [RAPPS]
Igor Paliychuk:
- Update some broken links.
- Changed the cyrillic "P" to a latin "P" in the beginning of the VBox driver's russian and ukrainian descriptions (rapps doesn't display it when it's cyrillic).

svn path=/trunk/; revision=49067
2010-10-09 10:35:35 +00:00
Amine Khaldi
6340b50853 [CMAKE]
- Introduce lesser verbose makefiles.

svn path=/branches/cmake-bringup/; revision=49066
2010-10-09 10:10:39 +00:00
Pierre Schweitzer
ee975c3ca3 [NTDLL]
Fixed build

svn path=/trunk/; revision=49065
2010-10-09 10:01:37 +00:00
Aleksey Bragin
a6dc26d616 [RTL]
- Fix RtlSetUserFlagsHeap declaration and definition.

svn path=/trunk/; revision=49064
2010-10-09 09:19:33 +00:00
Aleksey Bragin
a87de8e0b6 [KERNEL32]
- Revert incorrect changes from 34404 and 40910: RtlSetUserFlagsHeap() doesn't set usual heap flags, it sets special user-settable heap entry flags. With the new heap manager such usage corrupts heap integrity (not to say prototype of this function is incorrect).
- RtlReAllocateHeap() is supposed to copy user values and flags so there is no need to set them afterwise again.
- Fix a typo in comments.

svn path=/trunk/; revision=49063
2010-10-09 09:15:50 +00:00
Amine Khaldi
2541969bd0 [CMAKE]
- More work on the base modules.

svn path=/branches/cmake-bringup/; revision=49062
2010-10-08 23:06:11 +00:00
Amine Khaldi
8db8028cbd [CMAKE]
- More work on the base modules.
- Fix a typo.
- Fix shlwapi and audio_test builds.

svn path=/branches/cmake-bringup/; revision=49061
2010-10-08 22:26:41 +00:00
Amine Khaldi
9967209aea [CMAKE]
- More work on the dlls.

svn path=/branches/cmake-bringup/; revision=49060
2010-10-08 21:34:25 +00:00
Amine Khaldi
e9977ecc9f [CMAKE]
- More work on the dlls.
- libgcc is already a standard C lib, don't relink to it for executables.
- ICU isn't needed for now, disable it.

svn path=/branches/cmake-bringup/; revision=49059
2010-10-08 21:02:11 +00:00
Aleksey Bragin
46819fb8ac [HEAP]
- Roel Messiant: Fix infinite loop in RtlDestroyHeap if heap contained big blocks.

svn path=/trunk/; revision=49058
2010-10-08 20:17:39 +00:00
Aleksey Bragin
129f3f133d [HEAP]
- Set proper heap flags (tail and free checking) in case heap validation is enabled. Fixes another bunch of winetests.

svn path=/trunk/; revision=49057
2010-10-08 19:30:23 +00:00
Amine Khaldi
da7764cd5c [CMAKE]
- Improve some dlls.
- Fix cmd and stlport.
- Add libgcc as a C standard lib.

svn path=/branches/cmake-bringup/; revision=49056
2010-10-08 19:10:33 +00:00
Eric Kohl
8618ae85de [EVENTLOG]
Rename the EVENTSOURCE struct to LOGHANDLE because it is currently used like a handle object. The EVENTSOURCE struct will be added again in one of the next commits.

svn path=/trunk/; revision=49055
2010-10-08 18:48:54 +00:00
Jérôme Gardou
db37322eb6 [CMAKE]
- link executables against gcc and mingw_common
  - remove link dependencies from mingw_common
This puts C executables into a good shape again.

svn path=/branches/cmake-bringup/; revision=49054
2010-10-08 18:04:16 +00:00
Jérôme Gardou
e20a0a30ee [CMAKE]
- Use stlport specific includes only for c++ source files
  - remove linking to ntdll, kernel32 and oldnames for mingw_common

svn path=/branches/cmake-bringup/; revision=49050
2010-10-08 13:47:39 +00:00
Jérôme Gardou
27267a3cab [CMAKE]
- add gcc dependencies to executables, not to mingw_(w)main
[STLPORT]
  - move features definitions where it belongs.
[SDK]
  - errno _must_ be defined in errno.h, nowhere else, or stlport headers choke.

svn path=/branches/cmake-bringup/; revision=49049
2010-10-08 10:46:54 +00:00
Aleksey Bragin
3dea59438f [HEAP]
- Roel Messiant: Remove old-style Peb->ProcessHeaps assignment from RTL, it's already done by MM.
- Roel Messiant: Fix a typo (missing else) between two if branches, which fixes commit routine support.
- Properly save requested size if 0 was given (1 should be allocated, but 0 saved as a requested amount). Fixes winetests.
- Remove unnecessary dprints.

svn path=/trunk/; revision=49048
2010-10-08 09:47:48 +00:00
Jérôme Gardou
1958e125aa [CMAKE]
- remove now useless libstdc++.a

svn path=/branches/cmake-bringup/; revision=49047
2010-10-08 08:32:53 +00:00
Amine Khaldi
4efda499f7 [CMAKE]
Jerome Gardou:
- Add STLport 5.2.1 (yes, STLport, the c++ stl implementation) to build. For now, it works only in user mode.
- Link some c++ executables to it
- sol.exe : one step towards a complete and modern OS.
- Dedicated to Amine for his patience and his help.
- Might Break Things! (tm)

svn path=/branches/cmake-bringup/; revision=49046
2010-10-07 22:09:31 +00:00
Aleksey Bragin
16d1640085 [NTDLL]
- Load image execution options before creating process heap (so that GlobalFlag overrides can be taken into account).
- Make LdrQueryImageFileExecutionOptions avoid heap usage when possible (and when it's not possible, fail with out of memory status).
- Fixes a dramatic count of ~100 failures in "kernel32_winetest heap".

svn path=/trunk/; revision=49045
2010-10-07 21:12:10 +00:00
Pierre Schweitzer
91397f1a7a [NTOSKRNL]
On boot, while loading drivers, make starting Loader Block available to the whole kernel to let drivers calling on-boot functions that may need it.
One of them will be implemented later.

svn path=/trunk/; revision=49044
2010-10-07 20:20:10 +00:00
Pierre Schweitzer
459c241f70 [NTOSKRNL]
Fixed a FIXME in ARC names by implementing IopStoreSystemPartitionInformation(). This make ReactOS writing boot paths to registry.

svn path=/trunk/; revision=49043
2010-10-07 20:08:24 +00:00
Pierre Schweitzer
762f577918 [NTOSKRNL]
Don't ignore IopCreateArcNames() return while booting.
At the moment, it's just returning STATUS_SUCCES but it will be changed later.

svn path=/trunk/; revision=49042
2010-10-07 19:58:22 +00:00
Eric Kohl
d6c9064e9d Fix indentation. No code changes.
svn path=/trunk/; revision=49041
2010-10-07 19:58:04 +00:00
Pierre Schweitzer
5686788c8b [FREELDR]
Fix CDs checksum computation
[NTOSKRNL]
Fix ARC names accordingly

svn path=/trunk/; revision=49040
2010-10-07 19:16:09 +00:00
Giannis Adamopoulos
40dba5e526 [win32k]
- Fix an ancient FIXME in PATH_PathToRegion

svn path=/trunk/; revision=49039
2010-10-07 19:14:49 +00:00
Sir Richard
5d9bbfb9db [NTOS]: Fix copy/paste error.
svn path=/trunk/; revision=49037
2010-10-07 17:41:20 +00:00
Sir Richard
28db1e4106 [NTOS]: Hackfix a hack. Should get rid of the recent VAD assert in user32/bpp changes.
svn path=/trunk/; revision=49036
2010-10-07 17:35:25 +00:00
Sir Richard
12e7ae649b [NTOS]: Add support for user-mode VAD faults on page tables (just a couple lines of extra code).
[NTOS]: Add support for user-mode VAD demand zero faults.
[NTOS]: Remove broken ASSERT.

svn path=/trunk/; revision=49035
2010-10-07 17:27:23 +00:00
Aleksey Bragin
9dabd64349 [HEAP]
- Fix allocated/free memory fillers to match those Windows uses (winetests)
- Add missing coalesce-on-free flag check in RtlCreateHeap
- Turn on tail check/pattern filling in RtlAllocateHeap.
- Add extra stuff storage support in RtlAllocateHeap and its helpers.
- Set win32 statuses where necessary.
- Return success in RtlValidateHeap to reduce spam when running winetest.

svn path=/trunk/; revision=49034
2010-10-07 17:05:29 +00:00
Aleksey Bragin
41b74ee1f9 [NTDLL]
- Fix a typo which always set page heap enabled to true.

svn path=/trunk/; revision=49033
2010-10-07 16:51:19 +00:00
Sir Richard
538c2dfa33 [NTOS]: My attempt at making bugchecks a thing of the past has failed, someone has caught the typo. Bugchecks will now happen in ReactOS again instead of being ignored. Maybe you can "forget" to merge this one with the release branch? ;-)
svn path=/trunk/; revision=49031
2010-10-07 13:52:42 +00:00
Jérôme Gardou
4553cddf93 [CMAKE]
- add missing file to mingw_common

svn path=/branches/cmake-bringup/; revision=49030
2010-10-07 11:47:29 +00:00
Aleksey Bragin
b973ba44ac [WIN32K]
- Roel Messiant: Return correct address in the user heap commit routine. Should fix boot with the new heap manager.

svn path=/trunk/; revision=49029
2010-10-07 07:56:26 +00:00
Aleksey Bragin
9a781f022b [ADVAPI32]
- Roel Messiant: Properly handle STATUS_BUFFER_TOO_SMALL in RegEnumValueW implementation.
See issue #2492 for more details.

svn path=/trunk/; revision=49028
2010-10-07 07:21:08 +00:00
Matthias Kupfer
d584d4e50e Carlo Bramini <carlo DOT bramix AT libero DOT it>
- Fix for render status bar after changing line wrap and flicker issue.
- See issue #5635 for details.

svn path=/trunk/; revision=49027
2010-10-06 22:11:12 +00:00
Eric Kohl
44e8c0e71a [RTL]
Change RtlLockBootStatusData prototype according to http://cookp.com/%2F/thread/1111206/how%20can%20i%20detect%20last%20boot%20success

svn path=/trunk/; revision=49026
2010-10-06 20:43:51 +00:00
Aleksey Bragin
3e76d8224e [NTDLL]
- LoadImageFileExecutionOptions() improvements:
 * Apply certain heap flags if the process is being debugged (only if NtGlobalFlags is not overridden).
 * Implement enabling page heap and reading image-specific configuration values.
- Add page heap configuration values to the Heap Manager.

svn path=/trunk/; revision=49025
2010-10-06 20:34:30 +00:00
Amine Khaldi
9a1ab426cf [CMAKE]
- Rename netevent.mc to neteventmsg.mc
- Add some missing win32 dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49023
2010-10-06 18:57:42 +00:00
Aleksey Bragin
257ce7ee90 - Respectively fix incorrect data type for GlobalFlags in ReactOS registry.
svn path=/trunk/; revision=49022
2010-10-06 17:25:15 +00:00
Aleksey Bragin
83b1daf183 [NTDLL]
- Fix loading of GlobalFlags in Image File Execution Options. I really wonder who had that brilliant idea that bitwise flags would be stored as a string in the registry.
- If there is a GlobalFlags value specified in the registr for that specific image, it means that value should overwrite NtGlobalFlags. Fix that too (previously it was ORing which made no sense).

svn path=/trunk/; revision=49021
2010-10-06 17:18:22 +00:00
Kamil Hornicek
2ff3b055ce [CMD]
Use the full name we get from SearchForExecutable when building the command line for CreateProcess so we get proper name in argv[0] later.

svn path=/trunk/; revision=49020
2010-10-06 16:44:09 +00:00
Sir Richard
c617645ef3 [NTOS]: Fix bugs in the VAD algorithms, we should be rounding up, not down.
svn path=/trunk/; revision=49019
2010-10-06 16:25:30 +00:00
Timo Kreuzer
82280e1435 [NTOSKRNL]
Alternative workaround for pentium lock errata: Instead of burdening the page fault handler, just mark the IDT page as Write-Through if the bug is present. According to http://www.rcollins.org/Errata/Dec97/F00FBug.html it shall prevent the lock up. Please test. Dedicated to elhoir.

svn path=/trunk/; revision=49018
2010-10-06 14:39:56 +00:00
Ged Murphy
90bd7eaa64 - Implement monitor bitmap support for the display dialog
- Fix incorrect codepage values
- Look for applets in windows dir as well as system dir
- Patch by Carlo Bramix
See issue #3158 for more details.

svn path=/trunk/; revision=49017
2010-10-06 14:13:00 +00:00
Sir Richard
1689cea28b [NTOS]: Temporary debugging.
svn path=/trunk/; revision=49016
2010-10-06 13:32:58 +00:00
Amine Khaldi
cec00257f3 [CMAKE]
- Add win32ocx module type.
- Disable the linker script for now.

svn path=/branches/cmake-bringup/; revision=49015
2010-10-06 13:24:46 +00:00
Giannis Adamopoulos
aeb9c9ca8f [win32k]
- co_UserDestroyWindow: Send WM_PARENTNOTIFY message in correct order

svn path=/trunk/; revision=49014
2010-10-06 13:10:00 +00:00
Timo Kreuzer
b70ce19480 remove svn:merginfo
svn path=/trunk/; revision=49013
2010-10-06 12:30:23 +00:00
Timo Kreuzer
888d3b5244 [NTOSKRNL]
- Add amd64 versions of MI_MAKE_PROTOTYPE_PTE and MiProtoPteToPte
- Remove outdated external declarations
- disable deprecated amd64 code
- use MiFillSystemPageDirectory only for 2 paging levels
- Fixes amd64 build

svn path=/trunk/; revision=49012
2010-10-06 12:16:51 +00:00
Giannis Adamopoulos
8ee22f5275 [win32k]
- Send WM_PARENTNOTIFY message when a window is destroyed

svn path=/trunk/; revision=49011
2010-10-06 11:14:58 +00:00
Aleksey Bragin
b2e1788e8e [RTL/HEAP]
- Implement missing parts of a virtual block allocations support.
- Minor fixes to handling extra stuff in heap blocks.
- Wine's heap regression tests now run through the end without crashing and show 277 failures.

svn path=/trunk/; revision=49010
2010-10-06 09:19:24 +00:00
Sylvain Petreolle
3345c4056d [CMAKE]
Add missing psdk dependency to nt and smlib.
Fixes parallel builds.

svn path=/branches/cmake-bringup/; revision=49009
2010-10-06 08:02:25 +00:00
Sir Richard
3ca783f940 Lame... build fix.
svn path=/trunk/; revision=49008
2010-10-06 04:34:36 +00:00
Aleksey Bragin
850e197b58 [RTL/HEAP]
- First commit of a heap manager rewrite. It introduces a totally new heap manager, with the following features:
* Actually resembles real NT's heap manager;
* Based on data structures similar to Windows 2003 and Vista+'s heap structures;
* Supporting advanced heap flags (e.g. useful for debugging);
* Substantially lower fragmentation rates (and thus speed and reliability) than the existing Wine's implementation. It's going to be further enhanced by adding a frontend allocator (for example, as lookaside lists, or as a Low Fragmentation Heap alike frontend in Vista+ systems);
* Real support for user-defined flags and native support for user-defined values;
* Native support for a custom commit routine, which is very important for trunk's win32 subsystem;
* Reserving, committing, decommitting and freeing on the fly, unlike existing heap manager which prefers to reserve and commit as much as possible, and doesn't decommit when it's no longer necessary;
* Support for per process heaps, with a proper lock;
* Reserved support for a special so-called debug heap allocator (to be implemented in heapdbg.c) which will be useful for finding heap corruptions.

The committed code is a result of a month of work, and is a heavy work-in-progress one. It already implements the bare minimum required to boot to 3rd stage and run FireFox 3, however many rare codepaths are not implemented yet and there is some maintenance work to do (e.g. move structures and defines to a standalone header file). A list of used references is stated in the header of a source file for now.

svn path=/trunk/; revision=49007
2010-10-05 21:43:48 +00:00
James Tabor
da848d062f - Fix build from 49005.
svn path=/trunk/; revision=49006
2010-10-05 20:18:04 +00:00
James Tabor
76bac9c7df [Win32k|User32]
- Implement NtUserGetMenuIndex, see Bug 5528.

svn path=/trunk/; revision=49005
2010-10-05 20:13:32 +00:00
Sir Richard
44e3333652 [NTOS]: High-level interface fixes to NtAllocateVirtualMemory/NtFreeVirtualMemory:
- Validate MEM_LARGE_PAGES, MEM_PHYSICAL flags. Check for permission to use MEM_LARGE_PAGES.
        - Validate protection mask.
        - Validate MEM_RELEASE and MEM_DECOMMIT.
        - Perform correct SEH in NtFreeVirtualMemory.
        - Protect against overflows past VAD/User address ranegs.
        - Only reference the process by handle if this isn't already the current process.
        - If this isn't the current process, attach to it during the duration of the VM operation.

svn path=/trunk/; revision=49004
2010-10-05 20:00:32 +00:00
Aleksey Bragin
58ed576929 [RTL]
- Fix heap code to actually use the new lock instead of using RTL_CRITICAL_SECTION.
- Fix a ROUND_UP and ROUND_DOWN macros: it is a *rule* to wrap every argument in braces in a macro, otherwise shit happens. A couple of days were lost fighting a strange bug in the new heap manager code where it was doing ROUND_UP(Heap + 1, PAGE_SIZE)...

svn path=/trunk/; revision=49003
2010-10-05 19:33:42 +00:00
Sir Richard
d8f6e7ccc9 [NTOS]: Build fix.
svn path=/trunk/; revision=49002
2010-10-05 17:01:41 +00:00
Giannis Adamopoulos
947bd17104 [win32k]
- Don't place new windows with default position at the top left corner of the screen
See issue #5484 for more details.

svn path=/trunk/; revision=49001
2010-10-05 16:41:38 +00:00
Sir Richard
553f068d37 [NTOS]: Fix whitespace typo in comment (two spaces instead of one).
That's right. I'm not a fun person.

svn path=/trunk/; revision=49000
2010-10-05 15:59:47 +00:00
Sir Richard
7d21cf7abd [NTOS]: Delete a bunch of junk, 5 less files in Mm now (also moved some functions around). Delete unused functions where found.
[NTOS]: The modified page writer should run at a high priority such as 27, not in idle mode at priority 1 -- otherwise dirty pages never get flushed out.
[NTOS]: Reimplement MmGetFileNameForAddress, MmGetFileNameForSection, MmGetFileObjectForSection to also support ARM3 sections. Shouldn't affect anything other than the user-mode debugging support.

svn path=/trunk/; revision=48999
2010-10-05 15:55:52 +00:00
Sir Richard
103fbf8518 [NTOS]: When shutting down, call Cc to flush the dirty cached pages, otherwise these might've gotten lost (and lead to lost/corrupted data on disk).
[NTOS]: Don't assume that CcFlushDirtyPages will run with APCs disabled. Go ahead and actually enter/leave a critical region (Acquire/ReleaseForLazyWrite depend on this). The guarded mutex does disable APCs, but it's released when the actual flush happens.

svn path=/trunk/; revision=48998
2010-10-05 15:52:00 +00:00
Sir Richard
29764be430 [NTOS]: Implement ARM3 version of MmMapViewOfSection, only for ARM3 pagefile-backed sections, and without any special flag support. Tested and works great, with the new pagefault code correctly finding the Prototype PTE for the VAD.
[NTOS]: Make every VAD insert also create a MEMORY_AREA. Now the two address space views should be completely synchronized and we can try removing the hack that was done for PEB/TEB support (which will remove the 200 thread regression).
[NTOS]: Implement MiGetNextNode and MiFindEmptyAddressRangeInTree.

svn path=/trunk/; revision=48997
2010-10-05 14:36:09 +00:00
Amine Khaldi
08265cb095 [CMAKE]
Alexey Komarov:
- More work on base modules.
- Add some dlls to build.

svn path=/branches/cmake-bringup/; revision=48996
2010-10-05 13:03:47 +00:00
Amine Khaldi
fa0db12e2a [CMAKE]
- Improve mciwave and mmdrv.

svn path=/branches/cmake-bringup/; revision=48995
2010-10-05 12:43:23 +00:00
Aleksey Bragin
faa70e3d70 [HEAP]
- Move on to using a real HEAP_LOCK structure for a heap lock.
- Implement kernel-mode counterparts of this lock too. Right now these don't introduce much of a difference, but they are going to be properly used by the new heap manager code.

svn path=/trunk/; revision=48994
2010-10-05 12:42:55 +00:00
Sir Richard
04a028b58e [NTOS]: Add the tiny little bit of code required to correctly handle user-mode faults on ARM3 mapped sections in certain limited scenarios.
svn path=/trunk/; revision=48993
2010-10-05 08:14:02 +00:00
Sir Richard
121276a884 [NTOS]: Delete deprecated handling of MEMORY_AREA_IO_MAPPING. Delete all MEMORY_AREA definitions except the ones for SEGMENT_VIEW and VIRTUAL_MEMORY. All other memory is now owned by ARM3!
[NTOS]: Delete WriteCopyView flag from MEMORY_AREA (unused, and was taking up 4 bytes due to alignment), and add a Vad pointer (takes up 4 bytes -- no actual size change).
[NTOS]: For VM and Section MEMORY_AREAs mapped in user-mode, build a "fake" VAD and insert it into the VAD Root of the Process. This means there is now a consistent view between ARM3 and RosMm in terms of user-mode address space layout, which will come in handy later.
[NTOS]: Destroy the MEMORY_AREA's VAD when the MEMORY_AREA itself is deleted. Watch out for the scenario explained in a previous check-in, where the VAD was caught by the MmCleanProcessAddressSpace vad-cleanup-loop.
[NTOS]: Implement MiInsertVad to restore the old functionality of MiInsertNode when the current parent and insertion result is not yet known. It obtains the information and calls MiInsertNode.

svn path=/trunk/; revision=48992
2010-10-05 05:07:13 +00:00
Sir Richard
4499f604f5 [NTOS]: Add a _64K macro definition so we can stop typing out 65536 all the time.
svn path=/trunk/; revision=48991
2010-10-05 05:01:15 +00:00
Sir Richard
46b0236d75 [NTOS]: Use the Spare flag in the VAD as a ReactOS/MemoryArea specific flag to signify that this VAD is associated with a MEMORY_AREA and should be unlinked at process exit, but not freed. This is because MemoryAreas themselves are cleaned up later, and in the future their associated VADs (not yet in Trunk) will also be parsed. In the process death scenario, those VADs will be freed, but not unlinked (since it would already have been unlinked).
svn path=/trunk/; revision=48990
2010-10-05 05:00:19 +00:00
Sir Richard
b5e84d5641 [NTOS]: Nobody uses MEMORY_AREA_SYSTEM anymore, call these MEMORY_AREA_OWNED_BY_ARM3 for now. We'll have to sync this code with x86 later anyway.
svn path=/trunk/; revision=48989
2010-10-05 04:58:26 +00:00
Sir Richard
35beef2751 [NTOS]: Nobody actually writes TRUE for WriteCopyView in the MEMORY_AREA data structure, so this field is useless (always false). Remove all instances of its use.
svn path=/trunk/; revision=48988
2010-10-05 04:57:32 +00:00
Sir Richard
fe408085b7 [NTOS]: We don't support SEC_BASED for ARM3 sectios either, ASSERT that.
svn path=/trunk/; revision=48987
2010-10-05 04:56:04 +00:00
Sir Richard
d2d2aa1188 [NTOS]: Nobody reads/checks for MEMORY_AREA_CACHE_SEGMENT. Might as well just call this zero (no logical change).
svn path=/trunk/; revision=48986
2010-10-05 04:53:32 +00:00
Amine Khaldi
01c5da1020 [CMAKE]
- Add regsvr32 to build.

svn path=/branches/cmake-bringup/; revision=48985
2010-10-04 22:25:29 +00:00
Amine Khaldi
d686345e81 [CMAKE]
- More work on the base modules. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48984
2010-10-04 22:19:49 +00:00
Amine Khaldi
a5f513fed5 [CMAKE]
- Disable emitting debug info and applying the linker script for now.
- Enable explorer build.

svn path=/branches/cmake-bringup/; revision=48983
2010-10-04 22:06:46 +00:00
Giannis Adamopoulos
dc6b43fdc5 [win32k]
- Reduce duplicated code in co_UserCreateWindowEx, co_IntSetParent and co_WinPosSetWindowPos
- based on wine

svn path=/trunk/; revision=48982
2010-10-04 21:44:58 +00:00
Sir Richard
7c8612ecb3 [NTOS]: Implement MiMapViewInSystemSpace, all it took was another 250 lines and we can now map ARM3 sections into memory. Accessing them causes a fault, which we correctly handle with the prototype PTE fault code.
[NTOS]: Added a bogus allocation flag that can be used with Nt/MmCreateSection and MmMapViewInSystemSpace to take the ARM3 path instead. Only for internal testing at the moment.
Now we need to look at how to allow mapping these into user-space as well...

svn path=/trunk/; revision=48981
2010-10-04 20:19:03 +00:00
Sir Richard
b45cdc574c [NTOS]: Implement MmCreateArm3Section, which creates ARM3-backed sections, but only for pagefile-backed memory at the moment. It uses MiCreatePagingFileMap and creates the expected Segment, Subsection, ControlArea and Section objects described in Windows kernel internals literrature. It's surprisingly easy and only takes 200 lines of code.
svn path=/trunk/; revision=48980
2010-10-04 19:31:16 +00:00
Sir Richard
5518b60eac [NTOS]: Implement/fixup the code paths during page faults that are needed to succesfuly resolve a demand page associated with a pagefile backed ARM3 section (which uses Prototype PTEs). A lot of the code was already there but assumed we were using Prototype PTEs only for the shared user data page. By combining that code with the typical demand-zero fault code, we obtain the needed paths. For now, only tested with ARM3 sections that are page-filed backed (not image or data-file backed) mapped into system view space (MmMapViewOfSectionInSystemSpace), not user-mode addresses (which need VADs). The code to actually create/map these doesn't exist in trunk yet, the purpose of this checkin is to test the new fault changes to make sure they don't cause negative effects to already-working faults.
svn path=/trunk/; revision=48979
2010-10-04 18:51:07 +00:00
Sir Richard
9dc0c0d12a [NTOS]: Initialize system views by calling MiInitializeSystemSpaceMap. This sets up the lock, bitmap, and hash table.
svn path=/trunk/; revision=48978
2010-10-04 18:36:37 +00:00
Sir Richard
566335dd79 [NTOS]: Define MI_MAKE_PROTOTYPE_PTE macro to make a real prototype PTE from a PTE. Define counter-part MiProtoPteToPte to recover the true PTE from a given Prototype PTE.
[NTOS]: Define MI_PTE_LOOKUP_NEEDED instead of using 0xFFFF. The name was found in checked build assertion strings.
[NTOS]: Add MM_VIEW (used for System-mapped Section Views) and MM_SESSSION (used to define the system/session view mappings) structure definitions.

svn path=/trunk/; revision=48977
2010-10-04 18:34:41 +00:00
Sir Richard
ee353ad690 [NTOS]: Go ahead and now fill out the OriginalPte field for PFNs initialized with MiInitializePfn(ForOtherProcess). They should only belong to ARM3 so they'll never have SwapEntry/RMAP associated with them. This functionality is important for future Prototype PTE support, among other things, as it lets us get the original PTE value written for a given PFN entry.
svn path=/trunk/; revision=48976
2010-10-04 18:22:50 +00:00
James Tabor
251be92abf [PSDK] - Add more track popup menu types.
svn path=/trunk/; revision=48975
2010-10-04 15:41:25 +00:00
Amine Khaldi
5682f2f8b1 [CMAKE]
- Fix bzip2.

svn path=/branches/cmake-bringup/; revision=48974
2010-10-04 07:11:54 +00:00
Amine Khaldi
12c54162f5 [CMAKE]
- Add almost all base applications (some are included but disabled too). This is the work of a human being, so no bots BS, no rbuildism, every single module was tested, built with the new build system mentality (no defines and linked libs redundancy, use of the the available macros, the linked libs are carefully selected, the dependencies are correctly tracked... etc)
- Brought to you by Alexey Komarov, with my humble review.

svn path=/branches/cmake-bringup/; revision=48973
2010-10-03 22:26:21 +00:00
Amine Khaldi
40f47f612c [CMAKE]
- Improve win32csr.
- Add libdevmgr.a

svn path=/branches/cmake-bringup/; revision=48972
2010-10-03 21:57:08 +00:00
James Tabor
aea07215a8 [Win32k]
- Fixed ValidateTimerCallback, always returning true and just spinning in the loop.
- Add one more process information flag with a point type and capturing the hit test in desktop structure.

svn path=/trunk/; revision=48970
2010-10-03 19:18:19 +00:00
Cameron Gutman
e14624d8ca [NDIS]
- Disable timer queuing code (hackfix for various network driver failures)
- Also needs to be merged into 0.3.12

svn path=/trunk/; revision=48968
2010-10-03 15:18:57 +00:00
Amine Khaldi
c6dd9578be [CMAKE]
- Improve some dlls.

svn path=/branches/cmake-bringup/; revision=48967
2010-10-02 22:19:59 +00:00
Amine Khaldi
12fbca9aba [CMAKE]
- Introduce the case where entry point is 0.
- Improve some dlls.

svn path=/branches/cmake-bringup/; revision=48966
2010-10-02 19:08:06 +00:00
Amine Khaldi
e7caf66239 [CMAKE]
- Improve the IDL macro, along with some dependencies.

svn path=/branches/cmake-bringup/; revision=48965
2010-10-02 17:09:48 +00:00
Amine Khaldi
0281bf63e6 [CMAKE]
- Improve the unicode situation.
- Apply a consistent formatting.
- Improve the unicode modules we have so far.
- Get rid of some rbuildism.
- Overall improvements.

svn path=/branches/cmake-bringup/; revision=48964
2010-10-02 16:09:32 +00:00
Sylvain Petreolle
83719eaee5 [CMAKE]
Add missing libcryptui.a for wintrust.dll.

svn path=/branches/cmake-bringup/; revision=48963
2010-10-02 14:02:32 +00:00
Amine Khaldi
8bedef940b [CMAKE]
- Add wdmaud.drv, windowscodecs, winfax, wing32, winhttp, winmm, winspool, winsta and winsta to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48962
2010-10-02 11:18:13 +00:00
Amine Khaldi
1f173861bb [CMAKE]
- Add wininet to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48961
2010-10-02 10:15:25 +00:00
Amine Khaldi
4837d9a1c0 [CMAKE]
- Fix wininet translations so that wininet can compile. I'll provide a patch upstream.

svn path=/branches/cmake-bringup/; revision=48960
2010-10-02 10:14:50 +00:00
Sir Richard
b01fc3d9a7 [NTOS]: Move all the Nt*Section API interfaces into ARM3 and rewrite most of the code to perform the same parameter validation and input checks as Windows does. Support all protection masks. Use correct section object access mask. Use appropriate SEH where needed. Pass 0-initialized local instead of NULL when needed. Don't assume certain parameters are OPTIONAL when they are not. Don't return SEH failures at the end of the system call, the kernel usually returns the result of the system call proper. Call DbgkMapViewOfSection in scenarios where it would not have gotten called before. Protect against certain kinds of kernel-mode access from user-mode.
[NTOS]: Move unimplemented Mm*Section APIs into ARM3 as well.

svn path=/trunk/; revision=48959
2010-10-02 02:14:39 +00:00
Sir Richard
706c5f3899 [PSDK]: Add missing SEC_XXX definitions for Server 2003 (Vista ones still missing).
[KERNEL32]: NtCreateSection should not be called with merely SEC_FILE: this says nothing about what kind of operation should be done (a commit, a reserve, etc?). Use SEC_COMMIT instead to specify correct operation. This works in ReactOS as of now, but would've failed after the NtSection* API rewrite.
[KERNEL32]: CreateFileMappingW should also accept/allow SEC_LARGE_PAGES, even if we don't suppport it yet.

svn path=/trunk/; revision=48958
2010-10-02 01:12:53 +00:00
Amine Khaldi
7f773550af [CMAKE]
- Add wlanapi, wldap32, ws2_32(_new) and drmk to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48957
2010-10-01 21:52:15 +00:00
Amine Khaldi
466fc93fa7 [CMAKE]
- Make static libs out of the idl files.
- Improve wshirda, wshtcpip and wsock32.
- Include bmfd into build.

svn path=/branches/cmake-bringup/; revision=48956
2010-10-01 21:33:07 +00:00
Matthias Kupfer
93a1ceb834 Yugoslavia no longer exists for some time, replaced by Serbia as successor of country code (phone)
svn path=/trunk/; revision=48955
2010-10-01 19:54:27 +00:00
Johannes Anderwald
a53b8966ba [VIDEOPRT]
- Add sanity checks
- Implement VideoPortGetCommonBuffer, VideoPortLockPages


See issue #5629 for more details.

svn path=/trunk/; revision=48954
2010-10-01 17:43:03 +00:00
Amine Khaldi
9d4f5c4c27 [CMAKE]
- Add ws2help, wshirda, wshtcpip, wsock32, wtsapi32, wuapi, xinput*, xmllite, cmbatt, compbatt, dxapi, dxg, dxgthk, fs_rec, msfs and mup to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48953
2010-10-01 16:30:49 +00:00
Amine Khaldi
657cc3f2f4 [CMAKE]
- Add libdrmk.a and libks.a

svn path=/branches/cmake-bringup/; revision=48952
2010-10-01 08:41:45 +00:00
Amine Khaldi
72864bcd6c [CMAKE]
- Add ksuser, npfs, ntfs, ks, parallel, serenum, serial, pciide, pciidex, usbdriver, usbd, framebuf, framebuf_new and portcls to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48951
2010-10-01 00:15:10 +00:00
Jérôme Gardou
b0ce92bdb2 [CMAKE]
- fix msvc extrac32 build

svn path=/branches/cmake-bringup/; revision=48950
2010-09-30 22:05:12 +00:00
Jérôme Gardou
5835ca9362 [CMAKE]
- fix msvc xcopy compilation by merging 48948 and linking it to ntdll

svn path=/branches/cmake-bringup/; revision=48949
2010-09-30 21:49:15 +00:00
Jérôme Gardou
2374c7cb8d [XCOPY]
- Fix compilation with msvc
1. Someone should send this to wine (this is NOT lazyness)
2. Someone should tell mingw dev about http://msdn.microsoft.com/en-us/library/aa381050%28v=VS.85%29.aspx

svn path=/trunk/; revision=48948
2010-09-30 21:45:36 +00:00
Amine Khaldi
b69be78e88 [CMAKE]
- Add audio_test, kmixer, wdmaud, sysaudio and ntvdm to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48947
2010-09-30 20:37:04 +00:00
Amine Khaldi
98d310566e [CMAKE]
- Add vgaddi, bmfd, vbemp, vgamp, vga, vmx_svga and xboxvmp to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48946
2010-09-30 19:10:49 +00:00
Jérôme Gardou
06bc5262ae [CMAKE]
- fix reg compilation with msc

svn path=/branches/cmake-bringup/; revision=48945
2010-09-30 18:57:28 +00:00
Jérôme Gardou
c332bcbe26 Merge 48942
svn path=/branches/cmake-bringup/; revision=48944
2010-09-30 18:56:42 +00:00
Daniel Reimer
1a753c8708 Anti Oracle Movement has begun. Adding go-oo and LibreOffice to rapps.
svn path=/trunk/; revision=48943
2010-09-30 18:47:32 +00:00
Jérôme Gardou
ffeeddd5ee [DOSKEY]
- Fix compilation with msvc by GetProcAddress'ing undocumented functions
  - TCHAR -> WCHAR in the process

svn path=/trunk/; revision=48942
2010-09-30 18:45:58 +00:00
Sir Richard
efefc97901 [NTOS]: This is why you shouldn't let Antoine Dodson commit code.
svn path=/trunk/; revision=48941
2010-09-30 14:48:03 +00:00
Sir Richard
febd117a3b [NTOS]: He's climbing in yo PFN database, he snatching yo pages up, tryin to page em so y'all need to hide your pool hide your cache, and hide your working set cuz they grabbin' all the pages out there. We gonna page you, we gonna page you, so you can run and fault on that, run and fault on that, home boy, homeboy, home homeboy.
Enable ARM3 Paged Pool and remove all related deprecated code. Install tested on several VMs, it might cause new regressions. Let's fix them before 0.3.13 instead of reverting.

svn path=/trunk/; revision=48940
2010-09-30 04:40:31 +00:00
Sir Richard
40ba0f9329 [NTOS]: Use SYSTEM_PD_SIZE instead of assuming that this is PAGE_SIZE, since this is not the case on (future) ARM and (current) AMD64 ports.
[NTOS]: Remove some magic numbers in the pool code, using PTE_COUNT, MiAddressToPde, when needed. Also, the expansion code uses PDEs, not PTEs, so differentiate this, because on some systems (ARM), there are different structures for both.
[NTOS]: Use MI_WRITE_INVALID_PTE.
ARM3 paged pool now works, the expansion bug has been fixed (and the code is more portable). Expect to see it gradually enabled soon.

svn path=/trunk/; revision=48939
2010-09-30 03:26:13 +00:00
Sir Richard
39ab07fe2a [NTOS]: MiSetConsumer no longer achieves anything. Remove it.
svn path=/trunk/; revision=48938
2010-09-30 03:21:02 +00:00
Sir Richard
eaff9c1e8c [NTOS]: Add definition for size of a page directory, and size of all page directories required per process (some architectures have more than one page directory per process/address space).
svn path=/trunk/; revision=48937
2010-09-30 03:18:44 +00:00
Sir Richard
80d5d95d72 [NTOS]: Fix a bug in MiRemoveAnyPage: it was always checking the colored zero page list, instead of checking the colored free page list the second time around.
svn path=/trunk/; revision=48936
2010-09-30 03:17:14 +00:00
Pierre Schweitzer
a14c76d2c8 [PSDK]
Fixed build

svn path=/trunk/; revision=48935
2010-09-29 22:54:00 +00:00
Aleksey Bragin
24e16c3ff8 [REGE[REGEDIT]
- Katayama Hirofumi: Don't leak open handles to keys.
- Katayama Hirofumi: Misc code changes/ cleanup.
See issue #5547 for more details.

svn path=/trunk/; revision=48934
2010-09-29 21:52:16 +00:00
Aleksey Bragin
26adfda6bd [REGEDIT]
- Katayama Hirofumi: Unicodify regedit, add support for import/export of v5 reg files. Based on Wine regedit.

svn path=/trunk/; revision=48933
2010-09-29 21:43:39 +00:00
Pierre Schweitzer
219137196e [KMTEST]
Added a small testcase for FsRtlIsNameInExpression(). It's quite relevant for daily and simple use of the function. It shouldn't fail on ReactOS given our current implementation.

svn path=/trunk/; revision=48932
2010-09-29 21:42:11 +00:00
Aleksey Bragin
5ea7ca5562 PSDK
- Edison Henrique Andreassy <ehasis@hotmail.com>: Add FILEMUIINFO definition.
See issue #5640 for more details.

svn path=/trunk/; revision=48931
2010-09-29 21:32:56 +00:00
James Tabor
0922c986a4 [Win32k]
- Return the correct complexity, pass all user32 wine test_winregion tests.

svn path=/trunk/; revision=48930
2010-09-29 05:23:15 +00:00
James Tabor
658175b3a0 [Win32k]
- Fix future wine sync user32 win test for get process default layout with null parameter.

svn path=/trunk/; revision=48929
2010-09-29 02:29:33 +00:00
Cameron Gutman
be6788e54b [ACPI]
- Fix ACPI warnings
- Based on a patch by Love Nystrom

svn path=/trunk/; revision=48928
2010-09-29 02:16:18 +00:00
Sir Richard
14f8621042 [NTOS]: Add MiRemoveZeroPageSafe helper function, when a zero page is required, but the inline zeroing of MiRemoveZeroPage is not. This function will only try grabbing a zero page if one exists, otherwise a free page will be grabbed and zeroed with custom code of the caller's choosing.
[NTOS]: Add concept of process color and system color. Compute correct color to use whenever requesting a page.
[NTOS]: Uncondtionally enable the color code when inserting/removing pages.
For now, when requesting a page, colors are still ignored, and the global PFN lists are scanned instead. If there are no regressions, we are one patch away from that.

svn path=/trunk/; revision=48927
2010-09-29 01:10:28 +00:00
Sir Richard
71e8fc824b [NTOS]: Fix straggling bugs in color table algorithms.
[NTOS]: Enable color tables! Right now pages are merely entering and exiting the tables, the tables themselves are never used for allocations. This will change with further commits.

svn path=/trunk/; revision=48926
2010-09-29 00:13:09 +00:00
Sir Richard
f41dde713f [NTOS]: Write missing color code in certain PFN functions, and fix existing code where needed. Add some debugging. For now, turned off until testing succeeds.
[NTOS]: Redocument which MMPFN fields are violated by ReactOS-internal values. This has gotten much better than before.

svn path=/trunk/; revision=48925
2010-09-28 22:41:46 +00:00
Amine Khaldi
119639a212 [FONTS]
- Update RedHat Liberation Fonts to 1.06
- Update Tahoma Fonts To Wine HEAD
- Update DejaVu Fonts Documentation To 2.31
See issue #5632,5633,5634 for more details.

svn path=/trunk/; revision=48924
2010-09-28 17:19:52 +00:00
Amine Khaldi
1e65804aea [USETUP]
- Update Estonian translation by anthrax11.

See issue #5625 for more details.

svn path=/trunk/; revision=48923
2010-09-28 17:12:46 +00:00
Sir Richard
05d3392da9 [NTOS]: Switch to using an ARM3, much more correct MmZeroPageThread. Stub support for discarding sections and listening to the Power Manager Idle Timer.
[NTOS]: Use a synchronization (auto-reset) instead of notification event for the zero page thread, this way we don't have to reset it manually and query its state. Instead, a boolean MmZeroingPageThreadActive is checked instead.
[NTOS]: Once we switch to colored lists, major improvements can be done for speed.

svn path=/trunk/; revision=48922
2010-09-28 16:47:25 +00:00
Sir Richard
6ef328578c [NTOS]: The RMAP entry only has a valid process if the address is in user-space, otherwise process is NULL. Only attempt to acquire the process rundown lock if a process actually exists. Fixes crashes caused by 48905.
svn path=/trunk/; revision=48921
2010-09-28 16:44:18 +00:00
Sir Richard
5b9cd7fcae [NTOS]: Zeroed pages should go at the front, not the back of the zero list. Going to the back is a special boot-only case on MP, which isn't supported. Implement zero-only version of MiInsertPageInList, remove MiInsertZeroPageAtBack.
[NTOS]: Remove many other deprecated functions. Physical memory consistency should now be higher than in the past.

svn path=/trunk/; revision=48919
2010-09-28 14:38:30 +00:00
Sir Richard
354ad6b9eb [NTOS]: One last fix to the zero page thread before we move to ARM3: use MiRemoveAnyPage instead of dangerous MiRemoveHeadList. The code works on the assumption (validated by Windows through a bug check) that MiRemoveAnyPage always returns the first free page, and we also manually grab the first free page, and compare this is true. Nice way to detect PFN database corruption.
[NTOS]: Fix MiInsertZeroAtBack to increment the MmAvailablePage count, since MiRemoveAnyPage decrements it (MiRemoveHeadList did not).

svn path=/trunk/; revision=48918
2010-09-28 14:29:37 +00:00
Aleksey Bragin
66ff3d5774 [KERNEL32]
- Igor Paliychuk: Fix properly showing genitive names from NLS data by applying a missed Wine sync.
See issue #5556 for more details.

svn path=/trunk/; revision=48917
2010-09-28 14:24:17 +00:00
Amine Khaldi
f2afdbbc4a [CMAKE]
- Add csrss, csrsrv and win32csr to build. By Alexey Komarov (IRC: q4a)

svn path=/branches/cmake-bringup/; revision=48916
2010-09-28 13:41:23 +00:00
Amine Khaldi
a6480c90d3 [USETUP]
- Update Ukrainian translation by Igor Paliychuk.
See issue #5536 5540 5604 5614 5617 for more details.

svn path=/trunk/; revision=48915
2010-09-28 13:39:57 +00:00
Amine Khaldi
9a79b1e80d [CMAKE]
- Add typelib support macro and use it with stdole2. By Jerome Gardou.

svn path=/branches/cmake-bringup/; revision=48914
2010-09-28 13:32:41 +00:00
Kamil Hornicek
9856680c43 [KERNEL32]
Winnls.h can be included now.

svn path=/trunk/; revision=48913
2010-09-28 00:02:05 +00:00
Sir Richard
f269313793 - Remove MiZeroPage, use MiZeroPhysicalPage instead. They work pretty much the same except the needless raise to DISPATCH_LEVEL.
- Get rid of the messed up MiMapPageToZeroInHyperSpace which was hacking into MiMapPagesToZeroInHyperSpace. Now MiMapPagesToZeroInHyperSpace is properly implemented to use chained PFNs, and the MmZeroPageThread code has been modified to correctly use the new mechanism.
- Zero page mapping now happens at PASSIVE trough MiMapPAgesToZeroInHyperSpace, not DISPATCH anymore.
- More fixes are coming to remove the remaining MiRemoveHeadList and rewrite the zero page loop. Should fix more possible corruptions.

svn path=/trunk/; revision=48912
2010-09-27 21:58:54 +00:00
Sir Richard
df34e334f0 [NTOS]: Adding colored page lists means we need to start using the OriginalPte field as a forward/back link. This is shared with AweReferenceCount, which ReactOS uses as the RMAP list head. However, RMAPped pages shoudl never be free/zero, and non-free-zero pages will never have a color backlink in OriginalPte, so it should theoretically be safe to do this. However, it's possible for the RMAP "get" function to be called on a free/zero page (which would normally return NULL), but with color chaining enabled, the "get" function would misinterpret the backlink as an RMAP entry. Therefore, we overload the ParityError bit to signify "there is an RMAP". The get/set functions now handle this, and the color linkage will ASSERT this later. This way, a colorlink with ParityError == FALSE is not treated as an rmap list head.
svn path=/trunk/; revision=48910
2010-09-27 17:36:54 +00:00
Sir Richard
05ce063ebc [NTOS]: Don't use dangerous MiRemoveHeadList in MDL page allocation, use MiRemoveAnyPage instead.
[NTOS]: Don't repurpose pages from the zero/free page list without actually unlinking the page first! This should fix even more corruptions.

svn path=/trunk/; revision=48909
2010-09-27 17:09:33 +00:00
Sir Richard
f5f6cee1d0 [NTOS]: Stop using MiInsertInListTail and MiRemoveHeadList in the deprecated ReactOS page functions. Those two functions do not adequately support the semantis needed for page insertion/removal and should've never been used. MmAllocPage now uses MiRemoveAny/ZeroPage, and MmDereferencePage uses MiInsertPageInFreeList. Should help with some corruptions. More is coming.
svn path=/trunk/; revision=48908
2010-09-27 16:00:24 +00:00
Giannis Adamopoulos
3e70fced07 [user32]
- Remove the last reactos-only export from user32 (PrivateCsrssManualGuiCheck)

[win32csr]
- Move PrivateCsrssManualGuiCheck from user32 to win32csr

svn path=/trunk/; revision=48907
2010-09-27 14:31:13 +00:00
Sylvain Petreolle
c0c597d9c6 [CMAKE]
Add a set_rc_compiler macro,
its a workaround for lack of mingw RC support in cmake.
Enable winemine build.
Improve user32 CMakeLists.txt.

Thanks to AmineKhaldi for initial support of resources in user32.

svn path=/branches/cmake-bringup/; revision=48906
2010-09-27 09:14:54 +00:00
Michael Martin
f9692ba22c [ntoskrnl/mm]
- Acquire rundown protection on process to make sure it is not being terminated and before attempting to do anything with the process. Fixed a rare case of PspDeleteProcess being called twice for a process, resulting in bugcheck.


svn path=/trunk/; revision=48905
2010-09-27 08:46:02 +00:00
James Tabor
e4ec568733 [Win32k]
- Implement win32k support functions for Get and Set process default layout.
- Due to changes with wine it will be difficult to sync when RTL support is being added to ComCtl32.

svn path=/trunk/; revision=48904
2010-09-27 02:46:16 +00:00
Sir Richard
de914c19e1 [DDK]: Add misisng MmLockPagableCodeSection.
svn path=/trunk/; revision=48903
2010-09-26 15:01:37 +00:00
Eric Kohl
db53bf24cb [NTOSKRNL]
Implement NtQueryOpenSubKeys.

svn path=/trunk/; revision=48902
2010-09-26 11:37:40 +00:00
Jérôme Gardou
3b92867c2a [CMAKE]
- Add disabled winemine build file

svn path=/branches/cmake-bringup/; revision=48901
2010-09-26 10:09:06 +00:00
Jérôme Gardou
c9dc1e22be [CMAKE]
- add iexplore to build

svn path=/branches/cmake-bringup/; revision=48900
2010-09-26 09:56:28 +00:00
Jérôme Gardou
5cacf14c7f [CMAKE]
- add hh to build

svn path=/branches/cmake-bringup/; revision=48899
2010-09-26 00:37:46 +00:00
Matthias Kupfer
c23c9c81ca disable some locale IDs because they are not supported yet
- 417 Rhaeto-Romanic
- 445 Bengali (India)
or still unknown
- 48f
- 490
this fixes multiple entries (see bug #5636)

svn path=/trunk/; revision=48898
2010-09-25 23:20:23 +00:00
Jérôme Gardou
796d321ba6 [CMAKE]
- add set_unicode macro to msvc toolchain
  - fix win32cui module type for msvc

svn path=/branches/cmake-bringup/; revision=48897
2010-09-25 23:01:09 +00:00
Eric Kohl
1f2f04ed9b [NTOSKRNL]
IoRegisterPlugPlayNotification: Do not fail if no Interface can be found for the given GUID. Just do not call the Callback-Routine in this case. The Interface could be created later.

svn path=/trunk/; revision=48896
2010-09-25 21:49:15 +00:00
Pierre Schweitzer
d695e74a70 [RTL]
Fixed a really stupid (and old) bug in RtlComputeCrc32():
First parameter is initial CRC32 checksum. And it's complete and not partial, thus it needs to be an ULONG and not an USHORT.
This fixes CRC32 checksum computation with initial checksum (tested again Windows 2003 & Seven).

svn path=/trunk/; revision=48895
2010-09-25 21:20:54 +00:00
Amine Khaldi
ced22a087c [PSDK]
- Add missing header's header.

svn path=/trunk/; revision=48894
2010-09-25 20:47:15 +00:00
Amine Khaldi
9ea8827010 [CMAKE]
- Introduce proper set_entrypoint and set_subsystem macros for both mingw and msvc.
- Fix the subsystem for console apps.

svn path=/branches/cmake-bringup/; revision=48893
2010-09-25 20:44:46 +00:00
Christoph von Wittich
355ac9b9dc [bzip2]
update bzip2 library to 2.06

svn path=/trunk/; revision=48892
2010-09-25 20:28:00 +00:00
Jérôme Gardou
cb3ae7dca0 [WIN32K]
- clean up EXLATEOBJ before error path in NtGdiBitBlt

svn path=/trunk/; revision=48891
2010-09-25 19:53:43 +00:00
Jérôme Gardou
0dfa12e039 [CMAKE]
- add fontview to build
  - add experimental solitaire build file

svn path=/branches/cmake-bringup/; revision=48890
2010-09-25 19:51:28 +00:00
Sylvain Petreolle
1a3df1da9b [CMAKE]
Add importlibs for c++ modules.

svn path=/branches/cmake-bringup/; revision=48889
2010-09-25 19:43:52 +00:00
Matthias Kupfer
cfb984e8bb one more fix (on request of Pierre S.)
svn path=/trunk/; revision=48888
2010-09-25 19:24:03 +00:00
Sylvain Petreolle
fcc4413386 [CMAKE]
Add explorer to build.
Not enabled now, it links but executable is not valid.

svn path=/branches/cmake-bringup/; revision=48887
2010-09-25 19:17:39 +00:00
Matthias Kupfer
2a1e1c7eff add missing close for handle
svn path=/trunk/; revision=48886
2010-09-25 19:07:37 +00:00
Jérôme Gardou
9273ed2434 merge r48884 from trunk
svn path=/branches/cmake-bringup/; revision=48885
2010-09-25 18:48:17 +00:00
Jérôme Gardou
6d6fd14277 [SOLITAIRE]
- do not include already included file in rc files

svn path=/trunk/; revision=48884
2010-09-25 18:44:54 +00:00
Matthias Kupfer
0b903df4a7 fix GeoID bug (forgotten \0)
svn path=/trunk/; revision=48883
2010-09-25 18:24:57 +00:00
Amine Khaldi
3938ef73b1 [CMAKE]
- Fix the linking regression.

svn path=/branches/cmake-bringup/; revision=48882
2010-09-25 17:57:03 +00:00
Jérôme Gardou
0196ce1ec8 [CMAKE]
- improve cacls build file
  - add control and extrac32 to build

svn path=/branches/cmake-bringup/; revision=48881
2010-09-25 17:42:29 +00:00
Sylvain Petreolle
ba887f723b [CMAKE]
Add cmd to build.

svn path=/branches/cmake-bringup/; revision=48880
2010-09-25 17:40:02 +00:00
Giannis Adamopoulos
28b33bcfe7 [win32k]
- Cleanup UserSetCursorPos
- UserSetCursorPos: set the new position after sending WM_MOUSEMOVE message
now we pass all tests for SetCursorPos

svn path=/trunk/; revision=48879
2010-09-25 16:59:53 +00:00
Amine Khaldi
f6e6759404 [PSDK]
- Add CDROM_TOC_SESSION_DATA structure.
[DDK]
- Add missing min and max macros.

svn path=/trunk/; revision=48878
2010-09-25 15:51:42 +00:00
Amine Khaldi
fd0b03ddfd [PSDK]
- Add missing ntddmmc.h definitions.

svn path=/trunk/; revision=48877
2010-09-25 15:37:43 +00:00
Sylvain Petreolle
639ad14ab9 [CMAKE]
Add add_minicd_target and add_minicd macros.

svn path=/branches/cmake-bringup/; revision=48876
2010-09-25 15:36:17 +00:00
Jérôme Gardou
38dd8fce5f [CMAKE]
- improve cacls build file
  - add charmap, dbgprint, doskey, find, hostname, lodctr, more, reg and xcopy build files
  - add win32cui module type to msc toolchain
find is commented out for now. 

svn path=/branches/cmake-bringup/; revision=48875
2010-09-25 15:31:18 +00:00
Amine Khaldi
5360c03d98 [PSDK]
- Add some missing IOCTL_* definitions.

svn path=/trunk/; revision=48874
2010-09-25 14:45:03 +00:00
Amine Khaldi
29ab93ce7f [CMAKE]
- Improve acpi, isapnp, pci, pcix and pcmcia (import libs, dependencies...etc)

svn path=/branches/cmake-bringup/; revision=48873
2010-09-25 14:39:51 +00:00
Amine Khaldi
afe5d2ee6e [CMAKE]
- Improve uuid and add psdk dependency.

svn path=/branches/cmake-bringup/; revision=48872
2010-09-25 14:30:47 +00:00
Sylvain Petreolle
4b8f69dfac [CMAKE]
Add set_unicode macro.
Add win32dll module type.
Set CMAKE_CXX_LINK_EXECUTABLE.
Clear CMAKE_CXX_STANDARD_LIBRARIES.
Improve calc.

svn path=/branches/cmake-bringup/; revision=48871
2010-09-25 14:22:16 +00:00
Amine Khaldi
6b61faf281 [CMAKE]
- Fix set_subsystem for mingw32.

svn path=/branches/cmake-bringup/; revision=48870
2010-09-25 14:02:06 +00:00
Jérôme Gardou
eb95f483b7 [CMAKE]
- Add win32cui module type to gcc toolchain
  - Add cacls to build

svn path=/branches/cmake-bringup/; revision=48869
2010-09-25 13:38:44 +00:00
Amine Khaldi
610744f805 [DDK]
- Fix a typo and introduce some minor formatting changes.

svn path=/trunk/; revision=48868
2010-09-25 09:39:08 +00:00
Eric Kohl
6df63531e0 Fix build failure from r48863.
svn path=/trunk/; revision=48867
2010-09-25 07:53:07 +00:00
Eric Kohl
8d574b3e5a [HAL]
Implement HalStopProfileInterrupt and add required RTC register and flag definitions.

svn path=/trunk/; revision=48866
2010-09-25 07:22:40 +00:00
Sir Richard
d59da19b08 [PSDK/DDK]: Last couple of fixes to headers. Classpnp can compile (and link) now.
svn path=/trunk/; revision=48865
2010-09-25 05:46:31 +00:00
Sir Richard
c0e90cf2dd [PSDK/DDK]: Add more missing definitions. Fix classpnp.h.
svn path=/trunk/; revision=48864
2010-09-25 05:15:47 +00:00
Amine Khaldi
7c9e442a28 [PSDK]
- Add some missing structures in ioevent.h
[DDK]
- Add some more missing definitions.

svn path=/trunk/; revision=48863
2010-09-25 01:12:17 +00:00
Amine Khaldi
d7d6e5e9c3 [DDK]
- classpnp.h: Add FUNCTIONAL_DEVICE_EXTENSION, SET_FLAG, CLEAR_FLAG and TEST_FLAG

svn path=/trunk/; revision=48862
2010-09-25 00:51:30 +00:00
Amine Khaldi
d732208205 [DDK]
- Add missing classpnp.h

svn path=/trunk/; revision=48861
2010-09-24 23:42:30 +00:00
Sir Richard
0c7d1b1c8f [NTDLL]: Use LOCK instead of lock for SList assembly functions, this is a conditional such that on UP, "lock" instruction won't be generated.
[NTDLL]: Apply the special begin/fault/resume lablels to the user-mode SList functions. Access faults can happen there due to a bug in the Windows algorithm, and Mm will need to handle that.
[NTOS]: Lookup the special labels from above when initializing the System DLL. Only lookup INT2E vs SYSENTER on x86, other architectures don't need a stub.
[NTOS]: Bitmap resources start at index 1, not 0. Also make sure we don't go past the maximum IDB_ resource index for no reason, and check the size of the resource instead of assuming it's going to be one page.
[NMIDEBUG]: Fix and cleanup some code, and enable NMI support on the boot/install CD as well.

svn path=/trunk/; revision=48860
2010-09-24 17:02:13 +00:00
Michael Martin
2c5e05984a [ntoskrnl/ps]
- Revert r48857. The Process object is dereferenced when the Thread object is destroyed, so dont dereference it here.

svn path=/trunk/; revision=48859
2010-09-24 15:27:24 +00:00
Michael Martin
0059b61f9c [ntoskrnl/ps]
- Remove mistakenly committed ASSERTs that were used during my tests.

svn path=/trunk/; revision=48858
2010-09-24 10:23:01 +00:00
Michael Martin
b83eb0a472 [ntoskrnl/ps]
- PspCreateThread: If thread creation fails, dereference the Process object also to account for the reference taken at the beginning of the function.

svn path=/trunk/; revision=48857
2010-09-24 10:07:54 +00:00
Amine Khaldi
c746b1187c [CMAKE]
- Add fastfat_new by Alexey Komarov (IRC: q4a)

svn path=/branches/cmake-bringup/; revision=48856
2010-09-24 09:46:34 +00:00
Daniel Reimer
03a0d1dc88 Big rapps Update
svn path=/trunk/; revision=48855
2010-09-23 21:33:49 +00:00
Timo Kreuzer
ba0bf5862d [HAL]
Fix amd64 build

svn path=/trunk/; revision=48854
2010-09-23 20:22:12 +00:00
James Tabor
81730f239d [Win32k]
- Coding for PrintWindow support for bug 5609. This does not fix the export, which should be a direct call to win32k.

svn path=/trunk/; revision=48853
2010-09-23 17:51:10 +00:00
Amine Khaldi
9c28319873 [CMAKE]
- Don't export symbols from pci(x) and pcmcia.

svn path=/branches/cmake-bringup/; revision=48852
2010-09-23 16:50:00 +00:00
evb
29f98a6645 - Fix PciFindParentPciFdoExtension bug found by sir_richard "Early break would leave the lock held"
- Fix PciGetHackFlags for setup found by sir_richard "Setup currently doesn't have a correct registry"
- Fix DriverEntry for setup like PciGetHackFlags
- Fix DriverEntry PciOpenKey check found by sir_richard "PciOpenKey returns a BOOLEAN, not an NTSTATUS"
- Stop call PciGetAcpiTable found by sir_richard "PciGetAcpiTable is really broken, can lead to infinite loops, and also corrupts memory. We need to fix stefan's bugs"
- Implement not root FDO code in PciScanBus and support PCI_HACK_ONE_CHILD
- Implement multiple FDO exist code in PciAddDevice so PCI Bridge support now
- Implement PciAreBusNumbersConfigured for PCI Bridge support
- Hack FDO Start Device by sir_richard "The root FDO does send boot resources if PCIX is installed properly, this code will be needed"
- Do PCI_BUS_DRIVER_INTERNAL bugcheck by sir_richard "I have hacked KeBugCheckEx to ignore this for now, until PnP is fixed"
- Implement not root FDO code in PciInitializeArbiters
- Implement PciCacheLegacyDeviceRouting, PciFindPdoByLocation used by PciAssignSlotResources
- Make PciTranslateBusAddress do the stub work
- PciAssignSlotResources disabled because ReactOS not support IoAssignResources
- Implement PPBridge_ChangeResourceSettings
PCIX driver nearly working now.

svn path=/trunk/; revision=48851
2010-09-23 13:24:41 +00:00
Johannes Anderwald
10eb63f2df [KS]
- Simplify KsTopologyPropertyHandler by using KspReadMediaCategory helper
- Return correct status code in case of an overflow

svn path=/trunk/; revision=48850
2010-09-23 11:36:00 +00:00
Johannes Anderwald
cf358ed153 [I8042PRT]
- Fix potential buffer overflow

svn path=/trunk/; revision=48849
2010-09-23 11:32:34 +00:00
Amine Khaldi
9b07516436 - Bugs 5536, 5614, 5604, 5617 and 5540: Apply translation patches provided by Mario Kacmar, Marcelo Zamperetti, Igor Paliychuk, Paolo Devoti and seven_ro.
svn path=/trunk/; revision=48847
2010-09-22 19:29:20 +00:00
Sir Richard
409884a7ce [FREELDR]: Fix the last remaining build issue. Libgcc needs to be linked to provide umovsi/udivsi, etc (same fix as for setupldr).
svn path=/trunk/; revision=48846
2010-09-21 17:50:01 +00:00
Amine Khaldi
d09d10d12d [KERNEL32]
- Sylvain Petreolle: Fix debug channels for release builds.

svn path=/trunk/; revision=48845
2010-09-21 17:14:22 +00:00
Sir Richard
b60395bc25 [HAL]: Partly implement HalpAdjustPCIResourceList required for legacy HAL. No actual adjustment is done yet, since the Range package is not implemented.
[HAL]: Implement most of HalpGetISAFixedPCIIrq, other than the legacy PCI IRQ Routing Miniport callbacks, which aren't yet implemented by ReactOS.
The Windows PCI Bus Driver seems to work now.

svn path=/trunk/; revision=48844
2010-09-21 17:07:40 +00:00
Aleksey Bragin
7e91f6cbe7 - Update 3rd Party Files.txt To Current 3rd Party Releases.
See issue #5603 for more details.

svn path=/trunk/; revision=48843
2010-09-21 08:30:56 +00:00
Sir Richard
88e1640ef7 Patches to allow Windows PCI Bus Driver to start working somewhat (need to implement HalAdjustResourceList for PCI to make it go further):
[BOOTDATA]: Windows Bus Drivers/HAL/Kernel require Arbiter data in the registry placed by the installer, otherwise they will not load. Add this Arbiter data.
[NTOS]: Add support for KeyValueFullInformationAlign64, used by some Windows drivers (as a bonus, support Win64). PartialInformationAlign64 is a different beast -- warn when a driver attempts to use it, instead of silent failure.
[NTOS]: Export VfFailSystemBIOS and stub it.
[NTOS]: Warn when a driver fails to load due to a missing dependency and print the name and/or missing module, instead of silently failing.
[NTOS]: Due to a bug in the ReactOS PnP manager, Windows PCI Driver hits an internal pseudo-assert. Hack KeBugCheckEx to ignore this pseudo-assert and continue executing normally.

svn path=/trunk/; revision=48839
2010-09-21 05:34:05 +00:00
Timo Kreuzer
d7733b45c3 [CMAKE]
Create a portable way of compiling IDL files.
Sorry for the coding style :)

svn path=/branches/cmake-bringup/; revision=48838
2010-09-21 02:31:09 +00:00
Amine Khaldi
f8d1229750 [CMAKE]
- Remove a superfluous slash.
- Don't link to any standard libraries, we explicitly link to what's needed.

svn path=/branches/cmake-bringup/; revision=48837
2010-09-20 23:14:45 +00:00
Timo Kreuzer
ddd44b1b17 [CMAKE]
Improve calc

svn path=/branches/cmake-bringup/; revision=48836
2010-09-20 22:35:54 +00:00
Timo Kreuzer
aa9ef9f784 [CMAKE]
Improve usetup

svn path=/branches/cmake-bringup/; revision=48835
2010-09-20 22:35:23 +00:00
Amine Khaldi
80c36d8bb3 [CMAKE]
- Remove unneeded dependency.
- Remove rbuild file.

svn path=/branches/cmake-bringup/; revision=48834
2010-09-20 19:46:05 +00:00
Cameron Gutman
12d05b7eb8 [TCPIP]
- Process the timer event directly from the DPC instead of queuing a work item then raising to DISPATCH_LEVEL later when acquiring a spin lock
- Optimize the spin lock operations in NBTimeout and IPDatagramReassemblyTimeout for being called at DISPATCH_LEVEL

svn path=/trunk/; revision=48833
2010-09-20 19:08:40 +00:00
Timo Kreuzer
e4d6536049 [CMAKE]
Add missing cportlib cmake file.

svn path=/branches/cmake-bringup/; revision=48832
2010-09-20 18:41:46 +00:00
Timo Kreuzer
912ce51ae6 [CMAKE]
Sync with trunk head (r48826)

svn path=/branches/cmake-bringup/; revision=48831
2010-09-20 17:27:52 +00:00
Timo Kreuzer
0540ad4d50 [CMAKE]
Add dependency to the .mc files

svn path=/branches/cmake-bringup/; revision=48830
2010-09-20 16:43:43 +00:00
Timo Kreuzer
f8447bf6ef [CMAKE]
Fix ntoskrnl compilation that broke after the changes to the configuration options

svn path=/branches/cmake-bringup/; revision=48829
2010-09-20 16:38:40 +00:00
Timo Kreuzer
688eef2602 [MSVC]
__MINGW_ATTRIB_DEPRECATED aka __declspec(deprecated) must be put before the function declaration for MSVC.

svn path=/branches/cmake-bringup/; revision=48828
2010-09-20 14:16:22 +00:00
Timo Kreuzer
8f7b60f9c7 [MSVC]
Remove some invalid characters in uk-UA.rc resource file.

svn path=/branches/cmake-bringup/; revision=48827
2010-09-20 13:44:32 +00:00
Michael Martin
a5a6cf644d [usb/usbhub]
- WaitForUsbDeviceArrivalNotification: Dont use IoBuildDeviceIoControlRequest to create the IRP as we dont wait for the IRP to complete in the current thread. It must be built using IoAllocateIrp.
- DeviceArrivalCompletion: Allocate the WorkItem from NonPagedPool vice using one in the DeviceExtension. Free the Irp and return STATUS_MORE_PROCESSING_REQUIRED so the IO Manager doesnt try to do anything more with the now freed Irp.
- When selecting the Interface use the routines in USBD library now that they are implemented correctly.
- More fixes for passing the correct DeviceObject when calling QueryRootHub.


svn path=/trunk/; revision=48826
2010-09-20 06:55:54 +00:00
Sir Richard
56738210e7 [MISC]: Fix several compiler issues on my main build box. Some of the Unicode translations in kernel32 fail to compile, while other libraries don't build because old C library names (without the underscore) are used.
[SETUPLDR]: Unify the old setupldr settings with more recent freeldr ones. Also fixes missing _udiv/mod functions on my build.

svn path=/trunk/; revision=48825
2010-09-20 06:30:21 +00:00
Timo Kreuzer
aeead4620b [CMAKE]
- Improved MSVC toolchain support, now working with WDK, as well
(Thanks to Amine for solving the problems)
- Add compiler specific macro set_subsystem
- add nativecui module type

svn path=/branches/cmake-bringup/; revision=48824
2010-09-19 23:03:25 +00:00
Timo Kreuzer
0ba3fa7266 [CMAKE]
syntax... "just for consistency"

svn path=/branches/cmake-bringup/; revision=48823
2010-09-19 20:16:40 +00:00
Timo Kreuzer
d6a629d822 Fix a typo.Thanks to Usurp for noticing.
svn path=/branches/cmake-bringup/; revision=48822
2010-09-19 20:10:55 +00:00
Timo Kreuzer
aefbd32d48 [CMAKE]
- Add support for gui configurable options
- globalize compiler specific cmake files
- Add compiler specific macros set_entrypoint, set_module_type

svn path=/branches/cmake-bringup/; revision=48821
2010-09-19 20:06:02 +00:00
Timo Kreuzer
e00685d331 [CMAKE]
Add RC compiler and Assembler to MSC toolchain

svn path=/branches/cmake-bringup/; revision=48820
2010-09-19 18:53:55 +00:00
Timo Kreuzer
d8ac6e1a9c [CMAKE]
Add MSVC compatible MC command

svn path=/branches/cmake-bringup/; revision=48819
2010-09-19 18:52:34 +00:00
Timo Kreuzer
942aa9560e [MSVC]
Don't pass gcc specific options to msvc

svn path=/branches/cmake-bringup/; revision=48818
2010-09-19 17:39:09 +00:00
Sylvain Petreolle
7330915418 [CMAKE]
Add ext2 to build.

svn path=/branches/cmake-bringup/; revision=48816
2010-09-19 16:36:43 +00:00
Timo Kreuzer
355f25521c [MSVC]
remove intrinsics that don't exist

svn path=/branches/cmake-bringup/; revision=48815
2010-09-19 16:27:13 +00:00
Sylvain Petreolle
886d934055 [CMAKE]
Fix minicd boot regression.
Remove unneeded usetup link to msvcrt.

svn path=/branches/cmake-bringup/; revision=48814
2010-09-19 16:16:01 +00:00
Eric Kohl
9c6c2c7c45 [USETUP]
Add Brazilian portuguese USETUP localization patch by Edison Henrique Andreassy.


See issue #5313 for more details.

svn path=/trunk/; revision=48813
2010-09-19 12:46:54 +00:00
Aleksey Bragin
0dc63433f9 [DESK.CPL]
Katayama Hirofumi <katayama.hirofumi.mz@gmail.com>
- Renamed GLOBAL_DATA structures to DATA.
- Added real GLOBAL_DATA in background.c, that manages the background color.
- Resolved conflict of background colors in background.c and appearance.c.
- Fixed drawing the menu in draw.c.
See issue #5620 for more details.

svn path=/trunk/; revision=48812
2010-09-19 11:54:33 +00:00
Amine Khaldi
f24f83f0b3 [CMAKE]
- Add network drivers (afd, ne2000, pcnet, ndis, tcpip and tdi) to build.

svn path=/branches/cmake-bringup/; revision=48811
2010-09-19 11:19:16 +00:00
Michael Martin
3a615a70fb [usb/usbd]
- Fix calculation bug in USBD_ParseDescriptors which caused descriptors to be skipped and all Parse functions to return bad information.
- USBD_CreateConfigurationRequestEx: Fix calculation for the size of the URB.
Dont copy the InterfaceList to the Urbs Interface member as they are not the same structures.  Instead loop through each interface and endpoint to get the data needed for the Interface member of URB.
- USBD_GetInterfaceLength: Add missing brackets for the FOR LOOP. The first descriptors length is part of the Length regardless of what it is.
If bDescriptorType of USB_INTERFACE_DESCRIPTOR_TYPE is reached a second time then break from the loop, as the length calculation is done.

svn path=/trunk/; revision=48810
2010-09-19 00:30:49 +00:00
Amine Khaldi
13f105b14b [CMAKE]
- Introduce MSVC toolchain support. Just use -DCMAKE_TOOLCHAIN_FILE=toolchain-msvc.cmake for the toolchain.
- Sync setjmp.h from trunk.
- Improve mingw targets (mingw_common, mingw_wmain, oldnames... etc) a bit to make them compile and link with msvc.
- Dedicated to Timo ;)

svn path=/branches/cmake-bringup/; revision=48809
2010-09-19 00:27:24 +00:00
Amine Khaldi
0dbb8d3eb2 [CMAKE]
- *cough* Separate compiler specific flags.

svn path=/branches/cmake-bringup/; revision=48808
2010-09-19 00:15:45 +00:00
Cameron Gutman
cf913565c0 [IP]
- Fix a reference leak when aborting a listen request

svn path=/trunk/; revision=48806
2010-09-18 15:50:56 +00:00
Sylvain Petreolle
c702cc0d5a [CMAKE]
Generalize CMAKE_C_CREATE_SHARED_LIBRARY and remove per project instances.
Thanks to Amine for regexxer tool discovery ;)


svn path=/branches/cmake-bringup/; revision=48804
2010-09-18 15:22:08 +00:00
Amine Khaldi
13dc8a4761 [CMAKE]
- Generalize CMAKE_C_LINK_EXECUTABLE and CMAKE_EXE_LINKER_FLAGS, and use additional flags per module.
- Fix usetup: make it depend on psdk and buildno_header, and also fix the entry point (_NtProcessStartup -> _NtProcessStartup@4)
- Make ext2lib depend on psdk.

svn path=/branches/cmake-bringup/; revision=48802
2010-09-18 12:14:03 +00:00
Aleksey Bragin
41106fa541 [NTOS]
- Add support for Cyrix CPUs by checking and applying a workaround for the Cyrix 6x COMA bug (description here: http://gwyn.tux.org/~balsa/linux/cyrix/p11.html).
See issue #5610 for more details.

svn path=/trunk/; revision=48801
2010-09-18 09:14:45 +00:00
Aleksey Bragin
becc9ed282 [SC]
- Roel Messiant: Fix a crash when running some operations in sc without providing arguments. Also, provide usage information for the control and unknown commands.
- Aleksey Bragin: Take Ged Murphy's comments into account and change pointer arithmetic to a convenient style.
See issue #5611 for more details.

svn path=/trunk/; revision=48800
2010-09-18 08:41:06 +00:00
Amine Khaldi
6730fe41ce [CMAKE]
- Export cdmake as a native tool.

svn path=/branches/cmake-bringup/; revision=48798
2010-09-17 22:19:48 +00:00
Sylvain Petreolle
41eb5217ba Add Amine's libgcc.a.
This allows to build without rosbe change.
(forgotten in previous commit)

svn path=/branches/cmake-bringup/; revision=48797
2010-09-17 20:41:58 +00:00
Sylvain Petreolle
174808a463 Move all temporary import libs to a single directory.
This allows linking to libraries with "-lfoo".

svn path=/branches/cmake-bringup/; revision=48796
2010-09-17 20:27:01 +00:00
Aleksey Bragin
2c10fb5d07 [OLE32]
- Sync to Wine-20100918.
See issue #5592 for more details.

svn path=/trunk/; revision=48795
2010-09-17 20:13:28 +00:00
Timo Kreuzer
2cc0f42e45 [SHELL32]
Johannes Anderwald:
- Partly revert 48786
- Use existing sLinkPath instead of own grown sCurFile
- Fixes 6 more winetest failures, 4 to go for shellink test

svn path=/trunk/; revision=48792
2010-09-17 19:00:12 +00:00
Timo Kreuzer
2755820d64 Sync with trunk head (r48786)
svn path=/branches/reactos-yarotows/; revision=48787
2010-09-17 16:17:17 +00:00
Amine Khaldi
c8d65c59a4 [SHELL32]
Johannes Anderwald:
- Improve parameter checks for IShellLinkA interface.
- Fix heap corruption when an invalid pointer is passed.
- Implement IPersistFile_fnGetCurFile.
- TODO: Add same checks to IShellLinkW interface and fix IShellLink[A|W]::GetPath / SetPath / SetIdList / GetIdList logic.

svn path=/trunk/; revision=48786
2010-09-17 10:26:17 +00:00
Timo Kreuzer
253e949e7a [WIN32K]
Fix a bug, where a failure to allocate the kernel mode WINDOW_OBJECT would cause a page fault, because the WND was still allocated, but never initialized, and Wnd->rpdesktop was then dereferenced to free the WND again.

svn path=/trunk/; revision=48785
2010-09-17 01:34:50 +00:00
Timo Kreuzer
becce266ec [WIN32K]
- Remove some obsolete casts

svn path=/branches/reactos-yarotows/; revision=48782
2010-09-16 19:26:12 +00:00
Timo Kreuzer
30fad2a263 [NTOS]
- More fixes to VDM PUSH/POPF code: 
- When doing a 32bit push, don't store the flags 2 bytes off
- Recalculate HardwareEsp, by substracting the segment part, instead of truncating the flat pointer to 16 bit.

svn path=/trunk/; revision=48781
2010-09-16 19:21:20 +00:00
Sir Richard
cdebe5691a Patch by Anton Yarotsky:
[NTOSKRNL]: Fix support for non Headless scenarios as well.

svn path=/trunk/; revision=48780
2010-09-16 02:22:10 +00:00
Timo Kreuzer
c2e13c8c49 Fix arm build a bit.
svn path=/trunk/; revision=48779
2010-09-15 23:48:38 +00:00
Sir Richard
af197a47b2 Patch by Anton Yarotsky:
[NTOSKRNL]: Implement CmdPutString command, and add log message types. Kernel version/build, processor, and RAM, now appear on EMS screen (due to InbvDisplayString), as well as loaded drivers. Next steps are to support log entries and a flag to route debug output (a ReactOS-specific feature request).

svn path=/trunk/; revision=48778
2010-09-15 18:30:06 +00:00
Michael Martin
0b77725d6e [usb/usbehci]
- Change email address to one that actually works.

svn path=/trunk/; revision=48777
2010-09-15 13:16:59 +00:00
Amine Khaldi
61ae4ea31c [DDK]
- Define DECLSPEC_EXPORT when it's not already defined.

svn path=/trunk/; revision=48774
2010-09-15 09:03:57 +00:00
Sir Richard
b52bd79196 Patch by Anton Yarotsky:
[NTOSKRNL]: Implement basic Headless support in the kernel. Implement missing InbvPort routines based on WinLdrPort (using cportlib). Add header for Hdl. Terminal initializes now on COM2. Added misisng code to InbvDisplayString to also display on Headless Terminal (requires unimplemented HeadlessDispatch). Next steps are to implement the kernel log buffer, and HeadlessCmdPutString to see boot strings.

svn path=/trunk/; revision=48773
2010-09-15 07:46:28 +00:00
Sir Richard
c806e95592 Patch by Anton Yarotsky:
[FREELDR]: Fix Headless support.

svn path=/trunk/; revision=48772
2010-09-15 07:40:50 +00:00
Michael Martin
7a26c678b7 [usb/usbhub]
- On completion of SCE request, create and queue a workitem to handle:
Clearing the connection flag and reset the port. 
Create and initialize the USB device by calling the appropriate roothubs Direct Call Interface.
Create the device object, get the device descriptors and the serial and product strings of the USB device to be used for creating the deviceid and instanceid.
- Format code and misc changes.
- Together with the usbehci driver, ReactOS at least runs the device installation wizard with the correct device description.

svn path=/trunk/; revision=48771
2010-09-14 12:04:15 +00:00
Michael Martin
45bd4d8031 [usb/usbehci]
- Dont reset the port in the DPC after device is connected, the usbhub driver will do that later.
- Implement ResetPort and create a timer to call a DPC to coplete the SCE request.
- Dont queue all URBs and have seperate thread complete them as other URBs may still need to be completed.
Instead only queue the SCE request and complete it when a usb device is connected or reset.
- Implement RemoveURBRequest and fix bugs in URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE.
- For IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO dont return the FDO in Argument2 as no upper level driver should be communicating with the FDO of the roothub.
- Dont assign the usb device an address when initialized as the hub driver will do it later.

svn path=/trunk/; revision=48770
2010-09-14 09:46:28 +00:00
Sir Richard
ef0d280232 Patch by Anton Yarotsky:
[FREELDR]: Implement support for /redirect=comX (usebiossettings not yet supported) and /redirectbaudrate. Uses cportlib. Tested, serial output works and kernel reports "Headless support is not yet implemented". Future revisions should support ACPI SRT for PCI-based serial ports on server systems.

svn path=/trunk/; revision=48768
2010-09-13 20:36:49 +00:00
Amine Khaldi
1a554af4a0 [USETUP]
- Sylvain Petreolle: Improve debug prints for disk space check.

svn path=/trunk/; revision=48767
2010-09-13 17:25:00 +00:00
Amine Khaldi
9c827ade73 [USETUP]
- Christoph von Wittich: Add a debug print, and improve an existing one.

svn path=/trunk/; revision=48766
2010-09-13 16:34:15 +00:00
Amine Khaldi
93dbd3207b [CMAKE]
- Add pci, pcixn pcmcia, videoprt and wmilib to build.

svn path=/branches/cmake-bringup/; revision=48765
2010-09-13 13:48:29 +00:00
Eric Kohl
cab60ab876 [BATT]
Add missing 4th parameter to BatteryClassCoInstaller.

svn path=/trunk/; revision=48764
2010-09-13 11:48:59 +00:00
Amine Khaldi
a5f63965c8 [CMAKE]
- Introduce support for the amd64 toolchain. Using it is as simple as adding -DARCH=amd64 to the cmake line (next to the toolchain file define).
- Dedicated to Sylvain (Usurp) ;)

svn path=/branches/cmake-bringup/; revision=48763
2010-09-12 21:03:47 +00:00
Amine Khaldi
6e7a324a26 [CMAKE]
- Improve bootvid, crt and ntoskrnl.

svn path=/branches/cmake-bringup/; revision=48762
2010-09-12 21:02:18 +00:00
Cameron Gutman
b4473ff304 [DESK]
- "repair DragFullWindows setting"
- Patch by Matthias Kupfer

svn path=/trunk/; revision=48761
2010-09-12 20:10:27 +00:00
Amine Khaldi
d95f9d3190 [CMAKE]
- Fix usetup build.

svn path=/branches/cmake-bringup/; revision=48760
2010-09-12 19:38:21 +00:00
Sir Richard
903bb1c887 Likely fix for bug 5600:
[NTOS]: Using IsBadRead/CodePtr, it's possible for user-mode code to generate cases where we *think* this is an ARM3-managed piece of VA, which will always have a VAD (Since we only manage the PEB/TEB), but actually it's a bogus VA-looking address that is actually invalid. We didn't consider this case. We now implement the same code Windows normally would also handle, when the VA is bogus, and accept that no VAD might be found, so MM_NOACCESS is returned and thus an access violation sent to the caller. In the case of the IsBad...Ptr, this function would then return TRUE, as the caller expects.

svn path=/trunk/; revision=48759
2010-09-12 19:10:27 +00:00
Sir Richard
3f003e294e [NTOS]: Move the fix for pool corruption due to dangling MmProcessLinks pointer into its correct location. Thanks again to Martin for the fix.
svn path=/trunk/; revision=48758
2010-09-12 19:02:39 +00:00
Eric Kohl
46d89d3a50 Make Services.exe and Winlogon.exe wait for the LSA server to be up and running. Otherwise calls to any LSA function might fail.
Thanks to Roel Messiant for testing and analyzing the debug logs.

See issue #5497 for more details.

svn path=/trunk/; revision=48757
2010-09-12 16:29:43 +00:00
Sylvain Petreolle
24906fcdfc Add usetup to build.
svn path=/branches/cmake-bringup/; revision=48755
2010-09-12 15:12:20 +00:00
Amine Khaldi
2270e330b0 [PSDK]
- Properly guard d3d9types.h and d3dtypes.h against DIRECT3D_VERSION versions.

svn path=/trunk/; revision=48754
2010-09-12 14:51:32 +00:00
Aleksey Bragin
078476414c - Revert 48750, I was misinformed.
svn path=/trunk/; revision=48753
2010-09-12 12:14:46 +00:00
Cameron Gutman
804899ffc6 [NDIS]
- Fix timer queuing
- See issue #5461 for details

svn path=/trunk/; revision=48752
2010-09-12 11:57:55 +00:00
Aleksey Bragin
8fcb361453 [PCIX]
- Stefan Ginsberg: Fix a typo in the if expression.

svn path=/trunk/; revision=48751
2010-09-12 10:35:01 +00:00
Aleksey Bragin
5bb5788d76 [NTOS]
- Add CmRegistryMachineSystemName to the internal header file, needed for Pierre's further work.

svn path=/trunk/; revision=48750
2010-09-12 10:29:35 +00:00
Aleksey Bragin
526130ba91 [FREETYPE]
- Fix FT_Get_CID_Is_Internally_CID_Keyed export name to match source code.

svn path=/trunk/; revision=48749
2010-09-12 10:11:55 +00:00
Sir Richard
6575a83c33 - Fix the ChangeResourceSetting and the Reset configurator callback parameter names
- Part support for resource change with PciComputeNewCurrentSettings... full support for PciSetResources, PciUpdateHardware, PcipUpdateHardare
- IRP_MN_START_DEVICE for PDO (PciPdoIrpStartDevice) implement 
- PciNextPartialDescriptor, PciDebugPrintCmResList, PciDebugPrintPartialResource helpers implement
- Now full PDO support almost done, PCIX driver ready for test
- Thanks to cgoodman assert fix
- PnP forever recursion in enumerate, must fix to finish
- Goodbye sir_richard, nice to have you

svn path=/trunk/; revision=48748
2010-09-12 06:03:12 +00:00
Cameron Gutman
a0b7f0f4b9 [USETUP]
- Update the Polish translation
- Patch by Olaf Siejka

svn path=/trunk/; revision=48747
2010-09-12 00:47:07 +00:00
Aleksey Bragin
a14482e225 [WINLOGON]
- Fix comments copypasta.

svn path=/trunk/; revision=48746
2010-09-11 21:16:41 +00:00
Aleksey Bragin
a5c563dfdb [NTOS]
- Daniel Zimmermann: Fix POPF bugs in VDM mode, namely truncation of the stackpointer to 16 bit and setting proper flags in the trapframe eflags register. This fixes problems with videocards calling int 0x10 VESA BIOS extension.
See issue #5608 for more details.

svn path=/trunk/; revision=48745
2010-09-11 09:20:26 +00:00
Aleksey Bragin
b8cbac25c2 - Fix build, sorry.
svn path=/trunk/; revision=48744
2010-09-11 09:01:58 +00:00
Aleksey Bragin
c9888046ef [HAL]
- Don't include PCI IDs database into mini-HAL.

svn path=/trunk/; revision=48743
2010-09-10 21:57:46 +00:00
Eric Kohl
c3c0a62855 [DESK.CPL]
Fix client font in the advanced appearance dialog. Patch by Katayama Hirofumi.
See issue #5552 for more details.

svn path=/trunk/; revision=48742
2010-09-10 21:57:36 +00:00
Aleksey Bragin
9488b4aab6 [FORMATTING]
- Fix indentation.

svn path=/trunk/; revision=48741
2010-09-10 21:51:32 +00:00
Aleksey Bragin
2d246e918e [HAL]
- Add missing call to HalInitPnpDriver during I/O manager initialization. The HAL PnP driver was never getting initialized.
- Add HAL callback for HalInitPnpDriver. It's going to be needed in future for eVb's PCI driver to fully work (interrupt translation, among other things).

svn path=/trunk/; revision=48740
2010-09-10 21:46:13 +00:00
Aleksey Bragin
1a029a622d [NTOS]
- Fix several bugs in Inbv (busted locking code, useless variables, magic initializers).

svn path=/trunk/; revision=48739
2010-09-10 21:28:24 +00:00
Michael Martin
bd0767f9fd [ntoskrnl/io]
- Modify IopCreateDriver to accept the PLDR_DATA_TABLE_ENTRY instead of the DllBase and SizeOfImage from this structure.
- Set the DriverObject->DriverSection before calling the DriverEntry routine.
- If the DriverEntry routine fails then set the DriverObject->DriverSection back to NULL so that IopDeleteDriver doesnt attempt to unload the ModuleObject, after it was already unloaded by the caller.

svn path=/trunk/; revision=48738
2010-09-10 21:25:53 +00:00
Aleksey Bragin
0daaf9da75 [NTOS]
- Fix a code typo which led to a security issue when the XOR algorithm for the system cookie might actually yield zero. Now it's going to loop as long as the cookie is 0, attempting to generate a non-zero one.

svn path=/trunk/; revision=48737
2010-09-10 21:13:06 +00:00
Aleksey Bragin
9b12a8c1d7 [NDK]
- Remove deprecated KV86M structures and files.

svn path=/trunk/; revision=48736
2010-09-10 21:08:38 +00:00
Aleksey Bragin
1f4771d41b [NTOS]
- Fix a strange bug where we were only setting SharedUserData->TestRetInstruction conditionally only if lookup failed - it should be set on success. Also, bail out if the lookups failed.

svn path=/trunk/; revision=48735
2010-09-10 21:01:59 +00:00
Michael Martin
dee985f9c6 [ntoskrnl/io/pnpmgr]
- Fix incorrect POOL_TYPE allocation in IoInvalidateDeviceRelations. This function can be called at DISPATCH_LEVEL, which requires NonPagedPool POOL_TYPE.

svn path=/trunk/; revision=48734
2010-09-10 19:45:01 +00:00
Aleksey Bragin
1355a06e32 [NDK]
- Fix KiBugCheckData declaration.

svn path=/trunk/; revision=48733
2010-09-10 18:20:37 +00:00
Aleksey Bragin
0955523e4f [WIN32K]
- Giannis Adamopoulos: Only dereference a class if it's valid, should fix Heroes 3 crash.
See issue #5606 for more details.

svn path=/trunk/; revision=48732
2010-09-10 18:13:02 +00:00
Aleksey Bragin
cacc80ae3e [HAL]
- Stub support for future timer latency watchdog.
- Change older-style comments to standard ReactOS commenting style.

svn path=/trunk/; revision=48731
2010-09-10 13:15:51 +00:00
Aleksey Bragin
b84512b555 [NTOS]
- Rename KINTERRUPT_DISPATCH_CODES to DISPATCH_LENGTH, as it is in PSDK.
- Enhance NMI debug support.
- Change some comments to standard ReactOS commenting style.

svn path=/trunk/; revision=48730
2010-09-10 09:54:30 +00:00
Aleksey Bragin
7a9bd9ccea [KERNEL32]
- Fix release build, part 2. Further improvement to gDebugChannels would be to convert them to a DECLARE_DEBUG_CHANNEL-alike macro.

svn path=/trunk/; revision=48729
2010-09-10 09:04:25 +00:00
Aleksey Bragin
60bb233f46 - Fix typos in the description of serial port defines.
svn path=/trunk/; revision=48728
2010-09-10 08:30:13 +00:00
Sir Richard
c27087c0e6 Patch by Anton Yarotsky:
[CPORTLIB]: Implement Windows' Cp (ComPort) library. See Notes in C file. Not yet used. Based on MS Whitepaper: Building Hardware and Firmware to Complement Microsoft Windows Headless Operation.

svn path=/trunk/; revision=48727
2010-09-10 05:22:48 +00:00
Aleksey Bragin
228af0c797 [NTOS]
- Fix release build, leftover from 48692.

svn path=/trunk/; revision=48726
2010-09-09 21:06:13 +00:00
Michael Martin
322032192b [ntoskrnl/po]
- Fix typo.

svn path=/trunk/; revision=48725
2010-09-09 09:22:49 +00:00
Michael Martin
573715a9fe [ntoskrnl/po]
- When an IRP is freed in a Completion routine the return Status is STATUS_MORE_PROCESSING_REQUIRED to let IoCompleteRequest know not to do anything further with the IRP.

svn path=/trunk/; revision=48724
2010-09-08 21:30:40 +00:00
Eric Kohl
db5ca64e4e [SCSIPORT]
Implement RequestTimerCall-Notification. This is used by uniata.

svn path=/trunk/; revision=48723
2010-09-08 10:39:37 +00:00
Eric Kohl
3100fc8995 [USETUP]
Allocate a drive layout buffer that is large enough to keep a primary partition table (4 partition entries) plus 26 logical drives (2 partition entries each). Total 56 partition entries. This should be enough for everybody until we support GPT partition tables. ;-)
See issue #5270 for more details.

svn path=/trunk/; revision=48722
2010-09-07 15:21:06 +00:00
Eric Kohl
340a34cec4 Improvements to NtAdjustPrivilegesToken part 4 (last one):
- SEH-protect all code that writes to PreviousState as it cannot be captured.
- Add a missing ObDereferenceObject and SeReleaseLuidAndAttributesArray.

svn path=/trunk/; revision=48721
2010-09-07 15:08:29 +00:00
Michael Martin
e851b3ba21 [usb/usbhub]
- Add function for dumping the Device and Configuration Descriptors.
- Implement WaitForUsbDeviceArrivalNotification, used to send a URB transaction to the Status Change Endpoint of the RootHubs pdo. The RootHubs pdo will queue this request until a new usb device connects.
- Call above function at the end of UsbhubFdoQueryBusRelations, which will be called by the pnp manager after the hub driver creates a new child device.
- Change the URB to be allocated from the pool at IRP_MN_START_DEVICE.
- Call QueryRootHub with the RootHub Pdo and not the hub drivers DeviceObject.
- Implement selecting a configuration for the RootHub.

svn path=/trunk/; revision=48719
2010-09-07 11:44:03 +00:00
Michael Martin
b43cf6c771 [USETUP]
- Translation updates by Pierre Schweitzer.

svn path=/trunk/; revision=48718
2010-09-07 09:40:53 +00:00
Eric Kohl
6153f47739 Improvements to NtAdjustPrivilegesToken part 3:
- Simplify the privilege modification code.

svn path=/trunk/; revision=48717
2010-09-07 09:32:30 +00:00
Sir Richard
b96cb710f4 [GDI32]: Don't destroy the heap when calling GetSystemPaletteEntries. Note to whoever wrote "//make this work": (&array[x]) is defintely not equal to (&array + x). This is why we don't use pointers-to-arrays, among other reasons.
[GDI32]: Reformat GetSystemPaletteEntries away from grotesque 5-space identation (who does that?).
[GDI32]: Optimize GetSystemPaletteEntries by not zeroing over fields that get overwritten anyway.
[GDI32]: Simplify loop control, remove not-needed local variable in GetSystemPaletteEntries.

svn path=/trunk/; revision=48716
2010-09-07 07:50:51 +00:00
Sir Richard
65fc01dc92 [PSDK]: Get rid of unused variable.
svn path=/trunk/; revision=48715
2010-09-07 05:22:13 +00:00
Amine Khaldi
07d976dff7 [FREELDR]
- Update fathelp.S to reflect Timo's recent changes in trunk.

svn path=/branches/cmake-bringup/; revision=48702
2010-09-05 16:31:06 +00:00
Amine Khaldi
626eb6f07b [CMAKE]
- Mark nci_output and nci_folders as lists.

svn path=/branches/cmake-bringup/; revision=48699
2010-09-04 16:59:33 +00:00
Amine Khaldi
7dbd1be0fe [CMAKE]
- Mark nci output as generated.

svn path=/branches/cmake-bringup/; revision=48698
2010-09-04 16:12:21 +00:00
Amine Khaldi
1d2ab448d9 [CMAKE]
- Add floppy to build.

svn path=/branches/cmake-bringup/; revision=48697
2010-09-04 14:14:45 +00:00
Amine Khaldi
7ff72cbf64 [CMAKE]
- Add fastfat and isapnp to build.

svn path=/branches/cmake-bringup/; revision=48696
2010-09-04 13:43:01 +00:00
Amine Khaldi
cf6293b311 [CMAKE]
- Add cdrom, class2, disk and ramdisk to build.

svn path=/branches/cmake-bringup/; revision=48695
2010-09-04 13:36:49 +00:00
Amine Khaldi
f136f67feb [CMAKE]
- Add buslogic to build.
- Fix a typo.

svn path=/branches/cmake-bringup/; revision=48694
2010-09-04 13:16:29 +00:00
Amine Khaldi
dc95036f5a [CMAKE]
- Add atapi, blue, cdfs and uniata to build.

svn path=/branches/cmake-bringup/; revision=48693
2010-09-04 12:57:01 +00:00
Amine Khaldi
abf5238858 [CMAKE]
- Add battc, acpica and acpi to build.

svn path=/branches/cmake-bringup/; revision=48691
2010-09-03 14:33:39 +00:00
Amine Khaldi
f61be19dd9 [CMAKE]
- Improve gendib build.
- Add gendib generated source files.
- Add win32k to build. Dedicated to Timo ;)

svn path=/branches/cmake-bringup/; revision=48690
2010-09-03 00:03:00 +00:00
Amine Khaldi
50bf553ad0 [CMAKE]
- Add ftfd driver to build.

svn path=/branches/cmake-bringup/; revision=48689
2010-09-02 22:38:36 +00:00
Amine Khaldi
1c24a9bbdd [FREELDR]
- Use fathelp.S from r43775 (amd64 branch by timo)
[CMAKE]
- Improve hal, ntoskrnl and freeldr/setupldr build.

svn path=/branches/cmake-bringup/; revision=48688
2010-09-02 21:00:02 +00:00
Amine Khaldi
c988b66126 [FREELDR]
- Convert fat12/16 boot sector helper code to gas syntax. Brought to you by the Arty.
[CMAKE]
- Add freeldr and setupldr to build.

svn path=/branches/cmake-bringup/; revision=48687
2010-09-02 17:39:45 +00:00
Jérôme Gardou
1a45c42898 [WIN32K]
- Do not acccess unsafe bits outside of PSEH

svn path=/branches/reactos-yarotows/; revision=48685
2010-09-01 22:36:00 +00:00
Jérôme Gardou
a87737f098 [WIN32K]
- always make icon mask bitmap a global object

svn path=/branches/reactos-yarotows/; revision=48684
2010-09-01 20:06:46 +00:00
Jérôme Gardou
33b51fcec4 [WIN32K]
- Do not access unsafe buffer out of PSEH.

svn path=/branches/reactos-yarotows/; revision=48683
2010-09-01 19:54:45 +00:00
Jérôme Gardou
66fd97f171 [WIN32K]
- same as 48681 for win32k

svn path=/branches/reactos-yarotows/; revision=48682
2010-09-01 18:39:37 +00:00
Jérôme Gardou
b0fe5ee433 [WIN32K]
- Use newly introduced macros and get rid of  related functions
  - Ignore alpha channels of solid brush color

svn path=/branches/reactos-yarotows/; revision=48680
2010-09-01 16:52:23 +00:00
Timo Kreuzer
61c05f8d3d Add macros WIDTH_BYTES_ALIGN16/32
svn path=/branches/reactos-yarotows/; revision=48675
2010-09-01 12:04:31 +00:00
Jérôme Gardou
ce75f117fd [WIN32K]
- Giannis Adamopoulos : "Something is missing here"

svn path=/branches/reactos-yarotows/; revision=48674
2010-09-01 11:28:50 +00:00
Jérôme Gardou
7b457ade67 [USER32]
- Use Screen capabilities to create icons bitmaps.

svn path=/branches/reactos-yarotows/; revision=48673
2010-09-01 10:56:10 +00:00
Amine Khaldi
b1e8d151a2 [CMAKE]
- Add mini_hal to build.

svn path=/branches/cmake-bringup/; revision=48672
2010-08-31 23:48:26 +00:00
Amine Khaldi
aec35b5416 [CMAKE]
- libcntpr needs buildno.h

svn path=/branches/cmake-bringup/; revision=48671
2010-08-31 21:24:12 +00:00
Jérôme Gardou
00b7f54d2e [WIN32K]
- Get rid of old code, when surfaces didn't have palettes by default

svn path=/branches/reactos-yarotows/; revision=48670
2010-08-31 20:38:49 +00:00
Amine Khaldi
10cf790c3c [CMAKE]
- Add boot sectors to build.

svn path=/branches/cmake-bringup/; revision=48669
2010-08-31 18:40:19 +00:00
Amine Khaldi
28f74e6701 [CMAKE]
- Add scsiport to build.

svn path=/branches/cmake-bringup/; revision=48668
2010-08-31 17:55:28 +00:00
Jérôme Gardou
98006d55b6 [USER32]
- Use GetSysColorBrush(...) instead of CreateSolidBrush(GetSysColor(...))

svn path=/branches/reactos-yarotows/; revision=48667
2010-08-31 16:49:09 +00:00
Amine Khaldi
ea213941ac [CMAKE]
- Add bootvid, kddll, kdcom, nmidebug and null drivers to build.

svn path=/branches/cmake-bringup/; revision=48666
2010-08-31 16:30:02 +00:00
Jérôme Gardou
5ba0a60862 [WIN32K]
- Create the visible region upon DC initilization propely.
This is a leftover from 48579 and 48660.

svn path=/branches/reactos-yarotows/; revision=48665
2010-08-31 16:02:22 +00:00
Amine Khaldi
d84e219b0b [CMAKE]
- Add input drivers (i8042prt, kbdclass, mouclass and sermouse) to build.

svn path=/branches/cmake-bringup/; revision=48664
2010-08-31 14:05:07 +00:00
Amine Khaldi
b28db78efe [CMAKE]
- Improve handling buildno.h

svn path=/branches/cmake-bringup/; revision=48663
2010-08-31 13:25:10 +00:00
Amine Khaldi
c961b36495 [CMAKE]
- Add placeholders for the remaining dlls.

svn path=/branches/cmake-bringup/; revision=48662
2010-08-31 11:11:11 +00:00
Amine Khaldi
5712f8489b [CMAKE]
- Add beep driver to build.

svn path=/branches/cmake-bringup/; revision=48661
2010-08-31 10:34:15 +00:00
Timo Kreuzer
0372821ca0 Sync with trunk head (r48654)
svn path=/branches/reactos-yarotows/; revision=48660
2010-08-30 19:55:47 +00:00
Amine Khaldi
b41fc0f134 [CMAKE]
- Add ze kirnel to build.

svn path=/branches/cmake-bringup/; revision=48659
2010-08-30 14:31:44 +00:00
Amine Khaldi
def27fd0d4 [CMAKE]
- Improve rossym lib.

svn path=/branches/cmake-bringup/; revision=48658
2010-08-30 14:30:09 +00:00
Amine Khaldi
5ba1569888 [CMAKE]
- Improve pseh.

svn path=/branches/cmake-bringup/; revision=48656
2010-08-30 13:00:41 +00:00
Amine Khaldi
8719ae188a [CMAKE]
- Improve rtl.

svn path=/branches/cmake-bringup/; revision=48655
2010-08-30 12:37:44 +00:00
Amine Khaldi
5598df126e [CMAKE]
- Improve ntdll.

svn path=/branches/cmake-bringup/; revision=48652
2010-08-29 21:32:32 +00:00
Amine Khaldi
252d2d95f5 [CMAKE]
- Improve kernel32.

svn path=/branches/cmake-bringup/; revision=48647
2010-08-29 18:32:17 +00:00
Amine Khaldi
a867182e64 [CMAKE]
- Add hal (yes, hal) to build.

svn path=/branches/cmake-bringup/; revision=48645
2010-08-29 17:30:24 +00:00
Amine Khaldi
1e684c2d24 [CMAKE]
- Add samsrv, sccbase, schannel, sensapi, serialui, shdoclc, shfolder, shlwapi, slbcsp, smdll, sndblst, snmpapi, spoolss, srclient, sxs, t2embed, tapi32, tapiui, traffic, updspapi, url, usp10 and uxtheme to build.
- Add mlang, mpr, and shell32 import libs.
- Fix shdoclc and shlwapi translations (patches will be sent upstream).
- Improve mmebuddy.

svn path=/branches/cmake-bringup/; revision=48644
2010-08-29 14:13:38 +00:00
Amine Khaldi
a999e307d8 [CMAKE]
- Rewrite crt and libcntpr targets, with support for other than i386.
- Bring-in logf.c from trunk.

svn path=/branches/cmake-bringup/; revision=48643
2010-08-29 11:07:31 +00:00
Amine Khaldi
d73bc1f2e0 [CMAKE]
- Include crt headers when compiling RC files.

svn path=/branches/cmake-bringup/; revision=48634
2010-08-28 17:41:06 +00:00
Amine Khaldi
2aa2457be2 [CMAKE]
- Add mscoree, msg711.acm, msgina, msgsm32.acm, msimg32, msnet32, mssign32, mssip32, msvcrt20, msvcrt40, msvfw32, msvidc32, mswsock, nddeapi, netapi32, newdev, ntdsapi, ntlanman, ntprint, olecli32, oledlg, olesvr32, olethk32, pidgen, powrprof, printui, query, rasapi32, rasdlg, rasman, resutils and samlib to build.

svn path=/branches/cmake-bringup/; revision=48633
2010-08-28 13:20:03 +00:00
Amine Khaldi
1519f0138c [CMAKE]
- Add mciseq, mciwave, mmdrv, modemui, mpr, mprapi, msadp32.acm, msafd and mscms to build.
- Fixed mpr resource files (should be submitted upstream).

svn path=/branches/cmake-bringup/; revision=48613
2010-08-23 22:23:02 +00:00
Amine Khaldi
4741cefede [CMAKE]
- Update user32 now that we have a target named imm32.

svn path=/branches/cmake-bringup/; revision=48609
2010-08-23 15:23:35 +00:00
Amine Khaldi
f84ae9c1f8 [CMAKE]
- Add fmifs, fusion, getuname, hid, httpapi, iccvid, icmp, imaadp32.acm, imagehlp, imm32, initpki, iphlpapi, itircl, loadperf, lpk, lz32, mapi32, mciavi32, mcicda and mciqtz32 to build.

svn path=/branches/cmake-bringup/; revision=48608
2010-08-23 14:40:47 +00:00
Amine Khaldi
0a6253a028 [CMAKE]
- Temporarily add libdbghelp.a and libdhcpcsvc.a

svn path=/branches/cmake-bringup/; revision=48607
2010-08-23 14:34:34 +00:00
Amine Khaldi
62c4ea8ac6 [CMAKE]
- Add dciman32, dhcpcsvc, dnsapi, dwmapi and faultrep to build.

svn path=/branches/cmake-bringup/; revision=48599
2010-08-22 23:59:45 +00:00
Amine Khaldi
5ff40b3f5c [CMAKE]
- Fix adns lib.

svn path=/branches/cmake-bringup/; revision=48598
2010-08-22 23:46:10 +00:00
Amine Khaldi
e74bc8316b [CMAKE]
- Add compstui, credui, crtdll, crypt32, cryptdll and dbghelp to build.

svn path=/branches/cmake-bringup/; revision=48596
2010-08-22 22:52:07 +00:00
Amine Khaldi
fe1a81a83b [CMAKE]
- Guard pseh2.h against RC_INVOKED.

svn path=/branches/cmake-bringup/; revision=48594
2010-08-22 22:43:43 +00:00
Amine Khaldi
2b50254340 [CMAKE]
- Manually add source file (as suggested by Colin).
- I've filed a feature request to have the same effect when still using GLOB/GLOB_RECURSE : http://public.kitware.com/Bug/view.php?id=11156

svn path=/branches/cmake-bringup/; revision=48592
2010-08-22 13:40:53 +00:00
Amine Khaldi
6e4d96514e [CMAKE]
- Cache the mingw32 prefix.
- Improve the RC compiler invocation.

svn path=/branches/cmake-bringup/; revision=48591
2010-08-22 13:38:36 +00:00
Amine Khaldi
d8a98fcbbc [CMAKE]
- Add cabinet, cards, cfgmgr32 and clusapi to build.

svn path=/branches/cmake-bringup/; revision=48589
2010-08-22 01:17:53 +00:00
Amine Khaldi
7fdcb2e5d9 [CMAKE]
- Add avicap32, batt and beepmidi to build.
- Fix a typo.

svn path=/branches/cmake-bringup/; revision=48588
2010-08-22 00:52:26 +00:00
Amine Khaldi
bdc1e57c6f [CMAKE]
- Add activeds, advpack and authz to build.

svn path=/branches/cmake-bringup/; revision=48587
2010-08-21 23:52:17 +00:00
Amine Khaldi
a2fdd97426 [CMAKE]
- Add acledit to build.

svn path=/branches/cmake-bringup/; revision=48586
2010-08-21 23:35:57 +00:00
Amine Khaldi
f775807bed [CMAKE]
- Add aclui to build.

svn path=/branches/cmake-bringup/; revision=48585
2010-08-21 23:25:35 +00:00
Amine Khaldi
00c4b6a0fb [CMAKE]
- Add a macro to handle generating definition files from spec files (for Wine dlls)

svn path=/branches/cmake-bringup/; revision=48584
2010-08-21 23:23:46 +00:00
Jérôme Gardou
8fc627931b Revert parts of r48547 which have nothing to do with the sync
svn path=/branches/reactos-yarotows/; revision=48553
2010-08-15 14:51:39 +00:00
Jérôme Gardou
f9862d34b4 Sync with trunk (r48545)
svn path=/branches/reactos-yarotows/; revision=48547
2010-08-14 15:15:44 +00:00
Amine Khaldi
6fa9a293d5 [CMAKE]
- mc : Make the generated bin file names prefixed by the base name of the source file.

svn path=/branches/cmake-bringup/; revision=48544
2010-08-14 10:49:27 +00:00
Amine Khaldi
5644c2c39d [CMAKE]
- Now that we have c++ flags set globally, no need to mention them on the respective targets.
- debug.h : leftover from the kernel32 sync.

svn path=/branches/cmake-bringup/; revision=48543
2010-08-14 10:47:57 +00:00
Amine Khaldi
82edce4255 [CMAKE]
- Link mingw_common to kernel32 and ntdll.
- Fix mingw_wmain.
- Improve the paths use.

svn path=/branches/cmake-bringup/; revision=48542
2010-08-14 10:44:46 +00:00
Amine Khaldi
e79e797ecc [CMAKE]
- Sync the recent crt changes from trunk.
- Improve crt build.

svn path=/branches/cmake-bringup/; revision=48541
2010-08-14 10:41:24 +00:00
Amine Khaldi
eba2955389 [CMAKE]
- I forgot to link to the wine lib instead of its compiled lib (I have it locally to avoid recompiling it).

svn path=/branches/cmake-bringup/; revision=48540
2010-08-14 10:34:01 +00:00
Amine Khaldi
4df8754758 [CMAKE]
- Improve advapi32 build.

svn path=/branches/cmake-bringup/; revision=48539
2010-08-14 10:32:00 +00:00
Amine Khaldi
4fecfbd2b9 [CMAKE]
- Don't include debug.c in libwine.

svn path=/branches/cmake-bringup/; revision=48538
2010-08-14 10:11:52 +00:00
Amine Khaldi
b0552e599d [CMAKE]
- Add an MSVC compatible definition file for msvcrt.
- Temporarily add the msvcrt import library (until RosBE ships with one).
- Group msvcrt wine stubs into msvcrt_stubs.c
- Add msvcrt to build.

svn path=/branches/cmake-bringup/; revision=48537
2010-08-14 10:10:21 +00:00
Amine Khaldi
a171a11523 [CMAKE]
- Add calc to build.

svn path=/branches/cmake-bringup/; revision=48535
2010-08-13 16:55:07 +00:00
Amine Khaldi
93302bce39 [CMAKE]
- Add an MSVC compatible definition file for user32.
- Temporarily add the user32 import library (until RosBE ships with one).
- Group user32 wine stubs into user32_stubs.c
- Add user32 to build.

svn path=/branches/cmake-bringup/; revision=48534
2010-08-13 16:36:38 +00:00
Amine Khaldi
ad7164ff5b [CMAKE]
- Add an MSVC compatible definition file for gdi32.
- Temporarily add the gdi32 import library (until RosBE ships with one).
- Add gdi32 to build.

svn path=/branches/cmake-bringup/; revision=48533
2010-08-13 16:27:15 +00:00
Amine Khaldi
57738417d5 [CMAKE]
- Add an MSVC compatible definition file for advapi32.
- Temporarily add the advapi32 import library (until RosBE ships with one).
- Group advapi32 wine stubs into advapi32_stubs.c
- Add advapi32 to build.

svn path=/branches/cmake-bringup/; revision=48532
2010-08-13 15:41:14 +00:00
Amine Khaldi
f31530ec6b [CMAKE]
- Add an MSVC compatible definition file.
- Temporarily add the kernel32 import library (until RosBE ships with one).
- Group kernel32 wine stubs into kernel32_stubs.c
- Add kernel32 to build.

svn path=/branches/cmake-bringup/; revision=48531
2010-08-13 14:56:34 +00:00
Amine Khaldi
af612f3786 [CMAKE]
- Sync kernel32 with trunk.

svn path=/branches/cmake-bringup/; revision=48530
2010-08-13 14:47:01 +00:00
Amine Khaldi
a62f514cfb [NDK]
- Mark DbgUiWaitStateChange as NTSYSAPI.
[CMAKE]
- Don't create an import library for ntdll, we'll ship with one.
- Temporarily add the ntdll import library (until RosBE ships with one).
- Make the definition file MSVC compatible.
- Include every object file in librtl when linking.
- NTDLL now compiles successfully with the MSVC compatible definition file.

svn path=/branches/cmake-bringup/; revision=48529
2010-08-13 14:12:45 +00:00
Amine Khaldi
684dd7e251 [CMAKE]
- Automatically choose the image base for DLLs.
- Improve RC compiler invocation.
- Add and apply the global linker script.

svn path=/branches/cmake-bringup/; revision=48528
2010-08-13 14:02:58 +00:00
Amine Khaldi
42b5833033 [CMAKE]
- Skip creating makefile rules for pre-processed files (object.i) and assembly files (object.s).
- Improve inclusions.
- Add -fno-set-stack-executable.
- Add C++ Flags.

svn path=/branches/cmake-bringup/; revision=48527
2010-08-13 13:54:13 +00:00
Jérôme Gardou
d4933ee771 [WIN32K]
- I watch and I learn : / has precedence over *=.
  - Also make sure that we divide what we want to divide with the appropriate parentheses.
  - Do not take care of alpha in other depths than 32 bpp.

svn path=/branches/reactos-yarotows/; revision=48488
2010-08-08 16:20:24 +00:00
Timo Kreuzer
1784002600 [WIN32K]
Fix a bug when premultiplying the color values: The / operator has a higher precedence than *=, so "x *= byte / 0xff", is always 0 unless byte == 0xff.

svn path=/branches/reactos-yarotows/; revision=48485
2010-08-08 07:14:11 +00:00
Jérôme Gardou
4d4f541dae [WIN32K]
- work directly with bitmap bits when alpha blending icons. This is permitted, those are API bitmaps.
  - Do not create a stretched copy of source surface in EngAlphaBlend, handle stretching in DIB functions.
  - Do so.
  - Simplify DIB alpha blending for 24 and 32 bpp, implement generic alpha blend support for other depth.

svn path=/branches/reactos-yarotows/; revision=48483
2010-08-08 00:08:39 +00:00
Jérôme Gardou
4e6c12189d revert xlate.c from 48471, never meant to be committed.
Sorry.

svn path=/branches/reactos-yarotows/; revision=48472
2010-08-06 22:09:38 +00:00
Jérôme Gardou
e84aac6fb8 [WIN32K]
- sync with trunk (48469)

svn path=/branches/reactos-yarotows/; revision=48471
2010-08-06 21:33:37 +00:00
Jérôme Gardou
b06db1f05e [WIN32K, GENDIB]
- Did you know that we should ignore alpha channel of pattern in ROPs? You didn't, I didn't, now we do.
[WIN32K]
  - Use BGR palette as default for 24 and 32 bpp bitmaps.

svn path=/branches/reactos-yarotows/; revision=48470
2010-08-06 14:55:44 +00:00
Jérôme Gardou
3f5d90a47a [WIN32K]
- Rewrite NtGdiStretchDIBitsInternal : clearer, faster, stronger (+1 wine test)

svn path=/branches/reactos-yarotows/; revision=48465
2010-08-05 21:12:57 +00:00
Jérôme Gardou
96444b43c2 Sync with trunk (48463)
svn path=/branches/reactos-yarotows/; revision=48464
2010-08-05 21:03:35 +00:00
Amine Khaldi
32e98673b9 [CMAKE]
- Set windmc to write binary messages as ascii.

svn path=/branches/cmake-bringup/; revision=48460
2010-08-05 00:43:33 +00:00
Amine Khaldi
7c99b62e1f [CMAKE]
- Move generated precompiled headers to binary folders.
- Enable auto image base for ntdll.
- Update the location of generated PCH files for rtl, ntdll and crt.

svn path=/branches/cmake-bringup/; revision=48459
2010-08-04 19:10:43 +00:00
Sir Richard
fc5ac84ba5 [CMAKE]: Don't prefix DLLs with "lib".
[CMAKE]: Add our libgcc by default.

svn path=/branches/cmake-bringup/; revision=48458
2010-08-04 14:42:05 +00:00
Sir Richard
3930317e12 [CMAKE]: Disable standard C libraries (WIP: Should add libgcc).
[CMAKE]: Set global linker flags we need for all libraries.
[CMAKE]: Set specific NTDLL linker flag.
Thanks to Amine for some of his help.

svn path=/branches/cmake-bringup/; revision=48457
2010-08-04 14:29:24 +00:00
Amine Khaldi
98c16868ae [CMAKE]
- Add games base file.

svn path=/branches/cmake-bringup/; revision=48455
2010-08-04 13:30:27 +00:00
Amine Khaldi
48b65ad43b [CMAKE]
- Add cmdutils base file.

svn path=/branches/cmake-bringup/; revision=48454
2010-08-04 13:16:46 +00:00
Amine Khaldi
ba7d98adba [CMAKE]
- Fix precompiled header support (the pch cleanup phase).
- Improve its use in crt.

svn path=/branches/cmake-bringup/; revision=48452
2010-08-04 10:38:17 +00:00
Sir Richard
ce238e95a4 [CMAKE]: Add missing file.
svn path=/branches/cmake-bringup/; revision=48451
2010-08-04 08:17:04 +00:00
Sir Richard
3bad5d8bbf [CMAKE]: PCH for NTDLL too.
svn path=/branches/cmake-bringup/; revision=48450
2010-08-04 08:16:37 +00:00
Sir Richard
5ef41e4848 [CMAKE]: Closer to a valid NTDLL. Resources and exports are compiled in now.
[CMAKE]: WIP: CMAKE_C_CREATE_SHARED_LIBRARY breakdown + top-level.

svn path=/branches/cmake-bringup/; revision=48449
2010-08-04 07:52:21 +00:00
Sir Richard
807b0907d5 [CMAKE]: Add full support for linking RC files with windres.
svn path=/branches/cmake-bringup/; revision=48448
2010-08-04 07:51:26 +00:00
Sir Richard
d928872abe [CMAKE]: Add support for precompiled headers (this was not fun).
[CMAKE]: Use them in RTL and CRT. Someone needs to add them to the other makefiles.

svn path=/branches/cmake-bringup/; revision=48447
2010-08-04 06:41:07 +00:00
Amine Khaldi
53edf4d8fa [CMAKE]
- Formatting. No code change.

svn path=/branches/cmake-bringup/; revision=48444
2010-08-03 21:58:41 +00:00
Amine Khaldi
fb995372b0 [CMAKE]
- Fix ntdllsys and win32ksys.

svn path=/branches/cmake-bringup/; revision=48443
2010-08-03 21:57:06 +00:00
Amine Khaldi
34db564f0a [CMAKE]
- Improve header inclusions.

svn path=/branches/cmake-bringup/; revision=48442
2010-08-03 21:55:42 +00:00
Amine Khaldi
2939360909 [CMAKE]
- Add IDL generated headers to build.

svn path=/branches/cmake-bringup/; revision=48441
2010-08-03 21:51:59 +00:00
Sir Richard
9e90eaa575 [CMAKE]: NTDLL WIP.
svn path=/branches/cmake-bringup/; revision=48440
2010-08-03 21:39:17 +00:00
Sir Richard
0efbac95d2 [CMAKE]: Don't auto-link with Win32 stuff.
svn path=/branches/cmake-bringup/; revision=48439
2010-08-03 21:38:59 +00:00
Sir Richard
1bd315d9e1 [CMAKE]: Fix CRT.
svn path=/branches/cmake-bringup/; revision=48438
2010-08-03 21:38:39 +00:00
Sir Richard
3b6a29974b [CMAKE]: Use some nice options which will make makefiles simpler regarding includes.
svn path=/branches/cmake-bringup/; revision=48436
2010-08-03 21:12:51 +00:00
Sir Richard
12ccd98393 [CMAKE]: Cant' have comments in mc files.
svn path=/branches/cmake-bringup/; revision=48435
2010-08-03 21:12:16 +00:00
Sir Richard
700aa715cb [CMAKE]: Amine doesn't read man pages, nor does he actually review patches :-)
svn path=/branches/cmake-bringup/; revision=48434
2010-08-03 20:51:47 +00:00
Sir Richard
734491e01c [CMAKE]: Forgot to delete this guy.
svn path=/branches/cmake-bringup/; revision=48431
2010-08-03 16:06:10 +00:00
Sir Richard
3fff31cd81 [CMAKE]: Start working on ntdll.
svn path=/branches/cmake-bringup/; revision=48430
2010-08-03 16:05:53 +00:00
Sir Richard
f0a4bf29e6 [CMAKE]: Simplify more makefiles.
svn path=/branches/cmake-bringup/; revision=48429
2010-08-03 14:56:22 +00:00
Sir Richard
0436f84653 [CMAKE]: Simplify makefiles.
svn path=/branches/cmake-bringup/; revision=48428
2010-08-03 14:54:19 +00:00
Sir Richard
5abcbffcd0 [CMAKE]: Make simple rule for building ASM files.
[CMAKE]: Enable RC support.
[CMAKE]: Stop building tools we won't need.

svn path=/branches/cmake-bringup/; revision=48427
2010-08-03 14:53:12 +00:00
Amine Khaldi
9c529a8548 [CMAKE]
- Richard : Group message headers creation into one macro.

svn path=/branches/cmake-bringup/; revision=48426
2010-08-03 14:29:04 +00:00
Sir Richard
044e663dad [RTL]: Rtl ByteSwap functions should use intrinsics, isntead of assembly code. This should be merged into trunk!
svn path=/branches/cmake-bringup/; revision=48425
2010-08-03 01:56:35 +00:00
Jérôme Gardou
5762f7b639 [WIN32K]
- Use lower level function to set bitmap bits in IntSetDIBits.
Fixes rapps icons.

svn path=/branches/reactos-yarotows/; revision=48420
2010-08-02 19:40:42 +00:00
Jérôme Gardou
52e83d06d9 Sync with trunk (r48414)
svn path=/branches/reactos-yarotows/; revision=48419
2010-08-02 19:09:21 +00:00
Jérôme Gardou
f65f4b82ff [WIN32K]
- Do not cast RGBQUAD to PALETTEENTRY or the other way around, you idiot.
  - Report success even when we're asked fo 0 ScanLines in NtGdiGetDIBitsInternal.

svn path=/branches/reactos-yarotows/; revision=48417
2010-08-02 17:25:09 +00:00
Jérôme Gardou
4519685bb8 [WIN32K]
- NtGdiGetBitmapBits : Bits we're given are 16 bits aligned.
  - NtGdiGetDIBitsInternal : we must not stretch, for this there is NtGdiStretchDIBitsInternal. Use lower level functions to do the work, there is no need to create HDCs etc...
Now icons are back.

svn path=/branches/reactos-yarotows/; revision=48416
2010-08-02 16:49:51 +00:00
Jérôme Gardou
501947714e [WIN32K]
- Use correct offset in UserLoadImage, create the bitmap using display DC.
  - BITMAP_GetObject : Report BI_BITFIELDS compression when we should.
  - Use a 0 compatible DC when none is given in NtGdiCreateDIBitmapInternal.
This fixes some wine tests. Enjoy.

svn path=/branches/reactos-yarotows/; revision=48415
2010-08-02 14:45:51 +00:00
Jérôme Gardou
0bba315d06 [WIN32K]
- Apply a better fix for correctly report 16 bits alignment for DDBs, and keep them 32 bits aligned as it should be.
  - Reapply Pigglesworth patch, which was correct since mine was not.
Dedicated to tkreuzer, PigglesWorth and lassy, the three guys still on IRC to watch my commits at 3:30 AM.

svn path=/branches/reactos-yarotows/; revision=48408
2010-08-02 01:41:16 +00:00
Jérôme Gardou
53fe62ce9c [WIN32K]
- Colors passed to EngCreatePalette are PALETTEENTRYs, my bad.

svn path=/branches/reactos-yarotows/; revision=48407
2010-08-02 01:09:36 +00:00
Jérôme Gardou
a0d32e2d0b [WIN32K]
- DDB are 16 bits aligned.
  - Reset hdc field of the unselected bitmap.
  - Lock it too, so it's not messed with when we unselect it.
  - Move Pattern creation of IntGdiCreateDIBBrush to DIB_CreateDIBSection.

svn path=/branches/reactos-yarotows/; revision=48406
2010-08-02 00:53:25 +00:00
Kamil Hornicek
7d7d9eba48 [WIN32K]
Comply with the 32 bit alignment rule. Fixes hatch brushes.

svn path=/branches/reactos-yarotows/; revision=48396
2010-08-01 13:29:22 +00:00
Jérôme Gardou
c2a010f5f1 [WIN32K]
- Revert unwanted change and get back to PAL_BGR for default DIB palette mode.
Now yarotows looks like an OS again.

svn path=/branches/reactos-yarotows/; revision=48390
2010-08-01 12:24:04 +00:00
Jérôme Gardou
787cb5551f [WIN32K]
- Finally get rid of ProbeAndConvertToBitmapV5Info
  - Rewrite renderBITMAPfromDIB, and a good bunch of DIB related functions accordingly.
  - Rewrite BITMAP_CopyBitmap into something simpler.
  - Use already existing DIB functions in IntGdiCreateDIBBrush
  - Use DIB sections in NtGdiStretchDIBitsInternal and NtGdiSetDIBits.
  - Use Bitmap hdc for NtGdiGetDIBitsInternal if there is one.

svn path=/branches/reactos-yarotows/; revision=48389
2010-08-01 12:17:35 +00:00
Jérôme Gardou
147e52c02c [WIN32K]
- Cast Colors to RGBQUAD in EngCreateBitmap, since that's what they are.
  - Copy selected palette of the DC when creating a DIBSection with DIB_PAL_COLORS.
  - Do not try to get Colors in NtGdiGetDIBitsInternal when bpp == 0, this doesn't make any sense.
  - Get rid of SURFACE::dsBitfields and SURFACE::biClrUsed.
  - Use RGB as default palette mod when creating the DIB Palette.

svn path=/branches/reactos-yarotows/; revision=48369
2010-07-30 02:15:46 +00:00
Jérôme Gardou
b011aff53b [WIN32K]
- rewrite UserLoadImage so that it uses information from the BITMAPFILEHEADER and probes the right buffer.

svn path=/branches/reactos-yarotows/; revision=48364
2010-07-29 18:01:14 +00:00
Amine Khaldi
3c0baef393 [CMAKE]
- Prepare for porting base modules.
- Add kernel_napi, subsystem_napi and kernel_zw to build.

svn path=/branches/cmake-bringup/; revision=48362
2010-07-29 16:45:01 +00:00
Jérôme Gardou
fa93ac8293 [WIN32K]
- Get rid of GetBMIFromBitmapV5Info

svn path=/branches/reactos-yarotows/; revision=48360
2010-07-29 16:21:02 +00:00
Jérôme Gardou
5cfcef35dc [WIN32K]
- Rewrite NtGdiGetDIBitsInternal, with WINE as a reference.
  - Get back DIB Section creation to classic BITMAPINFO.
This si the beginnig of the end for all this BITMAPV5INFO stuff.
It is horrible, BITMAPCOREINFO->BITMAPINFO is already made in user mode, and V4 and V5 features are not used so often.

svn path=/branches/reactos-yarotows/; revision=48359
2010-07-29 16:12:43 +00:00
Amine Khaldi
6bdc331638 [CMAKE]
- mingw_common : set_property -> set_target_properties.
- crt : fix target properties.

svn path=/branches/cmake-bringup/; revision=48357
2010-07-29 15:52:00 +00:00
Amine Khaldi
102a9c242e [CMAKE]
- Export more native tools.
- Fix ntdllsys dependency.

svn path=/branches/cmake-bringup/; revision=48356
2010-07-29 15:34:21 +00:00
Amine Khaldi
007ecbd4c1 [CMAKE]
- Add debugsup lib to build.

svn path=/branches/cmake-bringup/; revision=48348
2010-07-29 01:53:31 +00:00
Amine Khaldi
a1fc7877ea [CMAKE]
- Add libcntpr lib to build.

svn path=/branches/cmake-bringup/; revision=48347
2010-07-29 01:37:53 +00:00
Amine Khaldi
cf9ff97d22 [CMAKE]
- Add ntsys to build.

svn path=/branches/cmake-bringup/; revision=48342
2010-07-28 23:21:13 +00:00
Amine Khaldi
666ab7d918 [CMAKE]
- We do have oldnames lib now.
- Add proper psdk dependency for libxml2.

svn path=/branches/cmake-bringup/; revision=48336
2010-07-28 22:01:07 +00:00
Amine Khaldi
e7c36f373f [CMAKE]
- Add mingw libs to build.

svn path=/branches/cmake-bringup/; revision=48335
2010-07-28 21:52:04 +00:00
Amine Khaldi
23735be2c3 [CMAKE]
- Fix stdole2.

svn path=/branches/cmake-bringup/; revision=48333
2010-07-28 17:00:50 +00:00
Amine Khaldi
42fd01caf3 [CMAKE]
- Add sound drivers libs to build.

svn path=/branches/cmake-bringup/; revision=48332
2010-07-28 16:24:00 +00:00
Amine Khaldi
9b289c4a25 [CMAKE]
- Add ip and oskittcp to build.

svn path=/branches/cmake-bringup/; revision=48331
2010-07-28 14:59:02 +00:00
Amine Khaldi
0d72b49f46 [CMAKE]
- We won't be using mkdir to create folders since cmake has a command for it.
- Split nci generated files into separate targets, so that modules can depend on each one of them separately if needed.
- Add win32ksys to build.

svn path=/branches/cmake-bringup/; revision=48329
2010-07-28 12:58:37 +00:00
Amine Khaldi
0de1055529 [CMAKE]
- Add ntdllsys to build.

svn path=/branches/cmake-bringup/; revision=48326
2010-07-28 10:35:37 +00:00
Amine Khaldi
a7d2ad6334 [CMAKE]
- Rename ncitool to nci and mark it as an exported native tool.
- Add nci generated intermediate files to build.

svn path=/branches/cmake-bringup/; revision=48325
2010-07-28 10:13:27 +00:00
Amine Khaldi
4455372650 [CMAKE]
- Add pseh to build.

svn path=/branches/cmake-bringup/; revision=48320
2010-07-28 00:08:02 +00:00
Amine Khaldi
917e248cc6 [CMAKE]
- Add rtl to build.

svn path=/branches/cmake-bringup/; revision=48319
2010-07-27 23:55:52 +00:00
Sir Richard
b2e6f743b6 [CMAKE]: Fix compiler detection, we should check for CMAKE_HOST_SYSTEM_NAME, not CMAKE_SYSTEM_NAME, which is always Windows on a cross-build.
[CMAKE]: PROCESSIR->PROCESSOR

svn path=/branches/cmake-bringup/; revision=48316
2010-07-27 17:36:25 +00:00
Sir Richard
bba1ffd927 [CMAKE]: Watch and learn, Amine...
svn path=/branches/cmake-bringup/; revision=48311
2010-07-27 16:07:39 +00:00
Sir Richard
6a78adc872 [CMAKE]: Too much of bzip2 was being built.
svn path=/branches/cmake-bringup/; revision=48310
2010-07-27 16:03:05 +00:00
Sir Richard
33d9345552 [CMAKE]: Detect correct MinGW compiler on Windows vs Linux/Darwin.
svn path=/branches/cmake-bringup/; revision=48309
2010-07-27 16:00:40 +00:00
Amine Khaldi
94fd5aceb2 [CMAKE]
- Add ext2lib, ntfslib, vfatlib and vfatxlib to build.

svn path=/branches/cmake-bringup/; revision=48304
2010-07-27 13:09:55 +00:00
Amine Khaldi
e16d438002 [CMAKE]
- Add proper dependencies on psdk.
- Parallel build works now.

svn path=/branches/cmake-bringup/; revision=48303
2010-07-27 12:53:24 +00:00
Amine Khaldi
a633674741 [CMAKE]
- cmlib depends on bugcodes.

svn path=/branches/cmake-bringup/; revision=48302
2010-07-27 11:12:09 +00:00
Amine Khaldi
05b70f3ba2 [CMAKE]
- Add idna, normalize and scripts to build.

svn path=/branches/cmake-bringup/; revision=48301
2010-07-27 11:01:39 +00:00
Amine Khaldi
1e82e45439 [CMAKE]
- Separate the resources creation into several targets. With this we're able to set proper dependencies on them selectively, and not as a whole.
- Make chew and csq, as a result, depend only on bugcodes.

svn path=/branches/cmake-bringup/; revision=48297
2010-07-27 01:36:55 +00:00
Amine Khaldi
401329a84b [CMAKE]
- Add rsym to build.
- Add fslib, nls and pseh placeholders.
- Make crt depend on psdk interfaces.

svn path=/branches/cmake-bringup/; revision=48296
2010-07-27 01:32:49 +00:00
Amine Khaldi
1bdc83e770 [CMAKE]
- No need to check these drivers for CMAKE_CROSSCOMPILING.

svn path=/branches/cmake-bringup/; revision=48295
2010-07-27 00:51:21 +00:00
Amine Khaldi
d667e37083 [CMAKE]
- Rename MACRO_ADD_INTERFACES to MACRO_ADD_PSDK_INTERFACES, HEADERS to PSDK_HEADERS.
- Change the psdk target name from build_headers to psdk.

svn path=/branches/cmake-bringup/; revision=48294
2010-07-27 00:49:52 +00:00
Amine Khaldi
5648d2bc9d [CMAKE]
- Add dxsdk interfaces to build.

svn path=/branches/cmake-bringup/; revision=48293
2010-07-27 00:48:07 +00:00
Amine Khaldi
486a2d0e81 [CMAKE]
- Add chew and csq to build.

svn path=/branches/cmake-bringup/; revision=48285
2010-07-26 18:49:24 +00:00
Ziliang Guo
147875c573 [CMAKE]
-Use hinting in freetype now that patent has expired.

svn path=/branches/cmake-bringup/; revision=48284
2010-07-26 18:21:09 +00:00
Amine Khaldi
4df268ef33 - Fix freetype.
svn path=/branches/cmake-bringup/; revision=48283
2010-07-26 18:09:20 +00:00
Ziliang Guo
ac666a6d0a [CMAKE]
-Add freetype to build.

svn path=/branches/cmake-bringup/; revision=48282
2010-07-26 17:59:46 +00:00
Amine Khaldi
f65e75e216 [CMAKE]
- Add icu4ros to build.

svn path=/branches/cmake-bringup/; revision=48281
2010-07-26 16:39:47 +00:00
Sir Richard
8efcb1c052 [CMAKE]: Add almost all the 3rdparty libs. The remaining ones are more annoying and will require more handwriting. I'm letting someone else write those out.
svn path=/branches/cmake-bringup/; revision=48270
2010-07-26 00:38:25 +00:00
Sir Richard
8235c4622d [CMAKE]: Build all the remaining host tools/libraries (I think).
[CMAKE]: Fix definitions for some libraries.
[CMAKE]: Build host tools with appropriate flags.

svn path=/branches/cmake-bringup/; revision=48268
2010-07-25 23:54:32 +00:00
Sir Richard
02b1c8a4e2 [CMAKE]: Add wmc to host tools, and export it as native-wmc.
[CMAKE]: Add a makelist to build the mc->headers as one target.
[CMAKE]: Fix the IDL rule to build all IDLs as one target.
[CMAKE]: Build a whole lot more libraries.

svn path=/branches/cmake-bringup/; revision=48267
2010-07-25 23:05:32 +00:00
Sir Richard
6907bbcc2f [CMAKE]: Add standard ReactOS compiler flags, and organize defines nicely too.
svn path=/branches/cmake-bringup/; revision=48266
2010-07-25 22:16:45 +00:00
Sir Richard
4a961b42be [CMAKE]: Build more stuff.
svn path=/branches/cmake-bringup/; revision=48264
2010-07-25 21:24:00 +00:00
Sir Richard
3b4b183c21 [CMAKE]: CRT can now be built! Our first cross-compile target.
[CMAKE]: Next steps should be to bring all the compiler settings/defines that aren't yet being used, to add per-architecture file tracking, and to enable precompiled header support.

svn path=/branches/cmake-bringup/; revision=48262
2010-07-25 20:28:17 +00:00
Sir Richard
13187ac941 [CMAKE]: Make cross-build work on all systems. RosBE Already is nice and adds itself to the path. CMAKE is magical and finds the RosBE compilers.
svn path=/branches/cmake-bringup/; revision=48261
2010-07-25 20:07:19 +00:00
Sir Richard
b50bbda653 [CMAKE]: Use some CMAKE magic to have widl defined as a "host tool", and make the cross build CMAKE import it (as native-widl). Cross-build CMAKE will then use "native-widl" to build the header/IDL files in the cross-output-directory, instead of the host-output-directory.
[CMAKE]: Add generated headers to the include path.

svn path=/branches/cmake-bringup/; revision=48260
2010-07-25 20:04:16 +00:00
Sir Richard
b2ab6100e7 [CMAKE]: Ignore "build" directory.
[CMAKE]: Fix build.
[CMAKE]: Generate headers outside the source tree, into intermediate directories.

svn path=/branches/cmake-bringup/; revision=48259
2010-07-25 19:27:03 +00:00
Sir Richard
d51dc0e932 [CMAKE]: Start supporting building the CRT.
svn path=/branches/cmake-bringup/; revision=48258
2010-07-25 19:18:15 +00:00
Sir Richard
844fdca239 [CMAKE]: Add a makefile to build the IDL files. Not perfect, but gets the job done.
[CMAKE]: Add a mignw32 toolchain file, right now it's pretty hacked for my system only, but it works.

svn path=/branches/cmake-bringup/; revision=48256
2010-07-25 17:03:07 +00:00
Jérôme Gardou
21a56a9d82 sync with trunk (r48253)
svn path=/branches/reactos-yarotows/; revision=48255
2010-07-25 16:44:57 +00:00
Jérôme Gardou
fbcac4b275 [WIN32K]
- More BITMAPINFO->BITMAPV5INFO
  - Do not use PAL_BITFIELDS when creating the DIB palette and we know that it's RGB
  - PSEH-ize NtGdiCreateDIBSection

svn path=/branches/reactos-yarotows/; revision=48248
2010-07-25 11:35:45 +00:00
Jérôme Gardou
7bb96de441 One leftover from sync
svn path=/branches/reactos-yarotows/; revision=48247
2010-07-25 11:19:21 +00:00
Jérôme Gardou
82822656c3 Sync with trunk (48237)
svn path=/branches/reactos-yarotows/; revision=48246
2010-07-25 11:17:52 +00:00
Sir Richard
50c679fa37 [CMAKE]: Add make lists for the core host tools/libraries, and add a command to generate the build.h header. There's little fixes needed here and there, but this should be a good template for people to see how easy CMake is. This will build all the wine tools/libraries, nci, gendib, rsym, etc...
svn path=/branches/cmake-bringup/; revision=48244
2010-07-25 05:53:51 +00:00
Sir Richard
a9581208d6 [CMAKE]: Remove legacy makefiles.
svn path=/branches/cmake-bringup/; revision=48242
2010-07-25 05:23:30 +00:00
Amine Khaldi
62ff6c86b7 - Delete rbuild and the rbuild files.
svn path=/branches/cmake-bringup/; revision=48237
2010-07-24 19:21:04 +00:00
Amine Khaldi
c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00
Jérôme Gardou
251d21958c Sync with trunk (r48144)
svn path=/branches/reactos-yarotows/; revision=48150
2010-07-20 22:15:42 +00:00
Jérôme Gardou
eaa1cb5487 Sync with trunk (r48123)
svn path=/branches/reactos-yarotows/; revision=48145
2010-07-20 20:09:43 +00:00
Jérôme Gardou
f819794d7d Sync with trunk 48067
svn path=/branches/reactos-yarotows/; revision=48068
2010-07-15 20:49:51 +00:00
Jérôme Gardou
fbcccf27aa [PORTCLS]
- Fix IIrpQueue declaration

svn path=/branches/reactos-yarotows/; revision=48064
2010-07-15 19:13:12 +00:00
Jérôme Gardou
84fd5d3369 Push sync to 48046, this time with cursoricon.c
svn path=/branches/reactos-yarotows/; revision=48049
2010-07-14 20:28:06 +00:00
Jérôme Gardou
1b3dfd946f Sync with trunk (r48042), except win32k/ntuser/cursoricon.c
***branch DOES NOT BUILD with this commit***

svn path=/branches/reactos-yarotows/; revision=48048
2010-07-14 20:15:30 +00:00
Jérôme Gardou
5bf34e80d7 Svn wins by KO. Part 4 of (let's hope) 4
svn path=/branches/reactos-yarotows/; revision=48030
2010-07-13 20:45:07 +00:00
Jérôme Gardou
ae9aca9947 I'll never bet again against svn... Add forgotten file, part 3 of x (Should be the last)
Thanks Usurp.

svn path=/branches/reactos-yarotows/; revision=48029
2010-07-13 19:04:04 +00:00
Jérôme Gardou
b9761e9b01 Amine lost his bet, part 2 of x
svn path=/branches/reactos-yarotows/; revision=48028
2010-07-13 18:56:03 +00:00
Jérôme Gardou
8de79262a5 [WIN32K]
- Remove useless chack and comment from UserDrawIconEx

svn path=/branches/reactos-yarotows/; revision=48027
2010-07-13 18:38:19 +00:00
Jérôme Gardou
d25782346f [USER32]
- exchange mask and color bitmaps if needed in CreateIconIndirect
[WIN32K]
  - Simplify a bit UserDrawIconEx

svn path=/branches/reactos-yarotows/; revision=48026
2010-07-13 18:32:33 +00:00
Jérôme Gardou
9370b362e1 Forgotten files, part 1 of x
svn path=/branches/reactos-yarotows/; revision=48025
2010-07-13 18:09:55 +00:00
Jérôme Gardou
4553986560 Sync with trunk (r48008)
Bets are open : will this break anything?

svn path=/branches/reactos-yarotows/; revision=48024
2010-07-13 17:46:03 +00:00
Timo Kreuzer
c4e6b4139a Leftover from the recent syncs
svn path=/branches/reactos-yarotows/; revision=47835
2010-06-23 19:08:31 +00:00
Sylvain Petreolle
ec3ea47bd2 Add leftover from sync, fixes build.
svn path=/branches/reactos-yarotows/; revision=47834
2010-06-23 17:46:22 +00:00
Timo Kreuzer
e279aa2082 Sync to trunk (r47832)
svn path=/branches/reactos-yarotows/; revision=47833
2010-06-23 16:21:41 +00:00
Jérôme Gardou
256a4e1060 [GDI32]
- Use default LOGFONT in EnumFontFamilies.
+ ~3000 gdi32:font winetests

svn path=/branches/reactos-yarotows/; revision=47800
2010-06-18 21:12:29 +00:00
Jérôme Gardou
3dbb216746 [WIN32K]
- apply r47787 to yarotows

svn path=/branches/reactos-yarotows/; revision=47797
2010-06-17 01:34:52 +00:00
Jérôme Gardou
648fe9cf65 [WIN32K]
- Delete useless file once and for all

svn path=/branches/reactos-yarotows/; revision=47796
2010-06-17 01:31:03 +00:00
Jérôme Gardou
2d0dd58947 Hopefully fail to break anything in the process of syncing with trunk (r47786)
svn path=/branches/reactos-yarotows/; revision=47795
2010-06-17 01:25:16 +00:00
Jérôme Gardou
6b86dcbae1 [ZLIB]
[NTOSKRNL]
This is the ultimate commit that makes this branch build again

svn path=/branches/reactos-yarotows/; revision=47794
2010-06-17 00:54:34 +00:00
Jérôme Gardou
968f8ac346 And now we welcome zlib to the great accomplishment of being correctly sync'ed with trunk
svn path=/branches/reactos-yarotows/; revision=47793
2010-06-17 00:27:26 +00:00
Jérôme Gardou
17d1c84850 one more step to fix svn mess
svn path=/branches/reactos-yarotows/; revision=47792
2010-06-17 00:24:29 +00:00
Jérôme Gardou
daaa55b87d [HAL]
- yet another sync fun

svn path=/branches/reactos-yarotows/; revision=47791
2010-06-17 00:20:20 +00:00
Jérôme Gardou
bb23cc5ca6 [WIN32K]
- revert part of -r47735, as it's not the good fix (tm)

svn path=/branches/reactos-yarotows/; revision=47789
2010-06-16 18:50:55 +00:00
Timo Kreuzer
5f2d67cb35 Sync to trunk head (r47736)
svn path=/branches/reactos-yarotows/; revision=47746
2010-06-10 20:57:03 +00:00
Jérôme Gardou
f57bcb3e25 [GDI32]
- DIB data is not mandatory in CreateDIBitmap
[WIN32K]
  - Simplify GreCreateDIBitmap
  - Surface data should be 16 bits aligned

svn path=/branches/reactos-yarotows/; revision=47735
2010-06-10 14:32:05 +00:00
Jérôme Gardou
cc4ef59c16 [GDI32]
- Protect CreateDIBitmap
  - Pass correct data size to NtGdiCreateDIBitmap

svn path=/branches/reactos-yarotows/; revision=47734
2010-06-10 12:58:52 +00:00
Jérôme Gardou
52ba1736b3 [WIN32K]
- Split NtGdiCreateDIBitmapInternal with its Gre Counterpart
  - Set bV5ImageSize if it was not already set
  - Probe bits we're given in NtGdiSetDIBits
  - SEHize clipboard image data access
  

svn path=/branches/reactos-yarotows/; revision=47733
2010-06-10 11:36:20 +00:00
Jérôme Gardou
4b10742ca5 [WIN32K]
- check for the type of the DC to restore to decide whether we should restore the surface
Fixes yarotows specific FF3 bug

svn path=/branches/reactos-yarotows/; revision=47731
2010-06-10 00:40:09 +00:00
Timo Kreuzer
a8ac489720 [WIN32K]
- Improve readability in SetBMIColor
- Only when BitCount is <= 8, calculate the number of colors in the table
- Fixes a crash with VBox driver

svn path=/branches/reactos-yarotows/; revision=47724
2010-06-09 20:36:04 +00:00
Timo Kreuzer
26a57a2a9f [WIN32K]
If pbmiSrc->bmiHeader.bV5ClrUsed is 0, calculate the number of colors from the bit depth. Fixes black taskbar icons with vbox driver on 8 bpp

svn path=/branches/reactos-yarotows/; revision=47719
2010-06-09 18:08:23 +00:00
Timo Kreuzer
02588ba9c0 [WIN32K]
Small bug big effects: Use the correct offset when copying the BITMAPINFO, fixes taskbar icons regression.

svn path=/branches/reactos-yarotows/; revision=47709
2010-06-09 11:22:19 +00:00
Timo Kreuzer
8d819d4de1 [WIN32K]
- Initialize the palettes before creating any bitmaps.
- Replace SURFACE_vSetDefaultPalette with an array of default palettes.
- Check iFormat in SURFACE_AllocSurface

svn path=/branches/reactos-yarotows/; revision=47703
2010-06-09 02:57:52 +00:00
Jérôme Gardou
54e2569bf0 [GDI32]
- Header describes the bitmap to be created, not the bits we are passed.
  - Circumvent gcc weirdness (sigh...)

svn path=/branches/reactos-yarotows/; revision=47702
2010-06-09 00:18:29 +00:00
Jérôme Gardou
974e9c0c41 [WIN32K]
- More BITMAPV5INFO fun
  - Probe max size we are asked for when converting to V5 Info
[USER32] [WIN32K]
  - CreateDIBitmap : Move safety handling to win32k, where it belongs. More code cleanness!

svn path=/branches/reactos-yarotows/; revision=47701
2010-06-09 00:08:50 +00:00
Timo Kreuzer
70f1514bfd [WIN32K]
NtGdiGetDIBitsInternal: don't use the unsafe usermode pointer after the BITMAPINFO has been converted and protect writing back the result with SEH.

svn path=/branches/reactos-yarotows/; revision=47692
2010-06-08 02:27:28 +00:00
Jérôme Gardou
8cecc274d8 [WIN32K]
- remove duplicate prototypes.
  - Add missing trail to debug print
  - replace some now superfluous checks on bitmap palette with sanity ASSERTS
  - begin using BITMAPV5HEADER as a default bitmap format, and introduce conversion to and from everything prior that.
Congratulations to BITMAPCOREHEADER, for its backward compatibility personal failure.

svn path=/branches/reactos-yarotows/; revision=47690
2010-06-08 00:40:42 +00:00
Timo Kreuzer
f8a49f4c75 [WIN32K]
Introduce GreCreateBitmapEx, which has the extended functionality needed by some callers, GreCreateBitmap calls GreCreateBitmapEx to keep the simple syntax. Use it in DIB_CreateDIBSection to fix build. Also pass the size of the image (still ignored), which is needed for compressed bitmaps (we currently assume that RLEs take as much space as an uncompressed bitmap)

svn path=/branches/reactos-yarotows/; revision=47663
2010-06-07 15:55:03 +00:00
Timo Kreuzer
a3214996fc [WIN32K]
Rewrite the bitmap API. There were a lot of bugs. NtGdiCreateBitmap allowed a negative height, leading to either topdown or bottomup bitmaps, a behaviour that Windows doesn't have. The function copied the bitmap bits directly from the caller to the bitmap using RtlCopyMemory, ignoring different scanline length and direction (resulting in bitmaps being upside down), not SEH protected. This function (IntSetBitmapBits) is replaced by a better solution UnsafeSetBitmapBits, that takes these things into account. The name is chosen to give a hint that the function can/should be SEH protected. IntSetBitmapBits is still there, as its retarded behaviour is actually required in some places. There were also IntCreateBitmap and IntGdiCreateBitmap, now both being replaced by GreCreateBitmap. The code that set the palette is removed, as it's already done in SURFACE_AllocSurface, here gpalRGB is replaced with gpalBGR, fixing some inverted color issues. The alignment correction in SURFACE_bSetBitmapBits is reapplied, now that the callers are behaving as they are supposed to do.

svn path=/branches/reactos-yarotows/; revision=47641
2010-06-06 22:01:41 +00:00
Timo Kreuzer
9a05924c62 [WIN32K]
Make the bitmap data for the extpens (making extpens bitmaps is a bad idea anyway) 4 bytes long instead of 3, to fulfill alignment requirements.

svn path=/branches/reactos-yarotows/; revision=47638
2010-06-06 20:56:58 +00:00
Timo Kreuzer
dd95ec9a50 [WIN32K]
Disable the additional alignment code for now, it breaks selections (text / icons)

svn path=/branches/reactos-yarotows/; revision=47619
2010-06-06 11:11:30 +00:00
Timo Kreuzer
b3317b3afb [WIN32K]
Add Windows compatible alignment code.

svn path=/branches/reactos-yarotows/; revision=47618
2010-06-06 09:09:04 +00:00
Timo Kreuzer
6068cac704 [WIN32K]
- Move RLE specific code to it's own file (rlecomp.c)
- Relace BitsPerFormat function with an array of UCHARs
- Rewrite surface creation. Surfaces are now allocated from one central function SURFACE_AllocSurface, which sets the size, iType, iUniq, the handle and the default palette.
- Implement SURFACE_vSetDefaultPalette, which sets the default RGB palette, based on bit depth.
- Implement SURFACE_bSetBitmapBits, wich sets cjBits, pvBits, pvScan0 and lDelta and allocates memory if neccessary.
- Use these functions for EngCreateBitmap, EngCreateDeviceBitmap, EngCreateDeviceSurface and IntCreateBitmap

svn path=/branches/reactos-yarotows/; revision=47612
2010-06-06 07:02:15 +00:00
Timo Kreuzer
ca7f8096ff [WIN32K]
Once again: Do not free the memory for the bitmap bits, when you have not allocated them.

svn path=/branches/reactos-yarotows/; revision=47611
2010-06-06 06:32:01 +00:00
Timo Kreuzer
f705d5861b [WIN32K]
Add another failure check to EngAllocSectionMem

svn path=/branches/reactos-yarotows/; revision=47610
2010-06-06 05:47:31 +00:00
Timo Kreuzer
98f686c8fc [WIN32K]
Do not free the memory for the bitmap bits, when you have not allocated them. Fixes bugcheck with VBox driver.

svn path=/branches/reactos-yarotows/; revision=47609
2010-06-06 05:45:36 +00:00
Timo Kreuzer
0c60cdb311 [WIN32K]
- Allocate bitmaps as kernel sections, instead of from paged pool, like it's done in windows.
- Fix SURFACE_Cleanup. It was only freeing the memory for API_BITMAPs. If memory was allocated by a driver it never got freed.
- Add BMF_RLE_HACK flag to free decompressed RLE bits
- Support FL_ZERO_MEMORY in EngAllocSectionMem
- Set SURFOBJ::iType when creating a surface

svn path=/branches/reactos-yarotows/; revision=47606
2010-06-06 03:12:56 +00:00
Timo Kreuzer
160142322e [WIN32K]
Make the SURFACE structure a bit more like the half documented windows version.

svn path=/branches/reactos-yarotows/; revision=47603
2010-06-05 21:19:41 +00:00
Timo Kreuzer
d325826ccd [WIN32K]
- Simplify the logic of the mapping functions a bit, by using either FILEVIEW or ENGSECTION, not both.
- Set FILEVIEW::LastWriteTime

svn path=/branches/reactos-yarotows/; revision=47591
2010-06-05 15:58:01 +00:00
Timo Kreuzer
ea194bb322 [WIN32K]
Implement EngCreateSection, EngMapSection, EngFreeSectionMem, EngAllocSectionMem, EngLoadModuleEx, EngLoadModule, EngLoadModuleForWrite, EngMapModule, EngFreeModule, EngMapFile, EngUnmapFile. Unused & untested.

svn path=/branches/reactos-yarotows/; revision=47583
2010-06-05 04:34:12 +00:00
Jérôme Gardou
6b75ed4ae3 [WIN32K] UserDrawIconEx
- There is no need to recalculate size of the Icon, we already have this piece of information
  - Draw monochrome cursor/icons, not only their mask.

svn path=/branches/reactos-yarotows/; revision=47495
2010-05-31 14:19:37 +00:00
Jérôme Gardou
d0c9ca5b82 [WIN32K]
- Simplify UserDrawIconEx
  - NtUserCreateCursorIconHandle : Get Information from bitmaps even on indirect creation and fix calculation of icon height in case of monochrome icons.
Fixes ~15 user32:cursoricon winetests.

svn path=/branches/reactos-yarotows/; revision=47451
2010-05-30 16:31:56 +00:00
Jérôme Gardou
5e6e009cd6 [USER32]
- Change ChangeDisplaySettingsExA to look more like wine's one
[WIN32K]
  - Return correct value if buffer is to small in UserChangeDisplaySettings (wine tests)
  - Do not set an invalid size to the devmode we're passing ti UserChangeDisplaySettings, we might access garbage
Now all ChangeDisplaySettings related wine tests pass.

svn path=/branches/reactos-yarotows/; revision=47386
2010-05-28 21:58:33 +00:00
Jérôme Gardou
de271b9b4f Sync with trunk r47367
svn path=/branches/reactos-yarotows/; revision=47369
2010-05-26 23:20:20 +00:00
Jérôme Gardou
40f4c114ee [WIN32K]
- sync subsystems/win32/win32k.objects/cliprgn.c with trunk.

svn path=/branches/reactos-yarotows/; revision=47368
2010-05-26 23:04:02 +00:00
Jérôme Gardou
5ba3469f7b [WIN32K]
- merge r47350, slightly modified to get it the yarotows way

svn path=/branches/reactos-yarotows/; revision=47366
2010-05-26 22:29:45 +00:00
Jérôme Gardou
a37321ad04 revert something that should never have been commited
svn path=/branches/reactos-yarotows/; revision=47357
2010-05-26 00:20:00 +00:00
Jérôme Gardou
8f153d5806 [WIN32K]
- Set right flags when reading display modes from registry
  - Implement UserEnumRegistryDisplaySettings

svn path=/branches/reactos-yarotows/; revision=47356
2010-05-25 23:45:55 +00:00
Jérôme Gardou
75e296c6be [WIN32K]
- Check devmode size in NtUserChangeDisplaySettings
  - Copy memory instead of setting fields in UserEnumDisplaySettings, so we don't lost anything.

svn path=/branches/reactos-yarotows/; revision=47355
2010-05-25 22:46:57 +00:00
Jérôme Gardou
46b40c489f [WIN32K]
- UserChangeDisplaySettings : add some checks and fixes to what was passed to us
More wine tests pass.

svn path=/branches/reactos-yarotows/; revision=47354
2010-05-25 22:17:52 +00:00
Jérôme Gardou
84f025a5a4 [WIN32K]
- Set DISPLAY_DEVICE_PRIMARY_DEVICE to Graphics device object when creating the primary device object
  - switch state flags of the graphics device objects when switching mode
  - Only compare valid fields when searching for a device mode in a device object
  - implement CDS_TEST flag in NtUserSetDisplaySettings

svn path=/branches/reactos-yarotows/; revision=47353
2010-05-25 20:24:21 +00:00
Jérôme Gardou
c7b7713c5d [WIN32K]
- Initialize virtual device coordinates when creating a DC
All gdi32::mapping tests pass now

svn path=/branches/reactos-yarotows/; revision=47352
2010-05-25 14:41:44 +00:00
Jérôme Gardou
4170ce0625 sync with trunk r47346
svn path=/branches/reactos-yarotows/; revision=47347
2010-05-25 10:27:42 +00:00
Timo Kreuzer
57447bb7b6 [WIN32K]
- Simplify EBRUSHOBJ_vInit and EBRUSHOBJ_bRealizeBrush a bit more

svn path=/branches/reactos-yarotows/; revision=47304
2010-05-22 14:54:48 +00:00
Jérôme Gardou
6e208710a8 [WIN32K]
Some cleanup, no code change.

svn path=/branches/reactos-yarotows/; revision=47279
2010-05-19 17:41:56 +00:00
Timo Kreuzer
1549a8532e [WIN32K]
Simplify EXLATEOBJ_vInitXlateFromDCs and remove EXLATEOBJ_vInitBrushXlate. Less code, more fun.

svn path=/branches/reactos-yarotows/; revision=47278
2010-05-19 16:23:33 +00:00
Timo Kreuzer
3078dd3c10 sync with trunk (r47268)
svn path=/branches/reactos-yarotows/; revision=47271
2010-05-19 03:44:15 +00:00
Timo Kreuzer
7b31d4395d [WIN32K]
Add back a break that got removed by accident. Fixes icon color regression.

svn path=/branches/reactos-yarotows/; revision=47270
2010-05-19 02:36:38 +00:00
Timo Kreuzer
ff39f59027 [WIN32K]
- When initializing the EXLATEOBJ to translate the solid brush color in EBRUSHOBJ_vSetSolidBrushColor, also pass the EBRUSHOBJs back color. This fixes wrong colors when the destination surface is mono (e.g. disabled buttons)

svn path=/branches/reactos-yarotows/; revision=47269
2010-05-19 01:54:43 +00:00
Jérôme Gardou
63b50165b2 sync with trunk r47227
svn path=/branches/reactos-yarotows/; revision=47228
2010-05-15 22:30:01 +00:00
Jérôme Gardou
a5aa252f47 [WIN32K]
- clean up some debugging code
  - set NULL owner when setting BASEFLAG_READY_TO_DIE, so that the handle can be freed.

svn path=/branches/reactos-yarotows/; revision=47217
2010-05-15 09:57:36 +00:00
Jérôme Gardou
b0aa4f5a2c [WIN32K]
- clean up some unused code
  - use GDIOBJ_IncrementShareCount on Timo suggestion
  - use ppdev semaphore as sort criterion in DC_vPrepareDCsForBlit, spotted by Timo
  - Get ownership before freeing the object in GDIOBJ_ShareUnlockObjByPtr, as whoever set it ready to die had the right to 

svn path=/branches/reactos-yarotows/; revision=47205
2010-05-14 20:19:46 +00:00
Jérôme Gardou
10e3e81202 [WIN32K]
- IntGdiCreateBitmap : assign a default palette to the bitmap created
  - Use IntCreateBitmap where we already have a bitmap to assign
  - delete all mono bitmaps related hacks in xlateobj implementation, as now all bitmaps should have a palette
Fixes last immediately visible glitches when switching modes

svn path=/branches/reactos-yarotows/; revision=47203
2010-05-14 18:51:48 +00:00
Jérôme Gardou
421a63ff44 [WIN32K]
- Get rid of hDIBPalette in SURFACE structure
This allows more code cleanness

svn path=/branches/reactos-yarotows/; revision=47190
2010-05-12 22:56:24 +00:00
Jérôme Gardou
38a2853dc1 [WIN32K]
- remove a comment which is not true anymore
[USER32]
  - Create a bitmap which is compatible with the bitmap'we are copying in CreateSmallIcon
Icons are back in taskbar

svn path=/branches/reactos-yarotows/; revision=47143
2010-05-09 13:07:47 +00:00
Jérôme Gardou
c3f13756b2 [WIN32K]
- Set NULL owner to copied bitmap when creating indirect icons
  - Rewrite UserDrawIconEx, inspired from wine code
  - fix palette creation for 16 bits DIB
  - Always assign a palette to bitmap created with BITMAP_CopyBitmap and IntCreateCompatibeBitmap.
[USER32]
  - Use DIB section when creating icons
  - Use something called "header"
Now mode switching is almost glitchless.

svn path=/branches/reactos-yarotows/; revision=47140
2010-05-09 11:35:36 +00:00
Jérôme Gardou
db93f2d307 [WIN32K]
- attach devinfo->hpalDefault to the pdevobj after enabling it
  - attach this palette to surfaces attached to this pdevobj through EngModifySurface
  - use this palette in several place
Partially fixes icon drawing after mode switch

svn path=/branches/reactos-yarotows/; revision=47137
2010-05-08 22:10:41 +00:00
Jérôme Gardou
3d533cb7a2 Sync with trunk r47129
svn path=/branches/reactos-yarotows/; revision=47133
2010-05-08 17:23:51 +00:00
Jérôme Gardou
0a68d5e2e4 [WIN32K]
- Allow NtGdiDeleteObjectApp to delete a permanent DC, as windows does it.
This is not exactly what windows does, but no one should use a DeletedDC'ed DC anyway.
Fixes "No! You Naughty Application" debug spam and some wine tests

svn path=/branches/reactos-yarotows/; revision=47131
2010-05-08 16:41:41 +00:00
Jérôme Gardou
9e7867ddde revert unwanted changes
svn path=/branches/reactos-yarotows/; revision=47120
2010-05-07 23:36:49 +00:00
Jérôme Gardou
a7eaab78db some leftover from last sync : GDIDBG macros expect handles, not index
svn path=/branches/reactos-yarotows/; revision=47119
2010-05-07 23:33:11 +00:00
Jérôme Gardou
147736390c Delete win32k.h, it's useless now
svn path=/branches/reactos-yarotows/; revision=47118
2010-05-07 07:44:50 +00:00
Jérôme Gardou
88c9e7c6e8 Sync with trunk (r47116), hopefully without breaking anything.
svn path=/branches/reactos-yarotows/; revision=47117
2010-05-07 07:41:13 +00:00
Jérôme Gardou
56da974d0c [WIN32K]
- Assign a correct pdevmode to the pdevobj when creating it.

svn path=/branches/reactos-yarotows/; revision=47114
2010-05-06 11:46:48 +00:00
Jérôme Gardou
59ed1a68f0 [GDI32]
- This wasn't a fix, it was code readability.
Thanks to physicus for having pointed it.

svn path=/branches/reactos-yarotows/; revision=47045
2010-04-26 22:07:01 +00:00
Jérôme Gardou
1b5e323072 [GDI32]
- Use device string when given one in IntCreateDIC
[WIN32K]
  - Exchange pdevmode when excahnging PDEVOBJ pointers
  - Update Globals gdi devcaps when switching mode if ppdev is the primary surface

svn path=/branches/reactos-yarotows/; revision=47044
2010-04-26 21:49:09 +00:00
Timo Kreuzer
99d15ff5ab Update TODO.txt
svn path=/branches/reactos-yarotows/; revision=46995
2010-04-22 19:14:15 +00:00
Giannis Adamopoulos
0e1eed4d24 [win32csr]
-Handle WM_DISPLAYCHANGE

svn path=/branches/reactos-yarotows/; revision=46994
2010-04-22 19:10:46 +00:00
Timo Kreuzer
600a901153 [WIN32K]
- Call DC_vPrepareDCsForBlit in IntRectangle with device coordinates instead of in NtGdiRectangle with logical coordinates. Fixes updating mouse pointer.
- Update TODO.txt

svn path=/branches/reactos-yarotows/; revision=46986
2010-04-22 03:53:49 +00:00
Jérôme Gardou
ef35c1e75c [WIN32K]
- Use the attached surface bits depth when creating a compatible DC
[USER32]
  - use a display DC for loading images

svn path=/branches/reactos-yarotows/; revision=46981
2010-04-21 15:52:52 +00:00
Timo Kreuzer
2250e691f1 [WIN32K]
- move IntEngMovePointer code into GreMovePointer
- Delete the mouse cursor before mode switch, to force setting a new one after a mode switch. Fixes cursor artifacts after mode change.
- Update TODO.txt

svn path=/branches/reactos-yarotows/; revision=46976
2010-04-21 13:44:06 +00:00
Timo Kreuzer
634c608726 [WIN32K]
- Remove an ASSERT in DC_Cleanup
- Improve code in PDEVOBJ_vSwitchPdev (code shamelessly stolen from Jerome's earlier commit)
- Fix up GDIINFO in PDEVOBJ_bEnablePDEV instead of EngpCreatePDEV
- Update TODO.txt

svn path=/branches/reactos-yarotows/; revision=46975
2010-04-21 12:21:53 +00:00
Jérôme Gardou
bb632b9d29 [WIN32K]
- revert r46970, it does not work after all...
  - add missing trailing character in debug print

svn path=/branches/reactos-yarotows/; revision=46974
2010-04-21 09:24:15 +00:00
Jérôme Gardou
11483181a8 [WIN32K]
- Physicus : In theory the text brush should never be changed
So be it, it works anyway...

svn path=/branches/reactos-yarotows/; revision=46970
2010-04-20 22:26:03 +00:00
Jérôme Gardou
d8020bbbe1 [WIN32K]
- revert unwanted change from r46964
  - Use MouseSafetyOnDrawStart/End in GreExtTextOutW when we already hold the blit lock

svn path=/branches/reactos-yarotows/; revision=46969
2010-04-20 22:20:55 +00:00
Jérôme Gardou
2f9569c2e5 [WIN32K]
- really update Text and BackGround brushes when asked to

svn path=/branches/reactos-yarotows/; revision=46966
2010-04-20 20:44:43 +00:00
Jérôme Gardou
f2a22bfe7a [WIN32K]
- Update brushes at the good moment in different places

svn path=/branches/reactos-yarotows/; revision=46965
2010-04-20 20:23:15 +00:00
Jérôme Gardou
650b476440 [WIN32K]
- Revert r46960 : the correct way to go is to mark brushes as dirty and update them where needed
  - Do so in GreExtTextOutW, NtGdiBitBlt, NtGdiStrecthBltMask and IntPatBlt
  - Add a small hack to GreEstTextOutW so we hold the Blit lock when needed without too much pain.

svn path=/branches/reactos-yarotows/; revision=46964
2010-04-20 19:31:45 +00:00
Jérôme Gardou
75f07ae3b4 [WIN32K]
- Reinitialize EBRUSHOBJs instead of marking them as dirty when switching modes

svn path=/branches/reactos-yarotows/; revision=46960
2010-04-20 17:55:56 +00:00
Timo Kreuzer
db0c72e132 [WIN32K]
Fix LPARAM parameter when sending WM_DISPLAYCHANGE, fixes resizing the desktop.

svn path=/branches/reactos-yarotows/; revision=46954
2010-04-19 23:36:31 +00:00
Timo Kreuzer
43d5c84818 [WIN32K]
Don't call IntHideDesktop and co_IntShowDesktop for now. This doesn't seem to be neccessary and fixes a bunch of problems

svn path=/branches/reactos-yarotows/; revision=46953
2010-04-19 23:22:17 +00:00
Jérôme Gardou
b1f448326a [WIN32K]
- update clipping, GraphicCaps, brush, pen, background and charset of the DC after a mode change

svn path=/branches/reactos-yarotows/; revision=46952
2010-04-19 22:51:40 +00:00
Jérôme Gardou
202a5fc5c7 [WIN32K]
- Do not access surface before holding ppdev Lock

svn path=/branches/reactos-yarotows/; revision=46951
2010-04-19 21:56:44 +00:00
Jérôme Gardou
8188ea3959 [WIN32K]
- Prepare DC for blit before initializing EBRUSHOBJ

svn path=/branches/reactos-yarotows/; revision=46950
2010-04-19 21:48:17 +00:00
Jérôme Gardou
0988b6c773 Grotesque mistake...
svn path=/branches/reactos-yarotows/; revision=46943
2010-04-19 16:04:59 +00:00
Jérôme Gardou
14be9f22bd [WIN32K]
- HW accelerated StretchBlt when possible in EngAlphaBlend

svn path=/branches/reactos-yarotows/; revision=46941
2010-04-19 15:15:17 +00:00
Jérôme Gardou
82ad88f1ab [WIN32K]
- Get rid of IntEngBitBltEx, it's Exness isn't needed anymore

svn path=/branches/reactos-yarotows/; revision=46940
2010-04-19 15:08:03 +00:00
Jérôme Gardou
75108218f7 [WIN32K]
- move mouse related ppdev locking to Gre* functions
Spotted by Physicus

svn path=/branches/reactos-yarotows/; revision=46939
2010-04-19 14:17:26 +00:00
Jérôme Gardou
e918eb7c29 [WIN32K]
- Update direct DCs surface before blit if needed
  - call directly ppdev in MouseSafetyOnDraw{Start,End}
  - use directly the PDEVOBJ surface in mouse operations
  - Add some mouse-related sanity checks

svn path=/branches/reactos-yarotows/; revision=46937
2010-04-19 13:52:37 +00:00
Jérôme Gardou
083f2b4f4a [WIN32K]
- Finally get rid of SURFACE::BitsLock

svn path=/branches/reactos-yarotows/; revision=46935
2010-04-19 00:56:25 +00:00
Jérôme Gardou
75dff0cf6a [WIN32k]
- Don't hold the DC blit lock during the whole GreTextOutW function.

svn path=/branches/reactos-yarotows/; revision=46934
2010-04-19 00:51:32 +00:00
Jérôme Gardou
a98902ef25 [WIN32K]
- Do not draw mouse when it has intentionnally been put away.
Fixes some mouse-related graphical glitches

svn path=/branches/reactos-yarotows/; revision=46933
2010-04-19 00:11:30 +00:00
Jérôme Gardou
ce0a7a6e3b [WIN32K]
- call DC_vPrepareDCsForBlit / DC_vFinishBlit in the right place

svn path=/branches/reactos-yarotows/; revision=46932
2010-04-18 23:48:11 +00:00
Jérôme Gardou
18f210877b [WIN32K]
- Do not create a PDEVOBJ for nothing at startup
  - Create the surface for real in IntCreatePrimarySurface

svn path=/branches/reactos-yarotows/; revision=46930
2010-04-18 23:15:02 +00:00
Jérôme Gardou
1e00973f21 grotesque copy-paste mistake
svn path=/branches/reactos-yarotows/; revision=46926
2010-04-18 17:36:11 +00:00
Jérôme Gardou
4cc8e60093 [WIN32K]
- The last DC_vPrepareForBlit/DC_vFinishBlit commit

svn path=/branches/reactos-yarotows/; revision=46925
2010-04-18 17:33:03 +00:00
Jérôme Gardou
11131896db [WIN32K]
- More DC_vPrepareDCsForBlit/DC_vFinishBlit with assorted MouseSafetyOnDrawEnd removals

svn path=/branches/reactos-yarotows/; revision=46923
2010-04-18 17:19:36 +00:00
Jérôme Gardou
62473c84e9 Sync to trunk (r46918)
svn path=/branches/reactos-yarotows/; revision=46920
2010-04-18 14:06:07 +00:00
Jérôme Gardou
53222b46da [WIN32K]
- Use DC_vPrepareForBlit, DC_vFinishBlit in GreTextOutputW
  - So we can get rid of MouseSafetyOnDraw{Start,End} in IntEngMaskBlt

svn path=/branches/reactos-yarotows/; revision=46911
2010-04-17 22:48:44 +00:00
Jérôme Gardou
fa0a6275a9 [WIN32K]
- apply policy into DC_vPrepareDCsForBlit as in GDIOBJ_LockMultipleObjects before Physicus sees this :-D
  - GDIOBJ_LockObj : return NULL when handle is NULL : more speed, less debug output

svn path=/branches/reactos-yarotows/; revision=46909
2010-04-17 20:51:42 +00:00
Jérôme Gardou
d2655f9e72 [WIN32K]
- Now we welcome GreStretchBltMask into the fabulous world of GDIOBJ_LockMultipleObjects, DC_vPrepareDCsForBlit and DC_vFinishBlit
  - With the assorted MouseSafetyOnDraw{Start,End} removal

svn path=/branches/reactos-yarotows/; revision=46908
2010-04-17 20:27:32 +00:00
Jérôme Gardou
663acbc064 [WIN32K]
- For now, limit DC_UnlockDc to a simple GDIOBJ_LockObj
  - More GDIOBJ_LockMultipleObj, DC_vPrepareDCsForBlit and DC_vFinishBlit fun

svn path=/branches/reactos-yarotows/; revision=46906
2010-04-17 15:24:10 +00:00
Jérôme Gardou
42073050d4 [WIN32K]
-Use GDIOBJ_LockMultipleObjs, DC_vPrepareDCsForBlit and DC_vFinishBlit in NtGdiTransparentBlt
  -Get rid of MouseSafetyOnDraw{End,Start} in IntEngTransparentBlt

svn path=/branches/reactos-yarotows/; revision=46905
2010-04-17 14:46:05 +00:00
Jérôme Gardou
859f9c2a13 Fix typo...
svn path=/branches/reactos-yarotows/; revision=46903
2010-04-17 14:24:50 +00:00
Jérôme Gardou
0cdfd4399d [WIN32K]
- Introduce DC_vPrepareDCsForBlit and DC_vFinishBlit and use them in NtGdiAlphaBlend
  - Get rid of now unnecessary call for MouseSafetyOnDraw{Start,End} in IntEngAlphaBlend
  - Yet Another Rewrite of GDIOBJ_LockMultipleObjs :-/ and use it in NtGdiAlphaBlend

svn path=/branches/reactos-yarotows/; revision=46902
2010-04-17 14:20:48 +00:00
Jérôme Gardou
4ec4675b9e [WIN32K]
- There is currently no need to lock more than three objects at a time, this permits code simplification/speed
  - Keep the handles order in GDIOBJ_LockMultipleObjs
Still unused...

svn path=/branches/reactos-yarotows/; revision=46899
2010-04-16 16:55:52 +00:00
Jérôme Gardou
6a8d2ef675 revert the DC list stuff, it's not worth it (tm). Things will be done differently
svn path=/branches/reactos-yarotows/; revision=46892
2010-04-16 09:49:05 +00:00
Jérôme Gardou
a4e83efd83 [WIN32K]
- Introduce deadlocks killer GDIOBJ_LockMultipleObjs, unused for now
  - Make the PDEVOBJ DCs list a sorted list
Didicated to Physicus

svn path=/branches/reactos-yarotows/; revision=46891
2010-04-15 22:38:04 +00:00
Jérôme Gardou
2a6301401d [WIN32K]
- Maintain a list of DC attached to a PDEVOBJ
No functional change for now, stay tuned!

svn path=/branches/reactos-yarotows/; revision=46885
2010-04-15 19:07:07 +00:00
Jérôme Gardou
c3731e5552 [WIN32K]
- get rid of ROS_DC::BitsPerPixel.
1 - It was a hack.
2 - Its use was inconsistent.

svn path=/branches/reactos-yarotows/; revision=46848
2010-04-12 18:44:36 +00:00
Jérôme Gardou
c9353947a1 completely revert 46733
svn path=/branches/reactos-yarotows/; revision=46846
2010-04-11 21:32:53 +00:00
Jérôme Gardou
47cbf8f46d [WIN32K]
Partially revert 46733
  Silence some debug output

svn path=/branches/reactos-yarotows/; revision=46734
2010-04-05 11:53:36 +00:00
Jérôme Gardou
243eeb574a [WIN32K]
-Make direct DC release shared lock on surface each time they're unlocked.
  -Now they don't hold it unless they're locked themselves.
  -Do not create the device surface when switching modes, this is inconsistent with the PDEVOBJ creation, which does not.

*No more "you are freeing a surface which is still hold" debug message when switching modes*

svn path=/branches/reactos-yarotows/; revision=46733
2010-04-05 10:58:43 +00:00
Jérôme Gardou
6638a5b899 Sync with trunk (aka 'I want my virtualbox mouse integration too')
svn path=/branches/reactos-yarotows/; revision=46732
2010-04-05 09:59:21 +00:00
Jérôme Gardou
327d8a1ac6 [WIN32K]
Also send message to desktop window with HWND_BROADCAST.

svn path=/branches/reactos-yarotows/; revision=46726
2010-04-04 23:20:02 +00:00
Jérôme Gardou
cc94bd25eb [EXPLORER]
Handle WM_DISPLAYCHANGE message.

Works on WinXP, but not with the branch

svn path=/branches/reactos-yarotows/; revision=46725
2010-04-04 22:03:53 +00:00
Jérôme Gardou
5099deb554 Fix build
svn path=/branches/reactos-yarotows/; revision=46713
2010-04-04 09:42:26 +00:00
Timo Kreuzer
25a0c069c9 [WIN32K]
- use a macro in RegReadDisplaySettings to make things smaller
- Send WM_DISPLAYCHANGE to all toplevel windows when changing mode
- leave UserChangeDisplaySettings when mode switching failed

svn path=/branches/reactos-yarotows/; revision=46701
2010-04-03 17:30:00 +00:00
Jérôme Gardou
34a9bb0081 [WIN32K]
Unlock surface when deleting DC

svn path=/branches/reactos-yarotows/; revision=46698
2010-04-03 16:42:04 +00:00
Jérôme Gardou
736c7b0111 [WIN32K]
Unlock/lock surface when locking DC

svn path=/branches/reactos-yarotows/; revision=46697
2010-04-03 16:32:30 +00:00
Timo Kreuzer
a9afa4fad8 delete wine/cfgmgr32.h (leftover from merge)
svn path=/branches/reactos-yarotows/; revision=46662
2010-04-02 06:20:32 +00:00
Timo Kreuzer
705ea2a9c3 [WIN32K]
- EngAcquireSemaphoreShared: update dwEngAcquireCount
- DC_LockDc/DC_UnlockDc: Acquire PDEV lock only for direct DCs, in that case also update the pSurface pointer
- When copying DC states, copy the surface only for memory dcs
- after switching the mode, update system metrics and redraw the desktop window.
- Remove testdraw code.

svn path=/branches/reactos-yarotows/; revision=46658
2010-04-01 22:36:40 +00:00
Timo Kreuzer
5fa6a416ca [WIN32K]
Refactor NtUserClipCursor, don't acquire user lock in UserRedrawDesktop, 

svn path=/branches/reactos-yarotows/; revision=46657
2010-04-01 22:30:44 +00:00
Timo Kreuzer
ac6192b1b0 [WIN32K]
Just dereference the PDEV's surface and let the driver free it.

svn path=/branches/reactos-yarotows/; revision=46638
2010-04-01 05:44:09 +00:00
Timo Kreuzer
01897cb044 merge r46636
svn path=/branches/reactos-yarotows/; revision=46637
2010-04-01 04:24:21 +00:00
Timo Kreuzer
acf84464eb Add missing ntstatus.h
svn path=/branches/reactos-yarotows/; revision=46635
2010-04-01 03:39:51 +00:00
Timo Kreuzer
49d7aed889 Merge to trunk head (r46631)
svn path=/branches/reactos-yarotows/; revision=46633
2010-04-01 02:52:00 +00:00
Timo Kreuzer
49383c3d97 [win32k]
Use PREGION as type fo the DC regions instead of PVOID.

svn path=/branches/reactos-yarotows/; revision=46630
2010-03-31 22:43:02 +00:00
Timo Kreuzer
2190eb07dd Add a todo list for win32k. Enjoy the current size as long as it's that small.
svn path=/branches/reactos-yarotows/; revision=46579
2010-03-30 04:59:56 +00:00
Jérôme Gardou
6495ee7167 [WIN32K]
DC_SetOwnerShip : return FALSE on failure

svn path=/branches/reactos-yarotows/; revision=46575
2010-03-29 21:53:24 +00:00
Jérôme Gardou
6b19e6defc [WIN32K]
Free the surface instead of unlocking it

svn path=/branches/reactos-yarotows/; revision=46573
2010-03-29 19:50:49 +00:00
Jérôme Gardou
2bfb2d80b4 [WIN32K]
Implement releasing PDEVOBJs

svn path=/branches/reactos-yarotows/; revision=46572
2010-03-29 18:56:02 +00:00
Jérôme Gardou
1541aa6f43 [WIN32K]
Close another pair of DC_LockDC/DC_UnlockDC

Now gdi32:dc winetests doesn't crash anymore.

svn path=/branches/reactos-yarotows/; revision=46530
2010-03-28 22:27:57 +00:00
Jérôme Gardou
f6b83e4f45 [WIN32K]
Forgot this one

svn path=/branches/reactos-yarotows/; revision=46529
2010-03-28 22:18:45 +00:00
Jérôme Gardou
aebd9f2971 [WIN32K]
More PDEVOBJ_vRelease fun

svn path=/branches/reactos-yarotows/; revision=46528
2010-03-28 22:09:45 +00:00
Jérôme Gardou
c918b470ec [WIN32K]
Release ppdev when deleting DC

svn path=/branches/reactos-yarotows/; revision=46527
2010-03-28 21:45:43 +00:00
Jérôme Gardou
9234a82220 [WIN32K]
Close another pair of DC_lockDc DC_UnlockDc.

svn path=/branches/reactos-yarotows/; revision=46508
2010-03-28 00:51:25 +00:00
Jérôme Gardou
fc0d9235a5 [WIN32K]
Each DC_lockDc call should be followed by a DC_UnlockDc, even on error path.

svn path=/branches/reactos-yarotows/; revision=46507
2010-03-27 23:58:09 +00:00
Jérôme Gardou
1f0205c1de svn will drive me nuts, part 2/2
svn path=/branches/reactos-yarotows/; revision=46506
2010-03-27 23:52:07 +00:00
Jérôme Gardou
84b4727064 svn will drive me nuts, part 1/x
svn path=/branches/reactos-yarotows/; revision=46505
2010-03-27 23:28:24 +00:00
Jérôme Gardou
b6edb50eb1 sync with trunk r46493
svn path=/branches/reactos-yarotows/; revision=46494
2010-03-27 20:19:56 +00:00
Jérôme Gardou
76085ba982 [WIN32K]
Lock PDC with pDevObj semaphore too.

svn path=/branches/reactos-yarotows/; revision=46470
2010-03-26 16:17:12 +00:00
Jérôme Gardou
33f63724b1 [WIN32K]
Get rid of hVisRgn in ROS_DC_INFO, use prgnVis in DC instead

svn path=/branches/reactos-yarotows/; revision=46372
2010-03-23 23:02:00 +00:00
Jérôme Gardou
f5cb03fb7c [WIN32K]
revert r46354

svn path=/branches/reactos-yarotows/; revision=46356
2010-03-23 16:09:23 +00:00
Timo Kreuzer
84253d01e7 Fix a typo
svn path=/branches/reactos-yarotows/; revision=46355
2010-03-23 16:05:10 +00:00
Jérôme Gardou
6ca135323d [WIN32K]
Don't access garbage pointer.

svn path=/branches/reactos-yarotows/; revision=46354
2010-03-23 15:30:41 +00:00
Jérôme Gardou
c16ad873a6 sync with trunk (r46275)
svn path=/branches/reactos-yarotows/; revision=46279
2010-03-19 21:09:21 +00:00
Timo Kreuzer
299a3749d1 Move the DC_InitHack
svn path=/branches/reactos-yarotows/; revision=46249
2010-03-17 15:49:25 +00:00
Timo Kreuzer
74ef03da5c Commit the stuff. Lots of changes. I'll write a proper list of changes when it's done.
svn path=/branches/reactos-yarotows/; revision=45355
2010-01-30 21:12:42 +00:00
Timo Kreuzer
7f915c6746 Autostart blue.sys, also needed for console mode
svn path=/branches/reactos-yarotows/; revision=45352
2010-01-30 17:47:58 +00:00
Timo Kreuzer
8910e3cc37 Add vgafonts to bootcd, needed for console mode
svn path=/branches/reactos-yarotows/; revision=45351
2010-01-30 17:47:01 +00:00
Timo Kreuzer
6afbc8f483 Hopefully create a branch and not destroy the svn repository.
svn path=/branches/reactos-yarotows/; revision=45219
2010-01-23 23:25:04 +00:00
23673 changed files with 975955 additions and 1867594 deletions

218
CMakeLists.txt Normal file
View File

@@ -0,0 +1,218 @@
cmake_minimum_required(VERSION 2.6)
project(REACTOS)
#versioning
include(include/reactos/version.cmake)
# Don't escape preprocessor definition values added via add_definitions
cmake_policy(SET CMP0005 OLD)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
set(CMAKE_SHARED_LIBRARY_PREFIX "")
set(CMAKE_SKIP_PREPROCESSED_SOURCE_RULES TRUE)
set(CMAKE_SKIP_ASSEMBLY_SOURCE_RULES TRUE)
set(CMAKE_COLOR_MAKEFILE OFF)
set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)
if(NOT ARCH)
set(ARCH i386)
endif()
string(TOLOWER ${ARCH} ARCH)
# Compile options
if(ARCH MATCHES i386)
include(config.cmake)
elseif(ARCH MATCHES amd64)
include(config-amd64.cmake)
elseif(ARCH MATCHES arm)
include(config-arm.cmake)
endif()
add_definitions(-D__REACTOS__)
if(NOT CMAKE_CROSSCOMPILING)
add_definitions(-DTARGET_${ARCH})
if(MSVC)
add_definitions(-Dinline=__inline)
else()
add_definitions(-fshort-wchar)
endif()
include_directories(
${REACTOS_SOURCE_DIR}/tools/unicode
include
include/host
${REACTOS_BINARY_DIR}/include)
add_subdirectory(tools)
add_subdirectory(lib)
if(NOT MSVC)
export(TARGETS widl gendib cabman cdmake mkhive spec2def geninc FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
else()
export(TARGETS gendib cabman cdmake mkhive spec2def geninc 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 ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
# 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})
# Compiler specific definitions and macros
if(MSVC)
include(msc.cmake)
else()
include(gcc.cmake)
endif()
# Generic macros
include(CMakeMacros.cmake)
# IDL macros for widl/midl
include(cmake/idl-support.cmake)
#Some useful variables
set(LIVECD_DIR "${REACTOS_BINARY_DIR}/boot/livecd")
set(BOOTCD_DIR "${REACTOS_BINARY_DIR}/boot/bootcd")
# Activate support for assembly source files
enable_language(ASM)
# Activate language support for resource files
enable_language(RC)
if(DBG)
add_definitions(-DDBG=1 -D_SEH_ENABLE_TRACE)
endif()
if(KDBG)
add_definitions(-DKDBG=1)
endif()
if(_WINKD_)
add_definitions(-D_WINKD_=1)
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 MATCHES i386)
add_definitions(-D_M_IX86 -D_X86_ -D__i386__)
elseif(ARCH MATCHES amd64)
add_definitions(-D_M_AMD64 -D_AMD64_ -D__x86_64__ -D_WIN64)
elseif(ARCH MATCHES arm)
# _M_ARM is already defined by toolchain
add_definitions(-D_ARM_ -D__arm__)
endif()
# Other
if(ARCH MATCHES i386)
add_definitions(-DUSE_COMPILER_EXCEPTIONS -D_USE_32BIT_TIME_T)
elseif(ARCH MATCHES amd64)
add_definitions(-DUSE_COMPILER_EXCEPTIONS -DNO_UNDERSCORE_PREFIX)
elseif(ARCH MATCHES arm)
add_definitions(-DUSE_COMPILER_EXCEPTIONS)
endif()
include_directories(
include
include/psdk
include/dxsdk
${REACTOS_BINARY_DIR}/include
${REACTOS_BINARY_DIR}/include/dxsdk
${REACTOS_BINARY_DIR}/include/psdk
${REACTOS_BINARY_DIR}/include/reactos
include/crt
include/ddk
include/ndk
include/reactos
include/reactos/libs)
if(ARCH MATCHES arm)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/arm)
endif()
if(MSVC)
include_directories(include/crt/msc)
else()
include_directories(include/crt/mingw32)
endif()
add_dependency_header()
add_subdirectory(include/psdk)
add_subdirectory(include/dxsdk)
add_subdirectory(include/reactos/idl)
add_subdirectory(include/reactos/wine)
add_subdirectory(include/reactos/mc)
add_subdirectory(include/asm)
include(baseaddress.cmake)
add_subdirectory(base)
add_subdirectory(boot)
add_subdirectory(dll)
add_subdirectory(drivers)
add_subdirectory(hal)
add_subdirectory(lib)
add_subdirectory(media)
add_subdirectory(modules)
add_subdirectory(ntoskrnl)
add_subdirectory(subsystems)
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/include/reactos)
add_custom_target(buildno_header ALL DEPENDS ${REACTOS_BINARY_DIR}/include/reactos/buildno.h)
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/subsystems/win32/win32k/dib)
list(APPEND OUTPUT_FILES
${REACTOS_BINARY_DIR}/subsystems/win32/win32k/dib/dib8gen.c
${REACTOS_BINARY_DIR}/subsystems/win32/win32k/dib/dib16gen.c
${REACTOS_BINARY_DIR}/subsystems/win32/win32k/dib/dib32gen.c)
add_custom_command(
OUTPUT ${OUTPUT_FILES}
COMMAND native-gendib ${REACTOS_BINARY_DIR}/subsystems/win32/win32k/dib
DEPENDS native-gendib)
add_custom_target(gendib_generated ALL DEPENDS ${OUTPUT_FILES})
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/importlibs)
#bootcd and livecd
include(ros_cd.cmake)
add_dependency_footer()
endif()

161
CMakeMacros.cmake Normal file
View File

@@ -0,0 +1,161 @@
if (NOT MSVC)
macro(CreateBootSectorTarget _target_name _asm_file _object_file)
get_filename_component(OBJECT_PATH ${_object_file} PATH)
get_filename_component(OBJECT_NAME ${_object_file} NAME)
file(MAKE_DIRECTORY ${OBJECT_PATH})
get_directory_property(defines COMPILE_DEFINITIONS)
get_directory_property(includes INCLUDE_DIRECTORIES)
foreach(arg ${defines})
set(result_defs ${result_defs} -D${arg})
endforeach()
foreach(arg ${includes})
set(result_incs -I${arg} ${result_incs})
endforeach()
add_custom_command(
OUTPUT ${_object_file}
COMMAND nasm -o ${_object_file} ${result_incs} ${result_defs} -f bin ${_asm_file}
DEPENDS ${_asm_file})
set_source_files_properties(${_object_file} PROPERTIES GENERATED TRUE)
add_custom_target(${_target_name} ALL DEPENDS ${_object_file})
add_minicd(${_object_file} loader ${OBJECT_NAME})
endmacro()
else()
macro(CreateBootSectorTarget _target_name _asm_file _object_file)
endmacro()
endif()
macro(add_minicd_target _targetname _dir) # optional parameter: _nameoncd
if("${ARGN}" STREQUAL "")
get_target_property(FILENAME ${_targetname} LOCATION)
get_filename_component(_nameoncd ${FILENAME} NAME)
else()
set(_nameoncd ${ARGN})
endif()
file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_minicd_target.txt "${_targetname}\t${_dir}\t${_nameoncd}\n")
endmacro()
macro(add_minicd FILENAME _dir _nameoncd)
file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_minicd.txt "${FILENAME}\t${_dir}\t${_nameoncd}\n")
endmacro()
macro(set_cpp)
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/c++/stlport)
set(IS_CPP 1)
add_definitions(
-DNATIVE_CPP_INCLUDE=${REACTOS_SOURCE_DIR}/include/c++
-DNATIVE_C_INCLUDE=${REACTOS_SOURCE_DIR}/include/crt)
endmacro()
macro(add_livecd_target _targetname _dir )# optional parameter : _nameoncd
if("${ARGN}" STREQUAL "")
get_target_property(FILENAME ${_targetname} LOCATION)
get_filename_component(_nameoncd ${FILENAME} NAME)
else()
set(_nameoncd ${ARGN})
endif()
file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_livecd_target.txt "${_targetname}\t${_dir}\t${_nameoncd}\n")
endmacro()
macro(add_livecd FILENAME _dir)# optional parameter : _nameoncd
if("${ARGN}" STREQUAL "")
get_filename_component(_nameoncd ${FILENAME} NAME)
else()
set(_nameoncd ${ARGN})
endif()
file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_livecd.txt "${FILENAME}\t${_dir}\t${_nameoncd}\n")
endmacro()
macro(cab_to_dir _dir_num _var_name)
# 1 = system32
# 2 = system32\drivers
# 3 = Fonts
# 4 =
# 5 = system32\drivers\etc
# 6 = inf
# 7 = bin
# 8 = media
if(${_dir_num} STREQUAL "1")
set(${_var_name} "reactos/system32")
elseif(${_dir_num} STREQUAL "2")
set(${_var_name} "reactos/system32/drivers")
elseif(${_dir_num} STREQUAL "3")
set(${_var_name} "reactos/fonts")
elseif(${_dir_num} STREQUAL "4")
set(${_var_name} "reactos")
elseif(${_dir_num} STREQUAL "5")
set(${_var_name} "reactos/system32/drivers/etc")
elseif(${_dir_num} STREQUAL "6")
set(${_var_name} "reactos/inf")
elseif(${_dir_num} STREQUAL "7")
set(${_var_name} "reactos/bin")
elseif(${_dir_num} STREQUAL "8")
set(${_var_name} "reactos/system32/drivers")
else()
message(FATAL_ERROR "Wrong directory ${_dir_num}")
endif()
endmacro()
macro(add_cab_target _targetname _num )
file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_cab_target.txt "${_targetname}\t${_num}\n")
cab_to_dir(${_num} _dir)
add_livecd_target(${_targetname} ${_dir})
endmacro()
macro(add_cab FILENAME _num)
file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_cab.txt "${FILENAME}\t${_num}\n")
cab_to_dir(${_num} _dir)
add_livecd(${FILENAME} ${_dir})
endmacro()
macro(add_dependency_node _node)
if(GENERATE_DEPENDENCY_GRAPH)
get_target_property(_type ${_node} TYPE)
if(_type MATCHES SHARED_LIBRARY)
file(APPEND ${REACTOS_BINARY_DIR}/dependencies.graphml " <node id=\"${_node}\"/>\n")
endif()
endif()
endmacro()
macro(add_dependency_edge _source _target)
if(GENERATE_DEPENDENCY_GRAPH)
get_target_property(_type ${_source} TYPE)
if(_type MATCHES SHARED_LIBRARY)
file(APPEND ${REACTOS_BINARY_DIR}/dependencies.graphml " <edge source=\"${_source}\" target=\"${_target}\"/>\n")
endif()
endif()
endmacro()
macro(add_dependency_header)
file(APPEND ${REACTOS_BINARY_DIR}/dependencies.graphml "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<graphml>\n <graph id=\"ReactOS dependencies\" edgedefault=\"directed\">\n")
add_dependency_node(ntdll)
endmacro()
macro(add_dependency_footer)
file(APPEND ${REACTOS_BINARY_DIR}/dependencies.graphml " </graph>\n</graphml>\n")
endmacro()
macro(add_message_headers)
foreach(_in_FILE ${ARGN})
get_filename_component(FILE ${_in_FILE} NAME_WE)
macro_mc(${FILE})
add_custom_command(
OUTPUT ${REACTOS_BINARY_DIR}/include/reactos/${FILE}.rc ${REACTOS_BINARY_DIR}/include/reactos/${FILE}.h
COMMAND ${COMMAND_MC}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${FILE}.mc)
set_source_files_properties(
${REACTOS_BINARY_DIR}/include/reactos/${FILE}.h ${REACTOS_BINARY_DIR}/include/reactos/${FILE}.rc
PROPERTIES GENERATED TRUE)
add_custom_target(${FILE} ALL DEPENDS ${REACTOS_BINARY_DIR}/include/reactos/${FILE}.h ${REACTOS_BINARY_DIR}/include/reactos/${FILE}.rc)
endforeach()
endmacro()

10
PreLoad.cmake Normal file
View File

@@ -0,0 +1,10 @@
# small trick to get the real source directory at this stage
STRING(REPLACE "/PreLoad.cmake" "" REACTOS_HOME_DIR ${CMAKE_CURRENT_LIST_FILE})
#message("/PreLoad.cmake ... ${REACTOS_HOME_DIR}")
SET(CMAKE_MODULE_PATH "${REACTOS_HOME_DIR}/cmake" CACHE INTERNAL "")
#message("CMAKE_MODULE_PATH = ${CMAKE_MODULE_PATH}")

6
base/CMakeLists.txt Normal file
View File

@@ -0,0 +1,6 @@
add_subdirectory(applications)
add_subdirectory(services)
add_subdirectory(setup)
add_subdirectory(shell)
add_subdirectory(system)

View File

@@ -0,0 +1,37 @@
add_subdirectory(cacls)
add_subdirectory(calc)
add_subdirectory(charmap)
add_subdirectory(cmdutils)
add_subdirectory(control)
add_subdirectory(dxdiag)
add_subdirectory(extrac32)
add_subdirectory(findstr)
add_subdirectory(fontview)
add_subdirectory(games)
add_subdirectory(hh)
add_subdirectory(iexplore)
add_subdirectory(kbswitch)
add_subdirectory(logoff)
add_subdirectory(magnify)
add_subdirectory(mmc)
add_subdirectory(mplay32)
add_subdirectory(msconfig)
add_subdirectory(mscutils)
add_subdirectory(mstsc)
add_subdirectory(network)
add_subdirectory(notepad)
add_subdirectory(paint)
add_subdirectory(rapps)
add_subdirectory(regedit)
add_subdirectory(regedt32)
add_subdirectory(sc)
add_subdirectory(screensavers)
add_subdirectory(shutdown)
#add_subdirectory(sndrec32)
add_subdirectory(sndvol32)
add_subdirectory(taskmgr)
add_subdirectory(winhlp32)
add_subdirectory(winver)
add_subdirectory(wordpad)
add_subdirectory(write)

View File

@@ -0,0 +1,14 @@
set_unicode()
list(APPEND SOURCE cacls.c cacls.rc)
add_executable(cacls
${CMAKE_CURRENT_BINARY_DIR}/cacls_precomp.h.gch
${SOURCE})
add_pch(cacls ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
set_module_type(cacls win32cui)
add_importlibs(cacls advapi32 user32 shell32 msvcrt kernel32)
add_cab_target(cacls 1)

View File

@@ -0,0 +1,21 @@
set_unicode()
add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
add_executable(calc
about.c
convert.c
function.c
rpn.c
utl.c
winmain.c
resource.rc)
set_module_type(calc win32gui)
add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
if(MSVC)
add_importlibs(calc ntdll)
endif()
add_cab_target(calc 1)

View File

@@ -0,0 +1,733 @@
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "",IDC_STATIC,4,16,132,21
CONTROL "<22><><EFBFBD><EFBFBD>",IDC_RADIO_HEX,"Button",BS_AUTORADIOBUTTON,8,24,29,10
CONTROL "<22><><EFBFBD><EFBFBD>",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,40,24,29,10
CONTROL "<22><><EFBFBD>",IDC_RADIO_OCT,"Button",BS_AUTORADIOBUTTON,72,24,27,10
CONTROL "<22><><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_BIN,"Button",BS_AUTORADIOBUTTON,100,24,26,10
GROUPBOX "",IDC_STATIC,4,36,76,21
CONTROL "<22><><EFBFBD>",IDC_CHECK_INV,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,44,26,10
CONTROL "<22><><EFBFBD>",IDC_CHECK_HYP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,40,44,29,10
CTEXT "",IDC_TEXT_PARENT,84,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CTEXT "",IDC_TEXT_MEMORY,112,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "<22><><EFBFBD><EFBFBD>",IDC_BUTTON_STA,4,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD><EFBFBD>",IDC_BUTTON_AVE,4,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD><EFBFBD>",IDC_BUTTON_SUM,4,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s",IDC_BUTTON_S,4,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat",IDC_BUTTON_DAT,4,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E",IDC_BUTTON_FE,38,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD>",IDC_BUTTON_DMS,38,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD>",IDC_BUTTON_SIN,38,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD>",IDC_BUTTON_COS,38,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD>",IDC_BUTTON_TAN,38,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(",IDC_BUTTON_LEFTPAR,64,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD><EFBFBD>",IDC_BUTTON_EXP,64,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y",IDC_BUTTON_XeY,64,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2",IDC_BUTTON_Xe2,64,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3",IDC_BUTTON_Xe3,64,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")",IDC_BUTTON_RIGHTPAR,90,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln",IDC_BUTTON_LN,90,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log",IDC_BUTTON_LOG,90,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!",IDC_BUTTON_NF,90,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,90,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC",IDC_BUTTON_MC,124,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,124,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,124,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,124,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><>",IDC_BUTTON_PI,124,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7",IDC_BUTTON_7,158,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,158,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,158,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,158,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A",IDC_BUTTON_A,158,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,184,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,184,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,184,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,184,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B",IDC_BUTTON_B,184,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,210,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,210,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,210,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,210,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C",IDC_BUTTON_C,210,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,236,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,236,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,236,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,236,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D",IDC_BUTTON_D,236,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD>",IDC_BUTTON_MOD,262,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD>",IDC_BUTTON_OR,262,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD><EFBFBD>",IDC_BUTTON_LSH,262,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,262,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E",IDC_BUTTON_E,262,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22>",IDC_BUTTON_AND,288,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD><EFBFBD>",IDC_BUTTON_XOR,288,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><>",IDC_BUTTON_NOT,288,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD>",IDC_BUTTON_INT,288,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD><EFBFBD>",IDC_BUTTON_F,288,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "",IDC_STATIC,140,16,172,21
CONTROL "Qword",IDC_RADIO_QWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,148,24,37,10
CONTROL "Dword",IDC_RADIO_DWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,188,24,37,10
CONTROL "Word",IDC_RADIO_WORD,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,232,24,33,10
CONTROL "<22><><EFBFBD><EFBFBD>",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,272,24,30,10
CONTROL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_GRAD,"Button",BS_AUTORADIOBUTTON,
236,24,44,10
PUSHBUTTON "C",IDC_BUTTON_CANC,272,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,228,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD>",IDC_BUTTON_BACK,184,40,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,308,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 172, 127
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "C",IDC_BUTTON_CANC,128,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,84,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD>",IDC_BUTTON_BACK,40,24,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,164,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "7",IDC_BUTTON_7,40,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,40,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,40,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,40,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,66,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,66,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,66,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,66,105,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,92,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,92,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,92,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,92,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,118,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,118,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,118,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,118,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sqrt",IDC_BUTTON_SQRT,144,48,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%",IDC_BUTTON_PERCENT,144,67,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,144,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,144,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "",IDC_TEXT_MEMORY,4,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "MC",IDC_BUTTON_MC,4,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,4,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,4,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,4,105,24,17,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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Convert",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,4,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Category:",IDC_STATIC,4,20,56,8
COMBOBOX IDC_COMBO_FROM,4,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Convert from:",IDC_STATIC,4,49,56,8
COMBOBOX IDC_COMBO_TO,4,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Convert to:",IDC_STATIC,4,76,56,8
CONTROL "C",IDC_BUTTON_CANC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,276,24,40,17
CONTROL "CE",IDC_BUTTON_CE,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,232,24,40,17
CONTROL "Back",IDC_BUTTON_BACK,"Button",BS_OWNERDRAW |
BS_CENTER | BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,24,
40,17
RTEXT "",IDC_TEXT_OUTPUT,4,4,312,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "7",IDC_BUTTON_7,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,48,24,17
CONTROL "4",IDC_BUTTON_4,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,67,24,17
CONTROL "1",IDC_BUTTON_1,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,86,24,17
CONTROL "0",IDC_BUTTON_0,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,105,24,17
CONTROL "8",IDC_BUTTON_8,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,48,24,17
CONTROL "5",IDC_BUTTON_5,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,67,24,17
CONTROL "2",IDC_BUTTON_2,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,86,24,17
CONTROL "+/-",IDC_BUTTON_SIGN,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,105,24,17
CONTROL "9",IDC_BUTTON_9,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,48,24,17
CONTROL "6",IDC_BUTTON_6,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,67,24,17
CONTROL "3",IDC_BUTTON_3,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,86,24,17
CONTROL ",",IDC_BUTTON_DOT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,105,24,17
CONTROL "/",IDC_BUTTON_DIV,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,48,24,17
CONTROL "*",IDC_BUTTON_MULT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,67,24,17
CONTROL "-",IDC_BUTTON_SUB,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,86,24,17
CONTROL "+",IDC_BUTTON_ADD,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,105,24,17
CONTROL "Sqrt",IDC_BUTTON_SQRT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,48,24,17
CONTROL "%",IDC_BUTTON_PERCENT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,67,24,17
CONTROL "1/x",IDC_BUTTON_RX,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,86,24,17
CONTROL "=",IDC_BUTTON_EQU,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,105,24,17
CTEXT "",IDC_TEXT_MEMORY,152,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "MC",IDC_BUTTON_MC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,48,24,17
CONTROL "MR",IDC_BUTTON_MR,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,67,24,17
CONTROL "MS",IDC_BUTTON_MS,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,86,24,17
CONTROL "M+",IDC_BUTTON_MP,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,105,24,17
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5,NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22><> ReactOS Calc"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD>",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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> Carlo Bramini",IDC_STATIC,120,32,132,8,
SS_CENTERIMAGE
GROUPBOX "",IDC_STATIC,112,0,148,52
GROUPBOX "",IDC_STATIC,4,56,256,88
EDITTEXT IDC_EDIT_LICENSE,12,68,240,68,ES_MULTILINE | ES_READONLY |
WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
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 DISCARDABLE
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><> ReactOS Calc", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD>\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD>\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><> ReactOS Calc", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><> ReactOS Calc", IDM_HELP_ABOUT
END
END
// String Tables
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc is free software released under GNU GPL license.\r\n\r\nYou can get a copy of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nYou can also get a translation of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_QUICKHELP "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
END
// types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "<22><><EFBFBD><EFBFBD>"
IDS_CONV_AREA "<22><><EFBFBD><EFBFBD>"
IDS_CONV_CONSUMPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_CONV_CURRENCY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_ENERGY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_LENGTH "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_POWER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_PRESSURE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_TEMPERATURE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_TIME "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_VELOCITY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_VOLUME "<22><><EFBFBD><EFBFBD>"
IDS_CONV_WEIGHT "<22><><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ANGLE_GRADIANS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_ANGLE_RADIANS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "<22><><EFBFBD><EFBFBD>"
IDS_AREA_ACRES_BRAZIL "<22><><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_ACRES_FRANCE "<22><><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_ACRES_SCOTS "<22><><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_ACRES_US "<22><><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_AREA_ARES "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_CHOU "Chou"
IDS_AREA_DANBO "Danbo"
IDS_AREA_HECTARES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_JEONGBO "Jeongbo"
IDS_AREA_MORGEN_HUNGARY "Morgen (Hungary)"
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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_CHR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> chr"
IDS_AREA_SQUARE_FATHOMS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_SQUARE_FEET "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_INCHES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_KILOMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_LAR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> lar"
IDS_AREA_SQUARE_METER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_MILES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_MILLIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_SHAKU "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> shaku"
IDS_AREA_SQUARE_TSUEN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> tsuen"
IDS_AREA_SQUARE_VA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> va"
IDS_AREA_SQUARE_YARD "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
// TYPES OF COMSUMPTIONS
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONSUMPTION_L_PER_100_KM "<22><><EFBFBD><EFBFBD><EFBFBD>/100 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONSUMPTION_MILES_GALLON_UK "<22><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD> (<28><>)"
IDS_CONSUMPTION_MILES_GALLON_US "<22><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Austrian schilling"
IDS_CURRENCY_BELGIAN_FRANC "Belgian franc"
IDS_CURRENCY_CYPRIOT_POUND "Cypriot pound"
IDS_CURRENCY_CZECH_KORUNA "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_DEUTSCHE_MARK "Deutsche Mark"
IDS_CURRENCY_DUTCH_GUILDER "Dutch guilder"
IDS_CURRENCY_EURO "<22><><EFBFBD><EFBFBD>"
IDS_CURRENCY_FINNISH_MARKKA "Finnish markka"
IDS_CURRENCY_FRENCH_FRANC "French franc"
IDS_CURRENCY_GREEK_DRACHMA "Greek Drachma"
IDS_CURRENCY_IRISH_POUND "Irish pound"
IDS_CURRENCY_ITALIAN_LIRA "Italian lira"
IDS_CURRENCY_LUXEMBOURG_FRANC "Luxembourg franc"
IDS_CURRENCY_MALTESE_LIRA "Maltese lira"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portoguese escudo"
IDS_CURRENCY_SLOVAK_KORUNA "Slovak koruna"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovenian tolar"
IDS_CURRENCY_SPANISH_PESETA "Spanish peseta"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_BTUS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_ERGS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_EVS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_FOOT_POUNDS "Foot-Pounds"
IDS_ENERGY_IT_CALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_IT_KILOCALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_JOULES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_KILOJOULES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_KILOWATT_HOURS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_NUTRITION_CALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_TH_CALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_ASTRONOMICAL_UNITS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_BARLEYCORNS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_CENTIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_CHAINS_UK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><>)"
IDS_LENGTH_CHI "Chi"
IDS_LENGTH_CHOU "Chou"
IDS_LENGTH_CHR "Chr"
IDS_LENGTH_CUN "Cun"
IDS_LENGTH_FATHOMS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_FATHOMS_HUNGARY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_FEET "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_FURLONGS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_MICRONS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_MILES "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_MILLIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_NAUTICAL_MILES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_PARSECS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_PICAS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD>)"
IDS_LENGTH_RI_JAPAN "Ri (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_RI_KOREA "Ri (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_RODS "Rods"
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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_YOTE "Yote"
IDS_LENGTH_ZHANG "Zhang"
END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "British Thermal Units per minute"
IDS_POWER_FPS_PER_MINUTE "Foot-Pounds per minute"
IDS_POWER_HORSEPOWER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_POWER_KILOWATTS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_POWER_MEGAWATTS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_POWER_WATTS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_PRESSURE_BARS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_PRESSURE_HECTOPASCALS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_PRESSURE_KILOPASCALS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_PRESSURE_MM_OF_MERCURY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_PRESSURE_PASCALS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_PRESSURE_PSI "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
END
// TYPES OF TEMPERATURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TEMPERATURE_FAHRENHEIT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TEMPERATURE_KELVIN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TEMPERATURE_RANKINE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "<22><><EFBFBD>"
IDS_TIME_HOURS "<22><><EFBFBD><EFBFBD>"
IDS_TIME_NANOSECONDS "Nanoseconds"
IDS_TIME_MICROSECONDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_MILLISECONDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_MINUTES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_SECONDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_WEEKS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_YEARS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD>"
IDS_VELOCITY_FEET_HOUR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD>"
IDS_VELOCITY_FEET_SECOND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_KILOMETERS_HOUR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD>"
IDS_VELOCITY_KNOTS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_MACH "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_METERS_SECOND "<22><><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_MILES_HOUR "<22><><EFBFBD><EFBFBD>/<2F><><EFBFBD>"
END
// TYPES OF VOLUMES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VOLUME_BARRELS_UK "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) (<28><>)"
IDS_VOLUME_BARRELS_OIL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><>)"
IDS_VOLUME_BUSHELS_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_CUBIC_CENTIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_CUBIC_FEET "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_CUBIC_INCHES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_CUBIC_METERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_CUBIC_YARDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><>)"
IDS_VOLUME_FLUID_OUNCES_US "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_GALLONS_UK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (UK)"
IDS_VOLUME_GALLONS_DRY_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_GALLONS_LIQUID_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_PINTS_UK "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><>)"
IDS_VOLUME_PINTS_DRY_US "<22><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_PINTS_LIQUID_US "<22><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_QUARTS_UK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><>)"
IDS_VOLUME_QUARTS_DRY_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_QUARTS_LIQUID_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_SEKI "Seki"
IDS_VOLUME_SYOU "Syou"
IDS_VOLUME_TANANLOUNG "Tananloung"
IDS_VOLUME_TANG "Tang"
IDS_VOLUME_TO "To"
END
// TYPES OF WEIGHTS
STRINGTABLE DISCARDABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_CARATS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "Grams"
IDS_WEIGHT_GWAN "Gwan"
IDS_WEIGHT_HARB "Harb"
IDS_WEIGHT_JIN_CHINA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_JIN_TAIWAN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_KILOGRAMS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (China)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Taiwan)"
IDS_WEIGHT_MONME "Monme"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "<22><><EFBFBD><EFBFBD><EFBFBD>, avoirdupois"
IDS_WEIGHT_OUNCES_TROY "<22><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD>"
IDS_WEIGHT_POUNDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_QUINTAL_METRIC "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_TONS_UK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><>)"
IDS_WEIGHT_TONS_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
END

View File

@@ -0,0 +1,737 @@
/* FILE: base/applications/calc/lang/cs-CZ.rc
* TRANSLATOR: Radek Liska aka Black_Fox (radekliska at gmail dot com)
* UPDATED: 2010-05-30
*/
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS kalkula<6C>ka"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "",IDC_STATIC,4,16,132,21
CONTROL "Hex",IDC_RADIO_HEX,"Button",BS_AUTORADIOBUTTON,8,24,29,10
CONTROL "Dec",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,40,24,29,10
CONTROL "Oct",IDC_RADIO_OCT,"Button",BS_AUTORADIOBUTTON,72,24,27,10
CONTROL "Bin",IDC_RADIO_BIN,"Button",BS_AUTORADIOBUTTON,100,24,26,10
GROUPBOX "",IDC_STATIC,4,36,76,21
CONTROL "Inv",IDC_CHECK_INV,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,44,26,10
CONTROL "Hyp",IDC_CHECK_HYP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,40,44,29,10
CTEXT "",IDC_TEXT_PARENT,84,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CTEXT "",IDC_TEXT_MEMORY,112,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "Sta",IDC_BUTTON_STA,4,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Ave",IDC_BUTTON_AVE,4,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sum",IDC_BUTTON_SUM,4,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s",IDC_BUTTON_S,4,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat",IDC_BUTTON_DAT,4,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E",IDC_BUTTON_FE,38,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "dms",IDC_BUTTON_DMS,38,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "sin",IDC_BUTTON_SIN,38,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "cos",IDC_BUTTON_COS,38,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "tan",IDC_BUTTON_TAN,38,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(",IDC_BUTTON_LEFTPAR,64,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "exp",IDC_BUTTON_EXP,64,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y",IDC_BUTTON_XeY,64,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3",IDC_BUTTON_Xe3,64,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2",IDC_BUTTON_Xe2,64,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")",IDC_BUTTON_RIGHTPAR,90,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln",IDC_BUTTON_LN,90,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log",IDC_BUTTON_LOG,90,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!",IDC_BUTTON_NF,90,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,90,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC",IDC_BUTTON_MC,124,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,124,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,124,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,124,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "p<>",IDC_BUTTON_PI,124,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7",IDC_BUTTON_7,158,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,158,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,158,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,158,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A",IDC_BUTTON_A,158,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,184,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,184,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,184,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,184,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B",IDC_BUTTON_B,184,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,210,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,210,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,210,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,210,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C",IDC_BUTTON_C,210,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,236,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,236,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,236,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,236,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D",IDC_BUTTON_D,236,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Mod",IDC_BUTTON_MOD,262,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Or",IDC_BUTTON_OR,262,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Lsh",IDC_BUTTON_LSH,262,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,262,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E",IDC_BUTTON_E,262,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "And",IDC_BUTTON_AND,288,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Xor",IDC_BUTTON_XOR,288,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Not",IDC_BUTTON_NOT,288,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Int",IDC_BUTTON_INT,288,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F",IDC_BUTTON_F,288,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "",IDC_STATIC,140,16,172,21
CONTROL "Qword",IDC_RADIO_QWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,148,24,37,10
CONTROL "Dword",IDC_RADIO_DWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,188,24,37,10
CONTROL "Word",IDC_RADIO_WORD,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,232,24,33,10
CONTROL "Byte",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,272,24,30,10
CONTROL "Stupn<70>",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "Radi<64>ny",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "Grady",IDC_RADIO_GRAD,"Button",BS_AUTORADIOBUTTON,
236,24,44,10
PUSHBUTTON "C",IDC_BUTTON_CANC,272,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,228,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Zp<5A>t",IDC_BUTTON_BACK,184,40,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,308,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 172, 127
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Kalkula<6C>ka"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "C",IDC_BUTTON_CANC,128,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,84,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Zp<5A>t",IDC_BUTTON_BACK,40,24,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,164,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "7",IDC_BUTTON_7,40,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,40,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,40,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,40,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,66,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,66,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,66,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,66,105,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,92,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,92,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,92,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,92,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,118,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,118,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,118,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,118,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sqrt",IDC_BUTTON_SQRT,144,48,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%",IDC_BUTTON_PERCENT,144,67,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,144,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,144,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "",IDC_TEXT_MEMORY,4,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "MC",IDC_BUTTON_MC,4,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,4,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,4,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,4,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Kalkula<6C>ka"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "P<>ev<65>st",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,4,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Kategorie:",IDC_STATIC,4,20,56,8
COMBOBOX IDC_COMBO_FROM,4,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "P<>ev<65>st z:",IDC_STATIC,4,49,56,8
COMBOBOX IDC_COMBO_TO,4,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Na:",IDC_STATIC,4,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 "Zp<5A>t",IDC_BUTTON_BACK,"Button",BS_OWNERDRAW |
BS_CENTER | BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,24,
40,17
RTEXT "",IDC_TEXT_OUTPUT,4,4,312,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "7",IDC_BUTTON_7,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,48,24,17
CONTROL "4",IDC_BUTTON_4,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,67,24,17
CONTROL "1",IDC_BUTTON_1,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,86,24,17
CONTROL "0",IDC_BUTTON_0,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,105,24,17
CONTROL "8",IDC_BUTTON_8,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,48,24,17
CONTROL "5",IDC_BUTTON_5,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,67,24,17
CONTROL "2",IDC_BUTTON_2,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,86,24,17
CONTROL "+/-",IDC_BUTTON_SIGN,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,105,24,17
CONTROL "9",IDC_BUTTON_9,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,48,24,17
CONTROL "6",IDC_BUTTON_6,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,67,24,17
CONTROL "3",IDC_BUTTON_3,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,86,24,17
CONTROL ",",IDC_BUTTON_DOT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,105,24,17
CONTROL "/",IDC_BUTTON_DIV,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,48,24,17
CONTROL "*",IDC_BUTTON_MULT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,67,24,17
CONTROL "-",IDC_BUTTON_SUB,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,86,24,17
CONTROL "+",IDC_BUTTON_ADD,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,105,24,17
CONTROL "Sqrt",IDC_BUTTON_SQRT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,48,24,17
CONTROL "%",IDC_BUTTON_PERCENT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,67,24,17
CONTROL "1/x",IDC_BUTTON_RX,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,86,24,17
CONTROL "=",IDC_BUTTON_EQU,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,105,24,17
CTEXT "",IDC_TEXT_MEMORY,152,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "MC",IDC_BUTTON_MC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,48,24,17
CONTROL "MR",IDC_BUTTON_MR,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,67,24,17
CONTROL "MS",IDC_BUTTON_MS,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,86,24,17
CONTROL "M+",IDC_BUTTON_MP,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,105,24,17
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5,NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "O ReactOS Kalkula<6C>ce"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,105,148,52,16
CONTROL IDB_BITMAP_ROS,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,4,4,104,48
LTEXT "ReactOS Kalkula<6C>ka",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "Verze ",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "Autor: Carlo Bramini",IDC_STATIC,120,32,132,8,
SS_CENTERIMAGE
GROUPBOX "",IDC_STATIC,112,0,148,52
GROUPBOX "",IDC_STATIC,4,56,256,88
EDITTEXT IDC_EDIT_LICENSE,12,68,240,68,ES_MULTILINE | ES_READONLY |
WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistick<63> v<>po<70>ty"
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 DISCARDABLE
BEGIN
POPUP "<22>pravy"
BEGIN
MENUITEM "Kop<6F>rovat\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Vlo<6C>it\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Zobrazit"
BEGIN
MENUITEM "Standardn<64>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "V<>deck<63>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "P<>evody", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22>estn<74>ctkov<6F>\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Des<65>tkov<6F>\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Osmi<6D>kov<6F>\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Bin<69>rn<72>\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Stupn<70>\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radi<64>ny\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Grady\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Seskupov<6F>n<EFBFBD> <20><>slic", IDM_VIEW_GROUP, CHECKED
END
POPUP "N<>pov<6F>da"
BEGIN
MENUITEM "T<>mata n<>pov<6F>dy", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "O ReactOS kalkula<6C>ce", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "<22>pravy"
BEGIN
MENUITEM "Kop<6F>rovat\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Vlo<6C>it\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Zobrazit"
BEGIN
MENUITEM "Standardn<64>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "V<>deck<63>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "P<>evody", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22>estn<74>ctkov<6F>\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Des<65>tkov<6F>\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Osmi<6D>kov<6F>\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Bin<69>rn<72>\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "Dword\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "Word\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Byte\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "Seskupov<6F>n<EFBFBD> <20><>slic", IDM_VIEW_GROUP, CHECKED
END
POPUP "N<>pov<6F>da"
BEGIN
MENUITEM "T<>mata n<>pov<6F>dy", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "O ReactOS kalkula<6C>ce", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "<22>pravy"
BEGIN
MENUITEM "Kop<6F>rovat\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Vlo<6C>it\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Zobrazit"
BEGIN
MENUITEM "Standardn<64>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "V<>deck<63>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "P<>evody", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Seskupov<6F>n<EFBFBD> <20><>slic", IDM_VIEW_GROUP, CHECKED
END
POPUP "N<>pov<6F>da"
BEGIN
MENUITEM "T<>mata n<>pov<6F>dy", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "O ReactOS kalkula<6C>ce", IDM_HELP_ABOUT
END
END
// String Tables
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "ReactOS kalkula<6C>ka je svobodn<64> software vydan<61> pod licenc<6E> GNU GPL.\r\n\r\nZde najdete zn<7A>n<EFBFBD> GNU GPL licence:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nZde tak<61> najdete p<>eklad GNU GPL licence:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Chyba"
IDS_QUICKHELP "Rychl<68> n<>pov<6F>da"
END
// types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_TIME "<22>as"
IDS_CONV_LENGTH "D<>lka"
IDS_CONV_ENERGY "Energie"
IDS_CONV_WEIGHT "Hmotnost"
IDS_CONV_CURRENCY "M<>na"
IDS_CONV_VOLUME "Objem"
IDS_CONV_AREA "Plocha"
IDS_CONV_VELOCITY "Rychlost"
IDS_CONV_CONSUMPTION "Spot<6F>eba"
IDS_CONV_TEMPERATURE "Teplota"
IDS_CONV_PRESSURE "Tlak"
IDS_CONV_ANGLE "<22>hel"
IDS_CONV_POWER "V<>kon"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_GRADIANS "Grady"
IDS_ANGLE_RADIANS "Radi<64>ny"
IDS_ANGLE_DEGREES "Stupn<70>"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "Akry"
IDS_AREA_ACRES_BRAZIL "Akry (Braz<61>lie)"
IDS_AREA_ACRES_FRANCE "Akry (Francie)"
IDS_AREA_ACRES_SCOTS "Akry (Skotsko)"
IDS_AREA_ACRES_US "Akry (USA)"
IDS_AREA_ARES "Ary"
IDS_AREA_CHOU "Chou"
IDS_AREA_SQUARE_CENTIMETERS "<22>tvere<72>n<EFBFBD> centimetry"
IDS_AREA_SQUARE_CHR "<22>tvere<72>n<EFBFBD> chr"
IDS_AREA_SQUARE_FATHOMS "<22>tvere<72>n<EFBFBD> fathomy"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "<22>tvere<72>n<EFBFBD> fathomy (Ma<4D>arsko)"
IDS_AREA_SQUARE_FEET "<22>tvere<72>n<EFBFBD> stopy"
IDS_AREA_SQUARE_INCHES "<22>tvere<72>n<EFBFBD> palce"
IDS_AREA_SQUARE_KILOMETERS "<22>tvere<72>n<EFBFBD> kilometry"
IDS_AREA_SQUARE_LAR "<22>tvere<72>n<EFBFBD> lar"
IDS_AREA_SQUARE_METER "<22>tvere<72>n<EFBFBD> metry"
IDS_AREA_SQUARE_MILES "<22>tvere<72>n<EFBFBD> m<>le"
IDS_AREA_SQUARE_MILLIMETERS "<22>tvere<72>n<EFBFBD> milimetry"
IDS_AREA_SQUARE_SHAKU "<22>tvere<72>n<EFBFBD> shaku"
IDS_AREA_SQUARE_TSUEN "<22>tvere<72>n<EFBFBD> tsuen"
IDS_AREA_SQUARE_VA "<22>tvere<72>n<EFBFBD> va"
IDS_AREA_SQUARE_YARD "<22>tvere<72>n<EFBFBD> yardy"
IDS_AREA_DANBO "Danbo"
IDS_AREA_HECTARES "Hektary"
IDS_AREA_JEONGBO "Jeongbo"
IDS_AREA_MORGEN_HUNGARY "Morgen (Ma<4D>arsko)"
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_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
// TYPES OF COMSUMPTIONS
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "Kilometry/litr"
IDS_CONSUMPTION_L_PER_100_KM "Litry/100 kilometr<74>"
IDS_CONSUMPTION_MILES_GALLON_UK "M<>le/galon (UK)"
IDS_CONSUMPTION_MILES_GALLON_US "M<>le/galon (USA)"
END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_BELGIAN_FRANC "Belgick<63> frank"
IDS_CURRENCY_CZECH_KORUNA "<22>esk<73> koruna"
IDS_CURRENCY_EURO "Euro"
IDS_CURRENCY_FINNISH_MARKKA "Finsk<73> marka"
IDS_CURRENCY_FRENCH_FRANC "Francouzsk<73> frank"
IDS_CURRENCY_IRISH_POUND "Irsk<73> libra"
IDS_CURRENCY_ITALIAN_LIRA "Italsk<73> lira"
IDS_CURRENCY_CYPRIOT_POUND "Kypersk<73> libra"
IDS_CURRENCY_LUXEMBOURG_FRANC "Lucembursk<73> frank"
IDS_CURRENCY_MALTESE_LIRA "Maltsk<73> lira"
IDS_CURRENCY_DEUTSCHE_MARK "N<>meck<63> marka"
IDS_CURRENCY_DUTCH_GUILDER "Nizozemsk<73> gulden"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portugalsk<73> escudo"
IDS_CURRENCY_AUSTRIAN_SCHILLING "Rakousk<73> <20>ilink"
IDS_CURRENCY_GREEK_DRACHMA "<22>eck<63> drachma"
IDS_CURRENCY_SLOVAK_KORUNA "Slovensk<73> koruna"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovinsk<73> tolar"
IDS_CURRENCY_SPANISH_PESETA "<22>pan<61>lsk<73> peseta"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 <20>C kalorie"
IDS_ENERGY_BTUS "Britsk<73> term<72>ln<6C> jednotky"
IDS_ENERGY_EVS "Elektronvolty"
IDS_ENERGY_FOOT_POUNDS "Foot-Pounds"
IDS_ENERGY_ERGS "Ergy"
IDS_ENERGY_JOULES "Jouly"
IDS_ENERGY_KILOJOULES "Kilojouly"
IDS_ENERGY_KILOWATT_HOURS "Kilowatt hodiny"
IDS_ENERGY_IT_CALORIES "Mezin<69>rodn<64> kalorie"
IDS_ENERGY_IT_KILOCALORIES "Mezin<69>rodn<64> kilokalorie"
IDS_ENERGY_NUTRITION_CALORIES "Nutri<72>n<EFBFBD> kalorie"
IDS_ENERGY_TH_CALORIES "Termochemick<63> kalorie"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstr<74>my"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomick<63> jednotky"
IDS_LENGTH_BARLEYCORNS "Barleycorny"
IDS_LENGTH_CENTIMETERS "Centimetry"
IDS_LENGTH_CHAINS_UK "Chains (Gunter's chains) (UK)"
IDS_LENGTH_CHI "Chi"
IDS_LENGTH_CHOU "Chou"
IDS_LENGTH_CHR "Chr"
IDS_LENGTH_CUN "Cun"
IDS_LENGTH_FATHOMS "Fathomy"
IDS_LENGTH_FATHOMS_HUNGARY "Fathomy (Ma<4D>arsko)"
IDS_LENGTH_FURLONGS "Furlongy"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Hands (dlan<61>)"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Kilometry"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "Metry"
IDS_LENGTH_MICRONS "Mikrony"
IDS_LENGTH_MILES "M<>le"
IDS_LENGTH_MILLIMETERS "Milimetry"
IDS_LENGTH_NAUTICAL_MILES "N<>mo<6D>n<EFBFBD> m<>le"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_INCHES "Palce"
IDS_LENGTH_PARSECS "Parseky"
IDS_LENGTH_PICAS "Picas"
IDS_LENGTH_RI_JAPAN "Ri (Japonsko)"
IDS_LENGTH_RI_KOREA "Ri (Korea)"
IDS_LENGTH_RODS "Rods"
IDS_LENGTH_SAWK "Sawk"
IDS_LENGTH_SEN "Sen"
IDS_LENGTH_SHAKU "Shaku"
IDS_LENGTH_SPAN "Span"
IDS_LENGTH_FEET "Stopy"
IDS_LENGTH_SUN "Sun"
IDS_LENGTH_LIGHT_YEARS "Sv<53>teln<6C> roky"
IDS_LENGTH_TSUEN "Tsuen"
IDS_LENGTH_VA "Va"
IDS_LENGTH_YARDS "Yardy"
IDS_LENGTH_YOTE "Yote"
IDS_LENGTH_ZHANG "Zhang"
END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "Britsk<73> term<72>ln<6C> jednotky za minutu"
IDS_POWER_FPS_PER_MINUTE "Foot-Pounds za minutu"
IDS_POWER_HORSEPOWER "Ko<4B>sk<73> s<>ly"
IDS_POWER_KILOWATTS "Kilowatty"
IDS_POWER_MEGAWATTS "Megawatty"
IDS_POWER_WATTS "Watty"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmosf<73>ry"
IDS_PRESSURE_BARS "Bary"
IDS_PRESSURE_HECTOPASCALS "Hektopascaly"
IDS_PRESSURE_KILOPASCALS "Kilopascaly"
IDS_PRESSURE_PSI "Libry na <20>tvercov<6F> palec"
IDS_PRESSURE_MM_OF_MERCURY "Milimetry rtu<74>ov<6F>ho sloupce"
IDS_PRESSURE_PASCALS "Pascaly"
END
// TYPES OF TEMPERATURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "Celsia"
IDS_TEMPERATURE_FAHRENHEIT "Fahrenheita"
IDS_TEMPERATURE_KELVIN "Kelvina"
IDS_TEMPERATURE_RANKINE "Rankina"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Dny"
IDS_TIME_HOURS "Hodiny"
IDS_TIME_NANOSECONDS "Nanosekundy"
IDS_TIME_MICROSECONDS "Mikrosekundy"
IDS_TIME_MILLISECONDS "Milisekundy"
IDS_TIME_MINUTES "Minuty"
IDS_TIME_SECONDS "Sekundy"
IDS_TIME_YEARS "Roky"
IDS_TIME_WEEKS "T<>dny"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centimetry za hodinu"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometry za hodinu"
IDS_VELOCITY_MACH "Machy"
IDS_VELOCITY_METERS_SECOND "Metry za sekundu"
IDS_VELOCITY_MILES_HOUR "M<>le za hodinu"
IDS_VELOCITY_FEET_HOUR "Stopy za hodinu"
IDS_VELOCITY_FEET_SECOND "Stopy za sekundu"
IDS_VELOCITY_KNOTS "Uzly"
END
// TYPES OF VOLUMES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VOLUME_BARRELS_UK "Barely (UK)"
IDS_VOLUME_BARRELS_OIL "Barely ropy"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "Bu<42>ly (UK)"
IDS_VOLUME_BUSHELS_US "Bu<42>ly (USA)"
IDS_VOLUME_QUARTS_UK "<22>tvrtky (UK)"
IDS_VOLUME_QUARTS_DRY_US "<22>tvrtky, such<63> (USA)"
IDS_VOLUME_QUARTS_LIQUID_US "<22>tvrtky, tekut<75> (USA)"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_GALLONS_UK "Galony (UK)"
IDS_VOLUME_GALLONS_DRY_US "Galony, such<63> (USA)"
IDS_VOLUME_GALLONS_LIQUID_US "Galony, tekut<75> (USA)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_CUBIC_CENTIMETERS "Krychlov<6F> centimetry"
IDS_VOLUME_CUBIC_FEET "Krychlov<6F> stopy"
IDS_VOLUME_CUBIC_INCHES "Krychlov<6F> palce"
IDS_VOLUME_CUBIC_METERS "Krychlov<6F> metry"
IDS_VOLUME_CUBIC_YARDS "Krychlov<6F> yardy"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "Litry"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "Mililitry"
IDS_VOLUME_PINTS_UK "Pinty (UK)"
IDS_VOLUME_PINTS_DRY_US "Pinty, such<63> (USA)"
IDS_VOLUME_PINTS_LIQUID_US "Pinty, tekut<75> (USA)"
IDS_VOLUME_SEKI "Seki"
IDS_VOLUME_SYOU "Syou"
IDS_VOLUME_TANANLOUNG "Tananloung"
IDS_VOLUME_TANG "Tang"
IDS_VOLUME_TO "To"
IDS_VOLUME_FLUID_OUNCES_UK "Unce (UK)"
IDS_VOLUME_FLUID_OUNCES_US "Unce (USA)"
END
// TYPES OF WEIGHTS
STRINGTABLE DISCARDABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_QUINTAL_METRIC "Centy (metrick<63>)"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "Gramy"
IDS_WEIGHT_GWAN "Gwan"
IDS_WEIGHT_HARB "Harb"
IDS_WEIGHT_JIN_CHINA "Jin (<28><>na)"
IDS_WEIGHT_JIN_TAIWAN "Jin (Taiwan)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_CARATS "Kar<61>ty"
IDS_WEIGHT_KILOGRAMS "Kilogramy"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (China)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Taiwan)"
IDS_WEIGHT_POUNDS "Libry"
IDS_WEIGHT_MONME "Monme"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "Stones"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "Tuny (metrick<63>)"
IDS_WEIGHT_TONS_UK "Tuny (UK)"
IDS_WEIGHT_TONS_US "Tuny (USA)"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "Unce (angloamerick<63>)"
IDS_WEIGHT_OUNCES_TROY "Unce (trojsk<73>/l<>k<EFBFBD>rensk<73>)"
END

View File

@@ -0,0 +1,732 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Calculator"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "",IDC_STATIC,4,16,132,21
CONTROL "Hex",IDC_RADIO_HEX,"Button",BS_AUTORADIOBUTTON,8,24,29,10
CONTROL "Dec",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,40,24,29,10
CONTROL "Oct",IDC_RADIO_OCT,"Button",BS_AUTORADIOBUTTON,72,24,27,10
CONTROL "Bin",IDC_RADIO_BIN,"Button",BS_AUTORADIOBUTTON,100,24,26,10
GROUPBOX "",IDC_STATIC,4,36,76,21
CONTROL "Inv",IDC_CHECK_INV,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,44,26,10
CONTROL "Hyp",IDC_CHECK_HYP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,40,44,29,10
CTEXT "",IDC_TEXT_PARENT,84,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CTEXT "",IDC_TEXT_MEMORY,112,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "Sta",IDC_BUTTON_STA,4,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Ave",IDC_BUTTON_AVE,4,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sum",IDC_BUTTON_SUM,4,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s",IDC_BUTTON_S,4,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat",IDC_BUTTON_DAT,4,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E",IDC_BUTTON_FE,38,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "dms",IDC_BUTTON_DMS,38,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "sin",IDC_BUTTON_SIN,38,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "cos",IDC_BUTTON_COS,38,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "tan",IDC_BUTTON_TAN,38,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(",IDC_BUTTON_LEFTPAR,64,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Exp",IDC_BUTTON_EXP,64,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y",IDC_BUTTON_XeY,64,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2",IDC_BUTTON_Xe2,64,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3",IDC_BUTTON_Xe3,64,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")",IDC_BUTTON_RIGHTPAR,90,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln",IDC_BUTTON_LN,90,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log",IDC_BUTTON_LOG,90,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!",IDC_BUTTON_NF,90,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,90,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC",IDC_BUTTON_MC,124,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,124,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,124,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,124,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "pi",IDC_BUTTON_PI,124,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7",IDC_BUTTON_7,158,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,158,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,158,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,158,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A",IDC_BUTTON_A,158,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,184,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,184,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,184,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,184,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B",IDC_BUTTON_B,184,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,210,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,210,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,210,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,210,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C",IDC_BUTTON_C,210,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,236,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,236,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,236,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,236,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D",IDC_BUTTON_D,236,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Mod",IDC_BUTTON_MOD,262,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Or",IDC_BUTTON_OR,262,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Lsh",IDC_BUTTON_LSH,262,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,262,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E",IDC_BUTTON_E,262,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "And",IDC_BUTTON_AND,288,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Xor",IDC_BUTTON_XOR,288,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Not",IDC_BUTTON_NOT,288,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Int",IDC_BUTTON_INT,288,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F",IDC_BUTTON_F,288,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "",IDC_STATIC,140,16,172,21
CONTROL "Qword",IDC_RADIO_QWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,148,24,37,10
CONTROL "Dword",IDC_RADIO_DWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,188,24,37,10
CONTROL "Word",IDC_RADIO_WORD,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,232,24,33,10
CONTROL "Byte",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,272,24,30,10
CONTROL "Degrees",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "Radians",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "Gradians",IDC_RADIO_GRAD,"Button",BS_AUTORADIOBUTTON,
236,24,44,10
PUSHBUTTON "C",IDC_BUTTON_CANC,272,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,228,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Back",IDC_BUTTON_BACK,184,40,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,308,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 172, 127
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Calculator"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "C",IDC_BUTTON_CANC,128,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,84,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Back",IDC_BUTTON_BACK,40,24,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,164,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "7",IDC_BUTTON_7,40,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,40,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,40,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,40,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,66,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,66,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,66,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,66,105,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,92,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,92,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,92,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,92,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,118,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,118,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,118,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,118,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sqrt",IDC_BUTTON_SQRT,144,48,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%",IDC_BUTTON_PERCENT,144,67,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,144,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,144,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "",IDC_TEXT_MEMORY,4,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "MC",IDC_BUTTON_MC,4,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,4,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,4,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,4,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Calculator"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Convert",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,4,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Category:",IDC_STATIC,4,20,56,8
COMBOBOX IDC_COMBO_FROM,4,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Convert from:",IDC_STATIC,4,49,56,8
COMBOBOX IDC_COMBO_TO,4,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Convert to:",IDC_STATIC,4,76,56,8
CONTROL "C",IDC_BUTTON_CANC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,276,24,40,17
CONTROL "CE",IDC_BUTTON_CE,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,232,24,40,17
CONTROL "Back",IDC_BUTTON_BACK,"Button",BS_OWNERDRAW |
BS_CENTER | BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,24,
40,17
RTEXT "",IDC_TEXT_OUTPUT,4,4,312,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "7",IDC_BUTTON_7,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,48,24,17
CONTROL "4",IDC_BUTTON_4,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,67,24,17
CONTROL "1",IDC_BUTTON_1,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,86,24,17
CONTROL "0",IDC_BUTTON_0,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,105,24,17
CONTROL "8",IDC_BUTTON_8,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,48,24,17
CONTROL "5",IDC_BUTTON_5,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,67,24,17
CONTROL "2",IDC_BUTTON_2,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,86,24,17
CONTROL "+/-",IDC_BUTTON_SIGN,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,105,24,17
CONTROL "9",IDC_BUTTON_9,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,48,24,17
CONTROL "6",IDC_BUTTON_6,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,67,24,17
CONTROL "3",IDC_BUTTON_3,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,86,24,17
CONTROL ",",IDC_BUTTON_DOT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,105,24,17
CONTROL "/",IDC_BUTTON_DIV,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,48,24,17
CONTROL "*",IDC_BUTTON_MULT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,67,24,17
CONTROL "-",IDC_BUTTON_SUB,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,86,24,17
CONTROL "+",IDC_BUTTON_ADD,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,105,24,17
CONTROL "Sqrt",IDC_BUTTON_SQRT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,48,24,17
CONTROL "%",IDC_BUTTON_PERCENT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,67,24,17
CONTROL "1/x",IDC_BUTTON_RX,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,86,24,17
CONTROL "=",IDC_BUTTON_EQU,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,105,24,17
CTEXT "",IDC_TEXT_MEMORY,152,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "MC",IDC_BUTTON_MC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,48,24,17
CONTROL "MR",IDC_BUTTON_MR,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,67,24,17
CONTROL "MS",IDC_BUTTON_MS,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,86,24,17
CONTROL "M+",IDC_BUTTON_MP,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,105,24,17
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5,NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About ReactOS Calc"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,105,148,52,16
CONTROL IDB_BITMAP_ROS,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,4,4,104,48
LTEXT "ReactOS Calculator",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "Version ",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "Written by Carlo Bramini",IDC_STATIC,120,32,132,8,
SS_CENTERIMAGE
GROUPBOX "",IDC_STATIC,112,0,148,52
GROUPBOX "",IDC_STATIC,4,56,256,88
EDITTEXT IDC_EDIT_LICENSE,12,68,240,68,ES_MULTILINE | ES_READONLY |
WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistics box"
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 DISCARDABLE
BEGIN
POPUP "Edit"
BEGIN
MENUITEM "Copy\tCtrl+C", IDM_EDIT_COPY
MENUITEM "Paste\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "View"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Scientific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversion", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Decimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binary\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Degrees\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radians\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Gradians\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Group digits", IDM_VIEW_GROUP, CHECKED
END
POPUP "Help"
BEGIN
MENUITEM "Help topics", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "About ReactOS Calc", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "Edit"
BEGIN
MENUITEM "Copy\tCtrl+C", IDM_EDIT_COPY
MENUITEM "Paste\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "View"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Scientific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversion", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Decimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binary\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "Dword\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "Word\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Byte\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "Group digits", IDM_VIEW_GROUP, CHECKED
END
POPUP "Help"
BEGIN
MENUITEM "Help topics", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "About ReactOS Calc", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "Edit"
BEGIN
MENUITEM "Copy\tCtrl+C", IDM_EDIT_COPY
MENUITEM "Paste\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "View"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Scientific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversion", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Group digits", IDM_VIEW_GROUP, CHECKED
END
POPUP "Help"
BEGIN
MENUITEM "Help topics", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "About ReactOS Calc", IDM_HELP_ABOUT
END
END
// String Tables
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc is free software released under GNU GPL license.\r\n\r\nYou can get a copy of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nYou can also get a translation of GNU GPL license here:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Error"
IDS_QUICKHELP "Quick help"
END
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "Angle"
IDS_CONV_AREA "Area"
IDS_CONV_CONSUMPTION "Consumption (engines)"
IDS_CONV_CURRENCY "Currencies"
IDS_CONV_ENERGY "Energy"
IDS_CONV_LENGTH "Lengths"
IDS_CONV_POWER "Power"
IDS_CONV_PRESSURE "Pressure"
IDS_CONV_TEMPERATURE "Temperature"
IDS_CONV_TIME "Time"
IDS_CONV_VELOCITY "Velocity"
IDS_CONV_VOLUME "Volume"
IDS_CONV_WEIGHT "Weights"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Degrees"
IDS_ANGLE_GRADIANS "Gradians"
IDS_ANGLE_RADIANS "Radians"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "Acres"
IDS_AREA_ACRES_BRAZIL "Acres (Brazil)"
IDS_AREA_ACRES_FRANCE "Acres (France)"
IDS_AREA_ACRES_SCOTS "Acres (Scots)"
IDS_AREA_ACRES_US "Acres (US)"
IDS_AREA_ARES "Ares"
IDS_AREA_CHOU "Chou"
IDS_AREA_DANBO "Danbo"
IDS_AREA_HECTARES "Hectares"
IDS_AREA_JEONGBO "Jeongbo"
IDS_AREA_MORGEN_HUNGARY "Morgen (Hungary)"
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 "Square centimeters"
IDS_AREA_SQUARE_CHR "Square chr"
IDS_AREA_SQUARE_FATHOMS "Square fathoms"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "Square fathoms (Hungary)"
IDS_AREA_SQUARE_FEET "Square feet"
IDS_AREA_SQUARE_INCHES "Square inches"
IDS_AREA_SQUARE_KILOMETERS "Square kilometers"
IDS_AREA_SQUARE_LAR "Square lar"
IDS_AREA_SQUARE_METER "Square meter"
IDS_AREA_SQUARE_MILES "Square miles"
IDS_AREA_SQUARE_MILLIMETERS "Square millimeters"
IDS_AREA_SQUARE_SHAKU "Square shaku"
IDS_AREA_SQUARE_TSUEN "Square tsuen"
IDS_AREA_SQUARE_VA "Square va"
IDS_AREA_SQUARE_YARD "Square yard"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
// TYPES OF COMSUMPTIONS
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "Kilometer/liter"
IDS_CONSUMPTION_L_PER_100_KM "Liters/100 kilometers"
IDS_CONSUMPTION_MILES_GALLON_UK "Miles/gallon (UK)"
IDS_CONSUMPTION_MILES_GALLON_US "Miles/gallon (US)"
END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Austrian schilling"
IDS_CURRENCY_BELGIAN_FRANC "Belgian franc"
IDS_CURRENCY_CYPRIOT_POUND "Cypriot pound"
IDS_CURRENCY_CZECH_KORUNA "Czech koruna"
IDS_CURRENCY_DEUTSCHE_MARK "Deutsche Mark"
IDS_CURRENCY_DUTCH_GUILDER "Dutch guilder"
IDS_CURRENCY_EURO "Euro"
IDS_CURRENCY_FINNISH_MARKKA "Finnish markka"
IDS_CURRENCY_FRENCH_FRANC "French franc"
IDS_CURRENCY_GREEK_DRACHMA "Greek Drachma"
IDS_CURRENCY_IRISH_POUND "Irish pound"
IDS_CURRENCY_ITALIAN_LIRA "Italian lira"
IDS_CURRENCY_LUXEMBOURG_FRANC "Luxembourg franc"
IDS_CURRENCY_MALTESE_LIRA "Maltese lira"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portoguese escudo"
IDS_CURRENCY_SLOVAK_KORUNA "Slovak koruna"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovenian tolar"
IDS_CURRENCY_SPANISH_PESETA "Spanish peseta"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 <20>C calories"
IDS_ENERGY_BTUS "British Thermal Units"
IDS_ENERGY_ERGS "Ergs"
IDS_ENERGY_EVS "Electron-Volts"
IDS_ENERGY_FOOT_POUNDS "Foot-Pounds"
IDS_ENERGY_IT_CALORIES "International Table calories"
IDS_ENERGY_IT_KILOCALORIES "International Table kilocalories"
IDS_ENERGY_JOULES "Joules"
IDS_ENERGY_KILOJOULES "Kilojoules"
IDS_ENERGY_KILOWATT_HOURS "Kilowatt hours"
IDS_ENERGY_NUTRITION_CALORIES "Nutrition calories"
IDS_ENERGY_TH_CALORIES "Thermochemical calorie"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "<22>ngstr<74>ms"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomical units"
IDS_LENGTH_BARLEYCORNS "Barleycorns"
IDS_LENGTH_CENTIMETERS "Centimeters"
IDS_LENGTH_CHAINS_UK "Chains (UK)"
IDS_LENGTH_CHI "Chi"
IDS_LENGTH_CHOU "Chou"
IDS_LENGTH_CHR "Chr"
IDS_LENGTH_CUN "Cun"
IDS_LENGTH_FATHOMS "Fathoms"
IDS_LENGTH_FATHOMS_HUNGARY "Fathoms (Hungary)"
IDS_LENGTH_FEET "Feet"
IDS_LENGTH_FURLONGS "Furlongs"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Hands"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "Inches"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Kilometers"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Light years"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "Meters"
IDS_LENGTH_MICRONS "Microns"
IDS_LENGTH_MILES "Miles"
IDS_LENGTH_MILLIMETERS "Millimeters"
IDS_LENGTH_NAUTICAL_MILES "Nautical miles"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_PARSECS "Parsecs"
IDS_LENGTH_PICAS "Picas"
IDS_LENGTH_RI_JAPAN "Ri (Japan)"
IDS_LENGTH_RI_KOREA "Ri (Korea)"
IDS_LENGTH_RODS "Rods"
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 "Yards"
IDS_LENGTH_YOTE "Yote"
IDS_LENGTH_ZHANG "Zhang"
END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "British Thermal Units per minute"
IDS_POWER_FPS_PER_MINUTE "Foot-Pounds per minute"
IDS_POWER_HORSEPOWER "Horsepower"
IDS_POWER_KILOWATTS "Kilowatts"
IDS_POWER_MEGAWATTS "Megawatts"
IDS_POWER_WATTS "Watts"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmospheres"
IDS_PRESSURE_BARS "Bars"
IDS_PRESSURE_HECTOPASCALS "Hectopascals"
IDS_PRESSURE_KILOPASCALS "Kilopascals"
IDS_PRESSURE_MM_OF_MERCURY "Millimeters of mercury"
IDS_PRESSURE_PASCALS "Pascals"
IDS_PRESSURE_PSI "Pounds-force per square inch"
END
// TYPES OF TEMPERATURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "Celsius"
IDS_TEMPERATURE_FAHRENHEIT "Fahrenheit"
IDS_TEMPERATURE_KELVIN "Kelvin"
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Days"
IDS_TIME_HOURS "Hours"
IDS_TIME_NANOSECONDS "Nanoseconds"
IDS_TIME_MICROSECONDS "Microseconds"
IDS_TIME_MILLISECONDS "Milliseconds"
IDS_TIME_MINUTES "Minutes"
IDS_TIME_SECONDS "Seconds"
IDS_TIME_WEEKS "Weeks"
IDS_TIME_YEARS "Years"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centimeters/hour"
IDS_VELOCITY_FEET_HOUR "Feet/hour"
IDS_VELOCITY_FEET_SECOND "Feet/second"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometers/hour"
IDS_VELOCITY_KNOTS "Knots"
IDS_VELOCITY_MACH "Mach"
IDS_VELOCITY_METERS_SECOND "Meters/second"
IDS_VELOCITY_MILES_HOUR "Miles/hour"
END
// TYPES OF VOLUMES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VOLUME_BARRELS_UK "Barrels (UK)"
IDS_VOLUME_BARRELS_OIL "Barrels oil"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "Bushels (UK)"
IDS_VOLUME_BUSHELS_US "Bushels (US)"
IDS_VOLUME_CUBIC_CENTIMETERS "Cubic centimeters"
IDS_VOLUME_CUBIC_FEET "Cubic feet"
IDS_VOLUME_CUBIC_INCHES "Cubic inches"
IDS_VOLUME_CUBIC_METERS "Cubic meters"
IDS_VOLUME_CUBIC_YARDS "Cubic yards"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "Fluid ounces (UK)"
IDS_VOLUME_FLUID_OUNCES_US "Fluid ounces (US)"
IDS_VOLUME_GALLONS_UK "Gallons (UK)"
IDS_VOLUME_GALLONS_DRY_US "Gallons, dry (US)"
IDS_VOLUME_GALLONS_LIQUID_US "Gallons, liquid (US)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "Liters"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "Milliliters"
IDS_VOLUME_PINTS_UK "Pints (UK)"
IDS_VOLUME_PINTS_DRY_US "Pints, dry (US)"
IDS_VOLUME_PINTS_LIQUID_US "Pints, liquid (US)"
IDS_VOLUME_QUARTS_UK "Quarts (UK)"
IDS_VOLUME_QUARTS_DRY_US "Quarts, dry (US)"
IDS_VOLUME_QUARTS_LIQUID_US "Quarts, liquid (US)"
IDS_VOLUME_SEKI "Seki"
IDS_VOLUME_SYOU "Syou"
IDS_VOLUME_TANANLOUNG "Tananloung"
IDS_VOLUME_TANG "Tang"
IDS_VOLUME_TO "To"
END
// TYPES OF WEIGHTS
STRINGTABLE DISCARDABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_CARATS "Carats"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "Grams"
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 "Kilograms"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (China)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Taiwan)"
IDS_WEIGHT_MONME "Monme"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "Ounces, avoirdupois"
IDS_WEIGHT_OUNCES_TROY "Ounces, troy"
IDS_WEIGHT_POUNDS "Pounds"
IDS_WEIGHT_QUINTAL_METRIC "Quintal (metric)"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "Stones"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "Tonnes"
IDS_WEIGHT_TONS_UK "Tons (UK)"
IDS_WEIGHT_TONS_US "Tons (US)"
END

View File

@@ -0,0 +1,732 @@
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS <20>d<EFBFBD><64>"
MENU IDR_MENU_SCIENTIFIC_1
FONT 9, "MS UI Gothic", 0, 0, 0x1
BEGIN
GROUPBOX "",IDC_STATIC,4,16,132,21
CONTROL "16<31>i",IDC_RADIO_HEX,"Button",BS_AUTORADIOBUTTON,8,24,29,10
CONTROL "10<31>i",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,40,24,29,10
CONTROL "8<>i",IDC_RADIO_OCT,"Button",BS_AUTORADIOBUTTON,72,24,27,10
CONTROL "2<>i",IDC_RADIO_BIN,"Button",BS_AUTORADIOBUTTON,100,24,26,10
GROUPBOX "",IDC_STATIC,4,36,76,21
CONTROL "Inv",IDC_CHECK_INV,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,44,26,10
CONTROL "Hyp",IDC_CHECK_HYP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,40,44,29,10
CTEXT "",IDC_TEXT_PARENT,84,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CTEXT "",IDC_TEXT_MEMORY,112,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "Sta",IDC_BUTTON_STA,4,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Ave",IDC_BUTTON_AVE,4,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sum",IDC_BUTTON_SUM,4,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s",IDC_BUTTON_S,4,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat",IDC_BUTTON_DAT,4,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E",IDC_BUTTON_FE,38,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "dms",IDC_BUTTON_DMS,38,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "sin",IDC_BUTTON_SIN,38,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "cos",IDC_BUTTON_COS,38,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "tan",IDC_BUTTON_TAN,38,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(",IDC_BUTTON_LEFTPAR,64,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Exp",IDC_BUTTON_EXP,64,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y",IDC_BUTTON_XeY,64,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2",IDC_BUTTON_Xe2,64,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3",IDC_BUTTON_Xe3,64,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")",IDC_BUTTON_RIGHTPAR,90,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln",IDC_BUTTON_LN,90,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log",IDC_BUTTON_LOG,90,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!",IDC_BUTTON_NF,90,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,90,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC",IDC_BUTTON_MC,124,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,124,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,124,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,124,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "pi",IDC_BUTTON_PI,124,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7",IDC_BUTTON_7,158,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,158,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,158,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,158,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A",IDC_BUTTON_A,158,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,184,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,184,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,184,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,184,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B",IDC_BUTTON_B,184,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,210,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,210,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,210,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,210,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C",IDC_BUTTON_C,210,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,236,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,236,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,236,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,236,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D",IDC_BUTTON_D,236,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Mod",IDC_BUTTON_MOD,262,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Or",IDC_BUTTON_OR,262,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Lsh",IDC_BUTTON_LSH,262,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,262,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E",IDC_BUTTON_E,262,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "And",IDC_BUTTON_AND,288,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Xor",IDC_BUTTON_XOR,288,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Not",IDC_BUTTON_NOT,288,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Int",IDC_BUTTON_INT,288,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F",IDC_BUTTON_F,288,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "",IDC_STATIC,140,16,172,21
CONTROL "Qword",IDC_RADIO_QWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,148,24,37,10
CONTROL "Dword",IDC_RADIO_DWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,188,24,37,10
CONTROL "Word",IDC_RADIO_WORD,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,232,24,33,10
CONTROL "Byte",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,272,24,30,10
CONTROL "Degrees",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "Radians",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "Gradians",IDC_RADIO_GRAD,"Button",BS_AUTORADIOBUTTON,
236,24,44,10
PUSHBUTTON "C",IDC_BUTTON_CANC,272,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,228,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Back",IDC_BUTTON_BACK,184,40,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,308,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 172, 127
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS <20>d<EFBFBD><64>"
MENU IDR_MENU_STANDARD
FONT 9, "MS UI Gothic", 0, 0, 0x1
BEGIN
PUSHBUTTON "C",IDC_BUTTON_CANC,128,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,84,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Back",IDC_BUTTON_BACK,40,24,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,164,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "7",IDC_BUTTON_7,40,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,40,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,40,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,40,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,66,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,66,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,66,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,66,105,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,92,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,92,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,92,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,92,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,118,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,118,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,118,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,118,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sqrt",IDC_BUTTON_SQRT,144,48,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%",IDC_BUTTON_PERCENT,144,67,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,144,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,144,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "",IDC_TEXT_MEMORY,4,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "MC",IDC_BUTTON_MC,4,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,4,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,4,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,4,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS <20>d<EFBFBD><64>"
MENU IDR_MENU_STANDARD
FONT 9, "MS UI Gothic"
BEGIN
PUSHBUTTON "<22>ϊ<EFBFBD>",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,4,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "<22><><EFBFBD><EFBFBD>:",IDC_STATIC,4,20,56,8
COMBOBOX IDC_COMBO_FROM,4,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "<22>ϊ<EFBFBD><CF8A><EFBFBD>:",IDC_STATIC,4,49,56,8
COMBOBOX IDC_COMBO_TO,4,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "<22>ϊ<EFBFBD><CF8A><EFBFBD>:",IDC_STATIC,4,76,56,8
CONTROL "C",IDC_BUTTON_CANC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,276,24,40,17
CONTROL "CE",IDC_BUTTON_CE,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,232,24,40,17
CONTROL "Back",IDC_BUTTON_BACK,"Button",BS_OWNERDRAW |
BS_CENTER | BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,24,
40,17
RTEXT "",IDC_TEXT_OUTPUT,4,4,312,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "7",IDC_BUTTON_7,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,48,24,17
CONTROL "4",IDC_BUTTON_4,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,67,24,17
CONTROL "1",IDC_BUTTON_1,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,86,24,17
CONTROL "0",IDC_BUTTON_0,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,105,24,17
CONTROL "8",IDC_BUTTON_8,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,48,24,17
CONTROL "5",IDC_BUTTON_5,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,67,24,17
CONTROL "2",IDC_BUTTON_2,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,86,24,17
CONTROL "+/-",IDC_BUTTON_SIGN,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,105,24,17
CONTROL "9",IDC_BUTTON_9,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,48,24,17
CONTROL "6",IDC_BUTTON_6,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,67,24,17
CONTROL "3",IDC_BUTTON_3,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,86,24,17
CONTROL ",",IDC_BUTTON_DOT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,105,24,17
CONTROL "/",IDC_BUTTON_DIV,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,48,24,17
CONTROL "*",IDC_BUTTON_MULT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,67,24,17
CONTROL "-",IDC_BUTTON_SUB,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,86,24,17
CONTROL "+",IDC_BUTTON_ADD,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,105,24,17
CONTROL "Sqrt",IDC_BUTTON_SQRT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,48,24,17
CONTROL "%",IDC_BUTTON_PERCENT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,67,24,17
CONTROL "1/x",IDC_BUTTON_RX,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,86,24,17
CONTROL "=",IDC_BUTTON_EQU,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,105,24,17
CTEXT "",IDC_TEXT_MEMORY,152,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "MC",IDC_BUTTON_MC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,48,24,17
CONTROL "MR",IDC_BUTTON_MR,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,67,24,17
CONTROL "MS",IDC_BUTTON_MS,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,86,24,17
CONTROL "M+",IDC_BUTTON_MP,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,105,24,17
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5,NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS <20>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>"
FONT 9, "MS UI Gothic"
BEGIN
DEFPUSHBUTTON "OK",IDOK,105,148,52,16
CONTROL IDB_BITMAP_ROS,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,4,4,104,48
LTEXT "ReactOS <20>d<EFBFBD><64>",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "Version ",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "Written by Carlo Bramini",IDC_STATIC,120,32,132,8,
SS_CENTERIMAGE
GROUPBOX "",IDC_STATIC,112,0,148,52
GROUPBOX "",IDC_STATIC,4,56,256,88
EDITTEXT IDC_EDIT_LICENSE,12,68,240,68,ES_MULTILINE | ES_READONLY |
WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistics box"
FONT 9, "MS UI Gothic"
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 DISCARDABLE
BEGIN
POPUP "<22>ҏW"
BEGIN
MENUITEM "<22>R<EFBFBD>s<EFBFBD>[\tCtrl+C", IDM_EDIT_COPY
MENUITEM "<22>\\<5C><><EFBFBD>t<EFBFBD><74>\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "<22>\\<5C><>"
BEGIN
MENUITEM "<22>W<EFBFBD><57>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22>֐<EFBFBD><D690>d<EFBFBD><64>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22>ϊ<EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "16<31>i\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "10<31>i\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "8<>i\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "2<>i\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Degrees\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radians\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Gradians\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؂<EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22>w<EFBFBD><77><EFBFBD>v"
BEGIN
MENUITEM "<22>w<EFBFBD><77><EFBFBD>v <20>g<EFBFBD>s<EFBFBD>b<EFBFBD>N", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "ReactOS <20>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "<22>ҏW"
BEGIN
MENUITEM "<22>R<EFBFBD>s<EFBFBD>[\tCtrl+C", IDM_EDIT_COPY
MENUITEM "<22>\\<5C><><EFBFBD>t<EFBFBD><74>\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "<22>\\<5C><>"
BEGIN
MENUITEM "<22>W<EFBFBD><57>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22>֐<EFBFBD><D690>d<EFBFBD><64>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22>ϊ<EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "16<31>i\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "10<31>i\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "8<>i\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "2<>i\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "Dword\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "Word\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Byte\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؂<EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22>w<EFBFBD><77><EFBFBD>v"
BEGIN
MENUITEM "<22>w<EFBFBD><77><EFBFBD>v <20>g<EFBFBD>s<EFBFBD>b<EFBFBD>N", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "ReactOS <20>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "<22>ҏW"
BEGIN
MENUITEM "<22>R<EFBFBD>s<EFBFBD>[\tCtrl+C", IDM_EDIT_COPY
MENUITEM "<22>\\<5C><><EFBFBD>t<EFBFBD><74>\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "<22>\\<5C><>"
BEGIN
MENUITEM "<22>W<EFBFBD><57>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22>֐<EFBFBD><D690>d<EFBFBD><64>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22>ϊ<EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؂<EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22>w<EFBFBD><77><EFBFBD>v"
BEGIN
MENUITEM "<22>w<EFBFBD><77><EFBFBD>v <20>g<EFBFBD>s<EFBFBD>b<EFBFBD>N", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "ReactOS <20>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>", IDM_HELP_ABOUT
END
END
// String Tables
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "ReactOS <20>d<EFBFBD><64><EFBFBD><EFBFBD>GNU GPL<50><4C><EFBFBD>C<EFBFBD>Z<EFBFBD><5A><EFBFBD>X<EFBFBD>̌<EFBFBD><CC8C>Œ񋟂<C592><F18B9F82><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD>[<5B>\\<5C>t<EFBFBD>g<EFBFBD>E<EFBFBD>F<EFBFBD>A<EFBFBD>ł<EFBFBD><C582>B\r\n\r\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>GNU GPL<50><4C><EFBFBD>C<EFBFBD>Z<EFBFBD><5A><EFBFBD>X<EFBFBD>̃R<CC83>s<EFBFBD>[<5B>𓾂邱<F093BE82>Ƃ<EFBFBD><C682>ł<EFBFBD><C582>܂<EFBFBD>:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>GNU GPL<50><4C><EFBFBD>C<EFBFBD>Z<EFBFBD><5A><EFBFBD>X<EFBFBD>̖|<7C><><EFBFBD>𓾂邱<F093BE82>Ƃ<EFBFBD><C682>ł<EFBFBD><C582>܂<EFBFBD>:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "<22>G<EFBFBD><47><EFBFBD>["
IDS_QUICKHELP "<22>N<EFBFBD>C<EFBFBD>b<EFBFBD>N<EFBFBD>w<EFBFBD><77><EFBFBD>v"
END
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "<22>p<EFBFBD>x"
IDS_CONV_AREA "<22>ʐ<EFBFBD>"
IDS_CONV_CONSUMPTION "<22><><EFBFBD><EFBFBD> (<28>G<EFBFBD><47><EFBFBD>W<EFBFBD><57>)"
IDS_CONV_CURRENCY "<22>ʉ<EFBFBD>"
IDS_CONV_ENERGY "<22>G<EFBFBD>l<EFBFBD><6C><EFBFBD>M<EFBFBD>["
IDS_CONV_LENGTH "<22><><EFBFBD><EFBFBD>"
IDS_CONV_POWER "<22><>"
IDS_CONV_PRESSURE "<22><><EFBFBD><EFBFBD>"
IDS_CONV_TEMPERATURE "<22><><EFBFBD>x"
IDS_CONV_TIME "<22><><EFBFBD><EFBFBD>"
IDS_CONV_VELOCITY "<22><><EFBFBD>x"
IDS_CONV_VOLUME "<22>̐<EFBFBD>"
IDS_CONV_WEIGHT "<22>d<EFBFBD><64>"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Degrees"
IDS_ANGLE_GRADIANS "Gradians"
IDS_ANGLE_RADIANS "Radians"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "<22>G<EFBFBD>[<5B>J<EFBFBD>["
IDS_AREA_ACRES_BRAZIL "<22>G<EFBFBD>[<5B>J<EFBFBD>[ (<28>u<EFBFBD><75><EFBFBD>W<EFBFBD><57>)"
IDS_AREA_ACRES_FRANCE "<22>G<EFBFBD>[<5B>J<EFBFBD>[ (<28>t<EFBFBD><74><EFBFBD><EFBFBD><EFBFBD>X)"
IDS_AREA_ACRES_SCOTS "<22>G<EFBFBD>[<5B>J<EFBFBD>[ (<28>X<EFBFBD>R<EFBFBD>b<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>h)"
IDS_AREA_ACRES_US "<22>G<EFBFBD>[<5B>J<EFBFBD>[ (<28>č<EFBFBD>)"
IDS_AREA_ARES "<22>A<EFBFBD>[<5B><>"
IDS_AREA_CHOU "Chou"
IDS_AREA_DANBO "Danbo"
IDS_AREA_HECTARES "<22>w<EFBFBD>N<EFBFBD>^<5E>[<5B><>"
IDS_AREA_JEONGBO "Jeongbo"
IDS_AREA_MORGEN_HUNGARY "Morgen (Hungary)"
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 "<22><><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD><5A><EFBFBD>`<60><><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_AREA_SQUARE_CHR "Square chr"
IDS_AREA_SQUARE_FATHOMS "<22><><EFBFBD><EFBFBD><EFBFBD>q"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "<22><><EFBFBD><EFBFBD><EFBFBD>q (<28>n<EFBFBD><6E><EFBFBD>K<EFBFBD><4B><EFBFBD>[)"
IDS_AREA_SQUARE_FEET "<22><><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>B<EFBFBD>[<5B>g"
IDS_AREA_SQUARE_INCHES "<22><><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD>`"
IDS_AREA_SQUARE_KILOMETERS "<22><><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>[<5B>^<5E>["
IDS_AREA_SQUARE_LAR "Square lar"
IDS_AREA_SQUARE_METER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_AREA_SQUARE_MILES "<22><><EFBFBD><EFBFBD><EFBFBD>}<7D>C<EFBFBD><43>"
IDS_AREA_SQUARE_MILLIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD>~<7E><><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_AREA_SQUARE_SHAKU "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_TSUEN "Square tsuen"
IDS_AREA_SQUARE_VA "Square va"
IDS_AREA_SQUARE_YARD "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>h"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "<22><>"
END
// TYPES OF COMSUMPTIONS
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>/<2F><><EFBFBD>b<EFBFBD>g<EFBFBD><67>"
IDS_CONSUMPTION_L_PER_100_KM "<22><><EFBFBD>b<EFBFBD>g<EFBFBD><67>/100<30>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_CONSUMPTION_MILES_GALLON_UK "<22>}<7D>C<EFBFBD><43>/<2F>K<EFBFBD><4B><EFBFBD><EFBFBD> (<28>p<EFBFBD><70>)"
IDS_CONSUMPTION_MILES_GALLON_US "<22>}<7D>C<EFBFBD><43>/<2F>K<EFBFBD><4B><EFBFBD><EFBFBD> (<28>č<EFBFBD>)"
END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "<22>I<EFBFBD>[<5B>X<EFBFBD>g<EFBFBD><67><EFBFBD>A <20>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>O"
IDS_CURRENCY_BELGIAN_FRANC "<22>x<EFBFBD><78><EFBFBD>M<EFBFBD>[ <20>t<EFBFBD><74><EFBFBD><EFBFBD>"
IDS_CURRENCY_CYPRIOT_POUND "<22>L<EFBFBD>v<EFBFBD><76><EFBFBD>X <20>|<7C><><EFBFBD>h"
IDS_CURRENCY_CZECH_KORUNA "<22>`<60>F<EFBFBD>R <20>R<EFBFBD><52><EFBFBD>i"
IDS_CURRENCY_DEUTSCHE_MARK "<22>h<EFBFBD>C<EFBFBD>c <20>}<7D><><EFBFBD>N"
IDS_CURRENCY_DUTCH_GUILDER "<22>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>_ <20>M<EFBFBD><4D><EFBFBD>_<EFBFBD>["
IDS_CURRENCY_EURO "<22><><EFBFBD>[<5B><>"
IDS_CURRENCY_FINNISH_MARKKA "<22>t<EFBFBD>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h <20>}<7D><><EFBFBD>b<EFBFBD>J"
IDS_CURRENCY_FRENCH_FRANC "<22>t<EFBFBD><74><EFBFBD><EFBFBD><EFBFBD>X <20>t<EFBFBD><74><EFBFBD><EFBFBD>"
IDS_CURRENCY_GREEK_DRACHMA "<22>M<EFBFBD><4D><EFBFBD>V<EFBFBD><56> <20>h<EFBFBD><68><EFBFBD>N<EFBFBD>}"
IDS_CURRENCY_IRISH_POUND "<22>A<EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h <20>|<7C><><EFBFBD>h"
IDS_CURRENCY_ITALIAN_LIRA "<22>C<EFBFBD>^<5E><><EFBFBD>A <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_LUXEMBOURG_FRANC "<22><><EFBFBD>N<EFBFBD>Z<EFBFBD><5A><EFBFBD>u<EFBFBD><75><EFBFBD>N <20>t<EFBFBD><74><EFBFBD><EFBFBD>"
IDS_CURRENCY_MALTESE_LIRA "<22>}<7D><><EFBFBD>^ <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_PORTOGUESE_ESCUDO "<22>|<7C><><EFBFBD>g<EFBFBD>K<EFBFBD><4B> <20>G<EFBFBD>X<EFBFBD>N<EFBFBD>[<5B>h"
IDS_CURRENCY_SLOVAK_KORUNA "<22>X<EFBFBD><58><EFBFBD>o<EFBFBD>L<EFBFBD>A <20>R<EFBFBD><52><EFBFBD>i"
IDS_CURRENCY_SLOVENIAN_TOLAR "<22>X<EFBFBD><58><EFBFBD>x<EFBFBD>j<EFBFBD>A tolar"
IDS_CURRENCY_SPANISH_PESETA "<22>X<EFBFBD>y<EFBFBD>C<EFBFBD><43> <20>y<EFBFBD>Z<EFBFBD>^"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15<31><35><EFBFBD>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>["
IDS_ENERGY_BTUS "<22>p<EFBFBD><70><EFBFBD>M<EFBFBD>P<EFBFBD><50>"
IDS_ENERGY_ERGS "<22>G<EFBFBD><47><EFBFBD>O"
IDS_ENERGY_EVS "<22>d<EFBFBD>q<EFBFBD>{<7B><><EFBFBD>g"
IDS_ENERGY_FOOT_POUNDS "<22>t<EFBFBD>[<5B>g<EFBFBD>|<7C><><EFBFBD>h"
IDS_ENERGY_IT_CALORIES "International Table calories"
IDS_ENERGY_IT_KILOCALORIES "International Table kilocalories"
IDS_ENERGY_JOULES "<22>W<EFBFBD><57><EFBFBD>[<5B><>"
IDS_ENERGY_KILOJOULES "<22>L<EFBFBD><4C><EFBFBD>W<EFBFBD><57><EFBFBD>[<5B><>"
IDS_ENERGY_KILOWATT_HOURS "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>g<EFBFBD><67>"
IDS_ENERGY_NUTRITION_CALORIES "<22>h<EFBFBD>{<7B>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>["
IDS_ENERGY_TH_CALORIES "<22>M<EFBFBD><4D><EFBFBD>w<EFBFBD>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>["
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "<22>I<EFBFBD><49><EFBFBD>O<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B><>"
IDS_LENGTH_ASTRONOMICAL_UNITS "<22>V<EFBFBD><56><EFBFBD>P<EFBFBD><50>"
IDS_LENGTH_BARLEYCORNS "<22>o<EFBFBD>[<5B><><EFBFBD>[<5B>R<EFBFBD>[<5B><>"
IDS_LENGTH_CENTIMETERS "<22>Z<EFBFBD><5A><EFBFBD>`<60><><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_LENGTH_CHAINS_UK "<22>`<60>F<EFBFBD>[<5B><> (<28>p<EFBFBD><70>)"
IDS_LENGTH_CHI "Chi"
IDS_LENGTH_CHOU "Chou"
IDS_LENGTH_CHR "Chr"
IDS_LENGTH_CUN "Cun"
IDS_LENGTH_FATHOMS "<22>t<EFBFBD>@<40>]<5D><>"
IDS_LENGTH_FATHOMS_HUNGARY "<22>t<EFBFBD>@<40>]<5D><> (<28>n<EFBFBD><6E><EFBFBD>K<EFBFBD><4B><EFBFBD>[)"
IDS_LENGTH_FEET "<22>t<EFBFBD>B<EFBFBD>[<5B>g"
IDS_LENGTH_FURLONGS "<22>n<EFBFBD><6E><EFBFBD><EFBFBD>"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "<22>n<EFBFBD><6E><EFBFBD>h"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "<22>C<EFBFBD><43><EFBFBD>`"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "<22><><EFBFBD>N"
IDS_LENGTH_LINKS_UK "<22><><EFBFBD><EFBFBD><EFBFBD>N (<28>p<EFBFBD><70>)"
IDS_LENGTH_METERS "<22><><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_LENGTH_MICRONS "<22>~<7E>N<EFBFBD><4E><EFBFBD><EFBFBD>"
IDS_LENGTH_MILES "<22>}<7D>C<EFBFBD><43>"
IDS_LENGTH_MILLIMETERS "<22>~<7E><><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_LENGTH_NAUTICAL_MILES "<22>C<EFBFBD><43>"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_PARSECS "<22>p<EFBFBD>[<5B>Z<EFBFBD>N"
IDS_LENGTH_PICAS "<22>p<EFBFBD>C<EFBFBD>J"
IDS_LENGTH_RI_JAPAN "<22><> (<28><><EFBFBD>{)"
IDS_LENGTH_RI_KOREA "Ri (<28>؍<EFBFBD>)"
IDS_LENGTH_RODS "<22><><EFBFBD>b<EFBFBD>h"
IDS_LENGTH_SAWK "Sawk"
IDS_LENGTH_SEN "Sen"
IDS_LENGTH_SHAKU "<22><>"
IDS_LENGTH_SPAN "<22>X<EFBFBD>p<EFBFBD><70>"
IDS_LENGTH_SUN "<22><>"
IDS_LENGTH_TSUEN "Tsuen"
IDS_LENGTH_VA "Va"
IDS_LENGTH_YARDS "<22><><EFBFBD>[<5B>h"
IDS_LENGTH_YOTE "Yote"
IDS_LENGTH_ZHANG "Zhang"
END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "<22>p<EFBFBD><70><EFBFBD>M<EFBFBD>P<EFBFBD><50>/<2F><>"
IDS_POWER_FPS_PER_MINUTE "<22>t<EFBFBD>[<5B>g<EFBFBD>|<7C><><EFBFBD>h/<2F><>"
IDS_POWER_HORSEPOWER "<22>n<EFBFBD><6E>"
IDS_POWER_KILOWATTS "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>g"
IDS_POWER_MEGAWATTS "<22><><EFBFBD>K<EFBFBD><4B><EFBFBD>b<EFBFBD>g"
IDS_POWER_WATTS "<22><><EFBFBD>b<EFBFBD>g"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "<22>C<EFBFBD><43>"
IDS_PRESSURE_BARS "Bars"
IDS_PRESSURE_HECTOPASCALS "<22>w<EFBFBD>N<EFBFBD>g<EFBFBD>p<EFBFBD>X<EFBFBD>J<EFBFBD><4A>"
IDS_PRESSURE_KILOPASCALS "<22>L<EFBFBD><4C><EFBFBD>p<EFBFBD>X<EFBFBD>J<EFBFBD><4A>"
IDS_PRESSURE_MM_OF_MERCURY "<22><><EFBFBD><EFBFBD><EFBFBD>~<7E><><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_PRESSURE_PASCALS "<22>p<EFBFBD>X<EFBFBD>J<EFBFBD><4A>"
IDS_PRESSURE_PSI "<22>|<7C><><EFBFBD>h<EFBFBD>d/<2F><><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD>`"
END
// TYPES OF TEMPERATURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "<22>ێ<EFBFBD>"
IDS_TEMPERATURE_FAHRENHEIT "<22>؎<EFBFBD>"
IDS_TEMPERATURE_KELVIN "<22>P<EFBFBD><50><EFBFBD>r<EFBFBD><72>"
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "<22><><EFBFBD><EFBFBD>"
IDS_TIME_HOURS "<22><><EFBFBD><EFBFBD>"
IDS_TIME_NANOSECONDS "<22>i<EFBFBD>m<EFBFBD>b"
IDS_TIME_MICROSECONDS "<22>}<7D>C<EFBFBD>N<EFBFBD><4E><EFBFBD>b"
IDS_TIME_MILLISECONDS "<22>~<7E><><EFBFBD>b"
IDS_TIME_MINUTES "<22><>"
IDS_TIME_SECONDS "<22>b"
IDS_TIME_WEEKS "<22>T"
IDS_TIME_YEARS "<22>N"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "<22>Z<EFBFBD><5A><EFBFBD>`<60><><EFBFBD>[<5B>g<EFBFBD><67>/<2F><>"
IDS_VELOCITY_FEET_HOUR "<22>t<EFBFBD>B<EFBFBD>[<5B>g/<2F><>"
IDS_VELOCITY_FEET_SECOND "<22>t<EFBFBD>B<EFBFBD>[<5B>g/<2F>b"
IDS_VELOCITY_KILOMETERS_HOUR "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>/<2F><>"
IDS_VELOCITY_KNOTS "<22>m<EFBFBD>b<EFBFBD>g"
IDS_VELOCITY_MACH "<22>}<7D>b<EFBFBD>n"
IDS_VELOCITY_METERS_SECOND "<22><><EFBFBD>[<5B>g<EFBFBD><67>/<2F>b"
IDS_VELOCITY_MILES_HOUR "<22>}<7D>C<EFBFBD><43>/<2F><>"
END
// TYPES OF VOLUMES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VOLUME_BARRELS_UK "<22>o<EFBFBD><6F><EFBFBD><EFBFBD> (<28>p<EFBFBD><70>)"
IDS_VOLUME_BARRELS_OIL "<22>Ζ<EFBFBD><CE96>o<EFBFBD><6F><EFBFBD><EFBFBD>"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "<22>u<EFBFBD>b<EFBFBD>V<EFBFBD>F<EFBFBD><46> (<28>p<EFBFBD><70>)"
IDS_VOLUME_BUSHELS_US "<22>u<EFBFBD>b<EFBFBD>V<EFBFBD>F<EFBFBD><46> (<28>č<EFBFBD>)"
IDS_VOLUME_CUBIC_CENTIMETERS "<22><><EFBFBD>@<40>Z<EFBFBD><5A><EFBFBD>`<60><><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_VOLUME_CUBIC_FEET "<22><><EFBFBD>@<40>t<EFBFBD>B<EFBFBD>[<5B>g"
IDS_VOLUME_CUBIC_INCHES "<22><><EFBFBD>@<40>C<EFBFBD><43><EFBFBD>`"
IDS_VOLUME_CUBIC_METERS "<22><><EFBFBD>@<40><><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_VOLUME_CUBIC_YARDS "<22><><EFBFBD>@<40><><EFBFBD>[<5B>h"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "<22><><EFBFBD>̃I<CC83><49><EFBFBD>X (<28>p<EFBFBD><70>)"
IDS_VOLUME_FLUID_OUNCES_US "<22><><EFBFBD>̃I<CC83><49><EFBFBD>X (<28>č<EFBFBD>)"
IDS_VOLUME_GALLONS_UK "<22>K<EFBFBD><4B><EFBFBD><EFBFBD> (<28>p<EFBFBD><70>)"
IDS_VOLUME_GALLONS_DRY_US "<22>K<EFBFBD><4B><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD> (<28>č<EFBFBD>)"
IDS_VOLUME_GALLONS_LIQUID_US "<22>K<EFBFBD><4B><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>t<EFBFBD><74> (<28>č<EFBFBD>)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "<22><><EFBFBD>b<EFBFBD>g<EFBFBD><67>"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "<22>~<7E><><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>g<EFBFBD><67>"
IDS_VOLUME_PINTS_UK "<22>p<EFBFBD>C<EFBFBD><43><EFBFBD>g (<28>p<EFBFBD><70>)"
IDS_VOLUME_PINTS_DRY_US "<22>p<EFBFBD>C<EFBFBD><43><EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD> (<28>č<EFBFBD>)"
IDS_VOLUME_PINTS_LIQUID_US "<22>p<EFBFBD>C<EFBFBD><43><EFBFBD>g<EFBFBD>A<EFBFBD>t<EFBFBD><74> (<28>č<EFBFBD>)"
IDS_VOLUME_QUARTS_UK "<22>N<EFBFBD>H<EFBFBD>[<5B>g (<28>p<EFBFBD><70>)"
IDS_VOLUME_QUARTS_DRY_US "<22>N<EFBFBD>H<EFBFBD>[<5B>g<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD> (<28>č<EFBFBD>)"
IDS_VOLUME_QUARTS_LIQUID_US "<22>N<EFBFBD>H<EFBFBD>[<5B>g<EFBFBD>A<EFBFBD>t<EFBFBD><74> (<28>č<EFBFBD>)"
IDS_VOLUME_SEKI "Seki"
IDS_VOLUME_SYOU "Syou"
IDS_VOLUME_TANANLOUNG "Tananloung"
IDS_VOLUME_TANG "Tang"
IDS_VOLUME_TO "To"
END
// TYPES OF WEIGHTS
STRINGTABLE DISCARDABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_CARATS "<22>J<EFBFBD><4A><EFBFBD>b<EFBFBD>g"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "<22>O<EFBFBD><4F><EFBFBD><EFBFBD>"
IDS_WEIGHT_GWAN "Gwan"
IDS_WEIGHT_HARB "Harb"
IDS_WEIGHT_JIN_CHINA "Jin (<28><><EFBFBD><EFBFBD>)"
IDS_WEIGHT_JIN_TAIWAN "Jin (<28><><EFBFBD>p)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_KILOGRAMS "<22>L<EFBFBD><4C><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD>"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (<28><><EFBFBD><EFBFBD>)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (<28><><EFBFBD>p)"
IDS_WEIGHT_MONME "<22><> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "<22><><EFBFBD>t<EFBFBD>I<EFBFBD><49><EFBFBD>X"
IDS_WEIGHT_OUNCES_TROY "<22>g<EFBFBD><67><EFBFBD>C <20>I<EFBFBD><49><EFBFBD>X"
IDS_WEIGHT_POUNDS "<22>|<7C><><EFBFBD>h"
IDS_WEIGHT_QUINTAL_METRIC "<22>L<EFBFBD><4C><EFBFBD>^<5E><> (metric)"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "<22>X<EFBFBD>g<EFBFBD>[<5B><>"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "<22>g<EFBFBD><67>"
IDS_WEIGHT_TONS_UK "<22>g<EFBFBD><67> (<28>p<EFBFBD><70>)"
IDS_WEIGHT_TONS_US "<22>g<EFBFBD><67> (<28>č<EFBFBD>)"
END

View File

@@ -0,0 +1,740 @@
/* TRANSLATOR : M<>rio Ka<4B>m<EFBFBD>r /Mario Kacmar/ aka Kario (kario@szm.sk)
* DATE OF TR.: 30-01-2008
* LAST CHANGE: 17-09-2010
* ---------------------------------------
* TODO:
* pridanie naviga<67>n<EFBFBD>ch zna<6E>iek "&" ?
*/
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Kalkula<6C>ka syst<73>mu ReactOS"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "",IDC_STATIC,4,16,132,21
CONTROL "Hex",IDC_RADIO_HEX,"Button",BS_AUTORADIOBUTTON,8,24,29,10
CONTROL "Dec",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,40,24,29,10
CONTROL "Oct",IDC_RADIO_OCT,"Button",BS_AUTORADIOBUTTON,72,24,27,10
CONTROL "Bin",IDC_RADIO_BIN,"Button",BS_AUTORADIOBUTTON,100,24,26,10
GROUPBOX "",IDC_STATIC,4,36,76,21
CONTROL "Inv",IDC_CHECK_INV,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,44,26,10
CONTROL "Hyp",IDC_CHECK_HYP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,40,44,29,10
CTEXT "",IDC_TEXT_PARENT,84,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CTEXT "",IDC_TEXT_MEMORY,112,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "Sta",IDC_BUTTON_STA,4,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Ave",IDC_BUTTON_AVE,4,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sum",IDC_BUTTON_SUM,4,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s",IDC_BUTTON_S,4,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat",IDC_BUTTON_DAT,4,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E",IDC_BUTTON_FE,38,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "dms",IDC_BUTTON_DMS,38,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "sin",IDC_BUTTON_SIN,38,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "cos",IDC_BUTTON_COS,38,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "tan",IDC_BUTTON_TAN,38,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(",IDC_BUTTON_LEFTPAR,64,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Exp",IDC_BUTTON_EXP,64,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y",IDC_BUTTON_XeY,64,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2",IDC_BUTTON_Xe2,64,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3",IDC_BUTTON_Xe3,64,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")",IDC_BUTTON_RIGHTPAR,90,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln",IDC_BUTTON_LN,90,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log",IDC_BUTTON_LOG,90,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!",IDC_BUTTON_NF,90,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,90,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC",IDC_BUTTON_MC,124,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,124,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,124,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,124,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "pi",IDC_BUTTON_PI,124,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7",IDC_BUTTON_7,158,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,158,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,158,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,158,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A",IDC_BUTTON_A,158,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,184,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,184,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,184,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,184,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B",IDC_BUTTON_B,184,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,210,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,210,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,210,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,210,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C",IDC_BUTTON_C,210,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,236,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,236,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,236,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,236,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D",IDC_BUTTON_D,236,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Mod",IDC_BUTTON_MOD,262,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Or",IDC_BUTTON_OR,262,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Lsh",IDC_BUTTON_LSH,262,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,262,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E",IDC_BUTTON_E,262,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "And",IDC_BUTTON_AND,288,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Xor",IDC_BUTTON_XOR,288,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Not",IDC_BUTTON_NOT,288,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Int",IDC_BUTTON_INT,288,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F",IDC_BUTTON_F,288,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "",IDC_STATIC,140,16,172,21
CONTROL "Qword",IDC_RADIO_QWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,148,24,37,10
CONTROL "Dword",IDC_RADIO_DWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,188,24,37,10
CONTROL "Word",IDC_RADIO_WORD,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,232,24,33,10
CONTROL "Bajt",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,272,24,30,10
CONTROL "Stupne",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "Radi<64>ny",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "Grady",IDC_RADIO_GRAD,"Button",BS_AUTORADIOBUTTON,
236,24,44,10
PUSHBUTTON "C",IDC_BUTTON_CANC,272,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,228,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sp<53><70>",IDC_BUTTON_BACK,184,40,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,308,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 172, 127
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Kalkula<6C>ka syst<73>mu ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "C",IDC_BUTTON_CANC,128,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,84,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sp<53><70>",IDC_BUTTON_BACK,40,24,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,164,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "7",IDC_BUTTON_7,40,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,40,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,40,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,40,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,66,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,66,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,66,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,66,105,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,92,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,92,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,92,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,92,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,118,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,118,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,118,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,118,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sqrt",IDC_BUTTON_SQRT,144,48,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%",IDC_BUTTON_PERCENT,144,67,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,144,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,144,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "",IDC_TEXT_MEMORY,4,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "MC",IDC_BUTTON_MC,4,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,4,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,4,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,4,105,24,17,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 "Kalkula<6C>ka syst<73>mu ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Previes<65>",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,4,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Kateg<65>ria:",IDC_STATIC,4,20,56,8
COMBOBOX IDC_COMBO_FROM,4,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Previes<65> z:",IDC_STATIC,4,49,56,8
COMBOBOX IDC_COMBO_TO,4,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Previes<65> na:",IDC_STATIC,4,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 "Sp<53><70>",IDC_BUTTON_BACK,"Button",BS_OWNERDRAW |
BS_CENTER | BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,24,
40,17
RTEXT "",IDC_TEXT_OUTPUT,4,4,312,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "7",IDC_BUTTON_7,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,48,24,17
CONTROL "4",IDC_BUTTON_4,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,67,24,17
CONTROL "1",IDC_BUTTON_1,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,86,24,17
CONTROL "0",IDC_BUTTON_0,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,105,24,17
CONTROL "8",IDC_BUTTON_8,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,48,24,17
CONTROL "5",IDC_BUTTON_5,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,67,24,17
CONTROL "2",IDC_BUTTON_2,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,86,24,17
CONTROL "+/-",IDC_BUTTON_SIGN,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,105,24,17
CONTROL "9",IDC_BUTTON_9,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,48,24,17
CONTROL "6",IDC_BUTTON_6,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,67,24,17
CONTROL "3",IDC_BUTTON_3,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,86,24,17
CONTROL ",",IDC_BUTTON_DOT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,105,24,17
CONTROL "/",IDC_BUTTON_DIV,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,48,24,17
CONTROL "*",IDC_BUTTON_MULT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,67,24,17
CONTROL "-",IDC_BUTTON_SUB,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,86,24,17
CONTROL "+",IDC_BUTTON_ADD,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,105,24,17
CONTROL "Sqrt",IDC_BUTTON_SQRT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,48,24,17
CONTROL "%",IDC_BUTTON_PERCENT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,67,24,17
CONTROL "1/x",IDC_BUTTON_RX,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,86,24,17
CONTROL "=",IDC_BUTTON_EQU,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,105,24,17
CTEXT "",IDC_TEXT_MEMORY,152,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "MC",IDC_BUTTON_MC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,48,24,17
CONTROL "MR",IDC_BUTTON_MR,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,67,24,17
CONTROL "MS",IDC_BUTTON_MS,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,86,24,17
CONTROL "M+",IDC_BUTTON_MP,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,105,24,17
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5,NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22>o je kalkula<6C>ka syst<73>mu ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,105,148,52,16
CONTROL IDB_BITMAP_ROS,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,4,4,104,48
LTEXT "Kalkula<6C>ka syst<73>mu ReactOS",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "Verzia ",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "Nap<61>sal Carlo Bramini",IDC_STATIC,120,32,132,8,
SS_CENTERIMAGE
GROUPBOX "",IDC_STATIC,112,0,148,52
GROUPBOX "",IDC_STATIC,4,56,256,88
EDITTEXT IDC_EDIT_LICENSE,12,68,240,68,ES_MULTILINE | ES_READONLY |
WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22>tatistika"
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 DISCARDABLE
BEGIN
POPUP "<22>pravy"
BEGIN
MENUITEM "Kop<6F>rova<76>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Prilepi<70>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Zobrazi<7A>"
BEGIN
MENUITEM "<22>tandardn<64>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Vedeck<63>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Prevody", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22>estn<74>stkov<6F>\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Desiatkov<6F>\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Osmi<6D>kov<6F>\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Dvojkov<6F>\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Stupne\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radi<64>ny\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Grady\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Zoskupova<76> <20><>slice", IDM_VIEW_GROUP, CHECKED
END
POPUP "Pomocn<63>k"
BEGIN
MENUITEM "T<>my pomocn<63>ka", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22>o je kalkula<6C>ka syst<73>mu ReactOS", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "<22>pravy"
BEGIN
MENUITEM "Kop<6F>rova<76>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Prilepi<70>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Zobrazi<7A>"
BEGIN
MENUITEM "<22>tandardn<64>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Vedeck<63>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Prevody", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22>estn<74>stkov<6F>\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Desiatkov<6F>\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Osmi<6D>kov<6F>\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Dvojkov<6F>\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "Dword\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "Word\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Bajt\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "Zoskupova<76> <20><>slice", IDM_VIEW_GROUP, CHECKED
END
POPUP "Pomocn<63>k"
BEGIN
MENUITEM "T<>my pomocn<63>ka", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22>o je kalkula<6C>ka syst<73>mu ReactOS", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "<22>pravy"
BEGIN
MENUITEM "Kop<6F>rova<76>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Prilepi<70>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Zobrazi<7A>"
BEGIN
MENUITEM "<22>tandardn<64>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Vedeck<63>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Prevody", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Zoskupova<76> <20><>slice", IDM_VIEW_GROUP, CHECKED
END
POPUP "Pomocn<63>k"
BEGIN
MENUITEM "T<>my pomocn<63>ka", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22>o je kalkula<6C>ka syst<73>mu ReactOS", IDM_HELP_ABOUT
END
END
// String Tables
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "Kalkula<6C>ka syst<73>mu ReactOS je vo<76>n<EFBFBD> softv<74>r vydan<61> pod licenciou GNU GPL.\r\n\r\nK<6E>piu licencie GNU GPL m<><6D>ete z<>ska<6B> tu:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nRovnako m<><6D>ete z<>ska<6B> preklad licencie GNU GPL tu:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Chyba"
IDS_QUICKHELP "R<>chla pomoc"
END
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "Uhol"
IDS_CONV_AREA "Plocha"
IDS_CONV_CONSUMPTION "Spotreba motorov" //Spotreba (motory)
IDS_CONV_CURRENCY "Mena"
IDS_CONV_ENERGY "Energia"
IDS_CONV_LENGTH "D<><44>ka"
IDS_CONV_POWER "V<>kon"
IDS_CONV_PRESSURE "Tlak"
IDS_CONV_TEMPERATURE "Teplota"
IDS_CONV_TIME "<22>as"
IDS_CONV_VELOCITY "R<>chlos<6F>"
IDS_CONV_VOLUME "Objem"
IDS_CONV_WEIGHT "Hmotnos<6F>"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Stupne"
IDS_ANGLE_GRADIANS "Grady"
IDS_ANGLE_RADIANS "Radi<64>ny"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "Akre"
IDS_AREA_ACRES_BRAZIL "Akre (Braz<61>lia)"
IDS_AREA_ACRES_FRANCE "Akre (Franc<6E>zsko)"
IDS_AREA_ACRES_SCOTS "Akre (<28>k<EFBFBD>tsko)"
IDS_AREA_ACRES_US "Akre (USA)"
IDS_AREA_ARES "<22>re"
IDS_AREA_CHOU "Chou"
IDS_AREA_DANBO "Danbo"
IDS_AREA_HECTARES "Hekt<6B>re"
IDS_AREA_JEONGBO "Jeongbo"
IDS_AREA_MORGEN_HUNGARY "Morgen (Ma<4D>arsko)"
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 "<22>tvorcov<6F> centimetre"
IDS_AREA_SQUARE_CHR "<22>tvorcov<6F> chr"
IDS_AREA_SQUARE_FATHOMS "<22>tvorcov<6F> siahy"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "<22>tvorcov<6F> siahy (Ma<4D>arsko)"
IDS_AREA_SQUARE_FEET "<22>tvorcov<6F> stopy"
IDS_AREA_SQUARE_INCHES "<22>tvorcov<6F> palce"
IDS_AREA_SQUARE_KILOMETERS "<22>tvorcov<6F> kilometre"
IDS_AREA_SQUARE_LAR "<22>tvorcov<6F> lar"
IDS_AREA_SQUARE_METER "<22>tvorcov<6F> meter"
IDS_AREA_SQUARE_MILES "<22>tvorcov<6F> m<>le"
IDS_AREA_SQUARE_MILLIMETERS "<22>tvorcov<6F> milimetre"
IDS_AREA_SQUARE_SHAKU "<22>tvorcov<6F> shaku"
IDS_AREA_SQUARE_TSUEN "<22>tvorcov<6F> tsuen"
IDS_AREA_SQUARE_VA "<22>tvorcov<6F> va"
IDS_AREA_SQUARE_YARD "<22>tvorcov<6F> yard"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
// TYPES OF COMSUMPTIONS
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "Kilometer/liter"
IDS_CONSUMPTION_L_PER_100_KM "Litre/100 kilometerov"
IDS_CONSUMPTION_MILES_GALLON_UK "M<>le/gal<61>n (UK)"
IDS_CONSUMPTION_MILES_GALLON_US "M<>le/gal<61>n (USA)"
END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Rak<61>sky <20>iling"
IDS_CURRENCY_BELGIAN_FRANC "Belgick<63> frank"
IDS_CURRENCY_CYPRIOT_POUND "Cypersk<73> libra"
IDS_CURRENCY_CZECH_KORUNA "<22>esk<73> koruna"
IDS_CURRENCY_DEUTSCHE_MARK "Nemeck<63> marka"
IDS_CURRENCY_DUTCH_GUILDER "Holandsk<73> gulden"
IDS_CURRENCY_EURO "Euro"
IDS_CURRENCY_FINNISH_MARKKA "F<>nska marka"
IDS_CURRENCY_FRENCH_FRANC "Franc<6E>zsky frank"
IDS_CURRENCY_GREEK_DRACHMA "Gr<47>cka drachma"
IDS_CURRENCY_IRISH_POUND "<22>rska libra"
IDS_CURRENCY_ITALIAN_LIRA "Taliansk<73> l<>ra"
IDS_CURRENCY_LUXEMBOURG_FRANC "Luxembursk<73> frank"
IDS_CURRENCY_MALTESE_LIRA "Maltsk<73> l<>ra"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portugalsk<73> escudo"
IDS_CURRENCY_SLOVAK_KORUNA "Slovensk<73> koruna"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovinsk<73> toliar"
IDS_CURRENCY_SPANISH_PESETA "<22>panielska peseta"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 <20>C calories"
IDS_ENERGY_BTUS "Britsk<73> term<72>lne jednotky"
IDS_ENERGY_ERGS "Ergs"
IDS_ENERGY_EVS "Elektron-Volty"
IDS_ENERGY_FOOT_POUNDS "Foot-Pounds"
IDS_ENERGY_IT_CALORIES "International Table calories"
IDS_ENERGY_IT_KILOCALORIES "International Table kilocalories"
IDS_ENERGY_JOULES "Joules"
IDS_ENERGY_KILOJOULES "Kilojoules"
IDS_ENERGY_KILOWATT_HOURS "Kilowatthodiny"
IDS_ENERGY_NUTRITION_CALORIES "Nutrition calories"
IDS_ENERGY_TH_CALORIES "Thermochemical calorie"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstroms"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomical units"
IDS_LENGTH_BARLEYCORNS "Barleycorns"
IDS_LENGTH_CENTIMETERS "Centimetre"
IDS_LENGTH_CHAINS_UK "Chains (UK)"
IDS_LENGTH_CHI "Chi"
IDS_LENGTH_CHOU "Chou"
IDS_LENGTH_CHR "Chr"
IDS_LENGTH_CUN "Cun"
IDS_LENGTH_FATHOMS "Siahy"
IDS_LENGTH_FATHOMS_HUNGARY "Siahy (Ma<4D>arsko)"
IDS_LENGTH_FEET "Stopy"
IDS_LENGTH_FURLONGS "Furlongs"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Hands"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "Palce"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Kilometre"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Sveteln<6C> roky"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "Metre"
IDS_LENGTH_MICRONS "Mikr<6B>ny"
IDS_LENGTH_MILES "M<>le"
IDS_LENGTH_MILLIMETERS "Milimetre"
IDS_LENGTH_NAUTICAL_MILES "N<>morn<72> m<>le"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_PARSECS "Parseky"
IDS_LENGTH_PICAS "Picas"
IDS_LENGTH_RI_JAPAN "Ri (Japonsko)"
IDS_LENGTH_RI_KOREA "Ri (K<>rea)"
IDS_LENGTH_RODS "Rods"
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 "Yardy"
IDS_LENGTH_YOTE "Yote"
IDS_LENGTH_ZHANG "Zhang"
END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "Britsk<73> term<72>lne jednotky za min<69>tu"
IDS_POWER_FPS_PER_MINUTE "Foot-Pounds za min<69>tu"
IDS_POWER_HORSEPOWER "Ko<4B>sk<73> sily"
IDS_POWER_KILOWATTS "Kilowatty"
IDS_POWER_MEGAWATTS "Megawatty"
IDS_POWER_WATTS "Watty"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmosf<73>ry"
IDS_PRESSURE_BARS "Bary"
IDS_PRESSURE_HECTOPASCALS "Hektopascaly"
IDS_PRESSURE_KILOPASCALS "Kilopascaly"
IDS_PRESSURE_MM_OF_MERCURY "Milimetre ortuti"
IDS_PRESSURE_PASCALS "Pascaly"
IDS_PRESSURE_PSI "Libry na <20>tvorcov<6F> palec"
END
// TYPES OF TEMPERATURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "Celsius"
IDS_TEMPERATURE_FAHRENHEIT "Fahrenheit"
IDS_TEMPERATURE_KELVIN "Kelvin"
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Dni"
IDS_TIME_HOURS "Hodiny"
IDS_TIME_NANOSECONDS "Nanosekundy"
IDS_TIME_MICROSECONDS "Mikrosekundy"
IDS_TIME_MILLISECONDS "Milisekundy"
IDS_TIME_MINUTES "Min<69>ty"
IDS_TIME_SECONDS "Sekundy"
IDS_TIME_WEEKS "T<><54>dne"
IDS_TIME_YEARS "Roky"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centimetre/hodinu"
IDS_VELOCITY_FEET_HOUR "Stopy/hodinu"
IDS_VELOCITY_FEET_SECOND "Stopy/sekundu"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometre/hodinu"
IDS_VELOCITY_KNOTS "Knots"
IDS_VELOCITY_MACH "Mach"
IDS_VELOCITY_METERS_SECOND "Metre/sekundu"
IDS_VELOCITY_MILES_HOUR "M<>le/hodinu"
END
// TYPES OF VOLUMES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VOLUME_BARRELS_UK "Barely (UK)"
IDS_VOLUME_BARRELS_OIL "Barely ropy" //oleja?
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "Bu<42>ely (UK)" //Bu<42>el, Bu<42>le? Bu<42>ly?
IDS_VOLUME_BUSHELS_US "Bu<42>ely (USA)"
IDS_VOLUME_CUBIC_CENTIMETERS "Kubick<63> centimetre"
IDS_VOLUME_CUBIC_FEET "Kubick<63> stopy"
IDS_VOLUME_CUBIC_INCHES "Kubick<63> palce"
IDS_VOLUME_CUBIC_METERS "Kubick<63> metre"
IDS_VOLUME_CUBIC_YARDS "Kubick<63> yardy"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "Fluid ounces (UK)"
IDS_VOLUME_FLUID_OUNCES_US "Fluid ounces (USA)"
IDS_VOLUME_GALLONS_UK "Gal<61>ny (UK)"
IDS_VOLUME_GALLONS_DRY_US "Gal<61>ny, such<63> (USA)"
IDS_VOLUME_GALLONS_LIQUID_US "Gal<61>ny, tekut<75> (USA)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "Litre"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "Mililitre"
IDS_VOLUME_PINTS_UK "Pinty (UK)" //pinta alebo polliter
IDS_VOLUME_PINTS_DRY_US "Pinty, such<63> (USA)"
IDS_VOLUME_PINTS_LIQUID_US "Pinty, tekut<75> (USA)"
IDS_VOLUME_QUARTS_UK "Quarts (UK)" //<2F>tvr<76>gal<61>ny, <20>tvrtiny, <20>tvr<76>ky
IDS_VOLUME_QUARTS_DRY_US "Quarts, such<63> (USA)"
IDS_VOLUME_QUARTS_LIQUID_US "Quarts, tekut<75> (USA)"
IDS_VOLUME_SEKI "Seki"
IDS_VOLUME_SYOU "Syou"
IDS_VOLUME_TANANLOUNG "Tananloung"
IDS_VOLUME_TANG "Tang"
IDS_VOLUME_TO "To"
END
// TYPES OF WEIGHTS
STRINGTABLE DISCARDABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_CARATS "Kar<61>ty"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "Gramy"
IDS_WEIGHT_GWAN "Gwan"
IDS_WEIGHT_HARB "Harb"
IDS_WEIGHT_JIN_CHINA "Jin (<28><>na)"
IDS_WEIGHT_JIN_TAIWAN "Jin (Tchajvan)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_KILOGRAMS "Kilogramy"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (<28><>na)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Tchajvan)"
IDS_WEIGHT_MONME "Monme"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "Unce, anglosask<73>"
IDS_WEIGHT_OUNCES_TROY "Unce, tr<74>jska"
IDS_WEIGHT_POUNDS "Libry"
IDS_WEIGHT_QUINTAL_METRIC "Cent (metrick<63>)"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "Stones"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "Tony"
IDS_WEIGHT_TONS_UK "Tony (UK)"
IDS_WEIGHT_TONS_US "Tony (USA)"
END

View File

@@ -0,0 +1,740 @@
/*
* PROJECT: ReactOS Calculator
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/calc/lang/uk-UA.rc
* PURPOSE: Ukraianian Language File for ReactOS Calc
* TRANSLATOR: Artem Reznikov & Sakara Yevhen
*/
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "",IDC_STATIC,4,16,132,21
CONTROL "Hex",IDC_RADIO_HEX,"Button",BS_AUTORADIOBUTTON,8,24,29,10
CONTROL "Dec",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,40,24,29,10
CONTROL "Oct",IDC_RADIO_OCT,"Button",BS_AUTORADIOBUTTON,72,24,27,10
CONTROL "Bin",IDC_RADIO_BIN,"Button",BS_AUTORADIOBUTTON,100,24,26,10
GROUPBOX "",IDC_STATIC,4,36,76,21
CONTROL "Inv",IDC_CHECK_INV,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,44,26,10
CONTROL "Hyp",IDC_CHECK_HYP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,40,44,29,10
CTEXT "",IDC_TEXT_PARENT,84,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CTEXT "",IDC_TEXT_MEMORY,112,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "Sta",IDC_BUTTON_STA,4,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Ave",IDC_BUTTON_AVE,4,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sum",IDC_BUTTON_SUM,4,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s",IDC_BUTTON_S,4,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat",IDC_BUTTON_DAT,4,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E",IDC_BUTTON_FE,38,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "dms",IDC_BUTTON_DMS,38,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "sin",IDC_BUTTON_SIN,38,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "cos",IDC_BUTTON_COS,38,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "tan",IDC_BUTTON_TAN,38,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(",IDC_BUTTON_LEFTPAR,64,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Exp",IDC_BUTTON_EXP,64,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y",IDC_BUTTON_XeY,64,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2",IDC_BUTTON_Xe2,64,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3",IDC_BUTTON_Xe3,64,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")",IDC_BUTTON_RIGHTPAR,90,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln",IDC_BUTTON_LN,90,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log",IDC_BUTTON_LOG,90,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!",IDC_BUTTON_NF,90,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,90,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC",IDC_BUTTON_MC,124,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,124,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,124,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,124,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "pi",IDC_BUTTON_PI,124,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7",IDC_BUTTON_7,158,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,158,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,158,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,158,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A",IDC_BUTTON_A,158,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,184,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,184,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,184,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,184,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B",IDC_BUTTON_B,184,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,210,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,210,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,210,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,210,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C",IDC_BUTTON_C,210,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,236,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,236,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,236,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,236,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D",IDC_BUTTON_D,236,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Mod",IDC_BUTTON_MOD,262,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Or",IDC_BUTTON_OR,262,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Lsh",IDC_BUTTON_LSH,262,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,262,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E",IDC_BUTTON_E,262,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "And",IDC_BUTTON_AND,288,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Xor",IDC_BUTTON_XOR,288,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Not",IDC_BUTTON_NOT,288,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Int",IDC_BUTTON_INT,288,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F",IDC_BUTTON_F,288,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "",IDC_STATIC,140,16,172,21
CONTROL "8 <20><><EFBFBD><EFBFBD>",IDC_RADIO_QWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,148,24,37,10
CONTROL "4 <20><><EFBFBD><EFBFBD>",IDC_RADIO_DWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,188,24,37,10
CONTROL "2 <20><><EFBFBD><EFBFBD>",IDC_RADIO_WORD,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,232,24,33,10
CONTROL "1 <20><><EFBFBD><EFBFBD>",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,272,24,30,10
CONTROL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "<22><><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_GRAD,"Button",BS_AUTORADIOBUTTON,
236,24,44,10
PUSHBUTTON "C",IDC_BUTTON_CANC,272,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,228,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Back",IDC_BUTTON_BACK,184,40,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,308,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 172, 127
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "C",IDC_BUTTON_CANC,128,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,84,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Back",IDC_BUTTON_BACK,40,24,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,164,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "7",IDC_BUTTON_7,40,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,40,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,40,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,40,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,66,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,66,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,66,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,66,105,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,92,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,92,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,92,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,92,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,118,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,118,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,118,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,118,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sqrt",IDC_BUTTON_SQRT,144,48,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%",IDC_BUTTON_PERCENT,144,67,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,144,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,144,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "",IDC_TEXT_MEMORY,4,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "MC",IDC_BUTTON_MC,4,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,4,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,4,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,4,105,24,17,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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,4,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:",IDC_STATIC,4,20,56,8
COMBOBOX IDC_COMBO_FROM,4,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:",IDC_STATIC,4,49,56,8
COMBOBOX IDC_COMBO_TO,4,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:",IDC_STATIC,4,76,56,8
CONTROL "C",IDC_BUTTON_CANC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,276,24,40,17
CONTROL "CE",IDC_BUTTON_CE,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,232,24,40,17
CONTROL "Back",IDC_BUTTON_BACK,"Button",BS_OWNERDRAW |
BS_CENTER | BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,24,
40,17
RTEXT "",IDC_TEXT_OUTPUT,4,4,312,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "7",IDC_BUTTON_7,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,48,24,17
CONTROL "4",IDC_BUTTON_4,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,67,24,17
CONTROL "1",IDC_BUTTON_1,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,86,24,17
CONTROL "0",IDC_BUTTON_0,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,105,24,17
CONTROL "8",IDC_BUTTON_8,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,48,24,17
CONTROL "5",IDC_BUTTON_5,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,67,24,17
CONTROL "2",IDC_BUTTON_2,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,86,24,17
CONTROL "+/-",IDC_BUTTON_SIGN,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,105,24,17
CONTROL "9",IDC_BUTTON_9,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,48,24,17
CONTROL "6",IDC_BUTTON_6,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,67,24,17
CONTROL "3",IDC_BUTTON_3,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,86,24,17
CONTROL ",",IDC_BUTTON_DOT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,105,24,17
CONTROL "/",IDC_BUTTON_DIV,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,48,24,17
CONTROL "*",IDC_BUTTON_MULT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,67,24,17
CONTROL "-",IDC_BUTTON_SUB,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,86,24,17
CONTROL "+",IDC_BUTTON_ADD,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,105,24,17
CONTROL "Sqrt",IDC_BUTTON_SQRT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,48,24,17
CONTROL "%",IDC_BUTTON_PERCENT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,67,24,17
CONTROL "1/x",IDC_BUTTON_RX,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,86,24,17
CONTROL "=",IDC_BUTTON_EQU,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,105,24,17
CTEXT "",IDC_TEXT_MEMORY,152,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "MC",IDC_BUTTON_MC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,48,24,17
CONTROL "MR",IDC_BUTTON_MR,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,67,24,17
CONTROL "MS",IDC_BUTTON_MS,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,86,24,17
CONTROL "M+",IDC_BUTTON_MP,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,105,24,17
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5,NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,105,148,52,16
CONTROL IDB_BITMAP_ROS,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,4,4,104,48
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_STATIC,120,32,132,8,
SS_CENTERIMAGE
GROUPBOX "",IDC_STATIC,112,0,148,52
GROUPBOX "",IDC_STATIC,4,56,256,88
EDITTEXT IDC_EDIT_LICENSE,12,68,240,68,ES_MULTILINE | ES_READONLY |
WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
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 DISCARDABLE
BEGIN
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "س<><D8B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "س<><D8B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "8 <20><><EFBFBD><EFBFBD>\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "4 <20><><EFBFBD><EFBFBD>\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "2 <20><><EFBFBD><EFBFBD>\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "1 <20><><EFBFBD><EFBFBD>\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS", IDM_HELP_ABOUT
END
END
// String Tables
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU GPL.\r\n\r\n<><6E> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>糿 GNU GPL <20><><EFBFBD>:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\n<><6E> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>糿 GNU GPL <20><><EFBFBD>:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_QUICKHELP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "<22><><EFBFBD>"
IDS_CONV_AREA "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_CONSUMPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_CONV_CURRENCY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_ENERGY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_LENGTH "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_POWER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_PRESSURE "<22><><EFBFBD><EFBFBD>"
IDS_CONV_TEMPERATURE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_TIME "<22><><EFBFBD>"
IDS_CONV_VELOCITY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_VOLUME "<22><>'<27><>"
IDS_CONV_WEIGHT "<22><><EFBFBD><EFBFBD>"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ANGLE_GRADIANS "<22><><EFBFBD><EFBFBD>"
IDS_ANGLE_RADIANS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "<22><><EFBFBD>"
IDS_AREA_ACRES_BRAZIL "<22><><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_ACRES_FRANCE "<22><><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_ACRES_SCOTS "<22><><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_ACRES_US "<22><><EFBFBD> (<28><><EFBFBD>)"
IDS_AREA_ARES "<22><>"
IDS_AREA_CHOU "<22><><EFBFBD>"
IDS_AREA_DANBO "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_HECTARES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_JEONGBO "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_MORGEN_HUNGARY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_MU "<22><>"
IDS_AREA_PING "ϳ<><CFB3>"
IDS_AREA_PYEONG "<22><><EFBFBD><EFBFBD>"
IDS_AREA_PYEONGBANGJA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_RAI "<22><><EFBFBD>"
IDS_AREA_SE "Se"
IDS_AREA_SQUARE_CENTIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_CHR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>"
IDS_AREA_SQUARE_FATHOMS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_SQUARE_FEET "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_AREA_SQUARE_INCHES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_KILOMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_LAR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_AREA_SQUARE_METER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_MILES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_MILLIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_SHAKU "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_TSUEN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_VA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>"
IDS_AREA_SQUARE_YARD "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_AREA_TAN "<22><><EFBFBD>"
IDS_AREA_TSUBO "<22><><EFBFBD><EFBFBD>"
END
// TYPES OF COMSUMPTIONS
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>"
IDS_CONSUMPTION_L_PER_100_KM "˳<><CBB3><EFBFBD><EFBFBD>/100 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONSUMPTION_MILES_GALLON_UK "<22><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_CONSUMPTION_MILES_GALLON_US "<22><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_BELGIAN_FRANC "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_CYPRIOT_POUND "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_CZECH_KORUNA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_DEUTSCHE_MARK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_DUTCH_GUILDER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_EURO "<22><><EFBFBD><EFBFBD>"
IDS_CURRENCY_FINNISH_MARKKA "Գ<><D4B3><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_FRENCH_FRANC "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_GREEK_DRACHMA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_IRISH_POUND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_ITALIAN_LIRA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_LUXEMBOURG_FRANC "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_MALTESE_LIRA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_PORTOGUESE_ESCUDO "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_SLOVAK_KORUNA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_SLOVENIAN_TOLAR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_SPANISH_PESETA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 15-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_BTUS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_ERGS "<22><><EFBFBD>"
IDS_ENERGY_EVS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_FOOT_POUNDS "<22><><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD>"
IDS_ENERGY_IT_CALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_IT_KILOCALORIES "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_JOULES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_KILOJOULES "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_KILOWATT_HOURS "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_NUTRITION_CALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_TH_CALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_ASTRONOMICAL_UNITS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_BARLEYCORNS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_CENTIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_CHAINS_UK "<22><><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_CHI "׳"
IDS_LENGTH_CHOU "<22><><EFBFBD>"
IDS_LENGTH_CHR "<22><>"
IDS_LENGTH_CUN "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_FATHOMS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_FATHOMS_HUNGARY "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_FEET "<22><><EFBFBD>"
IDS_LENGTH_FURLONGS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_GAN "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_HANDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_HUNH "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_INCHES "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_JA "<22>"
IDS_LENGTH_JEONG "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_KABIET "<22><><EFBFBD>"
IDS_LENGTH_KEN "<22><><EFBFBD>"
IDS_LENGTH_KEUB "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_KILOMETERS "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_LAR "<22><><EFBFBD>"
IDS_LENGTH_LIGHT_YEARS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_LENGTH_LINKS_UK "˳<><CBB3> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_METERS "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_MICRONS "̳<><CCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_MILES "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_MILLIMETERS "̳<><CCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_NAUTICAL_MILES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_LENGTH_NIEU "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_PARSECS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_PICAS "ϳ<><CFB3>"
IDS_LENGTH_RI_JAPAN "г (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_RI_KOREA "г (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_RODS "<22><><EFBFBD>"
IDS_LENGTH_SAWK "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_SEN "<22><><EFBFBD>"
IDS_LENGTH_SHAKU "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_SPAN "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_SUN "<22><><EFBFBD>"
IDS_LENGTH_TSUEN "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_VA "<22><>"
IDS_LENGTH_YARDS "<22><><EFBFBD>"
IDS_LENGTH_YOTE "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_ZHANG "<22><><EFBFBD><EFBFBD>"
END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_POWER_FPS_PER_MINUTE "<22><><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_POWER_HORSEPOWER "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_POWER_KILOWATTS "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD>"
IDS_POWER_MEGAWATTS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_POWER_WATTS "<22><><EFBFBD>"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><><D4B3><EFBFBD><EFBFBD><EFBFBD>)"
IDS_PRESSURE_BARS "<22><><EFBFBD>"
IDS_PRESSURE_HECTOPASCALS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_PRESSURE_KILOPASCALS "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_PRESSURE_MM_OF_MERCURY "̳<><CCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_PRESSURE_PASCALS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_PRESSURE_PSI "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
END
// TYPES OF TEMPERATURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_TEMPERATURE_FAHRENHEIT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_TEMPERATURE_KELVIN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_TEMPERATURE_RANKINE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "<22><><EFBFBD><EFBFBD>"
IDS_TIME_HOURS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_NANOSECONDS "Nanoseconds"
IDS_TIME_MICROSECONDS "̳<><CCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_MILLISECONDS "̳<><CCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_MINUTES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_SECONDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_WEEKS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_YEARS "г<>"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_FEET_HOUR "<22><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_FEET_SECOND "<22><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_KILOMETERS_HOUR "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_KNOTS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_MACH "<22><><EFBFBD>"
IDS_VELOCITY_METERS_SECOND "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_MILES_HOUR "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// TYPES OF VOLUMES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VOLUME_BARRELS_UK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_BARRELS_OIL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_BUN "<22><><EFBFBD>"
IDS_VOLUME_BUSHELS_UK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_BUSHELS_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_CUBIC_CENTIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_CUBIC_FEET "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_VOLUME_CUBIC_INCHES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_VOLUME_CUBIC_METERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_VOLUME_CUBIC_YARDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_VOLUME_DOE "<22><>"
IDS_VOLUME_FLUID_OUNCES_UK "г<><D0B3><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_FLUID_OUNCES_US "г<><D0B3><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_GALLONS_UK "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_GALLONS_DRY_US "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_GALLONS_LIQUID_US "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_GOU "<22><><EFBFBD>"
IDS_VOLUME_HOP "<22><><EFBFBD>"
IDS_VOLUME_ICCE "<22><><EFBFBD><EFBFBD>"
IDS_VOLUME_KWIAN "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_LITERS "˳<><CBB3>"
IDS_VOLUME_MAL "<22><><EFBFBD><EFBFBD>"
IDS_VOLUME_MILLILITERS "̳<><CCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_PINTS_UK "ϳ<><CFB3><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_PINTS_DRY_US "ϳ<><CFB3><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_PINTS_LIQUID_US "ϳ<><CFB3><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_QUARTS_UK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_QUARTS_DRY_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_QUARTS_LIQUID_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_SEKI "<22><><EFBFBD><EFBFBD>"
IDS_VOLUME_SYOU "<22><><EFBFBD>"
IDS_VOLUME_TANANLOUNG "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_TANG "<22><><EFBFBD><EFBFBD>"
IDS_VOLUME_TO "<22><>"
END
// TYPES OF WEIGHTS
STRINGTABLE DISCARDABLE
BEGIN
IDS_WEIGHT_BAHT "<22><><EFBFBD>"
IDS_WEIGHT_CARATS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_CHUNG "<22><><EFBFBD><EFBFBD>"
IDS_WEIGHT_DON "<22><><EFBFBD>"
IDS_WEIGHT_GEUN "<22><><EFBFBD><EFBFBD>"
IDS_WEIGHT_GRAMS "<22><><EFBFBD><EFBFBD>"
IDS_WEIGHT_GWAN "<22><><EFBFBD><EFBFBD>"
IDS_WEIGHT_HARB "<22><><EFBFBD>"
IDS_WEIGHT_JIN_CHINA "<22><><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_JIN_TAIWAN "<22><><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_KAN "<22><><EFBFBD>"
IDS_WEIGHT_KILOGRAMS "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_KIN "ʳ<>"
IDS_WEIGHT_LIANG_CHINA "˳<><CBB3><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_LIANG_TAIWAN "˳<><CBB3><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_MONME "<22><><EFBFBD><EFBFBD>"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_OUNCES_TROY "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_POUNDS "<22><><EFBFBD><EFBFBD>"
IDS_WEIGHT_QUINTAL_METRIC "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_SALOUNG "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_STONES "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_TAMLUNG "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_TONNES "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_TONS_UK "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_TONS_US "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
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

View File

@@ -0,0 +1,64 @@
/*
* ReactOS Calc (global resource file)
*
* Copyright 2007, Carlo Bramini
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <windows.h>
#include "resource.h"
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif
#ifndef DS_SHELLFONT
#define DS_SHELLFONT DS_SETFONT|DS_FIXEDSYS
#endif
// Common resources
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
// Icons
IDI_CALC_BIG ICON DISCARDABLE "res/calc.ico"
IDI_CALC_SMALL ICON DISCARDABLE "res/calc_sm.ico"
// Bitmaps
IDB_BITMAP_ROS BITMAP DISCARDABLE "res/ROS_logo.bmp"
#include "lang/bg-BG.rc"
#include "lang/cs-CZ.rc"
#include "lang/de-DE.rc"
#include "lang/el-GR.rc"
#include "lang/en-US.rc"
#include "lang/es-ES.rc"
#include "lang/fr-FR.rc"
#include "lang/it-IT.rc"
//#include "lang/ja-JP.rc" FIXME: iconv issue
#include "lang/ko-KR.rc"
#include "lang/nl-NL.rc"
#include "lang/no-NO.rc"
#include "lang/pl-PL.rc"
#include "lang/ro-RO.rc"
#include "lang/ru-RU.rc"
#include "lang/sk-SK.rc"
#include "lang/th-TH.rc"
#include "lang/uk-UA.rc"

View File

@@ -351,7 +351,7 @@ static void evalStack(calc_number_t *number)
} else {
push(op);
break;
}
}
}
if(ip.node.operation != RPN_OPERATOR_EQUAL && ip.node.operation != RPN_OPERATOR_PERCENT)
@@ -380,6 +380,7 @@ int exec_infix2postfix(calc_number_t *number, unsigned int func)
tmp.node.number = *number;
tmp.node.base = calc.base;
tmp.node.operation = func;
tmp.next = NULL;
push(&tmp);
@@ -446,7 +447,7 @@ void flush_postfix()
while (!is_stack_empty())
pop();
/* clear prev and last typed operators */
calc.prev_operator =
calc.prev_operator =
calc.last_operator = 0;
}

View File

@@ -0,0 +1,21 @@
set_unicode()
list(APPEND SOURCE
about.c
charmap.c
lrgcell.c
map.c
charmap.rc)
add_executable(charmap
${CMAKE_CURRENT_BINARY_DIR}/charmap_precomp.h.gch
${SOURCE})
add_pch(charmap ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
set_module_type(charmap win32gui)
add_importlibs(charmap user32 gdi32 comctl32 kernel32 msvcrt)
add_cab_target(charmap 1)

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