Compare commits

...

5930 Commits

Author SHA1 Message Date
Colin Finck
ed469a00af Merge r44552
svn path=/branches/ros-branch-0_3_11/; revision=44553
2009-12-12 17:15:19 +00:00
Colin Finck
f2c93ea2b8 Here comes ReactOS "FOR WORKGROUPS" 0.3.11! :-)
svn path=/branches/ros-branch-0_3_11/; revision=44531
2009-12-10 23:19:12 +00:00
Colin Finck
1b51adc031 Revert to the old boot method for the release on request of Aleksey
svn path=/branches/ros-branch-0_3_11/; revision=44367
2009-12-02 20:02:07 +00:00
Aleksey Bragin
5911400ccc - Merge 44348 and 44349 to 0.3.11 branch.
svn path=/branches/ros-branch-0_3_11/; revision=44350
2009-12-01 21:36:23 +00:00
Aleksey Bragin
68d04648a4 - Merge 44301 (network revert).
svn path=/branches/ros-branch-0_3_11/; revision=44336
2009-11-30 21:52:07 +00:00
Colin Finck
0b321cfcbf Revert 43921 on demand of Aleksey
svn path=/branches/ros-branch-0_3_11/; revision=44316
2009-11-28 22:54:47 +00:00
Colin Finck
0127705606 Dmitry Gorbachev:
- Replace our Japanese "Systema" font added for releases by "Droid Sans Fallback" from the Android project.
  This font is licensed under Apache 2.0 license (notice included) and also offers us Chinese and Korean characters.

  You have to copy "DroidSansFallback.ttf" from http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts to "modules/optional".

svn path=/branches/ros-branch-0_3_11/; revision=44305
2009-11-28 15:04:15 +00:00
Aleksey Bragin
212d5ee24e - Revert the oskit locking rewrite in trunk, it's better to test/debug it in the branch first. Reverted revisions numbers: 44268, 44267, 44266, 44250, 44199, 44166-163, 44021, 44010, 43926, 43922, 43883.
svn path=/trunk/; revision=44301
2009-11-28 14:45:21 +00:00
Colin Finck
79c56c5d7b Hack: Add the APPDATA variable to the environment created by userenv as it was done for previous releases.
svn path=/branches/ros-branch-0_3_11/; revision=44300
2009-11-28 00:29:52 +00:00
Colin Finck
9123974a75 Hack: Hackfix the HitTest problem in mstsc as it was done for previous releases
svn path=/branches/ros-branch-0_3_11/; revision=44299
2009-11-28 00:17:11 +00:00
Colin Finck
583c59f82e - Change the version to 0.3.11
- Set "Angelus_02_ROSWP.bmp" as the default wallpaper
- Add a shortcut to RApps to the Desktop

svn path=/branches/ros-branch-0_3_11/; revision=44298
2009-11-28 00:14:56 +00:00
Aleksey Bragin
f41f818156 [rpcrt4]
- Revert rpcrt4 back to 1.1.31-partial. Fixes various RPC related regressions.

svn path=/trunk/; revision=44287
2009-11-25 19:36:10 +00:00
Cameron Gutman
3384debaf5 - Initialize SocketError to 0 to prevent a bogus error from GCC
svn path=/trunk/; revision=44286
2009-11-25 18:08:43 +00:00
Aleksey Bragin
d1aeb20e33 [ntoskrnl/cm]
- CmpSelectLeaf fixes: looking into an incorrect cell, returning wrong cell, slightly simplify code and add more comments for clarity. Thanks to Michael Martin for spotting these bugs.

svn path=/trunk/; revision=44285
2009-11-24 22:56:43 +00:00
Aleksey Bragin
5040fe13f1 [WIDL]
- Update widl to Wine-1.1.33.

svn path=/trunk/; revision=44284
2009-11-24 22:42:40 +00:00
Aleksey Bragin
1d110c440a [IDL]
- Make our IDLs files to not specify a [range] tag for string datatypes, and 0,256 range for an unsigned type. Fixes compiling with newer WIDL and (probably) MIDL.

svn path=/trunk/; revision=44283
2009-11-24 22:39:25 +00:00
Gregor Schneider
70dc807bf2 [rosautotest]: Find the last underscore instead of the first one when building a module name, hurray for twain_32_winetest and ws2_32_winetest
See issue #4929 for more details.

svn path=/trunk/; revision=44282
2009-11-24 20:36:53 +00:00
Cameron Gutman
e016a230af - Fix a race condition that occurs when an IRP gets cancelled after it is inserted into the completion queue but before it is completed
svn path=/trunk/; revision=44267
2009-11-22 02:32:47 +00:00
Cameron Gutman
83bc88465f - Remove memtrack and use tags instead (ExAllocatePoolWithTag/ExFreePoolWithTag)
- Cleanup DriverEntry
 - Remove DEFINE_TAG
 - Remove checkpoints in TiCreateFileObject

svn path=/trunk/; revision=44266
2009-11-21 23:53:43 +00:00
Aleksey Bragin
f94c2c5f75 [kernel32]
- Don't export unnecessary stub. Fixes Firefox 3.5.5 startup.

svn path=/trunk/; revision=44261
2009-11-21 20:41:24 +00:00
Aleksey Bragin
78b292be2c [ntoskrnl/se]
- Factor out working code from SeAccessCheck into SepAccessCheck, taking out addition parameter - LowerImpersonationLevel. The lowest level for SeAccessCheck remains SecurityImpersonation, but for NtAccessCheck it's lowered to SecurityIdentification. Name of this patch's author has been lost.
See issue #4169 for more details.

svn path=/trunk/; revision=44260
2009-11-21 17:58:33 +00:00
Cameron Gutman
c71cdeb49d - Disassociate the socket context before closing so we don't get signalled with a freed context (major cause of crashes)
- Signal the connection directly from TCPSocketState
 - Remove some unused code
 - Queue completion requests on a separate list so we don't have to keep locking and unlocking while completing
 - Add better locking to tcpip (not the lib)
 - Remove some unused variables
 - Don't hold the cancel spin lock longer than necessary
 - Check that we successfully got the device description

svn path=/trunk/; revision=44250
2009-11-21 13:00:37 +00:00
Aleksey Bragin
fda7cf929a [wininet]
- Revert 44236 (sync wininet to Wine-1.1.33) and 43948 (sync wininet to Wine-1.1.32). Part 1/3 of rapps unregressing.
See issue #4934 for more details.

svn path=/trunk/; revision=44239
2009-11-20 16:50:05 +00:00
Aleksey Bragin
ad2dffe030 [wininet]
- Update wininet to Wine-1.1.33.

svn path=/trunk/; revision=44236
2009-11-20 14:22:05 +00:00
Pierre Schweitzer
d6c7749eba Fixed typo
(lost patch found in the dust)

svn path=/trunk/; revision=44227
2009-11-18 18:15:49 +00:00
Aleksey Bragin
f0fa2f117f [rapps]
Andrey Yastrebov <menone7@gmail.com>
- Fix app uninstallation feature (wrong lparam usage - it's pointer to PINSTALLED_INFO and not an hkey).
See issue #4961 for more details.

svn path=/trunk/; revision=44225
2009-11-18 14:37:31 +00:00
Aleksey Bragin
b5a0cbacfb - Properly convert mswsock.def to mswsock.spec (we have all functions properly stubbed).
- Remove WSPStartup from ws2_32, it doesn't belong there. Spotted by Gabriel Ilardi.
See issue #4956 for more details.

svn path=/trunk/; revision=44224
2009-11-18 14:16:34 +00:00
KJK::Hyperion
4e2f21b12b Goodbye win32k_base, you won't be missed
svn path=/trunk/; revision=44216
2009-11-17 17:00:01 +00:00
KJK::Hyperion
590c766281 Reapplying r44182. Thanks to r44208, it should actually work this time
svn path=/trunk/; revision=44215
2009-11-17 16:18:34 +00:00
KJK::Hyperion
70faa1388d modified Makefile
$(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   New status line ECHO_RSP for built-in response file generator rule
   $(NL) variable that expands to a newline -- only known way to escape the newline character in GNU make

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   $(ECHO DLLTOOL) -> $(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   Generate a response file with the list of object files, instead of passing every single object file on the linker command line. Our really long linker command lines should no longer be an issue

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Clean files generated by externally-defined rules

Build issues fix 1/2 (1/3?)

svn path=/trunk/; revision=44208
2009-11-17 02:54:29 +00:00
Daniel Reimer
84e0310943 Revert yesterday's fix for now.
svn path=/trunk/; revision=44203
2009-11-16 18:32:30 +00:00
Johannes Anderwald
9d604a73e1 - Build fix by Pigglesworth
svn path=/trunk/; revision=44202
2009-11-16 18:24:36 +00:00
Johannes Anderwald
8e33ff3436 - Various bugfixes found by Amine48rz
svn path=/trunk/; revision=44201
2009-11-16 18:13:56 +00:00
Cameron Gutman
a2350b62d8 - Implement OskitTCPGetSocketError which retreives so->so_error
- Use OskitTCPGetSocketError to get the actual socket error which occurred when get SEL_FIN
 - Add more cases to TCPTranslateError

svn path=/trunk/; revision=44199
2009-11-16 07:39:52 +00:00
Dmitry Gorbachev
55d1ffb642 Remove MmVerifierData.
svn path=/trunk/; revision=44198
2009-11-16 01:57:59 +00:00
Dmitry Gorbachev
e31f753c70 Fix a bug, silence GCC 4.5.x warnings.
svn path=/trunk/; revision=44197
2009-11-16 01:57:24 +00:00
Dmitry Gorbachev
aa317c6f63 Break long expressions, fix formatting.
svn path=/trunk/; revision=44196
2009-11-16 01:56:48 +00:00
Christoph von Wittich
acbe9adac1 sync kernel32 winetest with wine 1.1.33
svn path=/trunk/; revision=44195
2009-11-16 01:37:38 +00:00
Christoph von Wittich
073d07ac36 partial FormatMessage wine sync
svn path=/trunk/; revision=44194
2009-11-16 01:37:12 +00:00
Christoph von Wittich
0b4a63a920 add MUI error codes from wine
svn path=/trunk/; revision=44193
2009-11-16 01:23:20 +00:00
Christoph von Wittich
4df398e191 sync msi winetest to wine 1.1.33
svn path=/trunk/; revision=44192
2009-11-16 01:15:54 +00:00
Christoph von Wittich
fe383756c1 sync msi to wine 1.1.33
svn path=/trunk/; revision=44191
2009-11-16 01:13:42 +00:00
Daniel Reimer
5bc70bf808 Update ScummVM Link to the Version 1.0.0.
Congrats to the ScummVM Team reaching Final State after 8 years of work.
Best wishes for the future from us.

svn path=/trunk/; revision=44190
2009-11-16 00:26:56 +00:00
Christoph von Wittich
f12b3f3e8d sync mshtml to wine 1.1.33
svn path=/trunk/; revision=44189
2009-11-15 23:44:20 +00:00
Christoph von Wittich
20028cfb2f sync rsaenh with wine 1.1.33
svn path=/trunk/; revision=44188
2009-11-15 23:28:15 +00:00
Christoph von Wittich
25f74e7771 sync rsaenh winetest with wine 1.1.33
svn path=/trunk/; revision=44187
2009-11-15 23:25:01 +00:00
Christoph von Wittich
767e2566ff partial shell32 sync
svn path=/trunk/; revision=44186
2009-11-15 23:19:33 +00:00
Christoph von Wittich
9cd4c81c17 sync crypt32 winetest with wine 1.1.33
svn path=/trunk/; revision=44185
2009-11-15 23:04:51 +00:00
Christoph von Wittich
86d5f9981c sync crypt32 with wine 1.1.33
svn path=/trunk/; revision=44184
2009-11-15 22:58:08 +00:00
Christoph von Wittich
5db2650780 sync dde with wine 1.1.33
svn path=/trunk/; revision=44183
2009-11-15 22:45:31 +00:00
Daniel Reimer
f3e43b25a8 kjk_hyperion: "Gross hack. People with RosBE installed to a path with spaces can now compile again. Emergency over."
svn path=/trunk/; revision=44182
2009-11-15 22:29:08 +00:00
Johannes Anderwald
94307ac7ec - Implement reading user shell folders from registry
See issue #4206 for more details.

svn path=/trunk/; revision=44177
2009-11-15 19:08:27 +00:00
Cameron Gutman
f0680faa1a - Fix build (try 3)
- I have no idea how this built for me

svn path=/trunk/; revision=44166
2009-11-14 19:03:37 +00:00
Cameron Gutman
2781609339 - Fix build (try 2)
svn path=/trunk/; revision=44165
2009-11-14 18:52:33 +00:00
Cameron Gutman
4d5c7b23b2 - Fix build
svn path=/trunk/; revision=44164
2009-11-14 18:48:07 +00:00
Cameron Gutman
f3d4211e56 - Use a spin lock to protect OSKit instead of a recursive mutex
- Remove the now unused recursive mutex code
 - Don't clear the SS_ISCONNECTING flag when soconnect returns EINPROGRESS because it causes a crash during soreceive
 - Lock CONNECTION_ENDPOINT and ADDRESS_FILE structs better
 - Remove incorrect IoMarkIrpPending calls
 - Remove useless ASSERT_LOCKED
 - Don't destroy so_connection when we close a connection
 - Remove useless FileFindConnectionByContext
 - Remove SignalledConnectionsList and SignalledConnectionsLock and simply loop through ConnectionEndpointList for signalled connections
 - Add connections to ConnectionEndpointList in TCPAllocateConnectionEndpoint instead of FileOpenConnection so we don't miss listeners
 - Remove connections from ConnectionEndpointList in TCPFreeConnectionEndpoint instead of FileCloseConnection so we don't miss listeners
 - Use ExInterlockedRemoveHeadList to remove entries in the address file's request lists
 - Remove useless members, flags, and variables in titypes.h and tcp.h
 - Fixes bug 4955 and 4434

svn path=/trunk/; revision=44163
2009-11-14 18:38:02 +00:00
Sylvain Petreolle
283fdbd510 GetCurrencyFormatW() formatting bug fix by Viliam Lejcik <lejcik at host dot sk>
svn path=/trunk/; revision=44158
2009-11-14 15:44:27 +00:00
Pierre Schweitzer
960d3e56d4 Forgotten French translation for Fraginator lost on my HD
svn path=/trunk/; revision=44157
2009-11-14 15:44:02 +00:00
Aleksey Bragin
f0816148d1 - Add VK_ICO_* codes.
svn path=/trunk/; revision=44153
2009-11-14 11:22:29 +00:00
Johannes Anderwald
6db29a3b51 [CMIDRIVER]
- Fix build breakage by Sylvain Petreolle

svn path=/trunk/; revision=44142
2009-11-13 17:47:03 +00:00
Johannes Anderwald
5a56a7c2da [KERNEL32]
- Don't access freed memory in GetVolumeNameForVolumeMountPointW

svn path=/trunk/; revision=44141
2009-11-13 17:31:02 +00:00
Johannes Anderwald
165c423eed Silence for Christoph & buildbot
svn path=/trunk/; revision=44137
2009-11-13 15:08:00 +00:00
Johannes Anderwald
17dd5fb45c - Silence (on request of Christoph)
svn path=/trunk/; revision=44136
2009-11-13 15:04:19 +00:00
Johannes Anderwald
955b60c3ad - Silence
svn path=/trunk/; revision=44135
2009-11-13 15:00:33 +00:00
Johannes Anderwald
ccc63ddced [PSDK]
- Fix MIXEROPENDESC struct(x64 compability issue)
[MMEBUDDY]
- Fix usage of MIXEROPENDESC
[WDMAUD.DRV]
- Implement a listening thread which waits for volume level / mute control changes

svn path=/trunk/; revision=44133
2009-11-13 14:22:11 +00:00
Johannes Anderwald
052e7f5106 [KS]
- Silent debug traces on request of Christoph
[CMIDRIVER]
- Remove link hacks
[WDMAUD_KERNEL]
- Silent debug traces on request of Christoph
- Reference notification event when the mixer is openend
- Fix a bug in the notification handler (double free due entry not removed from list)


svn path=/trunk/; revision=44132
2009-11-13 14:13:22 +00:00
Aleksey Bragin
8d0de240d5 - Sync rpcrt4 with Wine-1.1.32. ReactOS-specific changes are:
* Use overlapped named pipes access mode, and use GetOverlappedResult for reading/writing too.
 * Add patch for waiting for server calls in RpcMgmtWaitServerListen (not fully correct one, but enough for now).
 * Hacks around ntsecapi.h inclusion (it can't be used properly with winternl.h).
 * Total removal of HTTP transport. Could be enabled when dynamic linking to wininet.dll will be possible.
- Change config.h to include new ASM macros. This is not platform independent.

svn path=/trunk/; revision=44130
2009-11-13 13:26:54 +00:00
Christoph von Wittich
08a2fdadeb sync dde with wine 1.1.32
svn path=/trunk/; revision=44129
2009-11-13 12:40:20 +00:00
Christoph von Wittich
f54043e5ae sync dwmapi with wine 1.1.32
svn path=/trunk/; revision=44128
2009-11-13 11:47:11 +00:00
Johannes Anderwald
e113d59df6 - Implement updating volume position / mute state after receiving a notification
svn path=/trunk/; revision=44127
2009-11-13 11:42:23 +00:00
Johannes Anderwald
61887111ab [WDMAUD_KERNEL]
- Implement kernel side of notifying clients of volume / mute control changes

svn path=/trunk/; revision=44122
2009-11-13 01:48:28 +00:00
Stefan Ginsberg
a8286c3821 - Documentative amendment to 44115: It incorrectly stated that the commit added "init(i)al support for PCI and ISA interrupts". What was added is (disabled) initial support for ISA, EISA and PCI configurations that require level-triggered interrupts (we only support edge-triggered interrupts right now) and PCI IRQ routing, along with proper handling of IRQ13.
svn path=/trunk/; revision=44121
2009-11-12 21:46:52 +00:00
Stefan Ginsberg
69b02e1155 - Win32k doesn't know what "opaque" means. Store the module base address in the structure too for the code that relied on the handle being the base address.
svn path=/trunk/; revision=44120
2009-11-12 20:41:12 +00:00
Stefan Ginsberg
141ef5cfc3 - Add missing synchronization for access to PsLoadedModuleList. Inserting and removing entries to the list was protected by a spinlock, but some places didn't acquire the lock before looping the list when searching for module information. For efficiency, use an executive resource for other access than inserting/removing entries so we can have shared locking in some common cases (spinlock stays so access can be synchronized with DPCs).
- Make SystemUnloadGdiDriverInformation take the opaque SectionPointer (which is really the Loader Entry) from the SYSTEM_GDI_DRIVER_INFORMATION structure returned in SystemLoadGdiDriverInformation so it doesn't need to loop the loaded module list to find it.
- Fix EngLoad/UnloadImage to do this. Also make EngLoadImage return the pointer to the internal structure as the "handle" so EngUnloadImage doesn't need to loop the driver list to find it. The code is still extremely broken and needs a rewrite.
- Remove some externs from related variables in the code -- we use something called "headers".

svn path=/trunk/; revision=44119
2009-11-12 19:41:39 +00:00
Aleksey Bragin
14442c0a34 [advapi32]
Alexander Yastrebov <menone7@gmail.com>
- Return proper lengths of required buffer sizes in characters (including the termination NULL character) in LookupAccountSid. Fixes 4 "advapi32_winetest security" failures.
See issue #4904 for more details.

svn path=/trunk/; revision=44117
2009-11-12 13:55:51 +00:00
Aleksey Bragin
ba319b373f [Unused ReactOS setup]
- Move duplicate code from LoadSetupData to a separate function
- Fix a bug on line 1054 of the original file: SetupData.LangCount should be SetupData.KbLayoutCount (copy-paste mistake). This would have probably gone unnoticed if SetupData.LangCount > SetupData.KbLayoutCount due to other end of section checking.
- Based on a patch from bug 4933.

svn path=/trunk/; revision=44116
2009-11-12 12:35:01 +00:00
Stefan Ginsberg
c02b96254e - Add inital support for PCI and ISA interrupts.
- Use different register allocation to be more efficient on certain systems.
- Add tables and initial code for Lazy IRQL support.

svn path=/trunk/; revision=44115
2009-11-11 22:29:16 +00:00
Johannes Anderwald
8e510a0ea2 - Fix building of cmidriver
- Required a few hacks, which were documented as //HACK

svn path=/trunk/; revision=44113
2009-11-11 20:43:58 +00:00
Aleksey Bragin
effa38586c [rosapps]
- Avoid old crt names usage, by Caemyr/kjk_hyperion.

svn path=/trunk/; revision=44107
2009-11-11 18:19:42 +00:00
Sylvain Petreolle
94d60cdacc forgot that one
svn path=/trunk/; revision=44105
2009-11-11 13:02:13 +00:00
Sylvain Petreolle
aafb387b32 [12:14] <Usurp> kjk_hyperion: i dont understand where msvcrt is linked twice in crt_regtest ?
[12:14] <kjk_hyperion> Usurp: that's right, you don't understand


svn path=/trunk/; revision=44104
2009-11-11 12:51:03 +00:00
KJK::Hyperion
8667b162b1 modified regtests/crt/crt_regtest.rbuild
Don't link msvcrt twice, bad things happen

modified   tests/dirdlg/dirdlg.rbuild
modified   winetests/msvcrt/msvcrt.rbuild
   More oldnames hacks

modified   tests/tcpsvr/tcpsvr.c
   Don't use close on sockets, use closesocket

svn path=/trunk/; revision=44103
2009-11-11 11:12:55 +00:00
KJK::Hyperion
42f5d69bb4 More _CRTIMP love for non-ANSI symbols
svn path=/trunk/; revision=44102
2009-11-11 11:11:58 +00:00
Johannes Anderwald
844a591298 - Fix problem with ASSERT & ASSERTMSG when compiled with g++
svn path=/trunk/; revision=44101
2009-11-11 10:53:52 +00:00
Johannes Anderwald
7d088d0725 [KS]
- Implement KsEnableEvent, KsEnableEventWithAllocator, KsDiscardEvent
[PORTCLS]
- Fix signalling the event
- DirectSound clients can now use IDirectSoundNotify interface to be notified of a position change

svn path=/trunk/; revision=44100
2009-11-11 09:04:42 +00:00
Christoph von Wittich
008929cd36 return TRUE in ReadFile if there is nothing to read
svn path=/trunk/; revision=44099
2009-11-11 08:29:08 +00:00
Christoph von Wittich
4574bb5be8 sync shell32 winetest to wine 1.1.32
svn path=/trunk/; revision=44098
2009-11-11 07:36:49 +00:00
KJK::Hyperion
7f4bf6c490 modified Makefile
Give poor pefixup its own echo line

modified   ReactOS-amd64.rbuild
modified   ReactOS-arm.rbuild
modified   ReactOS-i386.rbuild
   Set global linker flags globally
   Goodbye NTOSKRNL_SHARED

modified   tools/rbuild/backend/codeblocks/codeblocks.cpp
modified   tools/rbuild/backend/msvc/vcprojmaker.cpp
   Build fixes. I really want to delete these dead backends

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   Makefile rule for the linker. Also generates the .lib and .exp for DLLs, and obsoletes a whole lot of shitty rbuild code

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
   Specify module type-specific linker flags... in the specification of flags for module types, instead of wherever
   Fix generation of project-global linker and NASM flags
   Give better names to the variables that contain names of BE-provided libraries
   Don't put quotes around the names of BE-provided libraries, GNU make doesn't support quoting in any way, shape or form and quotes around filenames actually break shit on Windows (see <http://reactos-blog.blogspot.com/2009/11/gnu-make-fails-on-windows-with-multiple.html>). Just install the BE in a path without spaces in it
   Typo: LFLAGS is the flags for lex, flags for linker come from LDFLAGS

modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/module.cpp
modified   tools/rbuild/rbuild.h
   Moved generation of linker and import library generation rules out of rbuild and into sub-makefiles. A lot of code deleted, nothing of value was lost
   More LFLAGS -> LDFLAGS
   Goodbye mangledsymbols and underscoresymbols attributes, they don't do shit other than complicating my life
   If we have to add an underscore in front of the entry point name for some architectures, how about we do it in a single place?

modified   tools/rbuild/backend/mingw/rules.mak
   Minor cosmetic change

svn path=/trunk/; revision=44091
2009-11-11 03:41:14 +00:00
KJK::Hyperion
18d9f647bc modified lib/3rdparty/mingw/mingw.rbuild
oldnames is not an import library and dlltool --add-underscore is not an appropriate way to build it. Delete it for now

modified   base/applications/network/ftp/ftp.rbuild
modified   base/applications/winhlp32/winhlp32.rbuild
modified   base/services/dhcp/dhcp.rbuild
modified   dll/win32/crypt32/crypt32.rbuild
modified   dll/win32/mshtml/mshtml.rbuild
modified   dll/win32/setupapi/setupapi.rbuild
modified   dll/win32/wininet/wininet.rbuild
modified   lib/3rdparty/libxml2/libxml2.rbuild
   Workarounds for the removal of oldnames

modified   dll/directx/d3d8/d3d8.rbuild
   Use a file that actually exists

modified   dll/win32/crtdll/crtdll.rbuild
modified   dll/win32/msvcrt/msvcrt.rbuild
   "mangledsymbols" never did anything: remove it

modified   dll/win32/msvcrt/msvcrt.def
modified   lib/sdk/crt/crt.rbuild
   We don't actually implement j0/j1/jn/y0/y1/yn: _j0 calls __imp__j0, which is an alias for __imp___j0, which redirects back to _j0 in a perfect loop. Remove them for the time being

modified   lib/3rdparty/bzip2/bzip2.rbuild
   This was actually called unbzip2.dll. Who knew

svn path=/trunk/; revision=44090
2009-11-11 03:21:16 +00:00
KJK::Hyperion
49ce5d1d63 Non-ANSI names need _CRTIMP too
svn path=/trunk/; revision=44089
2009-11-11 03:09:42 +00:00
Stefan Ginsberg
0c19771290 - Missed in previous commit: Fix VideoPortEnable/DisableInterrupt -- they should only fail if the driver didn't provide an ISR (documented).
svn path=/trunk/; revision=44086
2009-11-10 23:01:42 +00:00
Stefan Ginsberg
662ba31e98 - Fix HalDisableSystemInterrupt -- it doesn't return anything.
- Fix VideoPortEnable/DisableInterrupt -- they should only fail if the driver didn't provide an ISR (documented).

svn path=/trunk/; revision=44085
2009-11-10 23:00:51 +00:00
Dmitry Gorbachev
a6c89f30fa Fix Japanese bug #4776.
svn path=/trunk/; revision=44084
2009-11-10 22:52:41 +00:00
Christoph von Wittich
a72dd3434c sync shlwapi to wine 1.1.32
svn path=/trunk/; revision=44083
2009-11-10 21:36:55 +00:00
Christoph von Wittich
2afeb94e20 sync SHGetFileInfo and CommandLineToArgvW to wine 1.1.32
svn path=/trunk/; revision=44082
2009-11-10 21:31:37 +00:00
Christoph von Wittich
e8c61b4a52 partial shell32 sync to wine 1.1.32
svn path=/trunk/; revision=44081
2009-11-10 21:29:56 +00:00
Christoph von Wittich
8f8f2a36c0 fix ILCreateControlPanel and ILCreatePrinters
svn path=/trunk/; revision=44080
2009-11-10 20:35:07 +00:00
Christoph von Wittich
1526c2358d sync shell32/shelllink to wine 1.1.32
svn path=/trunk/; revision=44079
2009-11-10 20:09:00 +00:00
Stefan Ginsberg
31baf39ed3 - Correct author of freeze.c (code was copied from cpu.c).
svn path=/trunk/; revision=44078
2009-11-10 16:42:31 +00:00
Stefan Ginsberg
ee750905e9 - Fix missing initialization of KdComPortInUse, containing the base address of the port used by kdcom. The serial driver checks this variable to determine if it can use the port or if it should stay (the fuck) off. KdCom no longer hangs after serial driver initialization in second stage.
svn path=/trunk/; revision=44077
2009-11-10 14:23:44 +00:00
Johannes Anderwald
9a2bba4740 [KS]
- Implement KsGenerateEvent 

svn path=/trunk/; revision=44076
2009-11-10 10:50:57 +00:00
Johannes Anderwald
c3eaa577c4 - Remove ASSERT && add param checks
svn path=/trunk/; revision=44075
2009-11-10 10:04:33 +00:00
Johannes Anderwald
dcb1336203 [PORTCLS]
- Implement handling of enabling / disabling events
- Implement firing of events when certain position is reached
- Code not yet used as ks needs more work

svn path=/trunk/; revision=44074
2009-11-10 10:01:25 +00:00
Timo Kreuzer
d129a33bad fix a preprocessor bug
svn path=/trunk/; revision=44068
2009-11-10 01:47:09 +00:00
Stefan Ginsberg
b4835e6bad - Add KCALLOUT_FRAME to define the kernel callback stack layout during user mode callbacks. Define the NextCallback and FramePointer members of the debugger data block more portably with this.
- AMD64's is a copy of x86's to match asm.h's the assembly offsets. ARM's is a stub containing two necessary members to have some offsets for the debugger data block.
- Add ARM stub for KiCallUserMode as this is referenced from the debugger data block.

svn path=/trunk/; revision=44063
2009-11-09 23:19:03 +00:00
Stefan Ginsberg
ccd3b00fd2 - Fix unsigned/signed compare, spotted by Christoph
svn path=/trunk/; revision=44062
2009-11-09 23:07:04 +00:00
Stefan Ginsberg
a9f0dd5a8d - Implement the generic bus handler support and initialization.
- Add missing hack flags for ACPI hacks.
- Add the hack flags to the registry.

svn path=/trunk/; revision=44061
2009-11-09 22:59:49 +00:00
KJK::Hyperion
652e881f54 ... on the other hand, O_BINARY is a Win32 thing
svn path=/trunk/; revision=44060
2009-11-09 22:56:06 +00:00
KJK::Hyperion
f93a056987 modified base/shell/explorer/notifyhook/notifyhook.def
modified   dll/3rdparty/mesa32/src/drivers/windows/icd/mesa.def
modified   dll/nls/idndl/idndl.def
modified   dll/nls/normaliz/normaliz.def
modified   drivers/video/font/ftfd/freetype.def
   Soon, the rbuild "dllname" attribute will have no effect for .def files (only .spec/.pspec): prepare the sources for it by specifying the DLL name in the .def files themselves with the LIBRARY directory

svn path=/trunk/; revision=44059
2009-11-09 22:49:18 +00:00
KJK::Hyperion
34cce6f897 modified tools/pefixup.c
MinGW provides a good enough POSIX-like environment to do away with a couple platform checks/hacks
   Print error messages on stderr instead of stdout
   Don't print anything when pefixup does nothing - "no news is good news"

svn path=/trunk/; revision=44058
2009-11-09 22:42:17 +00:00
Stefan Ginsberg
6fcf0fd7b8 - Set and check for the correct PTE write bits on x86 SMP. The MP kernel is now functional again.
svn path=/trunk/; revision=44057
2009-11-09 22:05:36 +00:00
Stefan Ginsberg
1a3c56692d - Fix build with neither KDBG or _WINKD_ defined -- ReactOS KD wrapper uses the safe memory routines too, so only skip kdmemsup.c if compiling for _WINKD_.
svn path=/trunk/; revision=44054
2009-11-09 21:38:26 +00:00
Johannes Anderwald
43a6379cc0 - Fix bug introduced 18942 revisions ago
svn path=/trunk/; revision=44050
2009-11-09 17:43:12 +00:00
Dmitry Gorbachev
db62b33f92 Simple optimization in RApps. Patch by Love Nystrom. Bug #4952.
svn path=/trunk/; revision=44049
2009-11-09 15:34:18 +00:00
Stefan Ginsberg
afd1ab1b6d - HAL uses HARDWARE_PTE, not MMPTE_HARDWARE, so remove broken SMP fix
svn path=/trunk/; revision=44033
2009-11-08 22:17:05 +00:00
Stefan Ginsberg
aaad231bf1 - Fix work around for the cmpxchg8b lock errata work around -- don't set write protection if the kernel hasn't set it yet. Move the code out to HalpBiosDisplayReset so we can keep track of this. Also set the correct bit on SMP systems.
svn path=/trunk/; revision=44032
2009-11-08 21:42:28 +00:00
Stefan Ginsberg
a3012cacae - Add freeze.c to the build too
svn path=/trunk/; revision=44031
2009-11-08 21:22:24 +00:00
Stefan Ginsberg
4e140f4d79 - Move processor freeze support out from x86 cpu.c to new generic freeze.c as these routines are quite generic.
svn path=/trunk/; revision=44030
2009-11-08 21:10:23 +00:00
Stefan Ginsberg
9475cf4cbc - Make WinLdr's loading screen display the boot method (NT) instead of operating system name (Windows).
svn path=/trunk/; revision=44027
2009-11-08 11:52:23 +00:00
Stefan Ginsberg
335f8ac467 - Fix _WINKD_ build breakage from 44023 -- missed to commit the .rbuild change for the renamed kdsup.c files
svn path=/trunk/; revision=44026
2009-11-08 11:41:35 +00:00
Stefan Ginsberg
ef21516cc4 - Disable the MiCacheImageSymbols call in MmLoadSystemImage for KD too as this hack is required for rossym rather than KDBG. Fixes detection of non-boot driver images by WinDbg.
- Add another hack to freeldr.c to make sure that HAL is the second entry in the Load Order list -- detect if it isn't and insert it as the second entry manually if it isn't.
- KdbInitialize can now assume that the 2nd entry in the Load Order list is HAL, just like ExpLoadBootSymbols and KD does, so get the Loader Entry directly instead of searching for it.
- Move KiBootTss and KiBootGdt to freeldr.c as this is where they belong -- they are not required for NTLDR/WINLDR boot style and are only used directly in freeldr.c.
- Get rid of the AcpiTableDetected variable from freeldr.c. Instead, set the AcpiTable entry to something and make PoInitSystem check for that instead to preserve the old behavior.
- Implement KdpGetFirstParameter and KdpGetSecondParameter for ARM too -- just retrieve R3/R4 here. Also rename those macros to clarify what parameters we are retrieving.
- Add MmIsSessionAddress stub and use it from KD handle session space properly in the Memory Query API, and ASSERT that we are not trying to do a copy to/from session space in MmDbgCopyMemory as we don't handle it properly. Put this in mmdbg.c for now as we don't implement session space, and it is only called from KD right now.
- Rename the 3 kdsup.c files to kdx86.c, kdx64.c and kdarm.c to differ them from each other.
- Implement KdpAllowDisable -- just check if any processor breakpoints are set on any processor in the system and disallow the disable if so. The routine is now architecture dependant, so move it to the appropriate files.
- Get rid of the MmFreeLdr* variables too. These have been deprecated for some time now.
- The ModuleObject and ImageBaseAddress parameters of MmLoadSystemImage are not optional so don't treat them as such, and don't zero initialize them as callers shouldn't rely on this.
- Set LDRP_ENTRY_NATIVE instead of LDRP_COMPAT_DATABASE_PROCESSED to mark the image as a native image. Also fix the value of LDRP_ENTRY_NATIVE.
- Fix definition of LDR_DATA_TABLE_ENTRY -- the Checksum member should be in the union too.
- Remove some unnecessary externs for stuff we now define globally in the kernel headers.
- Rename some variables in KD to better match the logic.
- Move some x86 only stuff from global ke.h and ke_x.h to the x86 dependent ke.h. Remove DR_ACTIVE_MASK as it has been deprecated/unused for a while now.

svn path=/trunk/; revision=44023
2009-11-08 01:13:49 +00:00
Stefan Ginsberg
65ebf6adac - Add HAL PCI tables required for future work.
svn path=/trunk/; revision=44022
2009-11-08 00:22:29 +00:00
Cameron Gutman
024d413ccb - Stop using the TCPLock to protect all entries into the IP lib
- Instead use TCPLock only to protect entries into oskittcp

svn path=/trunk/; revision=44021
2009-11-07 20:41:57 +00:00
Aleksey Bragin
4983e19cca - Add defines needed by explorer-new. Fixes build.
svn path=/trunk/; revision=44019
2009-11-07 20:18:04 +00:00
Aleksey Bragin
1baf1655f4 - Remove accidentally committed Wineisms. Build is fixed.
svn path=/trunk/; revision=44015
2009-11-07 19:53:41 +00:00
Aleksey Bragin
9fd4efa3e3 [comctl32]
- Fix a critical bug in TOOLTIPS_NotifyFormat. Its first parameter changed from HWND to infoPtr pointer, however the function was not updated accordingly.

svn path=/trunk/; revision=44014
2009-11-07 19:42:57 +00:00
Aleksey Bragin
f7b4286b58 - Update commctrl.h to Wine-1.1.31.
svn path=/trunk/; revision=44013
2009-11-07 19:34:59 +00:00
KJK::Hyperion
53c5d2f826 Fix keyboard navigation of menus (up/down keys)
Patch by IJM <mailnew2ster AT mail.ru>

svn path=/trunk/; revision=44012
2009-11-07 19:21:13 +00:00
Cameron Gutman
290a30a5cb - Remove TCPSleep and TCPWakeup (we make all oskittcp sockets non-blocking)
- Crash ROS better in oskittcp_die

svn path=/trunk/; revision=44010
2009-11-07 18:12:58 +00:00
KJK::Hyperion
fe8ac71a7b Unbreak build
svn path=/trunk/; revision=44006
2009-11-07 17:24:06 +00:00
KJK::Hyperion
a44d06892b globally-defined CFLAGS, CXXFLAGS, etc. will now work, and override C compiler flags, C++ compiler flags, etc. for all modules. Our makefile build system now a little closer to a real makefile build system
svn path=/trunk/; revision=44003
2009-11-07 16:56:52 +00:00
KJK::Hyperion
d4fe05f452 Don't uppercase module name in _TARGET macros. This commit will amazingly not trigger a full rebuild
svn path=/trunk/; revision=44000
2009-11-07 15:20:45 +00:00
Johannes Anderwald
0abe48a157 [DSOUND]
- Add more checks IDirectSoundCapture::CreateCaptureBuffer
- Implement IDirectSoundNotify interface
- Needs work from ks / portcls to work on formats supported natively by the driver

svn path=/trunk/; revision=43997
2009-11-07 13:49:01 +00:00
Johannes Anderwald
c20bd4216f - Add a few constants and types required event handling
svn path=/trunk/; revision=43996
2009-11-07 12:57:07 +00:00
Sylvain Petreolle
fe7390f136 Report spoolsv service status at startup.
this fixes 1 advapi32:service test.

svn path=/trunk/; revision=43995
2009-11-07 11:43:06 +00:00
Johannes Anderwald
4bd3460f8a [DSOUND_NEW]
- Implement stereo to mono channel conversion
- Create a thread which performs the mixing
- Fixes messed up voice recording in Skype 3.6

svn path=/trunk/; revision=43994
2009-11-07 03:43:56 +00:00
Stefan Ginsberg
c74f994e2f - Refactor stubbed HAL resource report slightly.
- Move the resource routines to their own file instead of sysinfo.c.
- Add missing members to PCIPBUSDATA.
- Kill old, unused generic.rbuild.

svn path=/trunk/; revision=43991
2009-11-06 23:55:08 +00:00
Arch Blackmann
0324a3e3bb Whiners...
svn path=/trunk/; revision=43990
2009-11-06 23:35:28 +00:00
Arch Blackmann
d23204652e Implement printout the the state tables. It seems to work fine, but the tool doesn't yet generate the modified keys (shift+, ctrl+, etc) for each virtual key. This is the last thing that remains.
svn path=/trunk/; revision=43989
2009-11-06 22:42:26 +00:00
Johannes Anderwald
ee8a3fcc0b - Fix check
svn path=/trunk/; revision=43988
2009-11-06 17:00:20 +00:00
Arch Blackmann
4a61562491 Implement support for writing the virtual key to WCHAR translation for different shift states.
Only 2 shift states are supported for now, I have to add a lot more output generation code to get at least 3 states up and running.


svn path=/trunk/; revision=43985
2009-11-06 00:38:04 +00:00
Arch Blackmann
374c1a0142 Add table of shift state combinations, and add table of shift state types.
svn path=/trunk/; revision=43984
2009-11-06 00:37:06 +00:00
Arch Blackmann
bb5b97e281 Print out more state-related tables and information (still missing one large chunk of data). Print out the key and extended key tables for the layout. Fix up some more code.
The C source is almost fully complete for the English US test layout KLC!


svn path=/trunk/; revision=43983
2009-11-05 23:58:38 +00:00
Michael Martin
3b6b3c96d5 [cdfs]
- CdfsVerifyVolume: Disable the delivery of normal Kernel APC's before acquiring resource and re-enable APC's after releasing resource. Fixes ASSERT from ntoskrnl/ex/resource.c. Noticed by Stefan.

svn path=/trunk/; revision=43982
2009-11-05 23:43:57 +00:00
Arch Blackmann
51050d323b Add more support for shift state output. The tool now updates CharModifiers table based on the shift states present in the layout, building both the modification number and the key name based on the virtual key-> name table.
svn path=/trunk/; revision=43978
2009-11-05 19:55:57 +00:00
Arch Blackmann
44487b2614 Generate modifier table. Generate extended scancode table X. Generate extended scancode table Y.
svn path=/trunk/; revision=43977
2009-11-05 19:25:41 +00:00
Arch Blackmann
75cba8f7ab Add table of modifiers.
svn path=/trunk/; revision=43976
2009-11-05 19:24:47 +00:00
Arch Blackmann
43ea0e72e4 Create layout entries for built-in non-redefined scancodes as well, based on the 110-key table (mostly things like the extended keys/SpeedRacer/MediaButtons, etc).
svn path=/trunk/; revision=43975
2009-11-05 19:24:24 +00:00
Aleksey Bragin
8420a2199f [shell32]
- Remove extra semicolon, spotted by Gabriel.

svn path=/trunk/; revision=43973
2009-11-05 13:27:52 +00:00
Aleksey Bragin
0a9bdf2bf0 [shell32]
Gabriel Ilardi
- Properly stub SHSetUnreadMailCountW and SHGetUnreadMailCountW to unregress Thunderbird and possibly other email clients.
See issue #4940 for more details.

svn path=/trunk/; revision=43971
2009-11-05 10:07:16 +00:00
Arch Blackmann
9ba6ecc44b The tool now generates 75% of a typical keyboard layout C file. Lots of stuff still missing, but most of the annoying work is done now... it just has to start filling in the dynamic data.
A full-fledged file will have ligature data, up to 8 shift states, dead keys, etc, but that's not stuff we'll have to deal with at first for simple layouts.
By tomorrow we should be able to fully process and generate latin-alphabet-based language keyboard layouts.


svn path=/trunk/; revision=43970
2009-11-05 05:20:01 +00:00
Arch Blackmann
ce3c33cc9f Now write out the DEF file (okay that was too easy).
svn path=/trunk/; revision=43967
2009-11-05 02:04:04 +00:00
Arch Blackmann
e430f44387 Kbdtool can now create the resource (RC) file as well!
svn path=/trunk/; revision=43966
2009-11-05 01:57:08 +00:00
Stefan Ginsberg
61c7c70c34 - Convert one more __invlpg to KeInvalidateTlbEntry
svn path=/trunk/; revision=43963
2009-11-04 22:51:00 +00:00
Stefan Ginsberg
76a638d6cf - Oh snap. KDBG is not dead yet.
svn path=/trunk/; revision=43962
2009-11-04 22:49:46 +00:00
Arch Blackmann
6191f04a40 Holy shit Batman! KbdTool can now write out the keyboard layout header file! You should get a Layout01.h if you run it on test.klc (in your current working directory).
svn path=/trunk/; revision=43961
2009-11-04 22:48:55 +00:00
Stefan Ginsberg
1d161cccdd - Implement support for reading and writing physical memory for KD. The implementation uses a reserved mapping page to map the target physical address to. On x86 this page is located at virtual address 0xFFBFF000, and the PTE for this page is the last PTE of the nonpaged pool's PDE. Other architectures may need to reserve the PTE elsewhere.
- The physical memory support relies on several Mm variables and structures to be properly set up. Add a new flag, MiDbgReadyForPhysical, and set it when the debugger support can handle physical memory requests.
- Protect this page with a Memory Area to make the old Mm keep its dirty hands off it.
- Does not support I/O space or cache flags yet.
- Add generic KeInvalidateTlbEntry to invalidate a single TLB entry for a given address instead of flushing the whole TLB. Used by the debugger physical memory support as invalidating the whole TLB for every map and unmap of its debug PTE would incur significant overhead for large copies. Replace direct usage of __invlpg() with this in x86 code too.
- Fix incorrect cache flag check and set in KdpRead/WritePhysicalmemory for write combined requests. The debugger's Uncached flag was checked instead of the Write Combined flag, and the debuggers Write Combine number (0x3) was set instead of Mm's flag (0x20).
- Fix implementation of MmIsAddressValid (at least for x86; other architectures will need more checks). Just check the Address' PDE and PTE valid bits instead of using Memory Areas.
- Add missing ASSERTs to ensure the Memory Areas for paged pool, the PCR page, and the Shared User Data page are created.
- Add missing Memory Area for the 2 pages HAL currently uses for its own mappings on x86 -- previously, those pages could have been allocated by other parts of the OS, which would have resulted in serious corruptions.

svn path=/trunk/; revision=43960
2009-11-04 22:40:18 +00:00
Arch Blackmann
7909bd0733 Refactoring and cleanup. Start fleshing out the output phase. Start handling exit correctly. Fix a bug in DoLAYOUT. Nothing new to see here...
svn path=/trunk/; revision=43959
2009-11-04 22:07:29 +00:00
Stefan Ginsberg
422721748d - Finish the work around for the Pentium cmpxchg8b lock errata: We detected the errata and allocated the 7 first IDT entries on a write protected page, but the final piece of the work around, detecting the write fault ti the Invalid Opcode handler, was missing. Implemented this in the page fault handler to detect and dispatch the write fault to the Invalid Opcode handler.
- Fix the "fix" of un-protecting the 7 IDT entries on P5 in HAL's BIOS call code when setting the custom Invalid Opcode handler. The IDT was unprotected but the write protection wasn't reapplied after the BIOS call, breaking the work around.

Other:
- KdDebuggerEnabled is a BOOLEAN, so don't do a dword compare in KeUpdateSystemTime.
- Use better comment for the hack where we always allow page faults to be handled, even if they the fault occured with interrupts disabled.

svn path=/trunk/; revision=43958
2009-11-04 21:57:32 +00:00
Arch Blackmann
66afccbaeb Add some helpful debug output to LAYOUT parsing, and enable DoLAYOUT code. The tool is able to fully decode/parse the test.klc English US layout file!
svn path=/trunk/; revision=43950
2009-11-04 19:52:36 +00:00
Arch Blackmann
7662e72971 Implement getCharacterInfo so the tool can now handle most LAYOUT entries, but not complicated ligature entries (dead keys are fine though). Also cleaned up the parsing loop of DoLAYOUT to avoid a goto, and finally added detection of SGCAP entries (in which case the tool will fail, since these are complex and not needed for now).
The main parsing loop is pretty much done, now the tool "just" has to merge the states and perform a check for duplicate entries. Then it'll be ready to generate the output files.


svn path=/trunk/; revision=43949
2009-11-04 19:38:21 +00:00
Christoph von Wittich
650e86a2df sync wininet with wine 1.1.32
svn path=/trunk/; revision=43948
2009-11-04 11:16:25 +00:00
Arch Blackmann
b8b4a4efec Started adding support for reading the different character states and the cap data (including detecting SGCAP). Now the tool has to determine the type of each character defined at every stage (dead, valid, invalid, ligature, etc...) and save the character in the appropriate slot. Dead and other keys are currently handled, as are undefined keys.
Major work remains to be done...


svn path=/trunk/; revision=43947
2009-11-04 04:49:00 +00:00
Johannes Anderwald
b8fc27d6a3 - Add sanity checks
- Implement IDirectSoundCaptureBuffer8::Stop
- Implement changing the stream format for secondary buffers
- Silence debug flood


svn path=/trunk/; revision=43946
2009-11-04 02:16:49 +00:00
Johannes Anderwald
c5fab80345 [KS]
- Fix a bug in KsCancelIo which accessed already freed memory
[PORTCLS]
- Cancel all audio stream irps when the it is used in looped stream mode. Fixes re-opening of playback / capture devices in DSound.
- Remove dead code

svn path=/trunk/; revision=43945
2009-11-04 01:54:19 +00:00
Arch Blackmann
420a4f5f4b Start implementing the long task of DoLAYOUT to process the big "meat" of a KLC file: the keyboard layout. Implement the table of recognized virtual keys (and the translation matrix). Add support for hex-entered keys (0x...).
The tool does some minimal error checking for now, and attempts to begin parsing the LAYOUT section, but fails miserably and the code won't execute unless you've enabled verbose mode. I'm just using this commit as a checkpoint for now.
Also fixed SCVK structure to use the last member as a state flag.
Finally, added definitions for LAYOUTENTRY which will keep track of each row's column's values in the LAYOUT.

svn path=/trunk/; revision=43944
2009-11-03 22:57:26 +00:00
Johannes Anderwald
8bd2cfb3ab - Fix checking of flags found by Ged
- Remove unsupported DSBLOCK_FROMWRITECURSOR

svn path=/trunk/; revision=43942
2009-11-03 22:30:36 +00:00
Johannes Anderwald
c1198f3164 - Implement IDirectSoundCaptureBuffer8::Lock, IDirectSoundCaptureBuffer8::Unlock
- Fix pin handle leakage

svn path=/trunk/; revision=43941
2009-11-03 22:11:43 +00:00
Johannes Anderwald
f2a66752bc - Fix one more dsound_winetest dsound8 failure
- Register IDirectSound8, IDirectSoundCapture8 with COM

svn path=/trunk/; revision=43936
2009-11-03 19:20:59 +00:00
Aleksey Bragin
a63e388f53 [csrss]
- Route unhandled messages to DefWndProc, as it's usually done for every window proc.

svn path=/trunk/; revision=43935
2009-11-03 19:18:39 +00:00
Aleksey Bragin
006d77b16b [csrss]
- Paint the desktop only when getting WM_ERASEBKGND message, and do nothing in WM_PAINT. This is the behavior Windows and Wine implement.
- Add WM_CLOSE stub-handler, though it doesn't change much now - all messages unhandled by the switch are going to return "0" since this proc doesn't call DefWndProcHandler.

svn path=/trunk/; revision=43934
2009-11-03 19:03:11 +00:00
Johannes Anderwald
e788e7f084 [DSOUND]
- Partly implement IDirectSound8::GetCaps
- Implement IDirectSound8::Compact
- Verify if wrong guid is passed in IDirectSound8::Initialize
- Allow construction of IDirectSound8 object via CoCreateInstance
- Fix more dsound_winetest failures
- dsound_winetest dsound is now down to 31 / 178 failures

svn path=/trunk/; revision=43933
2009-11-03 18:54:52 +00:00
Johannes Anderwald
489e5eb856 - Partially revert 43747
See issue #4936 for more details.

svn path=/trunk/; revision=43931
2009-11-03 11:47:06 +00:00
Johannes Anderwald
7b50f75936 - Add a few sanity checks
- Check for invalid guids passed to IDirectSoundCapture::Initialize
- Add support for creating IDirectSoundCapture object via CoCreateInstance
- Close pin handle when the capture buffer is released
- Implement IDirectSoundCaptureBuffer::GetCaps, IDirectSoundCaptureBuffer::GetCurrentPosition, IDirectSoundCaptureBuffer::GetFormat, IDirectSoundCaptureBuffer::GetStatus, IDirectSoundCaptureBuffer::Start
- Compute a compatible pin format when the format is not supported natively by the driver
- Fix shadowing of global variable (Usurp)
- Verify that directsound global info has already initialized in IDirectSound8::Initialize
- dsound now fails 49/650 on dsound_winetest test:capture (mixing needs to implemented) The remaining tests fail due to unimplemented functionality in portcls / ks / dsound

svn path=/trunk/; revision=43930
2009-11-03 11:43:33 +00:00
Stefan Ginsberg
56a64b9357 - There is no reason to use the Kf* routines for IRQL and Spinlocks directly in HAL -- they are defined to the Kf* versions on x86 anyway, so use the Ke* equivalents exclusively.
svn path=/trunk/; revision=43929
2009-11-02 22:54:02 +00:00
Stefan Ginsberg
df4086b261 - Document what the 'NoBuses' member in the PCI_REGISTRY_INFO and PCI_REGISTRY_INFO_INTERNAL structures means to avoid confusion.
svn path=/trunk/; revision=43928
2009-11-02 21:46:41 +00:00
Cameron Gutman
99fec75b6f - Rework our oskittcp signalling
- SignalledConnectionsList is now only used for connections that have pending requests
 - Remove another unused member from CONNECTION_ENDPOINT

svn path=/trunk/; revision=43926
2009-11-02 21:28:25 +00:00
Michael Martin
78ce662964 [user32]
- Reapply changes from 40677 as the edit control does not receive the WM_COMMAND message from its context menu when doing clipboard ops. 
- Fixes crashes in applications created with visual basic when using edit controls context menu.
- If we lose this in next sync, ill grovel and beg.

svn path=/trunk/; revision=43925
2009-11-02 21:17:50 +00:00
Stefan Ginsberg
ae81274578 - Fix a FreeLdr PCI detection bug introduced in revision 10742 5 years ago when PCI detection was added. FindPciBios was setting the HardwareMechanism entry in the PCI_REGISTRY_INFO structure (then called CM_PCI_BUS_DATA) to the wrong register returned from the PCI BIOS: CL instead of AL. CL is the number of the last PCI bus in the system (0 if you only have 1 bus, 1 if you have 2 buses). AL contains bit-fields for PCI characteristics, and HAL checks the 2 first bits to determine the type of the BUS. My VMWare test environment has 2 PCI buses, so the number happened to be correct. This doesn't work if there is only 1 PCI bus, such as in QEMU and Vbox, as we then get an invalid PCI type of 0. Fix this and re-enable the PCI detection in HAL to properly detect the PCI type instead of assuming type 1.
svn path=/trunk/; revision=43924
2009-11-02 21:13:45 +00:00
Michael Martin
3afb2efd4a [User32]
- menu.c: Fix a typo.

svn path=/trunk/; revision=43923
2009-11-02 20:38:53 +00:00
Cameron Gutman
97d6fbe737 - Fix some confusion between SignalState and State which resulted in queued IRPs being lost on socket closure
- Call HandleSignalledConnection directly because the connection may not be in the signalled connections list
 - Remove State from CONNECTION_ENDPOINT to prevent this from happening again

svn path=/trunk/; revision=43922
2009-11-02 20:26:29 +00:00
Aleksey Bragin
162a9238f2 [uniata]
- Revert 40896, uniata is back to "amazingly fast" mode.

svn path=/trunk/; revision=43921
2009-11-02 20:18:24 +00:00
Aleksey Bragin
451776ec01 [uniata]
- Don't wait so long for drive reset. Reapplying r26470 by Dmitriy Gorbachev.

svn path=/trunk/; revision=43920
2009-11-02 20:12:19 +00:00
Sylvain Petreolle
9d9af14d23 add missing newlines
svn path=/trunk/; revision=43919
2009-11-02 20:09:00 +00:00
Kamil Hornicek
12c4f5f3e4 - add dsound winetest
svn path=/trunk/; revision=43918
2009-11-02 19:19:39 +00:00
Stefan Ginsberg
7e3ee3137a - Temporarily disable the new HAL PCI detection code since it fails miserably on the build server.
svn path=/trunk/; revision=43917
2009-11-02 19:03:01 +00:00
Stefan Ginsberg
6f5f925851 - Commit something to get build server building -- Revert 20763: "Older binutils don't understand qword ptr", use a newer binutils then.
svn path=/trunk/; revision=43916
2009-11-02 18:40:24 +00:00
Stefan Ginsberg
7249a7574f - Fix leftover from 43912: Add KdRefreshDebuggerNotPresent to DDK.
svn path=/trunk/; revision=43915
2009-11-02 18:16:12 +00:00
Stefan Ginsberg
dede0fa637 - Fix incorrect comment, spotted by Timo.
- Purpouses -> Purposes.

svn path=/trunk/; revision=43914
2009-11-02 18:08:49 +00:00
Stefan Ginsberg
602db5f2d1 - Fix broken HalpQueryPciRegistryInfo: If it wasn't for the fact that it queried a subkey incorrectly ('ConfigurationData' instead of 'Configuration Data') it was setting up the basic structure correctly but forgot to RETURN IT TO THE CALLER.
- Fixes PCI detection detection as HalpInitializePciStubs no longer has to rely on a 'no info = PCI 1' assumption, making PCI 2 detection possible.
- Add support for querying the CurrentControlSet\Control\PnP\PCI\CardList key and retrieving the card list entries (not used yet). Also add the related keys to hivesys.inf so there is something to query.

svn path=/trunk/; revision=43913
2009-11-02 18:05:07 +00:00
Stefan Ginsberg
f84d5a02f4 - Fix support for /CRASHDEBUG and /NODEBUG; we didn't respect those settings properly and would initialize KD at boot even if they were set.
- Re-enable the breakpoint in vDbgPrintExWithPrefixInternal() as this works properly now. Without this breakpoint some break-in requests got lost if the break-in occurred when handling a debug print (happened a lot at boot).
- Implement Command String support for DbgCommandString() -- we now handle every debug service call.
- Implement NtSetDebugFilterState() and NtQueryDebugFilterState() for KD, meaning we now support debug filters properly.
- Implement KdRefreshDebuggerNotPresent(), KdChangeOption() and KdPowerTransition(). Stub KdSystemDebugControl() to return error status instead of hanging the system.
- Stub the rest of the KD API to print a warning and return a failure packet instead of hanging.
- Set and respect KdpContextSent when getting and setting the thread context -- WinDbg doesn't seem to rely on this, but better safe than sorry.
- Support MP when getting and setting the thread context too -- if the context is operation is for another processor than the current, just get it through the KiProcessorBlock array.
- Initialize the MajorVersion in the KD version block more properly -- the high byte is the major identifier (0 for NT). Add the required DBGKD_MAJOR_TYPES enumeration to wdbgexts.h.
- Simplify setting and clearing the InDbgPrint flag in the TEB to minimize the impact on kernel execution; use 2 dedicated routines instead of a generic one.
- KdpSymbol doesn't return anything, so don't return an ignore status from KdpReportLoadSymbolsStateChange.
- Expose the KdpDefaultRetries and Kd_WIN2000_Mask variables to the registry and add them to KDBG too (unused there).
- No reason to implement KdpSysGetVersion per architecture; move it back to the generic code.
- Add some ARM offsets to the debugger data block that (N/A on other architectures).
- Fix the default size of the DbgPrint log buffer for free builds to save some space. It should be 4 KB for a free build and 32 KB for a checked build.
- Move KeDisableInterrupts to cpu.c as it fits here more than in the IRQ support code in irqobj.c.
- Use KeDisableInterrupts in KeFreezeExecution instead of checking the x86 EFLAG directly.

svn path=/trunk/; revision=43912
2009-11-02 17:45:51 +00:00
Timo Kreuzer
1859ef4ec9 [OPENGL32]
fix TessVertexOutData callback, too.

svn path=/trunk/; revision=43911
2009-11-02 16:16:09 +00:00
Kamil Hornicek
adfd84da55 - get rid of some cast frenzy, by Physicus
svn path=/trunk/; revision=43910
2009-11-02 14:00:47 +00:00
Daniel Reimer
303db2db11 Bug 4893: Dutch translation for Spider Solitaire by Wouter De Vlieger
Bug 4900: slovak for spider and some updates by Mario Kacmar
Bug 4928: Hungarian translation of 3 apps by Gábor Balogh

Update README.WINE

svn path=/trunk/; revision=43904
2009-11-01 21:31:21 +00:00
Arch Blackmann
5167151ae0 Implement the standard ISO 110-key scancode to virtual key conversion table for decoding the LAYOUT section. God that was tedious...
svn path=/trunk/; revision=43903
2009-11-01 19:04:42 +00:00
Arch Blackmann
190498ae3a Make some printfs DPRINT1s since they are only for debugging, and also mark LIGATURE, MODIFIERS, ATTRIBUTES and DEADKEY as sections that I don't yet intend to support for now (they're not required for most layouts).
svn path=/trunk/; revision=43902
2009-11-01 18:30:57 +00:00
Arch Blackmann
0bce60efe8 Implement DoKEYNAME (again, very similar to the previous two). Fixup KEYNAME structure once more to make the field names portable accross different usages (LanguageCode becomes Code). The tool now supports KEYNAME, KEYNAME_EXT and KEYNAME_DEAD sections in the layout file.
svn path=/trunk/; revision=43901
2009-11-01 18:26:53 +00:00
Arch Blackmann
2fb987f2cc Implement LANGUAGENAMES parsing (very similar to DESCRIPTIONS). Make KEYNAME structure portable accross other parsers, not just DESCRIPTIONS.
svn path=/trunk/; revision=43900
2009-11-01 18:17:30 +00:00
Arch Blackmann
165528760c Add support for DESCRIPTIONS section (tested on test.klc). Add KEYNAME structure. Fixup some of the code in the SHIFTSTATES implementation.
svn path=/trunk/; revision=43899
2009-11-01 17:43:51 +00:00
Arch Blackmann
2f450d2aa0 Implement support for parsing shift states. Seems to work fine on the test.klc.
svn path=/trunk/; revision=43898
2009-11-01 15:46:36 +00:00
Daniel Reimer
87e0a216c9 did put 7-zip in the wrong category, sry
svn path=/trunk/; revision=43897
2009-11-01 12:47:06 +00:00
Hervé Poussineau
7cf2619a06 [freeldr] Fix typos introduced in r43875
svn path=/trunk/; revision=43896
2009-11-01 12:19:37 +00:00
Andrew Hill
8c1263797d [browseui]
- The global class instance _AtlComModule needs to be constructed with placement new also

svn path=/trunk/; revision=43892
2009-11-01 02:26:24 +00:00
Andrew Hill
5a9218f54f [atlnew]
- RosBE doesn't support __ImageBase, so use GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS) instead.
- Implement CAtlBaseModule constructor.
[browseui]
- Since RosBE built DLLs don't run global constructors, use placement new to construct them in DllMain. This is a *HACK* and a better solution should be found.
- Change DllMain be be extern C so it actually gets used.

svn path=/trunk/; revision=43890
2009-10-31 23:40:09 +00:00
Arch Blackmann
3915dba574 Implement DoCOMPANY, DoCOPYRIGHT, DoVERSION and DoLOCALENAME... that was the easy part.
Happy Halloween everybody!

svn path=/trunk/; revision=43889
2009-10-31 22:18:28 +00:00
Arch Blackmann
b793fbd5d7 Implement DoKBD. The tool can now handle the KBD section of a .klc layout.
svn path=/trunk/; revision=43888
2009-10-31 21:54:26 +00:00
Arch Blackmann
eeeb4634bf Implement stubs for all the different keyword stub-parsers.
svn path=/trunk/; revision=43886
2009-10-31 20:24:33 +00:00
Arch Blackmann
a68c7af143 Start implementing the main parser loop. The tool detects the keywords in the test.klc layout... and that's about all it does for now.
svn path=/trunk/; revision=43885
2009-10-31 20:03:43 +00:00
Arch Blackmann
05e5d17012 Add sample US layout keyboard layout file. Generated with MSKLC by loading the US layout in Windows 7.
svn path=/trunk/; revision=43884
2009-10-31 19:51:27 +00:00
Cameron Gutman
e0cc495270 - Don't disconnect the same socket multiple times (once per TDI_SEND IRP cancelled, once per TDI_RECEIVE IRP cancelled, once per TDI_SEND IRP on a closing socket, and once per TDI_RECEIVE IRP on a closing socket)
- Implement support for graceful socket closure
 - Fix some memory leaks

svn path=/trunk/; revision=43883
2009-10-31 18:46:08 +00:00
Arch Blackmann
932d609e6b Implement opening the layout file and printing out the target DLL architecture. Add missing exit(0).
svn path=/trunk/; revision=43882
2009-10-31 18:43:15 +00:00
Cameron Gutman
fcec7e501b - Implement OskitTCPDisconnect
svn path=/trunk/; revision=43881
2009-10-31 18:15:23 +00:00
Arch Blackmann
8a28e9ff5e Begin implementing Keyboard Layout Compiler Tool, as requested by KJK::Hyperion. This is a UNIX-style (Win32-compatible) command-line tool that will take a standard keyboard layout file (in text) and generate the source, defininition, header and resource data for it. The second part of the tool will spawn off the compiler to build the keyboard DLL, or perhaps generate an .rbuild file to perform the work.
svn path=/trunk/; revision=43880
2009-10-31 18:13:26 +00:00
Johannes Anderwald
514a0e7f08 [KS]
- Add comment for using ms portcls in ReactOS
[WDMAUD_KERNEL]
- Handle error
[SYSAUDIO]
- Fix several bugs in the mixer handling code
- Disable kmixer untill all issues are resolved

svn path=/trunk/; revision=43879
2009-10-31 18:00:05 +00:00
Andrew Hill
24c6ff3165 [includes]
- Fix TestCD
- IDeskBar is only defined when WIN32_IE >= _WIN32_IE_IE60, so ITrackShellMenu should also be defined only when WIN32_IE >= _WIN32_IE_IE60

svn path=/trunk/; revision=43878
2009-10-31 16:59:33 +00:00
Cameron Gutman
05e33d82e8 - Fix translation for OSK_EAGAIN/OSK_EWOULDBLOCK
- Don't clear other socket state flags when enabling non-blocking mode
 - Remove some incorrect code that plays tricks on oskittcp

svn path=/trunk/; revision=43877
2009-10-31 15:53:19 +00:00
Gregor Schneider
03f75c77ed [usetup] Update Italian and Spanish resources too, translations by Gabriel ilardi
svn path=/trunk/; revision=43876
2009-10-31 15:24:00 +00:00
Hervé Poussineau
370e856450 [freeldr/WINLDR] Simplify freeldr.ini syntax for common cases
- If boot type is not specified, autodetect bootsector and Windows types
- Try to automatically detect version of loaded Windows
- Accept boot options after name of OS
- Separate loading and scanning of system hive
As a result, lines like "multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT4" /DEBUG /BREAK" work

svn path=/trunk/; revision=43875
2009-10-31 15:09:03 +00:00
Johannes Anderwald
e65de6eda6 - Start rewrite of DirectSound
- Implemented DirectSoundEnumerateA, DirectSoundEnumerateW, DirectSoundCaptureEnumerateA, DirectSoundCaptureEnumerateW, GetDeviceID
- Partly implemented IDirectSound8 / IDirectSoundCapture8, IDirectSoundCaptureBuffer, primary / secondary IDirectSoundBuffer8 interfaces
- DllRegisterServer / DllUnregisterServer are taken from Wine DSound implementation (John K. Hohm)
- Currently only one primary + secondary buffer are supported for playback
- Mixing of IDirectSoundBuffer is not implemented
- Capture mode isnt yet supported
- Vlc now can use dsound for playback, though stutters in low quality streams are present
- Dsound is not yet added to build untill it has stabilized more

svn path=/trunk/; revision=43874
2009-10-31 14:53:06 +00:00
Gregor Schneider
9a5b0ce12b [usetup] Apply r43870 for German resource file, fix boot loader vs boot sector confusion
svn path=/trunk/; revision=43873
2009-10-31 14:29:38 +00:00
Andrew Hill
8266299b0e [browseui, shell32, explorer_new, include]
- Convert browseui to C++/ATL. As part of this, classes in browseui and now registered with .rgs files.
- Add AddressBand, AddressEditBox, BandProxy, BaseBar, BaseBarSite, BrandBand, InternetToolbar, ShellBrowser, ToolsBand, and TravelLog.
- Add stub implementations of commonbrowser, globalfoldersettings, and regtreeoptions.
- Clean up some msvc compile problems in a few files.
- Reorganize some headers to make them better match the Platform SDK.
- Move InlineIsEqualGUID to guiddef.h.
- Create new header files shlguid_undoc.h, shlobj_undoc.h, and shlwapi_undoc.h to hold undocumented types, functions, and GUIDs.
- Move some undocumented definitions declared in explorer_new/todo.h and undoc.h to new headers.
- Rename a few interfaces in explorer_new to the correct name
- Add definition of RBSTR_CHANGERECT to commctrl.h
- IDeskBarClient inherits from IOleWindow, not IUnknown
- HMONITOR was declared in both dxsdk/axextend.idl and wine/wined3d.idl, but not in wtypes.idl where it belongs
- Added Init and Term to CComModule
- Thanks to encoded for solving the browseui linking problem!

svn path=/trunk/; revision=43872
2009-10-31 14:25:45 +00:00
Stefan Ginsberg
f0b7ff43ff - Don't define the SizePcr entry to the size of the PCR PLUS the PRCB SIZE! The PRCB size is already defined in the SizePrcb entry.
- Likewise, the OffsetPrcbProcStateSpecialReg entry defines the offset to the special registers in the PRCB, not a PCR + PRCB offset + special registers offset! This can only have worked on x86 and AMD64 if WinDbg uses a hard coded offset, but define it correctly anyway.
- The OffsetPcrSelfPcr and OffsetPcrContainedPrcb entries are not applicable for ARM, so define them to 0 for it.

svn path=/trunk/; revision=43871
2009-10-31 13:46:16 +00:00
Aleksey Bragin
8d6e247698 [usetup]
- Change "MBR" to "bootsector", as proposed in bug 4356 by Michael Trausch. Changed languages are English and Russian.

svn path=/trunk/; revision=43870
2009-10-31 13:31:28 +00:00
Johannes Anderwald
650fc71047 - Fix retrieving audio position
svn path=/trunk/; revision=43869
2009-10-31 10:38:25 +00:00
Johannes Anderwald
46c8396918 - Implement looped streaming (needed for dsound bringup)
- Implement GetPosition handler for looped streaming, WIP

svn path=/trunk/; revision=43868
2009-10-31 08:26:26 +00:00
Cameron Gutman
a51c149046 - Add more cases to TCPTranslateError
- Fix a header typo

svn path=/trunk/; revision=43867
2009-10-31 07:34:27 +00:00
Timo Kreuzer
7e2be021f2 Add a number of official win32k pool tags, taken from https://blogs.technet.com/yongrhee/archive/2009/06/24/pool-tag-list.aspx
svn path=/trunk/; revision=43866
2009-10-31 02:10:51 +00:00
Stefan Ginsberg
c32d2da078 ...and fix non-KD build for the rest of you.
svn path=/trunk/; revision=43865
2009-10-31 01:11:43 +00:00
Cameron Gutman
a06fc827da - Make sure the socket is still open before entering oskittcp
- Remove an unused parameter from OskitTCPBind
 - Return a status value from OskitTCPGetAddress
 - Add debug print for unhandled error codes

svn path=/trunk/; revision=43864
2009-10-31 01:05:31 +00:00
Stefan Ginsberg
82bd7858d1 - Add 'simple' implementation of MmDbgCopyMemory to read/write virtual memory in a somewhat safe way (still no support for physical memory). Properly implement KdpCopyMemoryChunks as a wrapper around MmDbgCopyMemory and make most of the remaining unsafe copies use it instead of RtlCopyMemory. This fixes most of the remaining crashes during KD debugging as WinDbg/KD relies on the kernel support to handle bad addresses.
- Stub out the remaining missing global variables for the debugger data block -- fixes some cases of WinDbg failures and gives it a chance to handle errors instead of failing on a NULL read. Several of these variables are for functionality we don't yet implement, so I tried to put them where they are "least wrong". Everything besides the MmLoadedUserImageList variable is left unitialized -- KD should mostly be able to handle this properly.
- Define correctly sized KDDEBUGGER_DATA64 for our kernel (needs to be done in a better way).

svn path=/trunk/; revision=43863
2009-10-31 01:02:35 +00:00
Stefan Ginsberg
c4d8068980 - Clarify a check and don't cast KPCR->GDT to PKIPCR (spotted by Timo).
svn path=/trunk/; revision=43862
2009-10-31 00:39:16 +00:00
Cameron Gutman
43e17b4127 - Implement OskitTCPSetSockOpt and OskitTCPGetSockOpt (currently unused)
svn path=/trunk/; revision=43861
2009-10-31 00:24:38 +00:00
Cameron Gutman
f28d99cab1 - Remove some junk code which does nothing but crash
svn path=/trunk/; revision=43859
2009-10-30 23:39:13 +00:00
Stefan Ginsberg
bb55e9c572 - Fix leftover
svn path=/trunk/; revision=43856
2009-10-30 22:15:50 +00:00
Stefan Ginsberg
e90168e57e - Restructure HAL bus routines a bit.
- Fix some incorrect HAL types and add some that were missing.

svn path=/trunk/; revision=43855
2009-10-30 22:07:26 +00:00
Hervé Poussineau
36c3408fb1 [freeldr] Move custom.c, drivemap.c/h, miscboot.c/h to i386 directories
svn path=/trunk/; revision=43854
2009-10-30 21:48:21 +00:00
Johannes Anderwald
3fa52b7b78 - Check Input Parameter (fixes a skype crash)
svn path=/trunk/; revision=43853
2009-10-30 18:51:40 +00:00
Johannes Anderwald
71c02de01b - Fix a broken cast (x64 compability)
svn path=/trunk/; revision=43850
2009-10-30 15:36:55 +00:00
Timo Kreuzer
e72570afce [WIN32K]
EngCopyBits: Use goto cleanup / break instead of code duplication, fix leaking a bits lock, if the rect function fails, remove abundant MouseSafetyOnDrawEnd

svn path=/trunk/; revision=43849
2009-10-30 15:22:57 +00:00
Timo Kreuzer
38a5ae755f [FORMATTING]
- apply consistent indentattion of 4 spaces
- remove () from return statements

svn path=/trunk/; revision=43848
2009-10-30 15:00:08 +00:00
Timo Kreuzer
0fcc297839 [WIN32K]
Lock the DIB palette in NtGdiSetDIBitsToDeviceInternal instead of passing NULL to EXLATEOBJ_vInitialize. Fixes LightBox Editor regression (bug 4913 )

svn path=/trunk/; revision=43846
2009-10-30 14:02:42 +00:00
Michael Martin
95e552de39 [msi]
- Schedule a rename operation also for ERROR_USER_MAPPED_FILE. Prevents msi from aborting an install when attempting to overwrite font files. Open Office should now install successfully.

svn path=/trunk/; revision=43845
2009-10-30 12:53:19 +00:00
Cameron Gutman
dbd53d6738 - Don't convert the host name to lower case
svn path=/trunk/; revision=43844
2009-10-30 04:29:38 +00:00
Cameron Gutman
92f8240011 - Header updates for winsock rewrite
svn path=/trunk/; revision=43834
2009-10-29 20:56:47 +00:00
Stefan Ginsberg
9f6cba21d3 - Missed this file
svn path=/trunk/; revision=43833
2009-10-29 20:10:29 +00:00
Stefan Ginsberg
be8d9f285f - INITIAL_STALL_COUNT makes more sense in decimal (100) than hex (0x64) so define it that way.
- Protect CMOS access with the CMOS spinlock.
- Add CMOS initialization to set up the default value of the CMOS century byte offset (not used yet).
- Stub out profile interrupt support in HAL. Register and stub out the profile interrupt handler, but don't handle it yet as vital parts of the rest of the implementation is missing.
- Fix several bugs in the kernel profile implementation:
  - Don't hardcode to PROFILE_LEVEL when raising IRQL : HAL can override this, so use KiProfileIrql. Also, starting/stopping profile interrupts must be done at the profile IRQL, so don't lower it back before calling HAL, which is now enabled.
  - Fix KeSet/QueryIntervalProfile to properly set/query profile intervals through HAL -- pass the correct structures and handle the ProfileAlignmentFixup case properly, and call HAL when setting the timer interval as the interval may be overridden by it.
  - KeStartProfile returns BOOLEAN to tell if the profile was started or not, just like KeStopProfile.
- Make the interrupt implementation more portable for non-PIC architectures.
- Fix HalSystemVectorDispatchEntry; it returns a type (UCHAR), not TRUE/FALSE (BOOLEAN).
- Begin implementing the framework for querying HAL resource usage (keeping track of internal address space and vector registrations/usage).

svn path=/trunk/; revision=43832
2009-10-29 19:58:41 +00:00
Ged Murphy
dca090ba4c undef min & max so they don't override the numeric_limits template methods
svn path=/trunk/; revision=43831
2009-10-29 18:54:21 +00:00
Sylvain Petreolle
9127411fdf silence debug
svn path=/trunk/; revision=43830
2009-10-29 18:28:27 +00:00
Stefan Ginsberg
24bb32e038 - Re-enable some debug prints for unsupported hardware features and make them consistent.
svn path=/trunk/; revision=43829
2009-10-29 18:26:22 +00:00
Stefan Ginsberg
bec72fa6a7 - Implement the ThreadDescriptorTableEntry case for NtQueryInformationThread. This is required for the GetThreadSelectorEntry routine used by user mode debuggers.
- #if out some x86-only LDT code from PS and move it to psldt.c.

svn path=/trunk/; revision=43827
2009-10-29 10:04:15 +00:00
Johannes Anderwald
7590cdb16d - Silence debug garbage
svn path=/trunk/; revision=43826
2009-10-29 08:28:03 +00:00
Dmitry Gorbachev
e5ca9dd8e3 Remove byte order mark.
svn path=/trunk/; revision=43823
2009-10-28 23:53:50 +00:00
Dmitry Gorbachev
f2e942714d Patch for Regional Settings applet by Viliam Lejcik (lejcik/at/gmail/com) with some changes. Bug #4898.
svn path=/trunk/; revision=43821
2009-10-28 23:20:28 +00:00
Stefan Ginsberg
b0688f07ec - Merge 43818 to trunk.
- Don't return any data for DbgKdSetBusDataApi either. 

svn path=/trunk/; revision=43819
2009-10-28 21:49:58 +00:00
Dmitry Gorbachev
c9c4571300 - Add missing svn:eol-style properties.
- Use consistent newline style.
- Update file COPYING.

svn path=/trunk/; revision=43817
2009-10-28 20:13:23 +00:00
Sylvain Petreolle
008b7c72d8 forgot to include winmm winetest on testcd
svn path=/trunk/; revision=43816
2009-10-28 18:51:17 +00:00
Johannes Anderwald
ad29b7974d - Silence wdmaud.drv
svn path=/trunk/; revision=43815
2009-10-28 18:42:24 +00:00
Sylvain Petreolle
c021918e36 add winmm winetest
svn path=/trunk/; revision=43811
2009-10-28 15:15:59 +00:00
Aleksey Bragin
41b71cf811 [fastfat_new]
- Implement overwrite/supersede operations on an existing FCB, no on-disk writing yet.

svn path=/trunk/; revision=43809
2009-10-28 11:29:34 +00:00
Christoph von Wittich
d3b074aa2c sync widl to wine 1.1.32
svn path=/trunk/; revision=43808
2009-10-28 11:28:26 +00:00
Johannes Anderwald
1f28d44b07 Add StringFromIID prototype
svn path=/trunk/; revision=43807
2009-10-28 11:19:25 +00:00
Aleksey Bragin
5275a28717 [fastfat_new]
- FatCreateCcb takes no parameters, so don't pass any. Spotted by Stefan's msvc.

svn path=/trunk/; revision=43806
2009-10-28 10:18:57 +00:00
Christoph von Wittich
3df137895d add ac97 as optional
svn path=/trunk/; revision=43805
2009-10-28 10:16:17 +00:00
Johannes Anderwald
6208fa37f3 The winner of the 1st ReactOS Logon Sound contest has been elected. It is irc:LoneRifle (alwyn-dot-tan-at-gmail-dot-com) Congratulations
- See http://www.reactos.org/forum/viewtopic.php?f=2&t=7339 for more details

svn path=/trunk/; revision=43804
2009-10-28 09:21:18 +00:00
James Tabor
8a57208aae - [User32] Update MenuShowPopup with wine and add menu check for MenuTrackMenu. MenuTrackMenu menu check fixed the first stop with wine menu test.
svn path=/trunk/; revision=43803
2009-10-28 01:43:59 +00:00
Daniel Reimer
7fcc966e35 A dozen of Rapps Updates. Thx to Victor Martinez for fixing many dl links..
svn path=/trunk/; revision=43802
2009-10-28 00:18:45 +00:00
Timo Kreuzer
4869ba0006 Sync kdcom from amd64 branch
svn path=/trunk/; revision=43801
2009-10-27 23:38:56 +00:00
Timo Kreuzer
0cf8717f6d merge r43777 from amd64 branch
svn path=/trunk/; revision=43800
2009-10-27 23:28:17 +00:00
Johannes Anderwald
b53f1051ec [WDMAUD.DRV][MMEBUDDY]
- Implement support for DRV_QUERYDEVICEINTERFACESIZE, DRV_QUERYDEVICEINTERFACE for recording / mixer / midi-in midi-out


svn path=/trunk/; revision=43799
2009-10-27 23:28:09 +00:00
James Tabor
6185365441 - Move TI flages to main header file.
svn path=/trunk/; revision=43796
2009-10-27 19:02:02 +00:00
Christoph von Wittich
d12cc30898 [rapps]
install Firefox 3.0.15 instead of 3.0.13

svn path=/trunk/; revision=43795
2009-10-27 18:45:58 +00:00
Stefan Ginsberg
3cc202c54d Release atsmedia.h, ddkernel.h, dmemmgr.h, dvp.h, ntstrsafe.h, objerror.h and polarity.h into the public domain -- Alex (ntstrsafe.h) and Magnus (the other headers) have agreed to this.
svn path=/trunk/; revision=43794
2009-10-27 16:27:33 +00:00
Johannes Anderwald
3557056c44 - Add missing types
svn path=/trunk/; revision=43793
2009-10-27 15:33:58 +00:00
Johannes Anderwald
d42f65b7f8 - Fix a heap corruption at process shutdown
- Found by irc:encoded

svn path=/trunk/; revision=43791
2009-10-27 12:19:33 +00:00
Dmitry Gorbachev
145fbbd116 - Update address of Free Software Foundation.
- Update obsolete LGPL v2 to LGPL v2.1.

svn path=/trunk/; revision=43790
2009-10-27 10:34:16 +00:00
Stefan Ginsberg
838ed7f31a - Replace broken implementation of HalpCalibrateStallExecution with a new implementation by a mysterious HAL ninja and myself. The old implementation calculated the stall count factor incorrectly and produced bogus results that were off by several thousand, and varied by as much for each boot, and can best be described as "rand() made complicated". The new implementation installs its own RTC interrupt handler to accurately calculate the stall scale factor, all done in assembler instead of broken C. Fixes the hang at boot when initializing Uniata as stalls no longer takes 10 times or more as long to execute then they should.
svn path=/trunk/; revision=43789
2009-10-27 01:03:41 +00:00
Johannes Anderwald
47b50e1e0b [WDMAUD.DRV][WDMAUD_KERNEL][MMEBUDDY]
- Implement support for DRV_QUERYDEVICEINTERFACESIZE, DRV_QUERYDEVICEINTERFACE
- Required for DSound support

svn path=/trunk/; revision=43788
2009-10-26 23:10:05 +00:00
Cameron Gutman
48c283f6e6 - Add UltraVNC to the rapps list
- The VNC client works very well in ROS

svn path=/trunk/; revision=43787
2009-10-26 21:39:00 +00:00
Johannes Anderwald
1211cabfad - Implement reading preferred playback / record device
svn path=/trunk/; revision=43784
2009-10-26 19:40:21 +00:00
Johannes Anderwald
96323feab4 - Revert 43774
svn path=/trunk/; revision=43783
2009-10-26 19:32:25 +00:00
James Tabor
d2d4152255 - Fix wine class test with a sync with wine edit.c.
svn path=/trunk/; revision=43782
2009-10-26 18:26:48 +00:00
Sylvain Petreolle
8214c072df fix wavemapper path
svn path=/trunk/; revision=43780
2009-10-26 13:54:46 +00:00
Johannes Anderwald
faf5c1a06b - Add an initial stub of DSound
svn path=/trunk/; revision=43774
2009-10-26 10:54:05 +00:00
Giannis Adamopoulos
0a1284cd40 We should send WM_SYSCOMMAND when we get a WM_SYSKEYUP , not when we get a WM_SYSKEYDOWN message
svn path=/trunk/; revision=43773
2009-10-26 08:53:47 +00:00
Christoph von Wittich
a186a11520 implement IntKeyboardInput based on wine
svn path=/trunk/; revision=43772
2009-10-26 08:50:00 +00:00
Cameron Gutman
ddeb261349 - Comment out this unused code until I can get the headers sorted out in my WC
svn path=/trunk/; revision=43771
2009-10-26 03:28:43 +00:00
Cameron Gutman
5a3d389400 - Forgot this file
svn path=/trunk/; revision=43769
2009-10-26 03:19:30 +00:00
Cameron Gutman
79e704337b - Update AFD's shared header
- Add entity type check for IF_MIB_STATS_ID
 - Sort out some confusion with TDI entities
 - Implement IOCTL_AFD_GET_CONTEXT_SIZE
 - Enable debug prints for unimplemented ioctls
 - Add kernel-mode support for setting TTL

svn path=/trunk/; revision=43767
2009-10-26 03:11:44 +00:00
Johannes Anderwald
85cbe2887b [WDMAUD.DRV]
- Set the audio pin to KSSTATE_RUN if it is wave-out pin
- Implement support for manually starting / stopping a pin, which is used for recording
[WINMM]
- Add a hack for handling requests with WAVE_MAPPER
[PORTCLS]
- Pass correct flags to KsProbeStreamIrp when the irp has not already been probed (DirectKs)
[WDMAUD]
- Set correct irp dispatch code
[SYSAUDIO]
- Remove a hack
[MMEBUDDY]
- Return no error for MXDM_INIT message
- Add support for completing multiple wave headers at once
- Use new functions to implement WIDM_START / WIDM_STOP
- ReactOS now "supports" wave in recording. Tested with Audacity / sndrec32 @ XP, WIP


svn path=/trunk/; revision=43765
2009-10-26 00:15:22 +00:00
Dmitry Gorbachev
fe966a972d Japanese font. Based on Misaki font by Num Kadoma (num_kadoma/at/yahoo/co/jp).
Copyright (C) 2002-2008 Num Kadoma

This font is free software.

Unlimited permission is granted to use, copy, and distribute it, with
or without modification, either commercially or noncommercially.

THIS FONT IS PROVIDED "AS IS" WITHOUT WARRANTY.

svn path=/trunk/; revision=43764
2009-10-25 23:46:45 +00:00
Sylvain Petreolle
81530ee244 fix "no newline at end of file" errors
svn path=/trunk/; revision=43762
2009-10-25 23:10:28 +00:00
Timo Kreuzer
51afa0b7be remove unused file
svn path=/trunk/; revision=43758
2009-10-25 22:04:32 +00:00
Christoph von Wittich
e818f18502 -sync rsaenh_winetest with wine 1.1.32
svn path=/trunk/; revision=43756
2009-10-25 21:16:33 +00:00
Christoph von Wittich
a0951dacc4 -sync rsaenh with wine 1.1.32
svn path=/trunk/; revision=43755
2009-10-25 21:16:15 +00:00
Christoph von Wittich
14c61c9004 partial kernel32 GetLocaleInfo sync to wine 1.1.32
svn path=/trunk/; revision=43754
2009-10-25 21:02:58 +00:00
Christoph von Wittich
cec5cdfa8d -sync user32_winetest with wine 1.1.32
svn path=/trunk/; revision=43752
2009-10-25 20:32:13 +00:00
Christoph von Wittich
0ed9c0cca3 -sync msxml3 with wine 1.1.32
svn path=/trunk/; revision=43751
2009-10-25 20:21:51 +00:00
Christoph von Wittich
c7b2548293 -sync netapi32 with wine 1.1.32
svn path=/trunk/; revision=43750
2009-10-25 19:24:08 +00:00
Gregor Schneider
5b1a765b54 [win32k] Stub out page to device space conversion, fixes three more gdi32 mapping winetests
svn path=/trunk/; revision=43749
2009-10-25 18:49:08 +00:00
Johannes Anderwald
77c67054c7 - Make sure that no duplicate wdmaud.drv audio drivers exists as winmm currently not recognizes duplicate audio driver entries
svn path=/trunk/; revision=43748
2009-10-25 18:22:03 +00:00
Johannes Anderwald
acd8b06824 - Partially sync winmm
- Remove unused code
- Fix function headers

svn path=/trunk/; revision=43747
2009-10-25 17:54:50 +00:00
Christoph von Wittich
8fd3137277 partially sync kernel32 profile to wine 1.1.32
svn path=/trunk/; revision=43746
2009-10-25 17:28:35 +00:00
Gregor Schneider
cae8c23a9f [win32k] GetTransform:
- Add support for more transforms
- Fix return value for invalid/unsupported transform types
- Fixes 10 gdi32 mapping winetests

svn path=/trunk/; revision=43745
2009-10-25 17:23:19 +00:00
Christoph von Wittich
abc34f7dad -sync kernel32_winetest with wine 1.1.32
svn path=/trunk/; revision=43744
2009-10-25 16:21:40 +00:00
Christoph von Wittich
01a9e7493e add define for LOCALE_RETURN_GENITIVE_NAMES
svn path=/trunk/; revision=43743
2009-10-25 16:20:45 +00:00
Christoph von Wittich
b882f99c77 better stub for RtlQueryHeapInformation (taken from wine)
svn path=/trunk/; revision=43742
2009-10-25 16:20:00 +00:00
Stefan Ginsberg
eae6521fb2 - DBGKD_WAIT_STATE_CHANGE64 is used in KD protocol 5, not number 6 that we use. Protocol 6 uses the DBGKD_ANY_WAIT_STATE_CHANGE structure which is sized according to the largest control-report structure (AMD64_DBGKD_CONTROL_REPORT currently), and is larger than DBGKD_WAIT_STATE_CHANGE64 on x86. This worked because our DBGKD_WAIT_STATE_CHANGE32/64 structures contained incorrect DBGKD_CONTROL_REPORT (used) and CONTEXT (unused) members that sized up the wait-state structure to pass WinDbg's length verification! It actually becomes larger than DBGKD_ANY_WAIT_STATE_CHANGE, but WinDbg only seems bail out only if the structure is too small. Remove the incorrect members from the protocol 5 structures and change to DBGKD_ANY_WAIT_STATE_CHANGE everywhere.
- Correct the value of SIZE_OF_FX_REGISTERS -- it was 4 times too low which resulted in KeContextToTrapFrame not properly clearing out the XMM register area. Correct the define and move it out from ke.h to x86's ketypes.h and use it in the FXSAVE format structure. Also remove the IOPM definitions from ke.h as they have been in the NDK for a while.
- KD uses STRINGs, not ANSI_STRINGs -- they are the same thing, but let's be consistent.
- ExceptionRecord32To64 should be available for both 32 and 64 bit builds (and it shouldn't be a forceinline). Get rid of CopyExceptionRecord and determine if we need to convert or can just copy it directly instead.
- Use _WIN64 instead of _M_AMD64 when determining if we need to set the DBGKD_VERS_FLAG_PTR64 flag.
- Don't check Nt/DbgQueryDebugFilterState for zero or nonzero -- it actually returns TRUE, FALSE or STATUS_INVALID_PARAMETER_1! Check for != TRUE in preparation for proper implementation of NtSet/QueryDebugFilterState.
- Fix Format parameter of DbgPrintReturnControlC -- it is const like the other DbgPrint* routines.
- Be consistent with the types used in debug.c and don't set local variables to zero if we are going to return to caller -- this doesn't seem to be required anymore. 
- Fix DebugService and DebugService2: DebugService should take a ULONG followed by 4 pointers and DebugService2 doesn't return anything.
- Use ZwCurrentProcess() instead of -1 or 0xFFFFFFFF (which is incorrect for 64-bit) for the ProcessId parameter of DbgLoad/UnloadImageSymbols to clarify what is being passed. Don't use ZwCurrentProcess() in KeBugCheckWithTf for the pointer parameter of DbgUnLoadImageSymbols either. Use MAXULONG_PTR casted to PVOID instead.
- Use better named and sized variables in KdpTrap for setting the "return register" in the caller's CONTEXT.
- Correct and clarify the comment documenting under what conditions we pass user mode exceptions to the kernel debugger.

svn path=/trunk/; revision=43741
2009-10-25 15:56:38 +00:00
Christoph von Wittich
522564186c -sync cabinet with wine 1.1.32
svn path=/trunk/; revision=43740
2009-10-25 13:45:15 +00:00
Christoph von Wittich
206c0a4f49 don't crash in msi install winetest
svn path=/trunk/; revision=43737
2009-10-25 11:14:03 +00:00
Christoph von Wittich
83e2004b73 -sync msi_winetest with wine 1.1.32
svn path=/trunk/; revision=43736
2009-10-25 11:06:38 +00:00
Christoph von Wittich
b7a13d7347 -sync msi with wine 1.1.32
svn path=/trunk/; revision=43735
2009-10-25 11:06:09 +00:00
Giannis Adamopoulos
6562d206a7 Sync DrawText funtions with wine 1.1.32
Fixes all user32 text tests

svn path=/trunk/; revision=43734
2009-10-25 09:32:01 +00:00
Christoph von Wittich
88d1bac025 partial wine sync to 1.1.32:
wininet: Avoid accessing uninitialized memory.

svn path=/trunk/; revision=43733
2009-10-25 08:52:54 +00:00
Cameron Gutman
6d9bb99627 - Fix sending malformed ICMP packets because we read the wrong length from the wrong address in the buffer
- Fix the sequence number stored in the packet
 - Fix potential null pointer freeing
 - tracert partially works now (Setting TTL isn't implemented yet)

svn path=/trunk/; revision=43732
2009-10-25 04:30:28 +00:00
Cameron Gutman
fcb80fec6e - Start the sequence number at 1 instead of 0
svn path=/trunk/; revision=43731
2009-10-25 03:48:15 +00:00
Aleksey Bragin
0f288316c0 [fastfat_new]
- Fix FF_Free warning.

svn path=/trunk/; revision=43725
2009-10-24 21:05:42 +00:00
Stefan Ginsberg
f8fd318e35 - Fix a sneaky breakage of MSVC built kernels. "i386" is a gcc define and we don't define it in the makefiles.
svn path=/trunk/; revision=43724
2009-10-24 20:44:43 +00:00
Cameron Gutman
ebaa2b818d - Implement SetIpNetEntry in iphlpapi and InfoTdiSetArptableMIB in tcpip
- Added buffer size checks for InfoTdiSetRoute
 - "arp -s" works now

svn path=/trunk/; revision=43723
2009-10-24 20:39:41 +00:00
Stefan Ginsberg
ff318c3207 - Don't put PAGED_CODE() before variable declarations -- this makes MSVC very, very sad. Reformat and clean up the code a bit too.
svn path=/trunk/; revision=43722
2009-10-24 20:35:10 +00:00
Daniel Reimer
425c1da665 chinese Translations by Elton Chung.
svn path=/trunk/; revision=43721
2009-10-24 19:27:51 +00:00
Daniel Reimer
9848a8409d Sync wordpad and winhlp32 to Wine 1.1.31
Update 3rd Party Files.txt

svn path=/trunk/; revision=43719
2009-10-24 17:23:52 +00:00
Sylvain Petreolle
cba092a5a3 - Add reg.exe from Wine 1.1.31
svn path=/trunk/; revision=43718
2009-10-24 15:23:45 +00:00
Sylvain Petreolle
3a8773297f add missing checks
fixes winmm:mixer crash

svn path=/trunk/; revision=43717
2009-10-24 15:13:30 +00:00
Dmitry Chapyshev
e7fe9eb96e - Fix Russian translation
svn path=/trunk/; revision=43716
2009-10-24 14:34:11 +00:00
Kamil Hornicek
0601bc5633 - merge some of the more meaningful stuff from the reactx branch
svn path=/trunk/; revision=43715
2009-10-24 14:09:48 +00:00
Dmitry Chapyshev
580d28894c - Add reg.exe from Wine 1.1.31
svn path=/trunk/; revision=43714
2009-10-24 13:32:45 +00:00
Dmitry Chapyshev
51a5e344d6 - Add runonce.exe to bootcd
svn path=/trunk/; revision=43712
2009-10-24 13:15:38 +00:00
Dmitry Chapyshev
a7ebc6bd5c - Add some registry keys (like in Windows)
svn path=/trunk/; revision=43711
2009-10-24 13:13:20 +00:00
Dmitry Chapyshev
5325ee5eee - Add samplify runonce.exe utility
svn path=/trunk/; revision=43710
2009-10-24 12:58:07 +00:00
Gregor Schneider
5cb190acc6 [kernel32] Check for valid atom, fixes the remaining eight kernel32 atom winetests
svn path=/trunk/; revision=43709
2009-10-24 11:51:33 +00:00
Sylvain Petreolle
0b487b45aa "<@Christoph_vW> please commit something" -- aye sir
svn path=/trunk/; revision=43707
2009-10-24 09:57:37 +00:00
Stefan Ginsberg
0cc20f2021 "<@Christoph_vW> please commit something" -- aye sir
svn path=/trunk/; revision=43706
2009-10-23 23:29:49 +00:00
Stefan Ginsberg
10bbe664b7 - Replace RtlpGetExceptionAddress by the _ReturnAddress intrinsic and add it to ARM intrin.h as it was missing.
- Simplify RtlpCheckForActiveDebugger: Remove the BOOLEAN parameter as we would always pass it FALSE. Always return FALSE false from kernel mode for simplicity.
- Fix a critical flaw in our exception support: RtlRaiseException and RtlRaiseStatus were implemented in C on x86. This lead to unpredictable register corruption because the compiler could not know that it had to preserve non-volatile registers before calling RtlCaptureContext as the saved context is later used to restore the caller in case the exception is handled and execution is continued. This made the functions unsafe to return from as any non-volatile register could be corrupted. Implement them in assembly for x86 to safely capture the context using only EBP and ESP. The C versions of those routines are still used and shared for the other architectures we support -- needs to be determined if this is safe and correct for those architectures.
- The ntdll exception Wine exposed this issue, and all tests now pass. The remaining failures on the build server are caused by missing or incomplete debug register support in KVM/QEMU. Run the test in another VM or on real hardware and all the tests will pass.
- Implement Debug Prompt (DbgPrompt) support for KD and KDBG. The KDBG implementation reads the prompt from keyboard or serial depending on the mode so that sysreg and rosdbg can support it too.
- Properly implement RtlAssert using DbgPrompt to prompt for the action to take instead of always doing a breakpoint. The new implementation is disabled until sysreg can support this. Also move RtlAssert to its own file as it has nothing to do with the error routines (nor does it belong in exception.c).
- Note that DbgPrompt was already used in PspCatchCriticalBreak, and this would have resulted in a silent hang as BREAKPOINT_PROMPT wasn't handled at all by KDBG.
- Implement KiRaiseAssertion (10 lines of code with the trap macros) and thus support NT_ASSERT. Add partial support for it to KDBG to print out a warning and the address of the failure, but don't do anything else. Also add NT_ASSERT to the DDK headers so that we can use it, but don't use it yet as the ARM method of performing this has not been decided nor implemented.
- KiTrap3 doesn't set STATUS_SUCCESS but BREAKPOINT_BREAK. They have the same numerical value but very different meaning -- BREAKPOINT_BREAK means that the exception is a software breakpoint and not a debug service call. Fix some comments to document that this is what is checked for.
- Fix inverted and broken logic in KdpReport. It would never pass second chance exceptions to the debugger, didn't respect the stop-on-exception flag properly and would always fail to handle some special exceptions in both first and second chance instead of just failing to handle it in first chance. Clean up, reformat and document what is going on.
- The DebugPrint and DebugPrompt support routines only perform a 2D interrupt on x86; use more portable comments.
- Add Alex to the programmer section of x86's kdsup.c -- he wrote KdpGetStateChange, KdpSetContextState and the code that was previously in KdpRead/WriteControlSpace.
- Add my name to the parts of KD where I have made significant work on getting KD/WinDbg support up and running.
- KD debugging is now quite functional and stable. Some bugs and stubs remain to be flushed out, but overall KD is now much better and easier to use than KDBG.

svn path=/trunk/; revision=43705
2009-10-23 22:51:39 +00:00
Johannes Anderwald
9ca2385ce2 - Fix build
- Found by Christoph

svn path=/trunk/; revision=43704
2009-10-23 22:21:03 +00:00
Johannes Anderwald
b4018f21e9 - Make sure string is null terminated
- Copy all required fields for WaveIn devices
- Use double of the reported FrameSize to increase audio playback performance

svn path=/trunk/; revision=43703
2009-10-23 21:53:25 +00:00
Christoph von Wittich
75b317922f update kvm virtio driver filenames
svn path=/trunk/; revision=43701
2009-10-23 21:15:55 +00:00
Lucas Suggs
148016a73d First push of nslookup implementation.
svn path=/trunk/; revision=43700
2009-10-23 17:25:05 +00:00
Aleksey Bragin
1e7aa70379 [rtl]
- Fix incorrect leap year days checking condition, spotted by Gabriel Iliardi.
See issue #4917 for more details.

svn path=/trunk/; revision=43698
2009-10-23 13:19:36 +00:00
Cameron Gutman
612660aeee - Limit the number of interrupts that are handled per call to MiniportHandleInterrupt to prevent us from staying at DISPATCH_LEVEL for too long
svn path=/trunk/; revision=43693
2009-10-23 00:27:00 +00:00
Cameron Gutman
0fba4d8f11 - Move the DstAddress check above the NCE modification code so we don't use ARP requests that aren't addressed to us
- Fixes bug 4879

svn path=/trunk/; revision=43692
2009-10-22 19:08:02 +00:00
Stefan Ginsberg
80078ade2b - Fix 43192 -- MAXUINT and MAXULONGLONG are only defined for Vista and later.
- Add some leftover MAXULONG.

svn path=/trunk/; revision=43691
2009-10-22 18:27:17 +00:00
Timo Kreuzer
aa43316443 revert the KD_CONTEXT change
svn path=/trunk/; revision=43690
2009-10-22 15:25:37 +00:00
Timo Kreuzer
8e9a646867 fix build
svn path=/trunk/; revision=43689
2009-10-22 15:15:07 +00:00
Timo Kreuzer
4d06b94a31 [KDCOM]
- Merge r43682
- Copy new kdcom from amd64 branch. It's only built when _WINKD_ is set to 1 in the config file.
Happy testing.

svn path=/trunk/; revision=43688
2009-10-22 14:58:33 +00:00
Andrew Hill
7a50eb63fc [shell32]
- hKey is already properly closed, don't close it again.

svn path=/trunk/; revision=43679
2009-10-22 02:29:01 +00:00
Cameron Gutman
ce81b8dba4 - Send DHCP discover after loading the configuration so we have valid options
- Fixes erratic behavior with certain DHCP servers

svn path=/trunk/; revision=43678
2009-10-22 00:55:45 +00:00
Stefan Ginsberg
3a16c5a061 - Don't use KeBugCheck(0) -- 0 is an invalid bugcode. Use a proper bugcode, DbgBreakPoint or UNIMPLEMENTED instead depending on how the old call was used.
- Remove some unused and deprecated macros from the network stack that did this.
- fastfat_new: Use FAT_FILE_SYSTEM instead of magic 0x23.

svn path=/trunk/; revision=43673
2009-10-21 17:52:11 +00:00
Benedikt Freisen
f2e66d0408 [PAINT] cleanup:
- formatting for enhanced readability
- removal of superfluous variables/assignments
- corrected or added header comment in all files
- change if ... else ... to ?-operator where sensible and readable
- small bugfix in mouse.c concerning rectangle drawing
- fixed some possible string buffer overruns

svn path=/trunk/; revision=43671
2009-10-21 15:44:31 +00:00
Johannes Anderwald
9647ae1f0c - Fix download path as file system doesnt support '?' and rapps isnt checking for this
svn path=/trunk/; revision=43670
2009-10-21 10:25:28 +00:00
Johannes Anderwald
67128c15bc - Fix downloard url
svn path=/trunk/; revision=43669
2009-10-21 10:13:23 +00:00
Johannes Anderwald
f04194f791 [NTOSKNRL]
- Enhance DebugPrint by Stefan Ginsberg

svn path=/trunk/; revision=43668
2009-10-21 09:11:36 +00:00
Johannes Anderwald
f3111fdafd - Fix building on linux
- Patch by Filip Navara

svn path=/trunk/; revision=43667
2009-10-21 07:55:11 +00:00
Johannes Anderwald
ad561fc082 - Fix a lock release leak
- By Russel Rice (IRC: Russel) rtc _ marine /@\ hotmail -dot- -com-

svn path=/trunk/; revision=43666
2009-10-21 07:45:33 +00:00
Johannes Anderwald
6793ef9a7c [PORTCLS]
- Implement support for submitting multiple stream headers at once
- Return correct status code on error
[WDMAUD_KERNEL]
- Save correct length

svn path=/trunk/; revision=43665
2009-10-21 06:34:24 +00:00
Cameron Gutman
a5f9cb6d11 - Don't allocate a buffer if we don't have any neighbors
svn path=/trunk/; revision=43664
2009-10-21 03:49:44 +00:00
Cameron Gutman
9eeae0e826 - Fix an issue that broke ARP replies because we compared the source address with our address instead of the destination address with our address
- What ended up happening was the router saved our gratuitous ARP hw address which allowed communication until it sent an ARP request which we would discard instead of replying to it, so the network connection would drop unexpectedly. "ipconfig /renew" was a temporary fix because it caused another gratuitous ARP packet to be sent and readded our hw address to the router's cache
 - This should be the last major issue with running in bridged mode

svn path=/trunk/; revision=43663
2009-10-21 02:16:03 +00:00
James Tabor
3d8adae467 - [User32] Rein Klazes : Handle MN_GETHMENU in PopupMenuWndProc.
- [PSDK] Add MN_GETHMENU.

svn path=/trunk/; revision=43661
2009-10-21 00:20:00 +00:00
Christoph von Wittich
7ed3595ed8 -sync mapi32 with wine 1.1.31
svn path=/trunk/; revision=43660
2009-10-20 21:40:47 +00:00
Christoph von Wittich
84b898626f -sync mapi32_winetest with wine 1.1.31
svn path=/trunk/; revision=43659
2009-10-20 21:40:20 +00:00
Dmitry Gorbachev
78fe075215 Change base address of User32 DLL to avoid bug #4908.
svn path=/trunk/; revision=43658
2009-10-20 21:03:47 +00:00
Christoph von Wittich
75b56cce43 -sync mshtml_winetest with wine 1.1.31
svn path=/trunk/; revision=43657
2009-10-20 19:28:26 +00:00
Christoph von Wittich
ed7ac63c3c -sync mshtml with wine 1.1.31
svn path=/trunk/; revision=43656
2009-10-20 19:28:02 +00:00
Gregor Schneider
59245c6725 [gdi32] Prevent possible buffer overrun in TranslateCharsetInfo, see wine bug 19819 for more info
svn path=/trunk/; revision=43655
2009-10-20 18:34:22 +00:00
Aleksey Bragin
64b8e965ef [fastfat_new]
- Increase FCB's OpenCount when opening existing FCB too.
- Properly compare prefixes in FatInsertName.
- Fix a copypaste bug which resulted in an infinite loop while traversing a splay tree of FCB names.
- Implement FatiQueryFsSizeInfo.

svn path=/trunk/; revision=43654
2009-10-20 17:45:59 +00:00
Stefan Ginsberg
ca9d484be7 - Add several missing assertions documented on the MSDN page "Checked Build ASSERTs"
- Fix a typo in MmProbeAndLockPages; assignment within an ASSERT isn't such a good idea! (was harmless though)

svn path=/trunk/; revision=43653
2009-10-20 16:47:01 +00:00
Dmitry Gorbachev
fd33db1896 Fix deprecated conversion from string constant to 'wchar_t*'
svn path=/trunk/; revision=43652
2009-10-20 16:37:51 +00:00
Dmitry Gorbachev
30370a4ecf Move the sacred texts of (L)GPL to the proper place.
svn path=/trunk/; revision=43650
2009-10-20 15:19:34 +00:00
Aleksey Bragin
fbdbf9adb7 - Fix dgorbachev's copypasta.
svn path=/trunk/; revision=43649
2009-10-20 14:46:02 +00:00
Giannis Adamopoulos
d3b95aa689 Fix two user32 resource tests
svn path=/trunk/; revision=43648
2009-10-20 14:42:08 +00:00
Dmitry Gorbachev
d1fe1b42ec Fix build.
svn path=/trunk/; revision=43647
2009-10-20 14:33:31 +00:00
Aleksey Bragin
c013577df5 [fastfat_new]
- Implement root directory open operation.
- Add OpenCount counter to FCB.

svn path=/trunk/; revision=43646
2009-10-20 12:51:13 +00:00
Andrew Hill
dc333c6ad4 [atlnew]
- Initial checkin of minimal atl library
- To prevent conflicts with wine atl dll, this library is named atlnew

svn path=/trunk/; revision=43645
2009-10-20 12:26:51 +00:00
Aleksey Bragin
eb5cc63a28 [fastfat_new]
- Fix an incorrectly placed closing bracket which resulted in ignoring almost all actions when performing relative open. This results in a massive reformatting of FatiCreate.

svn path=/trunk/; revision=43644
2009-10-20 12:03:51 +00:00
Aleksey Bragin
108af8baae [fastfat_new]
- When creating a DCB with a known file handle, always build a full file name, because FullFAT opening code always needs a full name.
- Fix debug prints (%Z -> %wZ).

svn path=/trunk/; revision=43643
2009-10-20 10:32:37 +00:00
Aleksey Bragin
dc040195a0 [fastfat_new]
- From the moment of statically linking to FullFAT library this driver is infected by GPLv3. Fix headers accordingly.

svn path=/trunk/; revision=43642
2009-10-20 10:12:49 +00:00
Aleksey Bragin
4f4bec88a5 [fastfat_new]
- Cleanup the source code from parts which aren't needed anymore (after switching to FullFAT library usage). About 40kb of source code removed.

svn path=/trunk/; revision=43641
2009-10-20 10:02:27 +00:00
Aleksey Bragin
87f0ae4ac5 [ntoskrnl/mm/ARM3]
- Rewrite MmPageEntireDriver in a better way, fix bugs.

svn path=/trunk/; revision=43640
2009-10-20 09:53:29 +00:00
Michael Martin
65aa515215 ehci_alloc, ohci_alloc, uhci_alloc: Initialize DPC before connecting interrupt as the driver has to already be prepared to handle interrupts when calling IoConnectInterrupt.
svn path=/trunk/; revision=43639
2009-10-20 09:17:09 +00:00
Cameron Gutman
13c453792d - Fix a typo in checksum calculation for datagrams with an odd number of octets
- Allow packets with no checksum
 - Remove debug prints that got left behind

svn path=/trunk/; revision=43638
2009-10-20 06:07:34 +00:00
Cameron Gutman
31ba6d7556 - Implement UDP checksum calculation
- Fixes issues with DHCP (and any other UDP traffic) over bridged networking on vbox and issues with other hardware that doesn't like a checksum of 0
 - See bug #4754

svn path=/trunk/; revision=43637
2009-10-20 05:24:37 +00:00
Cameron Gutman
6f08578e3c - Don't set AT_ARP for the loopback interface
- Remove hacks in iphlpapi that hid this bug

svn path=/trunk/; revision=43636
2009-10-20 03:54:27 +00:00
Cameron Gutman
5635553281 - Copy correct data to our lookahead buffer. It was previously missing the media header which messed up the lookahead buffer size passed to ProtocolReceive
- Fix the check for loopback indication. It was previously checking whether the source and destination packets were the same which makes no sense at all
 - Correct the offset and length passed to NdisCopyFromPacketToPacket. The caller's values of these don't include the header size but the packet does
 - Fixes a crash when running "ping 10.0.2.15 -l 1800" on vbox with NAT

svn path=/trunk/; revision=43635
2009-10-20 02:30:05 +00:00
Cameron Gutman
e31be82be3 - Store the indicated packet so NdisTransferData can copy data from it when the caller requests data beyond our allocated lookahead buffer
svn path=/trunk/; revision=43634
2009-10-20 01:35:37 +00:00
James Tabor
15f63b0f9d - Add more information for support with function MmPageEntireDriver. Not sure where to place the function since it uses numbers for IX86/AMD and not ARM. Enable MmDisablePagingExecutive without the register entry to support it.
svn path=/trunk/; revision=43633
2009-10-19 23:04:50 +00:00
Aleksey Bragin
3fcf38a55e Daniel Zimmermann <netzimme@aim.com>
- Print module and function name when a wine unimplemented function exception is raised.
See issue #4546 for more details.

svn path=/trunk/; revision=43629
2009-10-19 21:42:27 +00:00
Christoph von Wittich
40ee8ac836 sync widl to wine 1.1.31
svn path=/trunk/; revision=43628
2009-10-19 21:30:54 +00:00
Christoph von Wittich
25d647719b move widl compilerflags to ReactOS-i386.rbuild
svn path=/trunk/; revision=43627
2009-10-19 21:30:34 +00:00
Christoph von Wittich
7f6058b7f6 partial rpcrt4 sync to wine 1.1.31
svn path=/trunk/; revision=43626
2009-10-19 21:18:07 +00:00
Christoph von Wittich
d091e2ea6c -sync msi_winetest with wine 1.1.31
svn path=/trunk/; revision=43625
2009-10-19 21:11:46 +00:00
Christoph von Wittich
82e600f4fe update libxml2 to version 2.7.6
svn path=/trunk/; revision=43624
2009-10-19 19:59:37 +00:00
Aleksey Bragin
751ac9df16 - Add VLC to rapps.
See issue #4882 for more details.

svn path=/trunk/; revision=43623
2009-10-19 19:38:57 +00:00
Christoph von Wittich
da55336659 update libxslt headers as well
svn path=/trunk/; revision=43622
2009-10-19 19:28:32 +00:00
Aleksey Bragin
6fb025f72f - Revert 43599: "Temporarily disable hanging gdi32:metafile test."
svn path=/trunk/; revision=43621
2009-10-19 19:24:39 +00:00
Christoph von Wittich
5923afe8fe update libxslt to version 1.1.26
svn path=/trunk/; revision=43620
2009-10-19 19:11:29 +00:00
Christoph von Wittich
3d8e1d4e02 -sync msxml3 with wine 1.1.31
svn path=/trunk/; revision=43619
2009-10-19 18:58:31 +00:00
Johannes Anderwald
25db485c93 [PORTCLS]
- Silence most dprints of portcls
- Remove dead code
- Fix a bug in PcCreateSubdeviceDescriptor

svn path=/trunk/; revision=43618
2009-10-19 18:54:01 +00:00
Christoph von Wittich
8869f7edc2 -sync msxml3_winetest with wine 1.1.31
svn path=/trunk/; revision=43617
2009-10-19 18:53:22 +00:00
Christoph von Wittich
64c401dd10 -sync atl with wine 1.1.31
svn path=/trunk/; revision=43616
2009-10-19 18:50:02 +00:00
Benedikt Freisen
9b45c01052 [PAINT] rearranging variable declarations for better MSVC compatiblity
svn path=/trunk/; revision=43615
2009-10-19 17:46:29 +00:00
Christoph von Wittich
56d94b0f4e -sync wintrust_winetest with wine 1.1.31
svn path=/trunk/; revision=43614
2009-10-19 17:31:03 +00:00
Christoph von Wittich
75d8628bc1 -sync wintrust with wine 1.1.31
svn path=/trunk/; revision=43613
2009-10-19 17:29:28 +00:00
Christoph von Wittich
cd6b288377 -sync urlmon_winetest with wine 1.1.31
svn path=/trunk/; revision=43612
2009-10-19 17:22:45 +00:00
Christoph von Wittich
3d31b24600 -sync urlmon with wine 1.1.31
svn path=/trunk/; revision=43611
2009-10-19 17:22:21 +00:00
Christoph von Wittich
502388c635 -sync jscript_winetest with wine 1.1.31
svn path=/trunk/; revision=43608
2009-10-19 17:03:40 +00:00
Christoph von Wittich
ed2ac13f03 -sync jscript with wine 1.1.31
svn path=/trunk/; revision=43607
2009-10-19 17:03:21 +00:00
Aleksey Bragin
e182f235a1 [ntoskrnl/lpc]
- Mark NtRequestPort/NtReplyPort as implemented.

svn path=/trunk/; revision=43606
2009-10-19 16:37:12 +00:00
Aleksey Bragin
884aa8948f [ntoskrnl/lpc]
- Implement NtReplyPort based on NtReplyWaitReceivePortEx and LpcReplyPort.
- Implement NtRequestPort based on NtRequestWaitReplyPort and LpcRequestPort.

svn path=/trunk/; revision=43603
2009-10-19 15:49:29 +00:00
Aleksey Bragin
b8f74a1482 - Temporarily disable hanging gdi32:metafile test.
svn path=/trunk/; revision=43599
2009-10-19 11:39:16 +00:00
Hervé Poussineau
035a83011e Ok, reverting r43565. Someone will have to tell me why it works for me but not for buildbot
svn path=/trunk/; revision=43576
2009-10-18 20:06:09 +00:00
Hervé Poussineau
2d7ba2275a [freeldr] Limit disk read buffer size to 512 bytes
svn path=/trunk/; revision=43575
2009-10-18 19:53:12 +00:00
Dmitry Gorbachev
dba912455e [HAL, WIN32K] Add typedef.
svn path=/trunk/; revision=43573
2009-10-18 18:53:13 +00:00
Dmitry Gorbachev
112bc907de [3DTEXT, FREELDR, HAL, MINGW_COMMON, MMDRV, MSGINA, NTOSKRNL] Add extern.
svn path=/trunk/; revision=43572
2009-10-18 18:52:56 +00:00
Dmitry Gorbachev
417b31c079 Fix double definition of a variable, add extern.
svn path=/trunk/; revision=43571
2009-10-18 18:52:15 +00:00
Dmitry Gorbachev
9698fa5426 Remove a definition of a variable from a header file.
svn path=/trunk/; revision=43570
2009-10-18 18:52:12 +00:00
Dmitry Gorbachev
d2b83e9175 Update cvconst.h file, from Wine.
svn path=/trunk/; revision=43569
2009-10-18 18:52:08 +00:00
Benedikt Freisen
df983244a3 [PAINT]
- opening files via command line
- file date, time, size and paper resolution (pix. per meter) in attributes dialog
- loading/saving PpM resolution from/to file
- zoom tool shows and zooms to target rectangle
- implemented missing scroll bar functionality
- hiding status bar via menu item prepared

svn path=/trunk/; revision=43567
2009-10-18 18:36:46 +00:00
Hervé Poussineau
9c62b2152a [freeldr/i386] Read up to 128 sectors at once
svn path=/trunk/; revision=43565
2009-10-18 18:24:35 +00:00
Timo Kreuzer
125296305f Fix parameters of ExAllocatePoolWithQuota and ExAllocatePoolWithQuotaTag
svn path=/trunk/; revision=43561
2009-10-18 17:12:19 +00:00
Christoph von Wittich
c3565096d4 sync advapi32 winetest to wine 1.1.31
svn path=/trunk/; revision=43556
2009-10-18 14:57:22 +00:00
Christoph von Wittich
58a1fb8784 add some NULL checks
svn path=/trunk/; revision=43555
2009-10-18 14:47:16 +00:00
Johannes Anderwald
37a6c638aa - Partly revert 43533
svn path=/trunk/; revision=43553
2009-10-18 14:22:00 +00:00
Stefan Ginsberg
4373ffc102 - Fix error return of EnumPrinterKeyA/W, spotted by janderwald
svn path=/trunk/; revision=43551
2009-10-18 14:04:59 +00:00
Stefan Ginsberg
253122a239 Get rid of MmStats -- most of the fields weren't used anymore and we have duplicates for most of the ones that are still in use;
NrTotalPages -> MmNumberOfPhysicalPages
NrFreePages -> MmAvailablePages (new)
Get rid of NrSystemPages. Its value was only respected in MmInitializePageList at boot, even though it got updated later. Use a local variable in MmInitializePageList instead.

Fix SystemBasicInformation to use the correct variables for physical page information. Also, don't set ResidentSystemCodePage in the SystemPerformanceInformation query to some random incorrect Mm value. We don't depend this value anywhere in ReactOS currently, so just set it to 0.

svn path=/trunk/; revision=43550
2009-10-18 13:55:44 +00:00
Stefan Ginsberg
144f1bc166 - Use DBG_STATUS_CONTROL_C instead of magic "1"
- Add missing KdPollBreakIn + DbgBreakPointWithStatus to ARM initialization
- Fix initialization of the D and I cache fields in the PCR -- it was always setting the second level

svn path=/trunk/; revision=43549
2009-10-18 11:50:34 +00:00
Stefan Ginsberg
7eb77b7780 Patch from David "gigaherz" Quintana: Stub out EnumPrinterKeyA/W, minor fixes by me.
svn path=/trunk/; revision=43548
2009-10-18 01:48:30 +00:00
KJK::Hyperion
f0eec39ba8 Update rbuild project file
Fix linker flags

svn path=/trunk/; revision=43547
2009-10-17 21:30:01 +00:00
Christoph von Wittich
002073c923 sync msi to wine 1.1.31
svn path=/trunk/; revision=43546
2009-10-17 21:16:57 +00:00
Christoph von Wittich
72a954c01c fix all gdi32 gdiobj winetests
svn path=/trunk/; revision=43545
2009-10-17 21:04:04 +00:00
Christoph von Wittich
e3d7acd1d3 sync shlwapi to wine 1.1.31
svn path=/trunk/; revision=43544
2009-10-17 20:45:32 +00:00
Timo Kreuzer
f130d66bcd Add some structure offset macros to asm.h for amd64
svn path=/trunk/; revision=43543
2009-10-17 20:19:42 +00:00
Stefan Ginsberg
f38bd8e550 - Fix msvc build broken in 43466 -- please stop hurting msvc, it just wants to be loved (and wants __declspec placed first).
svn path=/trunk/; revision=43542
2009-10-17 20:01:58 +00:00
Christoph von Wittich
f4cc76248f sync dialog to wine 1.1.31 (fixes one dialog winetest)
svn path=/trunk/; revision=43541
2009-10-17 20:00:54 +00:00
Christoph von Wittich
f4eecb6b90 sync edit to wine 1.1.31
svn path=/trunk/; revision=43539
2009-10-17 19:35:42 +00:00
Timo Kreuzer
0ea1ccb49d disable ROS_LONG64 hack for amd64
svn path=/trunk/; revision=43538
2009-10-17 19:19:22 +00:00
Timo Kreuzer
20a908383b Merge 41030 from amd64 branch
svn path=/trunk/; revision=43537
2009-10-17 19:16:01 +00:00
Christoph von Wittich
f9fd097505 [Shell32]: in shell view, use the expected value for the effect in Drag & Drop operation
patch by <eric dot pouech at orange dot fr>

svn path=/trunk/; revision=43536
2009-10-17 19:15:04 +00:00
Timo Kreuzer
a9d250c6a6 build kdcom for amd64, too
svn path=/trunk/; revision=43534
2009-10-17 16:34:07 +00:00
Johannes Anderwald
ba91ff3d49 - Quick & dirty implementation of WIDM_RESET / WODM_RESET
svn path=/trunk/; revision=43533
2009-10-17 15:08:01 +00:00
Stefan Ginsberg
4bbe9c3785 - ntdll: Remove deprecated LdrpLoadUserModuleSymbols that doesn't actually do anything since the hack in NtSystemDebugControl was removed almost 3 years ago.
- Cc: Remove weird check for DBG or KDBG -- debug code should always be wrapped under #if DBG.

svn path=/trunk/; revision=43532
2009-10-17 15:03:54 +00:00
Hervé Poussineau
1943fae14f Fix warning
svn path=/trunk/; revision=43531
2009-10-17 14:55:50 +00:00
Stefan Ginsberg
9a713108ad - Add STATUS_SUCCESS to asm.h and make use of it.
- Implement Bus and I/O space read and write support.
- Implement support for AUTOENABLE, DISABLE and NOUMEX subparameters to /debug. Add the missing string scan and set and respect the related globals properly. Add support for disabling the debugger and suspending breakpoints.
- Add and implement KdIsThisAKdTrap to determine if the kernel debugger can't ignore a particular trap -- returns true for software breakpoints and debug service calls (DbgPrint for example). Called from KiDispatchException to determine whether to override NOUMEX (otherwise, DbgPrint and friends will kill user mode applications). Stub this for KDBG as it implements its own scheme for ignoring user mode.
- KiDispatchException: Clean up some goto and support NOUMEX. Also don't check if KiDebugRoutine is NULL -- it will never be.
- KdEnableDebuggerWithLock should initialize the debugger even if KdDisableCount is 0 (but only if called internally) as this means that the debugger was never initialized in the first place. Required for AUTOENABLE and for enabling the debugger during a bugcheck. Add the globals to kdbg too but don't set or respect them there as kdbg does not support it.
- Enable KdEnableDebugger and implement KdDisableDebugger for KD as KdDisableDebuggerWithLock is now implemented.
- Only build kdmemsup.c if KDBG is defined.

svn path=/trunk/; revision=43530
2009-10-17 14:31:38 +00:00
Hervé Poussineau
494daf26e9 [freeldr] FAT driver: check for directory attribute before parsing the next part of filename
Implement OpenDirectory mode in FAT driver

svn path=/trunk/; revision=43529
2009-10-17 14:05:34 +00:00
Aleksey Bragin
b9e1012f27 [fastfat_new]
- Implement FatiOpenExistingFcb.
- Make FatGetFcbUnicodeName supporting DCBs.
- Implement FF_OpenW wrapper around FullFAT to support opening files/dirs using a unicode name.

svn path=/trunk/; revision=43528
2009-10-17 13:18:29 +00:00
Aleksey Bragin
fdaf0acd73 [fastfat_new]
- Search FCBs with unicode name too, besides of OEM.
- Create an infrastructure for opening existing FCB/DCBs.

svn path=/trunk/; revision=43527
2009-10-17 10:57:48 +00:00
Daniel Reimer
efa205834d Added 11 new Backs for my bavarian cards dll. Way better than 12 times the same ;-)
svn path=/trunk/; revision=43525
2009-10-17 00:09:51 +00:00
Timo Kreuzer
3a1ea98678 ULONG -> ULONG_PTR when casting handles
svn path=/trunk/; revision=43524
2009-10-16 23:11:28 +00:00
Stefan Ginsberg
b3f7a6bd5f Downgrade various debug prints from DPRINT1 to DPRINT, ranging from "useless" to "pretty useless".
svn path=/trunk/; revision=43523
2009-10-16 22:03:38 +00:00
Christoph von Wittich
2def6506a9 fix all msvcrt file winetests
svn path=/trunk/; revision=43522
2009-10-16 21:43:28 +00:00
Christoph von Wittich
821924adcb don't set errno for libcnt
svn path=/trunk/; revision=43521
2009-10-16 21:29:27 +00:00
Christoph von Wittich
59ee8d397a -sync msvcrt_init_io to wine 1.1.31
fixes 12 msvcrt file winetests

svn path=/trunk/; revision=43520
2009-10-16 20:57:00 +00:00
Christoph von Wittich
030837bb5e -fix some msvcrt string winetests
svn path=/trunk/; revision=43519
2009-10-16 20:40:41 +00:00
Christoph von Wittich
0428782362 sync msvcrt winetest with wine 1.1.31
svn path=/trunk/; revision=43518
2009-10-16 20:32:42 +00:00
Aleksey Bragin
9c31ef3801 [fastfat_new]
- Improve FatCreateDcb so that it sets the dir name.
- Implement relative file object open.

svn path=/trunk/; revision=43517
2009-10-16 18:39:38 +00:00
Aleksey Bragin
021a16cdd7 [fastfat_new]
- Implement FatiOpenExistingDir.

svn path=/trunk/; revision=43516
2009-10-16 17:10:12 +00:00
Cameron Gutman
228c572a3f - Add rasadhlp to build and bootcd
svn path=/trunk/; revision=43515
2009-10-16 14:51:35 +00:00
Aleksey Bragin
f00df42b5f [fastfat_new]
- Add a function to read the dirent and return status of that object - does it exist, is it a file or a directory.
- Branch according to this in FatiCreate and try to open either an existing file or an existing directory. Directory open is stubbed.

svn path=/trunk/; revision=43513
2009-10-16 13:11:05 +00:00
Aleksey Bragin
18857bc6be [fastfat_new]
- Minor comments/TODO improvement in FatiCreate.

svn path=/trunk/; revision=43512
2009-10-16 12:29:34 +00:00
Cameron Gutman
c53695755d - Fix build
svn path=/trunk/; revision=43511
2009-10-16 04:41:40 +00:00
Cameron Gutman
181002e46e - Add Alex's rasadhlp
- It builds on my WC but it may not build on trunk (because of our lacking headers)

svn path=/trunk/; revision=43510
2009-10-16 04:33:22 +00:00
Cameron Gutman
6a80145ce3 - Define GUIDs correctly to prevent "multiple definition" errors
svn path=/trunk/; revision=43509
2009-10-16 04:20:34 +00:00
ReactOS Portable Systems Group
d37d315a7e - Move some unimplemented Ex* Pool routines into ARM3's expool.c.
- Move some unimplemented Mm* Pool routines into ARM3's pool.c.


svn path=/trunk/; revision=43508
2009-10-16 00:28:33 +00:00
ReactOS Portable Systems Group
c0bb477b78 - Implement ARM3 page fault handling.
- Paged pool PTEs are demand zero PTEs while the memory hasn't been accessed -- this is the only type of fault supported.
- Because paged pool PDEs are also demand-paged, added code to handle demand paging of PDEs as well.
- Also, because paged pool is non-resident, but can be accessed from any process, we need a mechanism to sync up the kernel's page directory with the per-process one, on demand. This is done at startup, but other processes may have paged in paged pool that another process knows nothing about when he faults.
  - Similar to the hack ReactOS Mm uses, but done properly.
  - This is what that shadow system page directory is finally being used for.
- Assert if we get a user-mode fault, a transition fault, or a soft fault, since these shouldn't happen.
- Disable APCs while dispatching faults, and pseudo-use the working set lock.
- Assert if we get write errors on read-only pages, since we don't use those in ARM3 yet.
- Assert if we have a paged out PTE, this shouldn't happen yet.
- Enable test to see if we can touch a paged pool allocation.


svn path=/trunk/; revision=43507
2009-10-15 22:08:26 +00:00
ReactOS Portable Systems Group
5ac42f871f - Add some simple code to handle paged pool page allocation and freeing in MiAllocatePoolPages and MiFreePoolPages.
- Allocation does not support paged pool expansion yet, so we're limited to the initial 4MB that are initialized on startup.
- This only tests the raw page allocation routines so touching memory will fail as we don't handle paged pool faults yet.
- Nothing excercises this code path other than some simple tests while booting.


svn path=/trunk/; revision=43503
2009-10-15 21:23:24 +00:00
Johannes Anderwald
ac9e8c032c - Revert accidental change
svn path=/trunk/; revision=43502
2009-10-15 20:29:04 +00:00
Aleksey Bragin
b2a0c58433 - Update user32_winetest to Wine-1.1.31.
svn path=/trunk/; revision=43499
2009-10-15 20:00:27 +00:00
Aleksey Bragin
a96cc21b73 - Update gdi32_winetest to Wine-1.1.31 keeping a bitmap font test skipping hack.
svn path=/trunk/; revision=43496
2009-10-15 19:50:01 +00:00
Aleksey Bragin
637fc75ac0 [PSDK]
- Add MM_MIN / MM_MAX definitions.

svn path=/trunk/; revision=43495
2009-10-15 19:49:10 +00:00
Gregor Schneider
c7d855690a Amendment to r43487: check last character as well
svn path=/trunk/; revision=43494
2009-10-15 19:28:11 +00:00
ReactOS Portable Systems Group
657da0b009 - Fix comments.
- Fix reading the incorrect pool type when freeing pool. The PoolType in the entry is offset by 1, so it can be either 1 for NonPaged or 2 for paged. This used to give us index 0 for nonpaged (correct), and index -1 for paged (oops!). Mask by 3 instead, so we get 0 and 1.


svn path=/trunk/; revision=43489
2009-10-15 19:19:40 +00:00
ReactOS Portable Systems Group
3b34847f3e - Collapse MmInit1 into MmInitSystem.
- Check for ARM3-owned memory areas during a page fault, and crash the system as this shouldn't happen yet.
- Use portable PTE macro instead of setting the owner bit directly, fixing an ARM port build issue.


svn path=/trunk/; revision=43488
2009-10-15 19:12:43 +00:00
Gregor Schneider
b452b0b30a [kernel32] IsBadStringPtrA/W:
- Remove overflow failure case, this isn't checked for string validation
- Adapt page check to let the full string be checked in case of overflow
See issue #4861 for more details.

svn path=/trunk/; revision=43487
2009-10-15 19:12:37 +00:00
ReactOS Portable Systems Group
071a297838 - Fix a bug in memory area creation: Static memory areas had the static flag embedded in their type, so code that was switch()ing on the type would fail to recognize the actual type, because MEMORY_AREA_STATIC was ORed in.
- Add a new memory area type: MEMORY_AREA_OWNED_BY_ARM3. This will allow us to instruct the ReactOS Memory MAnager to "Back. The Fuck. Off."  during page faults and such, so we can handle page faults inside ARM3-owned PTEs ourselves.
  - Right now, all ARM3 PTEs and data is nonpaged, so no page faults should happen, but this may change in the future.
  - Also will allow us to manage our own PDEs so we can do on-demand inpage instead of syncing with the ReactOS Mm hack cache.
- Create all memory areas in one shot in MmCreateSystemMemoryAreas (get rid of MiInitPageDirectoryMap and MiInitPagedPool memory area creation).
  - Mark all of ours as owned by ARM3.
  - Make them all static.
  - The only non-ARM3 one right now is paged pool, we own all the other static areas.
  - Move this code into mm, instead of mm/ARM3, since memory areas are not an ARM3 concept.
  - Also create memory areas for session space, session view, and other ARM3 memory ranges, so nobody touches those ranges.
- Dump the kernel address space after all this is done, in a MmDbg function in mm.
- This cleans up ARM3 of some ROS-specific code, and also collapses Phase 1 and 2 into a single phase.


svn path=/trunk/; revision=43486
2009-10-15 18:54:35 +00:00
Aleksey Bragin
8774094ea9 [kernel32]
- Initialize PreviousStackBase/Limit to NULL in BasepCreateStack. Previously this bug was hidden because those values were ignored by the kernel.

svn path=/trunk/; revision=43485
2009-10-15 18:36:35 +00:00
Stefan Ginsberg
c199e1e3ee - MiReserveAlignedSystemPtes: Add missing lock release, spotted by janderwald
svn path=/trunk/; revision=43484
2009-10-15 18:34:21 +00:00
ReactOS Portable Systems Group
e233c46dec - Add required globals for the ARM port.
svn path=/trunk/; revision=43483
2009-10-15 17:41:09 +00:00
ReactOS Portable Systems Group
b20ae45a3f - Fix calculations error in the setup of the paged pool bitmap.
- Initialize the paged pool guarded mutex.
- Add helper routines ExLock/UnlockPool to either acquire the NPP QSL or the PP GM depending on the pool descriptor, instead of hardcoding the NPP QSL.
- Implement InitializePool for the PagedPool case.
- Now call InitializePool for PagedPool as well.


svn path=/trunk/; revision=43482
2009-10-15 17:23:21 +00:00
ReactOS Portable Systems Group
331debbeec - Get rid of mm/mmsup.c and move some of the ROS-internal functions better where they belong.
- Add ARM3/mmsup.c for miscellaneous function helper functions.
  - Implemented:
  - Move MmIsRecursiveIoFault, MmIsThisanNtAsSystem and MmQuerySystemSize. These belong here.
  - Unimplemented:
  - Move MmSetBankedSection and fix the prototype. This should probably go somewhere else later.
  - Move MmAdjustWorkingSetSize and fix the prototype. This should probably go in procsup.c later.
  - Move MmMapUserAddressesToPage. This should also probably go in procsup.c later.
  - Move MmSetAddressrangeModified and MmIsNonPagedsystemAddressValid. These should probably go somewhere else later.

svn path=/trunk/; revision=43481
2009-10-15 17:01:31 +00:00
ReactOS Portable Systems Group
c04d1d038e - Multiple Virtual Memory API fixes:
- MiDoMappedcopy: The MDL should have 16 pages total, so MI_MAPPED_COPY_PAGES should be 14, not 16, to account for the MDL page itself, and the extra add-on page.
  - MiDoMappedCopy: Check for working set quota exception.
  - NtRead/WriteVirtualMemory: Do not attempt to do any work if the size is 0.
  - NtRead/WriteVirtualMemory: Do not return SEH status if we fail to write the number of bytes read/written -- return the function status.
  - NtProtectVirtualMemory: Protect the memory while attached to the target process.
  - NtProtectVirtualMemory: Do not return SEH status if we fail to write the number of bytes protected -- return the function status.
  - NtLock/UnlockVirtualMemory: Fix incorrect function definition. The last parameter is a bitfield. The middle two parameters are pointers, not values.
  - VirtualLock/Unlock: Fix calling NtLock/UnlockVirtualMemory with new correct function definitions. Call with MAP_PROCESS.
  - NtLock/UnlockVirtualMemory: Apply SEH. Validate flags. Validate parameters.
  - NtLock/UnlockVirtualMemory: Attach to the process while doing the operation. Reference the process.
  - NtLock/UnlockVirtualMemory: Check for SE_LOCK_MEMORY_PRIVILEGE if MAP_SYSTEM is specified.
  - Move MAP_SYSTEM and MAP_PROCESS from ntifs.h to mmtypes.h in NDK.
  - NtLock/UnlockVirtualMemory: Return success and semi-legitimate return values saying nothing was actually done.
  - NtFlushVirtualMemory: Apply SEH. Validate flags. Validate parameters. Call MmFlushVirtualMemory.
  - NtFlushVirtualMemory: Reference the process.
  - NtFlushVirtualMemory: Return success and semi-legitimate return values indicating nothing was flushed.
  - NtGetWriteWatch: Fix function prototype.
  - NtGet/ResetWriteWatch: Apply SEH instead of hacked parameter checks. Validate parameters.
  - NtGet/ResetWriteWatch: Reference the process.
  - NtGet/ResetWriteWatch: Return semi-legitimate return values indicating nothing was written to.
- These APIs are now owned by ARM3.


svn path=/trunk/; revision=43480
2009-10-15 16:50:49 +00:00
Aleksey Bragin
e3d56ce220 - Fix inverted if condition in TEB initialization, spotted by Stefan.
svn path=/trunk/; revision=43479
2009-10-15 16:47:26 +00:00
Gregor Schneider
1eebc8c0cf Remove duplicate libjpeg from rosapps, used one is in trunk
svn path=/trunk/; revision=43478
2009-10-15 15:19:58 +00:00
Aleksey Bragin
c3e1235c5a [fastfat_new]
- Add a helper function for reading (mapping) volume's stream file object.
- Read a boot sector during volume mounting, unpack it and store values in Vcb->Bpb for later usage. In particular, a volume's serial number being empty problem is fixed now. Volume label is still empty.
- Silence more non-important debug prints.

svn path=/trunk/; revision=43477
2009-10-15 10:50:12 +00:00
ReactOS Portable Systems Group
1ea8fff57a - Multiple PEB/TEB creation fixes:
- Set up PEB and TEB under SEH to handle possible paging errors (which are legitimate).
  - Also touch the image under SEH to handle image paging errors (also legitimate).
  - Should avoid kernel panics in cases where the executable is damaged, invalid, or impossible to page in.
  - Initialize more PEB fields.
  - Add new INITIAL_PEB structure to support fork() in the future. Also fixes the fact we don't create a PEB for the system process anymore.
  - Create PEB while attached to the process.
  - Handle UP-only images, and set correct affinity mask in the PEB.
  - Set session ID instead of session structure (currently zero).
  - Set correct TIB version in the TEB. Due to a historical oddity, the NT TIB identifies itself as '0x1e00', which is 30 shifted 8 bits. 30 is the version identifier of OS/2 3.0, the original 32-bit target of the Windows NT effort.
  - Handle initial TEB correctly for fork().
  - Move AWE APIs to procsup.c instea of section.c since they are unrelated.
  - Move the rewritten PEB/TEB functions to ARM3's procsup.c.

svn path=/trunk/; revision=43476
2009-10-15 05:56:41 +00:00
James Tabor
0387f3045a - Revert 43470.
svn path=/trunk/; revision=43475
2009-10-15 05:23:06 +00:00
ReactOS Portable Systems Group
649c4322fc - unix is one of many platforms that use LP64, so instead of defining every single possible OS which uses LP64, how about we define the *only* OS that uses LLP64: Win64.
- Fixes building on BSD and Solaris.


svn path=/trunk/; revision=43474
2009-10-15 04:34:47 +00:00
ReactOS Portable Systems Group
d2b61cb87e - Define KeInitializeSpinLock for ARM to unbreak build.
svn path=/trunk/; revision=43473
2009-10-15 04:24:13 +00:00
ReactOS Portable Systems Group
b938d88b35 - Add some more PTE field macros for portability.
- Define PTE_TOP.


svn path=/trunk/; revision=43472
2009-10-15 04:09:36 +00:00
ReactOS Portable Systems Group
a97e4c52ab - Remove calls to MmMarkPageMapped/UnMapped -- these APIs don't exist anymore.
- Unbreaks part of kernel ARM build.


svn path=/trunk/; revision=43471
2009-10-15 04:03:37 +00:00
Cameron Gutman
b8d2774f7e - Fix a typo
svn path=/trunk/; revision=43470
2009-10-15 02:26:16 +00:00
Cameron Gutman
45c5b396f7 - Import Alex's dnslib
- Add headers and definitions needed for dnslib to build
 - Part 2 of 2

svn path=/trunk/; revision=43469
2009-10-15 01:23:39 +00:00
Cameron Gutman
d7ac1e87e8 - Import Alex's dnslib
- Part 1 of 2

svn path=/trunk/; revision=43468
2009-10-15 01:04:39 +00:00
Hervé Poussineau
7b529de220 [freeldr] List in menu all entries from [Operating Systems] section, even if they don't have an associated section
Try to infer the boot type if not specified
See issue #4455 for more details.

svn path=/trunk/; revision=43467
2009-10-14 21:04:44 +00:00
Timo Kreuzer
9fcbb3422d Some 64 bit heap fixes by encoded, merged from amd64 branch
svn path=/trunk/; revision=43466
2009-10-14 20:46:58 +00:00
Timo Kreuzer
bb2982398a Define __unaligned to nothing on gcc, we don't need it for amd64, and the old definition was wrong anyway.
Fix definition of UNALIGNED for amd64.

svn path=/trunk/; revision=43465
2009-10-14 20:09:13 +00:00
Sylvain Petreolle
d123d28729 fix typo
svn path=/trunk/; revision=43464
2009-10-14 19:44:23 +00:00
Johannes Anderwald
d97059c731 - Fix debugging flood
- Pass correct flags to KsProbeStreamIrp
- Remove dead code

svn path=/trunk/; revision=43463
2009-10-14 18:09:28 +00:00
Stefan Ginsberg
f1d4f68d22 - Remove a hack from KiGetMachineBootPointers and set the TSS selector properly in KiRosPrepareForSystemStartup instead.
- Use KGDT_TSS in WinLdrSetProcessorContext instead of a hardcoded value.

svn path=/trunk/; revision=43462
2009-10-14 18:07:29 +00:00
Stefan Ginsberg
e5604f31b1 Move x86 assembly macros into the x86 directory.
svn path=/trunk/; revision=43461
2009-10-14 17:21:56 +00:00
Timo Kreuzer
c236dd31f9 Fix definition of PORT_MAXIMUM_MESSAGE_LENGTH for 64 bit
svn path=/trunk/; revision=43460
2009-10-14 17:05:51 +00:00
Johannes Anderwald
a299db4e69 - Fix debugging flood #2
svn path=/trunk/; revision=43459
2009-10-14 17:04:08 +00:00
Timo Kreuzer
e34f5ea80b Add back PORT_MAXIMUM_MESSAGE_LENGTH for user mode, thanks Stefan
svn path=/trunk/; revision=43458
2009-10-14 17:03:41 +00:00
Johannes Anderwald
c2f2fe2649 - Fix debugging flood
svn path=/trunk/; revision=43457
2009-10-14 16:59:07 +00:00
Timo Kreuzer
b40f0f355b [NDK] remove PORT_MAXIMUM_MESSAGE_LENGTH, it's defined in wdm.h
svn path=/trunk/; revision=43456
2009-10-14 16:56:54 +00:00
Timo Kreuzer
af3f2d5454 Merge amd64 NDK from amd64 branch:
34711, 34712, 34842, 34925, 34967, 34970, 35323, 35324, 35347, 35348, 35361, 35436, 35509, 35588, 35739, 35823, 35952, 35966, 36360, 37323, 37434, 37472, 37536, 37820, 37821, 37869, 37990, 38013, 38014, 43426, 43454

svn path=/trunk/; revision=43455
2009-10-14 16:45:35 +00:00
Aleksey Bragin
fd5c075531 [fastfat_new]
- Implement shared VCB locking.
- Implement QueryVolumeInfo common handler, and a handler of QueryFsVolumeInfo class. Doesn't currently work due to missing VPB.

svn path=/trunk/; revision=43453
2009-10-14 15:59:14 +00:00
Timo Kreuzer
91984711f0 Update ReactOS-amd64.rbuild
svn path=/trunk/; revision=43452
2009-10-14 14:29:32 +00:00
Johannes Anderwald
7f2ba55772 - Implement KSPROPERTY_CONNECTION_ALLOCATORFRAMING for CPortPinWaveCyclic + CPortPinWavePci
svn path=/trunk/; revision=43446
2009-10-14 10:24:19 +00:00
Michael Martin
a9b7f4cd7a - CmpPrepareKey: If cell signature is CM_KEY_NODE_SIGNATURE, the KeyCell is index leaf, handle it properly by calling CmpPrepareKey vice CmpPrepareIndexOfKeys. Fixes ASSERT in cminit.c that occurs on reboot after installing some applications.
svn path=/trunk/; revision=43445
2009-10-14 09:50:31 +00:00
Christoph von Wittich
7143b94c1b -revert accidental change
svn path=/trunk/; revision=43444
2009-10-13 21:51:16 +00:00
Christoph von Wittich
688c43c992 [BDASUP]
-fix some function declarations

svn path=/trunk/; revision=43443
2009-10-13 21:49:36 +00:00
Christoph von Wittich
df9eccd994 partial sync to wine 1.1.31
svn path=/trunk/; revision=43442
2009-10-13 21:09:08 +00:00
Gregor Schneider
3a38bb048a [spider]
- Check for completed stack after dealing cards by installing one function to do this in call three cases, bug #4886
- Fix and simplify drop rules (only by number) and validation rules (by number and type) for two and four color games
- Fix typo in Polish Translation

svn path=/trunk/; revision=43441
2009-10-13 20:34:05 +00:00
Stefan Ginsberg
26a8c4b69a - Add the MMDBG_COPY_* flags and MmDbgCopyMemory's prototype.
- Add KdpCopyMemoryChunks and use it to handle virtual memory read/write (physical memory support still stubbed). The actual copy is still a hack and its only safeguard against invalid memory is still a simple check for NULL.
- Properly implement KdpReadVirtualMemory, KdpWriteVirtualMemory, KdpReadPhysicalmemory and KdpWritePhysicalmemory using KdpCopyMemoryChunks.
- Merge Timo's ReportFlags fix from the AMD64 branch.
- Implement KdpSysWriteMsr and KdpSysReadMsr for x86. SEH is commented as our GPF handler seems to swallow exceptions caused by accessing invalid MSRs.
- Change DataValue parameter of KdpSysReadIoSpace and KdpSysWriteIoSpace to PVOID to better match how it is used.

svn path=/trunk/; revision=43440
2009-10-13 19:45:40 +00:00
Dmitry Gorbachev
bfb5499f5c - See if it is a multibyte code page.
- Remove check against zero.
- Fix comments, formatting.

svn path=/trunk/; revision=43439
2009-10-13 18:43:42 +00:00
Aleksey Bragin
352dfbf644 [rtl]
- Fix an out-of-bounds read in RtlpDidUnicodeToOemWorked.
See issue #4888 for more details.

svn path=/trunk/; revision=43438
2009-10-13 18:01:55 +00:00
Johannes Anderwald
89bda0c12e - Fix various bugs such as wrong function definitions, using of uninitialized variables
- Add macros which are not present in the WDK
- Check return type of synchronized interrupt routine
- Use PcHandlePropertyWithTable IPortPinWavePci
- Remove IServiceSink implementation from IPortWaveRt as it is a hack
- Add a small hack to IResource list implementation as prefast doesnt find decl of NumberOfEntries
- Fix build

svn path=/trunk/; revision=43437
2009-10-13 12:29:41 +00:00
Johannes Anderwald
09ef80af6b - Fix interface definition
svn path=/trunk/; revision=43436
2009-10-13 12:25:10 +00:00
Dmitry Gorbachev
05f6ac1ea8 Temporary hack to avoid linker errors when building with RosBE 1.5B1.
svn path=/trunk/; revision=43434
2009-10-13 03:34:29 +00:00
Dmitry Gorbachev
dd487188b9 Check for error.
svn path=/trunk/; revision=43431
2009-10-12 23:52:56 +00:00
Dmitry Gorbachev
bb99554339 Fix "array subscript is above array bounds" bug.
svn path=/trunk/; revision=43430
2009-10-12 23:52:33 +00:00
Johannes Anderwald
ce7bb91b16 - Add more types
svn path=/trunk/; revision=43425
2009-10-12 22:44:17 +00:00
Johannes Anderwald
303bae9dcb - Pointer / handle values should be printed with %p. Found by Christoph
- Add the sum / mixer node to the destination pin
- Only create MIXERVOLUME_DATA when there is an actual range
- Use unsigned members to calculate the range

svn path=/trunk/; revision=43424
2009-10-12 22:36:10 +00:00
Matthias Kupfer
d5a7f4b694 experimental mouse click lock feature
svn path=/trunk/; revision=43420
2009-10-12 21:08:35 +00:00
Gregor Schneider
9928349968 [spider] Polish translation by Maciej Białas
svn path=/trunk/; revision=43419
2009-10-12 21:07:19 +00:00
Christoph von Wittich
b4053fedd1 [SYSAUDIO]
-pass the correct amount of parameters to DPRINT

svn path=/trunk/; revision=43418
2009-10-12 21:06:21 +00:00
Matthias Kupfer
750be30cc9 - small fix for SystemParametersInfo-call for DragFullWindows
- disable incomplete UserPref settings

svn path=/trunk/; revision=43417
2009-10-12 21:02:25 +00:00
Aleksey Bragin
101f8fcb31 [kernel32]
- Remove incorrect null-termination of a string. Thanks to Russel for spotting.
See issue #4820 for more details.

svn path=/trunk/; revision=43416
2009-10-12 19:45:12 +00:00
Johannes Anderwald
417ebeb75f - Add missing types
svn path=/trunk/; revision=43415
2009-10-12 19:21:10 +00:00
Johannes Anderwald
0aa48e9268 [PORTCLS]
- Store MiniportStream & pin instance in subdevice descriptor
- Simplify irp handling code in class IIrpStream
- Rewrite CPortPinWaveCyclic code to handle property request. It now uses PcHandlePropertyWithTable, which calls the supported property request handlers via a callback. The code is now a lot cleaner as KsPropertyHandler peforms input & output length checks and also handles basic support requests
- Implement a Audio position handler for CPortPinWaveCyclic
- Use the IDmaChannel::CopyFrom when copying sound bytes from an dma buffer. Fixes recording of sound with KsStudio
- Make sure that the GUID_NULL handler only adds guid which are not already present in the guid array. Fixes duplicate entries of properties of Nodes in KsStudio
- Handle Basic Support requests in a default way when the driver doesnt provide a BasicSupport handler

svn path=/trunk/; revision=43414
2009-10-12 19:20:33 +00:00
Gregor Schneider
c15e161f91 [sol], [spider]
- Allow to select a card back from all twelve possibilities (instead of four), related to bug #2535
[spider]
- Fix encoding of the Spanish resource file, thanks elhoir and gabriel_it

svn path=/trunk/; revision=43413
2009-10-12 18:52:44 +00:00
Stefan Ginsberg
ed7f3daf87 - Fix usbdlib.h -- don't assume that the basic calling convention is stdcall.
svn path=/trunk/; revision=43412
2009-10-12 18:40:18 +00:00
Johannes Anderwald
d6c99976ac - Revert 43410
svn path=/trunk/; revision=43411
2009-10-12 18:27:00 +00:00
Johannes Anderwald
9b46acbff0 - Fix typo
svn path=/trunk/; revision=43410
2009-10-12 18:20:23 +00:00
Gregor Schneider
a3615254ed [spider]
- Increase dialog width for German, increase "four card difficulty" label width for Spanish
- Compile as Unicode, misc typos

svn path=/trunk/; revision=43408
2009-10-12 17:37:42 +00:00
Johannes Anderwald
54d11c96f0 [KS]
- Activate handling of requests of type KSPROPERTY_TYPE_BASICSUPPORT
- Return correct status code in the GUID_NULL handler

svn path=/trunk/; revision=43407
2009-10-12 17:04:15 +00:00
Johannes Anderwald
3c2e2137ce [WDMAUD.DR>V]
- Use default of 100 audio buffers if there are no prefered frame size available

svn path=/trunk/; revision=43406
2009-10-12 16:58:46 +00:00
Daniel Reimer
c41c8bf584 - Updated DejaVu Fonts to Version 2.30
- Updated 3rd Party Files Document

svn path=/trunk/; revision=43400
2009-10-12 14:10:57 +00:00
Aleksey Bragin
0f711aae4c [fastfat_new]
- Start implementing volume open requests.

svn path=/trunk/; revision=43397
2009-10-12 13:17:56 +00:00
Michael Martin
6be2aea1b3 - Change DIALOG_CreateIndirect location in source to make DEFDLG_SaveFocus available for use.
- DIALOG_CreateIndirect: The current window with focus could have been set in the dialog's procedure, so save the current focused window after sending WM_INITDIALOG and before any other message are sent that modify focus.
- Fixes setting focus on Open and Close dialogs to the FileName edit control in OpenOffice.

svn path=/trunk/; revision=43396
2009-10-12 12:47:54 +00:00
Dmitry Chapyshev
6eb3586017 - Add some structures
svn path=/trunk/; revision=43395
2009-10-12 12:28:22 +00:00
Dmitry Chapyshev
3ed9870bca - Stub implement SfcGetNextProtectedFile
svn path=/trunk/; revision=43394
2009-10-12 12:25:02 +00:00
Aleksey Bragin
0a427ec6b6 [fastfat_new]
- Implement a stub version of basic information query. Fixes an "autochk.exe" not found problem.

svn path=/trunk/; revision=43393
2009-10-12 10:22:32 +00:00
Michael Martin
25a93ac224 GetDlgItem: Change to WINE's implementation as ours was incorrect. Remove function GetDlgItemEnumProc and struct GETDLGITEMINFO as they are no longer needed. Fixes drawing issues in Open and Save dialogs for OpenOffice.
svn path=/trunk/; revision=43392
2009-10-12 09:50:57 +00:00
Aleksey Bragin
978aff9a6e [fastfat_new]
- Downgrade most of file info debug prints.

svn path=/trunk/; revision=43391
2009-10-12 09:37:07 +00:00
Aleksey Bragin
388ffabace [fastfat_new]
- Implement all infrastructue for constructing filenames in FCBs, and use it to build full file names. Every FCB has four names: a short upcased name in ANSI, a long upcased name in Unicode, a name in exact case in Unicode, and finally a full file name including all path up to the root.
- FatiQueryFileNameInformation now returns correct file name, and other places relying on presence of a correct name work now.

svn path=/trunk/; revision=43390
2009-10-12 09:30:41 +00:00
Dmitry Gorbachev
ab802377c7 - Remove svn:needs-lock, svn:eol-type, and svn:eol-tyle properties.
- Add missing svn:eol-style properties.

svn path=/trunk/; revision=43389
2009-10-12 03:35:35 +00:00
Dmitry Gorbachev
854ec39df3 Use consistent newline style.
svn path=/trunk/; revision=43388
2009-10-12 03:28:57 +00:00
Dmitry Gorbachev
e29cd23a7e Remove allowwarnings="true" from rbuild file. Fixed in r42970.
svn path=/trunk/; revision=43387
2009-10-12 03:28:19 +00:00
Dmitry Gorbachev
27f05c27a8 [CHEW]
- Fix formatting, comments.
- Delete an empty directory.

svn path=/trunk/; revision=43386
2009-10-12 03:27:45 +00:00
Dmitry Chapyshev
ac4cdf694c - Add Russian translation
svn path=/trunk/; revision=43385
2009-10-12 02:28:37 +00:00
Dmitry Gorbachev
fe9f54902e Update / add Japanese translations. Tomoya Kitagawa, bug #4884.
svn path=/trunk/; revision=43384
2009-10-11 23:23:34 +00:00
Dmitry Gorbachev
77ded269ca Update Japanese translations. Tomoya Kitagawa, bug #4884.
svn path=/trunk/; revision=43383
2009-10-11 23:23:30 +00:00
Stefan Ginsberg
3a58832c04 - Fix a critical bug in KeFindConfigurationEntry; it passed NULL to KeFindConfigurationNextEntry instead of passing a pointer containing NULL. KeFindConfigurationNextEntry dereferenced this and, because the old bootloader maps NULL, read some bogus value. KeFindConfigurationNextEntry would then try to find something in the configuration tree that matched this, but failed. This was no problem because we currently have no callers of those routines in ReactOS. However, the kdcom.dll from Windows 2003 calls KeFindConfigurationEntry to find COM port entries, and this would have crashed if FreeLdr hadn't mapped it. As it is, it didn't, and kdcom fell back to default values for the COM port (which worked). WinLdr doesn't map NULL and this resulted in a crash during kdcom initialization. Bug introduced in revision 15911 over 4 years ago. KD64 now works when booting with the new boot method.
svn path=/trunk/; revision=43382
2009-10-11 21:57:52 +00:00
Stefan Ginsberg
5d5e6d95d9 - Woooops, fix MP hal build.
svn path=/trunk/; revision=43381
2009-10-11 20:40:19 +00:00
Stefan Ginsberg
31c45b85d7 - Stub out DbgKdWriteVirtualMemoryApi, DbgKdReadPhysicalMemoryApi, DbgKdWritePhysicalMemoryApi, DbgKdWriteBreakPointExApi, DbgKdRestoreBreakPointExApi, DbgKdSearchMemoryApi and DbgKdFillMemoryApi cases more properly.
- Fail on physical memory write like we do for read too.
- Don't handle OldVlm1/2 as they appear to be deprecated and unhandled in Windows.
- Implement HalHaltSystem to halt execution in a portable way. Default to xHalHaltSystem, a simple infinite loop, if we get called before HAL has initialized. Use this in KiBugCheckDebugBreak and the system shutdown handler instead of x86/AMD64/ARM intrinsics.
- Don't try to halt the CPU if KeBugCheck has been called 3 times or more -- if this happens, something has gone very wrong, and we shouldn't try to do anything special. Just loop infinitely.
- Fix KiBugCheckDebugBreak -- it shouldn't halt execution when called for the first chance as bugcheck callbacks have not been invoked at this point (nor has the BSOD been displayed). Use SEH to protect against a crash instead of checking KdDebuggerNotPresent as the debugger, if it is present, *could* disconnect while the trap is being handled. Also, don't halt execution if the debugger handled the breakpoint, just break again.
- Don't call MmMapIoSpace from HalpReboot! The reboot might take place at elevated IRQL (as high as HIGH_LEVEL if called from KeBugCheck), and thus can't use any Mm support routines. Use a PTE from the reserved HAL region and map it ourselves instead as done in the BIOS call code.
- Acquire the display ownership in HalReturnToFirmware in case the caller hasn't done so (as done in the KD reboot routine, for example).
- Just include ntndk.h in hal.h instead of including 6 NDK headers (which turns into more than half of the NDK anyway since those headers include other NDK headers).
- Crashing and rebooting from KD now works properly.

svn path=/trunk/; revision=43380
2009-10-11 20:16:45 +00:00
Gregor Schneider
d00f6c4b5c [spider] Address two more gcc 4.4 parenthesis warnings
svn path=/trunk/; revision=43379
2009-10-11 18:10:48 +00:00
Hervé Poussineau
9b1f5baa24 [freeldr] Fix typo: REGISTER -> REGISTRY
svn path=/trunk/; revision=43378
2009-10-11 17:10:32 +00:00
Hervé Poussineau
02db465a10 [freeldr] Rework the ramdisk driver to let it be a full device, instead of a deprecated harddisk which was only available once real harddisks were disabled
Add support for /RDPATH switch in WINLDR boot style

svn path=/trunk/; revision=43377
2009-10-11 17:08:33 +00:00
Gregor Schneider
84625e3ee4 [spider]
- Spanish and Italian translations by Javier Agustìn Fernàndez Arroyo and Gabriel Ilardi
- Rename Programmer to Translator in existing resource files, remove Programmer in new ones
See issue #4885 for more details.

svn path=/trunk/; revision=43376
2009-10-11 16:00:07 +00:00
Gregor Schneider
5fad423e37 [cardlib] Re-add changes that got lost due to an old version being used as base
svn path=/trunk/; revision=43375
2009-10-11 14:15:02 +00:00
Dmitry Chapyshev
3002382fb4 - Add spider.exe to bootcd
- Add shortcut for spider

svn path=/trunk/; revision=43374
2009-10-11 14:00:18 +00:00
Gregor Schneider
804567c4c8 Remove solitaires local cardlib copy
svn path=/trunk/; revision=43373
2009-10-11 12:10:57 +00:00
Gregor Schneider
84e271496c [spider]
- Add a spider solitaire clone
- Relies on the Catch22 cardlib
- Supports all three playing modes and full game play
- English and German resources included, own work
- Icon origin: tango solitaire icon with a self drawn spider on top
[cardlib]
- Convert to a static library as suggested in the comments, move to 3rdparty directory
- Allow to modify dragged card stacks (needed for spider)
[solitaire]
- Adapt to cardlib changes, delete local cardlib copy

svn path=/trunk/; revision=43372
2009-10-11 12:07:11 +00:00
Aleksey Bragin
be31446a2e - Implement pool corruption tests for testing pool overrun/underrun detectors. Tests invocation is commented out by default.
svn path=/trunk/; revision=43371
2009-10-11 10:00:56 +00:00
Aleksey Bragin
4ff9e0a85e [powrprof]
- Implement some powrprof.dll according to regression tests committed in r43368, by Alexander Wurzinger <lohnegrim@gmx.net>.
- Minor bugfix by me.
See issue #3381 for more details.

svn path=/trunk/; revision=43370
2009-10-11 09:54:41 +00:00
Johannes Anderwald
aacb520dac - Store KSPROPERTY_SET in Irp when using KsPropertyHandler
- Fix a bug in KsPinDataIntersection

svn path=/trunk/; revision=43369
2009-10-11 09:49:10 +00:00
Aleksey Bragin
8512a881b0 [powrprof]
- Add more powrprof.dll tests, by Alexander Wurzinger <lohnegrim@gmx.net>.
- Some cleanup and code typo fixes by me.
See issue #3381 for more details.

svn path=/trunk/; revision=43368
2009-10-11 09:49:09 +00:00
Dmitry Gorbachev
8f4f21679d Fix English resource file. Patch by Joshua Rice, bug #4763.
svn path=/trunk/; revision=43367
2009-10-11 00:09:41 +00:00
James Tabor
25d4d83e6b - Fix exception. Spotted by Stefan Ginsberg.
svn path=/trunk/; revision=43366
2009-10-10 21:51:24 +00:00
Stefan Ginsberg
ca6fbc0be9 KD64 Compatibility Bringup:
- Add some missing control set structures to windbgkd.h from Singularity and fix some x86 assumptions.
- Use CopyExceptionRecord instead of ExceptionRecord32To64 as we can just copy directly on 64-bit.
- Add KeGetTrapFrameInterruptState macro to retrieve the interrupt state (ON/OFF) from a trap frame.
- Use macros for retrieving certain parameters from CONTEXT in KdpTrap instead of hardcoding x86.
- Add kdsup.c for x86/AMD64/ARM and move certain architecture dependent routines in here.
- Stub out MSR, Bus and I/O Space read/write support and use KdpSys* for Control Space as it is architecture dependent. Also stub out low memory check (for x86 PAE).
- Fix assumptions in the break point code that a breakpoint is 1 byte long (it is 4 byte on ARM, for example). Define the type required to contain a breakpoint per architecture and use KD_BREAKPOINT_SIZE when copying.
- KD supports 32 breakpoints, not 20.
- Be portable when initializing members of the KD version and debugger data block.
- Pointers in the debugger data block should not be sign extended as done in the version block -- fix KdInitSystem and KdUpdateDataBlock that did this.
- Fix some comments that were x86 specific and use more generic terms instead.
- Fix a cast in KeBugCheckWithTf.

svn path=/trunk/; revision=43365
2009-10-10 19:27:54 +00:00
Aleksey Bragin
3f7bed2eae [ntoskrnl]
- Reimplement HalpCalibrateStallExecution which was removed in r24964. Real Windows uses a different algorithm, however existing one seems to work acceptably. This patch is critical for devices support on real hardware. The only downside is that uniata initialization takes a substantial amount of time now, this is going to be investigated. Patch by Daniel Zimmermann.
See issue #4600 for more details.

svn path=/trunk/; revision=43364
2009-10-10 18:22:56 +00:00
Aleksey Bragin
fcd17ff4fb - Implement RtlpDidUnicodeToOemWork to check for unmapped characters. Based on a patch by Daniel Zimmerman.
See issue #4548 for more details.

svn path=/trunk/; revision=43363
2009-10-10 13:22:41 +00:00
Aleksey Bragin
1ac07cde09 [freeldr]
Andrew Steinborn <asteinborn78@gmail.com>
- Display error message when boot sector reading fails.
See issue #4641 for more details.

svn path=/trunk/; revision=43362
2009-10-10 13:05:02 +00:00
Aleksey Bragin
e93efe68d0 - Mark wtsapi32 as forked.
svn path=/trunk/; revision=43361
2009-10-10 12:56:02 +00:00
Aleksey Bragin
dfa73d9163 [wtsapi32]
Andrey Ivanov <andrey.v.ivanov@gmail.com>
- Implement WTSEnumerateProcessesA and WTSEnumerateProcessesW.
See issue #4658 for more details.

svn path=/trunk/; revision=43360
2009-10-10 12:55:34 +00:00
Aleksey Bragin
d605c0c30a [fastfat_new]
- Actually add short and long names to splay tree when setting up FCB's names.

svn path=/trunk/; revision=43359
2009-10-10 12:40:20 +00:00
Aleksey Bragin
0bf0c0acf7 [fastfat_new]
- Add two functions for adding/removing name links from splay trees.
- Cleanup Fati8dot3ToString function from testing code.
- Add FCB states, so far just two: has names, and has unicode name.

svn path=/trunk/; revision=43358
2009-10-10 12:34:02 +00:00
Aleksey Bragin
c6895f22d4 Alexander Yastrebov <menone7@gmail.com>
- SetDllDirectory should add a directory to the search path used to locate DLLs for the application.

See issue #4820 for more details.

svn path=/trunk/; revision=43357
2009-10-10 09:16:34 +00:00
Aleksey Bragin
2e0924d6af [fastfat_new]
- Manually fetch a short name entry in FatSetFcbNames and process it.
- Get a long name and process it too (though right now there is problem, FullFAT returns a short name instead of a true long name).
- Silence debug prints in FatiRead.

svn path=/trunk/; revision=43356
2009-10-10 09:13:39 +00:00
Cameron Gutman
25b4b890e3 - Small fix for 43354
- Only pass the physical address if we have it

svn path=/trunk/; revision=43355
2009-10-10 08:26:20 +00:00
Cameron Gutman
05c582bcbd - Fix timeout values
- Don't reply to ARP requests unless they are address to us
 - We now reset the NCE timeout if we receive a packet from the neighbor
 - Fixes ARP flooding (bug 4879)

svn path=/trunk/; revision=43354
2009-10-10 07:43:39 +00:00
James Tabor
6e2700c9e9 - Do not test for IMM start up from client info, instead do not attach to system threads. Thanks Tommy Ward.
svn path=/trunk/; revision=43353
2009-10-10 05:15:43 +00:00
James Tabor
2a76c1a5a0 - [Win32k] Implement AttachThreadInput, not yet connected to the thread message queue, update related.
- See http://www.codeproject.com/KB/cpp/onscreenkeyboard.aspx for test program.

svn path=/trunk/; revision=43352
2009-10-10 04:40:36 +00:00
Johannes Anderwald
2be81fb4fb - Map STATUS_NOT_FOUND to ERROR_NOT_FOUND
svn path=/trunk/; revision=43351
2009-10-10 03:45:57 +00:00
Cameron Gutman
85a6f2a081 - Specify the interface index so the route won't get added to interface 0 (loopback)
- Warn if something tries to add a route to the loopback adapter
 - Fixes routing issues some people were having

svn path=/trunk/; revision=43350
2009-10-10 02:04:13 +00:00
Michael Martin
3ff3c916b3 - KeyboardThreadMain: Set RepeatRate to 1 vice 0. Fixes text input in OpenOffice Writer.
svn path=/trunk/; revision=43349
2009-10-10 01:13:17 +00:00
Timo Kreuzer
543c259ae7 Fix SECURITY_DESCRIPTOR_RELATIVE that I broke, spotted by Stefan
svn path=/trunk/; revision=43348
2009-10-09 22:52:39 +00:00
Gregor Schneider
ce47d4b62f - Various resource fixes (unclosed files, unchecked memory allocations, missing destructor, not freed memory)
- Patch by Russell with some modifications by myself
See issue #4662 for more details.

svn path=/trunk/; revision=43347
2009-10-09 21:02:44 +00:00
Stefan Ginsberg
ef0f96e223 - Hey, you know what? Dbg/NtQueryDebugFilterState returns TRUE/FALSE after all.
svn path=/trunk/; revision=43346
2009-10-09 19:54:07 +00:00
Gregor Schneider
386bd6ace8 Correct MPEG1/2 video decoder filename, patch by Russell
See issue #4878 for more details.

svn path=/trunk/; revision=43345
2009-10-09 18:45:24 +00:00
Johannes Anderwald
0a8a0cd78d [KS]
- Fix a bug when canceling irps

svn path=/trunk/; revision=43344
2009-10-09 16:48:41 +00:00
Aleksey Bragin
d64568f5ff [fastfat_new]
- Add two names to an FCB - a short name, and a long name.
- Start implementing FatSetFcbNames, currently deals with short names only.
- Implement Fati8dot3ToString, with most of the code actually #if0ed, because FullFAT already does this conversion.

svn path=/trunk/; revision=43343
2009-10-09 14:20:33 +00:00
Johannes Anderwald
415b1f1591 [PORTLCS]
- KSCATEGORY_AUDIO should be the first device category so that wdmaud can correctly assign virtual device ids

svn path=/trunk/; revision=43342
2009-10-09 12:36:26 +00:00
Stefan Ginsberg
de4df47aec - Fix DbgLoadImageSymbols -- it doesn't return anything.
- Fix DbgQueryDebugFilterState -- it returns NTSTATUS, not BOOLEAN! Also fix the callers that depended on this.

svn path=/trunk/; revision=43341
2009-10-09 11:51:07 +00:00
Stefan Ginsberg
d3d2be7aa1 Actually define STATUS_ASSERTION_FAILURE (missed in 43291).
svn path=/trunk/; revision=43340
2009-10-09 11:27:41 +00:00
Cameron Gutman
1f7271bf91 - Fix some typos from my last commit
- Remove more hacks from iphlpapi

svn path=/trunk/; revision=43339
2009-10-09 05:18:35 +00:00
Cameron Gutman
a3ab545150 - Rewrite IOCTL_TCP_QUERY_INFORMATION_EX/IOCTL_TCP_SET_INFORMATION_EX handling
- Remove duplicate defines for the same IOCTL
 - Remove unneeded code
 - Fix a completely wrong implementation of ENTITY_TYPE_ID
 - Perform parameter checking
 - Remove several hacks in iphlpapi that worked around bugs in the previous implementation
 - We now support retrieving interface-specific routing tables and ARP tables

svn path=/trunk/; revision=43338
2009-10-09 02:40:38 +00:00
Stefan Ginsberg
8a1b2b51be - Stub out ExpSystemErrorHandler more properly.
svn path=/trunk/; revision=43337
2009-10-08 20:06:37 +00:00
Dmitry Chapyshev
7ae4b30b8e - Partially revert r42993 for imagelist
See issue #4304 for more details.

svn path=/trunk/; revision=43336
2009-10-08 11:18:34 +00:00
Johannes Anderwald
e7e971167b - When enumerating controls, cControls *tells* the number of controls not *cConnections*. Fix a crash in XP sndvol32
- Clear the entire struct, not just part of it
- WdmAudMixerCapabilities just provides the index of a device, not its handle. Fixes displaying of duplicate mixer name in sndvol32
- Verify that a mixer line exists

svn path=/trunk/; revision=43335
2009-10-08 07:25:26 +00:00
Stefan Ginsberg
60a2ad65bb MiReserveSystemPtes: Don't assert that allocation succeeded, just warn if we failed. All callers of the function handle allocation failure properly.
svn path=/trunk/; revision=43334
2009-10-07 20:14:01 +00:00
Dmitry Gorbachev
c64b032e93 Fix GCC 4.1.3 warning.
svn path=/trunk/; revision=43333
2009-10-07 20:04:17 +00:00
Dmitry Gorbachev
9ac33d6fbe Happy testing.
svn path=/trunk/; revision=43332
2009-10-07 19:58:15 +00:00
Dmitry Gorbachev
07dc415f89 Fix logging to a file.
In spite of limitations, it remains the only way to obtain desired logs for some people.

svn path=/trunk/; revision=43331
2009-10-07 19:57:40 +00:00
Dmitry Gorbachev
ffbb3fd184 Delete unused copy of GPL.
svn path=/trunk/; revision=43330
2009-10-07 19:56:35 +00:00
Dmitry Gorbachev
3da2eea23c Fix FreeLDR bug #4877. Patch by Gabriel.
svn path=/trunk/; revision=43329
2009-10-07 19:55:44 +00:00
Matthias Kupfer
85a206d9b2 - replace dropshadow from mouse settings by cursor shadow
- bind cursor shadow to registry via sysparams
- rename variable names and identifiers

svn path=/trunk/; revision=43328
2009-10-07 19:42:02 +00:00
Matthias Kupfer
f894aea679 - revert SPI_SETCLICKLOCK
- small optimization in mgsqueue

svn path=/trunk/; revision=43327
2009-10-07 18:22:25 +00:00
Timo Kreuzer
cfff690aae Add test for NtUserSystemParametersInfo case SPI_SETMOUSECLICKLOCK
svn path=/trunk/; revision=43326
2009-10-07 16:58:53 +00:00
Matthias Kupfer
4da1dafa69 - some preparation for ClickLock implementation
svn path=/trunk/; revision=43325
2009-10-07 14:25:52 +00:00
Aleksey Bragin
f637e66227 [fastfat_new]
- Implement FatiQueryNameInformation. It doesn't work right now due to missing file names in the FCB record.
- Make a stub for FatSetFcbNames.

svn path=/trunk/; revision=43324
2009-10-07 12:21:13 +00:00
Matthias Kupfer
0b89e7b0eb - load UserPreferencesMask from registry
svn path=/trunk/; revision=43323
2009-10-07 11:17:11 +00:00
Aleksey Bragin
c66ee08233 [fastfat_new]
- Lower importance of some debug messages.
- Add FCB locking routines.
- Lock VCB and FCB in QueryInformation.

svn path=/trunk/; revision=43322
2009-10-07 10:45:45 +00:00
Johannes Anderwald
5cb9dffd80 [WDMAUD]
- Use KsProbeStreamIrp in wdmaud to probe user buffers
- Remove a few hacks which were required to pass down irps to portcls
[PORTCLS]
- Check if there is an automation table
[SYSAUDIO]
- Release file object of pin to prevent reference leak
--
- Audio stack now reacts faster as it now longer copies audio buffers in kernel mode and instead locks down the user buffers. In addition it uses less memory to do the same work.


svn path=/trunk/; revision=43321
2009-10-07 10:41:34 +00:00
Johannes Anderwald
c959b785e7 - Fix building of ReactOS
svn path=/trunk/; revision=43320
2009-10-07 09:43:30 +00:00
Aleksey Bragin
abc450dbf0 [fastfat_new]
- Properly complete non-implemented volume open requests.

svn path=/trunk/; revision=43319
2009-10-07 09:27:03 +00:00
Johannes Anderwald
9da043a395 - Implement support for reading from waveIn devices
svn path=/trunk/; revision=43318
2009-10-07 09:10:00 +00:00
Dmitry Gorbachev
f80452789c Fix my stupid mistake, made in r43169. Bug #4863. Thanks to Gabriel & Victor.
svn path=/trunk/; revision=43317
2009-10-07 01:41:53 +00:00
Matthias Kupfer
54dec94b16 - fix typo in registry key name
- fix wrong argument order in SystemParametersInfo call
- use static variables instead of multiple strings
- fix wrong pointer access in sysparams

svn path=/trunk/; revision=43316
2009-10-07 00:07:30 +00:00
Johannes Anderwald
88c42f36e6 - Implement MIXER_GETLINEINFOF_COMPONENTTYPE for WdmAudGetLineInfo
- Implement MIXER_GETLINECONTROLSF_ONEBYID for WdmAudGetLineControls
- Clear MIXER_OBJECTF_HMIXER from Flags
- Fix a bug SetGetVolumeControlDetails which fixes retrieving current volume level (verified by sndvol32.exe from XP / mmsys.cpl ReactOS)

svn path=/trunk/; revision=43315
2009-10-06 18:16:21 +00:00
Johannes Anderwald
d4e6ed42ab - Fix creation of mixer pin
svn path=/trunk/; revision=43314
2009-10-06 09:55:19 +00:00
Johannes Anderwald
167a790409 - Partly implement WIDM_ADDBUFFER
svn path=/trunk/; revision=43313
2009-10-06 09:54:10 +00:00
Matthias Kupfer
91e81e3263 - bind (almost all) mouse settings to system and registry and fixup sysparams
svn path=/trunk/; revision=43312
2009-10-06 09:02:31 +00:00
Johannes Anderwald
89c0cc229a - Implement WIDM_OPEN, WIDM_CLOSE, WIDM_PREPARE, WIDM_UNPREPARE, WIDM_RESET for wave in devices
- Original code by Silverblade

svn path=/trunk/; revision=43311
2009-10-06 08:47:27 +00:00
James Tabor
ac17b39707 - Remove Thread from event structure and substitute with thread info from head structure.
svn path=/trunk/; revision=43310
2009-10-06 04:22:11 +00:00
James Tabor
6d29703714 - Set Process, pass keyboard handle and enable check for user hooks.
svn path=/trunk/; revision=43309
2009-10-06 03:38:23 +00:00
Matthias Kupfer
b63d2987f3 - use static variables instead of multiple strings
svn path=/trunk/; revision=43308
2009-10-05 21:00:44 +00:00
Matthias Kupfer
fca0dabc2d - add new desktop and mouse property keys to registry
- disable global settings from _SYSTEM_CURSORINFO and change files accordingly
- bind and load added registry keys for SystemParametersInfo
- TODO: read and set via SystemParametersInfo still incomplete

svn path=/trunk/; revision=43307
2009-10-05 19:53:15 +00:00
Johannes Anderwald
cf3f78eddf - Fix a critical bug in the counted worker implementation
svn path=/trunk/; revision=43306
2009-10-05 19:15:04 +00:00
Johannes Anderwald
9114169b5e - Implement setting / getting volume level
svn path=/trunk/; revision=43305
2009-10-05 17:00:59 +00:00
Matthias Kupfer
fb725bd122 - partly revert 43298
- fix the mouse swap button issue
- cleanup loading mouse properties
- change reg key types for mouse values like windows

svn path=/trunk/; revision=43304
2009-10-05 14:13:29 +00:00
Dmitry Gorbachev
6c43b7b64f select: change it to be more readable, avoid a spurious compiler warning.
svn path=/trunk/; revision=43303
2009-10-05 14:13:15 +00:00
Dmitry Gorbachev
9c974bb786 Avoid GCC warnings: deprecated conversion from string constant to 'WCHAR*'.
svn path=/trunk/; revision=43302
2009-10-05 14:13:09 +00:00
Dmitry Gorbachev
ea12565cf4 Document ROS_GENERATE_RSYM environment variable.
svn path=/trunk/; revision=43301
2009-10-05 14:13:01 +00:00
Dmitry Gorbachev
c2448f19d9 Modify DPRINT / DRPINT1 macros, check if DbgPrint crashed. Bug #4420.
svn path=/trunk/; revision=43300
2009-10-05 14:12:49 +00:00
Dmitry Gorbachev
69d7cf729d Fix internal name of ntkrnlmp.exe. Alexander Yastrebov (menone7 ~at~ gmail com), bug #4821.
svn path=/trunk/; revision=43299
2009-10-05 14:12:33 +00:00
Matthias Kupfer
8c914a280c - fix the mouse swap button issue
- cleanup loading mouse properties
- add function to load and store DWORD for sysparams registry keys
- TODO: check and fix the get and set cases for sysparams for the right registry key type

svn path=/trunk/; revision=43298
2009-10-05 11:35:06 +00:00
Cameron Gutman
605efdf3f2 - Remove the STATUS_PENDING case in UnlockAndMaybeComplete so we can catch pending IRPs which didn't get queued in the PendingIrpList
svn path=/trunk/; revision=43297
2009-10-05 02:31:16 +00:00
Cameron Gutman
29eda3e5dc - Cancel pending user IRPs when we get a IRP_MJ_CLEANUP request
- Previously there was some confusion between IRPs in PendingIrpList and InFlightRequest, InFlightRequest IRPs go from AFD to a TDI transport driver (tcpip) which are sent on behalf of AFD and are cancelled upon socket destruction (IRP_MJ_CLOSE) vs. IRPs in the PendingIrpList which go from user-mode to AFD which are sent of behalf of the user and should be cancelled when handling IRP_MJ_CLEANUP

svn path=/trunk/; revision=43296
2009-10-05 01:44:17 +00:00
Dmitry Gorbachev
2f4399ff41 Add "#pragma code_page(...)" again to fix compilation.
svn path=/trunk/; revision=43295
2009-10-04 22:40:01 +00:00
Daniel Reimer
555b27970e Update German NLS Files in Kernel32
svn path=/trunk/; revision=43294
2009-10-04 22:32:07 +00:00
Dmitry Gorbachev
5ea6a97c68 Add Spanish translation of Kernel32, fix translation of ServMan. Javier Remacha, bug #4872.
svn path=/trunk/; revision=43293
2009-10-04 22:03:21 +00:00
Matthias Kupfer
d358de8a0f temporarily workaround for swap mouse buttons feature
svn path=/trunk/; revision=43292
2009-10-04 20:45:51 +00:00
Stefan Ginsberg
1c3808ef76 - Add STATUS_ASSERTION_FAILURE status code required for NT_ASSERT.
- Check KdReceivePacket return for KdPacketReceived instead of 0 for correctness.
- Use KdpDprintf instead of setting CR2 for unhandled cases.
- Add more variables to KdDebuggerDataBlock.

svn path=/trunk/; revision=43291
2009-10-04 20:19:43 +00:00
Johannes Anderwald
8d668541e1 - Return correct status code
svn path=/trunk/; revision=43290
2009-10-04 20:14:09 +00:00
Johannes Anderwald
87d50197d2 - Implement Un-Muting of audio lines
- TBD: SEH probing

svn path=/trunk/; revision=43289
2009-10-04 19:45:16 +00:00
Matthias Kupfer
374363363d - remove double entry in inf
- load mouse settings
- TODO: mouse settings doesn't work properly, but read and set works

svn path=/trunk/; revision=43288
2009-10-04 19:28:52 +00:00
Cameron Gutman
6f249378c9 - Don't add the media-specific header until right before transmission
- Previously we would store the largest media-specific header size and add that value when creating a packet
 - Makes loopback packets smaller because they have no need for a media-specific header
 - Would fix packet corruption if interfaces with different media-specific headers were installed (if we supported that)
 - Makes adding support for other media types easier

svn path=/trunk/; revision=43287
2009-10-04 19:23:53 +00:00
Dmitry Gorbachev
698c0e253d Update Spanish translations. Javier Remacha, bug #4872.
svn path=/trunk/; revision=43286
2009-10-04 18:12:14 +00:00
Johannes Anderwald
f04d450f1f - Don't call ExFreePool for null pointers
svn path=/trunk/; revision=43285
2009-10-04 17:39:26 +00:00
Benedikt Freisen
3c4ec53672 corrected magnifying glass cursor
svn path=/trunk/; revision=43284
2009-10-04 17:25:55 +00:00
Stefan Ginsberg
3c5b2d9a61 Mega KD64 revival patch:
KD64
- Fix some 64-bit issues and some x86 specificness.
- Sub out some KdpTrap cases more properly.
- Implement support for .crash and .reboot. Does not seem to work currently because of weird issues.
- Implement KdpDprintf to send strings directly to the debugger from inside of KD64. Use it in KdEnterDebugger instead of DbgPrint so we won't try to enter the debugger recursively.
- Implement KdUpdateDataBlock to set the KeUserCallbackDispatcher pointer in the debugger block after its address is retrieved from ntdll.
- Don't assume breakpoints are 1 byte long in portable code -- use KD_BREAKPOINT_SIZE and define it per architecture.
- KdpStub: KdEnableDebugger returns NTSTATUS, not TRUE/FALSE.

Other
- wdbgexts.h: Properly define CURRENT_KD_SECONDARY_VERSION for AMD64.
- Make PsNtosImageBase pointer-sized as it should be.
- Change the definition of KDSTATUS so it is guaranteed to be 32-bit.
- Fix a critical bug in KiRestoreProcessorControlState: it didn't clear the busy flag in the TSS before reloading the task register, resulting in a GPF if we tried to reload the same register.
- Add macros for getting and setting special purpose registers (the Program Counter and the "return register") in portable code instead of using #ifdef every time. Do likewise for setting IMAGE_FILE_MACHINE_XXX, using a new IMAGE_FILE_MACHINE_ARCHITECTURE macro.
- Don't refer to the Program Counter as "Eip" in portable code.
- Define DBG_STATUS_CONTROL_C for assembly code and use it in KeUpdateSystemTime.

svn path=/trunk/; revision=43283
2009-10-04 16:53:15 +00:00
Stefan Ginsberg
f0c0e70c05 - Convert remaining KEBUGCHECK to KeBugCheck.
- Add HAL_MEMORY_ALLOCATION bug code and use it.

svn path=/trunk/; revision=43282
2009-10-04 14:48:18 +00:00
Matthias Kupfer
eb721653ab - DragFullWindow property changable via desktop settings / effects
- TODO: adapt desk.cpl to new sysparams implementation

svn path=/trunk/; revision=43281
2009-10-04 10:50:18 +00:00
Michael Martin
b7725b3fcc edit.c: Remove TPM_RETURNCMD flag from TrackPopupMenu missed during a recent WINE sync. Most apps that use edit control context menus are back to working. VB apps still crashes as the context menu implementation for edit controls is slightly wrong.
svn path=/trunk/; revision=43280
2009-10-04 07:26:23 +00:00
Cameron Gutman
fe8bd01634 - Put some code back which was removed in r43270
svn path=/trunk/; revision=43279
2009-10-04 03:55:34 +00:00
Timo Kreuzer
d6a01aca0e use __debugbreak() insetad of EngDebugBreak()
dedicated to Alex

svn path=/trunk/; revision=43278
2009-10-04 00:04:38 +00:00
James Tabor
62444813bb - Dont need this then.
svn path=/trunk/; revision=43277
2009-10-03 23:42:06 +00:00
James Tabor
a466f21e52 - Use TIF in cleanup flag.
svn path=/trunk/; revision=43276
2009-10-03 23:39:30 +00:00
Cameron Gutman
6ad0121a58 - Add cancellation support for IOCTL_AFD_SELECT
- Fix release build

svn path=/trunk/; revision=43275
2009-10-03 21:34:34 +00:00
Cameron Gutman
5920b78ec2 - Implement IRP cancellation for AFD
- Fixes "Broken driver did not complete!" showing up in the debug log (especially during winetests)

svn path=/trunk/; revision=43274
2009-10-03 20:52:54 +00:00
Hervé Poussineau
b809cead05 WINLDR: Finally, set Windows boot style as default
Many thanks to Fireball and Alex for your hard work on Windows boot style

svn path=/trunk/; revision=43273
2009-10-03 20:09:57 +00:00
Hervé Poussineau
9e7fc1c095 [usetup] Simplify creation of entries in freeldr.ini
svn path=/trunk/; revision=43272
2009-10-03 19:43:29 +00:00
Hervé Poussineau
b150069433 [freeldr] Remove MachDiskGetPartitionEntry, and directly use the correct one
Remove PpcDiskNormalizeSystemPath(), it was the same as DiskNormalizeSystemPath()

svn path=/trunk/; revision=43271
2009-10-03 18:41:10 +00:00
Cameron Gutman
94b78efb6a - Fix the crash in ws2_32_winetest during the ioctlsocket test
- Pass the blocking mode down to AFD
 - Dedicated to encoded

svn path=/trunk/; revision=43270
2009-10-03 18:21:14 +00:00
Matthias Kupfer
88b8d24b6f - consider DragFullWindows-value from Registry
svn path=/trunk/; revision=43269
2009-10-03 17:13:02 +00:00
Hervé Poussineau
f501c2bcb5 [freeldr] Remove (Mach)DiskGetBootDevice, DiskGetBootVolume, DiskGetSystemVolume, FsRecognizeVolume
This commit breaks ext2 driver in freeldr, which needs to use ArcSeek/ArcRead/Arc* instead of DiskGetBootVolume/MachDiskReadLogicalSectors

svn path=/trunk/; revision=43268
2009-10-03 17:00:29 +00:00
Hervé Poussineau
c599bd7dc0 Rework FAT filesystem to not be tied to boot filesystem
svn path=/trunk/; revision=43267
2009-10-03 16:47:54 +00:00
Benedikt Freisen
8ccb271064 * only show message box on exit if the image has not been saved and is not blank
* set as wallpaper: now working, setting wallpaper style: not yet
* made number of undo-steps changeable through define-statement; increased to 10 (see original)
* zoom tool got its track bar (see original)

svn path=/trunk/; revision=43266
2009-10-03 16:33:41 +00:00
Stefan Ginsberg
5b8c2418b7 - Replace some x86 assembly in drivers with portable breakpoint support.
svn path=/trunk/; revision=43265
2009-10-03 14:15:46 +00:00
Hervé Poussineau
80611d5a1d [freeldr] Fix warning on recent GCC versions
svn path=/trunk/; revision=43264
2009-10-03 13:29:41 +00:00
Hervé Poussineau
9c3b85b7d0 [freeldr] Code code specific to ARC emulation to its own directory
svn path=/trunk/; revision=43263
2009-10-03 13:11:22 +00:00
Hervé Poussineau
d9b6d51218 [freeldr] It's easy to check if we booted from a floppy thanks to boot path. No need to maintain a machine callback for that
svn path=/trunk/; revision=43262
2009-10-03 12:49:14 +00:00
Hervé Poussineau
7f2d93fde9 WINLDR: Move i386 specific code to its own file
svn path=/trunk/; revision=43261
2009-10-03 12:36:52 +00:00
Dmitry Chapyshev
aa4379b267 - Implement delete of the program information from the registry
- Store settings information in HKEY_LOCAL_MACHINE instead HKEY_CURRENT_USER

svn path=/trunk/; revision=43260
2009-10-03 09:34:19 +00:00
James Tabor
68180a507a - Prevent kernel bug check in win32k when calling a hook proc when thread is in cleanup.
- This is not a hack and not a fix. Please retest related bug report applications. Tested Firefox 3.5 and the new putty. Need new debug print outs. ATM Ff 3.5 send out WH_JOURNALRECORD hook calls when the thread is in cleanup. Look like this: Thread is in cleanup and trying to call hook 0
- Reference bug 4298.

svn path=/trunk/; revision=43259
2009-10-03 02:30:47 +00:00
Johannes Anderwald
f187acf5ef - Add KSPROPSETID_Audio guid
- Allocate data format after successful initialization of IPinWaveCyclic
- Store Miniport Adapter in subdevice descriptor
- Implement GUID_NULL handler for topology nodes 
- Implement setting / retrieving properties for topology nodes

svn path=/trunk/; revision=43258
2009-10-02 21:55:53 +00:00
Aleksey Bragin
58df56f2c5 [fastfat_new]
- Don't leak VCB lock, prevents hang when trying to open another file.

svn path=/trunk/; revision=43257
2009-10-02 17:07:37 +00:00
Aleksey Bragin
11361e2730 [fastfat_new]
- Fail with an error if file can't be opened.
- Implement FatCreateDcb, actually create DCBs for all parsed directories in the path.
- Set file size in an advanced FSRTL header for a file.
- Implement a small helper function for setting full names in FCB/DCB like it's done in the reference driver.

svn path=/trunk/; revision=43256
2009-10-02 13:59:51 +00:00
Aleksey Bragin
4e2fe08c74 [fullfat]
- Substitute more "free" to FF_Free function.

svn path=/trunk/; revision=43255
2009-10-02 11:56:03 +00:00
Johannes Anderwald
347609e691 - Rewrite Wave API to enumerate wave out / in devices at startup
- Improves speedup of application minus short delay in system boot
- Enumerate controls for source and destination lines

svn path=/trunk/; revision=43254
2009-10-02 10:57:24 +00:00
Johannes Anderwald
2f541881a8 - Check if NodeId is out of bounds
- Return correct status code

svn path=/trunk/; revision=43253
2009-10-02 10:53:36 +00:00
Aleksey Bragin
9ef3f7c1a2 [fastfat_new]
- Implement querying standard information (important for getting correct file size).
- Substitute CcMap/copy/Unpin by CcCopyRead in FatReadBlocks.
- Take offset into account (seek) in file read operation. Fixes always reading files from the beginning.

svn path=/trunk/; revision=43252
2009-10-02 10:49:57 +00:00
Cameron Gutman
7fe54dcf63 - Get the length from each packet header instead of assuming that all packets will be the length of the first one
svn path=/trunk/; revision=43251
2009-10-01 21:00:41 +00:00
Aleksey Bragin
43ef29d7ef [fastfat_new]
- Implement simple read support.
- Rewrite FatMapUserBuffer, no exception raising necessary at this stage.
- Silence FatReadBlocks dbgprint.

svn path=/trunk/; revision=43250
2009-10-01 16:08:11 +00:00
Stefan Ginsberg
c57385622a - Fix MSVC YieldProcessor macro
svn path=/trunk/; revision=43249
2009-10-01 14:18:54 +00:00
Stefan Ginsberg
fa46654ee8 - Kill leftover __USE_W32API
svn path=/trunk/; revision=43248
2009-10-01 14:18:18 +00:00
Aleksey Bragin
8f8f77367c [fastfat_new]
- Open a file in FatiOpenExistingFile by means of FullFAT library.
- Fix incorrect fullfat placement in fasfat.rbuild.
- Hack StreamFileObject to be 5Gb in length instead of 512 bytes. It'll be set to the size of an underlying physical device later.
- Add FF file handle to FCB structure.

svn path=/trunk/; revision=43247
2009-10-01 13:21:28 +00:00
Johannes Anderwald
4a81976dfd - Add usbdlib.h
svn path=/trunk/; revision=43246
2009-09-30 23:58:04 +00:00
Dmitry Gorbachev
d99cbc1ee2 Patch by Viliam Lejcik (lejcik =at= gmail com). Fixes bug #4858. With the blessing of Ged Murphy.
svn path=/trunk/; revision=43245
2009-09-30 20:59:21 +00:00
Stefan Ginsberg
9fdf04b17c ReactOS SMP Bringup Lite:
- Add simple and hacky spinlock implementation to HAL and kernel. It treats queued spinlocks as normal spinlocks and does not support debug timeout, but works well enough to expose bugs in spinlock usage.
- Implement KiProcessDeferredReadyList, a simple wrapper around KiDeferredReadyThread.
- Add missing PRCB locking in KiDeferredReadyThread.
- Implement SMP handling in KiRetireDpcList.
- Acquire the spinlock in KeSynchronizeExecution for SMP.
- Stub and export Kii386SpinOnSpinLock -- not used yet.
- Fix locking in KiAcquire/ReleaseDispatcherLockAtDpcLevel -- KeAcquireQueuedSpinLockAtDpcLevel takes the lock queue pointer, not the index.
- "Implement" KiRundownThread for SMP.
- Fix some sanity checks in the SMP context switch code and implement a stubbed SMP case.
- Define SYNCH_LEVEL in asm.h and use it in HAL's KeRaiseIrqlToSynchLevel.

To try the MP kernel on UP (it does not work on multiple processors yet) compile ntkrnlmp, rename it to ntoskrnl and add it to your installation. This requires a HAL with CONFIG_SMP enabled in HAL's spinlock.c and irq.S. Booting with the MP kernel does not work because of a weird regression introduced sometime in the last few months --  it appears MmProbeAndLockPages fails for a user mode stack pointer (no, I have no idea why).

svn path=/trunk/; revision=43244
2009-09-30 20:30:57 +00:00
Stefan Ginsberg
56bc75a184 - ASSERT on NULL-frees
svn path=/trunk/; revision=43243
2009-09-30 19:29:08 +00:00
Johannes Anderwald
17c528d7c3 - Several bugfixes for mixer source / destination line detection code
- Fix a memory leak

svn path=/trunk/; revision=43242
2009-09-30 18:58:52 +00:00
Stefan Ginsberg
b3e77ecf83 - KeBugCheckEx expects BugCheckParameter2 to point to an array when the bug code is FATAL_UNHANDLED_HARD_ERROR -- properly stub out ExpSystemErrorHandler so we don't crash in KeBugCheckEx.
svn path=/trunk/; revision=43241
2009-09-30 18:31:26 +00:00
Stefan Ginsberg
b42aaf88bb - Fix recursive spinlock acquisition in Mm caused by locking inconsistency between ARM3 and the old ReactOS Mm. The old Mm calls certain routines to modify PFN entries (lock, unlock, reference, dereference, etc) and acquires/releases the PFN lock inside those functions (which is extremely inefficient as you can't, for example, have to acquire/release the PFN lock twice to reference and lock the same page), while ARM3 synchronizes differently and holds the lock while calling those routines, resulting in a recursive lock attempt on MP (which works on UP because spinlocks are just IRQL raise/lower there). Move out locking from MmAllocPage, MmReference/DereferencePage and MmLock/UnlockPage to the callers to be consistent with ARM3.
- Add missing PFN locking to MmFreePagesFromMdl and MiAllocatePoolPages.
- Get rid of MmLockPageUnsafe and MmReferencePageUnsafe. The "safe" routines just forwarded to the unsafe versions -- call them directly instead. Remove unused MmAcquirePageListLock/MmReleasePageListLock.

svn path=/trunk/; revision=43240
2009-09-30 18:24:00 +00:00
Aleksey Bragin
4f128a3206 [fastfat_new]
- Partially implement a codepath for opening an existing file.
- Implement simple FCB and CCB creation.
- Correctly set FILE_OBJECT fields.
- Allocate space for SECTION_POINTERS.
- Implement some misc in FatQueryInformation.
- The driver goes up to getting a read request for ntdll.dll.

svn path=/trunk/; revision=43239
2009-09-30 16:16:18 +00:00
Stefan Ginsberg
eb89b6ac85 - ...and this one.
svn path=/trunk/; revision=43238
2009-09-30 13:43:55 +00:00
Stefan Ginsberg
e909d6a542 - Missed this one
svn path=/trunk/; revision=43237
2009-09-30 13:33:48 +00:00
Stefan Ginsberg
df3bf0c83a - Goodbye __USE_W32API
svn path=/trunk/; revision=43236
2009-09-30 13:32:05 +00:00
Stefan Ginsberg
56aba98ca8 - Good bye __USE_W32API, _DISABLE_TIDENTS
svn path=/trunk/; revision=43235
2009-09-30 13:31:50 +00:00
Stefan Ginsberg
bfc7376cd9 - Remove the remaining __USE_W32API, deprecated for ages.
- Remove _SEH_NO_NATIVE_NLG from msvcrt.rbuild, deprecated long ago.
- Get rid of __NO_CTYPE_INLINES for everything but host tools, deprecated since revision 38052.
- Deprecate and remove _DISABLE_TIDENTS.

svn path=/trunk/; revision=43234
2009-09-30 13:28:51 +00:00
Kamil Hornicek
ebe5bb75c0 - simplify the code a bit
svn path=/trunk/; revision=43233
2009-09-30 12:59:06 +00:00
Kamil Hornicek
6f17454af4 - add wglUseFontOutlines, wglUseFontBitmaps
- code ported (rearranged, simplified, fixed memory leaks, removed unneeded variables) from Mesa3D glDirect driver (c) SciTech Software, Inc
- more work needed but 3D text screen saver finally renders at least something

svn path=/trunk/; revision=43232
2009-09-30 12:12:56 +00:00
Johannes Anderwald
4127b55a9e - Store destination line in LineList
- Implement WdmAudGetLineInfo for MIXER_GETLINEINFOF_LINEID
- Add a hack for WdmAudGetLineControls for MIXER_GETLINECONTROLSF_ONEBYTYPE

svn path=/trunk/; revision=43231
2009-09-30 10:32:15 +00:00
Cameron Gutman
ac42df0ca7 - Uncomment some SYN handling code
- Enable a ROS-specific hack because oskittcp doesn't know about all interfaces in the system
 - Small cleanup of code

svn path=/trunk/; revision=43230
2009-09-30 03:44:44 +00:00
Cameron Gutman
1118959561 - Fix a nasty bug that caused us to exit the loop before sending all the data
svn path=/trunk/; revision=43229
2009-09-30 01:30:45 +00:00
Cameron Gutman
63fbb744f3 - Sync the ACK hack with the last oskit release
svn path=/trunk/; revision=43228
2009-09-29 23:14:21 +00:00
Hervé Poussineau
a471bf9bb0 Reapply r43141: Remove now unneeded ARC cdrom hack in NTLDR boot-style. We're now able to boot from a LiveCD, even if ReactOS directory is not "reactos"
Keep the existing hack for FreeLdr boot-style, which should be removed one day

svn path=/trunk/; revision=43227
2009-09-29 20:01:20 +00:00
Johannes Anderwald
ac2285ed31 - Italian & english translation of ks.inf
- Patch by Gabriel Ilardi (gabriel_it)

svn path=/trunk/; revision=43226
2009-09-29 18:03:41 +00:00
Aleksey Bragin
a7532a398b [fastfat_new]
- Add directory path parsing which tries to find existing FCBs for path names.
- Add a framework for creating DCBs during path dissection. Currently just prints out path names.
- Cleanup fcb.c, Alexey Vlasov's version was great, but it is a bit different from what I want to implement now.

svn path=/trunk/; revision=43225
2009-09-29 13:09:16 +00:00
Johannes Anderwald
83836038f7 - Implement enumerating mixer source and destination lines
svn path=/trunk/; revision=43224
2009-09-29 12:26:48 +00:00
Johannes Anderwald
3f5443deba - Implement PcHandlePropertyWithTable
- Use PcHandlePropertyWithTable to handle IOCTL_KS_PROPERTY requests
- Remove dead code

svn path=/trunk/; revision=43223
2009-09-29 10:46:30 +00:00
Aleksey Bragin
5f9e1cd8f9 [fastfat_new]
- Start integrating FullFAT library.
- Current state is that it's able to mount a FAT volume.

svn path=/trunk/; revision=43222
2009-09-29 10:08:43 +00:00
Aleksey Bragin
f1ee7979a1 [fullfat]
- Remove all malloc/free usage in the library and substitute them by user-provided FF_Malloc and FF_Free functions.
- Cleanup fullfat.rbuild.

svn path=/trunk/; revision=43221
2009-09-29 09:14:08 +00:00
James Tabor
f74bae6d05 - Add GraphApp, Ext2 and X to the list of acknowledged projects.
svn path=/trunk/; revision=43220
2009-09-29 04:01:30 +00:00
Johannes Anderwald
dfeea3b92e - Retrieve the correct pin name
svn path=/trunk/; revision=43219
2009-09-29 00:25:05 +00:00
Dmitry Gorbachev
1265b9904e Add 1152x864, 1280x1024, and 1600x1200 modes.
svn path=/trunk/; revision=43218
2009-09-28 20:46:44 +00:00
Dmitry Gorbachev
e654206923 Fix some bugs.
svn path=/trunk/; revision=43217
2009-09-28 20:46:30 +00:00
Dmitry Gorbachev
2b337a70b8 Do not copy those structures twice.
svn path=/trunk/; revision=43216
2009-09-28 20:46:19 +00:00
Stefan Ginsberg
9ea93e00f3 Erm, thanks Timo...
svn path=/trunk/; revision=43215
2009-09-28 20:34:11 +00:00
Stefan Ginsberg
1634f12c5e - Fix Winetests build after sddkver.h update (and why the hell isn't the build server building the tests anymore???)
svn path=/trunk/; revision=43214
2009-09-28 20:25:30 +00:00
Aleksey Bragin
b9b9f5e614 - Thanks Stefan.
svn path=/trunk/; revision=43213
2009-09-28 18:43:27 +00:00
Aleksey Bragin
77655e13d6 - Import FullFAT and add it to build.
svn path=/trunk/; revision=43212
2009-09-28 18:41:51 +00:00
Stefan Ginsberg
b97f271601 Correction to 36917: EPROFILE/KPROFILE.Segment is pointer sized, not a pointer.
svn path=/trunk/; revision=43211
2009-09-28 18:27:06 +00:00
Johannes Anderwald
59278a8c6d - Add ks.inf
- ATM, only german is available, and is also the default

svn path=/trunk/; revision=43209
2009-09-28 18:12:40 +00:00
Aleksey Bragin
c1d76231a4 [fastfat_new]
- Create root DCB when mounting a volume.

svn path=/trunk/; revision=43207
2009-09-28 18:04:31 +00:00
Stefan Ginsberg
79fe13f7e8 - Comment fixes
svn path=/trunk/; revision=43206
2009-09-28 18:02:45 +00:00
Stefan Ginsberg
87db0af5db Hey Arch, how do you expect kernel32 to build with Microsoft's headers if you define a NTDDI_VERSION that conflicts with _WIN32_WINNT and makes sdkddkver.h cry? Remove the conflicting define from the .rbuild and redefine it in the header before including the NDK (this is needed because we need Vista types from the PSDK but require 2003 types from the NDK -- glorious, eh?).
Prepare sddkver.h for mingw-w64 import:
- Point out the fact that the header is in the public domain.
- Add some missing stuff, including a NTDDI_VERSION sanity check.
- Format fixes, add some comments

svn path=/trunk/; revision=43205
2009-09-28 17:45:23 +00:00
Johannes Anderwald
1130b7dee4 - Implement KSPROPERTY_PIN_NAME properly
- KsPinPropertyHandler does *NOT* set Status in the IRP

svn path=/trunk/; revision=43204
2009-09-28 13:33:17 +00:00
Aleksey Bragin
6c1fab522b [fastfat_new]
- Add an internal routine for opening root DCB (a stub for now).
- Add code for checking if this is a relative or absolute open. Start implementing absolute opening part.

svn path=/trunk/; revision=43203
2009-09-28 11:02:34 +00:00
Aleksey Bragin
dfe3bd48b3 [fastfat_new]
- Fix wrong comment in FatiCreate, spotted by Ged Murphy.
- Add some parameters validation to FatiCreate, and a check for volume open request.
- Add node types and a decoding routine.
- Implement VCB locking/unlocking.

svn path=/trunk/; revision=43202
2009-09-28 10:43:27 +00:00
Johannes Anderwald
eaf6203af2 - Fix 2 bugs:
- The Category member is LPGUID not GUID
- Check if there is a category member

svn path=/trunk/; revision=43201
2009-09-28 10:38:23 +00:00
Johannes Anderwald
6dbd846a42 - Handle variable sized PCPIN_DESCRIPTORs
svn path=/trunk/; revision=43200
2009-09-28 10:30:34 +00:00
Aleksey Bragin
5fced5449b [fastfat_new]
- Start implementing one of the most massive IFS driver routines - IRP_MJ_CREATE handler. Right now it just does some preliminary work, deciphers all options, prepares all variables, prints out debug stuff.

svn path=/trunk/; revision=43199
2009-09-28 09:49:16 +00:00
Hervé Poussineau
e19fb94e99 bootvid.dll is in system32, not system32\drivers
svn path=/trunk/; revision=43198
2009-09-28 09:36:02 +00:00
Hervé Poussineau
04b1587c63 Fix debug message
svn path=/trunk/; revision=43197
2009-09-28 09:30:27 +00:00
Stefan Ginsberg
e97d4af887 - Remove superfluous VOID casts from 42314.
svn path=/trunk/; revision=43196
2009-09-27 20:34:40 +00:00
Stefan Ginsberg
a857ca2b6a - "Worked for me!"
svn path=/trunk/; revision=43195
2009-09-27 20:28:33 +00:00
Aleksey Bragin
7245b3c04b [fastfat_new]
- Acquire global lock before touching FatGlobalData structure.
- Initialize global VCB list, fixes a crash at volume mounting.
- Loading goes up to volume mounting, an attempt to query information and open a file.

svn path=/trunk/; revision=43194
2009-09-27 20:24:22 +00:00
Stefan Ginsberg
ef64669349 - Add more padding so our gcc compatible C_ASSERT doesn't conflict with ntoskrnl.h
svn path=/trunk/; revision=43193
2009-09-27 20:17:52 +00:00
Stefan Ginsberg
e7e6699ae1 - Use MAXUINT, MAXULONG, MAXDWORD, MAXULONGLONG and MAXULONGLONG instead of ~0 or casting -1 to unsigned.
- bintype.c: Use INVALID_SET_FILE_POINTER instead of (DWORD)-1.
- irp.c: KsGetNodeIdFromIrp returns KSFILTER_NODE (which is -1).
- basetsd.h: Add missing MAXUINT and MAXULONGLONG.
- typedefs.h: Add MAXULONG for mkhive.
- elf.inc.h and pe.c: Remove incorrect and unneeded MAXULONG define.

svn path=/trunk/; revision=43192
2009-09-27 20:07:43 +00:00
Daniel Reimer
d9fe1b8579 Synched the UniATA Inf to the internal support list. Now ROS can detect all supported SATA Controller even after 1st stage and properly shows them in the HW Wizard.
svn path=/trunk/; revision=43191
2009-09-27 14:21:47 +00:00
Sylvain Petreolle
10a06cc8a3 remove BOM
svn path=/trunk/; revision=43190
2009-09-27 13:44:37 +00:00
Daniel Reimer
18cf3ddaa4 Bug 4854: slovak updates by Mario Kacmar
Bug 4864: Bulgarian translation update for ReactOS.by CCTAHEB

svn path=/trunk/; revision=43189
2009-09-27 13:28:08 +00:00
Sylvain Petreolle
039e34f08c Arch, why are you using Unicode BOM ?
svn path=/trunk/; revision=43188
2009-09-27 13:27:36 +00:00
Stefan Ginsberg
0e4aca0ab4 - Remove deprecated GCC 4.4 hack
svn path=/trunk/; revision=43187
2009-09-27 13:20:44 +00:00
Kamil Hornicek
dc0fc114d6 - remove wgl* stubs added in r512, they don't belong here
svn path=/trunk/; revision=43186
2009-09-27 12:41:16 +00:00
Daniel Reimer
c4214a9722 Sync WinFile to Wine 1.1.30
svn path=/trunk/; revision=43185
2009-09-27 12:09:24 +00:00
Daniel Reimer
ae1fbc5ade Sync xcopy, winhlp32 and wordpad to Wine 1.1.30
svn path=/trunk/; revision=43184
2009-09-27 12:09:18 +00:00
Dmitry Gorbachev
4e0e2244b3 Fix undefined behavior, already fixed in Wine.
svn path=/trunk/; revision=43183
2009-09-27 11:56:35 +00:00
Dmitry Gorbachev
49cd47f946 Kill goto, avoid compiler warnings.
svn path=/trunk/; revision=43182
2009-09-27 11:56:16 +00:00
Dmitry Gorbachev
d9a760415b Give a name to a structure.
svn path=/trunk/; revision=43181
2009-09-27 11:55:47 +00:00
Stefan Ginsberg
8fa95b6a9c - Change CPUID to match the old Ki386Cpuid and take 4 output arguments instead of an array. This way we save some stack when using a dummy cpuid for synchronization and can query only the registers we want in the case we don't want all 4.
- Simplify Ke386GetTr and Ke386GetLocalDescriptorTable to return by value instead of reference.
- Make RDMSR smaller by making it fastcall as rdmsr takes its argument in ecx.
- Fix KiGetCacheInformation -- it only handled the Intel and AMD case.
- Replace Ke386HaltProcessor with __halt.
- KiHaltProcessorDpcRoutine: Always halt the processor for the architectures we support for consistency.
- Clean up x86 and PPC headers from deprecated stuff.
- Fix broken LOCK undefine in v86m_sup.S -- LOCK is used both in a macro and the code, so only undefine it where required and redefine it after it is used (this worked because LOCK was interpreted as lock).

Get rid of KeArch*:
- Rename KeArchInitThreadWithContext to KiInitializeContextThread and use the same name for all architectures.
- Kill KeArchHaltProcessor. Use __halt and KeArmHaltProcessor directly instead.
- Use Ke386FnInit instead of KeArchFnInit -- it is only used for x86.

svn path=/trunk/; revision=43180
2009-09-27 10:09:38 +00:00
Aleksey Bragin
733f6cb89b [uniata]
- Revert most of the 41684: "-fix support for ICH7,ICH7M,ICH8,ICH8M,ICH9,ICH9R,ICH9M and ICH10 in compat mode". Those controllers should be supported now, and when set to compat mode the driver falls back to UDMA automatically.
- ICH7 real hw testing is required. ICH9 doesn't work in Enhanced mode, works in Compat mode.

svn path=/trunk/; revision=43179
2009-09-27 10:04:21 +00:00
Johannes Anderwald
1c464b19ec - Add a few nodetypes
svn path=/trunk/; revision=43178
2009-09-27 09:56:14 +00:00
Aleksey Bragin
36bc68e508 - Add more supported ICH/PCH ids, confirmed by bearwindows.
svn path=/trunk/; revision=43177
2009-09-27 09:26:59 +00:00
James Tabor
91faf8f601 - [NtDDraw]
- Export global DD context size. Create a container for both PDev and EDDG structures. When allocating PDev and add the DD context size if not zero.

svn path=/trunk/; revision=43176
2009-09-27 03:12:02 +00:00
Johannes Anderwald
efc1228ec6 - Rewrite registering physical connection handling to support KSPROPERTY_PIN_PHYSICALCONNECTION
svn path=/trunk/; revision=43175
2009-09-27 00:50:06 +00:00
Timo Kreuzer
307f8beca8 Add rbuild files for x64 build. Dedicated to encoded.
svn path=/trunk/; revision=43174
2009-09-26 21:52:00 +00:00
Timo Kreuzer
f57f4193e5 Merge HAL changes 34743, 34812, 34839, 34917, 35515, 35771, 35902, 35904,
35905, 35906, 35942, 35947, 35948, 35949, 35953, 36013, 36388, 36389, 36570, 37873, 37991, 39151 from amd64 branch

svn path=/trunk/; revision=43173
2009-09-26 21:32:53 +00:00
Johannes Anderwald
40e44f56e1 - Add macros
svn path=/trunk/; revision=43172
2009-09-26 20:19:28 +00:00
Gregor Schneider
b96785f363 Don't add quick launch icon copies after showing a context menu
See issue #2453 for more details.

svn path=/trunk/; revision=43170
2009-09-26 19:24:39 +00:00
Dmitry Gorbachev
ad3b46fccd - Import Breton, Romansh, and Welsh NLS files from Wine.
- Sync locale RC files.
- Move language-specific stuff to more visible to translators place. ;)

svn path=/trunk/; revision=43169
2009-09-26 17:37:25 +00:00
Stefan Ginsberg
4c53cb03cc Fix one of the most awesome "_MSC_VER means compiling with Microsoft's header set" assumptions, revision 30728. Instead of breaking linking for user mode CRT to hide header incompatibilities we now use a less exciting solution; do not include the incompatible headers when implementing the affected functions -- abs.c and labs.c don't need anything at all, and strset.c only needs size_t, so define it there.
svn path=/trunk/; revision=43168
2009-09-26 15:42:34 +00:00
Stefan Ginsberg
7e11f6d4bc - HAL: Make /W3 friendly
- Everywhere else: Use casts instead of -1U to fix C4146 (this is compatible with both compilers)

svn path=/trunk/; revision=43167
2009-09-26 13:41:57 +00:00
Kamil Hornicek
53240a7115 - sync d3d8, d3d9, ddraw, wined3d with Wine 1.1.30
svn path=/trunk/; revision=43166
2009-09-26 11:13:40 +00:00
Dmitry Chapyshev
0e0e175f8d - Sync winhlp32 with Wine 1.1.30
svn path=/trunk/; revision=43165
2009-09-26 10:49:56 +00:00
Dmitry Chapyshev
2545051fec - Fix building of tests
svn path=/trunk/; revision=43164
2009-09-26 10:49:05 +00:00
Dmitry Chapyshev
ee67b18306 - Sync shlwapi, msxml3 and windowscodecs with Wine 1.1.30
svn path=/trunk/; revision=43163
2009-09-26 10:48:07 +00:00
Dmitry Chapyshev
92fb419193 - Sync crypt32 with Wine 1.1.30
svn path=/trunk/; revision=43162
2009-09-26 10:46:37 +00:00
Dmitry Chapyshev
e1fe6ab26d - Sync comctl32/comdlg32 with Wine 1.1.30
svn path=/trunk/; revision=43161
2009-09-26 10:45:59 +00:00
Dmitry Chapyshev
22db57dbe1 - Sync headers with Wine 1.1.30
svn path=/trunk/; revision=43160
2009-09-26 10:45:05 +00:00
Cameron Gutman
fcc4a34712 - Don't modify the size for now until I figure out where the incorrect code is
svn path=/trunk/; revision=43159
2009-09-26 06:50:06 +00:00
James Tabor
af4d2d6928 - Ilya Shpigor: User32: Skip STM_SETIMAGE message if the static control style does not match.
- Enable EnhMeta functions.

svn path=/trunk/; revision=43158
2009-09-26 05:36:10 +00:00
James Tabor
8d1578aa14 - Alexandre Julliard : kernel32: Cope with an empty resource section in UpdateResource.
- Wine Bug 19783 : http://bugs.winehq.org/show_bug.cgi?id=19783

svn path=/trunk/; revision=43157
2009-09-26 05:25:52 +00:00
Cameron Gutman
40d2ff91c9 - Add debug prints in failure cases
- Replace 0 with NO_ERROR

svn path=/trunk/; revision=43156
2009-09-26 01:05:45 +00:00
Johannes Anderwald
35d71447e0 - Enable building a bootcd
svn path=/trunk/; revision=43155
2009-09-26 00:57:22 +00:00
Cameron Gutman
6494e99ae8 - We want socket closure notification so we don't leak our socket context when the socket is destroyed
- Free socket context in WSHNotify

svn path=/trunk/; revision=43154
2009-09-25 23:44:51 +00:00
Cameron Gutman
dc5a52bb5a - Fix implementation of WSHGetWildcardSockaddr
- Implement WSHGetBroadcastSockaddr

svn path=/trunk/; revision=43153
2009-09-25 23:27:44 +00:00
Cameron Gutman
fe5958dbfe - Fix parameter checking in WSHGetSockaddrType
- Implement WSHGetWinsockMapping

svn path=/trunk/; revision=43152
2009-09-25 21:46:18 +00:00
Johannes Anderwald
48cb334fca [WDMAUD.DRV]
- Forward mixer control requests to wdmaud driver 
[MMEBUDDY]
- Handle MXDM_GETCONTROLDETAILS, MXDM_SETCONTROLDETAILS, MXDM_GETLINECONTROLS, MXDM_GETLINEINFO
[WDMAUD_KERNEL]
- Add stubs for mixer api

svn path=/trunk/; revision=43147
2009-09-25 18:06:13 +00:00
Johannes Anderwald
502edb2c1e [KS]
- Silent debug traces
- Try fix 'Assertion 'WorkItem->List.Flink == NULL' failed at ntoskrnl\ex\work.c'

svn path=/trunk/; revision=43146
2009-09-25 17:26:33 +00:00
Hervé Poussineau
897feb5b15 Revert r43141 to try to fix ReactOS boot style...
svn path=/trunk/; revision=43145
2009-09-25 15:10:28 +00:00
Cameron Gutman
a7a1d470fe - Fix a bug which causes port 0 to be classified as reserved instead of wildcard
svn path=/trunk/; revision=43144
2009-09-25 13:39:36 +00:00
Aleksey Bragin
02b0f9d055 [winldr]
- Fix release build.

svn path=/trunk/; revision=43143
2009-09-25 13:03:42 +00:00
Aleksey Bragin
f57d3a98b7 [winldr]
- Load and use debug boot options if built with DBG (mimics old reactos setupldr behaviour).

svn path=/trunk/; revision=43142
2009-09-25 09:28:37 +00:00
Hervé Poussineau
5519bfc73a Remove now unneeded ARC cdrom hack. We're now able to boot from a LiveCD, even if ReactOS directory is not "reactos"
svn path=/trunk/; revision=43141
2009-09-24 22:05:10 +00:00
Hervé Poussineau
757788da16 [freeldr] Put cdrom information in block list information
svn path=/trunk/; revision=43140
2009-09-24 21:29:31 +00:00
Johannes Anderwald
d3716d892e - Fix derefercing of null pointer
- Brought to you by Amine Khaldi (amine48rz)

svn path=/trunk/; revision=43139
2009-09-24 20:32:31 +00:00
Johannes Anderwald
0cb3d8ff11 [WDMAUD.DRV]
- Implement copying mixer capabilities
[WDMAUD_KERNEL]
- Partly implement retrieving mixer capabilties
- Implement retrieving mixer name

svn path=/trunk/; revision=43138
2009-09-24 19:24:22 +00:00
Johannes Anderwald
c17e7adfbd [WDMAUD.DRV]
- Implement opening / closing of mixer devices
[AUDIO_TEST]
- Add DirectKs sample test function
[WDMAUD_KERNEL]
- Use KSSTREAM header of the changed interface

svn path=/trunk/; revision=43133
2009-09-24 18:11:22 +00:00
Stefan Ginsberg
bea4561694 - msctf: Define function calling convention compatibly for MSVC. Patch sent to and accepted by Wine.
svn path=/trunk/; revision=43132
2009-09-24 18:01:03 +00:00
Kamil Hornicek
28f4e36884 - handle WGL_SWAP_MAIN_PLANE flag in rosglSwapLayerBuffers
svn path=/trunk/; revision=43131
2009-09-24 16:35:20 +00:00
Johannes Anderwald
a05d1166e2 - Implement CPortFilterWaveCyclic::FastDeviceIoControl
svn path=/trunk/; revision=43130
2009-09-24 15:07:29 +00:00
Johannes Anderwald
fee01ee6d4 - Rewrite mixer enumeration functions
- WDMAUD should reports a mixer device each time it sees a KSNODETYPE_ADC / KSNODETYPE_DAC

svn path=/trunk/; revision=43129
2009-09-24 14:54:58 +00:00
Hervé Poussineau
5a4647d276 Put bootvid.dll in system32 directory
svn path=/trunk/; revision=43127
2009-09-24 11:58:06 +00:00
Hervé Poussineau
2432b60a2e WINLDR: Don't hardcode filesystem driver name
Instead, use the one of the system partition

svn path=/trunk/; revision=43126
2009-09-24 08:15:13 +00:00
Hervé Poussineau
d338a87238 Partly unregress Xbox 1 port. It now fails with INACCESSIBLE_BOOT_DEVICE bugcheck
svn path=/trunk/; revision=43124
2009-09-23 20:59:08 +00:00
Hervé Poussineau
3287d9f0c1 [freeldr] Partition numbers are 1 based
svn path=/trunk/; revision=43123
2009-09-23 19:07:49 +00:00
Dmitry Gorbachev
ac46db36ce Update log2lines to version 1.1. Patch by Jan Roeloffzen. Bug #4342.
svn path=/trunk/; revision=43122
2009-09-23 10:33:11 +00:00
Cameron Gutman
992ce2eedd - Comment out RegNotifyChangeKeyValue call until it gets implemented
- WSAStartup succeeds now

svn path=/trunk/; revision=43121
2009-09-23 01:17:14 +00:00
Art Yerkes
f0b6797aad Allocate a TLS slot once at process join and treat TlsIndex as an alias to it.
svn path=/trunk/; revision=43120
2009-09-23 00:45:19 +00:00
Aleksey Bragin
dacdbb5e50 [win32k]
- Giannis Adamopoulos: Don't do callbacks to usermode when holding the lock. Fixes the famous "VMWare video driver installer 2nd stage hang" bug. Signed off by James Tabor.
See issue #2666 for more details.

svn path=/trunk/; revision=43119
2009-09-22 21:50:33 +00:00
Colin Finck
4842b49169 - Get rid of the KDB_MODULE_INFO and operate with LDR_DATA_TABLE_ENTRYs directly.
This saves us from some copy steps and unneeded search operations.
- Fix loading HAL.DLL symbols.
  This module is not guaranteed to be the second one in PsLoadedModuleList due to the kernel loading bootvid.dll.
- Don't duplicate code in KdbpSymFindModule and KdbpSymFindUserModule. Use a helper function instead and call it twice from KdbpSymFindModule.
- Get rid of KdbpSymFindModuleByAddress, KdbpSymFindModuleByName and KdbpSymFindModuleByIndex. Instead use a single KdbpSymFindModule for all three variants.
- Remove some unused functions and defines.

svn path=/trunk/; revision=43118
2009-09-22 21:31:55 +00:00
Hervé Poussineau
7f582de62c [freeldr] Never ever define a macro as multiple instructions. It may lead to subtle bugs
svn path=/trunk/; revision=43117
2009-09-22 20:33:56 +00:00
Johannes Anderwald
39b702d16e - Fix memory leak
- Fix displaying of random characters if there is no device name

svn path=/trunk/; revision=43116
2009-09-22 20:09:11 +00:00
Hervé Poussineau
4648a3e59d [freeldr] Rework NTFS filesystem to not be tied to boot filesystem
svn path=/trunk/; revision=43115
2009-09-22 19:37:11 +00:00
Hervé Poussineau
9b86293dce [freeldr] Move definition of maximum number of available file descriptors to fs.h
Fix typos

svn path=/trunk/; revision=43114
2009-09-22 19:33:34 +00:00
Hervé Poussineau
16c6a54da7 [freeldr] Accept to read blocks whose size is not a multiple of device sector size
svn path=/trunk/; revision=43113
2009-09-22 19:32:35 +00:00
Johannes Anderwald
f03906b449 - Partly implement IBandSite, IMenuBand
svn path=/trunk/; revision=43112
2009-09-22 18:30:39 +00:00
Johannes Anderwald
2be3bf200c - Fix a bug spotted by Timo
svn path=/trunk/; revision=43111
2009-09-22 13:54:33 +00:00
Johannes Anderwald
58184d639d - Stubplement IBandSite interface
svn path=/trunk/; revision=43110
2009-09-22 13:52:54 +00:00
Kamil Hornicek
4dc423f636 - don't return false on success
svn path=/trunk/; revision=43109
2009-09-22 10:29:27 +00:00
Stefan Ginsberg
aaff3e2d56 - Use __writeeflags instead of clc to clear the carry flag.
svn path=/trunk/; revision=43108
2009-09-21 22:08:44 +00:00
Johannes Anderwald
9422016556 - Fix up-down control spinning
See issue #3390 for more details.

svn path=/trunk/; revision=43107
2009-09-21 19:31:19 +00:00
Johannes Anderwald
c0a4a591d8 - Fix playing global thermo nuclear war in ReactOS
- Found by encoded

svn path=/trunk/; revision=43105
2009-09-21 18:11:52 +00:00
James Tabor
13aafd8c95 - Add the missing Result return pointed out by Michael Martin.
svn path=/trunk/; revision=43104
2009-09-21 17:29:26 +00:00
Stefan Ginsberg
53231784a0 Mega compiler intrinsics patch:
FreeLdr
- Goodbye Ke386EraseFlags & KeAmd64EraseFlags. Welcome __writeeflags.
- Respect MSVC when generating clc (clear carry flag) instruction in PcGetTime.
- Use portable __wbinvd instead of __asm__ in XboxMemInit.
- Replace broken gcc assembly by portable intrinsics in WinLdrpMapApic.
- Use portable Ke386SetSs and Ke386SetGs (new) in WinLdrSetProcessorContext.
- The far jump in WinLdrSetProcessorContext can not be expressed in masm, so we use a (untested) far return instead.

Kernel
- Replace Ke386Set/GetInterruptDescriptorTable, Ke386Save/RestoreFlags, Ke386Set/GetDr, Ki386Cpuid, Ke386Rdmsr and Ke386Wrmsr by MSVC alternatives present in intrin.h.
- Fixed Ke386Get/SetGlobalDescriptorTable, Ke386GetLocalDescriptorTable and Ke386GetTr -- the intrinsics were completely broken for MSVC and generated bogus code. Moreover, Ke386Set/GetInterruptDescriptorTable and Ke386Rdmsr were also affected. This lets us (in addition to having a bootable, working msvc compiled kernel) get rid of several hacky variable zero-initializations that hid this bug -- the way MSVC interpreted the inlined assembly resulted in uninitialized variable usage.
- Implement Ke386SetGs and add missing Ke386SetGs for gcc.
- KdPollBreakIn: Use portable KeDisableInterrupts instead of x86 intrinsics and flags.

svn path=/trunk/; revision=43103
2009-09-21 15:20:18 +00:00
Michael Martin
302ad7c74f LogfWriteData: Add missing LeaveCriticalSection before returning from function. Found by Amine Khaldi
svn path=/trunk/; revision=43102
2009-09-21 12:49:25 +00:00
James Tabor
1ebd555855 - Working with Michael Martin to fix the LoadMenu callback bug. MenuName is a variable string buffer and not a pointer. The minimum size is always four bytes. Initialization of the structure, zero out the memory, allowing Intersource check to function as it should. To make it Intersource, use the first word character in the buffer.
svn path=/trunk/; revision=43101
2009-09-21 01:22:32 +00:00
Cameron Gutman
bd6fba2037 - Stub and export GetAddrInfoW
svn path=/trunk/; revision=43100
2009-09-20 22:20:16 +00:00
Cameron Gutman
4d2e0e023f - Simplify and fix a few bugs in datagram reassembly
- Implement reassembly timeout

svn path=/trunk/; revision=43099
2009-09-20 21:07:45 +00:00
Dmitry Gorbachev
5ec7ec1632 Update / add Japanese translations. Tomoya Kitagawa, bug #4852.
svn path=/trunk/; revision=43098
2009-09-20 19:35:23 +00:00
Johannes Anderwald
a1aecae7e1 - Fix a crash when an application hasnt defined a event label
svn path=/trunk/; revision=43097
2009-09-20 17:44:52 +00:00
Johannes Anderwald
8694a0d2e3 - Rewrite sound scheme handling
- Implement changing sound scheme & sound action

svn path=/trunk/; revision=43096
2009-09-20 15:47:32 +00:00
Cameron Gutman
4834de3328 - Partial rewrite of dispatch()
- Header cleanup
 - Fix several bugs related to null pointer access and out-of-bounds array access
 - Found by Amine Khaldi
 - This should fix the issue with dhcp crashing and hogging tons of cpu time

svn path=/trunk/; revision=43095
2009-09-20 15:00:08 +00:00
Johannes Anderwald
ba7067eafa - Fix several bugs in printer ' IShellFolder implementation
- Partly implement IShellFolder::GetAttributesOf
- Implement IShellFolder::GetDisplayNameOf for root pidl
- Implement ISF_ControlPanel_fnParseDisplayName to parse display names
<spoiler>Gets rid of the annoying message box when clicking on the printer folder in the start menu</spoiler>

svn path=/trunk/; revision=43094
2009-09-20 04:21:29 +00:00
Cameron Gutman
3aee3165e0 - Remove a DbgPrint that was forgotten
svn path=/trunk/; revision=43093
2009-09-20 01:58:06 +00:00
Cameron Gutman
c1769578ac - Fix GetIpNetTable
- Arp -a will now show a complete list of ARP information

svn path=/trunk/; revision=43092
2009-09-20 01:37:40 +00:00
James Tabor
bc07b8444d - Update Edit wine tests.
svn path=/trunk/; revision=43090
2009-09-19 23:37:32 +00:00
James Tabor
ea148f5053 - Wine sync up to 1.1.29 Edit controls.
svn path=/trunk/; revision=43089
2009-09-19 23:31:17 +00:00
James Tabor
bbbab20bda - Header cleanup +1.
svn path=/trunk/; revision=43088
2009-09-19 22:21:12 +00:00
James Tabor
9df47abb4d - Header cleanup.
svn path=/trunk/; revision=43087
2009-09-19 22:20:43 +00:00
James Tabor
3cb48f661e - Two bugs found by Michael Martin.
svn path=/trunk/; revision=43086
2009-09-19 22:17:25 +00:00
Timo Kreuzer
4dfeddc69f Merge from amd64 branch:
35746 sserapion Convert crtdll to WINE's spec file.
35789 sserapion re-add missing api, remove unneded file
36614 sserapion convert d3d8 to spec
36930 sserapion Fix more rbuild files and fix up gdi32 and glu32 spec files.
38148 tkreuzer convert d3d8thk to spec
38151 tkreuzer convert ddraw to spec
38265 sserapion devcpux:- Fix ProcessorDlgProc definition - Convert to spec.
      slayer:- Convert to spec.
38268 sserapion devcpux:- Fix ProcessorDlgProc definition
39333 tkreuzer hid: convert to spec (taken from wine)
39345 tkreuzer ksuser: convert to spec, don't allow warnings
40991 tkreuzer msafd: convert to spec / fix 64bit build
41000 tkreuzer mswsock: convert to spec, taken from wine
41050 tkreuzer sndblast: convert to spec
43080 tkreuzer winsta: convert to spec and fix duplicate definition
41082 tkreuzer twaain_32: convert to spec
41083 tkreuzer uext: convert to spec
41084 tkreuzer ufat: convert to spec
41085 tkreuzer ufatx: convert to spec
41086 tkreuzer untfs: convert to spec
41549 tkreuzer winfax: covert to spec

svn path=/trunk/; revision=43085
2009-09-19 22:16:27 +00:00
Timo Kreuzer
db120f8686 merge from amd-64 branch:
r40992: msconfig: don't use inline functions as case labels [[Timo Kreuzer]]

svn path=/trunk/; revision=43082
2009-09-19 16:13:34 +00:00
Dmitry Chapyshev
6ca1f0de19 - Implement "Settings" dialog.
- Implement save of position of a window
- Implement installation/deinstallation logs
- Implement auto updating programs list at start
- Remove unused code from loaddlg.c
- Some small changes bug fixes

svn path=/trunk/; revision=43081
2009-09-19 16:04:38 +00:00
Timo Kreuzer
bd754cd1f3 convert to spec and fix duplicate definition
svn path=/branches/ros-amd64-bringup/; revision=43080
2009-09-19 14:06:47 +00:00
Timo Kreuzer
f9c2afd00a Sync with trunk r43000
svn path=/branches/ros-amd64-bringup/; revision=43079
2009-09-19 13:58:16 +00:00
Cameron Gutman
8f5ae98c4f - Fix a small bug in the route selection code
svn path=/trunk/; revision=43078
2009-09-19 03:22:26 +00:00
Cameron Gutman
9ccce3d818 - Changed some behavior from the last neighbor cache rewrite
- NCEs are no longer destroyed when they become stale so the hardware address can be saved for direct communication
 - The route selection code has been changed to choose against stale NCEs if possible

svn path=/trunk/; revision=43077
2009-09-19 01:39:16 +00:00
Cameron Gutman
3db65819eb - Partial rewrite of CHEW
- Remove some unneeded work item usage
 - Remove an unused member of DISCONNECT_TYPE

svn path=/trunk/; revision=43076
2009-09-19 00:58:36 +00:00
Aleksey Bragin
13ebb47cf4 - Fix a couple of bugs in the uniata ATA code spotted by bearwindows. ICH8/ICH9/ICH10 should be supported now.
svn path=/trunk/; revision=43075
2009-09-18 22:25:34 +00:00
Stefan Ginsberg
056eed5ceb - Use msvc intrinsics in HAL instead of Ke386*
svn path=/trunk/; revision=43074
2009-09-18 20:56:49 +00:00
Stefan Ginsberg
baf7d1b796 - _mingw.h: Don't define __attribute__ to nothing -- this is only good for creating bugs.
- sect_attribs.h: Define _CRTALLOC for msvc. Enable #pragma section and add missing .tls and .tls$ZZZ.
- mingw runtime: Only use __attribute__((weak)) for gcc.
- freeldr: Use #pragma pack instead of __attribute__((packed)).
- kernel32: Only alias __cxa_pure_virtual to _purecall for gcc.

svn path=/trunk/; revision=43073
2009-09-18 15:22:28 +00:00
Johannes Anderwald
36e9913408 - Fix a bug which broke build
svn path=/trunk/; revision=43072
2009-09-18 09:29:39 +00:00
Johannes Anderwald
8c36300c0b - Allow creating a copy of a file residing in the same directory
- Free the correct the buffer 
- Romanian language needs to be updated
See issue #4846 for more details.

svn path=/trunk/; revision=43070
2009-09-18 00:48:47 +00:00
Cameron Gutman
885d8e0656 - Use proper object attributes and share access when opening the file object
- Fixes a rare INVALID_KERNEL_HANDLE BSOD and debug log handle warnings from AFD when using Firefox
 - See bug #4796

svn path=/trunk/; revision=43069
2009-09-17 23:09:16 +00:00
Johannes Anderwald
6049b93ebc - Implement ISFHelper_fnCopyItems for desktop shellfolder
- Check if the target folder desktop
- Fixes copying of files to desktop

See issue #4845 for more details.

svn path=/trunk/; revision=43068
2009-09-17 22:57:50 +00:00
Stefan Ginsberg
699f0baa21 - Fix kernel build regression for MSVC from 43014
svn path=/trunk/; revision=43067
2009-09-17 18:28:26 +00:00
Art Yerkes
ac0cfa98e2 Patch by maxime vernier (bugzilla bug 4661).
Fix the ghost bug and the graphical glitch with process id 0

svn path=/trunk/; revision=43066
2009-09-17 16:07:37 +00:00
Stefan Ginsberg
1b035b748d - Use __MINGW_NOTHROW instead of __attribute__
svn path=/trunk/; revision=43065
2009-09-17 15:47:35 +00:00
Stefan Ginsberg
066451d087 - Fix uninitialized variable usage in DefWindowProcA/W
- Don't inline EnableScrollBar as a forwarder for NtUserEnableScrollBar when it is implemented differently. Also define EXTINLINE compatibly for MSVC.

svn path=/trunk/; revision=43064
2009-09-17 15:46:24 +00:00
Johannes Anderwald
64b23aea12 - Fix 2 user32 winstation test failures (patch by Giannis Adamopoulos johnyadams (_AT_)hotmail (D-O-T) com
- Test results verified by Amine Khaldi

svn path=/trunk/; revision=43063
2009-09-17 15:25:36 +00:00
Johannes Anderwald
172097561a - Fix 2 user32 winstation test failures (patch by Giannis Adamopoulos johnyadams (_AT_)hotmail (D-O-T) com
- Revert hack from 43061 and fix it properly
- Test results verified by Amine Khaldi

svn path=/trunk/; revision=43062
2009-09-17 15:20:24 +00:00
Johannes Anderwald
9d87a14a91 - Fix copying of files / directories in explorer view
- Part 2/2

svn path=/trunk/; revision=43061
2009-09-17 13:45:08 +00:00
Johannes Anderwald
49f6944ab0 - Fix copying of files / directories in explorer view
- Part 1/2

svn path=/trunk/; revision=43060
2009-09-17 13:44:34 +00:00
Cameron Gutman
de538d3fb3 - Call SetLastError/GetLastError to do our work for WSASetLastError/WSAGetLastError
- This will help find regressions before moving to ws2_32_new (ws2_32_new uses this method)

svn path=/trunk/; revision=43058
2009-09-15 22:21:27 +00:00
Johannes Anderwald
62d4dce686 - Set ProgramFiles, CommonProgramFiles environment variable
See issue #4008 for more details.

svn path=/trunk/; revision=43057
2009-09-15 22:14:12 +00:00
James Tabor
148f6d7472 - Patch by Smiley <johnyadams@hotmail.com>: remove redundant system calls when window structure is available to user space.
svn path=/trunk/; revision=43056
2009-09-15 22:13:16 +00:00
Dmitry Chapyshev
b30e6874f7 - Add validation a computer name
- Set limit for computer name length

svn path=/trunk/; revision=43055
2009-09-15 15:36:35 +00:00
James Tabor
e3083bb86d - Update win32k tests.
svn path=/trunk/; revision=43054
2009-09-15 15:25:37 +00:00
James Tabor
b5f5703c66 [User32] Theme Support Interface
- This is part 1, Tested with Wine user32 tests, Seamonkey, FireFox and AbiWord.
[References:]
- http://www.reactos.org/wiki/RegisterUserApiHook
- http://www.codeproject.com/KB/miscctrl/uxtheme.aspx
- http://opcode0x90.wordpress.com/2007/05/11/user32__clientloadlibraryx/
- US Patent 6992681 and 6762767 - Theme aware management using fusion

svn path=/trunk/; revision=43053
2009-09-15 15:24:09 +00:00
Dmitry Chapyshev
b8395bbb78 - Partially implement "Computer Name Changes" dialog. Computer name can be changed now.
See issue #3304 for more details.

svn path=/trunk/; revision=43052
2009-09-15 13:45:34 +00:00
Johannes Anderwald
d794889e14 - Check if a shortcut to shortcut is made and resolve it in that case
- Fixes bug 4720

svn path=/trunk/; revision=43051
2009-09-14 22:55:44 +00:00
Dmitry Chapyshev
75b7890a52 - Handle potential null-pointer access. Found by Amine Khaldi.
svn path=/trunk/; revision=43050
2009-09-14 11:13:54 +00:00
Michael Martin
398838e6c3 NtAllocateVirtualMemory: Add check to make sure that BaseAddress + RegionSize is inside MemoryArea.
For AllocationType of MEM_RESET add FIXME's and return STATUS_SUCCESS, without modifying attributes of region. Fixes 2 virtual tests for kernel32_winetest.

svn path=/trunk/; revision=43049
2009-09-14 09:21:05 +00:00
Cameron Gutman
89975fc479 - Rework our aging neighbor cache system that never quite worked correctly
- Fixes several memory leaks
 - Fix the event timer and NCE timeouts
 - We now keep our neighbor cache updated and remove stale entries

svn path=/trunk/; revision=43048
2009-09-14 04:20:05 +00:00
Dmitry Chapyshev
9422642223 - Fix starting Imdisk applet. Patch by Johnny Adams (johnyadams[at]hotmail[dot]com)
See issue #4481 for more details.

svn path=/trunk/; revision=43047
2009-09-14 02:28:50 +00:00
James Tabor
e30c013155 - Remove redundant null check. Spotted by Amine Khaldi.
svn path=/trunk/; revision=43046
2009-09-14 00:36:08 +00:00
Johannes Anderwald
0a2995d3a6 - Remove obsolete code
- Fix closing of virtual audio devices introduced 43035

svn path=/trunk/; revision=43045
2009-09-13 22:26:59 +00:00
Johannes Anderwald
71333f2f32 - Add back PHYSICAL_ADDRESS workarround for IDmaChannel::PhysicalAddress
- Only define guids for gcc
- Add missing PURE interface function definitions
- Silence debug spam
- Initialize ResourceList members
- Fix calculation when allocating new resources entries
- Fix building of portcls with msvc

svn path=/trunk/; revision=43044
2009-09-13 22:13:48 +00:00
James Tabor
848f926415 - Add query window for real process Id.
svn path=/trunk/; revision=43043
2009-09-13 22:06:58 +00:00
Dmitry Gorbachev
1977bb8a55 Fix r43040 mistake.
svn path=/trunk/; revision=43042
2009-09-13 21:26:46 +00:00
Stefan Ginsberg
5de8f359fe - Fix some redefinition warnings caused by our headers' suckyness
svn path=/trunk/; revision=43041
2009-09-13 21:23:54 +00:00
Dmitry Gorbachev
92b08a01ef Fix GCC detection in RBuild (first check TARGET_CC).
svn path=/trunk/; revision=43040
2009-09-13 21:18:21 +00:00
Johannes Anderwald
739a12f946 - Fix typo
svn path=/trunk/; revision=43039
2009-09-13 21:10:33 +00:00
Dmitry Gorbachev
89246ee4ec Silence compiler warnings for all GCC 4.4.x versions.
svn path=/trunk/; revision=43038
2009-09-13 18:51:44 +00:00
Dmitry Chapyshev
7cf92c45bd - Fix cursor position bug after turn off word wrap. Patch by Alexey Komarov
See issue #3702 for more details.

svn path=/trunk/; revision=43037
2009-09-13 05:36:24 +00:00
Johannes Anderwald
6fd2ea71d2 [KS]
- Store Object Header in FsContext2
- Fix allocation of create item entry in KsAllocateObjectCreateItem
- Fix de-referencing in Ks[De]ReferenceSoftwareBusObject & Ks[De]ReferenceBusObject
- Fake success in KsEnableEvent
- Check if the list empty in KspFreeEventList
- Handle GUID_NULL in KspPropertyHandler
- Return STATUS_MORE_ENTRIES if outputbuffer is too small
- Zero struct in KsRegisterWorker
[PORTCLS]
- Store dispatch context in FsContext
- Ignore return value in interrupt sync routine [[Amine Khaldi]]
- Disable assert for frame size check for now
- Free buffer only if the irp was from kernel mode(hack 2 be removed)
- remove unused includes [[Amine Khaldi]]
- Don't attempt copying an empty resource list [[Amine Khaldi]]
[WDMAUD_KERNEL]
- Check if allocation succeeded [[Amine Khaldi]]
[SYSAUDIO]
- Store dispatch context in FsContext2


svn path=/trunk/; revision=43035
2009-09-12 14:35:27 +00:00
Dmitry Chapyshev
d34f9b2919 - Remove unused variable. Found by Amine Khaldi.
svn path=/trunk/; revision=43034
2009-09-12 12:14:21 +00:00
Dmitry Chapyshev
2ff9fd5fcf - Add NULL pointer check. Found by Amine Khaldi.
svn path=/trunk/; revision=43033
2009-09-12 12:04:39 +00:00
Cameron Gutman
6672b72619 - Fix memory leaks when reading strings and binary values from the registry
- Fix list manipulation

svn path=/trunk/; revision=43032
2009-09-12 02:26:33 +00:00
Stefan Ginsberg
172aed5aa9 - ObpCreateDosDevicesDirectory: Check that allocation succeeded before dereference
svn path=/trunk/; revision=43031
2009-09-11 22:31:46 +00:00
Stefan Ginsberg
5c57066048 - Remove accidental change from 42918
svn path=/trunk/; revision=43030
2009-09-11 18:18:21 +00:00
James Tabor
7cdc0d481a - Quick implementation of RtlIsThreadWithinLoaderCallout.
svn path=/trunk/; revision=43029
2009-09-11 07:12:30 +00:00
Johannes Anderwald
f889dc273c - Fix build #2
svn path=/trunk/; revision=43028
2009-09-11 06:53:50 +00:00
Johannes Anderwald
fb611f08d0 - Fix build
svn path=/trunk/; revision=43027
2009-09-11 06:45:30 +00:00
Johannes Anderwald
ad2cf72549 - Convert portcls to a C++ driver
- Tested with Vbox 2.2.4 + AC97 with Winamp
- WIP, Testing recommended

svn path=/trunk/; revision=43026
2009-09-11 06:33:55 +00:00
Johannes Anderwald
82376f839e - Remove dead code
svn path=/trunk/; revision=43025
2009-09-11 06:33:01 +00:00
Stefan Ginsberg
6469ecfb2b - Fix various warnings in inflib (thanks to Ged for help with what appears to be a gcc bug in push_token)
- Disable useless gcc warning in libjpeg
- Fix a 64-bit warning in pefixup

svn path=/trunk/; revision=43024
2009-09-10 17:41:44 +00:00
Johannes Anderwald
fece42a150 - A few header updates
svn path=/trunk/; revision=43023
2009-09-10 09:52:40 +00:00
Dmitry Gorbachev
c89668ac36 Correct the terms for measurement systems.
Love Nystrom (lovenystrom]at[hotmail]dot[com), bug #4838.

svn path=/trunk/; revision=43022
2009-09-10 05:11:55 +00:00
Dmitry Gorbachev
2d133c5a5f Sync translations with English file. Javier Remacha. Bug #4731.
svn path=/trunk/; revision=43021
2009-09-10 04:49:19 +00:00
Dmitry Gorbachev
761c741815 Update/add Spanish and Basque translations. Javier Remacha. Bug #4731. (2/2)
svn path=/trunk/; revision=43020
2009-09-10 04:02:33 +00:00
Dmitry Gorbachev
b810a5f55a Update/add Spanish and Basque translations. Javier Remacha. Bug #4731. (1/2)
svn path=/trunk/; revision=43019
2009-09-10 04:02:22 +00:00
Dmitry Gorbachev
5b1957fe6d Japanese translations by Tomoya Kitagawa. Bug #4840. (2/2)
svn path=/trunk/; revision=43018
2009-09-09 23:43:37 +00:00
Dmitry Gorbachev
30afc678b7 Japanese translations by Tomoya Kitagawa. Bug #4840. (1/2)
svn path=/trunk/; revision=43017
2009-09-09 23:43:32 +00:00
Dmitry Gorbachev
e95d84f203 Update Slovak translation. Mario Kacmar. Bug #4839.
svn path=/trunk/; revision=43016
2009-09-09 23:43:22 +00:00
Dmitry Gorbachev
67e6ee1fc2 Spanish translation of RApps by Javier Remacha. Bug #4731.
svn path=/trunk/; revision=43015
2009-09-09 23:43:16 +00:00
Colin Finck
3e4016ea24 [FORMATTING] Fix the indentation mess in KDBG and use a consistent 4 spaces indentation.
svn path=/trunk/; revision=43014
2009-09-09 13:49:04 +00:00
James Tabor
5221d11896 - [Win32k] Class rewrite
- This is part 1, tested with Wine user32 class, Seamonkey, FireFox and AbiWord.
- Please refer to bug report 4778.

svn path=/trunk/; revision=43010
2009-09-07 04:55:00 +00:00
James Tabor
f5617658a3 Patch by johnyadams@hotmail.com: Some applications try to set a child as a parent. See bug 4789.
svn path=/trunk/; revision=43009
2009-09-06 22:20:34 +00:00
Hervé Poussineau
d67020065f Revert r43007 to try to please buildbot
svn path=/trunk/; revision=43008
2009-09-06 21:33:27 +00:00
Hervé Poussineau
bc1ef0f290 Rework FAT filesystem to not be tied to boot filesystem
svn path=/trunk/; revision=43007
2009-09-06 20:02:22 +00:00
Hervé Poussineau
0472f141b8 Implement GetFileInformation() on disks for i386 architecture
svn path=/trunk/; revision=43006
2009-09-06 20:00:23 +00:00
Hervé Poussineau
e6aa81a105 Remove code dealing with FAT cache. It is never used
svn path=/trunk/; revision=43005
2009-09-06 16:43:03 +00:00
Hervé Poussineau
8803ca6791 For now, some filesystems still need to use DiskGetBootVolume()...
svn path=/trunk/; revision=43004
2009-09-06 16:07:08 +00:00
Hervé Poussineau
86500a05fc Remove support for machine specific versions of DiskGetBootVolume and DiskGetSystemVolume
svn path=/trunk/; revision=43003
2009-09-06 15:59:16 +00:00
Hervé Poussineau
f0d54803ce Do not leak device descriptors in case of error
svn path=/trunk/; revision=43002
2009-09-06 14:21:00 +00:00
Sylvain Petreolle
fdc770befb reenable kernel32:pipe test
try and comment out test_read_write() in kernel32:file test,
it causes MDL PROBE FAILED errors

svn path=/trunk/; revision=43001
2009-09-06 13:11:11 +00:00
Sylvain Petreolle
144e14b5de forgot the header update part.
svn path=/trunk/; revision=43000
2009-09-06 11:22:47 +00:00
Sylvain Petreolle
217abe07bc sync mlang winetest with wine 1.1.29
svn path=/trunk/; revision=42999
2009-09-06 11:05:14 +00:00
Sylvain Petreolle
7659b1a778 - Sync mlang with Wine 1.1.29
svn path=/trunk/; revision=42998
2009-09-06 11:05:11 +00:00
Dmitry Chapyshev
e5bda864f3 - Handle memory allocation failures. Found by Amine Khaldi
svn path=/trunk/; revision=42997
2009-09-05 15:07:13 +00:00
Dmitry Chapyshev
9edf823a23 - Sync sti with Wine 1.1.29
svn path=/trunk/; revision=42996
2009-09-05 15:04:13 +00:00
Dmitry Chapyshev
1405554792 - Sync ole32 and oleaut32 with Wine 1.1.29
svn path=/trunk/; revision=42995
2009-09-05 15:03:37 +00:00
Dmitry Chapyshev
4480f2ca35 - Sync msctf, mshtml and msxml3 with Wine 1.1.29
svn path=/trunk/; revision=42994
2009-09-05 15:02:49 +00:00
Dmitry Chapyshev
fb3ef650c9 - Sync comctl32 and comdlg32 with Wine 1.1.29
svn path=/trunk/; revision=42993
2009-09-05 15:01:30 +00:00
Dmitry Chapyshev
cc90d205cc - Sync headers with Wine 1.1.29
svn path=/trunk/; revision=42992
2009-09-05 15:00:41 +00:00
Kamil Hornicek
7a390b0142 - update wined3d to Wine 1.1.29
- reapply our hack for releasing fake GL context, fixes bug 4836
See issue #4836 for more details.

svn path=/trunk/; revision=42991
2009-09-04 09:38:44 +00:00
Dmitry Chapyshev
95776aba48 - Handle memory allocation failure. Found by amine48rz
svn path=/trunk/; revision=42990
2009-09-03 15:30:38 +00:00
Dmitry Chapyshev
5a6e6bdf2a - Sync gdiplus with Wine 1.1.29
svn path=/trunk/; revision=42989
2009-09-03 15:07:25 +00:00
Daniel Reimer
2b26c07762 Bug 4795: Japanese translation for paint by pcds90net, Tomoya Kitagawa
Bug 4828: updates for slovak and translation for rapps by Mario Kacmar

svn path=/trunk/; revision=42988
2009-09-03 15:05:10 +00:00
Dmitry Chapyshev
e6c21517ae - Sync shdocvw with Wine 1.1.29
svn path=/trunk/; revision=42987
2009-09-03 14:59:32 +00:00
Dmitry Chapyshev
953707a174 - Sync windowscodecs with Wine 1.1.29
svn path=/trunk/; revision=42986
2009-09-03 14:54:19 +00:00
Kamil Hornicek
509c6dadc2 - update wined3d, d3d8, d3d9, ddraw to Wine 1.1.28
svn path=/trunk/; revision=42983
2009-09-03 09:18:38 +00:00
Dmitry Chapyshev
0b70fb9114 - Update applications information. Patch by Maciej Bialas (bjauy[at]tlen[dot]pl)
svn path=/trunk/; revision=42982
2009-09-02 14:59:50 +00:00
Dmitry Chapyshev
631c081835 - Free memory at initialization failure
svn path=/trunk/; revision=42981
2009-09-02 13:07:12 +00:00
Dmitry Chapyshev
8954edb33c - Add missed checks of memory allocation failures
svn path=/trunk/; revision=42980
2009-09-02 13:02:30 +00:00
Colin Finck
733c8b092d Michael Bruestle (michael_bruestle@yahoo.com)
- Properly handle multiple monitors in the screensavers (expand the screensaver window to all monitors)

svn path=/trunk/; revision=42979
2009-09-01 18:48:36 +00:00
Dmitry Chapyshev
61722a34c0 - Update applications information. Patch by Maciej Bialas (bjauy[at]tlen[dot]pl)
See issue #4818,4807 for more details.

svn path=/trunk/; revision=42978
2009-09-01 15:12:35 +00:00
Cameron Gutman
b464adfcbe - Send NetEventBindsComplete when binding has completed (required for the WDK example ndis protocol driver to work)
svn path=/trunk/; revision=42977
2009-09-01 00:15:30 +00:00
Stefan Ginsberg
4cb0bbe32f - Fix a valid gcc 4.4.0 uninitialized variable warning
svn path=/trunk/; revision=42976
2009-08-31 20:40:02 +00:00
Stefan Ginsberg
125b919b06 - Partial revert of 42973 for the systeminfo utility -- the issue was fixed in 42930
- GCC 4.1.3 doesn't support %I64 -- compile the code conditionally

svn path=/trunk/; revision=42975
2009-08-31 14:37:54 +00:00
Hervé Poussineau
6ca346d8d4 Use memory wrappers instead of ExAllocatePool/ExFreePool directly
svn path=/trunk/; revision=42974
2009-08-30 19:20:30 +00:00
Stefan Ginsberg
e6097bec74 - %llx -> %I64x
- Don't pass a string literal to strcmp

svn path=/trunk/; revision=42973
2009-08-30 18:40:58 +00:00
Stefan Ginsberg
8d854b2802 - Add missing prototype
svn path=/trunk/; revision=42972
2009-08-30 18:25:38 +00:00
Stefan Ginsberg
a8206018e6 - Fix some inflib warnings
svn path=/trunk/; revision=42971
2009-08-30 18:11:09 +00:00
Stefan Ginsberg
b0f1241ccb - gcc 4.4.0 bringup 1 of ?:
- servman: Disable unused, static function
- explorer, mpu401: Fix "deprecated conversion from string constant to 'xxx'" under
- ws2_32_new, portcls: Hack around bogus uninitialized variable usage warning for
- glu32: Fix various warnings and errors

svn path=/trunk/; revision=42970
2009-08-30 15:53:16 +00:00
Stefan Ginsberg
07d6ee8ed5 - Make ddraw test compile warning free under gcc 4.4.0
svn path=/trunk/; revision=42969
2009-08-30 15:36:37 +00:00
Stefan Ginsberg
a557cda82c - Fix gdb2 and regexpl warnings under gcc 4.4.0
svn path=/trunk/; revision=42968
2009-08-30 15:35:14 +00:00
Daniel Reimer
a8d673a487 OK, I give up. Pigglesworth, HAALP. What do I do wrong??!
svn path=/trunk/; revision=42967
2009-08-30 11:35:28 +00:00
Daniel Reimer
ed373a444a Next try. This time I reverted most of my header changes and just needed to add some and edit two of them.
svn path=/trunk/; revision=42966
2009-08-30 00:12:52 +00:00
Timo Kreuzer
2441eec072 Update DM_XXX constants and move some from winuser.h to wingdi.h where they belong, sort COLOR_XXX constants by number
svn path=/trunk/; revision=42965
2009-08-30 00:08:21 +00:00
Cameron Gutman
be53da4398 - Implement AFD_INFO_GROUP_ID_TYPE
svn path=/trunk/; revision=42964
2009-08-29 17:53:45 +00:00
Daniel Reimer
7a6738ff89 Revert my recent changes.
svn path=/trunk/; revision=42963
2009-08-29 17:01:29 +00:00
Daniel Reimer
18a7c5443a Sync ddraw, d3d8 and d3d9 + wined3d to wine 1.1.28
Succesfully builds warning free under GCC 4.1 and 4.4

svn path=/trunk/; revision=42961
2009-08-29 14:24:48 +00:00
Hervé Poussineau
b6f0ced7a5 [ntoskrnl] Check if caller has valid access before opening a registry key
Assign security descriptor to new keys we're creating

svn path=/trunk/; revision=42960
2009-08-29 10:35:30 +00:00
Cameron Gutman
291b697b95 - Check that AFD succeeded the create request
- Use NtCreateFile instead of ZwCreateFile

svn path=/trunk/; revision=42959
2009-08-27 22:25:59 +00:00
Cameron Gutman
0ea9c96b9c - Check that we got a valid socket before trying to bind
svn path=/trunk/; revision=42958
2009-08-27 21:31:49 +00:00
KJK::Hyperion
895075e99c Add a missing include
"msc_helper" -> "rbuild_helper" in error messages

svn path=/trunk/; revision=42957
2009-08-27 19:34:19 +00:00
Matthias Kupfer
1abc5e10f8 - revert change from revision 41251, because it introduce more problems then it fixes
- basic problem still unsolved, window z-ordering doesn't work properly

svn path=/trunk/; revision=42956
2009-08-27 14:55:54 +00:00
Daniel Reimer
e75fc4e648 forgot these
svn path=/trunk/; revision=42949
2009-08-27 00:15:47 +00:00
Daniel Reimer
7b0250f20b Bug 4805: Bulgarian translation update by CCTAHEB (except the wine synced files)
Bug 4081: Japanese translation for ReactOS Application Manager by pcds90net
Bug 4797: Norwegian translate update (17.08.09) by Lars Martin Hambro
Bug 4786: Translation patch, Dutch for usetup by Jan Roeloffzen

svn path=/trunk/; revision=42948
2009-08-27 00:11:01 +00:00
Dmitry Chapyshev
d3bda8e821 - Fix problem with uTorrent deinstallation
- Closing of keys at list updating

svn path=/trunk/; revision=42946
2009-08-26 19:03:32 +00:00
Dmitry Chapyshev
e7f2c45f58 - Fix typo in Russian translation
svn path=/trunk/; revision=42944
2009-08-26 17:46:48 +00:00
Stefan Ginsberg
ff4df4d6b2 - Fix a typo -- check if memory allocation failed instead of checking if a variable's stack address is NULL.
svn path=/trunk/; revision=42943
2009-08-26 17:41:01 +00:00
Stefan Ginsberg
f11466d9c0 - Make use of _SEH2_YIELD in Ex, Io, Ob, Ps and Se.
- Don't call ExSystemExceptionFilter() if we know the caller is user mode.
- Get rid of a couple of dependencies on the NTSTATUS being initialized with STATUS_SUCCESS -- indicate success where properly instead.

svn path=/trunk/; revision=42942
2009-08-26 17:31:02 +00:00
Stefan Ginsberg
08db367162 - Fix a bug in KiRaiseException from 42923 -- a _SEH2_LEAVE wasn't converted to _SEH2_YIELD
svn path=/trunk/; revision=42937
2009-08-26 14:52:00 +00:00
James Tabor
6d8d6a8fc5 - Fix a crash in SetMenuInfo.
svn path=/trunk/; revision=42934
2009-08-26 01:07:32 +00:00
Dmitry Chapyshev
a5e2e10413 - Use iswspace instead isspace. Patch by Alexander Yastrebov (menone7[at]gmail[dot]com)
svn path=/trunk/; revision=42933
2009-08-25 09:45:07 +00:00
Gregor Schneider
b6cecfd934 chklib: print function pointer as a pointer, gcc 4.4 warning
svn path=/trunk/; revision=42932
2009-08-25 00:31:45 +00:00
Gregor Schneider
e45de08eec tftpd: add parenthesis around AND statements embedded in OR statements, use const char* for string constants (gcc 4.4 warnings)
svn path=/trunk/; revision=42931
2009-08-25 00:13:15 +00:00
Gregor Schneider
32f5ad4ca6 systeminfo: use strcmp to compare strings, gcc 4.4 warning
svn path=/trunk/; revision=42930
2009-08-24 23:48:57 +00:00
Stefan Ginsberg
9b25f7a883 - Make use of _SEH2_YIELD in Mm
svn path=/trunk/; revision=42929
2009-08-24 20:39:23 +00:00
Dmitry Gorbachev
0811de4790 ... and kernel32, too.
svn path=/trunk/; revision=42928
2009-08-24 20:10:05 +00:00
Dmitry Gorbachev
3d0a8cc2a9 ... and dxg,
svn path=/trunk/; revision=42927
2009-08-24 20:10:03 +00:00
Dmitry Gorbachev
d412903cb1 Sprinkle win32k with some explicit voids,
svn path=/trunk/; revision=42926
2009-08-24 20:09:58 +00:00
Stefan Ginsberg
4a1bc02d08 - ...fix typo
svn path=/trunk/; revision=42925
2009-08-24 20:08:45 +00:00
Stefan Ginsberg
9bf4e79360 - Add a comment and debug print
svn path=/trunk/; revision=42924
2009-08-24 20:07:12 +00:00
Stefan Ginsberg
f022f9092b - Use _SEH2_YIELD when returning from an exception instead of returning outside the SEH block. Avoids unnecessary status checks for the most common case (no exception). Move the cleanup code into the handler too in favor of the no-exception case. Futhermore, don't call ExSystemExceptionFilter when we know we are called from user mode. Finally, only enter SEH if we need to do any probing.
- Re-enable user mode probes in KiRaiseException; they do not seem to be an issue anymore -- booting and running the ntdll exception Winetest didn't reveal any issue. Put a breakpoint there in case this code is ever hit (unlikely).

svn path=/trunk/; revision=42923
2009-08-24 19:58:15 +00:00
Stefan Ginsberg
87db4c425c - "BIG0" isn't a reserved tag, but "BIG " is.
svn path=/trunk/; revision=42922
2009-08-24 18:36:03 +00:00
Dmitry Gorbachev
59c14c8c0f Fix Czech file.
svn path=/trunk/; revision=42921
2009-08-24 18:21:48 +00:00
Stefan Ginsberg
beba1269e6 - Get rid of TAG() from the kernel
- mmtypes.h: Goodbye TAG(), you won't be missed

svn path=/trunk/; revision=42920
2009-08-24 18:19:53 +00:00
Stefan Ginsberg
77fc26f56a - Deprecate TAG() in rostests
svn path=/trunk/; revision=42918
2009-08-24 17:41:36 +00:00
Stefan Ginsberg
53cbc6c4a3 - Missed these in 42915
svn path=/trunk/; revision=42917
2009-08-24 17:38:50 +00:00
Stefan Ginsberg
67e0101546 - Actually commit prntfont.h change (leftover from 42915)
svn path=/trunk/; revision=42916
2009-08-24 17:36:23 +00:00
Stefan Ginsberg
ea23cd10c2 - Start deprecating TAG()
- Fix inverted tags in prntfont.h, stdunk.h and win32k/objects/font.c

svn path=/trunk/; revision=42915
2009-08-24 17:12:25 +00:00
Johannes Anderwald
7776fec6ce - Check that all pins have been closed when the last filter reference is gone
- Fix freeing of stream data (hacked atm)
- Implement retrieving of all property items for PinWaveCyclic

svn path=/trunk/; revision=42913
2009-08-24 13:00:14 +00:00
Sylvain Petreolle
ae0ddccd63 temporarily disable kernel32:pipe tests.
the testing process seems to go further if this test crashes,
looking at testman output.

svn path=/trunk/; revision=42912
2009-08-24 12:57:34 +00:00
Christoph von Wittich
694741e9f9 sync user32 winetest with wine 1.1.28
svn path=/trunk/; revision=42911
2009-08-24 12:42:47 +00:00
Johannes Anderwald
63b3ed6d1e - Fix calling property handler in IKsFilter_DispatchDeviceIoControl
- Found by [[Amine Khaldi]]
- Implement handling of KSPROPERTY_TYPE_BASICSUPPORT

svn path=/trunk/; revision=42910
2009-08-24 12:21:20 +00:00
Christoph von Wittich
e080831a72 sync kernel32 profile with wine 1.1.28
svn path=/trunk/; revision=42909
2009-08-24 12:17:02 +00:00
Gregor Schneider
2296d0a5dd gdb2: Use const char* for string constants, gcc 4.4 warnings
svn path=/trunk/; revision=42908
2009-08-24 12:06:53 +00:00
Gregor Schneider
aab0f77c13 netreg: include stdio.h for fprintf, sprintf and sscanf; gcc 4.4 warnings
svn path=/trunk/; revision=42907
2009-08-24 12:01:38 +00:00
Gregor Schneider
b84ac6c703 ddraw_test: Use const char* for string constants, gcc 4.4 warning
svn path=/trunk/; revision=42906
2009-08-24 11:50:37 +00:00
Christoph von Wittich
eb65544870 sync ole32 with wine 1.1.28
svn path=/trunk/; revision=42905
2009-08-24 10:51:15 +00:00
Christoph von Wittich
c0755ff4f4 define USE_COM_CONTEXT_DEF
svn path=/trunk/; revision=42904
2009-08-24 10:48:24 +00:00
James Tabor
e83ca9a324 - Patch by Dmitry Timoshkov : user32: Return 0 from DefDlgProc and dialog loop for invalid dialog handles. Need to update user32 wine tests.
svn path=/trunk/; revision=42903
2009-08-24 06:10:52 +00:00
James Tabor
ddd06401af - Patch by Rein Klazes : user32: Handle WM_PRINTCLIENT message in PopupMenuWndProc().
svn path=/trunk/; revision=42902
2009-08-24 06:09:01 +00:00
James Tabor
69dffc5810 - Gdi32: Update metafile structure.
svn path=/trunk/; revision=42901
2009-08-24 06:06:05 +00:00
Johannes Anderwald
c1854b985e - Fix broken check
- Enables Ks Studio to instantiate audio pins

svn path=/trunk/; revision=42900
2009-08-24 02:54:53 +00:00
Gregor Schneider
8e0dd42d55 GetCharacterPlacementA: check FONT_mbtowc return value for validity
svn path=/trunk/; revision=42899
2009-08-24 00:00:06 +00:00
Gregor Schneider
eda170fe74 GetCharacterPlacementA: Free memory on error
svn path=/trunk/; revision=42898
2009-08-23 23:51:09 +00:00
Gregor Schneider
aa38bf2535 CreateMetaFileW: WriteFile returns the number of bytes written for synchronous operations
svn path=/trunk/; revision=42897
2009-08-23 23:40:48 +00:00
Gregor Schneider
c3d83ebfa9 CreateMetaFileW: Free memory on error
svn path=/trunk/; revision=42896
2009-08-23 23:09:55 +00:00
Johannes Anderwald
91ae05b80d - fix build #2
svn path=/trunk/; revision=42895
2009-08-23 23:05:23 +00:00
Gregor Schneider
2785ec2386 Handle failed memory allocation
svn path=/trunk/; revision=42894
2009-08-23 23:03:55 +00:00
Johannes Anderwald
97d1a131cc - try fix build
svn path=/trunk/; revision=42893
2009-08-23 22:56:06 +00:00
Johannes Anderwald
d3f226afd5 [KS]
- Fix a few bugs in KsPinPropertyHandler & KsTopologyPropertyHandler
[PORTCLS]
- Implement retrieving KSPROPSETID's
- Register KSCATEGORY_AUDIO_DEVICE as a temporary hack untill sysaudio is able to register device interfaces (bug 4556)
Ks Studio is now able to instantiate audio filters on ReactOS

svn path=/trunk/; revision=42892
2009-08-23 22:50:09 +00:00
Gregor Schneider
9ef29fde4b Pass a zero instead of dereferencing a null pointer when copying one region
svn path=/trunk/; revision=42891
2009-08-23 22:47:32 +00:00
Johannes Anderwald
331c3994d5 - Fix KSPROPERTY_TOPOLOGY enumeration
svn path=/trunk/; revision=42890
2009-08-23 22:31:30 +00:00
Gregor Schneider
4a61832f36 - Fix two inverted pointer checks, found by Amine Khaldi
- Add, correct implemented comment

svn path=/trunk/; revision=42889
2009-08-23 21:55:24 +00:00
Dmitry Gorbachev
687189aaaf A consistent indentation style is the hobgoblin of little minds.
svn path=/trunk/; revision=42888
2009-08-23 21:45:41 +00:00
Dmitry Gorbachev
be9c72f1ad - Remove wrong "m" constraints from some places;
- relax constraints ("q" -> "r") when possible;
- remove "memory" clobbers from __readfsXXX functions, probably shouldn't be there;
- no movq instruction on x86_32;
- bswap's operand must be a register.

svn path=/trunk/; revision=42887
2009-08-23 21:41:05 +00:00
Johannes Anderwald
394ad9b83e - Add SetupDiGetDeviceInterfaceAlias, SetupDiOpenDeviceInterfaceRegKey stubs
svn path=/trunk/; revision=42885
2009-08-23 18:14:39 +00:00
Stefan Ginsberg
9f8b94600e - copy.c, view.c: malloc.h now properly implements alloca/_alloca, so remove #ifdef hacks
- main.c: Change bogus #ifdef _MSC_VER to #if 0 -- it seems this is another instance of "MSVC = MS' headers". The code compiles fine with our headers now and should probably be enabled.
- debug.h: Define non-NDEBUG DPRINT the same way for GCC and MSVC. The MSVC version was never inlined because the function has a variable argument list. The GCC version works fine under MSVC so use it instead. Results in neater code in object files.

svn path=/trunk/; revision=42884
2009-08-23 15:49:43 +00:00
Stefan Ginsberg
ccbdde9482 - wdm.h: Define ALLOC_PRAGMA and ALLOC_DATA_PRAGMA for MSVC.
- marea.c: MmInitMemoryAreas doesn't exist anymore so don't try to put it in .INIT.

svn path=/trunk/; revision=42883
2009-08-23 15:14:13 +00:00
Stefan Ginsberg
faf3bb5778 - Remove deprecated _NTDDK_ hacks from winnt.h -- these are no longer needed as ntddk.h no longer includes winnt.h. Also fix the way the PowerPC version of NtCurrentTeb was defined -- it was only defined if ntddk.h was included prior to winnt.h.
svn path=/trunk/; revision=42882
2009-08-23 14:46:41 +00:00
Matthias Kupfer
9e652d5604 - Remove tailing separator in explorer quicklaunch area.
- Fix some values for rebarband.
- See issue #3771 for details.
- TODO: fix rebar (comctl32) itself, because it's not working properly.

svn path=/trunk/; revision=42881
2009-08-23 13:39:47 +00:00
Johannes Anderwald
612682d56c - Code polishing
svn path=/trunk/; revision=42880
2009-08-23 13:08:28 +00:00
Johannes Anderwald
8e1d22f818 - Fix exporting of CBaseUnknown
svn path=/trunk/; revision=42879
2009-08-23 13:00:09 +00:00
Johannes Anderwald
9b074f69c7 - Implement CBaseUnknown class functions in C!
- Thanks To KJK::Hyperion for helping
- Function are not yet exported

svn path=/trunk/; revision=42878
2009-08-23 12:50:02 +00:00
Hervé Poussineau
8a5ac3eb85 [freeldr] When creating a component, provide at the same time its configuration data
svn path=/trunk/; revision=42875
2009-08-23 08:34:20 +00:00
Hervé Poussineau
9feee2204c Limit usage of KEY_ALL_ACCESS when opening registry keys
svn path=/trunk/; revision=42874
2009-08-23 08:29:23 +00:00
Hervé Poussineau
413dcab765 [freeldr] When creating a component, provide at the same time its configuration data
svn path=/trunk/; revision=42873
2009-08-23 08:25:52 +00:00
Dmitry Chapyshev
4abf644be8 - Add enumeration user keys
svn path=/trunk/; revision=42872
2009-08-23 07:40:23 +00:00
James Tabor
f6d5c06f8c - Syncing up with current revision of Defdlg.c and Dialog.c from wine. Critical update for class rewrite.
svn path=/trunk/; revision=42871
2009-08-23 07:12:58 +00:00
Gregor Schneider
030d5a52f3 Handle failed memory allocations
svn path=/trunk/; revision=42870
2009-08-22 19:37:31 +00:00
Dmitry Chapyshev
79c1f38e87 - Sync winemp3.acm and hhctrl.ocx with Wine 1.1.28
- Delete unneeded .diff file

svn path=/trunk/; revision=42869
2009-08-22 19:13:32 +00:00
Dmitry Chapyshev
9319924669 - Fully sync oleaut32 with Wine 1.1.28
svn path=/trunk/; revision=42868
2009-08-22 19:07:35 +00:00
Dmitry Chapyshev
fcf26f3471 - Add windowscodecs.dll from Wine 1.1.28
svn path=/trunk/; revision=42867
2009-08-22 19:03:09 +00:00
Gregor Schneider
9d4ec238ee Check the surface pointer before accessing it to get a handle
svn path=/trunk/; revision=42866
2009-08-22 18:44:17 +00:00
Gregor Schneider
6be4617f84 - Free global surface memory on error, found by Amine Khaldi
- Translate some comments for better understanding

svn path=/trunk/; revision=42865
2009-08-22 18:21:37 +00:00
Christoph von Wittich
86a4498283 sync objidl with wine 1.1.28
svn path=/trunk/; revision=42864
2009-08-22 18:08:57 +00:00
Christoph von Wittich
9596ede35f sync shlwapi to wine 1.1.28
svn path=/trunk/; revision=42862
2009-08-22 17:36:24 +00:00
Christoph von Wittich
fa3224d6d5 partial sync of oleaut32 to wine 1.1.28
svn path=/trunk/; revision=42861
2009-08-22 17:29:38 +00:00
Christoph von Wittich
ac215ed75c partial rpcrt4 sync with wine 1.1.28
svn path=/trunk/; revision=42860
2009-08-22 17:23:43 +00:00
Christoph von Wittich
898e09db4d sync widl with wine 1.1.28
svn path=/trunk/; revision=42859
2009-08-22 17:21:33 +00:00
Christoph von Wittich
c7b2857e8e sync userenv winetest with wine 1.1.28
svn path=/trunk/; revision=42858
2009-08-22 17:12:01 +00:00
Christoph von Wittich
9ed4628b97 sync oleaut32 winetest with wine 1.1.28
svn path=/trunk/; revision=42857
2009-08-22 17:05:58 +00:00
Gregor Schneider
5420cabe1a - Handle failed memory allocation in CreateDIBitmap, check initialize option before allocating and copying
svn path=/trunk/; revision=42856
2009-08-22 16:56:28 +00:00
Christoph von Wittich
aa5af3351e sync shell32 winetest with wine 1.1.28
svn path=/trunk/; revision=42855
2009-08-22 16:56:26 +00:00
Christoph von Wittich
196b3efac7 sync ntdsapi winetest with wine 1.1.28
svn path=/trunk/; revision=42854
2009-08-22 16:50:50 +00:00
Christoph von Wittich
58a23ff44c sync kernel32_winetest with wine 1.1.28
svn path=/trunk/; revision=42853
2009-08-22 16:42:11 +00:00
Gregor Schneider
7980badf18 Polish translation for rapps, translation fixes for mmsys and syssetup by Olaf Siejka
svn path=/trunk/; revision=42852
2009-08-22 16:42:01 +00:00
Christoph von Wittich
1a7345771f sync wrc to wine 1.1.28
svn path=/trunk/; revision=42851
2009-08-22 15:35:17 +00:00
Christoph von Wittich
a41cdb8eae sync jscript winetest with wine 1.1.28
svn path=/trunk/; revision=42850
2009-08-22 15:26:35 +00:00
Christoph von Wittich
d125c45fff sync jscript with wine 1.1.28
svn path=/trunk/; revision=42849
2009-08-22 15:25:26 +00:00
Christoph von Wittich
3fd2c631b4 sync msxml3 winetest with wine 1.1.28
svn path=/trunk/; revision=42848
2009-08-22 15:18:26 +00:00
Christoph von Wittich
fb79881787 sync test.h with wine 1.1.28
svn path=/trunk/; revision=42847
2009-08-22 15:18:03 +00:00
Christoph von Wittich
e6ac1a3fa7 sync msxml3 with wine 1.1.28
svn path=/trunk/; revision=42846
2009-08-22 15:10:54 +00:00
Stefan Ginsberg
3a85cbb4da - combotst: Fix uninitialized variable usage spotted by MSVC
- tmrqueue: Don't use empty structures, MSVC doe
- w32knapi: Implement IntSyscall in MSVC assembly, be compatible with C89 variable initialization and use '%' instead of '\%' to avoid a msvc warning.

svn path=/trunk/; revision=42845
2009-08-22 14:40:56 +00:00
Gregor Brunmar
e85cc27f88 - Implemented MSVC version of fmod
svn path=/trunk/; revision=42844
2009-08-22 13:21:01 +00:00
Gregor Brunmar
ecc5d7ef19 - Implemented MSVC version of exp
svn path=/trunk/; revision=42843
2009-08-22 13:06:11 +00:00
Gregor Brunmar
9a06e2badb - Implemented MSVC version of ldexp
svn path=/trunk/; revision=42842
2009-08-22 10:16:11 +00:00
Gregor Brunmar
a68ce7a4e3 - Implemented MSVC version of atan2
svn path=/trunk/; revision=42841
2009-08-22 10:07:25 +00:00
Matthias Kupfer
c98133c6af - halve and round up (improved version) ;-)
svn path=/trunk/; revision=42838
2009-08-22 09:26:13 +00:00
Johannes Anderwald
0248a689e4 [KS]
- Store input buffer in Irp->AssociatedIrp.SystemBuffer
- Add check
[PORTCLS]
- Add support for DirectKs

svn path=/trunk/; revision=42837
2009-08-21 22:46:18 +00:00
Matthias Kupfer
b728102816 Fix redraw bug by correcting nonclient region calculation. (Window->UpdateRegion has no proper values)
TODO: calculate and/or update  Window->UpdateRegion properly
See issue #4181 for details.

svn path=/trunk/; revision=42836
2009-08-21 22:23:22 +00:00
Johannes Anderwald
5ad980f439 - IOCTL_KS_WRITE_STREAM passes the data in the OutputBuffer, not InputBuffer
svn path=/trunk/; revision=42834
2009-08-21 19:38:45 +00:00
Johannes Anderwald
6f2463f07d - Fix a few bugs
- Bug1 - BufferOverflow
- Bug2 - ks expects a '\\' for each pin creation request
- Bug3 - ObjectLength was not correctly set, thus truncating the request
- Bug4 - Zero byte was not set at correct offset, potentialy leading to a heap overflow

svn path=/trunk/; revision=42832
2009-08-21 18:36:43 +00:00
Stefan Ginsberg
cd731afde1 - Fix EXT2 IFS for msvc:
- Fix SEH for MSVC
  - Disable C4003 (caused by the try_return mess)
  - Add missing NTAPI to Ext2GetCurrentTime

svn path=/trunk/; revision=42831
2009-08-21 17:39:37 +00:00
Matthias Kupfer
4b9ecd6c5c fixed typo in German translation
svn path=/trunk/; revision=42830
2009-08-21 17:27:28 +00:00
Stefan Ginsberg
43b07d3f6a - svchost: #ifdef _MSC_VER doesn't mean "using Microsoft's headers" anymore
- ddraw, imm32, msxml3, oleaut32, riched20: Include typeof.h for typeof emulation when compiling under MSVC and remove from ReactOS-generic.rbuild (this can't go to port.h as the modules do not include it).
- TCPIP: Fix a check for MSVC.
- NDIS: Don't use floating point arithmetics in kernel mode -- spotted by MSVC trying to link to ftol (gcc inlined the operation).
- SAMLIB: Use __VA_ARGS__ instead of gcc-specific macro manipulation.
- WIN32CSR: Don't use gcc-specific \% if you want % in the string -- this is incorrect and will pass a broken string to swprintf (the code seems to be uncalled though, so this shouldn't change anything). Use %% instead.
- Error out on MSVC implementation of logb -- it doesn't produce the same code as the gcc version.
- Rename gcc's float.h to gcc_float.h and use #include instead of #include_next for consistency.
- Remove leftover header guard from types.h
- Remove superfluous brackets from PSEH2->MSVC defines -- this isn't necessary anymore after 41597
- Correction to 42216: MSVC *does* let you define types in a function, but only at the top of scope. Move back the C_ASSERT into KiAcquireGuardedMutex.
- Simplify definition of alloca
- scripts.cpp: Silence unavoidable warning.
- Remove compile time warning from Uniata -- the code has been unused for 1 1/2 years and will probably remain so.

svn path=/trunk/; revision=42829
2009-08-21 15:57:26 +00:00
Johannes Anderwald
fb91ab63f5 - Kernel is not yet writing the Control key when activating a device interface
svn path=/trunk/; revision=42828
2009-08-21 15:08:46 +00:00
Johannes Anderwald
785ccb4938 - RegQueryValueExW returns ERRROR_SUCCESS
svn path=/trunk/; revision=42827
2009-08-21 14:53:04 +00:00
Gregor Schneider
2922b635c3 Remove glyph guard (bug #933): there is no way to such an exclusion properly without working GetCharPlacement, every font engine handles glyphed output slightly different. Fixes Abiword text regression
svn path=/trunk/; revision=42826
2009-08-21 14:35:48 +00:00
Johannes Anderwald
a39871ddb2 - Remove test code
svn path=/trunk/; revision=42825
2009-08-21 13:15:38 +00:00
Aleksey Bragin
f6df5d0f26 - Convert a wrong macro to an inlined function.
svn path=/trunk/; revision=42824
2009-08-21 13:01:27 +00:00
Johannes Anderwald
a6407bcf60 - Partly implement KsCreateBusEnumObject
svn path=/trunk/; revision=42823
2009-08-21 12:58:20 +00:00
Gregor Schneider
d93536f7a1 - co_IntLoadSysMenuTemplate: only copy buffer if prior operation succeeded, bug #4803
- co_IntLoadDefaultCursors: result is not used, no need to copy it

svn path=/trunk/; revision=42822
2009-08-21 11:27:24 +00:00
Johannes Anderwald
f5396c2fb8 - Don't touch the freed buffer in case of an error
- Found by Amine Khaldi

svn path=/trunk/; revision=42821
2009-08-21 10:30:05 +00:00
Johannes Anderwald
67d71e67d5 - Remove hacks for bug 4566
svn path=/trunk/; revision=42820
2009-08-21 10:06:29 +00:00
Johannes Anderwald
5fb02a865b - Reference strings are not part of the symbolic link. Therefore don't include them when creating the symbolic link (IoCreateSymbolicLink)
- Reference strings are used by the kernel streaming system to distinguish kernel streaming filters. As it is perfectly possible, to provide more than one filter with same guid but different reference string, ignore the failure for now if IoCreateSymbolicLink fails


See issue #4566 for more details.

svn path=/trunk/; revision=42819
2009-08-21 10:02:25 +00:00
Matthias Kupfer
97ebb9ee91 Alexander Yastrebov <menone7 AT gmail DOT com>
- Russian translation and update of utorrent added.
- see issue #4762 for details.
- stupid BOM for compatibility added.

svn path=/trunk/; revision=42818
2009-08-21 09:00:54 +00:00
Stefan Ginsberg
eae44a3cfd - Include windef.h so CDECL gets declared for msvc's version of DEFINE_GUIDEX in ks.h
svn path=/trunk/; revision=42817
2009-08-20 20:02:19 +00:00
Christoph von Wittich
abb53b3db4 revert 41654
svn path=/trunk/; revision=42816
2009-08-20 18:16:35 +00:00
Christoph von Wittich
0fdef256ff sync mlang winetest with wine 1.1.27
svn path=/trunk/; revision=42815
2009-08-20 18:11:21 +00:00
Christoph von Wittich
9324b6140d advapi32: fix parameter types of CreateServiceA/W in spec file
patch by Stefan Leichter <Stefan dot Leichter at camline dot com>

svn path=/trunk/; revision=42814
2009-08-20 18:08:05 +00:00
Christoph von Wittich
7f4bc6c2db sync wintrust with wine 1.1.27
svn path=/trunk/; revision=42813
2009-08-20 17:39:08 +00:00
Cameron Gutman
a2e0b86cd0 - Forgot to change debug print
svn path=/trunk/; revision=42812
2009-08-20 17:33:22 +00:00
Cameron Gutman
da1fa88e1c - Fix receiving packets on an interface's broadcast address while bound to an undefined address
- Simplify binding to a certain interface

svn path=/trunk/; revision=42811
2009-08-20 17:25:39 +00:00
Stefan Ginsberg
b1c4f00121 - Fix some C4115 in typeof.h
svn path=/trunk/; revision=42810
2009-08-20 17:15:46 +00:00
Matthias Kupfer
484cbc2b77 - 4th part of German translation of rapps entries.
- change some entries to proper values

svn path=/trunk/; revision=42809
2009-08-20 16:40:57 +00:00
Stefan Ginsberg
165dc7a512 - Get rid of some more assumptions that the default calling convention is stdcall
svn path=/trunk/; revision=42808
2009-08-20 14:45:32 +00:00
Stefan Ginsberg
4705fbc38a - Get rid of DECLSPEC_EXPORT from DDK
- "Isolate Hal* #defines, which are absent in WDK, they should not be used in kernel development." No, exactly, and they shouldn't be used in Xbox HAL either

svn path=/trunk/; revision=42807
2009-08-20 13:57:16 +00:00
Stefan Ginsberg
ce5adcdab2 - Remove usage of dllexport for most dlls and drivers -- we use .def/.spec instead.
svn path=/trunk/; revision=42806
2009-08-20 13:45:01 +00:00
Johannes Anderwald
0d280a8bde - Implement KsCopyObjectBagItems
svn path=/trunk/; revision=42805
2009-08-20 13:21:24 +00:00
Johannes Anderwald
bfe81917e0 - Implement DllInitialize
svn path=/trunk/; revision=42804
2009-08-20 12:38:52 +00:00
Stefan Ginsberg
e64b6077f6 - Release ntddsnd.h, portcls.h. punknown.h and stdunk.h to the public domain (silverblade and janderwald have agreed to this).
svn path=/trunk/; revision=42803
2009-08-20 12:27:08 +00:00
Johannes Anderwald
1e7c4cb0cc - Define automation tables for Filter & Pin
- Plug in automation tables when creating a new filter factory / pin

svn path=/trunk/; revision=42802
2009-08-20 12:26:09 +00:00
Johannes Anderwald
bb8ff85531 - Add KsMergeAutomationTables
svn path=/trunk/; revision=42801
2009-08-20 12:11:36 +00:00
Stefan Ginsberg
71820568a2 - Remove several assumptions that the default calling convention is stdcall (it isn't under gcc)
- Fix even more definitions of function pointer protypes to define the calling convention compatibly for MSVC
- Don't use dllexport in scsiport -- fixes linking under msvc

svn path=/trunk/; revision=42800
2009-08-20 12:09:16 +00:00
Johannes Anderwald
7a862d7907 - Add types for bda driver
svn path=/trunk/; revision=42799
2009-08-20 11:55:42 +00:00
Christoph von Wittich
5a25dd682a sync credui with wine 1.1.27
svn path=/trunk/; revision=42798
2009-08-20 11:41:11 +00:00
Johannes Anderwald
43eae548e0 - Add types for bda driver
svn path=/trunk/; revision=42797
2009-08-20 11:39:54 +00:00
Christoph von Wittich
743c591273 sync oledlg with wine 1.1.27
svn path=/trunk/; revision=42796
2009-08-20 10:36:10 +00:00
Stefan Ginsberg
047dc08ea4 Don't use dllexport for videoprt; we use a .spec. Also, don't use DDKAPI as it is a w32api/ReactOS define.
We welcome videoprt into the club of modules compiling *and* linking under msvc.

svn path=/trunk/; revision=42795
2009-08-20 10:29:54 +00:00
Christoph von Wittich
fed70152bf sync cryptui with wine 1.1.27
svn path=/trunk/; revision=42794
2009-08-20 10:22:38 +00:00
Christoph von Wittich
6d951b54a6 sync cryptnet with wine 1.1.27
svn path=/trunk/; revision=42793
2009-08-20 10:19:17 +00:00
Christoph von Wittich
0fd54d3881 sync cryptdlg with wine 1.1.27
svn path=/trunk/; revision=42792
2009-08-20 10:06:41 +00:00
Christoph von Wittich
da29fff769 sync crypt32 with wine 1.1.27
svn path=/trunk/; revision=42791
2009-08-20 10:03:19 +00:00
Christoph von Wittich
4d55416f67 sync cabinet winetest with wine 1.1.27
svn path=/trunk/; revision=42790
2009-08-20 09:41:42 +00:00
Dmitry Gorbachev
db5b8e29f7 No bug is too trivial to report:
- remove a stray semicolon (bug #4804).

svn path=/trunk/; revision=42789
2009-08-20 06:54:44 +00:00
James Tabor
5e29da18bf - Implement window message is active icon.
svn path=/trunk/; revision=42788
2009-08-20 01:49:25 +00:00
Cameron Gutman
9757ce3f97 - Allow binding to an interface's broadcast address
- Set address type

svn path=/trunk/; revision=42787
2009-08-20 00:54:27 +00:00
Johannes Anderwald
023b3bfa2a - Add bda driver
svn path=/trunk/; revision=42786
2009-08-19 12:40:02 +00:00
Johannes Anderwald
35ab9f725a - Arch should learn english first before bashing gcc
svn path=/trunk/; revision=42785
2009-08-19 12:32:56 +00:00
Johannes Anderwald
9d6768ef65 - Implement KsProbeStreamIrp
- Currently commented out as gcc finds it hard to find a member in a struct

svn path=/trunk/; revision=42784
2009-08-19 12:24:28 +00:00
Johannes Anderwald
9639b5995d - fix check
svn path=/trunk/; revision=42783
2009-08-19 12:19:56 +00:00
Johannes Anderwald
3a360ecf29 - Add flags
svn path=/trunk/; revision=42782
2009-08-19 12:14:42 +00:00
Matthias Kupfer
79d5c915fe - third part of German translation of rapps entries.
- change some entries to proper values

svn path=/trunk/; revision=42781
2009-08-19 11:28:00 +00:00
Gregor Schneider
e5d8f301db - GetGlyphOutline: fail if output or transformation matrix buffers are not passed
- Fixes three gdi32 font winetests

svn path=/trunk/; revision=42780
2009-08-19 11:23:31 +00:00
Gregor Schneider
ea488d3a60 - Sync and adapt Wine font metric code for setting first, last, default and break characters
- Fixes approx 80 gdi32 font winetests

svn path=/trunk/; revision=42779
2009-08-19 11:02:10 +00:00
Cameron Gutman
183b90d2c6 - Fix release build
svn path=/trunk/; revision=42778
2009-08-18 22:15:06 +00:00
Cameron Gutman
ce8c9c4122 - I guess kdesvn didn't realize that when I check the box for include/reactos/winsock that I actually wanted the files in it to be committed also
svn path=/trunk/; revision=42777
2009-08-18 21:54:55 +00:00
Cameron Gutman
ad72be7f7f - Fix ws2_32_new's build problems
- ws2_32_new is now included in build (output file is ws2_32_new.dll for any curious testers :P)

svn path=/trunk/; revision=42776
2009-08-18 21:40:20 +00:00
Cameron Gutman
ca5c8b53bf - Print a message to the debug log if ZwClose returns STATUS_INVALID_HANDLE
- This message will only after "cont"ing past the bugcheck and will hopefully help me track down bug 4796

svn path=/trunk/; revision=42775
2009-08-18 20:43:13 +00:00
Cameron Gutman
3263e1f67a - Fix null pointer dereferences
- Fix out of bounds array access
 - Check that we got a valid pointer from HeapAlloc
 - Don't close the caller's handle when we fail
 - Fix a memory leak
 - Found by Amine Khaldi

svn path=/trunk/; revision=42774
2009-08-18 20:30:58 +00:00
Gregor Schneider
e74d2c5ce4 - Improve glyph guard from r42749: allow displaying glyphs if the application knows the character placements
- Some rendering engines (like FF3) do the conversion without using GetCharacterPlacementA/W

svn path=/trunk/; revision=42773
2009-08-18 19:51:32 +00:00
Cameron Gutman
4e9ecfe8a7 - Fix dereference of freed memory
svn path=/trunk/; revision=42772
2009-08-18 19:06:52 +00:00
Cameron Gutman
1361a97afb - Fix a typo
svn path=/trunk/; revision=42771
2009-08-18 19:04:51 +00:00
Cameron Gutman
5b91c1a754 - Make sure HeapAlloc returned a valid pointer
- Fix some memory leaks
 - Return a better status for STATUS_INSUFFICIENT_RESOURCES and STATUS_NO_MEMORY
 - Fix a potential null pointer dereference in SetSocketInformation and GetSocketInformation
 - Initialize RemoteAddress so we aren't trying to copy the remote address to 0
 - Found by Amine Khaldi

svn path=/trunk/; revision=42770
2009-08-18 18:53:10 +00:00
Cameron Gutman
ab9f22b2e8 - Handle failure of NdisMInitializeWrapper
- Found by Amine Khaldi

svn path=/trunk/; revision=42769
2009-08-18 18:01:26 +00:00
Cameron Gutman
38a3ccc3fd - Verify that we got a handle to a file object
svn path=/trunk/; revision=42768
2009-08-18 16:23:31 +00:00
Gregor Schneider
6af2bfe3c7 Check the correct buffer for failed memory allocation, found by Amine Khaldi
svn path=/trunk/; revision=42767
2009-08-18 14:43:47 +00:00
Gregor Schneider
332c985b52 Sync scanf to current wine sources, correct msvcrt cpp sync date
svn path=/trunk/; revision=42766
2009-08-18 14:23:51 +00:00
Gregor Schneider
d2fa38f67a - GetConsoleAliasW: Check for invalid target buffer, failed memory allocation + set last error
svn path=/trunk/; revision=42765
2009-08-18 13:47:02 +00:00
Gregor Schneider
9f218a3f22 - GetConsoleAliasA: Check for invalid target buffer, failed memory allocations (3x)
- Found by Amine Khaldi 

svn path=/trunk/; revision=42764
2009-08-18 13:39:28 +00:00
Johannes Anderwald
8739063551 - Implement IPortEvents interface for IPortTopology
- Fix a bug in the IPortEvents::QueryInterface handler of IPortWaveCyclic & IPortWavePci 

svn path=/trunk/; revision=42762
2009-08-18 08:24:09 +00:00
Johannes Anderwald
f886c8a5b0 - Increment reference count only if resource list was passed
- May fix A.8738-4C

svn path=/trunk/; revision=42761
2009-08-18 08:03:12 +00:00
Sylvain Petreolle
dbc071c121 Move IF_OPER_STATUS enum to ifdef.h
svn path=/trunk/; revision=42760
2009-08-17 19:46:30 +00:00
Johannes Anderwald
bc5b55fb73 [WDMAUD.DRV]
- Disable traces
- Use device name from IOCTL
[WDMAUD_KERNEL]
- Implement retrieving devicename by looking up in the registry
[SYSAUDIO]
- Implement KSPROPERTY_SYSAUDIO_DEVICE_INTERFACE_NAME
- Audio CPL should now show correct audio device name

svn path=/trunk/; revision=42759
2009-08-17 17:23:35 +00:00
Gregor Schneider
e453915908 - Remove duplicate WToA conversion routine, update the kept version to current Wine
- Adapt calling functions from BOOL to VOID since they can't fail
- Fixes ~two font tests

svn path=/trunk/; revision=42758
2009-08-17 17:03:55 +00:00
Johannes Anderwald
915aebab36 - Implement usermode mixing support
- To enable, see wdmaud rbuild

svn path=/trunk/; revision=42757
2009-08-17 13:49:19 +00:00
Johannes Anderwald
fd6d123510 - Fix a big bug in the samplerate conversion routine
svn path=/trunk/; revision=42756
2009-08-17 13:39:20 +00:00
Johannes Anderwald
53a7643988 - Add members required for usermode-mixing support
svn path=/trunk/; revision=42755
2009-08-17 13:37:57 +00:00
James Tabor
78741d32c5 - Add win32k support functions for GetCharacterPlacement.
svn path=/trunk/; revision=42754
2009-08-17 05:46:57 +00:00
Daniel Reimer
5a32565702 Sync all apps with wine 1.1.27. (reactos)
This is not a 1:1 sync anymore, because Wine adds all single rc files into the makefile now and we don't support this right now.
-> Reverted to old behavior and added a pragma revert line to all rc files which change the pragma for UTF8 Support.
Now all Wine apps properly work again.

svn path=/trunk/; revision=42753
2009-08-17 01:42:32 +00:00
Daniel Reimer
b58cef33fa Sync all apps with wine 1.1.27. (rosapps)
This is not a 1:1 sync anymore, because Wine adds all single rc files into the makefile now and we dont support this right now.
-> Reverted to old behavior and added a pragma revert line to all rc files which change the pragma for UTF8 Support.

svn path=/trunk/; revision=42752
2009-08-17 01:37:17 +00:00
James Tabor
2594a8fbef - Move GetCharacterPlacement functions into new locations. Implemented GetCharacterPlacementA from wine port.
- Port from wine, original authors: Juergen Schmied <juergen.schmied@metronet.de>, Peter Oberndorfer <kumbayo84@arcor.de>

svn path=/trunk/; revision=42751
2009-08-17 01:34:20 +00:00
James Tabor
2e771a7968 - Add callback for client side thread startup. This is for bug 4785.
svn path=/trunk/; revision=42750
2009-08-17 00:30:25 +00:00
Gregor Schneider
96e5d9e878 - Don't allow glyph indices (ETO_GLYPH_INDEX) in ExtTextOut as long as they are not created properly
- GetCharacterPlacementA/W has to work to allow this, currently broken/stubbed
- Switch to full text processing mode so that those texts are shown
- Fixes garbled text in OpenOffice 1.14/1.15 installers, bug #933

svn path=/trunk/; revision=42749
2009-08-17 00:24:46 +00:00
Gregor Schneider
a7c654b075 Handle a missing output buffer in NtGdiGetCharABCWidthsW
svn path=/trunk/; revision=42748
2009-08-17 00:13:44 +00:00
Dmitry Gorbachev
39980608f8 Add an assertion. See bug #4785.
svn path=/trunk/; revision=42747
2009-08-16 22:52:05 +00:00
James Tabor
46af179093 - [Win32k] Removed W32THREADINFO.
- Tested AbiWord, User32 wine tests. Yes, of course, this needs more testing.


svn path=/trunk/; revision=42746
2009-08-16 21:44:59 +00:00
Gregor Schneider
c365f1c1bb Handle failure of EngLockSurface as well
svn path=/trunk/; revision=42745
2009-08-16 20:11:31 +00:00
Stefan Ginsberg
ac35e87724 - Revert 32309 -- instead of removing FORCEINLINE to make GCC happy (it can't inline functions using va_list), use __inline to merely hint that the function should be inlined. This lets you use RtlStringCbPrintfA and RtlStringCbPrintfExA in multiple source files as the functions aren't static.
- Moreover, there is no reason to forceinline all the RtlString* routines -- they are quite big and the compiler should be allowed to optimize here as it likes, so just use __inline. Also add RtlStringCchCopyA and re-enable ASSERTMSG and use it for the stubs.
- Add missing GUID_CLASS_COMPORT and GUID_SERENUM_BUS_ENUMERATOR to ntddser.h
- Add driverspecs.h to stub out Driver Verifier annotations
- The WDK serenum source sample now compiles with our header set.

svn path=/trunk/; revision=42744
2009-08-16 20:08:48 +00:00
Gregor Schneider
f145632ab6 Handle failure of EngCreateClip, spotted by Amine Khaldi
svn path=/trunk/; revision=42743
2009-08-16 19:56:40 +00:00
Gregor Schneider
ea7be198c3 - Copy the source rectangle after checking it
- Create input rectangle from destination size if source is not used

svn path=/trunk/; revision=42742
2009-08-16 19:43:58 +00:00
Gregor Schneider
d9bc76c65a Allocate span memory for every clipping type, not only for one
svn path=/trunk/; revision=42741
2009-08-16 19:20:50 +00:00
Gregor Schneider
9a8137bdd5 Add some useful information to the popen header
svn path=/trunk/; revision=42740
2009-08-16 18:58:25 +00:00
Gregor Schneider
1aebf2497e Only set the pattern function pointer if the pattern surface is valid, spotted by Amine Khaldi
svn path=/trunk/; revision=42739
2009-08-16 18:52:06 +00:00
KJK::Hyperion
f5828613f7 Tests to exercise support for calling stack-allocated trampolines. All three tests pass
svn path=/trunk/; revision=42738
2009-08-16 16:50:35 +00:00
KJK::Hyperion
9aacc392d5 modified include/reactos/libs/pseh/pseh2.h
Trampoline-related definitions are no longer necessary in the public header

modified   lib/pseh/i386/framebased-gcchack.c
   Don't use byte arrays when you mean unaligned field, Arch: use __attribute__((packed)) instead, and gcc will thank you for not violating strong aliasing

svn path=/trunk/; revision=42737
2009-08-16 16:40:52 +00:00
Stefan Ginsberg
e3e940dcc6 - Remove incorrect #pragma pack/pop
svn path=/trunk/; revision=42736
2009-08-16 13:20:19 +00:00
Timo Kreuzer
074f29786e Update PDEVOBJ and GRAPHICS_DEVICE fields
svn path=/trunk/; revision=42735
2009-08-16 12:57:41 +00:00
Stefan Ginsberg
c13c6c8daa - Woops, NDIS_PHYSICAL_MEDIUM got lost somehow... and NDIS_MEDIUM belongs in ntddndis.h too
svn path=/trunk/; revision=42734
2009-08-16 12:53:31 +00:00
Stefan Ginsberg
49d9ff57e9 - Fix ntstrsafe.h's dependency on debug.h
svn path=/trunk/; revision=42733
2009-08-16 12:42:18 +00:00
Stefan Ginsberg
78d31c85a0 - Remove duplicate ntddndis.h in /psdk/ -- we already have it in /ddk/. Add the duplicated types to the DDK version. Also move NDIS_OBJECT_HEADER over to ntddndis.h from ndis.h as this is where it belongs.
- Remove "ntdd1934.h" -- this header should be named ntdd1394.h. We already have a copy named so, but the old incompatible header wasn't removed.

svn path=/trunk/; revision=42732
2009-08-16 12:37:44 +00:00
Matthias Kupfer
48ba688d46 fix German translation of ReactOS Applications Manager
svn path=/trunk/; revision=42731
2009-08-16 12:31:54 +00:00
Matthias Kupfer
b788aceff0 fix some typos
svn path=/trunk/; revision=42730
2009-08-16 12:28:17 +00:00
Matthias Kupfer
9fd24347d5 - second part of German translation of rapps entries.
- change some entries to proper values

svn path=/trunk/; revision=42729
2009-08-16 12:23:01 +00:00
Sylvain Petreolle
8181199496 fix tditest build
svn path=/trunk/; revision=42728
2009-08-16 11:04:42 +00:00
James Tabor
977596b2e5 - Use correct head structure for event hooks.
svn path=/trunk/; revision=42727
2009-08-16 06:41:18 +00:00
James Tabor
7b35054d70 - Move inline function to local header.
svn path=/trunk/; revision=42726
2009-08-16 01:48:35 +00:00
Dmitry Gorbachev
36512fc9c3 Revert r42569.
svn path=/trunk/; revision=42725
2009-08-16 01:21:20 +00:00
Dmitry Gorbachev
3f11239846 Synchronize with paging I/O.
svn path=/trunk/; revision=42724
2009-08-16 01:20:50 +00:00
Dmitry Gorbachev
2a60b44d65 Take inode size from Ext2 superblock.
svn path=/trunk/; revision=42723
2009-08-16 01:20:22 +00:00
Dmitry Gorbachev
961afecdd8 Fix FsRtlDissectName(). Pierre Schweitzer.
svn path=/trunk/; revision=42722
2009-08-16 01:20:15 +00:00
James Tabor
bc80314293 - Rename pointer to server information structure.
svn path=/trunk/; revision=42721
2009-08-15 22:57:32 +00:00
James Tabor
8e0b4f441a - Use the correct flag for hidden popup actions.
svn path=/trunk/; revision=42720
2009-08-15 22:24:26 +00:00
Matthias Kupfer
b8000cd776 first part of German translation of rapps entries.
svn path=/trunk/; revision=42719
2009-08-15 22:17:30 +00:00
Gregor Schneider
8130a946d5 Apply changes from r42521 to DefWndProcW as well
See issue #4791 for more details.

svn path=/trunk/; revision=42718
2009-08-15 22:06:09 +00:00
James Tabor
20237183e5 - Fix define types.
svn path=/trunk/; revision=42716
2009-08-15 21:28:02 +00:00
Hervé Poussineau
1ad7b1fe0a Try to fix build after r42706
svn path=/trunk/; revision=42715
2009-08-15 20:47:58 +00:00
Stefan Ginsberg
e75501547e - Attempt to fix user32 build after 42706 -- user32 needs those undocumented TB_* too
svn path=/trunk/; revision=42714
2009-08-15 20:11:04 +00:00
Matthias Kupfer
2288be170e German translation of ReactOS Applications Manager
svn path=/trunk/; revision=42713
2009-08-15 19:42:57 +00:00
Stefan Ginsberg
c163eb9dc9 - Convert tditest to PSEH instead of a broken MSVC SEH attempt
- Teach man how to use "subroutines"

svn path=/trunk/; revision=42709
2009-08-15 16:40:51 +00:00
Aleksey Bragin
fad9449b5f - Fix a typo.
svn path=/trunk/; revision=42708
2009-08-15 16:32:20 +00:00
Dmitry Chapyshev
f23c70c56e - Sync comctl32 with Wine 1.1.27 (without imagelist.c)
- Sync comdlg32 with Wine 1.1.27

svn path=/trunk/; revision=42706
2009-08-15 16:15:43 +00:00
Dmitry Chapyshev
88aad4cf0b - Fix Russian translation
svn path=/trunk/; revision=42705
2009-08-15 15:50:29 +00:00
Dmitry Chapyshev
1483089019 - Set mute icon if sound unavailable
- Set "No devices" if device unavailable
- Disable controls after dialog initialization

svn path=/trunk/; revision=42704
2009-08-15 15:38:40 +00:00
Dmitry Chapyshev
4936fdb9db - Add some resources
- Disable controls after dialog initialization

svn path=/trunk/; revision=42703
2009-08-15 14:49:44 +00:00
Dmitry Chapyshev
dd24853598 - Add EventLabels keys
svn path=/trunk/; revision=42702
2009-08-15 14:46:24 +00:00
Dmitry Chapyshev
5e783b4337 - Add sound schemes keys
svn path=/trunk/; revision=42701
2009-08-15 14:16:08 +00:00
Dmitry Chapyshev
eb312a8fb0 - Add bcrypt, xmllite and hnetcfg from Wine
svn path=/trunk/; revision=42700
2009-08-15 13:55:40 +00:00
Johannes Anderwald
d1ff4911cb - Implement KsGetFirstChild, KsGetNextSibling
- Implement IKsFilter_fnAddProcessPin, IKsFilter_fnRemoveProcessPin
- Remove old code for attaching so that it works with KsGetFirstChild
- Implement attach of filter factories to the device header
- Unimplement a few functions which were wrong
- Implement KsDispatchSpecificProperty

svn path=/trunk/; revision=42699
2009-08-15 13:45:06 +00:00
Johannes Anderwald
bde6b65191 - Add dmksctrl.h
- Add KsPinGetNextSiblingPin prototype

svn path=/trunk/; revision=42698
2009-08-15 13:38:15 +00:00
Dmitry Chapyshev
5efe007aeb - Define APPLICATION_DATEBASE_URL
svn path=/trunk/; revision=42695
2009-08-15 11:41:56 +00:00
Dmitry Chapyshev
e9dbd473eb - Add README.ENG
- Change rapps.cab to rappmgr.cab (in CreateCabFile.bat)

svn path=/trunk/; revision=42694
2009-08-15 11:36:44 +00:00
Dmitry Chapyshev
cc9b9024e7 - Remove appwiz-new
- Simplify appwiz (appwiz now starts rapps.exe)

svn path=/trunk/; revision=42693
2009-08-15 11:14:07 +00:00
Dmitry Chapyshev
4acd389821 - Add rapps.exe to bootcd
- Add msgsm32.acm to bootcd
- Add some optional modules
- Remove downloader.exe and downloader.xml

svn path=/trunk/; revision=42692
2009-08-15 10:19:50 +00:00
Dmitry Chapyshev
e8f0dc48e9 - Change downloader.exe to rapps.exe
svn path=/trunk/; revision=42691
2009-08-15 10:17:48 +00:00
Dmitry Chapyshev
c50287c843 - Returns TRUE in AttachConsole (like in Wine)
svn path=/trunk/; revision=42690
2009-08-15 10:04:45 +00:00
Dmitry Chapyshev
16992e50bd - Partially sync locale.c with Wine
svn path=/trunk/; revision=42689
2009-08-15 10:01:28 +00:00
Dmitry Chapyshev
8d16b803eb - Add debug print for unimplemented function
svn path=/trunk/; revision=42688
2009-08-15 10:00:15 +00:00
Dmitry Chapyshev
419b58e7fc - Implement EnumObjects (untested)
- Implement PolyTextOutA/W (from Wine)
- Implement GetICMProfileA (from Wine)
- Stub-implement CreateScalableFontResourceW (from Wine)

svn path=/trunk/; revision=42687
2009-08-15 09:56:22 +00:00
Dmitry Chapyshev
432c08cdc0 - Add some defines
svn path=/trunk/; revision=42686
2009-08-15 09:49:01 +00:00
Dmitry Chapyshev
a3baeefe3a - Add debug print for unimplemented function
svn path=/trunk/; revision=42685
2009-08-15 09:42:14 +00:00
Dmitry Chapyshev
a70df9a883 - Handle query security descriptor
- Add SEH protection

svn path=/trunk/; revision=42684
2009-08-15 09:39:56 +00:00
Dmitry Chapyshev
b0922201e8 - Add msgsm32.acm from Wine
- Add some MCI Extensions to registry

svn path=/trunk/; revision=42683
2009-08-15 09:34:24 +00:00
Dmitry Chapyshev
3631591a72 - Sync oleacc, oleaut32, olesvr32 with Wine 1.1.27
svn path=/trunk/; revision=42681
2009-08-15 09:29:45 +00:00
Dmitry Chapyshev
76426a56bd - Add Russian translation
svn path=/trunk/; revision=42680
2009-08-15 09:25:32 +00:00
Johannes Anderwald
620bcc8996 - Include splitter in build
svn path=/trunk/; revision=42678
2009-08-15 08:07:06 +00:00
Dmitry Chapyshev
3fd366e5b2 - Add/update Ukrainian translation by Yevhen Sakara <eresid@gmail.com>
svn path=/trunk/; revision=42676
2009-08-15 05:28:45 +00:00
Cameron Gutman
44b841683d - Actually zero the select events in ZeroEvents
- Part 3 of 3 (hopefully :P)

svn path=/trunk/; revision=42675
2009-08-15 02:48:59 +00:00
Cameron Gutman
79bc2a1d7d - Fix more select bugs related to the disconnect event
- Part 2 of x

svn path=/trunk/; revision=42674
2009-08-15 02:27:02 +00:00
Cameron Gutman
b12ea8a99d - Fix several bugs in select code and remove some dead code
- Fix a typo
 - Part 1 of x

svn path=/trunk/; revision=42673
2009-08-15 02:09:23 +00:00
Timo Kreuzer
987115d431 Fix screwed logic in LIST_FOR_EACH and LIST_FOR_EACH_SAFE. They were 1. using inverse logic and entering the loop when elem was NULL, 2. checking elem, whick is the result of CONTAINING_RECORD on the Flink pointer that should be checked for NULL. Anyway these macros are ugly and shouldn't be used, they only obfuscate the code.
svn path=/trunk/; revision=42672
2009-08-15 00:40:09 +00:00
Timo Kreuzer
ea8e3db781 [win32k] EngCreateDeviceBitmap: handle failure of EngLockSurface. Found by Amine.
svn path=/trunk/; revision=42671
2009-08-14 22:08:15 +00:00
Johannes Anderwald
74bd2a036d - Implement KsPropertyHandler, KsPropertyHandlerWithAllocator, KsFastPropertyHandler
svn path=/trunk/; revision=42669
2009-08-14 19:44:01 +00:00
Johannes Anderwald
11a3ac6f28 [KS]
- Proper implement KsValidateConnectRequest
- Dataformat isnt not yet checked

svn path=/trunk/; revision=42664
2009-08-14 09:27:24 +00:00
Johannes Anderwald
9a7221dc8b - A few header updates
svn path=/trunk/; revision=42663
2009-08-14 09:26:05 +00:00
Timo Kreuzer
2ecb57cb19 More fix NtUserSetWindowContextHelpId. Spotted by Cameron.
svn path=/trunk/; revision=42662
2009-08-14 01:37:28 +00:00
Cameron Gutman
a1a8e7a706 - Fix several bugs so select() will now recognize when a connection gets closed
svn path=/trunk/; revision=42661
2009-08-14 00:09:59 +00:00
Cameron Gutman
e90b905e0b - Fix a NULL pointer dereference if ExAllocatePool fails
- Move some sanity checks into the right location
 - Fix another NULL pointer dereference if there is not a socket on the queue
 - Also spotted by Amine Khaldi

svn path=/trunk/; revision=42660
2009-08-13 23:42:21 +00:00
Cameron Gutman
42e498c4b0 - Fix a handle leak
- Fix a potential NULL pointer dereference if ExAllocatePool fails
 - Fix a potential NULL pointer dereference that causes AFD to crash when the socket is closed with waiting send IRPs
 - Fix another NULL pointer dereference if NdisOpenConfiguration fails
 - Move ASSERT before accessing Status
 - Add some sanity checks
 - Most of these were found by Amine Khaldi

svn path=/trunk/; revision=42659
2009-08-13 23:38:57 +00:00
Johannes Anderwald
2bddd27873 [SPLITTER]
- Implement Splitter (WIP)

svn path=/trunk/; revision=42650
2009-08-13 10:05:42 +00:00
Johannes Anderwald
d8fa27fec7 [KS]
- Check if irp was allocated
- Unimplement KsPinGetConnectedPinFileObject

svn path=/trunk/; revision=42649
2009-08-13 09:54:51 +00:00
Johannes Anderwald
3f99bec9f5 - Implement IPortDMus_fnNewRegistryKey
svn path=/trunk/; revision=42648
2009-08-13 09:53:13 +00:00
Stefan Ginsberg
538f32f9ba - Re-disallow warnings for gdi32, user32 and lsasrv
svn path=/trunk/; revision=42647
2009-08-13 09:34:37 +00:00
Stefan Ginsberg
ea8bcfbef4 - Make gdi32 compile warning free under msvc
svn path=/trunk/; revision=42646
2009-08-13 09:29:48 +00:00
James Tabor
5ece4e88fa - Fix SetWndContextHlpId call.
svn path=/trunk/; revision=42645
2009-08-13 05:18:18 +00:00
James Tabor
f0f7e2d2dd - Fix another NULL Wnd crash.
svn path=/trunk/; revision=42644
2009-08-13 04:17:23 +00:00
James Tabor
904739a70b - Fix menu window callback. Only use it when the menu name is not null.
svn path=/trunk/; revision=42643
2009-08-12 23:37:26 +00:00
Cameron Gutman
10b13ed7c9 - Don't access an uninitialized variable
- Initialize the unicode string at the start of the function
 - Spotted by Amine Khaldi

svn path=/trunk/; revision=42642
2009-08-12 23:14:49 +00:00
James Tabor
09286edbce - Move GetWindowInfo support into user32. Use HWNDPARAM for SetWindowContextHelpId.
svn path=/trunk/; revision=42637
2009-08-12 18:46:34 +00:00
Aleksey Bragin
9e804e5230 - Rewrite RtlpCreateAtomHandle to readable code and fix a problem spotted in bug 4788.
svn path=/trunk/; revision=42635
2009-08-12 11:42:34 +00:00
James Tabor
f529b441b2 - Check if server side window proc is set when clearing or setting dialog window flag.
svn path=/trunk/; revision=42633
2009-08-12 07:42:30 +00:00
James Tabor
b51adaebd8 Rewrite NtUserGetCPD to correctly return the callproc handle pointer.
svn path=/trunk/; revision=42632
2009-08-12 07:35:15 +00:00
James Tabor
c85e511160 Properly set the active window frame flag. Add missing file header. Add a note in defwnd.c.
svn path=/trunk/; revision=42631
2009-08-12 07:03:58 +00:00
James Tabor
9d2a032c20 - Move W32 Process flags to the proper place.
svn path=/trunk/; revision=42630
2009-08-12 06:54:31 +00:00
James Tabor
0fa041c7b4 Properly set and clear the dialog window flag.
svn path=/trunk/; revision=42629
2009-08-12 06:41:20 +00:00
Timo Kreuzer
fbe691dd9b Make the tui console background black instead of blue.
svn path=/trunk/; revision=42628
2009-08-11 20:23:18 +00:00
Gregor Schneider
864fd31512 Amendment to r42615: add the check in the correct line
svn path=/trunk/; revision=42627
2009-08-11 19:50:42 +00:00
Timo Kreuzer
abc65bc027 [win32k]
- EngSetPointerShape: Don't dereference psoMask without checking it

svn path=/trunk/; revision=42626
2009-08-11 19:03:51 +00:00
Timo Kreuzer
f928fd8906 [win32k]
- GreSetPointerShape: Don't cleanup the XLATEOBJ when it wasn't initialized.
- Found by Amine Khaldi

svn path=/trunk/; revision=42625
2009-08-11 18:42:30 +00:00
Jeffrey Morlan
d05d3811ed Fix a buffer overflow in ConvertULargeInteger
svn path=/trunk/; revision=42623
2009-08-11 16:21:46 +00:00
Johannes Anderwald
555a242381 - Filter dispatch is optional, handle it when creating new filters
svn path=/trunk/; revision=42622
2009-08-11 15:22:06 +00:00
Gregor Schneider
15900e1f91 Re-add r42536, it didn't break the build server
svn path=/trunk/; revision=42621
2009-08-11 15:03:41 +00:00
Johannes Anderwald
faf651d298 - Start implementing splitter
- Add a device descriptor

svn path=/trunk/; revision=42620
2009-08-11 15:03:33 +00:00
Johannes Anderwald
4e8ace35ed - Add few macros, constants for splitter
svn path=/trunk/; revision=42619
2009-08-11 14:52:22 +00:00
Gregor Schneider
d2c4562d5b Free memory on error
svn path=/trunk/; revision=42618
2009-08-11 14:37:52 +00:00
Gregor Schneider
d6e84af5f7 Return INVALID_FILE_ATTRIBUTES when no filename is passed
svn path=/trunk/; revision=42617
2009-08-11 14:19:43 +00:00
Gregor Schneider
dd9eabe375 Fix memory allocation for small number of digits
svn path=/trunk/; revision=42616
2009-08-11 14:01:44 +00:00
Gregor Schneider
85fc2afbaa Don't access the pattern GetPixel function pointer if it hasn't been set
svn path=/trunk/; revision=42615
2009-08-11 13:39:40 +00:00
Aleksey Bragin
f0dc2c14f3 - Get NtUnloadKey2 back to old behavior until its caller learns to properly handle various error codes.
See issue #4787 for more details.

svn path=/trunk/; revision=42612
2009-08-11 13:01:42 +00:00
Johannes Anderwald
fb04896e11 - Check if allocation succeeded
- Wait untill each audio service has been started
- May now fix randomly playing logon sound

svn path=/trunk/; revision=42611
2009-08-11 10:37:40 +00:00
Johannes Anderwald
ca039fbfa9 - Audiosrv first starts sysaudio and then wdmaud. It is more clever to wait untill the latter is started
svn path=/trunk/; revision=42610
2009-08-11 10:36:25 +00:00
Johannes Anderwald
37a75e27df - Add sanity checks
svn path=/trunk/; revision=42609
2009-08-11 09:41:33 +00:00
Johannes Anderwald
20a819d000 - Fix allocation check
- Found by Amine Khaldi

svn path=/trunk/; revision=42608
2009-08-11 09:36:41 +00:00
Johannes Anderwald
fad9ff3860 [KS]
- Fix uninitialized return value when the list is empty
- Fix a horrible bug where the end of the list wasnt checked by the source list but the destination list 
- Found by Amine Khaldi

svn path=/trunk/; revision=42607
2009-08-11 09:20:15 +00:00
Johannes Anderwald
85543388b1 - Remove superflouous checks
- Found by amine48rz

svn path=/trunk/; revision=42606
2009-08-11 08:49:30 +00:00
Timo Kreuzer
11caab78fd Move stubs for user mode printer drivers from stubs.c into umpdstubs.c. Unimplement some of them, as they were wrong.
svn path=/trunk/; revision=42605
2009-08-10 22:20:28 +00:00
Cameron Gutman
7c78a42816 - Make Connect IRPs cancellable (should fix some deadlock issues)
- Fix a bug which could result in a Listen IRP being unable to be cancelled

svn path=/trunk/; revision=42604
2009-08-10 21:21:50 +00:00
Johannes Anderwald
4ffba4e3e3 - Implement swenum
svn path=/trunk/; revision=42603
2009-08-10 21:10:03 +00:00
Timo Kreuzer
fc40a70945 Revert part of my last commit, this was testcode not meant to be committed.
svn path=/trunk/; revision=42602
2009-08-10 20:22:11 +00:00
Timo Kreuzer
344e472e73 - Move some functions from stubs.c to new file eng/mapping.c
- Move EngSetPointerTag to mouse.c
- Move EngQuerySystemAttribute and EngGetTickCount to engmisc.c
- Unimplement EngLoadModule as it was wrong
- FLOATOBJ_XxxFloatObj are duplicated from FLOATOBJ_Xxx, remove the stubs and redirect in the pspec.
- Redirect EngGetCurrentProcessId and EngGetcurrentThreadId to ntoskrnl

svn path=/trunk/; revision=42601
2009-08-10 20:19:33 +00:00
Timo Kreuzer
de2b47bdf6 Fix return value. Thanks to Hervé for noticing.
svn path=/trunk/; revision=42600
2009-08-10 19:26:53 +00:00
Johannes Anderwald
da8d2f0bd8 - Implement BdaPropertyGetPinControl
svn path=/trunk/; revision=42599
2009-08-10 16:10:26 +00:00
Johannes Anderwald
dd5e13f449 - A few updates from Archwald
svn path=/trunk/; revision=42598
2009-08-10 16:09:45 +00:00
Johannes Anderwald
be6d957131 - Implement BdaPropertyNodeTypes, BdaPropertyPinTypes
svn path=/trunk/; revision=42597
2009-08-10 15:18:48 +00:00
Timo Kreuzer
15e8102344 Implement EngFileIoControl and EngFileWrite
svn path=/trunk/; revision=42596
2009-08-10 15:09:14 +00:00
Johannes Anderwald
0b1191a6d8 - Implement BdaInitFilter, BdaCreateTopology
svn path=/trunk/; revision=42594
2009-08-10 14:18:51 +00:00
Johannes Anderwald
b25a3f93ea - Add macros for bda
svn path=/trunk/; revision=42593
2009-08-10 14:03:16 +00:00
Aleksey Bragin
df38911464 - Rewrite failure branch of IopLoadUnloadDriver to return a real status code instead of always hardcoding it to STATUS_IMAGE_ALREADY_LOADED (r42473) and remove unneeded code duplication.
svn path=/trunk/; revision=42592
2009-08-10 14:03:01 +00:00
Aleksey Bragin
158a642e6b - Make NtUnloadKey call a newer version of the NTAPI - NtUnloadKey2.
- Implement NtUnloadKey2 as a wrapper around internal CM API - CmUnloadKey.
- Stub CmUnloadKey.
- Fix a typo in ps/process.c comments.

svn path=/trunk/; revision=42591
2009-08-10 13:44:54 +00:00
Johannes Anderwald
f82ee64534 - Arch broke it
svn path=/trunk/; revision=42590
2009-08-10 13:07:05 +00:00
Johannes Anderwald
22769d6876 - Add BDA filter context to object bag, so that it gets freed automatically later
svn path=/trunk/; revision=42588
2009-08-10 11:28:25 +00:00
Johannes Anderwald
c4ba7bb1d8 - Add KsFilterFactoryGetParentDevice macro
- Fix inline function for msvc compability

svn path=/trunk/; revision=42587
2009-08-10 11:27:23 +00:00
Johannes Anderwald
5292ae1686 [BDASUP]
- Start implementing BDASup
- Implement BdaCheckChanges, BdaCommitChanges, BdaCreateFilterFactory, BdaCreateFilterFactoryEx, BdaCreatePin, BdaMethodCreatePin, BdaFilterFactoryUpdateCacheData, BdaGetChangeState, BdaMethodCreateTopology, BdaMethodDeletePin, BdaPropertyTemplateConnections, BdaStartChanges, BdaUninitFilter, BdaValidateNodeProperty

svn path=/trunk/; revision=42586
2009-08-10 11:13:43 +00:00
Johannes Anderwald
f85104f4a1 - Add include guards
- Add KSM_PIN
- Add a few function prototypes

svn path=/trunk/; revision=42585
2009-08-10 11:10:37 +00:00
Stefan Ginsberg
ecf94cf3ae - Remove duplicate MmHighestPhysicalPage (the other being in init.c) -- we still ended up with only 1 global however, so this doesn't really change anything
svn path=/trunk/; revision=42584
2009-08-10 09:54:29 +00:00
Aleksey Bragin
305ee59bac - Update commctrl.h.
svn path=/trunk/; revision=42583
2009-08-10 09:47:17 +00:00
Johannes Anderwald
732ce0ed84 [WDMAUD]
- Remove ReactOS specific pin creation hack
[SYSAUDIO]
- Refactor sysaudio pin creation
- Remove ReactOS specific pin creation hack
- Remove unused functions

svn path=/trunk/; revision=42580
2009-08-10 07:14:04 +00:00
James Tabor
2aa4d40fff - Changes to file header.
svn path=/trunk/; revision=42579
2009-08-10 04:57:22 +00:00
Cameron Gutman
347e34f1b4 - Rewrite most of the loopback code
- The new code is faster, uses less memory, and is less complex than the previous code
 - Add a NULL check to fix a potential crash

svn path=/trunk/; revision=42578
2009-08-10 03:27:39 +00:00
Cameron Gutman
d398d00ca8 - Fix a bug which resulted in the first letter of each quote (except the first one) being skipped
- Fix some quote typos

svn path=/trunk/; revision=42577
2009-08-09 22:53:26 +00:00
Hervé Poussineau
10692515b0 [rbuild] Remove distinction between Iso/IsoRegTest, and LiveIso/LiveIsoRegTest module types
Better dependency tracking for iso module type

svn path=/trunk/; revision=42575
2009-08-09 22:03:04 +00:00
Gregor Schneider
17db8cf603 Revert r42536 for build server diagnosis
svn path=/trunk/; revision=42571
2009-08-09 19:30:35 +00:00
Dmitry Gorbachev
f2a7907cb7 Do not call CcUnpinData() with NULL PtrBCB.
svn path=/trunk/; revision=42569
2009-08-09 17:26:10 +00:00
Dmitry Gorbachev
5f73e1c2bc Fix IDT limit.
svn path=/trunk/; revision=42566
2009-08-09 14:40:05 +00:00
Dmitry Gorbachev
46ad3be153 Add padding to ext2 superblock structure (to 512 bytes).
svn path=/trunk/; revision=42565
2009-08-09 14:39:44 +00:00
Christoph von Wittich
b14357b82c partial rpcrt4 sync to wine 1.1.27 (fixes ~180 rpcrt4 winetests)
svn path=/trunk/; revision=42564
2009-08-09 14:28:07 +00:00
Stefan Ginsberg
aa8b33601d - ne2000: Don't assume stdcall is default for MSVC
- snmpapi: Define SNMP_FUNC_TYPE for MSVC too
- rasman: Compatibly define function pointer prototype
- vbe/vga/xboxvmp: Fix assumption that _MSC_VER means "compiling with Microsoft's headers"

svn path=/trunk/; revision=42563
2009-08-09 14:18:01 +00:00
Christoph von Wittich
a8fca73ae8 partial sync to wine 1.1.27
svn path=/trunk/; revision=42562
2009-08-09 13:56:25 +00:00
Christoph von Wittich
2127bca655 sync shell32_winetest with wine 1.1.27
svn path=/trunk/; revision=42559
2009-08-09 12:49:55 +00:00
Gregor Schneider
a5dfb6bd53 Even without a CMINVOKECOMMANDINFOEX structure a link should be executed with the supplied parameters
See issue #4323 for more details.

svn path=/trunk/; revision=42557
2009-08-09 12:07:21 +00:00
Christoph von Wittich
216c94033d fix build
svn path=/trunk/; revision=42556
2009-08-09 12:06:07 +00:00
Christoph von Wittich
ec56eb048b sync shdocvw and mshtml with wine 1.1.27 and add missing translations to avifil32
svn path=/trunk/; revision=42555
2009-08-09 12:00:11 +00:00
Timo Kreuzer
665c8196de Add lmissing file
svn path=/trunk/; revision=42553
2009-08-09 11:38:53 +00:00
Timo Kreuzer
3979f7432d win32knapi: More / improved tests for NtUserSystemParametersInfo, NtGdiSelectBrush, NtGdiSelectBitmap, NtGdiGetFontResourceInfoInternalW, NtGdiDoPalette
svn path=/trunk/; revision=42552
2009-08-09 11:27:25 +00:00
Timo Kreuzer
823cea3689 Change xlate tests a bit.
svn path=/trunk/; revision=42551
2009-08-09 11:05:54 +00:00
Stefan Ginsberg
98e84293c7 - Fix intrinsics for MSVC -- just include intrin.h instead of duplicating the definitions.
svn path=/trunk/; revision=42550
2009-08-09 09:58:07 +00:00
Hervé Poussineau
afceb3314e Fix compilation #2
svn path=/trunk/; revision=42546
2009-08-09 08:24:22 +00:00
Hervé Poussineau
e9eadcc168 Fix compilation
svn path=/trunk/; revision=42545
2009-08-09 08:13:17 +00:00
Hervé Poussineau
661239c67e Merge FldrCreateComponentKey and FldrSetIdentifier
svn path=/trunk/; revision=42544
2009-08-09 08:11:52 +00:00
Hervé Poussineau
d7ca524325 Merge FldrCreateComponentKey and FldrSetComponentInformation
Remove unneeded parameters in FldrCreateComponentKey

svn path=/trunk/; revision=42543
2009-08-09 07:45:41 +00:00
Cameron Gutman
bfe9c97ce3 - Return the correct value for AFD_INFO_BLOCKING_MODE
- Implement AFD_INFO_SENDS_IN_PROGRESS (SO_LINGER should work now)

svn path=/trunk/; revision=42542
2009-08-09 03:57:29 +00:00
Dmitry Gorbachev
7c7fefd8d3 Fix issue #4673 ("Misrepresented license in FreeLDR"), Robert Millan (rmh.reactos at aybabtu.com).
svn path=/trunk/; revision=42541
2009-08-08 22:39:04 +00:00
Hervé Poussineau
3e5c0bc6aa Remove dead code
svn path=/trunk/; revision=42540
2009-08-08 21:50:15 +00:00
Hervé Poussineau
945b08e99d Use Arc* infrastructure to read the .inf file
svn path=/trunk/; revision=42539
2009-08-08 21:23:23 +00:00
Hervé Poussineau
c2b74e4921 Fix some typos and make PFILE a ULONG
svn path=/trunk/; revision=42538
2009-08-08 21:11:40 +00:00
Hervé Poussineau
28bf1f3b71 - Half-convert FAT, Ext2 and NTFS filesytems to provide new ARC file infrastructure. This allows removing some compatibility code in fs.c
- Remove use of FsOpenBootVolume() and FsOpenSystemVolume(). If callers don't want a file on boot volume, they need to use the new ArcOpen/ArcSeek/ArcRead/ArcClose functions instead of the old FsOpenFile/FsSetFilePointer/FsReadFile/FsCloseFile

svn path=/trunk/; revision=42537
2009-08-08 20:53:10 +00:00
Gregor Schneider
ee30838ad7 Supply default ansi codepage when converting from unicode, fixes 365 kernel32 comm winetests
svn path=/trunk/; revision=42536
2009-08-08 20:20:16 +00:00
Timo Kreuzer
ee9e10c750 [FORMATTING]
4 spaces indentation, no code change

svn path=/trunk/; revision=42535
2009-08-08 19:53:21 +00:00
Dmitry Gorbachev
4edf4a5d67 - Do not compare an ULONG variable with -1 in DbgPrint().
- Simplify TuiPrintf().

svn path=/trunk/; revision=42534
2009-08-08 19:34:21 +00:00
Hervé Poussineau
1af46d7aa4 HACK FIX DiskGetBootPath() method to return something meaningful when booting from hard disk
svn path=/trunk/; revision=42533
2009-08-08 19:33:08 +00:00
Stefan Ginsberg
fa657e7e29 Fix Uniata for msvc:
- Add missing msvc intrinsics to winddk.h
- Don't assume compiler means a specific header set, and don't rely on the default calling convention being stdcall.
- Disable a warning spotted by MSVC -- requesting anyone with understanding of the code to have a look.

svn path=/trunk/; revision=42531
2009-08-08 18:27:01 +00:00
KJK::Hyperion
b7cb2a38aa modified base/setup/vmwinst/vmwinst.c
modified   base/setup/vmwinst/vmwinst.rbuild
   Implement VMWare detection for Visual C++ as well
   For cleaner code, use SEH instead of VEH, even if it means losing this pearl of ReactOS wisdom:

       /* Setup a vectored exception handler to protect the detection. Don't use SEH
       here so we notice the next time someone removes support for vectored
       exception handling from ros... */

   (www.passiveaggressivecommits.com, brought to you by Arch Blackmann!)
   Of course, it also means trading our VEH bugs for our SEH bugs, so I'm not sure if it was worth changing

svn path=/trunk/; revision=42530
2009-08-08 18:03:48 +00:00
KJK::Hyperion
e50fa1e50e modified dll/3rdparty/mesa32/src/main/imports.c
We don't have _aligned_malloc in our CRT, whatever compiler we use

modified   dll/3rdparty/mesa32/src/main/imports.h
   The mysterious MESA compilation bug has been found: seems the Visual C++ preprocessor doesn't know about the "F" number suffix

modified   dll/3rdparty/mesa32/reactos.diff
   Updated the diff

svn path=/trunk/; revision=42529
2009-08-08 17:18:34 +00:00
Hervé Poussineau
e307cb2881 Rework ISO9660 filesystem to use ARC file architecture.
ISO filesystem doesn't depend anymore of boot volume/system volume

svn path=/trunk/; revision=42528
2009-08-08 17:13:14 +00:00
Hervé Poussineau
20c8af6fef Read freeldr.ini file using ARC file infrastructure
svn path=/trunk/; revision=42527
2009-08-08 17:08:51 +00:00
Hervé Poussineau
9f71bce6b4 Improve ARC file infrastructure, by adding a compatibility layer from old to new system (new to old already exists)
i386: when reading sectors, use dedicated scratch area
Increase number of available open files to 60, because something seems to leak file descriptors

svn path=/trunk/; revision=42526
2009-08-08 17:04:53 +00:00
Stefan Ginsberg
79c9204f9e - Fix compilation of csrsrv:
- helper.h does not exist anymore, so define what was used in srv.h instead
- Complete migration to PSEH2
- TEB's Cid was renamed to ClientId -- update the code
- Rename DllMain to DllMainCRTStartup as this is what we link a native dll to
- Fix some incorrect entries in the .spec
- Also fix some /W4 warnings. Add a note to CsrPopulateDosDevicesDirectory that the code is incomplete and will never stop looping (spotted by /W4).
- Does not link completely yet due to some missing function stubs.

svn path=/trunk/; revision=42525
2009-08-08 16:50:27 +00:00
Gregor Schneider
6ff2cad0ff Remove temporary debug code, crash was fixed by r42506 and r42517
svn path=/trunk/; revision=42523
2009-08-08 16:24:22 +00:00
Christoph von Wittich
24c3dd1abc sync msacm with wine 1.1.27
svn path=/trunk/; revision=42522
2009-08-08 16:14:46 +00:00
Gregor Schneider
0656aaaacd Only set text resource in DefWndProcA on WM_NCCREATE if passed and exists
See issue #4766 for more details.

svn path=/trunk/; revision=42521
2009-08-08 16:14:43 +00:00
Gregor Schneider
3786d6dd01 Don't access the device mode if it is not passed (user32 monitor crash)
svn path=/trunk/; revision=42520
2009-08-08 16:01:24 +00:00
Gregor Schneider
4413118e20 Revert r42518: no user mode types in DDK
svn path=/trunk/; revision=42519
2009-08-08 15:10:01 +00:00
Gregor Schneider
5dfa2c31de ULONG->DWORD as seen on MSDN for (U)LARGE_INTEGER
svn path=/trunk/; revision=42518
2009-08-08 15:01:38 +00:00
Gregor Schneider
7b6de8b1d4 -Use correct conversion factors in FileTimeToUnixTime (increased by factor 1000)
-Prefer time_t to arch specific __time64_t
-Assumption from r42506 was wrong: GetSystemTimeAsFileTime supplies good values

svn path=/trunk/; revision=42517
2009-08-08 14:55:25 +00:00
Stefan Ginsberg
e8aa4b4280 - Silence a soundblaster warning on release build
svn path=/trunk/; revision=42516
2009-08-08 14:41:50 +00:00
Stefan Ginsberg
c5045dd4e7 - Undefine __ROS_LONG64__ for ReactOS' extensions to kernel32 and setupapi Winetests -- fixes even more warnings
svn path=/trunk/; revision=42514
2009-08-08 13:34:12 +00:00
Stefan Ginsberg
988ffc77d4 - Correct the RegionSize member of MEMORY_BASIC_INFORMATION -- it is pointer sized.
- Make RPC_STATUS respect __ROS_LONG64__ -- fixes a bunch of format warnings in the rpcrt4 Winetest.

svn path=/trunk/; revision=42513
2009-08-08 13:32:15 +00:00
Christoph von Wittich
b9ad186036 sync msi winetest with wine 1.1.27
svn path=/trunk/; revision=42511
2009-08-08 12:48:20 +00:00
Christoph von Wittich
4c4e558887 sync widl to wine 1.1.27
svn path=/trunk/; revision=42510
2009-08-08 12:40:21 +00:00
Christoph von Wittich
220177d4de always build 32 bit typelibs
svn path=/trunk/; revision=42509
2009-08-08 12:37:01 +00:00
Christoph von Wittich
50ba99e99c sync msi with wine 1.1.27
svn path=/trunk/; revision=42507
2009-08-08 11:55:51 +00:00
Gregor Schneider
522d088b11 -time() returns a valid value even if no pointer is passed
-Exposes another bug: kernel32's GetSystemTimeAsFileTime currently returns invalid (too low) time values

svn path=/trunk/; revision=42506
2009-08-08 11:40:48 +00:00
Christoph von Wittich
cc30ba1d67 fix rc files
svn path=/trunk/; revision=42505
2009-08-08 10:48:08 +00:00
Christoph von Wittich
aa0abcf51e partial revert of r41765
svn path=/trunk/; revision=42504
2009-08-08 10:22:51 +00:00
Christoph von Wittich
6dc4143481 partial revert of r41770
svn path=/trunk/; revision=42503
2009-08-08 10:18:41 +00:00
Christoph von Wittich
847a9ddf02 partial revert of r41768
svn path=/trunk/; revision=42502
2009-08-08 10:14:13 +00:00
Christoph von Wittich
80e7d449b2 partial revert of r41766
svn path=/trunk/; revision=42501
2009-08-08 10:09:14 +00:00
Pierre Schweitzer
92a36f7e01 Include header where needed
svn path=/trunk/; revision=42499
2009-08-08 09:49:27 +00:00
Christoph von Wittich
db136c3959 -sync wrc to wine 1.1.27
-apply a patch from Marcus Meissner to fix reading from stdin (broken in current wine)

svn path=/trunk/; revision=42498
2009-08-08 09:09:37 +00:00
Christoph von Wittich
e465790307 sync jscript_winetest with wine 1.1.27
svn path=/trunk/; revision=42497
2009-08-08 07:34:31 +00:00
Christoph von Wittich
23d4ad046d sync jscript with wine 1.1.27
svn path=/trunk/; revision=42496
2009-08-08 07:34:09 +00:00
Hervé Poussineau
2a10e77d03 [lsasrv] Do not launch a thread to listen for incoming calls, but do it directly
Better LsarClose stub, which tries to do the right thing
Fix a few prototypes
See issue #4689 for more details.

svn path=/trunk/; revision=42495
2009-08-08 07:27:37 +00:00
Christoph von Wittich
ac25f23e18 delete obsolete diff
svn path=/trunk/; revision=42494
2009-08-08 07:20:55 +00:00
Christoph von Wittich
f2475c62a6 allow warnings for idl
svn path=/trunk/; revision=42493
2009-08-08 07:06:52 +00:00
Christoph von Wittich
681b7b3276 try to re enable rpc4rt winetest
svn path=/trunk/; revision=42492
2009-08-08 06:47:51 +00:00
Cameron Gutman
c319a3c9bb - Stop trying to find more adapters if it failed to avoid spamming the debug log
- Should fix buildbot test 2nd stage

svn path=/trunk/; revision=42491
2009-08-08 03:18:41 +00:00
Timo Kreuzer
7b56dfa270 NtUserGetIconInfo: Move lockingunlocking out of SEH, as this is a bad idea. Get rid of RETURN(). Add a comment.
svn path=/trunk/; revision=42490
2009-08-08 02:47:32 +00:00
Timo Kreuzer
c136124b2f [win32k]
- Use DIB_GetDIBWidthBytes and BitsPerFormat instead of switch
- Add SPS_CHANGE flag when calling IntEngSetPointerShape
- Fixes VMWare Driver mouse pointer regression

svn path=/trunk/; revision=42489
2009-08-08 02:42:41 +00:00
Timo Kreuzer
257366ffa4 Comment out rpcrt4 winetest, as it breaks testcd.
svn path=/trunk/; revision=42488
2009-08-08 01:35:06 +00:00
Timo Kreuzer
f691efa3b4 Update the fill brush, in NtGdiFillPath.
svn path=/trunk/; revision=42487
2009-08-08 00:50:42 +00:00
Stefan Ginsberg
dce78c56fc - Don't use dllexport for dxapi -- we have a .spec
svn path=/trunk/; revision=42486
2009-08-07 21:53:26 +00:00
Stefan Ginsberg
a553ba4adc - Use APIENTRY compatible -- wdmaud now builds
svn path=/trunk/; revision=42485
2009-08-07 21:27:45 +00:00
Stefan Ginsberg
41f20a9b19 - Don't assume _MSC_VER means PSDK in regedit -- add a note so this isn't forgotten.
svn path=/trunk/; revision=42484
2009-08-07 21:15:17 +00:00
Stefan Ginsberg
a980836dd8 - Make rapps MSVC-friendly
svn path=/trunk/; revision=42483
2009-08-07 21:10:16 +00:00
Christoph von Wittich
3a66251576 sync rpcrt4 winetest with wine 1.1.26
svn path=/trunk/; revision=42482
2009-08-07 21:02:55 +00:00
Christoph von Wittich
cf7b35520e APIENTRY LONG --> LONG APIENTRY
svn path=/trunk/; revision=42481
2009-08-07 20:17:55 +00:00
Aleksey Bragin
e3ff5fffdc - Sync WIDL and ole32 with Wine-1.1.23, w/o syncing rpcrt4. Credits go to Christoph for helping out with this sync. Tested with rpcrt4_winetests and MS Office 2003 setup.
svn path=/trunk/; revision=42480
2009-08-07 20:15:12 +00:00
Stefan Ginsberg
94ece7bbdb . Define APIENTRY compatibly for MSVC
svn path=/trunk/; revision=42479
2009-08-07 20:12:19 +00:00
Stefan Ginsberg
35c6c8de82 - C89 compliance for iphlpapi
svn path=/trunk/; revision=42478
2009-08-07 20:03:37 +00:00
Stefan Ginsberg
ba45460b9c - Fix broken include path for MSVC -- appwiz, input, joy and telephon applets now compile
svn path=/trunk/; revision=42477
2009-08-07 19:49:22 +00:00
Stefan Ginsberg
cae766f61e - Remove another assumption that _MSC_VER means the MSVC build environment -- aclui now builds.
svn path=/trunk/; revision=42476
2009-08-07 19:37:11 +00:00
Stefan Ginsberg
0787f783d7 Move variable initialization to top of scope.
Welcome to MSVC, eventlog. It is safer here.

svn path=/trunk/; revision=42475
2009-08-07 19:19:46 +00:00
Stefan Ginsberg
5c28e5923e - Remove HalDisplayString from the DDK as it doesn't belong there and is already in the NDK.
- Move KeFlushQueuedDpcs from NDK to DDK as this is where it belongs -- it is a documented routine.

svn path=/trunk/; revision=42474
2009-08-07 19:16:01 +00:00
Michael Martin
8b8078a0da - Calling NtLoadDriver on an already loaded driver should fail with STATUS_IMAGE_ALREADY_LOADED. Fixes one test for kmtest driver tests and a bugcheck when loading the driver a second time.
svn path=/trunk/; revision=42473
2009-08-07 18:27:31 +00:00
KJK::Hyperion
90ae79bfc0 modified include/psdk/windows.h
modified   include/psdk/winnt.h
   Visual C++ needs love, too. Extend conditional w32api code for Watcom C to Visual C++

svn path=/trunk/; revision=42472
2009-08-07 17:07:10 +00:00
Stefan Ginsberg
578de69cda - Properly stub atan2/exp/fmod/ldexp for MSVC -- #error out on them instead of calling nonexisting functions to fail at link time (wtf?).
svn path=/trunk/; revision=42471
2009-08-07 16:40:11 +00:00
KJK::Hyperion
10fb22e0d9 Use include path for typeof.h that only depends on global include paths (typeof.h -> wine/typeof.h)
svn path=/trunk/; revision=42470
2009-08-07 15:35:41 +00:00
KJK::Hyperion
32072cfccd added include/reactos/wine/typeof.h
Simulate typeof operator for the Wine code that requires it

modified   ReactOS-generic.rbuild
   Force-include typeof.h when compiling with Visual C++

svn path=/trunk/; revision=42469
2009-08-07 15:25:03 +00:00
Cameron Gutman
c732d0bbfb - We associate the MDL with the IRP later (in TdiBuildSend, TdiBuildReceive, etc)
svn path=/trunk/; revision=42468
2009-08-07 15:22:24 +00:00
Cameron Gutman
3bc15ea3c0 - Call IoCompleteRequest to free IRPs created by IoBuildDeviceIoControlRequest
- Fixes bug 4770

svn path=/trunk/; revision=42467
2009-08-07 15:00:42 +00:00
Christoph von Wittich
093197d2de include windef.h to get the definitions for BYTE and DWORD req. by bdatypes.h
svn path=/trunk/; revision=42466
2009-08-07 14:09:36 +00:00
Christoph von Wittich
84ef1b5a06 stub bdasup
svn path=/trunk/; revision=42465
2009-08-07 13:23:35 +00:00
Gregor Schneider
5122d6becf IntChangeDisplaySettings: set last error before leaving the function
NtUserChangeDisplaySettings: copy devmode only if passed, use SEH with buffer probing over CopyFromCaller

svn path=/trunk/; revision=42464
2009-08-07 12:10:59 +00:00
Gregor Schneider
0d14376113 Remove deprecated define
svn path=/trunk/; revision=42463
2009-08-07 12:06:04 +00:00
Christoph von Wittich
31b15e4854 add bdasup.h
svn path=/trunk/; revision=42462
2009-08-07 12:04:50 +00:00
Stefan Ginsberg
ac7daf7ccf - winddk.h: Don't define NTSYSAPI and NTSYSCALLAPI -- this is defined in ntdef.h. Use NTSYSAPI for HalDispatchTable instead of DECLSPEC_IMPORT (see below).
- wdm.h: Properly define NTKERNELAPI.
- ntifs.h: Properly define NTKERNELAPI, and don't redefine NTSYSAPI.
- ntoskrnl: Apply the WDK hack for our headers (and gcc) too. Also redefine NTHALAPI for NDK so we don't auto-import KdComPortInUse -- ld complains about this.
- Apply this for cmlib, csq and rossym too.
- Use this in HAL too, and redefine NTSYSAPI so we don't auto import some structures from the kernel. Also, don't define __declspec(dllimport) to nothing -- this doesn't work with gcc, and doesn't seem to be necessary. I tried building HAL with the WDK and this wasn't an issue.

svn path=/trunk/; revision=42461
2009-08-07 10:45:59 +00:00
Johannes Anderwald
8a3b6b1983 - Remove hack of starting stream automatically when first IRP has arrived
svn path=/trunk/; revision=42460
2009-08-07 10:16:25 +00:00
Johannes Anderwald
7121ab4d0e - Set the stream state to run when opening the device
- Set the stream state to stop when closing the device

svn path=/trunk/; revision=42459
2009-08-07 10:11:24 +00:00
Stefan Ginsberg
7b78af8b30 - Add inlined assembly for MSVC to _clearfp, _control87, _fpreset, _logb and _statusfp, move fpreset into arch-specific directory and remove x86 #ifdefs from the code.
- Disable warning C4733 for __wine_push_frame and __wine_pop_frame

svn path=/trunk/; revision=42458
2009-08-07 09:36:53 +00:00
Johannes Anderwald
2abccb66e9 [KS]
- Remove a hack for sysaudio + kmixer
[PORTCLS]
- Disable assert untill stream allocator is in place
- Remove dead code
- Implement IPortPinWaveCyclic_HandleKsStream
[KMIXER]
- Remove unused code
- Implement creating the allocator
- Properly implement openening the device
[STREAM]
- Use GLOBAL as the reference string
- Setup a pin create item
[SYSAUDIO]
- Use reference string GLOBAL to open kmixer
- Use reference string GLOBAL for opening sysaudio. Will be removed once bug 4566 is resolved

svn path=/trunk/; revision=42457
2009-08-07 09:34:52 +00:00
Daniel Reimer
74733cd9aa Bug 4700: Translation patch, Dutch, for explorer-new by Jan Roeloffzen
Bug 4733: Japanese translation for explorer-new and winemine by Tomoya Kitagawa
Bug 4738: Brazilian Portuguese translation for User Environment by Wagner Leandro Bueno Angelo
Bug 4749: Czech translation update by Radek Liska
Bug 4761: Norwegian translate by Lars Martin Hambro

svn path=/trunk/; revision=42456
2009-08-07 08:56:06 +00:00
Cameron Gutman
f1b8d48df1 - Send a gratuitous ARP packet when our IP address changes
svn path=/trunk/; revision=42455
2009-08-07 03:21:56 +00:00
Timo Kreuzer
50eb85ed3b Fix a serious bug, that led to reading beyound the end of the mask bitmap, if it was not twice as big as the color bitmap.
svn path=/trunk/; revision=42454
2009-08-07 03:14:55 +00:00
Cameron Gutman
353d0a8d27 - Fix a bug resulting in ROS discarding all gratuitous ARP packets
- Remove an unnecessary check

svn path=/trunk/; revision=42453
2009-08-07 02:39:38 +00:00
KJK::Hyperion
3bcb06c85c See r42442. One of the affected files was duplicated, so we duplicate the fix
svn path=/trunk/; revision=42452
2009-08-07 02:24:46 +00:00
KJK::Hyperion
6046aeca98 modified base/applications/network/netstat/netstat.c
Another mysterious case of stdlib.h being automatically included for gcc but not cl, another module compiling with Visual C++

svn path=/trunk/; revision=42451
2009-08-07 02:15:25 +00:00
KJK::Hyperion
5662c48394 modified lib/3rdparty/libsamplerate/libsamplerate.rbuild
We have lrint and lrintf, don't provide inline implementations

Three cheers for libsamplerate, congratulations to it for compiling on Visual C++

svn path=/trunk/; revision=42450
2009-08-07 02:10:12 +00:00
KJK::Hyperion
7d62f33141 Visual C++ doesn't like division by zero in constants: for now, don't define NAN, HUGE_VAL, HUGE_VALF, INFINITY for Visual C++
svn path=/trunk/; revision=42449
2009-08-07 02:03:25 +00:00
KJK::Hyperion
2161df104c modified dll/win32/opengl32/gl.c
modified   dll/win32/opengl32/opengl32.c
   Give prototypes to all functions
   Implement OpenGL thunks in assembler for Visual C++
   Nope, environment is not compiler this time, either

modified   dll/win32/opengl32/opengl32.h
   Don't use dllexport, we have a spec file

Congratulations opengl32, you now build with Visual C++

svn path=/trunk/; revision=42448
2009-08-07 01:50:19 +00:00
Timo Kreuzer
29c24f700e [win32k]
Implement GreMovePointer and GreSetPointerShape, calling the eng functions and use them instead of the former mess in IntSetCursor. Fix IntShowMousePointer, EngSetPointerShape to properly handle the color bitmap. We now have support for colored mouse cursors, like used by our paint.

svn path=/trunk/; revision=42447
2009-08-07 01:44:38 +00:00
KJK::Hyperion
314fa19276 modified base/services/audiosrv/pnp_list_manager.c
About the trillionth time Arch forgets that malloc is declared in stdlib.h

One more module builds with Visual C++

svn path=/trunk/; revision=42446
2009-08-07 01:20:23 +00:00
KJK::Hyperion
51473767f2 modified dll/win32/advapi32/advapi32.h
For some reason, <limits.h> was included for gcc, but not Visual C++: include it explicitly just in case

And we welcome advapi32 to the club of modules that compile with Visual C++

svn path=/trunk/; revision=42445
2009-08-07 01:15:48 +00:00
KJK::Hyperion
ba42f38a63 modified lib/3rdparty/libxml2/libxml2.rbuild
libxml2 wants __MINGW32__, let's give it __MINGW32__. This should probably defined globally, because our Visual C++ environment is kind of MinGW, after all

And libxml2 compiles with Visual C++, too

svn path=/trunk/; revision=42444
2009-08-07 01:06:18 +00:00
KJK::Hyperion
064df4b419 modified include/crt/float.h
added      include/crt/msc/msc_float.h
   Implement <float.h> for Visual C++

svn path=/trunk/; revision=42443
2009-08-07 01:03:09 +00:00
KJK::Hyperion
83e0a3e605 modified jmorecfg.h
Arch Blackmann confuses compiler with build environment in libjpeg too. No project is safe

modified   libjpeg.rbuild
   HAVE_CONFIG_H is only used in ansi2knr.c, which we don't build

added      libjpeg.reactos.diff
   Added patch files with changes from vendor drop

Yes, libjpeg now compiles with Visual C++, in case you were wondering

svn path=/trunk/; revision=42442
2009-08-07 00:37:45 +00:00
Timo Kreuzer
6c2f42c953 [FORMATTING]
Apply consistent 4 space indentation
No code change

svn path=/trunk/; revision=42441
2009-08-06 23:09:13 +00:00
Dmitry Gorbachev
2e74dd3e76 Add GetLogicalProcessorInformation() and a stub for ReOpenFile() by Alwyn Tan's request.
svn path=/trunk/; revision=42440
2009-08-06 22:53:04 +00:00
Johannes Anderwald
78f8e0a7c2 - Add a few parameters check
- Calculate resource list size with FIELD_OFFSET macro
- Fix a big bug in IResourceList_fnAddEntryFromParent which didnt copy the untranslated resource list entry

svn path=/trunk/; revision=42439
2009-08-06 21:45:10 +00:00
Johannes Anderwald
ba99294c86 - Check if translated / untranslated resource list is empty
- If both are empty, create an empty resource list
- May fix a crash with Yamaha XG Pci 

svn path=/trunk/; revision=42438
2009-08-06 20:44:53 +00:00
Stefan Ginsberg
cb95320734 - Fix the last mingw msvc build issues -- just use function forwarders for msvc instead of using gcc alias symbols. Also add msvc assembly to the "fp10" implementation.
svn path=/trunk/; revision=42435
2009-08-06 19:23:44 +00:00
Gregor Schneider
e0699eeea3 [Temp] Revert checkpoints, comment out first two tests to check possible memory corruptions from those functions, trace mktime tests in more detail
svn path=/trunk/; revision=42433
2009-08-06 17:32:36 +00:00
Stefan Ginsberg
360c153fad - Don't define ssize_t -- it is already done in rosdhcp.h
svn path=/trunk/; revision=42432
2009-08-06 16:57:56 +00:00
Gregor Schneider
71da990c0e [Temp] add some checkpoints to narrow the mysterious buildserver msvcrt test crash position #2
svn path=/trunk/; revision=42430
2009-08-06 16:08:49 +00:00
Stefan Ginsberg
60bf2397d9 - Don't rely on the default calling convention being cdecl for function pointers
svn path=/trunk/; revision=42429
2009-08-06 15:27:23 +00:00
Gregor Schneider
1a3dc30655 Retrieve the timezone bias in mktime via GetTimeZoneInformation
svn path=/trunk/; revision=42428
2009-08-06 15:18:24 +00:00
Gregor Schneider
7dc02145d2 [Temp] add some checkpoints to narrow the mysterious buildserver msvcrt test crash position
svn path=/trunk/; revision=42427
2009-08-06 14:23:40 +00:00
Gregor Schneider
44007e0af4 -Increase array size to allow proper string termination (MSVC warning #C4045)
-The code correctly copies only the first TCHAR4 value being the string itself

svn path=/trunk/; revision=42426
2009-08-06 12:45:11 +00:00
Stefan Ginsberg
740e3ee947 - MSVC fix: static __inline__ -> FORCEINLINE
svn path=/trunk/; revision=42425
2009-08-06 11:59:20 +00:00
Gregor Schneider
f5a461d8bf Switch from time to time_new 2/2:
-Rename time_new to time

svn path=/trunk/; revision=42423
2009-08-06 11:38:09 +00:00
Gregor Schneider
bb36c210f0 Switch from time to time_new 1/2:
-Get updated headers into place, prepare rbuild file, delete old dir

svn path=/trunk/; revision=42422
2009-08-06 11:37:09 +00:00
Aleksey Bragin
c2b61c7b42 - Add PsGetThreadId declaration.
svn path=/trunk/; revision=42419
2009-08-06 11:16:42 +00:00
Stefan Ginsberg
c63b98f537 - crt: Use ANSI C types
- math.h: Move nonstandard inline using nonstandard function into nonstandard group
- crtdefs.h: Don't disable non-ANSI C definitions for MSVC only -- the behaviour should be the same for all compilers, so always disable them -- fixes various msvc build errors introduced by 42369.

svn path=/trunk/; revision=42418
2009-08-06 11:03:08 +00:00
Gregor Schneider
760207bad2 -Merge license change from AMD64 branch (r42414)
-Adjust the return value of mktime by the chosen timezone after normalizing

svn path=/trunk/; revision=42417
2009-08-06 11:01:44 +00:00
Timo Kreuzer
a66ba8f68a Change license of my crt time code to LGPL, this is a minimum requirement to be usable by mingw.
svn path=/branches/ros-amd64-bringup/; revision=42414
2009-08-06 01:26:50 +00:00
Gregor Schneider
de5d448389 -Deactivate _invalid_parameter for now, depends on the strsafe crt implementation also in AMD64 branch
-Fix the weekday offset in gmtime
-Offset the year in *ctime by 1900, fix obvious typos
-Set structure packing to char level: without it the 26 character array is 32 characters wide and the string can't be constructed properly because of alignment characters in between (shouldn't be a problem when _UNICODE is defined)
-Test results: awesome, will be integrated soon

svn path=/trunk/; revision=42413
2009-08-06 00:26:23 +00:00
Stefan Ginsberg
2591c586a2 - Fix msvc build of win32k -- reported by Amine.
svn path=/trunk/; revision=42412
2009-08-05 22:01:21 +00:00
Gregor Schneider
8b24ebb671 -Import tkreuzer's time implementation from AMD64 branch
svn path=/trunk/; revision=42411
2009-08-05 19:30:37 +00:00
Christoph von Wittich
0c4008a938 brouser -> browser
svn path=/trunk/; revision=42410
2009-08-05 19:19:52 +00:00
Gregor Schneider
cb0fe726e8 -Add a crt regression test suite, extending the msvcrt winetests
-iofunc tests were used to verify r42382, added another one that tests swprintf double conversion (roscalc issue)
-time tests crash with the current crt implementation

svn path=/trunk/; revision=42408
2009-08-05 17:13:12 +00:00
Stefan Ginsberg
c9c4cbdc8e - Fix release build broken in 42400
svn path=/trunk/; revision=42407
2009-08-05 15:00:30 +00:00
Cameron Gutman
027a914d20 - Fix a bug in TDI_TRANSPORT_ADDRESS_FILE handling
- Remove some dead code

svn path=/trunk/; revision=42404
2009-08-05 07:52:15 +00:00
Cameron Gutman
2ca9ad54c6 - Correct the loopback adapter's address mask and broadcast address
svn path=/trunk/; revision=42403
2009-08-05 03:25:27 +00:00
Gregor Schneider
282b5c28f5 asctime/ctime: Check for too low input time, fixes one msvcrt time winetest
svn path=/trunk/; revision=42402
2009-08-05 02:06:25 +00:00
Gregor Schneider
0e0ee67a1a -_ecvt really uses a static buffer for return values
-Handle memory allocation failure

svn path=/trunk/; revision=42401
2009-08-05 02:02:25 +00:00
Cameron Gutman
313b147b5f - Partial rewrite of recursive mutex code
- Makes the recursive mutex faster and smaller
 - Fixes several unprotected accesses to recursive mutex

svn path=/trunk/; revision=42400
2009-08-04 23:51:39 +00:00
Cameron Gutman
083150d2cd - Add missing locking to DeallocatePort
svn path=/trunk/; revision=42399
2009-08-04 23:35:50 +00:00
Gregor Schneider
914b6fa743 Fix formatting
svn path=/trunk/; revision=42398
2009-08-04 23:32:38 +00:00
Johannes Anderwald
4703287161 - Implement KsMergeAutomationTables
svn path=/trunk/; revision=42397
2009-08-04 23:30:39 +00:00
Johannes Anderwald
fb559b8ef2 - Add KsRemoveItemFromObjectBag prototype
svn path=/trunk/; revision=42396
2009-08-04 23:30:09 +00:00
Timo Kreuzer
8721e16aef Leftover from r42394, gendib, too
svn path=/trunk/; revision=42395
2009-08-04 22:51:55 +00:00
Timo Kreuzer
ab4e8492d0 Patch by Amine Khaldi: Get rid of XlatePatternToDest in BLTINFO and in the DIB code.
svn path=/trunk/; revision=42394
2009-08-04 22:19:24 +00:00
Timo Kreuzer
e66c3e1ea4 Set pulXlate to aulXlate when freeing the allocated buffer to prevent double frees.
svn path=/trunk/; revision=42393
2009-08-04 21:31:34 +00:00
Timo Kreuzer
351632de29 XLATEOBJ rewrite.
The new XLATEOBJ is not allocated from paged pool anymore, but instead allocated on the stack and Initialized. Only when we habe more than a color table with more than 6 entries, we need to allocate an additional buffer. The new interface: EXLATEOBJ_vInitialize is the main init function. It takes a source and destination palette and back and fore colors for monochome surfaces. EXLATEOBJ_vInitXlateFromDCs
takes the source and dest DC and is for color translation between 2 surfaces represented by 2 DCs. EXLATEOBJ_vInitBrushXlate initializes an XLATEOBJ for a pattern brush. Finally EXLATEOBJ_vCleanup needs to be called when the XLATEOBJ is not needed anymore. Implement individual iXlate functions for certain cases and store a function pointer in the EXLATEOBJ structure for quick access.
Change the usage of the PALETTE.Mode member to be a flag instead of an enum, add usage of PAL_MONOCHOME, PAL_RGB16_555 and PAL_RGB16_565. Add gpalMono, which *should* be used as palette for 1bpp DDBs. Currently there's a hack in the XLATEOBJ init code, to hack around the fact that this is missing. Fix the Hatch brush patterns, as they were inverted. Implement PALETTE_ulGetNearestBitFieldsIndex and PALETTE_ulGetNearestIndex. Get rid of the XLATEOBJ for the mouse pointer instead realize the pointer before usage.
Get rid of logicalToSystem PALETTE member. NtGdiGetDIBitsInternal: Don't create a DIBBrush from the BITMAPINFO, when pvBits is NULL, as the function might be uninitualized. This fixes a crash of gdi_regtest. The whole function is quite ugly and needs to be rewritten (like probably the rest of the DIB code). This fixes the problem of artifacts in the selected desktop icons and some color problems.

svn path=/trunk/; revision=42391
2009-08-04 20:37:10 +00:00
Stefan Ginsberg
ba959a4eaa - Make kernel build again after __STDC__ change in 42369
svn path=/trunk/; revision=42390
2009-08-04 19:05:29 +00:00
Cameron Gutman
7bd9b42040 - Hardcode the return value of OID_GEN_HARDWARE_STATUS again due to media detection issues on certain pcnet adapters (such as vmware's emulated pcnet adapter)
svn path=/trunk/; revision=42389
2009-08-04 19:04:08 +00:00
Dmitry Chapyshev
2669a0a58d - Add "ReactOS Application Manager". This program is replacement "Download !" and appwiz.cpl.
svn path=/trunk/; revision=42388
2009-08-04 19:02:56 +00:00
Cameron Gutman
77fee2514d - Finally get IRP_MJ_CLOSE working properly
- Remove handling of IRP_MJ_CLEANUP and move the code to the DispatchClose routine
 - Remove the hack (holding an extra reference and not closing the handle) which hid these bugs
 - Fixes some memory and handle leaks too

svn path=/trunk/; revision=42387
2009-08-04 18:56:56 +00:00
Stefan Ginsberg
50e193b557 - Follow up to 41644: Get rid of the Wine headers using include_next as the definitions are now in the PSDK, wrapped under _WINE. Also define _WINE for the modules using those types.
- Move MCI_OPEN_DRIVER and MCI_CLOSE_DRIVER to mmddk.h as this is where they belong. Also move them out of the _WINE guard as those defines are present in the official headers.
- Add GetDriverFlags to mmsystem.h (missed this one in 41644).
- Most Wine code now compiles fine in MSVC.
- Wrap include_next in crt/float.h under a __GNUC__ guard -- not quite correct as the included float.h defines some stuff that should be in the "real" float.h.
- winnt.h: Remove duplicated LANG* defines that are already defined there and present in the official headers. Remove the _WINE guard from the rest as we may want to provide translations for those languages too.

svn path=/trunk/; revision=42386
2009-08-04 18:34:06 +00:00
Dmitry Chapyshev
353932e6da - Sync FreeLibrary with Wine. Fixes an exception at installation Firefox 3.5.x
svn path=/trunk/; revision=42385
2009-08-04 16:43:37 +00:00
Cameron Gutman
73fed81949 - Add a debug print
svn path=/trunk/; revision=42384
2009-08-04 16:22:12 +00:00
Gregor Schneider
f9ae6c7786 _ecvt:
- Rewrite the function, getting rid of alloca and unneeded code parts
- Relies on working sprintf, especially allows to detect the decimal point position independent of wanted precision
- Fixes all msvcrt printf winetests

svn path=/trunk/; revision=42383
2009-08-04 15:17:00 +00:00
Gregor Schneider
a08bde0eb5 sprintf:
- Implement higher precision exponent selection, checked against ecvt test cases to match wanted behavior
- msvcrt printf winetests up by ~10 because current ecvt relies on non-correct behavior
- Cleanup unneeded checks, wrong variable usages, add new header

svn path=/trunk/; revision=42382
2009-08-04 15:09:47 +00:00
Stefan Ginsberg
a1c98e143e - Remove asm-optimized versions of RtlRandom and RtlUniform -- there is *no* reason to use hand-optimized assembly for simple routines like these -- let the compiler do its job, please. Also, we compiled random.c *and* random_asm.S, meaning we duplicated the functions -- the compiler didn't detect this and silently used the C versions.
- Don't forward RtlRandomEx to RtlRandom in ntdll -- RtlRandomEx should use a different algorithm (but is simply a copy of RtlRandom right now).
- Revert RtlUniform back to the "slow" version -- let the compiler do its job instead of obfuscating code for a miniscule speed gain.

svn path=/trunk/; revision=42378
2009-08-04 11:22:50 +00:00
Aleksey Bragin
d2ab670235 - Add PsGetProcessInheritedFromUniqueProcessId declaration to NDK.
svn path=/trunk/; revision=42376
2009-08-03 21:01:48 +00:00
Cameron Gutman
1b403e9be7 Broadcast fixes
- Treat 255.255.255.255 as an undefined address
 - Choose the first interface when sending a broadcast packet (fixes failing with STATUS_NETWORK_UNREACHABLE when trying to send a broadcast packet)
 - Fix a broadcast address check so 255.255.255.255 will also pass (fixes sending queued broadcast packets)
 - Now a broadcast packet can be successfully sent from an interface with a valid IP address (previously they could only be sent when the interface didn't have an NCE entry)

svn path=/trunk/; revision=42375
2009-08-03 20:10:47 +00:00
Stefan Ginsberg
99d9c85c54 - Cleanup from 42219 -- remove superfluous return statement
svn path=/trunk/; revision=42374
2009-08-03 20:00:58 +00:00
Johannes Anderwald
1feebad9c0 - Add swenum.h (written from scratch)
svn path=/trunk/; revision=42373
2009-08-03 19:41:56 +00:00
Cameron Gutman
861fa72645 - Fix some cleanup vs. close confusion
- Check if the search context address is unspecified

svn path=/trunk/; revision=42372
2009-08-03 19:34:51 +00:00
Stefan Ginsberg
25c8a63177 - Minisync of gdiplus to fix a C4717 warning
svn path=/trunk/; revision=42371
2009-08-03 19:27:41 +00:00
Stefan Ginsberg
95cfd1d8da - mingw: __builtin_return_address -> _ReturnAddress, __builtin_frame_address -> _AddressOfReturnAddress
- ReactOS-generic.rbuild: Define __STDC__ for MSVC to fix some code depending on it (not using /Za as it breaks other code)

svn path=/trunk/; revision=42369
2009-08-03 18:02:07 +00:00
Stefan Ginsberg
f32da36427 - Err, fix build of DxHalTest
svn path=/trunk/; revision=42368
2009-08-03 17:40:40 +00:00
Stefan Ginsberg
bab8a60b46 - Make symdump and ctm msvc-aware
svn path=/trunk/; revision=42367
2009-08-03 17:08:45 +00:00
Stefan Ginsberg
c9e1afaeda - Remove WIP comment -- the fix is correct
svn path=/trunk/; revision=42366
2009-08-03 17:08:17 +00:00
Stefan Ginsberg
c71617e216 - Fix some msvc issues in rostests
svn path=/trunk/; revision=42365
2009-08-03 16:59:43 +00:00
Gregor Schneider
771b93f448 Use ALL_X macros in fstat, fixes one msvcrt file winetest
svn path=/trunk/; revision=42364
2009-08-03 16:57:20 +00:00
Gregor Schneider
9d8f60cf81 - Fix mbslwr: increment pointer in both cases (prevents infinite loops)
- Check for null character pointers, apply somewhat readable formatting
- Add some useful header information
See issue #4755 for more details.

svn path=/trunk/; revision=42363
2009-08-03 16:15:40 +00:00
Stefan Ginsberg
7aa73a6110 - strmini.h: Include windef.h so CDECL gets defined for msvc version of DEFINE_GUIDEX in ks.h
- Fix misc msvc issues in paint, setup, mmsys and mmebuddy
- Simplify the way kernel32 is built, reverting the "test" from 14241

svn path=/trunk/; revision=42362
2009-08-03 13:46:37 +00:00
Cameron Gutman
5e1ea71af7 - Revert r42358 due to what seems to be issues handling cleanup IRPs
svn path=/trunk/; revision=42360
2009-08-03 07:07:21 +00:00
Cameron Gutman
268d0a868c - Fix a typo
svn path=/trunk/; revision=42359
2009-08-03 06:57:21 +00:00
Cameron Gutman
aee54b26cf - Check if the handle is valid before closing it
- Remove (unused) TdiCloseDevice
 - Don't reference the Connection/Address File object twice (it is already referenced in TdiOpenDevice)

svn path=/trunk/; revision=42358
2009-08-03 03:41:34 +00:00
Timo Kreuzer
7d6218e65b More gdi xlate tests.
svn path=/trunk/; revision=42357
2009-08-03 02:27:08 +00:00
Cameron Gutman
3ced893fd0 - Keep waiting for a reply if we get one that is not ours or invalid
- Make sure the packet we got is from our target otherwise discard it

svn path=/trunk/; revision=42356
2009-08-03 02:15:17 +00:00
Cameron Gutman
b85fb3bd9f - Don't hold the spin lock when calling the request completion handler
svn path=/trunk/; revision=42355
2009-08-03 00:23:55 +00:00
Cameron Gutman
e975dfead9 - Copy the datagram data to all matching receive requests instead of just the first one we find
- Fix (completely broken) datagram truncation

svn path=/trunk/; revision=42354
2009-08-02 23:17:39 +00:00
Timo Kreuzer
341886a1c1 asm version of DIB_32BPP_ColorFill:
- Add frame pointer
- Get rid of algin_draw, 32bpp surfaces must be DWORD aligned
- Optimize the loop
- Add comments

svn path=/trunk/; revision=42353
2009-08-02 22:31:29 +00:00
Dmitry Gorbachev
8876d8092b Remove r42305 hack, preserve racial purity of KiSystemStartupReal.
svn path=/trunk/; revision=42352
2009-08-02 21:27:26 +00:00
Dmitry Gorbachev
ba74c030d2 Add a new hack.
svn path=/trunk/; revision=42351
2009-08-02 21:27:01 +00:00
Dmitry Gorbachev
5da0923cf0 Love Nystrom (=lovenystrom=at=hotmail=dot=com=), bug #4727
- Change some 'suspiciously looking' code in bootvid.dll.
- BOOTCHAR_HEIGHT: a new macro to use instead of a plain integer.
- CHAR_GEN_UPSIDE_DOWN: define it for upside down font data.

svn path=/trunk/; revision=42350
2009-08-02 21:26:05 +00:00
Stefan Ginsberg
f78dc5c1e5 - Wooops, fix dxg and dxapi build after 42346.
svn path=/trunk/; revision=42349
2009-08-02 21:04:13 +00:00
Stefan Ginsberg
5fcfaf2e11 - probe.h: "NTOSKRNL unfortunately doesn't export RtlRaiseStatus!" -- no, but it does export ExRaiseStatus, so use it instead from win32k instead of "W32kRaiseStatus". Also use ExRaiseAccessViolation instead of RtlRaiseStatus(STATUS_ACCESS_VIOLATION) to save some space.
- ddraw.h: Don't check if WINNT is defined, our winnt.h defines _WINNT_H. Also fix the way CO_E_NOTINITIALIZED is defined.
- Define NT_BUILD_ENVIRONMENT in win32k so the define in ddraw.h doesn't conflict with winerror.h. Not sure if this is correct, but our headers are a mess.
- Add a hack to disable C4276 (caused by napi.h) until a more proper fix is devised.
- Win32K now fully compiles in MSVC.

svn path=/trunk/; revision=42346
2009-08-02 20:35:19 +00:00
Jeffrey Morlan
ee2e05e18d ReadFile: When reading from a console handle with processed input mode enabled, simulate EOF if the first character read is ^Z (Bug 4745)
svn path=/trunk/; revision=42345
2009-08-02 18:56:05 +00:00
Johannes Anderwald
2d8cd02bb5 [PORTCLS]
- Fix lots of COM object leaks
- IPortWaveCyclic & IPortTopology drivers now shutdown cleanly
- Implement freeing of all registered physical connections and release of the registered power management interface
[SYSAUDIO]
- Close handles to audio filters


svn path=/trunk/; revision=42344
2009-08-02 18:20:39 +00:00
Stefan Ginsberg
93109445ba - npapi.h: Correct definitions of function pointer prototypes.
- ntifs.h & cmdata.h : Don't use array size of 0. Fixes C4200.
- wdm.h: Correct definition of 64-bit SLIST_HEADER. Add explicit casts to avoid /W4 warnings in RtlEnlargedUnsignedDivide.
- winddk.h: Add MSVC intrinsic __readfsbyte for KeGetCurrentProcessorNumber. Misc fixes.
- Fix various msvc issues in cmd, setupapi, usetup, win32csr, winlogon, msafd, ws2_32 and ext2lib, most notably:
  - cmd & doskey: Don't use fishy gcc extension to allocate variable-sized arrays from the stack. Use the heap instead.
- Disable warning C4733 for mingw_main too (was only done for mingw_wmain previously).
- advapi32: Pass the correct handles to TRACE -- spotted by MSVC.
- Set the specified register in ecx in MSVC versions of Ke386Wrmsr and Ke386Rdmsr instead of reading from/writing to a random MSR. Yay /W4.

svn path=/trunk/; revision=42342
2009-08-02 17:38:27 +00:00
Gregor Schneider
3283ffdef8 Cleanup in win32k/dib:
- Replace old headers with new ones, programmers added according to svn blame info
- Apply consistent 2pt indentation because of the many indentation levels in this code; getting rid of a tab and 2/3/4pt mixture 
- Rename universal StretchBlt file to reflect content

svn path=/trunk/; revision=42339
2009-08-02 15:49:17 +00:00
Jeffrey Morlan
54817d5b14 Fix many incompatibilities in DIR switch parsing, including those noted in Bug 4744.
svn path=/trunk/; revision=42338
2009-08-02 15:16:03 +00:00
Johannes Anderwald
3871f9be2f - Implement KsStreamPointerDelete, KsStreamPointerScheduleTimeout, KsStreamPointerCancelTimeout, KsPinGetFirstCloneStreamPointer, KsStreamPointerGetNextClone
- Partly Implement IKsPin_DispatchDeviceIoControl, IKsPin_Close

svn path=/trunk/; revision=42337
2009-08-02 14:40:15 +00:00
Johannes Anderwald
aae0987d13 [KS]
- Acquire Spinlock at dpc level
- Release cancel spinlock at correct level
[PORTCLS]
- Check if current partially processed irp has been cancelled and complete it in that case
- Silence debug flood

svn path=/trunk/; revision=42335
2009-08-02 12:38:08 +00:00
Johannes Anderwald
9061b8ee40 [KS]
- Implement KsQueryInformationFile
- Properly implement KsStreamIo
- Fix a desastreous bug in KsRemoveIrpFromCancelableQueue
- Implement KsMoveIrpsOnCancelableQueue
[PORTCLS]
- Switch portcls to use the provided ks irp queue function instead of the homegrown IRP_MAPPING routines. Irp queueing is now faster and consumes less memory
- Return an allocated silence buffer when there are no mappings available
- HACK-Remove: Don't pre-complete any audio buffers now anymore. If you experience audio stuttering, let me know
[SYSAUDIO, PORTCLS, KMIXER]
- FastRead / FastWrite routines must store their return values in the status block as KsStreamIo now checks these

svn path=/trunk/; revision=42334
2009-08-02 11:40:38 +00:00
Hervé Poussineau
47f744578f [rbuild] Copy files to livecd output directory only if they have changed
svn path=/trunk/; revision=42330
2009-08-02 08:06:17 +00:00
Hervé Poussineau
85161ab551 [rbuild] Fix wrapping of long lines in generated makefile
svn path=/trunk/; revision=42329
2009-08-02 08:06:04 +00:00
Timo Kreuzer
b779385488 Add regtests/gdi
Tests for gdi, written in winetest style so it can be easily plugged into sysreg. Currently containing some xlate tests. More to come.

svn path=/trunk/; revision=42328
2009-08-02 00:26:51 +00:00
Stefan Ginsberg
478b2c3e4e - Properly define dummy unions/structs for MSVC too.
svn path=/trunk/; revision=42327
2009-08-01 19:10:16 +00:00
Gregor Schneider
1221835ea5 FloodFill:
- Remove unneeded casts when setting the initial flood start, add debug print for flood region location (silenced)
- Improve memory guards, free memory on error

svn path=/trunk/; revision=42324
2009-08-01 17:58:28 +00:00
Gregor Schneider
c152d5480d FloodFill:
-Get rid of global variables for flood control
-Translate the provided color to the surface, not the other way around (improves speed)
-Rename the function to reflect the functionality
-Add comments on how to implement support for hatched brushes and non-standard surfaces
-Thanks to tkreuzer for feedback

svn path=/trunk/; revision=42323
2009-08-01 14:39:40 +00:00
Gregor Schneider
f8ffccf7de GetWindowLongPtr returns a LONG_PTR, so be it
svn path=/trunk/; revision=42322
2009-08-01 11:32:48 +00:00
Gregor Schneider
7163d097d0 - Handle WM_SETREDRAW messages differently in the DefWndProc, ported from current Wine
- Fixes mIRC riched component regression, no more riched20 reverts for releases needed
See issue #4098 for more details.

svn path=/trunk/; revision=42321
2009-08-01 11:26:40 +00:00
Gregor Schneider
3002ba1042 Fix a typo in EngMovePointer
svn path=/trunk/; revision=42318
2009-07-31 19:55:16 +00:00
Stefan Ginsberg
e28ef8646f - ...mised this one
svn path=/trunk/; revision=42317
2009-07-31 18:40:19 +00:00
Gregor Schneider
04ae85ed31 Remove leftover debug print
svn path=/trunk/; revision=42316
2009-07-31 18:32:33 +00:00
Stefan Ginsberg
f037eef079 - Fix gdi32 build due to missing ";"
svn path=/trunk/; revision=42315
2009-07-31 18:30:37 +00:00
Stefan Ginsberg
a8889958e3 - delayimp.h: Use FORCEINLINE instead of static __inline__
- winbase.h: Make winbase.h usable by MSVC
- winuser.h: Add missing const specifiers to GetTabbedTextExtentA/W, TabbedTextOutA/W, ToAscii/Ex and ToUnicode/Ex
- Make gdi32, user32, beepmidi and csrss drmk build in msvc
- Fix most msvc issues in win32k -- a few remain
- Make ntoskrnl compile with /W1 again

svn path=/trunk/; revision=42314
2009-07-31 18:21:24 +00:00
Gregor Schneider
d5ec42ec61 - Use system wide caret width and height if one of those parameters is zero
- Ref: http://msdn.microsoft.com/en-us/library/ms648399(VS.85).aspx
- Allows to show the caret in riched20a components (Wordpad f.e.)
See issue #1559 for more details.

svn path=/trunk/; revision=42313
2009-07-31 17:11:21 +00:00
Dmitry Gorbachev
a180d74579 Fix _M_X86 -> _M_IX86.
svn path=/trunk/; revision=42312
2009-07-31 16:32:22 +00:00
Gregor Schneider
3e5f2f10f3 - Implement Floodfill: iterative four neighbors version
- Details for this algorithm are described in the comments
- Nice with the paint clone since the bucket fill tool works now

svn path=/trunk/; revision=42311
2009-07-31 15:41:09 +00:00
Johannes Anderwald
ace530421a - Partly Implement KsRegisterFilterWithNoKSPins
- Implement _KsEdit

svn path=/trunk/; revision=42310
2009-07-31 10:10:26 +00:00
Gregor Schneider
3f5c25c304 Don't try to delete non existing XLateObjects (NULL brushes return those for example)
svn path=/trunk/; revision=42309
2009-07-30 21:12:06 +00:00
Dmitry Gorbachev
cdd031231c - Fix a bug in GPF handler, do not hang in it.
- Initialize Esp field in TSS.

svn path=/trunk/; revision=42306
2009-07-30 17:54:21 +00:00
Dmitry Gorbachev
a640545b8b Add a hack in KiSystemStartupReal function until Better Times.
svn path=/trunk/; revision=42305
2009-07-30 17:54:01 +00:00
Johannes Anderwald
cd03260db2 - Partly Implement KsCacheMedium
- Implement KsHandleSizedListQuery
- Remove KsGetChildCreateParameter, it is not exported in NT 5.1 KS

svn path=/trunk/; revision=42303
2009-07-30 16:51:03 +00:00
Johannes Anderwald
974e0eca7e - Implement KsAcquireResetValue, KsCompletePendingRequest, KsAllocateExtraData
svn path=/trunk/; revision=42302
2009-07-30 14:20:13 +00:00
Johannes Anderwald
f8107d7dc9 - Implement KsFreeEventList, KsDisableEvent
svn path=/trunk/; revision=42298
2009-07-30 09:43:54 +00:00
Johannes Anderwald
9042c879ed - Implement KsAddEvent, KsDefaultAddEventHandler, KsPinAttachAndGate, KsPinAttachOrGate, KsPinGetAndGate
svn path=/trunk/; revision=42296
2009-07-30 07:31:41 +00:00
Johannes Anderwald
3aba36805e - Implement KsDeviceSetBusData, KsDeviceGetBusData, KsGetPinFromIrp
svn path=/trunk/; revision=42295
2009-07-30 06:29:24 +00:00
Johannes Anderwald
2b1eb860d8 - Add RtlConvertLongToLuid, RtlConvertUlongToLuid
svn path=/trunk/; revision=42294
2009-07-30 06:26:28 +00:00
James Tabor
f4eed04d0a - Fix Class ids.
svn path=/trunk/; revision=42293
2009-07-30 01:37:02 +00:00
Gregor Schneider
2f0c6dbb98 user32:
- Restructure and simplify CreateCursorFromData
- Call CreateIconFromResourceEx properly allowing it to create colored icons (although it doesn't care about that yet)
- Fix some comment typos
win32k:
- Don't just copy the pointer to an XLATEOBJ, copy instead. The caller will free it, EngSetPointerShape will do so too (causing either double-frees or memory write errors)

svn path=/trunk/; revision=42291
2009-07-29 18:28:11 +00:00
Johannes Anderwald
76ec995125 - Start Implementing IKsPin interface
- Increment PinInstanceCount when a pin has succcessfully been created
- Implement KsPinAcquireProcessingMutex, KsPinGetConnectedPinDeviceObject, KsPinGetConnectedFileObject, KsPinGetConnectedPinInterface, KsPinGetNextSiblingPin, KsPinGetParentFilter, KsPinRegisterFrameReturnCallback, KsPinRegisterHandshakeCallback, KsPinRegisterIrpCompletionCallback, KsPinRegisterPowerCallbacks, KsPinReleaseProcessingMutex
- Initialize pin dispatch table
- Add create items for allocator, clock, node create requests
- AVStream clients should now be able to instantiated pins, streaming not yet supported

svn path=/trunk/; revision=42283
2009-07-29 09:48:36 +00:00
Johannes Anderwald
c0e19ca77b - Add KsGetNextSibling, KsFreeObjectBag
svn path=/trunk/; revision=42282
2009-07-29 09:33:40 +00:00
Stefan Ginsberg
43f03aef8a - Fix 41969 -- the wrong flag got set, creating a broken, unusable debug object. Please make sure you know basic C before trying some clever optimization. Debuggers should now work again...
svn path=/trunk/; revision=42280
2009-07-28 21:48:49 +00:00
Johannes Anderwald
3bf37964b7 - Implement KsAcquireControl, KsReleaseControl
- Add create item for creation of pins and topology nodes
- Implement pin creation handler

svn path=/trunk/; revision=42279
2009-07-28 19:32:22 +00:00
Johannes Anderwald
52e5cc0ba2 - Copy Filter descriptor for each instantiated filter
- Implement KsFilterAddTopologyConnections, KsFilterCreatePinFactory

svn path=/trunk/; revision=42278
2009-07-28 18:38:13 +00:00
Johannes Anderwald
5372462044 - Implement KsFilterAcquireProcessingMutex, KsFilterReleaseProcessingMutex, KsFilterGetChildPinCount, KsFilterRegisterPowerCallbacks, KsGetFilterFromIrp
svn path=/trunk/; revision=42277
2009-07-28 17:01:36 +00:00
Johannes Anderwald
fc288c23fc - Add KsPinGetParentFilter prototype
svn path=/trunk/; revision=42276
2009-07-28 16:42:36 +00:00
Johannes Anderwald
64fa3b028f - Implement KsGetObjectFromFileObject, KsGetObjectFromFileObject, KsGetObjectTypeFromIrp, KsGetParent
- Create object bag for IKsFilter, IKsFilterFactory and IKsDevice

svn path=/trunk/; revision=42275
2009-07-28 16:18:05 +00:00
Johannes Anderwald
ca60ae56c0 - Implement KsGetObjectFromFileObject, KsGetObjectFromFileObject, KsGetObjectTypeFromIrp, KsGetParent
svn path=/trunk/; revision=42268
2009-07-28 13:52:57 +00:00
Johannes Anderwald
5e12a7edb1 - Implement KoDriverInitialize, KoDeviceInitialize
- Fix storing of device descriptor in KsInitializeDriver, KsAddDevice

svn path=/trunk/; revision=42264
2009-07-28 10:22:02 +00:00
Aleksey Bragin
88c914b528 - Fix a regression introduced in 40710, which caused all machine-specific memory regions to be concatenated into one big LoaderSpecialMemory. Restore previous behaviour by properly matching Arc and bootloader memory types.
svn path=/trunk/; revision=42263
2009-07-28 10:00:58 +00:00
Ged Murphy
7de1640e35 winsock2.h should come before windows.h
svn path=/trunk/; revision=42257
2009-07-27 19:42:05 +00:00
Johannes Anderwald
dd0ab576f9 - Implement KsReferenceBusObject, KsReferenceSoftwareBusObject, KsDereferenceSoftwareBusObject, KsDereferenceBusObject
svn path=/trunk/; revision=42256
2009-07-27 18:40:50 +00:00
Johannes Anderwald
b3ea37e803 + portcls
+ ks
- ws2help_new

svn path=/trunk/; revision=42255
2009-07-27 18:18:20 +00:00
Johannes Anderwald
aaf60514ff - Remove DriverEntry as ks is kernel mode dll
- Implement KsGetImageNameAndResourceId, KsMapModuleName

svn path=/trunk/; revision=42254
2009-07-27 16:17:24 +00:00
ReactOS Portable Systems Group
1cc5142060 - Remove dead (uncalled) function.
svn path=/trunk/; revision=42253
2009-07-27 02:23:25 +00:00
ReactOS Portable Systems Group
3e04cabe4e - Create a double-mapping PTE for the shared user data region and fault it in whenever a process touches that address.
- Remove the old hack which used the PCR's page frame number to create a fake PTE each time to reference it, basing on the fact that the shared user data region was on the same page as the PCR on certain architectures.

svn path=/trunk/; revision=42252
2009-07-27 02:13:19 +00:00
ReactOS Portable Systems Group
059da34e93 - Create \dev\physmem section during section initialization, not later.
- Setup SharedUserData settings during Phase 0, not Phase 1. Fixes an old bug where the Inbv driver assumed ReactOS was in "server mode" simply because the default SharedUserData->NtProductType was "0" (which is an invalid product type, but it's != NtProductTypeNt).
  - Also fixed it such that this reports NtProductServer, which is what ReactOS reports to be (Windows 2003 Server SP 1).
- Initialize the modified page writer and balancer thread in phase 1, not phase 2.
  - Phase 2 should make the executive pageable, but I don't think this is supported yet...


svn path=/trunk/; revision=42251
2009-07-27 00:52:44 +00:00
ReactOS Portable Systems Group
e754e12bd3 - Fix a ridiculous copy-paste-error-while-writing-the-commit-log error. Sorry for breaking the build!
svn path=/trunk/; revision=42250
2009-07-27 00:17:38 +00:00
ReactOS Portable Systems Group
5899e14bd1 - Delete the blaoted, overweight and slow nonpaged pool implementation.
- Plug-in support to use the ARM nonpaged pool instead.
- This patch has been tested for over 2 months and all known regressions were fixed.
  - Thanks to Aleksey Bragin for providing a pool regression suite.
  - Thanks to Aleksey Bragin for providing initial implementation details and code from older attempts.
  - Thanks to http://uninformed.org/?v=4&a=2&t=txt and http://www.dfrws.org/2008/proceedings/p58-schuster_pres.pdf for allocation strategies.


svn path=/trunk/; revision=42249
2009-07-27 00:14:56 +00:00
ReactOS Portable Systems Group
1eba02fc2f - Do not print out ReactOS nonpaged pool VA address range anymore, since it will be deprecated.
svn path=/trunk/; revision=42248
2009-07-27 00:11:39 +00:00
ReactOS Portable Systems Group
360720bdb6 - The old nonpaged pool statistic functions (TAB+xxx) in KDBG are incompatible with newer nonpaged pool implementation -- remove them.
- The NtQuerySystemInformation API's pool information levels provide the same information, when implemented properly.


svn path=/trunk/; revision=42247
2009-07-27 00:10:37 +00:00
ReactOS Portable Systems Group
8257a252cb - DebugPool implementation is not compatible with newer nonpaged pool algorithms, so remove support for nonpaged pool debugging.
- Special pool implementation will restore this functionality.

svn path=/trunk/; revision=42246
2009-07-27 00:09:09 +00:00
ReactOS Portable Systems Group
a6757c9637 - Implement the algorithms for pool allocation and de-allocation:
- Only tested/works with nonpaged pool for now.
  - No support for session pool or special pool.
  - No support for pool tagging.
  - No support for accounting (free/available pages, etc).
  - No optimizations other than your average combine-with-previous-free and combine-with-next-free mechanisms to avoid fragmentation.
  - No support for debugging.
  - No consistency/validation checks.
  - Heavily commented for the inquiring mind.
  - Thread/MP safe.
- Not used yet.


svn path=/trunk/; revision=42245
2009-07-27 00:05:45 +00:00
Timo Kreuzer
250d69afc8 Sync to trunk head (r42241)
svn path=/branches/ros-amd64-bringup/; revision=42244
2009-07-26 23:21:27 +00:00
Timo Kreuzer
e917c6e96d Some fixes for CLIENTINFO, based on symbol files
svn path=/trunk/; revision=42243
2009-07-26 22:57:05 +00:00
Timo Kreuzer
250737d475 [rbuild] Implement delay import support for gcc in rbuild.
As soon as you declare a library import with 
<library delayimport="true"> you will link to the autogenerated delayimportlib. This will currenlty not work without a patched version of dlltool.

svn path=/trunk/; revision=42242
2009-07-26 22:36:55 +00:00
Timo Kreuzer
3f10e1dc73 Fix 64bit compilation issues.
svn path=/trunk/; revision=42241
2009-07-26 22:34:03 +00:00
Timo Kreuzer
7e526ac7de Hey Arch, thanks for breaking other architectures...
svn path=/trunk/; revision=42240
2009-07-26 21:46:21 +00:00
Timo Kreuzer
e17b565fc0 Add -Wno-format to dmusic
svn path=/branches/ros-amd64-bringup/; revision=42239
2009-07-26 20:35:05 +00:00
Timo Kreuzer
f4a678a29a Fix some 64 bit isuues.
svn path=/branches/ros-amd64-bringup/; revision=42238
2009-07-26 20:31:23 +00:00
ReactOS Portable Systems Group
6182f013fe - Initialize MmLowestPhysicalPage to -1, otherwise setting this value will never work properly since we'll never find a page lower than 0 (the default laoder-initialized value).
- Fixed by Stef.


svn path=/trunk/; revision=42237
2009-07-26 19:44:27 +00:00
James Tabor
c8b2a78d5b - At a minimum set the desktop to global class.
svn path=/trunk/; revision=42236
2009-07-26 16:57:34 +00:00
Stefan Ginsberg
25aa6b6a41 - Revert winbase.h interlocked intrinsic change for now *sigh*
svn path=/trunk/; revision=42235
2009-07-26 16:18:56 +00:00
James Tabor
e0b7b058c3 - [Win32k] More Class work. Moved to use thread and process information structures.
- Tested wine, Firefox 1.15.xx and AbiWord 2.6.8.

svn path=/trunk/; revision=42234
2009-07-26 16:17:50 +00:00
Stefan Ginsberg
c43cc84996 - Misc fixes for msvc:
- C89 compliance for "dbgprint"
- Fix more calling convention declarations in the DDK and gdi32
- Define noreturn attribute for crt's abort compatibly
- Fix some of the mess in psdk's intrinsics -- this needs some major clean up.
- Define DbgPrintEx the same way in debug.h as in NDK and DDK
- UUID doesn't need Wine-specific types -- include standard PSDK headers.

svn path=/trunk/; revision=42233
2009-07-26 15:36:35 +00:00
Dmitry Chapyshev
92a18fff94 - Use documented structure instead array
- Add some defines

svn path=/trunk/; revision=42232
2009-07-26 13:16:19 +00:00
James Tabor
b163f7f34a - Fixed event code. Remove junk too.
svn path=/trunk/; revision=42230
2009-07-26 12:27:15 +00:00
Dmitry Gorbachev
1632e8b1db Silence a warning.
svn path=/trunk/; revision=42229
2009-07-26 09:55:46 +00:00
Dmitry Gorbachev
015656ff6d Silence a warning.
svn path=/trunk/; revision=42228
2009-07-26 09:52:27 +00:00
Dmitry Gorbachev
79b4bf14f7 Silence a warning.
svn path=/trunk/; revision=42227
2009-07-26 09:52:00 +00:00
ReactOS Portable Systems Group
c417ef7e62 - Get rid of the concept and tracking of "mapped pages". The MapCount was never checked anywhere in terms of page accounting -- only the reference count is.
- Fix the issue with the system attempting to map page 0 into hyperspace.

svn path=/trunk/; revision=42226
2009-07-26 08:20:29 +00:00
Cameron Gutman
698ff57ea6 - Begin using ws2help_new
- I have tested this with various applications in ROS
 - Part 2 of 2

svn path=/trunk/; revision=42225
2009-07-26 06:00:32 +00:00
Cameron Gutman
a619244941 - Remove our old ws2help in preparation for the transition to ws2help_new
- This will not build
 - Part 1 of 2

svn path=/trunk/; revision=42224
2009-07-26 05:51:30 +00:00
James Tabor
2c0294638d - [Win32k] Moving forward and replace some of the old header types with the new ones. This will continue and start the win32k object manager rewrite. Finding more bugs and this is still a work in progress. Run across the C_ASSERT bug. I see someone else noticed it.
- Finished the user32 system class proc start-up.
- Tested wine, Firefox 1.15.xx and AbiWord 2.6.8.

svn path=/trunk/; revision=42223
2009-07-26 01:59:08 +00:00
Timo Kreuzer
c70b54758f Add hack for gnu ld like in mingw lib, as it uses _image_base__ insetad of __ImageBase
svn path=/trunk/; revision=42222
2009-07-26 00:22:57 +00:00
Stefan Ginsberg
31015fdb85 - Fix memory leak from r42218 ;0)
svn path=/trunk/; revision=42221
2009-07-25 22:19:45 +00:00
ReactOS Portable Systems Group
1093de04f2 - This is a HIGH RISK patch. It has been tested on multiple emulators and configurations but requires broader input.
- Implement several changes to PFN database management:
  - The PTEs for the PFN Database are now created by ARM3. Unlike the old code which create PTE for every page on the machine, ARM3 only creates PTEs to account for pages that should be in the PFN database.
  - A second related change is what "pages should be in the PFN database". Previously, reserved or otherwise non-existing (ie: holes) memory regions would get a PFN entry created and marked as "BIOS". This is wasteful and not compatible with Windows: there should not be PFN entries created at all.
    - So we removed BIOS PFN entries, and now only create PTEs for valid pages as listed in the physical memory ranges.
    - This allows machines with "holes" in their physical address space not to waste dozens of MBs of nonpaged pool
    - Also saves memory on regular machines too, since 1-4MB worth of memory will now not be in the DB anymore
  - To keep track of pages that are invalid/unknown/ignored, there is now a "PFN Bitmap". This bitmap has one bit set for each valid PFN in the database.
    - And so, MiGetPfnEntry now also validates that, if there is a PFN Bitmap, the requested PFN is actually present in the database.
  - This introduces a major functional change: device pages, reserved pages, and other BIOS pages cannot be referenced, shared, or managed in any meaningful way.
    - We have attempted to fix parts of the OS that depended on this, but there may still be bugs.
      - A known issue may be an assertion during reboot and/or shutdown in the hyperspace mapping function. It is currently safe to simply "cont" in the debugger a couple of times.
        - We are working on a fix.

svn path=/trunk/; revision=42220
2009-07-25 21:35:31 +00:00
Stefan Ginsberg
fba1aea89e - RamdiskWorkerThread: Don't return IoCompleteRequest as we return void (IoCompleteRequest returns void though), msvc doesn't like this.
- Fix calling convention declaration for scsi function prototypes 

svn path=/trunk/; revision=42219
2009-07-25 20:24:50 +00:00
Stefan Ginsberg
45934cfbe5 - Fix most freeldr compilation issues, most notably:
- Define structure packing correctly for msvc.
- Define Ke386EraseFlags for msvc too.
- Don't return a function returning void in a function returning void.
- VideoFadeIn: Don't rely on some fishy gcc extension for allocating memory from the stack -- just use the heap instead.
- Winldr remains

svn path=/trunk/; revision=42218
2009-07-25 20:17:23 +00:00
Cameron Gutman
849236d3ac - Make ipconfig /renew work even if we haven't got an address yet
- Fix several potential crashes
 - Fix an infinite loop caused by us sending a discover packet without adding a protocol first (this is exposed by releasing then renewing)
 - Fixes bug 4630

svn path=/trunk/; revision=42217
2009-07-25 19:51:54 +00:00
Stefan Ginsberg
f9f57c59fc - FIELD_OFFSET returns LONG, not LONG_PTR or size_t.
- Define TYPE_ALIGNMENT for msvc.
- Define DbgPrintEx the same way in NDK and DDK
- C_ASSERT is a typedef, so don't put it inside functions as msvc doesn't allow this.
- Kernel now *compiles* with RosBE + msvc _and_ our DDK. Linker errors from the ninth circle of hell remains.

svn path=/trunk/; revision=42216
2009-07-25 19:38:52 +00:00
Stefan Ginsberg
64f43cb6a5 - Fix a critical bug in ExAllocatePoolWithQuota spotted by msvc. Because of the current POOL_TAGGING mess in wdm.h, ExAllocatePoolWithQuotaTag is defined to ExAllocatePoolWithQuota, so when ExAllocatePoolWithQuota called the with-tag version, it ended up calling _itself_. Fix this by undefining the broken macro.
svn path=/trunk/; revision=42215
2009-07-25 16:53:25 +00:00
Dmitry Chapyshev
0f8b51f5ac - Add stubs for AppCleanup and videoThunk32
- Partially implement capCreateCaptureWindowW and capGetDriverDescriptionW

svn path=/trunk/; revision=42214
2009-07-25 15:57:18 +00:00
Stefan Ginsberg
50eda0f7b9 - Fix incorrect definition of ZwCreateDebugObject after revision 41969 -- spotted by BugBoy
svn path=/trunk/; revision=42213
2009-07-25 15:31:57 +00:00
Stefan Ginsberg
dd27bbdbb7 - Leftover 2 from 42210
svn path=/trunk/; revision=42212
2009-07-25 14:55:52 +00:00
Stefan Ginsberg
709b93538f - Leftover from previous commit
svn path=/trunk/; revision=42211
2009-07-25 14:54:31 +00:00
Stefan Ginsberg
bb2feeb63e - Fix most of the network stack for msvc (except tcpip and oskittcp)
- Fix calling convention definitions for ntdd8042.h
- Fix msfs' calling convention

svn path=/trunk/; revision=42210
2009-07-25 14:51:56 +00:00
Stefan Ginsberg
ee9bf7482b - Revert 42206 change to ddraw.h as it breaks dxapi
svn path=/trunk/; revision=42209
2009-07-25 14:32:06 +00:00
Stefan Ginsberg
d8d66829d7 - Make ks and portcls compile under msvc
svn path=/trunk/; revision=42208
2009-07-25 14:06:06 +00:00
Stefan Ginsberg
ac4633793f - Make most of the the video stack compile with msvc
svn path=/trunk/; revision=42206
2009-07-25 13:15:22 +00:00
Stefan Ginsberg
87b36d171a - Make mp HAL MSC compatible
svn path=/trunk/; revision=42205
2009-07-25 11:44:27 +00:00
Stefan Ginsberg
23abd61d3e - Fix some kernel MSC compilation issues:
- ShutdownThreadMain: Define SMP-only variables compatibly
- MmArmInitSystem: Define MiNonPagedPoolStart and MiNonPagedPoolLength externs compatibly
- KdbpCallMainLoop: Add VOID to parameter list

svn path=/trunk/; revision=42204
2009-07-25 11:43:48 +00:00
Aleksey Bragin
21777b7cab - Create a solid black brush for background color of a ConsoleWindowClass.
svn path=/trunk/; revision=42202
2009-07-25 10:24:41 +00:00
Dmitry Chapyshev
d86c7f9de6 - Implement capCreateCaptureWindowA and capGetDriverDescriptionA (based on Wine code)
svn path=/trunk/; revision=42198
2009-07-25 09:41:17 +00:00
Dmitry Chapyshev
3b72642a0a - Add avicap32 (stubs only)
- Add mfc42u.dll, msvbvm50.dll, msvbvm60.dll, msvcirt.dll optional entries to reactos.dff

svn path=/trunk/; revision=42197
2009-07-25 09:28:18 +00:00
Dmitry Gorbachev
b2085629b4 Do not fail when compiling with GCC 4.4.1
svn path=/trunk/; revision=42196
2009-07-25 09:24:30 +00:00
Dmitry Gorbachev
16aca3f92f Add / update Czech translations. Radek Liska. Bugs #4707 and #4708.
svn path=/trunk/; revision=42195
2009-07-25 09:18:52 +00:00
Dmitry Gorbachev
5687429f69 Undo part of r42190. Sorry.
svn path=/trunk/; revision=42194
2009-07-25 07:59:18 +00:00
Dmitry Gorbachev
6e31a0dd00 Fix some bugs, reported by GCC.
svn path=/trunk/; revision=42193
2009-07-25 07:42:15 +00:00
Dmitry Gorbachev
4deef99ee8 Silence GCC warnings.
svn path=/trunk/; revision=42192
2009-07-25 07:41:42 +00:00
Dmitry Gorbachev
1e3f2b9732 - Declare iswblank() in wctype.h, not isblank().
- Add iswblank() to wchar.h, too.

svn path=/trunk/; revision=42191
2009-07-25 07:41:14 +00:00
Dmitry Gorbachev
1c413906b2 Fix "misrepresented license in FreeLDR", Robert Millan (rmh.reactos at aybabtu.com), bug #4673.
svn path=/trunk/; revision=42190
2009-07-25 07:40:39 +00:00
Dmitry Gorbachev
759abadd3d Do not fail with 'l' type modifier. Bug #4438.
svn path=/trunk/; revision=42189
2009-07-25 07:40:35 +00:00
Cameron Gutman
adb1a3f3c8 ws2_32_new compatibility fixes
- Fix the rest of the code which was using errno instead of WSAGetLastError()
 - Remove some dead code

svn path=/trunk/; revision=42188
2009-07-25 02:28:11 +00:00
Cameron Gutman
daba4d6880 ws2_32_new compatibility fixes
- Use Sleep() to wait when we have no interfaces because select() will fail and return without waiting
 - Use WSAGetLastError() instead of errno

svn path=/trunk/; revision=42187
2009-07-25 02:01:13 +00:00
James Tabor
1871ebd28c - Removed unused ppi pointer.
svn path=/trunk/; revision=42186
2009-07-25 01:42:04 +00:00
James Tabor
3ac2563fbb - [Win32k] More work on classes. ReactOS seems to return the opposite WinProc and sometimes it is a CallProcData handle. This is confusing the class wine tests. The last thing it should do is return CallProcData handle after attempting to find the right proc. Fixed message class bits. Moved CallProc to CallProcData and updated related code. Started alternate function to replace NtUserGetClassLong and NtUserGetWindowLong.
- Tested wine, Firefox 1.15.xx and AbiWord 2.6.8.

svn path=/trunk/; revision=42185
2009-07-25 00:41:22 +00:00
Cameron Gutman
f9fe2ff6a8 - Add support for adapters added after DHCP is started
- Automatically request an IP address after an interface becomes ready (needed for DHCP support on WLAN adapters)

svn path=/trunk/; revision=42182
2009-07-24 21:06:20 +00:00
Cameron Gutman
15a5343ec1 - Implement OID_GEN_HARDWARE_STATUS
svn path=/trunk/; revision=42180
2009-07-24 20:49:39 +00:00
Dmitry Gorbachev
3c44feca52 - Turn a macro into an inline function to avoid a warning.
- Remove a stray acute accent.

svn path=/trunk/; revision=42179
2009-07-24 19:52:05 +00:00
Stefan Ginsberg
e603692f33 - Leftover from 42176
svn path=/trunk/; revision=42178
2009-07-24 19:39:07 +00:00
Stefan Ginsberg
dd85cb77ca - Kill off diskdump too
svn path=/trunk/; revision=42177
2009-07-24 19:09:39 +00:00
Stefan Ginsberg
00e30f7010 - Get rid of ccros.h, deprecated by revision 42175
svn path=/trunk/; revision=42176
2009-07-24 17:35:28 +00:00
ReactOS Portable Systems Group
ab184fab15 - Remove deprecated/old/buggy/unused code.
- Make MxGetNextPage return the lowest free physical page, not the highest.
  - This way we fragment the address space less.
  - Also makes calculation of "forgotten" pages when we build the PFN database earlier.
- Remove MmAllocEarlyPage and use MxGetNextPage instead.

svn path=/trunk/; revision=42175
2009-07-24 15:49:27 +00:00
Timo Kreuzer
ce0ed78587 - move delayimp.h to psdk
svn path=/trunk/; revision=42174
2009-07-24 11:29:54 +00:00
Dmitry Gorbachev
f9341cafca Add missing license.
svn path=/trunk/; revision=42173
2009-07-24 10:52:49 +00:00
Timo Kreuzer
07203a50c1 [delayimp]
- move IndexFromPImgThunkData and PFromRva to delayimp.h
- use __ImageBase insetad of _image_base__
- fix include guard
- RVA is a DWORD, not a PVOID

svn path=/trunk/; revision=42172
2009-07-24 10:25:53 +00:00
Ged Murphy
9e27cfbe88 Add a missing mockup image
svn path=/trunk/; revision=42171
2009-07-24 07:44:51 +00:00
Timo Kreuzer
7fa58c4d87 Add license header (LGPL)
svn path=/trunk/; revision=42170
2009-07-24 04:30:09 +00:00
Timo Kreuzer
ceff19824f Implement delayimp lib
This library will allow to delay import from dlls, if used together with the corresponding delayimport lib for that dll. An initial patch for dlltool can be found in bug #4730.
Based on Matt Pietrek's "Under the Hood" article: http://www.microsoft.com/msj/1298/hood/hood1298.aspx and msdn documentation.

svn path=/trunk/; revision=42169
2009-07-24 04:24:36 +00:00
James Tabor
9fd89d0e43 - [Win32k] More work on classes. Fixed SEH abuse and implemented NtUserGetWOWClass. Minor bug fixes and modifications that help function compatibility based on wine.
- Tested wine (some improvements and losses): Msi seems to be fixed, did not test before these changes. My guess is Jeffrey Morlan fixed it in 42163, so a Big Thank You!!! Tested Firefox 1.15.xx and AbiWord 2.6.8.

svn path=/trunk/; revision=42168
2009-07-24 01:03:11 +00:00
Ged Murphy
1a67e2e700 I always forget about RosBE ....
svn path=/trunk/; revision=42167
2009-07-23 22:11:06 +00:00
Johannes Anderwald
ed9d21232d - fix clobering of stack in the event, property, method and start device routine
svn path=/trunk/; revision=42166
2009-07-23 21:48:47 +00:00
Ged Murphy
54d58cdb65 Draw the appropriate taskbar mockup image in the dialog when the user clicks the checkboxes
svn path=/trunk/; revision=42165
2009-07-23 21:35:52 +00:00
Johannes Anderwald
77a79fb006 - Add calling convention for callback typedefs
- Ros needs msvc!

svn path=/trunk/; revision=42164
2009-07-23 21:32:39 +00:00
Jeffrey Morlan
91de7b5fd3 LoadLibraryExW: After loading a library as a datafile, clean up properly (don't leak SearchPath, and don't free DllName if we didn't allocate it)
svn path=/trunk/; revision=42163
2009-07-23 20:48:43 +00:00
Stefan Ginsberg
c3f828c7ee - Use the KiProcessorBlock array to loop the PRCBs in a portable way
svn path=/trunk/; revision=42162
2009-07-23 19:37:09 +00:00
Johannes Anderwald
15bec214b5 - Don't blame Arch, it was ks.h
svn path=/trunk/; revision=42161
2009-07-23 19:27:53 +00:00
Johannes Anderwald
4fdbdba1d9 [KS]
- Implement KsAcquireDevice, KsReleaseDevice, KsTerminateDevice
- Fix unimplemented tags
- Use double in spec for functions taking longlong arguments [[Colin Finck]]

svn path=/trunk/; revision=42156
2009-07-23 15:19:46 +00:00
Johannes Anderwald
c2874dcc29 - Add types to unbreak build
- thanks dreimer

svn path=/trunk/; revision=42155
2009-07-23 14:18:22 +00:00
Johannes Anderwald
2227681545 - Add tons of stubs
- Add (existing) exported functions
- Ks mostly has now WinXP' ks exported functions

svn path=/trunk/; revision=42153
2009-07-23 13:13:45 +00:00
Cameron Gutman
dff406bfd7 - Implement link speed and duplex detection
- Fix LED programming (we didn't set LEDPE so all our programming was ignored)
 - Add some other LED programming
 - Fixes bug 4703

svn path=/trunk/; revision=42152
2009-07-23 04:21:06 +00:00
James Tabor
194297c386 - [Win32k] More work on classes. Wine test drop to 35 failures from 52, now with the system class rewrite it is up to 42 failures. There is one User32 loaded so there is one User client Instance for this system. One System class per system not including Public (Global) or Private (Local) classes per process. Sorting continues.
- Tested wine (some improvements and losses), Firefox 1.15.xx and AbiWord 2.6.8.

svn path=/trunk/; revision=42151
2009-07-23 01:34:31 +00:00
Johannes Anderwald
1ad4db139c - Implement KsQueryObjectAccessMask, KsQueryObjectCreateItem
- Use KSQUEUE_SPINLOCK_IRP_STORAGE macro for access the stored spin lock

svn path=/trunk/; revision=42150
2009-07-23 00:47:21 +00:00
Johannes Anderwald
db1215455b - Remove old irp queue implementation
- Implement KsCancelIo, KsReleaseIrpOnCancelableQueue, KsRemoveIrpFromCancelableQueue, KsRemoveSpecificIrpFromCancelableQueue, KsAddIrpToCancelableQueue, KsCancelRoutine

svn path=/trunk/; revision=42149
2009-07-23 00:13:04 +00:00
ReactOS Portable Systems Group
916f5b12a6 - Initialize the value of MmBootImageSize in ARM3 now.
- Also fix its value such that it's PDE aligned -- this makes sure that we don't step on any of the boot loader's PDE mappings and can blow everything away later.
- Initialize the MmSystem/User/Probe Addresses in ARM3 as well (no functional change).
- Print out a lot more of the VA ranges in ARM3's Phase 2 initialization. Most of the VA space is now dumped out.
- Write out the code to initialize session space VA ranges
  - Image space, view space, working set space and pool space values are all calculated properly.
    - NT default sizes are used, without support for registry overrides (yet).
  - Also system view space is initialized and sized.
  - Code is heavily commented and explained for inquisitive minds.
- Define the paged pool start address, minimum/default size, and add some extra pool header asserts/definitions.
- Define MmPagedPoolInfo to keep track of all paged pool related information (start/end PTEs, VA ranges, allocation/free bitmaps, etc).
- Fixed a lot of comments and added some new ones to provide extra clarity.
- Implement MiBuildPagedPool. It has two jobs:
  - Build and create the shadow system page directory, which double-maps the System process' PDE.
    - More explenations are in the comments.
  - Define the paged pool region and size, and initialize MmPagedPoolInfo accordingly.
  - Create and setup the paged pool allocation and free bitmaps (again explained in the comments).
- There shouldn't be any real functional change yet due to this commit.
  - We need to create memory areas for session space and system view space otherwise the VA regions could get used by ReactOS instead.


svn path=/trunk/; revision=42148
2009-07-22 22:46:29 +00:00
Johannes Anderwald
721b165dbb - Fix totally broken KSWORKER implementation (it may have worked, but it didnt do what it should have)
- Re-Implement KsQueueWorkItem, KsIncrementCountedWorker, KsDecrementCountedWorker, KsRegisterCountedWorker, KsUnregisterWorker, KsRegisterWorker

svn path=/trunk/; revision=42147
2009-07-22 21:27:44 +00:00
Johannes Anderwald
f035e43e1e - Use KSSTRING instead of hardcoding object class
- Implement KsValidateAllocatorCreateRequest, KsValidateClockCreateRequest, KsValidateTopologyNodeCreateRequest

svn path=/trunk/; revision=42146
2009-07-22 19:08:57 +00:00
Johannes Anderwald
ddf9f8aa58 - Add flags
- Revert 42107

svn path=/trunk/; revision=42145
2009-07-22 19:05:58 +00:00
Johannes Anderwald
3e489bf3af [KS]
- Rewrite KSCREATE_ITEM handling to support clocks, nodes, allocators. 
- Store create items in list instead of an array. Consequently, the code can be re-used for KSDEVICE_HEADER / KSOBJECT_HEADER functions. 
- Implement KsAddObjectCreateItemToObjectHeader
- Implement now KspCreate and IKsDevice_Create properly
- Implement KsGetDevice by using KSBASIC_HEADER struct which must be positioned before its object specific (PKSFILTER, PKSFILTERFACTOR, PKSPIN)
- Remove a hack from KspCreateObjectType
[PORTCLS]
- Store real dispatched object in FsContext2
- Implement a fast device i/o handler
- Increase minimum data threshold when a stream stops prematurely by 10 audio frames (port driver WaveCyclic)
- Remove the hack of checking wether pin create request is passed. Since create items now work nicely, use a different function and handle pin creation requests seperately.
[KMIXER]
- Remove the hack of checking wether pin create request is passed. Since create items now work nicely, use a different function and handle pin creation requests seperately.
[SYSAUDIO]
- Remove the hack of checking wether pin create request is passed. Since create items now work nicely, use a different function and handle pin creation requests seperately.



svn path=/trunk/; revision=42143
2009-07-22 14:42:51 +00:00
Matthias Kupfer
8497361513 fix a minor translation mistake
svn path=/trunk/; revision=42140
2009-07-22 12:11:56 +00:00
Aleksey Bragin
a208c2340f - Add missing braces to prevent PVOID pointer arithmetic.
svn path=/trunk/; revision=42138
2009-07-22 11:15:34 +00:00
ReactOS Portable Systems Group
95688079e3 - Prettify PFN dump output (add totals for each consumer and page type).
svn path=/trunk/; revision=42132
2009-07-22 07:52:47 +00:00
ReactOS Portable Systems Group
23a2825b03 - Separe ARM3 Init into 3 defined phases:
- 1: No PFN Database exists
  - 2: PFN Database exists
  - 3: ReactOS NP Pool exists (deprecated)
- Cleanup ReactOS Mm init to work with this.
- ARM3 Phase 1 Init now uses pages directly from the physical memory descriptor.
  - This similar to how "MmAllocEarlyPage" used to work. 
    - A new function MxGetNextPage now does this.
    - MxGetNextPage can allocate more than just one page however (making it possible to get contiguous physical memory without going through the PFN-based MmAllocateContiguousMemory beast)
    - Also MxGetNextPage will bugcheck with INSTALL_MORE_MEMORY if it runs out of pages.
  - Renamed the physical memory descriptor variables to MxFreeDescriptor, MxOldFreeDescriptor instead of MiFreeDescriptor and MiOrgFreeDescriptor (based on NT symbols)
  - Nonpaged pool PDEs, PFN database PDEs, and initial nonpaged pool PTEs are now allocated through MxGetNextPage.
- Fix an off by one error in the sizing of MxPfnAllocation.
- The PFN database is now fully "owned" by ARM3 in terms of its PDE mappings and VA location at 0xB0000000.
  - ie. MmArmPfnDatabase is now MmPfnDatabase.
  - The actual PFN database entries and setup are still done by the ReactOS Mm.
- Got rid of ARM nonpaged pool allocator test.
- Repositioned ReactOS nonpaged pool (deprecated) after the boot image (used to be after the PFN database).
  - Paged pool follows.

svn path=/trunk/; revision=42131
2009-07-22 07:33:22 +00:00
James Tabor
e3ef0343ba - [Win32k] Rename class and window structures.
svn path=/trunk/; revision=42130
2009-07-22 05:23:08 +00:00
James Tabor
9e5cbe0781 - Fix crash in wine test.
svn path=/trunk/; revision=42129
2009-07-22 04:26:35 +00:00
James Tabor
0485c0c365 - [Win32k] Update class and window structures.
- Rewritten Set/GetWindowContextHelpId.
- Removed NtUserRegisterClassEx, replaced it with NtUserRegisterClassExWOW.
- Updated all related files and functions.


svn path=/trunk/; revision=42128
2009-07-22 04:11:06 +00:00
Cameron Gutman
9144a1bbf6 - Don't fail the entire probe if something goes wrong when allocating a controller (this is what we do if _MULTI_UHCI is not defined also)
svn path=/trunk/; revision=42127
2009-07-22 02:20:24 +00:00
Cameron Gutman
ab3c1cfd2c - Return the DEVICE_OBJECT we got instead of NULL
svn path=/trunk/; revision=42126
2009-07-22 02:06:50 +00:00
Cameron Gutman
b63b5ba1fb - Fix compilation of usbdriver with _MULTI_UHCI defined
svn path=/trunk/; revision=42125
2009-07-22 01:47:27 +00:00
ReactOS Portable Systems Group
1f4bf9180e - Get rid of debug spew used during testing.
svn path=/trunk/; revision=42124
2009-07-21 20:04:17 +00:00
Aleksey Bragin
012c86a88f - Add cryptdlg as autosynced.
svn path=/trunk/; revision=42123
2009-07-21 19:00:08 +00:00
Dmitry Chapyshev
badf1a329a - Revert my previous changes in QueueUserWorkItem
svn path=/trunk/; revision=42122
2009-07-21 16:38:50 +00:00
Sylvain Petreolle
15293b22aa Fix svn repository address
svn path=/trunk/; revision=42121
2009-07-21 15:51:27 +00:00
Sylvain Petreolle
2bd9e63884 - Update Module List
- Fix arguments check

svn path=/trunk/; revision=42120
2009-07-21 14:58:11 +00:00
Johannes Anderwald
4d14e675c2 - Update Module List
svn path=/trunk/; revision=42119
2009-07-21 13:53:20 +00:00
Sylvain Petreolle
4df2364dc6 fix includes case
svn path=/trunk/; revision=42118
2009-07-21 13:44:45 +00:00
Johannes Anderwald
4725a4fd9c - Rewrite KsDefaultDispatchPnp to make it actually work
- Implement KsDefaultDispatchPower, KsDefaultForwardIrp
- Return the correct device object in KsQueryDevicePnpObject
- Implement KsReadFile, KsSetInformationFile and partly KsQueryInformationFile
- Remove KspClose, KspRead, KspWrite, KspFlushBuffers, KspQuerySecurity, KspSetSecurity and all these IOCTL in KspDispatchIrp
- Rewrite KsDispatchIrp to handle IRP_MJ_CREATE & IRP_MJ_POWER, IRP_MJ_PNP for AV Stream minidrivers and forward IRP_MJ_SYSTEM_CONTROL requests to the registered pnp base object
- Unsupported IOCTLs are now completed with KsDispatchInvalidDeviceRequest (previously leaked)


svn path=/trunk/; revision=42117
2009-07-21 13:32:28 +00:00
ReactOS Portable Systems Group
de33ea571e - Do not set the non-x86 file system and disk read buffers to some random static variable that isn't even initialized on time.
- As a temporary hack, hard-code them to 0x80000000, a valid RAM address on OMAP3.
    - This code path is only used on ARM anyway, so it's not such a big deal, but a better fix should be done later.
- OmapLDR can now boot FreeLDR, which attempts to load NTOSKRNL.EXE and dies.
  - Need to revisit significant parts of the MMU code before attempting to go further; this won't likely be done for a good couple of months.

svn path=/trunk/; revision=42116
2009-07-21 09:44:36 +00:00
Dmitry Chapyshev
c2018d5633 - Add ws2help from alex-network-branch
svn path=/trunk/; revision=42115
2009-07-21 09:16:26 +00:00
Dmitry Chapyshev
fd8fa4a64c - Fix some warnings
svn path=/trunk/; revision=42114
2009-07-21 09:10:28 +00:00
Dmitry Chapyshev
c856ffc8ed - .def -> .spec
- Fix .rbuild

svn path=/trunk/; revision=42113
2009-07-21 09:06:25 +00:00
Dmitry Chapyshev
0b019f3ae8 - Add some defines, prototypes. It fixes compilation ws2_32_new
svn path=/trunk/; revision=42112
2009-07-21 09:03:03 +00:00
Dmitry Chapyshev
713ca4ef89 - Fix types of parameters for WPUFDIsSet, WSCInstallProvider
svn path=/trunk/; revision=42111
2009-07-21 08:59:30 +00:00
James Tabor
b5f733b8ce - [Win32k] Update class structure and fixed on class wine test.
svn path=/trunk/; revision=42110
2009-07-21 02:56:24 +00:00
Johannes Anderwald
764ee24fea allocators.c
- Implement IKsAllocator interface and use it in new implemented KsCreateAllocator, KsCreateDefaultAllocatorEx, KsValidateAllocatorFramingEx
api.c
- Implement KsSetDevicePnpAndBaseObject, KsQueryDevicePnpObject, KsSetTargetState, KsSetTargetDeviceObject, KsSetPowerDispatch, KsFreeDeviceHeader, KsFreeObjectHeader, KsAllocateObjectCreateItem, KsFreeObjectCreateItem, KsFreeObjectCreateItemsByContext, KsCreateDefaultSecurity
clocks.c
- Implement KsCreateClock, KsCreateDefaultClock,  partly implement KsAllocateDefaultClockEx, KsFreeDefaultClock, KsGetDefaultClockState, KsSetDefaultClockState, KsGetDefaultClockTime, KsSetDefaultClockTime
device.c
- Partly implement IKsDevice interface in order to let AVStream client devices initialize
- Implement KsInitializeDevice
- Implement registering of device interface for AVStream drivers
driver.c
- Implement KsGetDeviceForDeviceObject
- Set device flags for ks
- Store Address for client drivers device extension
filter.c
- Implement IKsFilter & IKsControl interface
- Handle KSPROPERTY requests
filterfactory.c
- Implement IKsFilterFactory interface
- Implement KsCreateFilterFactory, KsFilterFactorySetDeviceClassesState, KsFilterFactoryGetSymbolicLink, KsFilterFactoryAddCreateItem
- Add KsFilterFactoryUpdateCacheData
image.c
- Implement KsLoadResource
irp.c
- Implement KsDispatchQuerySecurity, KsDispatchSetSecurity, KsWriteFile, KsDefaultIoCompletion

svn path=/trunk/; revision=42109
2009-07-20 23:26:57 +00:00
James Tabor
928ed84e9f - [Win32k] Update window structure.
svn path=/trunk/; revision=42108
2009-07-20 23:18:16 +00:00
Dmitry Gorbachev
04dbe9d46f Fix compilation of drmk.sys
svn path=/trunk/; revision=42107
2009-07-20 23:04:01 +00:00
Cameron Gutman
985618d74e - Update TotalLength based on the fragment size
- Make fragment offset into 8-byte units
 - Don't perform a useless checksum calculation
 - Fixes datagram fragmentation (tested using ping with a packet size of 16000)
 - This also seems to fix DHCP over a bridged NIC in vbox

svn path=/trunk/; revision=42104
2009-07-20 19:46:54 +00:00
Dmitry Chapyshev
207b294387 - Add some defines
svn path=/trunk/; revision=42103
2009-07-20 19:45:06 +00:00
Dmitry Chapyshev
9545bd7992 - Implement WSAHtons, WSANtohs
- Add some cases to MsafdReturnWithErrno, SockAsyncSelectCompletionRoutine
Opera loads pages now, but the keyboard does not work.
Patch by Mikhail Denisenko (denisenkom@gmail.com)
See issue #4151 for more details.

svn path=/trunk/; revision=42102
2009-07-20 18:30:30 +00:00
Dmitry Chapyshev
b46f7e4773 - Add debug print to MiQueryVirtualMemory
svn path=/trunk/; revision=42101
2009-07-20 18:03:16 +00:00
Johannes Anderwald
3cf7214094 - A few updates from the Ninja-Arch
svn path=/trunk/; revision=42100
2009-07-20 17:14:21 +00:00
James Tabor
95d1d17ba9 - [Win32k] Make co_IntCreateWindowEx return pointer to public window structure.
svn path=/trunk/; revision=42092
2009-07-19 21:18:08 +00:00
Hervé Poussineau
6a16259ee6 Fix bug introduced in r1514, where memory was freed once in DLL_THREAD_DETACH and once more in DLL_PROCESS_DETACH
svn path=/trunk/; revision=42089
2009-07-19 18:37:58 +00:00
Cameron Gutman
54b3d22e33 - Generate a random ID for use during datagram reassembly
svn path=/trunk/; revision=42088
2009-07-19 17:40:36 +00:00
Cameron Gutman
b43fbb516b - Properly implement ICMP
- Now Raw IP works correctly because it isn't being hacked to handle ICMP packets

svn path=/trunk/; revision=42087
2009-07-19 14:48:48 +00:00
Hervé Poussineau
a86419a500 Add missing SetWindowsHookW prototype
svn path=/trunk/; revision=42086
2009-07-19 14:03:10 +00:00
Cameron Gutman
2fe1aab7fe - Send all waiting packets instead of only the first one to prevent a buildup of queued packets on a non-sendable NCE which becomes sendable later
svn path=/trunk/; revision=42076
2009-07-19 07:06:08 +00:00
Daniel Reimer
9c61a1e9ae Sync Christoph Style. It builds, but only uses the first RC file in the rbuild file. Seems like a bug to me. Needs more investigation.
svn path=/trunk/; revision=42073
2009-07-18 22:17:34 +00:00
Daniel Reimer
3732a01a8a Sync Christoph Style. It builds, but only uses the first RC file in the rbuild file. Seems like a bug to me. Needs more investigation.
svn path=/trunk/; revision=42071
2009-07-18 22:01:42 +00:00
Daniel Reimer
2c069c546e Sync to winfile to Wine 1.1.26
svn path=/trunk/; revision=42069
2009-07-18 19:48:17 +00:00
Daniel Reimer
5e9aac5f3d Sync to winhlp32, xcopy to Wine 1.1.26
wordpad sync does not generate a valid win32 resource
Out of no reason wine changed the way they include theirs rc files.
rsrc.rc is no more and all rcs are added as headers with own includes into the makefile. I have no idea if we plan to do it that way, so I changed this back to the old behavior.

svn path=/trunk/; revision=42068
2009-07-18 19:47:54 +00:00
Dmitry Chapyshev
0183a1cc69 - Partially sync with Wine 1.1.26
svn path=/trunk/; revision=42065
2009-07-18 19:25:33 +00:00
Dmitry Chapyshev
2794a2eba0 - Add SEH protection at memory copying. Fixes crash at "setupapi_winetest devinst"
svn path=/trunk/; revision=42064
2009-07-18 19:22:12 +00:00
Dmitry Chapyshev
100a69c0f3 - Sync SHDefExtractIconW with Wine. Fixes crash at shelllink test
svn path=/trunk/; revision=42058
2009-07-18 18:47:40 +00:00
Cameron Gutman
91f79593a7 - Don't change the lock's OldIrql value until we actually have the lock because we need this value to unlock correctly
- This should fix bug 4704

svn path=/trunk/; revision=42054
2009-07-18 17:57:38 +00:00
Johannes Anderwald
ab1fc18975 - Fix wait condition
svn path=/trunk/; revision=42052
2009-07-18 15:20:53 +00:00
Johannes Anderwald
2b9d1b809c [USERINIT]
- Move code for playing logon sound to winlogon where it should belong
[WINLOGON]
- Create a thread for playing the logon sound
- Query the status of sysaudio. If sysaudio isnt running yet, wait a second.
- Wait for max 20 seconds to get sysaudio running
- Finally logon sound should work

svn path=/trunk/; revision=42051
2009-07-18 15:19:57 +00:00
Johannes Anderwald
dac78ab19a [WDMAUD.DRV]
- Implement retrieving the preferred frame size
- Set Maximum buffer limit to one second
[PORTCLS]
- Implement a dynamic buffer enlarging. In case a audio stream stops prematurely, increase the audio buffer limit by 1/3
- Implement KSPROPERTY_CONNECTION_ALLOCATORFRAMING for IPortPinWaveCyclic + IPortPinWavePci
- Move IPortWavePciStream object to IPortPinWavePci, as IPrefetchOffset needs a tight integration (TBD)
- Define pin property handler for IPortDMus (some audio devices may now show more than one waveout device)
- Implement IPortEvents_fnAddEventToEventList for IPortWavePci
[WDMAUD_KERNEL]
- Implement IOCTL_GETFRAMESIZE
[SYSAUDIO]
- Fix a bug in the Pin_fnWrite, though code isnt used yet
-?
- Adobe Flash Player & Vlc may now have a better playback because the audio stream is now updated more often (because audio packet now use the preferred frame size which is in most cases 10ms).


svn path=/trunk/; revision=42016
2009-07-17 19:15:52 +00:00
Dmitry Gorbachev
6d59a5cfa7 Change the order in which file systems are recognized, do not mistake FAT32 for Ext2.
svn path=/trunk/; revision=42015
2009-07-17 19:14:08 +00:00
Dmitry Chapyshev
3b39cbc701 - Samplify SwitchToThread and QueueUserWorkItem
- Remove unneeded InternalWorkItemTrampoline function and QUEUE_USER_WORKITEM_CONTEXT structure
- Other small changes

svn path=/trunk/; revision=42012
2009-07-17 18:42:12 +00:00
James Tabor
c0db0a0a0b - Cleanup and minor changes.
- The use of CSRSS for creating the desktop window is a cleverly written hack. Real genius! The down side, this is a good example of thread coding, I do hate having to remove it. We could just leave it in there unused to keep it as an example. Let me know.

svn path=/trunk/; revision=42011
2009-07-17 18:41:29 +00:00
Dmitry Chapyshev
1f53c74091 - Remove unneeded check and cycle
svn path=/trunk/; revision=42006
2009-07-17 17:53:37 +00:00
Dmitry Chapyshev
91cae70e59 - Re-implement FreeLibrary (for support LOAD_LIBRARY_AS_DATAFILE)
- HeapAlloc -> RtlAllocateHeap, GetProcessHeap -> RtlGetProcessHeap, HeapFree -> RtlFreeHeap, CloseHandle -> NtClose
- Remove FIXME in LoadModule

svn path=/trunk/; revision=42005
2009-07-17 17:15:17 +00:00
Dmitry Chapyshev
0e63dbb11d - Implement LOAD_LIBRARY_AS_DATAFILE flag for LoadLibraryExW (based on Wine code).
svn path=/trunk/; revision=42004
2009-07-17 15:53:15 +00:00
Dmitry Chapyshev
f86de98c40 - Rewrite SearchPathW (based on Wine code). It fixes regression in mysql
svn path=/trunk/; revision=42003
2009-07-17 13:24:07 +00:00
Johannes Anderwald
6324272e80 - Fix build
svn path=/trunk/; revision=41997
2009-07-17 10:19:47 +00:00
Johannes Anderwald
3e07d5777f - Don't hardcode the sound kernel buffersize and maximum buffer count and make it possible to override it because kernel streaming pins have specific frame size requirements.
- See KSALLOCATOR_FRAMING struct

svn path=/trunk/; revision=41996
2009-07-17 09:24:11 +00:00
Timo Kreuzer
4e4807dd53 Add Accessibility registry key
svn path=/trunk/; revision=41995
2009-07-16 22:51:43 +00:00
James Tabor
7502481918 - Fix fixed math, thanks Lentin.
svn path=/trunk/; revision=41994
2009-07-16 19:34:42 +00:00
James Tabor
bcbeefce98 - Implementation of registering system atom listings with table references. Se bug 4705.
svn path=/trunk/; revision=41993
2009-07-16 19:07:04 +00:00
James Tabor
6e038baa16 - Hax Fix: Edit control atom support, see bug 4705.
svn path=/trunk/; revision=41992
2009-07-16 17:56:19 +00:00
Johannes Anderwald
3be8b1374b - Dont try allocate a error log packet as IoAllocateErrorLogEntry appears to be broken
svn path=/trunk/; revision=41991
2009-07-16 14:42:43 +00:00
Stefan Ginsberg
5e0347a52b Fix definition of KeInitializeSpinLock for x86 - it never inlined the operation. It should check if WIN9X_COMPAT_SPINLOCK is defined and don't inline it if so. Also, don't define this flag when building ntoskrnl (MS DDK/WDK compilation fix) so we get the inline. Instead, make the implementation "internal" to fix compilation.
svn path=/trunk/; revision=41990
2009-07-16 11:42:09 +00:00
Aleksey Bragin
c825c5dc02 Maciej Bialas <bjauy@o2.pl>
- Don't check boot partition during unattended setup if MBR installation is skipped anyway.

svn path=/trunk/; revision=41989
2009-07-16 09:09:26 +00:00
Timo Kreuzer
fe5c1a52ce [WIN32K] Keep a shared lock on palettes selected into DCs.
This allows us to get rid of a large number of lock and unlock operations and checks.

svn path=/trunk/; revision=41988
2009-07-15 21:06:40 +00:00
Timo Kreuzer
6255ce1380 Remove unused struct ColorShifts
svn path=/trunk/; revision=41987
2009-07-15 20:02:33 +00:00
Stefan Ginsberg
a06a2ab53c - What's the deal with using Iof* and Obf*, Arch?
svn path=/trunk/; revision=41986
2009-07-15 19:40:44 +00:00
Stefan Ginsberg
29fa9f1dd8 - Hey Arch, did you know MmpDeleteSection can be called for a Section Object before it is fully set up (when ObDereferenceObject is called before all fields are initialized), and it will now crash due to a bogus, nonintialized Segment/ImageSection pointer? Always zero out the whole buffer to prevent this. Fixes the kernel32 loader Winetest.
svn path=/trunk/; revision=41985
2009-07-15 18:35:31 +00:00
ReactOS Portable Systems Group
3989bd4e3c - NEVER TELL ME THE ODDS (of breaking the build).
svn path=/trunk/; revision=41984
2009-07-15 18:31:53 +00:00
ReactOS Portable Systems Group
cc98ebfe87 - Add initial support for TI OMAP3530 (last commit said OMAP3450, this was incorrect), an ARM Cortex-A8 based SoC.
- This gets us booting to FreeLDR with some serial output.
  - The entire MMU code needs a rewrite.

svn path=/trunk/; revision=41983
2009-07-15 18:30:04 +00:00
ReactOS Portable Systems Group
4c1ac0d33e - Build freeldr_arch first -- otherwise the fact you specific a file as "first = true" won't do anything, since it will only be the "first" in its sub-build.
- This is required because freeldr is a binary file, and so the first function must be the start routine.
  - Freeldr_startup ironically does not contain the startup code, since startup code is arch-specific, it actually lives in freeldr_arch.
- Also get rid of another ARM linker hack, and define the correct base address for FreeLDR on OMAP3450.
  - Need a platform-specific way of specifying this.

svn path=/trunk/; revision=41982
2009-07-15 18:25:26 +00:00
ReactOS Portable Systems Group
f5af0cd513 - Start re-defining the PTE and PDE structures for:
- ARMv6 support.
  - Support of new ARM3 and overall portability.
    - Still have to find a better way to deal with the fact that PDE/PTE types are different on ARM.
- Fix the current arm low-level mm implementation to use the new structures.
  - However parts of the code will now be totaly obsoleted by the new ARMv6 MMU support.
- The ARM port now builds again.

svn path=/trunk/; revision=41981
2009-07-15 18:20:53 +00:00
ReactOS Portable Systems Group
5ca7892171 - Move ARM3's init.c to i386-specific directory.
svn path=/trunk/; revision=41980
2009-07-15 17:55:13 +00:00
ReactOS Portable Systems Group
dc3d103e78 - Use the new portable flag definitions.
svn path=/trunk/; revision=41979
2009-07-15 17:53:45 +00:00
ReactOS Portable Systems Group
a8fd19398a - Define portable flags for touching fields in the MMPTE structure, which might have different names/not exist on other architectures.
- Define PTE_BASE and PDE_BASE since these are the correct cross-platform definitions.


svn path=/trunk/; revision=41978
2009-07-15 17:52:32 +00:00
ReactOS Portable Systems Group
a58fa89df3 - Don't use "static" in the kernel.
- Also prevents from getting a warning on ARM and other platforms that don't do PSEH2 since they have native exception support.


svn path=/trunk/; revision=41977
2009-07-15 17:50:50 +00:00
ReactOS Portable Systems Group
e9b1e01407 - Remove FreeLDR linker hack on ARM.
svn path=/trunk/; revision=41976
2009-07-15 17:49:38 +00:00
ReactOS Portable Systems Group
92c0f0afef - Hackfix floating point call in rtl's printf until the compiler guys get their shit together.
svn path=/trunk/; revision=41975
2009-07-15 17:49:05 +00:00
ReactOS Portable Systems Group
17fcd0b411 - Make platform specific directory to please the ARM folks.
svn path=/trunk/; revision=41974
2009-07-15 17:28:23 +00:00
Stefan Ginsberg
2b3f6a29ae - Remove the object body zeroing hack from ObpAllocateObject now that callers that relied on this have been fixed. Fixes ~4000 unnecessary buffer zeroing operations just for boot!
svn path=/trunk/; revision=41973
2009-07-15 16:52:47 +00:00
Stefan Ginsberg
ddbfcbae40 - Don't assume the object body allocated by ObCreateObject (through ObpAllocateObject) is zero-initialized (it shouldn't be).
svn path=/trunk/; revision=41972
2009-07-15 16:13:08 +00:00
Dmitry Chapyshev
bfb7dae4a2 - Currently, SearchPathW fails with path such as subdir\binary.exe. This patch is there to address it. It permits VBoxService to launch, and probably others.
Patch by zefklop (jerome.gardou@laposte.net)
See issue #4697 for more details.

svn path=/trunk/; revision=41971
2009-07-15 15:27:59 +00:00
Johannes Anderwald
179d9487dd - Interrupt is only shareable if the type is latched
- Only transfer as maximum the FrameSize which was obtained by IMiniportWaveCyclicStream::SetNotficationFreq
- Remove the pin service group member before queing the workitem to close the stream

svn path=/trunk/; revision=41970
2009-07-15 14:11:00 +00:00
Stefan Ginsberg
1996b84fae - The 4th parameter of NtCreateDebugObject is not a BOOLEAN -- it is a ULONG, meaning it could contain several flags (but only 0x1 seems to be valid). Add DBGK_KILL_PROCESS_ON_EXIT as this flag and use it.
svn path=/trunk/; revision=41969
2009-07-15 14:01:15 +00:00
Dmitry Gorbachev
9044027a2d Update Romanian translations. Petru Dimitriu, bug #4692.
svn path=/trunk/; revision=41968
2009-07-15 13:04:16 +00:00
Dmitry Gorbachev
c2ba17c1c2 Update Norwegian translation. Patch by LMH1, bug #4695.
svn path=/trunk/; revision=41967
2009-07-15 10:54:37 +00:00
Johannes Anderwald
ea930be882 - ReactOS only supports WAVE_FORMAT_PCM
- Helps apps like Adobe Flash Player to output the supported format

svn path=/trunk/; revision=41966
2009-07-15 10:49:17 +00:00
Stefan Ginsberg
bee032b26c - Don't use Kf* and Kef* in portable code.
svn path=/trunk/; revision=41965
2009-07-15 10:22:05 +00:00
Dmitry Chapyshev
163b140789 - Update Russian translation
svn path=/trunk/; revision=41964
2009-07-15 05:49:29 +00:00
James Tabor
b96f3f2222 - Implement support for HWND_MESSAGE. Need full testing!
svn path=/trunk/; revision=41963
2009-07-15 05:33:21 +00:00
Cameron Gutman
202957e751 - Start reporting packet statistics
- We currently only report received bytes, sent bytes, discarded packets due to unknown protocol, send errors, and receive errors
 - The network adapter properties window now shows correct send/receive bytes info

svn path=/trunk/; revision=41962
2009-07-15 03:14:13 +00:00
Ged Murphy
09fbbfac10 - Add resources to all remaining languages
- Patch by Gabriel Ilardi

svn path=/trunk/; revision=41961
2009-07-14 20:40:13 +00:00
Ged Murphy
ef5fe6d814 - Update Russian resources
- Patch by tower

svn path=/trunk/; revision=41960
2009-07-14 20:32:31 +00:00
Cameron Gutman
77264a99fe - Release all adapter IP addresses when using /release
svn path=/trunk/; revision=41959
2009-07-14 20:14:32 +00:00
Cameron Gutman
2ac1ae299f - Fix build
svn path=/trunk/; revision=41958
2009-07-14 19:55:41 +00:00
James Tabor
0690ae1a7c - Remove HWND_MESSAGE patch.
svn path=/trunk/; revision=41957
2009-07-14 19:49:48 +00:00
James Tabor
f0069bef60 - Update Xp w32process structure with real names, based on W7U symbols. Ref: http://www.reactos.org/wiki/index.php/Techwiki/win32k/W32PROCESS
svn path=/trunk/; revision=41956
2009-07-14 19:48:23 +00:00
Cameron Gutman
c7364bef38 - Renew the IP address of all adapters when using /renew
- Leave the critical section in failure case
 - Check for NULL adapter (CID 499)
 - Implement IpRenewAddress and IpReleaseAddress
 - Fixes ipconfig /release and ipconfig /renew

svn path=/trunk/; revision=41955
2009-07-14 19:43:57 +00:00
Stefan Ginsberg
45a41f9932 - Don't use KfRaiseIrql in portable code
svn path=/trunk/; revision=41954
2009-07-14 18:47:15 +00:00
Ged Murphy
e45154cf53 - Update polish resources
- Patch by Maciej Bialas (bjauy at o2 dot pl)

svn path=/trunk/; revision=41952
2009-07-14 13:02:23 +00:00
Timo Kreuzer
50ce23a64f Get rid of memcpy at all and use memove instead like windows does, but instead of duplicating the code, forward the exports. Fixes crt build.
svn path=/branches/ros-amd64-bringup/; revision=41949
2009-07-13 23:49:14 +00:00
Timo Kreuzer
2d893b9293 compile csrss only if USERMODE is set to 1
svn path=/branches/ros-amd64-bringup/; revision=41947
2009-07-13 23:25:47 +00:00
Ged Murphy
eea0a464f4 Fix a syntax error which VS strangely missed
svn path=/trunk/; revision=41945
2009-07-13 22:24:16 +00:00
Ged Murphy
b277f4e9a8 Fix a double definition
svn path=/trunk/; revision=41944
2009-07-13 21:38:08 +00:00
Ged Murphy
6cf5f907f1 Add the resources for the tray property dialog, based on the Vista dialog look and feel
svn path=/trunk/; revision=41943
2009-07-13 21:31:56 +00:00
Jeffrey Morlan
1c0bdb07e1 Make IF EXIST directory\ (with trailing backslash) work
svn path=/trunk/; revision=41942
2009-07-13 18:55:33 +00:00
Cameron Gutman
234f0e77c4 - Stop reporting that we are NDIS 5.1 until S/G DMA is implemented in HAL so unified 2K/XP drivers don't try to use it
- Enable a debug print to notify that attempting to use S/G is about to crash ROS
 - Thanks to niski for testing

svn path=/trunk/; revision=41941
2009-07-13 17:16:19 +00:00
Aleksey Bragin
be56928252 - Fix formatting.
svn path=/trunk/; revision=41940
2009-07-13 12:50:08 +00:00
James Tabor
145e9fad83 - Half-implement MmPageEntireDriver and use it to set the module instance for win32k. ATM, it does not set the entry pageable.
- I mean no disrespect to the Arm developers, I'm an admire of your great work with ReactOS! By my commits you can see the need for the offset address when calling internal procs in win32k.
- References: MmPageEntireDriver, http://www.osronline.com/ddkx/kmarch/k106_7os2.htm

svn path=/trunk/; revision=41939
2009-07-13 05:00:17 +00:00
James Tabor
7d031bd233 - Fix build.
svn path=/trunk/; revision=41938
2009-07-13 03:55:03 +00:00
James Tabor
13af552ba5 - Add initialization of system atoms and fix build.
svn path=/trunk/; revision=41937
2009-07-13 03:49:58 +00:00
James Tabor
fdf30001fb - Implement NtUserInitializeClientPfnArrays, tested and will be needed in later commits.
svn path=/trunk/; revision=41936
2009-07-13 03:37:00 +00:00
Johannes Anderwald
6d29129c8f [WDMAUD_KERNEL]
-? Hey Arch, don't be so picky when something goes wrong. 
- Fix enumeration of wave out / in devices for Vmware adapter
- Playback still hangs

svn path=/trunk/; revision=41935
2009-07-12 15:44:33 +00:00
ReactOS Portable Systems Group
0067e2c1a5 - Fix several problems with the System PTE implementation, including the lack of locks.
- I also didn't fully like the idea of sticking "-1" into a 5-bit wide bitfield -- instead just stuff it as 0xFFFFF with a typecast. 
    - This seems to be NT's MM_EMPTY_LIST that shows up in a couple of ASSERTs on the checked build.
- This fixes several random crashes seen on my test boxes when mapping MDLs and using NP expansion VA.
- Dedicated to Brüno.

svn path=/trunk/; revision=41934
2009-07-12 13:06:41 +00:00
ReactOS Portable Systems Group
1279c44e6c - Implement the rest of the nonpaged pool allocator, now with support for allocating pages in the nonpaged pool expansion area.
- This uses System PTEs, so if you're still not sick of the same old mantra -- optimizations to the former will help the latter.
    - Additionally, we should eventually implement a single-page SLIST for nonpaged pool pages, which will greately improve allocate/free of 1 page.
- As a reminder, this code isn't being used yet.

svn path=/trunk/; revision=41933
2009-07-12 13:02:05 +00:00
ReactOS Portable Systems Group
d9b66b43bd - Stop excercising the nonpaged pool allocator since there have been no complaints and internal testing has revealed no faults.
svn path=/trunk/; revision=41932
2009-07-12 13:00:19 +00:00
ReactOS Portable Systems Group
032b0e4144 - Fix incomplete comment due to accidental early-merge.
svn path=/trunk/; revision=41931
2009-07-12 12:59:21 +00:00
Dmitry Chapyshev
92272be249 - Implement QueryFullProcessImageNameA/W (based on Wine code). +35 passed tests
svn path=/trunk/; revision=41930
2009-07-12 12:21:20 +00:00
ReactOS Portable Systems Group
4fd7e25d0c Header fixes for ARM to deal with the header cleanup that was performed earlier this year...
* ARMDDK is now rationed between user-mode and kernel-mode definitions and imported by WINNT and WINDDK both (Since these don't include each others anymore)
Make the MDL flags crossarch instead of x86 only
The ARM tree now builds completely, except for the new ARM3 code in ntos... good job guys. 10/10. wasn't this supposed to make things --portable--?

svn path=/trunk/; revision=41929
2009-07-12 10:52:13 +00:00
ReactOS Portable Systems Group
4df3c6ea54 Add some more intrinsics, and change _enable and _disable to use the new ARMv6 instructions instead... we'll have to make similar changes to the routines that use SWP
svn path=/trunk/; revision=41928
2009-07-12 10:49:47 +00:00
ReactOS Portable Systems Group
883152449c Define all the other PROCESSOR_ARCHITECTURE values too
svn path=/trunk/; revision=41927
2009-07-12 10:48:23 +00:00
ReactOS Portable Systems Group
7653420856 Deal with the fact that DirectoryTableBase in EPROCESS has now been defined as PULONG instead of LARGE_INTEGER
Remove ARM-specific hyperspace functions since these are portable now

svn path=/trunk/; revision=41926
2009-07-12 10:47:45 +00:00
ReactOS Portable Systems Group
0a25cb7cf3 Fix some interlock routine definitions on platforms that use it (not x86)
svn path=/trunk/; revision=41925
2009-07-12 10:45:59 +00:00
ReactOS Portable Systems Group
6a31fba13b Use portable ExInterlockedWhatever instead of non-portable Exf* function... the headers will do the right thing based on the arch
svn path=/trunk/; revision=41924
2009-07-12 10:45:33 +00:00
ReactOS Portable Systems Group
01614d1ae5 Don't try to write to "EAX" register on anything else but x86. Please write portable code in crossarch sources.
svn path=/trunk/; revision=41923
2009-07-12 10:44:53 +00:00
ReactOS Portable Systems Group
3cba568950 Move HYPER_SPACE definition to x86 header, since ARM already defines it (and it's somewhere else). Thi sis an arch-specific define
svn path=/trunk/; revision=41922
2009-07-12 10:44:22 +00:00
ReactOS Portable Systems Group
a865f1ce7c These fields don't exist on ARM, so only C_ASSERT them on x86
svn path=/trunk/; revision=41921
2009-07-12 10:43:29 +00:00
ReactOS Portable Systems Group
6f5fac8d38 Fix accidental exclusion of _get_environ functions on ARM, and exclude them only on x86-64 as it seemed to have been intented
svn path=/trunk/; revision=41920
2009-07-12 10:43:06 +00:00
ReactOS Portable Systems Group
1fd4832ed6 More properly neuter PSEH2 on ARM
svn path=/trunk/; revision=41919
2009-07-12 10:42:04 +00:00
ReactOS Portable Systems Group
af9020285f Define the base addresses as ULONG_PTR since pointer math on void* is illegal
svn path=/trunk/; revision=41918
2009-07-12 10:41:50 +00:00
ReactOS Portable Systems Group
5295bfbae2 Do not build some floating point math functions on ARM right now, since they seem to call x86 inline assembly
Investigate this later...

svn path=/trunk/; revision=41917
2009-07-12 10:41:23 +00:00
ReactOS Portable Systems Group
6174f3d53a Revert the change to tcsrchr, it should be a XINT not a TCHAR
svn path=/trunk/; revision=41916
2009-07-12 10:40:39 +00:00
ReactOS Portable Systems Group
1554007aa6 KEBUGCHECK was deprecated, so use KeBugCheck
svn path=/trunk/; revision=41915
2009-07-12 10:40:16 +00:00
ReactOS Portable Systems Group
ac6394ae92 Don't export the HAL drive letter assignment functions on ARM
The fast mutex functions are in the HAL on non-x86 builds, so don't forward them back to ntos

svn path=/trunk/; revision=41914
2009-07-12 10:39:58 +00:00
ReactOS Portable Systems Group
bde8298af7 The Halp* drive assignment stuff doesn't exist on ARM, AFAIK
svn path=/trunk/; revision=41913
2009-07-12 10:39:04 +00:00
ReactOS Portable Systems Group
deccae397c Use the pspec, there's no hal_arm.def anymore
svn path=/trunk/; revision=41912
2009-07-12 10:38:26 +00:00
ReactOS Portable Systems Group
20e4690b06 Only build winsetupldr for x86, since there's no NT for ARM
svn path=/trunk/; revision=41911
2009-07-12 10:38:05 +00:00
ReactOS Portable Systems Group
52009e13dd Only call WinLDR for x86 since there is no NT for ARM
svn path=/trunk/; revision=41910
2009-07-12 10:37:38 +00:00
ReactOS Portable Systems Group
6dc2e41228 Add minimal support for ARM to winebuild, just enough to get it to build and spew out spec files.
Hopefully it's not used for anything more cpu-specific thank that...


svn path=/trunk/; revision=41909
2009-07-12 10:36:36 +00:00
ReactOS Portable Systems Group
c8f6ed5179 Add back support for WINEBUILD_FLAGS which someone removed when going from modulehandler.cpp to rules.mak... thanks.
svn path=/trunk/; revision=41908
2009-07-12 10:35:46 +00:00
Cameron Gutman
47ac65adaa - Store the static default gateway forward entry in DHCP_ADAPTER
- Loop the adapter list backward so DhclientInfo gets linked properly

svn path=/trunk/; revision=41907
2009-07-12 05:21:52 +00:00
James Tabor
172daf63c3 - If any dib sections was created, set the flag.
svn path=/trunk/; revision=41906
2009-07-12 02:59:59 +00:00
James Tabor
038073d31c - Start initializing client pfn arrays so that they can be loaded into the server information structure and help register class atoms in win32k.
svn path=/trunk/; revision=41905
2009-07-12 02:09:49 +00:00
Johannes Anderwald
1ad4b7ad1f - Fix build (2/X)
svn path=/trunk/; revision=41904
2009-07-12 00:37:48 +00:00
Johannes Anderwald
4e2840db1d [AUDIO_TEST]
- Fix build

svn path=/trunk/; revision=41903
2009-07-12 00:23:09 +00:00
Johannes Anderwald
56e5803f59 [MMEBUDDY]
- Pass DeviceId to GetDeviceCapabilities function
[WDMAUD.DRV]
- Use DeviceId to determine the capabilities of the requested device, not just always the first one

svn path=/trunk/; revision=41902
2009-07-11 23:49:24 +00:00
Johannes Anderwald
a0e15ca40c - Use free index directly
- Update interface

svn path=/trunk/; revision=41901
2009-07-11 23:23:40 +00:00
Johannes Anderwald
14ecd271ba - Implement retrieving position
svn path=/trunk/; revision=41900
2009-07-11 23:21:41 +00:00
Johannes Anderwald
85cde828b2 - Implement retrieving position
svn path=/trunk/; revision=41899
2009-07-11 23:21:09 +00:00
Johannes Anderwald
dec6dd70e3 - Add function for retrieving current position
svn path=/trunk/; revision=41898
2009-07-11 23:20:22 +00:00
James Tabor
a522461492 - Global/LocalFlags, now checking the right bit for discared heap and not doing it the wine way.
svn path=/trunk/; revision=41896
2009-07-11 22:52:36 +00:00
James Tabor
471fee4cfa - Fix Global/LocalFlags returns. Now pass all kernel32 heap tests.
svn path=/trunk/; revision=41895
2009-07-11 22:14:19 +00:00
Johannes Anderwald
1e3850cd25 [WDMAUD.DRV]
- The wave / mixer / midi handles are kernel handles, consequently wdmaud_kernel must close them

svn path=/trunk/; revision=41894
2009-07-11 22:02:30 +00:00
Dmitry Chapyshev
66a1d260cb - Set status to STATUS_OBJECT_NAME_INVALID if NtCreateMailslotFile returned STATUS_NOT_SUPPORTED
svn path=/trunk/; revision=41893
2009-07-11 20:34:33 +00:00
Timo Kreuzer
ba31bc03ca [win32k] Implement brush realization part 2 / 2
Use EBRUSHOBJ_pvGetEngBrush to get a handle to the realized (color translated) brush and use this instead of the original pattern when doing patblts. We don't use any XLATEOBJ anymore. I'll leave it to the interested reader to cleanup the DIB code from remnants of pattern to dest color translation.

svn path=/trunk/; revision=41892
2009-07-11 20:15:37 +00:00
Johannes Anderwald
9e97547323 - Implement dynamic unregistration of physical connections
- Implement IUnregisterPhysicalConnection interface for all port drivers


svn path=/trunk/; revision=41891
2009-07-11 19:01:18 +00:00
Johannes Anderwald
9913f96067 - Implement dynamic unregistration of audio devices
- IoGetDeviceProperty expects the PDO, not FDO
- Implement IUnregisterSubdevice interface for all port drivers


svn path=/trunk/; revision=41890
2009-07-11 17:44:41 +00:00
Jeffrey Morlan
038d68b156 Don't use non-portable %zd format. Instead, use %d and cast the variable to an int to ensure printf can read the argument properly
svn path=/trunk/; revision=41889
2009-07-11 16:16:39 +00:00
Matthias Kupfer
8022a4015e make status window parts more flexible in size
svn path=/trunk/; revision=41888
2009-07-11 15:59:46 +00:00
Dmitry Chapyshev
e58af99cc1 - Fix 3 "kernel32_winetest environ" tests. All environ tests passed now
svn path=/trunk/; revision=41887
2009-07-11 14:18:06 +00:00
Johannes Anderwald
76d872ed01 [KMIXER]
- Set KSCREATE_ITEM_WILDCARD flag to receive all requests in one handler
-- 
Kmixer is now back accessible

svn path=/trunk/; revision=41886
2009-07-11 13:52:36 +00:00
Michael Martin
6181543561 - NtMapViewOfSection: When referencing the section object by handle, don't assume access mask of SECTION_MAP_READ. Access mask must be determined from page protection attributes passed in Protect parameter. Fixes 5 winetests for kernel32 virtual.
svn path=/trunk/; revision=41885
2009-07-11 13:40:56 +00:00
Dmitry Chapyshev
fad802aace - Fix one "kernel32_winetest time" test. All time tests passed now
svn path=/trunk/; revision=41884
2009-07-11 13:35:38 +00:00
Matthias Kupfer
0937dce274 use application icon for about dialog
svn path=/trunk/; revision=41883
2009-07-11 13:34:18 +00:00
ReactOS Portable Systems Group
73972e4928 Fix the signature of tcsrchr. The last prameter is a TCHAR, not a XINT.
svn path=/trunk/; revision=41882
2009-07-11 13:12:09 +00:00
ReactOS Portable Systems Group
db532903fb Don't build stack-based WINE exception handling on ARM -- we have .pdata
svn path=/trunk/; revision=41881
2009-07-11 13:11:44 +00:00
ReactOS Portable Systems Group
3622a2263a *** WE WILL NOW BE FOCUSING AND BUILDING FOR ARM CORTEX-A8 (ARMv7) ***
***   SUPPORT FOR ARMv6 WILL ALSO BE ENFORCED, BUT NOTHING LOWER   ***
***       THE TARGET PLATFORM IS TI OMAP3-35xx and OMAP3-34xx      ***

svn path=/trunk/; revision=41880
2009-07-11 13:04:46 +00:00
ReactOS Portable Systems Group
a9f8283eba Fix PSEH2 ARM neutering
svn path=/trunk/; revision=41879
2009-07-11 13:02:22 +00:00
ReactOS Portable Systems Group
0c7489b058 Also define PAGE_SIZE in armddk.h if it isn't already defined (allows cmlib to compile, amongst others)
svn path=/trunk/; revision=41878
2009-07-11 13:00:09 +00:00
ReactOS Portable Systems Group
0e36ca655c GAS should also receive the -march flag, not just the compiler... otherwise, gcc won't let you use things like "cmov" on x86, or anything beyond the armv4 instruction set on ARM
svn path=/trunk/; revision=41877
2009-07-11 12:57:41 +00:00
ReactOS Portable Systems Group
f00eeb0707 WINNT.H already defines CONTEXT so avoid a double-definition if ARMDDK is included
svn path=/trunk/; revision=41876
2009-07-11 12:36:20 +00:00
ReactOS Portable Systems Group
8473ade2b8 Define PAGE_SIZE in winnt.h for now, for modules that don't include the NDK, and then make the NDK and WINNT.H safe to use combined
svn path=/trunk/; revision=41875
2009-07-11 12:35:29 +00:00
ReactOS Portable Systems Group
de1eda4f79 How was this code even supposed to compile???
svn path=/trunk/; revision=41874
2009-07-11 12:34:25 +00:00
ReactOS Portable Systems Group
6f78cdb634 Make rotl what the headers expect
svn path=/trunk/; revision=41873
2009-07-11 12:33:10 +00:00
ReactOS Portable Systems Group
69b01954bd Neuter PSEH2 on ARM
svn path=/trunk/; revision=41872
2009-07-11 12:32:38 +00:00
ReactOS Portable Systems Group
9041b47435 Define ALLOCA_S_MARKER_SIZE for arm
svn path=/trunk/; revision=41871
2009-07-11 12:32:09 +00:00
ReactOS Portable Systems Group
cc54067fdd Just cause it ain't AMD64 ain't meaning it's just x86... so make the macro x86-inclusive instead of x64-exclusive (since we don't want those definitions on ARM either)
svn path=/trunk/; revision=41870
2009-07-11 12:04:26 +00:00
ReactOS Portable Systems Group
b7705f8eeb Fix incorrect use of PVOID for pointer math, hidden by bad typecasts...
svn path=/trunk/; revision=41869
2009-07-11 12:03:28 +00:00
ReactOS Portable Systems Group
fffb5af849 Fix lack of casts in certain intrinsic functions, and add others that were being called but not yet implemented... hopefully 4.4 handles built-in intrinsics for ARM now (remains to be seen)
svn path=/trunk/; revision=41868
2009-07-11 12:02:47 +00:00
ReactOS Portable Systems Group
9964f5e49f KeGetDCacheFillSize is arch-specific, so define it in the x86 region only
svn path=/trunk/; revision=41867
2009-07-11 12:02:05 +00:00
ReactOS Portable Systems Group
a3d7cdabd2 Import the generic template and comment out _M_ARM since the toolchain already defines it.
THE ARM BUILD STARTS UP AGAIN (all host tools and makefiles are generated correctly).
NEW TARGET TOOLCHAIN IS NOW CEGCC 0.55 (GCC-4.4.0).

svn path=/trunk/; revision=41866
2009-07-11 11:52:22 +00:00
Dmitry Chapyshev
4fa43e4494 - Return ERROR_NOT_SUPPORTED error code instead ERROR_CALL_NOT_IMPLEMENTED (in BackupRead, BackupSeek, BackupWrite)
- Direct call for Set(Get)LastError
- Add RemoveVectoredContinueHandler, InterlockedCompareExchange64, GetCurrentProcessorNumber, BaseCheckRunApp, AddVectoredContinueHandler to export list

svn path=/trunk/; revision=41865
2009-07-11 11:50:42 +00:00
ReactOS Portable Systems Group
f1ab67f6ce Too many things in -i386 were still "generic" and had to be duplicated accross plat-specific rbuild files, so moved a whole bunch of them into the generic rbuild.
Ironically, the one thing that isn't generic -- which files get built -- was in the generic file, blocking the arm rbuild from ever being able to use it, so I split this out now.
Cleaned up the i386 and arm rbuild files to use the new generic rbuild.
Brought the arm rbuild file up to spec to use the new compilerset/linkerset and msvc-compliant options.

svn path=/trunk/; revision=41864
2009-07-11 11:47:21 +00:00
ReactOS Portable Systems Group
c1d5a1f6e8 stop building ntdll as a win32dll so we can fucking stop auto-importing mingw_common and kernel32 into it... it's supposed to be built as a /SUBSYSTEM:WINDOWS dll but since rbuild has now decided to fuck around with these DLLs, it's safer to build it as native so it can be left the fuck alone and not auto-import half the tree
svn path=/trunk/; revision=41863
2009-07-11 11:43:49 +00:00
ReactOS Portable Systems Group
9a787312ff __gnu__inline is not supported for a long time in gcc anymore, so remove this to fix a bunch of warnings
svn path=/trunk/; revision=41862
2009-07-11 11:42:29 +00:00
ReactOS Portable Systems Group
c3ca589de0 use %zd for SIZE_T, not just %d
svn path=/trunk/; revision=41861
2009-07-11 11:41:42 +00:00
ReactOS Portable Systems Group
b6f27fe11d Fix a braindead bug that killed my system (512MB) since the loop goes on past 4096 pages if you have enough non paged pool... do you even test this?
svn path=/trunk/; revision=41860
2009-07-11 09:36:18 +00:00
ReactOS Portable Systems Group
2aabdcc5fd - Implement a simple nonpaged pool page allocator and deallocator:
- Not actually used yet!
  - No support for expansion nonpaged pool yet.
  - No major optimizations.
    - We simply do the sane thing of trying to combine the next free allocation with the one we're about to make, on free.
      - If possible, we'll also check if the previous allocation was a free block, and we'll merge ourselves (and in the best case, whoever is following us) into that block instead.
  - No debug checks/validation.
- Write a couple lines of code to allocate and free up to 4096 pages (it will stop when it runs out).
  - This is to properly excercise this code on everyone's machines to make sure it works fine (it adds a little delay to booting, but only temporary).

svn path=/trunk/; revision=41859
2009-07-11 06:46:39 +00:00
Cameron Gutman
08df2017e3 - Initialize remote address to 0 if the caller didn't specify one
svn path=/trunk/; revision=41858
2009-07-11 04:54:44 +00:00
Timo Kreuzer
85f298694e Only call the drivers DrvRealizeBrush when called from BRUSHOBJ_pbGetRbrush. The driver might punt back to GDI and gdi might want to realize the brush although the surface is driver managed. Shuffle functions.
svn path=/trunk/; revision=41857
2009-07-11 01:19:39 +00:00
Timo Kreuzer
635703bc86 Fix cleanup in EBRUSHOBJ_vUpdate, that I commented out for testing purposes.
svn path=/trunk/; revision=41856
2009-07-11 01:05:05 +00:00
Timo Kreuzer
aede9079c6 [win32k] Implement brush realization part 1 / 2
- Fix BRUSHOBJ_pvGetRbrush, it's supposed to provide a realization, when there is none. For this reason call ENRUSHOBJ_bRealizeBrush, that will call Eng/DrvRealizeBrush to create a realisation. The old implementation never did this and I wonder how 3rd party display drivers were expected to work correctly without this.
- Implement EBRUSHOBJ_pvGetEngBrush working similar to BRUSHOBJ_pvGetRbrush, but providing the engbrush as GDI's realization. It's currently implemented as a handle to a translated pattern and not used anywhere yet.
- Rename EBRUSHOBJ_vUnrealizeBrus to EBRUSHOBJ_vCleanup. This function now needs to be called to free the resources for a BRUSHOBJECT that GDI or a driver might have allocated. This is done in DC_Cleanup before deleting the DC and in EBRUSHOBJ_vUpdate before newly initializing it.
- Get rid of the EBRUSHOBJ's XlateObject, instead for now create new XLATEOBJ's whenever needed. Don't worry these will be gone, as soon as we make use of the engbrush.
- Pass a pointer to the DC to EBRUSHOBJ_vInit, as this allows us to save stuff like the back and fore color.
- Fix a bitmap leak: CallDibStretchBlt returned before releasing the reference to the pattern surface.
- Some FASTCALL -> NTAPI changes
- tested with VBE, VMWare-Tools and VBox driver
- I hope I didn't forget anything

svn path=/trunk/; revision=41855
2009-07-10 23:44:05 +00:00
Stefan Ginsberg
a05e363fc9 - Don't link portcls and kmixer to the static version rtl -- those routines are exported by ntoskrnl (and all imports were resolved there anyway).
svn path=/trunk/; revision=41854
2009-07-10 23:13:13 +00:00
Jeffrey Morlan
3c8f7c0167 Rearrange some code in cmd parser, avoiding excessive stack space usage (Bug 4536)
svn path=/trunk/; revision=41853
2009-07-10 22:33:18 +00:00
Cameron Gutman
8cda4903ab - Fix more global variable abuse
- Fix some inaccurate cur_time values

svn path=/trunk/; revision=41852
2009-07-10 21:32:02 +00:00
Benedikt Freisen
2b1fbadac0 - During resizing the future size is shown in the status bar
- Rubber works as color replacer when used with right mouse button
     (mouse handling code reorganized)
- Bug occuring when painting to neg. coordinates finally fixed
- Polygon-tool added
- Bezier-tool added

svn path=/trunk/; revision=41851
2009-07-10 18:21:27 +00:00
Daniel Reimer
6488e69c4a Revert the sync, it breaks build. further investigation will be made next week. 2/2
Sry for the 4 stolen rev numbers ;-)

svn path=/trunk/; revision=41850
2009-07-10 17:25:11 +00:00
Daniel Reimer
91d9b85d53 Revert the sync, it breaks build. further investigation will be made next week. 1/2
svn path=/trunk/; revision=41849
2009-07-10 17:17:43 +00:00
Ged Murphy
c58c9ebb32 - Add the task manager to the tray context menu
- Add a bit of code for the tray properties dialog

svn path=/trunk/; revision=41848
2009-07-10 17:10:20 +00:00
Timo Kreuzer
8333c72806 - Move XLATEOBJ_hGetColorTransform to xlate.c
- Implement InitXlateImpl(), that currently does ... nothing :)
- Don't pass a palette type to IntEngCreateXlate, when already passing a valid palette.

svn path=/trunk/; revision=41847
2009-07-10 17:01:12 +00:00
Daniel Reimer
5b403acdfc Update Wordpad, winhlp32, xcopy to Wine HEAD.
svn path=/trunk/; revision=41846
2009-07-10 16:57:06 +00:00
Daniel Reimer
6de49104bf Update Winfile to Wine HEAD.
svn path=/trunk/; revision=41845
2009-07-10 16:55:08 +00:00
Johannes Anderwald
b046ce1926 [KS]
- The pin creation parameters are now placed right after the reference string. Handle this case in KsValidateConnectRequest
- Only store the passed create items, no need  to copy the passed create items. This is required for enabling dynamic audio devices
- Fix copying of the object class in KsAllocateObjectHeader
- Check for KSCREATE_ITEM_IRP_STORAGE flag in KsCreate
[PORTCLS]
- Reduce initial audio buffer to about 1/3 second which greatly improves performance
[SYSAUDIO]
- Remove concept of audio subdevices
- Remove imported KsCreatePin
- Replace OpenDevice loop hack

svn path=/trunk/; revision=41842
2009-07-10 15:14:56 +00:00
Johannes Anderwald
976cb25f51 - Add create item flags
svn path=/trunk/; revision=41841
2009-07-10 14:41:14 +00:00
Timo Kreuzer
660f744f6f Add static palettes gpalRGB and gpalBGR. They will be used later.
svn path=/trunk/; revision=41840
2009-07-10 13:40:36 +00:00
Dmitry Chapyshev
312cc46636 - Add user mode buffer probing for NtCreateKey, NtEnumerateKey, NtEnumerateValueKey, NtQueryKey, NtQueryValueKey
svn path=/trunk/; revision=41839
2009-07-10 10:02:37 +00:00
Cameron Gutman
4af59e7e33 - Use the target hardware address to find the correct DHCP_ADAPTER for the received packet
svn path=/trunk/; revision=41838
2009-07-10 01:15:51 +00:00
Stefan Ginsberg
2dbd55ac66 - Fix a serious bug in KiDispatchException; DbgkForwardException got called with the SecondChance parameter set to FALSE when forwarding second chance exceptions to user mode debuggers! This bug, introduced in revision 23802, made second chance exceptions appear as first chance to user mode debuggers (meaning unhandled exceptions wouldn't get caught). Bug exposed by the ntdll winetest.
svn path=/trunk/; revision=41837
2009-07-10 01:06:09 +00:00
Johannes Anderwald
e421f65c2b - Remove obsolete DbgBreakPoint
svn path=/trunk/; revision=41836
2009-07-09 22:04:31 +00:00
Johannes Anderwald
d50238833b - Fix a bug which was responsible for most audio-related crashes
- Found by DosX (Gregor Schneider)
- Fix memory leak

See issue #4674 for more details.

svn path=/trunk/; revision=41835
2009-07-09 21:49:04 +00:00
Timo Kreuzer
2d834b1bdd freeldr: Remove duplicated / unused files for amd64 architecture
See issue #4672 for more details.

svn path=/trunk/; revision=41834
2009-07-09 21:41:58 +00:00
Cameron Gutman
e99d1fe3f9 - Implement IOCTL_AFD_SET_INFO
- We currently disregard the value of BlockingMode so this causes no behavior change

svn path=/trunk/; revision=41833
2009-07-09 16:47:11 +00:00
Cameron Gutman
5571325492 - Don't overwrite previously set flags
svn path=/trunk/; revision=41832
2009-07-09 15:55:29 +00:00
Dmitry Gorbachev
52f4e2b161 Add an assertion. Bug #4670.
svn path=/trunk/; revision=41831
2009-07-09 14:56:59 +00:00
Johannes Anderwald
c70e3fd433 - Fix a few bugs in the sample rate conversion code
- Might fix playback for audio samples out of audio adapter supported range

svn path=/trunk/; revision=41830
2009-07-09 14:09:27 +00:00
Timo Kreuzer
7b83de4325 - Move GDI_DEBUG stuff to make it compile again
- Comment out some GDI_DEBUG prints related to deferred deletion, as this floods the log too much

svn path=/trunk/; revision=41829
2009-07-09 13:36:42 +00:00
Johannes Anderwald
fb73a62428 - Stop removing good code, Arch!
svn path=/trunk/; revision=41828
2009-07-09 13:23:00 +00:00
ReactOS Portable Systems Group
16e52e7c46 - Fix a critical bug in the German hack which was causing the last PDE not to be synched with the ReactOS Memory Manager (or worse, the first, if there was only one PDE).
- Add a new file which will hold the executive layer above the pool allocator (the Ex* routines).
  - This should eventually be moved to \ex.
  - Note that the current ReactOS pool Ex* routines are in \mm, which is dead wrong.
- Define the POOL_DESCRIPTOR and POOL_HEADER structures for the NT 5.2 pool.
- Define, create, and implement the routine to initialize a pool vector.
  - For now, we assume you want the nonpaged pool vector/descriptor.
  - Call this routine from the ARM3 initialization routine.
- No changes to system behavior other than the bugfix above.


svn path=/trunk/; revision=41824
2009-07-09 09:33:49 +00:00
Dmitry Chapyshev
62951bd925 - Update Russian translation
svn path=/trunk/; revision=41823
2009-07-09 06:16:10 +00:00
Samuel Serapion
db63f43bde The beginning of the Makefile has comments about the usage of special build flags, one of them, ROS_PREFIX has this notice: "Don't include the dash (-) before gcc.". RBuild has grown up and used the documented behavior but RosBE and the makefile itself isn't consistent and ignore this tidbit.
Attempt to fix build for amd64 and others that use ROS_PREFIX on windows, current rosbe + addon for amd64 dont work without patching the scripts, call me for details...

svn path=/branches/ros-amd64-bringup/; revision=41821
2009-07-09 01:28:44 +00:00
Timo Kreuzer
69d04cfc34 Get rid of the DCs XlateBrush and XlatePen. The resulting code isn't any better yet, but this step is needed for the upcoming xlateobj rewrite.
svn path=/trunk/; revision=41820
2009-07-08 21:53:35 +00:00
Timo Kreuzer
903a26ae64 BltMask: remove unnecessary check
svn path=/trunk/; revision=41819
2009-07-08 21:35:33 +00:00
Timo Kreuzer
9a36897e48 IntGdiPolyPatBlt: Don't unnecessarily update the dc's brush, improve and simplyfy code,
svn path=/trunk/; revision=41818
2009-07-08 21:05:37 +00:00
Stefan Ginsberg
915bec118b - Revert 41788, replaced by a real fix in 41815.
See issue #4663 for more details.

svn path=/trunk/; revision=41817
2009-07-08 21:04:54 +00:00
Stefan Ginsberg
c589c03a22 - NtUserMessageCall: Fix probe-and-capture for the FNID_BROADCASTSYSTEMMESSAGE case -- win32k must copy user mode buffers to safe memory before reading from them (or wrap the operations in SEH). Copy the buffer to the stack as it is small.
svn path=/trunk/; revision=41816
2009-07-08 20:41:58 +00:00
KJK::Hyperion
488bf13922 modified lib/pseh/i386/framebased-gcchack.c
Notorious ass-clown Arch Blackmann forgot to pop the trylevel that handled an exception. Subsequent throws would keep being caught by the same trylevel over and over again, and infinite loops are indeed possible. Eat shit and die, Arch
   If test_bug_4663 test in the PSEH2 test suite is actually representative of the bug, the bug itself may have been fixed

svn path=/trunk/; revision=41815
2009-07-08 20:32:50 +00:00
KJK::Hyperion
3728596a8e modified pseh2/psehtest.c
We need a bigger boat. Improve the test for bug #4663

svn path=/trunk/; revision=41814
2009-07-08 20:28:33 +00:00
Gregor Schneider
973a9493c4 According to http://msdn.microsoft.com/en-us/library/tcxf1dw6(VS.71).aspx and http://www.cplusplus.com/reference/clibrary/cstdio/printf/ there are no %le and %lf printf formats. The 'l' specifier is used for integers or wide characters, 'L' for long double. Outputting a double doesn't require any additional specifier (see http://msdn.microsoft.com/en-us/library/hf4y5e3w(VS.71).aspx).
svn path=/trunk/; revision=41813
2009-07-08 20:06:11 +00:00
KJK::Hyperion
9060c87bad modified include/reactos/libs/pseh/pseh2.h
Only leave the frame in the outermost _SEH2_END (like in PSEH1)

svn path=/trunk/; revision=41812
2009-07-08 19:52:48 +00:00
KJK::Hyperion
d6dcda9708 modified tests/pseh2/psehtest.c
Don't use ok() when we mean trace()
   Fix the stack after corruption of the registration list
   Revised figures: "only" FOURTY of ninety-three tests fail with a corrupted registration list

svn path=/trunk/; revision=41811
2009-07-08 19:40:54 +00:00
KJK::Hyperion
dfccee750d modified tests/pseh2/psehtest.c
Test case for bug #4663 (still unsolved)
   New sanity check for correct unlinking of the frame. !!!EIGHTY TESTS OUT OF NINETY-THREE CURRENTLY FAIL THIS!!!

svn path=/trunk/; revision=41810
2009-07-08 19:30:02 +00:00
Samuel Serapion
e89338deae Remove unneeded character in ROS_PREFIX case of invocation so that TryToDetectThisCompiler() doesn't fail
svn path=/branches/ros-amd64-bringup/; revision=41809
2009-07-08 17:28:52 +00:00
Jeffrey Morlan
24fe0f5f8c In cmd: free all memory before exiting to prevent "memory leak" messages (bug 4510). Also, CMD /? should exit with a code of 1 instead of 0.
svn path=/trunk/; revision=41808
2009-07-08 17:28:21 +00:00
Thomas Bluemel
6ddc722505 Simplify code, thx Ged
svn path=/trunk/; revision=41807
2009-07-08 16:57:12 +00:00
Timo Kreuzer
3fc14e0331 [FORMATTING]
no code change

svn path=/trunk/; revision=41806
2009-07-08 16:19:11 +00:00
Thomas Bluemel
8d45a2401a Allow activating tasks
svn path=/trunk/; revision=41805
2009-07-08 14:33:25 +00:00
Samuel Serapion
09fa8c5b2c Remove unneeded character in ROS_PREFIX case of invocation
svn path=/branches/ros-amd64-bringup/; revision=41804
2009-07-08 08:13:37 +00:00
Cameron Gutman
137c0f6dd5 - Fix retrieval of the default gateway (missing default gateway in ipconfig)
svn path=/trunk/; revision=41803
2009-07-08 07:33:12 +00:00
Cameron Gutman
43a5a4bdb5 - Remove an old hack (r14812) which limited ROS to use only one DNS server
svn path=/trunk/; revision=41802
2009-07-08 07:02:33 +00:00
KJK::Hyperion
1aef6c7fa4 Reverting part of r40006 that introduced a regression (Arch Blackmann HAS been committing to mingw-w64). A real fix, if this is hiding a bug elsewhere, will have to wait until a proper vendor drop of mingw-w64
svn path=/trunk/; revision=41801
2009-07-08 00:48:05 +00:00
Gregor Schneider
453d1d9077 AlphaBlend:
- Return immediately if any bitmap size is smaller than zero
- Also check calculated input bitmap size against source size
- Remove outdated FIXME
- Fixes three gdi32 bitmap winetests

svn path=/trunk/; revision=41800
2009-07-07 16:58:36 +00:00
Gregor Schneider
e80cf32fd5 Geoffroy Couprie <geo DOT couprie AT gmail DOT com>:
- Fix a printf case, where the exponent is zero
- Implement exponent increment/decrement for printf in scientific notation
My changes <grschneider AT gmail DOT com>:
- Change some lessequal/greaterequal to equal
- Exchange OR with AND operation
- Modify patch identation to match current code, remove FIXME
- Skipped the ecvt part of the patch (not needed, sprint has the bugs)
- Fixes five msvcrt printf winetests, see bug #4584 for more information

svn path=/trunk/; revision=41799
2009-07-07 16:19:34 +00:00
James Tabor
552a269ce8 - Add another Vista function WindowFromPhysicalPoint to user32.
svn path=/trunk/; revision=41798
2009-07-07 16:19:23 +00:00
Cameron Gutman
4837e387d0 - Recommit r41782 now that DHCP is ready for the fix
- Start the indexes at 0 (Software loopback will take index 0)

svn path=/trunk/; revision=41797
2009-07-07 05:29:37 +00:00
Cameron Gutman
bfee1bad64 - Remove a bad ASSERT
- TCPPacketSendComplete isn't called from oskittcp

svn path=/trunk/; revision=41796
2009-07-07 04:47:48 +00:00
Cameron Gutman
fc4ea7b821 - Set Size to the size of the buffer we allocated (it previously had stack garbage in it which prevented proper buffer sizing)
- Fixes a buffer overwrite
 - Multiple NIC support is here! (DHCP currently doesn't work for multiple NICs so a static IP address is needed for now)

svn path=/trunk/; revision=41795
2009-07-07 04:40:54 +00:00
James Tabor
94b14962cf - Hit another one. Check window is still alive.
svn path=/trunk/; revision=41794
2009-07-07 03:23:27 +00:00
James Tabor
775000286f - Check window is still alive.
svn path=/trunk/; revision=41793
2009-07-07 00:06:54 +00:00
Stefan Ginsberg
1ab79b4fa3 - Remove a deprecated check from MmpAccessFault -- PsGetCurrentProcess doesn't return NULL since revision 24148.
svn path=/trunk/; revision=41792
2009-07-06 23:35:59 +00:00
James Tabor
a4009f2c99 - Update apptest.
svn path=/trunk/; revision=41791
2009-07-06 20:57:23 +00:00
James Tabor
49042185f8 - fix build.
svn path=/trunk/; revision=41790
2009-07-06 20:56:48 +00:00
James Tabor
9e489f0c75 - Update UpdateLayeredWindow and Indirect.
svn path=/trunk/; revision=41789
2009-07-06 20:56:17 +00:00
Dmitry Gorbachev
b045cc3db5 "Fix" MDL PROBE FAILED! bug #4663.
svn path=/trunk/; revision=41788
2009-07-06 18:28:11 +00:00
Dmitry Gorbachev
e3a50e4fbb Fix compilation with latest GCC.
svn path=/trunk/; revision=41787
2009-07-06 18:26:57 +00:00
KJK::Hyperion
4ff21182dd Reverting incomplete commit r41782 on request of the author
svn path=/trunk/; revision=41786
2009-07-06 18:19:05 +00:00
James Tabor
57aa46671d - Update apitests.
svn path=/trunk/; revision=41785
2009-07-06 16:24:00 +00:00
James Tabor
797cea831c - Update NtGdiOpenDCW to the newest sdk.
svn path=/trunk/; revision=41784
2009-07-06 16:22:11 +00:00
Cameron Gutman
5477d3c2ff - Fix return value of tdiGetMibForIfEntity so it doesn't return a failure status on success
svn path=/trunk/; revision=41783
2009-07-06 07:54:28 +00:00
Cameron Gutman
fe902d9d86 - Register us as a protocol and start the loopback adapter only after we are fully initialized
- Start the loopback adapter before registering as a protocol so binding happens in the correct order (will be important for my next commit)
 - TODO: Cleanup this code

svn path=/trunk/; revision=41782
2009-07-06 04:13:55 +00:00
Matthias Kupfer
c8fc6c56e5 If you hit the close button the taskmanager shouldn't start up anymore
svn path=/trunk/; revision=41781
2009-07-05 15:02:29 +00:00
Dmitry Gorbachev
94fe2f6efe Update Norwegian translations. Lars Martin Hambro, bug #4655.
svn path=/trunk/; revision=41780
2009-07-05 14:51:07 +00:00
Dmitry Gorbachev
bc9c521a84 If exception occurs, leave critical section. Bug #4431.
svn path=/trunk/; revision=41779
2009-07-05 14:08:10 +00:00
James Tabor
0d5243017d - Move PostThreadMessage internals into its own function.
svn path=/trunk/; revision=41778
2009-07-05 07:47:41 +00:00
James Tabor
4419fee70a - Discontinue the use of thread information for the hook check and use client information.
- Moved code around to make it readable.

svn path=/trunk/; revision=41777
2009-07-05 04:00:59 +00:00
James Tabor
3df7c8cf6a - Implement the client shutdown procedure. Tested with wine user32 msg undocumented 0x3B tests. Wine tests: msg: 6175 tests executed (0 marked as todo, 937 failures), 5 skipped.
- Add missing end session types.
- Reference: winproc.c WM_CLIENTSHUTDOWN http://wiki.winprog.org/wiki/Windows_messages

svn path=/trunk/; revision=41776
2009-07-05 02:21:35 +00:00
Cameron Gutman
3c12bab49c - Revert r41761
svn path=/trunk/; revision=41775
2009-07-04 21:28:39 +00:00
James Tabor
77c9c52324 - Cleanup patch tab removeal.
svn path=/trunk/; revision=41773
2009-07-04 16:43:59 +00:00
James Tabor
0aeef70968 - Updates and changes to, with one add on and removal: MenuWindowProc (Not supported in kernel space), PopupMenuWndProcA, PostMessage, SendNotifyMessage and win32k hook debugs.
- Patch by Smiley <johnyadams@hotmail.com>: Wrong PostMessage and SendNotifyMessage behavior, see Bug 4646.
- Reference: Related to TranslateMessage: http://msdn.microsoft.com/en-us/library/aa912145.aspx , Related to PopupMenuWndProcA: Registration of Atom classes, Unicode only: http://www.reactos.org/archives/public/ros-dev/2007-October/009976.html

svn path=/trunk/; revision=41772
2009-07-04 16:31:11 +00:00
Timo Kreuzer
43005003c0 Implement PALETTE_ulGetNearestPaletteIndex and PALETTE_ulGetRGBColorFromIndex, replacing COLOR_LookupNearestColor and COLOR_PaletteLookupPixel
Implement PALETTE_vGetBitMasks

svn path=/trunk/; revision=41771
2009-07-04 13:56:33 +00:00
Christoph von Wittich
b6a256d5f2 sync localui with wine 1.1.25
svn path=/trunk/; revision=41770
2009-07-04 11:52:35 +00:00
Christoph von Wittich
2a8f77e56f sync jscript with wine 1.1.25
svn path=/trunk/; revision=41769
2009-07-04 11:49:53 +00:00
Christoph von Wittich
1e74322bd6 sync cryptui with wine 1.1.25
svn path=/trunk/; revision=41768
2009-07-04 11:47:38 +00:00
Timo Kreuzer
954c70f444 Remove useless function
svn path=/trunk/; revision=41767
2009-07-04 11:45:42 +00:00
Christoph von Wittich
bf334e3e90 sync cryptdlg with wine 1.1.25
svn path=/trunk/; revision=41766
2009-07-04 11:44:39 +00:00
Christoph von Wittich
aec2100352 sync crypt32 with wine 1.1.25
svn path=/trunk/; revision=41765
2009-07-04 11:41:32 +00:00
Dmitry Chapyshev
ed3075871f - GetProcessHeap -> RtlGetProcessHeap
- Add checks at heap allocation
- Add some debug prints

svn path=/trunk/; revision=41764
2009-07-04 08:48:18 +00:00
Cameron Gutman
1511c65eb3 - Don't use a global interface_info struct
- This should allow for multiple NIC support but it's currently broken because GetIfTable returns invalid information for NICs after the first one which prevents DHCP initialization for those adapters

svn path=/trunk/; revision=41763
2009-07-04 03:36:19 +00:00
Timo Kreuzer
4e4637dbb8 Merge eng/palette.c, objects/palobj.c and objects/color.c into objects/palette.c, dropping some useless bitrotting code. The rest of the code needs some love and cleanup.
Btw, Arch, how's the weather?

svn path=/trunk/; revision=41762
2009-07-04 00:18:32 +00:00
Cameron Gutman
37671f6a9e - Fix a typo
svn path=/trunk/; revision=41761
2009-07-04 00:04:05 +00:00
Timo Kreuzer
2120170004 [FORMATTING]
palette.c: remove extended header, fix indentation, no code change

svn path=/trunk/; revision=41760
2009-07-03 23:06:04 +00:00
Timo Kreuzer
5fcc972751 [FORMATTING]
palobj.c: Fix indentation, no code change.

svn path=/trunk/; revision=41759
2009-07-03 22:47:33 +00:00
Sylvain Petreolle
5110e854a6 - Disable debugging flood
svn path=/trunk/; revision=41758
2009-07-03 22:41:56 +00:00
Dmitry Chapyshev
5dbd7278db - .def -> .spec
- Add stubs for AsrAddSifEntryW, AsrCreateStateFileW, AsrFreeContext, AsrRestorePlugPlayRegistryData

svn path=/trunk/; revision=41756
2009-07-03 11:21:42 +00:00
Dmitry Chapyshev
b060be6762 - Fixes return values for PeekMessageA/W
svn path=/trunk/; revision=41755
2009-07-03 09:53:34 +00:00
Dmitry Chapyshev
09f8aa06a9 - Use PWINDOW_OBJECT instead HWND in PostTimerMessages, IntGetPaintMessage, co_MsqTranslateMouseMessage, co_MsqPeekHardwareMessage, co_MsqFindMessage, co_MsqWaitForNewMessages, MsqGetTimerMessage, MsqGetFirstTimerExpiry, co_IntPeekMessage
- Allow hWnd equal -1, 0x0000ffff, 0xffffffff
- Fixes 3 winetests for PeekMessageA/W

svn path=/trunk/; revision=41754
2009-07-03 09:37:44 +00:00
James Tabor
86fe4eade9 - More Window Threads issues. Need to finish the window object rewrite!
svn path=/trunk/; revision=41753
2009-07-03 08:03:56 +00:00
Cameron Gutman
5e7a8d3a1a - TCPIP lock rewrite (part 3 of 3)
- Use a spin lock to protect the signalled connections list
 - Add a debug ASSERT into each function that depends on the TCPLock being held
 - Release TCPLock before completing the IRP
 - Add some locking where it was forgotten
 - Optimize HandleSignalledConnection

svn path=/trunk/; revision=41752
2009-07-03 06:28:59 +00:00
Cameron Gutman
4c8e421fe9 - TCPIP locking rewrite (part 2 of x)
- Add locking in places that need it
 - Eliminate double acquisition of TCPLock for the same request
 - Next step: Verify that all places that need locking have it

svn path=/trunk/; revision=41751
2009-07-03 00:57:47 +00:00
Dmitry Gorbachev
e50ff89e86 Color schemes by Peter Dimitriu. Bug #4654.
svn path=/trunk/; revision=41750
2009-07-02 22:41:39 +00:00
Matthias Kupfer
f71dce8c39 IntIsMenu() removed - use UserGetMenuObject() instead
svn path=/trunk/; revision=41749
2009-07-02 22:28:58 +00:00
Colin Finck
6f56231f21 Merge the OpenTTD update from 0.3.10 branch
svn path=/trunk/; revision=41748
2009-07-02 21:18:18 +00:00
James Tabor
a9a2a4be8f - In the process of rewriting IntGdiCreateDisplayDC, making it an intermediate level support function for IntGdiCreateDC.
svn path=/trunk/; revision=41744
2009-07-02 19:09:32 +00:00
Benedikt Freisen
d5fa564670 Fixed cropping function and implemented size boxes
svn path=/trunk/; revision=41742
2009-07-02 17:02:37 +00:00
Daniel Reimer
8371c9d0d1 Bug 4636: Romanian translation patch by Dimitriu Petru
Bug 4638: Japanese translation update for some files by Tomoya Kitagawa
Bug 4651: Unfinished translation to polish (ichoroszi@gmail.com)
Bug 4652: update for slovak and others translations by Mario Kacmar

svn path=/trunk/; revision=41739
2009-07-02 08:33:06 +00:00
Johannes Anderwald
6b46801171 - Register a device interface for each stream
svn path=/trunk/; revision=41738
2009-07-02 07:58:06 +00:00
Cameron Gutman
21929c948e - tcpip locking rewrite (part 1 of x)
- Use ExInterlocked list functions to manipulate the request lists
 - Fix usage of the wrong lock to protect the listen request list
 - Next step: Optimize usage of TCPLock

svn path=/trunk/; revision=41737
2009-07-02 07:16:50 +00:00
Cameron Gutman
661d9e889c - Don't cancel already completed requests
- Fix potential NULL pointer access
 - Actually disassociate the address file and connection in DispTdiDisassociateAddress
 - Insert new requests at the end of the list not the beginning

svn path=/trunk/; revision=41736
2009-07-02 06:51:34 +00:00
James Tabor
b0f7201ddb - wine sync dde.c and dde_private.h to 1.1.24.
svn path=/trunk/; revision=41735
2009-07-02 05:07:12 +00:00
Matthias Kupfer
a0680b7d25 Mikhail Denisenko <denisenkom AT gmail DOT com>
- Add symbols to system menu by using marlett font.
- See issue #4450 for details.

svn path=/trunk/; revision=41733
2009-07-01 21:56:44 +00:00
Christoph von Wittich
9f3c9390f1 fix msvc build
svn path=/trunk/; revision=41732
2009-07-01 21:31:13 +00:00
Matthias Kupfer
f11dc64ecc change to LOGFONTW, because it's unicode
svn path=/trunk/; revision=41730
2009-07-01 20:54:40 +00:00
Colin Finck
8e916f0d4b Add some more working apps to the Downloader list, update the RosBE link.
Based on a patch by Victor Martinez

svn path=/trunk/; revision=41729
2009-07-01 19:49:45 +00:00
Benedikt Freisen
18bef83e69 Paint:
- Fixed new bug in palette drawing (replacing a + by a -)
- Added "Show grid" and "Show miniature" functions
- Therefore changed the menus -> please check translations

svn path=/trunk/; revision=41728
2009-07-01 19:24:17 +00:00
James Tabor
345be0f17a - Add more vista types. Added another window message type, based on winproc.c. Added two vista prototypes for ntuser.
- Implemented new PostMessage and SendNotifyMessage, this is for bug 4646. I realize the need to update/sync dde code from wine. This relates to the new post and send functions and the use of MsgiKMToUMMessage. Trying to understand this mess.
- CreateDesktop is used to create the HWND_MESSAGE for the desktop. This is a work in progress. The ntuser prototype is updated too. Now pass the correct data from user to kernel space.
- Major update to event code and testing with user32 wine test msg. ATM, only two ntuser notifications are sent if the app has a event hook. Need to add more notifications at the correct points.
- Code arranging in hooks. Testing with user32 cross test works, need to add more ntuser hook calls at the correct points.
- Testing: More is required! User32 cross tests win and msg, win test hangs at flush_events. FF 1.5.x (Still has that funny minimize bug. Play with it and see. Missing one more check I think.) and AbiWord 2.4.1. Notepad lite is doing something very naughty inside it's hook call, with out the source, testing it will be imposable, so someone needs to find an open source program that does the same thing.
- Reference: Drag and drop file into window: winproc.c WM_COPYGLOBALDATA http://wiki.winprog.org/wiki/Windows_messages

svn path=/trunk/; revision=41727
2009-07-01 17:19:16 +00:00
Johannes Anderwald
67c08d9b00 - Remove dead code
- Reuse free audio handle index

svn path=/trunk/; revision=41726
2009-07-01 15:00:12 +00:00
Johannes Anderwald
f6ef04567a - Partly Implement StreamClassReadWriteConfig
- Allocate a HwInstance buffer which is passed to each instantiated filter instance

svn path=/trunk/; revision=41725
2009-07-01 14:44:31 +00:00
Dmitry Gorbachev
645b22988a Fix some warnings / bugs.
svn path=/trunk/; revision=41724
2009-07-01 09:59:47 +00:00
Cameron Gutman
fdb5cd14fe - Fix corruption of ARP target protocol address
- We were copying the address type (1 byte) and 3 bytes of the target address instead of all 4 bytes of the target address

svn path=/trunk/; revision=41723
2009-07-01 05:14:56 +00:00
Timo Kreuzer
8cb1238455 intrin_x86: Don't test for __MSVCSRT__ when implementing _rotr and _rotl. gcc defines __MSVCSRT__ and "knows" these funtions, but doesn't implemnt them.
svn path=/trunk/; revision=41722
2009-07-01 00:40:07 +00:00
Cameron Gutman
fd848cadad - Put the correct source address in Raw IP and UDP packets
- Remove (now unused) IPGetDefaultAddress which just broke things
 - Fixes responses from different IP addresses when trying to ping the loopback adapter
 - See issue #4573 for more details

svn path=/trunk/; revision=41720
2009-06-30 21:14:21 +00:00
James Tabor
5ad493ce71 - Implement support function adding global atoms in win32k.
svn path=/trunk/; revision=41719
2009-06-30 19:12:02 +00:00
Cameron Gutman
95f968d50b - Restore a value that is lost in MiniportReset when AddressingReset is TRUE
- I need to do more investigation on which values need to be restored but I know CurrentLookahead is one of them
 - Add support for protocol-initiated miniport resets

svn path=/trunk/; revision=41718
2009-06-30 18:44:26 +00:00
Christoph von Wittich
2fc619f0ec this should fix ATI IXP700 in compat mode
See issue #4591 for more details.

svn path=/trunk/; revision=41717
2009-06-30 15:57:20 +00:00
Colin Finck
f0b9fbd0f9 SVN maintenance: Add missing svn:ignore properties to many directories and fix some existing ones
svn path=/trunk/; revision=41716
2009-06-30 15:39:49 +00:00
Colin Finck
3c23e13901 Remove non-existing "windows" module, the "optional" one is still just virtual.
See issue #4645 for more details.

svn path=/trunk/; revision=41715
2009-06-30 15:09:08 +00:00
Christoph von Wittich
25e9d83a07 replace some values by constants
svn path=/trunk/; revision=41714
2009-06-30 14:21:33 +00:00
Aleksey Bragin
e468760dd8 - Rewrite VideoPort and Win32k (Eng) event functions to:
* Use a documented ENG_EVENT structure (thus be compatible with Windows videoprt/win32k) instead of a stupid (PKEVENT) casting everywhere through EngEvent or VideoPort event functions;
 * Implement additional checks for user mapped events in EngDeleteEvent and EngWaitForSingleObject;
 * Implement EngReadStateEvent and EngClearEvent.
 * Provide a better, readable code which matches kernelstyle coding guidelines;
 * Remove (stub out) totally incorrect and buggy map user events support;
- Compile videoprt with ms-extensions flag enabled.

svn path=/trunk/; revision=41713
2009-06-30 13:42:42 +00:00
Aleksey Bragin
615a35bf83 - Remove empty directory (include/reactos/drivers/drivers).
svn path=/trunk/; revision=41712
2009-06-30 13:10:27 +00:00
Christoph von Wittich
b82cc3d686 get rid of obsolete SHLocalAlloc/Free functions and export the correct v6 functions instead
patch by <jerome dot gardou at laposte dot net>

svn path=/trunk/; revision=41711
2009-06-30 10:48:41 +00:00
ReactOS Portable Systems Group
c254a0e212 - Move MmIsThisAnNtSystem and MmQueryMemorySize to mmsup.c instead of randomly in mminit.c.
- Cleanup some externs that were never referenced in mminit.c.
- Remove MiShutdownMemoryManager since it was dead code.
- There is no need to define the MiKseg0Start/End variables and loop through the memory descriptors to find the last kernel image. We already have this information through LoaderPagesSpanned saved in MmBootImageSize.
  - Removed these variables, code that depended on them, and MiGetLastKernelAddress, and switch to just using MmBootImageSize, which simplifies things a lot.
- Also simplify the way that the initial memory latout is setup. Now the PFN database will always start after MmBootImageSize + KSEG0_BASE, instead of relying on the fact FreeLDR, on certain machines, may have had leftover space in the 6MB allocation that it makes (And worse, assuming FreeLDR on all architectures will allocate 6MB).
  - This standardizes the PFN database address and makes the code portable.
  - Same for the nonpaged pool address.
- Should not call MmInitializeHandBuiltProcess for the idle process -- this will be called for the system process in PsCreateProcess.
  - The only thing we need, as the comment says, is the kernel MADDRESS_SPACE, so just initialize the lock for it.
- Do not zero MmStats since the load-linker takes care of that for us since it's a global.


svn path=/trunk/; revision=41710
2009-06-30 10:45:36 +00:00
ReactOS Portable Systems Group
15eecb0b40 - Cleanup some debug-only debug prints.
- Make the VA-range-printing debug prints match the same format as those in ReactOS Mm (MiDbgKernelLayout).
  - Add the appropriate number of spaces so that the layout appears continuous, even though it's coming from two source files.
  - This makes it easy to see the VA mappings at boot (but not all of them).


svn path=/trunk/; revision=41709
2009-06-30 10:38:51 +00:00
ReactOS Portable Systems Group
f91f8ec7cf - Rewrite MmAllocateNonCachedMemory and MmFreeNonCachedMemory to use the new functionality present in ARM3.
- These functions now use the MDL routines to allocate their physical memory, since the constraints and requirements are identical as for a non-cached MDL mapping.
  - As for the virtual address space, it is guaranteed once again by System PTEs!
    - If it's not getting old already, optimizations to the System PTE code will, yet again, yield improvements here as well.
- This is the last large kernel-facing memory allocator that needed updating to use System PTEs instead.
  - Only the pool allocator remains (which, for nonpaged pool, also uses System PTEs, present in the nonpaged pool expansion VA).
    - That effort will take significantly longer.


svn path=/trunk/; revision=41708
2009-06-30 08:55:18 +00:00
ReactOS Portable Systems Group
bd27f08336 - Major rewrite of Memory Descriptor List (MDL) implementation (moving it towards using System PTEs).
- MmCreateMdl, MmSizeOfMdl: No Change.
  - MmBuildMdlForNonPagedPool: Do not use MmGetPfnForProcess, just normal PMMPTE manipulation.
    - This seems to cause issues in certain scenarios, because in ReactOS, nonpaged pool, a resident and guaranteed resources, does not always have its PDEs mapped!
    - By calling MmGetPfnForProcess, this wound up in the annals of ReactOS mm code, which lazy-remapped the PDE. We detected this issue specifically in the cache manager, and fixed it there. It should not appear anywhere else.
  - MmAllocatePagesForMdl, MmAllocatePagesForMdlEx, MmFreePagesFromMdl:
    - The *Ex function is now implemented.
    - Allocating pages now uses MiAllocatePagesForMdl, which is based on the older MmAllocPagesSpecifyRange.
      - The code is cleaner, better commented, and better handles partial MDLs.
      - Cache flags are still ignored (so the Ex functionality isn't really there).
  - MmMapLockedPages, MmMapLockedPagesSpecifyCache, MmUnmapLockedPages:
    - These functions now use System PTEs for the mappings, instead of the hacked-up "MDL Mapping Space".
      - This frees up 256MB of Kernel Virtual Address Space.
      - Takes advantage of all System PTE functionality.
      - Once again, optimizations in the System PTE code will be felt here.
    - For user-space mappings however, the old code is still kept and used.
      - MiMapLockedPagesInUserSpace and MiUnMapLockedPagesInUserSpace are now in virtual.c and provide this.
  - MmProbeAndLockPages, MmUnlockPages:
    - The pages are actually probed now, in SEH. This did not seem to happen before (did someone misread the function's name?)
    - Probe for write is only done for write access to user pages (as documented).
    - We do not probe/check for write access for kernel requests (force Operation to be IoReadAccess).
    - Proper locking is used now: Address Space lock for user mappings, PFN lock for kernel mappings.
    - Faulting in pages (to make them available before locking) is now done outside the address space/PFN lock.
      - You don't want to be holding a spinlock/mutex while doing disk I/O!
    - For write/modify access, if the PTE is not writable, fail the request since the PTE protection overrides.
      - However, if the PTE is writable but also copy on write, then we'll fault the page in for write access, which is a legitimate operation for certain user-mode scenarios.
      - The old version always provided the CopyOnWrite behavior, even for non-CopyOnWrite pages!
    - Reference and lock every valid page that has a PFN entry (non-I/O Pages).
      - The older code did not seem to lock pages that had to be faulted in (weren't already valid).
    - Cleanup the cleanup code (no pun intended). Because we now mark the pages as locked early-on, and because of changes in MmUnlockPages, we can simply use MmUnlockPages in case of error, since it will be able to fully back-out and references/locks that we did.
      - Previous code attempted to do this on its own, in a pretty inconsistent manner, which would leave page leaks (both in references and lock count).
    - In MmUnlockPages, not as many changes, but we now:
      - Still make sure that an I/O Mapping MDL doesn't have valid PFN database pages (non-I/O).
        - An MDL can cover pages that are both I/O mapped and RAM mapped, so we have to unlock/dereference the latter instead of skipping them as the old code did.
      - Use the PFN lock when checking pages and unlocking/dereferencing them.
  - Overall, non-complete MDLs are now marked by having a -1 PFN, and the MDL code has been updated to early-break out of page-scanning loops and/or ignore such pages, which can happen in a sparse MDL.
  - Implementation has been tested on VMWare and QEMU for a variety of tasks and was found to be reliable and stable.

svn path=/trunk/; revision=41707
2009-06-30 08:29:22 +00:00
Cameron Gutman
fdf20e8c9a - Memtrack enhancements
- It now warns us when it detects an entry that wasn't freed by a memtrack-enabled function
 - It also provides some info when it detects a double free
 - Removed some extra tag tracking junk

svn path=/trunk/; revision=41705
2009-06-30 02:30:36 +00:00
Matthias Kupfer
90f47c629c - revert selecting color and inactive menu state, because it doesn't work that way
- needs further invastigation

svn path=/trunk/; revision=41704
2009-06-30 00:44:59 +00:00
Colin Finck
66873243b7 Andrew Steinborn (asteinborn78@gmail.com)
- Update Firefox link to 3.0.11
  Will also be merged to the 0.3.10 release once I clean up the Downloader list there.

See issue #4642 for more details.

svn path=/trunk/; revision=41702
2009-06-29 22:21:11 +00:00
Christoph von Wittich
fad8c3dbfa fix formatting
svn path=/trunk/; revision=41700
2009-06-29 21:10:40 +00:00
Cameron Gutman
6bed52e321 - Allocate IP_PACKET on the stack
- Reduces non-paged memory consumption

svn path=/trunk/; revision=41698
2009-06-29 20:18:32 +00:00
Matthias Kupfer
44ab91c5e6 - continue "marletting"
- scrollbar size grip with marlett
- untested for DFCS_SIZEGRIPRIGHT, but should work too

svn path=/trunk/; revision=41697
2009-06-29 20:18:21 +00:00
Christoph von Wittich
c80e60de20 more header cleanup
svn path=/trunk/; revision=41696
2009-06-29 19:50:12 +00:00
Christoph von Wittich
9458da0029 fix build
svn path=/trunk/; revision=41695
2009-06-29 18:47:29 +00:00
Colin Finck
4d9e5830a1 SVN maintenance: Remove some svn:keywords properties
svn path=/trunk/; revision=41694
2009-06-29 18:24:35 +00:00
Christoph von Wittich
c80579baa7 include winreg.h
svn path=/trunk/; revision=41693
2009-06-29 18:23:48 +00:00
Christoph von Wittich
567fa14209 sync test.h with wine 1.1.24
svn path=/trunk/; revision=41691
2009-06-29 17:57:47 +00:00
Christoph von Wittich
5c86565676 define WINE_UNICODE_API msvc compatible
svn path=/trunk/; revision=41690
2009-06-29 17:53:26 +00:00
Christoph von Wittich
9efabca05c some header cleanup
svn path=/trunk/; revision=41689
2009-06-29 17:38:57 +00:00
Matthias Kupfer
6d45e8b2a1 CBS_DISABLENOSCROLL ist quite useless
svn path=/trunk/; revision=41688
2009-06-29 17:24:42 +00:00
ReactOS Portable Systems Group
2d48fb35be - Fix an incorrect (should be 1024) ASSERT by removing it entirely (no real point to having it).
- Fixes issues on systems where it turns out the PDE-alignment actually goes beyond 4 million bytes (since 4MB is a little bit more, and is the maximum alignment-based boost you can get).


svn path=/trunk/; revision=41687
2009-06-29 17:17:22 +00:00
Matthias Kupfer
6ac24476f4 fix scrollbar button issue and make it look like windows
svn path=/trunk/; revision=41686
2009-06-29 16:47:56 +00:00
Christoph von Wittich
35b378556e sync wincrypt.h with wine 1.1.24
svn path=/trunk/; revision=41685
2009-06-29 16:26:46 +00:00
Christoph von Wittich
06f4d32679 -revert IXP700 change as it doesn't seem to fix the issue (AHCI only?)
-fix support for ICH7,ICH7M,ICH8,ICH8M,ICH9,ICH9R,ICH9M and ICH10 in compat mode

svn path=/trunk/; revision=41684
2009-06-29 14:32:37 +00:00
Matthias Kupfer
675f170bbc - minor improvements in drawing
- remarks for problems and further changes

svn path=/trunk/; revision=41682
2009-06-29 11:23:10 +00:00
James Tabor
15f261eec5 - Fix build: use gpsi->dwInstalledEventHooks instead of gpsi->SrvEventActivity
svn path=/trunk/; revision=41680
2009-06-29 06:07:15 +00:00
Timo Kreuzer
5dd7ba40f8 - Remove ntuser syscolor functions from win32k (NtUserCallTwoParam)
- Remove syscolor pen support from win32k
- use gpsi->dwInstalledEventHooks instead of gpsi->SrvEventActivity
- remove reactos specific fields from SERVERINFO

svn path=/trunk/; revision=41679
2009-06-29 03:36:31 +00:00
Timo Kreuzer
314b21119c Get rid of the SysColorPen stuff in user32, it's a wine concept. Use DC pen instead.
svn path=/trunk/; revision=41678
2009-06-29 02:49:57 +00:00
Johannes Anderwald
cbad176bd8 - Remove alternative definition of KSDATAFORMAT which was introduced in 41468 and also exists in MS header
- Fixes breakage of AC97 in real hw
- MS should start fixing their headers

svn path=/trunk/; revision=41677
2009-06-28 23:16:41 +00:00
Christoph von Wittich
6a728de43e add SIIMIO flag for IXP700 like done for Silicon Image controllers
svn path=/trunk/; revision=41676
2009-06-28 21:02:44 +00:00
Aleksey Bragin
5f39190d38 - Prevent PEVENT type redifinition (which is fine with MSVC but not with GCC).
svn path=/trunk/; revision=41675
2009-06-28 20:52:37 +00:00
Johannes Anderwald
92fa1b9f95 - Fix broken check for KSDATARANGE_AUDIO
- Zero struct

svn path=/trunk/; revision=41674
2009-06-28 20:06:45 +00:00
Aleksey Bragin
07fd6e0b76 - Add ENG_EVENT structure definition (from MSDN) to ntddvdeo.h.
- Fix PEVENT definition in video.h: it's not some mystic VIDEO_PORT_EVENT which is not defined anywhere, it's a documented structure, which has to be compatible with the structure used in win32k EngEvent* functions too.

svn path=/trunk/; revision=41673
2009-06-28 18:58:45 +00:00
Matthias Kupfer
831c3b7900 add svchost.exe to install package
svn path=/trunk/; revision=41672
2009-06-28 18:23:05 +00:00
Daniel Reimer
4a92fcca6f Sync wordpad and winhlp32 with wine 1.1.24.
svn path=/trunk/; revision=41671
2009-06-28 17:27:56 +00:00
Colin Finck
1daa242cc5 - Give the "windows" module a more meaningful name.
It's now called "optional" as it started to contain other stuff apart from Windows native libraries.
- Add an optional file reference to the Systema font for Japanese text. The Japanese ROS GUI is already using it.
  This is probably just an intermediate solution as the font is Japanese-only (no Chinese or Korean support) and might not fit that well for dialogs, but it should serve us well for some time.

svn path=/trunk/; revision=41666
2009-06-28 14:41:02 +00:00
KJK::Hyperion
b9613ba11f modified base/applications/taskmgr/affinity.c
modified   base/applications/taskmgr/debug.c
modified   base/applications/taskmgr/endproc.c
modified   base/applications/taskmgr/priority.c
   Arch Blackmann has never heard of exotic features of the C language such as "subroutines"

modified   base/applications/taskmgr/dbgchnl.c
modified   base/applications/taskmgr/procpage.c
modified   base/applications/taskmgr/procpage.h
   Did you know that Task Manager killed the wrong process when using the context menu? Fixed by using a sophisticated "subroutine" that reads the process entry index from the currently selected list item's client data, replacing the copy-pasted code that used the index of the list entry as the process entry index (which only worked before due to no sorting)
   Save the sort column and order

modified   base/applications/taskmgr/taskmgr.c
   Sort by image name by default

svn path=/trunk/; revision=41664
2009-06-28 14:22:09 +00:00
Johannes Anderwald
a40dc20557 - Fix build
svn path=/trunk/; revision=41663
2009-06-28 14:12:58 +00:00
Johannes Anderwald
4a0debf9c8 - Start implementing the stream class driver
- Implemented StreamClassRegisterAdapter, StreamClassReenumerateStreams, StreamClassDebugAssert, StreamClassDebugPrint, StreamClassGetDmaBuffer
- Drivers using stream class driver should now be able to initialize

svn path=/trunk/; revision=41662
2009-06-28 13:58:47 +00:00
Christoph von Wittich
593091354a fix formatting
svn path=/trunk/; revision=41661
2009-06-28 13:52:27 +00:00
Dmitry Chapyshev
a291ebef7a - Change icon for msiexec to Tango icon
svn path=/trunk/; revision=41660
2009-06-28 09:21:47 +00:00
ReactOS Portable Systems Group
9aa3e64dfc - Create mmsup.c in ReactOS memory manager directory. It hosts misc support functions:
- Copy kmap.c here, since it's the very definition of "misc support function"
  - Copy some exported functions in mm.c which were listed as "misc functions"
    - Warn that current implementation of MmIsNonPagedSystemAddressValid will kill kittens.
- Rename mm.c to mmfault.c, since other than the misc functions now in mmsup.c, it was all routines to handle page/access faults.
  - Warn that MmIsAddressValid, as currently implemented, kills puppies.
  - Move WriteWatch functions to virtual.c since they're part of the Virtual API system call set already hosted there.
  - Move the global variables that people had been throwing in here to mminit.c, which is slightly more appropriate.
- Move wset.c's MmTrimUserMemory to balance.c, since that's where all other similar functions are located.
  - Incidentally, kill wset.c, as this was the only function present.
- No functional changes, just refactoring and cleanup (other than warning the critter murder the two broken functions will achieve if called).

svn path=/trunk/; revision=41659
2009-06-28 07:52:30 +00:00
ReactOS Portable Systems Group
6da15076da - Move all the functions from drvlck.c and verifier.c to ARM3's drvmgmt.c:
- "Managing driver managing" (by David Welch) is no more... the routines have been properly renamed and cleaned up.
  - Also moved Driver Verifier helper routines in here, and fixed a couple of bugs:
    - Do not allow hooking of the kernel or HAL image (tested on Windows Server 2003)
    - Cleanup some useless variable redefinitions and code complexity.
  - Documented what some of the Mm Lock/Unlock Pageable Section/Driver functions should do, for later if needed.
  - Made aliasses so the typo "Pagable" functions redirect to the correct "Pageable" functions.
  - No functional change -- the Verifier functions were unused, and the drvlock.c functions were unimplemented (and still are).
  - Also move one more *Pageable* function from wset.c to ARM3's drvmgmt.c -- it seemed to have been a lost orphan (Also unimplemented).


svn path=/trunk/; revision=41658
2009-06-28 07:32:52 +00:00
ReactOS Portable Systems Group
ca525de77d - Reimplement MmAllocateContiguousMemory, MmAllocateContiguousMemorySpecifyCache, MmFreeContiguousMemory, MmFreeContiguousMemorySpecifyCache:
- Use a smarter algorithm (as described here: http://www.microsoft.com/whdc/Driver/tips/ContigMem.mspx) to first try to satisfy the allocation by a simple nonpaged pool allocation (for cached requests only).
    - This range is then checked for physical continuity, since it's not guaranteed for non-initial-pool allocations (and right now in ReactOS, it never is).
  - As a fallback, Windows NT then attempts to scan free nonpaged pool pages. This is not yet implemented since the ReactOS nonpaged pool is not usually contiguous (to the level that NT's is).
    - When the ARM pool is implemented and replaces nonpaged pool, this code path will have to be implemented.
  - As a last resort, the actual PFN database is scanned for contiguous free pages.
    - ReactOS used MmGetContiguousPages for this, which blindly scanned the PFN database. New MiFindContinuousPages will scan the physical memory descriptor block recently implemented, which avoids going over pages we already know are going to be unusable.
    - The ReactOS function also held the PFN lock for the entire duration of the scan, which is significant on systems with large memory. Instead, we make an initial unsafe scan first, and only lock when we think we've found a correct range (and we'll then reconfirm the ranges).
    - Finally, the older function actually did a double-scan to try to avoid using memory ranges under 16MB, which was useless on today's systems and also rather inefficient.
    - Other than that, the actual setup of the PFN entry is copy-pasted from the old ReactOS function, so nothing's changed there -- the page still looks the same, but the selection algorithm is faster and more accurate.
  - Once the pages are found, we piggyback on the new I/O mapping mechanism (which uses System PTEs) instead of doing it all over by hand as before.
  - Since the underlying support is still System PTEs, once again, optimizations to that component will yield significant improvements here too.

svn path=/trunk/; revision=41657
2009-06-28 05:43:12 +00:00
James Tabor
25e75aa265 - Add more hooks, where wine has them placed. Fixed user32 hooks for win32k.
svn path=/trunk/; revision=41656
2009-06-28 03:02:15 +00:00
Timo Kreuzer
f0ab7bf60b unbreak build of rostests
svn path=/trunk/; revision=41655
2009-06-28 00:05:51 +00:00
Christoph von Wittich
21351adff5 fix advapi32 crypt winetests
patch sent to wine

svn path=/trunk/; revision=41654
2009-06-27 23:55:29 +00:00
Timo Kreuzer
1fc4b3e8ca [FORMATTING] Fix indentation, no code change
svn path=/trunk/; revision=41653
2009-06-27 23:54:02 +00:00
Timo Kreuzer
36526f9157 Update SERVERINFO, PFNCLIENT, PFNCLIENTWORKER to Windows 7 version, add OEMBITMAPINFO, DPISERVERINFO, PERUSERSERVERINFO
Add -fms-extensions compilerflag to user32, win32k, csrss, win32csr.

svn path=/trunk/; revision=41652
2009-06-27 23:33:57 +00:00
Timo Kreuzer
8af77479df Don't save/change/restore the DC pen in IntDrawScrollInterior, where it's not used at all.
svn path=/trunk/; revision=41651
2009-06-27 23:12:22 +00:00
ReactOS Portable Systems Group
39374c3ad4 - Copying from destination to destination isn't very smart.
- Fix bug when creating the physical memory descriptor block.


svn path=/trunk/; revision=41650
2009-06-27 22:51:23 +00:00
ReactOS Portable Systems Group
e52bb6e5ac - Actually it seems MmGetPhysicalMemoryRanges uses the MmPhysicalMemoryBlock, so go ahead and implement that function.
- Thanks to Matthieu Suiche (http://www.msuiche.net/2008/09/17/retrieving-mmphysicalmemoryblock-regardless-of-the-nt-version/).
  - Move physical.c into ARM3 and call it dynamic.c since these functions are for Dynamic Memory (Hotplug) for Server 2003.
  - Remove the old copyright header, as copy-pasting 5 DDK function definitions and rewriting them to say UNIMPLEMENTED isn't much of a copyright.


svn path=/trunk/; revision=41649
2009-06-27 22:39:03 +00:00
ReactOS Portable Systems Group
b254273e3b - Call MmArmInitSystem for a second time, this time in Phase 1.
- This will call MmInitializeMemoryLimits (now implemented) which will go ahead and create the MmPhysicalMemoryBlock.
    - This block contains the physical memory "runs" that are valid on the system, allowing the PFN database to differentiate between valid and non-valid RAM (instead of marking things as "BIOS").
  - Also this will come in handy later for various utilities.


svn path=/trunk/; revision=41648
2009-06-27 22:16:47 +00:00
Sylvain Petreolle
d7a781de82 Taskmgr didn't build without compilation units,
moving PerfDataGet to perfdata functions fixes it.

svn path=/trunk/; revision=41647
2009-06-27 22:05:53 +00:00
James Tabor
5c0c60f056 - Fix callback set and changed data. Process hooks if we are hooked.
svn path=/trunk/; revision=41646
2009-06-27 20:52:33 +00:00
KJK::Hyperion
dd218680c6 Allow sorting the list of processes in Task Manager by any column. Patch by Maxime Vernier <maximevernier@gmail.com> with fixes by Sylvain Petreolle <spetreolle@yahoo.fr> and KJK::Hyperion <hackbunny@reactos.org>
See issue #4608 for more details.

svn path=/trunk/; revision=41645
2009-06-27 19:16:29 +00:00
Stefan Ginsberg
ad91dd3fcd - Add some defines in preparation for _WINE.
- Add missing ExtDeviceMode and PrivateExtractIconsA/W to PSDK and remove from Wine-only headers, as these are defined in the official PSDK.

svn path=/trunk/; revision=41644
2009-06-27 19:06:00 +00:00
Christoph von Wittich
29572196b7 fix two kernel32 locale winetests
svn path=/trunk/; revision=41643
2009-06-27 18:46:10 +00:00
James Tabor
dc74ea0bbe - Implement the rest of the HCBT_ support.
svn path=/trunk/; revision=41642
2009-06-27 18:36:29 +00:00
Sylvain Petreolle
4c329721d8 Add MIXERCONTROL_CONTROLTYPE_BASS_BOOST and KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
svn path=/trunk/; revision=41641
2009-06-27 14:41:56 +00:00
Stefan Ginsberg
74ddcbe68d - KeDetachProcess & KeUnstackDetachProcess: Fix a typo when swapping back to the original process that would switch _from_ the original process to itself. We now properly swap from the _current_ process.
svn path=/trunk/; revision=41640
2009-06-27 11:07:58 +00:00
ReactOS Portable Systems Group
fea1ac4782 - This patch is lets you visually dump the entire ReactOS PFN database, useful for debugging. Surprising nobody had done in this in the past, since it wasn't too hard (but it took a bit long to figure out how to get it in there).
- That's what she said.


svn path=/trunk/; revision=41639
2009-06-27 09:54:56 +00:00
Cameron Gutman
a932210bfa - Always call the completion handler so we don't leak packet descriptors
- Don't remove the NCE if we fail because it may not be ours
 - Mark the IRPs pending before we insert them into our queue
 - Check that the addresses match so we don't receive somebody else's packets
 - Part 1 of 2

svn path=/trunk/; revision=41638
2009-06-27 08:48:58 +00:00
ReactOS Portable Systems Group
ad9f3a761f - Remove leftover performance tracing code.
svn path=/trunk/; revision=41637
2009-06-27 08:43:56 +00:00
ReactOS Portable Systems Group
ddedfd132a - Reimplement kernel stack allocation (MmCreateKernelStack, MmDeleteKernelStack, MmGrowKernelStack, MmGrowKernelStackEx):
- Use System PTEs.
  - Allocate 12KB stacks with a 4KB guard page, and expand them up to 60KB as required.
    - Previous implementation always allocated 60KB, without any guard page.
  - The result is that on a minimal ReactOS install, simply booting up now requires an average of 0.5MB less of physical memory than before.
  - And once again, optimizations to the system PTE allocation code should significantly improve performance.
  - Should also analyze benefits of using a dead stack slist as done on Windows. (Assembla Ticket #39).


svn path=/trunk/; revision=41636
2009-06-27 08:41:45 +00:00
Christoph von Wittich
5a526879a4 tabs -> spaces
use more consistent indentation

svn path=/trunk/; revision=41635
2009-06-27 07:38:02 +00:00
ReactOS Portable Systems Group
fdf4fe9afa - Allocate enough space for the ARM3 PFN database, and fixup the calculation of the initial nonpaged pool.
- The ARM3 PFN database is more of a "shadow" database not to interfere with the real ReactOS PFN database. It starts at 0xB0000000, which is where the initial nonpaged pool started (which now starts somewhere after the ARM3 PFN database).
- No new behavior has been introduced other than additional physical memory consumption for the PFN DB pages, and updated memory layout in the ARM3 world.


svn path=/trunk/; revision=41634
2009-06-27 07:14:52 +00:00
Cameron Gutman
2d20864907 - Use the timeout that the caller gives us if it is nonzero so we don't block forever if nobody wakes us
svn path=/trunk/; revision=41633
2009-06-27 07:03:45 +00:00
Cameron Gutman
9722b61095 - The timeout value passed to tsleep is in milliseconds and so_linger is in seconds so convert to milliseconds
svn path=/trunk/; revision=41632
2009-06-27 06:59:22 +00:00
ReactOS Portable Systems Group
689615967e - Blow away the bottom 2GB of virtual address space in the ARM^3 initializer. Previously this was kind of done with MmUnmapPageTable in MmInit1, but this code (And the function, which had only been used for this purpose, are gone)
- Also set the Page Directory for the system/idle process in a slightly more correct way, instead of depending on the CR3 value. Do this in ARM^3 now, and remove the older code (and the MmGetPageDirectory function, which was only used by this).


svn path=/trunk/; revision=41631
2009-06-27 05:32:53 +00:00
Cameron Gutman
dabb3e9f98 - Don't leave the listen IRP in the queue when cancelling the listen request
- Kill all the requests before closing the socket
 - Notify oskittcp when we are cancelling requests so it can properly close the socket

svn path=/trunk/; revision=41630
2009-06-27 03:23:10 +00:00
Cameron Gutman
97d8658da9 - Acquire the cancel spin lock before calling IoSetCancelRoutine
- Remove some extra junk

svn path=/trunk/; revision=41629
2009-06-27 03:14:06 +00:00
ReactOS Portable Systems Group
128aefcd63 - Rewrite MmMapIoSpace and MmUnmapIoSpace to use System PTEs instead.
- Much faster and cleaner (will be even faster when System PTE allocation is optimized).
- Better handling of esoteric caching options, especially relevant for ARM.
  - Handled through the MiPlatformCacheAttributes, which should be defined differently for each platform (TODO).
    - Handles both I/O (device) and RAM physical memory.
- Correct flushing of CPU caches (not a big deal on x86, but matters on ARM).


svn path=/trunk/; revision=41628
2009-06-27 03:03:24 +00:00
ReactOS Portable Systems Group
6e8a0cf662 - ARM3-ify hypermap.c
svn path=/trunk/; revision=41627
2009-06-27 03:00:35 +00:00
ReactOS Portable Systems Group
a39c949acf - Implement MiReleaseSystemPtes which is the function to deallocate System PTE allocations.
- We do some minor optimizations to combine chunks if possible after a free, similar to MD Block algorithms in freeldr.c.

svn path=/trunk/; revision=41626
2009-06-27 02:56:58 +00:00
Johannes Anderwald
a0803f70c2 - Add STREAM_DEBUG_LEVEL
svn path=/trunk/; revision=41625
2009-06-26 16:30:44 +00:00
Johannes Anderwald
8b461b7616 - Write strmini.h for stream class driver
svn path=/trunk/; revision=41624
2009-06-26 15:51:14 +00:00
Johannes Anderwald
af23e9415c - Callback routine expects fdo
- Fix boot

svn path=/trunk/; revision=41623
2009-06-26 14:17:12 +00:00
Johannes Anderwald
a74571e0a9 - fix build broken in rev 41621
svn path=/trunk/; revision=41622
2009-06-26 13:08:09 +00:00
Johannes Anderwald
28685db4e4 - Rewrite PcRegisterIoTimeout, PcUnregisterIoTimeout to support more than one PIO_TIMER_ROUTINE per device object
svn path=/trunk/; revision=41621
2009-06-26 12:05:13 +00:00
Aleksey Bragin
d6d058ab49 - Implement NtSetThreadExecutionState (in place of what has been committed in r41599 and reverted in 41619).
svn path=/trunk/; revision=41620
2009-06-26 09:39:00 +00:00
Christoph von Wittich
c98e73cfce revert 41599
svn path=/trunk/; revision=41619
2009-06-26 07:22:34 +00:00
Christoph von Wittich
4e67d94e81 fix formatting
svn path=/trunk/; revision=41618
2009-06-26 06:34:25 +00:00
James Tabor
f69cbf46cc - Fix breakage when in HCBT_CREATEWND callback.
svn path=/trunk/; revision=41617
2009-06-26 02:10:52 +00:00
James Tabor
336fb5e2d6 - Turn off callback for HCBT_CREATEWND.
svn path=/trunk/; revision=41616
2009-06-26 00:30:54 +00:00
James Tabor
576c4e61fe - Fix ATOM check for HCBT_CREATEWND callback.
svn path=/trunk/; revision=41615
2009-06-25 21:00:16 +00:00
James Tabor
f1ab1a2cae - Implement HCBT_CREATEWND support. Tested with user32 cross wine tests, still hangs on win test. For Christoph.
svn path=/trunk/; revision=41614
2009-06-25 20:39:32 +00:00
Sylvain Petreolle
8ce3178f05 Add accessibility keys.
svn path=/trunk/; revision=41613
2009-06-25 19:58:12 +00:00
Johannes Anderwald
7480a839ca - revert 41605 as its incorrect
svn path=/trunk/; revision=41612
2009-06-25 18:48:46 +00:00
Christoph von Wittich
c1b0f80304 sync shell32 with wine 1.1.24
svn path=/trunk/; revision=41611
2009-06-25 14:39:01 +00:00
Dmitry Gorbachev
ff37974bba Remove a hack from NtAccessCheck(). Bug #4169.
svn path=/trunk/; revision=41610
2009-06-25 13:29:58 +00:00
KJK::Hyperion
d53c35b02b No reason to compile PSEH2 with other compilers than GCC
svn path=/trunk/; revision=41607
2009-06-25 10:27:57 +00:00
Johannes Anderwald
f760f8c906 - Don't modify access status when function fails
- reduces advapi32_winetest security failures by 3

svn path=/trunk/; revision=41605
2009-06-25 07:16:26 +00:00
Timo Kreuzer
68ccd5f6e4 Rewrite (NtUser)SystemParametersInfo and related.
- Instead of getting the data from the window station and other strange places, the values are now mostly stored in a global variable. This is possible because NtUserSystemParametersInfo should fail anyway when being called from a non-interactive windowstation (tested on windows XP).
- WM_SETTINGCHANGE is now properly sent not posted to all toplevel Windows also passing the registry string as the lParam value (strings could need some testing).
- SystemMetrics are now set and updated from system parameters.
- Most values are now properly loaded from registry and also saved.
- user32_winetest sysparams: before: 634 executed / 235 failures, after: 1093 executed, 11 failures
- Fixes the non-bold caption font in 2nd stage.
- Implements a number SPI codes.
- Implements helper functions for registry and file access
Thanks to all testers for all the regression testing :)


See issue #4595 for more details.

svn path=/trunk/; revision=41604
2009-06-25 02:43:38 +00:00
Dmitry Gorbachev
8101b8e12f Hack: partially undo r38510 changes to overcome regression (bug #4169).
svn path=/trunk/; revision=41603
2009-06-24 22:23:29 +00:00
Christoph von Wittich
1ef5fa35af fix typo
svn path=/trunk/; revision=41602
2009-06-24 22:12:48 +00:00
Christoph von Wittich
d01aa9d736 fix formatting
svn path=/trunk/; revision=41601
2009-06-24 22:07:50 +00:00
Cameron Gutman
5d33bdc236 - Fix a crash that happens when we are running at APC_LEVEL, acquire the recursive mutex (which improperly handled APC_LEVEL), then attempt to access paged pool (or do anything else that depends on Irql < DISPATCH_LEVEL)
- Optimize the code for acquiring and releasing the recursive mutex at DISPATCH_LEVEL

svn path=/trunk/; revision=41600
2009-06-24 21:57:48 +00:00
Christoph von Wittich
5206a90897 stub NtSetThreadExecutionState needed by PowerPoint Viewer 2003
svn path=/trunk/; revision=41599
2009-06-24 19:53:54 +00:00
Christoph von Wittich
b1dcc588eb fix crash while loading PowerPoint 2003 Viewer
See issue #4624 for more details.

svn path=/trunk/; revision=41598
2009-06-24 19:53:06 +00:00
Stefan Ginsberg
de0a0cf543 - Hey Arch, try to learn basic PSEH2 syntax before fuddling around with it.
svn path=/trunk/; revision=41597
2009-06-23 23:06:10 +00:00
Cameron Gutman
5c78f6d219 - Fix the order of checks
svn path=/trunk/; revision=41590
2009-06-23 14:51:50 +00:00
Cameron Gutman
d516d6898c - We only need 11 chars to hold our 32-bit integer and the trailing NULL char
- Make sure we don't overread our buffer

svn path=/trunk/; revision=41589
2009-06-23 14:47:48 +00:00
Cameron Gutman
42e13d3260 - Move NDIS_VERSION into ndissys.h and use it for NdisGetVersion also
svn path=/trunk/; revision=41587
2009-06-23 14:09:59 +00:00
Cameron Gutman
39572f4e0d - Fix adapter failure if a network address of invalid length is specified
svn path=/trunk/; revision=41586
2009-06-23 14:00:49 +00:00
Cameron Gutman
8267318b15 - Fix a crash when reading the network address from the registry
- Fixes bug 4634

svn path=/trunk/; revision=41585
2009-06-23 13:58:56 +00:00
Christoph von Wittich
d8a2e91f8e sync urlmon with wine 1.1.24
svn path=/trunk/; revision=41584
2009-06-23 13:37:11 +00:00
Cameron Gutman
e230289f94 - Fix adapter failure when a network address is not specified in the registry
- As a bonus, it also fixes OID_802_3_PERMANENT_ADDRESS

svn path=/trunk/; revision=41583
2009-06-23 12:41:14 +00:00
Christoph von Wittich
0e7c48671b sync ntdll rtlstr winetest with wine 1.1.24
svn path=/trunk/; revision=41582
2009-06-23 12:02:58 +00:00
Christoph von Wittich
aa2eef5de1 sync crypt32_winetest with wine 1.1.24
svn path=/trunk/; revision=41581
2009-06-23 11:47:46 +00:00
Christoph von Wittich
2d5297edef sync kernel32_winetest with wine 1.1.24
svn path=/trunk/; revision=41580
2009-06-23 11:44:23 +00:00
Christoph von Wittich
c90eb62d17 sync shlwapi with wine 1.1.24
svn path=/trunk/; revision=41579
2009-06-23 11:24:10 +00:00
ReactOS Portable Systems Group
2c293c30c4 - Reimplement the way zeroing PTEs are used:
- First, switch to using system PTEs as it should've been from the beginning. Our original implementation was broken and prone to race conditions, which Dmitry graciously fixed.
  - We can now remove the MiZeroPageInternal hack that was used as a way to avoid deadlock/contention in the zero paths.
  - Zeroing PTEs is done at DPC level in ReactOS, to avoid ReactOS-specific race issues. In Windows NT, this operation is always done at passive.
  - Zeroing PTEs are similar to hyperspace PTEs, but they can be mapped in chunks for optimization. 
    - ReactOS does not currently make use of this functionality, so zeroing is pretty slow, especially on bootup if you have lots of memory (all RAM is zeroed).
    - The existing ReactOS "compatibility layer" for hyperspace was augmented to seamlessly use the new zeroing PTE API.
  - You must now unmap zeroing PTEs -- MiZeroPage was modified to do this.
  - System PTE binning, NBQUEUES and SLISTS would optimize this further. TBD.
- Once again, tested on the trinity of supported emulators.


svn path=/trunk/; revision=41578
2009-06-23 09:34:45 +00:00
ReactOS Portable Systems Group
d11a34b5ed - Jesus Christ man, learn some C, will you?
- Fix boot.
- The lack of colorful poetry is brought to you by cogent human beings on the West Coast whom you should be thankful haven't gone to bed yet.


svn path=/trunk/; revision=41577
2009-06-23 09:23:16 +00:00
ReactOS Portable Systems Group
25941abce1 - So it turns out bad things can happen if you play behind Mm's back.
- The lovely poetry is brought to you by 7AM coding marathons...


svn path=/trunk/; revision=41576
2009-06-23 09:11:01 +00:00
ReactOS Portable Systems Group
9730c51810 - Move ARM Pool to 0xB0000000 to avoid clashing with existing ReactOS address space components (shouldn't happen if things work right, but better safe than sorry).
- Implement System PTE allocator (MiReserveAlignedSystemPtes and MiReserveSystemPtes). Very simple yet functional, no optimizes for now.
- Allocate 32 zeoring PTEs from the System PTE pool.
  - Not used yet, only the allocation is made to test the current framework.
- Tested on VirtualBox, QEMU and VMWare with RAM sizes from 128MB to 1536MB with no problems.


svn path=/trunk/; revision=41575
2009-06-23 07:49:39 +00:00
ReactOS Portable Systems Group
12ed6254a7 - Move hypermap.c into ARM3 since it will be changed to use System PTEs for zero PTEs to solve the current race conditions that had to be fixed/hacked around in the current implementation.
- DO NOT MAP HYPERSPACE PTEs as GLOBAL! They are now mapped as local, which might fix some really strange bugs that could've occured in the past.
- Use MiPteToAddress instead of manually doing the bitmagic when mapping a page into hyperspace.


svn path=/trunk/; revision=41574
2009-06-23 07:32:43 +00:00
ReactOS Portable Systems Group
52fc282ff3 - For one thing, fix build in ARM3/init.c (sorry!)
- Secondly, initialize hyperspace in ARM³ now, at the correct place:
  - Also, create the hyperspace PDE here, and not in FreeLDR, which was incorrect in the first place.
    - This might help booting Windows/WinLDR.
- Install-tested w/ networking, with no issues found, on:
  - Virtual Box 2.4
  - VMWare 6.5
  - QEMU 0.9.0
- PEBKAC?


svn path=/trunk/; revision=41573
2009-06-23 06:39:10 +00:00
ReactOS Portable Systems Group
fbca42cd9f - Do not zero out MC_SYSTEM pages if they are "early pages" either. This could cause issues on certain systems where mapping the PFN database required "early pages", and they were zeroed before hyperspace was ready.
- Add a new flag to MmGetContigousPages to specify if these pages should be zeroed or not. Allows the nonpaged pool pages not to get automatically zeroed when allocated (the NP pool allocator can do this by itself later). This allows initial nonpaged pool to be allocated before hyperspace is ready.


svn path=/trunk/; revision=41572
2009-06-23 06:32:11 +00:00
ReactOS Portable Systems Group
bb161e9df2 - Do not reformat other people's code simply to reformat it.
svn path=/trunk/; revision=41571
2009-06-23 05:00:48 +00:00
ReactOS Portable Systems Group
a0a3c1519e - Revert 41567:
- ARM³ (Alternate ReactOS Memory Management Module) "stuff" is not ACORN Risc Machines (ARM) Port "stuff".
  - We are lucky this user made this change before the rest of the code was checked in -- hyperspace, MDLs, nonpaged pool, kernel stacks, I/O mappings, noncached memory and contigous memory will soon all be built on ARM³ -- good thing this wasn't the case yet!
  - Recommend this user gets banned for reverting code without approval within the 24hr grace period in ReactOS guidelines.
  - If you have a bug to report, use Bugzilla, not your head as a sledgehammer.


svn path=/trunk/; revision=41570
2009-06-23 04:59:32 +00:00
Christoph von Wittich
2cbbe81d25 fix comment IsUserAdmin -> IsUserAnAdmin
svn path=/trunk/; revision=41569
2009-06-22 22:59:30 +00:00
Christoph von Wittich
c8ee793546 partial advapi32 sid sync to wine 1.1.24
svn path=/trunk/; revision=41568
2009-06-22 22:54:03 +00:00
Christoph von Wittich
1196d45474 don't build arm stuff on non arm builds
fixes 2nd stage

svn path=/trunk/; revision=41567
2009-06-22 22:48:39 +00:00
Johannes Anderwald
535d640ce0 - define YieldProcessor msvc compatible
- rtl now builds

svn path=/trunk/; revision=41566
2009-06-22 21:07:52 +00:00
KJK::Hyperion
6943f54891 Change <wine/list.h> to use the magic attribute salad for inline functions in headers
svn path=/trunk/; revision=41565
2009-06-22 20:29:48 +00:00
KJK::Hyperion
7c326b484e Don't want to fix all uses of PSEH2 macros, therefore have some curly braces, everyone
svn path=/trunk/; revision=41564
2009-06-22 20:27:16 +00:00
KJK::Hyperion
c14238f2a9 Correct placement of calling convention attribute
svn path=/trunk/; revision=41563
2009-06-22 20:25:25 +00:00
KJK::Hyperion
c768112083 modified lib/sdk/crt/include/float.h
What the hell has <float.h> to do with S_IFIFO, Arch?

svn path=/trunk/; revision=41562
2009-06-22 20:22:06 +00:00
KJK::Hyperion
7faf270a8a modified lib/rtl/exception.c
Silence unavoidable warning

modified   lib/rtl/generictable.c
   Avoid silenceable warning

svn path=/trunk/; revision=41561
2009-06-22 20:19:06 +00:00
KJK::Hyperion
e89c456751 modified dll/win32/kernel32/file/volume.c
modified   dll/win32/kernel32/misc/actctx.c
modified   dll/win32/kernel32/misc/lang.c
   C89 compliance

modified   dll/win32/kernel32/k32.h
   Include <limits.h>

modified   dll/win32/kernel32/misc/res.c
   Hey Arch, instead of copying and pasting definitions from <wine/list.h>, why don't you include it?

svn path=/trunk/; revision=41560
2009-06-22 20:15:42 +00:00
Christoph von Wittich
4f96f16ac2 sync CreateWellKnownSid with wine 1.1.24
svn path=/trunk/; revision=41559
2009-06-22 20:08:05 +00:00
Christoph von Wittich
156d181a79 sync advapi32_winetest with wine 1.1.24
svn path=/trunk/; revision=41558
2009-06-22 20:07:32 +00:00
KJK::Hyperion
223ecea05b #define inline to __inline for Visual C++ when compiling C sources
svn path=/trunk/; revision=41557
2009-06-22 20:03:20 +00:00
KJK::Hyperion
2cdaa146f7 modified dll/ntdll/include/ntdll.h
Explicitly include <pseh/pseh2.h>

modified   dll/ntdll/ldr/utils.c
   Use ANSI C variadic macros, instead of hacks

ntdll now compiles with Visual C++

svn path=/trunk/; revision=41556
2009-06-22 20:00:38 +00:00
Christoph von Wittich
b704b9556d sync user32 button with wine 1.1.24
svn path=/trunk/; revision=41555
2009-06-22 19:56:37 +00:00
Christoph von Wittich
1e54de4e07 sync user32_winetest with wine 1.1.24
svn path=/trunk/; revision=41554
2009-06-22 19:52:48 +00:00
Christoph von Wittich
edb01fbf5b sync credui with wine 1.1.24
svn path=/trunk/; revision=41553
2009-06-22 19:47:30 +00:00
Christoph von Wittich
075273b3ea sync hhctrl.ocx with wine 1.1.24
svn path=/trunk/; revision=41552
2009-06-22 19:38:47 +00:00
Christoph von Wittich
05a9130669 sync cryptdlg and cryptui with wine 1.1.24
svn path=/trunk/; revision=41551
2009-06-22 19:29:26 +00:00
Christoph von Wittich
c7b0db5721 sync crypt32 with wine 1.1.24
svn path=/trunk/; revision=41550
2009-06-22 19:27:02 +00:00
Timo Kreuzer
d9e863dd3e winfax: covert to spec
svn path=/branches/ros-amd64-bringup/; revision=41549
2009-06-22 14:58:08 +00:00
Timo Kreuzer
0c5c63214f Allow warnings in win32k for now
svn path=/branches/ros-amd64-bringup/; revision=41548
2009-06-22 14:17:06 +00:00
Timo Kreuzer
0ed6de9136 Only export FLOATOBJ_* api on x86
svn path=/branches/ros-amd64-bringup/; revision=41547
2009-06-22 14:16:20 +00:00
Timo Kreuzer
0a1f19ab1c Add _FLOATOBJ_GetFix for non-x86
svn path=/branches/ros-amd64-bringup/; revision=41546
2009-06-22 14:15:35 +00:00
Aleksey Bragin
9152e0286c - Remove padding member from ETHREAD, it's not needed anymore after KTHREAD has been fixed.
svn path=/trunk/; revision=41545
2009-06-22 14:09:16 +00:00
Christoph von Wittich
5c0ec477eb sync advpack and msi with wine 1.1.24
svn path=/trunk/; revision=41544
2009-06-22 14:01:24 +00:00
Christoph von Wittich
fe3ce41568 sync jscript_winetest with wine 1.1.24
svn path=/trunk/; revision=41543
2009-06-22 13:51:31 +00:00
Christoph von Wittich
e44867e54a sync jscript with wine 1.1.24
svn path=/trunk/; revision=41542
2009-06-22 13:51:07 +00:00
Dmitry Gorbachev
debf9f3155 Fix build.
svn path=/trunk/; revision=41541
2009-06-22 13:47:10 +00:00
Timo Kreuzer
59dabf5cdb Make parameters for NtUserCallOneParam and NtUserCallTwoParam DWORD_PTR instead of DWORD
svn path=/branches/ros-amd64-bringup/; revision=41540
2009-06-22 13:46:22 +00:00
Dmitry Gorbachev
e890438845 Silence warnings.
svn path=/trunk/; revision=41539
2009-06-22 13:37:49 +00:00
Dmitry Gorbachev
8374c07f2d Fix comment.
svn path=/trunk/; revision=41538
2009-06-22 13:28:18 +00:00
Dmitry Gorbachev
d103f7f548 [FORMATTING]
svn path=/trunk/; revision=41537
2009-06-22 13:26:12 +00:00
Timo Kreuzer
413a1e88b5 win32csr: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=41536
2009-06-22 11:39:43 +00:00
Dmitry Gorbachev
1fcd100e50 Remove unused functions.
svn path=/trunk/; revision=41535
2009-06-22 11:33:19 +00:00
Dmitry Gorbachev
ae5cb55a9c - If KDBG is not compiled in, try to use GDB instead.
- Check WrapperTable.KdpPrintRoutine.
- Allow to use GDB (/DEBUGPORT=GDB) and have debug output (/DEBUGPORT=COM1) at the same time.

svn path=/trunk/; revision=41534
2009-06-22 11:32:58 +00:00
Dmitry Gorbachev
30a7c1f02f Change GDB stub.
svn path=/trunk/; revision=41533
2009-06-22 11:32:25 +00:00
Dmitry Gorbachev
ce839b70b3 Remove unused stuff.
svn path=/trunk/; revision=41532
2009-06-22 11:31:57 +00:00
Timo Kreuzer
5cc5e6428a fix pointer <-> DWORD casts
svn path=/branches/ros-amd64-bringup/; revision=41531
2009-06-22 11:15:14 +00:00
ReactOS Portable Systems Group
dba96538b8 - Initialize system PTE space.
svn path=/trunk/; revision=41530
2009-06-22 10:22:19 +00:00
ReactOS Portable Systems Group
872b7b4830 - Initialize count of System PTEs:
- Use 7000 for systems with 19MB of RAM or less, 11000 for systems between 19 and 32MB of RAM, and 22000 for systems with more than that.
  - Windows will go up to 50000 on server machines, but this is likely not needed now (22000 system PTEs is roughly 100 MB).
  - This now affects the calculation of MmNonPagedSystemStart, which is now correct and reflects the nonpaged address space of the system.
  - System PTEs are not yet initialized (but their page tables are mapped by the same code which maps nonpaged pool expansion VA page tables).


svn path=/trunk/; revision=41529
2009-06-22 09:34:24 +00:00
ReactOS Portable Systems Group
e5cc98dbc4 - Initialize nonpaged pool expansion system PTEs (MiInitializeSystemPtes):
- Just supports expansion space for now, not system space.
  - Very basic initialization of the accounting structures required.
  - Sets up the first two system PTE clusters for the space (the first contains the linkage, the second contains the sizage).
  - Called from MiInitializeArmPool.


svn path=/trunk/; revision=41528
2009-06-22 08:51:28 +00:00
ReactOS Portable Systems Group
e980bd998f - Initialize the ARM pool (MiInitializeArmPool):
- Do some additional accounting to keep track of initial nonpaged pool range and size.
  - Create and initialize the free page lists, and free page entries.
  - Validate that the initial nonpaged pool address space was properly mapped.
  - Validate that the expansion nonpaged pool address space is unmapped, and prepare to map it.


svn path=/trunk/; revision=41527
2009-06-22 08:22:41 +00:00
Cameron Gutman
773786eb4c - Revert wininet back to pre-41059
- Fixes random corruption of downloads

svn path=/trunk/; revision=41526
2009-06-22 06:45:21 +00:00
ReactOS Portable Systems Group
f2ce1cf66f - Begin the implementation of the ARM Pool Manager, a replacement for the ReactOS nonpaged pool.
- Define the nonpaged system address space as done on Windows (see init.c for a brief introduction and source reading materials on this).
  - Size up the ARM pool as done on Windows (again, see init.c for documentation on this).
  - Create the PDEs for the expansion pool and the initial pool.
  - Allocate the pages for the initial pool, and map them.
    - Unlike ReactOS, ARM³ does the right thing and uses physically continuous pages.
  - Define two new static MEMORY_AREAs for the expansion and initial ARM pool.
  - No actual pool code/implementation is available yet, we are just slicing up the address space for now (mhmm... cake!)*.

* There is no cake.


svn path=/trunk/; revision=41525
2009-06-22 06:16:57 +00:00
ReactOS Portable Systems Group
47122e35e8 - The SVN pre-commit hook is broken: /srv/svn/reactos/hooks/commit-eol-style-check.pl: `/usr/bin/svnlook proplist /srv/svn/reactos -t 41523-w6z --verbose trunk/reactos/ntoskrnl/mm/ARM?\194?\179/init.c' failed with this output:
svnlook: Path 'trunk/reactos/ntoskrnl/mm/ARM?\194?\179/init.c' does not exist.


svn path=/trunk/; revision=41524
2009-06-22 06:13:23 +00:00
ReactOS Portable Systems Group
eb4911e3e8 - Add a directory for the Alternative ReactOS Memory Management Module (ARM³), also called the ARM (port) Memory Manager.
svn path=/trunk/; revision=41523
2009-06-22 04:57:21 +00:00
Cameron Gutman
55b816a7c4 - Fix a bug that caused translations of NdisParameterInteger values into unicode strings to produce bad results
- Fix a bug that caused NdisParameterMultiString values to be written to the registry incorrectly

svn path=/trunk/; revision=41522
2009-06-22 01:10:58 +00:00
Cameron Gutman
12b34a994b - Partial rewrite of NdisReadConfiguration
- It now determines the parameter type based on the key instead of the ParameterType passed by the caller (documented on MSDN)
 - It also always sets (*ParameterValue)->ParameterType to NdisParameterInteger when reading an integer or hex integer value (documented on MSDN)
 - This will fix miniport drivers that supply a bogus ParameterType value because it is ignored by NDIS on NT

svn path=/trunk/; revision=41521
2009-06-22 00:49:06 +00:00
KJK::Hyperion
586a1d0fff Move gcc -g and -Wall options out of rbuild and into .rbuild files
Move non-architecture-specific msc options to ReactOS-generic.rbuild

svn path=/trunk/; revision=41520
2009-06-21 22:13:28 +00:00
KJK::Hyperion
da2965ea12 Compilers other than GCC deserve offsetof, don't they?
svn path=/trunk/; revision=41519
2009-06-21 21:40:37 +00:00
KJK::Hyperion
d38eca89a3 Don't change an std::set in the loop that enumerates it. Patch by Daniel Zimmermann <netzimme@aim.com>
See issue #3128 for more details.

svn path=/trunk/; revision=41518
2009-06-21 21:37:47 +00:00
Johannes Anderwald
46ec0bb579 - Fix a buffer overrun
svn path=/trunk/; revision=41517
2009-06-21 21:35:40 +00:00
Daniel Reimer
fda2c1efd7 Bug 4626: slovak update by Mario Kacmar
svn path=/trunk/; revision=41516
2009-06-21 20:00:00 +00:00
Aleksey Bragin
024b2b410c - Implement two helper functions to correctly set permissions for a window station and desktops. Those are unused now, but they are going to solve two problems in current winlogon. First of them being a "big HACK" in CreateWindowStationAndDesktops(), which has to do CloseDesktop / OpenDesktopW to get a non-inheritable handle with GENERIC_ALL righs. Second problem is that security attributes structure passed to CreateWindowStationW and CreateDesktopW are invalid because now lpSecurityDescriptor points to an ACL but it's supposed to point to an actual SECURITY_DESCRIPTOR structure. Information from: http://msdn.microsoft.com/en-us/library/aa379608.aspx.
svn path=/trunk/; revision=41515
2009-06-21 19:23:06 +00:00
Stefan Ginsberg
d3421fde4b - Define noreturn attribute for KeBugCheckWithTf and KiBugCheckDebugBreak in a msvc compatible way
svn path=/trunk/; revision=41513
2009-06-21 17:06:34 +00:00
Johannes Anderwald
93a8c8a165 - Don't release object which drivers should release
- Fixes a few crashes when starting another audio stream

svn path=/trunk/; revision=41512
2009-06-21 10:48:09 +00:00
ReactOS Portable Systems Group
88b93de202 - MC_NPPOOL is special-cased in the memory balancer core to always force the allocation of a page, even in low-memory conditions (which in ReactOS, occur early-on because, in a stroke of typical ReactOS genius, the balancer core is called before the balancer initailizes its values and thresholds). Make MC_SYSTEM special-cased as well, so we never fail to allocate page tables early-on.
- This fixes booting on systems which required enough page tables such that the balancer refused the allocation of new pages (around 64+16 pages for page tables of 4KB each, ie. 320MB).


svn path=/trunk/; revision=41511
2009-06-21 09:08:05 +00:00
ReactOS Portable Systems Group
e7b3dac46f - Nonpaged pool MEMORY_AREA is now initialized during nonpaged pool initialization (and it is now a static MEMORY_AREA).
- Paged pool MEMORY_AREA is now initialized during paged pool initialization.
- Remaining MEMORY_AREAs (KPCR and KUSER_SHARED_DATA) are now created in MiInitSystemMemoryAreas (and they are also static) instead of MmInitVirtualMemory, since this is really what the function was doing.
  - The page table and hyperspace MEMORY_AREAs are still initialized the same, but are also now static.
  - The creation of these core/system memory areas is now done much earlier. For example, hyperspace memory area is now created before hyperspace is mapped.
- Nonpaged pool, paged pool, and working set initialization is now done outside MiInitSystemMemoryAreas and roughly at the same time as before.
- Removed MmInitVirtualMemory as it had become a kitchen sink of random Memory Manager initialization code.
- I/O and Local APIC MEMORY_AREAs are not created anymore, since that should be done by the HAL, not the kernel.


svn path=/trunk/; revision=41510
2009-06-21 06:36:45 +00:00
ReactOS Portable Systems Group
f29743948c - Introduce a new MEMORY_AREA flag, MEMORY_AREA_STATIC:
- MEMORY_AREA structures are typically allocated from nonpaged pool, under the assumption it exists.
  - However, nonpaged pool itself is described by a MEMORY_AREA.  Right now, this MEMORY_AREA is created after nonpaged pool has been initialized (it is a miracle this works).
  - This new flag allows MEMORY_AREA structures to be allocated statically, allowing the description of certain system address space components, themselves prerequisites to nonpaged pool creation, as well as the nonpaged pool component itself, before nonpaged pool has been initialized.
  - This is not yet used.


svn path=/trunk/; revision=41509
2009-06-21 05:46:50 +00:00
ReactOS Portable Systems Group
ec3307ef64 - Define a new consumer: MC_SYSTEM:
- Right now, it is only used for allocating new page tables for kernel-mode mappings.
  - This consumer's pages are never zeroed automatically (this is a more endemic ReactOS problem -- kernel pages are zeroed when they shouldn't be).
    - New page tables, however, should indeed be zeroed, so now they are zeroed manually with RtlZeroMemory.
    - The page zero function is not called anymore, and a useless zero-space hyperspace mapping is thus saved each time this happens.
    - Because of this, zero-space hyperspace mappings are required much later in the Memory Manager's initialization steps than before.

svn path=/trunk/; revision=41508
2009-06-21 05:33:48 +00:00
ReactOS Portable Systems Group
7afb3ea904 - Add another helper: MiGetPfnEntryIndex. This returns the page frame number (PFN) for a given MMPFN entry.
- Also add MiPteToAddress to complement MiAddressToPte. This returns the VA for a given PTE. Bonus points if you can figure out the bit magic.


svn path=/trunk/; revision=41507
2009-06-21 04:28:31 +00:00
ReactOS Portable Systems Group
6464056a16 - Get rid of MmPageArray and MmPageArraySize since these were defined as just being ReactOS-specific clones of MmPfnDatabase and MmHighestPhysicalPage. Ergo, use the latter in relevant places.
svn path=/trunk/; revision=41506
2009-06-21 04:14:49 +00:00
ReactOS Portable Systems Group
f7ed5bd01d - It is very possible for MiGetPfnEntry to be called for a page above the page array size, since not all pages are represented in the array. In this scenario, MiGetPfnEntry should return NULL (and the caller should be prepared for this scenario).
- Also move out the extern definitions outside of the inline, so that other functions may access them and consequently removing a needless UNREFERENCED_PARAMETER.


svn path=/trunk/; revision=41505
2009-06-21 04:09:25 +00:00
ReactOS Portable Systems Group
7f3a8dc045 - Add missing flags for MmAllocatePagesForMdlEx.
svn path=/trunk/; revision=41504
2009-06-21 03:59:23 +00:00
ReactOS Portable Systems Group
4fbc4ba227 - Remove MmGetPageFlags and MmSetPageFlags, there are no consumers of these two functions.
- Get rid of PHYSICAL_PAGE structure and move to WinNT MMPFN structure instead:
  - Define a preprocessor legacy mapping so that freelist.c receives only minimal changes:
    - This mapping allows the old meanings of the PHYSICAL_PAGE fields to remain, but now part of the new MMPFN structure
    - Other modules (balance.c and mm.h) use the new structure directly, since only 3 lines of code required changes.
  - The NT structure is 8 bytes smaller than the ReactOS structure, which saves about 1MB of physical memory and kernel VA space
    for each 512MB of RAM, or 25% less. This also enables ReactOS to support 25% more memory than before (64GB instead of 48GB).


svn path=/trunk/; revision=41503
2009-06-21 03:57:42 +00:00
Timo Kreuzer
6534c06742 wdmaud: Make DeviceIndex a ULONG_PTR
svn path=/branches/ros-amd64-bringup/; revision=41502
2009-06-21 02:23:48 +00:00
Timo Kreuzer
b0aae1ac7e Fix uninitialized variable warning.
svn path=/branches/ros-amd64-bringup/; revision=41501
2009-06-21 01:25:57 +00:00
Timo Kreuzer
5c9cf2de60 Pass ULONG* to MiniQueryInformation for the number of written bytes instead of ULONG_PTR*
svn path=/branches/ros-amd64-bringup/; revision=41500
2009-06-21 00:36:29 +00:00
Timo Kreuzer
d25e377997 reenable the dirty wine hack, but not for amd64!
svn path=/branches/ros-amd64-bringup/; revision=41499
2009-06-21 00:29:43 +00:00
Johannes Anderwald
66a0e71bf5 - Use interval of 10ms for the periodic timer IPortPinWaveRT
- Initialize a periodic timer for IPortPinWavePci
- Might fix Vortex AU8820C0 card

svn path=/trunk/; revision=41498
2009-06-21 00:16:32 +00:00
Johannes Anderwald
eef3e1deca - Define private interface IPortWaveRTStreamInit in order to deal with PHYSICAL_ADDRESS as return value
- Implement reading/writing into cyclic buffer for IPortPinWaveRT 
- Allocate an audio buffer when the pin is initialized. This needs to be changed once KSPROPERTY_RTAUDIO_BUFFER is implemented
- Fix a bug in PcNewPort
- Remove obsolete code from IPortWavePci
- Return the allocated MDL from IPortWaveRTStream::AllocateContiguousPagesForMdl
- Create a system thread when using IServiceGroup::RequestDelayedService
- ReactOS now partly supports Vista audio driver model

svn path=/trunk/; revision=41497
2009-06-20 23:37:55 +00:00
Timo Kreuzer
169da3458b Fix _WIN64 definition of PORT_MAXIMUM_MESSAGE_LENGTH in the NDK and only define it for NTOS_MODE_USER as it's also defined by wdm.h
svn path=/branches/ros-amd64-bringup/; revision=41495
2009-06-20 20:53:47 +00:00
Timo Kreuzer
98debfcbd4 Add back the stuff I accidentilly removed with the last sync
svn path=/branches/ros-amd64-bringup/; revision=41494
2009-06-20 19:52:29 +00:00
Timo Kreuzer
6a3624a96d Update README.WINE from trunk
svn path=/branches/ros-amd64-bringup/; revision=41493
2009-06-20 19:38:33 +00:00
Timo Kreuzer
5fdb2304a4 merge 41026 from trunk
svn path=/branches/ros-amd64-bringup/; revision=41492
2009-06-20 19:29:55 +00:00
Timo Kreuzer
827b44e76c Fix definition of DBG
svn path=/branches/ros-amd64-bringup/; revision=41491
2009-06-20 18:19:23 +00:00
Timo Kreuzer
39b609743e add missing file
svn path=/branches/ros-amd64-bringup/; revision=41490
2009-06-20 17:51:44 +00:00
Johannes Anderwald
9c621c0524 - Free forgotten irps
- Implement PcCompleteIrp

svn path=/trunk/; revision=41489
2009-06-20 16:00:45 +00:00
Timo Kreuzer
4135e99ab6 Merge trunk head (r41474)
svn path=/branches/ros-amd64-bringup/; revision=41488
2009-06-20 13:45:51 +00:00
Timo Kreuzer
9deeed5323 add files that got lost
svn path=/branches/ros-amd64-bringup/; revision=41487
2009-06-20 12:56:13 +00:00
Timo Kreuzer
0b908b6c29 Fix a comment like in trunk.
svn path=/branches/ros-amd64-bringup/; revision=41486
2009-06-20 12:41:17 +00:00
Timo Kreuzer
e71bc2b3e6 Fix 64bit issues.
svn path=/branches/ros-amd64-bringup/; revision=41485
2009-06-20 12:40:11 +00:00
Timo Kreuzer
cdaa1f6d82 Add macros for Rtl large integer functions
svn path=/branches/ros-amd64-bringup/; revision=41484
2009-06-20 12:39:21 +00:00
Timo Kreuzer
70b8038494 NDK: fix definition of HARDERROR_MSG
svn path=/branches/ros-amd64-bringup/; revision=41483
2009-06-20 12:37:30 +00:00
Timo Kreuzer
24c3776a22 comment out nt4compat usb driver, it doesn't compile
svn path=/branches/ros-amd64-bringup/; revision=41482
2009-06-20 12:36:25 +00:00
Timo Kreuzer
59ab82b643 comment out telnet for now, it doesn't compile
svn path=/branches/ros-amd64-bringup/; revision=41481
2009-06-20 12:31:02 +00:00
Timo Kreuzer
380a44fcc5 Fix 64bit issues, add a wine compatibility hack
svn path=/branches/ros-amd64-bringup/; revision=41480
2009-06-20 12:29:21 +00:00
Timo Kreuzer
90b890bba4 Remove usage of RETURN() macro
svn path=/branches/ros-amd64-bringup/; revision=41479
2009-06-20 12:14:20 +00:00
Timo Kreuzer
756ff0f16c Fix "no newline at end of file"
svn path=/branches/ros-amd64-bringup/; revision=41478
2009-06-20 11:45:31 +00:00
Timo Kreuzer
0938cd6626 fix x86 compilation
svn path=/branches/ros-amd64-bringup/; revision=41476
2009-06-20 11:21:33 +00:00
Timo Kreuzer
a2914115fe Fix outdated rbuild flags
svn path=/branches/ros-amd64-bringup/; revision=41475
2009-06-20 11:05:46 +00:00
Christoph von Wittich
d9042af464 partial dbghelp wine sync
svn path=/trunk/; revision=41474
2009-06-19 22:14:54 +00:00
Christoph von Wittich
aa85426a38 improve some more Lsa stubs
svn path=/trunk/; revision=41473
2009-06-19 22:08:02 +00:00
Christoph von Wittich
2869ff1fbc better stub for LsaEnumerateAccountRights
svn path=/trunk/; revision=41472
2009-06-19 21:54:19 +00:00
Stefan Ginsberg
b1821667f4 - Define noreturn attribute for KeBugCheck/Ex in a msvc-compatible way
svn path=/trunk/; revision=41471
2009-06-19 19:43:41 +00:00
Stefan Ginsberg
d749e95880 - Define UNREFERENCED_PARAMETER for cmlib when built as host and reapply 41455.
svn path=/trunk/; revision=41470
2009-06-19 16:05:16 +00:00
Johannes Anderwald
db429325e1 - Fix build
svn path=/trunk/; revision=41469
2009-06-19 13:59:27 +00:00
Johannes Anderwald
10e71311b1 - Make ks.h and drmk.h msvc compatible
svn path=/trunk/; revision=41468
2009-06-19 12:07:17 +00:00
Johannes Anderwald
f791b1fa91 - Improve user mode buffer probing
svn path=/trunk/; revision=41467
2009-06-19 10:50:19 +00:00
Dmitry Chapyshev
97aea8189d - Add target process reference/dereference in ProcessWow64Information case of NtQueryInformationProcess.
- Check buffer length

svn path=/trunk/; revision=41466
2009-06-19 08:49:01 +00:00
Dmitry Chapyshev
1cdc856b9c - Check buffer length for ProcessQuotaLimits/ProcessBasePriority/ProcessRaisePriority/ProcessWx86Information/ProcessDebugPort cases
svn path=/trunk/; revision=41465
2009-06-19 08:22:24 +00:00
Dmitry Chapyshev
8b7d2f3924 - Add probing of the result buffers
svn path=/trunk/; revision=41464
2009-06-19 07:46:46 +00:00
Cameron Gutman
12adb28b86 - Fix 2 typos
svn path=/trunk/; revision=41463
2009-06-19 07:34:34 +00:00
Cameron Gutman
1cde39c156 - Report that we are NDIS 5.1
svn path=/trunk/; revision=41462
2009-06-19 06:53:58 +00:00
Cameron Gutman
cf30be51fb - Big debugging update
- Also fix some little bugs and reduce code duplication

svn path=/trunk/; revision=41461
2009-06-19 06:47:00 +00:00
Cameron Gutman
02b61191c8 - Make CancelId a LONG
svn path=/trunk/; revision=41460
2009-06-19 05:12:20 +00:00
KJK::Hyperion
591cbf3208 modified tools/rbuild/backend/mingw/compilers/gcc.mak
modified   tools/rbuild/backend/mingw/compilers/msc.mak
   New rules for C preprocessor that compiles to standard output (RBUILD_PIPE_CPP, RBUILD_PIPE_CXX_CPP)

modified   tools/rbuild/backend/mingw/rules.mak
   Use RBUILD_PIPE_CPP in RBUILD_WRC_RULE, instead of hardcoding GCC

svn path=/trunk/; revision=41459
2009-06-19 02:28:33 +00:00
KJK::Hyperion
f073fbe6ab Revert 41455
svn path=/trunk/; revision=41458
2009-06-19 01:12:25 +00:00
KJK::Hyperion
204b2befbb modified drivers/filesystems/fastfat/blockdev.c
modified   drivers/filesystems/fastfat/dirwr.c
modified   drivers/filesystems/fastfat/ea.c
modified   drivers/filesystems/fastfat/finfo.c
   Silence "argument unused" warnings
   Corrected several accesses to potentially uninitialized variables

modified   drivers/filesystems/fastfat/vfat.h
   Visual C++ is no longer a guarantee of compilation with the DDK

Patch by Samuel Serapión <samdwise51@gmail.com>

svn path=/trunk/; revision=41457
2009-06-19 00:21:21 +00:00
KJK::Hyperion
82276953f4 modified drivers/input/i8042prt/createclose.c
modified   drivers/input/i8042prt/i8042prt.c
modified   drivers/input/i8042prt/keyboard.c
modified   drivers/input/i8042prt/misc.c
modified   drivers/input/i8042prt/mouse.c
modified   drivers/input/i8042prt/readwrite.c
   Silence "argument unused" and "unused variable" warnings
   Corrected several accesses to potentially uninitialized variables

Patch by Samuel Serapión <samdwise51@gmail.com>

svn path=/trunk/; revision=41456
2009-06-19 00:17:15 +00:00
KJK::Hyperion
dc90252573 modified lib/cmlib/hivecell.c
modified   lib/cmlib/hiveinit.c
   Silence "argument unused" warnings

Patch by Samuel Serapión <samdwise51@gmail.com>

svn path=/trunk/; revision=41455
2009-06-19 00:12:26 +00:00
KJK::Hyperion
f06e2b532c modified drivers/bus/pci/fdo.c
modified   drivers/bus/pci/pci.c
modified   drivers/bus/pci/pdo.c
   Silence "argument unused" warnings
   Corrected a potentially uninitialized variable access

Patch by Samuel Serapión <samdwise51@gmail.com>

svn path=/trunk/; revision=41454
2009-06-19 00:09:42 +00:00
Stefan Ginsberg
a4cad0ba8d - Fix compiler flag for rosautotest
- Get rid of -Wno-format in the Winetests, replacing it with __ROS_LONG64__.

svn path=/trunk/; revision=41453
2009-06-18 22:16:49 +00:00
Stefan Ginsberg
4acc879393 - Revert 39470, reapplying the __ROS_LONG64__ check for INT_PTR and UINT_PTR on 32-bit.
svn path=/trunk/; revision=41452
2009-06-18 22:07:20 +00:00
Stefan Ginsberg
85c7801c12 - Only pass gcc flags to gcc.
svn path=/trunk/; revision=41451
2009-06-18 22:06:16 +00:00
Aleksey Bragin
4f6ecaaec2 - Implement ProcessQuotaLimits case for NtQueryInformationProcess. Based on Dmitry Chapyshev's patch.
svn path=/trunk/; revision=41450
2009-06-18 19:46:18 +00:00
Stefan Ginsberg
6cfc9ab326 - Add missing NTAPI to DriverEntry
svn path=/trunk/; revision=41449
2009-06-18 19:13:05 +00:00
Stefan Ginsberg
3d64a589fb - Do not pass gcc and ld flags to other tools
svn path=/trunk/; revision=41448
2009-06-18 18:18:57 +00:00
Daniel Reimer
065a190de7 Bug 4620: Incorrect code page output in shutdown.exe (Russian locale) by John White
Polish Translation Updates by Maciej Bialas

svn path=/trunk/; revision=41447
2009-06-18 15:47:41 +00:00
Ged Murphy
ce911cc090 Fix the version data in the registry to match what the kernel reports.
svn path=/trunk/; revision=41446
2009-06-18 10:59:15 +00:00
Daniel Reimer
9fdf163245 Bug 4610: Dutch translation for Solitaire by reFly <wouterdevlieger@gmail.com>
Bug 4619: Japanese translation update for syssetup and downloader by Tomoya Kitagawa

svn path=/trunk/; revision=41445
2009-06-18 09:30:33 +00:00
Johannes Anderwald
70159651dc - mmreg uses for all structures contained byte-aligned packing
svn path=/trunk/; revision=41444
2009-06-18 08:03:40 +00:00
Cameron Gutman
e2662e4df0 - Make NdisGeneratePartialCancelId safe by using Interlocked functions
svn path=/trunk/; revision=41443
2009-06-18 02:24:19 +00:00
KJK::Hyperion
f6a788b116 Miscellaneous Visual C++ compilation fixes
modified   include/crt/mingw32/intrin_x86.h
modified   include/crt/msc/intrin.h
   Fixed declarations of _InterlockedDecrement16 and _InterlockedIncrement16
   Fixed declarations of __readcr0, __readcr2, __readcr3 and __readcr4 for x86
   Implement __readdr and __writedr for x86 too
   Added missing semicolon

modified   include/crt/stdlib.h
modified   lib/3rdparty/mingw/crtexe.c
   Use Visual C++-compatible attribute placement

modified   lib/3rdparty/mingw/crtexe.c
   Get rid of useless assembly, replace with __writefsdword (it's still useless)

modified   lib/3rdparty/mingw/mingw.rbuild
   Disable Visual C++ warning C4733 ("Inline asm assigning to 'FS:0' : handler not registered as safe handler") for mingw_wmain

modified   lib/sdk/scrnsave/scrnsave.c
   Silence a warning

modified   ReactOS-generic.rbuild
   Disable Visual C++ warning C4711 ("function 'function' selected for inline expansion") globally

modified   tools/rbuild/backend/mingw/compilers/msc.mak
   Fix Visual C++ compiler rules to emit an uniquely named PDB for each object file

svn path=/trunk/; revision=41442
2009-06-18 00:41:56 +00:00
KJK::Hyperion
f706410ede modified tools/rbuild/backend/mingw/rules.mak
For now, only pass the -I, -D and -U preprocessor options to gas

svn path=/trunk/; revision=41441
2009-06-18 00:27:18 +00:00
KJK::Hyperion
5632264d33 modified include/crt/math.h
Ported <math.h> to Visual C++
   Fixed some miscellaneous stupidity. I see Arch has been committing to MinGW-W64 too

svn path=/trunk/; revision=41440
2009-06-17 23:25:22 +00:00
Dmitry Gorbachev
abdf1ae486 Do not lie about compiler optimizations.
svn path=/trunk/; revision=41439
2009-06-17 18:17:45 +00:00
Christoph von Wittich
1bff1b2197 fix msvc build
svn path=/trunk/; revision=41438
2009-06-17 13:48:36 +00:00
Stefan Ginsberg
2c8507d494 - Leftover from 41436
svn path=/trunk/; revision=41437
2009-06-17 12:44:56 +00:00
Stefan Ginsberg
88e9b2a513 - In Win32 DBG is defined to 0 for a non-debug build and to 1 for a debug build. In ReactOS we do this slightly different: DBG is correctly defined to 1 for debug, but not defined at all on non-debug/release build. Because gcc is awesome we can then check for debug compilation with both #ifdef DBG and #if DBG (error free! yay gcc!), and so we have mixed usage all over the tree.
- Fix this by defining DBG on non-debug build too and deprecate all usage of #ifdef DBG.

svn path=/trunk/; revision=41436
2009-06-17 12:44:05 +00:00
Christoph von Wittich
3d402751d4 some code cleanup
svn path=/trunk/; revision=41435
2009-06-17 11:52:39 +00:00
KJK::Hyperion
84833730d0 modified include/crt/_mingw.h
No "restrict" support in Visual C++ (and __restrict isn't the same thing)

modified   include/crt/stdarg.h
   Really fix stdarg.h this time

modified   include/crt/wchar.h
modified   include/psdk/dde.h
modified   include/psdk/mmsystem.h
modified   include/psdk/prsht.h
modified   include/psdk/rpcndr.h
modified   include/psdk/shellapi.h
modified   include/psdk/winbase.h
modified   include/psdk/wincon.h
modified   include/psdk/wincrypt.h
modified   include/psdk/windef.h
modified   include/psdk/wingdi.h
modified   include/psdk/winioctl.h
modified   include/psdk/winnetwk.h
modified   include/psdk/winnls.h
modified   include/psdk/winnt.h
modified   include/psdk/winperf.h
modified   include/psdk/winsmcrd.h
modified   include/psdk/winsock2.h
modified   include/psdk/winspool.h
modified   include/psdk/winuser.h
modified   include/psdk/wtypes.idl
modified   include/reactos/mingw-w64/internal.h
modified   include/reactos/mingw-w64/oscalls.h
   Disable some unavoidable warnings in Visual C++

modified   include/psdk/poppack.h
modified   include/psdk/pshpack1.h
modified   include/psdk/pshpack2.h
modified   include/psdk/pshpack4.h
modified   include/psdk/pshpack8.h
modified   include/psdk/pshpck16.h
modified   include/psdk/windows.h
modified   include/psdk/winsock2.h
   Check that defines are defined before testing their value

modified   include/psdk/rpcasync.h

modified   include/psdk/rpcdce.h
   Visual C++ doesn't support functions without a prototype anymore, and RPC_AUTH_KEY_RETRIEVAL_FN has a documented prototype anyway

modified   include/psdk/winnt.h
   WIN32_WINNT -> _WIN32_WINNT

svn path=/trunk/; revision=41434
2009-06-17 11:18:51 +00:00
Kamil Hornicek
7e8ae7ca6b - correct fix, also free the allocated buffer
svn path=/trunk/; revision=41433
2009-06-17 11:08:00 +00:00
Kamil Hornicek
8519197da3 - sync quartz with Wine 1.1.23
svn path=/trunk/; revision=41432
2009-06-17 10:31:16 +00:00
Kamil Hornicek
eba7cda7a0 - kill warnings
svn path=/trunk/; revision=41431
2009-06-17 10:10:15 +00:00
KJK::Hyperion
c7664e0070 Fix (?) build
svn path=/trunk/; revision=41430
2009-06-17 02:22:39 +00:00
KJK::Hyperion
8f85d133fc modified include/crt/stdarg.h
modified   include/crt/vadefs.h
   Our headers suck so hard. More Visual C++ compatibility

svn path=/trunk/; revision=41429
2009-06-17 02:18:13 +00:00
Stefan Ginsberg
792cd5130f - Replace "VOLATILE" with "volatile"
svn path=/trunk/; revision=41428
2009-06-16 22:20:27 +00:00
Christoph von Wittich
eab042b178 attempt to convert most of this mess into something which at least look like C code
svn path=/trunk/; revision=41427
2009-06-16 21:12:47 +00:00
Dmitry Chapyshev
5cb17513e9 - Stub-implement NhGetInterfaceNameFromDeviceGuid and SetIpForwardEntryToStack. Fixes taskmgr (from windows) crash on network page
svn path=/trunk/; revision=41426
2009-06-16 19:10:29 +00:00
Dmitry Chapyshev
67a72b93d5 - Revert last wine sync for imagelist
See issue #4304 for more details.

svn path=/trunk/; revision=41425
2009-06-16 19:05:42 +00:00
Dmitry Chapyshev
92162113ce - Add Symbol font from Wine
svn path=/trunk/; revision=41424
2009-06-16 15:41:29 +00:00
Dmitry Chapyshev
974602eb54 - Add ntlanman.dll (not implemented)
svn path=/trunk/; revision=41423
2009-06-16 15:38:45 +00:00
Johannes Anderwald
2a1067133d - SetupDiOpenClassRegKeyExW should ERROR_INVALID_CLASS when it fails
- TODO: NtOpenKey should fail when acessMask == 0 and a registry path is passed

svn path=/trunk/; revision=41422
2009-06-16 08:04:08 +00:00
KJK::Hyperion
66128d2725 modified dll/win32/srclient/srclient_main.c
What the hell, Arch Blackmann? <windef.h>, <winbase.h> and <winnls.h> are not meant to be included directly. Include <windows.h> instead

modified   drivers/video/font/ftfd/rosglue.c
   Move standard C includes before Windows includes, so the required types are defined beforehand 

modified   include/crt/_mingw.h
   Re-add Visual C++ support
   va_list is not a built-in type, it does not belong in _mingw.h
   Do not include intrin.h (screw you, Arch)
   Removed definition of _USE_32BIT_TIME_T ("ROS HACK!")

modified   include/crt/conio.h
modified   include/crt/stdio.h
modified   include/crt/wchar.h
   Pull in va_list from stdarg.h

modified   include/crt/mingw32/intrin.h
modified   include/crt/mingw32/intrin_arm.h
modified   include/crt/mingw32/intrin_x86.h
   intrin.h defines size_t and uintptr_t
   The _real_, ultimate magic incantation for inline functions is extern __inline__ __attribute__((__always_inline__,__gnu_inline__))
   Fix __addfsbyte, __addfsword

added      include/crt/msc
added      include/crt/msc/intrin.h
   Ported our intrin.h to Visual C++

modified   ReactOS-arm.rbuild
modified   ReactOS-i386.rbuild
   ROS HACK!s belong in the project definition

modified   ReactOS-generic.rbuild
   Compiler-specific include directories

svn path=/trunk/; revision=41421
2009-06-16 00:24:26 +00:00
Johannes Anderwald
541c10e66b - TerminateProcess requires a valid handle
- Should fix 2 kernel32' winetests

svn path=/trunk/; revision=41420
2009-06-15 22:16:49 +00:00
Christoph von Wittich
4f60737693 fix warnings (untested)
svn path=/trunk/; revision=41419
2009-06-15 15:04:56 +00:00
Timo Kreuzer
16a8959547 - Fix definition of RTL_HANDLE_TABLE_ENTRY
- Fix check in RtlFreeHandle and add a DPRINT
- Fixes the last ntdll:rtl winetest

svn path=/trunk/; revision=41418
2009-06-15 14:49:31 +00:00
Kamil Hornicek
adfe334f22 - import dmusic from Wine, it's mostly stubs but it should be enough for now
svn path=/trunk/; revision=41417
2009-06-15 13:52:04 +00:00
Aleksey Bragin
098b2bd1c3 - Don't reinitialize in case of error. Fixes a "DPC > 1 sec" problem related to an infinite loop in usbdriver.
svn path=/trunk/; revision=41416
2009-06-15 13:48:55 +00:00
Aleksey Bragin
da98481109 - Fix NULL pointer access in an error branch inside hub_clear_port_feature_completion(). Thanks to Christoph for testing.
svn path=/trunk/; revision=41415
2009-06-15 13:30:50 +00:00
Dmitry Chapyshev
29a53f8889 - Add target process reference/dereference in ProcessLdtInformation/ProcessWorkingSetWatch/ProcessWx86Information cases of NtQueryInformationProcess.
svn path=/trunk/; revision=41414
2009-06-15 07:05:19 +00:00
Dmitry Gorbachev
ba2bee71f3 Dutch translation of NetID DLL by Oscar van Egmond. Bug #4606.
svn path=/trunk/; revision=41413
2009-06-14 18:36:35 +00:00
Dmitry Chapyshev
4c6f38272b - Fix one "kernel32_winetest mailslot" test
svn path=/trunk/; revision=41412
2009-06-14 17:44:22 +00:00
Dmitry Chapyshev
94ddb22266 - Fix one "kernel32_winetest thread"
svn path=/trunk/; revision=41411
2009-06-14 16:51:48 +00:00
Christoph von Wittich
0cd158c9c5 add missing include guard
svn path=/trunk/; revision=41410
2009-06-14 15:33:12 +00:00
Sylvain Petreolle
0328a24e07 Cleanup GetAdaptersAddresses.
Add GetIfTable2 and GetIfEntry2 stubs
based on janderwald patch

svn path=/trunk/; revision=41409
2009-06-14 14:10:32 +00:00
Sylvain Petreolle
19a59aa438 Add needed defines for Vista network api
svn path=/trunk/; revision=41408
2009-06-14 14:09:01 +00:00
Dmitry Chapyshev
d5a6633583 - Add SectionHandle probing
svn path=/trunk/; revision=41407
2009-06-14 08:57:25 +00:00
Dmitry Chapyshev
a72b50ba4d - Add probing of the result buffer
- Add missing target process reference/dereference in MemorySectionName case of NtQueryVirtualMemory. Fixes 2 "psapi_winetest" failures.

svn path=/trunk/; revision=41406
2009-06-14 08:30:22 +00:00
Cameron Gutman
7c65e049ea - Implement NdisIMGetBindingContext and NdisIMGetDeviceContext
svn path=/trunk/; revision=41405
2009-06-14 05:42:30 +00:00
Sylvain Petreolle
14be0d32cb Fix 2 kernel32:environ tests.
The GetComputerNameEx ComputerNameDnsDomain tests can't succeed if we have no domain,
as the function succeeds querying a zero length domain into a zero length buffer.

svn path=/trunk/; revision=41404
2009-06-13 15:33:33 +00:00
Dmitry Gorbachev
ca19857e83 Lowercase STATIC and CONST. Fixes build with DBG but without KDBG.
svn path=/trunk/; revision=41403
2009-06-13 15:28:33 +00:00
Dmitry Chapyshev
df5470127f - Fix 5 winetests for CreateProcessA/W
svn path=/trunk/; revision=41402
2009-06-13 12:24:51 +00:00
Cameron Gutman
a06e09c9ea - Header cleanup
svn path=/trunk/; revision=41401
2009-06-13 05:51:44 +00:00
Cameron Gutman
78f0b85fae - Implement NdisIMCopySendPerPacketInfo and NdisIMCopySendCompletePerPacketInfo
svn path=/trunk/; revision=41400
2009-06-13 05:37:16 +00:00
Cameron Gutman
166fb4de72 - Implement NdisGeneratePartialCancelId
svn path=/trunk/; revision=41399
2009-06-13 05:25:54 +00:00
Timo Kreuzer
240637d7ec Patch by Olaf Siejka (caemyr gmail com):
add stubs for unimplmented cases in ScsiPortNotification

svn path=/trunk/; revision=41398
2009-06-12 22:31:02 +00:00
Dmitry Gorbachev
ad59e09b0e Fix bug #4558 ("buildno" is not compatible with SVN 1.6).
svn path=/trunk/; revision=41397
2009-06-12 21:42:32 +00:00
Dmitry Chapyshev
829df8eb70 - Revert r41390
svn path=/trunk/; revision=41396
2009-06-12 17:54:51 +00:00
Dmitry Chapyshev
0bf97bff06 - Revert r41389
svn path=/trunk/; revision=41395
2009-06-12 17:42:34 +00:00
Dmitry Chapyshev
ae25fbb981 - Fix build
svn path=/trunk/; revision=41394
2009-06-12 17:14:42 +00:00
Timo Kreuzer
fc918eb5ac ChangeDisplaySettingsExA: don't leak the memory for the converted DEVMODEW
svn path=/trunk/; revision=41393
2009-06-12 16:52:31 +00:00
Dmitry Chapyshev
e4ae303e4a - Verify user32 export list with Win 2k3 R2
svn path=/trunk/; revision=41392
2009-06-12 15:54:25 +00:00
Dmitry Chapyshev
1b75d3dfa3 - Add job limit flags (based on MSDN info)
svn path=/trunk/; revision=41391
2009-06-12 15:49:16 +00:00
Dmitry Chapyshev
3f9540dadd - Set high priority class for winlogon.exe
svn path=/trunk/; revision=41390
2009-06-12 15:44:21 +00:00
Dmitry Chapyshev
c8e1416240 - Start services.exe and lsass.exe with above normal priority class
svn path=/trunk/; revision=41389
2009-06-12 15:41:26 +00:00
Cameron Gutman
7b18ba471e - Implement NdisCancelSendPackets
svn path=/trunk/; revision=41388
2009-06-11 23:53:23 +00:00
Stefan Ginsberg
4d52a6e737 - MINIPORT_CONFIGURATION_CONTEXT must be allocated from nonpaged pool as it contains a spinlock
svn path=/trunk/; revision=41387
2009-06-11 23:45:59 +00:00
Stefan Ginsberg
5bd2bdcaec - PnpInit: Allocate IopBusTypeGuidList from nonpaged pool as it contains a fast mutex.
- MsqCreateMessageQueue: Allocate the message queue from nonpaged pool as it contains a mutex.

svn path=/trunk/; revision=41386
2009-06-11 23:36:51 +00:00
Dmitry Chapyshev
d44cbb4ee0 2 == MEMORY_PRIORITY_FOREGROUND
0 == MEMORY_PRIORITY_BACKGROUND

svn path=/trunk/; revision=41385
2009-06-11 15:37:43 +00:00
Dmitry Chapyshev
bdee30aee5 - Add debug messages for unimplemented cases in NtQueryInformationProcess
svn path=/trunk/; revision=41384
2009-06-11 15:29:30 +00:00
Dmitry Chapyshev
e8062e7d29 - Add missed checks of the buffer length
svn path=/trunk/; revision=41383
2009-06-11 15:21:58 +00:00
Dmitry Chapyshev
0b86b42306 - Add debug messages for unimplemented cases
svn path=/trunk/; revision=41382
2009-06-11 15:04:20 +00:00
Michael Martin
75946e1764 - FinishTest: Modify DbgPrint to match format of winetests.
- Added basic tests for DriverObject, DeviceObject and Loading/Unloading of drivers.
- Added kmtestassist to be used for testing Attached DeviceObject.
- Added CreateLowerDeviceRegistryKey to manually create volatile registry entry for kmtestassist driver.
- More tests still need to be implemented and still need a user mode application to control kmtest.

svn path=/trunk/; revision=41381
2009-06-11 14:13:11 +00:00
Michael Martin
978fcad8fb - Fix formatting.
svn path=/trunk/; revision=41380
2009-06-11 12:37:16 +00:00
Aleksey Bragin
0bc8e64ea2 - Add a lazy-initializing hack until user32 is able to delay-load the advapi32 as it should. It fixes a problem of trying to enter a non-initialized critical section object and possibly hanging on every boot.
svn path=/trunk/; revision=41379
2009-06-11 11:42:07 +00:00
Michael Martin
2023257ded - Add IoGetDeviceAttachmentBaseRef, IoGetDiskDeviceObject and IoGetLowerDeviceObject.
svn path=/trunk/; revision=41378
2009-06-11 01:05:51 +00:00
KJK::Hyperion
24a8093b5b Fix Visual C++ build
svn path=/trunk/; revision=41377
2009-06-10 20:09:03 +00:00
Aleksey Bragin
67b2570aeb - Implement ProcessPriorityClass case for NtSetInformationProcess(). Based on Dmitry Chapyshev's work and testing.
svn path=/trunk/; revision=41376
2009-06-10 19:31:54 +00:00
Aleksey Bragin
d538f101ac - Add PsSetProcessPriorityByClass() declaration to NDK.
svn path=/trunk/; revision=41375
2009-06-10 19:24:38 +00:00
KJK::Hyperion
e1dbbac2c4 modified ReactOS-generic.rbuild
modified   ReactOS-i386.rbuild
modified   tools/rbuild/backend/mingw/mingw.cpp
   Don't feed GCC options in MSC
   Minor detection fixes

Support for the Microsoft compiler is now fully functional: now get off your grotesquely fat asses and start fixing code so that it compiles with it

TODO: make it fully functional for real (PCH, full dependencies); Microsoft linker support

svn path=/trunk/; revision=41374
2009-06-10 19:12:18 +00:00
Dmitry Chapyshev
c828055508 - Fix Firefox 1.0/1.5 minimisation to taskbar
Patch by Mikhail Denisenko (denisenkom@gmail.com)

See issue #2451 for more details.

svn path=/trunk/; revision=41373
2009-06-10 18:44:31 +00:00
KJK::Hyperion
36e771184a Fix the cheerleader, fix the build
svn path=/trunk/; revision=41372
2009-06-10 18:41:50 +00:00
Johannes Anderwald
a0aa8829fc - Check in wdmaud if a pin with the specified filter id and pin id has been opened
- Partly rewrite SysAudio as it is no longer required to store client specific information per connection since wdmaud just opens one connection
- Verify all audio handles at incoming irp

svn path=/trunk/; revision=41371
2009-06-10 18:28:15 +00:00
KJK::Hyperion
305a63335d modified tools/rbuild/backend/mingw/compilers/msc.mak
Fix definition of cl
   Fix definition of RBUILD_CXX

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
modified   tools/rbuild/backend/mingw/mstools_detection.cpp
   Actually set RBUILD_CL_PATH and RBUILD_LINK_PATH

svn path=/trunk/; revision=41370
2009-06-10 18:24:33 +00:00
Dmitry Chapyshev
067ab38bb7 - Fix typo
svn path=/trunk/; revision=41369
2009-06-10 18:09:15 +00:00
KJK::Hyperion
5c0e22fb27 modified Makefile
added      tools/rbuild/backend/mingw/compilers
added      tools/rbuild/backend/mingw/compilers/gcc.mak
added      tools/rbuild/backend/mingw/compilers/msc.mak
added      tools/rbuild/backend/mingw/linkers
added      tools/rbuild/backend/mingw/linkers/ld.mak
added      tools/rbuild/backend/mingw/linkers/mslink.mak
modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/rules.mak
modified   tools/rbuild/rbuild.h
   Moved linker and compiler rules in separate files
   Renamed compiler rules to more generic names
   New compiler rules for dependencies and preprocessor modes
   Rules for Microsoft C/C++ Compiler
   Linker rule file stubs

modified   tools/rbuild/module.cpp
modified   tools/rbuild/project.cpp
   All elements now support "compilerset" and "linkerset" conditional attributes

svn path=/trunk/; revision=41368
2009-06-10 17:56:12 +00:00
Dmitry Chapyshev
0d96a60df3 - Set priority only if PriorityClass != PROCESS_PRIORITY_CLASS_INVALID
svn path=/trunk/; revision=41367
2009-06-10 17:11:36 +00:00
KJK::Hyperion
0c2ae3d768 deleted tools/msc_helper
deleted    tools/msc_helper/msc_helper.cpp
deleted    tools/msc_helper/msc_helper.rbuild
added      tools/rbuild_helper
deleted    tools/rbuild_helper/msc_helper.cpp
deleted    tools/rbuild_helper/msc_helper.rbuild
added      tools/rbuild_helper/rbuild_helper.rbuild
   msc_helper renamed to rbuild_helper, because it could be useful to more than just Visual C++

added      tools/rbuild_helper/rbuild_helper.cpp
   Allow rbuild_helper to override any environment variable, given an override prefix (e.g., %VAR% will be replaced by %<override prefix>VAR%)

modified   tools/tools.rbuild
   Build rbuild_helper by default

svn path=/trunk/; revision=41366
2009-06-10 11:16:28 +00:00
Dmitry Chapyshev
89c5e30fd7 - Fix ProcessPriorityClass case in NtQueryInformationProcess. Structure PROCESS_PRIORITY_CLASS should be returned. Tested in win vista
svn path=/trunk/; revision=41365
2009-06-10 07:07:51 +00:00
Timo Kreuzer
b9a6ee158d [FORMATTING]
dibobj.c: fix indentation, no code change

svn path=/trunk/; revision=41364
2009-06-10 00:23:15 +00:00
Johannes Anderwald
a895171aca - Topology nodes can have a nullable name
- Disable releasing resources when IPortFilterWaveCyclic is closed

svn path=/trunk/; revision=41363
2009-06-09 21:55:12 +00:00
Sylvain Petreolle
d5c66d9743 Dhcp HostName isn't mandatory.
Fixes nat networking in vbox.

svn path=/trunk/; revision=41362
2009-06-09 20:22:48 +00:00
Aleksey Bragin
bbccb19127 - Fix accidentally committed change in a function prototype. Spotted by Stefan Ginsberg.
svn path=/trunk/; revision=41361
2009-06-09 16:43:22 +00:00
Sylvain Petreolle
77af3a18bd don't include private.h twice
fix include path

svn path=/trunk/; revision=41360
2009-06-09 16:42:42 +00:00
Aleksey Bragin
fefcaea1a8 - Make use of the implemented transfer counter.
svn path=/trunk/; revision=41359
2009-06-09 16:38:05 +00:00
Aleksey Bragin
37fdc19299 - Implement a helper for updating IO transfer counters. Based on a patch by Dmitry Chapyshev.
svn path=/trunk/; revision=41358
2009-06-09 16:17:34 +00:00
Johannes Anderwald
de4dace673 - Add a few sanity assert to KsCreate
- Pass a create item and use an object class when creating an object header
- Return zero mixer count when wdmaud fails to enumerate virtual device count
- Should fix high cpu usage after installing audio drivers

svn path=/trunk/; revision=41357
2009-06-09 14:50:24 +00:00
Michael Martin
999d0e50c9 - MmUnmapViewOfSection: Unlock address space before notifying debugger. Fixes a case where OllyDbg deadlocks in a GateWait while trying to read virtual memory.
svn path=/trunk/; revision=41356
2009-06-09 12:50:32 +00:00
Johannes Anderwald
afe9096dba - KeSaveFloatingPointState can be called at irql <= DISPATCH_LEVEL
svn path=/trunk/; revision=41354
2009-06-09 07:15:37 +00:00
Johannes Anderwald
0ba38df7fa - Store servicegroup obtained from IMiniportDMus / IMiniportMidi Init function when IPortDMus / IPortMidi RegisterServiceGroup is not called
svn path=/trunk/; revision=41353
2009-06-08 22:02:46 +00:00
Johannes Anderwald
fd1851d16a - Fix a bug in KsTopologyPropertyHandler
- Create a KSTOPOLOGY struct when creating the subdevice descriptor and pass the struct to KsTopologyPropertyHandler
- Implement enumerating mixer devices
- Change handle array to contain the target device type. Mixer handles are not real handles, they are just pseudo handles 
- Forward KSPROPSETID_Topology request to portcls (sysaudio)

svn path=/trunk/; revision=41352
2009-06-08 21:37:20 +00:00
Dmitry Chapyshev
0537f45d82 - Add cases for IOCTL_SCSI_MINIPORT and IOCTL_SCSI_PASS_THROUGH
svn path=/trunk/; revision=41351
2009-06-08 15:53:23 +00:00
Stefan Ginsberg
50585c6349 - Clean up RtlSecureZeroMemory
svn path=/trunk/; revision=41350
2009-06-08 13:42:02 +00:00
Cameron Gutman
4ceaa89fbd - Check to see that the packet status isn't NDIS_STATUS_RESOURCES before forwarding the packet descriptor to the ReceivePacketHandler
svn path=/trunk/; revision=41349
2009-06-08 09:45:13 +00:00
Cameron Gutman
b59d119c6c - Rewrite MiniQueryInformation so it creates a NDIS_REQUEST and passes it to MiniDoRequest for processing to reduce code duplication
- Call MiniportCoRequest in connection-oriented miniports
 - Now our NDIS loads all the way to the ASSERT for unsupported media on XP

svn path=/trunk/; revision=41348
2009-06-08 03:12:03 +00:00
Michael Martin
781c590520 - ElfrReportEventW: Silence debugging thats no longer needed as this API is now implemented.
svn path=/trunk/; revision=41347
2009-06-08 02:32:48 +00:00
Cameron Gutman
3f12788efc - Fix our handler checks
- Now XP's intermediate miniport drivers can load on ROS's NDIS
 - More work still needs to be done to get them working though

svn path=/trunk/; revision=41346
2009-06-08 02:23:47 +00:00
Cameron Gutman
f088b72ab8 - Register the adapter shutdown handler if it is specified in the miniport characteristics
svn path=/trunk/; revision=41345
2009-06-08 01:14:19 +00:00
KJK::Hyperion
1ce45c8130 Fix no-op code for UNIX hosts
svn path=/trunk/; revision=41344
2009-06-07 23:39:15 +00:00
KJK::Hyperion
4a745139c1 modified tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
   From now on, the MinGW back-end will also support the Microsoft command line C/C++ compiler (cl) and incremental linker (link). Support is currently limited to detecting the tools, and invoking them with the wrong arguments. Only Windows hosts are currently supported

added      tools/rbuild/backend/mingw/mstools_detection.cpp
modified   tools/rbuild/rbuild.mak
   Auto-detection of Microsoft compiler and linker: if rbuild finds them in the path, it will use those. Otherwise, it will look for the highest version installed by any of the supported Microsoft products. Supported Microsoft products are Visual Studio 2005 and higher, Visual C++ Express and Windows DDK version 6001 and higher. Optimizing versions of the compiler will take precedence over "standard edition" compilers, regardless of version number

modified   tools/rbuild/configuration.cpp
modified   tools/rbuild/rbuild.cpp
modified   tools/rbuild/rbuild.h
   New command line options for rbuild to choose the tools set for the MinGW back-end: -Mc<compiler set>, -Ml<linker set>, -M<build tools set>. Defaults to -Mgnu, so that support for Microsoft tools has to be opted into

svn path=/trunk/; revision=41343
2009-06-07 23:33:42 +00:00
Johannes Anderwald
82a6743526 - Disable debugging flood
svn path=/trunk/; revision=41342
2009-06-07 18:24:50 +00:00
Johannes Anderwald
7a728c427a - Also Store audio filter object header in FsContext member
- Create the pin on the correct filter by using the filters object class
- Remove filter object class before performing actual create request
- Remove object header from audio filter when closing
- Retrieve internal object class name with internal IOCTL_KS_OBJECT_CLASS
- Avoid using interface name as ReactOS doesn't support it
- Store object class name when creating the object header for the audio sub device
- Implement IPortFilterTopology interface
- Activate pin property handle for port topology driver 
- There is no need to create a handle to sysaudio for each application opening wdmaud, use only one connection per driver basis
- Pass object create class to pin creation method by duplicating KsCreatePin
- Audio devices should now be accessible again

svn path=/trunk/; revision=41341
2009-06-07 18:22:24 +00:00
Christoph von Wittich
60e3f374fa revert a part of r41339 as it break ppc port
svn path=/trunk/; revision=41340
2009-06-07 17:42:41 +00:00
Christoph von Wittich
3df8d98cc9 fix definition of LUID
svn path=/trunk/; revision=41339
2009-06-07 17:27:44 +00:00
Christoph von Wittich
294aec4619 partial wine sync
svn path=/trunk/; revision=41338
2009-06-07 15:36:25 +00:00
Christoph von Wittich
5582c91e5b add missing newline at eof
svn path=/trunk/; revision=41337
2009-06-07 15:34:48 +00:00
Christoph von Wittich
91044765a6 sync kernel32 lzexpand to wine 1.1.23
svn path=/trunk/; revision=41336
2009-06-07 14:10:13 +00:00
Sylvain Petreolle
4484749023 fix
dll/win32/netshell/lang/nl-NL.rc:128:4: error: no newline at end of file

svn path=/trunk/; revision=41335
2009-06-07 13:41:41 +00:00
Christoph von Wittich
39e6a334c2 don't close a dialog with <Return> when the OK button is disabled
svn path=/trunk/; revision=41334
2009-06-07 13:27:33 +00:00
Christoph von Wittich
12c11159c8 sync urlmon and winhttp with wine 1.1.23
svn path=/trunk/; revision=41333
2009-06-07 12:32:05 +00:00
Christoph von Wittich
8d470e46d8 sync msiexec to wine 1.1.23
svn path=/trunk/; revision=41332
2009-06-07 11:34:39 +00:00
Christoph von Wittich
b5b8395b7d sync msvcrt_winetest with wine 1.1.23
svn path=/trunk/; revision=41331
2009-06-07 11:27:20 +00:00
Christoph von Wittich
2fca9b58ec fix msvcrt data winetests
svn path=/trunk/; revision=41330
2009-06-07 11:24:37 +00:00
Christoph von Wittich
2fafd4ae3d sync version with wine 1.1.23
svn path=/trunk/; revision=41329
2009-06-07 11:12:48 +00:00
Christoph von Wittich
281ab9c777 sync advapi32_winetest with wine 1.1.23
svn path=/trunk/; revision=41328
2009-06-07 10:58:10 +00:00
Christoph von Wittich
a4e75a5669 sync shlwapi with wine 1.1.23
svn path=/trunk/; revision=41327
2009-06-07 10:54:09 +00:00
Christoph von Wittich
1f0e368a20 sync shlwapi_winetest with wine 1.1.23
svn path=/trunk/; revision=41326
2009-06-07 10:50:06 +00:00
Christoph von Wittich
1430611396 sync rsaenh with wine 1.1.23
svn path=/trunk/; revision=41325
2009-06-07 10:46:04 +00:00
Christoph von Wittich
565e63dab6 partial sync of shell32 shfldr_netplaces
svn path=/trunk/; revision=41324
2009-06-07 10:43:50 +00:00
Christoph von Wittich
6e8b943b1b sync gdiplus_winetest with wine 1.1.23
svn path=/trunk/; revision=41323
2009-06-07 10:10:52 +00:00
Christoph von Wittich
fdc6b38763 update README.WINE
svn path=/trunk/; revision=41322
2009-06-07 10:02:02 +00:00
Christoph von Wittich
785b7d0f2b -formatting fixes
-update README.WINE

svn path=/trunk/; revision=41321
2009-06-07 09:41:22 +00:00
Christoph von Wittich
5930cc1782 fix build
svn path=/trunk/; revision=41320
2009-06-07 08:53:46 +00:00
Christoph von Wittich
e26d39be7a sync shlguid.h with wine 1.1.23
svn path=/trunk/; revision=41319
2009-06-07 08:43:36 +00:00
Dmitry Chapyshev
fa1396e85b - Sync gdiplus with Wine 1.1.23
svn path=/trunk/; revision=41318
2009-06-07 07:59:56 +00:00
Dmitry Chapyshev
c1e38ff75f - Sync comdlg32, avifil32 with Wine 1.1.23
svn path=/trunk/; revision=41317
2009-06-07 07:55:59 +00:00
Christoph von Wittich
c3112d1170 sync riched20 and riched32 with wine 1.1.23
svn path=/trunk/; revision=41316
2009-06-07 06:19:03 +00:00
Christoph von Wittich
a4aa79b0d7 sync cryptui and crypt32 with wine 1.1.23
svn path=/trunk/; revision=41315
2009-06-07 05:59:39 +00:00
Michael Martin
fddbec411f - IopUnloadDriver: Only add the DOE_UNLOAD_PENDING to the Device's DeviceExtensions Flags and check for attached devices and reference counts if the DriverObject->DriverUnload is valid. Verified on XP.
- IopLoadUnloadDriver: Add a check to verify that ImagePath.Buffer is non null before freeing it. 

svn path=/trunk/; revision=41314
2009-06-07 01:18:15 +00:00
Christoph von Wittich
1163e01722 sync shell32 shelllink to wine 1.1.23
svn path=/trunk/; revision=41313
2009-06-06 17:17:11 +00:00
Christoph von Wittich
b95b67f490 update TOKEN_INFORMATION_CLASS enum
svn path=/trunk/; revision=41312
2009-06-06 16:24:27 +00:00
Christoph von Wittich
958ba014c1 sync kernel32_winetest with wine 1.1.23
svn path=/trunk/; revision=41311
2009-06-06 16:10:47 +00:00
Christoph von Wittich
cb11ae8788 sync cabinet, jscript, msi and msxml3 with wine 1.1.23
svn path=/trunk/; revision=41310
2009-06-06 15:59:47 +00:00
Christoph von Wittich
2f98b5a4c4 sync jscript and msi winetests with wine 1.1.23
svn path=/trunk/; revision=41309
2009-06-06 15:59:11 +00:00
Christoph von Wittich
f30d5ea76f import SHGetNewLinkInfoA/W from wine
svn path=/trunk/; revision=41308
2009-06-06 15:45:10 +00:00
Christoph von Wittich
02741d8961 sync shell32_winetest with wine 1.1.23
svn path=/trunk/; revision=41307
2009-06-06 15:43:07 +00:00
Christoph von Wittich
ea0cf3d605 export DisplayExitWindowsWarnings and DisableProcessWindowsGhosting
svn path=/trunk/; revision=41306
2009-06-06 15:28:47 +00:00
Christoph von Wittich
4310bba7fe forgot this file :/
svn path=/trunk/; revision=41305
2009-06-06 15:18:30 +00:00
Christoph von Wittich
602e8eec8d partial sync of shlfileop to wine 1.1.23
svn path=/trunk/; revision=41304
2009-06-06 15:17:54 +00:00
Ged Murphy
524cdfd04f There's no such thing as ntsys.lib in Windows, dynamically link to ntdll to fix building with msvc.
svn path=/trunk/; revision=41303
2009-06-06 14:37:40 +00:00
Ged Murphy
c4c37910a4 Use the dll runtime library.
Fixes building taskmgr with VS and probably others

svn path=/trunk/; revision=41302
2009-06-06 14:30:57 +00:00
Christoph von Wittich
c1787d3a8a sync user32 winetest with wine 1.1.23
svn path=/trunk/; revision=41301
2009-06-06 14:25:56 +00:00
Christoph von Wittich
06b07ed556 sync user32 listbox and combobox to wine 1.1.22
svn path=/trunk/; revision=41300
2009-06-06 14:15:43 +00:00
Christoph von Wittich
0d76b6fd0f update README.WINE
svn path=/trunk/; revision=41299
2009-06-06 13:24:09 +00:00
Ged Murphy
a7d1ff5e00 Keep the horizontal grid axis consistent
svn path=/trunk/; revision=41298
2009-06-06 13:08:22 +00:00
Christoph von Wittich
b5d17eb491 sync user32 edit and exticon to wine 1.1.22
svn path=/trunk/; revision=41297
2009-06-06 12:54:01 +00:00
Christoph von Wittich
342bd4f186 sync user32 button and static to wine 1.1.22
svn path=/trunk/; revision=41296
2009-06-06 08:50:05 +00:00
Dmitry Chapyshev
c071c35012 SearchPathA()
- Fix calculation of buffer size (fixes Skype crash)
Patch by Mikhail Denisenko (denisenkom@gmail.com)
See issue #4526 for more details.

svn path=/trunk/; revision=41295
2009-06-06 08:14:11 +00:00
Dmitry Chapyshev
2d592301c9 WSPSelect()
- Fix checking of params
- Fix allocation size
Tested on Firefox, Downloader, Skype
Patch by Mikhail Denisenko (denisenkom@gmail.com) with small changes

See issue #4526 for more details.

svn path=/trunk/; revision=41294
2009-06-06 07:54:54 +00:00
James Tabor
3ee953f7f5 - NtGdiEngCreateDeviceBitmap: Test size larger than 32 bits in width.
svn path=/trunk/; revision=41293
2009-06-06 04:24:03 +00:00
James Tabor
dbd87f50fe - Update stubs, NtGdiEngCreateDevice/Bitmap.
svn path=/trunk/; revision=41292
2009-06-06 01:53:24 +00:00
Aleksey Bragin
d4417f6e6c - Add USB keyboard and mouse support to ReactOS.
See issue #1041 for more details.

svn path=/trunk/; revision=41291
2009-06-05 16:49:41 +00:00
Dmitry Gorbachev
9b490918f1 Netshell: update Dutch translation. Oscar van Egmond (oscar_04*AT*live*DOT*nl), bug #4582.
svn path=/trunk/; revision=41290
2009-06-05 15:20:04 +00:00
Cameron Gutman
68fef5356a - Revert r41287
svn path=/trunk/; revision=41289
2009-06-04 20:11:01 +00:00
Dmitry Gorbachev
4411cd3ecc Sync French translation with English original.
svn path=/trunk/; revision=41288
2009-06-04 18:10:18 +00:00
Cameron Gutman
7445880f25 - Fix the map register count check
svn path=/trunk/; revision=41287
2009-06-04 18:00:17 +00:00
Johannes Anderwald
42771ef723 - Revert 40694 as FIELD_OFFSET is perfectly working code and the new one might not work on some compilers
- Add informal debug traces for bug 4354

svn path=/trunk/; revision=41285
2009-06-04 14:16:57 +00:00
Dmitry Gorbachev
aed29dde4e Remove KeBugCheckWithTf() hack, fix VBEResetHw(). Stefan Ginsberg, bug #4581.
svn path=/trunk/; revision=41284
2009-06-04 13:54:27 +00:00
Aleksey Bragin
8e59bc0550 - Add ReactOS Device Detection Tool - RosDDT. It's a command line tool for checking PC's hardware configuration for compatibility with ReactOS, and for reporting working hardware configurations to ReactOS hardware compatibility database. The tool is able of autoupdating its hardware compatibility database.
* Web part is stubbed for now (hw.php) and needs to be developed.
 * Actual hardware database file (rosddt.ini) has only sample information.
 * Readme file is in Russian language, however running rosddt.exe without parameters provides a built-in English usage help.

svn path=/trunk/; revision=41282
2009-06-04 12:38:30 +00:00
Johannes Anderwald
a461485cb0 - Remove a few bad (PLIST_ENTRY) casts
svn path=/trunk/; revision=41280
2009-06-04 09:37:57 +00:00
Aleksey Bragin
9e9c082bb7 Mikhail Denisenko <denisenkom@gmail.com>
- Split the PIDL into current and parent folder, and call GetFolderAttributes only for current folder PIDL. This fixes tons of "ERR: HCR_GetFolderAttributes should be called for simple PIDL's only!" debug log spam messages.

See issue #4494 for more details.

svn path=/trunk/; revision=41279
2009-06-04 09:01:10 +00:00
Daniel Reimer
30269c48c7 Bug 4567: Italian translation updates by Paolo Devoti
svn path=/trunk/; revision=41278
2009-06-04 08:47:44 +00:00
Michael Martin
ac16fec27e - MiFindExportedRoutineByNam: Correct an typo in assert that caused MmGetSystemRoutineAddress to assert after finding a valid non forwarder function.
svn path=/trunk/; revision=41277
2009-06-04 08:18:12 +00:00
Michael Martin
579c35f87a - IopDeleteDevice: Fix a typo.
svn path=/trunk/; revision=41276
2009-06-04 03:40:47 +00:00
James Tabor
463f40fcd5 - More research is required to fix NtGdiSetPixelFormat, so removing disputed information.
svn path=/trunk/; revision=41275
2009-06-04 01:33:43 +00:00
Dmitry Gorbachev
23e3456582 Estonian translations by Andres Traks (anthrax11*AT*hot*DOT*ee), bug #4580.
svn path=/trunk/; revision=41274
2009-06-04 01:08:57 +00:00
Michael Martin
ae1e7f0289 - IoGetLowerDeviceObject: Return lower device object if pending flags are not set. Noticed by Johannes Anderwald.
svn path=/trunk/; revision=41273
2009-06-04 00:01:43 +00:00
Cameron Gutman
64ef1907f0 - Export NdisFreeToBlockPool
svn path=/trunk/; revision=41272
2009-06-03 23:51:35 +00:00
Michael Martin
0c362cc691 - IopCreateDriver: Change MajorFunction routines back to internal function IopInvalidDeviceRequest for ones that were set to NULL in the Drivers DriverEntry. Windows does it and so shall we.
svn path=/trunk/; revision=41269
2009-06-03 09:48:33 +00:00
Cameron Gutman
84594fb342 - Remove an incorrect comment (I wasn't thinking when I wrote it ;))
- Add an ASSERT for an unhandled case

svn path=/trunk/; revision=41265
2009-06-03 01:48:47 +00:00
Dmitry Gorbachev
877b413520 Do not crash on software breakpoint in kdb.
svn path=/trunk/; revision=41264
2009-06-02 22:14:46 +00:00
Ged Murphy
81fa6557af - Add more missing styles
- Patch by Gabriel Ilardi (gabrielilardi at hotmail dot it)

svn path=/trunk/; revision=41261
2009-06-02 20:09:00 +00:00
Ged Murphy
00e85059d8 Make the horizontal and vertical axis in the history graphs solid lines instead of the dotted 80's style we had.
svn path=/trunk/; revision=41260
2009-06-02 19:09:03 +00:00
Cameron Gutman
70a581c537 - Enable the code in NdisSetTimerEx
- Add a debug print

svn path=/trunk/; revision=41258
2009-06-02 18:20:15 +00:00
Ged Murphy
65fa28b9de bug3954 missed some styles. Updated English resource, can Gabriel or anyone else do the rest.
svn path=/trunk/; revision=41257
2009-06-02 14:58:02 +00:00
Aleksey Bragin
65612168fe - Properly disable tag validation if using debugging pool (fixes a wrong part of r41255).
svn path=/trunk/; revision=41256
2009-06-02 12:54:03 +00:00
Aleksey Bragin
88b8188a0e - Add a note about increasing max pool sizes when using pool debugging.
svn path=/trunk/; revision=41255
2009-06-02 12:48:00 +00:00
Michael Martin
1760329b33 IopCreateObjectTypes: Add a DeleteProcedure for Device Objects.
IopUnloadDevice: After calling the drivers Unload routine, make the DriverObject temporary and dereference it.
IopUnloadDriver: Check that the driver is not already unloading before trying to call unload routine.
If any failure, dereference the DriverObject before returning STATUS code.
On an attempt to unload the driver, loop through each DeviceObject and set DOE_UNLOAD_PENDING in device extensions flags.
Before calling the driver's unload routine set DRVO_UNLOAD_INVOKED in DriverObject's flags.
Fixes Bugchecks when attempting to load driver a second time and when unloading a driver that has upper level device attached.

svn path=/trunk/; revision=41254
2009-06-02 12:10:17 +00:00
Matthias Kupfer
3970cdddbc Gabriel Ilardi <gabrielilardi AT hotmail DOT it>
- Fixes the TAB_STOP problem for taskmanager.
- See issue #3954 for details.

svn path=/trunk/; revision=41253
2009-06-02 11:28:47 +00:00
Matthias Kupfer
df9c9d55b3 set menu checkmark always on top always
svn path=/trunk/; revision=41252
2009-06-02 11:04:02 +00:00
Matthias Kupfer
9389bb01b8 - fixes the problem of unsetting the HWND_TOPMOST property (e.g. taskmgr)
- review recommended, but i think it's sufficient to limit topmost property to desktop windows only (otherwise we can remove this part of condition)

svn path=/trunk/; revision=41251
2009-06-02 10:13:30 +00:00
James Tabor
cdacb4b6b5 - Hax-implement NtGdiSetPixelFormat and add a support function UserGethWnd with some code cleanup.
svn path=/trunk/; revision=41250
2009-06-02 06:50:36 +00:00
Cameron Gutman
e640466446 - Fix a potential crash in IoGetLowerDeviceObject if nothing is attached to us
svn path=/trunk/; revision=41249
2009-06-02 01:34:12 +00:00
Cameron Gutman
e4a0b00377 - Use MmFreeContiguousMemorySpecifyCache to free memory allocated by MmAllocateContiguousMemorySpecifyCache in HalAllocateCommonBuffer
svn path=/trunk/; revision=41248
2009-06-02 01:30:52 +00:00
Cameron Gutman
6530a6856e - Forgot to free DmaContext
svn path=/trunk/; revision=41247
2009-06-02 00:43:21 +00:00
Cameron Gutman
2d20153f5f - Finish our NDIS S/G DMA implementation
- Totally untested due to lack of HAL S/G support

svn path=/trunk/; revision=41246
2009-06-02 00:37:23 +00:00
James Tabor
5e49d1b3cc - Implement NtGdiDescribePixelFormat, needs testing.
svn path=/trunk/; revision=41245
2009-06-01 23:24:20 +00:00
James Tabor
e2bc37faee - Add note for WNDOBJ.
svn path=/trunk/; revision=41244
2009-06-01 22:51:48 +00:00
Timo Kreuzer
39781fb735 Add missing exports to videoprt
svn path=/trunk/; revision=41243
2009-06-01 22:16:54 +00:00
Matthias Kupfer
60c7b6f542 fixes clipping problem for taskmgr process list
svn path=/trunk/; revision=41242
2009-06-01 22:10:43 +00:00
Cameron Gutman
85da39f0ab - Handle IRP_MN_QUERY_PNP_DEVICE_STATE
svn path=/trunk/; revision=41241
2009-06-01 21:56:44 +00:00
Cameron Gutman
7840b71301 - Register a device interface for each miniport
svn path=/trunk/; revision=41240
2009-06-01 19:10:49 +00:00
Cameron Gutman
dc6b09d85a - Include initguid.h so the GUIDs actually get initialized
svn path=/trunk/; revision=41239
2009-06-01 19:03:28 +00:00
Cameron Gutman
2d1234a73d - Use DECLSPEC_SELECTANY so multiple definitions will not cause a problem
svn path=/trunk/; revision=41238
2009-06-01 18:59:44 +00:00
Cameron Gutman
b2ca874ca9 - Add GUID_DEVINTERFACE_NET
svn path=/trunk/; revision=41237
2009-06-01 17:40:57 +00:00
Michael Martin
294eb46c01 eventlog.c: When manually creating RPC_UNICODE_STRING/RPC_STRING the Length member does not include the terminating null, but MaximumLength does. Fixes returning handle for Security and System event logs.
svn path=/trunk/; revision=41236
2009-06-01 17:11:30 +00:00
KJK::Hyperion
92da2bbe75 added tools/msc_helper
added      tools/msc_helper/msc_helper.cpp
added      tools/msc_helper/msc_helper.rbuild
   Build tool to invoke Microsoft tools, overriding the %PATH% variable and optionally filtering out the name of the file being compiled
   Will be used by the Visual C++ support for rbuild

svn path=/trunk/; revision=41235
2009-06-01 15:17:41 +00:00
KJK::Hyperion
8b8b19eacc added include/reactos/kjk
added      include/reactos/kjk/argv_parser.h
added      include/reactos/kjk/null_output_iterator.h
added      include/reactos/kjk/stringz_iterator.h
   Some internal libraries I use in code I haven't committed yet

svn path=/trunk/; revision=41234
2009-06-01 15:14:37 +00:00
Stefan Ginsberg
7aa1c0b641 - Disable debugging traces for dbgk/io/lpc/ob/ps by default, removing mostly unused debug code from frequently used routines and decreasing image size by about 32 KB. Also fix the way some macros are defined so we don't end up with double semicolons after the preprocessor.
svn path=/trunk/; revision=41233
2009-06-01 06:21:12 +00:00
Cameron Gutman
6d2f233002 - Implement and export NdisCompareAnsiString, NdisCompareUnicodeString, and NdisInterlockedAddLargeInteger
svn path=/trunk/; revision=41232
2009-05-31 23:20:55 +00:00
Cameron Gutman
d6dda55c2d - Export the stubs for NdisRegisterTdiCallBack, NdisSetProtocolFilter, and NdisClGetProtocolVcContextFromTapiCallId
- Remove some extra stuff
 - Move implemented stuff to misc.c
 - Add some debug prints

svn path=/trunk/; revision=41231
2009-05-31 23:00:32 +00:00
Kamil Hornicek
a10701f6ac - driverName can be null, display info.DriverName instead
svn path=/trunk/; revision=41230
2009-05-31 21:54:34 +00:00
Stefan Ginsberg
ca5fe53784 Patch from Olaf Siejka <olaf_siejka AT o2 DOT pl>
Stub out more IRP type cases instead of printing "Unknown IOCTL"

svn path=/trunk/; revision=41229
2009-05-31 20:53:49 +00:00
Cameron Gutman
9d9267a4fb - Add TDI_REGISTER_CALLBACK and TDI_PNP_HANDLER
svn path=/trunk/; revision=41228
2009-05-31 17:42:56 +00:00
James Tabor
a149107372 - dmDriverExtra is zeroed before the call to ChangeDisplaySettingsEx.
svn path=/trunk/; revision=41227
2009-05-31 17:33:27 +00:00
Sylvain Petreolle
6f6a9fe1c5 Return NDIS 5.1 in NdisGetVersion (its XP+)
svn path=/trunk/; revision=41226
2009-05-31 16:14:27 +00:00
Cameron Gutman
67f8c6d15c - Implement and export NdisOverrideBusNumber
svn path=/trunk/; revision=41225
2009-05-31 16:04:43 +00:00
Dmitry Chapyshev
e258863e18 - Implement NdisGetSharedDataAlignment and NdisGetVersion
svn path=/trunk/; revision=41224
2009-05-31 15:24:56 +00:00
Cameron Gutman
9ee18c1c89 - Fix build
svn path=/trunk/; revision=41223
2009-05-31 14:59:56 +00:00
Cameron Gutman
c57e5460f5 - Export and stub NdisAllocateFromBlockPool, NdisCancelSendPackets, NdisCoAssignInstanceName, NdisCoGetTapiCallId, NdisCreateBlockPool, NdisDestroyBlockPool, NdisGeneratePartialCancelId, NdisGetRoutineAddress, NdisGetSharedDataAlignment, NdisGetVersion, NdisIMGetCurrentPacketStack, NdisIMNotifyPnPEvent, NdisQueryPendingIOCount, and NdisSetPacketStatus
svn path=/trunk/; revision=41222
2009-05-31 14:47:06 +00:00
Cameron Gutman
b8460aa949 - Add NDIS_PACKET_STACK and NDIS_BLOCK_INITIALIZER
svn path=/trunk/; revision=41221
2009-05-31 14:42:17 +00:00
Cameron Gutman
b917a5c401 - Fix a typo
- Found by Fireball

svn path=/trunk/; revision=41219
2009-05-31 13:17:42 +00:00
Sylvain Petreolle
70806391db Sync GetNamedSecurityInfoA with Wine.
RtlCreateUnicodeStringFromAsciiz is unwanted since the call to GetNamedSecurityInfoW checks for NULL
and in this case sets ERROR_INVALID_PARAMETER.

svn path=/trunk/; revision=41216
2009-05-31 12:39:45 +00:00
Dmitry Gorbachev
f3dc5e09e4 Sync Dutch translation with English original.
svn path=/trunk/; revision=41215
2009-05-31 12:25:05 +00:00
Cameron Gutman
2c542da5fb - Export and hackplement NdisSetTimerEx
- Implementation is #ifed out currently but I may enable it later
 - Hopefully somebody can think of a better way to do it than the current code

svn path=/trunk/; revision=41213
2009-05-30 23:07:13 +00:00
Cameron Gutman
f52414693c - Fix line breaks
- Patch by Olaf Siejka

svn path=/trunk/; revision=41212
2009-05-30 22:54:38 +00:00
Cameron Gutman
7d457b6fd5 - Export stubs for NdisQueryBindInstanceName and NdisSetPacketPoolProtocolId
svn path=/trunk/; revision=41211
2009-05-30 22:50:33 +00:00
Cameron Gutman
4b7dc042c1 - Export NdisGetFirstBufferFromPacketSafe, NdisGetPacketCancelId, NdisGetPoolFromPacket, NdisPacketSize, and NdisSetPacketCancelId
svn path=/trunk/; revision=41210
2009-05-30 22:18:10 +00:00
Sylvain Petreolle
e1bafda4d6 Export NdisCopyFromPacketToPacketSafe
svn path=/trunk/; revision=41208
2009-05-30 21:50:49 +00:00
Cameron Gutman
a9826865bc - Fix handling of nonpaged contiguous memory in NdisAllocateMemory and NdisFreeMemory
svn path=/trunk/; revision=41207
2009-05-30 17:12:45 +00:00
Dmitry Chapyshev
c52c28e739 - Set default kb layout for Russian language to English
svn path=/trunk/; revision=41206
2009-05-30 13:47:48 +00:00
Sylvain Petreolle
2099bbb8bd Implement CDS_TEST flag for IntChangeDisplaySettings.
Set ERROR_CALL_NOT_IMPLEMENTED where needed.

svn path=/trunk/; revision=41205
2009-05-30 12:26:59 +00:00
Sylvain Petreolle
2b5b6243ba ChangeDisplaySettingsA and ChangeDisplaySettingsW should reset dmDriverExtra to 0.
svn path=/trunk/; revision=41204
2009-05-30 12:23:20 +00:00
Aleksey Bragin
0a2ab85168 - Add missing parameters probing.
svn path=/trunk/; revision=41203
2009-05-30 10:57:31 +00:00
Michael Martin
145292bd14 - eventlog.h: Add LIST_ENTRY to EVENTSOURCE structure to track handles.
- ElfCreateEventLogHandle: Modify return type to PEVENTSOURCE and add BOOL parameter to determine whether handle is being created or opened as behavior differs between the two.
- Added ElfGetEventLogSourceEntryByHandle for looking up the handle.
- Implement EventLog api's ElfrOpenELW, ElfrRegisterEventSourceW, ElfrReadELW, ElfrReportEventW, ElfrOldestRecord, ElfrCloseEL and ElfrDeregisterEventSource.
- LogfWriteData: Remove unnecessary debugging.

svn path=/trunk/; revision=41202
2009-05-30 01:08:56 +00:00
Michael Martin
63cf252981 - ElfrOpenBELW/ElfrOpenELW/ElfrRegisterEventSourceW: MajorVersion and MinorVersion must be 1 as documented on MSDN.
- ReportEventW: Use RtlInitUnicodeString for ComputerName.

svn path=/trunk/; revision=41201
2009-05-30 00:38:46 +00:00
Benedikt Freisen
f60cf40016 Paint: Added cropping via attributes dialog and setting desktop wallpaper (both not yet working)
svn path=/trunk/; revision=41200
2009-05-29 19:36:35 +00:00
Dmitry Chapyshev
a67875884f - Implement IOCTL_KEYBOARD_QUERY_ATTRIBUTES (not used yet, see FIXME comment)
- Add KeyboardAttributes to I8042_KEYBOARD_EXTENSION

svn path=/trunk/; revision=41199
2009-05-29 17:25:03 +00:00
Dmitry Chapyshev
fb2d7417a0 - Add IOCTL_KEYBOARD_QUERY_ATTRIBUTES / IOCTL_KEYBOARD_QUERY_TYPEMATIC / IOCTL_KEYBOARD_SET_TYPEMATIC (unimplemented)
svn path=/trunk/; revision=41198
2009-05-29 17:11:46 +00:00
Dmitry Chapyshev
d14c9bfc5e - Implement IOCTL_MOUSE_QUERY_ATTRIBUTES (untested)
svn path=/trunk/; revision=41197
2009-05-29 16:36:39 +00:00
Daniel Reimer
8564d5d7b0 Bug 4555: slovak translation update by Mario Kacmar
Bug 4562: Romanian translation patch by Dimitriu Petru

svn path=/trunk/; revision=41196
2009-05-29 12:43:43 +00:00
Johannes Anderwald
6a2637c2d0 - Use a reference name when registering audio subdevices (bug 4566)
- Release subdevice interface when it is no longer needed
- Fix a memory leak
- Audio support is on hold untill bug 4566 is resolved

svn path=/trunk/; revision=41195
2009-05-29 12:40:09 +00:00
James Tabor
76ebb1bce7 - Hack around the system start up Dll Initialization, this time we moved it to User32.
svn path=/trunk/; revision=41192
2009-05-29 08:16:16 +00:00
James Tabor
9fdb3933ab - Hack around the system start up Dll Initialization Bug for GdiHandleTable.
svn path=/trunk/; revision=41191
2009-05-29 07:13:43 +00:00
Michael Martin
add725ffb4 - ProcessMouseInputData: Mouse pointer shown on window was slightly off. Fix calculation in conversion to screen position.
svn path=/trunk/; revision=41190
2009-05-29 04:35:07 +00:00
Dmitry Gorbachev
ee5f7d6175 Show CDROM as CDROM in "Properties for Local Disk" dialog. Marcus Boillat, bug #4552.
svn path=/trunk/; revision=41188
2009-05-28 19:13:59 +00:00
Aleksey Bragin
fbb5ecf591 - Add missing AVL tree initialization.
svn path=/trunk/; revision=41186
2009-05-28 18:59:26 +00:00
Dmitry Gorbachev
65c1e96e4f Fix bug #4552, introduced in r40826 by me.
Patch by Marcus Boillat (ka6602-280*at*online*dot*de).

svn path=/trunk/; revision=41185
2009-05-28 18:50:40 +00:00
Aleksey Bragin
b961004731 - Delete entries for removed modules (os2, posix, rosky and vms).
svn path=/trunk/; revision=41177
2009-05-28 12:53:29 +00:00
Aleksey Bragin
eb8acc3f14 - Add missing c_424.nls.
svn path=/trunk/; revision=41176
2009-05-28 12:50:52 +00:00
Aleksey Bragin
9a45fd4d52 - Switch to using UniATA as a default storage driver. Makes it possible to use some SerialATA controllers/harddisks and overcome 8Gb HDD limitation.
See issue #1262 for more details.

svn path=/trunk/; revision=41175
2009-05-28 12:48:22 +00:00
Aleksey Bragin
0c845ee731 - Report 5.2 as a version in UniATA rather than 4.1. It doesn't seem to introduce incompatibility, but is more realistic for the rest of the driver.
svn path=/trunk/; revision=41174
2009-05-28 12:26:10 +00:00
Aleksey Bragin
b5000fe04d - Increase waiting time for DRQ removal inside AtapiInterrupt twice.
- Don't disable/enable IDE controller interrupts in AtapiSendCommand. This confuses Virtual Box's controller (it consumes one interrupt without ever emitting it) and thus sending any ATAPI command fails.
- Turn off ATAPI DMA raw read support by default. It seems to be incompatible with (at least) Virtual Box IDE controller.
See issue #3645 for more details.

svn path=/trunk/; revision=41173
2009-05-28 12:13:17 +00:00
Michael Martin
b231782314 - i8042MouInternalDeviceControl: Forgotten from last commit. Partially implement internal IOCTLs IOCTL_INTERNAL_I8042_MOUSE_WRITE_BUFFER, IOCTL_INTERNAL_I8042_MOUSE_START_INFORMATION and IOCTL_MOUSE_QUERY_ATTRIBUTES.
svn path=/trunk/; revision=41167
2009-05-28 07:08:47 +00:00
Michael Martin
80a1ad6299 - MouseThreadMain: Send IOCTL_MOUSE_QUERY_ATTRIBUTES to mouse driver. MSDN reads that this IOCTL is sent from the subsystem. Filter drivers can depend on this behavior. (VirtualBox guest addition drivers)
Does the subsystem need the returned mouse attributes for anything?
- ProcessMouseInputData: Handle flag MOUSE_MOVE_ABSOLUTE and change absolute mouse position to screen coordinates.
Fixes VirtualBox mouse integration.

svn path=/trunk/; revision=41166
2009-05-28 03:47:41 +00:00
Cameron Gutman
cabc0627ac - Only register a shutdown handler if adapter initialization has succeeded
svn path=/trunk/; revision=41161
2009-05-27 21:45:01 +00:00
Johannes Anderwald
92d38ba763 - Register shutdown notification
- Close file objects / handles on shutdown

svn path=/trunk/; revision=41157
2009-05-27 20:33:00 +00:00
Dmitry Gorbachev
a3e6255be2 Clear up debugger prompt from "mouse excrements". Tested in QEMU, Bochs, VirtualBox.
svn path=/trunk/; revision=41156
2009-05-27 20:27:35 +00:00
Dmitry Gorbachev
a7780a5fda Use a constant of the right type.
svn path=/trunk/; revision=41155
2009-05-27 20:27:27 +00:00
Dmitry Gorbachev
4ce41c57f5 Remove an unused variable that survived the Marletting.
svn path=/trunk/; revision=41154
2009-05-27 20:27:18 +00:00
Dmitry Gorbachev
8e9da0a8f0 Do not assign twice to the same variable.
svn path=/trunk/; revision=41153
2009-05-27 20:27:09 +00:00
Colin Finck
d3f761e829 Don't use a dereferencing operator when incrementing the pointer here.
Doesn't change the actual logic, but should avoid confusions ;-)

See issue #4557 for more details.

svn path=/trunk/; revision=41152
2009-05-27 20:13:36 +00:00
Matthias Kupfer
5907aba3f0 new rosdbg icon
svn path=/trunk/; revision=41151
2009-05-27 19:12:41 +00:00
Johannes Anderwald
e57f479b22 - return error code when there is a timeout
- improve error check in PcNewInterruptSync
- write an error log entry when a device fails to start

svn path=/trunk/; revision=41149
2009-05-27 18:42:56 +00:00
Johannes Anderwald
7e126c8427 - define PORT_MAXIMUM_MESSAGE_LENGTH
svn path=/trunk/; revision=41148
2009-05-27 18:32:39 +00:00
Dmitry Gorbachev
2d3b058e33 Change Paint to use Unicode
svn path=/trunk/; revision=41147
2009-05-27 17:56:50 +00:00
Aleksey Bragin
73bb488c7a Mikhail Denisenko <denisenkom@gmail.com>
- Destroy proper windows, fixes one more memory leak.

See issue #2012 for more details.

svn path=/trunk/; revision=41146
2009-05-27 17:37:35 +00:00
Aleksey Bragin
bc373b83fc Mikhail Denisenko <denisenkom@gmail.com>
- RegisterDragDrop should be coupled with a RevokeDragDrop, so add that.
- Remove _pDropTarget from class members, it's a var local to DesktopShellView::InitDragDrop() method.
See issue #2012 for more details.

svn path=/trunk/; revision=41145
2009-05-27 17:35:02 +00:00
Aleksey Bragin
b943ea64cf Mikhail Denisenko <denisenkom@gmail.com>
- Free subentries in Entry destructor. Fixes QuickLaunch entries leak.
See issue #2012 for more details.

svn path=/trunk/; revision=41144
2009-05-27 17:28:59 +00:00
Stefan Ginsberg
e6b91f9ede - IntEmptyClipboardData: Check before freeing a potential null pointer
svn path=/trunk/; revision=41143
2009-05-27 16:39:24 +00:00
Dmitry Gorbachev
acf1233799 Fix some bugs in Paint.
svn path=/trunk/; revision=41141
2009-05-27 12:03:18 +00:00
Dmitry Gorbachev
1692e98b17 Fix build, part 2.
svn path=/trunk/; revision=41140
2009-05-27 11:50:52 +00:00
Dmitry Gorbachev
1acfeeec78 Trying to fix build.
svn path=/trunk/; revision=41139
2009-05-27 11:42:18 +00:00
Dmitry Gorbachev
db320e7765 Fix warnings that are issued by new GCC versions.
svn path=/trunk/; revision=41138
2009-05-27 10:55:41 +00:00
James Tabor
718fea97dd - Add more missing structures to winddiui.h.
svn path=/trunk/; revision=41136
2009-05-27 07:19:31 +00:00
James Tabor
d343246821 - Implementation of gdi printing support. Work in progress. Added StartDocW plus others and fixed some defines. Found the initialization bug again, yes it was never fixed, but worked around. The debug spam has a purpose, just read it.
svn path=/trunk/; revision=41135
2009-05-27 04:49:29 +00:00
Cameron Gutman
623370604d - Add definition of NDIS_TASK_OFFLOAD_HEADER
svn path=/trunk/; revision=41134
2009-05-27 00:33:55 +00:00
Johannes Anderwald
0b648bb995 - Don't release resource list
- May fix 4551

svn path=/trunk/; revision=41131
2009-05-26 21:18:28 +00:00
Aleksey Bragin
d41ad9a51b - Make memcpy a duplicate of a memmove (confirmed by testing), there is a dependency on this behaviour. One less "msvcrt_winetest.exe string" failure.
svn path=/trunk/; revision=41126
2009-05-26 16:35:01 +00:00
Christoph von Wittich
878b219c0c sync LISTBOX_DeleteItem and LISTBOX_RemoveItem with wine 1.1.22
svn path=/trunk/; revision=41125
2009-05-26 15:57:17 +00:00
Daniel Reimer
b74916cb57 Bug 4535: Dutch translation for userinit by wouterdevlieger@gmail.com
Bug 4539: slovak translation update by Mario Kacmar
Bug 4540: Romanian translation patch by Petru Dimitriu

svn path=/trunk/; revision=41124
2009-05-26 12:10:58 +00:00
James Tabor
4d5af8524b - restore missing functions, fix build.
svn path=/trunk/; revision=41123
2009-05-26 06:36:57 +00:00
James Tabor
bac0137f97 - Implementation of gdi printing support. Work in progress. Losts of updates, including missing functions in the winspool spec file.
svn path=/trunk/; revision=41122
2009-05-26 05:50:15 +00:00
Timo Kreuzer
6ec8db72ea MmGrowKernelStack: go back to the ASSERT and add a fixed check
svn path=/trunk/; revision=41121
2009-05-25 22:38:00 +00:00
Michael Martin
434caf81e7 - i8042MouInternalDeviceControl: Implement IoControlCode of IOCTL_INTERNAL_I8042_HOOK_MOUSE.
- ForwardIrpAndWait: Don't use IoForwardIrpSynchronously to Forward IRPs as it fails if no next stack location is available, which prevents the mouse from initializing. Changed it to match implementation of our other input drivers. Mouse pointer now works with VBoxMouse driver loaded.

svn path=/trunk/; revision=41119
2009-05-25 16:15:33 +00:00
Kamil Hornicek
9f8bb1becc - dls1.h, dmdls.h, dmusics.h: fix typos, add missing definitions
- import dmerror.h, dmplugin.h, dmusicc.h, dmusicf.h, dmusici.h from Wine

svn path=/trunk/; revision=41118
2009-05-25 14:49:04 +00:00
Dmitry Chapyshev
37ff8d0b06 - Add missed DnsFree
svn path=/trunk/; revision=41117
2009-05-25 13:17:32 +00:00
Christoph von Wittich
b2f816bb35 some small reg fixes
svn path=/trunk/; revision=41116
2009-05-25 13:10:58 +00:00
Dmitry Chapyshev
b9d4186258 - Stubimplement SPI_GETFONTSMOOTHINGTYPE/SPI_SETFONTSMOOTHINGTYPE
svn path=/trunk/; revision=41115
2009-05-25 13:08:57 +00:00
Dmitry Chapyshev
8ee5277636 - Add support for SPI_GETCARETWIDTH/SPI_SETCARETWIDTH
svn path=/trunk/; revision=41114
2009-05-25 12:46:44 +00:00
Dmitry Chapyshev
a2c6368b2a - Disable Wow64* functions for x86 build
svn path=/trunk/; revision=41113
2009-05-25 11:01:16 +00:00
Kamil Hornicek
6e73768999 - don't discard valid pixel formats and use flags only for ranking
- patch by Robert Millan (rmh dot reactos at aybabtu dot com)

See issue #4384 for more details.

svn path=/trunk/; revision=41112
2009-05-25 10:50:03 +00:00
Dmitry Chapyshev
8e792cec37 .spec -> .pspec
svn path=/trunk/; revision=41111
2009-05-25 10:41:13 +00:00
Christoph von Wittich
a6c340a5ad sync msvcrt winetest to wine 1.1.22
svn path=/trunk/; revision=41110
2009-05-25 09:16:39 +00:00
James Tabor
0b310198a9 - Move more printer functions.
svn path=/trunk/; revision=41109
2009-05-25 04:28:54 +00:00
James Tabor
bdef7903ef - Move and add to print driver file for printing functions.
svn path=/trunk/; revision=41108
2009-05-25 04:22:03 +00:00
James Tabor
cb9820f1c3 - AbortDoc, Clear the correct flags.
svn path=/trunk/; revision=41107
2009-05-25 03:54:34 +00:00
Timo Kreuzer
ced40baa7b MmGrowKernelStack: go back to the ASSERT and add a fixed check
svn path=/trunk/; revision=41106
2009-05-24 23:17:48 +00:00
Cameron Gutman
a49c349111 - Fix a bug that could result in Dma32BitAddresses being set if the caller specifies NDIS_DMA_24BITS
svn path=/trunk/; revision=41105
2009-05-24 20:25:11 +00:00
Christoph von Wittich
8ab4f0feec revert a part of r41093 - A functions should call the W functions instead of the Nt functions
svn path=/trunk/; revision=41104
2009-05-24 18:57:28 +00:00
James Tabor
802fba9409 - Implement SetAbortProc and halfplement AbortDoc.
svn path=/trunk/; revision=41103
2009-05-24 18:04:10 +00:00
Kamil Hornicek
487d3fb627 - autoregister ddraw and dplayx
svn path=/trunk/; revision=41102
2009-05-24 16:10:57 +00:00
Timo Kreuzer
7d8b1bafe3 wdmaud.drv: don't cast DWORD to PVOID, use UlongToPtr instead
svn path=/branches/ros-amd64-bringup/; revision=41101
2009-05-24 12:53:47 +00:00
Christoph von Wittich
0febcbbbc6 a little bit of wine syncing - no real code changes - just to make syncing a bit easier next time
svn path=/trunk/; revision=41100
2009-05-24 12:14:42 +00:00
Matthias Kupfer
bc49ff78fe - better question icon in tango look (as long as tango icon set doesn't provide this icon)
- source in reactos/media/graphics

svn path=/trunk/; revision=41099
2009-05-24 11:49:03 +00:00
Timo Kreuzer
bbcfae27c5 usermgr: fix 2 POINTER<->DWORD casts
svn path=/branches/ros-amd64-bringup/; revision=41098
2009-05-24 11:32:59 +00:00
Timo Kreuzer
44ac61e7bb Fix pointer to DWORD cast. I also sent it to tftp on sourceforge.
svn path=/branches/ros-amd64-bringup/; revision=41097
2009-05-24 10:43:30 +00:00
Christoph von Wittich
81929cedad fix secur32 main winetest crash by returning 0 packages in EmumSecurityPackagesA/W
svn path=/trunk/; revision=41096
2009-05-24 09:40:15 +00:00
Aleksey Bragin
26c55135e2 - Add missing pool allocation failure branch in NtSetInformationFile, and a missing PAGED_CODE check. Spotted by Dmitry Chapyshev.
svn path=/trunk/; revision=41095
2009-05-24 09:08:51 +00:00
Christoph von Wittich
b95b9d2353 sync wintrust_winetest with wine 1.1.22
svn path=/trunk/; revision=41094
2009-05-24 09:07:56 +00:00
Christoph von Wittich
9de93bb07b sync RegQueryValueExA, RegQueryValueA, RegQueryValueW and RegSetValueExA to wine
patch by Giannis Adamopoulos <johnyadams at hotmail dot com>
See issue #4528 for more details.

svn path=/trunk/; revision=41093
2009-05-24 08:45:05 +00:00
James Tabor
3bf062d708 - Fix typo: AbortProc returns TRUE to continue the print job or FALSE to cancel the print job.
svn path=/trunk/; revision=41092
2009-05-24 04:14:48 +00:00
James Tabor
e7651266fd - Implement GdiConvertAndCheckDC and Abort callback support routine.
svn path=/trunk/; revision=41091
2009-05-24 04:07:47 +00:00
Cameron Gutman
e9cab0901b - MajorFunction has IRP_MJ_MAXIMUM_FUNCTION positions
- Sorry for so many commits on the same function

svn path=/trunk/; revision=41090
2009-05-24 00:49:02 +00:00
Cameron Gutman
d63e071c3d - We also shouldn't use our Shutdown handler
svn path=/trunk/; revision=41089
2009-05-24 00:38:10 +00:00
Cameron Gutman
b1b02ec330 - Don't use NDIS's ioctl handler for devices registered from NdisMRegisterDevice
svn path=/trunk/; revision=41088
2009-05-24 00:32:38 +00:00
Cameron Gutman
4546411768 - Irp->AssociatedIrp.SystemBuffer is a PNDIS_OID
svn path=/trunk/; revision=41087
2009-05-24 00:21:37 +00:00
Timo Kreuzer
bc94257cf1 untfs: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=41086
2009-05-23 23:21:50 +00:00
Timo Kreuzer
4099518a6c ufatx: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=41085
2009-05-23 23:20:16 +00:00
Timo Kreuzer
034e7f9add ufat: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=41084
2009-05-23 23:18:42 +00:00
Timo Kreuzer
4f9f03ba0e uext: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=41083
2009-05-23 23:16:52 +00:00
Timo Kreuzer
b60649538c twaain_32: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=41082
2009-05-23 23:07:48 +00:00
Michael Martin
e139612450 - CreateClassDeviceObject: Add flag DO_BUFFERED_IO to match windows behavior. Revealed by mouse spying utility that expected that IO method. These mouse spying drivers should now work.
svn path=/trunk/; revision=41081
2009-05-23 22:50:07 +00:00
Dmitry Chapyshev
25e390f1bd - Fix two potential crashes
svn path=/trunk/; revision=41080
2009-05-23 17:20:30 +00:00
Dmitry Gorbachev
e9441ce05c Return STATUS_SUCCESS to DbgPrint.
svn path=/trunk/; revision=41079
2009-05-23 15:02:41 +00:00
Dmitry Gorbachev
9c8b1c07fc Do not overwrite *max_bcount.
svn path=/trunk/; revision=41078
2009-05-23 15:02:35 +00:00
Dmitry Gorbachev
ee55e122dd Make __CRT_INLINE always inline, use ceil instead of ceill.
Fixed linking when compiling with -O0, it should now work.

svn path=/trunk/; revision=41077
2009-05-23 15:02:28 +00:00
Dmitry Gorbachev
fc4d23fa18 Fix buffer overflow, add some debug prints.
svn path=/trunk/; revision=41076
2009-05-23 15:02:19 +00:00
Dmitry Gorbachev
e7a79115c6 Fix compilation of RBuild. Bug #4415.
svn path=/trunk/; revision=41075
2009-05-23 15:01:52 +00:00
Kamil Hornicek
997ae4dc06 - don't return without UserLeave, should fix user32:input winetest crash
svn path=/trunk/; revision=41074
2009-05-23 13:15:47 +00:00
Sylvain Petreolle
7ab0e77533 Fix one bogus test in setupapi:devclass
Ignore only bitmap font tests in gdi32:font

svn path=/trunk/; revision=41073
2009-05-23 12:59:46 +00:00
Sylvain Petreolle
758a04d9d9 Fix 2 setupapi:devclass tests
svn path=/trunk/; revision=41072
2009-05-23 12:58:12 +00:00
Timo Kreuzer
bd27ff9406 ndis.h: Fix definition of NdisQueryPacketLength
svn path=/branches/ros-amd64-bringup/; revision=41071
2009-05-23 11:40:44 +00:00
Timo Kreuzer
107b7b3802 tcpip: fix a pointer to ULONG cast
svn path=/branches/ros-amd64-bringup/; revision=41070
2009-05-23 11:37:02 +00:00
Christoph von Wittich
2ed0fa8b02 add some registry values req. by user32 sysparams - patch by encoded
svn path=/trunk/; revision=41069
2009-05-23 11:11:58 +00:00
Dmitry Chapyshev
55de54769e - Sync comctl32 with Wine 1.1.22 (without listview.c. Somebody help to sync listview! Now after sync listview there is a bug: http://opendn.org/listview.png)
svn path=/trunk/; revision=41068
2009-05-23 10:39:30 +00:00
Dmitry Chapyshev
1504605852 - Sync comdlg32 with Wine 1.1.22
svn path=/trunk/; revision=41067
2009-05-23 10:33:06 +00:00
Dmitry Chapyshev
45da7fabcb - Sync gdiplus, fusion, cryptui with Wine 1.1.22
svn path=/trunk/; revision=41066
2009-05-23 10:32:19 +00:00
Dmitry Chapyshev
2607d66f40 - Sync msctf, mlang, inetmib1, inetcomm with Wine 1.1.22
svn path=/trunk/; revision=41065
2009-05-23 10:31:01 +00:00
Christoph von Wittich
05625d8565 sync msi with wine 1.1.22
svn path=/trunk/; revision=41064
2009-05-23 10:29:15 +00:00
Dmitry Chapyshev
3d634e9320 - Sync ole32, oleaut32 with Wine 1.1.22
svn path=/trunk/; revision=41063
2009-05-23 10:25:54 +00:00
Dmitry Chapyshev
30f5bab35b - Sync riched20, qmgr, pdh with Wine 1.1.22
svn path=/trunk/; revision=41062
2009-05-23 10:25:02 +00:00
Dmitry Chapyshev
7ccdc95f08 shell32:
- Add IShellItem implementation from Wine
- Implement SHCreateShellItem
setupapi:
- Stubimplement SetupUninstallOEMInfA/W
- Stubimplement Get_Device_Interface_List_Size_ExA/W

svn path=/trunk/; revision=41061
2009-05-23 10:23:33 +00:00
Dmitry Chapyshev
2db9bb4bbb - Sync shlwapi, traffic, urlmon with Wine 1.1.22
svn path=/trunk/; revision=41060
2009-05-23 10:20:22 +00:00
Dmitry Chapyshev
0f06b0408a - Sync wininet with Wine 1.1.22. Tested on Firefox 2.0 and Downloader
svn path=/trunk/; revision=41059
2009-05-23 10:18:19 +00:00
Sylvain Petreolle
24ceaa277d LayoutFile directive for additional system-supplied INF files is optional,
don't fail if it is not found.
Fixes 2 tests in setupapi:devclass

svn path=/trunk/; revision=41058
2009-05-23 10:17:24 +00:00
Dmitry Chapyshev
299f35372a - Update headers
svn path=/trunk/; revision=41057
2009-05-23 10:17:04 +00:00
James Tabor
3586ec74c7 - Check the pointer for client thread information for null not thread information.
svn path=/trunk/; revision=41056
2009-05-23 04:01:27 +00:00
Michael Martin
1b775222e7 - CreateClassDeviceObject/ClassAddDevice: Again do not create device with exclusive access.
svn path=/trunk/; revision=41055
2009-05-23 02:02:48 +00:00
Michael Martin
56cc203023 - CreateClassDeviceObject/ClassAddDevice: Do not create KeyboardClass device with exclusive access as it will prevent key loggers from working.
svn path=/trunk/; revision=41054
2009-05-23 01:37:34 +00:00
James Tabor
f92ef3f38f - Remove the rest...
svn path=/trunk/; revision=41053
2009-05-23 01:15:45 +00:00
Timo Kreuzer
606b5e8b01 syssetup: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=41052
2009-05-23 01:02:23 +00:00
James Tabor
bde03977f6 - Move Process Information structure back into kernel space. We use client information via TEB to provide a pointer for user space as a reference pointer.
svn path=/trunk/; revision=41051
2009-05-23 00:57:51 +00:00
Timo Kreuzer
c9eb3be968 sndblast: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=41050
2009-05-23 00:53:54 +00:00
Timo Kreuzer
a379eccd66 Change return type of OpenMRUListW and CreateMRUListW to HANDLE, add a comment that CREATEMRULISTW is already defined differently in explorer_new/undoc.h
svn path=/branches/ros-amd64-bringup/; revision=41049
2009-05-23 00:15:56 +00:00
Timo Kreuzer
96288db253 Shel32:
- DialogProc returns INT_PTR and not BOOL
- Don't cast a pointer to LONG
- Use INT_PTR instead of int for pointer math

svn path=/branches/ros-amd64-bringup/; revision=41048
2009-05-22 23:56:31 +00:00
Timo Kreuzer
70abca9899 Get rid of deprectaed LargeInteger functions and use native int64 math instead.
svn path=/branches/ros-amd64-bringup/; revision=41047
2009-05-22 23:52:52 +00:00
Timo Kreuzer
17eb05caa5 #if out an unused static funtion. Don't know if it's still useful. Ged?
svn path=/branches/ros-amd64-bringup/; revision=41046
2009-05-22 22:17:55 +00:00
Timo Kreuzer
135a854683 commdlg.h: fix and update definition of OPENFILENAMEAW
svn path=/branches/ros-amd64-bringup/; revision=41045
2009-05-22 22:04:18 +00:00
Timo Kreuzer
a0fbc3edc2 Cast NULL to DWORD?
svn path=/branches/ros-amd64-bringup/; revision=41044
2009-05-22 21:52:28 +00:00
Aleksey Bragin
e7a4eae2bb - Make ObReferenceObjectEx return the new ref count instead of old ref count.
- Fix same bug ObDereferenceObjectEx.
- Fix a typo in ObDereferenceObjectEx which resulted in ObpDeferObjectDeletion not being called when needed. Fixes missing object deletions in ObDereferenceObjectEx-using code (e.g. executive timers in reactos kernel).
- Original problem found by http://www.reactos.org/forum/viewtopic.php?f=14&t=6969&p=59669, fixes inspired by the discussion too.

svn path=/trunk/; revision=41043
2009-05-22 17:19:27 +00:00
Dmitry Chapyshev
5826eb2c18 - Formatting fix. No code change
svn path=/trunk/; revision=41042
2009-05-22 12:50:31 +00:00
Michael Martin
90e41cf673 - Implement internal function LogfDeleteOffsetInformation.
- LogfWriteData: Fix record overwriting when the log file has reached MaxSize. Previous implementation was incorrect.
- LogfInitializeExisting: Add support for log files that have had old records overwritten with new records.



svn path=/trunk/; revision=41041
2009-05-22 10:47:25 +00:00
James Tabor
9897a55a56 - Fix NtUserVkKeyScanEx to support current thread keyboard layout or use the one provided by handle. See bug report 4269 and the related bug report 4272.
svn path=/trunk/; revision=41040
2009-05-22 01:35:48 +00:00
Cameron Gutman
13d610f832 - Fix our DMA implementation to use documented structs
svn path=/trunk/; revision=41039
2009-05-22 01:26:18 +00:00
Cameron Gutman
4db4705697 - Implement NdisReadPcmciaAttributeMemory and NdisWritePcmciaAttributeMemory
- Add some debug prints to NdisReadEisaSlotInformation

svn path=/trunk/; revision=41038
2009-05-22 00:56:49 +00:00
Cameron Gutman
c674cf12ff - Implement NdisReadEisaSlotInformation
svn path=/trunk/; revision=41037
2009-05-22 00:42:51 +00:00
Timo Kreuzer
b90d10d8f6 fix merge artifact
svn path=/branches/ros-amd64-bringup/; revision=41036
2009-05-21 20:36:53 +00:00
Timo Kreuzer
a67efbb26f Stubplement fmodf
svn path=/branches/ros-amd64-bringup/; revision=41035
2009-05-21 20:34:30 +00:00
Timo Kreuzer
aeaf524709 ACPI: Several 64 bit fixes, TODO: fix amd64 assembly in platform/acgcc.h
svn path=/branches/ros-amd64-bringup/; revision=41034
2009-05-21 19:47:30 +00:00
Timo Kreuzer
3cb029711a Fix ntoskrnl exports on amd64 by adding a FASTCALL macro that expands to stdcall on amd64 builds.
svn path=/branches/ros-amd64-bringup/; revision=41033
2009-05-21 19:43:14 +00:00
Timo Kreuzer
1e6ef30c73 Sync trunk head (r41026)
svn path=/branches/ros-amd64-bringup/; revision=41032
2009-05-21 18:39:21 +00:00
Timo Kreuzer
346b0cc936 update README.WINE
svn path=/branches/ros-amd64-bringup/; revision=41031
2009-05-21 17:53:50 +00:00
Timo Kreuzer
6991aa7bb0 wdm.h: fix definition of 64bit SLIST_HEADER
winnt.h: add 64bit SLIST_HEADER

svn path=/branches/ros-amd64-bringup/; revision=41030
2009-05-21 17:51:59 +00:00
Timo Kreuzer
c8576b3e28 sql.h: fix SQLFetchScroll prototype
sqlext.h: add a hack for wine sources

svn path=/branches/ros-amd64-bringup/; revision=41029
2009-05-21 17:44:32 +00:00
Timo Kreuzer
15da2d4c26 odbc32: Fix build.
svn path=/branches/ros-amd64-bringup/; revision=41028
2009-05-21 17:37:09 +00:00
Timo Kreuzer
3c27022ec9 Update odbc32 to Wine-1.1.21. It still doesn't work at all.
svn path=/branches/ros-amd64-bringup/; revision=41027
2009-05-21 17:32:41 +00:00
Sylvain Petreolle
d07aa40490 fix log2lines build
svn path=/trunk/; revision=41026
2009-05-21 14:15:51 +00:00
Cameron Gutman
000423fd64 - The slot number passed directly to NdisImmediateReadPciSlotInformation/NdisImmediateWritePciSlotInformation is ignored according to MSDN so store a valid slot number in the wrapper context to use instead
svn path=/trunk/; revision=41024
2009-05-21 00:54:10 +00:00
Ziliang Guo
c0e9d6e37d Add missing parameter to readme.
svn path=/trunk/; revision=41023
2009-05-20 20:03:53 +00:00
Christoph von Wittich
6370393c43 sync fusion with wine 1.1.21
svn path=/trunk/; revision=41022
2009-05-20 14:43:24 +00:00
Christoph von Wittich
d8dac3259e sync wintrust with wine 1.1.21
svn path=/trunk/; revision=41021
2009-05-20 14:35:44 +00:00
Christoph von Wittich
38600af091 add a parameter check to GetAdaptersAddresses stub (fixes a winetest)
svn path=/trunk/; revision=41020
2009-05-20 14:23:16 +00:00
Christoph von Wittich
3e68821bfc sync jscript with wine 1.1.21
svn path=/trunk/; revision=41019
2009-05-20 13:12:23 +00:00
Michael Martin
9f6cf09ab7 - eventlog.h: Add CurrentRecord to EventSource struct as each EventLog handle must keep track of current record.
- LogfInitializeNew/LogfInitializeExisting: Set LogFile MaxSize to just under 5k and add a FIXME to read value from registry. TODO.
- LogfReadEvent: Change return value to DWORD so that errors can be passed back and last error can be set from caller(advapi32).
Change RecordNumber parameter to pointer so that it can be returned and saved in rpc's handle for the EventLog.
RecordNumber of 0 can only be used with flag EVENTLOG_SEQUENTIAL READ.
Set BytesRead and BytesNeeded to 0 as caller expects those values for any failure.
- LogfWriteData: Implement record overwriting when the LogFile has reached MaxSize.
- Implement LogfGetCurrentRecord.
- Code not active yet, will be with upcoming changes to base\services\eventlog\rpc.c.

svn path=/trunk/; revision=41018
2009-05-20 13:07:19 +00:00
Christoph von Wittich
df8e70e2f8 re-add missing LANGID definition
svn path=/trunk/; revision=41017
2009-05-20 13:05:24 +00:00
Christoph von Wittich
7d1a590941 sync msi with wine 1.1.21
svn path=/trunk/; revision=41016
2009-05-20 12:59:23 +00:00
Dmitry Chapyshev
e0cba65fdf - Add check of params for NtGetWriteWatch/NtResetWriteWatch (from Wine)
- Set Granularity to PAGE_SIZE
Fixes crash in kernel32 virtual test

svn path=/trunk/; revision=41015
2009-05-20 11:08:08 +00:00
Dmitry Chapyshev
822db26efe - Fix crash in gdi32 bitmap winetest
svn path=/trunk/; revision=41014
2009-05-20 07:51:22 +00:00
Cameron Gutman
ccf3aa7ce8 - Implement NdisGetFirstBufferFromPacketSafe and NdisCopyFromPacketToPacketSafe
svn path=/trunk/; revision=41013
2009-05-20 03:31:46 +00:00
Cameron Gutman
4f200eb46b - Implement NdisGetPoolFromPacket, NdisPacketSize, NdisGetPacketCancelId, and NdisSetPacketCancelId
svn path=/trunk/; revision=41012
2009-05-20 03:20:57 +00:00
Cameron Gutman
f1b88f61d3 - Store the MTU in the packet extension for use during segmentation by miniport drivers
svn path=/trunk/; revision=41011
2009-05-20 03:10:49 +00:00
James Tabor
24924072e9 - GetMouseMovePointsEx is a direct call to kernel space. Move and sorted initial code.
svn path=/trunk/; revision=41010
2009-05-20 02:20:48 +00:00
Timo Kreuzer
b764d1abae mswsock: remove the old def file
svn path=/branches/ros-amd64-bringup/; revision=41009
2009-05-20 02:00:05 +00:00
Timo Kreuzer
5ec7b1d738 HACK-O-LINK libcoldname.a from explorer.rbuild to make x86 builds happy.
svn path=/branches/ros-amd64-bringup/; revision=41008
2009-05-20 01:55:31 +00:00
Timo Kreuzer
a731816b78 get rid of libcoldname in rbuild
svn path=/branches/ros-amd64-bringup/; revision=41007
2009-05-20 01:55:15 +00:00
Timo Kreuzer
11535ca1db Add initial version of RtlInterlockedPopEntrySList and stubs for RtlInterlockedPushEntrySList and RtlInterlockedFlushSList
svn path=/branches/ros-amd64-bringup/; revision=41006
2009-05-20 01:32:48 +00:00
Timo Kreuzer
a387997e48 update main rbuild file
svn path=/branches/ros-amd64-bringup/; revision=41005
2009-05-20 01:30:20 +00:00
Timo Kreuzer
a9feb7f7f5 add crt to gdiplus libraries in x64 builds
svn path=/branches/ros-amd64-bringup/; revision=41004
2009-05-20 01:28:15 +00:00
Timo Kreuzer
7cab8638a8 build ntvdm only on x86
svn path=/branches/ros-amd64-bringup/; revision=41003
2009-05-20 01:18:32 +00:00
James Tabor
81f3fa31f2 - Time to kill this one. We setup with ParentWindowHandle already set.
svn path=/trunk/; revision=41002
2009-05-19 23:34:40 +00:00
Timo Kreuzer
6a56a40ddf netshell: don't cast the 1st parameter of InterlockedExchange to volatile void **, but to void **
svn path=/branches/ros-amd64-bringup/; revision=41001
2009-05-19 22:10:47 +00:00
Timo Kreuzer
f109d67838 mswsock: convert to spec, taken from wine
svn path=/branches/ros-amd64-bringup/; revision=41000
2009-05-19 21:59:10 +00:00
Timo Kreuzer
23c431bbce msiexec: silence format warnings
svn path=/branches/ros-amd64-bringup/; revision=40999
2009-05-19 21:54:47 +00:00
James Tabor
afd7257ecb - Fix for wine tests. Added wine QS flag.
svn path=/trunk/; revision=40998
2009-05-19 21:53:13 +00:00
Timo Kreuzer
a98ac8915e go back to SOCKET for AFD_HANDLE.Handle
svn path=/branches/ros-amd64-bringup/; revision=40997
2009-05-19 21:45:40 +00:00
Timo Kreuzer
cac551770b msacm.h: fix tag of ACMFILTERCHOOSEA and include mmreg.h that some wine code expects
svn path=/branches/ros-amd64-bringup/; revision=40996
2009-05-19 21:36:21 +00:00
Timo Kreuzer
7161bd24d1 64bit fixes for sqltype.h, also resort and cleanup
svn path=/branches/ros-amd64-bringup/; revision=40995
2009-05-19 21:34:54 +00:00
Timo Kreuzer
25f348be35 Update README.WINE
svn path=/branches/ros-amd64-bringup/; revision=40994
2009-05-19 20:51:00 +00:00
Timo Kreuzer
313cac7b63 msgina: fix 64bit build
svn path=/branches/ros-amd64-bringup/; revision=40993
2009-05-19 20:47:52 +00:00
Timo Kreuzer
18a762257e msconfig: don't use inline functions as case labels
svn path=/branches/ros-amd64-bringup/; revision=40992
2009-05-19 20:41:44 +00:00
Timo Kreuzer
fa5a0bdf43 msafd: convert to spec / fix 64bit build
svn path=/branches/ros-amd64-bringup/; revision=40991
2009-05-19 20:35:33 +00:00
Hervé Poussineau
65ed2a4587 It doesn't hurt to try to start Blue service before accessing it
svn path=/trunk/; revision=40990
2009-05-19 20:25:46 +00:00
Timo Kreuzer
7413e6dd9e msacm32: fix 64bit build
svn path=/branches/ros-amd64-bringup/; revision=40989
2009-05-19 19:55:46 +00:00
Sylvain Petreolle
8d364d4574 disable crashing bitmap font test in gdi32:font
svn path=/trunk/; revision=40988
2009-05-19 19:14:32 +00:00
Timo Kreuzer
4e8a65c0e2 update mascm_ros.diff
svn path=/branches/ros-amd64-bringup/; revision=40987
2009-05-19 19:08:45 +00:00
Timo Kreuzer
dee1f1eef4 Sync msacm with wine HEAD
svn path=/branches/ros-amd64-bringup/; revision=40986
2009-05-19 19:04:36 +00:00
Timo Kreuzer
7d5b634591 mesa32: Remove outdated files.
svn path=/branches/ros-amd64-bringup/; revision=40985
2009-05-19 18:55:08 +00:00
Timo Kreuzer
65d6a4e66a Fix mesa build on x64
svn path=/branches/ros-amd64-bringup/; revision=40984
2009-05-19 17:52:57 +00:00
Dmitry Gorbachev
c92e9cf1fe Fix build
svn path=/trunk/; revision=40983
2009-05-19 16:28:22 +00:00
Dmitry Gorbachev
109202c25f Romanian translations by Petru Dimitriu. Bug #4518.
svn path=/trunk/; revision=40982
2009-05-19 16:06:10 +00:00
James Tabor
6dd2853afa - Cleanup Real/GetInputState.
svn path=/trunk/; revision=40981
2009-05-19 15:47:16 +00:00
Sylvain Petreolle
1c47f20400 fix tabs/spaces, thanks to Christoph
svn path=/trunk/; revision=40980
2009-05-19 14:37:43 +00:00
Sylvain Petreolle
f71075ad74 Fix 2 advapi32:reg winetests
registry.c:1229: Test failed: Expected ERROR_INVALID_HANDLE or ERROR_BADKEY, got 161
registry.c:956: Test failed: expected ERROR_INVALID_PARAMETER, got 998
by  Victor Martinez(vicmarcal@hotmail.com)
bug 4527

svn path=/trunk/; revision=40979
2009-05-19 14:24:08 +00:00
Hervé Poussineau
e0d37204c6 Skip partitions drive letter assignments if no hard disk is present
svn path=/trunk/; revision=40977
2009-05-19 13:01:04 +00:00
Cameron Gutman
e6aae260ca - Remove some obsolete defines
- I apologize for any unnecessary rebuilds this may cause ;)

svn path=/trunk/; revision=40972
2009-05-19 00:10:39 +00:00
Timo Kreuzer
3955c51005 Implement ONE_PARAM_ROUTINE_POSTQUITMESSAGE case in NtUserCallOneParam and use it in PostQuitMessage instead of NtUserPostMessage. Fixes some hangs in comctl32_winetests introduced with r40964. Patch by Giannis Adamopoulos.
See issue #4058 for more details.

svn path=/trunk/; revision=40971
2009-05-18 21:29:50 +00:00
Art Yerkes
b1be006e50 Patch by Alexander Potashev <aspotashev@gmail.com>
LDRP_PROCESS_CREATION_TIME was a _flag_ which is now removed, the new 
'LDRP_PROCESS_CREATION_TIME' is not a flag, it's just a constant to
identify a special value of LoadCount.


svn path=/trunk/; revision=40970
2009-05-18 20:26:13 +00:00
Dmitry Gorbachev
379ce6f163 Japanese translation of USetup. Patch by Tomoya Kitagawa, fixes bug #4523.
svn path=/trunk/; revision=40969
2009-05-18 19:51:13 +00:00
Benedikt Freisen
9f19377d22 Added Dutch translation
svn path=/trunk/; revision=40968
2009-05-18 16:47:53 +00:00
Johannes Anderwald
175447b431 - Play default logon sound when logging on
- Due to unknown issues, this only works at the 2nd login ATM

svn path=/trunk/; revision=40967
2009-05-18 15:41:00 +00:00
Johannes Anderwald
6888a29db0 - add ReactOS_LogOn.wav to bootcd
- Created by Davy Bartoloni 

svn path=/trunk/; revision=40966
2009-05-18 15:00:41 +00:00
Hervé Poussineau
e0c3b779fc Try to load the correct font when booting with /CONSOLE switch
svn path=/trunk/; revision=40965
2009-05-18 12:43:12 +00:00
Timo Kreuzer
05a7fd23a3 UserPostMessage: when dealing with WM_QUIT, allow broadcasting like windows does and post it to the window's message queue instead of the current thread's message queue. Fixes a hang in user32_winetest msg. Patch by Giannis Adamopoulos.
See issue #4058 for more details.

svn path=/trunk/; revision=40964
2009-05-17 22:22:20 +00:00
Timo Kreuzer
6bdda5357f MmGrowKernelStack: Don't assert, but fail, when the kernel stack can't grow any more. Fixes a crash with recursive user calls.
See issue #4060 for more details.

svn path=/trunk/; revision=40963
2009-05-17 21:51:31 +00:00
Aleksey Bragin
0d1d176048 - Implement ProcessIoCounters case in NtQueryInformationProcess. Patch by Dmitry Chapyshev.
- Turn on I/O operations counter.

svn path=/trunk/; revision=40962
2009-05-17 17:04:53 +00:00
Aleksey Bragin
dad773b3ca - Initialize IoCountOperations variable to FALSE by default. Spotted by Dmitry Chapyshev & winetests.
svn path=/trunk/; revision=40961
2009-05-17 16:46:58 +00:00
Johannes Anderwald
5a9f4ef70d - Sound events should be stored in REG_EXPAND_SZ keys
svn path=/trunk/; revision=40960
2009-05-17 15:50:48 +00:00
Matthias Kupfer
e1b917e102 - unify look of basic apps
- use ShellAbout instead of own AboutBox

svn path=/trunk/; revision=40959
2009-05-17 15:28:19 +00:00
Matthias Kupfer
91bb0ae22f - unify look of basic apps
- use icon for info box and remove text

svn path=/trunk/; revision=40958
2009-05-17 14:56:03 +00:00
Johannes Anderwald
7704bee72f - Add a logon sound 1/2
svn path=/trunk/; revision=40957
2009-05-17 14:14:35 +00:00
Michael Martin
c561a75f5f - ReportEventW: Set UNICODE_STRING ComputerName to empty string vice NULL to make rpcrt4 happy.
svn path=/trunk/; revision=40956
2009-05-17 14:10:40 +00:00
Dmitry Chapyshev
c174fbbe51 - Update icons for desk.cpl and sysdm.cpl
svn path=/trunk/; revision=40955
2009-05-17 12:59:09 +00:00
Dmitry Chapyshev
68710a0761 - Change some icons to Tango
- Update oic_sample.ico

svn path=/trunk/; revision=40954
2009-05-17 12:39:18 +00:00
Michael Martin
786e955d8c - ReadEventLogA/ReadEventLogW: Check for lpBuffer for NULL and if so set nNumberOfBytesToRead to zero so that rpcrt4 does not access a NULL buffer.
Set pnBytesRead and pnMinNumberOfBytesNeeded variables prior to checking for failure and returning FALSE.
  In preparation for implementation of EventLog.

svn path=/trunk/; revision=40953
2009-05-17 11:31:58 +00:00
Matthias Kupfer
1dbdcfbeab - use system background color instead of fixed one
- TODO: apply to buttons (still bitmaps)

svn path=/trunk/; revision=40952
2009-05-17 11:28:40 +00:00
Dmitry Chapyshev
1e802df856 - Update some shell32 icons
svn path=/trunk/; revision=40951
2009-05-17 11:08:41 +00:00
Dmitry Chapyshev
a89ea3755b - Hardcoded paths unneeded anymore
See issue #4201 for more details.

svn path=/trunk/; revision=40950
2009-05-17 07:50:28 +00:00
Dmitry Chapyshev
471e010d18 - Sync wine tests with Wine 1.1.21
svn path=/trunk/; revision=40949
2009-05-17 07:05:22 +00:00
Dmitry Chapyshev
03ac7b5446 - Update headers
svn path=/trunk/; revision=40948
2009-05-17 07:03:25 +00:00
Cameron Gutman
1c1ed223a8 - Enable several failure debug prints
- Add a debug print

svn path=/trunk/; revision=40947
2009-05-16 23:18:21 +00:00
Cameron Gutman
82af49e593 - Fix NDIS 3.0 miniport characteristics based on MSDN documentation
- Add NDIS 5.1 miniport characteristics also based on MSDN documentation

svn path=/trunk/; revision=40944
2009-05-16 22:43:25 +00:00
Cameron Gutman
87ef9da026 - Add definition of NDIS_DEVICE_PNP_EVENT
svn path=/trunk/; revision=40943
2009-05-16 22:28:33 +00:00
Michael Martin
b2e5f78e60 - Remove skipping kernel32 virtual tests as r40833 fixed the problem.
svn path=/trunk/; revision=40942
2009-05-16 19:07:54 +00:00
Johannes Anderwald
bed222599a - Output type when module is a program
svn path=/trunk/; revision=40941
2009-05-16 17:34:52 +00:00
Sylvain Petreolle
c780a3c0d6 first attempt at fixing log2lines build
svn path=/trunk/; revision=40940
2009-05-16 17:32:11 +00:00
Cameron Gutman
66f591fe70 - Fix a bad typo
svn path=/trunk/; revision=40939
2009-05-16 14:12:09 +00:00
Kamil Hornicek
4f8ec0d3cf - correct number of parameters for IDirect3DTexture methods
svn path=/trunk/; revision=40938
2009-05-16 10:20:22 +00:00
Aleksey Bragin
6c2e9822fb - Fix handle / memory leak in failure branch, spotted by Dmitry Chapyshev.
svn path=/trunk/; revision=40937
2009-05-16 08:49:34 +00:00
Aleksey Bragin
18c654d60a - Fix obvious bugs in the code (e.g. freeing a stack-allocated pointer).
- Rewrite the code to be more readable.
- Enlarge static buffer for SearchPathBuffer to be at least 5*MAX_PATH to prevent possible overflowing for now. In the meanwhile, Dmitry is rewriting this part of code to dynamically allocate the memory without the need for a temporary static storage.

svn path=/trunk/; revision=40936
2009-05-16 08:41:26 +00:00
Timo Kreuzer
788168c898 Implement ceilf, floorf and sqrtf for x64 in assembly. Based on public domain code from netbsd.
svn path=/branches/ros-amd64-bringup/; revision=40935
2009-05-16 02:10:16 +00:00
Cameron Gutman
3c69a5f48e - Restore the old loopback implementation
- Should fix the buildbot test hang

svn path=/trunk/; revision=40934
2009-05-16 01:44:20 +00:00
Cameron Gutman
691ef7c32a - Set up the TCP interface data as needed in TCPFindInterface
svn path=/trunk/; revision=40933
2009-05-16 01:24:21 +00:00
Michael Martin
6c1741b0aa - timer_queue_thread_proc: Add missing and required RtlExitUserThread before function exit. Fixes crashing of kernel32_winetest for sync.
svn path=/trunk/; revision=40932
2009-05-16 00:48:14 +00:00
Dmitry Chapyshev
325b2659dc - Add support of additional paths of loading dlls (fixes loading dlls in X-Chat)
See issue #4201 for more details.

svn path=/trunk/; revision=40931
2009-05-15 17:48:18 +00:00
Johannes Anderwald
3dc568f9b9 - Remove unused WdmAudWriteCompleted
- check for a valid object header in KsSynchronousIoControlDevice
- Apply alignment restrictions to all allocated buffers
- Fix handling IRP_MN_QUERY_INTERFACE, IRP_MN_QUERY_DEVICE_RELATIONS, IRP_MN_FILTER_RESOURCE_REQUIREMENTS
- IMiniportWaveCyclic::NewStream && IMiniportWavePci::NewStream take first the pin id and THEN the parameter capture. Fixes playback for ES1371 (VmWare) driver and many others
- Store IPortFilterWavePci, IPortFilterWaveRT, IPortFilterWaveCyclic in their corresponding port 


svn path=/trunk/; revision=40930
2009-05-15 15:24:29 +00:00
Timo Kreuzer
6af837bb6d Remove the old explorer from amd64 builds. It only makes problems and explorer_new will hopefully be ready in time ;-)
svn path=/branches/ros-amd64-bringup/; revision=40929
2009-05-15 13:12:20 +00:00
Timo Kreuzer
8c6bd4382d cmd: Cast the result of GetProcAddress to PVOID before assigning to a function pointer. Fixes a warning on 64 bit builds.
svn path=/branches/ros-amd64-bringup/; revision=40928
2009-05-15 13:09:20 +00:00
Timo Kreuzer
5cedbbbe09 bmfd: HGLYPH is an ULONG. Use offset to glyph entry as HGLYPH instead of the pointer to fix 64bit build.
svn path=/branches/ros-amd64-bringup/; revision=40927
2009-05-15 12:24:00 +00:00
Timo Kreuzer
0794324b2c return ERROR_INVALID_FUNCTION on amd64, not ERROR_INVALID_ACCESS from VideoPortEn/DisableInterrupt. Fixes compilation of videoprt for amd64.
svn path=/branches/ros-amd64-bringup/; revision=40926
2009-05-15 12:11:44 +00:00
Timo Kreuzer
42d3e8269b remove obsolete def file
svn path=/branches/ros-amd64-bringup/; revision=40925
2009-05-15 11:33:10 +00:00
Kamil Hornicek
de0f2fe886 - sync wined3d, d3d8, d3d9, ddraw with Wine 1.1.21
svn path=/trunk/; revision=40924
2009-05-15 09:33:59 +00:00
Dmitry Chapyshev
b3c26a404a - Add shortcut for Paint
svn path=/trunk/; revision=40922
2009-05-14 17:15:55 +00:00
Dmitry Chapyshev
aa68b11b1a - Add icons for dialogs
svn path=/trunk/; revision=40921
2009-05-14 16:53:38 +00:00
Johannes Anderwald
434d4217ae - polish translation by Caemyr (Olaf Siejka)
svn path=/trunk/; revision=40920
2009-05-14 16:22:48 +00:00
Steven Edwards
5a40435d8d imported the MT snapshot of the GPL tftp-server for win32 from sourceforge. Minor changes such as formatting and renaming the files, totally untested except for building, will be used later to serve up ReactOS images to PXE boot
svn path=/trunk/; revision=40919
2009-05-14 14:52:22 +00:00
Dmitry Chapyshev
9e1d61edc1 - Add Russian translation
- Small cleanup

svn path=/trunk/; revision=40918
2009-05-14 09:00:03 +00:00
Michael Martin
4606a3076d - Wait_thread_proc: Pass the correct value WaitAny vice FALSE to NtWaitForMultipleObjects. Fixes INFINITE wait when running kernel32_winetest for thread.
svn path=/trunk/; revision=40917
2009-05-14 07:11:00 +00:00
James Tabor
d67caa6f8c - Migration changes from W32THREADINFO to use ThreadInfo for kernel space and user space pointer reference, and use ClientInfo from TEB for user space. Next change will have the full removal of W32THREADINFO.
svn path=/trunk/; revision=40916
2009-05-13 21:32:10 +00:00
Hervé Poussineau
e9478231e2 We know that the function works, so no need to print a FIXME
svn path=/trunk/; revision=40915
2009-05-13 20:44:12 +00:00
Johannes Anderwald
b190734d50 - IRP_MN_FILTER_RESOURCE_REQUIREMENTS passes the list also in Irp->IoStatus.Information
- Fixes a crash in CMI8738 driver

svn path=/trunk/; revision=40914
2009-05-13 20:15:46 +00:00
KJK::Hyperion
3fb0bb6086 Fix PCH rule for C++
svn path=/trunk/; revision=40913
2009-05-13 20:09:15 +00:00
Steven Edwards
dc550fe2ec next time I'll copy the changes properly
svn path=/trunk/; revision=40912
2009-05-13 20:03:25 +00:00
Steven Edwards
5f6dd7004e minor SunOS fix
svn path=/trunk/; revision=40911
2009-05-13 19:35:05 +00:00
Michael Martin
4832f465f1 - GlobalReAlloc: SetUserValueHeap and SetUserFlagsHeap after RtlReAllocateHeap.
- LocalReAlloc: Add missing SetUserFlagsHeap after RtlAllocateHeap. 
                SetUserValueHeap and SetUserFlagsHeap after RtlReAllocateHeap.

svn path=/trunk/; revision=40910
2009-05-13 09:48:32 +00:00
Cameron Gutman
0931b86d7c - Use FindOnLinkInterface to get the interface
- Return NULL if TCPContext is NULL (which means we don't have a valid IP address)
 - Should fix a crash when using multiple NICs but they still won't work (DHCP bug?)

svn path=/trunk/; revision=40909
2009-05-13 01:16:30 +00:00
Cameron Gutman
452903fdb7 - Remove some extra junk
svn path=/trunk/; revision=40908
2009-05-13 00:43:20 +00:00
Hervé Poussineau
be3fc3f629 Fix build
svn path=/trunk/; revision=40907
2009-05-12 22:06:41 +00:00
Hervé Poussineau
4535cbb145 No need to create a DC to get the display depth
Incidentally, this partly unregresses the /CONSOLE switch if blue.sys is installed

svn path=/trunk/; revision=40906
2009-05-12 21:48:25 +00:00
Cameron Gutman
a640fa9dc1 - Add paint to bootcd
svn path=/trunk/; revision=40905
2009-05-12 19:17:49 +00:00
Michael Martin
889cc1b5b4 - Revert part of r40893. MapViewOfFile, UnmapViewOfFile and FlushViewOfFile do not SetLastError on Success. Kernel32_winetest for codepage back to 0 failures.
svn path=/trunk/; revision=40904
2009-05-12 18:58:09 +00:00
Sylvain Petreolle
4f51185566 Norwegian translation updates from bug 4489 by LMH1.
svn path=/trunk/; revision=40903
2009-05-12 17:47:59 +00:00
Johannes Anderwald
d26c243bd0 - Add CLSID_PortWaveRT
- Plugin IPortWaveRT port driver

svn path=/trunk/; revision=40902
2009-05-12 16:09:44 +00:00
Pierre Schweitzer
7bdc8391f9 SVN maintenance
svn path=/trunk/; revision=40899
2009-05-12 14:15:48 +00:00
Benedikt Freisen
e53dfae7ea Added paint/paint.rbuild to applications.rbuild
svn path=/trunk/; revision=40898
2009-05-12 14:08:59 +00:00
Benedikt Freisen
1ef38b9a3c Added Paint for ReactOS source folder
svn path=/trunk/; revision=40897
2009-05-12 14:01:23 +00:00
Aleksey Bragin
e74bb0e059 - Fix WaitOnBusy, WaitOnBaseBusy and Wait[Short]ForDrq to wait and loop exactly the same as our existing atapi driver. This greatly enhances uniata's compatibility, especially on modern highspeed hardware where a controller usually didn't have enough time to change its state and was considered invalid.
svn path=/trunk/; revision=40896
2009-05-12 13:27:45 +00:00
Michael Martin
737dbd6105 - GlobalReAlloc: Pass Flags vice HandleEntry->Flags to RtlSetUserFlagsHeap. Fixes 1 kernel32_winetest alloc test.
svn path=/trunk/; revision=40895
2009-05-12 13:03:38 +00:00
Michael Martin
76c5505c5e - MmCreateSection: SectionPageProtection of PAGE_NOACCESS is valid in <=Win98, but not valid in the NT family. More kernel32_winetest fixes for virtual memory.
svn path=/trunk/; revision=40894
2009-05-12 09:00:06 +00:00
Michael Martin
f7a9c01b65 - CreateFileMapping: SetLastError to ERROR_ALREADY_EXISTS for sections that already exists.
SetLastError to ERROR_SUCCESS on success for all API's.
  More kernel32_winetest fixes for virtual.

svn path=/trunk/; revision=40893
2009-05-12 08:58:38 +00:00
James Tabor
3902e655f3 - Remove client thread information from w32 thread information.
svn path=/trunk/; revision=40892
2009-05-12 01:56:39 +00:00
James Tabor
85d4ab3b58 - Move update thread information hooks.
svn path=/trunk/; revision=40891
2009-05-12 01:31:07 +00:00
Johannes Anderwald
173cb6b1d0 - Use ExInterlockedList * functions for speed and stability
- Increment reference count on the correct miniport adapter from IPortDMus

svn path=/trunk/; revision=40886
2009-05-11 17:22:27 +00:00
Cameron Gutman
1635685bdf - Don't cast NDIS_SPIN_LOCK directly to KSPIN_LOCK
svn path=/trunk/; revision=40881
2009-05-10 23:55:45 +00:00
Cameron Gutman
5e4e012cf8 - Allocate space for the packet extension located at NdisPacketOobOffset + sizeof(NDIS_PACKET_OOB_DATA)
- Fixes more packet corruption

svn path=/trunk/; revision=40880
2009-05-10 21:43:55 +00:00
Johannes Anderwald
e88065b003 - Fix build
svn path=/trunk/; revision=40876
2009-05-10 01:10:00 +00:00
Johannes Anderwald
f88f6ac8f2 - Add IShellIconOverlayIdentifier interface
svn path=/trunk/; revision=40875
2009-05-09 20:03:53 +00:00
Johannes Anderwald
22220b79d8 - Implement loading IShellIconOverlayIdentifier
- Implement retrieving overlay icon

svn path=/trunk/; revision=40874
2009-05-09 20:03:08 +00:00
Michael Martin
bf49aa19f7 - NtAllocateVirtualMemory, NtProtectVirtualMemory: Page Protection cannot be any combination of Memory Protection Constants, see MSDN.
Add checks to handle non compatible combinations are fail. Fixes 6 more kernel32_winetest for virtual memory.

svn path=/trunk/; revision=40873
2009-05-09 17:00:18 +00:00
Dmitry Gorbachev
fc81096af5 Patch by Jérôme Gardou (jgardou-at-yahoo-dot-fr) from bug #4388,
should fix the "VirtualBox Guest Additions 2.2.2 mouse filter
driver is crashing during boot" (bug #4454).

svn path=/trunk/; revision=40872
2009-05-09 15:37:55 +00:00
Dmitry Gorbachev
70cb734337 Bulgarian translation of Mplay32 by CCTAHEB. Bug #4427.
svn path=/trunk/; revision=40871
2009-05-09 14:56:51 +00:00
Dmitry Chapyshev
794ebcc089 - Set error code if directory does not exist
- NtCreateFile -> NtOpenFile

svn path=/trunk/; revision=40867
2009-05-09 12:44:39 +00:00
Dmitry Chapyshev
619d40264f - Sync profile functions with Wine 1.1.20
svn path=/trunk/; revision=40866
2009-05-09 12:40:35 +00:00
Dmitry Chapyshev
80b7580343 - Convert some stuff to unicode
svn path=/trunk/; revision=40865
2009-05-09 12:37:16 +00:00
Dmitry Chapyshev
f99fbc6c02 - SetWindowLong -> SetWindowLongPtr, GetWindowLong -> GetWindowLongPtr (for 64-bit compatible, see note in MSDN)
Part 4/x

svn path=/trunk/; revision=40864
2009-05-09 12:27:40 +00:00
Dmitry Chapyshev
70d9d28b6e - SetWindowLong -> SetWindowLongPtr, GetWindowLong -> GetWindowLongPtr (for 64-bit compatible, see note in MSDN)
Part 3/x

svn path=/trunk/; revision=40863
2009-05-09 12:18:13 +00:00
Dmitry Gorbachev
bf4ccd4eb1 Add Romanian translations for Joy, Main, and PowerCfg CPLs. Petru Dimitriu. Bug #4482.
svn path=/trunk/; revision=40862
2009-05-09 12:08:59 +00:00
Dmitry Gorbachev
7c15f5acd2 Update Romanian translations. Petru Dimitriu, bug #4482.
svn path=/trunk/; revision=40860
2009-05-09 10:35:32 +00:00
Dmitry Chapyshev
37b46141ad - SetClassLong -> SetClassLongPtr, GetClassLong -> GetClassLongPtr (for 64-bit compatible, see note in MSDN)
Part 2/x

svn path=/trunk/; revision=40859
2009-05-09 10:11:04 +00:00
Dmitry Chapyshev
4aee7436a3 - SetClassLong -> SetClassLongPtr, GetClassLong -> GetClassLongPtr (for 64-bit compatible, see note in MSDN)
Part 1/x

svn path=/trunk/; revision=40858
2009-05-09 10:06:22 +00:00
Michael Martin
0b38772184 - MmProtectAnonMem: Search all Regions in Memory Area up to Length for MEM_COMMIT prior to altering memory protection.
Fixes 6 kernel32_winetest for virtual memory.

svn path=/trunk/; revision=40857
2009-05-09 09:54:50 +00:00
Dmitry Gorbachev
1ae6d98cff Fix bug #4483, introduced in r40826 by me.
svn path=/trunk/; revision=40856
2009-05-09 09:53:03 +00:00
Dmitry Chapyshev
2a6b07bc6b - Add some checks of parametres
svn path=/trunk/; revision=40854
2009-05-09 09:38:16 +00:00
Dmitry Chapyshev
a30b07b760 - Sync riched20 with Wine 1.1.21
svn path=/trunk/; revision=40853
2009-05-09 09:35:46 +00:00
Dmitry Chapyshev
36ff224481 - Sync wordpad and winhlp32 with Wine 1.1.21
svn path=/trunk/; revision=40852
2009-05-09 09:34:44 +00:00
Dmitry Chapyshev
182d8bb7f6 - Sync gdiplus with Wine 1.1.21
svn path=/trunk/; revision=40851
2009-05-09 09:26:16 +00:00
Dmitry Chapyshev
8a68f45533 - Sync msctf, mscoree, mciqtz32, localspl, inetmib1 with Wine 1.1.21
svn path=/trunk/; revision=40850
2009-05-09 09:24:59 +00:00
Dmitry Chapyshev
cc308abba4 - Sync ole32, oleacc, oleaut32 with Wine 1.1.21
svn path=/trunk/; revision=40849
2009-05-09 09:23:08 +00:00
Dmitry Chapyshev
0ef4ce7310 - Sync xinput1_3, pdh with Wine 1.1.21
svn path=/trunk/; revision=40848
2009-05-09 09:22:03 +00:00
Dmitry Chapyshev
9618348ab6 - Sync comctl32 (without listview.c), comdlg32 with Wine 1.1.21
svn path=/trunk/; revision=40847
2009-05-09 09:20:57 +00:00
Dmitry Chapyshev
edd881cea2 - Sync clusapi, credui, crypt32, cryptui with Wine 1.1.21
svn path=/trunk/; revision=40846
2009-05-09 09:18:43 +00:00
Dmitry Chapyshev
561d4473ff - Sync headers with Wine 1.1.21
svn path=/trunk/; revision=40845
2009-05-09 09:16:59 +00:00
Dmitry Chapyshev
69d975a9c8 - Sync Tahoma with Wine 1.1.21
svn path=/trunk/; revision=40844
2009-05-09 07:18:23 +00:00
Johannes Anderwald
b081f66b95 - Add IID_IAllocatorMXF guid
- Add undef macro (hint Stefan)
- Thanks Usurp for telling

svn path=/trunk/; revision=40839
2009-05-08 14:39:33 +00:00
Michael Martin
a63f5f16af - MmMapViewOfSection: Segment size must be a multiple of page size, so round ViewSize up to next page size.
OllyDbg now shows loaded dll's in memory and can step into dlls.

svn path=/trunk/; revision=40838
2009-05-08 14:12:12 +00:00
Johannes Anderwald
71c299cdfa - Partly implement IMasterClock
- Implement IAllocatorMXF for IPortPinDMus
- Implement rendering midi streams using IMXF object
- WIP, not tested yet

svn path=/trunk/; revision=40837
2009-05-08 13:02:08 +00:00
Hervé Poussineau
97126c89e0 Revert part of r40686
See issue #4471 for more details.

svn path=/trunk/; revision=40836
2009-05-08 10:29:31 +00:00
Johannes Anderwald
a5731d82f9 - Implement IPortMidi, IPortFilterDMus, IPortPinDMus
- Implement reading / writing midi stream data using IMiniportMidiStream interface
- Delete old IPortMidi implementation

svn path=/trunk/; revision=40835
2009-05-08 09:36:02 +00:00
Johannes Anderwald
0cddd07a48 - Fix interface definition for IMiniportMidi
- Add macros to avoid warnings

svn path=/trunk/; revision=40834
2009-05-08 09:28:20 +00:00
Michael Martin
c02e2cb416 - NtFreeVirtualMemory: Pass RegionListHead from SectionData vice VirtualMemoryData to MmAlterRegion
for MemoryArea->Type of Section view. Fixes MapViewOfFile tests for kernel32_winetests.
  More investigation is needed on whether this function should even succeed on FileMapping Objects.

svn path=/trunk/; revision=40833
2009-05-08 07:13:41 +00:00
Johannes Anderwald
8e4c1cabb7 - When acquiring a mapping check if the mapping hasn't already been used
- Set tag value to zero when releasing a mapping

svn path=/trunk/; revision=40832
2009-05-07 23:33:27 +00:00
Johannes Anderwald
94d54b18f9 - Load property sheet handlers also from * key
- Fixes displaying custom file property handlers like for TortoiseSVN

svn path=/trunk/; revision=40829
2009-05-07 18:21:53 +00:00
Johannes Anderwald
20f87008f7 - Pass IDataObject to the folder shell extension init function
- Fixes displaying property sheet handler extension for directories such as TortoiseSVN

svn path=/trunk/; revision=40828
2009-05-07 18:05:29 +00:00
Johannes Anderwald
dbc07fc66b - PropertySheetHandlers for directories are registered under Directory key
svn path=/trunk/; revision=40827
2009-05-07 17:39:49 +00:00
Dmitry Gorbachev
c92aa547db - Add / update Romanian translations, Petru Dimitriu, bug #4452.
- Update Norwegian translations, L. M. Hambro, bug #4477.
- Silence warnings in shell32 translations, bug #4090.

svn path=/trunk/; revision=40826
2009-05-07 16:49:31 +00:00
Johannes Anderwald
8b8f40d7c9 - Fix build (sorry)
svn path=/trunk/; revision=40825
2009-05-07 08:11:02 +00:00
James Tabor
e00d640f15 - This helps gimp 2.4.6 start-up. But there is another bug in msvcrt.dll that throws an exception. I must apologize for not doing this sooner.
svn path=/trunk/; revision=40824
2009-05-07 05:49:35 +00:00
Johannes Anderwald
a953f285eb - Use a spinlock with list functions over interlocked list functions
- Use a bitmap for storing reference count of the mappings as mapping are complete async and not very likely in determined order

svn path=/trunk/; revision=40823
2009-05-06 22:58:57 +00:00
Johannes Anderwald
9c3502c625 - Only call ReleaseStgMedium when IDataObject_GetData has succeeded
- Fixes explorer crashing on context menu click

svn path=/trunk/; revision=40822
2009-05-06 22:07:53 +00:00
Johannes Anderwald
afed3ea726 - Fix debug statement
- Modify reference handling for irp mappings

svn path=/trunk/; revision=40821
2009-05-06 19:25:33 +00:00
James Tabor
9a36bd47a2 - Implement ReplyMessage and kernel support for InSendMessage and GetMessageTime.
svn path=/trunk/; revision=40820
2009-05-06 18:49:53 +00:00
Dmitry Chapyshev
b107dc759a - Add xinput1_1, xinput1_2, xinput1_3, xinput9_1_0 from Wine (needed for some games)
svn path=/trunk/; revision=40819
2009-05-06 15:00:03 +00:00
Johannes Anderwald
ecec3634a5 - Try fix boot
svn path=/trunk/; revision=40818
2009-05-06 13:53:15 +00:00
Daniel Reimer
1c8318e757 sync winhlp32 and wordpad with Wine 1.1.20
svn path=/trunk/; revision=40816
2009-05-06 09:54:09 +00:00
Dmitry Chapyshev
0c9515dc75 - Sync spoolss, sxs, urlmon with Wine 1.1.20
svn path=/trunk/; revision=40815
2009-05-06 08:50:22 +00:00
Dmitry Chapyshev
64c34901d8 - Sync itss and msctf with Wine 1.1.20
svn path=/trunk/; revision=40814
2009-05-06 08:47:39 +00:00
Dmitry Chapyshev
6c47ffb60d - Sync mciavi32 and mciqtz32 with Wine 1.1.20
svn path=/trunk/; revision=40813
2009-05-06 08:46:19 +00:00
Dmitry Chapyshev
63c10be4be - Sync credui and crypt32 with Wine 1.1.20
svn path=/trunk/; revision=40812
2009-05-06 08:45:02 +00:00
Dmitry Chapyshev
f98fd4fd41 - Sync headers with Wine 1.1.20
svn path=/trunk/; revision=40811
2009-05-06 08:44:13 +00:00
Johannes Anderwald
1d12d6fd68 - Declare IID_IDmaChannelSlave as it is not visible when using NTDDI >= Vista
svn path=/trunk/; revision=40810
2009-05-06 07:01:00 +00:00
Johannes Anderwald
d4551d4f61 - Move INTERFACE_TYPE, IO_RESOURCE_DESCRIPTOR, IO_RESOURCE_REQUIREMENTS_LIST, CM_PARTIAL_RESOURCE_DESCRIPTOR to wdm.h
- Fix alignment of CM_PARTIAL_RESOURCE_DESCRIPTOR
- Remove typedef of PEX_RUNDOWN_REF_CACHE_AWARE, it already exists in wdm.h (verified with WinDDK7)
- Fix build 1/2

svn path=/trunk/; revision=40809
2009-05-06 06:59:40 +00:00
Cameron Gutman
80f131ebef - Implement support for IOCTL_NDIS_QUERY_GLOBAL_STATS
svn path=/trunk/; revision=40808
2009-05-06 00:54:22 +00:00
Cameron Gutman
510184d660 - Add definition of IOCTL_NDIS_QUERY_GLOBAL_STATS
svn path=/trunk/; revision=40807
2009-05-06 00:42:44 +00:00
Cameron Gutman
816a0d3ae7 - Register the unload handler so it gets called by NDIS
svn path=/trunk/; revision=40806
2009-05-05 23:43:18 +00:00
Johannes Anderwald
bc49f505ef - Return status code if releasing the mapping has succeeded
- Fix calculation of number of tags to be allocate per irp
- Fix multiple bugs when acquiring the mapping and releasing the mapping
- Vortex AU8810 WDM is now starting to play

svn path=/trunk/; revision=40805
2009-05-05 23:41:59 +00:00
Cameron Gutman
c26be6ccf9 - Implement and register a ProtocolUnbindAdapter handler
svn path=/trunk/; revision=40804
2009-05-05 22:40:49 +00:00
Cameron Gutman
1aa2291065 - Add and register a ProtocolPnPEvent handler with some stubs in it
svn path=/trunk/; revision=40803
2009-05-05 22:24:26 +00:00
Ged Murphy
95370b97d2 Rewrite, the last method of getting service dependants and dependent services was flawed/buggy.
svn path=/trunk/; revision=40802
2009-05-05 22:04:19 +00:00
Stefan Ginsberg
80ce1c6708 - Fix definition of POINTER_ALIGNMENT for 64-bit. Problem reported by Brian Hawley at mingw-w64: http://sourceforge.net/forum/forum.php?thread_id=3163052&forum_id=723797
svn path=/trunk/; revision=40801
2009-05-05 19:24:49 +00:00
Johannes Anderwald
b0dc2e2c2a - Fix build
svn path=/trunk/; revision=40800
2009-05-05 16:59:36 +00:00
Dmitry Chapyshev
24fd99755b - Add some defines. Fix build for comdlg32/comctl32
svn path=/trunk/; revision=40799
2009-05-05 16:42:49 +00:00
Dmitry Chapyshev
193acd687e - Sync comctl32 with Wine 1.1.20 (without listview.c)
- Sync comdlg32 with Wine 1.1.20

svn path=/trunk/; revision=40798
2009-05-05 16:26:56 +00:00
Johannes Anderwald
57f9b71712 - Implement IPortWaveRT, IPortFilterWaveRT, IPortPinWaveRT interface for audio drivers >= Vista
svn path=/trunk/; revision=40797
2009-05-05 16:01:39 +00:00
Dmitry Chapyshev
95a4fce528 - Sync gdiplus with Wine 1.1.20
svn path=/trunk/; revision=40796
2009-05-05 15:35:05 +00:00
Dmitry Chapyshev
57e86f2709 - Sync ole32 and oleaut32 with Wine 1.1.20
svn path=/trunk/; revision=40795
2009-05-05 15:31:02 +00:00
Johannes Anderwald
64d2ce31a9 - Add IPortWaveRT, IPortWaveRTStream, IMiniportWaveRTStream, IMiniportWaveRTStreamNotification, IMiniportWaveRT interface
- Add KSAUDIO_POSITION, KSRTAUDIO_HWLATENCY, KSRTAUDIO_HWREGISTER structure

svn path=/trunk/; revision=40794
2009-05-05 13:58:56 +00:00
Cameron Gutman
0af940a81b - Implement handing for IRP_MN_SET_POWER and IRP_MN_QUERY_POWER (not plugged in yet)
- Allocate a buffer and copy data into it instead of using the buffer passed to us directly
 - Use a helper function to perform common operations which save lots of lines of duplicated code

svn path=/trunk/; revision=40793
2009-05-05 02:52:43 +00:00
Cameron Gutman
3065a6b84c - Handle IRP_MN_QUERY_REMOVE_DEVICE and IRP_MN_CANCEL_REMOVE_DEVICE
- Implement NdisCompletePnPEvent
 - Handle pending cases

svn path=/trunk/; revision=40792
2009-05-05 02:13:53 +00:00
Cameron Gutman
11d957b125 - Implement handling for IRP_MN_CANCEL_STOP_DEVICE
svn path=/trunk/; revision=40791
2009-05-05 01:24:30 +00:00
Cameron Gutman
12594902c9 - Implement handling for IRP_MN_QUERY_STOP_DEVICE
svn path=/trunk/; revision=40790
2009-05-05 01:08:06 +00:00
Ged Murphy
d7e9b1a61f Add most of the code for the dependencies tab in the property sheet. It's not quite complete but I'm getting bored with it now. May finish it tomorrow.
svn path=/trunk/; revision=40789
2009-05-04 18:44:54 +00:00
Thomas Bluemel
1bcad99a07 Unbreak linking ntoskrnl
svn path=/trunk/; revision=40788
2009-05-04 18:08:21 +00:00
Thomas Bluemel
2e9b52a3a5 Make vectored exceptions thread-safe
svn path=/trunk/; revision=40787
2009-05-04 18:06:15 +00:00
Aleksey Bragin
007909b14a - Ditto as r40781, but for ohci. Spotted by Cameron Gutman.
svn path=/trunk/; revision=40786
2009-05-04 17:07:05 +00:00
Timo Kreuzer
b7d8d95bf1 Fix asm implementations of RtlInterlockedPopEntrySList, RtlInterlockedPushEntrySList and RtlInterlockedFlushSList, by correcting the stack offset for the parameters. Thanks to Pigglesworth for the hint.
svn path=/trunk/; revision=40785
2009-05-04 15:27:37 +00:00
Daniel Reimer
948d788c6d Bug 4449: Italian translation updates by Paolo Devoti
Bug 4445: Language resource update by Jingjing Fu

svn path=/trunk/; revision=40784
2009-05-04 13:41:40 +00:00
Aleksey Bragin
22c66b6d97 - Implement RtlDecodePointer and remove respective redefining hack from vectoreh.c.
svn path=/trunk/; revision=40783
2009-05-04 13:26:24 +00:00
Aleksey Bragin
69f80eacec - Remove RemoveVectoredExceptionHandler() stub from stubs.c, since it is a forward to ntll.RtlRemoveVectoredExceptionHandler.
svn path=/trunk/; revision=40782
2009-05-04 12:19:48 +00:00
Aleksey Bragin
21c6c5fdf7 - Handle failure case correctly in *_submit_urb: remove URB from an endpoint's linked list, instead of corrupting this URB's memory. Thanks to Gregor Schneider for spotting the suspicious place.
See issue #4279 for more details.

svn path=/trunk/; revision=40781
2009-05-04 09:32:02 +00:00
Aleksey Bragin
d02d6ccb6c - Silence pool debugging debugprints.
svn path=/trunk/; revision=40780
2009-05-04 08:33:58 +00:00
Dmitry Chapyshev
9f613d7ab5 - Try to fix build
svn path=/trunk/; revision=40779
2009-05-03 16:04:20 +00:00
Dmitry Chapyshev
2b41ac2a04 - Implement _wfreopen, _y0, _y1, _yn
- Partially implement _j0, _j1, _jn
All from Wine.

svn path=/trunk/; revision=40778
2009-05-03 14:57:56 +00:00
Cameron Gutman
d3452a30c0 - Implement NdisCopyBuffer and NdisGetCurrentProcessorCpuUsage
- Patch by Dmitry Chapyshev

svn path=/trunk/; revision=40777
2009-05-03 14:38:13 +00:00
Cameron Gutman
1d7714cac8 - Translate the raw address before attempting to map it
svn path=/trunk/; revision=40776
2009-05-03 02:48:02 +00:00
Cameron Gutman
5852b28a2b - Add debug prints to NdisMMapIoSpace
svn path=/trunk/; revision=40775
2009-05-02 23:57:02 +00:00
Cameron Gutman
6b39bb8b91 - Fix improper resource translation because of AddressSpace confusion
svn path=/trunk/; revision=40774
2009-05-02 22:53:12 +00:00
Cameron Gutman
e32b96e4aa - Fix memory corruption when reading binary data
svn path=/trunk/; revision=40773
2009-05-02 20:46:50 +00:00
Sylvain Petreolle
ce4f81375e fix TzSpecificLocalTimeToSystemTime signature according to Wine & MSDN
svn path=/trunk/; revision=40772
2009-05-02 15:22:47 +00:00
Sylvain Petreolle
40892ef9b8 add missing definition for TzSpecificLocalTimeToSystemTime
svn path=/trunk/; revision=40771
2009-05-02 12:40:29 +00:00
Dmitry Gorbachev
b9d3fc47cc Remove BOM, recode Romanian file from UTF-8 to CP-1250, remove #pragma strings from there, and #include it to the master resource file.
svn path=/trunk/; revision=40770
2009-05-02 04:29:40 +00:00
Dmitry Gorbachev
fed8007b0c Danish translation of shell32 and userenv DLLs by Thomas Larsen (sikker2004 "at" yahoo "dot" com). Bug #571.
svn path=/trunk/; revision=40769
2009-05-01 23:54:31 +00:00
Dmitry Gorbachev
a61cb0b211 - Update log2lines tool by J. Roeloffzen. Bug #4342.
- Move it to where raddr2line lives now.

svn path=/trunk/; revision=40768
2009-05-01 23:34:50 +00:00
Michael Martin
bf4c75e5bb - Add reg key tree NetworkProvider under CurrentControlSet\Control\. For now differ from windows by using an empty string for ProviderOrder value. Fixes bug #3987.
svn path=/trunk/; revision=40766
2009-05-01 22:08:45 +00:00
Timo Kreuzer
f6819a00e6 fix compilation of raddr2line, by moving it into the rsym folder, too. Thanks BugBoy for noticing.
svn path=/trunk/; revision=40765
2009-05-01 21:39:47 +00:00
Cameron Gutman
3e8f906b53 - Check for invalid ConfigurationContext
- Patch by Daniel Zimmermann with a slight modification by me

svn path=/trunk/; revision=40764
2009-05-01 19:36:55 +00:00
Timo Kreuzer
fd1f331646 Merge from trunk what got lost
svn path=/branches/ros-amd64-bringup/; revision=40760
2009-05-01 12:52:27 +00:00
Timo Kreuzer
5a5301ff27 Merge from amd64-branch:
37291, 3730, 37305, 37320, 37329, 37462, 37895, 38129, 38330, 38331, 38341, 38947, 38973, 39072, 39114, 39121, 40605
Implement rsym64 (Timo Kreuzer)

svn path=/trunk/; revision=40759
2009-05-01 12:31:02 +00:00
Sylvain Petreolle
89f8b1a58a Stub CMP_UnregisterNotification
Move SETUP_CreateDevicesList declaration to setupapi_private.h

svn path=/trunk/; revision=40758
2009-05-01 07:44:13 +00:00
Timo Kreuzer
92ed4f9efc merge 37282 from amd64-branch:
Give rsym it's own directory (Timo Kreuzer)

svn path=/trunk/; revision=40757
2009-04-30 23:26:02 +00:00
Timo Kreuzer
4939f886a3 No more need for allowwarnings="true"
svn path=/branches/ros-amd64-bringup/; revision=40755
2009-04-30 10:59:15 +00:00
Timo Kreuzer
303949b9a6 dsound: Make DSDRIVERDESC.dnDevNode a DWORD_PTR and DSPROPERTY.InstanceId a ULONG_PTR.
svn path=/branches/ros-amd64-bringup/; revision=40753
2009-04-30 10:57:39 +00:00
Aleksey Bragin
19b430466c - Make debug pool return 8-bytes aligned pointers. The padding area (up to 7 bytes) is not being checked for overruns now. ReactOS fully boots and works with this change and a debug pool.
svn path=/trunk/; revision=40750
2009-04-30 09:09:03 +00:00
Daniel Reimer
1428ee97e9 Bug 4418: Simplified chinese language resource update by Jingjing Fu
Bug 4426: ReactOS translation update patch by Dimitriu Petru
Bug 4427: Bulgarian translation of ReactOS by ССТАНЕВ
Bug 4433: Translate Patch, Dutch for access.cpl by Jan Roeloffzen
Bug 4436: Translate Patch, Dutch for mmsys.cpl, timedate.cpl by Jan Roeloffzen
Bug 4437: Translate Patch, Dutch for taskmgr.exe by Jan Roeloffzen

svn path=/trunk/; revision=40745
2009-04-30 06:01:08 +00:00
Cameron Gutman
eaf77c07e2 - Pass IRP_MN_QUERY_DEVICE_RELATIONS down the stack
svn path=/trunk/; revision=40744
2009-04-30 01:15:04 +00:00
Timo Kreuzer
639e528276 Merge from amd64-branch: (Samuel Serapión)
36464: access.cpl: use IntToPtr instead of casting
36454: console.cpl: use LPARAM instead of LONG
36458: main.cpl: use IntToPtr instead of casting
36460: mmsys.cpl: use IntToPtr instead of casting, use INT_PTR instead of INT
36908: ncpa.cpl: use INT_PTR instead of INT
36466: sysdm.cpl: use INT_PTR instead of INT

svn path=/trunk/; revision=40743
2009-04-29 22:20:59 +00:00
Timo Kreuzer
4f95eb3806 reduce difference to trunk
svn path=/branches/ros-amd64-bringup/; revision=40742
2009-04-29 21:59:36 +00:00
Timo Kreuzer
9976d5ec4f Don't cast pStartInfo->dwCrashDumpEnabled to LPBYTE and use it as pointer in RegSetValueExW, Instead pass &pStartInfo->dwCrashDumpEnabled.
svn path=/trunk/; revision=40741
2009-04-29 21:57:47 +00:00
Colin Finck
b9fcc14363 - Add a "regtest.cmd" for running other commands (here "ipconfig") before starting rosautotest and call "start rosautotest" to run it asynchronously and let Explorer load completely
- Set svn:eol-style for "unattend.inf" to CRLF, this file is a target one, which should also use target line-endings
- Fix typo in syssetup debug print

svn path=/trunk/; revision=40740
2009-04-29 20:14:25 +00:00
Ged Murphy
80711416ac - Add the ws2_32 library from Alex's old network branch which is a _huge_ improvement over our current, incorrect lib.
- I've made various changes and tweaks to get it building with gcc, however it doesn't yet build with out build environment as out headers are severely lacking. It's also reliant on other winsock libs which will come in future commits along with the header rewrite.

svn path=/trunk/; revision=40738
2009-04-29 18:49:47 +00:00
Timo Kreuzer
5b78cfe9c9 spaces -> tabs in rbuild file
svn path=/trunk/; revision=40737
2009-04-29 18:13:42 +00:00
Timo Kreuzer
107be66741 Merge 40118 from amd64-branch:
%m is a glibc extension, convert it to "%s", strerror(errno). and fix 64bit build of dhcp service (Samuel Serapión)

svn path=/trunk/; revision=40736
2009-04-29 17:46:47 +00:00
Christoph von Wittich
f957e3e92f sync mshtml and shdocvw with wine 1.1.20
svn path=/trunk/; revision=40735
2009-04-29 17:16:20 +00:00
Timo Kreuzer
37e57ebf2f Merge 40124, 40126 from amd64-branch:
Fix 64bit build. It works too. (Samuel Serapión)

svn path=/trunk/; revision=40734
2009-04-29 16:49:52 +00:00
Christoph von Wittich
f51cc69532 sync shell32_winetest with wine 1.1.20
svn path=/trunk/; revision=40733
2009-04-29 15:11:22 +00:00
Christoph von Wittich
835f656bfa sync shlwapi_winetest with wine 1.1.20
svn path=/trunk/; revision=40732
2009-04-29 14:59:03 +00:00
Ged Murphy
a484f4bf18 - Add a temporary manifest to servman which contains support for comctl32 v6 and more importantly, support for UAC elevation in NT6+
This will be required for any app which needs to run with elevated privs. As we've previously stated, rbuild needs to generate the manifest hence this is only temporary. We therefore need a UAC tag adding to rbuild so the generated manifest can contain support for UAC elevation for any apps which require it. If anyone wishes to add this support to rbuild, feel free to do so.

svn path=/trunk/; revision=40731
2009-04-29 12:09:40 +00:00
Ged Murphy
2c399da916 Fix the build and a fix mem leak.
We should consider setting msvc to /W4.

svn path=/trunk/; revision=40730
2009-04-29 10:18:41 +00:00
Matthias Kupfer
a06899befa - continue "marletting"
- use marlett font for scrollbar control
- TODO: scrollbar size grip with marlett

svn path=/trunk/; revision=40729
2009-04-29 09:55:05 +00:00
Ged Murphy
f0794d4f2c - Add the list of dependencies to the listbox so we know what else will be stopping
- Restructure the stop code

svn path=/trunk/; revision=40728
2009-04-29 09:53:10 +00:00
Aleksey Bragin
e6400c3f8b - Debug pool allocator: Add support for paged pool debugging.
svn path=/trunk/; revision=40727
2009-04-29 09:48:31 +00:00
Aleksey Bragin
eb036429b8 - Implement a special "debug pool" allocator which catches pool overruns. It evolved from an initial patch by Art Yerkes, and is fully independent from underlying pool implementation. It supports only non-paged pool and detects only overruns now. To enable, uncomment DEBUG_NPOOL define in mm/pool.c.
svn path=/trunk/; revision=40726
2009-04-29 09:41:32 +00:00
Ged Murphy
d8d8b19d4a - Rewrite start and stop routines to make them much more robust
- Add the ability to check for and stop dependent services
- Untested at the moment, but unfinished anyway.

svn path=/trunk/; revision=40725
2009-04-29 08:32:52 +00:00
Cameron Gutman
db68550e25 - Fix build (try 2)
svn path=/trunk/; revision=40724
2009-04-28 22:46:28 +00:00
Cameron Gutman
ef95fbe0bc - Fix build
svn path=/trunk/; revision=40723
2009-04-28 22:39:36 +00:00
Cameron Gutman
74989188d4 - Wait for NdisMFreeSharedMemoryPassive to complete before returning
See issue #4428 for more details.

svn path=/trunk/; revision=40722
2009-04-28 22:30:23 +00:00
Cameron Gutman
c68a776204 - Only call NdisMEthIndicateReceiveComplete once per batch of packets
- Slight performance increase

svn path=/trunk/; revision=40721
2009-04-28 22:04:12 +00:00
Cameron Gutman
868c747030 - Remove BINARY_COMPATIBLE concept
- We should always use NDIS functions

svn path=/trunk/; revision=40720
2009-04-28 20:42:55 +00:00
Christoph von Wittich
44baddcec9 sync msxml3 with wine 1.1.20
svn path=/trunk/; revision=40719
2009-04-28 19:57:36 +00:00
Christoph von Wittich
4aaad1b63f sync cryptui with wine 1.1.20
svn path=/trunk/; revision=40718
2009-04-28 19:48:23 +00:00
Aleksey Bragin
50a2c6cb69 - Fix writing of BootConfig to the registry (previously, it wrote contents of DEVICE_NODE structure and caused nonpaged pool overrea). Similar error a few lines below was fixed by hpoussin in r15691.
svn path=/trunk/; revision=40717
2009-04-28 11:39:54 +00:00
Johannes Anderwald
b34e7b4258 - Silence a few debug prints
- The IrpQueue functions are called at DISPATCH_LEVEL, therefore use KeAcquireSpinLockAtDpcLevel instead
- Fix multiple bugs when using IrpQueue tag functions

svn path=/trunk/; revision=40716
2009-04-27 23:16:49 +00:00
Johannes Anderwald
da49b0b87d - Remove test code which should never have come into trunk
svn path=/trunk/; revision=40715
2009-04-27 22:43:08 +00:00
Johannes Anderwald
8a953f961b - Fix IPortWavePci_Notify routine
- Add debug traces

svn path=/trunk/; revision=40714
2009-04-27 18:57:41 +00:00
Aleksey Bragin
59b86554ee - Change storage of ReactOS-specific virtual address space from VadRoot to Vm EPROCESS structure member. Change containing "structure" from MM_AVL_TABLE to MMSUPPORT respectively .
svn path=/trunk/; revision=40713
2009-04-27 10:12:57 +00:00
Johannes Anderwald
86b82cf4d6 - Experimental IPortPinWavePci implementation
- Refactor IPortWavePciStream initilization
- Add test code for IDrmAudioStream

svn path=/trunk/; revision=40712
2009-04-27 00:33:49 +00:00
Johannes Anderwald
dc97dbb867 - Fix warning
- Fix KSALLOCATOR_FRAMING structure

svn path=/trunk/; revision=40711
2009-04-27 00:15:52 +00:00
Hervé Poussineau
54a86cf16f Remove MachGetMemoryMap() and replace it by ArcGetMemoryDescriptor(). Rework memory initialization to use it.
As a bonus, we're not limited anymore to 32 memory descriptors, and having more than 4GB of RAM doesn't lead to out of bounds accesses

svn path=/trunk/; revision=40710
2009-04-26 20:22:16 +00:00
Dmitry Gorbachev
5ce8637a17 Romanian translations by Petru Dimitriu (petrimetri-at-gmail-dot-com), bug #4422.
svn path=/trunk/; revision=40709
2009-04-26 17:31:56 +00:00
Johannes Anderwald
bfa69a3632 - Implement KSPROPERTY_PIN_DATARANGES handler- Always return TRUE in FastDeviceHandler (faciliates testing with Vortex AU8820 WDM Driver)
svn path=/trunk/; revision=40708
2009-04-26 11:19:12 +00:00
Cameron Gutman
fc76612bff - Free NdisMiniportBlock.Resources when we receive a stop irp
svn path=/trunk/; revision=40707
2009-04-26 05:43:06 +00:00
Cameron Gutman
6fff9d423e - Also copy AllocatedResources from the stack to NdisMiniportBlock.Resources
svn path=/trunk/; revision=40706
2009-04-26 05:35:24 +00:00
Johannes Anderwald
d46c77f118 - Pass KSPROPERTY_SET to subdevice constructor
- Add debug traces on error case

svn path=/trunk/; revision=40705
2009-04-26 00:07:33 +00:00
Cameron Gutman
d818cea15d - Fix support for asynchronously completed requests
svn path=/trunk/; revision=40704
2009-04-25 23:31:49 +00:00
Cameron Gutman
6156cae916 - Use Int32x32To64 to calculate timeout
svn path=/trunk/; revision=40703
2009-04-25 22:02:50 +00:00
Dmitry Gorbachev
48f9386176 Simplified Chinese translations by Jingjing Fu (jingjingf AT 188.com). Bug #4417
svn path=/trunk/; revision=40699
2009-04-25 18:07:48 +00:00
Dmitry Gorbachev
f319dd5def Patch from Petru Dimitriu (bug #4416):
- add Romanian translations of explorer-new, notepad, solitaire, rundll32, shell32;
- update translations of write, calc.

svn path=/trunk/; revision=40698
2009-04-25 17:32:31 +00:00
Sylvain Petreolle
1055cbc800 export GetAdaptersAddresses stub
svn path=/trunk/; revision=40696
2009-04-25 13:00:06 +00:00
Johannes Anderwald
53767e20b1 - Fix allocation of CM_RESOURCE_LIST
- Might fix bug 4354
See issue #4354 for more details.

svn path=/trunk/; revision=40694
2009-04-25 12:05:08 +00:00
Aleksey Bragin
018ceb886d - Fix driver object type DeleteProcedure so that it actually unloads driver's image.
- Make IopUnloadDriver work accordingly (it shouldn't try to unload an image when its object has already been deleted). Drivers can now be unloaded in ReactOS, this probably fixes a number of hardware-related applications and applications using hardware protection.

svn path=/trunk/; revision=40693
2009-04-25 09:07:10 +00:00
Aleksey Bragin
be1e76002e Samuel Serapion
- Fix iphlpapi.dll exports to match Windows XP/2003 one.

svn path=/trunk/; revision=40692
2009-04-25 08:33:02 +00:00
Cameron Gutman
f6fac55a75 - We don't need these debug prints anymore
svn path=/trunk/; revision=40691
2009-04-25 03:47:30 +00:00
Dmitry Gorbachev
0dd39d3d01 Romanian translation of ReactOS Calc by Petru Dimitriu
(petrimetri *at* gmail *dot* com). Bug #4413.

svn path=/trunk/; revision=40690
2009-04-24 23:47:00 +00:00
Dmitry Gorbachev
a13f8eaabf Update Norwegian translations (translator: Lars Martin Hambro,
bug #2482, bug #4325). This patch was already applied in r40315,
but mistakenly reverted in r40564. Sorry.

svn path=/trunk/; revision=40688
2009-04-24 22:19:41 +00:00
Hervé Poussineau
d30f655f34 WINLDR: Repair LiveCD boot
svn path=/trunk/; revision=40687
2009-04-24 21:48:20 +00:00
Hervé Poussineau
ee3fc1bc60 Implement ArcGetTime() and ArcGetRelativeTime()
svn path=/trunk/; revision=40686
2009-04-24 20:35:11 +00:00
Aleksey Bragin
7d9f43ff96 - WINLDR: Fix SystemRoot path when booting in non-setup mode.
- WINLDR: Change path buffers to be MAX_PATH sized instead of an arbitrary 512 bytes value.

svn path=/trunk/; revision=40685
2009-04-24 19:03:10 +00:00
Aleksey Bragin
c9c9947227 - Reenable partition table exploration, but switch off disk error reporting before doing it.
svn path=/trunk/; revision=40684
2009-04-24 18:38:10 +00:00
Aleksey Bragin
58105388f3 - WINLDR: Pass boot options to the kernel when booting in setup mode (it was disabled for debugging reasons).
svn path=/trunk/; revision=40683
2009-04-24 18:27:34 +00:00
Aleksey Bragin
e78a6436ee - WINLDR: Use SystemRoot path as it is because after recent Herve's changes there is no need to do additional operations with it.
svn path=/trunk/; revision=40682
2009-04-24 18:17:22 +00:00
Colin Finck
54d36c08b2 Fix SeaMonkey link
svn path=/trunk/; revision=40681
2009-04-24 14:58:23 +00:00
Colin Finck
6fae0f040f Remove Firefox 1.5 from the list, we don't need three versions of it
svn path=/trunk/; revision=40680
2009-04-24 14:37:05 +00:00
Colin Finck
0f9b48da88 - Update SeaMonkey to 1.1.16
- Add Firefox 3.0.9
- Remove Mozilla ActiveX Control, that version isn't compatible anymore with our mshtml.
  Only take the version automatically downloaded from mshtml now.
See issue #4411 for more details.

svn path=/trunk/; revision=40679
2009-04-24 14:26:21 +00:00
Dmitry Gorbachev
aa57463d31 Update log2lines tool. Patch by Jan Roeloffzen, with some changes. Bug #4342.
svn path=/trunk/; revision=40678
2009-04-24 12:26:25 +00:00
Michael Martin
cdae2e8831 - Improved fix for edit control context menu. Send appropriate message based on return value of TrackPopupMenu
and remove handling of WM_MENUSELECT as its no longer needed. Patch sent to wine-patches@winehq.org.

svn path=/trunk/; revision=40677
2009-04-24 12:13:07 +00:00
Aleksey Bragin
d425e6c2ee - Fix CDROM device registration: don't hardcode it to 0xE0, but register whatever device FreeLdr starts and which is not reported by BIOS as a hardisk. Fixes setupldr2.
svn path=/trunk/; revision=40676
2009-04-24 12:08:56 +00:00
Johannes Anderwald
d3748c04be - Implement VideoPortPutDmaAdapter, VideoPortStartDma, VideoPortCompleteDma, VideoPortLockBuffer, VideoPortUnlockBuffer,
svn path=/trunk/; revision=40675
2009-04-24 02:18:30 +00:00
Johannes Anderwald
bc0a1f1a68 - Remove unused file
- Fix Es1370mp / Es1371mp driver installation. However, no sound yet. Needs more investigation

svn path=/trunk/; revision=40674
2009-04-23 20:33:27 +00:00
Cameron Gutman
cfaf89f849 - Allocate memory for the OOB area also
- Set the NdisPacketOobOffset in each packet
 - Fixes the mysterious packet corruption
 - Fixes Realtek 8139 and Intel PRO/1000

svn path=/trunk/; revision=40673
2009-04-23 20:00:36 +00:00
Johannes Anderwald
0f406bf6b8 - Add tons of ASSERT_IRQL / ASSERT_IRQL_EQUAL
- Queue a dpc when IServiceGroup::RequestService is called above dispatch level
- As a result writing to common buffer and completing irps can be done at the same time
- Start the stream at PASSIVE_LEVEL
- Check if key has been deleted in IRegistryKey object function
- Implement IRegistryKey::QueryRegistryValues

svn path=/trunk/; revision=40672
2009-04-23 19:06:36 +00:00
Cameron Gutman
61eca830d1 - Fix the size passed to RtlZeroMemory so it also zeros the protocol reserved memory
svn path=/trunk/; revision=40671
2009-04-23 18:56:37 +00:00
Timo Kreuzer
9143e681e0 fix build
svn path=/trunk/; revision=40670
2009-04-23 14:39:12 +00:00
Aleksey Bragin
9852eb0871 - Remove empty debug print.
svn path=/trunk/; revision=40668
2009-04-23 12:54:37 +00:00
Johannes Anderwald
9478e3b4e7 - Revert my SHOpenWithDialog changes
svn path=/trunk/; revision=40667
2009-04-23 12:51:59 +00:00
Johannes Anderwald
c8b09007ed - Call OpenWith dialog when no file association is found
- Partial wine syncAlexandre Julliard <julliard@winehq.org>
shell32: Add implementation of WOWShellExecute.
The callback is probably not fully compatible, but apps are not
supposed to use that function anyway.
Vincent Povirk <madewokherd+8cd9@gmail.com>
shell32: Add a message for opening files with no association.
Marcus Meissner <marcus@jet.franken.de>
shell32: Fixed potential buffer overwrite in execute_from_key (Coverity).
Vincent Povirk <vincent@codeweavers.com>
shell32: Use the NO_UI flag in ShellExecute.
In my testing on Windows, I wasn't able to make ShellExecute display
any error dialogs.
Paul Chitescu <paulc@voip.null.ro>
shell32.dll: Return SE_ERR_FNF if file not found before checking for associations.

svn path=/trunk/; revision=40666
2009-04-23 12:39:11 +00:00
Johannes Anderwald
c9234e9ca1 - Re-dispatch irp to the default handler
svn path=/trunk/; revision=40665
2009-04-23 11:16:15 +00:00
Cameron Gutman
0152087f27 - Zero the whole packet in other packet allocation routines
- Set ValidCount TRUE because we don't have any buffers chained yet
 - Set the fPACKET_ALLOCATED_BY_NDIS flag (fixes storing media-specific data)

svn path=/trunk/; revision=40664
2009-04-23 10:32:41 +00:00
Johannes Anderwald
197a0b05ce - Once a create handler indicates success, leave creation handler
svn path=/trunk/; revision=40663
2009-04-23 10:30:57 +00:00
Dmitry Chapyshev
a689863fb5 - Fix build
svn path=/trunk/; revision=40662
2009-04-23 10:07:55 +00:00
Christoph von Wittich
8b70974475 remove wine's wintab32 which relies on x11 drivers
svn path=/trunk/; revision=40661
2009-04-23 09:33:10 +00:00
Daniel Reimer
1575ce4fe5 Bug 4396: Slovak Translations Update by Mario Kacmar
svn path=/trunk/; revision=40660
2009-04-23 08:16:43 +00:00
Christoph von Wittich
f9a1ec71a2 fix some msvcrt string winetests
svn path=/trunk/; revision=40659
2009-04-22 20:40:07 +00:00
Cameron Gutman
b9df7bf615 - Fix a typo
svn path=/trunk/; revision=40657
2009-04-22 19:51:29 +00:00
Christoph von Wittich
40cfd9e1e4 import strcpy_s from wine
svn path=/trunk/; revision=40654
2009-04-22 18:53:21 +00:00
Dmitry Gorbachev
540dda3633 - Add "log2lines" tool by Jan Roeloffzen. Bug #4342.
- Fix indentation in rsym.h.

svn path=/trunk/; revision=40652
2009-04-22 16:50:44 +00:00
Christoph von Wittich
d3936f5816 sync advapi32/cred.c to wine 1.1.19
svn path=/trunk/; revision=40651
2009-04-22 15:58:37 +00:00
Johannes Anderwald
645d7a7c73 - Add SMPlayer 0.6.7
svn path=/trunk/; revision=40650
2009-04-22 15:22:46 +00:00
Johannes Anderwald
0050614d7f - Increase importance of the audio dpc which finishes irps
- Once one second of audio data has been buffered, always queue audio irps and dont complete them imediately. Greatly improves the playback of SMPlayer and probably many other audio players which act strictly on the timing of completed irps
- Add debug traces when KsCreatePin fails

svn path=/trunk/; revision=40649
2009-04-22 15:01:18 +00:00
Dmitry Chapyshev
3ec26577f7 - Implement GetUserNameExA/W (code from Wine)
svn path=/trunk/; revision=40648
2009-04-22 14:11:17 +00:00
Dmitry Chapyshev
cf37479786 - Fix a problem with loading dlls in Iron
See issue #4201 for more details.

svn path=/trunk/; revision=40647
2009-04-22 12:20:26 +00:00
Johannes Anderwald
67f6e0572a - Allocate work item for each filter / pin being opened
- Use ExInterlockedInsertTailList to insert a new audio device to prevent race conditions when more than one audio device is present
- Free work item in their target worker routine

svn path=/trunk/; revision=40646
2009-04-22 10:57:28 +00:00
Johannes Anderwald
7a75a5802f - Allocate a work item for each specific request (start / stop / close) and free allocated work items
svn path=/trunk/; revision=40645
2009-04-22 10:17:40 +00:00
Dmitry Chapyshev
7699f9cb05 - Add Font Embedding Dll (it is necessary for Iron and Chrome)
svn path=/trunk/; revision=40644
2009-04-22 08:51:09 +00:00
Cameron Gutman
c218692561 - Don't attempt to store packets and buffers in the same place
svn path=/trunk/; revision=40643
2009-04-22 03:27:33 +00:00
Johannes Anderwald
6964f7b809 - Add error debug traces
svn path=/trunk/; revision=40642
2009-04-21 22:55:21 +00:00
Johannes Anderwald
ec0c13b498 - Implement KSPROPERTY_PIN_CTYPE, KSPROPERTY_PIN_DATAFLOW, KSPROPERTY_PIN_COMMUNICATION for fast property handler
svn path=/trunk/; revision=40641
2009-04-21 22:05:33 +00:00
Johannes Anderwald
5979b226fa - Implement FastDeviceIoControl for IPortFilterWavePci
- Partly implement fast property handler

svn path=/trunk/; revision=40640
2009-04-21 21:44:15 +00:00
Colin Finck
cbc24ae88e Change some leftover .rbuild files from compiler="cpp" to compiler="cxx"
svn path=/trunk/; revision=40638
2009-04-21 19:53:10 +00:00
Hervé Poussineau
59b1bc70b2 Fix warning
svn path=/trunk/; revision=40637
2009-04-21 19:19:48 +00:00
Hervé Poussineau
a6f21e5d07 Disable partition table exploration, as long as it displays an error message if disk is not partitioned
svn path=/trunk/; revision=40636
2009-04-21 19:05:07 +00:00
Timo Kreuzer
0d56a2b19d Some work on freetype font driver
svn path=/trunk/; revision=40635
2009-04-21 18:54:36 +00:00
Johannes Anderwald
d9e5339b37 - Implement handling a FastDeviceIoControl path (not yet used in portcls)
svn path=/trunk/; revision=40633
2009-04-21 10:02:57 +00:00
Johannes Anderwald
e84dcfd61b - Fix return type of FastDeviceIo / FastRead / FastWrite
svn path=/trunk/; revision=40632
2009-04-21 09:56:20 +00:00
Christoph von Wittich
f27e9f53f1 sync SHELL_FindExecutable and SHELL_FindExecutableByOperation with wine 1.1.19
svn path=/trunk/; revision=40631
2009-04-21 09:49:59 +00:00
Michael Martin
e6661c0b54 - edit.c: Add TPM_RETURNCMD flag to TrackPopupMenu so that WM_COMMAND messages are not sent to the edit control.
Use WM_MENUSELECT vice WM_COMMAND to determine which clipboard message to send.
- Fixes vb apps edit context menu and maybe others. Bug #4404

svn path=/trunk/; revision=40630
2009-04-21 04:45:08 +00:00
Michael Martin
3e298b6351 - Revert 40628 as it breaks others applications menus.
svn path=/trunk/; revision=40629
2009-04-21 03:57:15 +00:00
Michael Martin
a94de86ccc - menu.c: Only send WM_COMMAND messages to the top parent window.
- edit.c: Use WM_MENUSELECT vice WM_COMMAND to determine which clipboard message to send.
- Fixes vb apps edit context menu and maybe others. Bug #4404

svn path=/trunk/; revision=40628
2009-04-21 03:24:24 +00:00
James Tabor
602b3ffcf7 - Revert part of 40626.
svn path=/trunk/; revision=40627
2009-04-21 03:15:05 +00:00
James Tabor
48f3b7816a - Add more EMF records types.
svn path=/trunk/; revision=40626
2009-04-21 03:10:54 +00:00
Cameron Gutman
cfc54ca7a2 - Add an ASSERT
svn path=/trunk/; revision=40625
2009-04-21 02:51:58 +00:00
KJK::Hyperion
def5539079 Supersedes r40538, r40539; RosBE bug fixed with a RosBE-specific hack (-nostdinc removed from BUILTIN_CPPFLAGS in rules.mak)
Rbuild rationalization commit, umpteenth of infinite

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/backend/mingw/rules.mak
added      tools/rbuild/compilerdirective.cpp
modified   tools/rbuild/compilerflag.cpp
modified   tools/rbuild/define.cpp
modified   tools/rbuild/include.cpp
modified   tools/rbuild/module.cpp
modified   tools/rbuild/pch.h
modified   tools/rbuild/project.cpp
modified   tools/rbuild/rbuild.dsp
modified   tools/rbuild/rbuild.h
modified   tools/rbuild/rbuild.mak
modified   tools/rbuild/rbuild.vcproj
modified   Makefile
modified   ReactOS-generic.rbuild
   Almost all build rules moved to a makefile.auto include (rules.mak). Size of makefile.auto reduced to about half
   The new rules correctly sort includes, defines and flags in priority order (built-in, project, module type, module, source file)
   The new rules don't duplicate flags anymore. Flag sets are defined once, as makefile variables, and then referred to by variable name
   Compiler-specific flags, includes and defines can now be set, for almost all compilers and tools
   <compilerflag>, <define> and <include> have a new "compiler" attribute, containing a comma-separated list of compilers the directive applies to
   C++ compiler renamed to "cxx", "cpp" now correctly refers to the C preprocessor (or work-alike, built-in preprocessors)
   Drop "overridable" attribute for <define>, as it never worked right
   New <redefine> tag: works like <define>, but undefines the variable before defining it. Several warnings suppressed thanks to it
   Slightly changed rule for resource file; conversion to object file now a separate phase that prints "[CVTRES]"
   Slightly changed definition of ${gas}
   Echo "[AS]" instead of "[GAS]"
   Echo "[RC]" for wrc

modified   include/crt/mingw32/intrin.h
   Now that the correct include paths are passed to the resource compiler, make headers more resource compiler-friendly

modified   dll/directx/wine/ddraw/ddraw.rbuild
   Apply GCC workaround for PSEH

modified   dll/directx/wine/wined3d/wined3d.rbuild
modified   dll/win32/riched20/riched20.rbuild
   -Wno-format no longer required

modified   dll/nls/idndl/idndl.rbuild
modified   dll/nls/idndl_redist/idndl_redist.rbuild
modified   dll/nls/normaliz_redist/normaliz_redist.rbuild
modified   lib/3rdparty/icu4ros/icu4ros.rbuild
modified   lib/nls/idna/idna.rbuild
modified   lib/nls/normalize/normalize.rbuild
modified   lib/nls/scripts/scripts.rbuild
   C++ compiler now identified by "cxx"

modified   drivers/storage/ide/uniata/uniata.rbuild
modified   drivers/wdm/audio/drivers/mpu401/mpu401.rbuild
modified   drivers/wdm/audio/drm/drmk/drmk.rbuild
   Disable exceptions and RTTI for kernel mode C++ code

modified   base/services/umpnpmgr/umpnpmgr.rbuild
modified   dll/cpl/ncpa/ncpa.rbuild
modified   dll/directx/amstream/amstream.rbuild
modified   dll/directx/dinput8/dinput8.rbuild
modified   dll/directx/dinput/dinput.rbuild
modified   dll/directx/qedit/qedit.rbuild
modified   dll/directx/quartz/quartz.rbuild
modified   dll/win32/advapi32/advapi32.rbuild
modified   dll/win32/atl/atl.rbuild
modified   dll/win32/avifil32/avifil32.rbuild
modified   dll/win32/browseui/browseui.rbuild
modified   dll/win32/comcat/comcat.rbuild
modified   dll/win32/crypt32/crypt32.rbuild
modified   dll/win32/hhctrl.ocx/hhctrl.ocx.rbuild
modified   dll/win32/imm32/imm32.rbuild
modified   dll/win32/inetcomm/inetcomm.rbuild
modified   dll/win32/localspl/localspl.rbuild
modified   dll/win32/mlang/mlang.rbuild
modified   dll/win32/msctf/msctf.rbuild
modified   dll/win32/mshtml/mshtml.rbuild
modified   dll/win32/msi/msi.rbuild
modified   dll/win32/mstask/mstask.rbuild
modified   dll/win32/msxml3/msxml3.rbuild
modified   dll/win32/ntmarta/ntmarta.rbuild
modified   dll/win32/objsel/objsel.rbuild
modified   dll/win32/ole32/ole32.rbuild
modified   dll/win32/oleaut32/oleaut32.rbuild
modified   dll/win32/pdh/pdh.rbuild
modified   dll/win32/rpcrt4/rpcrt4.rbuild
modified   dll/win32/shell32/shell32.rbuild
modified   dll/win32/shlwapi/shlwapi.rbuild
modified   dll/win32/urlmon/urlmon.rbuild
modified   dll/win32/wuapi/wuapi.rbuild
modified   include/reactos/idl/idl.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/nls/idndl/idndl.rbuild
modified   lib/nls/idna/idna.rbuild
modified   lib/nls/normalize/normalize.rbuild
modified   lib/nls/scripts/scripts.rbuild
modified   dll/win32/inseng/inseng.rbuild
   Use <redefine> instead of <define> for version macros

modified   base/setup/usetup/usetup.rbuild
modified   base/system/autochk/autochk.rbuild
modified   base/system/smss/smss.rbuild
modified   dll/3rdparty/dxtn/dxtn.rbuild
modified   dll/keyboard/kbda1/kbda1.rbuild
modified   dll/keyboard/kbda2/kbda2.rbuild
modified   dll/keyboard/kbda3/kbda3.rbuild
modified   dll/keyboard/kbdal/kbdal.rbuild
modified   dll/keyboard/kbdarme/kbdarme.rbuild
modified   dll/keyboard/kbdarmw/kbdarmw.rbuild
modified   dll/keyboard/kbdaze/kbdaze.rbuild
modified   dll/keyboard/kbdazel/kbdazel.rbuild
modified   dll/keyboard/kbdbe/kbdbe.rbuild
modified   dll/keyboard/kbdbga/kbdbga.rbuild
modified   dll/keyboard/kbdbgm/kbdbgm.rbuild
modified   dll/keyboard/kbdbgt/kbdbgt.rbuild
modified   dll/keyboard/kbdblr/kbdblr.rbuild
modified   dll/keyboard/kbdbr/kbdbr.rbuild
modified   dll/keyboard/kbdbur/kbdbur.rbuild
modified   dll/keyboard/kbdcan/kbdcan.rbuild
modified   dll/keyboard/kbdcr/kbdcr.rbuild
modified   dll/keyboard/kbdcz1/kbdcz1.rbuild
modified   dll/keyboard/kbdcz/kbdcz.rbuild
modified   dll/keyboard/kbdda/kbdda.rbuild
modified   dll/keyboard/kbddv/kbddv.rbuild
modified   dll/keyboard/kbdes/kbdes.rbuild
modified   dll/keyboard/kbdest/kbdest.rbuild
modified   dll/keyboard/kbdfc/kbdfc.rbuild
modified   dll/keyboard/kbdfi/kbdfi.rbuild
modified   dll/keyboard/kbdfr/kbdfr.rbuild
modified   dll/keyboard/kbdgeo/kbdgeo.rbuild
modified   dll/keyboard/kbdgerg/kbdgerg.rbuild
modified   dll/keyboard/kbdgneo/kbdgneo.rbuild
modified   dll/keyboard/kbdgr/kbdgr.rbuild
modified   dll/keyboard/kbdgrist/kbdgrist.rbuild
modified   dll/keyboard/kbdhe/kbdhe.rbuild
modified   dll/keyboard/kbdheb/kbdheb.rbuild
modified   dll/keyboard/kbdhu/kbdhu.rbuild
modified   dll/keyboard/kbdic/kbdic.rbuild
modified   dll/keyboard/kbdinasa/kbdinasa.rbuild
modified   dll/keyboard/kbdinben/kbdinben.rbuild
modified   dll/keyboard/kbdindev/kbdindev.rbuild
modified   dll/keyboard/kbdinguj/kbdinguj.rbuild
modified   dll/keyboard/kbdinmal/kbdinmal.rbuild
modified   dll/keyboard/kbdir/kbdir.rbuild
modified   dll/keyboard/kbdit/kbdit.rbuild
modified   dll/keyboard/kbdja/kbdja.rbuild
modified   dll/keyboard/kbdkaz/kbdkaz.rbuild
modified   dll/keyboard/kbdko/kbdko.rbuild
modified   dll/keyboard/kbdla/kbdla.rbuild
modified   dll/keyboard/kbdlt1/kbdlt1.rbuild
modified   dll/keyboard/kbdlv/kbdlv.rbuild
modified   dll/keyboard/kbdmac/kbdmac.rbuild
modified   dll/keyboard/kbdne/kbdne.rbuild
modified   dll/keyboard/kbdno/kbdno.rbuild
modified   dll/keyboard/kbdpl1/kbdpl1.rbuild
modified   dll/keyboard/kbdpo/kbdpo.rbuild
modified   dll/keyboard/kbdro/kbdro.rbuild
modified   dll/keyboard/kbdru1/kbdru1.rbuild
modified   dll/keyboard/kbdru/kbdru.rbuild
modified   dll/keyboard/kbdsg/kbdsg.rbuild
modified   dll/keyboard/kbdsk1/kbdsk1.rbuild
modified   dll/keyboard/kbdsk/kbdsk.rbuild
modified   dll/keyboard/kbdsw/kbdsw.rbuild
modified   dll/keyboard/kbdtat/kbdtat.rbuild
modified   dll/keyboard/kbdth0/kbdth0.rbuild
modified   dll/keyboard/kbdth1/kbdth1.rbuild
modified   dll/keyboard/kbdth2/kbdth2.rbuild
modified   dll/keyboard/kbdth3/kbdth3.rbuild
modified   dll/keyboard/kbdtuf/kbdtuf.rbuild
modified   dll/keyboard/kbdtuq/kbdtuq.rbuild
modified   dll/keyboard/kbduk/kbduk.rbuild
modified   dll/keyboard/kbdur/kbdur.rbuild
modified   dll/keyboard/kbdurs/kbdurs.rbuild
modified   dll/keyboard/kbdus/kbdus.rbuild
modified   dll/keyboard/kbdusa/kbdusa.rbuild
modified   dll/keyboard/kbdusl/kbdusl.rbuild
modified   dll/keyboard/kbdusr/kbdusr.rbuild
modified   dll/keyboard/kbdusx/kbdusx.rbuild
modified   dll/keyboard/kbduzb/kbduzb.rbuild
modified   dll/keyboard/kbdvntc/kbdvntc.rbuild
modified   dll/keyboard/kbdycc/kbdycc.rbuild
modified   dll/keyboard/kbdycl/kbdycl.rbuild
modified   dll/ntdll/ntdll.rbuild
modified   dll/win32/crtdll/crtdll.rbuild
modified   dll/win32/dhcpcsvc/dhcpcsvc.rbuild
modified   dll/win32/dnsapi/dnsapi.rbuild
modified   dll/win32/fmifs/fmifs.rbuild
modified   dll/win32/gdi32/gdi32.rbuild
modified   dll/win32/lpk/lpk.rbuild
modified   dll/win32/msvcrt/msvcrt.rbuild
modified   dll/win32/opengl32/opengl32.rbuild
modified   dll/win32/psapi/psapi.rbuild
modified   dll/win32/rasdlg/rasdlg.rbuild
modified   dll/win32/rasman/rasman.rbuild
modified   dll/win32/samlib/samlib.rbuild
modified   dll/win32/shimgvw/shimgvw.rbuild
modified   dll/win32/smdll/smdll.rbuild
modified   dll/win32/twain_32/twain_32.rbuild
modified   dll/win32/uext2/uext2.rbuild
modified   dll/win32/ufat/ufat.rbuild
modified   dll/win32/ufatx/ufatx.rbuild
modified   dll/win32/untfs/untfs.rbuild
modified   dll/win32/user32/user32.rbuild
modified   dll/win32/winspool/winspool.rbuild
modified   dll/win32/ws2_32/ws2_32.rbuild
modified   dll/win32/ws2help/ws2help.rbuild
modified   dll/win32/wshirda/wshirda.rbuild
modified   drivers/directx/dxapi/dxapi.rbuild
modified   drivers/directx/dxgthk/dxgthk.rbuild
modified   hal/halarm/generic/generic.rbuild
modified   hal/halarm/up/halup.rbuild
modified   hal/halppc/generic/generic.rbuild
modified   hal/halppc/up/halup.rbuild
modified   hal/halx86/generic/generic.rbuild
modified   hal/halx86/hal_generic.rbuild
modified   hal/halx86/hal_generic_pc.rbuild
modified   hal/halx86/hal_generic_up.rbuild
modified   hal/halx86/halmp.rbuild
modified   hal/halx86/halup.rbuild
modified   hal/halx86/halxbox.rbuild
modified   lib/3rdparty/libwine/libwine.rbuild
modified   lib/epsapi/epsapi.rbuild
modified   lib/fslib/ext2lib/ext2lib.rbuild
modified   lib/fslib/ntfslib/ntfslib.rbuild
modified   lib/fslib/vfatlib/vfatlib.rbuild
modified   lib/fslib/vfatxlib/vfatxlib.rbuild
modified   lib/ntdllsys/ntdllsys.rbuild
modified   lib/sdk/crt/crt.rbuild
modified   lib/sdk/dxguid/dxguid.rbuild
modified   lib/sdk/nt/nt.rbuild
modified   lib/sdk/strmiids/strmiids.rbuild
modified   lib/sdk/uuid/uuid.rbuild
modified   lib/smlib/smlib.rbuild
modified   lib/win32ksys/win32ksys.rbuild
modified   ntoskrnl/ntoskrnl-generic.rbuild
modified   subsystems/csr/csrsrv/csrsrv.rbuild
modified   subsystems/ntvdm/ntvdm.rbuild
modified   subsystems/win32/csrss/win32csr/win32csr.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   lib/drivers/oskittcp/oskittcp.rbuild
   Goodbye _DISABLE_TIDENTS, __USE_W32API

svn path=/trunk/; revision=40624
2009-04-21 00:33:41 +00:00
KJK::Hyperion
eb3b62597d Supersedes r40536, r40537
modified   winetests/advpack/advpack.rbuild
modified   winetests/browseui/browseui.rbuild
modified   winetests/cabinet/cabinet.rbuild
modified   winetests/comcat/comcat.rbuild
modified   winetests/comdlg32/comdlg32.rbuild
modified   winetests/gdiplus/gdiplus.rbuild
modified   winetests/hlink/hlink.rbuild
modified   winetests/imm32/imm32.rbuild
modified   winetests/lz32/lz32.rbuild
modified   winetests/mapi32/mapi32.rbuild
modified   winetests/mlang/mlang.rbuild
modified   winetests/msacm32/msacm32.rbuild
modified   winetests/mshtml/mshtml.rbuild
modified   winetests/msi/msi.rbuild
modified   winetests/mstask/mstask.rbuild
modified   winetests/netapi32/netapi32.rbuild
modified   winetests/odbccp32/odbccp32.rbuild
modified   winetests/ole32/ole32.rbuild
modified   winetests/rsabase/rsabase.rbuild
modified   winetests/rsaenh/rsaenh.rbuild
modified   winetests/schannel/schannel.rbuild
modified   winetests/shell32/shell32.rbuild
modified   winetests/shlwapi/shlwapi.rbuild
modified   winetests/urlmon/urlmon.rbuild
modified   winetests/usp10/usp10.rbuild
modified   winetests/uxtheme/uxtheme.rbuild
modified   winetests/version/version.rbuild
modified   winetests/winhttp/winhttp.rbuild
modified   winetests/wininet/wininet.rbuild
   -Wno-format no longer necessary

Some obsolete flags removed, some useless compiler flags removed & shit. Nothing earth-shattering
<insert ginormous commit message ruined by TortoiseSVN's shitty GUI>

svn path=/trunk/; revision=40623
2009-04-21 00:33:05 +00:00
James Tabor
324ce18cff - Update DrawEscape, thanks Tommy.
svn path=/trunk/; revision=40622
2009-04-21 00:29:00 +00:00
James Tabor
087ad5b15d - Update CancelDC and DrawEscape.
svn path=/trunk/; revision=40621
2009-04-21 00:14:56 +00:00
Cameron Gutman
b32a91734c - Implement NdisQueryAdapterInstanceName
svn path=/trunk/; revision=40620
2009-04-20 23:36:28 +00:00
Christoph von Wittich
e1f0e61a6c fix 7 setupapi misc winetests
svn path=/trunk/; revision=40618
2009-04-20 22:59:31 +00:00
Christoph von Wittich
9cd9566d14 add linebreaks
svn path=/trunk/; revision=40617
2009-04-20 22:50:49 +00:00
Cameron Gutman
cc5eedd8a0 - Implement NdisMRegisterUnloadHandler, NdisMRegisterDevice, and NdisMDeregisterDevice
svn path=/trunk/; revision=40614
2009-04-20 20:59:40 +00:00
Hervé Poussineau
7a499db296 Implement agnostic architecture for file system access, according to Advanced RISC Computing Specification Version 1.2
Some shortcuts still exist, and will need to be addressed later
Use this new API in the NTLDR-style loader

svn path=/trunk/; revision=40613
2009-04-20 20:04:23 +00:00
Timo Kreuzer
c95c888219 Sync to trunk r40610
svn path=/branches/ros-amd64-bringup/; revision=40611
2009-04-20 19:32:39 +00:00
Cameron Gutman
549e5d1a61 - Implement NdisMGetDeviceProperty
svn path=/trunk/; revision=40610
2009-04-20 19:03:45 +00:00
Timo Kreuzer
f32f3ce2bc Comment out mpu401
svn path=/branches/ros-amd64-bringup/; revision=40609
2009-04-20 16:47:21 +00:00
Timo Kreuzer
0041324ff2 Fix build of mmbuddy, add a comment.
svn path=/branches/ros-amd64-bringup/; revision=40608
2009-04-20 16:45:52 +00:00
Johannes Anderwald
b8ab2e557c - Rename function to fix linking errors on x64
svn path=/trunk/; revision=40607
2009-04-20 14:14:07 +00:00
Dmitry Chapyshev
352fae1736 - Partially implement CancelDC, DrawEscape
- Add check of params for EnumObjects, SetMetaFileBitsEx

svn path=/trunk/; revision=40606
2009-04-20 12:28:59 +00:00
Timo Kreuzer
39a344baf1 Fix handling of UWOP_ALLOC_LARGE, thanks to ktietz for noticing.
svn path=/branches/ros-amd64-bringup/; revision=40605
2009-04-20 11:11:12 +00:00
Timo Kreuzer
4485b3c504 Simplify code in RtlLookupFunctionEntry. Add missing breaks in RtlVirtualUnwind. Improve documentation comments.
svn path=/branches/ros-amd64-bringup/; revision=40604
2009-04-20 10:25:49 +00:00
Christoph von Wittich
03fef42adf sync SetupGetTargetPathW with wine
fixes all setupapi query winetests

svn path=/trunk/; revision=40603
2009-04-20 06:23:46 +00:00
Christoph von Wittich
3103b957bf fix 4 setupapi parser winetests
svn path=/trunk/; revision=40602
2009-04-20 06:13:00 +00:00
Dmitry Gorbachev
0856d51609 More error checks. Bug #4393.
svn path=/trunk/; revision=40601
2009-04-20 03:16:12 +00:00
Dmitry Gorbachev
697b88f8ec Don't fail with Chinese language (bug #4393).
Please also fix 0.3.9.

svn path=/trunk/; revision=40600
2009-04-20 03:14:40 +00:00
Christoph von Wittich
df9a63f55e import SetupEnumInfSectionsA/W from wine
fixes setupapi parser winetest crash

svn path=/trunk/; revision=40599
2009-04-19 23:08:05 +00:00
Johannes Anderwald
e035665105 - Forward & wait IRP_MN_START_DEVICE to lower device objects before starting the device
- Fix several irp leaks and return correct status in PcForwardIrpSynchronous

svn path=/trunk/; revision=40598
2009-04-19 22:57:21 +00:00
Johannes Anderwald
93d9523069 - Handle IRP_MN_QUERY_RESOURCE_REQUIREMENTS
svn path=/trunk/; revision=40597
2009-04-19 22:12:56 +00:00
Johannes Anderwald
39affd9197 - Silence a few debug prints
- Fix memory leaks on failure

svn path=/trunk/; revision=40596
2009-04-19 22:01:57 +00:00
Hervé Poussineau
ae4881eaf5 Don't directly call NtPlugPlayControl from setupapi, and replace it by RPC
As a bonus, setupapi is now (theorically) able to restart devices on remote machines
See issue #4400 for more details.

svn path=/trunk/; revision=40594
2009-04-19 21:36:59 +00:00
Johannes Anderwald
1d51cd9866 - Drivers might use this unused area
http://msdn.microsoft.com/en-us/library/ms793661.aspx

svn path=/trunk/; revision=40593
2009-04-19 20:13:37 +00:00
Johannes Anderwald
ca44e29f8a - Activate IPortFilterWavePci
svn path=/trunk/; revision=40592
2009-04-19 19:15:58 +00:00
Aleksey Bragin
463e79f9de - Don't display unformatted partitions twice.
See issue #4399 for more details.

svn path=/trunk/; revision=40590
2009-04-19 18:42:07 +00:00
Johannes Anderwald
70f0dc80ff - Implement IPortFilterWavePci (based on IPortFilterWaveCyclic)
svn path=/trunk/; revision=40589
2009-04-19 18:32:53 +00:00
Cameron Gutman
0ffd4b7b1e - Print the current and maximum lookahead to aid in debugging certain miniport drivers
svn path=/trunk/; revision=40587
2009-04-19 04:20:09 +00:00
Cameron Gutman
6e2352d0de - Stub MiniSetComplete and MiniQueryComplete
- Register more handlers

svn path=/trunk/; revision=40586
2009-04-19 03:35:06 +00:00
Cameron Gutman
dfdb662012 - Return a better status for STATUS_CANCELLED, STATUS_FILE_CLOSED, and STATUS_REMOTE_NOT_LISTENING
svn path=/trunk/; revision=40585
2009-04-18 17:00:54 +00:00
Gregor Schneider
35ca7ca698 - Don't crash copying from a null pointer in a non client size calculation
- Several thousand more user32 win winetests should be executed now

svn path=/trunk/; revision=40584
2009-04-18 16:25:18 +00:00
Cameron Gutman
51d9909734 - Handle STATUS_NETWORK_UNREACHABLE
svn path=/trunk/; revision=40583
2009-04-18 15:35:34 +00:00
Johannes Anderwald
abaebc22ca - Partly implement SERVICE_CONFIG_FAILURE_ACTIONS in RQueryServiceConfig2W
svn path=/trunk/; revision=40582
2009-04-18 15:14:49 +00:00
Johannes Anderwald
8bb9d180c0 - Revert as it hides bug 2769
See issue #2769 for more details.

svn path=/trunk/; revision=40578
2009-04-18 14:46:04 +00:00
Colin Finck
88a83af301 Only trigger the installer thread after we got the user token.
Fixes a race condition mostly occuring under real hardware.

See issue #4390 for more details.

svn path=/trunk/; revision=40576
2009-04-18 14:24:02 +00:00
Dmitry Chapyshev
c2f98d4d61 - Re-simplify CreateProcessW (like r40484)
svn path=/trunk/; revision=40575
2009-04-18 14:11:31 +00:00
Matthias Kupfer
9065a6dbcf - German translation of effects (dialog + button)
svn path=/trunk/; revision=40574
2009-04-18 14:00:07 +00:00
Johannes Anderwald
b535f09e20 - unbreak build
svn path=/trunk/; revision=40573
2009-04-18 13:46:39 +00:00
Johannes Anderwald
dbd8533688 - Fix copyright message
- Rob Shearman <rob@codeweavers.com>
shell32: Fix incorrect character count passed into RegEnumKeyExW in CreateDesktopEnumList.

svn path=/trunk/; revision=40571
2009-04-18 11:52:09 +00:00
Johannes Anderwald
2bd49fef81 - Fix window styles for IDD_SHELL_ABOUT_AUTHORS
- Fixes displaying shell about dialog

svn path=/trunk/; revision=40570
2009-04-18 11:48:04 +00:00
Gregor Schneider
b48f3e2f98 Order rectangle points to avoid CreateCompatibleBitmap failure because of negative size values
svn path=/trunk/; revision=40569
2009-04-18 11:07:58 +00:00
Steven Edwards
6fe4f11391 started working on a ReactOS bootcamp management application. Just a mockup for now
svn path=/trunk/; revision=40568
2009-04-18 02:03:33 +00:00
Dmitry Gorbachev
06d7de1000 Update ReactOS Calc to version 1.11. Carlo Bramini, bug #4346.
svn path=/trunk/; revision=40566
2009-04-17 21:35:07 +00:00
Dmitry Gorbachev
79cdd76423 Begin Japanese translation of USetup
svn path=/trunk/; revision=40565
2009-04-17 21:01:56 +00:00
Dmitry Gorbachev
0333e07048 - Update Japanese translations, Tomoya Kitagawa, bug #4332.
- Update Spanish translations, Javier Remacha, bug #4357.
- Spanish translation of Write by Elhoir, bug #4360.
- Brazilian Portuguese translations by Wagner Leandro Bueno Angelo, bug #4374.

svn path=/trunk/; revision=40564
2009-04-17 20:54:28 +00:00
Christoph von Wittich
a51e10cbb8 fix last setupapi stringtable winetest
svn path=/trunk/; revision=40563
2009-04-17 20:50:04 +00:00
James Tabor
fe9f8bcea5 - Ref bug 4074: Need to test it again to see if it crashes further down the line.
svn path=/trunk/; revision=40562
2009-04-17 20:34:09 +00:00
Christoph von Wittich
c116c45760 don't crash on setupapi stringtable winetest
svn path=/trunk/; revision=40561
2009-04-17 19:37:13 +00:00
Christoph von Wittich
f8cbb14378 revert 40488 as it breaks regsvr32
svn path=/trunk/; revision=40559
2009-04-17 16:40:31 +00:00
Michael Martin
6eb489a9c6 - OutputDebugStringA: Handle freeing memory in case of an exception.
svn path=/trunk/; revision=40558
2009-04-17 11:09:22 +00:00
Michael Martin
9cbd1dc647 - Add volatile to variables in OutputDebugStringA. Fix #1 of ? for 3424.
svn path=/trunk/; revision=40557
2009-04-17 09:59:03 +00:00
Dmitry Chapyshev
b800b69f34 - More correct fix of a problem with loading dlls
svn path=/trunk/; revision=40556
2009-04-17 07:15:04 +00:00
Dmitry Chapyshev
90590ee801 - Add check on null-pointer. Fixes exception in some cases
svn path=/trunk/; revision=40555
2009-04-17 07:12:21 +00:00
Cameron Gutman
8d8ce081fa - Don't leak the dma adapter when we fail
svn path=/trunk/; revision=40554
2009-04-17 01:55:31 +00:00
Cameron Gutman
0f8d58977d - Fix another multiplication error
svn path=/trunk/; revision=40553
2009-04-17 01:50:29 +00:00
Cameron Gutman
ff3c42108d - Initialize the spin lock in NdisInitializeReadWriteLock
- Fixes miniport drivers that use the read/write lock

svn path=/trunk/; revision=40552
2009-04-17 01:17:50 +00:00
Cameron Gutman
e3598783d0 - Simplify timer implementation (done by me)
- Fix timer implementation (thanks to janderwald)
 - The Intel PRO/1000 driver loads but crashes later now
 - The Linksys Wireless-G driver MAY work now (untested)

svn path=/trunk/; revision=40550
2009-04-16 23:55:00 +00:00
Gregor Schneider
5e9875c679 - Sync riched20 with Wine 1.1.19
- Fixes a problem where the richedit control forwarded messages to itself through user32, also known as the Winrar installation stack overflow, bug #4197

svn path=/trunk/; revision=40545
2009-04-16 17:49:22 +00:00
Dmitry Chapyshev
92a3744982 - Necessary to trim a path to dll (for example: path/name.dll-> name.dll). It fixes an bug with search dlls if dll it is located in a folder with the program
svn path=/trunk/; revision=40544
2009-04-16 14:46:31 +00:00
Timo Kreuzer
e49fa4f867 Sync trunk r40500
svn path=/branches/ros-amd64-bringup/; revision=40543
2009-04-16 14:44:19 +00:00
Aleksey Bragin
ff346bf2bd - Use a common exit point from a function, and thus fix two returns from a seh block not wrapped into _SEH2_YIELD.
- Fixes a crash in Downloader app and in numerous other applications.

svn path=/trunk/; revision=40542
2009-04-16 13:44:59 +00:00
KJK::Hyperion
77db4acd5e This is why we can't have nice things. Reverting r40536, r40537, due to RosBE differences between Windows and Linux hosts (because RosBE sucks)
svn path=/trunk/; revision=40541
2009-04-16 04:57:28 +00:00
KJK::Hyperion
0330bad96d This is why we can't have nice things. Reverting r40538, r40539, due to RosBE differences between Windows and Linux hosts (because RosBE sucks)
svn path=/trunk/; revision=40540
2009-04-16 04:52:16 +00:00
KJK::Hyperion
164264821a Fixed generation of makefile dependencies for C++ sources
svn path=/trunk/; revision=40539
2009-04-16 03:04:27 +00:00
KJK::Hyperion
5a11fa5fa1 Rbuild rationalization commit, umpteenth of infinite
modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/backend/mingw/rules.mak
added      tools/rbuild/compilerdirective.cpp
modified   tools/rbuild/compilerflag.cpp
modified   tools/rbuild/define.cpp
modified   tools/rbuild/include.cpp
modified   tools/rbuild/module.cpp
modified   tools/rbuild/pch.h
modified   tools/rbuild/project.cpp
modified   tools/rbuild/rbuild.dsp
modified   tools/rbuild/rbuild.h
modified   tools/rbuild/rbuild.mak
modified   tools/rbuild/rbuild.vcproj
modified   Makefile
modified   ReactOS-generic.rbuild
   Almost all build rules moved to a makefile.auto include (rules.mak). Size of makefile.auto reduced to about half
   The new rules correctly sort includes, defines and flags in priority order (built-in, project, module type, module, source file)
   The new rules don't duplicate flags anymore. Flag sets are defined once, as makefile variables, and then referred to by variable name
   Compiler-specific flags, includes and defines can now be set, for almost all compilers and tools
   <compilerflag>, <define> and <include> have a new "compiler" attribute, containing a comma-separated list of compilers the directive applies to
   C++ compiler renamed to "cxx", "cpp" now correctly refers to the C preprocessor (or work-alike, built-in preprocessors)
   Drop "overridable" attribute for <define>, as it never worked right
   New <redefine> tag: works like <define>, but undefines the variable before defining it. Several warnings suppressed thanks to it
   Slightly changed rule for resource file; conversion to object file now a separate phase that prints "[CVTRES]"
   Slightly changed definition of ${gas}
   Echo "[AS]" instead of "[GAS]"
   Echo "[RC]" for wrc

modified   include/crt/mingw32/intrin.h
   Now that the correct include paths are passed to the resource compiler, make headers more resource compiler-friendly

modified   dll/directx/wine/ddraw/ddraw.rbuild
   Apply GCC workaround for PSEH

modified   dll/directx/wine/wined3d/wined3d.rbuild
modified   dll/win32/riched20/riched20.rbuild
   -Wno-format no longer required

modified   dll/nls/idndl/idndl.rbuild
modified   dll/nls/idndl_redist/idndl_redist.rbuild
modified   dll/nls/normaliz_redist/normaliz_redist.rbuild
modified   lib/3rdparty/icu4ros/icu4ros.rbuild
modified   lib/nls/idna/idna.rbuild
modified   lib/nls/normalize/normalize.rbuild
modified   lib/nls/scripts/scripts.rbuild
   C++ compiler now identified by "cxx"

modified   drivers/storage/ide/uniata/uniata.rbuild
modified   drivers/wdm/audio/drivers/mpu401/mpu401.rbuild
modified   drivers/wdm/audio/drm/drmk/drmk.rbuild
   Disable exceptions and RTTI for kernel mode C++ code

modified   base/services/umpnpmgr/umpnpmgr.rbuild
modified   dll/cpl/ncpa/ncpa.rbuild
modified   dll/directx/amstream/amstream.rbuild
modified   dll/directx/dinput8/dinput8.rbuild
modified   dll/directx/dinput/dinput.rbuild
modified   dll/directx/qedit/qedit.rbuild
modified   dll/directx/quartz/quartz.rbuild
modified   dll/win32/advapi32/advapi32.rbuild
modified   dll/win32/atl/atl.rbuild
modified   dll/win32/avifil32/avifil32.rbuild
modified   dll/win32/browseui/browseui.rbuild
modified   dll/win32/comcat/comcat.rbuild
modified   dll/win32/crypt32/crypt32.rbuild
modified   dll/win32/hhctrl.ocx/hhctrl.ocx.rbuild
modified   dll/win32/imm32/imm32.rbuild
modified   dll/win32/inetcomm/inetcomm.rbuild
modified   dll/win32/localspl/localspl.rbuild
modified   dll/win32/mlang/mlang.rbuild
modified   dll/win32/msctf/msctf.rbuild
modified   dll/win32/mshtml/mshtml.rbuild
modified   dll/win32/msi/msi.rbuild
modified   dll/win32/mstask/mstask.rbuild
modified   dll/win32/msxml3/msxml3.rbuild
modified   dll/win32/ntmarta/ntmarta.rbuild
modified   dll/win32/objsel/objsel.rbuild
modified   dll/win32/ole32/ole32.rbuild
modified   dll/win32/oleaut32/oleaut32.rbuild
modified   dll/win32/pdh/pdh.rbuild
modified   dll/win32/rpcrt4/rpcrt4.rbuild
modified   dll/win32/shell32/shell32.rbuild
modified   dll/win32/shlwapi/shlwapi.rbuild
modified   dll/win32/urlmon/urlmon.rbuild
modified   dll/win32/wuapi/wuapi.rbuild
modified   include/reactos/idl/idl.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/nls/idndl/idndl.rbuild
modified   lib/nls/idna/idna.rbuild
modified   lib/nls/normalize/normalize.rbuild
modified   lib/nls/scripts/scripts.rbuild
modified   dll/win32/inseng/inseng.rbuild
   Use <redefine> instead of <define> for version macros

modified   base/setup/usetup/usetup.rbuild
modified   base/system/autochk/autochk.rbuild
modified   base/system/smss/smss.rbuild
modified   dll/3rdparty/dxtn/dxtn.rbuild
modified   dll/keyboard/kbda1/kbda1.rbuild
modified   dll/keyboard/kbda2/kbda2.rbuild
modified   dll/keyboard/kbda3/kbda3.rbuild
modified   dll/keyboard/kbdal/kbdal.rbuild
modified   dll/keyboard/kbdarme/kbdarme.rbuild
modified   dll/keyboard/kbdarmw/kbdarmw.rbuild
modified   dll/keyboard/kbdaze/kbdaze.rbuild
modified   dll/keyboard/kbdazel/kbdazel.rbuild
modified   dll/keyboard/kbdbe/kbdbe.rbuild
modified   dll/keyboard/kbdbga/kbdbga.rbuild
modified   dll/keyboard/kbdbgm/kbdbgm.rbuild
modified   dll/keyboard/kbdbgt/kbdbgt.rbuild
modified   dll/keyboard/kbdblr/kbdblr.rbuild
modified   dll/keyboard/kbdbr/kbdbr.rbuild
modified   dll/keyboard/kbdbur/kbdbur.rbuild
modified   dll/keyboard/kbdcan/kbdcan.rbuild
modified   dll/keyboard/kbdcr/kbdcr.rbuild
modified   dll/keyboard/kbdcz1/kbdcz1.rbuild
modified   dll/keyboard/kbdcz/kbdcz.rbuild
modified   dll/keyboard/kbdda/kbdda.rbuild
modified   dll/keyboard/kbddv/kbddv.rbuild
modified   dll/keyboard/kbdes/kbdes.rbuild
modified   dll/keyboard/kbdest/kbdest.rbuild
modified   dll/keyboard/kbdfc/kbdfc.rbuild
modified   dll/keyboard/kbdfi/kbdfi.rbuild
modified   dll/keyboard/kbdfr/kbdfr.rbuild
modified   dll/keyboard/kbdgeo/kbdgeo.rbuild
modified   dll/keyboard/kbdgerg/kbdgerg.rbuild
modified   dll/keyboard/kbdgneo/kbdgneo.rbuild
modified   dll/keyboard/kbdgr/kbdgr.rbuild
modified   dll/keyboard/kbdgrist/kbdgrist.rbuild
modified   dll/keyboard/kbdhe/kbdhe.rbuild
modified   dll/keyboard/kbdheb/kbdheb.rbuild
modified   dll/keyboard/kbdhu/kbdhu.rbuild
modified   dll/keyboard/kbdic/kbdic.rbuild
modified   dll/keyboard/kbdinasa/kbdinasa.rbuild
modified   dll/keyboard/kbdinben/kbdinben.rbuild
modified   dll/keyboard/kbdindev/kbdindev.rbuild
modified   dll/keyboard/kbdinguj/kbdinguj.rbuild
modified   dll/keyboard/kbdinmal/kbdinmal.rbuild
modified   dll/keyboard/kbdir/kbdir.rbuild
modified   dll/keyboard/kbdit/kbdit.rbuild
modified   dll/keyboard/kbdja/kbdja.rbuild
modified   dll/keyboard/kbdkaz/kbdkaz.rbuild
modified   dll/keyboard/kbdko/kbdko.rbuild
modified   dll/keyboard/kbdla/kbdla.rbuild
modified   dll/keyboard/kbdlt1/kbdlt1.rbuild
modified   dll/keyboard/kbdlv/kbdlv.rbuild
modified   dll/keyboard/kbdmac/kbdmac.rbuild
modified   dll/keyboard/kbdne/kbdne.rbuild
modified   dll/keyboard/kbdno/kbdno.rbuild
modified   dll/keyboard/kbdpl1/kbdpl1.rbuild
modified   dll/keyboard/kbdpo/kbdpo.rbuild
modified   dll/keyboard/kbdro/kbdro.rbuild
modified   dll/keyboard/kbdru1/kbdru1.rbuild
modified   dll/keyboard/kbdru/kbdru.rbuild
modified   dll/keyboard/kbdsg/kbdsg.rbuild
modified   dll/keyboard/kbdsk1/kbdsk1.rbuild
modified   dll/keyboard/kbdsk/kbdsk.rbuild
modified   dll/keyboard/kbdsw/kbdsw.rbuild
modified   dll/keyboard/kbdtat/kbdtat.rbuild
modified   dll/keyboard/kbdth0/kbdth0.rbuild
modified   dll/keyboard/kbdth1/kbdth1.rbuild
modified   dll/keyboard/kbdth2/kbdth2.rbuild
modified   dll/keyboard/kbdth3/kbdth3.rbuild
modified   dll/keyboard/kbdtuf/kbdtuf.rbuild
modified   dll/keyboard/kbdtuq/kbdtuq.rbuild
modified   dll/keyboard/kbduk/kbduk.rbuild
modified   dll/keyboard/kbdur/kbdur.rbuild
modified   dll/keyboard/kbdurs/kbdurs.rbuild
modified   dll/keyboard/kbdus/kbdus.rbuild
modified   dll/keyboard/kbdusa/kbdusa.rbuild
modified   dll/keyboard/kbdusl/kbdusl.rbuild
modified   dll/keyboard/kbdusr/kbdusr.rbuild
modified   dll/keyboard/kbdusx/kbdusx.rbuild
modified   dll/keyboard/kbduzb/kbduzb.rbuild
modified   dll/keyboard/kbdvntc/kbdvntc.rbuild
modified   dll/keyboard/kbdycc/kbdycc.rbuild
modified   dll/keyboard/kbdycl/kbdycl.rbuild
modified   dll/ntdll/ntdll.rbuild
modified   dll/win32/crtdll/crtdll.rbuild
modified   dll/win32/dhcpcsvc/dhcpcsvc.rbuild
modified   dll/win32/dnsapi/dnsapi.rbuild
modified   dll/win32/fmifs/fmifs.rbuild
modified   dll/win32/gdi32/gdi32.rbuild
modified   dll/win32/lpk/lpk.rbuild
modified   dll/win32/msvcrt/msvcrt.rbuild
modified   dll/win32/opengl32/opengl32.rbuild
modified   dll/win32/psapi/psapi.rbuild
modified   dll/win32/rasdlg/rasdlg.rbuild
modified   dll/win32/rasman/rasman.rbuild
modified   dll/win32/samlib/samlib.rbuild
modified   dll/win32/shimgvw/shimgvw.rbuild
modified   dll/win32/smdll/smdll.rbuild
modified   dll/win32/twain_32/twain_32.rbuild
modified   dll/win32/uext2/uext2.rbuild
modified   dll/win32/ufat/ufat.rbuild
modified   dll/win32/ufatx/ufatx.rbuild
modified   dll/win32/untfs/untfs.rbuild
modified   dll/win32/user32/user32.rbuild
modified   dll/win32/winspool/winspool.rbuild
modified   dll/win32/ws2_32/ws2_32.rbuild
modified   dll/win32/ws2help/ws2help.rbuild
modified   dll/win32/wshirda/wshirda.rbuild
modified   drivers/directx/dxapi/dxapi.rbuild
modified   drivers/directx/dxgthk/dxgthk.rbuild
modified   hal/halarm/generic/generic.rbuild
modified   hal/halarm/up/halup.rbuild
modified   hal/halppc/generic/generic.rbuild
modified   hal/halppc/up/halup.rbuild
modified   hal/halx86/generic/generic.rbuild
modified   hal/halx86/hal_generic.rbuild
modified   hal/halx86/hal_generic_pc.rbuild
modified   hal/halx86/hal_generic_up.rbuild
modified   hal/halx86/halmp.rbuild
modified   hal/halx86/halup.rbuild
modified   hal/halx86/halxbox.rbuild
modified   lib/3rdparty/libwine/libwine.rbuild
modified   lib/epsapi/epsapi.rbuild
modified   lib/fslib/ext2lib/ext2lib.rbuild
modified   lib/fslib/ntfslib/ntfslib.rbuild
modified   lib/fslib/vfatlib/vfatlib.rbuild
modified   lib/fslib/vfatxlib/vfatxlib.rbuild
modified   lib/ntdllsys/ntdllsys.rbuild
modified   lib/sdk/crt/crt.rbuild
modified   lib/sdk/dxguid/dxguid.rbuild
modified   lib/sdk/nt/nt.rbuild
modified   lib/sdk/strmiids/strmiids.rbuild
modified   lib/sdk/uuid/uuid.rbuild
modified   lib/smlib/smlib.rbuild
modified   lib/win32ksys/win32ksys.rbuild
modified   ntoskrnl/ntoskrnl-generic.rbuild
modified   subsystems/csr/csrsrv/csrsrv.rbuild
modified   subsystems/ntvdm/ntvdm.rbuild
modified   subsystems/win32/csrss/win32csr/win32csr.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   lib/drivers/oskittcp/oskittcp.rbuild
   Goodbye _DISABLE_TIDENTS, __USE_W32API

svn path=/trunk/; revision=40538
2009-04-16 02:27:50 +00:00
KJK::Hyperion
bbfe8fa8d7 Some obsolete flags removed, some useless compiler flags removed & shit. Nothing earth-shattering
<insert ginormous commit message ruined by TortoiseSVN's shitty GUI>

svn path=/trunk/; revision=40537
2009-04-16 02:18:00 +00:00
KJK::Hyperion
0464762cd6 modified winetests/advpack/advpack.rbuild
modified   winetests/browseui/browseui.rbuild
modified   winetests/cabinet/cabinet.rbuild
modified   winetests/comcat/comcat.rbuild
modified   winetests/comdlg32/comdlg32.rbuild
modified   winetests/gdiplus/gdiplus.rbuild
modified   winetests/hlink/hlink.rbuild
modified   winetests/imm32/imm32.rbuild
modified   winetests/lz32/lz32.rbuild
modified   winetests/mapi32/mapi32.rbuild
modified   winetests/mlang/mlang.rbuild
modified   winetests/msacm32/msacm32.rbuild
modified   winetests/mshtml/mshtml.rbuild
modified   winetests/msi/msi.rbuild
modified   winetests/mstask/mstask.rbuild
modified   winetests/netapi32/netapi32.rbuild
modified   winetests/odbccp32/odbccp32.rbuild
modified   winetests/ole32/ole32.rbuild
modified   winetests/rsabase/rsabase.rbuild
modified   winetests/rsaenh/rsaenh.rbuild
modified   winetests/schannel/schannel.rbuild
modified   winetests/shell32/shell32.rbuild
modified   winetests/shlwapi/shlwapi.rbuild
modified   winetests/urlmon/urlmon.rbuild
modified   winetests/usp10/usp10.rbuild
modified   winetests/uxtheme/uxtheme.rbuild
modified   winetests/version/version.rbuild
modified   winetests/winhttp/winhttp.rbuild
modified   winetests/wininet/wininet.rbuild
   -Wno-format no longer necessary


svn path=/trunk/; revision=40536
2009-04-16 02:06:20 +00:00
Christoph von Wittich
4c3c1deeda fix some setupapi winetests
svn path=/trunk/; revision=40535
2009-04-15 21:19:48 +00:00
Kamil Hornicek
0bf0792f26 - sync wined3d, d3d8, d3d9, ddraw with Wine 1.1.19
svn path=/trunk/; revision=40534
2009-04-15 20:40:10 +00:00
Steven Edwards
5fc8bc0283 make telnetd manual
svn path=/trunk/; revision=40533
2009-04-15 18:29:37 +00:00
Dmitry Chapyshev
1487d68971 - Revert r40529
svn path=/trunk/; revision=40532
2009-04-15 17:18:20 +00:00
Gregor Schneider
32414442e2 - Detect switched color and mask bitmaps in CreateCursorIndirect and switch them back
- Don't set the icon hotspot too early in CreateIcon
- Fixes five cursoricon winetests

svn path=/trunk/; revision=40531
2009-04-15 17:09:17 +00:00
Gregor Schneider
1c62287842 More monochrome icon handling fixes in CreateIcon and CreateCursorIconHandle, fixes two cursoricon winetests
svn path=/trunk/; revision=40530
2009-04-15 16:00:22 +00:00
Dmitry Chapyshev
9f8ebd6a63 - Revert r40483
svn path=/trunk/; revision=40529
2009-04-15 15:47:45 +00:00
Gregor Schneider
35ac2a9da7 - CreateIcon: create color bitmap only if bitsPixel specifies a non-monochrome icon
- CreateCursorIconHandle: set hotspot for icons based on the bitmap size
- Fixes seven user32 cursoricon winetests

svn path=/trunk/; revision=40528
2009-04-15 15:39:46 +00:00
Dmitry Chapyshev
e24b445f11 - Revert r40484
svn path=/trunk/; revision=40527
2009-04-15 15:32:04 +00:00
Gregor Schneider
75230872e0 - Allow creation of icons without color bitmap in CreateIconIndirect
- Compare color and mask size if color is present, compare height against height
- Fixes 13 user32 cursoricon winetests
- DbgPrint -> ERR or FIXME

svn path=/trunk/; revision=40526
2009-04-15 12:36:37 +00:00
Dmitry Chapyshev
f9e8538d24 - Implement ThreadPriorityBoost case in NtQueryInformationThread
- Add ThreadDescriptorTableEntry case
- Add check of parametres
Approved by Aleksey.

svn path=/trunk/; revision=40525
2009-04-15 11:57:48 +00:00
Johannes Anderwald
27c2bd90eb - Plug in sample rate conversion library, doesnt work yet
- Implement calloc, memset, memcpy as calling their Rtl* wrapper doesnt work- Add define for AC97 hacks

svn path=/trunk/; revision=40524
2009-04-15 10:41:41 +00:00
Dmitry Chapyshev
2b9ed04e31 - At an exception returns STATUS_DLL_NOT_FOUND. It fixes one wine test
svn path=/trunk/; revision=40523
2009-04-15 10:20:10 +00:00
Dmitry Chapyshev
17e2ab8999 - Use SEH in LdrGetProcedureAddress. It fixes an exception in "kernel32_winetest module" and some wine tests
svn path=/trunk/; revision=40522
2009-04-15 09:27:59 +00:00
Aleksey Bragin
8bb2786d95 - Disable ACPI once again until bug 3363 and bug 4221 are fixed.
See issue #3363 for more details.

svn path=/trunk/; revision=40521
2009-04-15 09:19:24 +00:00
Christoph von Wittich
1ecfbaf361 sync wininet urlcache.c with wine 1.1.19 - fixes memory corruptions
svn path=/trunk/; revision=40520
2009-04-15 09:17:12 +00:00
Christoph von Wittich
d748120ca1 check for immutable bits in RtlSetControlSecurityDescriptor
fixes >100 advapi32 security winetests

svn path=/trunk/; revision=40519
2009-04-15 08:33:57 +00:00
Aleksey Bragin
e8ecddc002 - Silence MmCanFileBeTruncated warning about not checking for outstanding write probes.
svn path=/trunk/; revision=40518
2009-04-15 07:47:15 +00:00
Dmitry Chapyshev
9e45cb2d7e - Sync avifil32 with Wine 1.1.19
svn path=/trunk/; revision=40517
2009-04-15 07:33:50 +00:00
Dmitry Chapyshev
5275c90901 - Update Russian translation
svn path=/trunk/; revision=40516
2009-04-15 07:29:19 +00:00
Colin Finck
484b6902f1 - Use rundll32.exe and CreateProcessAsUserW to call ClientSideInstallW for installing new devices and supply all required information over a named pipe.
The named pipe communication was monitored under Windows XP SP2, so that the protocol under ReactOS is compatible (except for one data field, see code)
- Implement ClientSideInstallW in newdev.dll
- Give umpnpmgr the SE_ASSIGNPRIMARYTOKEN privilege to use CreateProcessAsUserW
- Open the token of the userinit process with TOKEN_ASSIGN_PRIMARY | TOKEN_DUPLICATE | TOKEN_QUERY, we don't get TOKEN_ALL_ACCESS and used to fail here without noticing it
- Return CR_FAILURE in case of problems inside PNP_ReportLogOn

This stuff by the way fixes the "Browse" button in a "New hardware device" dialog
See issue #4363 for more details.

svn path=/trunk/; revision=40513
2009-04-14 22:31:36 +00:00
Colin Finck
2ef63b5190 Fix and slightly optimize _SHGetUserShellFolderPath
Note to Wine guys: Registry functions take and give everything in bytes!

svn path=/trunk/; revision=40512
2009-04-14 22:13:20 +00:00
Gregor Schneider
a49c40392b - ICON_CreateCursorFromData should pass a header that fits to the bitmap data to SetDIBits to allow color conversion if necessary; create the color cursor if requested in the same function
- Winamp 2.95 now shows a custom cursor, but it's still surrounded by blackness, bug #4370
- Misc typo fixes, cleanup

svn path=/trunk/; revision=40510
2009-04-14 21:30:03 +00:00
Timo Kreuzer
fc069970e4 Remove hBitmap from DC.rosdc and use DC.dclevel.pSurface instead.
svn path=/trunk/; revision=40509
2009-04-14 20:50:02 +00:00
Timo Kreuzer
1e46ec84b5 Revert 40507, it breaks VBox.
svn path=/trunk/; revision=40508
2009-04-14 18:14:18 +00:00
Daniel Reimer
d0ab3ff5ae Enable uniata.sys as default Storage driver. Approved by Fireball. Complaints go to reimer.daniel@freenet.de
I skipped removing atapi.sys from build. first test it. if it works we do this then.

svn path=/trunk/; revision=40507
2009-04-14 17:24:04 +00:00
Aleksey Bragin
db2b8f5c36 - Display unpartitioned and unformatted entries in a partition table. Fixes problems when installing on an absolutely clean harddisk.
svn path=/trunk/; revision=40506
2009-04-14 16:53:22 +00:00
Johannes Anderwald
5e06a4d83d - Implement Channel de-muxing
- WIP, bugs expected

svn path=/trunk/; revision=40505
2009-04-14 16:43:17 +00:00
Timo Kreuzer
4bc394cbbf Make the SURFACE structure more like the one from Windows
svn path=/trunk/; revision=40504
2009-04-14 16:41:48 +00:00
Timo Kreuzer
7d8041109b Fix some parameter sizes in gdi32.spec (handles are pointer sized), there's probably a lot more.
svn path=/trunk/; revision=40503
2009-04-14 16:16:18 +00:00
Timo Kreuzer
b4c029b29e Return NULL, if failed to lock the provided palette in InrEngCreateXlate. Fixes bug 4378.
See issue #4378 for more details.

svn path=/trunk/; revision=40502
2009-04-14 16:06:07 +00:00
Gregor Schneider
e05f6c1a3e - Replace ConvertStringSecurityDescriptorToSecurityDescriptorW with the more advanced wine version, fixes a memory corruption advapi32 security winetest caused and the correspondent user mode crash (requested by Christoph_vW)
- Update and move helper functions, remove unreferenced functions
- Update readme.wine for advapi32 security files (we use a different structure and only parts of wine's implementation)

svn path=/trunk/; revision=40501
2009-04-14 15:36:39 +00:00
Johannes Anderwald
995710a412 - Fix a bug in the KSPROPERTY_PIN_DATAINTERSECTION handler
- Verify format in the pin creation routine
- Only create a pin when there is work to be done
- Improve error checking

svn path=/trunk/; revision=40500
2009-04-14 14:59:51 +00:00
Johannes Anderwald
0a61df10e6 - Handle KSPROPERTY_PIN_DATAINTERSECTION
svn path=/trunk/; revision=40499
2009-04-14 11:07:15 +00:00
Johannes Anderwald
cfa7241c88 - Fix warning
svn path=/trunk/; revision=40498
2009-04-14 11:03:32 +00:00
Aleksey Bragin
761b395b8f - usetup expects the videomode to be set, and fonts to be loaded. Change setupldr2 accordingly. This fixes the "blank" blue screen in the beginning of first stage (when started with setupldr2 of course).
svn path=/trunk/; revision=40497
2009-04-14 10:36:16 +00:00
Johannes Anderwald
391fa4acd9 - Use a work item for each specific task: start, stop, close
- Should fix bug 4365

svn path=/trunk/; revision=40496
2009-04-14 07:21:05 +00:00
Timo Kreuzer
4efcc91b49 EngBitBlt provides bitblt capabilities between standard-format bitmap surfaces. It does not provide transfer between different opaque device managed surfaces. So get rid of IntEngEnter/Leave in EngBitBlt. Also GDI should call the drivers function if *any* of the surfaces is managed by the driver, and only in the case that the other surface is an opaque surface managed by a different driver, GDI needs to provide an intermediate surface using DrvCopyBits, and in this case only for the source surface, never for the target surface. This situation can currently not occur on reactos, as we do not support more than one display driver. This fixes the problem incredible recursive call chains and excessive copying. Improves mouse pointer performance. Other Eng functions are tbd. DrvBitBlt is never called with a single clipping rectangle, so set pco to NULL if it's complexity is DC_RECT, as we clipped the bounding rect already and EngBitBlt is not called when DrvBitBlt fails.
svn path=/trunk/; revision=40495
2009-04-14 02:47:15 +00:00
James Tabor
a909ec0447 - Remove NtGdi calls from user32 headers.
svn path=/trunk/; revision=40494
2009-04-13 23:27:52 +00:00
Timo Kreuzer
bfeb3b8fe0 forgot this file
svn path=/trunk/; revision=40493
2009-04-13 21:40:14 +00:00
Timo Kreuzer
4b6c957b35 Add RECTL_vMakeWellOrdered
svn path=/trunk/; revision=40492
2009-04-13 21:38:37 +00:00
Timo Kreuzer
154af4036b Add rosperf test for scrolling.
svn path=/trunk/; revision=40491
2009-04-13 21:36:56 +00:00
Gregor Schneider
4955e44487 remove semicolon from define, thanks to Carlo Bramini for noticing
svn path=/trunk/; revision=40490
2009-04-13 20:05:06 +00:00
Christoph von Wittich
e08b53f9de sync kernel32 profile winetest with wine 1.1.19
svn path=/trunk/; revision=40489
2009-04-13 19:40:27 +00:00
Christoph von Wittich
75d63be3e0 James Hawkins : kernel32: Handle writing empty sections and keys in WritePrivateProfileString.
svn path=/trunk/; revision=40488
2009-04-13 18:53:56 +00:00
Gregor Schneider
1ceab2328e - Deactivate unneeded debug prints, change DbgPrint to DPRINTx, remove unused performance checks, formatting - no functional changes
svn path=/trunk/; revision=40487
2009-04-13 17:51:50 +00:00
Dmitry Chapyshev
864371fe84 - More correct fix of tests
svn path=/trunk/; revision=40486
2009-04-13 17:13:35 +00:00
Steven Edwards
8ad7700db8 add telnet service, enable it by default
svn path=/trunk/; revision=40485
2009-04-13 16:26:49 +00:00
Dmitry Chapyshev
f91941a278 - Simplify my last changes. Thanks Goplat ;)
svn path=/trunk/; revision=40484
2009-04-13 16:06:08 +00:00
Dmitry Chapyshev
298432c4ed - Fix 3 winetests for CreateProcessA/W
svn path=/trunk/; revision=40483
2009-04-13 15:49:54 +00:00
Steven Edwards
41b8520ae8 move telnetd out of rosapps
svn path=/trunk/; revision=40482
2009-04-13 13:30:03 +00:00
Steven Edwards
6c0f8fae23 move telnetd to main tree, not enabled yet
svn path=/trunk/; revision=40481
2009-04-13 13:29:21 +00:00
Dmitry Chapyshev
d74a83ca5a - Add more check on CodePage = 0. +2 passed wine tests
svn path=/trunk/; revision=40480
2009-04-13 12:33:33 +00:00
Dmitry Chapyshev
9d1684bf68 - Add check on CodePage = 0. +2 passed wine tests
svn path=/trunk/; revision=40479
2009-04-13 12:26:28 +00:00
Dmitry Chapyshev
709c49c422 - Fully implement GetProcessVersion. +1 passed winetest
svn path=/trunk/; revision=40478
2009-04-13 11:58:39 +00:00
Cameron Gutman
c4559ca835 - Fix release build (try 1)
svn path=/trunk/; revision=40477
2009-04-13 06:04:14 +00:00
Cameron Gutman
167c2102bf - Fix a typo
svn path=/trunk/; revision=40476
2009-04-13 03:26:18 +00:00
Cameron Gutman
c68f8590f1 - Implement the rest of MiniIndicateReceivePacket
- rtl8139 partially works now
 - It gets an IP address and can ping other computers but attempting to download something results in a page fault during the download

svn path=/trunk/; revision=40475
2009-04-13 03:11:42 +00:00
Jeffrey Morlan
8cf11060a9 Various fixes to the way cmd handles errorlevel and the "return values" of commands:
- Changed type of return values from BOOL to INT, with 0 indicating success and any other value indicating failure. If the left side of an || operator returns nonzero, errorlevel is set to that value.
- The return value of a batch file or FOR is the return value of the last command executed in it. An empty batch file returns 0, unless it was CALLed, in which case it returns errorlevel.
- CALL sets errorlevel to the return value of whatever was called.
- Running a GUI program doesn't change errorlevel, but always returns 0.
- CMD /C uses the command's return value, not errorlevel, as the process exit code.

svn path=/trunk/; revision=40474
2009-04-12 23:51:15 +00:00
Gregor Schneider
54f4f31dae - Add parameter validity check to GetTextFaceA (same as in GetTextFaceW)
svn path=/trunk/; revision=40473
2009-04-12 18:44:00 +00:00
Cameron Gutman
9db17d5384 - Don't close the connection handle and dereference the connection object when we run out of memory because it will cause a crash when AfdCleanupSocket tries to do the same
- Fixes bug 4362

svn path=/trunk/; revision=40471
2009-04-12 05:07:15 +00:00
Jeffrey Morlan
d418f42b89 - RtlSetEnvironmentVariable: Removing a variable that didn't exist in the first place should still returns STATUS_SUCCESS.
- Removing a variable can be done by using a pointer to a UNICODE_STRING with a NULL Buffer as the value, as well as just passing NULL as the value.

svn path=/trunk/; revision=40470
2009-04-12 04:41:33 +00:00
Gregor Schneider
72585aa30d - Don't copy data to null buffer, just return the string length in this case
- Fix some buffer calculation problems, handle buffer termination if it's shorter than the font string
- Fixes >= 10 gdi32 font winetests (NtGdiGetTextFaceW/NtGdiGetTextFaceA related)

svn path=/trunk/; revision=40469
2009-04-11 21:24:25 +00:00
Timo Kreuzer
9e3589a7b1 remove doenloader from rosapps build
svn path=/trunk/; revision=40468
2009-04-11 20:29:31 +00:00
Stefan Ginsberg
adb6c8ff1b - Reapply the gdi32 bitmap font test ROS-HACK -- the tests still fail on the build server
svn path=/trunk/; revision=40466
2009-04-11 20:15:26 +00:00
Timo Kreuzer
41c31152db [FORMATTING]
Fix indentation, no code change

svn path=/trunk/; revision=40465
2009-04-11 19:04:06 +00:00
Stefan Ginsberg
b917e4e926 - Remove the "ROS-HACK" for gdi32 bitmap font tests -- this doesn't crash the system anymore
svn path=/trunk/; revision=40464
2009-04-11 18:54:22 +00:00
Ged Murphy
b52ee19030 remove downloader from rosapps
svn path=/trunk/; revision=40463
2009-04-11 16:58:21 +00:00
Ged Murphy
13f29b197c Remove the old rosapps entries
svn path=/trunk/; revision=40462
2009-04-11 16:56:22 +00:00
Ged Murphy
293c8b5a7c Move the downloader tool into trunk
svn path=/trunk/; revision=40461
2009-04-11 16:51:57 +00:00
Gregor Schneider
7a53cbcbdc - Fix a memory overwrite that was uncovered by recent win32k memory allocation changes (r40268 + r40269)
- Fixes a crash in current QiP Infium that was hidden before, bug #4361

svn path=/trunk/; revision=40460
2009-04-11 16:48:47 +00:00
Sylvain Petreolle
3d1ed5b157 fix cmd build
svn path=/trunk/; revision=40459
2009-04-11 16:37:08 +00:00
Cameron Gutman
645891d7b9 - Revert 40446 and 40447
- More research needs to be done on when exactly we should be locking

svn path=/trunk/; revision=40458
2009-04-11 14:00:48 +00:00
Colin Finck
b5350ad268 Alter "userenv.spec" to match the output of "dumpbin /exports" for the Windows Server 2003 SP1 userenv.dll exactly.
I found out the real function names of the functions exported by ordinal and their parameter sizes in a PDB file.
Some functions we didn't have yet are also documented in MSDN, so I could get the exact parameters. The comment beside each stub details each function as far as I could find out.

svn path=/trunk/; revision=40457
2009-04-11 13:00:00 +00:00
Dmitry Chapyshev
bdeac904e0 - Sync gdiplus, iccvid, imaadp32.acm, inetcomm with Wine 1.1.19
- Remove unneeded gdiplus_ros.diff

svn path=/trunk/; revision=40456
2009-04-11 08:58:56 +00:00
Dmitry Chapyshev
c881748838 - Sync qmgr, msvidc32, msvfw32, msrle32, msctf, msadp32.acm, mlang, localspl with Wine 1.1.19
svn path=/trunk/; revision=40455
2009-04-11 08:56:29 +00:00
Dmitry Chapyshev
af63eb50eb - Sync mciqtz32 and winemp3 with Wine 1.1.19
svn path=/trunk/; revision=40454
2009-04-11 08:16:16 +00:00
Dmitry Chapyshev
4ef39f33f7 - Remove unneeded files
svn path=/trunk/; revision=40453
2009-04-11 07:25:22 +00:00
Dmitry Chapyshev
da98a4e469 - Add amstream from Wine
svn path=/trunk/; revision=40452
2009-04-11 07:24:37 +00:00
Timo Kreuzer
8d3981bfa5 Divide eng/bitblt.c into bitblt.c, alphablend.c and stretchblt.c. Remove EngIntersectRect and replace it with RECTL_bIntersectRect, which is changed to the code of EngIntersectRect, that was better.
svn path=/trunk/; revision=40451
2009-04-10 23:53:09 +00:00
Gregor Schneider
ee2d3933cb Update wine sync information for r40448, update msvcrt cpp paths and add a older sync of undname i did
svn path=/trunk/; revision=40450
2009-04-10 23:11:02 +00:00
Timo Kreuzer
4b6b9a55ca EngMaskBitBlt and IntEngMaskBlt do not have a source surface, so it makes no sense to have a source point. Remove it from the prototype. (Aplpha)BltMask need to have a spacial prototype including a source surface and point, but they are unused, use the mask point instead of the source point. IntEngMaskBitBlt: call IntEngEnter with the mask surface, instead of 2 times with the dest surface, intersect with Clip bounding rect before. Fixes wrong text origin/crippled text when outputting clipped text.
svn path=/trunk/; revision=40449
2009-04-10 20:50:57 +00:00
Gregor Schneider
ed40a59c44 Update LineDDA implementation, -13 gdi32 path tests
svn path=/trunk/; revision=40448
2009-04-10 20:39:05 +00:00
Cameron Gutman
81edca312f - MiniSendComplete acquires the adapter lock so release the lock before calling it
svn path=/trunk/; revision=40447
2009-04-10 20:04:08 +00:00
Cameron Gutman
ba9ee79954 - Acquire the adapter lock instead of just raising to DISPATCH_LEVEL (MSDN hints at this in various areas)
svn path=/trunk/; revision=40446
2009-04-10 19:55:07 +00:00
Gregor Schneider
1e94c549a8 Amendment to r40444: float -> double changes were not supposed to go in
svn path=/trunk/; revision=40445
2009-04-10 19:46:06 +00:00
Gregor Schneider
cc76eb9691 Don't hard code viewport extents, they depend on the dc size - highlighted by gdi32 mapping tests
svn path=/trunk/; revision=40444
2009-04-10 19:40:48 +00:00
Aleksey Bragin
e0df4e3d38 - Move 4 apps from rosapps to trunk for consistency (fontview, magnify, winver and write) [2/2].
svn path=/trunk/; revision=40443
2009-04-10 19:04:12 +00:00
Aleksey Bragin
c8b14f9d4f - Move 4 apps from rosapps to trunk for consistency (fontview, magnify, winver and write) [1/2].
svn path=/trunk/; revision=40442
2009-04-10 19:03:02 +00:00
Cameron Gutman
15cbc1d92d - Deserialized miniports always complete their sends asynchronously so we return NDIS_STATUS_PENDING when we call one (so the ProtocolSendComplete handler doesn't get called twice thus double-completing the packet)
- Fixes miniport drivers that use a deserialized SendPackets handler (including the rtl8139)
 - The rtl8139 driver still doesn't work (likely due to a bug in tcpip)

svn path=/trunk/; revision=40441
2009-04-10 19:00:51 +00:00
Gregor Schneider
f6da61467d - Don't copy the original header after the new header is filled correctly, fixes one gdi32 clipping winetest
TDB for the other seven remaining clipping tests: 
- Deprecate rosdc regions and use dc/dclvl regions as soon as the other clip functions are ready for it (currently crashes virtually everywhere; first five failing tests)
- Fix imprecision of one pixel (rounding problems?) in XFORMOBJ_bApplyXform (last two failing tests)

svn path=/trunk/; revision=40440
2009-04-10 17:49:12 +00:00
Colin Finck
7cf85f9391 - Remove _SHExpandEnvironmentStrings and replace calls to it by usual ExpandEnvironmentStringsW calls.
That function didn't really do what it should as it replaced some variables by faulty generated values instead of their actual values.

  Fixing this gets us rid of our duplicated "Administrator" directory, so the only remaining Admin dir is "Administrator.REACTOS" created by userenv.
  This might also fix the SHGetFolderPathW timing issue, which was hit by rosautotest from time to time.
- In turn, removing that function makes it possible to get rid of the now unused _SHOpenProfilesKey and _SHGetProfilesValue functions.

svn path=/trunk/; revision=40439
2009-04-10 16:05:09 +00:00
Aleksey Bragin
b6f258cefd - Fix a couple more assumptions about first primary partition being the active one.
- If no active partitions found, set active primary partition number to 0. This fixes uninitialized variable usage, which revealed itself as a bug with unattended setup.
- Silence a DPRINT1.

svn path=/trunk/; revision=40438
2009-04-10 13:27:09 +00:00
Aleksey Bragin
b3c86c2ac0 - Add a new property to the disk entry: NoMbr flag. It's set, if MBR's first two bytes are zero (same algorithm is used by our cdrom bootsector).
- If this flag is set for a boot disk, ReactOS MBR code will be installed on it.
See issue #4355 for more details.

svn path=/trunk/; revision=40437
2009-04-10 10:37:08 +00:00
Cameron Gutman
6b245eee92 - Complete send requests along with the other types when we get an EOF
- Fail the requests with STATUS_CANCELLED

svn path=/trunk/; revision=40436
2009-04-10 02:38:45 +00:00
Timo Kreuzer
beec711012 fix DEVMODE, 2nd try
svn path=/trunk/; revision=40435
2009-04-09 22:58:35 +00:00
Timo Kreuzer
23ae1270fb Rename PALGDI to PALETTE as it's called in gdikdx.
svn path=/trunk/; revision=40434
2009-04-09 22:28:54 +00:00
Timo Kreuzer
fdaa172e95 Fix definition of DEVMODE
svn path=/trunk/; revision=40433
2009-04-09 22:13:59 +00:00
Michael Martin
418ee7239b - rw.c: After the write wait has been satisfied, check that the pipe is not closed before trying to acquire the mutex. Fix bug #4351.
svn path=/trunk/; revision=40432
2009-04-09 21:10:04 +00:00
Cameron Gutman
59048535b7 - Fix a very old bug (since r11789) which causes miniport drivers that call NdisMTranferDataComplete to fail
svn path=/trunk/; revision=40431
2009-04-09 19:43:16 +00:00
Aleksey Bragin
a78cdbe77a - Make it possible to assign drive letters to all partitions, not only to the first partition of a primary partition table.
- Make AssignDriveLetters in partlist.c to actually assign drive letters to all partitions found (the list corresponds to how Windows 2003 install CD assign driver letters, but more investigation would not hurt).
- Make CheckActiveBootPartition actually search for partition with a boot flag, instead of hardcoding it to partition 0 of disk 0.
- Fix SetMountedDeviceValues to take multiple partitions in a partition table into account.
- Fix Select Partition, Format Partition, Check File System, Delete Partition interface page to take partition number into account.
- IMPORTANT: Create/Delete partitions must not be used to repartition the harddrive! They can only be used to create/delete an initial primary partition on a clean harddisk.

svn path=/trunk/; revision=40430
2009-04-09 18:59:28 +00:00
Timo Kreuzer
32337f8c06 Fix downloader progress bar, by using an ULONGLONG, so it doesn't overflow at ~40MB, instead up to 4GB downloads should work now.
svn path=/trunk/; revision=40429
2009-04-09 14:20:24 +00:00
Aleksey Bragin
fbd73e2e9e - Recognize up to 4 partitions inside every primary partition table. However, installation will be performed to the first partition anyway.
svn path=/trunk/; revision=40428
2009-04-09 12:42:09 +00:00
Gregor Schneider
8cd1519932 - REGION_AllocRgnWithHandle: allow creation of empty region
- NtGdiExtCreateRegion: copy parameters in SEH, check them later without setting last error, loosen checks for zero requested regions (returns an empty region)
- NtGdiGetRandomRgn: remove outdated comments and debug prints: DCs don't hold meta regions anymore
- Fixes four gdi32 clipping winetests

svn path=/trunk/; revision=40427
2009-04-09 12:16:51 +00:00
Gregor Schneider
bc89d1efbd - Fix the coordinate manipulation order for AlphaBlend, BitBlt, GradientFill, ExtTextOutW, PatBlt, StretchBltMask and TransparentBlt
- The correct setting order is: calculation of base coordinates, conversion to device units, offset by dc origin; thanks to Timo for this hint
- Misc: remove unused variable in BitBlt, fix a comment in PolyLine

svn path=/trunk/; revision=40426
2009-04-09 00:40:37 +00:00
Timo Kreuzer
f1e2788dc6 IntChangeDisplaySettings: Save refresh frequency in the registry. Now it's possible to change display settings when using the VBox display driver.
svn path=/trunk/; revision=40425
2009-04-08 23:15:35 +00:00
Timo Kreuzer
9e70b2aa77 desk.cpl: update settings for dmDisplayFrequency, when changing the video mode
svn path=/trunk/; revision=40424
2009-04-08 23:08:02 +00:00
Timo Kreuzer
daa02beb2c Use vDbgPrintExWithPrefix in EngDebugPrint instead of using DbgPrint and always printing the address of the va_list plus random crap....
svn path=/trunk/; revision=40423
2009-04-08 21:52:36 +00:00
Ged Murphy
62d2e0a471 Open folders in the existing window.
Patch by Gabriel Ilardi

See issue #4345 for more details.

svn path=/trunk/; revision=40422
2009-04-08 20:48:23 +00:00
Cameron Gutman
2c22f42f66 - Fix some copy/paste bugs
- ISAPNP_MIN_READ_PORT is an acceptable read port so don't skip it (We add READ_DATA_PORT_STEP in FindNextReadPort)
 - Don't add READ_DATA_PORT_STEP before calling IsolateReadDataPortSelect (We add READ_DATA_PORT_STEP in FindNextReadPort) because then we skip a read data port
 - Thanks to the linux kernel source ;)

svn path=/trunk/; revision=40421
2009-04-08 19:10:06 +00:00
Timo Kreuzer
60cd063c0a Remove IntGdiSelectBrush and IntGdiSelectBrush, they are not needed anymore and superceded by DC_vUpdateFillBrush and DC_vUpdateLineBrush.
svn path=/trunk/; revision=40420
2009-04-08 18:10:33 +00:00
Gregor Schneider
428a48a083 - Offset coordinates with viewport origin for gradient filled triangular and rectangular shapes
svn path=/trunk/; revision=40418
2009-04-08 16:53:21 +00:00
Timo Kreuzer
1c33c8d19b [FORMATTING]
- fix indentation
- move an internal function out of public functions area
- Use small file header
- No code change

svn path=/trunk/; revision=40417
2009-04-08 14:18:23 +00:00
Aleksey Bragin
faf1f12120 - ScsiPortNotification and ScsiPortDebugPrint are cdecl (stdcall introduced in r29277 by mistake).
svn path=/trunk/; revision=40416
2009-04-08 13:07:17 +00:00
Cameron Gutman
9386deff2c - Pass the packet flags to the MiniportSend handler
svn path=/trunk/; revision=40413
2009-04-08 04:01:13 +00:00
Cameron Gutman
5ee60afbf2 - Don't leave a bad handle or object pointer
- Make sure we don't try to dereference a non-referenced handle

svn path=/trunk/; revision=40412
2009-04-07 05:07:09 +00:00
Cameron Gutman
7025dd53e2 - Use ZwClose instead of NtClose
svn path=/trunk/; revision=40411
2009-04-07 04:22:39 +00:00
Cameron Gutman
03bd723a8b - Set FCB->Recv.Window to NULL so it doesn't get freed again later
svn path=/trunk/; revision=40410
2009-04-07 04:12:57 +00:00
Timo Kreuzer
fe1ed19dca Mouse pointer fix:
- Remove useless Status from the GDIPOINTER struct
- Remove MovePointer and use PDEVOBJ.pfnMovePointer instead, which is always set to a valid function.
- Implement IntEngSetPointerShape, calling either the Eng or the Drv function if available, set pfnMovePointer according to the result.
- Use IntEngSetPointerShape instead of doing the atuff in IntSetCursor.
- Don't misuse gpsi->ptCursor in IntShow/HideMousePointer and EngMovePointer, use ppdev->ptlPointer instead.
- Dont Lock and unlock the surface evertime the pointer is drwn, instead keep a shared lock.
- Implement IntEngCopyBits, that does the MouseSafety stuff and calls EngCopyBits.
Fixes the broken mouse cursor with VBox display driver and improves mouse performance

svn path=/trunk/; revision=40409
2009-04-07 01:36:22 +00:00
Cameron Gutman
1862a76af4 - Return the correct status when we get a bad parameter
svn path=/trunk/; revision=40408
2009-04-06 23:42:08 +00:00
Christoph von Wittich
83beea82c7 sync urlmon to wine 1.1.18
svn path=/trunk/; revision=40407
2009-04-06 21:37:38 +00:00
Christoph von Wittich
9e85bd53f0 sync crypt32 to wine 1.1.18
svn path=/trunk/; revision=40406
2009-04-06 21:34:28 +00:00
Timo Kreuzer
8ac65d28d3 Go back to old logic in GdiSelectPalette. Should fix the gdi32_winetest gdiobj regression introduced in r40381.
svn path=/trunk/; revision=40405
2009-04-06 19:43:25 +00:00
Gregor Schneider
c26c7d7ff5 - path.c: Correct purpose header entry
- gradient.c: Use proper debug prints, terminate them with a newline character. Remove duplicate clipRegion.

svn path=/trunk/; revision=40404
2009-04-06 18:00:48 +00:00
Dmitry Chapyshev
eba06df66c - Sync some headers with Wine
- Fix ddstream.idl

svn path=/trunk/; revision=40403
2009-04-06 16:55:54 +00:00
Timo Kreuzer
68e4c888b7 Move PDEVOBJ and related into it's own header file and update the structure to be like XP (most fields currently still commented out)
svn path=/trunk/; revision=40402
2009-04-06 16:48:41 +00:00
Gregor Schneider
571191ce2e - Evgeny Boltik, <BSTSoft AT narod DOT ru>: Fix system palette entries to match the XP and Vista system palette
- This actually reverts the system palette back to r1753, see bug #4341 for more info

svn path=/trunk/; revision=40401
2009-04-06 15:54:21 +00:00
Dmitry Chapyshev
e7588d18a9 - Sync mciavi32, mcicda with Wine head
svn path=/trunk/; revision=40400
2009-04-06 15:45:49 +00:00
Dmitry Chapyshev
4147173032 - Sync mscms, mscoree, msctf with Wine
- Remove unneeded mscoree_ros.diff

svn path=/trunk/; revision=40399
2009-04-06 15:43:12 +00:00
Christoph von Wittich
9854f20f1c wininet: Fixed memory corruption in urlcache.
Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sun Apr  5 13:55:21 2009 +0200

svn path=/trunk/; revision=40398
2009-04-06 15:42:28 +00:00
Christoph von Wittich
975df12f3c add cryptnet_winetest to bootcd
svn path=/trunk/; revision=40397
2009-04-06 15:41:41 +00:00
Dmitry Chapyshev
1771f7f3ee - Remove unneeded files (sync with Wine)
svn path=/trunk/; revision=40396
2009-04-06 15:39:01 +00:00
Gregor Schneider
5ce4042a38 commit #100: add me to credits
svn path=/trunk/; revision=40395
2009-04-06 15:03:57 +00:00
Gregor Schneider
62d8ccbbc4 - include/crt/math.h: float type math functions are not c++ specific, they are especially needed in the c language - move code accordingly
- dll/win32/gdiplus: sync with current wine, correct sqrtf usage

svn path=/trunk/; revision=40394
2009-04-06 14:58:12 +00:00
Aleksey Bragin
22e12898e7 - Specify NTAPI for all functions without calling convention specified (Alexey Komarov <q4a@reactos.org>).
- Remove (unsupported) -mrtd compiler flag.

svn path=/trunk/; revision=40393
2009-04-06 14:38:21 +00:00
Gregor Schneider
6440f4e949 - Remove error case shortcut, allows results to be computed correctly
- Fixes two oleaut32 vartest winetests

svn path=/trunk/; revision=40392
2009-04-06 11:39:53 +00:00
Timo Kreuzer
f0179f8ce1 [FORMATTING]
- fix indentation
- remove the large file header, fix the small one

svn path=/trunk/; revision=40390
2009-04-06 03:20:25 +00:00
Timo Kreuzer
579dc0993e Improve tests for NtGdiDeleteObjectApp
svn path=/trunk/; revision=40389
2009-04-06 02:49:47 +00:00
Timo Kreuzer
bc4bf26694 revert miniport.h changes for now
svn path=/trunk/; revision=40388
2009-04-06 02:28:53 +00:00
Cameron Gutman
b5aeda7d11 - Drivers must use DelayedWorkQueue (part 2)
svn path=/trunk/; revision=40387
2009-04-06 02:15:43 +00:00
Timo Kreuzer
595ee18b02 fix include guard, use winddi types instead of ros specific function pointer types, add a bunch of static asserts to make sure the DRIVRE_FUNCTIONS structure matches the array.
svn path=/trunk/; revision=40386
2009-04-06 02:13:44 +00:00
Cameron Gutman
dc1bfc0941 - Drivers must use DelayedWorkQueue
svn path=/trunk/; revision=40385
2009-04-06 02:13:32 +00:00
Cameron Gutman
2bcf7007bd - Report to drivers that we are NDIS 5.0
svn path=/trunk/; revision=40384
2009-04-06 02:06:33 +00:00
Timo Kreuzer
468227f96a DDK update
- Add devioctl.h
- miniport.h: fix include guard and add more stuff
- video.h: fix include guard, remove VideoDebugprint prototype
- videoagp.h: fix include guard
-winddi.h: fix include guard, add some defines and some function pointer types
- guiddef.h: add definition of EXTERN_C

svn path=/trunk/; revision=40383
2009-04-06 01:21:04 +00:00
Timo Kreuzer
3a3b09ba86 Remove a bunch of useless funtion pointer types
svn path=/trunk/; revision=40382
2009-04-06 00:12:48 +00:00
Timo Kreuzer
421f167b4e - Update the EBRUSHOBJ independent of changing the brush/pen handle in DC_vUpdateFill/LineBrush
- Mark the brushes as dirty after change of surface, palette and DIB colot table
- Update the EBURHOBJs on demand in IntGdiPolygon and IntRectangle
- Fixes bug 4340
See issue #4340 for more details.

svn path=/trunk/; revision=40381
2009-04-05 23:51:27 +00:00
Gregor Schneider
07a533fe02 - Evgeny Boltik, <BSTSoft AT narod DOT ru>: Add stretching support to TransparentBlt
- This should improve themes support & probably show some bitmaps that were hidden before in certain applications
- See bug #4337 for more information

svn path=/trunk/; revision=40380
2009-04-05 23:13:09 +00:00
Gregor Schneider
feca367754 - GdiIsPlayMetafileDC: function GdiGetHandleUserData might fail
- Simplify code to use GdiGetLDC which takes this into consideration, fixes a umode crash in gdi32_winetest metafile

svn path=/trunk/; revision=40379
2009-04-05 21:34:27 +00:00
Gregor Schneider
d730317b41 - msvcrt's pow function does not set errno, so there is no need for a hard coded breakpoint, jump labels adjusted accordingly
- Allows oleaut32_winetest vartest to finish

svn path=/trunk/; revision=40378
2009-04-05 21:27:39 +00:00
Michael Martin
43bbef89b5 - Create Common Files directory when creating Program Files to match windows fresh install and add registry key for CommonFilesDir.
This prevents the key from being incorrectly set using an environment variable.

svn path=/trunk/; revision=40377
2009-04-05 20:05:40 +00:00
Cameron Gutman
4d50892aaa - Revert r40367
- Fixes abyss server startup after installing

svn path=/trunk/; revision=40376
2009-04-05 18:11:24 +00:00
Johannes Anderwald
a3e2c4bb4f - Check if allocation of work item succeeded - Thanks Ged, aicom
- Fix leaking of a work item on close event / irp stream run out

svn path=/trunk/; revision=40375
2009-04-05 16:39:51 +00:00
Kamil Hornicek
0ae0d6a95c - add a stub for D3DParseUnknownCommand
svn path=/trunk/; revision=40374
2009-04-05 16:29:45 +00:00
Johannes Anderwald
d8ae8a179f - Fix leaking of work item for each detected audio device
svn path=/trunk/; revision=40373
2009-04-05 16:05:54 +00:00
Kamil Hornicek
b9a7dffffa - IntEnumDisplaySettings returns NTSTATUS, fix the check accordingly
svn path=/trunk/; revision=40372
2009-04-05 15:15:16 +00:00
Kamil Hornicek
787e608129 - leftover from the previous commit
svn path=/trunk/; revision=40371
2009-04-05 14:41:53 +00:00
Kamil Hornicek
e3ff52440d - import ddraw from Wine and use it for now
- sync wined3d, d3d8, d3d9 with Wine HEAD

svn path=/trunk/; revision=40370
2009-04-05 13:52:15 +00:00
Aleksey Bragin
de830bd4c5 - Compile UniATA with stdcall default calling convention instead of cdecl.
svn path=/trunk/; revision=40368
2009-04-05 11:46:53 +00:00
Cameron Gutman
4c4d83fa6e - Distinguish between cleanup and close properly
- On cleanup, we cancel all requests
 - On close, we remove the address file from the list, free the port and listener (if present), then free the address file itself

svn path=/trunk/; revision=40367
2009-04-05 07:23:25 +00:00
Cameron Gutman
a2e1f4928f - Implement a DispatchCleanup routine and properly separate cleanup from close
svn path=/trunk/; revision=40366
2009-04-05 07:08:47 +00:00
Jeffrey Morlan
9f0ebd0b54 - Simplified code for CD, PUSHD, and POPD commands and also fixed some bugs.
svn path=/trunk/; revision=40365
2009-04-05 01:50:24 +00:00
Aleksey Bragin
47325e09c4 Evgeniy Boltik <bstsoft@narod.ru>
- Enable and use mask support in UserDrawIconEx, fully compatible with Windows, based on tests in bug 4336.
- Remove IntSet[Text/Bk]Color hacks from UserDrawIconEx, no longer required due to fix in CreateCompatibleDC.
- Change a few comments in the code of UserDrawIconEx.
See issue #4336 for more details.

svn path=/trunk/; revision=40363
2009-04-04 18:52:14 +00:00
Aleksey Bragin
fe2cbf3735 Evgeniy Boltik <bstsoft@narod.ru>
- Fix copypaste mistake in EngStretchBltROP.
- Fix check in EngStretchBltROP, it should check original InputRect, not the clipped one.
- Fix improper variable type in DIB_XXBPP_StretchBlt: PatternX and PatternY could be negative.
See issue #4336 for more details.

svn path=/trunk/; revision=40362
2009-04-04 18:24:24 +00:00
Jeffrey Morlan
c0fd81e39e - Check for cmd's AutoRun registry value in HKEY_CURRENT_USER as well as HKEY_LOCAL_MACHINE.
- Allow AutoRun commands to be longer than MAX_PATH.

svn path=/trunk/; revision=40361
2009-04-04 17:51:55 +00:00
Johannes Anderwald
edb9b66280 - Re-use WorkItem
- Fixes leaking a workitem for each pin creation request

svn path=/trunk/; revision=40360
2009-04-04 16:04:25 +00:00
Cameron Gutman
8d5edefc0e - Don't pass the address type to IPInitializePacket because it is set later
- Fix packet corruption caused by using uninitialized data

svn path=/trunk/; revision=40359
2009-04-04 01:22:33 +00:00
Cameron Gutman
7d73a8c6e8 - Validate the buffer size before copying to it
svn path=/trunk/; revision=40358
2009-04-04 00:41:42 +00:00
Cameron Gutman
8f9cc82b53 - Remove the rest of the code that sets the wrong IRP's status
svn path=/trunk/; revision=40357
2009-04-04 00:36:43 +00:00
Cameron Gutman
36f48eb147 - Initialize packets before using them
- Part 2 of 2

svn path=/trunk/; revision=40356
2009-04-04 00:24:20 +00:00
Cameron Gutman
48a474fded - Initialize packets before using them
- Make PrepareICMPPacket return BOOLEAN
 - Call the packet's free function to free it
 - Remove unnecessary NULL checks
 - Part 1 of 2

svn path=/trunk/; revision=40355
2009-04-04 00:23:09 +00:00
Cameron Gutman
485b36d2f8 - Loopback adapter rewrite
- We don't need to queue a work item to receive so we don't now
 - This simplifies the code significantly
 - It also increases loopback throughput

svn path=/trunk/; revision=40354
2009-04-03 21:05:22 +00:00
Aleksey Bragin
0a7decc6fd - Add a leftover from commit 40334.
svn path=/trunk/; revision=40352
2009-04-03 17:14:24 +00:00
Johannes Anderwald
345900effc - Silence tons of debug messages
- Add file headers for portcls
- Remove StringFromCLSID hack and replace it with RtlStringFromGUID
- Implement PcCompletePendingPropertyRequest, KsoGetIrpTargetFromIrp, KsoGetIrpTargetFromFileObject
- Re-use WorkItem  / WorkItem context in sysaudio

svn path=/trunk/; revision=40351
2009-04-03 17:06:16 +00:00
Aleksey Bragin
3147006bd2 - Delete regtests framework by Casper. It's useless.
svn path=/trunk/; revision=40349
2009-04-03 10:33:41 +00:00
Aleksey Bragin
86cfbadb1f - Get reactos.dff in sync with rosapps cleanup.
svn path=/trunk/; revision=40348
2009-04-03 10:06:36 +00:00
Aleksey Bragin
069eab936a - Delete qssi, it wasn't included in build since 2002.
- Delete ddraw demo since it doesn't actually demo anything on my XP, but paints the screen to the rose color and hangs.
- Remove imagesoft entry from applications.rbuild.

svn path=/trunk/; revision=40347
2009-04-03 10:04:06 +00:00
Aleksey Bragin
238cd262d0 - Remove dflat32. It doesn't start up in Windows XP at all (when launching edit.exe nothing happens).
- Remove dflat32.dll, no active work on it since 2002.

<[Tycho]>: Fireball ustroil subbotnik.

svn path=/trunk/; revision=40346
2009-04-03 09:41:09 +00:00
Aleksey Bragin
f3b33304fe - Move imagesoft to templates.
- Exclude all templates from the build. They are templates, useful as a source code, not as a binary.
- Delete packmgr.

svn path=/trunk/; revision=40345
2009-04-03 09:29:39 +00:00
Aleksey Bragin
81b0e18658 - Delete cputointel and roswebparser as unfinished components which aren't going to be further developed.
- Delete zoomin because there is a nicely working magnify application, and zoomin development stopped in 2002.

svn path=/trunk/; revision=40344
2009-04-03 09:16:09 +00:00
Aleksey Bragin
1f6ff5aeae - Remove roswebparser.exe from installable modules list.
svn path=/trunk/; revision=40343
2009-04-03 09:08:58 +00:00
Cameron Gutman
258f1161f3 - RapidSVN doesn't figure out that when I right click afd that I want EVERYTHING changed in afd to be commited ;)
svn path=/trunk/; revision=40342
2009-04-03 05:31:00 +00:00
Cameron Gutman
97332db7ed - More leak fixes
- Free items in the datagram list and pending connections list
 - Free ConnectionCallInfo and ConnectionReturnInfo
 - Free the FCB context

svn path=/trunk/; revision=40341
2009-04-03 05:29:49 +00:00
James Tabor
15c0d86086 - Replaced fix pi and enabled test for window processes with the proper signing. Yes regedit works.
svn path=/trunk/; revision=40340
2009-04-03 05:26:53 +00:00
Cameron Gutman
9f2a6c263e - Cancel all the IRPs in the pending IRP queue when the FCB is being destroyed
- Fixes IRP, MDL, and buffer leaks
 - ping and dwnl don't leak at all now

svn path=/trunk/; revision=40339
2009-04-03 01:45:32 +00:00
Aleksey Bragin
0666bda0bc - Rework NtGdiStretchBlt into GreStretchBltMask function, which provides stretch blitting with mask support.
- Add NtGdiStretchBlt as a simple forwarder to the internal GreStretchBltMask helper.
- Based on a patch by Evgeniy Boltik.
- Some optimisation issues could still be solved as Timo suggested.
See issue #4294 for more details.

svn path=/trunk/; revision=40334
2009-04-02 19:00:09 +00:00
James Tabor
c993561d5d - Migration changes from PPROCESSINFO and PTHREADINFO to use ClientInfo from TEB. I moved kpi to ci->ppi, we still depend on it as a reference pointer.
- Added and changed structure types.
- Tested with old AbiWord, FireFox and explorer.
- Comment out TestWindowProcess until the rest is ready.

svn path=/trunk/; revision=40333
2009-04-02 18:52:34 +00:00
Aleksey Bragin
35e7c09e4b - Apply a fix by Timo Kreuzer for the bug spotted by Evgeniy Boltik. 4 failures less in "gdi32_winetest.exe bitmap" now.
See issue #4326 for more details.

svn path=/trunk/; revision=40332
2009-04-02 17:43:24 +00:00
Aleksey Bragin
b9451c3494 - NtGdiSetDIBitsToDeviceInternal: use bitmap's palette if it exists instead of always using system palette. Based on a patch by Evgeniy Boltik from bug 4326.
See issue #4326 for more details.

svn path=/trunk/; revision=40331
2009-04-02 17:25:56 +00:00
Aleksey Bragin
ba802c2e4a - Simplify code. Inspired by Evgeniy Boltik's patch.
See issue #4326 for more details.

svn path=/trunk/; revision=40329
2009-04-02 16:34:11 +00:00
Ged Murphy
6e1bf38578 Pretend to open folders in a new window...
I say pretend because it doesn't actually work as it should it just maximizes them, but it gives the illusion that it does and that's good enough for now as it's not worth fixing.

svn path=/trunk/; revision=40328
2009-04-02 15:06:04 +00:00
Ged Murphy
990c6414f3 Stop mithering me and just open the MDI shell browser by default.
svn path=/trunk/; revision=40327
2009-04-02 14:59:18 +00:00
Dmitry Gorbachev
fda957e5f8 Japanese translations by Tomoya Kitagawa. Bug #4328.
svn path=/trunk/; revision=40325
2009-04-02 06:20:50 +00:00
Timo Kreuzer
fee472aeef Fix switching from long mode to real mode, by jumping into a compatibility segment first. This wasn't needed by qemu, but other emulators didn't like it. Now it boots on Virtualbox, too and VMWare shows at least the blue loading screen before crashing.
svn path=/branches/ros-amd64-bringup/; revision=40324
2009-04-02 05:11:02 +00:00
Art Yerkes
a46ae9be03 We don't need the user buffer after launching the TDI irp actually, so free it
immediately and fix the heap leak.
We also never pend datagram sends to userland.
Clean up some cruft where we erroneously set the wrong irp's status.

svn path=/trunk/; revision=40323
2009-04-02 02:35:41 +00:00
Art Yerkes
3f6e1e7f65 FORMATTING only.
svn path=/trunk/; revision=40322
2009-04-02 01:04:07 +00:00
Art Yerkes
db2bd1e444 FORMATTING only.
svn path=/trunk/; revision=40321
2009-04-02 01:02:56 +00:00
Timo Kreuzer
f854838a2c Implement delayed deletion of gdi objects. This is quite hacky and not 100% correct, but should hopefully fix the "Too many objects for process!!!" problem for now.
svn path=/trunk/; revision=40319
2009-04-01 17:32:06 +00:00
Art Yerkes
1b18546ca6 [FORMATTING] no code change yet.
svn path=/trunk/; revision=40318
2009-04-01 17:15:26 +00:00
Dmitry Chapyshev
45057d9595 - Ukrainian translation by Sakara Yevhen
svn path=/trunk/; revision=40317
2009-04-01 16:27:55 +00:00
Stefan Ginsberg
33301e7f0e - Fix build breakage from 40056, caused by a missing new line at the end of ntddndis.h
- Also remove the unnecessary _NTDDNDIS_ check from windot11.h

svn path=/trunk/; revision=40316
2009-04-01 15:59:59 +00:00
Dmitry Gorbachev
f9801061a9 Update Norwegian translations. Patches from LMH1, bug #2482, bug #4325.
svn path=/trunk/; revision=40315
2009-04-01 15:27:44 +00:00
Christoph von Wittich
bf8f00bd1a fix include guard
See issue #4322 for more details.

svn path=/trunk/; revision=40314
2009-04-01 13:56:53 +00:00
Cameron Gutman
6a35d6b424 - Handle IRP_MN_FILTER_RESOURCE_REQUIREMENTS
- Now isapnp receives IRP_MN_START_DEVICE but it still doesn't work

svn path=/trunk/; revision=40313
2009-04-01 09:01:26 +00:00
Ged Murphy
79241af077 reapply the icon cache init code
svn path=/trunk/; revision=40312
2009-04-01 07:27:23 +00:00
Jeffrey Morlan
dcb067a51f - Fix cmd's cgetchar() function so it only returns on a key being pressed, not released.
- Remove ConInDummy function that was called after a line is input. Presumably its purpose was to consume the event of Enter being released, so that that event wouldn't affect the command, but that didn't help when other keys were pressed as well. Anyway, it shouldn't be necessary any more.
- Use correct codepage for reading batch files.

svn path=/trunk/; revision=40311
2009-04-01 03:54:45 +00:00
Cameron Gutman
edf6d65008 - Don't shrink the ICMP packet that we receive
- Now we reply properly with large packets

svn path=/trunk/; revision=40310
2009-04-01 03:08:51 +00:00
Timo Kreuzer
c9aae814df Skip kernel32 virtual tests again. sysreg isn't ready for that yet.
svn path=/trunk/; revision=40309
2009-04-01 02:49:32 +00:00
James Tabor
0aa159083b - Check the headers next time.
svn path=/trunk/; revision=40308
2009-04-01 02:25:28 +00:00
Timo Kreuzer
0bbce9519c Add one more test for SetDCPenColor
svn path=/trunk/; revision=40307
2009-04-01 02:02:21 +00:00
Timo Kreuzer
189fc82964 win32k brush update:
- fix EBRUSHOBJ_vSetSolidBrushColor
- Initialize text and background brush in DC_AllocDC
- Update the DCs EBRUSHOBJs on demand
- Use the DCs EBRUSHOBJs for drawing where appropriate
This makes things faster and finally adds support for DC_BRUSH and DC_PEN

svn path=/trunk/; revision=40306
2009-04-01 01:49:18 +00:00
James Tabor
d3c4569552 - Implement NtUserProcessConnect. Moving to client information format for User32. PPROCESSINFO and PTHREADINFO are references not user land structures.
- Added and removed structure types.
- Tested with old AbiWord, FireFox and explorer.

svn path=/trunk/; revision=40305
2009-03-31 22:02:29 +00:00
Johannes Anderwald
915b3f0c38 - Revert 40296
- This will not work for REG_DWORD

svn path=/trunk/; revision=40304
2009-03-31 16:38:52 +00:00
Jeffrey Morlan
dcf22e1daf Fix some incorrect lengths in ConInString (Bug 4085); also make sure result is nul-terminated.
svn path=/trunk/; revision=40303
2009-03-31 04:06:47 +00:00
Ged Murphy
ae5067a1ab partially revert to slightly broken Wine code for now
svn path=/trunk/; revision=40302
2009-03-30 22:41:53 +00:00
Cameron Gutman
6555a581af - Move the buffer size validation before writing to the buffer
- Change the status to STATUS_BUFFER_TOO_SMALL

svn path=/trunk/; revision=40301
2009-03-30 22:32:37 +00:00
Cameron Gutman
e84bd02268 - Validate the output buffer size before writing to it
- Fix some potential memory leaks
 - Lock the FCB in AfdCloseSocket

svn path=/trunk/; revision=40300
2009-03-30 22:20:12 +00:00
Ged Murphy
a23569ce50 - Show the underline menu cues when pressing the alt key
- Load user preferences on userinit
- Add the effects dialog to desk.cpl
- Patch by Jan Roeloffzen (jroeloffzen[at]hotmail[dot]com)
- Quickly reviewed by Thomas and I, applied a few bug fixes to the patch
See issue #3901 for more details.

svn path=/trunk/; revision=40299
2009-03-30 21:21:41 +00:00
Ged Murphy
569028fafb fix wine's code a little better
svn path=/trunk/; revision=40298
2009-03-30 19:28:39 +00:00
Ged Murphy
96c892841a Create the system and device imagelists with the correct bpp
Do the same with the explorer stuff

svn path=/trunk/; revision=40297
2009-03-30 19:08:16 +00:00
Johannes Anderwald
47bdeaf2b9 - Return correct byte size
- Fixes 3 wine test failures

svn path=/trunk/; revision=40296
2009-03-30 17:19:43 +00:00
Dmitry Gorbachev
63de8c6dce Do not crash with "Assertion 'Process == PsGetCurrentProcess()' failed" msg.
svn path=/trunk/; revision=40295
2009-03-30 09:12:25 +00:00
James Tabor
c40699db49 - Move W32PROCESSINFO to PROCESSINFO.
svn path=/trunk/; revision=40294
2009-03-30 05:45:08 +00:00
James Tabor
ea204363b7 - Update W32PROCESS and related code.
svn path=/trunk/; revision=40293
2009-03-30 03:56:53 +00:00
Daniel Reimer
4ff599ba79 Sync WinHLP32 and WordPad with Wine HEAD.
Bug 4306 by Paolo Devoti. Update for Italian Translations.

svn path=/trunk/; revision=40292
2009-03-29 23:28:29 +00:00
Daniel Reimer
7cd8a66013 Sync write with Wine HEAD
svn path=/trunk/; revision=40291
2009-03-29 23:17:43 +00:00
Aleksey Bragin
46689e8b55 [FORMATTING]
- Change comments to match kernel coding style
- Remove EOL spaces.

svn path=/trunk/; revision=40290
2009-03-29 19:32:37 +00:00
Jeffrey Morlan
c1ff41171d Make cmd able to (sort of) work without a console.
svn path=/trunk/; revision=40289
2009-03-29 19:17:45 +00:00
James Tabor
c233cfcaf8 - Fix W32PROCESS, replaced pointer with structure.
svn path=/trunk/; revision=40288
2009-03-29 16:31:27 +00:00
Kamil Hornicek
264b97f2c4 - return WSAEMSGSIZE on both STATUS_BUFFER_TOO_SMALL / STATUS_BUFFER_OVERFLOW:
svn path=/trunk/; revision=40287
2009-03-29 15:56:08 +00:00
Kamil Hornicek
a83abb4f0e - fix possible memory leak (patch from Mesa3D by Daniel Zimmermann)
svn path=/trunk/; revision=40286
2009-03-29 13:39:18 +00:00
Aleksey Bragin
df5b7d2582 - Synchronize debug messages output to the serial port. Now each line of a debug log is printed synchronously, as it is NT. In future, this should be converted to a generic spinlock for all registered KD handlers.
svn path=/trunk/; revision=40285
2009-03-29 13:15:03 +00:00
Aleksey Bragin
fea868eebc - Implement KeTestSpinLock.
svn path=/trunk/; revision=40284
2009-03-29 12:57:58 +00:00
Kamil Hornicek
d32512662f update Mesa3D to version 7.4
svn path=/trunk/; revision=40283
2009-03-29 12:45:34 +00:00
Dmitry Gorbachev
379a32cc4b Shell32 translation patch from Tomoya Kitagawa, bug #4310.
svn path=/trunk/; revision=40282
2009-03-29 11:53:16 +00:00
Michael Martin
4ea62038a8 create.c: NpfsCleanup - Do not set the pipe's state to FILE_PIPE_DISCONNECTED_STATE, it is needed for determining broken pipes.
Only set pipes otherside to NULL if it is not NULL already.
fsctrl.c: NpfsDisconnectPipe - Set return status to STATUS_PIPE_DISCONNECTED if pipe is already disconnected.
Add code to handle cases where PipeState is connected and pipes otherside has been set to NULL.
rw.c: Set return status to STATUS_BROKEN_PIPE if the other side of pipe has been set to NULL, the data available in pipe is zero and pipe state is connected.
Check that pipes otherside is valid before attempting to set the othersides read/write event.

svn path=/trunk/; revision=40281
2009-03-29 11:15:10 +00:00
Jeffrey Morlan
ad25b56ea8 Make command parsing in DoCommand/Execute more compatible with Windows
svn path=/trunk/; revision=40280
2009-03-29 05:13:35 +00:00
Timo Kreuzer
47bc28fa47 Add the DC XlateBrush / XlatePen hack to DC_vUpdateFillBrush / DC_vUpdateLineBrush, so these should now be a full replacement for the current usage of IntGdiSelectPen/Brush + EBRUSHOBJ_vInit
svn path=/trunk/; revision=40279
2009-03-29 02:15:37 +00:00
Timo Kreuzer
c14d3364c7 Simple temporary implementation of EngRealizeBrush. Not tested, not used yet.
svn path=/trunk/; revision=40278
2009-03-29 01:43:09 +00:00
Timo Kreuzer
d32f5cf257 BltMask:
by me: optimize by replacing the maskbit table with a byte containing the maskbit and rotating using _rotr8. Also move the comparison out of the loop, making 2 loops, one with pattern, one without.
By Evgeniy Boltik: Optimize by using function pointers. Fix calculation of brush position. By me again: optimize the fix by moving the calculation out of the outer loop.

svn path=/trunk/; revision=40277
2009-03-29 00:26:30 +00:00
Timo Kreuzer
77b12d6d18 Patch by Evgeniy Boltik:
Always calculate a palette for the DIB in NtGdiGetDIBitsInternal, when dealing with 15 or 16 bit depth. Fixes broken taskbar icons on 16bpp.

svn path=/trunk/; revision=40276
2009-03-29 00:25:47 +00:00
Cameron Gutman
060ac4d373 - Fix some TDI flags
svn path=/trunk/; revision=40275
2009-03-29 00:22:31 +00:00
James Tabor
0142494290 - Add The rest to W32PROCESS.
svn path=/trunk/; revision=40274
2009-03-28 23:28:38 +00:00
James Tabor
b2c76fa160 - Add Lock point and AVL table pointer to W32PROCESS. This is for EngAllocUserMem and friends.
svn path=/trunk/; revision=40273
2009-03-28 23:06:07 +00:00
Jeffrey Morlan
4e02761261 - Implement CMD /A and /U switches.
- CLS: Fill console with current color rather than original; if standard output is not a console, print a form-feed character.
- COLOR: If standard output is not a console, do nothing.

svn path=/trunk/; revision=40272
2009-03-28 19:36:22 +00:00
Cameron Gutman
23cb0510c4 - Fix a typo
svn path=/trunk/; revision=40271
2009-03-28 17:52:50 +00:00
Cameron Gutman
efaf3a892a - Implement NdisMAllocateSharedMemoryAsync
- Zero the entire packet in NdisAllocatePacket

svn path=/trunk/; revision=40270
2009-03-28 17:49:27 +00:00
Aleksey Bragin
02258e7e39 - Remove a header structure from memory regions allocated with EngAllocUserMem. Modern versions of Windows (at least XP and higher) don't do this and instead save this information elsewhere. Confirmed by Alexandre Julliard's test case for calling WriteFile with the DIB section bits as buffer (5 less failures now) and by arguing with Evgeniy Boltik.
svn path=/trunk/; revision=40269
2009-03-28 17:06:17 +00:00
Aleksey Bragin
b5ceb7733a - Pass correct allocation flags to ZwAllocateVirtualMemory.
- Don't provide region size when freeing virtual memory (spotted by Evgeniy Boltik, confirmed by MSDN).

svn path=/trunk/; revision=40268
2009-03-28 16:53:51 +00:00
Cameron Gutman
a5d8c32124 - Remove a useless parameter from UnlockAndMaybeComplete
- Fix a few listening bugs

svn path=/trunk/; revision=40267
2009-03-28 15:49:29 +00:00
Hervé Poussineau
82d4f0afe3 Add some defines, to be used later in freeldr
svn path=/trunk/; revision=40266
2009-03-28 10:33:19 +00:00
Hervé Poussineau
7ffb682eea Fix typo
svn path=/trunk/; revision=40265
2009-03-28 09:28:05 +00:00
Cameron Gutman
6e410f30f1 - Remove an unnecessary parameter
svn path=/trunk/; revision=40264
2009-03-28 01:27:01 +00:00
Cameron Gutman
fc6b65aac3 - More LockBuffers fixes
- Now attempting to sync the clock with a network time server doesn't cause an access violation

svn path=/trunk/; revision=40263
2009-03-28 01:23:50 +00:00
Cameron Gutman
4e466b6892 - Fix some issues with LockBuffers
- We must lock buffers before using them

svn path=/trunk/; revision=40262
2009-03-27 22:32:28 +00:00
Aleksey Bragin
6971703e7b - Fix queue index (actually do what comment in the code says). Spotted by Alex.
svn path=/trunk/; revision=40261
2009-03-27 12:03:29 +00:00
Cameron Gutman
48301f631c - Wait on the correct event
svn path=/trunk/; revision=40260
2009-03-27 04:10:10 +00:00
Cameron Gutman
3066a61fce - Remove some unnecessary code
svn path=/trunk/; revision=40259
2009-03-27 03:48:16 +00:00
Cameron Gutman
ed72b6606d - Fix several handle leaks
svn path=/trunk/; revision=40258
2009-03-27 03:21:21 +00:00
Aleksey Bragin
b233e13933 Apply patch from Wine:
http://www.winehq.org/pipermail/wine-patches/2009-March/071155.html

- Fix bitmap size calculation in IMAGELIST_InternalExpandBitmaps and remove unneeded parameter. Memory requirements are greatly reduced after this fix.

See issue #4304 for more details.

svn path=/trunk/; revision=40257
2009-03-26 19:46:11 +00:00
Timo Kreuzer
7e05c19aeb comment out audio drivers for now
svn path=/branches/ros-amd64-bringup/; revision=40255
2009-03-26 12:24:46 +00:00
Johannes Anderwald
93c61940bb - Remove dead code
- Silence a few debug prints
- Implement Dispatch_FastRead, Dispatch_fnFastDeviceIoControl
- Change _InterlockedXXX to InterlockedXXX
- Store IPortPinWaveCyclic pins in an array and close pin on a new create request (fixes a memory leak)
- Complete the close irp when the stream has really been closed


svn path=/trunk/; revision=40250
2009-03-26 09:59:45 +00:00
Jeffrey Morlan
72160071f9 - Add another heap freelist for small blocks, making mingw32-make about 100 times faster at loading makefile.auto
svn path=/trunk/; revision=40249
2009-03-26 06:32:14 +00:00
Jeffrey Morlan
8b1901148f - Fix a buffer overflow in cmd
- Make "CMD /C" clean up before exiting to get rid of spurious "memory leak" debug messages

svn path=/trunk/; revision=40248
2009-03-26 06:31:46 +00:00
Timo Kreuzer
9426678d4d Fix compilation of freeldr. (a number of ULONG / ULONG_PTR issues, remove LoadReactOSSetup2 for non-x86 builds
svn path=/branches/ros-amd64-bringup/; revision=40247
2009-03-26 04:57:19 +00:00
Timo Kreuzer
9285de53cd Hack cleanup: IntGdiBrushXlate is a dirty ros hack, it is needed due to the fact that we handle brushes totally wrong. Replace it with a static function IntUpdateBrushXlate and move it to dcobjs.c.
svn path=/trunk/; revision=40246
2009-03-26 03:41:57 +00:00
Art Yerkes
2bb581031f Prevent a double lock on the surface by splitting FillSolid into a locking and
unlocked version, allowing surface.c to use the locking version.

svn path=/trunk/; revision=40245
2009-03-26 02:33:15 +00:00
Jeffrey Morlan
db8815a497 - Implement CMD /D, /Q, and /R switches
- Do %envvar% expansions in CMD /C or /K commands
- Make SETLOCAL recognize ENABLEEXTENSIONS and DISABLEEXTENSIONS, although it doesn't do anything yet
- Make VERIFY set the errorlevel (documented in SETLOCAL /?). Also make it recognize when ON/OFF is followed by space
- Make ECHOSERR actually print to stderr, not stdout
- Make echoed display of ( ... ) blocks look nicer (Bug 4022)
- Fix some other minor display bugs

svn path=/trunk/; revision=40244
2009-03-26 01:14:25 +00:00
Timo Kreuzer
65d9fbc726 Move NtGdiSelectBitmap to dcobjs.c, implement DC_vSelectFillBrush and DC_vSelectLineBrush, use them in IntGdiSelectBrush and IntGdiSelectPen, DC_Cleanup and DC_vCopyState. Should fix leaking brushes/pens on process cleanup.
Remove the flag checks from DC_vUpdateXxxBrush functions.

svn path=/trunk/; revision=40243
2009-03-26 00:56:46 +00:00
Timo Kreuzer
cac93ee776 Move NtGdiSelectClipPath, Nt/IntGdiSelectBrush, Nt/IntGdiSelectpen to dcobj.c, improve formatting, no code change.
svn path=/trunk/; revision=40242
2009-03-25 22:14:20 +00:00
Timo Kreuzer
ea055dde70 Rename NtGdiDeleteObject to GreDeleteObject
svn path=/trunk/; revision=40240
2009-03-25 20:24:34 +00:00
Johannes Anderwald
5a37c1fdad - Export KsNullDriverUnload
- Stop the audio stream at PASSIVE_LEVEL
- Refactor sysaudio code to make it less complex and remove code which is not used
- Add a few comments

svn path=/trunk/; revision=40238
2009-03-25 19:14:04 +00:00
Johannes Anderwald
bf2b5adf8e - Fix calling convention for KsNullDriverUnload
svn path=/trunk/; revision=40237
2009-03-25 19:01:27 +00:00
Colin Finck
9148284b91 Readd the hack for skipping the bitmap font tests.
As long as we have no working bitmap font driver, it results in endless loops and fails, which even get sysreg2 into an uncomfortable state.

svn path=/trunk/; revision=40231
2009-03-25 16:31:17 +00:00
Cameron Gutman
6c67770a16 - Revert an unwanted change
svn path=/trunk/; revision=40230
2009-03-25 15:59:20 +00:00
Colin Finck
8cb8fb4761 Remove all Skip hacks from the Wine tests as we resume from crashes now
svn path=/trunk/; revision=40229
2009-03-25 14:37:01 +00:00
Christoph von Wittich
58f2230b68 update README.WINE
svn path=/trunk/; revision=40227
2009-03-25 14:00:43 +00:00
Christoph von Wittich
49aa71cfbc sync DDE to wine 1.1.17
svn path=/trunk/; revision=40226
2009-03-25 13:57:58 +00:00
Christoph von Wittich
034b4711be GetConsoleProcessist -> GetConsoleProcessList
svn path=/trunk/; revision=40223
2009-03-25 10:11:53 +00:00
Christoph von Wittich
4fe44b2b2d fix some more typos...
svn path=/trunk/; revision=40222
2009-03-25 10:10:17 +00:00
Christoph von Wittich
6af867cced fix some typos
svn path=/trunk/; revision=40221
2009-03-25 09:55:31 +00:00
Timo Kreuzer
809d606072 Add the macro I forgot.
svn path=/trunk/; revision=40220
2009-03-25 04:25:39 +00:00
Timo Kreuzer
126f671726 Rewrite the dc state saving implementation. We were doing it wrong and ugly. Now it should work correctly. It's also much fewer and cleaner code.
svn path=/trunk/; revision=40219
2009-03-25 04:20:59 +00:00
Timo Kreuzer
33561b92dd Fix GetDCBrushColor. It was returning the pen color.
svn path=/trunk/; revision=40218
2009-03-25 03:52:11 +00:00
Timo Kreuzer
9a1d43e359 Add one test for NtGdiDeleteObjectApp, and a bunch of tests for NtGdiSaveDC and NtGdiRestoreDC.
svn path=/trunk/; revision=40217
2009-03-25 03:51:22 +00:00
Timo Kreuzer
b023f69f76 gdihv: add a possibility to view all handles
svn path=/trunk/; revision=40216
2009-03-25 03:48:51 +00:00
Cameron Gutman
e6b79399bb - Fix ICMP
svn path=/trunk/; revision=40215
2009-03-25 02:28:40 +00:00
Cameron Gutman
88ab954b0b - Return STATUS_NETWORK_UNREACHABLE if we can't get a route to the remote address
svn path=/trunk/; revision=40214
2009-03-25 02:10:49 +00:00
Cameron Gutman
5350d438bc - Set the IP_PACKET_FLAG_RAW flag on Raw IP packets
svn path=/trunk/; revision=40213
2009-03-25 02:04:01 +00:00
James Tabor
a1a53985e2 - Write new simplified NtGdiDeleteObjectApp based on test case.
- Include internal function GetObjectOwner to support retrieval of owner process ID.
- Update GDI_TABLE_ENTRY.


svn path=/trunk/; revision=40212
2009-03-25 01:07:02 +00:00
Colin Finck
1463b225be Output "SYSREG_ROSAUTOTEST_FAILURE" for sysreg2 in case of a failure inside rosautotest
svn path=/trunk/; revision=40211
2009-03-24 20:49:04 +00:00
Colin Finck
0a05554c18 Take the line number as an integer, the STRINGIZER macro didn't work as expected
svn path=/trunk/; revision=40208
2009-03-24 12:37:54 +00:00
Dmitry Chapyshev
c0212e7286 - Replace stub msdmo on msdmo from Wine
svn path=/trunk/; revision=40207
2009-03-24 11:20:24 +00:00
Dmitry Chapyshev
9f3467c174 - Replace stub qedit on qedit from Wine
svn path=/trunk/; revision=40206
2009-03-24 11:17:08 +00:00
Dmitry Chapyshev
9e7ea00dc0 - Sync Tahoma fonts with Wine head
svn path=/trunk/; revision=40205
2009-03-24 11:09:11 +00:00
Timo Kreuzer
ac888f35a3 [FORMATTING]
fix indentation, no code change.

svn path=/trunk/; revision=40204
2009-03-24 04:42:21 +00:00
Timo Kreuzer
a6e1bbc54d More dc cleanup: make DC_AllocDC return a pointer, not a handle, like done with the other objects, too.
Remove DC_GetnextDC and DC_SetNextDC, as they are trivial. Misc cleanup and improvements.

svn path=/trunk/; revision=40203
2009-03-24 04:10:49 +00:00
Timo Kreuzer
65ce2884da Fix formatting add a FIXME comment, no code change
svn path=/trunk/; revision=40202
2009-03-24 03:15:18 +00:00
Timo Kreuzer
0a1914e0b7 Remove DC_GET_VAL macro and friends. They were defining functions that we didn't use, except 4, but those were also quite useless, as the only returned a value from the dc structure that you pass in.
same for IntGetGraphicsMode. Also remove IntGetViewportExtEx and replace it with DC_vUpdateViewportExt

svn path=/trunk/; revision=40201
2009-03-24 02:58:14 +00:00
Cameron Gutman
c5a8c1281c - Fix several cancellation and socket shutdown issues:
- Don't call DestroySocket if FCB->State == SOCKET_STATE_CLOSED because the FCB is already being destroyed (Irp->Cancel checks hid this bug)
 - Remove the Irp->Cancel checks (hacks)
 - Only return early if we can't cancel an IRP
 - Add an FCB->State check in StreamSocketConnectComplete
 - Store the failure status in the IRP

svn path=/trunk/; revision=40200
2009-03-24 02:01:46 +00:00
Timo Kreuzer
8c84226668 - Add a bunch of tests for NtGdiDeleteObjectApp
- Add Is handle valid function to check whether a handle is still valid.

svn path=/trunk/; revision=40199
2009-03-24 01:25:03 +00:00
Jeffrey Morlan
2895b48a31 Implement all remaining switches for the START command.
svn path=/trunk/; revision=40198
2009-03-23 23:52:50 +00:00
Jeffrey Morlan
d17f538267 Fix a bug in wcstoul causing it to set *endptr improperly.
svn path=/trunk/; revision=40197
2009-03-23 23:51:59 +00:00
Timo Kreuzer
c3927d7e15 - Don't delete an object that has a shared reference!
- Implement DC_vSelectSurface, that dereferences the old SURFACE and references the new. Use it instead of doing it manually.
- Select NULL surface when doing cleanup.
- Go back to ASSERT in GDIOBJ_ShareUnlockObjByPtr. Should (hopefully) not be hit anymore.
- Add additional functions for tracing shared locks in gdidbg.c.
- Add debugprints when leaking objects on process cleanup.


svn path=/trunk/; revision=40196
2009-03-23 23:49:00 +00:00
Sylvain Petreolle
4724aa9fb0 setupapi.CMP_RegisterNotification is not a stub anymore,
update cfgmgr32.spec accordingly.

svn path=/trunk/; revision=40192
2009-03-23 22:01:40 +00:00
Jeffrey Morlan
4d872d113e Implement %~$PATH:var variable substitution
svn path=/trunk/; revision=40191
2009-03-23 19:54:52 +00:00
Art Yerkes
a822f03d45 Actually mark irp pending.
svn path=/trunk/; revision=40190
2009-03-23 19:45:21 +00:00
Timo Kreuzer
3b14a5465d GDIOBJ_ShareUnlockObjByPtr: Temporarily don't ASSERT, but print a backtrace when trying to unlock an object that wasn't locked.
svn path=/trunk/; revision=40189
2009-03-23 19:11:37 +00:00
Art Yerkes
d34ef92b8b Formatting only, no change.
svn path=/trunk/; revision=40188
2009-03-23 18:13:17 +00:00
Timo Kreuzer
acc3c725d7 [FORMATTING]
Apply indentation of 4 spaces. Misc formatting improvements. Add some FIXME comments, no code change

svn path=/trunk/; revision=40187
2009-03-23 17:47:58 +00:00
Jeffrey Morlan
52b04dfa2f - In cmd's PUSHD and POPD commands, change directory using _tchdir.
svn path=/trunk/; revision=40185
2009-03-23 14:48:04 +00:00
Jeffrey Morlan
73694e1e38 - Moved the code for updating the drive-specific current-directory environment variable out of RTL and into the CRT. Testing on Windows shows that neither RtlSetCurrentDirectory_U or SetCurrentDirectory update these variables, but _tchdir does.
svn path=/trunk/; revision=40184
2009-03-23 14:47:46 +00:00
Cameron Gutman
d99f998d2d - This should fix a rare afd crash
- It was a race condition caused by another thread clearing our IRP while we were still using it

svn path=/trunk/; revision=40183
2009-03-23 05:05:57 +00:00
Timo Kreuzer
d7ab2a464e In the beginning somebody created dc.c. And he saw that it was empty. So he quickly added some functions to it. And as there were so many nice dc functions, the dc.c quickly got populated with a lot of code. But dc.c must have still felt lonely,
so that people added more and more code, even completely unrelated code. Finally dc.c became a fat wastedump for all the code a developer didn't know where to put.

Clean up this mess by splitting the 3600 line monster file into 5 files and moving some stuff into other files.

svn path=/trunk/; revision=40182
2009-03-23 03:43:11 +00:00
Dmitry Gorbachev
8cb1d37567 Add "REACTOS Mm Hack of Doom" again (removed in r39723). Bug #4296.
svn path=/trunk/; revision=40181
2009-03-23 00:56:01 +00:00
Timo Kreuzer
f20923b70c Initialize flattrs in EBRUSHOBJ_vInit
svn path=/trunk/; revision=40180
2009-03-23 00:51:22 +00:00
Timo Kreuzer
e2a450fc3f Brush rewrite part 1/x
- Make the EBRUSHOBJ structure somewhat like XPs. 
- Make the eboXxx members of the DC real EBRUSHOBJs and initialize them on DC creation. Except for IntArc they are not yet used and there still with the old way of doing it.
- Implement DC_vUpdateXxxBrush functions that update the DCs EBRUSHOBJs after changes to the dcattr.
- Implement EBRUSHOBJ_bRealizeBrush that realizes the brush by either calling the DrvRealizeBrush or EngRealizeBrush, which is currently only stubbed and this functionality is not plugged in due to other broken features.
- EBRUSHOBJ_vInit: Store the RGB color and return it in BRUSHOBJ_ulGetBrushColor.
- Implement EBRUSHOBJ_vSetSolidBrushColor, EBRUSHOBJ_vUpdate and EBRUSHOBJ_vUnrealizeBrush
- Rename PENOBJ_bla to PEN_bla.
- Make GDIOBJ_ShareUnlockObjByPtr an inline function
- Implement GDIOBJ_IncrementShareCount as inline function.
- NtGdiSelectBitmap: keep a shared reference on the selected bitmap.
- EngAssociateSurface: don't ASSERT, but fail if locking the surface handle failed.
- EngModifySurface: use an exclusive lock and handle everything inside this function.

svn path=/trunk/; revision=40179
2009-03-23 00:38:59 +00:00
Cameron Gutman
7eafa4dee6 - Implement NdisFreeDmaChannel
svn path=/trunk/; revision=40178
2009-03-22 23:49:24 +00:00
Cameron Gutman
253abcd0db - Fix a memory leak
svn path=/trunk/; revision=40177
2009-03-22 23:39:57 +00:00
Colin Finck
8403d77a18 - If we determine that the keyboard buffer is full, only call INT 16h,0 once without checking again whether the buffer is free afterwards
Fixes bug #4264
- Get rid of another procedure for getting a character, can be replaced with two instructions in the only place where this procedure was called
See issue #4264 for more details.

svn path=/trunk/; revision=40176
2009-03-22 23:36:48 +00:00
Cameron Gutman
bd33ba7e48 - Query MaxMulticastAddresses from the miniport
svn path=/trunk/; revision=40175
2009-03-22 23:28:06 +00:00
Dmitry Gorbachev
1c93767ee0 Update Japanese translation of Syssetup. Patch from Tomoya Kitagawa (jptomoya|AT|yahoo|DOT|co|DOT|jp), bug #4295.
svn path=/trunk/; revision=40174
2009-03-22 19:58:44 +00:00
Matthias Kupfer
0297ddda32 - Disable "Back" in last page of syssetup, because it doesn't make any sense.
svn path=/trunk/; revision=40173
2009-03-22 16:36:16 +00:00
Johannes Anderwald
a773189e6f - Clean up my working copy
svn path=/trunk/; revision=40172
2009-03-22 14:28:50 +00:00
James Tabor
aa35b26caf - Implement AddFontMemResourceEx and simplify RemoveFontMemResourceEx.
svn path=/trunk/; revision=40171
2009-03-22 05:20:55 +00:00
Cameron Gutman
6ece2fd104 - Fix release build
svn path=/trunk/; revision=40170
2009-03-22 02:02:22 +00:00
Jeffrey Morlan
e518029091 Make START command able to open non-executable files/directories/URLs using ShellExecute. (Bug 4055)
svn path=/trunk/; revision=40169
2009-03-22 01:51:29 +00:00
Cameron Gutman
c999c1eb6e - Don't forget to store the status in the IRP
- Fix some return statuses

svn path=/trunk/; revision=40168
2009-03-21 22:54:08 +00:00
Sylvain Petreolle
f7374ea760 Fix file location in file properties dialog.
svn path=/trunk/; revision=40167
2009-03-21 22:19:27 +00:00
Gregor Schneider
e01595c798 - GetBitmapBits: This function should return DDB size since it's for 16 bit win only. So calculate this size instead of supplying the DIB size
- BITMAP_GetObject: Don't always supply compression type BI_RGB, but distinguish compression from bitmap format. A problem with BI_BITFIELDS remains, since it can't be detected that way. Add a comment to GetDIBits too, same problem - this implicit BITFIELDS -> RGB issue could be the reason for some (delayed?) drawing problems
- GetDIBits: The palette information should be copied in both operation modes so move it to the beginning of the function
- Fixes ~10 gdi32 bitmap winetests (but depends on used bit depth)

svn path=/trunk/; revision=40166
2009-03-21 19:15:52 +00:00
Cameron Gutman
f4aa76fc47 - Uncomment the NdisUnmapFile call in NdisCloseFile
- Found by Dmitry Chapyshev

svn path=/trunk/; revision=40161
2009-03-21 13:01:12 +00:00
Daniel Reimer
58949e1e63 Bug 4287: Lithuan Translaions by Vytis Girdžijauskas
Polish Translations by Maciej Bialas
Updated readme.wine. Some apps are autosynched by me and are mentioned as really old. Fixed this.

svn path=/trunk/; revision=40159
2009-03-21 12:38:32 +00:00
Colin Finck
0ba8c8e16a Enable the Crash Recovery feature when doing the RegTest.
Now the new sysreg2 just needs to be set up on the Buildslave and we might finally be able to remove all those "Skip Test xyz, because ROS sucks" hacks.

svn path=/trunk/; revision=40157
2009-03-21 12:21:12 +00:00
Aleksey Bragin
d40a356433 - Allocate and initialize setup loader block.
- Add setup loader block pointer conversion to WinLdrInitializePhase1 (if it exists). 
- Temporary: provide empty boot options string.

svn path=/trunk/; revision=40156
2009-03-21 11:11:44 +00:00
Samuel Serapion
4b70da652e Remove wine/msacm.h it just duplicated the one with have in psdk/ but with extra incorrect definitions.
Fix ACMDRVSTREAMINSTANCE, ACMDRVSTREAMHEADER, PORTALLOC, WAVEOPENDESC, MIDIOPENDESC, MIXEROPENDESC structures.
Fix ACMFILTERENUMCBA/W, ACMFILTERTAGENUMCBA/W, ACMFORMATENUMCA/W, ACMFORMATTAGENUMCBA/W callbacks.
Fix acmDriverEnum, acmFilterEnumA/W, acmFormatEnumA/W, acmFormatTagEnumA/W, acmStreamOpen, CloseDriver, OpenDriver, SendDriverMessage, mmTaskSignal, mmGetCurrentTask

svn path=/branches/ros-amd64-bringup/; revision=40155
2009-03-21 11:07:04 +00:00
Samuel Serapion
c4cf580089 Convert to C, its easier to link(specially in the kernel). :)
svn path=/branches/ros-amd64-bringup/; revision=40154
2009-03-21 10:39:37 +00:00
Samuel Serapion
ac6b763456 Use InterlockedCompareExchangePointer.
svn path=/branches/ros-amd64-bringup/; revision=40153
2009-03-21 10:37:38 +00:00
Aleksey Bragin
8e3572a7e6 - Remove obsolete Doxyfile config files. Spotted by Alexey Komarov.
svn path=/trunk/; revision=40152
2009-03-21 10:34:24 +00:00
Samuel Serapion
373313779a Don't disable this module.
svn path=/branches/ros-amd64-bringup/; revision=40151
2009-03-21 10:33:14 +00:00
Dmitry Gorbachev
5306bb8631 Do not forward TraceMessage() to itself.
svn path=/trunk/; revision=40150
2009-03-21 07:11:56 +00:00
Samuel Serapion
f77097f175 update file list (still commented out)
svn path=/branches/ros-amd64-bringup/; revision=40149
2009-03-21 05:14:56 +00:00
Jeffrey Morlan
9618066a26 - When running a non-executable file, if the program handling the file type is a console program (e.g. Perl/Python) it should run in the same console as cmd, and cmd should wait for it. Implement this by using ShellExecuteEx instead of plain ShellExecute, with the SEE_MASK_NOCLOSEPROCESS and SEE_MASK_NO_CONSOLE flags. (SEE_MASK_NO_CONSOLE does the opposite of its MSDN description)
- Use NULL as the lpVerb to get the default action ("open" is not necessarily the default)
- Allow passing parameters besides just the file name

svn path=/trunk/; revision=40148
2009-03-21 02:12:23 +00:00
Colin Finck
10f13abcb5 Big testing system commit
rosautotest
- Rewrite rosautotest in C++
  Should increase maintainability and expandability, since most of the functionality is encapsulated in classes and there exist some abstract classes for further enhancements (i.e. new test types).
  Furthermore, due to the usage of STL strings, we don't need x lines anymore just for building a string out of several small parts.
- The new codebase made it fairly easy to implement a Crash Recovery feature based on a journal.
  If you start rosautotest with the /r option under ReactOS, it will keep a journal about the tests to run and the tests already ran. In case of a crash, it can just continue with the next test in the list then.
- Add some reasonable timeouts to avoid certain hangs in case a test crashes

sysreg2
- Make the necessary changes to sysreg2 to restart the VM in case of such a crash in 3rd stage, but set a maximum number of allowed crashes as well.
  Christoph, please test and review that on the Buildslave :-)
- Prepend all sysreg messages with [SYSREG] through a new function SysregPrintf, so the BuildBot aggregator script of testman can distinguish between debug output and sysreg messages.
- Put all header includes into the central header file "sysreg.h"
- Remove unnecessary libs from the Makefile

testman
- Change the testman Web Interface to show such crashes as CRASH in the Compare and Detail views.

svn path=/trunk/; revision=40147
2009-03-21 01:39:04 +00:00
Timo Kreuzer
d225ab948e Fix build.
svn path=/trunk/; revision=40146
2009-03-21 00:25:52 +00:00
Timo Kreuzer
946deefb20 Rename IntGdiInitBrushInstance to EBRUSHOBJ_vInit and move it to engbrush.c. Add 2 FIXME comments.
svn path=/trunk/; revision=40145
2009-03-20 23:40:59 +00:00
Jeffrey Morlan
38dec447a2 Replace hard-coded English string constants with translatable resource strings. (Bug 3718)
svn path=/trunk/; revision=40144
2009-03-20 23:16:12 +00:00
Timo Kreuzer
87e87cd3bf Start to cleanup the mess that claims to be our brush implementation: Rename GDIBRUSHOBJ to BRUSH and GDIBRUSHINST to EBRUSHOBJ. Because that's what it is and nothing else. Rename several BRUSHOBJ_xxx functions to BRUSH_xxx, as they deal with a BRUSH, not a BRUSHOBJ.
There is a strict difference between a BRUSH and an (E)BRUSHOBJ. Please don't mix this up by giving them all names like BrushObj. Please use (proper!) hungarian notation.

Now the willing reader might actually get a clue how this stuff is supposed to work and maybe also realize how broken it is.

svn path=/trunk/; revision=40143
2009-03-20 22:40:14 +00:00
Cameron Gutman
d9e83ed22d - Reorganize NDIS code
svn path=/trunk/; revision=40142
2009-03-20 21:29:53 +00:00
Cameron Gutman
d162807f59 - Implement NdisFreeSharedMemory
svn path=/trunk/; revision=40141
2009-03-20 20:51:05 +00:00
Cameron Gutman
2e3301d050 - Implement NdisAllocateSharedMemory
svn path=/trunk/; revision=40140
2009-03-20 20:45:27 +00:00
Cameron Gutman
1088b50413 - Implement NdisMCreateLog, NdisMCloseLog, and NdisMFlushLog
- Patch by Dmitry Chapyshev (with modifications by me)

svn path=/trunk/; revision=40139
2009-03-20 20:43:43 +00:00
Cameron Gutman
8fd6d0bbd8 - Implement NdisDeregisterAdapterShutdownHandler, NdisMapIoSpace, and NdisRegisterAdapterShutdownHandler
- Move NdisCompleteDmaTransfer to 40gone.c

svn path=/trunk/; revision=40138
2009-03-20 20:14:01 +00:00
Timo Kreuzer
b4cc54f089 Rename GDIDEVICE to PDEVOBJ. Is seems ms uses both PDEV and PDEVOBJ, whith the latter being the C++ representation. But we don't use C++ and PDEVOBJ seems to be a more appropriate name, as PDEV is often used by display drivers.
Make DC.ppdev of type PDEVOBJ* and remove a bunch of typecasts.

svn path=/trunk/; revision=40137
2009-03-20 18:02:55 +00:00
Christoph von Wittich
f0b2b4bfa6 add some new (incomplete) network headers
svn path=/trunk/; revision=40136
2009-03-20 15:08:12 +00:00
Timo Kreuzer
b2ab2d049e rename DC.Dc_attr to dcattr, DC.DcLevel to dclevel, just like in gdikdx. Some naming improvement, remove an excessive variable.
svn path=/trunk/; revision=40135
2009-03-20 14:16:01 +00:00
Christoph von Wittich
59ceaaac16 use ncalrpc instead of a named pipe
svn path=/trunk/; revision=40134
2009-03-20 13:44:06 +00:00
Christoph von Wittich
893ccc059d -allow to stop the service
-listen for rpc calls

svn path=/trunk/; revision=40133
2009-03-20 13:43:43 +00:00
Samuel Serapion
7cb8d3ec13 commit mysteriously missing file.
svn path=/branches/ros-amd64-bringup/; revision=40132
2009-03-20 11:00:23 +00:00
Samuel Serapion
aad24cec2c Fix merge artifacts.
svn path=/branches/ros-amd64-bringup/; revision=40131
2009-03-20 10:53:46 +00:00
Samuel Serapion
770a78a826 If you build it, they will come. The program builds but does not load in windows with error STATUS_INVALID_IMAGE_FORMAT. (Suspect linker).
svn path=/branches/ros-amd64-bringup/; revision=40130
2009-03-20 10:40:44 +00:00
Dmitry Chapyshev
f82ac0fc93 - Implement NdisMapFile
- Implement NdisUnmapFile

svn path=/trunk/; revision=40129
2009-03-20 10:21:17 +00:00
Samuel Serapion
ec90c91ee0 Fix 64bit build. Dedicated to silverblade (please review).
svn path=/branches/ros-amd64-bringup/; revision=40128
2009-03-20 10:16:44 +00:00
Samuel Serapion
15df429e5a Fix 64bit build. Dedicated to silverblade (please review).
svn path=/branches/ros-amd64-bringup/; revision=40127
2009-03-20 09:51:21 +00:00
Samuel Serapion
3c43a58bf7 Remove debug code.
svn path=/branches/ros-amd64-bringup/; revision=40126
2009-03-20 09:36:43 +00:00
Samuel Serapion
53c322ef97 Fix 64bit build.
svn path=/branches/ros-amd64-bringup/; revision=40125
2009-03-20 09:34:46 +00:00
Samuel Serapion
8c587d3f9e Fix 64bit build. It works too.
svn path=/branches/ros-amd64-bringup/; revision=40124
2009-03-20 09:33:38 +00:00
Samuel Serapion
3c4881567e Even more 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=40123
2009-03-20 09:32:37 +00:00
Samuel Serapion
60271cd307 64bit build fixes.
svn path=/branches/ros-amd64-bringup/; revision=40122
2009-03-20 08:04:54 +00:00
Samuel Serapion
867884849e commit mysteriously missing file.
svn path=/branches/ros-amd64-bringup/; revision=40121
2009-03-20 07:34:16 +00:00
Samuel Serapion
9e73e100b0 Fix 64bit build.
svn path=/branches/ros-amd64-bringup/; revision=40120
2009-03-20 07:31:50 +00:00
Samuel Serapion
10b011eab9 commit mysteriously missing file.
svn path=/branches/ros-amd64-bringup/; revision=40119
2009-03-20 07:13:40 +00:00
Samuel Serapion
513d389c61 %m is a glibc extension, convert it to "%s", strerror(errno). and fix 64bit build of dhcp service
svn path=/branches/ros-amd64-bringup/; revision=40118
2009-03-20 06:33:05 +00:00
Samuel Serapion
b034938796 I'm just looking at ReactOS-i386.rbuild and unbreaking the build.
svn path=/branches/ros-amd64-bringup/; revision=40117
2009-03-20 05:37:12 +00:00
Samuel Serapion
c0dfae16a8 Clean up merge leftovers.
svn path=/branches/ros-amd64-bringup/; revision=40116
2009-03-20 05:14:39 +00:00
Timo Kreuzer
c0ee5e5328 rename DCs pDc_Attr to pdcattr, like in gdikdx.
Make pdcattr alsways point to a DC_ATTR, either the user mode struct or the local part. Get rid of all the If (!pdcattr) pdcattr = &dc->Dc_Attr; That are not required anymore.

svn path=/trunk/; revision=40115
2009-03-20 04:51:26 +00:00
Samuel Serapion
1e85ed8608 Implement generic forms of __wine_push_frame and __wine_pop_frame (from wine). This code is duplicated but looks different, specifically the use of Frame->Next and Frame->Prev, this is just an effect of different definitions for EXCEPTION_REGISTRATION_RECORD both Next and Prev are actually the same. Maybe someone could look into tidying this up a bit.
svn path=/branches/ros-amd64-bringup/; revision=40114
2009-03-20 04:42:55 +00:00
Cameron Gutman
fb05aeee09 - Implement NdisCompleteUnbindAdapter
svn path=/trunk/; revision=40113
2009-03-20 03:45:35 +00:00
Cameron Gutman
cf85baa5fa - Implement NdisGetDriverHandle
svn path=/trunk/; revision=40112
2009-03-20 03:26:12 +00:00
Timo Kreuzer
af62ba6188 Change most DC struct members to the names they have on Windows according to gdikdx
svn path=/trunk/; revision=40111
2009-03-20 01:35:49 +00:00
Cameron Gutman
b2490d5d64 - DmaSize is NDIS_DMA_SIZE not BOOLEAN
- DmaWidth and DmaSpeed aren't used for bus-master DMA

svn path=/trunk/; revision=40110
2009-03-20 01:07:09 +00:00
Cameron Gutman
ac73f877b3 - Implement NdisMRegisterDmaChannel and NdisMInitializeScatterGatherDma
svn path=/trunk/; revision=40109
2009-03-20 00:26:53 +00:00
Cameron Gutman
cea9babf80 - Implement NdisMQueryAdapterInstanceName
svn path=/trunk/; revision=40108
2009-03-20 00:19:53 +00:00
Cameron Gutman
fed96b0d69 - Implement NdisMDeregisterDmaChannel
- My branch needs to be synced with trunk so I'm not using it right now (plus these changes aren't likely to break anything)

svn path=/trunk/; revision=40107
2009-03-19 23:02:12 +00:00
Aleksey Bragin
d94693c32a - Don't try to be smarter than Windows and don't copy background/foreground color from the original DC. Spotted and confirmed by Evgeniy Boltik. As a result issues in bug 4143 are fixed, as well as other possible problems.
See issue #4143 for more details.

svn path=/trunk/; revision=40106
2009-03-19 21:30:46 +00:00
Johannes Anderwald
c8eaa18003 - Experimental implementation of _RpcEnumInterfaces
- If'd out as GetIfEntry2 is not yet implemented

svn path=/trunk/; revision=40104
2009-03-19 16:57:46 +00:00
Aleksey Bragin
d9d83e8fb1 Evgeniy Boltik <bstsoft@narod.ru>
- Rework 8bit DIB alphablend to do alpha operations in source's palette (32bpp) to obtain much better output quality with lowest possible quality loss.
See issue #4291 for more details.

svn path=/trunk/; revision=40103
2009-03-19 16:56:07 +00:00
Timo Kreuzer
8d620098f5 win32k RECT/RECTL issues:
- Although RECT and RECTL are defined equal, the compiler treats them as incompatible. MS has created a lot of definitions with RECT and a lot with RECTL. So far we had to typecast them. Now with adding some defines into a win32k header file, we can finally treat them as equal inside win32k and get rid of a lot of type casts. Also use RECTL in favour of RECT internally, as this is the type that MS uses for the DDI and seems to be the more appropriate type.
- We had a lot of "const PRECT" stuff inside win32k. Note: there's difference between "const RECT *" (what you currently want) and "CONST PRECT" (which you proabably don't want). Despite the fact that CONST is not an official modifier (please stick to const) the main difference is that the former describes a pointer to a constant structure, while the latter describes a constant pointer to a modifyable structure.
- In an attempt to clean up the overpolluted IntGdi namespace, "objectify" the rect functions, moving them into their own namespace RECTL_Xxx.

svn path=/trunk/; revision=40100
2009-03-19 01:42:34 +00:00
Timo Kreuzer
ee6542397d Merge 39375 from amd64 branch:
csrsrv: convert to spec (Timo Kreuzer)

svn path=/trunk/; revision=40099
2009-03-19 00:38:59 +00:00
Timo Kreuzer
24740374a1 remove UNW flags from winnt.h, they don't belong there
svn path=/trunk/; revision=40098
2009-03-18 22:58:49 +00:00
Timo Kreuzer
2a59efd748 merge r40095 from amd64 branch
svn path=/trunk/; revision=40097
2009-03-18 19:28:54 +00:00
Timo Kreuzer
df26a19873 remove allowwarnings="true"
svn path=/branches/ros-amd64-bringup/; revision=40096
2009-03-18 19:26:12 +00:00
Timo Kreuzer
1cb78466dd %m is a glibc extension, convert it to "%s", strerror(errno).
svn path=/branches/ros-amd64-bringup/; revision=40095
2009-03-18 19:25:16 +00:00
Jeffrey Morlan
a98a143a48 - Make MEMORY command use GlobalMemoryStatusEx if available, so it can show values >= 4GB.
- Fix overflow bug in FREE command that caused values >= 4GB to wrap around.
- A little simplification of ConvertULargeInteger function

svn path=/trunk/; revision=40094
2009-03-18 18:11:19 +00:00
Timo Kreuzer
2c94b2b818 Sync to trunk head (r40091)
svn path=/branches/ros-amd64-bringup/; revision=40093
2009-03-18 17:32:39 +00:00
Timo Kreuzer
0eeabbf6e0 - Add a USE_COMPILER_EXCEPTIONS to make Widl work again
- comment out _X86AMD64_ for now

svn path=/branches/ros-amd64-bringup/; revision=40092
2009-03-18 17:24:41 +00:00
Timo Kreuzer
de32a44cb9 Add DDI_DRIVER_VERSION_NT5_01_SP1
svn path=/trunk/; revision=40091
2009-03-18 17:13:23 +00:00
Timo Kreuzer
1ec5957c2c add missing definition of MultiplyHigh and UnsignedMultiplyHigh, fix typos.
svn path=/trunk/; revision=40090
2009-03-18 17:12:57 +00:00
Timo Kreuzer
5e3ee25bd3 Merge from amd64 branch:
34750 Add ExpChangePushlock macro for _WIN64 (Timo Kreuzer)
34941 Fix usage of InterlockedExchangeAddSizeT (Timo Kreuzer)

svn path=/trunk/; revision=40089
2009-03-18 17:03:58 +00:00
Timo Kreuzer
7ef3df4e3b implement __mulh and __umulh
svn path=/branches/ros-amd64-bringup/; revision=40088
2009-03-18 16:17:53 +00:00
Timo Kreuzer
0aa7524668 #undef i386 in the pspec file
svn path=/branches/ros-amd64-bringup/; revision=40087
2009-03-18 10:30:42 +00:00
Dmitry Chapyshev
6c4ccad5b0 - Change icon for Network Connections folder
svn path=/trunk/; revision=40086
2009-03-18 09:31:53 +00:00
Dmitry Chapyshev
63c838d70d - Update toolbars bitmaps
- Set toolbars height to 16

svn path=/trunk/; revision=40085
2009-03-18 08:54:19 +00:00
Jeffrey Morlan
3a52766a90 - Implement SHIFT /n.
- Make prompt code $T and %TIME% have the hours space-padded, not zero-padded.
- Allow delayed expansion in the parameter of IF ERRORLEVEL.

svn path=/trunk/; revision=40084
2009-03-18 03:52:58 +00:00
Jeffrey Morlan
466a9064a2 Fix a typo
svn path=/trunk/; revision=40083
2009-03-17 22:53:13 +00:00
Jeffrey Morlan
ef4415728b - Implement MKLINK command.
- Remove unused library shell32 from cmd.rbuild.

svn path=/trunk/; revision=40082
2009-03-17 22:27:33 +00:00
James Tabor
9fdb6d5596 - Rename gdi entry flag.
svn path=/trunk/; revision=40081
2009-03-17 21:50:47 +00:00
Timo Kreuzer
baa5b4b9e6 "same thing in BmfdUnloadFontFile btw :p"
Thanks Stefam again.

svn path=/trunk/; revision=40080
2009-03-17 21:39:17 +00:00
Timo Kreuzer
b12cd7a282 Don't access the font structure after it was freed. Spotted by Stefan.
svn path=/trunk/; revision=40079
2009-03-17 21:29:17 +00:00
Timo Kreuzer
8f4fd76b65 C++ comment style -> C comment style
See issue #4284 for more details.

svn path=/trunk/; revision=40078
2009-03-17 20:30:16 +00:00
Colin Finck
9ffc9028a2 Sync CRT initialization code with mingw-w64 r690
- Fixed initialization for Console apps with Unicode entry point. Now stuff like "cout" in <iostream> doesn't lead to instant crashes.
- Unified the name of the entry point for ANSI and Unicode. The difference is just in the library now ("mingw_main" vs. "mingw_wmain")
  RBuild was changed appropriately to support this
- No more ReactOS-specific changes inside the initialization code

svn path=/trunk/; revision=40077
2009-03-17 20:17:02 +00:00
Timo Kreuzer
72e2fbe6f8 Don't use C++ comment style in C headers.
See issue #4284 for more details.

svn path=/trunk/; revision=40076
2009-03-17 20:08:53 +00:00
James Tabor
abb0a44950 - Added one more gdi entry flag with notes.
svn path=/trunk/; revision=40075
2009-03-17 18:18:20 +00:00
Aleksey Bragin
64b42346d2 Evgeniy Boltik <bstsoft@narod.ru>
- Rework 16bit DIB alphablend to do alpha operations in source's palette (32bpp) to obtain much better output quality without data loss.
See issue #3708 for more details.

svn path=/trunk/; revision=40074
2009-03-17 18:00:28 +00:00
Timo Kreuzer
cf3d6a794f [FORMATTING]
- apply ansi style formatting with an indentation of 4 spaces
- Add 2 FIXME comments, regarding MmSecureVirtualmemory
- no code change

svn path=/trunk/; revision=40073
2009-03-17 06:34:09 +00:00
Timo Kreuzer
0f06669f19 Remove unused DriverFunction and GDIBdyToHdr
svn path=/trunk/; revision=40072
2009-03-17 04:28:03 +00:00
Timo Kreuzer
5c5cfa7b96 - Move contents of eng/misc.h into include/misc.h, get rid of eng/misc.h
- Move eng/objects.h -> include/engobjects.h

svn path=/trunk/; revision=40071
2009-03-17 01:41:33 +00:00
Timo Kreuzer
4ab0724bd7 [FORMATTING]
- Change indentation to 4 spaces
- remove dditional header and $Id field
- no code change

svn path=/trunk/; revision=40070
2009-03-17 01:15:26 +00:00
Timo Kreuzer
886b7b2ab2 - Inline GDIOBJ_UnlockObjByPtr, ASSERT that we don't unlock an already unlocked object, return how many locks are left.
- Don't access the objects cExclsiveLock field after unlocking it, instead use new return value of GDIOBJ_UnlockObjByPtr

svn path=/trunk/; revision=40069
2009-03-17 01:06:34 +00:00
Timo Kreuzer
8d1df272ce Rewrite DRIVEROBJ api, giving the object a handle, belonging to the current process. Let the gdi obj cleanup take care for calling the callback function.
Allow deleting of objects that are exclusively locked by the current thread.

svn path=/trunk/; revision=40068
2009-03-17 00:30:15 +00:00
Art Yerkes
1c4400b8ae Fix some issues with peer names being reported. There may be other problems
too.
My read of MSDN is that queries that return addresses in queries other than
TDI_QUERY_ADDRESS_INFO return a TRANSPORT_ADDRESS, so we plumb that through
for GetPeerName.  Note that this isn't user-facing functionality, so it's
unlikely, though not impossible, that we've got it wrong and it'll affect
something.  Likely, this is an improvement.

svn path=/trunk/; revision=40067
2009-03-16 20:59:05 +00:00
Aleksey Bragin
455369fa90 - Implement boot drivers loading.
svn path=/trunk/; revision=40066
2009-03-16 20:56:07 +00:00
Cameron Gutman
08c383c3de - Don't access an index outside the array bounds
- Fixes memory corruption when calling AfdGetSockName and AfdGetPeerName
 - This caused a high-side redzone overwrite when accessing some web sites

svn path=/trunk/; revision=40065
2009-03-16 19:26:38 +00:00
Daniel Reimer
ae440999df Update German Translation
svn path=/trunk/; revision=40064
2009-03-16 18:30:15 +00:00
Aleksey Bragin
48291b3d33 - Support loading drivers which have no subdirectory in their image path.
svn path=/trunk/; revision=40063
2009-03-16 18:26:02 +00:00
Jeffrey Morlan
34afc06d0a Implement ASSOC command (Bug 4275). Patch by Lee C. Baker <lee at leecbaker.com>.
svn path=/trunk/; revision=40062
2009-03-16 18:18:26 +00:00
Dmitry Gorbachev
71f14c5422 Update Slovak translation, fix formatting. Mario Kacmar. Bug #4281.
svn path=/trunk/; revision=40061
2009-03-16 14:10:15 +00:00
Christoph von Wittich
d548413ae8 -add wlan service to registry
-add wlansvc and wlapapi_winetest to bootcd
-add some parameter checks to WlanCloseHandle
-halfplement WlanOpenHandle

svn path=/trunk/; revision=40060
2009-03-16 13:40:25 +00:00
Christoph von Wittich
71362c59fd more precise error descriptions
svn path=/trunk/; revision=40059
2009-03-16 13:39:03 +00:00
Johannes Anderwald
118cf3b5e1 - Fix memory leak
- Fix memory corruptions
- Does not fix es1370mp / es1371mp driver (qemu / vmware)

svn path=/trunk/; revision=40058
2009-03-16 13:12:14 +00:00
Christoph von Wittich
5c6d424c26 add some wlanapi tests
svn path=/trunk/; revision=40057
2009-03-16 12:15:02 +00:00
Christoph von Wittich
151e1c47c1 add missing types
svn path=/trunk/; revision=40056
2009-03-16 09:50:56 +00:00
Christoph von Wittich
aaa5075d3d -implement WlanScan and WlanEnumInterfaces
-add some more NDIS definitions

svn path=/trunk/; revision=40055
2009-03-16 09:22:25 +00:00
Christoph von Wittich
7ea6daa784 implement WlanCloseHandle
svn path=/trunk/; revision=40054
2009-03-16 08:23:58 +00:00
Christoph von Wittich
60a57f4c8a stub wlan rpcserver
svn path=/trunk/; revision=40053
2009-03-16 08:08:03 +00:00
Christoph von Wittich
a8d63d2500 move some structs to the idl
svn path=/trunk/; revision=40052
2009-03-16 07:50:27 +00:00
James Tabor
a27da8f7e8 - Patch by Evgeniy Boltik: Fix Rectangle, Ellipse, RoundRect and Polygon.
svn path=/trunk/; revision=40051
2009-03-16 03:21:00 +00:00
Jeffrey Morlan
6f8ec7004e Fixed output of various date/time stuff ($D and $T in prompt, %DATE% and %TIME% variables, DATE /T and TIME /T commands) to be more compatible with Windows.
svn path=/trunk/; revision=40050
2009-03-16 00:44:08 +00:00
Sylvain Petreolle
80c1384089 unbreak wlananpi build by #ifdef'ing struct_C, struct_D and struct_E
svn path=/trunk/; revision=40049
2009-03-15 21:25:18 +00:00
Aleksey Bragin
6bd4c18a13 Evgeniy Boltik <bstsoft@narod.ru>
- Move clipping from StretchBlt to Eng.
- Add ROP support to StretchBlt.
- Fix alphablend support (alphablend.exe produces same result as tested on Windows XP).

See issue #4156 for more details.

svn path=/trunk/; revision=40048
2009-03-15 20:13:10 +00:00
Christoph von Wittich
1ed252413b -add some more WLAN types
-add wlansvc.idl

svn path=/trunk/; revision=40047
2009-03-15 19:48:56 +00:00
Dmitry Chapyshev
2ce97e2c16 - Add some defines
svn path=/trunk/; revision=40046
2009-03-15 19:06:48 +00:00
Dmitry Chapyshev
57e8c21128 - Sync quartz with Wine head
svn path=/trunk/; revision=40045
2009-03-15 19:03:42 +00:00
Dmitry Chapyshev
ea9fc099f5 - Change font to Tahoma
svn path=/trunk/; revision=40044
2009-03-15 18:59:09 +00:00
Christoph von Wittich
ca12a2179c add wlantypes.h and move some definitions to the correct place
svn path=/trunk/; revision=40043
2009-03-15 18:55:51 +00:00
Christoph von Wittich
ace79a8ee9 add ntddndis.h and windot11.h
svn path=/trunk/; revision=40042
2009-03-15 17:19:02 +00:00
Aleksey Bragin
1e1a103c24 Evgeniy Boltik <bstsoft@narod.ru>
- EngStretchBltROP expects a ROP4 code, but SRCCOPY is ROP3. Convert it accordingly.

See issue #4156 for more details.

svn path=/trunk/; revision=40041
2009-03-15 17:04:46 +00:00
Aleksey Bragin
5afd0c7426 Evgeniy Boltik <bstsoft@narod.ru>
- Brush's origin is always (0,0) of a window, not a screen. Offset it accordingly in NtGdiStretchBlt.
See issue #4147 for more details.

svn path=/trunk/; revision=40040
2009-03-15 17:00:13 +00:00
Dmitry Chapyshev
628321cb61 - Add mp3 codec from Wine
svn path=/trunk/; revision=40039
2009-03-15 15:54:15 +00:00
Jeffrey Morlan
341c5b2e5f - Allow running a batch file from inside a FOR
- A little cleanup

svn path=/trunk/; revision=40038
2009-03-15 15:45:17 +00:00
Dmitry Chapyshev
c116a4507a - Fix build
svn path=/trunk/; revision=40037
2009-03-15 15:37:05 +00:00
Dmitry Chapyshev
c0c953ae5d - Add httpapi, initpki, itircl, msisys.ocx, msnet32, pidgen, resutils, sccbase, slbcsp, softpub, traffic from Wine
svn path=/trunk/; revision=40036
2009-03-15 15:20:51 +00:00
Dmitry Gorbachev
ea6fed1ec0 Update Spanish translations. Javier Remacha, bug #4278. (2/2)
svn path=/trunk/; revision=40035
2009-03-15 14:13:46 +00:00
Dmitry Gorbachev
b37f7b3199 Update Spanish translations. Javier Remacha, bug #4278. (1/2)
svn path=/trunk/; revision=40034
2009-03-15 14:13:41 +00:00
Christoph von Wittich
c16fc76360 add a dummy wlansvc
svn path=/trunk/; revision=40033
2009-03-15 13:55:41 +00:00
Aleksey Bragin
0eec102951 - Give winldr's PE loader its own debug mask.
svn path=/trunk/; revision=40032
2009-03-15 13:29:13 +00:00
Dmitry Chapyshev
093a0db906 - Add mssign32, msisip, query, updspapi, wintab32 from Wine
svn path=/trunk/; revision=40031
2009-03-15 11:22:15 +00:00
Aleksey Bragin
12a0ddf46e - Implement NLS data loading.
svn path=/trunk/; revision=40030
2009-03-15 11:10:52 +00:00
Dmitry Chapyshev
d77cb9ea17 - Add shortcut for dxdiag
svn path=/trunk/; revision=40029
2009-03-15 10:57:55 +00:00
Aleksey Bragin
ff79c83048 - Implement first part of setupldr:
* Constructing boot / system paths
 * Opening boot device
 * Getting options string
 * Loading kernel, hal and kdcom.dll, and their dependencies

svn path=/trunk/; revision=40028
2009-03-15 10:46:41 +00:00
Dmitry Chapyshev
ae297f9f05 - Create Entertainment folder
- Add shortcut for sndvol32

svn path=/trunk/; revision=40027
2009-03-15 10:25:32 +00:00
Dmitry Chapyshev
cf2ecfe742 - Fix typo
svn path=/trunk/; revision=40026
2009-03-15 09:41:13 +00:00
Dmitry Chapyshev
56f1a1b8b9 - Remove win16 stuff
svn path=/trunk/; revision=40025
2009-03-15 08:09:25 +00:00
Jeffrey Morlan
a1eb1f6ba4 Replace a couple hacks supporting specific cases of enhanced variable substitution (%~var) with a more general implementation. All tests in rostests/win32/cmd/script_testsuite can now be passed using ReactOS cmd in Windows, though still not yet in ReactOS itself.
svn path=/trunk/; revision=40024
2009-03-15 04:54:41 +00:00
James Tabor
89e44e0c4a - Add Font attribute support for NtGdiHfontCreate.
svn path=/trunk/; revision=40023
2009-03-15 04:42:45 +00:00
Dmitry Gorbachev
aa42f8869e Add multimedia player to syssetup. Mario Kacmar, bug #4274. Fix formatting.
svn path=/trunk/; revision=40022
2009-03-15 02:37:06 +00:00
Dmitry Gorbachev
8258a1ad0e Uncomment locks, remove unnecessary stuff.
svn path=/trunk/; revision=40021
2009-03-15 02:05:40 +00:00
Dmitry Gorbachev
0f6f0fe19a Trying to use r39938 variant again...
svn path=/trunk/; revision=40020
2009-03-15 01:23:47 +00:00
Dmitry Gorbachev
a49345f0c1 Disable locks for now.
svn path=/trunk/; revision=40019
2009-03-15 00:27:59 +00:00
Dmitry Gorbachev
aa365b7e33 - Use MmCreateHyperspaceMapping() again.
- Delete hyperspace mapping before releasing cache segment (bug #4249).

svn path=/trunk/; revision=40018
2009-03-14 21:29:37 +00:00
Michael Martin
a1fee90219 - Fix few more wine tests for services; return correct param values for GetServiceDisplayNameW and GetServiceKeyNameW when service name is not found.
svn path=/trunk/; revision=40017
2009-03-14 19:35:34 +00:00
Johannes Anderwald
aa0f6ce8d5 [20:33] Stefan100: the code inside an ASSERT won't be executed on release
svn path=/trunk/; revision=40016
2009-03-14 19:34:25 +00:00
Johannes Anderwald
4a74095169 - Silence a few debug prints
- Add a tag for each queued irp which will be used by the future IPortPinWavePci object
- Add support for basic support for capture devices
- Implement IPortWavePciStream object

svn path=/trunk/; revision=40015
2009-03-14 18:57:51 +00:00
Dmitry Gorbachev
d74173888a Trying to fix boot breakage.
svn path=/trunk/; revision=40014
2009-03-14 18:13:32 +00:00
Christoph von Wittich
b860e9cb67 stub wlanapi
svn path=/trunk/; revision=40013
2009-03-14 14:32:48 +00:00
Dmitry Gorbachev
fc574caf3c Fix build. Sorry.
svn path=/trunk/; revision=40012
2009-03-14 14:29:25 +00:00
Dmitry Chapyshev
774eac41f1 - Alphabetically re-order README.WINE. Patch by Kario
See issue #4239 for more details.

svn path=/trunk/; revision=40011
2009-03-14 14:21:49 +00:00
Dmitry Gorbachev
f98a859ad2 Fix bug #4273 (Slovak part for r39980, Mario Kacmar) and a few other translations.
svn path=/trunk/; revision=40010
2009-03-14 14:15:41 +00:00
Dmitry Gorbachev
4db1751502 Italian translation of MPlay32 by Carlo Bramini. Bug #4270.
svn path=/trunk/; revision=40009
2009-03-14 02:17:16 +00:00
Dmitry Gorbachev
c9901dd8b6 Return to an old idea of MiMapPageToZeroInHyperSpace(), "fix" bug #4267.
svn path=/trunk/; revision=40008
2009-03-14 01:20:18 +00:00
Colin Finck
67d3295fc6 Import a part of mingw-w64's "ctype.h" into our "ctype.h"
This way we can already remove one modification I did to the original mingw-w64 CRT initialization code

Thanks to Timo for the hint

svn path=/trunk/; revision=40007
2009-03-14 01:13:03 +00:00
Colin Finck
8d291610ee - Sync the common mingw stuff with mingw-w64 HEAD
Only few modifications were necessary to get it to work flawlessy with our tree:
    -> getopt.c, which should rather be a part of "mingwex" (if we need the two Unix apps using it at all..)
    -> Adding an 'extern int __globallocalestatus;' to the "internal.h"
    -> Disabling the custom __mingw_get_crt_info, which depends on defines inside the mingw-w64 tree
    -> Small warning fixes, which will be submitted to mingw-w64
- Add an include directory "include/reactos/mingw-w64" for their header stuff to make synchronizations easier.
- Remove remainders of our previous initialization routines, which still co-existed beside the new ones
- Remove misleading and unnecessary files (i.e. "binmode.c")

svn path=/trunk/; revision=40006
2009-03-14 00:50:23 +00:00
Timo Kreuzer
8b8a92d9da fix definition of _STATIC_ASSERT
svn path=/trunk/; revision=40005
2009-03-13 23:41:12 +00:00
Cameron Gutman
3f46303c0e - Merge aicom-network-fixes up to r39995
svn path=/trunk/; revision=40004
2009-03-13 17:25:48 +00:00
Sylvain Petreolle
8ae1a88a0b Spanish part for r39980:
- use symbolic names instead of numeric values (made for English and German, other languages needs to change)


svn path=/trunk/; revision=40003
2009-03-13 15:57:20 +00:00
Sylvain Petreolle
39e4f8fc38 French part for r39980:
- use symbolic names instead of numeric values (made for English and German, other languages needs to change)

svn path=/trunk/; revision=40002
2009-03-13 14:47:19 +00:00
Johannes Anderwald
360606f98b - Remove hack in IDmaChannel::PhysicalAddress as it will hide the bug and not prevent es1370mp from crashing
- Fix a horrible where the Mdl was not created for the common buffer
- Might fix other audio related crashes
- Forward IRP_MN_QUERY_INTERFACE to next lower device object
- Fix & enable PcForwardIrpSynchronous implementation
- Add debug print to IServiceGroup when a unknown IID is requested

svn path=/trunk/; revision=40001
2009-03-13 14:07:03 +00:00
Dmitry Chapyshev
d45772c95a - Sync ole32, oleaut32, olesvr32 with Wine head
svn path=/trunk/; revision=40000
2009-03-13 13:40:31 +00:00
Dmitry Chapyshev
1b0fc53030 - Update Ukrainian translation by Sakara Yevhen
svn path=/trunk/; revision=39999
2009-03-13 13:40:25 +00:00
Jeffrey Morlan
4ef352817a In a 'Bad command or filename' error, print the name of the non-existent program, so getting the error from a batch file isn't so mysterious.
svn path=/trunk/; revision=39998
2009-03-13 01:26:08 +00:00
Matthias Kupfer
40329ba147 - Add a hackfix comment for issue #4243 due to several requests.
svn path=/trunk/; revision=39997
2009-03-13 00:20:48 +00:00
Colin Finck
17ed09b751 Reenable the Solitaire Unicode build. Works well now :-)
svn path=/trunk/; revision=39996
2009-03-12 23:43:26 +00:00
Timo Kreuzer
94c7a3392b Cleanup freetypee lib
svn path=/trunk/; revision=39993
2009-03-12 23:08:01 +00:00
Johannes Anderwald
e5f6e4c0e8 - Disable some debug prints
- Close the real pin on exit / when a new wave stream is played. This should fix stuttering when changing the sample rate
- Always create the mixer pin

svn path=/trunk/; revision=39992
2009-03-12 22:11:53 +00:00
Jeffrey Morlan
8c83602d51 In a pipeline ("prog1 | prog2") run all programs simultaneously, using a real pipe instead of a temporary file. Output from RosBE "make" is now visible immediately instead of having to wait for it to complete.
svn path=/trunk/; revision=39991
2009-03-12 22:04:59 +00:00
Matthias Kupfer
f7a722ebda Evgeniy Boltik <bstsoft AT narod DOT ru>
- Fix draw icon with alpha in 32 bit.
- See issue #4243 for details.

svn path=/trunk/; revision=39989
2009-03-12 21:25:49 +00:00
Timo Kreuzer
004cc56ed5 LoadBitmapImage: - add space for 3 RGBQUADs to BITMAPINFO when biCompression is BI_BITFIELDS. Based on patch by Evgeniy Boltik <bstsoft at narod dot ru>, modified by me.
- Take into account BITMAPV4/V5HEADER sizes.
See issue #3708 for more details.

svn path=/trunk/; revision=39987
2009-03-12 20:55:34 +00:00
Jeffrey Morlan
9c84f62cd4 NtSetInformationObject: OBJECT_HANDLE_ATTRIBUTE_INFORMATION is just made of BOOLEANs, so it doesn't need ULONG alignment.
svn path=/trunk/; revision=39986
2009-03-12 20:29:32 +00:00
Timo Kreuzer
36277461a1 NtSetSystemInformation: - Don't leak the copied string when being called from user mode. - Don't recursively call ZwSetSystemInformation, instead continue the normal path.
svn path=/trunk/; revision=39985
2009-03-12 18:29:11 +00:00
Johannes Anderwald
53899ff4fa - Fix KSDATAFORMAT_WAVEFORMATEX & KSDATAFORMAT_DSOUND alignment
svn path=/trunk/; revision=39984
2009-03-12 17:51:28 +00:00
Aleksey Bragin
edb32a04eb - Remove two unnecessary boot types (Windows2000 and WindowsXP), and add ReactOSSetup2 type for WinLdr-style setup loader.
- Add a stub for LoadReactOSSetup2().

svn path=/trunk/; revision=39983
2009-03-12 14:42:02 +00:00
Johannes Anderwald
b2f937d0fe - Don't use a tag if there is none assigned
- Fixes a crash in es1370mp driver

svn path=/trunk/; revision=39982
2009-03-12 14:01:56 +00:00
Matthias Kupfer
372ea0433e - fix some German dialog ressources (2nd attempt)
svn path=/trunk/; revision=39981
2009-03-12 13:43:33 +00:00
Matthias Kupfer
b3d2497aaa - use symbolic names instead of numeric values (made for English and German, other languages needs to change)
svn path=/trunk/; revision=39980
2009-03-12 13:27:26 +00:00
Dmitry Gorbachev
e6e1b8bf6a Dutch translation, Jan Roeloffzen, bug #4263.
svn path=/trunk/; revision=39979
2009-03-12 12:35:27 +00:00
Aleksey Bragin
0641e0eff8 - Unhack usb mouse driver after endpoint parsing code was corrected.
- Cleanup usb mouse driver source code, make its structure similar to the usb keyboard driver.

svn path=/trunk/; revision=39978
2009-03-12 11:29:09 +00:00
Daniel Reimer
70d2641a89 Bug 4255: ReactOS norwegian translate files by Lars Martin Hambro
svn path=/trunk/; revision=39977
2009-03-12 11:28:33 +00:00
Daniel Reimer
5d5f4e9b30 Bug 4260: slovak translation for mplay32 by Mario Kacmar
Bug 4261: Translate Patch, Dutch for mplay32 by Jan Roeloffzen

svn path=/trunk/; revision=39976
2009-03-12 10:52:00 +00:00
Aleksey Bragin
defbc44f67 Evgeniy Boltik <bstsoft@narod.ru>
- Use bitmap's DIB palette, if it exists. Fixes problems described in bug 4147.
See issue #4147 for more details.

svn path=/trunk/; revision=39975
2009-03-12 10:48:52 +00:00
Aleksey Bragin
044b06829d - Load debug symbols if compiled with DBG, but don't load if booting with less than 96Mb of RAM.
svn path=/trunk/; revision=39974
2009-03-12 10:42:45 +00:00
Jeffrey Morlan
60d07a7af3 Instead of having DOSKEY print something when it successfully adds an alias, print an error message when it fails. Also implement some options that were missing.
svn path=/trunk/; revision=39973
2009-03-12 04:37:01 +00:00
Timo Kreuzer
1d680929bb delete old freetype folder
svn path=/trunk/; revision=39972
2009-03-12 04:00:56 +00:00
Timo Kreuzer
fa1d468c66 fix library name
svn path=/trunk/; revision=39971
2009-03-12 03:44:48 +00:00
Timo Kreuzer
3f626046f1 ok next try ;-)
svn path=/trunk/; revision=39970
2009-03-12 03:38:57 +00:00
Timo Kreuzer
b56c0bfbea fix build
svn path=/trunk/; revision=39969
2009-03-12 03:35:48 +00:00
Timo Kreuzer
608546a05e Remove freetype dll from build, build ftfd instead, the freetype font driver that currently still exports the needed functions directly for win32k.
svn path=/trunk/; revision=39968
2009-03-12 03:26:23 +00:00
Timo Kreuzer
8045178f6f Copy freetype to lib (will be converted to a static lib)
svn path=/trunk/; revision=39967
2009-03-12 03:16:15 +00:00
Timo Kreuzer
2a09b8d220 WIP 1/x: Move freetype font driver.
svn path=/trunk/; revision=39966
2009-03-12 03:00:51 +00:00
Dmitry Gorbachev
b1083de600 Swedish translation by Anton Adell (anton_hahaha *at* hotmail *dot* com). Bug #4245.
svn path=/trunk/; revision=39965
2009-03-12 00:05:59 +00:00
Cameron Gutman
d37359e14f - Merge aicom-network-fixes up to r39943
svn path=/trunk/; revision=39964
2009-03-11 22:15:12 +00:00
Matthias Kupfer
9a03c978ce - minor German translation and dialog resource fixes
svn path=/trunk/; revision=39963
2009-03-11 22:00:12 +00:00
Cameron Gutman
1326452802 - Fix instructions (I should've read the howto more closely)
svn path=/trunk/; revision=39962
2009-03-11 21:24:50 +00:00
Sylvain Petreolle
da261865d5 -Add French translation
thanks to elhoir who saw that my eyes and english aren't perfect :)

svn path=/trunk/; revision=39961
2009-03-11 20:54:37 +00:00
Dmitry Gorbachev
5c38f590b4 Add Japanese font to USetup.
svn path=/trunk/; revision=39960
2009-03-11 20:35:23 +00:00
Dmitry Gorbachev
a8274cb5f7 Do not crash on Pentium.
svn path=/trunk/; revision=39959
2009-03-11 20:34:34 +00:00
Cameron Gutman
5d5bd6fb04 - Add a driver section to Download
- Add the AC97 driver
 - We need an icon for this section

svn path=/trunk/; revision=39958
2009-03-11 19:53:23 +00:00
Johannes Anderwald
305a91c154 - Use Byteswap intriniscs to improve performance
- Hint by Physicus

svn path=/trunk/; revision=39957
2009-03-11 19:02:06 +00:00
Johannes Anderwald
6d0e4470e0 - Check if handle is re-used. Fixes double-freeing of handle & crash
svn path=/trunk/; revision=39956
2009-03-11 18:32:32 +00:00
Dmitry Chapyshev
da9027ac4f - Fix build
svn path=/trunk/; revision=39955
2009-03-11 18:17:54 +00:00
Johannes Anderwald
0a55745585 - Use Interlocked*List function to improve stability as a few of the timing issues have been resolved
- Queue a dpc for each completed buffer
- Complete the irp as soon as possible

svn path=/trunk/; revision=39954
2009-03-11 18:00:11 +00:00
Dmitry Chapyshev
a544749337 - Add Ukrainian translation by Sakara Yevhen
- Other small changes

svn path=/trunk/; revision=39953
2009-03-11 17:40:01 +00:00
Johannes Anderwald
e3ba7d5ef2 - Implement wave pcm bitrate conversion. Atm only 8-16 bit has been tested
- The tricky part is just to get result value into the right byte order (endianess)
- Thanks to Christoph and everyone else :)

svn path=/trunk/; revision=39952
2009-03-11 14:42:42 +00:00
Dmitry Chapyshev
2a3a7faf98 - Add Spanish translation by Javier Fernández
- Other small changes

svn path=/trunk/; revision=39951
2009-03-11 12:20:34 +00:00
Daniel Reimer
92d4e45e80 Translate the ReactOS MediaPlayer into German and Polish (Maciej Bialas).
Sync WinHLP32 and WordPad with Wine HEAD.

svn path=/trunk/; revision=39950
2009-03-11 12:11:28 +00:00
Dmitry Chapyshev
db29885bc0 - Add Russian translation
svn path=/trunk/; revision=39949
2009-03-11 11:14:05 +00:00
Dmitry Chapyshev
689f247b95 - Add mplay32 to bootcd
- Opening .wav, .cda, .avi, .mid files with mplay32

svn path=/trunk/; revision=39948
2009-03-11 10:57:05 +00:00
Dmitry Chapyshev
edc8b4e894 - Add simple multimedia player
svn path=/trunk/; revision=39947
2009-03-11 10:22:15 +00:00
Johannes Anderwald
0a23e307a1 - Add kmixer to bootcd
- Check if device supports a specified format. When the device doesnt support a format, query its datarange and create a format which it supports and create a kmixer pin which is used to convert the format
- Load kmixer.sys when sysaudio starts
- Call kmixer when there is work to do. 
- Bitrate increasing / decreasing is not working at all. (Need to find a working algorithm, volunteers?)
- Install kmixer service when an audio adapter is installed

svn path=/trunk/; revision=39946
2009-03-11 09:30:33 +00:00
Jeffrey Morlan
acdae19a65 Fix bug where wcscspn could return non-zero value on an empty string.
svn path=/trunk/; revision=39945
2009-03-11 03:35:29 +00:00
Jeffrey Morlan
db0b0ba158 Give an error message when trying to DEL a file that doesn't exist (Bug 4244). Patch by Victor Martinez <vicmarcal at hotmail.com>.
svn path=/trunk/; revision=39944
2009-03-11 02:17:53 +00:00
Matthias Kupfer
947cbd765b - fix the bitmap and memdc issue for menu items (popup arrow, check and radio symbols)
svn path=/trunk/; revision=39942
2009-03-10 23:48:21 +00:00
Matthias Kupfer
9c5d76e1bf - due to minor differences (marletting related) combine drawing routines for check box and radio button
- initial version for popup arrows, maybe someone know how to remove the bitmap and memory-dc stuff properly

svn path=/trunk/; revision=39940
2009-03-10 21:39:22 +00:00
ReactOS Portable Systems Group
83c3b848b3 - Rework Hyperspace Mapping Interface for Page zeroing. It is now more efficient and adapted to ReactOS.
- This also fixes some race conditions.
- There was a lot of difficulty getting this patch through because of everyone else adding their 2 cents to the code. Next time, wait. 


svn path=/trunk/; revision=39938
2009-03-10 20:52:39 +00:00
Aleksey Bragin
6965eb3bd8 - Fix a typo: set a value, not a bit.
svn path=/trunk/; revision=39937
2009-03-10 20:33:18 +00:00
Aleksey Bragin
084068b86a - Initialize hyperspace before page lists. Fixes boot problem (spotted by Alex).
svn path=/trunk/; revision=39936
2009-03-10 20:26:46 +00:00
Dmitry Gorbachev
df00880ca7 Fix bug #4249 and crash in QEMU. Alex Ionescu, bug #4249.
svn path=/trunk/; revision=39934
2009-03-10 17:47:11 +00:00
Dmitry Gorbachev
02a00d8520 Silence compiler warning.
svn path=/trunk/; revision=39933
2009-03-10 12:41:23 +00:00
Timo Kreuzer
01213b0fed Only warn when trying to free a NULL pointer with ExFreePoolWithTag
svn path=/trunk/; revision=39932
2009-03-10 05:22:38 +00:00
Timo Kreuzer
83b90e9547 Don't free a NULL pointer.
svn path=/trunk/; revision=39931
2009-03-10 04:34:33 +00:00
Timo Kreuzer
b60241301b Initial code for freetype font driver
svn path=/trunk/; revision=39930
2009-03-10 04:12:27 +00:00
Timo Kreuzer
974b832c83 Add sprintf.c for as long as our libcntpr doesn't have it.
svn path=/trunk/; revision=39929
2009-03-10 03:45:44 +00:00
Timo Kreuzer
c3586e7347 Make freetype ddi compliant, by linking to win32k only. Clean up excessive header usage in rosglue.c
svn path=/trunk/; revision=39928
2009-03-10 02:49:45 +00:00
Timo Kreuzer
26593d0ac7 Call ExFreePoolWithTag with 0 tag from ExFreePool instead of vice versa, bugcheck system, when Block is not inside any pool.
svn path=/trunk/; revision=39927
2009-03-10 02:16:38 +00:00
Johannes Anderwald
0533a9d290 - Implement KSPROPERTY_PIN_PROPOSEDATAFORMAT
- Add KSPROPERTY_PIN_PROPOSEDATAFORMAT handler to IPortWaveCyclic 


svn path=/trunk/; revision=39926
2009-03-10 01:52:51 +00:00
ReactOS Portable Systems Group
115377a581 - Implement a new Hyperspace Mapping Interface:
- The new interface is portable and much faster than before. For example, unmapping a hyperpage is almost a one-line operation.
    - The new interface is also thread-safe and uses the EPROCESS hyperspace spinlock.
    - However, in order to isolate from React Mm internals, the Hyper IRQL and Process are stored as globals, so this will not work on SMP.
    - For now, mapping vs. zero PTEs are not treated differently, but the two interfaces have been separated pending future work.
    - Performance tests with _rdtsc resulted in an improvement of over 300% compared to the old interface.
    - Hyperspace mappings are frequent, so the improvement is noticeable during startup (3/10ths of a second).
    - This also fixes incorrect initializtion of hyperspace -- pages were zeroed out (which requires hyperspace) before hyperspace was created.


svn path=/trunk/; revision=39925
2009-03-10 00:31:14 +00:00
Kamil Hornicek
468100e628 - fix glEdgeFlagPointe prototype
- clean up opengl32.h a bit

svn path=/trunk/; revision=39922
2009-03-09 19:55:00 +00:00
Kamil Hornicek
3ec78e9525 - fix some prototypes, remove dxroslayer from dsound
- sync dsound with wine head, it now works again (tested on win xp and reactos)

svn path=/trunk/; revision=39921
2009-03-09 19:46:37 +00:00
Kamil Hornicek
2c38f28ad1 - fix the class name, vbox guest additions installer proceeds a bit further now
svn path=/trunk/; revision=39920
2009-03-09 19:34:37 +00:00
Kamil Hornicek
599cdf24dd - fix logic, global mouse and keyboard hooks are supported, dinput now works again
svn path=/trunk/; revision=39919
2009-03-09 19:01:11 +00:00
Aleksey Bragin
86bdd2b0e0 - Fix wrong placement of KEYBOARD_DEVICE_EXTENSION structure.
- Fix wrong include order.
- Fixes build.

svn path=/trunk/; revision=39918
2009-03-09 18:49:47 +00:00
Johannes Anderwald
0ea44d711f - Disable message flood when playing audio files as it is very time critical and makes audio stutter
- Free remaining irps and make sure that the dpc finished before stopping the audio stream. This fixing stuttering when there are too few audio buffers available.
- Complete the IRPs when they are actually have played. This should make audio playback position become more accurate and prevents application to feed in too much audio buffers
- VLC 0.9.8a can now playback audio files (no window is shown -> different issue)

svn path=/trunk/; revision=39917
2009-03-09 18:05:56 +00:00
Johannes Anderwald
b27721cbe6 - Register default sound schemes when an new audio adapter is installed
- Pass the full filename to PlaySound as the sound might not be in standard location

svn path=/trunk/; revision=39915
2009-03-09 11:51:28 +00:00
Aleksey Bragin
c5a305d2a5 - Move USB keyboard LEDs managing code into an own function.
svn path=/trunk/; revision=39914
2009-03-09 10:11:24 +00:00
Aleksey Bragin
5b630715c1 - Major cleanup of USB keyboard driver:
* Remove huge hack, which is not needed anymore since 39912.
 * Put all global variables into device extension, allowing support for more than one USB keyboard.
 * Cleanup driver extension structure.
 * Remove unneeded endpoint finding code.
- Add test code for LEDs support (now puts three of them into ON state).

svn path=/trunk/; revision=39913
2009-03-09 10:04:40 +00:00
Aleksey Bragin
9b878bfeb9 - Fix an incorrect assumption that endpoint descriptors must immediately follow an interface descriptor (there may be generic descriptors in between too, as it is for e.g. USB HID devices). Thanks to Michael Lotz from Haiku for his help with this issue.
- Fix incorrect handling of alternate interface settings, which resulted in reading uninitialized memory.

svn path=/trunk/; revision=39912
2009-03-09 09:40:43 +00:00
Jeffrey Morlan
eb94cff07d add ConPrintf and ConPrintfPaging prototypes to cmd.h
svn path=/trunk/; revision=39911
2009-03-08 19:21:07 +00:00
Jeffrey Morlan
be7941b485 - Clean up code for DIR command
- Fix bug where "DIR directoryname /S" wouldn't list subdirectories (you needed to do directoryname\*.*)
- Get rid of extra * that appeared in DIR /B /S output

svn path=/trunk/; revision=39910
2009-03-08 17:37:11 +00:00
Dmitry Chapyshev
357903327b - Fix typo
svn path=/trunk/; revision=39909
2009-03-08 17:35:12 +00:00
Matthias Kupfer
f467c0a203 - continue "marletting"
- use marlett font for checkbox

svn path=/trunk/; revision=39908
2009-03-08 16:32:35 +00:00
Johannes Anderwald
2babefdc42 - Wait for the APC in wdmaud.drv
- Queue ~ one second of audio data before starting to stream
- Check if an audio pin is already open and re-use it in that case

svn path=/trunk/; revision=39907
2009-03-08 16:25:28 +00:00
Matthias Kupfer
74c6572ab1 - continue "marletting"
- use marlett font for caption buttons

svn path=/trunk/; revision=39906
2009-03-08 14:08:28 +00:00
Timo Kreuzer
ce78c454eb Bmfd: Rework code for BmfdQueryFontData, rename some structs, add BMFD_FONT struct, which is associated with a FONTOBJ, rewrite copying bits, so it can do scaling and rotation. Scaled fonts work now. Rotation is not yet finished.
svn path=/trunk/; revision=39905
2009-03-08 03:09:10 +00:00
Johannes Anderwald
52ccdffece - Document the mega-haxxx
svn path=/trunk/; revision=39904
2009-03-07 20:50:38 +00:00
Aleksey Bragin
179386fce6 - Fix UsbBuildGetStatusRequest macro.
svn path=/trunk/; revision=39903
2009-03-07 20:15:29 +00:00
Johannes Anderwald
4dd44cb8cd - Rewrite writing to common buffer to fix stuttering sound
svn path=/trunk/; revision=39902
2009-03-07 19:59:57 +00:00
Johannes Anderwald
0da1e6e5e9 - Free queued audio buffers and complete irps
svn path=/trunk/; revision=39901
2009-03-07 17:41:03 +00:00
Dmitry Chapyshev
b69eed875d - Sync comctl32, cryptui, mlang, msctf, netapi32, ole32, urlmon with Wine head
svn path=/trunk/; revision=39900
2009-03-07 08:34:55 +00:00
Art Yerkes
7db98868de Fix remaining issues in this neglected imported code. It's my fault it was
in a poor state for so long.

svn path=/trunk/; revision=39899
2009-03-07 00:18:06 +00:00
Matthias Kupfer
56de5c087f - translate remaining items to native language (German)
svn path=/trunk/; revision=39898
2009-03-06 22:33:54 +00:00
Matthias Kupfer
0a9c2d05f4 - temporary fix to show current time format setting in control panel
svn path=/trunk/; revision=39897
2009-03-06 22:25:34 +00:00
Cameron Gutman
afe9844e8b - Merge aicom-network-fixes up to r39293
svn path=/trunk/; revision=39896
2009-03-06 20:32:17 +00:00
Johannes Anderwald
6a947146d8 - Sorry broke build
svn path=/trunk/; revision=39895
2009-03-06 19:22:56 +00:00
Johannes Anderwald
4ced7e9c28 - Fix a few issues to open wdmaud / write to
- Under lucky circunstances, you might be able to now to play an mp3 with winamp ;)
- Dedicated to all people helping to achieve this

svn path=/trunk/; revision=39894
2009-03-06 19:14:56 +00:00
Johannes Anderwald
587e95a112 - Implement a fast read / fast write path with KsStreamIo
- Fix 2 bugs in KsRegister*Worker code
- Implement fast write support for the general purpose dispatcher in portcls
- Implement a IIrpQueue object will queue pending irp requests
- Refactor IPinWaveCyclic interrupt handling code to work with IIrpQueue
- Handle wave out request in IRP_MJ_WRITE and submit them using KsStreamIo
- 

svn path=/trunk/; revision=39893
2009-03-06 19:06:21 +00:00
Jeffrey Morlan
fff257c059 Implement SETLOCAL and ENDLOCAL commands. Make delayed expansion optional (disabled by default, enabled by CMD /V switch or with SETLOCAL)
svn path=/trunk/; revision=39892
2009-03-06 18:05:45 +00:00
Dmitry Chapyshev
64455e3b04 - Fix exceptions in some cases (if CriticalSection->DebugInfo = NULL)
svn path=/trunk/; revision=39891
2009-03-06 18:03:04 +00:00
Jeffrey Morlan
79c11338fa - Ignore special characters in a REM line.
- Make the \n-printing in batch files with ECHO on more consistant with how Windows does it.

svn path=/trunk/; revision=39890
2009-03-06 17:27:42 +00:00
Jeffrey Morlan
58e2d39f21 FAT(X)IsDirectoryEmpty: When done with one page, go to the next one instead of reading the same page over again. Fixes inability to remove directories that previously had many files in them.
svn path=/trunk/; revision=39889
2009-03-06 17:23:29 +00:00
Matthias Kupfer
1839fc66f1 - more improved version, reduced calls, allocate ressources if needed only
svn path=/trunk/; revision=39888
2009-03-06 16:47:44 +00:00
Ged Murphy
953536f72d Don't leak font objects
svn path=/trunk/; revision=39887
2009-03-05 22:31:11 +00:00
Johannes Anderwald
ab3175b141 - Setup winmm entries for wdmaud.drv if they dont exist yet
svn path=/trunk/; revision=39886
2009-03-05 14:40:14 +00:00
Johannes Anderwald
fed8d4f74d - Add wdmaud.drv to bootcd
svn path=/trunk/; revision=39885
2009-03-05 14:35:10 +00:00
Johannes Anderwald
92a0cd07ae - Implement Pin object functions
- Remove test sample function, as silverblade will implement those

svn path=/trunk/; revision=39884
2009-03-05 13:50:54 +00:00
Dmitry Chapyshev
0302c8f272 - Add more check of parametres in GetDIBits
svn path=/trunk/; revision=39882
2009-03-05 12:22:35 +00:00
Matthias Kupfer
31c097e8b6 - Change menu symbols drawing to marlett font.
svn path=/trunk/; revision=39881
2009-03-05 11:48:20 +00:00
Jeffrey Morlan
39d2af2432 Make CALL command do another round of %-variable substitutions.
svn path=/trunk/; revision=39879
2009-03-05 05:10:10 +00:00
Matthias Kupfer
ee68df6943 - Draw bullet for menu radio group with ellipse instead of pie.
- This is a better solution for issue #4193.
- The pie problem remains.

svn path=/trunk/; revision=39878
2009-03-04 22:16:25 +00:00
Johannes Anderwald
1ad6ef9eec - Start implementing kmixer
svn path=/trunk/; revision=39877
2009-03-04 21:13:10 +00:00
Aleksey Bragin
d6b8e5ff23 - Make TOKEN pointer in OBJECT_HEADER a fast reference, just like on Windows.
- Update SD cache code to treat it as such.
- Improves performance by 500% during security checks - noticeable impact during large file or registry transfer operations.

svn path=/trunk/; revision=39876
2009-03-04 20:58:32 +00:00
Gregor Brunmar
78cc4931af Added stubs for Direct3D 7, 8 and 9 tests in dxdiag.
svn path=/trunk/; revision=39875
2009-03-04 20:34:17 +00:00
Matthias Kupfer
3804c261a6 - modify hackfix DrawMenuBar function use user32 function instead of sending messages
- DefWndNCPaint needs to split up and some parts have to move to subsystems to provide the menu functions independent of window non-client drawing

svn path=/trunk/; revision=39874
2009-03-04 19:35:58 +00:00
Art Yerkes
ab0b3f0bd4 Using a lock inside a slab of memory to lock against moving the same memory
is definitely a bug.  This fixes it, but the intention of the previous code
might not be what I thought it was.  I won't be sad if this fix is reverted
and something else takes its place.

svn path=/trunk/; revision=39873
2009-03-04 17:03:06 +00:00
Matthias Kupfer
34e0264ab9 Evgeniy Boltik <bstsoft AT narod DOT ru>
- Fix crash in Eng function
- See issue #4173 for details.

svn path=/trunk/; revision=39872
2009-03-04 16:34:33 +00:00
Matthias Kupfer
89a210a96b Sascha Clausen <r4v3r AT hotmail DOT de>
- Draw bullet for menu radio group.
- See issue #4193 for details.

svn path=/trunk/; revision=39871
2009-03-04 16:29:57 +00:00
Matthias Kupfer
4ae3c614b0 Evgeniy Boltik <bstsoft AT narod DOT ru>
- Fix if param Brush == NULL.
- See issue #4220 for details.

svn path=/trunk/; revision=39870
2009-03-04 16:25:22 +00:00
Dmitry Chapyshev
b6d8ca9259 - Add GUIDs for msctf
svn path=/trunk/; revision=39869
2009-03-04 15:32:21 +00:00
Dmitry Chapyshev
f98dc905a0 - Sync crypt32, jscript, mapi32, mlang, msctf, msvcrt20, msvcrt40, msxml3, snmpapi, urlmon with Wine head
svn path=/trunk/; revision=39867
2009-03-04 15:29:32 +00:00
Dmitry Chapyshev
cc48677f8e - Sync spoolss with Wine head
- Fix winspool stubs

svn path=/trunk/; revision=39866
2009-03-04 15:24:06 +00:00
Dmitry Chapyshev
77943b12e7 - Fix header
svn path=/trunk/; revision=39865
2009-03-04 15:22:48 +00:00
Johannes Anderwald
e0a999407e - Import libsamplerate from http://www.mega-nerd.com/SRC/download.html
- It will be used for samplerate conversion in kmixer
- Thanks to blight for helping with asm
- Do not import medium / high quality coeffs (600KB / 8MB file size)

svn path=/trunk/; revision=39864
2009-03-04 14:58:14 +00:00
Aleksey Bragin
dffc4ed5a6 - Add first version of USB keyboard driver (limitations: no keyboard LEDs support, no repeated keypress support, right-side modifier keys not supported).
- Cleanup source code of USB mouse driver.

svn path=/trunk/; revision=39863
2009-03-04 13:40:22 +00:00
Jeffrey Morlan
5f17f63202 In the CRT, replaced __set_errno calls having Win32 error codes as their argument with _dosmaperr.
svn path=/trunk/; revision=39862
2009-03-04 07:39:44 +00:00
Jeffrey Morlan
6db382c056 A little cleanup of cmd.c:
- Remove bIsBatch variable, and just check for bc != NULL instead.
- Since Batch doesn't return until the batch file is finished, CMD /C no longer needs to call ProcessInput.
- Don't bother loading ntdll.dll on Windows 98; it doesn't export the functions we want to use from it.

svn path=/trunk/; revision=39861
2009-03-04 04:23:40 +00:00
Timo Kreuzer
d7f6c74d76 Bmfd: The cjGlyphMax field of the PFD_DEVICEMETRICS, the cjSize parameter of BmfdQueryFontData and it's return value all specify the size of the full GLYPHBITS structure, not only the glyph bitmap. Fixes problem of truncated Glyphs. Fix calculation of glyph handles. TODO: 90° rotation and integral scaling.
svn path=/trunk/; revision=39860
2009-03-04 00:46:32 +00:00
Aleksey Bragin
c712fa746c - Refactor Fast Reference implementation into a generic module with init/acquire/release/compare/insert interfaces, and update the executive callback & object manager referencing code to use it.
- Always capture fast reference values on the stack since a fast reference is by nature volatile.
- Based off earlier work from Alex to fix callback implementation.

svn path=/trunk/; revision=39859
2009-03-03 20:24:10 +00:00
Jeffrey Morlan
516e7fa09c Rework batch-file processing so that 'call file.bat' doesn't return until the file has finished, allowing constructs like 'call file.bat & somethingelse' to work properly.
svn path=/trunk/; revision=39858
2009-03-03 20:06:54 +00:00
Aleksey Bragin
c933e1c643 - Consider Pnp initialized after system drivers finished loading.
- Fix reinitialization routines callbacks: processing reinit callbacks after EVERY driver load, including boot drivers is wrong. The sequence should be init boot drivers, call boot drivers reinit routines, load pnp drivers, load system drivers, call reinit routines. And then, when Pnp is initialized, call reinit routines after every driver module load event.

svn path=/trunk/; revision=39857
2009-03-03 12:55:58 +00:00
Aleksey Bragin
b988d2bd3d - Move part of the 1st stage pnp hacks to kbdclass driver. Previously, the driver (i8042prt) relied on kbdclass's normal reinit routine being called BEFORE a registered boot reinit routine, which is certainly wrong on a real NT system.
- Now, the correct order is ensured, and it is not relying on a broken reinit calling order in ReactOS anymore.

svn path=/trunk/; revision=39856
2009-03-03 12:06:57 +00:00
Dmitry Chapyshev
35ad8f5e49 - Comment all actctx functions. They are not implemented also programs can work without them
svn path=/trunk/; revision=39855
2009-03-03 11:27:52 +00:00
Dmitry Chapyshev
a7aaab1dbd - Fix build
svn path=/trunk/; revision=39854
2009-03-03 11:05:42 +00:00
Dmitry Chapyshev
472ec17a2f - Sync ole32 and oleaut32 with Wine head
svn path=/trunk/; revision=39853
2009-03-03 09:12:43 +00:00
Dmitry Chapyshev
3909c139ee - Sync header
svn path=/trunk/; revision=39852
2009-03-03 09:12:03 +00:00
Dmitry Chapyshev
576b4e9bfd - Sync comdlg32 with Wine head
svn path=/trunk/; revision=39851
2009-03-03 09:10:25 +00:00
Dmitry Chapyshev
a7bbe6d2ec - Sync comctl32 with Wine head
svn path=/trunk/; revision=39850
2009-03-03 09:09:59 +00:00
Timo Kreuzer
f1aeddb982 Initial version of a gdi font driver for bitmap fonts (.fon / .fnt). It starts to work, but not yet correctly. Glyphs are truncated. Developed on Windows XP.
svn path=/trunk/; revision=39849
2009-03-03 02:42:00 +00:00
Jeffrey Morlan
eff51218fb Speed up batch file execution by reading a line at a time instead of a byte at a time.
svn path=/trunk/; revision=39848
2009-03-02 20:00:26 +00:00
Aleksey Bragin
642a549191 - Add privileges check to SystemTimeAdjustmentInformation SSI routine. Spotted by Dmitry Chapyshev.
svn path=/trunk/; revision=39847
2009-03-02 19:57:27 +00:00
Jeffrey Morlan
484ee2fa7e Separate batch file contexts and FOR contexts into two different structs, since they don't actually have anything in common any more
svn path=/trunk/; revision=39846
2009-03-02 19:08:25 +00:00
Dmitry Chapyshev
6b888f2d5b - Fix typo
svn path=/trunk/; revision=39844
2009-03-02 16:21:24 +00:00
Dmitry Chapyshev
bd718d68df - Add check of returned value for EnumDisplaySettings
svn path=/trunk/; revision=39843
2009-03-02 14:08:46 +00:00
Dmitry Chapyshev
8d143da0d2 - Add more known dlls
- Add to Path variable a directory wbem

svn path=/trunk/; revision=39842
2009-03-02 13:30:10 +00:00
Dmitry Chapyshev
8cbf61f0d3 - Get system color depth for application list
svn path=/trunk/; revision=39841
2009-03-02 12:46:53 +00:00
Dmitry Chapyshev
3ccbacec4d - Change themes fonts to Tahoma
svn path=/trunk/; revision=39840
2009-03-02 12:23:07 +00:00
James Tabor
7f9d753a27 - Add LanguagePack support to GetFontLanguageInfo.
svn path=/trunk/; revision=39839
2009-03-02 01:54:37 +00:00
Matthias Kupfer
78b88e1063 - Show the currently selected color scheme in combo box instead of default "Reactos Standard".
- The value HKCU\Control Panel\Apperance\(New)Current isn't used yet.
- See issue #4164 for details.

svn path=/trunk/; revision=39838
2009-03-01 22:55:02 +00:00
James Tabor
3c959e9093 - Implement GdiIsPlayMetafileDC.
svn path=/trunk/; revision=39837
2009-03-01 21:22:53 +00:00
Jeffrey Morlan
9ea64ffebb Fix BatchParams to handle unconventional spacing/quoting properly.
svn path=/trunk/; revision=39836
2009-03-01 20:25:13 +00:00
James Tabor
a784e30920 - Implement GdiIsMetaFileDC and GdiIsMetaPrintDC.
svn path=/trunk/; revision=39835
2009-03-01 19:37:52 +00:00
Jeffrey Morlan
e81627a11d In the DOSKEY command:
- Fix handling of spaces
- When reading from file, remove ending '\n'
- Don't convert macro name to lower case
- Disallow empty macro name or macro names containing spaces

svn path=/trunk/; revision=39834
2009-03-01 19:11:55 +00:00
Dmitry Chapyshev
7f9c2e8970 - Fix pictures icons
- Add data for .avi files

svn path=/trunk/; revision=39833
2009-03-01 18:05:07 +00:00
Andrew Greenwood
96037bb17d Don't enable sndblst.sys yet
svn path=/trunk/; revision=39832
2009-03-01 17:34:03 +00:00
Dmitry Chapyshev
337dbdadf1 - Fix dmo.h and mediaerr.h
svn path=/trunk/; revision=39831
2009-03-01 17:15:00 +00:00
Matthias Kupfer
6a5097f0bb Sascha Clausen <r4v3r AT hotmail DOT de>
- Set menu ID.
- See issue #2144 for details.

svn path=/trunk/; revision=39830
2009-03-01 16:12:34 +00:00
Stefan Ginsberg
6a56dca9a3 - Fix 37825 -- Yes, we shouldn't check if an unsigned value is larger than or equal to zero, so just fix the check instead of...commenting out the assertion.
svn path=/trunk/; revision=39829
2009-03-01 15:35:31 +00:00
Dmitry Chapyshev
d61a6ea982 - Remove duplicates
svn path=/trunk/; revision=39828
2009-03-01 14:31:31 +00:00
Johannes Anderwald
4b4d95da9c - Fix compilation of cmidriver
- Does not yet link

svn path=/trunk/; revision=39827
2009-03-01 14:29:57 +00:00
Dmitry Chapyshev
2eba686398 - Full path to mci*.dll is unneeded
- Add system.ini

svn path=/trunk/; revision=39826
2009-03-01 14:16:14 +00:00
Dmitry Chapyshev
9f32d9e704 - Add iccvid, imaadp32.acm, msadp32.acm, msg711.acm, msvidc32 from Wine
svn path=/trunk/; revision=39825
2009-03-01 13:42:09 +00:00
Johannes Anderwald
35c0dcde31 - Disable ASSERTMSG macro to fix compilation
- Fix definition of PCPROPERTY_REQUEST

svn path=/trunk/; revision=39824
2009-03-01 13:10:33 +00:00
Sylvain Petreolle
36586bfb83 Recode rosapps French files from UTF-8 to CP-1252.
svn path=/trunk/; revision=39823
2009-03-01 12:47:18 +00:00
Johannes Anderwald
730cfa49a0 - Add missing guids, interfaces, structs to get CMIDriver compile
svn path=/trunk/; revision=39822
2009-03-01 12:45:32 +00:00
Dmitry Chapyshev
832f03d77d - Add mciavi32, mcicda, mciqtz32, mciseq, mciwave from Wine
svn path=/trunk/; revision=39821
2009-03-01 11:54:06 +00:00
Dmitry Gorbachev
835d718621 Recode French files from UTF-8 to CP-1252.
svn path=/trunk/; revision=39820
2009-03-01 11:20:29 +00:00
Dmitry Gorbachev
f9ad0355df - Add missing strings to RC files, fix formatting. Mario Kacmar, bug #4211.
- Fix other translations in the same spirit.

svn path=/trunk/; revision=39819
2009-03-01 10:59:10 +00:00
Jeffrey Morlan
ba3e9218c7 - FileGetString: Only end line on '\n', not on '\r'.
- Various improvements to ExpandAlias

svn path=/trunk/; revision=39817
2009-02-28 18:00:38 +00:00
Johannes Anderwald
69f81beb13 - Cleanup code a bit
svn path=/trunk/; revision=39816
2009-02-28 12:04:00 +00:00
Aleksey Bragin
09ce3c6e91 - If a driver has no Tag specified it should be defaulted to the max ULONG value, so it gets loaded after all drivers with correct tags. This fixes a problem of null.sys and beep.sys loading up to TagCount (20 for Base group) times during each boot.
svn path=/trunk/; revision=39815
2009-02-28 10:29:06 +00:00
James Tabor
fde70551ec - No code change, adding notes to header.
svn path=/trunk/; revision=39798
2009-02-28 04:41:52 +00:00
Andrew Greenwood
60a7be44dc Started new implementation of Sound Blaster driver (kernel mode), which
at present just looks at the settings in the registry (actual sound
blaster code to go in a dedicated library elsewhere for later reuse in
portcls.) Also updated wdmaud.drv - it can only identify how many devices
have been reported by janderwald's code at present.


svn path=/trunk/; revision=39797
2009-02-27 22:50:58 +00:00
Dmitry Gorbachev
36bf174662 Fix warning: implicit declaration of function 'VALID_SOUND_DEVICE_TYPE'
svn path=/trunk/; revision=39796
2009-02-27 21:46:59 +00:00
Jeffrey Morlan
9ed19ef909 Handle quotes in a CMD /C or CMD /K argument properly.
svn path=/trunk/; revision=39795
2009-02-27 18:09:33 +00:00
Dmitry Chapyshev
83f58a9337 - Add winetests for mscms, msvcrtd, quartz, secur32
svn path=/trunk/; revision=39794
2009-02-27 17:57:06 +00:00
Dmitry Chapyshev
bd5f91d815 - Add winetests for pdh, qmgr, rasapi32, serialui, snmpapi, spoolss, twain_32, userenv, wldap32
svn path=/trunk/; revision=39793
2009-02-27 17:32:07 +00:00
Dmitry Chapyshev
4c6d8cb1d8 - Add twain.h from Wine
svn path=/trunk/; revision=39792
2009-02-27 17:30:46 +00:00
Dmitry Chapyshev
3fa4b5dde4 - Add winetests for msctf, msvfw32, ntdsapi, ntprint, oleacc
svn path=/trunk/; revision=39791
2009-02-27 16:45:02 +00:00
Dmitry Chapyshev
06448880e7 - Add winetests for inetcomm, inetmib1, itss, localspl, localui
svn path=/trunk/; revision=39790
2009-02-27 16:23:50 +00:00
Dmitry Chapyshev
67c56404b6 - Add DNS_RRSET_INIT, DNS_RRSET_ADD, DNS_RRSET_TERMINATE
svn path=/trunk/; revision=39789
2009-02-27 15:59:01 +00:00
Dmitry Chapyshev
569bd394b8 - Add winetests for credui, cryptnet, cryptui, dnsapi, fusion
svn path=/trunk/; revision=39788
2009-02-27 15:57:39 +00:00
Dmitry Gorbachev
1f80c7f756 Japanese explorer-new translation by Pcds90net (ds200xnet-ros|at|yahoo|dot|co|dot|jp). Bug #4203.
svn path=/trunk/; revision=39787
2009-02-27 15:50:43 +00:00
Aleksey Bragin
a96493a8eb - Wait untill all usb embedded drivers are initialized before returning from DriverEntry. This allows usb mouse driver to have a chance to register itself before mouclass is loaded.
svn path=/trunk/; revision=39786
2009-02-27 15:29:54 +00:00
Johannes Anderwald
f717c34ae1 - Add sanity checks
- Fix memory leaks

svn path=/trunk/; revision=39784
2009-02-27 13:19:10 +00:00
Johannes Anderwald
49c8f850cd - Implement enumerating devices for wave in devices
- Implement mapping virtual device id to real filter id and pin id
- Wdmaud can now select the correct pin

svn path=/trunk/; revision=39783
2009-02-27 12:22:18 +00:00
Johannes Anderwald
89797da903 - Complete missing irp
- Handle all properties of KSPROPSETID
- Initialize filter properties in a deferred routine
- Add more error checks

svn path=/trunk/; revision=39782
2009-02-27 11:22:16 +00:00
Johannes Anderwald
d74f376c18 - Ignore the failure of device interface registration as a audio might not have been initialized yet
svn path=/trunk/; revision=39781
2009-02-27 00:22:32 +00:00
Dmitry Gorbachev
a47d006bd7 Add GetListBoxInfo()
svn path=/trunk/; revision=39779
2009-02-26 23:32:52 +00:00
Johannes Anderwald
b5cdd80eb5 - Disable checking of nonactive device interface because the code is not working yet (IoSetDeviceInterfaceState requires more work)
svn path=/trunk/; revision=39777
2009-02-26 20:36:56 +00:00
Johannes Anderwald
be75d0f7aa - Change service type of RosAudioSrv to automatically start when an audio adapter is installed
- Also start RosAudioSrv

svn path=/trunk/; revision=39776
2009-02-26 19:15:35 +00:00
Johannes Anderwald
586e8ccb95 - Start automatically sysaudio / wdmaud when audiosrv is started
svn path=/trunk/; revision=39775
2009-02-26 18:29:15 +00:00
Johannes Anderwald
61efbfa491 - Implement CMP_RegisterNotification stubs
- Fixes audiosrv crash

svn path=/trunk/; revision=39774
2009-02-26 17:46:41 +00:00
Dmitry Chapyshev
7183be3ead - Sync winetests with Wine head (comcat, crypt32, gdiplus, lz32, mapi32, mlang, msacm32, mshtml, msvcrt, netapi32, riched20, riched32, rsaenh, schannel, setupapi, shdocvw, urlmon, user32, usp10, uxtheme, version, winhttp, wininet, wintrust, ws2_32)
svn path=/trunk/; revision=39773
2009-02-26 13:26:26 +00:00
Dmitry Chapyshev
6069429da7 - Update headers
svn path=/trunk/; revision=39772
2009-02-26 13:22:05 +00:00
Aleksey Bragin
493259d7d4 - Rename a variable so it doesn't conflict with a reserved keyword.
svn path=/trunk/; revision=39771
2009-02-26 13:19:34 +00:00
Aleksey Bragin
22fa5a4f23 - Actually advance current item pointer to the next one when traversing a linked list. Fixes an infinite loop when building USB interface.
svn path=/trunk/; revision=39770
2009-02-26 13:14:46 +00:00
Dmitry Chapyshev
0f11de6b0d - Add msctf from Wine
svn path=/trunk/; revision=39769
2009-02-26 11:43:42 +00:00
Christoph von Wittich
9461e682d1 partially revert the mshtml sync as it breaks gecko installation
svn path=/trunk/; revision=39768
2009-02-26 11:33:04 +00:00
Dmitry Chapyshev
9bbe0fef07 - Update Russian translation
svn path=/trunk/; revision=39767
2009-02-26 10:36:26 +00:00
Dmitry Chapyshev
bb65c52303 - Sync itss, mlang with Wine head
svn path=/trunk/; revision=39766
2009-02-26 10:34:15 +00:00
Dmitry Chapyshev
8dd9b00120 - Sync objsel, ntprint, netapi32, mshtml with Wine head
svn path=/trunk/; revision=39765
2009-02-26 10:32:48 +00:00
Dmitry Chapyshev
fac8159392 - Sync rsaenh, shdocvw, shlwapi with Wine head
svn path=/trunk/; revision=39764
2009-02-26 10:29:58 +00:00
Dmitry Chapyshev
a96dc753be - Sync wldap32, uxtheme, sxs with Wine head
svn path=/trunk/; revision=39763
2009-02-26 10:27:27 +00:00
Dmitry Chapyshev
86b4bf9764 - Delete unneeded file
svn path=/trunk/; revision=39762
2009-02-26 10:24:39 +00:00
Dmitry Chapyshev
b0aef63d27 - Sync gdiplus, hhctrl and inetcomm with Wine head
svn path=/trunk/; revision=39761
2009-02-26 10:24:00 +00:00
Dmitry Chapyshev
81ccdcd42b - Sync crypt32 and cryptui with Wine head
svn path=/trunk/; revision=39760
2009-02-26 10:21:59 +00:00
Dmitry Chapyshev
b6bab62a3b - Sync atl and cabinet with Wine head
svn path=/trunk/; revision=39759
2009-02-26 10:20:22 +00:00
Johannes Anderwald
be3c2ddc31 - Fix wdmaud / sysaudio service installation when a driver is installed
svn path=/trunk/; revision=39758
2009-02-26 00:04:26 +00:00
Johannes Anderwald
5f60162daa - Refactor irp handling to support playing new stream irps properly
- Complete several irps to allow audio devices to be shutdown properly and re-used

svn path=/trunk/; revision=39757
2009-02-25 22:30:20 +00:00
Pierre Schweitzer
1675e01073 Mini optimalisation of RtlGenerate8dot3Name.
Patch by Peter Veenstra 
See issue #4152 for more details.

svn path=/trunk/; revision=39756
2009-02-25 22:30:17 +00:00
Aleksey Bragin
d8b00f839d - Scan three PCI buses in the legacy USB driver instead of 2. Fixes UHCI/EHCI detection issues in VMWare Workstation 6.5 and higher (Emulated UHCI is located on bus 2).
svn path=/trunk/; revision=39755
2009-02-25 20:37:50 +00:00
Aleksey Bragin
419e45a723 - Fix a horrible bug, when DriverEntry was not having __stdcall calling convention.
svn path=/trunk/; revision=39754
2009-02-25 16:00:38 +00:00
Johannes Anderwald
866d5ef497 - Fix a bug in the audio_test programm which initialized the deviceinfo before another syscall
- Complete also an unhandeled irp
- Implement IOCTL_CLOSE_WDMAUD
- Account the number of times pin can be instantiated in sysaudio and apply changes to SYSAUDIO_CLIENT structure
- There is still a bug which prevents closing the audio adapter at the 2nd time

svn path=/trunk/; revision=39753
2009-02-25 15:55:21 +00:00
Dmitry Chapyshev
a15e6fe4ad - Fix build. Sorry
svn path=/trunk/; revision=39752
2009-02-25 15:54:37 +00:00
Dmitry Chapyshev
eaa65d2024 - Add inseng, localspl, wuapi from Wine
svn path=/trunk/; revision=39751
2009-02-25 15:26:49 +00:00
Dmitry Chapyshev
c7826cae81 - Sync spoolss with Wine head
svn path=/trunk/; revision=39750
2009-02-25 14:10:21 +00:00
Andrew Greenwood
ef5347287b Set svn:eol-style native on ntstrsafe.h
svn path=/trunk/; revision=39749
2009-02-25 13:07:00 +00:00
Stefan Ginsberg
3268f920af - Minor optimization to ExFreePoolWithTag -- also reformat slightly.
svn path=/trunk/; revision=39748
2009-02-25 13:05:05 +00:00
Aleksey Bragin
337400aaa8 - Don't match tags if Tag is 0.
svn path=/trunk/; revision=39747
2009-02-25 12:50:41 +00:00
Aleksey Bragin
228454149b Alex Vlasov
- blockdev.c: Implement misc helper functions.
- direntry.c: Some changes to query dirents info for IRP_MJ_DIRECTORY_CONTROL, and the routine that locates a single dirent for IRP_MJ_CREATE.
- fastfat.c: Implement queuing support (FatQueueRequest / FatDequeueRequest).
- fat.c: Cleanup, use helper functions FatPin*Page.
- fcb.c: Add FCB helper routines.
- Header files: Change structures for future usage.
- Add PSEH2 library usage.

svn path=/trunk/; revision=39746
2009-02-25 12:25:06 +00:00
Johannes Anderwald
bc97ce2e19 - Remove sb16 driver entry
svn path=/trunk/; revision=39745
2009-02-25 09:29:13 +00:00
Andrew Greenwood
7736e500c5 Move sb16_nt4 and sndblst out of the way in preparation of a decent rewrite.
I made both of these, they are both incomplete. Neither are included in the
build at present. They'll be removed eventually, once I've finished on the
new version.


svn path=/trunk/; revision=39744
2009-02-25 09:10:46 +00:00
Jeffrey Morlan
b18a547c1b Implement complete support for FOR command (including /D, /F, /L, and /R switches). cmd is now close to being able to run RosBE 1.3's initialization without errors.
svn path=/trunk/; revision=39742
2009-02-24 20:29:18 +00:00
Johannes Anderwald
93ce0dce1f - Fix enumerating of KSDATARANGES
- Increment pin instance count when a new pin is created
- Complete IRP on close request for filter 
- Make sure IRP Status block is set when completing played stream IRP 
- Silence debug prints
- Enumerating number of channels and data formats should now work

svn path=/trunk/; revision=39740
2009-02-24 18:38:39 +00:00
Johannes Anderwald
8f47f51547 - Explictly use unicode structures
svn path=/trunk/; revision=39739
2009-02-24 18:05:07 +00:00
Aleksey Bragin
8e3ad1d1df - Make SystemProcessInformation return required size if buffer is too small. Matches Windows XP behavior.
See issue #4087 for more details.

svn path=/trunk/; revision=39738
2009-02-24 14:02:39 +00:00
Aleksey Bragin
98d1576628 - If looking up a long name for a process failed, use short one. This fixes the issue with "System" not being displayed correctly.
- Round up process name length more correctly, as suggested by Evgeniy Boltik.
See issue #4087 for more details.

svn path=/trunk/; revision=39737
2009-02-24 11:34:08 +00:00
Aleksey Bragin
d06192c7c9 - Fix freed memory usage in SeLocateProcessImageName, spotted by Jan Roeloffzen.
- Use a correct structure member in SeAuditProcessCreationInfo (but it's still the same pointer).
- Rewrite bottom part of the function to better match ReactOS coding style.
See issue #4087 for more details.

svn path=/trunk/; revision=39736
2009-02-24 11:06:13 +00:00
Dmitry Chapyshev
3eb45a8114 - Sync Tahoma fonts with Wine head
svn path=/trunk/; revision=39735
2009-02-24 11:04:53 +00:00
Dmitry Chapyshev
cc3e2f3f75 - Add mscms, msftedit, msrle32 from Wine
svn path=/trunk/; revision=39734
2009-02-24 09:59:50 +00:00
Stefan Ginsberg
8294273359 - Fix an assembler warning on release build
svn path=/trunk/; revision=39733
2009-02-24 00:48:11 +00:00
Timo Kreuzer
8fd740df04 Add DbgPrint stub. Fixes release build of setupldr.
svn path=/trunk/; revision=39732
2009-02-24 00:21:08 +00:00
Johannes Anderwald
cfbea3776e - Fix release build
- Complete irps which were forgotten

svn path=/trunk/; revision=39731
2009-02-23 23:24:58 +00:00
Stefan Ginsberg
49d00ffaaa - Fix another issue with Portcls release build -- move an assignment outside ASSERT, and ASSERTify the return value by using a local variable
svn path=/trunk/; revision=39730
2009-02-23 22:40:53 +00:00
Stefan Ginsberg
dcc1744ad9 - Fix Portcls release build by putting a variable inside a DBG #define as it is only used in an ASSERT()
svn path=/trunk/; revision=39729
2009-02-23 22:19:58 +00:00
Johannes Anderwald
4c08a87ceb - Set a completion routine for irps send to lower devices by KsSynchronousIoControlDevice
- Fix a bug in PcPropertyHandler
- Implement more aspects of IOCTL_GETCAPABILITIES

svn path=/trunk/; revision=39728
2009-02-23 21:51:41 +00:00
Dmitry Gorbachev
dfb4c51505 Fix compilation of wdmaud.sys
svn path=/trunk/; revision=39726
2009-02-23 14:42:13 +00:00
Dmitry Gorbachev
39deec0a24 Fix mmsystem.h
svn path=/trunk/; revision=39725
2009-02-23 13:54:05 +00:00
Dmitry Gorbachev
4a4536189b Trying to fix r39718, r39719...
svn path=/trunk/; revision=39724
2009-02-23 13:40:50 +00:00
Dmitry Gorbachev
f8a9311089 Remove a hack from KiTrap14. Put a hack in other place.
svn path=/trunk/; revision=39723
2009-02-23 13:18:28 +00:00
Dmitry Gorbachev
4bd719527f - Reenable ACPI, it works now. Patch by Cameron Gutman. Bug #3363.
- But disable ACPIEnumerateDevices().

svn path=/trunk/; revision=39722
2009-02-23 13:17:48 +00:00
Dmitry Gorbachev
9b42ebfbcc Call IopEnumerateDevice() later, after IopCreateArcNames().
svn path=/trunk/; revision=39721
2009-02-23 13:17:07 +00:00
Dmitry Gorbachev
50ee6815d3 Allow shared interrupts.
svn path=/trunk/; revision=39720
2009-02-23 13:16:43 +00:00
Johannes Anderwald
cb2ab2abe6 - Extend test prog for quering capabilities
- Store PCFILTER in subdevice filter
- Call driver provided property request handlers
- partly implement waveout get capabilties (WIP)
- remove definitions for waveoutcaps, auxcaps, waveincaps, they are defined in mmsystem.h

svn path=/trunk/; revision=39719
2009-02-23 11:13:35 +00:00
Johannes Anderwald
2bf896ebe5 - Add KSDATARANGE_AUDIO
- Fix prototype for waveOutOpen, waveInOpen

svn path=/trunk/; revision=39718
2009-02-23 11:09:32 +00:00
Andrew Greenwood
63a2507150 Added GETDEVCAPS support for MIDI, mixer and aux devices, within MME Buddy
and sndblst.dll - this just lets you see the device names etc. but adds
no extra functionality apart from this.


svn path=/trunk/; revision=39717
2009-02-22 22:31:26 +00:00
Andrew Greenwood
141ec3a682 Closing of wave output devices is functional and terminates the sound thread
cleanly. Started writing code to support pause/restart (nonfunctional yet.)
Stubbed mixer messages, added a readme.txt to give an overview of functions
supported. Also includes partial rewrite of wdmaud.drv. Currently I am
listening to DI.FM in ReactOS using an NT4 sndblst.sys along with ReactOS'
sndblst.dll


svn path=/trunk/; revision=39716
2009-02-22 21:14:54 +00:00
Johannes Anderwald
0fb477e07a - Implement a common property handler for filter property requests
- Always queue a work item for pin creation requests
- Handle KSPROPERTY_PIN_DATAFLOW, KSPROPERTY_PIN_DATARANGES, KSPROPERTY_PIN_INTERFACES, KSPROPERTY_PIN_MEDIUMS, KSPROPERTY_PIN_COMMUNICATION, KSPROPERTY_PIN_CATEGORY,  qKSPROPERTY_PIN_NAME, KSPROPERTY_PIN_GLOBALCINSTANCES, KSPROPERTY_PIN_CINSTANCES, KSPROPERTY_PIN_NECESSARYINSTANCES
- Fix several bugs in property copying code
- Change the pin creation path in sysaudio in order to have client information as this was previously not available (see DPRINT using hack)
- Close file handels in wdmaud / sysaudio
- set Iostatus before queing an irp as the irp might complete before accessing status io 

svn path=/trunk/; revision=39715
2009-02-22 18:58:51 +00:00
Dmitry Chapyshev
2e5444f855 - Add snmpapi from Wine
svn path=/trunk/; revision=39714
2009-02-22 14:21:45 +00:00
Sylvain Petreolle
3163354a38 add missing \n in traces
svn path=/trunk/; revision=39713
2009-02-22 14:07:18 +00:00
James Tabor
e528cdb9d0 - Patch by Evgeniy Boltik: Fixes HatchBrushes, see bug 4107.
svn path=/trunk/; revision=39712
2009-02-22 14:04:31 +00:00
Dmitry Chapyshev
860749b5f3 - pSetupGetFileTitle calling MyGetFileTitle
svn path=/trunk/; revision=39711
2009-02-22 13:54:51 +00:00
Dmitry Chapyshev
fe13378775 - Add CheckTokenMembership to winbase.h
- Use CheckTokenMembership in IsUserAdmin

svn path=/trunk/; revision=39710
2009-02-22 13:39:21 +00:00
Dmitry Chapyshev
485eae5524 - Don't direct call IsUserAnAdmin (setupapi in Windows not linked with shell32)
- Implement IsUserAdmin in setupapi (based on shell32 implementation)
- Implement pSetupIsUserAdmin

svn path=/trunk/; revision=39709
2009-02-22 12:49:18 +00:00
Dmitry Chapyshev
9660c296f2 - List of exported functions like Win2003 SP1
svn path=/trunk/; revision=39708
2009-02-22 12:20:43 +00:00
James Tabor
8c751eddbf - Add back removed call commented out. First problem I see with this patch, where is the check for child window? Second, this should be fixed in kernel space not in user32 and separate the kernel function from NtUserCallHwndLock and make a standalone one for win32k. With in this year ROSMENUINFO is going away and is deprecated. New structures will be made available soon.
svn path=/trunk/; revision=39707
2009-02-22 00:32:59 +00:00
Daniel Reimer
728f7321fe Our mshtml uses Wine Gecko 0.9.1
svn path=/trunk/; revision=39706
2009-02-21 23:50:13 +00:00
Matthias Kupfer
c5dfe0ed6f revert hackfix (revision 39704)
svn path=/trunk/; revision=39705
2009-02-21 22:50:49 +00:00
Matthias Kupfer
0ef3ed3fb1 Evgeniy Boltik <bstsoft AT narod DOT ru>
Jan Roeloffzen <jroeloffzen AT hotmail DOT com>
- Fixes task manager process list names and kernel sysinfo.
- See issue #4087 for details.

svn path=/trunk/; revision=39704
2009-02-21 22:41:14 +00:00
Matthias Kupfer
166f97fa19 - implements an initial DrawMenuBar function (fixes the taskbar menu redraw bug)
- sorry, may contain a potentially hackfix (SendMessage WM_NCPAINT)

svn path=/trunk/; revision=39703
2009-02-21 22:35:11 +00:00
Johannes Anderwald
b94b97a10e - Fix a bug in KsAllocateDeviceHeader which copied the create item to the wrong offset
- Set Created status to true when create function is not zero
- Partly implement KsStreamIo
- Implement IOCTL for opening / setting state and writing wave data
- Clear KSAUDIO_DEVICE_ENTRY
- Open the pin in a worker context as IoCreateFile must be called at APC_LEVEL <
- Add dispatcher object to sysaudio will dispatch the device requests to the real pin
- Add a test application to play a wav sound
- ReactOS can now play a wave tone

svn path=/trunk/; revision=39702
2009-02-21 20:18:44 +00:00
Johannes Anderwald
b997856046 - Add macros for KsStreamIo
svn path=/trunk/; revision=39701
2009-02-21 20:10:21 +00:00
Jeffrey Morlan
a4da9945e8 Clean up DirReadParam a bit, reworked so that the code for adding a filename parameter doesn't need to be duplicated 3 times. Should handle quotes properly now (bug 4177)
svn path=/trunk/; revision=39699
2009-02-21 18:12:16 +00:00
Colin Finck
a98eb8d135 Add a /c option to supply a comment for the web service submission.
This can be useful for giving more information about the used build for the test.

The necessary changes in testman will follow later :-P

svn path=/trunk/; revision=39698
2009-02-21 17:02:39 +00:00
Aleksey Bragin
f808139835 - Fix typos in the header.
svn path=/trunk/; revision=39697
2009-02-21 16:33:27 +00:00
Matthias Kupfer
cf5f8cd8f8 use default font for columns
svn path=/trunk/; revision=39696
2009-02-20 21:31:31 +00:00
Matthias Kupfer
b11277de45 - Remove last app(s) from list if there is no application running anymore.
- See issue #4182 for more details.

svn path=/trunk/; revision=39695
2009-02-20 18:03:21 +00:00
Johannes Anderwald
82bba6cd0c - Implement enumerating sysaudio devices using device interface or using static symbolic link(hack)
- Implement a few options of sysaudio property set
- Implement an object dispatcher like in portcls which will be used to forward requests



svn path=/trunk/; revision=39694
2009-02-20 17:52:47 +00:00
Johannes Anderwald
31877406c6 - Fix property sets for sysaudio
svn path=/trunk/; revision=39693
2009-02-20 14:50:26 +00:00
Matthias Kupfer
805222fc0b disable useless or wrong message handling (WM_PAINT + WM_NCPAINT)
svn path=/trunk/; revision=39692
2009-02-20 14:22:15 +00:00
Matthias Kupfer
2b07dff4da parent window hight doesn't affect status window hight
svn path=/trunk/; revision=39691
2009-02-20 11:12:47 +00:00
James Tabor
213ba8f33f Patch by Rein Klazes: Do not handle WM_ENDSESSION in DefWinProc().
svn path=/trunk/; revision=39688
2009-02-19 22:51:47 +00:00
Art Yerkes
47cb22722f - Our code was a bit confused about close vs cleanup irps in tcpip. We now
interpret and implement them both properly, preparing for close in cleanup
   then actually deallocating in close.
 - AFD should have been keeping extra references to TCP resources, because 
   the handles will be closed by the handle sweeper at process shutdown.
 - Fix failure cases for pendable TCP requests and add SEL_FIN when a socket
   is closed at oskit, but closing up at tcpip.sys.
 - Fix some breakage from my previous commit re: bind the zero address.  We 
   now ask the connection for the right address if we are one, and plumb 
   the request all the way to tcp, which is deciding what adapter to send to
   anyway.
 - Fix one error code in udp, properly reporting network unreachable.

svn path=/trunk/; revision=39687
2009-02-19 20:14:39 +00:00
Art Yerkes
6de6188c1a Reformat. No changes (yet). Preemptive strike.
svn path=/trunk/; revision=39686
2009-02-19 19:41:06 +00:00
Aleksey Bragin
16df5c0cb7 - Properly free a buffer allocated during "copy" command. Fixes cmd.exe crash when copy operation experiences a write error or is being interrupted with a Ctrl+C keypress.
svn path=/trunk/; revision=39684
2009-02-19 12:51:57 +00:00
Christoph von Wittich
c52fd56034 sync urlmon with wine 1.1.15
svn path=/trunk/; revision=39683
2009-02-19 12:24:43 +00:00
Christoph von Wittich
6d30abc416 get rid of another ros.diff
http://www.winehq.org/pipermail/wine-patches/2009-February/069627.html

svn path=/trunk/; revision=39682
2009-02-19 12:20:16 +00:00
Dmitry Gorbachev
e884b38e1f Change page file PTE format to distinguish paged out pages from
noaccess pages. It fixes kernel crash at the end of Sun JRE setup.

svn path=/trunk/; revision=39681
2009-02-19 11:47:34 +00:00
Matthias Kupfer
4f7122ff29 - initial default message handler for WM_SYSCOLORCHANGE messages
svn path=/trunk/; revision=39680
2009-02-19 11:43:26 +00:00
Daniel Reimer
daec6ac09d Sync winfile and write to Wine HEAD
svn path=/trunk/; revision=39679
2009-02-19 10:09:34 +00:00
Daniel Reimer
51009e3fec Sync xcopy, winhlp32 and wordpad to Wine HEAD.
svn path=/trunk/; revision=39678
2009-02-19 10:09:19 +00:00
Matthias Kupfer
6a1cf39948 Evgeniy Boltik <bstsoft AT narod DOT ru>
- Fix for mouse cursor in 256 color mode.
- See issue #4172 for details.

svn path=/trunk/; revision=39676
2009-02-19 09:18:27 +00:00
Johannes Anderwald
aa52ca9057 - If the current irp buffer is finished, set the state to pause (fixes looping of last sample)
- Use KeSetTimer if Irql is below equal DISPATCH_LEVEL

svn path=/trunk/; revision=39675
2009-02-19 05:48:51 +00:00
Johannes Anderwald
f5cfdeec77 - Implement writing into cyclic buffer
- Implement queuing write requests
- Use KeInsertQueueDpc over KeSetTimer in IServiceGroup_fnRequestDelayedService
- Playing an irp sound buffer now basically works. However the last sample is always repeated(w/o irp buffer bounds checking playing works normally but bsod occurs due to reading out of bounds)

svn path=/trunk/; revision=39674
2009-02-19 05:19:08 +00:00
Johannes Anderwald
9db4f23783 - Implement KsAddIrpToCancelableQueue and KsRemoveIrpFromCancelableQueue
svn path=/trunk/; revision=39673
2009-02-19 01:11:59 +00:00
Johannes Anderwald
357d5e75b9 - Fix build
svn path=/trunk/; revision=39672
2009-02-19 00:47:00 +00:00
Johannes Anderwald
c50d26f16b - Implement KSPROPERTY_CONNECTION_STATE & KSPROPERTY_CONNECTION_FORMAT for property set KSPROPSETID_Connection
- Queue a work item when Irql is above dispatch level
- Open the input / output stream when initializing the pin

svn path=/trunk/; revision=39671
2009-02-18 23:27:10 +00:00
Andrew Greenwood
cbac26c676 Rewrite DoWaveStreaming (makes CommitWaveHeaderToKernelDevice redundant).
Tested with Media Player and NT's Sound Blaster 16 kernel-mode driver on
Windows NT4. Audio buffers play correctly and don't suffer from the
stuttering problem that my previous revision of this code did.


svn path=/trunk/; revision=39669
2009-02-18 21:26:28 +00:00
Johannes Anderwald
b25be07add - Fix implementation of KsAddObjectCreateItemToDeviceHeader
- Hackplement KsAllocateObjectCreateItem
- Fix implementation of KsAllocateObjectHeader and store the result either in the passed irp or device header
- Implement Reading / Writing / DeviceIoControl / Flush / QuerySecurity / SetSecurity operation using the object file header
- Implement KsSynchronousIoControlDevice function

svn path=/trunk/; revision=39668
2009-02-18 20:05:33 +00:00
Andrew Greenwood
87dcb169be Removed hooks for prepare/unprepare/stream of WAVEHDR. These are handled
internally by MME-Buddy. Instead, it simply provides a hook to do the
actual streaming, complete with an OVERLAPPED structure and I/O completion
routine. Also started imlpementation of wdmaud.drv to begin interaction
with code janderwald is working on.


svn path=/trunk/; revision=39667
2009-02-18 19:10:02 +00:00
Johannes Anderwald
c15dfd0010 - fix build
svn path=/trunk/; revision=39666
2009-02-18 18:01:28 +00:00
Johannes Anderwald
bf46ba126d - Set DEVICE_DESCRIPTION to version1
- Fix interface definition of ISubDevice
- Add missing Init function for IPortFilterWaveCyclic and call it from IPortWaveCyclic
- Add GUIDs for property set of Pin and Topology
- Remove DISPATCH_TABLE from IPortTopology
- Rewrite PcCreateItemDispatch to support pin creation requests
- Add Property handler to IPortWaveCyclic (not yet used)
- Make IPortFilterWaveCyclic singleton
- Implement Adding property handlers to SUBDEVICE_DESCRIPTOR

svn path=/trunk/; revision=39665
2009-02-18 18:00:08 +00:00
Johannes Anderwald
e042f2fb7a - Fix KSOBJECT_CREATE struct
- Add KSNAME_Pin

svn path=/trunk/; revision=39664
2009-02-18 17:59:30 +00:00
Aleksey Bragin
a4718924aa - Fix for Bug 703.
- ReactOS can now be installed on systems with as little as 24MB. Memory usage after boot is down by 20-30MB. Application installations will use/require/leak less memory.
- Patch by Alex Ionescu.
See issue #703 for more details.

svn path=/trunk/; revision=39663
2009-02-18 16:56:42 +00:00
Aleksey Bragin
cac6a6eb40 - Display memory usage in the installer as Kernel Cache and Kernel Pool, instead of Paged and Nonpaged Pool, which doesn't reveal the source of the memory leak.
- Remove 40% memory delay hack.
- Patch by Alex Ionescu.

svn path=/trunk/; revision=39662
2009-02-18 16:35:14 +00:00
Dmitry Chapyshev
0ab8c3090f - Formatting fix. No code changes
svn path=/trunk/; revision=39661
2009-02-18 16:34:10 +00:00
Matthias Kupfer
43f6797ed2 - use current appearance settings for drawing the color button
svn path=/trunk/; revision=39660
2009-02-18 16:28:00 +00:00
Stefan Ginsberg
be1265e3f8 - Fix freeldr release build breakage from 39638 by correcting non-debug DPRINTM, and wrap some debug code inside a DBG to silence a 'unused variable' warning
svn path=/trunk/; revision=39659
2009-02-18 15:15:37 +00:00
Aleksey Bragin
59924db62f - Turn on multi-character constants support in GCC. Makes TAG macro usage redundant.
svn path=/trunk/; revision=39658
2009-02-18 14:51:07 +00:00
Dmitry Chapyshev
bd6c020071 - Formatting fix. No code changes
svn path=/trunk/; revision=39657
2009-02-18 14:30:44 +00:00
Dmitry Chapyshev
10d8c3ec04 - Add sti.dll from Wine
svn path=/trunk/; revision=39656
2009-02-18 08:01:23 +00:00
Timo Kreuzer
beab8fa0dc Fix formatting, no code change
svn path=/trunk/; revision=39655
2009-02-18 03:07:20 +00:00
Timo Kreuzer
8d0e6f5f04 co_IntCallHookProc: Don't dereference the ResultPointer returned from KeUserModeCallback and then probe the LRESULT cast to PVOID, but probe the ResultPointer. Fixes bug #4114
See issue #4114 for more details.

svn path=/trunk/; revision=39654
2009-02-17 21:28:22 +00:00
Timo Kreuzer
347f002369 fix formatting 2nd try. Thanks Hervé for noticing.
svn path=/trunk/; revision=39653
2009-02-17 20:13:57 +00:00
Matthias Kupfer
d0948aebdb - fix icon for 32bpp mode
svn path=/trunk/; revision=39652
2009-02-17 19:40:40 +00:00
Matthias Kupfer
422a3f3182 - fix typo (no code change)
svn path=/trunk/; revision=39651
2009-02-17 19:38:05 +00:00
Johannes Anderwald
26f9765e9c - Start implementing KsValidateConnectRequest
- Pass OBJ_OPENIF flag to KspCreateObjectType
- KsCreatePin works now

svn path=/trunk/; revision=39650
2009-02-17 19:30:40 +00:00
Dmitry Gorbachev
3b2c9f5d55 Add Hungarian keyboard layout to registry, add a few languages.
svn path=/trunk/; revision=39649
2009-02-17 10:21:48 +00:00
Aleksey Bragin
49ee60f141 - Return full process image names in SystemProcessInformation when possible, instead of limiting to 32 bytes. Based on a patch by Evgeniy Boltik. WIP.
See issue #4087 for more details.

svn path=/trunk/; revision=39648
2009-02-17 09:35:01 +00:00
Dmitry Gorbachev
87a2b33aea Fix spelling.
svn path=/trunk/; revision=39647
2009-02-17 07:25:46 +00:00
Dmitry Gorbachev
34bc2ac202 Attempt to make alphabetical order in input, Mario Kacmar, bug #4167.
svn path=/trunk/; revision=39646
2009-02-17 07:24:12 +00:00
Dmitry Gorbachev
b103cc2df8 GCC: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'.
svn path=/trunk/; revision=39645
2009-02-17 07:11:57 +00:00
Steven Edwards
e918fe5822 add telnetd to the cd
svn path=/trunk/; revision=39644
2009-02-17 07:07:18 +00:00
Steven Edwards
f3795555d3 hardcode c:\reactos\system32\cmd.exe for now
svn path=/trunk/; revision=39643
2009-02-17 07:06:45 +00:00
Johannes Anderwald
59cb16455f - Fix KSP_NODE struct and build
svn path=/trunk/; revision=39642
2009-02-17 05:28:28 +00:00
Johannes Anderwald
0fa0461cc6 - Implement KsTopologyPropertyHandler
svn path=/trunk/; revision=39640
2009-02-17 04:52:11 +00:00
Timo Kreuzer
cc46ea9be4 Fix 2 small typos
svn path=/branches/ros-amd64-bringup/; revision=39639
2009-02-17 04:11:41 +00:00
Timo Kreuzer
1401814d97 Merge freeldr from amd64 branch:
34725, 34726, 34727, 34728, 34733, 34735, 34747, 34748, 34888, 34937, 34968, 35021, 35351, 35360, 35445, 35493, 35495, 35505, 35547, 35696, 35704, 36343, 36355, 36865, 37306, 37896, 38332, 38942, 38950, 38951, 38959, 39073, 39278

svn path=/trunk/; revision=39638
2009-02-17 04:05:26 +00:00
Timo Kreuzer
6e548b6a21 fix formatting
svn path=/trunk/; revision=39637
2009-02-17 03:57:45 +00:00
Timo Kreuzer
d90c846eed Implement RtlInterlockedPopEntrySList, RtlInterlockedPushEntrySList and RtlInterlockedFlushSList in assembly. Based on the ExInterlocked functions in ntoskrnl.
svn path=/trunk/; revision=39636
2009-02-17 03:45:27 +00:00
Johannes Anderwald
65920de80b - Implement KsPinDataIntersection
svn path=/trunk/; revision=39635
2009-02-17 03:43:25 +00:00
Johannes Anderwald
73ed4fa6a9 - Fix intersect handlers
svn path=/trunk/; revision=39634
2009-02-17 03:42:33 +00:00
Johannes Anderwald
7f8d4df605 - Implement KsPinPropertyHandler
svn path=/trunk/; revision=39633
2009-02-17 03:07:30 +00:00
Johannes Anderwald
cf316da120 - Fix build
svn path=/trunk/; revision=39632
2009-02-17 00:39:40 +00:00
Johannes Anderwald
6e2d8b3b74 - Add a few structs which are required of ks property handling
svn path=/trunk/; revision=39631
2009-02-16 23:29:13 +00:00
Jeffrey Morlan
bcde36bae7 Fix some cases where the "format" program misused the %S format, causing it to display gibberish. To print a TCHAR string with _tprintf, just use %s. (Bug 4067)
svn path=/trunk/; revision=39630
2009-02-16 23:05:13 +00:00
Timo Kreuzer
6aa0f2a94b gdiobj.c: go back from intrinsics to to portable interlocked functions. InterlockedPopFreeEntry: Use InterlockedIncrement instead of InterlockedCompareExchange when exchanging the next unused entry in the handle table. Lock the free entry before accessing it, fixing a race condition. Might fix bug #4115
See issue #4115 for more details.

svn path=/trunk/; revision=39629
2009-02-16 23:00:15 +00:00
Jeffrey Morlan
dc8e4248dd - Improve performance of TYPE command by reading more than 1 byte at a time. (Bug 4057)
- Also allow it to be interrupted by ^C.

svn path=/trunk/; revision=39628
2009-02-16 21:50:54 +00:00
Aleksey Bragin
1d38fb2424 - Don't reference target process in the beginning of NtQueryInformationProcess but check buffer's length first. Found out by Dmitry Chapyshev, fixes 3 winetests.
svn path=/trunk/; revision=39627
2009-02-16 17:15:09 +00:00
Johannes Anderwald
f1d1259e79 - Fix compilation
svn path=/trunk/; revision=39626
2009-02-16 14:49:59 +00:00
Timo Kreuzer
f17b5540cf fix PSEH build for x86
svn path=/branches/ros-amd64-bringup/; revision=39625
2009-02-16 14:44:05 +00:00
Dmitry Chapyshev
e140996677 - Fix build
svn path=/trunk/; revision=39624
2009-02-16 12:34:32 +00:00
Aleksey Bragin
bbe25aa0c0 - Add declarations for unsafe fastmutex functions.
svn path=/trunk/; revision=39623
2009-02-16 12:10:08 +00:00
Dmitry Chapyshev
79d5681478 - Reimplement RtlLargeIntegerToChar (based on Wine code with my changes). It fixes all large_int Wine tests
svn path=/trunk/; revision=39622
2009-02-16 12:07:27 +00:00
Aleksey Bragin
7e91e42329 - Fix small formatting leftover from r39422.
svn path=/trunk/; revision=39621
2009-02-16 11:18:37 +00:00
Dmitry Chapyshev
f685d4bc8e - Fix copypaste typo in IopUpdateOperationCount
svn path=/trunk/; revision=39620
2009-02-16 11:02:23 +00:00
Matthias Kupfer
cc40695b51 define IDC_STATIC as -1 instead of 100 (prevent confusing warnings)
svn path=/trunk/; revision=39619
2009-02-16 10:10:44 +00:00
Jeffrey Morlan
f56130f164 SET /A improvements:
- Strip quotes from expression
- Use _tcstol instead of _ttoi to parse numbers, allowing hex/octal numbers to be used
- Skip space after an identifier
- Don't echo result when in a batch file

svn path=/trunk/; revision=39618
2009-02-16 03:00:27 +00:00
Art Yerkes
28a87330c4 Remove an assert that doesn't belong.
svn path=/trunk/; revision=39616
2009-02-15 22:16:20 +00:00
Timo Kreuzer
dced580965 - switch license to LGPL
- fix a typo

svn path=/trunk/; revision=39615
2009-02-15 22:15:15 +00:00
Timo Kreuzer
2e0c09ded9 Add a header
svn path=/trunk/; revision=39614
2009-02-15 22:14:32 +00:00
Art Yerkes
90b16f9eca Fix loopback adapter locking and make traffic work consistently.
Fix zero-address binding.
Local tcp services should work now.

svn path=/trunk/; revision=39613
2009-02-15 21:52:56 +00:00
Jeffrey Morlan
9b0334da19 Don't expand FOR variables until execution time, so that special characters in them won't cause unwanted syntactic effects.
For example, "for %a in (^>) do echo %a" should just echo the greater than sign.

svn path=/trunk/; revision=39611
2009-02-15 18:18:16 +00:00
Andrew Greenwood
a5d9170830 Fix #includes in a few more files to get ReactOS building again.
svn path=/trunk/; revision=39610
2009-02-15 16:08:40 +00:00
Andrew Greenwood
c7273a56a6 Fixed build by including the correct header this time!
Renamed SubmitWaveHeader to EnqueueWaveHeader, except for in the functiontable
which will actually do the wave header submission to the driver.


svn path=/trunk/; revision=39609
2009-02-15 15:37:44 +00:00
Andrew Greenwood
727a48a397 WaveHdr prepare/unprepare/submit now gets handled within the context of the
appropriate sound thread. This removes some responsibility of the sound
threading from the actual usermode sound component implementations. Minor
cleanup to CallSoundThread as we can deduce the thread handle from the
sound device instance.


svn path=/trunk/; revision=39608
2009-02-15 15:19:58 +00:00
Kamil Hornicek
43961e394e - update wined3d/d3d8/d3d9 to Wine 1.1.15
svn path=/trunk/; revision=39607
2009-02-15 14:01:23 +00:00
Andrew Greenwood
805ca6f02a Split custom ReactOS-only non-standard extensions from NTDDSND.H
Updated relevant code to include the new headers SNDTYPES.H and SNDNAMES.H
Corrected CTL_CODE macros and included SNDTYPES.H in WDMAUD interface header
A lot of this is just refactoring, hence the large number of files!


svn path=/trunk/; revision=39606
2009-02-15 13:31:52 +00:00
Johannes Anderwald
23bde85444 - Partly implement IPortFilterWaveCyclic_fnNewIrpTarget
- Store KSPIN_DESCRIPTOR in subdevice descriptor
- Return correct result for IInterruptSync_fnCallSynchronizedRoutine
- Add stub interface for IPortPinWaveCyclic
- Implement PcValidateConnectRequest

svn path=/trunk/; revision=39605
2009-02-15 13:29:01 +00:00
Johannes Anderwald
6ea1608c49 - Directly create the device objects in its DriverEntry as AddDevice is never called
- Remove the hack of hardcoding the symbolic device name object
- Add registering of device interfaces (fails atm because no pdo is provided)


svn path=/trunk/; revision=39603
2009-02-14 16:10:38 +00:00
Dmitry Chapyshev
dcaed4cdd4 - Add url.dll from Wine
svn path=/trunk/; revision=39602
2009-02-14 08:54:01 +00:00
Dmitry Chapyshev
98ff856933 - Sync gdiplus with Wine head
svn path=/trunk/; revision=39601
2009-02-14 08:14:34 +00:00
Timo Kreuzer
5896c03e49 Add PPROCESSOR_IDLE_FUNCTION, fix PROCESSOR_POWER_STATE
svn path=/trunk/; revision=39600
2009-02-14 02:19:52 +00:00
Timo Kreuzer
8861bd50ef Revert last commit. MS doesn't want poor ddk users mess with their secret structures and instead present them only some censored stuff.
svn path=/trunk/; revision=39599
2009-02-14 02:10:32 +00:00
Timo Kreuzer
a39829c012 Add PPROCESSOR_IDLE_FUNCTION, fix PROCESSOR_POWER_STATE
and move it from ndk to ntpoapi.h

svn path=/trunk/; revision=39598
2009-02-14 01:57:28 +00:00
Jeffrey Morlan
122c236111 Make delayed environment-variable expansions actually be delayed.
svn path=/trunk/; revision=39597
2009-02-14 01:13:17 +00:00
Timo Kreuzer
5d62c3b3a5 Get rid of VOLATILE, use volatile instead and fix PENTER_STATE_HANDLER by using "LONG volatile *" like in ms header, which means a pointer to a volatile LONG, instead of "volatile PLONG", which would be a volatile pointer to a LONG.
svn path=/trunk/; revision=39596
2009-02-14 00:58:55 +00:00
Christoph von Wittich
5673f7b8d9 sync translations, remove a little change from ros.diff
svn path=/trunk/; revision=39595
2009-02-13 19:10:55 +00:00
Christoph von Wittich
25c067c47e sync mshtml and shdocvw winetests with wine 1.1.15
svn path=/trunk/; revision=39594
2009-02-13 18:47:09 +00:00
Christoph von Wittich
90d8b6c3f7 apply ros-hack
svn path=/trunk/; revision=39593
2009-02-13 18:34:10 +00:00
Christoph von Wittich
597413065a readd LANGID until I figured out were wine moved the declaration to
svn path=/trunk/; revision=39592
2009-02-13 18:20:42 +00:00
Christoph von Wittich
338cbdcb9e sync msi with wine 1.1.15
svn path=/trunk/; revision=39591
2009-02-13 18:14:16 +00:00
Christoph von Wittich
1d451b9296 sync jscript_winetest with wine 1.1.15
svn path=/trunk/; revision=39590
2009-02-13 18:05:50 +00:00
Christoph von Wittich
a95d7474d9 sync shdocvw, mshtml and jscript to wine 1.1.15
svn path=/trunk/; revision=39589
2009-02-13 18:04:38 +00:00
Christoph von Wittich
27fb0f8623 fix a typo spotted by gabriel_it
svn path=/trunk/; revision=39588
2009-02-13 18:01:14 +00:00
Christoph von Wittich
d6a64dee2c inline the function
svn path=/trunk/; revision=39587
2009-02-13 17:58:23 +00:00
Christoph von Wittich
28c00b5c1c work around missing fpclassify
svn path=/trunk/; revision=39586
2009-02-13 17:55:03 +00:00
Colin Finck
43659c9ace - Add some checks to prevent crashes in unexpected situations and add useful error messages for them.
This should make debugging something like r39578 easier :-)
- Prevent some memory leaks in case of failure (well, some memory wasn't even freed in case of success :-P)

svn path=/trunk/; revision=39584
2009-02-13 17:39:58 +00:00
Christoph von Wittich
09ad068987 sync avifil32 with wine 1.1.15
svn path=/trunk/; revision=39583
2009-02-13 17:14:29 +00:00
Christoph von Wittich
1f7726146f revert r39578 as it breaks rosautotest on 3rd stage
svn path=/trunk/; revision=39582
2009-02-13 14:03:35 +00:00
Christoph von Wittich
b40f649aae fix a memory leak
svn path=/trunk/; revision=39581
2009-02-13 14:02:18 +00:00
Dmitry Chapyshev
49f7d111b6 - Add LCIDToLocaleName from Wine. Used by Wine Gecko
svn path=/trunk/; revision=39580
2009-02-13 12:04:20 +00:00
Christoph von Wittich
b3c01e9864 -use ExAllocatePoolWithTag/ExFreePoolWithTag
-set FileObject to readonly
-register the filesystem as low priority

svn path=/trunk/; revision=39579
2009-02-13 11:48:06 +00:00
Aleksey Bragin
fb513b8a3c Igor Koshpaev <tower@reactos.org>
- Include missing modules into bootcd 

svn path=/trunk/; revision=39578
2009-02-13 11:20:59 +00:00
Dmitry Gorbachev
4ff35ed634 Update Slovak translations, fix formatting. Bug #4157. Mario Kacmar (kario-at-szm-dot-sk)
svn path=/trunk/; revision=39577
2009-02-13 09:06:51 +00:00
Dmitry Chapyshev
ea824fa78f - Update Russian translation
svn path=/trunk/; revision=39576
2009-02-13 07:50:42 +00:00
Kamil Hornicek
0152a03c8f - don't redirect to nonexistent functions, Dd* are only defines
svn path=/trunk/; revision=39575
2009-02-12 23:06:01 +00:00
Johannes Anderwald
f6078270cd - Define interface for wdmaud.drv
- Needs review

svn path=/trunk/; revision=39573
2009-02-12 20:13:19 +00:00
Christoph von Wittich
3215261518 -move FCB_TAG to header
-use ExAllocatePoolWithTag / ExFreePoolWithTag
-free the NameListResource when destroying an FCB
-get rid of CdfsWriteNumberInShortName

svn path=/trunk/; revision=39571
2009-02-12 18:52:12 +00:00
Johannes Anderwald
b251557b6a - Implement MediaClassInstaller for GUID_DEVCLASS_SOUND (install wdmaud / sysaudio service from audio.inf)
svn path=/trunk/; revision=39570
2009-02-12 17:45:14 +00:00
Christoph von Wittich
52d7398ad5 fix some gdi32 font winetests
svn path=/trunk/; revision=39569
2009-02-12 17:08:45 +00:00
Johannes Anderwald
49b8538bd3 - Install wdmaud, sysaudio driver when a new audio device is installed
svn path=/trunk/; revision=39568
2009-02-12 15:44:32 +00:00
Christoph von Wittich
5fa00dd155 fix formatting
svn path=/trunk/; revision=39567
2009-02-12 15:33:06 +00:00
Dmitry Chapyshev
3f4f5fc21b - Add more stubs
svn path=/trunk/; revision=39566
2009-02-12 15:23:33 +00:00
Johannes Anderwald
ff1708f077 - Add audio class installer inf
svn path=/trunk/; revision=39565
2009-02-12 13:14:42 +00:00
Dmitry Chapyshev
41a84e652b - Add missed CopyCursor
svn path=/trunk/; revision=39563
2009-02-12 12:27:04 +00:00
Dmitry Chapyshev
b31251de30 .def -> .spec (from amd64 branch)
svn path=/trunk/; revision=39562
2009-02-12 11:39:36 +00:00
Dmitry Chapyshev
e6b986db67 - Fix spec file
svn path=/trunk/; revision=39561
2009-02-12 10:59:35 +00:00
Dmitry Chapyshev
f187e86b75 - Add olethk32 from Wine
svn path=/trunk/; revision=39560
2009-02-12 10:56:57 +00:00
Dmitry Chapyshev
171174de01 - Add more stubs
svn path=/trunk/; revision=39559
2009-02-12 10:51:29 +00:00
Timo Kreuzer
20d90a8f69 Implement hpp - the header preprocessor
It can parse headers and create new headers from them based on a simple prepreprocessing language that's compatible with the C preprocessor, so the source file stays a valid header. It works, but doesn't yet support different folders.

svn path=/trunk/; revision=39558
2009-02-11 20:37:25 +00:00
Gregor Schneider
e62e77bdb8 Do not reset the changed switch after applying a theme, bug #4148.
svn path=/trunk/; revision=39557
2009-02-11 19:21:25 +00:00
Dmitry Gorbachev
d87483d8d8 Fix bug #4155 in Italian translation. Patch from Gabriel Ilardi.
svn path=/trunk/; revision=39554
2009-02-11 17:24:13 +00:00
Hervé Poussineau
0560eef6ec Revert r39517, as there is no reason for such a change: files are consistently formatted, don't belong to ntoskrnl, use tabs only for indenting and not for formatting, and formatting revisions complicate svn blame feature usage.
svn path=/trunk/; revision=39553
2009-02-11 17:21:10 +00:00
Christoph von Wittich
b4f50046ff define CSR_DEFAULT_CURSOR_SIZE instead of hardcoding the value in 3 different places
svn path=/trunk/; revision=39552
2009-02-11 16:39:33 +00:00
Christoph von Wittich
9b69a9ef93 dbghelp: Fix bad call to free() instead of pdb_free().
Eric Pouech <eric dot pouech at orange dot fr> 

svn path=/trunk/; revision=39549
2009-02-11 14:17:26 +00:00
Dmitry Chapyshev
2f6e7535b5 - Add params checking. It fixes Autoruns (9.38) crashes
svn path=/trunk/; revision=39548
2009-02-11 13:54:29 +00:00
Johannes Anderwald
0491d4e284 - Use ZwCreateFile to get the file handle
- Ignore failure of device interface registration. Atm registering device interface fails due the device node has zero length. Needs more investigation
- Fix resource file constants

svn path=/trunk/; revision=39547
2009-02-11 09:54:47 +00:00
Johannes Anderwald
335a11923d - Implement KsCreateTopologyNode, KsCreatePin
svn path=/trunk/; revision=39546
2009-02-11 09:34:32 +00:00
Christoph von Wittich
f6fa8b2376 fix MR_MID_NOT_FOUND error with mshtml in 2nd stage
svn path=/trunk/; revision=39545
2009-02-11 09:26:31 +00:00
Timo Kreuzer
92649ee4f7 - Add an own fastinterlck.c for amd64
- Don't compile the generic interlocked functions
- Implement ExQueryDepthSList and add it to exports
- replace a bunch of #ifdefs with -arch=...

svn path=/branches/ros-amd64-bringup/; revision=39544
2009-02-11 00:38:42 +00:00
Timo Kreuzer
94e68ecb2b Fix some hal function declarations
svn path=/trunk/; revision=39543
2009-02-10 22:52:26 +00:00
Johannes Anderwald
6561dee59d - Implement KsDefaultDispatchPnp, KsAcquireDeviceSecurityLock, KsReleaseDeviceSecurityLock, KsAddObjectCreateItemToDeviceHeader, KsAllocateDeviceHeader, KsAllocateObjectCreateItem, KsAllocateObjectHeader, KsSetMajorFunctionHandler, KsDispatchIrp,
- Fix KsAddObjectCreateItemToObjectHeader prototype

svn path=/trunk/; revision=39542
2009-02-10 22:29:29 +00:00
Johannes Anderwald
6d946b8941 - Increase reference count on ISubdevice interface after successfully allocating the device header
- Delegate Create Request to Ks
- Implement KSDISPATCH_TABLE for IPortTopology
- KSDEVICE_HEADER must be the first item in the device extension

svn path=/trunk/; revision=39541
2009-02-10 22:17:33 +00:00
Timo Kreuzer
07f2f9b0b0 Fix a copy paste error
svn path=/trunk/; revision=39540
2009-02-10 22:06:36 +00:00
Timo Kreuzer
a3e9d29804 Move the declarations from winnt4.h, win2k.h and winxp.h into wdm.h or winddk and remove them. This wasn't in a good shape anyway, winxp.h was empty.
Implement a bunch of inline functions in wdm.h

svn path=/trunk/; revision=39539
2009-02-10 21:57:25 +00:00
Dmitry Gorbachev
a72d06dd10 mpu401.sys: remove entrypoint="..."
bootvid.dll, kdcom.dll: entrypoint="0"

svn path=/trunk/; revision=39538
2009-02-10 21:15:45 +00:00
Sylvain Petreolle
2ae9ff0e21 RtlCreateUnicodeString needs ntifs.h inclusion.
svn path=/trunk/; revision=39537
2009-02-10 19:58:01 +00:00
Dmitry Chapyshev
9291fbf1e4 - Implement HeapSetInformation
- Implement HeapQueryInformation

svn path=/trunk/; revision=39536
2009-02-10 18:34:54 +00:00
Johannes Anderwald
53d65bf17a - Handle IRP_MN_QUERY_PNP_DEVICE_STATE
- Implement opening KS_CATEGORY_AUDIO devices (used with extreme hack since opening sym link is not working atm)

svn path=/trunk/; revision=39535
2009-02-10 16:28:24 +00:00
Timo Kreuzer
c727314ae8 - Move interlocked functions from winddk.h to wdm.h
- Fix some typos
- Define ExGetCurrentResourceThread for _WIN64, too
- Fix ExReleaseResource and move it to wdm.h

svn path=/trunk/; revision=39534
2009-02-10 16:11:13 +00:00
Timo Kreuzer
0377e0f619 x64 version of ntoskrnl doesn't export ExInterlockedAddLargeStatistic
svn path=/branches/ros-amd64-bringup/; revision=39533
2009-02-10 15:15:07 +00:00
Christoph von Wittich
5c3adeea08 set entrypoint="0"
svn path=/trunk/; revision=39532
2009-02-10 14:24:51 +00:00
Dmitry Chapyshev
6ad6909fad - Add SEH protection for FindResourceExW
Notepad++ works now

svn path=/trunk/; revision=39531
2009-02-10 14:08:05 +00:00
Christoph von Wittich
f9586906e9 fix formatting
svn path=/trunk/; revision=39530
2009-02-10 13:13:03 +00:00
Christoph von Wittich
fe23aee239 remove old mozilla url
svn path=/trunk/; revision=39529
2009-02-10 12:34:23 +00:00
Christoph von Wittich
0713a7745e remove some more junk from hive files
svn path=/trunk/; revision=39528
2009-02-10 12:32:29 +00:00
Christoph von Wittich
2fc228747e remove Internet Explorer StartPage as it is set in shdocvw.inf
svn path=/trunk/; revision=39527
2009-02-10 12:18:56 +00:00
Christoph von Wittich
4a2b32d1ad add resource file to kernel32_winetest
this fixes all kernel32 resource tests
spotted by Giannis Adamopoulos

svn path=/trunk/; revision=39526
2009-02-10 09:25:02 +00:00
Christoph von Wittich
3b3a6508ad remove entries which are added by registering shdocvw
svn path=/trunk/; revision=39525
2009-02-10 08:50:33 +00:00
Johannes Anderwald
919e4f45d7 - Move includes to a common header- Implement IKsDevice interface stubs
- Add a DriverEntry
- Partly implement KsAllocateObjectHeader
- Check for IID_IUnknown in KoCreateInstance

svn path=/trunk/; revision=39524
2009-02-10 07:44:43 +00:00
Johannes Anderwald
77f7338705 - Fix include guard
- Define PKNKSFREE type
- Add KSFILTERFACTORY type
- Fix definition of KsAllocateObjectHeader
- Fix calling convention for lots of functions
- Remove dummy stub implementations

svn path=/trunk/; revision=39523
2009-02-10 07:44:14 +00:00
Timo Kreuzer
3b1562f65b ExInitializeSystemlookasideList: Use InitializeSListHead instead of directly accessing the members
ExpAllocateLocallyUniqueId: use InterlockedCompareExchange64 instead of non-portable ExfInterlockedCompareExchange64

svn path=/branches/ros-amd64-bringup/; revision=39522
2009-02-10 05:27:36 +00:00
Timo Kreuzer
31dd9c0a1c fix a typo
svn path=/trunk/; revision=39521
2009-02-10 03:10:33 +00:00
Timo Kreuzer
870b09618b - Move Ex* and Rtl* functions and a bunch of types from winddk.h to wdm.h
- define ExIsResourceAcquiredLite to ExIsResourceAcquiredSharedLite
- Add implementations for RtlSecureZeroMemory, RtlRetrieveUlong, RtlRetrieveUshort, RtlStoreUlong, RtlStoreUlonglong, RtlStoreUshort, RtlStoreUlongPtr, 
- Add 64bit version of SLIST_HEADER
- use _mm_pause for YieldProcessor

svn path=/trunk/; revision=39520
2009-02-10 02:26:04 +00:00
Timo Kreuzer
50d17fc2a4 undef ExAllocatePoolWithQuota and ExAllocatePoolWithQuotaTag before implementing them as they can be defined by ddk headers.
svn path=/trunk/; revision=39519
2009-02-10 00:42:57 +00:00
Timo Kreuzer
d3f56a74dd Rename ntddk.h include guard to _NTDDK_ as it's supposed to be. Remove a bunch of hack defines of _NTDDK_.
svn path=/trunk/; revision=39518
2009-02-09 22:50:40 +00:00
Christoph von Wittich
a2feddeab2 formatting fix tabs to 4 spaces
svn path=/trunk/; revision=39517
2009-02-09 21:22:57 +00:00
Timo Kreuzer
cae45b3c21 implement _mm_pause
svn path=/trunk/; revision=39516
2009-02-09 20:28:24 +00:00
Christoph von Wittich
b4880fab81 -remove ros-hack
-delete avifil32_ros.diff as the translation is now to wine git as well

Artem Reznikov <temarez@yandex.ru> master * re9996b9be4 wine/dlls/avifil32/ (avifile_Uk.rc rsrc.rc): avifil32: Ukranian translation.

svn path=/trunk/; revision=39515
2009-02-09 20:24:03 +00:00
Christoph von Wittich
4bcb8813bd add srclient.dll
svn path=/trunk/; revision=39513
2009-02-09 13:47:47 +00:00
Dmitry Chapyshev
03660c7885 .def -> .spec
svn path=/trunk/; revision=39512
2009-02-09 13:47:10 +00:00
Dmitry Gorbachev
6c8c37dd00 Add more color schemes. Gabriel Ilardi, bug #4149.
svn path=/trunk/; revision=39511
2009-02-09 13:44:15 +00:00
Gregor Schneider
e337dfa99d - Remove coordinate checks from NtGdiStretchBlt, since they're done at a later stage differently now
- Fixes a div/0 crash that happened in XnView and Acrobat Reader 9 Setup

svn path=/trunk/; revision=39510
2009-02-09 13:10:39 +00:00
Gregor Schneider
ef2b5f4b28 Fix comments
svn path=/trunk/; revision=39509
2009-02-09 11:57:37 +00:00
Christoph von Wittich
bc58fedee4 -don't rely on wingdi.h in winuser.h
-remove NOGDI hacks from wine directx dlls

svn path=/trunk/; revision=39508
2009-02-09 08:55:19 +00:00
Gregor Schneider
c4d49789a6 Preparation for StretchBlt pattern support (2):
- Modify CallDibStretchBlt for brush support, adjust function pointers
- Add BrushObj to DibFunctions, fix BrushOrigin parameter type, qualify ROP properly

svn path=/trunk/; revision=39506
2009-02-08 23:18:58 +00:00
Timo Kreuzer
6399747995 Fix definition of IoSetCancelRoutine.
svn path=/trunk/; revision=39505
2009-02-08 22:56:31 +00:00
Christoph von Wittich
81afdb2e7d add -H to compilerflags for resolving header issues (as comment)
svn path=/trunk/; revision=39503
2009-02-08 20:47:30 +00:00
Christoph von Wittich
6a4bc15266 -remove wingdi.h from wine/winuser.h
-define NOGDI for some wine dlls (this should be fixed in wine)
-move wine specific window messages to internal user32 header
-fix devenum includes
-remove some wrong include guards in windows.h
-remove the GetObjectW hack from jscript.dll

svn path=/trunk/; revision=39502
2009-02-08 20:38:16 +00:00
Gregor Schneider
c74ee95b77 Preparation for StretchBlt pattern support:
- Supply BrushObj and BrushOrigin to IntStretchBlt
- Implement EngStretchBltROP to do the work, let EngStretchBlt call it (this allows ROP support for real now)

svn path=/trunk/; revision=39501
2009-02-08 20:28:20 +00:00
Christoph von Wittich
43ef418be5 don't include windows.h
svn path=/trunk/; revision=39500
2009-02-08 20:23:28 +00:00
Dmitry Chapyshev
18df5891c1 - Fix typos
svn path=/trunk/; revision=39499
2009-02-08 19:28:41 +00:00
Dmitry Chapyshev
be4a17e107 - FIXME -> TRACE for unimplemented functions
svn path=/trunk/; revision=39498
2009-02-08 19:14:48 +00:00
Christoph von Wittich
d258115b75 E_PROP_ID_UNSUPPORTED is already defined in vfwmsgs.h
svn path=/trunk/; revision=39497
2009-02-08 18:52:59 +00:00
Dmitry Chapyshev
567bd56992 - Implement PathIsURL
svn path=/trunk/; revision=39496
2009-02-08 18:49:18 +00:00
Christoph von Wittich
46ab93a1a3 get rid of some junk
svn path=/trunk/; revision=39495
2009-02-08 18:47:23 +00:00
Dmitry Chapyshev
6988c44013 .def -> .spec (based on amd64 branch with my fixes)
svn path=/trunk/; revision=39494
2009-02-08 18:45:17 +00:00
Dmitry Gorbachev
468038e6d4 Kenichi Aramaki (karamaki-at-gmail-dot-com):
- Fix Japanese keyboard layout (bug #4145).
- Fix buffer overflow in CMD.EXE when dealing with double-byte code page (bug #4146).

svn path=/trunk/; revision=39493
2009-02-08 17:41:21 +00:00
Dmitry Chapyshev
a44e51e9d6 .def -> .spec (based on amd64 branch with my fixes)
svn path=/trunk/; revision=39492
2009-02-08 16:41:44 +00:00
Dmitry Gorbachev
3d465cce58 Flush buffers before sending a command to keyboard controller.
It should fix 'unresponsive keyboard' bug.

svn path=/trunk/; revision=39491
2009-02-08 16:07:22 +00:00
Christoph von Wittich
c7c7ca269b fix some comments
svn path=/trunk/; revision=39490
2009-02-08 15:46:22 +00:00
Christoph von Wittich
de978e0672 add qmgrprxy.dll from wine 1.14
svn path=/trunk/; revision=39489
2009-02-08 15:42:09 +00:00
Dmitry Chapyshev
dbf1679196 .def -> .spec (based on amd64 branch with my fixes)
svn path=/trunk/; revision=39488
2009-02-08 15:41:03 +00:00
Christoph von Wittich
aa6f582bd4 add actxprxy from wine 1.14
svn path=/trunk/; revision=39487
2009-02-08 15:26:59 +00:00
Gregor Schneider
37532310dd [FORMATTING] apply 4 spaces indentation
svn path=/trunk/; revision=39486
2009-02-08 15:18:13 +00:00
Gregor Schneider
0651d50d93 Evgeny Boltik, <BSTSoft AT narod DOT ru>: Convert BitBlt source coordinates (destination coordinates were converted already)
svn path=/trunk/; revision=39485
2009-02-08 14:54:41 +00:00
Kamil Hornicek
ffcf4490be - sync dinput and dinput8 with wine
svn path=/trunk/; revision=39484
2009-02-08 14:34:49 +00:00
Gregor Schneider
69f5107aab StretchBlt: +clipping -bugs
- Additional checks (coordinates switched, NOOP, degenerate, outside of valid region, ...) and offset source rectangle in internal StretchBlt functions
- Fixes the StretchBlt problem in bug #3477, bug #3656 completely as well as bug #4089 and some issues reported elsewhere (bug #3325 for example)
- Increment horizontal position even if outside of the clipping rect (Evgeny Boltik, <BSTSoft AT narod DOT ru>)
- One small problem is left, one cookie for the person who reproduces it, two for the one that fixes it ;-)

svn path=/trunk/; revision=39483
2009-02-08 14:25:33 +00:00
Christoph von Wittich
3ae5eef453 sync CredReadDomainCredentialsA/W with wine 1.14
svn path=/trunk/; revision=39482
2009-02-08 10:34:09 +00:00
Dmitry Chapyshev
37a3abe6fe - Sync advapi32_winetest with Wine head
svn path=/trunk/; revision=39481
2009-02-08 09:32:24 +00:00
Gregor Schneider
efa5b443b0 - Convert coordinates of src and dst rectangle in TransparentBlt
- Use a descriptive debug print when creation of a XLateObj failed

svn path=/trunk/; revision=39480
2009-02-08 09:25:28 +00:00
Michael Martin
f5a1c37e1b - Set Buffer pointer to NULL on failure.
svn path=/trunk/; revision=39479
2009-02-08 09:20:11 +00:00
Christoph von Wittich
6c864fe996 remove hack
svn path=/trunk/; revision=39478
2009-02-08 09:09:04 +00:00
Michael Martin
c15c8ae183 - Fix formatting
svn path=/trunk/; revision=39477
2009-02-08 09:04:42 +00:00
Christoph von Wittich
5b794bd721 remove hack
svn path=/trunk/; revision=39476
2009-02-08 09:01:01 +00:00
Christoph von Wittich
e8b74f28d4 remove hack
svn path=/trunk/; revision=39475
2009-02-08 08:58:54 +00:00
Christoph von Wittich
7c69e20a49 sync ole32_winetest with wine 1.14
svn path=/trunk/; revision=39474
2009-02-08 08:56:01 +00:00
Christoph von Wittich
25286fb023 sync oleaur32_winetest with wine 1.1.14
svn path=/trunk/; revision=39473
2009-02-08 08:55:17 +00:00
Christoph von Wittich
f44fdba630 add new module type IdlInterface
svn path=/trunk/; revision=39472
2009-02-08 08:54:47 +00:00
Timo Kreuzer
6f7b6a94c9 merge from amd64 branch. and
35645: Fix some wrong declarations for 64bits. (Samuel Serapión)
35652: More header fixes. (Samuel Serapión)
35950: Implement __readeflags and __writeeflags (Timo Kreuzer)
35951: Remove hacks from __addgsbyte, __addgsword, __addgsdword. (Timo Kreuzer)
36171: Fix TIMERPROC definition. Fix CreateToolbarEx definition. (Samuel Serapión)
36468: Add MemoryBarrier definition for amd64 (Timo Kreuzer)
36469: Fix NetLocalGroupGetMembers prototype. (Samuel Serapión)
36474: Fix ReadProcessMemory and Toolhelp32ReadProcessMemory prototypes. (Samuel Serapión)
36840: fix __rdtsc on amd64 build (Timo Kreuzer)
36898: Fix CryptReleaseContext definition. (Samuel Serapión)
36900: Fix COMBOBOXEXITEA/W noticed by Daniel Verkamp. (Samuel Serapión)
36901: Fix NMHDR definition. noticed by Daniel Verkamp. (Samuel Serapión)
36906: Fix definitions of CDHOOKPROC, PROC, FARPROC, NEARPROC, SYSTEM_INFO, COMPAREITEMSTRUCT, COPYDATASTRUCT, DELETEITEMSTRUCT, DRAWITEMSTRUCT, MENUITEMINFOA/W, HELPINFO, MSGBOXPARAMSA/W, MOUSEHOOKSTRUCT, DROPSTRUCT, KBDLLHOOKSTRUCT, GetProcessAffinityMask, SetProcessAffinityMask, DragObject, InsertMenuA/W, ModifyMenuA/W, WinHelpA/W, RT_GROUP_CURSOR, RT_GROUP_ICON (Daniel Verkamp.)
36953: Fix AFD compilation for 64-bit (treat handles as ULONG_PTR-sized). Also correct Winsock's SOCKET definition (Stefan Ginsberg)
37307: Add UNWIND_HISTORY_TABLE_ENTRY and UNWIND_HISTORY_TABLE. (Timo Kreuzer)
37875: Inlcude excpt.h in winnt.h. (Timo Kreuzer)
37908: Fix definition of SOCKET. (Timo Kreuzer)
37926: fix *HOOKPROC definition. Add 64 bit BitTest functions. (Timo Kreuzer)
38072: Fix FARPROC, NEARPROC, PROC definitions (Samuel Serapión)
38091: Fix some 64bit portability issues. (Samuel Serapión)
38093: Hack for wine specific hack. (Samuel Serapión)
38095: Fix packing for commdlg. (Samuel Serapión)
38260: Fix EDITSTREAM structure. (Samuel Serapión)
38263: Fix definitions of WAVEOPENDESC, WAVEHDR structures. Fix prototypes for DefDriverProc, waveOutMessage, waveOutGetDevCapsA/W, waveInGetDevCapsA/W, waveInMessage, midiStreamOpen, midiOutGetDevCapsA/W, midiOutOpen, midiOutMessage, midiInGetDevCapsA/W, midiInOpen, midiInMessage, auxGetDevCapsA/W, auxOutMessage, mixerGetDevCapsA/W, mixerOpen, timeSetEvent, joyGetDevCapsA/W, mciSendCommandA/W, and mciGetCreatorTask. (Samuel Serapión)
38478: Fix HeapAlloc prototype. (Timo Kreuzer)
39468: Fix some definitions in mmsystem.h (Timo Kreuzer)

svn path=/trunk/; revision=39471
2009-02-08 03:41:29 +00:00
Timo Kreuzer
6698807429 #if out some "strange" __ROS_LONG64__ definition for (U)INT_PTR, as it doesn't make sense and breaks other code. The whole __ROS_LONG64__ hack should be improved by ... being removed.
svn path=/trunk/; revision=39470
2009-02-08 03:40:38 +00:00
Timo Kreuzer
00f7494e8e According to msdn CryptReleaseContext returns 0 on error.
but INVALID_HANDLE_VALUE is -1, go back to original code

svn path=/branches/ros-amd64-bringup/; revision=39469
2009-02-08 03:27:01 +00:00
Timo Kreuzer
ca968fbb46 fix some definitions in mmsystem.h
svn path=/branches/ros-amd64-bringup/; revision=39468
2009-02-08 03:10:23 +00:00
Timo Kreuzer
9f5a99cfcf Add InitializeSListHead and QueryDepthSList to winbase.h
Remove QueryDepthSList from winddk.h
Fix definion of ExQueryDepthSList in winddk.h

svn path=/trunk/; revision=39467
2009-02-07 23:46:56 +00:00
Michael Martin
5e8a4f674a - Default ExitStatus for a process is STATUS_PENDING aka STILL_ACTIVE. Fixes bug #3135.
svn path=/trunk/; revision=39466
2009-02-07 22:48:51 +00:00
Dmitry Gorbachev
dc0a2cec45 Do not crash the kernel when accessing a guard page.
svn path=/trunk/; revision=39465
2009-02-07 19:29:39 +00:00
Dmitry Chapyshev
0a8c6e11ea - Implement SetupChangeLocale
- Add stub for SetupChangeLocaleEx

svn path=/trunk/; revision=39464
2009-02-07 18:33:35 +00:00
Dmitry Chapyshev
194e3f67f7 - Stub implement DeleteProfileA/W
svn path=/trunk/; revision=39463
2009-02-07 18:31:01 +00:00
Dmitry Chapyshev
c0cb7d35e6 - Stub implement NlsResetProcessLocale
svn path=/trunk/; revision=39462
2009-02-07 18:29:11 +00:00
Dmitry Chapyshev
6723252334 - Add olecli32 and olesvr32 from Wine
svn path=/trunk/; revision=39461
2009-02-07 18:25:36 +00:00
Steven Edwards
df4a100ba2 Always call TerminateProcess when exiting a session.
svn path=/trunk/; revision=39460
2009-02-07 17:39:51 +00:00
Johannes Anderwald
2ea5d3e069 - Add a hack
svn path=/trunk/; revision=39459
2009-02-07 15:43:14 +00:00
Johannes Anderwald
b2e7828867 - Add a hack
svn path=/trunk/; revision=39458
2009-02-07 15:35:07 +00:00
Steven Edwards
748579a668 - Reimplement TerminateShell function using WaitForSingleObject
to avoid some of the excessive usage of Sleep. Let me know if
you spot a bug.


svn path=/trunk/; revision=39457
2009-02-07 15:21:15 +00:00
Christoph von Wittich
070cba2db8 fix a comment
svn path=/trunk/; revision=39456
2009-02-07 15:15:01 +00:00
Johannes Anderwald
0fb7d7ca0e - Add a new member to SC_RPC_CONFIG_INFOA structure
- This hack is currently required to pass LPSERVICE_DESCRIPTION onto services via rpc as the member is lpDescription is a variable length string pointer

svn path=/trunk/; revision=39455
2009-02-07 15:06:59 +00:00
Dmitry Chapyshev
028c6e462d - Partially revert r39453
svn path=/trunk/; revision=39454
2009-02-07 12:55:43 +00:00
Dmitry Chapyshev
37d68d3d83 - Add stub program for winhlp32 (should be located in system32)
- winhlp32 now it is located in c:\reactos
BUG: Stub program and winhlp32 have an identical name of a file, but are located in different directories. At installation winhlp32 it is copied in system32 and c:\reactos. We need to think up a way to install two or more files with identical names

svn path=/trunk/; revision=39453
2009-02-07 11:21:07 +00:00
Kamil Hornicek
f1a5f6e179 - update polish translation of usetup by Olaf Siejka
svn path=/trunk/; revision=39452
2009-02-07 10:36:57 +00:00
Christoph von Wittich
910f60d2f2 fix ScmRpcStatusToWinError handling
svn path=/trunk/; revision=39451
2009-02-07 09:11:31 +00:00
Christoph von Wittich
464363fadc sync oleaut32 to wine 1.1.14
sync rpcrt4 to wine 1.1.14 except UuidCreate in rpcrt4_main.c as it isn't compatible to our headers

svn path=/trunk/; revision=39450
2009-02-07 07:52:12 +00:00
Art Yerkes
e751a0cbb0 Obey pid defined macro.
svn path=/trunk/; revision=39449
2009-02-07 07:23:52 +00:00
Christoph von Wittich
83fea96ee6 fix formatting
svn path=/trunk/; revision=39448
2009-02-07 07:14:25 +00:00
Art Yerkes
e44126ac85 Calling listen more than once is expected to be benign.
svn path=/trunk/; revision=39447
2009-02-07 01:20:25 +00:00
Timo Kreuzer
553d712e8b define BitScanReverse to _BitScanReverse, add BitScanForeward the same way, add 64 bit InterlockedBittest intrinsics
svn path=/trunk/; revision=39446
2009-02-07 00:20:25 +00:00
Timo Kreuzer
900326bee8 merge from amd64 branch:
37966: Make IMAGE_ORDINAL_FLAG64 an ULONGLONG (Timo Kreuzer)
38111: Make sure UNALIGNED is not redefined (Samuel Serapión)
38423: Fix RtlAllocateHeap, RtlExtendHeap,RtlSizeHeap definitions.(Samuel Serapión)

svn path=/trunk/; revision=39445
2009-02-06 23:45:18 +00:00
Christoph von Wittich
146a2bfc75 remove dead code
svn path=/trunk/; revision=39444
2009-02-06 19:07:22 +00:00
Johannes Anderwald
3dad41d9c4 - new oo entry, patch Mario Kacmar
svn path=/trunk/; revision=39443
2009-02-06 16:27:58 +00:00
Christoph von Wittich
75f0865f37 fix NULL checks
svn path=/trunk/; revision=39442
2009-02-06 15:24:18 +00:00
Dmitry Gorbachev
5e6db6dc60 - Fix spinning on locks on SMP.
- Alignment bug in GCC 4.3.3.

svn path=/trunk/; revision=39441
2009-02-06 14:47:19 +00:00
Christoph von Wittich
51a928f1de revert 37001 (Initialize _RetVal properly in order to avoid compiler warnings) as we have PSEH2 now and don't suffer from this gcc bug anymore
svn path=/trunk/; revision=39440
2009-02-06 13:33:57 +00:00
Timo Kreuzer
e88b1c8624 merge from amd64 branch:
37868: Add CONTEXT flags for x64 (Timo Kreuzer)
39346: Use intrinsics for rtl byteswap functions for GNUC, too. Only include them if NTOS_MODE_USER. (Timo Kreuzer)
39347: Move rtl byteswap functions to wdm.h and add intrinsic definitions (Timo Kreuzer)

svn path=/trunk/; revision=39439
2009-02-06 13:04:18 +00:00
Johannes Anderwald
994dea8d8a - Add more error checks
svn path=/trunk/; revision=39438
2009-02-06 12:18:47 +00:00
Christoph von Wittich
ab81d30c29 add a missing Status to ScmRpcStatusToWinError
svn path=/trunk/; revision=39437
2009-02-06 11:49:21 +00:00
Christoph von Wittich
e877ae3bff fix a nice bug in RGetServiceKeyNameA
svn path=/trunk/; revision=39436
2009-02-06 11:18:49 +00:00
Dmitry Gorbachev
8dd9673939 Fix formatting in muilanguages.h. Patch from Mario Kacmar. Bug #4138.
svn path=/trunk/; revision=39435
2009-02-06 09:00:39 +00:00
Christoph von Wittich
ead9dcbd31 add some more error checking
svn path=/trunk/; revision=39434
2009-02-06 08:51:51 +00:00
Christoph von Wittich
18922ff0a4 fix some QueryServiceConfig2A winetests
svn path=/trunk/; revision=39433
2009-02-06 08:51:20 +00:00
Steven Edwards
7f0c18cb38 - Some formating changes
- Remove unneeded spec, just use the comments
- Syslog interface for my wine usage, disabled in ReactOS tree
 but included here to reduce my diff.


svn path=/trunk/; revision=39432
2009-02-06 08:22:18 +00:00
Dmitry Chapyshev
fb23e17854 - Implement GetVolumePathNameA/W
svn path=/trunk/; revision=39431
2009-02-06 08:13:11 +00:00
Steven Edwards
286adffc4b Changed port back to 23
svn path=/trunk/; revision=39430
2009-02-06 06:47:54 +00:00
Steven Edwards
321bf76918 - Use the Wine spooler service as the service entry template as I was
testing on Wine. (Disabled to allow stand alone build while we wait on 
AFD fix)
- Move some stuff around to the header to prepare for later cleanups


svn path=/trunk/; revision=39429
2009-02-06 06:45:54 +00:00
Steven Edwards
d0c78a0f46 - Make telnetd only slightly more RFC-compatible
Thanks to Fedora Anaconda telnet code as an example.
This allows us to actually get an echo back on the
screen when we type commands.


svn path=/trunk/; revision=39428
2009-02-06 05:34:39 +00:00
Timo Kreuzer
af69e9c54e winddk: Move mm definitions into arch specific area
svn path=/trunk/; revision=39427
2009-02-06 02:03:57 +00:00
Timo Kreuzer
4a0cbfe0d9 winddk.h add amd64 CONTEXT
svn path=/trunk/; revision=39426
2009-02-06 00:05:33 +00:00
Timo Kreuzer
47193f550f Merge 37493,37494 from amd64 branch:
Fix amd64 / ia64 default definition of RtlGetCallersAddress (Timo Kreuzer)

svn path=/trunk/; revision=39425
2009-02-05 23:35:51 +00:00
Johannes Anderwald
f1011d8bb5 - Fix a potential buffer overflow in RChangeServiceConfigA
- Make sure that returned buffers are zero terminated in RQueryServiceConfigA

svn path=/trunk/; revision=39424
2009-02-05 22:23:43 +00:00
Matthias Kupfer
693252f753 - Add Denmark to country list and set geo id.
- Set geo id for Czech Republic.

svn path=/trunk/; revision=39423
2009-02-05 21:57:04 +00:00
Dmitry Gorbachev
8dd42ae303 Fix bug #4129 in CmpGetNameControlBlock().
svn path=/trunk/; revision=39422
2009-02-05 21:30:21 +00:00
Johannes Anderwald
d54988a73d - Ignore lpResult parameter
svn path=/trunk/; revision=39421
2009-02-05 20:19:32 +00:00
Johannes Anderwald
e35599aa1e - Fix returned length for RGetServiceKeyNameW
- Perform parameters check in right order in ROpenServiceW

svn path=/trunk/; revision=39420
2009-02-05 20:18:11 +00:00
Johannes Anderwald
c6c028fe41 - Add more error checks which reduce winetest errors
svn path=/trunk/; revision=39419
2009-02-05 19:13:35 +00:00
Timo Kreuzer
9e98af0628 merge from amd64 branch
39059
ssprintf.cpp/xml.cpp: Fix compilation for gcc 4.4.0 and 64bits (Samuel Serapión)

svn path=/trunk/; revision=39418
2009-02-05 18:57:59 +00:00
Timo Kreuzer
bf13eb0000 merge from amd64 branch
37786: Link to libgcc_eh for C++ apps (Samuel Serapión)
39416: improve r37786 a bit (Timo Kreuzer)
36415: rbuild: implement MingwModuleHandler::GetDebugFormat(), returning "dwarf-2" on amd64, "stabs+" in all other cases so far (Timo Kreuzer)

svn path=/trunk/; revision=39417
2009-02-05 18:47:05 +00:00
Timo Kreuzer
dadf662776 rbuild: improve r37786 a bit
- Link to libgcc_eh for C++ apps.

svn path=/branches/ros-amd64-bringup/; revision=39416
2009-02-05 18:37:48 +00:00
Timo Kreuzer
ae1cda6270 rbuild: implement MingwModuleHandler::GetDebugFormat(), returning "dwarf-2" on amd64, "stabs+" in all other cases so far.
svn path=/branches/ros-amd64-bringup/; revision=39415
2009-02-05 18:29:24 +00:00
Timo Kreuzer
d3a9426b6a merge from amd64 branch
34740: Strip off stdcall decoration from amd64 entry points (Timo Kreuzer)
37786: Link to libgcc_eh for amd64 C++ apps (Samuel Serapión)

svn path=/trunk/; revision=39414
2009-02-05 17:58:55 +00:00
Johannes Anderwald
80187e8d4e - Improve error checking
svn path=/trunk/; revision=39413
2009-02-05 17:22:59 +00:00
Johannes Anderwald
be4863c855 - Make sure "Open" verb is always inserted first
- Apply item style to current item not to next
- bug 4065

svn path=/trunk/; revision=39412
2009-02-05 15:15:24 +00:00
Christoph von Wittich
65cc369150 hackfix some services stuff
svn path=/trunk/; revision=39411
2009-02-05 15:08:51 +00:00
Dmitry Chapyshev
675ba8eacc - Add some defines to winnt.h
- Partially implement RegSaveKeyExW

svn path=/trunk/; revision=39410
2009-02-05 14:18:20 +00:00
Matthias Kupfer
f42c3f4048 - Set geographical position in conjunction with language selection
- Translation for the changes made for English and German (other languages need to be updated)
- List of languages extend by GeoID-field and set the GeoID for a lot of countries (Some countries needs to update in hivesft_* first, some language entries needs to split up for different countries)
- Solves second part of issue #3448, now correct GeoID is set per default for a lot of countries.

svn path=/trunk/; revision=39409
2009-02-05 13:50:49 +00:00
Dmitry Chapyshev
76e0cf24dd - Add RegSaveKeyExA/W to winreg.h
- Uncomment RegSaveKeyExA/W in advapi32.def
- Implement RegSaveKeyExA
- Add stub for RegSaveKeyExW

svn path=/trunk/; revision=39408
2009-02-05 13:47:51 +00:00
Johannes Anderwald
edd487537a - Don't pass empty ServiceArgumentVector to StartService
- Fixes a heap corruption

svn path=/trunk/; revision=39407
2009-02-05 13:30:24 +00:00
Johannes Anderwald
f7f3a1294f - Prevent using of uninitialized values in error case
- Don't leak ServiceHandle and ServiceManagerHandle

svn path=/trunk/; revision=39406
2009-02-05 12:56:11 +00:00
Christoph von Wittich
57ea9f9e02 enable iexplore build
svn path=/trunk/; revision=39405
2009-02-05 12:52:59 +00:00
Dmitry Chapyshev
76f8d5e15e - Sync usp10 with Wine head
svn path=/trunk/; revision=39404
2009-02-05 11:07:55 +00:00
Christoph von Wittich
bb6f0157c3 Alexandre Julliard : include: Fix packing of the msacm structures.
<julliard at winehq.org>

svn path=/trunk/; revision=39403
2009-02-05 09:09:29 +00:00
Christoph von Wittich
ff0436a020 shell32: Fixed potential buffer overwrite in execute_from_key (Coverity).
Marcus Meissner <marcus at jet.franken.de>

svn path=/trunk/; revision=39402
2009-02-05 08:55:28 +00:00
Christoph von Wittich
63e35e6ed4 Aric Stewart : advapi32: Add Security Label sids used by IE7.
<aric at codeweavers.com>

svn path=/trunk/; revision=39401
2009-02-05 08:50:14 +00:00
Christoph von Wittich
9cf81b0af1 a little bit of wine syncing
svn path=/trunk/; revision=39400
2009-02-05 07:58:35 +00:00
Christoph von Wittich
bfe53a5d98 add shdoclc from wine 1.1.14
svn path=/trunk/; revision=39399
2009-02-05 07:46:59 +00:00
Christoph von Wittich
0a683381ae urlmon: Fixed target buffer length to MBtoWC
Marcus Meissner <marcus at jet.franken.de>

http://www.winehq.org/pipermail/wine-patches/2009-February/068906.html

svn path=/trunk/; revision=39398
2009-02-05 07:01:34 +00:00
Christoph von Wittich
2ba1713711 mshtml: fixed second buffer argument to MultiByteToWideChar
Marcus Meissner <marcus at jet.franken.de>

http://www.winehq.org/pipermail/wine-patches/2009-February/068903.html

svn path=/trunk/; revision=39397
2009-02-05 06:54:33 +00:00
Christoph von Wittich
ca07b1a508 atl: fixed second buffer size to MBtoWC
Marcus Meissner <marcus at jet.franken.de>

http://www.winehq.org/pipermail/wine-patches/2009-February/068894.html

svn path=/trunk/; revision=39396
2009-02-05 06:50:19 +00:00
Christoph von Wittich
f38aaf659b add a buffer length check (fixes one service test)
svn path=/trunk/; revision=39395
2009-02-04 19:16:51 +00:00
Christoph von Wittich
e1f736659a change gecko download url as the version bug is fixed
svn path=/trunk/; revision=39394
2009-02-04 18:39:30 +00:00
Christoph von Wittich
75f1d09ba8 allow to use a local copy of wine_gecko.cab instead of having to download it every time
http://www.winehq.org/pipermail/wine-patches/2009-February/068889.html
http://www.winehq.org/pipermail/wine-patches/2009-February/068891.html
http://www.winehq.org/pipermail/wine-patches/2009-February/068890.html
http://www.winehq.org/pipermail/wine-patches/2009-February/068892.html

svn path=/trunk/; revision=39393
2009-02-04 18:09:03 +00:00
Dmitry Gorbachev
bafaf162a4 Fix warnings in Regional Settings and Multimedia control panel applets. Patch from Carlo Bramini, bug #4090.
svn path=/trunk/; revision=39392
2009-02-04 16:30:05 +00:00
Dmitry Gorbachev
2e93c4c1d9 - Remove extra semicolons. Amine Khaldi, bug #3980.
- Fix a warning (bug) in ADNS library.

svn path=/trunk/; revision=39391
2009-02-04 16:26:02 +00:00
Christoph von Wittich
43eb75a9e4 sync mshtml and shdocvw winetests with wine 1.1.14
svn path=/trunk/; revision=39390
2009-02-04 14:36:08 +00:00
Christoph von Wittich
cc12355d0e sync mshtml and shdocvw to wine 1.1.14
svn path=/trunk/; revision=39389
2009-02-04 14:35:06 +00:00
Matthias Kupfer
df7c034a38 - Apply minor fix to German translation.
- Create Administrator account after default settings have been set.
- Solves issue #4214 and partly #3448 (GeoID still not set per default, but all changes apply to installed system now).
- See booth issues for more details.

svn path=/trunk/; revision=39388
2009-02-04 14:28:27 +00:00
Colin Finck
b419715eb2 - Change "pollchar" to also empty the keyboard buffer after polling the character and rename it to "pollchar_and_empty" accordingly.
This fixes a bug revealed by silverblade's FOSDEM CD: If you boot FreeLoader with a boot menu from CD and press a key after that "Press any key to boot from CD" message, that keypress was forwarded to FreeLoader as well.
- Remove the already unused and now unsynchronized "pollchar" from the regression testing boot sector.

svn path=/trunk/; revision=39387
2009-02-04 13:13:21 +00:00
Dmitry Chapyshev
0a8a745e77 - Fix build
svn path=/trunk/; revision=39386
2009-02-04 13:12:35 +00:00
Dmitry Chapyshev
23559be882 - More stub implementation
- Fix params for LogoffWindowsDialog

svn path=/trunk/; revision=39385
2009-02-04 12:51:47 +00:00
Christoph von Wittich
8cd3b76387 add wcsncpy_s, strcat_s (from wine)
and _ftol2 and _ftol2_sse required by vmware tools

svn path=/trunk/; revision=39384
2009-02-04 10:09:48 +00:00
Steven Edwards
98b23c7c52 Warning cleanup:
- disable the unused service related functions for now
 - comment out a bunch of unused variables
 - cast a few things to shut up compiler warnings for now


svn path=/trunk/; revision=39383
2009-02-04 10:01:42 +00:00
Ged Murphy
638a93a3ef - Implement SERVICE_CONFIG_DESCRIPTION and SERVICE_CONFIG_FAILURE_ACTIONS for RChangeServiceConfig2A
- Christoph requires this for the vmware tools installer

svn path=/trunk/; revision=39382
2009-02-04 09:34:05 +00:00
Christoph von Wittich
cd58e6643a hackfix .spec file to prevent a broken export table
svn path=/trunk/; revision=39381
2009-02-04 07:01:47 +00:00
Steven Edwards
e84a9a9093 Hacks to get telnetd to work in XP and Wine
- turn off unicode in rbuild file and serviceentry.c
   Its not unicode yet anyway

 - Disable authentication stuff
    

svn path=/trunk/; revision=39380
2009-02-04 06:35:57 +00:00
Christoph von Wittich
bf53811ef2 set version to 7,0,2600,2180 otherwise some apps will try to overwrite it
svn path=/trunk/; revision=39379
2009-02-04 06:29:23 +00:00
Christoph von Wittich
7c2dea1a27 disable dprints
svn path=/trunk/; revision=39378
2009-02-04 06:10:19 +00:00
Christoph von Wittich
217745c949 fix formatting (again)
svn path=/trunk/; revision=39377
2009-02-04 06:04:24 +00:00
Steven Edwards
29f2647a3e Enable the hackish telnet daemon for network testing.
Please forgive this commit as this does cause warnings.
I will be cleaning this up, time premitting over the next
few weeks.


svn path=/trunk/; revision=39376
2009-02-04 04:55:01 +00:00
Timo Kreuzer
203459bc9e csrsrv: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=39375
2009-02-04 03:41:43 +00:00
Art Yerkes
37d6382770 Add a per-directory cache of short filenames allowing us to generate them
uniquely.  dir /x now shows properly unambiguous short filenames.
Also, we weren't FsRtlEnterFilesystem ing in directory operations.  Fix that
too.

svn path=/trunk/; revision=39374
2009-02-04 03:39:23 +00:00
Timo Kreuzer
2204f4ce96 remove an old hack
svn path=/branches/ros-amd64-bringup/; revision=39373
2009-02-04 03:34:53 +00:00
Timo Kreuzer
66f30cfa89 Fix LDR_DATA_TABLE_ENTRY mamber names
svn path=/branches/ros-amd64-bringup/; revision=39372
2009-02-04 03:15:10 +00:00
Timo Kreuzer
8c77907bae rbuild: this got lost, too
svn path=/branches/ros-amd64-bringup/; revision=39371
2009-02-04 01:45:14 +00:00
Timo Kreuzer
0b3583a39b rbuild: merge what got lost from r38301
svn path=/branches/ros-amd64-bringup/; revision=39370
2009-02-04 01:44:23 +00:00
Timo Kreuzer
b6eeb280a5 merge 34700, 34802, 35517, 35650 from amd64 branch
NCI:
34802/34802/35517: Create x64 syscall stubs (Timo Kreuzer)
35650 Don't add stdcall decorations to amd64 syscalls.(Samuel Serapión)

svn path=/trunk/; revision=39369
2009-02-04 01:34:17 +00:00
Timo Kreuzer
c13d343799 merge 34730 from amd64 branch
wmc: include string.h to silence implicit declaration warnings (Samuel Serapión)

svn path=/trunk/; revision=39368
2009-02-04 01:26:13 +00:00
Timo Kreuzer
e3af9afd04 sync widl to trunk r39350
svn path=/branches/ros-amd64-bringup/; revision=39367
2009-02-04 01:23:02 +00:00
Timo Kreuzer
5119df66d4 remove unnessesary dependency to msvcrt
svn path=/trunk/; revision=39366
2009-02-04 00:14:47 +00:00
Timo Kreuzer
29801bdec4 merge r39363 from trunk
svn path=/branches/ros-amd64-bringup/; revision=39365
2009-02-04 00:08:00 +00:00
Timo Kreuzer
a96e30d6d8 use i386/setjmplongjmp.s only on x86 architecture
svn path=/trunk/; revision=39364
2009-02-04 00:06:46 +00:00
Timo Kreuzer
886623464d remove duplicate reference to libcntpr
svn path=/branches/ros-amd64-bringup/; revision=39363
2009-02-04 00:04:22 +00:00
Timo Kreuzer
53155efcf6 dxtn: convert to spec
svn path=/trunk/; revision=39362
2009-02-04 00:00:05 +00:00
Timo Kreuzer
cfd74942e7 dxtn: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=39361
2009-02-03 23:59:05 +00:00
Timo Kreuzer
4507070315 update tracert from trunk
svn path=/branches/ros-amd64-bringup/; revision=39360
2009-02-03 23:53:04 +00:00
Timo Kreuzer
3b0ffb9af3 tacert: use ULONG format instead of long long when displaying the time in ms.
svn path=/trunk/; revision=39359
2009-02-03 23:52:25 +00:00
Timo Kreuzer
c7f6d8fd09 update ping from trunk
svn path=/branches/ros-amd64-bringup/; revision=39358
2009-02-03 23:37:52 +00:00
Timo Kreuzer
cdbc9c6439 ping: silence warnings on x64
svn path=/trunk/; revision=39357
2009-02-03 23:37:08 +00:00
Timo Kreuzer
bc2fb17d2b update calc part 2
svn path=/branches/ros-amd64-bringup/; revision=39356
2009-02-03 23:21:36 +00:00
Timo Kreuzer
861dce28f8 Update calc
svn path=/branches/ros-amd64-bringup/; revision=39355
2009-02-03 23:19:18 +00:00
Timo Kreuzer
1a95247634 merge 36907 from amd64 branch:
taskmgr: Use DWORD_PTR instead of DWORD for the Affiity mask. (Samuel Serapión)

svn path=/trunk/; revision=39354
2009-02-03 23:03:35 +00:00
Colin Finck
7091708541 Gabriel Ilardi (gabrielilardi@hotmail.it)
- Allow only one instance of Task-Manager to be run at the same time

See issue #3976 for more details.

svn path=/trunk/; revision=39353
2009-02-03 22:25:39 +00:00
Timo Kreuzer
f611bc9f3d Sync to trunk r39350.
Usermode is broken. Some idl problem.

svn path=/branches/ros-amd64-bringup/; revision=39352
2009-02-03 22:14:40 +00:00
Timo Kreuzer
b24b8f4a23 Don't cast pointers to ULONG!
svn path=/trunk/; revision=39351
2009-02-03 21:52:49 +00:00
Dmitry Chapyshev
b45c5496ad - Add missed structure and function to shellapi.h
- Add more stubs to shell32

svn path=/trunk/; revision=39350
2009-02-03 20:56:26 +00:00
Dmitry Chapyshev
861fec6cd7 - Fix build. Sorry :)
svn path=/trunk/; revision=39348
2009-02-03 20:11:44 +00:00
Timo Kreuzer
a3df672920 [DDK] Move rtl byteswap functions to wdm.h and add intrinsic definitions
svn path=/branches/ros-amd64-bringup/; revision=39347
2009-02-03 19:55:11 +00:00
Timo Kreuzer
6130b41fe2 [NDK] Use intrinsics for rtl byteswap functions for GNUC, too. Only include them if NTOS_MODE_USER. Fuctions are only present for NTDDI_VERSION >= NTDDI_WIN2K
svn path=/branches/ros-amd64-bringup/; revision=39346
2009-02-03 19:51:09 +00:00
Timo Kreuzer
f983125e50 ksuser: convert to spec, don't allow warnings
svn path=/branches/ros-amd64-bringup/; revision=39345
2009-02-03 19:42:31 +00:00
Dmitry Chapyshev
a018d892fe - Add more stubs
- Fix return value for PathIsTemporaryW

svn path=/trunk/; revision=39344
2009-02-03 19:41:15 +00:00
Gregor Schneider
bd65505332 Delete old XLateObj before creating a new one, fixes a mem leak when installing .Net 2.0 Framework
svn path=/trunk/; revision=39343
2009-02-03 19:37:18 +00:00
Timo Kreuzer
19e9f7ea24 Fix broken and overcomplicated pointer arithmetic
svn path=/branches/ros-amd64-bringup/; revision=39342
2009-02-03 19:26:00 +00:00
Gregor Brunmar
fe9de35fff D3D9:
* Fixed compilation error
* Implemented IDirect3DBaseTexture9's and IDirect3DTexture9's GetAutoGenFilterType(), GetLOD() and GetLevelCount()

svn path=/trunk/; revision=39341
2009-02-03 18:55:20 +00:00
Colin Finck
98346f3252 Revert 39295 on request of hpoussin
svn path=/trunk/; revision=39340
2009-02-03 17:27:10 +00:00
Johannes Anderwald
613f4b1847 - fix bug 4126 by Mario Kacmar
svn path=/trunk/; revision=39339
2009-02-03 16:55:54 +00:00
Timo Kreuzer
e7cb518fd7 deconstify target in interlocked intrinsics
svn path=/branches/ros-amd64-bringup/; revision=39338
2009-02-03 16:48:50 +00:00
Gregor Schneider
7da4798c20 Testcase extension by Evgeny Boltik <BSTSoft AT narod DOT ru>:
- Test StretchBlt ROP codes similar to BitBlt
- Offset drawing coordinates with SetWindowOrgEx
- Show an overview of several hatched brushes
- This was used to test r39336, r39332 and r39326 and the src&dst StretchBlt ROP support

svn path=/trunk/; revision=39337
2009-02-03 16:11:31 +00:00
Gregor Schneider
b4c66a205a Offset the source and destination rectangles as pointed out in bug #4107. Remove respective FIXME.
svn path=/trunk/; revision=39336
2009-02-03 15:58:46 +00:00
Timo Kreuzer
f61c37c2cb fix prototype of RtlAllocateHeap
svn path=/branches/ros-amd64-bringup/; revision=39335
2009-02-03 15:43:51 +00:00
Christoph von Wittich
0c9b0cdd9d don't return FALSE when there is a DataSectionObject without reference as it breaks ole32 storage
needs further investigation

svn path=/trunk/; revision=39334
2009-02-03 15:32:36 +00:00
Timo Kreuzer
61467fd142 hid: convert to spec (taken from wine)
svn path=/branches/ros-amd64-bringup/; revision=39333
2009-02-03 15:23:27 +00:00
Gregor Schneider
acf1b854aa Brush displacement fix from r39326 for 24bpp.
svn path=/trunk/; revision=39332
2009-02-03 15:17:31 +00:00
Timo Kreuzer
58ab969261 implement __iob_func()
svn path=/branches/ros-amd64-bringup/; revision=39331
2009-02-03 15:14:30 +00:00
Dmitry Chapyshev
b89298805f - Add correct names for all stubs (based on information from http://www.geoffchappell.com/studies/windows/shell/shell32/api/index.htm)
- Fix SHSetShellWindowEx

svn path=/trunk/; revision=39329
2009-02-03 15:07:53 +00:00
Timo Kreuzer
38c6f78763 dnsapi.dll: convert to spec (taken from wine)
svn path=/branches/ros-amd64-bringup/; revision=39328
2009-02-03 14:57:37 +00:00
Christoph von Wittich
8517038812 fix formatting
svn path=/trunk/; revision=39327
2009-02-03 14:50:50 +00:00
Gregor Schneider
a9d8af1af6 Evgeny Boltik <BSTSoft AT narod DOT ru>:
Fix a brush displacement that was shown after clipping a bitblitted picture (8/16/32bpp). Bug #4107

svn path=/trunk/; revision=39326
2009-02-03 14:43:19 +00:00
Timo Kreuzer
5f3118f01c include time.h for struct tm
svn path=/branches/ros-amd64-bringup/; revision=39325
2009-02-03 14:43:10 +00:00
Timo Kreuzer
665679dffe time.h: rename include guard to _INC_TIME, remove localtime_s and localtime_r definition, define asctime_s only if __STDC_WANT_SECURE_LIB is defined.
svn path=/branches/ros-amd64-bringup/; revision=39324
2009-02-03 14:34:30 +00:00
Gregor Schneider
e4ca01940c Forgot to commit this code in r39227, needed for basic clipping.
svn path=/trunk/; revision=39323
2009-02-03 14:33:23 +00:00
Dmitry Chapyshev
df7415ebd9 - FIXME -> TRACE for InvalidateDriveType. Unimplemented in WinXP SP3
- Add stub for SHFindComputer, SHLimitInputEdit, SHLimitInputCombo
- Add comments

svn path=/trunk/; revision=39322
2009-02-03 13:55:04 +00:00
Colin Finck
e191c57fb3 Rename the wallpaper to conform with ISO 9660:1988 and make cdmake happy...
svn path=/trunk/; revision=39318
2009-02-03 13:26:30 +00:00
Timo Kreuzer
d12be4b77d add localtime_s prototype here, as it's not part of official headers
svn path=/branches/ros-amd64-bringup/; revision=39317
2009-02-03 13:00:31 +00:00
Dmitry Chapyshev
1956faaa0b - Remove shell.spec and version16.rc
svn path=/trunk/; revision=39316
2009-02-03 12:54:51 +00:00
Dmitry Chapyshev
ac5c910802 - Add file for stubs
- Add stub implementation for SHLocalAlloc, SHLocalFree, SHLocalReAlloc, AddCommasW, ShortSizeFormatW
- Partially remove unneeded stuff from .spec

svn path=/trunk/; revision=39315
2009-02-03 12:50:50 +00:00
Christoph von Wittich
599e30a39f -check for filesize in MmCanFileBeTruncated
-make use of MmCanFileBeTruncated in VfatSetAllocationSizeInformation
-make use of MmCanFileBeTruncated in VfatSetInformation (patch by arty with some fixes from me)
thanks to Alex for the hint that we miss the MmCanFileBeTruncated check
fixes "Anyone has referenced a cache segment behind the new size."
See issue #712 for more details.

svn path=/trunk/; revision=39314
2009-02-03 12:39:55 +00:00
Timo Kreuzer
70e9bdcc15 revert last commit, this is wine code, we need allowwarnings="true"
svn path=/branches/ros-amd64-bringup/; revision=39313
2009-02-03 12:35:49 +00:00
Timo Kreuzer
793fdfb70a Use %p instead of %0xlx as format for pointer sized variable.
svn path=/branches/ros-amd64-bringup/; revision=39312
2009-02-03 12:31:24 +00:00
Timo Kreuzer
89b023d340 implement _mktime32, _mkgmtime32, _mktime64, _mkgmtime64 and use a worker function for all versions.
svn path=/branches/ros-amd64-bringup/; revision=39311
2009-02-03 12:27:01 +00:00
Colin Finck
e274f4c714 Import the 4:3 version of the ReactOS wallpaper by forum user "Angelus" (jedi.knight@wanadoo.es), including the original 1440x1080 JPG and a 1024x768 BMP.
It is now the default wallpaper for releases.

I also reorganized the ReadMe file to make tracking the sources of these wallpapers easier.

svn path=/trunk/; revision=39307
2009-02-03 11:16:51 +00:00
Timo Kreuzer
f9df018c07 remove #if 0 hack
svn path=/branches/ros-amd64-bringup/; revision=39306
2009-02-03 11:12:22 +00:00
Colin Finck
3f5fd0f760 Fix freeing the allocated string SID
svn path=/trunk/; revision=39304
2009-02-03 09:39:57 +00:00
Dmitry Chapyshev
b7dc6dc3d9 - Add stub for SHGetIconOverlayIndexA/W
- Remove "-noname" attribute from ILAppendID function

svn path=/trunk/; revision=39303
2009-02-03 09:29:48 +00:00
Dmitry Chapyshev
62cd647ea4 - Small cleanup shell32. We don't support non-unicode OSes and Windows XP/2003 calls unicode functions
svn path=/trunk/; revision=39302
2009-02-03 09:23:16 +00:00
Michael Martin
0c9316bd54 - Change MultiByteToWideChar to match windows behavior. Fix part 1 of ? for bug #3740.
svn path=/trunk/; revision=39301
2009-02-03 09:09:06 +00:00
Dmitry Chapyshev
edf41d63c7 - Update shell32 exports to 6.0.2900.5686
svn path=/trunk/; revision=39300
2009-02-03 07:37:10 +00:00
Timo Kreuzer
877dfe0d32 #if out x86 specific inline code for other archictectures
svn path=/branches/ros-amd64-bringup/; revision=39299
2009-02-03 03:51:40 +00:00
Timo Kreuzer
b59c53ef27 #if out x86 specific inline code for other archictectures
svn path=/branches/ros-amd64-bringup/; revision=39298
2009-02-03 03:51:15 +00:00
Timo Kreuzer
f0497fd9c5 kd64: Add KdpSysGetVersion to internal header
svn path=/branches/ros-amd64-bringup/; revision=39297
2009-02-03 01:08:26 +00:00
Timo Kreuzer
2a2d68b378 Fix LDR_DATA_TABLE_ENTRY member names
svn path=/branches/ros-amd64-bringup/; revision=39296
2009-02-03 01:07:37 +00:00
Colin Finck
d7ca3b27e6 Set the APPDATA environment variable when logging in based on the information SHGetFolderPathW returns for the passed User Token.
Windows seems to do this the same way (verified with GNU strings)

svn path=/trunk/; revision=39295
2009-02-02 23:08:51 +00:00
Colin Finck
0228866724 Support passing a Token to SHGetFolderPathW and similar functions
svn path=/trunk/; revision=39294
2009-02-02 23:06:33 +00:00
Dmitry Gorbachev
e7a9a76264 Move hack to other place because of bug #4120.
svn path=/trunk/; revision=39292
2009-02-02 22:31:54 +00:00
Dmitry Gorbachev
2e97505e3a Add new strings to translations.
svn path=/trunk/; revision=39291
2009-02-02 21:44:31 +00:00
Kamil Hornicek
4e5afc5ce8 - sync dinput with wine
svn path=/trunk/; revision=39290
2009-02-02 21:09:39 +00:00
Christoph von Wittich
cfad1c5307 halfplement MmCanFileBeTruncated
svn path=/trunk/; revision=39289
2009-02-02 17:14:24 +00:00
Dmitry Gorbachev
a120dfab47 Hack-close TCP connection. Bug #1283.
svn path=/trunk/; revision=39285
2009-02-02 12:28:31 +00:00
Christoph von Wittich
0db38b3b38 init dwTotalRecords to 0
fixes a crash in case of GetNumberOfEventLogRecords fails

svn path=/trunk/; revision=39284
2009-02-02 08:54:57 +00:00
Art Yerkes
0eea5df223 Suppress a warning about -1, since wchar_t is typically unsigned.
svn path=/trunk/; revision=39283
2009-02-02 06:19:01 +00:00
Timo Kreuzer
6c8b5da3ba timedate.cpl: Fix size of the clock on both windows and reactos on any screen resolution.
svn path=/trunk/; revision=39282
2009-02-02 01:33:13 +00:00
Timo Kreuzer
e02dd69903 gdi32: Fix and enable usermode implementation of SetWindowExtEx and SetViewportExtEx.
Win32k: remove NtGdiSetWindowExtEx and NtGdiSetViewportExtEx, rewrite IntFixIsotropicMapping, implement IntGetViewportExtEx

svn path=/trunk/; revision=39281
2009-02-02 00:49:19 +00:00
Timo Kreuzer
849e2133ac Add tests for SetWindowExtEx, one more test for CreateCompatibleDC
svn path=/trunk/; revision=39280
2009-02-02 00:37:01 +00:00
Timo Kreuzer
3d3f2049c4 Fix KiInitGdtEntry
svn path=/branches/ros-amd64-bringup/; revision=39278
2009-02-01 22:08:01 +00:00
Hervé Poussineau
d2ba20e8fa Take into account environment variables specified by gina DLL
svn path=/trunk/; revision=39274
2009-02-01 19:52:41 +00:00
Christoph von Wittich
50195e9741 sync pdh with wine 1.1.14
svn path=/trunk/; revision=39272
2009-02-01 17:20:58 +00:00
Christoph von Wittich
3d89a72112 sync cryptdlg with wine 1.1.14
svn path=/trunk/; revision=39271
2009-02-01 17:13:15 +00:00
Christoph von Wittich
cf017c8a04 sync schannel with wine 1.1.14
svn path=/trunk/; revision=39270
2009-02-01 17:09:58 +00:00
Christoph von Wittich
4d1d1fe9c5 fix debugprint
svn path=/trunk/; revision=39268
2009-02-01 14:01:44 +00:00
Christoph von Wittich
70f8f48451 sync hlink with wine 1.1.14
svn path=/trunk/; revision=39267
2009-02-01 13:53:08 +00:00
Christoph von Wittich
fbed23740e sync urlmon to wine 1.1.14
svn path=/trunk/; revision=39266
2009-02-01 13:46:44 +00:00
Christoph von Wittich
05b450ba65 uncomment the exports
svn path=/trunk/; revision=39265
2009-02-01 13:38:30 +00:00
Christoph von Wittich
faf395d839 stub some missing functions
svn path=/trunk/; revision=39264
2009-02-01 13:38:04 +00:00
Dmitry Chapyshev
9caa5c511f - Sync dwmapi with Wine head
svn path=/trunk/; revision=39262
2009-02-01 10:34:53 +00:00
Dmitry Chapyshev
79b2c29192 - Add stub for SHOpenFolderAndSelectItems
- Add SHParseDisplayName to .spec file
foobar2000 now it is started normally

svn path=/trunk/; revision=39261
2009-02-01 10:03:33 +00:00
Christoph von Wittich
4ef810bd41 sync netapi32 with wine 1.1.14
svn path=/trunk/; revision=39260
2009-02-01 07:57:15 +00:00
Dmitry Gorbachev
697550c010 Sync Czech file with English file. Radek Liska, bug #4105.
svn path=/trunk/; revision=39259
2009-02-01 06:33:48 +00:00
Christoph von Wittich
63ff65c648 sync some LsaQueryDomainInformationPolicy stuff with wine 1.1.14
fixes all advapi32 lsa winetests
fixes all netapi32 wksta winetests

svn path=/trunk/; revision=39258
2009-02-01 06:14:29 +00:00
Christoph von Wittich
2c235c6653 SystemName == NULL is valid for LsaOpenPolicy
svn path=/trunk/; revision=39257
2009-02-01 05:51:07 +00:00
Christoph von Wittich
9b57ce8177 sync wintrust_winetest with wine 1.1.14
svn path=/trunk/; revision=39256
2009-02-01 05:43:40 +00:00
Christoph von Wittich
5810de951d sync wintrust and mscat32 with wine 1.1.14
svn path=/trunk/; revision=39255
2009-02-01 05:42:03 +00:00
Christoph von Wittich
4a85c6705b don't set LastError as we fake success
svn path=/trunk/; revision=39254
2009-02-01 05:39:56 +00:00
Andrew Greenwood
5fa9003095 Various headers needed to compile the sound support libraries.
svn path=/trunk/; revision=39253
2009-01-31 22:13:30 +00:00
Andrew Greenwood
5bc7ecd049 Abandoning silverblade-audio branch.
General user-mode audio support libraries added.


svn path=/trunk/; revision=39252
2009-01-31 22:11:09 +00:00
Dmitry Chapyshev
607f12562e - FIXME -> TRACE. This function is not implemented in Windows XP SP3.
svn path=/trunk/; revision=39251
2009-01-31 20:57:28 +00:00
Dmitry Chapyshev
29f2b90096 - Implement GetComputerObjectNameA/W (from Wine)
svn path=/trunk/; revision=39250
2009-01-31 20:22:17 +00:00
Colin Finck
5ed8401b33 Radek Liska (radekliska@gmail.com)
- Try to get the Czech netshell working again by copying some missing stuff from the English translation

svn path=/trunk/; revision=39248
2009-01-31 19:27:09 +00:00
Colin Finck
c22c004a09 Update mIRC to 6.35, works under 0.3.8 and as long as this version is the latest one, it doesn't ask for updates all the time :-)
svn path=/trunk/; revision=39246
2009-01-31 17:23:09 +00:00
Dmitry Chapyshev
f71841ce0c - Fix typo (revealed by Kario)
svn path=/trunk/; revision=39244
2009-01-31 16:53:06 +00:00
Dmitry Chapyshev
92ad6e2242 - Add qmgr to build and bootcd
- Add more stuff to bootcd
See issue #4095 for more details.

svn path=/trunk/; revision=39243
2009-01-31 16:49:22 +00:00
Christoph von Wittich
84cc142d0b replace hack by manually generated msiserver.idl_i.c (which should be generated by rbuild)
svn path=/trunk/; revision=39242
2009-01-31 15:46:48 +00:00
Gregor Schneider
3c8f0a1df6 Remove dead StretchBlt code
svn path=/trunk/; revision=39241
2009-01-31 15:38:16 +00:00
Dmitry Chapyshev
2ab5d20abb - Add some headers from Wine
- Import qmgr from Wine (not included yet to build)

svn path=/trunk/; revision=39240
2009-01-31 15:32:09 +00:00
Christoph von Wittich
15a996c26b sync shlwapi_winetest with wine 1.1.14
svn path=/trunk/; revision=39239
2009-01-31 14:49:08 +00:00
Christoph von Wittich
56a6541f3d sync shlwapi with wine 1.1.14
svn path=/trunk/; revision=39238
2009-01-31 14:48:46 +00:00
Christoph von Wittich
66e2845732 sync crypt32_winetest with wine 1.1.14
svn path=/trunk/; revision=39237
2009-01-31 14:31:11 +00:00
Christoph von Wittich
e09c7694fd sync crypt32 with wine 1.1.14
svn path=/trunk/; revision=39236
2009-01-31 14:28:46 +00:00
Christoph von Wittich
fe9f224169 sync msi_winetest with wine 1.1.14
svn path=/trunk/; revision=39235
2009-01-31 14:17:07 +00:00
Christoph von Wittich
d89de67fd6 sync msi with wine 1.1.14
svn path=/trunk/; revision=39234
2009-01-31 14:13:20 +00:00
Christoph von Wittich
731e445229 add stubs for SHFlushSFCache and SHGetImageList (from wine)
svn path=/trunk/; revision=39233
2009-01-31 14:01:57 +00:00
Christoph von Wittich
5d4d38c175 make explicit use of unicode functions
svn path=/trunk/; revision=39232
2009-01-31 13:44:48 +00:00
Christoph von Wittich
da4305f0d2 add lodctr
svn path=/trunk/; revision=39231
2009-01-31 13:21:11 +00:00
Christoph von Wittich
976a57af06 add loadperf and lodctr from wine 1.1.14
svn path=/trunk/; revision=39228
2009-01-31 13:09:48 +00:00
Gregor Schneider
2bb3d73470 Evgeny Boltik <BSTSoft AT narod DOT ru>:
Generic StretchBlt implementation for all bitrates with partial ROP and clipping support, see bug #4075.
Some changes from me applied to the patch:
- ROP variables renamed, applied consistent indentation, abort operation if pattern ROP and dprint once, split src and dst dprints
- Access source surface only if source is actually used, fixes mem access crashes
- Offer external drivers a NULL surface ptr if source is not used, since they (VMWare for example) access it although they shouldn't (another crash)
- Fixes bug #2609, support for pattern ROPs will be added after some restructuring
- Clipping still has some issues (bugs 3325, 3477, 4089) which seem to be related to IntEng- and EngStretchBlt

svn path=/trunk/; revision=39227
2009-01-31 13:05:11 +00:00
Johannes Anderwald
a51869e510 - Fix a few definitions
svn path=/trunk/; revision=39226
2009-01-31 12:59:56 +00:00
Christoph von Wittich
cca55b4587 sync ole32 with wine 1.1.14
svn path=/trunk/; revision=39225
2009-01-31 12:40:36 +00:00
Christoph von Wittich
5bb24c753a sync riched20 with wine 1.1.14
svn path=/trunk/; revision=39224
2009-01-31 12:10:24 +00:00
Christoph von Wittich
804d0d56f0 sync cryptui with wine 1.1.14
svn path=/trunk/; revision=39223
2009-01-31 11:47:29 +00:00
Christoph von Wittich
16d774c385 sync msxml3_winetest to wine 1.1.14
svn path=/trunk/; revision=39222
2009-01-31 11:27:33 +00:00
Christoph von Wittich
0704f1af38 sync msxml3 to wine 1.1.14
svn path=/trunk/; revision=39221
2009-01-31 11:27:22 +00:00
Dmitry Gorbachev
b0bff7e4d7 "whois" -> "nicname"
svn path=/trunk/; revision=39220
2009-01-31 09:37:35 +00:00
Christoph von Wittich
9d23dc93bf tabs -> spaces
svn path=/trunk/; revision=39219
2009-01-31 08:48:59 +00:00
Art Yerkes
37866eb8f9 Fix misuse of std::string in assuming that it's always null terminated, and that
the c_str result is writable.  

svn path=/trunk/; revision=39218
2009-01-31 08:43:10 +00:00
Gregor Schneider
7059620a5e Unify identical StretchBlt implementations in preparation of partial ROP suppport.
svn path=/trunk/; revision=39217
2009-01-30 20:02:58 +00:00
Colin Finck
61c4b88ea4 Fix some deadlinks
svn path=/trunk/; revision=39215
2009-01-30 17:13:37 +00:00
Stefan Ginsberg
febd189901 - Inline Guarded Mutex and Fast Mutex implementations when called from within the kernel
svn path=/trunk/; revision=39214
2009-01-30 16:45:17 +00:00
Dmitry Chapyshev
01eaa29cb3 - Fix 1 wine console test
svn path=/trunk/; revision=39211
2009-01-30 14:36:57 +00:00
Dmitry Chapyshev
e1e7e5586d - Formatting fix. No code change
svn path=/trunk/; revision=39210
2009-01-30 14:25:00 +00:00
Dmitry Chapyshev
b40287d6f5 .def -> .spec
svn path=/trunk/; revision=39209
2009-01-30 08:54:30 +00:00
Dmitry Chapyshev
47d9dbb647 - Add activeds from Wine
svn path=/trunk/; revision=39208
2009-01-30 08:51:45 +00:00
Dmitry Chapyshev
1ba757fca4 - Update header
svn path=/trunk/; revision=39207
2009-01-30 08:49:40 +00:00
Dmitry Chapyshev
5de5bc84a2 - Update Greek translation
- Update Italian translation
See issue #4078,4088 for more details.

svn path=/trunk/; revision=39206
2009-01-30 08:19:51 +00:00
Timo Kreuzer
b9e20bc7be formatting, no code change
svn path=/trunk/; revision=39203
2009-01-29 21:33:38 +00:00
Timo Kreuzer
891cc22a1e Fix IntGdiSetMapMode
svn path=/trunk/; revision=39202
2009-01-29 19:17:53 +00:00
Timo Kreuzer
fa581e2636 Add more tests for SetMapMode
svn path=/trunk/; revision=39201
2009-01-29 19:16:45 +00:00
Timo Kreuzer
61f5b1e0b2 Add a comment, remove a comment
svn path=/branches/ros-amd64-bringup/; revision=39199
2009-01-29 16:00:22 +00:00
Timo Kreuzer
95d550f693 fix Ki386InitializeTss
svn path=/branches/ros-amd64-bringup/; revision=39198
2009-01-29 15:56:54 +00:00
Christoph von Wittich
9adff95dd9 fix lsa handle leak
See issue #3999 for more details.

svn path=/trunk/; revision=39196
2009-01-29 14:42:13 +00:00
Matthias Kupfer
dc406bd2bc remove outdated unimplemented MessageBox
svn path=/trunk/; revision=39195
2009-01-29 13:53:13 +00:00
Christoph von Wittich
4756f82dd3 define NDEBUG
svn path=/trunk/; revision=39194
2009-01-29 12:30:02 +00:00
Dmitry Chapyshev
d5d69b5bb2 - Update Russian translation
svn path=/trunk/; revision=39193
2009-01-29 10:34:29 +00:00
Timo Kreuzer
0534c6e4a6 KD64: implement case 0 for KdpReadControlSpace, which returns a pointer to the Pcr.
svn path=/branches/ros-amd64-bringup/; revision=39191
2009-01-28 23:34:04 +00:00
Colin Finck
2028a69cc0 - Update versions of Firefox, Thunderbird, Opera and SeaMonkey.
The previous links were all broken.
- Remove the Thunderbird 1.5 entry, I didn't find any official working download link for it and version 2.x can also be used for testing.

svn path=/trunk/; revision=39187
2009-01-28 21:01:26 +00:00
Matthias Kupfer
165d233b51 one more attempt to fix clock size, absolute coord values for hands and clock replaced by scale of client size
svn path=/trunk/; revision=39183
2009-01-28 18:00:23 +00:00
Johannes Anderwald
9ef3e5fb21 - Fix exhaustive debug message flood
svn path=/trunk/; revision=39182
2009-01-28 16:30:19 +00:00
Johannes Anderwald
0b4e713e5d - Add wdmaud and sysaudio to bootcd
svn path=/trunk/; revision=39181
2009-01-28 16:19:37 +00:00
Gregor Schneider
5fbf308acc Set the header size as expected instead of setting the bitmap width
svn path=/trunk/; revision=39180
2009-01-28 15:43:02 +00:00
Gregor Schneider
aeb01dd869 - bcSize holds the size of the BITMAPHEADER structure (not the image size) and should already be set
- Clean up unneeded comments

svn path=/trunk/; revision=39179
2009-01-28 15:35:57 +00:00
Johannes Anderwald
3f066801c8 - Implement enumerating available virtual audio devices and opening them
svn path=/trunk/; revision=39178
2009-01-28 15:24:57 +00:00
Christoph von Wittich
45041346e6 -sync RtlDeleteTimer with wine
Giannis Adamopoulos (johnyadams at hotmail dot com)

svn path=/trunk/; revision=39177
2009-01-28 14:08:13 +00:00
Christoph von Wittich
0d38c9174f fix formatting
svn path=/trunk/; revision=39176
2009-01-28 13:55:37 +00:00
Christoph von Wittich
13b4ba7cc6 calculate toolbar height instead of use the hardcoded value 35
svn path=/trunk/; revision=39175
2009-01-28 12:28:11 +00:00
Matthias Kupfer
c1628a99dd Fix and add German translation
svn path=/trunk/; revision=39174
2009-01-28 12:20:12 +00:00
Samuel Serapion
02f91befe1 Fix typo.
svn path=/branches/ros-amd64-bringup/; revision=39173
2009-01-28 12:08:33 +00:00
Christoph von Wittich
c2e449ca08 update bi->biBitCount before using it - fixes 5 gdi32 bitmap winetests
svn path=/trunk/; revision=39172
2009-01-28 11:55:56 +00:00
Aleksey Bragin
bb2d6f3675 Rob Shearman <robertshearman@gmail.com>
widl: Add a new function, type_alias_get_aliasee to wrap the retrieval of the type that the alias aliases.

Rob Shearman <robertshearman@gmail.com> 
widl: Add new type_get_type and type_get_real_type_type functions.
Use these to implement a few helper functions. Change the type verification in type accessor functions to use these new functions.

Austin English <austinenglish@gmail.com>
widl: Fix a compiler warning.

Alexandre Julliard <julliard@winehq.org>
widl: We need an offset after the correlation descriptor for unencapsulated unions.

svn path=/trunk/; revision=39170
2009-01-28 10:41:01 +00:00
KJK::Hyperion
ea39ea0e30 modified ntoskrnl/include/internal/ob.h
modified   ntoskrnl/ob/obhandle.c
   New helper routine ObGetProcessHandleCount to safely read the count of handles in a process without messing with Ob internals
   Goodbye ObpGetHandleCountByHandleTable

modified   ntoskrnl/ex/sysinfo.c
modified   ntoskrnl/ps/query.c
   Read handle counts with ObGetProcessHandleCount instead of ObpGetHandleCountByHandleTable
   Fixes at least one crash

Thanks to Stefan Ginsberg for reporting the issue and testing
Thanks to Alex Ionescu for code review and suggestions

See issue #4050 for more details.

svn path=/trunk/; revision=39169
2009-01-28 10:32:43 +00:00
KJK::Hyperion
4897bf42c4 Corrected prototype of SystemFunction036 (RtlGenRandom): BOOL -> BOOLEAN
Fixes a build regression introduced in r39167

svn path=/trunk/; revision=39168
2009-01-28 09:58:46 +00:00
Aleksey Bragin
5a2b19609a - Add RtlGenRandom.
svn path=/trunk/; revision=39167
2009-01-28 09:38:49 +00:00
Christoph von Wittich
5660c9a6d9 draw a rect around the (not yet drawn) image
svn path=/trunk/; revision=39166
2009-01-28 09:09:30 +00:00
Christoph von Wittich
12883a745e remove redundant code
svn path=/trunk/; revision=39165
2009-01-28 08:56:55 +00:00
Dmitry Chapyshev
2c7e4bb2d7 - Add more TODO to .def
svn path=/trunk/; revision=39164
2009-01-28 08:22:39 +00:00
Dmitry Chapyshev
156ea61f0f - More implement User32InitializeImmEntryTable
svn path=/trunk/; revision=39163
2009-01-28 08:08:31 +00:00
Timo Kreuzer
ae77b8e1f9 kd64: Implement KdpRead/WriteMachineSpecificRegister
svn path=/branches/ros-amd64-bringup/; revision=39162
2009-01-28 04:15:09 +00:00
Timo Kreuzer
7b5da63100 KD64: remove some FrLdrDbgPrints, fix a warning.
svn path=/branches/ros-amd64-bringup/; revision=39161
2009-01-28 04:14:05 +00:00
Samuel Serapion
3d6da207d7 The wbinvd instruction is the same on amd64
svn path=/branches/ros-amd64-bringup/; revision=39160
2009-01-28 03:07:51 +00:00
Johannes Anderwald
5e4a5d2b4b -fix build
svn path=/trunk/; revision=39159
2009-01-28 02:06:55 +00:00
Johannes Anderwald
04a9e81b9e - Implement initializing routines for wdmaud
- Register plug&play notification routines for guid KSCATEGORY_SYSAUDIO

svn path=/trunk/; revision=39158
2009-01-28 00:04:00 +00:00
Art Yerkes
a565c5b364 Finish fixing round trip of gmutex's various lock bits. Patch by alex ionescu.
svn path=/trunk/; revision=39157
2009-01-27 23:11:50 +00:00
Art Yerkes
548f7458c7 Remove extra args.
svn path=/trunk/; revision=39156
2009-01-27 23:04:10 +00:00
Timo Kreuzer
a04bd167e3 Ke: Remove unused KiInitializeMachineType and Ki486CompatibilityLock. Remove a bunch of FrLdrDbgPrints. Resort KiSystemStartupReal, initialize the LoaderBlocks Process and Prcb field for Cpu0, get the Pcr from the LoaderBlock.
svn path=/branches/ros-amd64-bringup/; revision=39155
2009-01-27 22:14:06 +00:00
James Tabor
65254afcef - Set the length for IntGetWindowPlacement.
svn path=/trunk/; revision=39154
2009-01-27 22:04:37 +00:00
James Tabor
ac781172f7 - Quick implemention of NtUserGetInternalWindowPos with internal support function IntGetWindowPlacement.
svn path=/trunk/; revision=39153
2009-01-27 21:57:15 +00:00
Johannes Anderwald
97111999d7 - Fix msvc project generation for kernel mode drivers without a driver entry
svn path=/trunk/; revision=39152
2009-01-27 21:52:36 +00:00
Timo Kreuzer
5374ad15b8 hal: fix some ULONG/ULONG_PTR issues
svn path=/branches/ros-amd64-bringup/; revision=39151
2009-01-27 21:35:00 +00:00
Dmitry Chapyshev
a167adfcb4 - Partially implement User32InitializeImmEntryTable
svn path=/trunk/; revision=39150
2009-01-27 21:23:44 +00:00
Johannes Anderwald
d9286e5bec - Register sysaudio device interfaces
svn path=/trunk/; revision=39149
2009-01-27 20:02:50 +00:00
Art Yerkes
aa1756a335 Not sure if anybody else uses ccache, but this saves almost 800 recompilations
every time wmc runs.

svn path=/trunk/; revision=39148
2009-01-27 19:58:30 +00:00
Dmitry Chapyshev
74e38ab6c0 - Add file for imm-functions
- Move all imm-functions to imm.c

svn path=/trunk/; revision=39147
2009-01-27 19:06:46 +00:00
Dmitry Chapyshev
3dabe3bd8d - Direct call NtSetInternalWindowPos
- Add TODO for GetInternalWindowPos

svn path=/trunk/; revision=39146
2009-01-27 18:47:08 +00:00
Dmitry Chapyshev
22ad6867b2 - Sync gdiplus with Wine head
svn path=/trunk/; revision=39144
2009-01-27 18:03:33 +00:00
Johannes Anderwald
820978650e - Fix registered guids for IPortMidi
- Fix InterfaceGuids array in IPortTopology 
- Add a hack to prevent es1371 driver from crashing

svn path=/trunk/; revision=39143
2009-01-27 17:54:46 +00:00
Johannes Anderwald
bc9b8cbda8 - Add guids for IPortMidi and IMiniportMidi
- Add UNIMPLEMENTED macro to NewPortDMus
- Partly implement IPortMidi (based on IPortTopology)

svn path=/trunk/; revision=39142
2009-01-27 17:38:56 +00:00
Johannes Anderwald
9577cba3fa - Add macro to avoid warning
- Revert my fix to IID_IPortMidi

svn path=/trunk/; revision=39141
2009-01-27 17:35:34 +00:00
Christoph von Wittich
6e7271a51d -don't load the image in WM_PAINT
-return the correct values when handling a window message
-free resources
-...

svn path=/trunk/; revision=39140
2009-01-27 17:14:00 +00:00
Johannes Anderwald
d74e05fa62 - Fix a typo
svn path=/trunk/; revision=39139
2009-01-27 16:53:18 +00:00
Johannes Anderwald
5a8c721c32 - Fix a bug ;)
svn path=/trunk/; revision=39137
2009-01-27 16:44:08 +00:00
Timo Kreuzer
4889abaf25 kd64: Move KdpSysGetVersion into arch-specific file
svn path=/branches/ros-amd64-bringup/; revision=39136
2009-01-27 16:26:30 +00:00
Christoph von Wittich
bce5ca675d -don't delete a DC return from BeginPaint
-DPRINT1 -> DPRINT

svn path=/trunk/; revision=39135
2009-01-27 16:01:47 +00:00
Gregor Schneider
906bea5252 Update IntEngCreateSrcMonoXlate parameter names and function call with brush colors after logic changes of r38633.
Based on the patch of Evgeny Boltik <bstsoft AT narod DOT ru>, see bug #4070 for more info.
Fixes inverted colors when using hatched brushes.

svn path=/trunk/; revision=39134
2009-01-27 15:36:07 +00:00
Timo Kreuzer
10b297f752 kdcom: xor 1 to CurrentPacketId when we receive an ACK, not when we send one. Remove the SYNC_PACKET_ID hack. Now breaking in after DbgPrints works.
svn path=/branches/ros-amd64-bringup/; revision=39133
2009-01-27 12:58:24 +00:00
Johannes Anderwald
42bd582bfe - Rename device context struct
- patch by Chris

svn path=/trunk/; revision=39132
2009-01-27 12:43:33 +00:00
Timo Kreuzer
ae0c07b4f8 Acknowledge a packet with the received packet's PacketId, not with the current sending PacketId.
svn path=/branches/ros-amd64-bringup/; revision=39131
2009-01-27 12:15:22 +00:00
Art Yerkes
16a9e8d714 This code used to round down the number of waiters to a multiple of 2. Fine
if there are exactly one or zero waiters, not fine if there are 2 or more.

svn path=/trunk/; revision=39130
2009-01-27 09:35:01 +00:00
Daniel Reimer
d68970475c Bug 4061: Italian resources updates by Paolo Devoti
Bug 4052: install more Administrative Tools by Mario Kacmar
Bug 4071: update slovak translations by Mario Kacmar
Bug 4063: Greek update for ReactOS 0.3.8 second part by Apostolos Alexiadis
Bug 4047: spanish files by Javier Remacha

svn path=/trunk/; revision=39129
2009-01-27 08:59:39 +00:00
Dmitry Gorbachev
3ced760410 Rename Lithuanian keyboard layout. Vytis Girdzijauskas, bug #3249.
svn path=/trunk/; revision=39128
2009-01-27 08:58:15 +00:00
Dmitry Chapyshev
7bc719fde5 - Update resources
svn path=/trunk/; revision=39127
2009-01-27 08:09:09 +00:00
Timo Kreuzer
08050b1520 Increment rip in KiBreakPointTrap and reenable decrement in KiDispatchException. (Do we really need it, first inc then dec? At least x86 does it that way) Setup fs selector in KiSystemStartupReal, pass a pointer to FrLdrDbgPrint to kdcom, fix some typos. Finally breaking into the debugger and continuing really works.
svn path=/branches/ros-amd64-bringup/; revision=39126
2009-01-27 01:57:35 +00:00
Dmitry Gorbachev
23abc262d0 Convert French file from UTF-8 to CP-1252. Add new strings.
svn path=/trunk/; revision=39125
2009-01-27 01:38:48 +00:00
Timo Kreuzer
dc125646a5 kdcom: add SYNC_PACKET_ID for PACKET_TYPE_KD_DEBUG_IO to make debugprints work.
svn path=/branches/ros-amd64-bringup/; revision=39124
2009-01-27 00:55:03 +00:00
Kamil Hornicek
40f2a73fe9 - fix build
svn path=/trunk/; revision=39123
2009-01-26 23:36:40 +00:00
Dmitry Gorbachev
98718ab5aa Update Czech keyboard layout. Patch from Radek Liska. Bug #4031.
svn path=/trunk/; revision=39122
2009-01-26 23:04:22 +00:00
Timo Kreuzer
b906e54b40 rsym64: instead of stripping sections from the middle of the PE, convert them to bss sections to make windows happy and keep the files small. Thanks to kjk for finding the problem.
svn path=/branches/ros-amd64-bringup/; revision=39121
2009-01-26 22:48:54 +00:00
KJK::Hyperion
3384aa2e05 Begin moving rules out of modulehandler.cpp and into makefile include rules.mak, where they will be more readable and manageable. Currently implemented: target C compiler and target C++ compiler rules. Please do a clean build if possible. Testing with unusual output paths appreciated
Supersedes r39111, with the following amendments:

added      tools/rbuild/backend/mingw/rules.mak
   The wrong function was being used to calculate the path of generated files: implement the right function, and use it


svn path=/trunk/; revision=39120
2009-01-26 22:44:56 +00:00
Dmitry Gorbachev
8e354bfb10 Calculator update by Radek Liska (with some changes). Bug #4064.
svn path=/trunk/; revision=39119
2009-01-26 22:27:19 +00:00
Cameron Gutman
ac6f717294 - Add a temporary hack for the double-freeing issue that memtrack keeps catching
- I would use my branch for this but I am doing some work on it that has broken some things for now

svn path=/trunk/; revision=39118
2009-01-26 20:45:01 +00:00
Kamil Hornicek
b03a86437a - update Mesa to version 7.3
- add reactos.diff
- disable broken OS SSE exception test, bug was filled for this but it's not needed anyway
- remove unused drivers

svn path=/trunk/; revision=39117
2009-01-26 20:42:55 +00:00
Aleksey Bragin
c41b00f625 Giannis Adamopoulos <johnyadams@hotmail.com>
- Correctly assign NtSystemRoot and remove assumption that number of partitions equals number of harddisks.
- Remove a hack from IopApplyRosCdromArcHack. Fixes LiveCD issues.
See issue #3170 for more details.

svn path=/trunk/; revision=39116
2009-01-26 20:00:59 +00:00
Johannes Anderwald
1c203e354e - Use InterlockedIncrement, InterlockedDecrement over intrinsics
- Fix ordering of IDmaChannelSlaveVtbl which led to an infinite loop
- Add a few guids
- Fix parameter for KeWaitForSingleObject (spotted by Christoph)
- Also check for IID_IPort in IPortTopology 
- Fix priority boost IServiceGroup

svn path=/trunk/; revision=39115
2009-01-26 17:38:22 +00:00
Timo Kreuzer
109668d7a2 remove a test hack that sneaked in and broke exception directory
svn path=/branches/ros-amd64-bringup/; revision=39114
2009-01-26 17:01:49 +00:00
Aleksey Bragin
c93503ebd7 - Silence debuglog spam from msimtf.
svn path=/trunk/; revision=39113
2009-01-26 16:56:11 +00:00
Aleksey Bragin
ba54ffaf10 - Revert 39111: "Begin moving rules out of modulehandler.cpp and into makefile include rules.mak, where they will be more readable and manageable. Currently implemented: target C compiler and target C++ compiler rules. Please do a clean build if possible. Testing with unusual output paths appreciated"
svn path=/trunk/; revision=39112
2009-01-26 16:55:20 +00:00
KJK::Hyperion
ab6dc12eeb Begin moving rules out of modulehandler.cpp and into makefile include rules.mak, where they will be more readable and manageable. Currently implemented: target C compiler and target C++ compiler rules. Please do a clean build if possible. Testing with unusual output paths appreciated
svn path=/trunk/; revision=39111
2009-01-26 14:26:15 +00:00
Johannes Anderwald
eef5b9c252 - Fix build
svn path=/trunk/; revision=39107
2009-01-26 10:41:59 +00:00
Johannes Anderwald
44ff72e130 - Include mmreg.h for portcls.h
- Add KsDefaultForwardIrp prototype
- Fix KSPROPSETID_Connection
- Fix KSOBJECT_CREATE_ITEM struct
- Add KSDATAFORMAT_WAVEFORMATEX
- Add KSDATAFORMAT_SUBTYPE_PCM, KSDATAFORMAT_SPECIFIER_WAVEFORMATEX
- Add WAVE_FORMAT_PCM define

svn path=/trunk/; revision=39106
2009-01-26 10:18:53 +00:00
Johannes Anderwald
967d764b06 - Reimplement SysAudio device initilization
- Register Plug&Play notification for KS_CATEGORY_AUDIO events

svn path=/trunk/; revision=39105
2009-01-26 10:08:17 +00:00
Johannes Anderwald
5284f4a283 - Start implementing object bag support functions
- Implement KsCreateDevice, KsAddDevice, KsInitializeDriver
- Add KsDefaultForwardIrp stub

svn path=/trunk/; revision=39104
2009-01-26 10:05:46 +00:00
Dmitry Chapyshev
7685b6a1a8 .def -> .spec
svn path=/trunk/; revision=39103
2009-01-26 09:27:47 +00:00
Christoph von Wittich
1211da2f14 -fix header
-set entrypoint="0"

svn path=/trunk/; revision=39102
2009-01-26 07:29:08 +00:00
Christoph von Wittich
dd1b99bd89 no DriverEntry in here -> entrypoint="0"
svn path=/trunk/; revision=39101
2009-01-26 07:09:06 +00:00
Dmitry Chapyshev
9fc12fc21d - .def -> .spec
- Fix telephon.cpl
- Small fix hdwwiz
- Delete unneeded files in appwiz

svn path=/trunk/; revision=39099
2009-01-25 18:02:24 +00:00
KJK::Hyperion
2b2de9b92d r39097 was a bad idea, reverting
svn path=/trunk/; revision=39098
2009-01-25 17:18:09 +00:00
KJK::Hyperion
dcbca32fbc modified tools/rbuild/backend/mingw/modulehandler.cpp
Make .d files used for full dependencies depend on the module's .rbuild file

modified   tools/rbuild/backend/mingw/rule.cpp
   New $(buildfile) variable that expands to the module's .rbuild file name

svn path=/trunk/; revision=39097
2009-01-25 16:53:56 +00:00
KJK::Hyperion
f165b7d65f Amendment to r39093. Fixes build
svn path=/trunk/; revision=39096
2009-01-25 16:39:10 +00:00
Jeffrey Morlan
4d6bf5e49a split, splitspace: Allow quotation marks anywhere in an argument, not just the start and end. (Bug 4054)
svn path=/trunk/; revision=39095
2009-01-25 16:39:06 +00:00
Stefan Ginsberg
931eb2e0b0 - Missed fs_rec in last commit
svn path=/trunk/; revision=39094
2009-01-25 16:21:14 +00:00
KJK::Hyperion
ba67551bdf Implement full dependencies for rbuild: changing a header file will now automatically rebuild all modules that include it, directly or indirectly. Very slow, but an irreplaceable tool for header fixing
Full dependencies can be enabled by setting ROS_RBUILDFLAGS=-df
Whether initially enabled or not, once makefile.auto is generated, full dependencies can be enabled or disabled by setting ROS_BUILDDEPS=full or ROS_BUILDDEPS=auto

In case you missed it, full dependencies are VERY SLOW

svn path=/trunk/; revision=39093
2009-01-25 16:19:45 +00:00
Stefan Ginsberg
dbd86db31e - Deprecate global helper.h -- define the various 'helpful macros' per module
svn path=/trunk/; revision=39092
2009-01-25 16:13:16 +00:00
Dmitry Chapyshev
72916420fc - Add stubs for internalConfig, internalNewLocationW, internalRemoveLocation, internalRenameLocationW
svn path=/trunk/; revision=39091
2009-01-25 14:30:57 +00:00
Dmitry Chapyshev
6f92bc9ca5 - Add missed functions
svn path=/trunk/; revision=39090
2009-01-25 12:56:00 +00:00
Dmitry Chapyshev
61ab39a48a - Small fix
svn path=/trunk/; revision=39089
2009-01-25 11:55:02 +00:00
Martin Fuchs
5219191647 code beautification
svn path=/trunk/; revision=39088
2009-01-25 11:54:31 +00:00
Dmitry Chapyshev
bcd29bbeab - Cleanup and implement telephon.cpl
svn path=/trunk/; revision=39087
2009-01-25 11:45:47 +00:00
Martin Fuchs
002d1e57e4 update to VS2008 format project files
svn path=/trunk/; revision=39085
2009-01-25 11:21:49 +00:00
Martin Fuchs
706b0df927 update XMLStorage to the current version, compatible to VS2008 and GCC@Linux
svn path=/trunk/; revision=39084
2009-01-25 11:20:47 +00:00
Martin Fuchs
a00125aff1 update to VS2008 format project files
svn path=/trunk/; revision=39083
2009-01-25 11:16:54 +00:00
Martin Fuchs
31dbcaed16 add new resource scripts to the project file
svn path=/trunk/; revision=39082
2009-01-25 11:15:56 +00:00
Martin Fuchs
e90c8b1830 add code comment
svn path=/trunk/; revision=39081
2009-01-25 11:05:27 +00:00
Martin Fuchs
e5c2f55545 activate korean resource script
svn path=/trunk/; revision=39080
2009-01-25 10:48:40 +00:00
Dmitry Chapyshev
c86f97876c .def -> .spec
svn path=/trunk/; revision=39079
2009-01-25 10:26:37 +00:00
Martin Fuchs
1940bfea3b fix code page of korean resource script and remove buggy encoding of the "execute" dialog title
svn path=/trunk/; revision=39078
2009-01-25 09:03:27 +00:00
Pierre Schweitzer
052bf353f4 - Fixed a TODO.
- Added volume mount notification

svn path=/trunk/; revision=39077
2009-01-25 08:55:52 +00:00
Pierre Schweitzer
69eda17b58 Fixed a wrong behaviour
svn path=/trunk/; revision=39076
2009-01-25 08:29:42 +00:00
Pierre Schweitzer
6cc7b2d694 Fixed copy/paste
svn path=/trunk/; revision=39075
2009-01-25 07:15:25 +00:00
Timo Kreuzer
3e88b3778e ntoskrnl/Ke: setup stack segment selector in KeSetupsStackAndInitializeKernel, comment out decrement of Rip on int3 dispatch (needs further investigation), use CONTEXT_ALL flags when creating the CONTEXT from the trap frame in KeDispatchException
svn path=/branches/ros-amd64-bringup/; revision=39074
2009-01-25 01:17:04 +00:00
Timo Kreuzer
a8d4d9d5c5 freeldr: setup more entries of the gdt
svn path=/branches/ros-amd64-bringup/; revision=39073
2009-01-25 01:06:34 +00:00
Timo Kreuzer
b783e3b2bf rsym64: add a temp hack, keeping the .eh_frame section, as windows cries when we remove it for some reason, needs more investigation what goes wrong.
svn path=/branches/ros-amd64-bringup/; revision=39072
2009-01-24 22:50:02 +00:00
Timo Kreuzer
3210df5936 Merge 38960 from trunk
svn path=/branches/ros-amd64-bringup/; revision=39071
2009-01-24 22:34:39 +00:00
Pierre Schweitzer
032b62b88f Fixed typos, spotted by Hervé
svn path=/trunk/; revision=39070
2009-01-24 20:41:57 +00:00
Pierre Schweitzer
79b1baec1b Fixed build
svn path=/trunk/; revision=39069
2009-01-24 19:48:38 +00:00
Pierre Schweitzer
e9b336b8e3 Fixed hdwwiz build
svn path=/trunk/; revision=39068
2009-01-24 18:54:14 +00:00
Pierre Schweitzer
5ac93863fa More French translations...
I start hating that language :p

svn path=/trunk/; revision=39067
2009-01-24 18:41:47 +00:00
Pierre Schweitzer
6bb6e1e076 This shouldn't have been commited... Thanks to RapidSVN
svn path=/trunk/; revision=39066
2009-01-24 17:58:28 +00:00
Pierre Schweitzer
edb415aa34 Added/Updated French translation for almost everything in trunk by Amine Khaldi.
With some adjustements I did.

We're ready for FOSDEM :). Real thanks for your work Amine.

Dedicated by Amine to Aleksey : happy birthday ;)

svn path=/trunk/; revision=39065
2009-01-24 17:56:31 +00:00
Michael Martin
9e98d00b9b - Fix Typo.
svn path=/trunk/; revision=39063
2009-01-24 15:52:46 +00:00
Michael Martin
543ed8edd0 - Fix typo.
svn path=/trunk/; revision=39061
2009-01-24 12:28:51 +00:00
Samuel Serapion
4fd7607a1b Fix compilation on gcc 4.4.0
svn path=/branches/ros-amd64-bringup/; revision=39060
2009-01-24 11:05:13 +00:00
Samuel Serapion
ed09d1bb98 Fix compilation for gcc 4.4.0 and 64bits
svn path=/branches/ros-amd64-bringup/; revision=39059
2009-01-24 11:04:21 +00:00
Pierre Schweitzer
07c701dd73 "Typo"
svn path=/trunk/; revision=39058
2009-01-24 10:13:21 +00:00
Pierre Schweitzer
ebd3acfd61 Added/Updated French translations for /base, excepted for calc.
svn path=/trunk/; revision=39057
2009-01-24 10:10:25 +00:00
Timo Kreuzer
9d8a81b57d KD64: Use CURRENT_KD_SECONDARY_VERSION instead of default in KdVersionBlock. Use UseExceptionRecordTo64. add some dirty hacks, until either WinDbg gets proper addresses sent or we have SEH implemented.
svn path=/branches/ros-amd64-bringup/; revision=39056
2009-01-24 01:05:38 +00:00
Timo Kreuzer
5fde806e8b add ExceptionRecordTo64 macro that copies the exception excord on win64, and calls ExceptionRecord32To64 on win32
svn path=/branches/ros-amd64-bringup/; revision=39055
2009-01-24 00:59:37 +00:00
Timo Kreuzer
f7b0b2a29e Mm: Fix page protection flags checks.
svn path=/trunk/; revision=39054
2009-01-24 00:54:02 +00:00
Timo Kreuzer
b92e8a49aa Add property USERMODE, set it to 1 to compile usermode parts (base, dlls and mingw lib)
svn path=/branches/ros-amd64-bringup/; revision=39053
2009-01-23 23:37:51 +00:00
Timo Kreuzer
af71294b61 NDK: fix and update LDR_DATA_TABLE_ENTRY
svn path=/branches/ros-amd64-bringup/; revision=39052
2009-01-23 22:13:08 +00:00
Colin Finck
16c99f33f3 - Convert the function headers to a Doxygen-compatible style
- Fix some typos

svn path=/trunk/; revision=39050
2009-01-23 19:36:35 +00:00
Stefan Ginsberg
07814326c7 - Fix build. Addendum to r39048 (from KJK)
svn path=/trunk/; revision=39049
2009-01-23 15:56:07 +00:00
KJK::Hyperion
f51410ed14 modified tools/rbuild/backend/mingw/modulehandler.cpp
Use a Rule object for formatting PCH rules. Results in an almost identical makefile.auto, the differences (improvements) being:
    - the new rule uses $@ and $< instead of the full filenames
    - the new rule doesn't add the -g option (the module's CFLAGS/CXXFLAGS already contain it)
    - .gch files now depend on the module's .rbuild as well (a standard Rule feature)
   No rebuild needed, but rbuild will force one for most of you anyways

modified   tools/rbuild/backend/mingw/rule.cpp
modified   tools/rbuild/backend/mingw/rule.h
   Rule::Execute now supports an arbitrary set of replaceable variables, too (required for the PCH rule)

svn path=/trunk/; revision=39048
2009-01-23 14:27:12 +00:00
Christoph von Wittich
aba3c0d759 Namea -> Name
svn path=/trunk/; revision=39047
2009-01-23 14:03:45 +00:00
Christoph von Wittich
ef601abbee add missing DllRegisterServer
svn path=/trunk/; revision=39046
2009-01-23 13:46:36 +00:00
Christoph von Wittich
e9823adf33 sync mpr with wine 1.1.13
svn path=/trunk/; revision=39045
2009-01-23 13:29:06 +00:00
Christoph von Wittich
ceecc3cd07 add cryptdlg from wine 1.1.13
svn path=/trunk/; revision=39044
2009-01-23 13:06:33 +00:00
Timo Kreuzer
da3e5b3190 add mingw lib back to build
svn path=/branches/ros-amd64-bringup/; revision=39043
2009-01-23 12:51:43 +00:00
Christoph von Wittich
5d2dae2c69 sync cryptnet with wine 1.1.13
svn path=/trunk/; revision=39042
2009-01-23 12:45:09 +00:00
Aleksey Bragin
f0c446be0d - Stubplement SwapSplayLinks helper function, and make RtlDelete call it.
- Fix a few lines having TABs instead of SPACEs.

svn path=/trunk/; revision=39041
2009-01-23 12:20:37 +00:00
Pierre Schweitzer
41d698006f Added notifications stuff to VCB
svn path=/trunk/; revision=39040
2009-01-23 12:18:38 +00:00
Aleksey Bragin
ff636d548a Christoph von Wittich
- Fix a typo: dereference target device object instead of referencing it in an uninit routine.

svn path=/trunk/; revision=39039
2009-01-23 11:04:05 +00:00
Aleksey Bragin
44f86392fe [FORMATTING]
- Bring formatting closer to ReactOS kernelmode style.

svn path=/trunk/; revision=39038
2009-01-23 11:01:59 +00:00
Christoph von Wittich
d1494fca12 fix stdole2 dependencies
svn path=/trunk/; revision=39037
2009-01-23 10:48:53 +00:00
Aleksey Bragin
eb5644eb1b [FORMATTING]
- Bring formatting closer to ReactOS kernelmode style.
- Fix a typo in a variable name.

svn path=/trunk/; revision=39036
2009-01-23 10:47:32 +00:00
Christoph von Wittich
460906f80f we don't have to link against libjpeg
svn path=/trunk/; revision=39035
2009-01-23 10:36:18 +00:00
Aleksey Bragin
6a5773b11c Alex Vlasov
- Implement operations with directory entries.

svn path=/trunk/; revision=39034
2009-01-23 10:26:02 +00:00
Aleksey Bragin
af8cfd1432 Alex Vlasov
- Implement FAT operations (scanning, finding continuous runs).
- Implement and plug in VCB initialization.

svn path=/trunk/; revision=39033
2009-01-23 10:19:57 +00:00
Aleksey Bragin
ea484badec - Add TAG definition to be compatible with GCC multicharacter constants.
- Change FAT_NTC_VCB to a TAG-based definition.

svn path=/trunk/; revision=39032
2009-01-23 10:09:22 +00:00
Aleksey Bragin
7f06a44898 - Fix FatValidSectorsPerCluster, otherwise it ended up always being true for any sectors amount.
svn path=/trunk/; revision=39031
2009-01-23 10:07:15 +00:00
Aleksey Bragin
06abfd926c Alex Vlasov
- Move and rewrite FAT in-memory structures to fatstruc.h.
- Remove PACKED_LFN_ENTRY structure.
- Add declarations of VCB functions (init, uninit), and FAT scanning.

svn path=/trunk/; revision=39030
2009-01-23 09:49:45 +00:00
Aleksey Bragin
093e6f6d3c Alex Vlasov
- Implement FatRead as a wrapper around internal helper FatiRead.
- Stubplement FatiRead.

svn path=/trunk/; revision=39029
2009-01-23 09:41:30 +00:00
Aleksey Bragin
d86e5e4347 - Bring FatPerformDevIoCtrl to our coding standards (tabs->spaces, comments).
- Change WaitReason to Executive ("A driver should set this value to Executive, ..." (c) WDK)

svn path=/trunk/; revision=39028
2009-01-23 09:28:03 +00:00
Colin Finck
0cedc2a03c Output the string indicating the test which is going to be run in one call.
This should prevent a race condition, when another application also outputs something over the debug line.

svn path=/trunk/; revision=39027
2009-01-22 22:12:13 +00:00
Pierre Schweitzer
0330519da7 Updated French translations for input.dll and shell32.dll
svn path=/trunk/; revision=39026
2009-01-22 19:52:25 +00:00
Pierre Schweitzer
68ca50178c - Implemented FatPerformDevIoCtrl
- Use it while mounting new volume to get the right sector size. This fixes a TODO (that was looking as a hack :p)

svn path=/trunk/; revision=39025
2009-01-22 17:25:28 +00:00
Stefan Ginsberg
63677b493d - Fix a crash when menu allocation fails
svn path=/trunk/; revision=39024
2009-01-22 17:04:06 +00:00
Pierre Schweitzer
4dfae6e299 Woops! I mixed my patches. It fixes leaks anyway ;).
svn path=/trunk/; revision=39023
2009-01-22 16:50:23 +00:00
Pierre Schweitzer
d5a69508bf Don't leak IRPs in case of failure
svn path=/trunk/; revision=39022
2009-01-22 16:47:45 +00:00
Dmitry Chapyshev
be5c23f647 - Implement SHFlushClipboard (based on msdn info)
- Implement DoEnvironmentSubstW (based on DoEnvironmentSubstA)
- Add checking of params for SHQueryRecycleBinW

svn path=/trunk/; revision=39021
2009-01-22 16:25:31 +00:00
KJK::Hyperion
64b55a2448 No harm in deleting this (it was previously disabled in r39016)
svn path=/trunk/; revision=39020
2009-01-22 16:12:02 +00:00
Timo Kreuzer
11412f0a26 ks64: Don't truncate the Thread pointer. Silence a warning.
svn path=/branches/ros-amd64-bringup/; revision=39019
2009-01-22 15:55:21 +00:00
Christoph von Wittich
c2a524d32a sync with wine 1.1.13
svn path=/trunk/; revision=39018
2009-01-22 15:38:51 +00:00
Christoph von Wittich
f30ab08109 add libjpeg
enable JPEG support in oleaut32

svn path=/trunk/; revision=39017
2009-01-22 15:03:45 +00:00
KJK::Hyperion
421738ed03 Wow, did you know about "test" modules? Seems nobody does, because they are broken in rbuild. Luckily, kernel32_test is the only such module left
svn path=/trunk/; revision=39016
2009-01-22 14:50:14 +00:00
Christoph von Wittich
79b7f46d64 Nikolay Sivov <bunglehead@gmail.com>
Thu, 22 Jan 2009 12:00:33 +0000 (15:00 +0300)
kernel32: Make GetOverlappedResult crash on NULL args as native does.

svn path=/trunk/; revision=39015
2009-01-22 14:49:59 +00:00
Christoph von Wittich
969279fc8a add _mbsnbcpy_s to msvcrt (imported from wine)
svn path=/trunk/; revision=39014
2009-01-22 14:41:57 +00:00
Stefan Ginsberg
bcccb1d084 - Revert the Wine code changes too, as requested on ML
svn path=/trunk/; revision=39013
2009-01-22 13:51:17 +00:00
Stefan Ginsberg
131ca9ba08 - Change DPRINT to INFO_ to silence the spam
svn path=/trunk/; revision=39012
2009-01-22 13:35:13 +00:00
Dmitry Chapyshev
6766e1615f - More fixes for icons in shell32
svn path=/trunk/; revision=39011
2009-01-22 13:00:14 +00:00
KJK::Hyperion
ccb753842f modified tools/rbuild/module.cpp
modified   tools/rbuild/project.cpp
modified   tools/rbuild/project.dtd
modified   tools/rbuild/rbuild.h
   New per-project property allowwarnings overrides allowwarnings property of all modules in the project

svn path=/trunk/; revision=39010
2009-01-22 11:55:12 +00:00
Dmitry Chapyshev
06794682ef - Add more defines for icons
- Update icon for "Administration tools"

svn path=/trunk/; revision=39009
2009-01-22 11:27:28 +00:00
Christoph von Wittich
101c983729 Author: Aric Stewart <aric at codeweavers.com>
Date:   Tue Jan 20 13:04:50 2009 -0600

shell32: Initial stub for SHCreateShellItem. It returns E_NOINTERFACE until shell32 version 6.0 or later.


svn path=/trunk/; revision=39008
2009-01-22 10:56:24 +00:00
Christoph von Wittich
183869c16c forgot to add \n
svn path=/trunk/; revision=39007
2009-01-22 09:43:02 +00:00
Dmitry Chapyshev
9cd35f3d5c - Add mscat32, ntprint and wmi from Wine
svn path=/trunk/; revision=39006
2009-01-22 09:29:16 +00:00
Timo Kreuzer
fbdecd3e79 kd64: KdpReadControlSpace works a bit different on x64, u.ReadMemory.TargetBaseAddress is not used as an offset, it's rather an index. On 1 a pointer to the prcb is returned, on 2 ProcessorState.SpecialRegisters is copied. Fix usage of IN and OUT.
svn path=/branches/ros-amd64-bringup/; revision=39005
2009-01-21 22:21:19 +00:00
Andrew Greenwood
fc53f8c890 Allow hybrid install/live CD by providing special FreeLdr OS type that gets
used only on the bootcd, for calling setupldr. Also added bootcd.ini which
becomes freeldr.ini on the bootcd. My previous attempt omitted this, so bootcd
broke. I have tested bootcd and livecd successfully. Also made it easier to
specify a different path in IopApplyRosCdromArcHack.


svn path=/trunk/; revision=39004
2009-01-21 19:45:08 +00:00
Timo Kreuzer
145902626f Merge 38961 from trunk
svn path=/branches/ros-amd64-bringup/; revision=39003
2009-01-21 18:32:33 +00:00
Timo Kreuzer
5f4c3a7d19 kdcom: If a MessageData pointer is passed to KdReceivePacket, fill in Size member. Some cleanup. Now we pass the former assertion, but crash in KdpReadVirtualMemory. This lloks more like a bug in the x64 version of KdpReadControlSpace. Vista64 returns a kernel pointer that used in the following ReadMemory packet. Ros returns some crap.
svn path=/branches/ros-amd64-bringup/; revision=39002
2009-01-21 18:19:52 +00:00
Stefan Ginsberg
f368fdbf9a - Partially revert 29656. NTOS calls HalQuerySystemInformation with HalFrameBufferCachingInformation, and disables PAT and MTRR if it returns success + TRUE. There is no reason this would be needed in ReactOS at the moment, so revert to old behaviour.
svn path=/trunk/; revision=39001
2009-01-21 17:10:16 +00:00
Christoph von Wittich
bf2e430cf1 sync shlwapi with wine 1.1.13
svn path=/trunk/; revision=39000
2009-01-21 15:57:21 +00:00
Stefan Ginsberg
78a49fe707 - Stragglers from 38998
svn path=/trunk/; revision=38999
2009-01-21 15:03:14 +00:00
Stefan Ginsberg
0978aae3eb - Revert most of 38953. This was a bad idea, sorry.
svn path=/trunk/; revision=38998
2009-01-21 14:41:23 +00:00
Dmitry Chapyshev
e38146716a - Add baseaddress for itss and msimtf
svn path=/trunk/; revision=38997
2009-01-21 14:28:56 +00:00
Dmitry Chapyshev
12575f7f33 - Sync hhctrl with Wine head
svn path=/trunk/; revision=38996
2009-01-21 14:26:42 +00:00
Dmitry Chapyshev
928873cf85 - Add itss and msimtf from Wine
- Update README.WINE

svn path=/trunk/; revision=38995
2009-01-21 14:10:09 +00:00
Christoph von Wittich
d4835adc0b error msg on bad call
svn path=/trunk/; revision=38994
2009-01-21 13:27:18 +00:00
Christoph von Wittich
ea36a66139 revert 38992 as the problem is in wine's ole32.dll
svn path=/trunk/; revision=38993
2009-01-21 13:21:28 +00:00
Christoph von Wittich
0beccb3e1e check for null (fixes ole32 compobj winetest crash)
svn path=/trunk/; revision=38992
2009-01-21 12:50:24 +00:00
KJK::Hyperion
775bff8f2e modified tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/rule.cpp
   Add a few long overdue macros to the Rule class. Make rules now a little more readable
   Fixed winebuildDefRule: "$(INTERMEDIATE)$(SEP)$(source_path)$(SEP)$(source_name_noext)_$(module_name).auto.def" -> "$(INTERMEDIATE)$(SEP)$(source_dir)$(SEP)$(source_name_noext)_$(module_name).auto.def" -> "$(intermediate_path_unique).auto.def"
   Fixed "$(source_path)$(SEP)$(source_name_noext).spec" -> "$(source)" (what the eff, Arch?)
   makefile.auto stays identical after this change

svn path=/trunk/; revision=38991
2009-01-21 12:20:59 +00:00
Christoph von Wittich
7fb3244f85 fix typo
svn path=/trunk/; revision=38990
2009-01-21 12:13:17 +00:00
Christoph von Wittich
1686768e27 -add libxslt 1.1.24
-update libxml2 to 2.7.3
-add a new lib "wineldr" to hack around wine's .so lib crap (attention this depends on kernel32!)
-enable the usage of libxslt in msxml3

svn path=/trunk/; revision=38989
2009-01-21 12:09:32 +00:00
Dmitry Chapyshev
172f1d16ec - Update Russian translation
svn path=/trunk/; revision=38988
2009-01-21 11:27:19 +00:00
Dmitry Chapyshev
7244d6e310 - Replace watermark.bmp and header.bmp with better (from me)
svn path=/trunk/; revision=38987
2009-01-21 10:20:53 +00:00
Michael Martin
d5823b702a - npfs.h: The member named WriteMode is meaningless for pipes, as the write mode is the PipeType for both client and server. Change names to something more descriptive,ServerReadMode and ClientReadMode, for the members new use.
- create.c: Use new members.
- finfo.c: Check whether the pipe side is server or client and change/return appropriate ReadMode.
- fsctrl.c: Opps. Previous implementation was pretty much correct.
- rw.c: Silence debug message and use new members.
    Add multiple checks on whether pipe side is server or client and use appropriate ReadMode.
    If handling the next Irp in NpfsRead, remove the cancel routine before continuing the loop. Fixes BugCheck when running ntdll_winetest for file. Thank Christoph von Wittich for pointing this out.

svn path=/trunk/; revision=38986
2009-01-21 07:52:45 +00:00
Timo Kreuzer
d740961aa2 kdcom: Implement KdpReceivePacketLeader that tries to get a packet leader and starts over as soon as a single byte is wrong. Use it instead of the old code in KdReceivePacket. Implement more of KdReceivePacket, handling the actual packets. Make use of CurrentPacketId that gets xored with 1 when sending acks and initialized on a reset. Not handling this correctly made WinDbg wait for more packets, although it sent an ack packet already.
Only return KdPacketReceived on an ack packet, when we requested one. Stuff starts to work now. WinDbg connects then reports "Assertion 'Data->Length == 0' failed at ntoskrnl\kd64\kdapi.c line 310".

svn path=/branches/ros-amd64-bringup/; revision=38985
2009-01-21 02:53:48 +00:00
Aleksey Bragin
2e3d23a37d [FORMATTING]
- TABS -> SPACES

svn path=/trunk/; revision=38984
2009-01-20 19:15:08 +00:00
Stefan Ginsberg
25efba5b5b - Fix leftover from 38960
svn path=/trunk/; revision=38983
2009-01-20 18:58:08 +00:00
Aleksey Bragin
5862fb9aaa Alex Vlasov
- Move and rewrite FAT ondisk structures to a standalone header file fat.h.

svn path=/trunk/; revision=38982
2009-01-20 18:05:53 +00:00
Christoph von Wittich
f2e519c99a sync netapi32_winetest with wine 1.1.13
svn path=/trunk/; revision=38981
2009-01-20 17:09:46 +00:00
Christoph von Wittich
e6d7f59aa5 fix kernel32 codepage winetest
svn path=/trunk/; revision=38980
2009-01-20 16:27:05 +00:00
Stefan Ginsberg
3240148b13 - Fix my .diff mess from yesterday, sorry
svn path=/trunk/; revision=38979
2009-01-20 15:48:54 +00:00
Christoph von Wittich
140e549bd9 fix GetCurrentProcessorNumber and InterlockedCompareExchangePointer64 exports
svn path=/trunk/; revision=38978
2009-01-20 15:24:47 +00:00
Dmitry Chapyshev
29817cbb51 - Implement auto add keyboard layouts
svn path=/trunk/; revision=38977
2009-01-20 15:13:32 +00:00
Christoph von Wittich
befc05e353 fix advapi32.def
svn path=/trunk/; revision=38976
2009-01-20 15:04:03 +00:00
Christoph von Wittich
1ff1fb9564 revert 38962 as it breaks bootcd
svn path=/trunk/; revision=38975
2009-01-20 15:02:04 +00:00
Dmitry Chapyshev
077971b02b - Revert r34642. It is wrong.
svn path=/trunk/; revision=38974
2009-01-20 14:58:41 +00:00
Timo Kreuzer
bb91a6f44a rsym64: only compare lower 16 bits of checksum
svn path=/branches/ros-amd64-bringup/; revision=38973
2009-01-20 13:46:24 +00:00
Christoph von Wittich
6707cbf0a6 sync winebuild with wine 1.1.13
svn path=/trunk/; revision=38972
2009-01-20 11:44:30 +00:00
Timo Kreuzer
7ad31d2719 kdcom: implement KdpSendControlPacket and use it to respond with a reset packet to a reset packet. WindDbg expects this and will now finally except the resent packet and respond with a DBGKD_MANIPULATE_STATE64
svn path=/branches/ros-amd64-bringup/; revision=38971
2009-01-20 10:05:21 +00:00
Christoph von Wittich
7dfd3a9852 update mapi headers to wine 1.1.13
svn path=/trunk/; revision=38970
2009-01-20 08:19:52 +00:00
Christoph von Wittich
2486417489 stublement some more Activation Context stuff
fix RTL_ACTIVATION_CONTEXT_STACK_FRAME in NDK

svn path=/trunk/; revision=38969
2009-01-20 07:40:15 +00:00
Daniel Reimer
9e5731de5e Bug 4030: Greek Update by Apostolos Alexiadis
Bug 4044: Czech translation update - desk.cpl by Radek Liska
Bug 4035: a few updates for ros by Mario Kacmar
Bug 4037: Translate norwegian file by Lars Martin Hambro

svn path=/trunk/; revision=38968
2009-01-20 07:28:51 +00:00
Timo Kreuzer
eabd9536dd kdcom: partly handle control packets, now we resend our data on reset packets, but WinDbg still doesn't like them.
svn path=/branches/ros-amd64-bringup/; revision=38967
2009-01-20 03:17:31 +00:00
Timo Kreuzer
b03befb720 kdcom: initial implementation of KdSendPacket() and KdReceivePacket(). Based on info in ms windbgkd.h and http://www.nynaeve.net/?p=169
Now we start exchanging packets, but still not good enough to get things going.

svn path=/branches/ros-amd64-bringup/; revision=38966
2009-01-20 02:57:14 +00:00
Timo Kreuzer
2aa87f6dc5 kdcom: add a debug hack to use com2 for WinDbg, while com1 stays for FrLdrDbgPrint. Also mark the Port as initialized in KdDebuggerInitialize0. Remove the KD_RECV_CODE enum, use the KDSTATUS enum that already exist. Implement PACKET_TYPE_KD_POLL_BREAKIN case for KdReceivePacket as described in http://www.nynaeve.net/?p=169 Now we return from KdPollBreakIn().
svn path=/branches/ros-amd64-bringup/; revision=38965
2009-01-20 01:50:13 +00:00
Timo Kreuzer
9313950dd3 kdcom: Add KD_RECEIVE_CODE enum, implement KdpReceiveBuffer, HACK: misuse KdDebuggerInitialize1 to set a pointer to FrLdrDbgPrint
svn path=/branches/ros-amd64-bringup/; revision=38964
2009-01-20 01:05:07 +00:00
Timo Kreuzer
727c68db9e Implement KdpSendBuffer, KdpCalculateChecksum,
reference: http://www.vista-xp.co.uk/forums/technical-reference-library/2540-basics-debugging.html

svn path=/branches/ros-amd64-bringup/; revision=38963
2009-01-20 00:42:10 +00:00
Andrew Greenwood
f7e32af29b setupldr previously worked by faking the FreeLdr OS menu function. Now
FreeLdr has a special OS type for ReactOS Setup, which will only work for
the bootcd. As a result, bootcd can display a menu now. This opens up the
possibility of including both a "live" environment for users to play with
as well as the opportunity to install, from the same disc.


svn path=/trunk/; revision=38962
2009-01-19 23:38:08 +00:00
Stefan Ginsberg
56a1175be8 - Add 32-bit versions to wdbgexts.h
- Add lots of missing definitions to windbgkd.h, gathered from Singularity, tinykrnl, articles, blogs, etc

svn path=/trunk/; revision=38961
2009-01-19 23:34:27 +00:00
Stefan Ginsberg
dc7184e73f Fix the completely retarded implementation of KdComPortInUse.
The original definition of this variable seems to have been based on the retarded type in the serial.sys source sample, which defines it as:

extern PUCHAR *KdComPortInUse;

This, somehow, works in MSVC, but gcc complains about the lack of import specifier (KdComPortInUse is exported by HAL).
This was 'fixed' by adding the import specifier to ros.
So instead of: PUCHAR *KdComPortInUse;
We ended up with: NTHALAPI PUCHAR *KdComPortInUse;
Which becomes 3 dereferences instead of 2, which is incorrect. This was 'fixed' by hacking the variable in HAL too.
Use "extern PUCHAR NTHALAPI KdComPortInUse" to be compatible with both compilers, remove the HAL hacks, and fix the usage of the variable.

Fixes the serial.sys crash when booted with _WINKD_ + kdcom from Windows 2003, as kdcom would (due to the HAL hack) set the internal 'pointer' to the port value, and serial would end up dereferencing the port address

svn path=/trunk/; revision=38960
2009-01-19 23:22:22 +00:00
Timo Kreuzer
89bebbd18c go back to no debugging channels in freeldr
svn path=/branches/ros-amd64-bringup/; revision=38959
2009-01-19 23:02:13 +00:00
Stefan Ginsberg
ec8a8e45f6 - Re-add allowwarnings="true" for wrc too
- Re-add the wmc header fix too, accidentally reverted in previous commit

svn path=/trunk/; revision=38958
2009-01-19 22:54:50 +00:00
Stefan Ginsberg
bb0998a443 - Sorry, this broke build on certain Linux hosts
svn path=/trunk/; revision=38957
2009-01-19 22:19:00 +00:00
Timo Kreuzer
eb53e42811 crt update:
- initial implementation of secure crt functions for vista compatibility (implement _get_invalid_parameter_handler, _set_invalid_parameter_handler, _invalid_parameter)
- rewrite time apis, add TLS support, add 64bit time functions and secure crt function support

svn path=/branches/ros-amd64-bringup/; revision=38956
2009-01-19 22:05:27 +00:00
Timo Kreuzer
a6ccd8981a time.h: add asctime_s and localtime_s, remove sec_api include
wchar.h: fix WTIME definitions

svn path=/branches/ros-amd64-bringup/; revision=38955
2009-01-19 21:53:26 +00:00
Timo Kreuzer
31febcab86 Update README.WINE
svn path=/trunk/; revision=38954
2009-01-19 20:45:08 +00:00
Stefan Ginsberg
9e89c8c187 - Kill off more unnecessary allowwarnings="true"
- Remove a .rbuild diff from oleaut32_ros.diff -- Wine doesn't use .rbuild, so why put this in .diff?

svn path=/trunk/; revision=38953
2009-01-19 19:44:55 +00:00
Timo Kreuzer
da6a9dbfe5 Remove double brackets, I missed. Add a DPRINT1 if kernel is not loaded.
svn path=/branches/ros-amd64-bringup/; revision=38951
2009-01-19 18:50:19 +00:00
Timo Kreuzer
74bcfdb123 Fix return value of FrLdrReadAndMapImage when image is already loaded.
svn path=/branches/ros-amd64-bringup/; revision=38950
2009-01-19 18:45:26 +00:00
Dmitry Chapyshev
bae14e1987 - Update some icons (shell32)
- Add defines for icons (shell32)
- Add icon for .reg files (regedit)
- Some fixes for hivecls_arm.inf and hivecls_i386.inf

svn path=/trunk/; revision=38949
2009-01-19 18:36:03 +00:00
Stefan Ginsberg
f233dab1ee - Remove unnecessary allowwarnings="true"
svn path=/trunk/; revision=38948
2009-01-19 18:08:28 +00:00
Timo Kreuzer
03c5f702be Fix rsym a bit, so that it properly calculates the section start. Now reactos boots again.
svn path=/branches/ros-amd64-bringup/; revision=38947
2009-01-19 18:05:27 +00:00
Jeffrey Morlan
fd6ed40845 cmd_rmdir: Implement ability to remove multiple directories with one command.
svn path=/trunk/; revision=38946
2009-01-19 17:29:21 +00:00
Timo Kreuzer
f601277c56 Improve GetSetConsoleInputExeNameAW, removing the excessive SEH use. Fixes 1 kernel32 console winetest.
svn path=/trunk/; revision=38945
2009-01-19 17:08:47 +00:00
Christoph von Wittich
7506e507ee sync wintrust_winetest to wine 1.1.13
svn path=/trunk/; revision=38944
2009-01-19 17:04:46 +00:00
Christoph von Wittich
ab1f060739 sync crypt32_winetest with wine 1.1.13
svn path=/trunk/; revision=38943
2009-01-19 16:47:57 +00:00
Timo Kreuzer
4915884a37 improve freeldr debug prints:
- include reactos/debug.h
- rename DebugPrint to DbgPrintMask
- use DbgPrint to DPRINTM, add file and line and get rid of the ugly double brackets

svn path=/branches/ros-amd64-bringup/; revision=38942
2009-01-19 16:29:02 +00:00
Christoph von Wittich
d58aa939f6 sync crypt32 and wintrust with wine 1.1.13
svn path=/trunk/; revision=38941
2009-01-19 16:16:15 +00:00
Johannes Anderwald
bf29e0ff1d - Experimental implementation of KsiCreateObjectType
svn path=/trunk/; revision=38940
2009-01-19 15:55:47 +00:00
Dmitry Chapyshev
f5c1cadac1 - Change hh.exe location
- Fix inf's for .hlp files
- Add entries for .chm files

svn path=/trunk/; revision=38939
2009-01-19 15:36:26 +00:00
Aleksey Bragin
65aefa88f2 - Fix a misnamed var in fastfat.h.
- Implement first part of FatMountVolume (before VCB initialization and actual read of a volume).

svn path=/trunk/; revision=38938
2009-01-19 13:55:46 +00:00
Christoph von Wittich
c6c20dffb6 fix lots of msxml3 winetest
svn path=/trunk/; revision=38937
2009-01-19 12:56:32 +00:00
Aleksey Bragin
d95bdfc632 - Sync widl + rpcrt4 with Wine.
svn path=/trunk/; revision=38936
2009-01-19 12:24:52 +00:00
Christoph von Wittich
326b221c21 skip crashing virtual tests
svn path=/trunk/; revision=38935
2009-01-19 12:04:09 +00:00
Christoph von Wittich
a4ecb02e06 Use WriteEncodedText() for line endings
patch by <zooba at aanet dot com dot au>
tested by amine48rz
See issue #3989 for more details.

svn path=/trunk/; revision=38934
2009-01-19 11:13:31 +00:00
Christoph von Wittich
fb62d9e954 Use "Small Fonts" (96 dpi) by default
patch by <aspotashev at gmail dot com>
See issue #4011 for more details.

svn path=/trunk/; revision=38933
2009-01-19 10:51:58 +00:00
Christoph von Wittich
23ef53ceff don't let VirtualProtect play with not committed memory
svn path=/trunk/; revision=38932
2009-01-19 10:27:59 +00:00
Christoph von Wittich
2eb7079e6c fix typo (spotted by Ged)
svn path=/trunk/; revision=38931
2009-01-19 09:22:59 +00:00
Christoph von Wittich
c1f8a4fdc2 trim leading zeros in GetNumberFormat
patch by <zooba at aanet dot com dot au>
See issue #3400 for more details.

svn path=/trunk/; revision=38930
2009-01-19 09:04:56 +00:00
Christoph von Wittich
9a921d3209 fix some more kernel32 virtual tests
svn path=/trunk/; revision=38929
2009-01-19 08:35:51 +00:00
Christoph von Wittich
d318fedb6d fix some kernel32 virtual winetests
svn path=/trunk/; revision=38928
2009-01-19 08:02:26 +00:00
Christoph von Wittich
2fef907b66 fix handle leaks
svn path=/trunk/; revision=38927
2009-01-19 05:08:11 +00:00
Christoph von Wittich
e67174808a hack: skipping RegisterWaitForSingleObject tests as they don't finish
svn path=/trunk/; revision=38926
2009-01-19 04:20:06 +00:00
James Tabor
a7bf412ad2 - Add QS_RAWINPUT.
svn path=/trunk/; revision=38925
2009-01-19 00:03:51 +00:00
Stefan Ginsberg
306b8ac8b2 - Fix a comment
svn path=/trunk/; revision=38924
2009-01-18 23:53:22 +00:00
Johannes Anderwald
eacb6ae11a - Register all device interfaces identified in the subdevice descriptor
- Add IUnknown to IInteruptSync interface
- Handle IRP_MN_QUERY_INTERFACE
- Create a subdevice descriptor for IPortWavePci, IPortWaveCyclic and IPortTopology and handle the respective ISubDevice::GetDescriptor
- Always request PCFILTER_DESCRIPTOR regardless of present IPinCount interface
- Check if IMiniportWavePci omits a IServiceGroup
- Implement ISubDevice interface for IPortWavePci port driver
- Add primitive implementation of PcCreateSubdeviceDescriptor
- Intel AC97 audio driver now successfully initializes under Vbox

svn path=/trunk/; revision=38923
2009-01-18 23:46:09 +00:00
Stefan Ginsberg
fb169370fe - Fix more InterlockedCompareExchangePointer warnings in crypt32 -- this to Wine, too
- Hack-0-initialize a variable in cryptui to satisfy gcc -- this needed as Wine use a less retarded gcc than we do
- Warning fix old and out of sync icmp/inetcomm/odbc32/shdocw
- Use _CRT_NONSTDC_NO_DEPRECATE in winhlp32
- Hack MAKEINTATOM definition for Wine

svn path=/trunk/; revision=38922
2009-01-18 23:31:26 +00:00
Timo Kreuzer
b0c158cf99 ok, better test changes before comitting them ;-)
svn path=/branches/ros-amd64-bringup/; revision=38921
2009-01-18 22:35:17 +00:00
Timo Kreuzer
2a568fccdc Tracing the data exchanged between Windows64 and WinDbg shows that DBGKD_CONTROL_REPORT is a bit different to x86 version.
svn path=/branches/ros-amd64-bringup/; revision=38920
2009-01-18 21:55:59 +00:00
Matthias Kupfer
659b2bfc46 Maciej Bialas <bjauy AT tlen DOT pl>
- Polish translation of recently added resource strings

svn path=/trunk/; revision=38919
2009-01-18 21:40:12 +00:00
Stefan Ginsberg
5986aff6bd - Remove outdated msvcrt Winetest compilation hack, add _CRT_NONSTDC_NO_DEPRECATE to silence the 'unlink' warnings
svn path=/trunk/; revision=38918
2009-01-18 21:35:18 +00:00
Matthias Kupfer
06d2774513 Add new resource strings for translation.
svn path=/trunk/; revision=38917
2009-01-18 21:21:09 +00:00
Kamil Hornicek
44d2bd70d8 - sync d3d9 with wine HEAD
svn path=/trunk/; revision=38916
2009-01-18 21:11:53 +00:00
Kamil Hornicek
d6aa26ee7f - sync d3d8 with wine HEAD
svn path=/trunk/; revision=38915
2009-01-18 21:09:47 +00:00
Kamil Hornicek
f1fd1b0ce1 - sync wined3d with wine HEAD
svn path=/trunk/; revision=38914
2009-01-18 21:09:22 +00:00
Johannes Anderwald
c41ccd6b73 - Fix IPortWaveCyclic interface
- Implement IPortEvents interface

svn path=/trunk/; revision=38913
2009-01-18 20:56:01 +00:00
Johannes Anderwald
ef794c62a4 - Fix IPortWaveCyclic interface
svn path=/trunk/; revision=38912
2009-01-18 20:55:57 +00:00
Stefan Ginsberg
0d17246450 - Fix WMC and mkhive warnings
- Fix the unitialized variable warning in freetype (done the same way in freetype trunk)
- Make CRT compile warning-free again, and re-remove allowwarnings=true
- Make libxml compile warning-free too


svn path=/trunk/; revision=38911
2009-01-18 20:42:13 +00:00
Jeffrey Morlan
39934ca5e2 cmd_move:
- Only check for options at the beginning of the command line (subsequent code already assumed the filenames were at the end).
- Give an error message if too many parameters are given.
- If no destination is given, default to current directory.
- Replace excessively complicated code to get source directory with single GetFullPathName call; hopefully that is sufficient. Check for pszFile == NULL to prevent crash that occurred when source was "/..".
- To determine whether source wildcard matches are files or directories, just use WIN32_FIND_DATA's dwFileAttributes; it's easier than constructing paths to pass to IsExistingFile/IsExistingDirectory.
- Fix memory leaks: some returns were missing freep(arg).

svn path=/trunk/; revision=38910
2009-01-18 20:21:03 +00:00
Matthias Kupfer
c8b896e660 - Replace static message text by resource strings.
- Add German translation for those strings.

svn path=/trunk/; revision=38909
2009-01-18 20:02:41 +00:00
Christoph von Wittich
747111402a sync ole32 and oleaut32 to wine 1.1.13
svn path=/trunk/; revision=38908
2009-01-18 19:23:59 +00:00
Christoph von Wittich
130bfcf51a sync ole32 winetest to wine 1.1.13
svn path=/trunk/; revision=38907
2009-01-18 19:23:06 +00:00
Stefan Ginsberg
4e7ee302a9 - Fix regexpl build
svn path=/trunk/; revision=38906
2009-01-18 18:40:02 +00:00
Stefan Ginsberg
e3a4c88843 - Sorry, forgot this file
svn path=/trunk/; revision=38905
2009-01-18 18:15:32 +00:00
Stefan Ginsberg
22d7e0689a - Correct the ulAssemblyRosterIndex member of ACTCTX_SECTION_KEYED_DATA -- it is ULONG (MSDN is wrong here)
- Fix Lsa IDL's LUID/PLUID definition
- Silence winmm/midimap/wavemap warnings (these modules haven't been touched for a long time and are way out of sync)
- Silence a ole32 warning -- should be sent to Wine too

svn path=/trunk/; revision=38904
2009-01-18 17:58:35 +00:00
Johannes Anderwald
43e8b65e00 - Fix debug prints
- Fix initialization of IPortWavePci object
- Fix IPortWavePci interface

svn path=/trunk/; revision=38903
2009-01-18 17:44:17 +00:00
Johannes Anderwald
e710923ad4 - Fix IPortWavePci interface
svn path=/trunk/; revision=38902
2009-01-18 17:44:10 +00:00
Christoph von Wittich
11228d6e3b add ctxtcall.h to uuid
svn path=/trunk/; revision=38901
2009-01-18 17:17:12 +00:00
Christoph von Wittich
f08cc7b210 add ctxtcall.idl from wine
svn path=/trunk/; revision=38900
2009-01-18 17:14:54 +00:00
Michael Martin
bd30763563 - Fix calculation of WriteQuotaAvailable and WritePtr when moving memory.
- Due to the new implementation, Quota is not charged for partial message retrievals. Therefore reset Quota Available to MaxDataLength when last message is read from buffer and check that Quota is greater than 0 before waking the write thread.

svn path=/trunk/; revision=38899
2009-01-18 16:31:45 +00:00
Stefan Ginsberg
6e2699957c - Fix WINEVENTPROC -- it is stdcall, not cdecl!
- Correct the way FONTENUMPROC is defined, and type-cast accordingly in gdi32
- PSECURITY_DESCRIPTOR is an opaque pointer -- use PISECURITY_DESCRIPTOR instead where necessary
- raddr2line: Fix a warning under Linux host

svn path=/trunk/; revision=38898
2009-01-18 15:59:21 +00:00
Stefan Ginsberg
60882e8641 - ws2_32 Winetest: Define __ROS_LONG64__
- rpcrt4 Winetest: Fix an implicit declaration warning -- this should be sent to Wine

svn path=/trunk/; revision=38897
2009-01-18 15:48:55 +00:00
Thomas Bluemel
211942ddf7 Strings are always NULL-terminated...
svn path=/trunk/; revision=38896
2009-01-18 15:46:18 +00:00
Ged Murphy
3268178323 you'd never guess I was English
svn path=/trunk/; revision=38895
2009-01-18 15:15:54 +00:00
Ged Murphy
a446ba6dc9 Reapply ros specific hack to stop the treeview scrollbars from continuous painting. I don't have time to look for the real bug at the moment.
Also add Timo's propsheet and tooltip fixes

svn path=/trunk/; revision=38894
2009-01-18 15:07:11 +00:00
Christoph von Wittich
a4b40ce979 fix a bug in RtlDetermineDosPathNameType_U
fixes 5 kernel32 profile winetests

svn path=/trunk/; revision=38893
2009-01-18 14:51:29 +00:00
Christoph von Wittich
f47bbd7d27 re enable pipe tests
svn path=/trunk/; revision=38892
2009-01-18 14:10:28 +00:00
Christoph von Wittich
7090d5e238 fix kernel32 comm crash
If lpOverlapped is NULL, lpBytesReturned cannot be NULL.

svn path=/trunk/; revision=38891
2009-01-18 13:56:09 +00:00
Dmitry Chapyshev
fc86a01ed2 - Partly sync with Wine head
svn path=/trunk/; revision=38890
2009-01-18 13:13:31 +00:00
Christoph von Wittich
e070af82b9 sync msi to wine 1.1.13
svn path=/trunk/; revision=38889
2009-01-18 12:52:01 +00:00
Dmitry Chapyshev
fe10fbccfe - Implement pSetupGuidFromString
- Implement pSetupStringFromGuid
- Implement pSetupIsGuidNull

svn path=/trunk/; revision=38888
2009-01-18 12:50:56 +00:00
Stefan Ginsberg
eef79b36ef - Fix warnings in ros' tests
svn path=/trunk/; revision=38887
2009-01-18 12:20:51 +00:00
Art Yerkes
26a6195563 Prevent a null access when the first show-desktop is called. Hidden by low-memory mapped in csrss.
svn path=/trunk/; revision=38886
2009-01-18 12:11:32 +00:00
Christoph von Wittich
56c6d214ab remove allowwarnings=true
svn path=/trunk/; revision=38885
2009-01-18 12:09:55 +00:00
Christoph von Wittich
076028efe9 warning fixes
svn path=/trunk/; revision=38884
2009-01-18 12:08:55 +00:00
Dmitry Chapyshev
88cd4628a0 - Fix bug with addition of keyboard layouts
svn path=/trunk/; revision=38883
2009-01-18 11:20:32 +00:00
Aleksey Bragin
667636f08a - SVN maintenance.
svn path=/trunk/; revision=38881
2009-01-18 10:23:15 +00:00
Aleksey Bragin
ea435d7876 - SVN maintenance.
svn path=/trunk/; revision=38880
2009-01-18 10:22:07 +00:00
Christoph von Wittich
d068ad2d69 fix kernel32 console winetest crash
svn path=/trunk/; revision=38879
2009-01-18 10:06:34 +00:00
Samuel Serapion
865a88e5b0 Re: 38126
- Sorry, but this hack cannot go away at this time.

svn path=/branches/ros-amd64-bringup/; revision=38878
2009-01-18 10:03:47 +00:00
Samuel Serapion
f07877a8c6 Remove unnecessary dependency, fix build a bit.
svn path=/branches/ros-amd64-bringup/; revision=38877
2009-01-18 09:44:36 +00:00
Christoph von Wittich
0195906a3c sync msi_winetest with wine 1.1.13
svn path=/trunk/; revision=38876
2009-01-18 09:03:44 +00:00
Christoph von Wittich
16ccdf83b4 sync msacm32_winetest with wine 1.1.13
svn path=/trunk/; revision=38875
2009-01-18 08:59:27 +00:00
Christoph von Wittich
aa7409c841 sync mapi32_winetest with wine 1.1.13
svn path=/trunk/; revision=38874
2009-01-18 08:56:17 +00:00
KJK::Hyperion
bfc3948cfe Warning killing commit
modified   tests/polytest/polytest.cpp
   Use %ld to print LONGs, not %d

modified   tests/vmtest/vmtest.c
   Don't do pointer arithmetics on PVOID

Everything else
   Compile winetests with __ROS_LONG64__

svn path=/trunk/; revision=38873
2009-01-18 06:31:44 +00:00
KJK::Hyperion
75eeb2a7e4 Warning killing commit
modified   include/psdk/basetsd.h
modified   include/psdk/windef.h
modified   include/psdk/winnt.h
   Introduce new define __ROS_LONG64__ ("assume 64-bit long"), to use int instead of long in typedefs of 32-bit integers
   __ROS_LONG64__ automatically defined if __WINESRC__ is defined. No, __WINESRC__ alone is not enough

modified   base/applications/winhlp32/winhlp32.rbuild
modified   base/applications/wordpad/wordpad.rbuild
   Compile with __ROS_LONG64__ define to silence int/long warnings

modified   include/psdk/winsock.h
modified   include/psdk/winsock2.h
   __ROS_LONG64__ does Winsock too
   Use LONG and u_long instead of long and unsigned long, to take advantage of __ROS_LONG64__

modified   include/reactos/wine/test.h
   Use explicit casts in printf calls so the header compiles without warnings regardless of whether __ROS_LONG64__ is defined
   Use _strdup instead of strdup

modified   include/psdk/sspi.h
modified   include/psdk/wininet.h
   Use LONG and ULONG instead of long and unsigned long, to take advantage of __ROS_LONG64__

modified   include/psdk/htmlhelp.h
modified   include/psdk/lmaccess.h
modified   include/psdk/prsht.h
modified   include/psdk/vfw.h
modified   include/psdk/winuser.h
   By sheer coincidence, several wrong prototypes were uncovered by the __ROS_LONG64__ feature. They all happen to be 64-bit portability issues, too

modified   base/system/msiexec/msiexec.rbuild
   msiexec is a Wine system component: compile with __WINESRC__

modified   dll/win32/setupapi/setupapi.rbuild
   setupapi is _not_ a Wine system component: compile _without_ __WINESRC__

modified   lib/3rdparty/libwine/debug.c
   Use LONG instead of long

modified   dll/win32/advapi32/service/sctrl.c
modified   include/psdk/winsvc.h
   Fix prototypes of StartServiceCtrlDispatcherA and StartServiceCtrlDispatcherW

modified   include/psdk/winbase.h
   Corrected the prototypes of GetProcessAffinityMask and ReadProcessMemory. Now Win64-compliant
   The argument to the _InterlockedCompareExchange is volatile long *, not volatile LONG *: cast explicitly (it's perfectly safe)

modified   include/psdk/wingdi.h
   Fix prototype of ENHMFENUMPROC

svn path=/trunk/; revision=38872
2009-01-18 06:25:43 +00:00
James Tabor
ad5d6611f9 - Add more thread info types and remove a set mask clear bit.
svn path=/trunk/; revision=38868
2009-01-18 04:36:43 +00:00
Timo Kreuzer
b130cb652d Forgot this file
svn path=/trunk/; revision=38866
2009-01-18 02:38:35 +00:00
Timo Kreuzer
c997d73a17 user32: sync listbox.c to wine 1.1.13
svn path=/trunk/; revision=38865
2009-01-18 02:28:12 +00:00
Timo Kreuzer
843defae4d user32: sync DIALOG_DlgDirSelect to wine 1.1.13:
Fixes crash of user32 winetest listbox

svn path=/trunk/; revision=38863
2009-01-18 01:17:47 +00:00
Johannes Anderwald
62957c3cb4 - Implement IPortEvents interface to IPortWavePci
svn path=/trunk/; revision=38862
2009-01-18 00:44:54 +00:00
Johannes Anderwald
f5a320f97c - Add interface IPortEvents
svn path=/trunk/; revision=38861
2009-01-18 00:39:15 +00:00
Dmitry Gorbachev
f41affdeb5 Czech (QWERTZ) keyboard layout by Radek Liska. Bug #4031.
svn path=/trunk/; revision=38860
2009-01-17 23:18:32 +00:00
Johannes Anderwald
fa5bc6ed26 - Store DeviceObject before calling IMiniportTopology's init function
svn path=/trunk/; revision=38859
2009-01-17 23:11:11 +00:00
Johannes Anderwald
1832435672 - Handle IRP_MN_QUERY_INTERFACE
svn path=/trunk/; revision=38858
2009-01-17 22:36:58 +00:00
Johannes Anderwald
f781b11878 - Store DeviceObject before calling IMiniportWaveCyclic as the driver might immediately call port functions
- Pass the PhysicalDeviceObject to IoGetDmaAdapter

svn path=/trunk/; revision=38857
2009-01-17 22:22:09 +00:00
Timo Kreuzer
51d20d699d user32: sync icontitle.c with Wine 1.1.13
Alexandre Julliard <julliard@winehq.org>
user32: Store the builtin class names in Unicode.

Rob Shearman <rob@codeweavers.com>
user32: Fix incorrect character count passed to GetWindowTextW in ICONTITLE_Paint.

svn path=/trunk/; revision=38856
2009-01-17 21:45:00 +00:00
Sylvain Petreolle
1c2bcd0d06 add drmk to bootcd
svn path=/trunk/; revision=38855
2009-01-17 21:36:08 +00:00
Christoph von Wittich
14158199c0 fix SystemFunction013
svn path=/trunk/; revision=38854
2009-01-17 21:29:13 +00:00
James Tabor
1335fe7f13 - It is understandable now why certain applications fail when accessing thread information from user mode, it is the wrong information being accessed.
svn path=/trunk/; revision=38853
2009-01-17 21:14:52 +00:00
Colin Finck
f134ca1ab1 Use DECLSPEC_NORETURN and place it at the top of the prototype to fix MSVC compilation.
Hint by Stefan ;-)

svn path=/trunk/; revision=38852
2009-01-17 21:11:38 +00:00
Christoph von Wittich
f143177d3b fix a kernel32 console winetest crash
svn path=/trunk/; revision=38851
2009-01-17 21:05:15 +00:00
Matthias Kupfer
bdcc1ced8f Fix wrong strings for default mouse cursor settings
svn path=/trunk/; revision=38850
2009-01-17 20:46:28 +00:00
Christoph von Wittich
9c245e9ec1 sync rsaenh_winetest with wine 1.1.13
svn path=/trunk/; revision=38848
2009-01-17 20:25:16 +00:00
Christoph von Wittich
8991e24d23 sync ws2_32_winetest with wine 1.1.13
svn path=/trunk/; revision=38847
2009-01-17 20:21:03 +00:00
Christoph von Wittich
56f186a682 sync comdlg32_winetest with wine 1.1.13
svn path=/trunk/; revision=38846
2009-01-17 20:15:01 +00:00
Christoph von Wittich
be6f9a9db3 sync browseui_winetest with wine 1.1.13
svn path=/trunk/; revision=38845
2009-01-17 20:13:53 +00:00
Christoph von Wittich
aecfced223 sync advpack_winetest with wine 1.1.13
svn path=/trunk/; revision=38844
2009-01-17 20:12:48 +00:00
Daniel Reimer
158c405ae3 Sync Apps to Wine HEAD (2 of 2)
svn path=/trunk/; revision=38843
2009-01-17 20:02:00 +00:00
Daniel Reimer
478947654c Sync Apps to wine HEAD (1 of 2)
svn path=/trunk/; revision=38842
2009-01-17 19:59:22 +00:00
Christoph von Wittich
6e08f16ab1 sync mapi32 with wine 1.1.13
svn path=/trunk/; revision=38841
2009-01-17 19:59:02 +00:00
Colin Finck
be72d98a83 Convert all line-endings to LF first in StringOut before passing the strings to printf and OutputDebugStringA.
Both functions treat the string as text and convert the line-endings themselves to CRLF. If you already give them a CRLF line-ending, it'll be converted to CRCRLF..
By unifying the line-endings in StringOut, it is also possible now to pass both LF and CRLF to the function.

This should fix the empty lines in the BuildBot log.
Thanks to Christoph for the help!

svn path=/trunk/; revision=38840
2009-01-17 19:58:18 +00:00
Christoph von Wittich
951c595722 sync fusion with wine 1.1.13
svn path=/trunk/; revision=38839
2009-01-17 19:56:32 +00:00
Christoph von Wittich
7195b734f2 sync wrc to wine 1.1.3 (except lang2cp struct as too many strange languages were added in wine)
svn path=/trunk/; revision=38838
2009-01-17 19:46:42 +00:00
Christoph von Wittich
5b5fdb7799 -Dmitry Timoshkov <dmitry at codeweavers.com>
wrc: Warn for duplicate dialog ids.

svn path=/trunk/; revision=38837
2009-01-17 19:27:13 +00:00
Christoph von Wittich
38026c3ee6 forgot to commit this file
svn path=/trunk/; revision=38836
2009-01-17 19:18:06 +00:00
Christoph von Wittich
58bd8bc9f9 sync cabinet headers with wine 1.1.13
svn path=/trunk/; revision=38835
2009-01-17 19:14:53 +00:00
Christoph von Wittich
035d92f2c6 sync wordpad with wine 1.1.13
svn path=/trunk/; revision=38834
2009-01-17 19:10:56 +00:00
Christoph von Wittich
e5b8d3681d sync cryptui with wine 1.1.13
svn path=/trunk/; revision=38833
2009-01-17 19:10:09 +00:00
Christoph von Wittich
64c9438522 sync credui with wine 1.1.13
svn path=/trunk/; revision=38832
2009-01-17 19:09:07 +00:00
Christoph von Wittich
c65e1246ff sync cabinet with wine 1.1.13
svn path=/trunk/; revision=38831
2009-01-17 18:30:33 +00:00
Christoph von Wittich
63bca16061 sync cabinet_winetest with wine 1.1.13
svn path=/trunk/; revision=38830
2009-01-17 18:30:21 +00:00
Ged Murphy
4786fa151f update comctl32 winetest
svn path=/trunk/; revision=38829
2009-01-17 17:42:01 +00:00
KJK::Hyperion
5b30cdcd87 modified dll/win32/kernel32/debug/output.c
KJK::Hyperion vs KJK::Hyperion: finishing the job I started in 2003
   "please uncomment when GCC supports SEH": it kind of does now, but it's totally unnecessary in K32CreateDBMonMutex
   "FIXME: this will be pointless until GCC does SEH": no longer pointless, I guess. 6 years after the fact, OutputDebugStringA finally sends the string to the user-mode debugger. Now if only we could test it...
   Use DBG_PRINTEXCEPTION_C symbolic constant instead of hardcoding its value
   Some [FORMATTING]
   Make K32CreateDBMonMutex, for symbol table hygiene
   My e-mail address changed

svn path=/trunk/; revision=38828
2009-01-17 17:40:42 +00:00
Christoph von Wittich
c331fd3dad sync riched20_winetest to wine 1.1.13
svn path=/trunk/; revision=38827
2009-01-17 17:13:11 +00:00
Ged Murphy
86efa9c7ae add new chinese resource file
svn path=/trunk/; revision=38826
2009-01-17 17:11:13 +00:00
Christoph von Wittich
3ea01761ef sync riched20 to wine 1.1.13
svn path=/trunk/; revision=38825
2009-01-17 17:11:08 +00:00
Ged Murphy
0401322cd0 update spying messages
set TB_GETIMAGELISTCOUNT to have an lparam length of 0

svn path=/trunk/; revision=38824
2009-01-17 17:03:50 +00:00
Ged Murphy
3ec6a3e3d2 add new file
svn path=/trunk/; revision=38823
2009-01-17 16:48:52 +00:00
Ged Murphy
ebec7c2e3f update comctl32 to Wine 1.1.13.
not including ros specific stuff for now while I work out what we still need

svn path=/trunk/; revision=38822
2009-01-17 16:43:06 +00:00
Ged Murphy
f997492021 Add some previously undocumented messages
svn path=/trunk/; revision=38821
2009-01-17 16:23:02 +00:00
Dmitry Chapyshev
d2d5e1d48e - Implement GUIDFromStringW. Based on http://www.winehq.org/pipermail/wine-cvs/2009-January/051920.html
svn path=/trunk/; revision=38820
2009-01-17 15:47:50 +00:00
Dmitry Chapyshev
0ca8d1847a - Implement AllocateUserPhysicalPages, FreeUserPhysicalPages, MapUserPhysicalPages, MapUserPhysicalPagesScatter, ResetWriteWatch
- Fix return value for CreateSocketHandle
- Fix arguments for DelayLoadFailureHook (see http://msdn.microsoft.com/en-us/library/bb432244(VS.85).aspx)

svn path=/trunk/; revision=38819
2009-01-17 15:27:35 +00:00
Michael Martin
afcde1e39c - rw.c: Better implementation of read/write for pipes.
The ReadPtr is there so use it. Duuhh.
    Only move memory to make room for more data when the buffer is full vice moving memory on every read.
    Call KeSetEvent at the correct time, when reading is done.
- fsctrl.c: Correct data returned from NpfsPeekPipe when read mode is byte stream.

svn path=/trunk/; revision=38818
2009-01-17 15:21:15 +00:00
Dmitry Chapyshev
7c93f03dc7 - Launch hardware wizard on hardware page
svn path=/trunk/; revision=38817
2009-01-17 15:13:10 +00:00
Dmitry Gorbachev
1598a20490 Fix a bug.
svn path=/trunk/; revision=38816
2009-01-17 15:05:21 +00:00
Christoph von Wittich
11f4f3033d use spaces instead of tabs (for real now)
svn path=/trunk/; revision=38815
2009-01-17 14:47:32 +00:00
Andrew Greenwood
e17583e14d Use spaces instead of tabs.
svn path=/trunk/; revision=38814
2009-01-17 14:44:24 +00:00
Andrew Greenwood
afff2765ab Treat "LiveCD" system path as a prefix rather than an entire path. This allows a custom path to be specified,
so FreeLDR can boot multiple ReactOS builds from the same CD. FreeLDR happily does this, ReactOS does not like
booting from a livecd path other than \reactos however. Updated livecd.ini to use the new style of livecd
system path.


svn path=/trunk/; revision=38813
2009-01-17 14:20:47 +00:00
Jeffrey Morlan
2429c7df65 Don't treat a slash as the beginning of a new argument for the MOVE command (Bug 4013). Patch by Víctor Martínez Calvo <vicmarcal at hotmail.com>.
svn path=/trunk/; revision=38811
2009-01-17 12:55:46 +00:00
Johannes Anderwald
f59378c1d0 - Check for valid DeviceExtensionSize
- Pass correct flags when creating the fdo
- set DO_DIRECT_IO flag
- clear DO_DEVICE_INITIALIZING flag
- Move all calls to ExAllocatePoolWithTag to a function AllocateItem which is also responsible for zeroing memory
- Fix ISubDevice GUID
- don't disconnect the interrupt on cleanup, IInterruptSync_fnDisconnect exist for that purpose
- If there is no interrupt yet connected, call the synchronized routine holding the internal spinlock
- Copy the current stack location  when forwarding a Irp PcForwardIrpSynchronous
- Implement ISubdevice interface for IPortTopology
- Initialize the dpc for calling Miniport object, as it might create an interrupt object which immediately fires an interrupt
- If the caller doesnt provide an IAdapterPowerManagement interface, clear the existing reference
- Fix 2 bugs in IRegistryKey_NewSubKey which made the system crashing 
- Pass the pdo to IoOpenDeviceRegistryKey
- Move all guids and IIDs to own file and initialize them
- portcls initializes now to the first interrupt fired (vbox+ICH AC97 driver | qemu+es1370 driver)


svn path=/trunk/; revision=38810
2009-01-17 11:19:27 +00:00
Aleksey Bragin
4ca6732fcd - RtlOemStringToCountedUnicodeString improvements:
* Fix STATUS_BUFFER_OVERFLOW when destination string's MaximumLength and Length are equal.
 * Add comments.

svn path=/trunk/; revision=38809
2009-01-17 08:38:25 +00:00
Aleksey Bragin
f8a4f92088 - RtlUnicodeStringToCountedOemString improvements:
* Fix zero-sized input string handling, result would be error instead of success and zero output string.
 * If destination string's MaximumLength and Length are equal, it's not an erroneous situation (in fact, a very common situation).
 * Add comments.

svn path=/trunk/; revision=38808
2009-01-17 07:44:28 +00:00
James Tabor
d80bf3ef94 - It is shameful, hacks like this.
svn path=/trunk/; revision=38807
2009-01-17 07:07:36 +00:00
James Tabor
1a0ed06ffc - Update DispathMessage and fix time stamp for system and standard timers. Tested with qemu bootcd, cmd and explorer. If any bugs arise please log them under Timer Rewrite then associate the older or newer related bugs under it.
svn path=/trunk/; revision=38803
2009-01-17 01:03:03 +00:00
Thomas Bluemel
6df90967f0 Fix background color used for DrawCaptionTemp with DC_INBUTTON
svn path=/trunk/; revision=38802
2009-01-16 23:56:11 +00:00
Art Yerkes
459110618d Prevent accessing NULL as a PE header when we have a bad file, found with Stefan100's help
svn path=/trunk/; revision=38801
2009-01-16 23:44:29 +00:00
Cameron Gutman
f55e4a2843 - Merge aicom-network-fixes up to r38799
- This should finally fix the "UNTRACK: SPECIFIED ALREADY FREE ITEM 0" bug

svn path=/trunk/; revision=38800
2009-01-16 23:30:40 +00:00
Art Yerkes
12f2920bba This actually used to work due to the work csrss does setting up low memory
space.  This fixes it to pass a QOS parameter as it isn't optional.

svn path=/trunk/; revision=38798
2009-01-16 21:03:10 +00:00
Michael Martin
9ae3084028 - Reply 38790, with fix for npfsPeekPipe which was breaking rosautotests.
svn path=/trunk/; revision=38797
2009-01-16 19:30:55 +00:00
Stefan Ginsberg
1ae5ee225a - Add function tags
- Documentary fix from last commit -- DbgkpPostFakeThreadMessage: Implement missing handling of 2 failure cases

svn path=/trunk/; revision=38796
2009-01-16 16:56:00 +00:00
Dmitry Chapyshev
78042b35fd - Fix bug with addition of duplicates to the devices list
- Other small changes

svn path=/trunk/; revision=38795
2009-01-16 16:53:32 +00:00
Stefan Ginsberg
ae838b1c30 - DbgkpPostFakeThreadMessage: Implement missing
- DbgkpSetProcessDebugObject: Fix the traversing of the debug object's event list
- Implement DbgkClearProcessDebugObject

svn path=/trunk/; revision=38794
2009-01-16 16:48:17 +00:00
Michael Martin
c8ed77432a - Revert 38790 as i broke autotests.
svn path=/trunk/; revision=38793
2009-01-16 15:59:03 +00:00
Dmitry Chapyshev
a12d7cd371 - Partly implement hardware types page
svn path=/trunk/; revision=38792
2009-01-16 15:21:32 +00:00
Christoph von Wittich
c58b26652e reapply 36982
WIDL: Enable the use of scalar types (non-pointer types) as custom binding handles.

svn path=/trunk/; revision=38791
2009-01-16 15:16:09 +00:00
Michael Martin
9e097bc205 - create.c: All instances of a pipe must be the same pipe mode as when first instance was created.
Clients start of in byte stream mode, regardless of the pipe's mode.
- finfo.c:  NPFS does not allow changing read mode to message for byte stream mode pipes.
- rw.c:     The format in which data is in the pipe's buffer is based on the pipe mode vice read mode.
            Implement reads in byte stream mode for pipes using message mode.
            Fixed a bug that could caused buffer data to be corrupted due to incorrect calc of WritePtr position.
- fsctrl.c: Return buffer from NpfsPeekPipe if caller requested. 
            Use a mutex before reading the pipe's buffer.
            Return the correct length in Irp info.

svn path=/trunk/; revision=38790
2009-01-16 14:33:45 +00:00
Dmitry Chapyshev
deb282d9e1 - More dialogs implementation
svn path=/trunk/; revision=38789
2009-01-16 14:28:07 +00:00
KJK::Hyperion
1b524afb98 Echo [HOST-CC] and [HOST-LD] instead of [HOSTCC] and [HOSTLD]
Also echo [HOST-AR] for invocations of the host "ar"
Use [HOST-CC], [HOST-LD] and [HOST-AR] in bootstrap makefiles as well

svn path=/trunk/; revision=38788
2009-01-16 13:19:14 +00:00
KJK::Hyperion
8f5afcde25 ... and echo "[HOSTLD]" for the link phase of host modules
svn path=/trunk/; revision=38786
2009-01-16 12:50:20 +00:00
KJK::Hyperion
c3fc8b5daf Echo "[HOSTCC]" instead of "[CC]" in short-hand build output when invoking the host compiler
svn path=/trunk/; revision=38785
2009-01-16 12:44:55 +00:00
KJK::Hyperion
af89bbaaa9 modified tools/rbuild/backend/mingw/modulehandler.cpp
Don't precompile headers with g++: g++ is stupid and, ironically, will precompile .h headers but not .hpp headers (it will mistake them for linker input files). Always use gcc instead
   Don't let gcc guess the language of the header, either: we detect "C++ modules" automatically in rbuild, use that for consistency

svn path=/trunk/; revision=38784
2009-01-16 10:44:36 +00:00
Aleksey Bragin
7f47ebc3d5 - Set version override in pnp_* IDL modules too, since we use Vista's APIs there. Fixes implicitly declared PNP_* functions.
svn path=/trunk/; revision=38783
2009-01-16 08:59:56 +00:00
Dmitry Chapyshev
3d8bbde4fa - Implement RequestDeviceWakeup
- Implement CancelDeviceWakeupRequest

svn path=/trunk/; revision=38782
2009-01-16 06:44:40 +00:00
Dmitry Chapyshev
ccd60957e3 - Implement SetSystemPowerState
svn path=/trunk/; revision=38781
2009-01-16 06:33:19 +00:00
Thomas Bluemel
56f1f5bf69 Create band site's rebar control with styles CCS_NORESIZE and CCS_NOPARENTALIGN
svn path=/trunk/; revision=38780
2009-01-16 03:19:42 +00:00
James Tabor
a0d07a719b - Rewrite Timers, nothing is using it except a bogus system timer for raw input thread is loaded and running.
svn path=/trunk/; revision=38779
2009-01-15 23:15:31 +00:00
Aleksey Bragin
a3c29b9686 - Delete npfs_new skeleton. One rewrite less.
svn path=/trunk/; revision=38776
2009-01-15 19:15:26 +00:00
KJK::Hyperion
936851e20d Sync widl, comcat, ole32, oleaut32 and rpcrt4 to wine 1.1.12
widl can now automatically generate boilerplate code for DLLs hosting RPC proxies (and ole32 and oleaut32 now use this feature): invoke the generation automatically from rbuild rules for rpcproxy modules

svn path=/trunk/; revision=38774
2009-01-15 17:52:35 +00:00
Aleksey Bragin
dea2fe126b - Move batclass.h to PSDK, since it's a PSDK header.
- Remove inclusion of it from DDK's ntpoapi.h.

svn path=/trunk/; revision=38773
2009-01-15 17:22:28 +00:00
Dmitry Chapyshev
a45da19ead - Move SetThreadExecutionState to power.c
- Implement IsSystemResumeAutomatic
- Implement SetThreadExecutionState

svn path=/trunk/; revision=38772
2009-01-15 17:07:01 +00:00
Aleksey Bragin
75ee158474 - Revert 38770's modifications to NDK.
- Temporary move Nt power function prototypes inside power.c file.

svn path=/trunk/; revision=38771
2009-01-15 16:52:50 +00:00
Dmitry Chapyshev
6dea7537bb - Implement GetDevicePowerState
- Implement RequestWakeupLatency
- Add prototypes for GetDevicePowerState and RequestWakeupLatency to pofuncs.h

svn path=/trunk/; revision=38770
2009-01-15 16:09:03 +00:00
Dmitry Chapyshev
154c781d64 - Add power.c file for power management functions
- Move GetSystemPowerStatus, SetSystemPowerState, GetDevicePowerState, RequestDeviceWakeup, RequestWakeupLatency, CancelDeviceWakeupRequest, IsSystemResumeAutomatic, and SetMessageWaitingIndicator to power.c
- Implement GetSystemPowerStatus

svn path=/trunk/; revision=38769
2009-01-15 15:32:30 +00:00
Stefan Ginsberg
3c445f492d - DbgkpSendApiMessage/Lpc: Modification of EPROCESS flags must be interlocked, use PspSetProcessFlag.
- DbgkMap/UnmapViewOfSection: Don't check for the DeadThread flag, doing so is only necessary during early thread creation.
- DbgkCreateThread: Set the StartAddress pointer in the case where we only send the Create Thread message. Also, we should receive the target thread as the first parameter.
- NtDebugActiveProcess: Don't allow debugging the current process.
- NtDebugContinue: We should signal the Debug Object, not the Debug Event. Also make sure we pass the correct event to DbgkpWakeTarget.
- NtWaitForDebugEvent: Cleanup probe and capture of the input timeout.

svn path=/trunk/; revision=38768
2009-01-15 13:14:37 +00:00
Dmitry Chapyshev
a0520cb3ae - Implement FlashWindow
svn path=/trunk/; revision=38766
2009-01-15 10:18:10 +00:00
Johannes Anderwald
e284c5d6a8 - sorry folks
svn path=/trunk/; revision=38765
2009-01-14 21:47:54 +00:00
Stefan Ginsberg
2de45ffbc0 - Revert 38762 to fix build
svn path=/trunk/; revision=38764
2009-01-14 19:55:51 +00:00
Matthias Kupfer
67dd2ec87d Mario Kacmar <kario AT szm DOT sk>
- Fix Switch-To Button, enable only if one selected application.
- See issue #4028 for more details.

svn path=/trunk/; revision=38763
2009-01-14 18:12:43 +00:00
Johannes Anderwald
f8e5a94969 - Implement PcForwardIrpSynchronous
svn path=/trunk/; revision=38762
2009-01-14 17:14:20 +00:00
Stefan Ginsberg
be69d2aa50 - DBGK: Use flags instead of magic values for Debug Events -- names taken from http://neitsabes.online.fr/dc/index.php?2007/12/04/7-ntqueryinformationprocess-processinfoclass-30
svn path=/trunk/; revision=38761
2009-01-14 14:55:46 +00:00
KJK::Hyperion
d62fc8535e deleted lib/pseh/framebased-gcchack.c
added      lib/pseh/i386/framebased-gcchack-asm.S
added      lib/pseh/i386/framebased-gcchack.c
deleted    lib/pseh/i386/framebased-gcchack.S
modified   lib/pseh/pseh.rbuild
   framebased-gcchack.c is irreversibly married to the x86 architecture. Move it to the appropriate place
   Rename framebased-gcchack.S because its base name now conflicts with framebased-gcchack.c

svn path=/trunk/; revision=38760
2009-01-14 14:51:23 +00:00
Kamil Hornicek
53d48069ba [FORMATTING] Fix indentation. No code change.
svn path=/trunk/; revision=38759
2009-01-14 14:41:25 +00:00
Aleksey Bragin
bc6a89af41 - Add stubs for VolumeControlBlock structure, VolumeDeviceObject,
- Improve FAT_IRP_CONTEXT structure to suit future needs.
- Some more cleanup of fastfat.h (to be separated into a few headers as shown by Alex Vlasov).
- Implement FatBuildIrpContext / FatDestroyIrpContext.
- Implement FatCompleteRequest.
- Implement dispatching of FSCTRL requests.
- DPRINT->DPRINT1 for all unimplemented functions.
- We receive a mount volume request!

svn path=/trunk/; revision=38755
2009-01-14 10:42:56 +00:00
Aleksey Bragin
2ed6687632 - Revert 38750, a dereference happens when that hook is freed by IntFreeHook.
- Change thread dereferencing mechanism in NtUserSetWindowsHookEx:
 * A thread may be referenced in some cases when it's a system-wide hook, however dereference flag was not set for these, so they leaked a reference. Add a ThreadReferenced boolean var to track real references, and set hook's flag according to it.
 * There should be no need to call ObDereferenceObject on a thread when a call to IntRemoveHook was already performed (in failure branches). IntFreeHook() will dereference the thread object.

svn path=/trunk/; revision=38754
2009-01-14 09:51:50 +00:00
Christoph von Wittich
3bb7973d97 fix jim's copypasta
svn path=/trunk/; revision=38753
2009-01-14 07:09:25 +00:00
James Tabor
e3b9b100e1 - Added stubs to timers, tooling up to change over to handled timers. This is related to just about everything. From Carets to window positions.
svn path=/trunk/; revision=38752
2009-01-14 02:02:26 +00:00
Stefan Ginsberg
953cecc715 - KDBG: Correct the use of PsLookupThread/ProcessByThread/ProcessId -- the caller must dereference the Thread/Process after use
svn path=/trunk/; revision=38751
2009-01-14 00:34:24 +00:00
Stefan Ginsberg
3ca6b9e650 - NtUserSetWindowsHookEx: Don't leak a thread reference in case we are passed a Thread Id
svn path=/trunk/; revision=38750
2009-01-13 23:41:34 +00:00
Johannes Anderwald
5bc4586475 - Copy provided PCM_RESOURCE_LIST when a new ResourceList is created
svn path=/trunk/; revision=38748
2009-01-13 22:36:03 +00:00
Matthias Kupfer
2b06cfc0ef Víctor Martínez Calvo <vicmarcal AT hotmail DOT com>
- Fix dir command behavior for files without extension.
- See issue #3968 for more details.

svn path=/trunk/; revision=38746
2009-01-13 15:21:08 +00:00
James Tabor
0c4b617c16 - Re-implement NtUserDispatchMessage and implement NtUserValidateTimerCallback.
svn path=/trunk/; revision=38745
2009-01-13 12:16:06 +00:00
Aleksey Bragin
732b0f6f65 - Remove unneeded functions.
- Cleanup, reformat, remove static.

svn path=/trunk/; revision=38744
2009-01-13 12:13:21 +00:00
Cameron Gutman
71f5b95706 - Merge aicom-network-fixes up to r38730
svn path=/trunk/; revision=38743
2009-01-13 02:34:39 +00:00
Thomas Bluemel
9452b7e23c Remove unused code
svn path=/trunk/; revision=38742
2009-01-13 00:34:32 +00:00
James Tabor
a035fd4e21 - Un-implement NtUserDispatchMessage.
- First of all, it is incorrect. I had a rant that I was going to send to the private mail list, but this will do.
- No more "New Standards"! The Window object should already know it is ANSI or not. A pointer to MSG is the only thing passed.


svn path=/trunk/; revision=38741
2009-01-12 23:36:10 +00:00
Timo Kreuzer
a10da42dd1 winbase.h: Add EncodePointer, DecodePointer, EncodeSystemPointer and DecodeSystemPointer
svn path=/trunk/; revision=38740
2009-01-12 22:47:25 +00:00
Timo Kreuzer
02c15ae9f7 Sync edit.c with wine head (Wine-1_1_12)
Reduces failures from 18 to 13 and test doesn't keep a window open anymore.

(Partly) revert 29649, 33848, 33909, 33910 as it's now implemented by wine

1.4 Francois Gouget <fgouget@free.fr>
Don't put single quotes around '%s' when using the debugstr_*() functions.

1.5 Huw Davies <huw@codeweavers.com>
user32: Keep track of whether the app has asked for the text buffer handle.

1.9 Dmitry Timoshkov <dmitry@codeweavers.com>
user32: Fix some compilation warnings in 64-bit mode.

1.15 Alexandre Julliard <julliard@winehq.org>
user32: Store the builtin class names in Unicode.

1.16 Andrew Talbot <andrew.talbot@talbotville.com>
user32: Constify some variables.

1.17 Gerald Pfeifer <gerald@pfeifer.com>
user32: Factor in EDIT_WM_EraseBkGnd().

1.18 Andrew Talbot <andrew.talbot@talbotville.com>
user32: Remove unneeded casts.

1.19 Marcus Meissner <marcus@jet.franken.de>
user32: Handle error returns from ImmGetCompositionString.

1.20 Lei Zhang <thestig@google.com>
user32: Tweak how the edit control handles WM_GETDLGCODE.

1.21 Lei Zhang <thestig@google.com>
user32: Handle WM_CHAR messages better in edit controls.

1.22 Lei Zhang <thestig@google.com>
user32: Correctly handle VK_RETURN for edit controls with ES_WANTRETURN style.

1.23 Lei Zhang <thestig@google.com>
user32: Fix WM_CHAR return value for edit controls.

1.24 Lei Zhang <thestig@google.com>
user32: Handle ES_MULTILINE correctly for WM_KEYDOWN/VK_RETURN.

1.25 Lei Zhang <thestig@google.com>
user32: Handle VK_ESCAPE correctly in EDIT_WM_KeyDown.

1.26 Lei Zhang <thestig@google.com>
user32: Add edit control check to see if its in a dialog on WM_CHAR/VK_RETURN.

1.27 Lei Zhang <thestig@google.com>
user32: Add edit control check to see if its in a dialog on WM_CHAR/VK_TAB.

1.28 Lei Zhang <thestig@google.com>
user32: Fix a typo.

1.29 Lei Zhang <thestig@google.com>
user32: Handle VK_TAB in EDIT_WM_KeyDown.

1.30 Lei Zhang <thestig@google.com>
user32: Do checks in the right order in EDIT_BuildLineDefs_ML.

1.31 Lei Zhang <thestig@google.com>
user32: Handle ctrl + home in edit control.

1.32 Lei Zhang <thestig@google.com>
user32: Handle ctrl + end in edit control.

1.33 Alexandre Julliard <julliard@winehq.org>
user32: Added support for WS_EX_RIGHT in the edit control.

1.34 Kusanagi Kouichi <slash@ma.neweb.ne.jp>
user32: Handle IME messages more gracefully.

1.35 Alexandre Julliard <julliard@winehq.org>
user32: Remove redundant LocalUnlock calls.

1.36 Austin English <austinenglish@gmail.com>
Spelling fixes.

1.37 Lei Zhang <thestig@google.com>
user32: Handle VK_RETURN WM_KEYDOWN events better in edit controls.
Elias Benali wrote the initial version of this patch.

1.38 Lei Zhang <thestig@google.com>
user32: Edit controls should ignore WM_KEYDOWN on control + enter.

1.39 Andrew Talbot <andrew.talbot@talbotville.com>
user32: Remove unused variables.

1.40 Hongbo Ni <hongbo@njstar.com>
user32: Implement WM_UNICHAR for edit control.

1.41 Lei Zhang <thestig@google.com>
user32: Send messages for edit control context menu operations.

1.42 Aric Stewart <aric@codeweavers.com>
user32: Make sure our vertical line count is at least 1 even if there is an oversized font in the edit control.

1.43 Michael Stefaniuc <mstefani@redhat.de>
user32: Remove superfluous casts of void pointers.

1.44 Francois Gouget <fgouget@codeweavers.com>
user32: Remove WINAPI/CALLBACK on static functions where not needed.


svn path=/trunk/; revision=38739
2009-01-12 22:03:00 +00:00
Dmitry Gorbachev
24ffd04056 Update Spanish translations.
Patch from Javier Remacha (remialdo gmail com). Bug #4021.

svn path=/trunk/; revision=38738
2009-01-12 21:18:57 +00:00
Timo Kreuzer
b025eddd79 revert last commit insetad remove UNICODE_NOCHAR from wine/winuser.h
svn path=/trunk/; revision=38737
2009-01-12 21:12:10 +00:00
Timo Kreuzer
4ca5586a80 define UNICODE_NOCHAR only if it wasn't already defined
svn path=/trunk/; revision=38736
2009-01-12 20:59:51 +00:00
Timo Kreuzer
15c3798cac Sort window messages by num, add WM_MENUDRAG, WM_MENUGETOBJECT, WM_UNICHAR
svn path=/trunk/; revision=38735
2009-01-12 20:49:08 +00:00
James Tabor
fe1e8cc06f - Sort out common used DCE flags.
svn path=/trunk/; revision=38734
2009-01-12 20:43:34 +00:00
James Tabor
9378c725cf - Fix another wine test for SetWindowPos.
svn path=/trunk/; revision=38733
2009-01-12 20:00:41 +00:00
Johannes Anderwald
10462d3a41 - fix me (add missing file)
svn path=/trunk/; revision=38732
2009-01-12 18:40:08 +00:00
Johannes Anderwald
efbe4ec231 - Implement IPortTopology::NewRegistryKey, IPortWavePci::NewRegistryKey
- Implement PcRegisterPhysicalConnection, PcRegisterPhysicalConnectionFromExternal, PcRegisterPhysicalConnectionToExternal- Implement PcRequestNewPowerState

svn path=/trunk/; revision=38731
2009-01-12 18:37:02 +00:00
Stefan Ginsberg
ca7c2576bb - Revert to pre-38722 to unbreak build
svn path=/trunk/; revision=38728
2009-01-12 17:52:03 +00:00
Aleksey Bragin
cf776e38c2 - Stubplement handlers for all needed IRP_MJ except EA and PNP one.
- Cleanup remains of unneeded functions.

svn path=/trunk/; revision=38726
2009-01-12 17:04:13 +00:00
Aleksey Bragin
45c73d1f38 - Cleanup header file.
- Add sync resource to the global data and initialize it.
- Remove unneeded block device access functions.

svn path=/trunk/; revision=38725
2009-01-12 16:31:22 +00:00
Dmitry Gorbachev
4e52f2d1e3 BATCH_BUFFSIZE -> 8192.
svn path=/trunk/; revision=38724
2009-01-12 16:13:06 +00:00
Johannes Anderwald
db8b3ac429 - Implement PcRequestNewPowerState
svn path=/trunk/; revision=38723
2009-01-12 15:57:49 +00:00
Johannes Anderwald
0afaa05791 - Implement IPortTopology::NewRegistryKey, IPortWavePci::NewRegistryKey
- Implement PcRegisterPhysicalConnection, PcRegisterPhysicalConnectionFromExternal, PcRegisterPhysicalConnectionToExternal

svn path=/trunk/; revision=38722
2009-01-12 15:20:45 +00:00
Aleksey Bragin
25b0bc6e8f - Remove leftover from 38352 and 38353, sorry.
svn path=/trunk/; revision=38721
2009-01-12 15:13:44 +00:00
Michael Martin
31efcbd841 - Revert 38719.
svn path=/trunk/; revision=38720
2009-01-12 12:29:53 +00:00
Michael Martin
5888e8aa1c - Re-enable pipe tests as the npfs driver is in much better shape.
- Change the timeout value passed to WaitForSingleObject to 20 so tests pass on slower systems.
- Re-enable process console test as they now complete.

svn path=/trunk/; revision=38719
2009-01-12 12:13:54 +00:00
Timo Kreuzer
cfdb62c4a4 update README.WINE
svn path=/trunk/; revision=38718
2009-01-12 03:20:27 +00:00
Timo Kreuzer
6ee72ec6cb Sync wsprintf.c to wine head (Wine-1_1_12)
Alexandre Julliard <julliard@winehq.org>
user32: Convert wvsprintfA/W to use an MS ABI vararg list for x86_64.

svn path=/trunk/; revision=38717
2009-01-12 02:46:45 +00:00
Timo Kreuzer
9521ad092e reduce diff to wine
svn path=/trunk/; revision=38716
2009-01-12 02:10:58 +00:00
Timo Kreuzer
7ca1b7f127 Sync combo.c to wine head (Wine-1_1_12)
Austin English <austinenglish@gmail.com>
Spelling fixes.

Aric Stewart <aric@codeweavers.com>
user32: Make sure there is space for at least 6 items in a combo dropdown without forcing it to be at most 6 items as well.

Dmitry Timoshkov <dmitry@codeweavers.com>
user32: Add a test for combobox navigation with arrow keys, make it pass under Wine.

James Hawkins <jhawkins@codeweavers.com>
janitorial: Remove links to any microsoft site.

Lei Zhang <thestig@google.com>
user32: Use wine_dbgstr_rect() in traces.

Andrew Talbot <andrew.talbot@talbotville.com>
user32: Fix a typo.


svn path=/trunk/; revision=38715
2009-01-12 02:09:12 +00:00
Timo Kreuzer
0842a4dc0d Sync button.c to wine head (1_1_12)
Francois Gouget <fgouget@codeweavers.com>
user32: Remove WINAPI/CALLBACK on static functions where not needed.

Michael Stefaniuc <mstefani@redhat.de>
user32: HGDIOBJ is interchangeable with other handle types; no casts are needed.

Austin English <austinenglish@gmail.com>
Spelling fixes.

Alexandre Julliard <julliard@winehq.org>
user32: Added support for WS_EX_RIGHT in the button control.

Andrew Talbot <andrew.talbot@talbotville.com>
user32: Remove unneeded casts.

Dmitry Timoshkov <dmitry@codeweavers.com>
user32: Make sure to setup clipping before any painting is done.

Dmitry Timoshkov <dmitry@codeweavers.com>
user32: Always clip the button painting to the client rectangle.

Andrew Talbot <andrew.talbot@talbotville.com>
user32: Constify some variables.

Alexandre Julliard <julliard@winehq.org>
user32: Store the builtin class names in Unicode.

Francois Gouget <fgouget@free.fr>
Assorted spelling fixes.

Andrew Talbot <Andrew.Talbot@talbotville.com>
user32: Replace inline static with static inline.

Clinton Stimpson <cjstimpson@utwire.net>
user32: WM_SETFONT on button doesn't repaint directly.

svn path=/trunk/; revision=38714
2009-01-12 00:46:34 +00:00
Timo Kreuzer
27521056a9 exchange members for ansi and unicode WNDPROC in builtin_class_descr. Reduces diff to wine a bit more.
svn path=/trunk/; revision=38713
2009-01-12 00:36:14 +00:00
Timo Kreuzer
f51273a2eb user32 revert lite ;-P
- revert 32934: remove the hack for disabled button font, as it's not needed anymore since we have tahoma
- partly revert 28055: use InvalidateRect and add it to ntwrapper.h
- add a define for SYSCOLOR_GetPen to reduce diff to wine

svn path=/trunk/; revision=38712
2009-01-11 23:08:47 +00:00
Dmitry Chapyshev
c1c18ff1ff - Update Polish translation by Maciej Bialas (bjauy@o2.pl)
svn path=/trunk/; revision=38711
2009-01-11 20:15:25 +00:00
Dmitry Gorbachev
4d1f9ce1d4 - Fix "Turkish Q" keyboard layout (thanks to user mergulcu from the forum).
- Change AltGr behavior for several keyboard layouts (bug #3887).
- Change file description for some keyboard layouts.
- Other minor changes.

svn path=/trunk/; revision=38710
2009-01-11 19:09:25 +00:00
Dmitry Gorbachev
c89abc23b7 Add "Turkish F" keyboard layout to USetup.
svn path=/trunk/; revision=38709
2009-01-11 19:09:11 +00:00
Dmitry Chapyshev
079741c940 - Sync uxtheme with Wine head
svn path=/trunk/; revision=38708
2009-01-11 19:04:51 +00:00
Dmitry Chapyshev
cbc7d519d3 - Sync urlmon with Wine head
svn path=/trunk/; revision=38707
2009-01-11 19:04:02 +00:00
Dmitry Chapyshev
2b785b4fc4 - Sync wldap32 with Wine head
svn path=/trunk/; revision=38706
2009-01-11 19:02:16 +00:00
Dmitry Chapyshev
2e8764aa34 - Sync cryptui with Wine head
svn path=/trunk/; revision=38705
2009-01-11 18:58:04 +00:00
Dmitry Chapyshev
72ba4a35e2 - Sync credui with Wine head
svn path=/trunk/; revision=38704
2009-01-11 18:56:19 +00:00
Dmitry Chapyshev
b358abe79d - Sync headers with Wine
svn path=/trunk/; revision=38703
2009-01-11 18:55:29 +00:00
Dmitry Chapyshev
467d035432 - Sync clusapi with Wine head
svn path=/trunk/; revision=38702
2009-01-11 18:54:21 +00:00
Dmitry Chapyshev
c9ee26a85c - Sync netapi32 with Wine head
svn path=/trunk/; revision=38701
2009-01-11 15:59:49 +00:00
Aleksey Bragin
a2c47e5c86 - Rewrite DriverEntry.
- Start cleaning up structures.

svn path=/trunk/; revision=38700
2009-01-11 15:58:57 +00:00
Michael Martin
981645312e - Last implementation was failing to charge the QuotaAvailable for the message length proceeding the message in the buffer, causing overwriting of the pool. See bug 4018 for more info.
svn path=/trunk/; revision=38699
2009-01-11 14:28:45 +00:00
Aleksey Bragin
6094202983 - Delete old source code (only fastio.c and DriverEntry remain for now).
- Create a base for a future skeleton.

svn path=/trunk/; revision=38698
2009-01-11 14:10:54 +00:00
Aleksey Bragin
dd4b33c2a6 Olaf Siejka <olaf_siejka@o2.pl>
- Add VBE 24bpp modes into 1st stage setup.

svn path=/trunk/; revision=38697
2009-01-11 14:05:07 +00:00
Timo Kreuzer
29e04fb184 Go back to non-win32k functions inside user32, using the inline wrappers to call the NtUser functions.
svn path=/trunk/; revision=38695
2009-01-11 12:37:54 +00:00
Aleksey Bragin
d03b570920 - Renames, cleanup.
svn path=/trunk/; revision=38694
2009-01-11 11:26:20 +00:00
Aleksey Bragin
885a5b68c8 - Branch existing fastfat driver.
svn path=/trunk/; revision=38693
2009-01-11 11:12:55 +00:00
Matthias Kupfer
ea8ef6ce87 Michael von Glasow <michael AT vonglasow DOT com>
- Remove hardcoded Alt Gr behavior.
- Tested with german layout and installation, patch doesn't break system, further tests are recommended.
- See issue #3887 for more details.

svn path=/trunk/; revision=38692
2009-01-11 10:10:31 +00:00
Daniel Reimer
62519aa2e9 German Translation of hdwwiz.
svn path=/trunk/; revision=38691
2009-01-11 00:21:59 +00:00
Timo Kreuzer
94ed506d07 silence TRACEs for libcntpr, too
svn path=/trunk/; revision=38690
2009-01-10 22:44:32 +00:00
Dmitry Gorbachev
4965ccdb1f Czech patch from Radek Liska. Bug #4014.
svn path=/trunk/; revision=38689
2009-01-10 21:28:18 +00:00
Dmitry Chapyshev
a7f8cd9375 - Formatting fix. No code change
svn path=/trunk/; revision=38688
2009-01-10 19:09:37 +00:00
Christoph von Wittich
faff43dadc sync mlang with wine 1.1.12
svn path=/trunk/; revision=38687
2009-01-10 18:49:19 +00:00
Christoph von Wittich
6bf0cf3954 sync mapi32 with wine 1.1.12
svn path=/trunk/; revision=38686
2009-01-10 18:48:19 +00:00
Christoph von Wittich
afce7cc14c sync localui with wine 1.1.12
svn path=/trunk/; revision=38685
2009-01-10 18:46:10 +00:00
Christoph von Wittich
7658643bd5 sync inetcomm with wine 1.1.12
svn path=/trunk/; revision=38684
2009-01-10 18:44:33 +00:00
Stefan Ginsberg
759f83b3d0 - Remove broken definitions of SEH macros
svn path=/trunk/; revision=38683
2009-01-10 18:25:20 +00:00
Dmitry Chapyshev
9fe45fbb32 - Fix GetEnvironmentVariableW. This fixed also 4 wine tests for OpenFile and SearchPathA/W
svn path=/trunk/; revision=38682
2009-01-10 17:50:03 +00:00
Thomas Bluemel
8dd743f625 SetShellWindow wants the Progman window and the list view window... Thx Timo
svn path=/trunk/; revision=38681
2009-01-10 16:16:25 +00:00
Christoph von Wittich
43e45a3d95 sync cabinet to wine 1.1.12
svn path=/trunk/; revision=38680
2009-01-10 15:17:40 +00:00
Christoph von Wittich
68d310770a sync oleacc and oledlg with wine 1.1.12
svn path=/trunk/; revision=38679
2009-01-10 14:50:05 +00:00
Dmitry Chapyshev
5d038be948 - Fix 3 wine tests for OpenFile function
svn path=/trunk/; revision=38678
2009-01-10 12:33:22 +00:00
Christoph von Wittich
383bd810ce add rpcproxy to dtd
svn path=/trunk/; revision=38677
2009-01-10 11:29:17 +00:00
Dmitry Chapyshev
c4455cd39c - Sync tahoma fonts with Wine head
svn path=/trunk/; revision=38676
2009-01-10 09:35:02 +00:00
Timo Kreuzer
387249a2a2 Register the correct windows, fixes the problem that explorer_new's desktop was hiding the taskbar.
svn path=/trunk/; revision=38675
2009-01-10 03:39:01 +00:00
Thomas Bluemel
13c77c4fcf Register the shell desktop and tray window
svn path=/trunk/; revision=38674
2009-01-10 00:58:24 +00:00
Timo Kreuzer
5abd3acc00 Inline wrappers user32 -> NtUser
svn path=/trunk/; revision=38673
2009-01-10 00:28:06 +00:00
Dmitry Chapyshev
fa78e58777 - Update Norwegian translation.
See issue #4007 for more details.

svn path=/trunk/; revision=38672
2009-01-09 21:02:07 +00:00
Dmitry Chapyshev
36f51abb8d - Update Slovak translation. Patch by Mario Kacmar (kario@szm.sk))
See issue #4005 for more details.

svn path=/trunk/; revision=38671
2009-01-09 18:06:28 +00:00
KJK::Hyperion
5f139de511 Preparing for future widl sync
modified   ReactOS-i386.rbuild
   Define USE_COMPILER_EXCEPTIONS because we don't need SEH hacks in RPC stubs (neener neener)

modified   include/psdk/wtypes.idl
modified   include/psdk/xmldom.idl
   Include guard format will change in widl: pre-emptively work around it

svn path=/trunk/; revision=38670
2009-01-09 16:50:17 +00:00
KJK::Hyperion
7c38c73a99 modified tests/pseh2/psehtest.c
Don't obscure the names of testcases with macro trickery. It gets old fast
   Regression test for #4004 (fixed in r38668)

svn path=/trunk/; revision=38669
2009-01-09 16:38:28 +00:00
KJK::Hyperion
d728ecb2ca modified include/reactos/libs/pseh/pseh2.h
modified   lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   Don't save just ESP and EBP, save all volatile registers because we might catch an exception thrown by another frame and end up clobbering all volatile registers (thanks to Dmitry Gorbachev for bug report and test case)
   Conversely, save volatile registers for _SEH2_EXCEPT scopes only
   Specialized frame setup routines, to reduce the amount of inline code and only de-optimize when strictly necessary

svn path=/trunk/; revision=38668
2009-01-09 16:36:21 +00:00
Dmitry Gorbachev
92d6cc1154 In co_MsqPostKeyboardMessage(), do not forget to release lock - this should cure the "blue death" and the "black death" diseases (bug #3995, bug #3997).
svn path=/trunk/; revision=38667
2009-01-09 15:39:28 +00:00
Christoph von Wittich
12e91a347c fix msvc build
svn path=/trunk/; revision=38664
2009-01-09 14:38:59 +00:00
Dmitry Chapyshev
bd89b2d7b5 - Cleanup user32, direct call to kernel space
svn path=/trunk/; revision=38663
2009-01-09 11:33:50 +00:00
Michael Martin
8b8bf0f32a - Dont call KeWaitForSingleObject with WaitMode of KernelMode, as threads cannot be terminated if request was made from user mode. Use Ipr->RequestorMode instead.
svn path=/trunk/; revision=38662
2009-01-09 11:04:11 +00:00
Aleksey Bragin
d7523459e7 - Fix inversed failure logic in MmAllocatePagesForMdl.
See issue #4009 for more details.

svn path=/trunk/; revision=38661
2009-01-09 08:54:03 +00:00
Christoph von Wittich
fd83003c9d -convert to unicode
-fix a big memory leak

svn path=/trunk/; revision=38660
2009-01-09 07:46:07 +00:00
Michael Martin
28cf753e62 - Run process notification routines after successfully creating process.
svn path=/trunk/; revision=38659
2009-01-09 06:13:14 +00:00
Timo Kreuzer
7ce2261b67 - Remove the dib pointer from SURFACE
- Handle mapped sections in SURFACE_Cleanup
- Handle user provided bitfields, when creating a dib
- Some code cleanup

svn path=/trunk/; revision=38658
2009-01-09 02:06:39 +00:00
Timo Kreuzer
ce56804010 More tests for NtGdiCreateDIBSection
svn path=/trunk/; revision=38657
2009-01-09 00:52:04 +00:00
Timo Kreuzer
132c804512 More tests for GetObject
svn path=/trunk/; revision=38656
2009-01-09 00:50:20 +00:00
Colin Finck
4cc7302baf - It actually wasn't a very good idea to authenticate against the MD5 password hash instead of the password itself.
This didn't really improve security, but just made things more difficult for the user. Change that, so the web service and rosautotest expect a password in the "rosautotest.ini" file now.
- Read the "rosautotest.ini" from the application's directory instead of the Windows directory.
- Little adjustmensts here and there

svn path=/trunk/; revision=38655
2009-01-08 23:09:10 +00:00
Dmitry Chapyshev
ceb5ac5e37 - Fix regression of Dependency Walker
See issue #3374 for more details.

svn path=/trunk/; revision=38654
2009-01-08 20:49:11 +00:00
Dmitry Chapyshev
57616915d3 - Sync ICO_ExtractIconExW with Wine head. This fixed exception in wine tests. All tests for PrivateExtractIconsA/W passed now
svn path=/trunk/; revision=38653
2009-01-08 20:28:19 +00:00
Dmitry Chapyshev
c76d2abb9d - Add Wine implementation LoadStringA/W. This is fixed all wine tests for LoadString
svn path=/trunk/; revision=38652
2009-01-08 19:47:29 +00:00
Dmitry Chapyshev
915dfcf6a7 - Fix NtUserCopyAcceleratorTable and NtUserCreateAcceleratorTable (ported from Wine). This is fixed 5 wine resources tests
svn path=/trunk/; revision=38651
2009-01-08 19:35:29 +00:00
Stefan Ginsberg
bc2d37c41a - COMPUTE_PAGES_SPANNED is deprecated, use ADDRESS_AND_SIZE_TO_SPAN_PAGES instead
svn path=/trunk/; revision=38650
2009-01-08 19:27:09 +00:00
Christoph von Wittich
51a15d360b fix msvc build
svn path=/trunk/; revision=38649
2009-01-08 19:08:47 +00:00
Aleksey Bragin
eca633ce05 - Some 64bits syncs from Wine by Samuel Serapion.
svn path=/trunk/; revision=38648
2009-01-08 17:35:42 +00:00
Dmitry Chapyshev
174b42a736 - Formatting fix. No code change
svn path=/trunk/; revision=38646
2009-01-08 17:21:16 +00:00
Timo Kreuzer
8560b3bcc3 Rename BITMAPOBJ to SURFACE as it's called on windows. Also rename related functions and variables.
svn path=/trunk/; revision=38645
2009-01-08 16:33:40 +00:00
Dmitry Chapyshev
be61701517 - Implement devices status page
- More partly implementation

svn path=/trunk/; revision=38644
2009-01-08 14:24:45 +00:00
Daniel Reimer
b1bf34ac4d Sync to Wine HEAD. Done with my first try of a autosync script for the normal apps.
svn path=/trunk/; revision=38643
2009-01-08 14:08:17 +00:00
Daniel Reimer
2fa1f6d4c8 Sync to Wine HEAD. Done with my first try of a autosync script for the normal apps.
svn path=/trunk/; revision=38642
2009-01-08 14:07:10 +00:00
Dmitry Gorbachev
6eeb5b7cf6 Fix number of pages.
svn path=/trunk/; revision=38641
2009-01-08 11:39:57 +00:00
Dmitry Chapyshev
73b2556b86 - Fix bug with incorrect a working directory. Patch by Evgeny Boltik (bstsoft@narod.ru) with my small changes
See issue #4006 for more details.

svn path=/trunk/; revision=38640
2009-01-08 10:29:19 +00:00
Michael Martin
c060461efd - Revert r38638 for now, as there is still changes that need to be done to handle this correctly.
svn path=/trunk/; revision=38639
2009-01-08 07:59:35 +00:00
Michael Martin
373e0819fd - Don't call KeWaitForSingleObject here, as doing so can lock the thread in a wait if no one ever connects to it. Also the wait is handled in Kernel32.
svn path=/trunk/; revision=38638
2009-01-08 07:45:42 +00:00
Aleksey Bragin
9e8a571c11 - Get back ExceptionCode changed in r38624.
svn path=/trunk/; revision=38637
2009-01-08 07:28:48 +00:00
Timo Kreuzer
39c466cd17 Tests for NtGdiCreateDIBSection and NtGdiExtTextOutW
svn path=/trunk/; revision=38636
2009-01-08 00:34:38 +00:00
Dmitry Chapyshev
9816064074 - Partly implement of installed hardware page
svn path=/trunk/; revision=38635
2009-01-07 20:28:10 +00:00
Timo Kreuzer
6190cc73d3 remove the test code I accidentally comitted
svn path=/trunk/; revision=38634
2009-01-07 20:25:19 +00:00
Timo Kreuzer
474ed3e076 - Fix creation of XLATE in IntEngCreateSrcMonoXlate. It was doing it wrong (colors swapped) and it only worked, because the caller of the function also passed the wrong arguments.
- Mono DIBs need a special handling when creating the XLATEOBJ. Handle this in IntCreateXlateForBlt. Fixes broken colors on google/Firefox page.

svn path=/trunk/; revision=38633
2009-01-07 20:02:28 +00:00
Gregor Schneider
c7aab5aafd Don't remove the mouse cursor when previewing a screensaver.
svn path=/trunk/; revision=38632
2009-01-07 18:17:02 +00:00
Dmitry Chapyshev
2037c316a8 - Add more resources
- More dialogs implementation

svn path=/trunk/; revision=38629
2009-01-07 13:50:54 +00:00
Christoph von Wittich
71d636cbfd fix formatting
svn path=/trunk/; revision=38627
2009-01-07 11:49:17 +00:00
Dmitry Chapyshev
bcb9050940 - Set parent window for the wizard
- Call DisableThreadLibraryCalls for DLL_PROCESS_ATTACH case

svn path=/trunk/; revision=38626
2009-01-07 10:58:29 +00:00
Ged Murphy
eff0bbf89b enable RQueryServiceObjectSecurity
svn path=/trunk/; revision=38625
2009-01-07 10:38:17 +00:00
KJK::Hyperion
542b6ccb3d modified ntoskrnl/ke/i386/exp.c
Slight refactoring to make exception-safety auditing easier
   Remove an unnecessary local variable, reuse another instead

svn path=/trunk/; revision=38624
2009-01-07 10:36:06 +00:00
KJK::Hyperion
8b74932e9c modified dll/win32/kernel32/misc/console.c
We have _SEH2_FINALLY: use it

svn path=/trunk/; revision=38623
2009-01-07 10:23:29 +00:00
KJK::Hyperion
1a22232734 Reverting poorly conceived commit
svn path=/trunk/; revision=38622
2009-01-07 10:13:43 +00:00
KJK::Hyperion
0c9ebe37a0 modified include/reactos/probe.h
modified   ntoskrnl/ex/harderr.c
modified   ntoskrnl/ex/sysinfo.c
modified   ntoskrnl/ob/oblife.c
   PSEH can't make code exception-safe (yet). Add explicit "volatile"s where it might be necessary

svn path=/trunk/; revision=38621
2009-01-07 09:54:13 +00:00
KJK::Hyperion
138dcb0ad3 modified dll/win32/advapi32/sec/lsa.c
modified   dll/win32/advapi32/service/eventlog.c
modified   dll/win32/advapi32/service/scm.c
modified   dll/win32/advapi32/service/sctrl.c
modified   dll/win32/setupapi/cfgmgr.c
   Use RPC exception handling macros consistently

svn path=/trunk/; revision=38620
2009-01-07 09:44:21 +00:00
Timo Kreuzer
9d33c35fdc set svn:eol-style = native
svn path=/trunk/; revision=38619
2009-01-07 00:55:12 +00:00
Dmitry Chapyshev
28901cd46c - Add more dialogs
- Create title font for start and finish pages

svn path=/trunk/; revision=38618
2009-01-06 21:19:50 +00:00
Stefan Ginsberg
a97462545d - DebugSetProcessKillOnExit: Use SetLastErrorByStatus for NTSTATUS codes
svn path=/trunk/; revision=38617
2009-01-06 19:58:53 +00:00
Stefan Ginsberg
09cde7e355 - NtUserWaitForInputIdle: Call EngGetTickCount, removing duplicated code
- GetTickCount/GetTickCount64/EngGetTickCount: Use the correct SharedUserData fields, and fix the calculations
- KeUpdateSystemTime: Don't update TickCountLowDeprecated now that it truly is deprecated
- Thanks to Fireball and KJK!

svn path=/trunk/; revision=38616
2009-01-06 19:57:44 +00:00
Dmitry Chapyshev
c92aee8772 - Small fix for Russian translation
- More dialogs implement
- LPTSTR -> LPWSTR

svn path=/trunk/; revision=38614
2009-01-06 19:28:04 +00:00
Dmitry Chapyshev
5e2d6ae76a - Add hdwwiz to bootcd
svn path=/trunk/; revision=38613
2009-01-06 18:35:20 +00:00
Dmitry Chapyshev
5587946eb3 - Start implementing of hdwwiz
- Add some resources

svn path=/trunk/; revision=38612
2009-01-06 18:32:51 +00:00
Timo Kreuzer
6daa8fe753 set svn:eal-style = native
svn path=/trunk/; revision=38611
2009-01-06 18:11:12 +00:00
Gregor Schneider
5cbeb4ca6b Compile audiosrv warning free by defining array parts of GUIDs with braces
svn path=/trunk/; revision=38610
2009-01-06 18:09:51 +00:00
Christoph von Wittich
3fc8d752a8 -Rob Shearman <robertshearman at gmail.com> Thu Sep 18 2008
widl: Don't automatically add DUMMYUNIONNAME and DUMMYSTRUCTNAME names to anonymous unions and structs.

-Rob Shearman <robertshearman at gmail.com> Thu Sep 18 2008
include: Add explicit DUMMYUNIONNAME and DUMMYSTRUCTNAME names to anonymous unions in IDL files.

svn path=/trunk/; revision=38609
2009-01-06 17:52:24 +00:00
Gregor Schneider
b85fc47c09 Clean up IntGdiRealizePalette by removing old and/or dead code, misleading descriptions and obsolete numbering.
svn path=/trunk/; revision=38608
2009-01-06 17:38:30 +00:00
Gregor Schneider
06332c431c - Fix a coordinate problem that occurred with alphablend in DrawIconEx (32bpp mode only)
- Welcome back mixer icon in 32bpp mode!
- Note for other invisible icons in that mode: 32bpp icon variants are most likely missing in the *.ico file; ReactOS image bpp conversion functions currently clear the alpha channel -> invisibility
- Update function names in debug prints, remove duplicate code, slightly improve code readability

svn path=/trunk/; revision=38607
2009-01-06 17:12:07 +00:00
Christoph von Wittich
3fec61d4a6 update some header/idl
svn path=/trunk/; revision=38606
2009-01-06 15:48:55 +00:00
Christoph von Wittich
949f6752bb fpclass -> _fpclass
svn path=/trunk/; revision=38605
2009-01-06 10:33:42 +00:00
Christoph von Wittich
76d01f9028 update libxml2 to 2.7.2
svn path=/trunk/; revision=38604
2009-01-06 10:24:26 +00:00
Christoph von Wittich
38418a1b4c -don't cast const char to char
-handle RPC_X_ENUM_VALUE_OUT_OF_RANGE and RPC_X_BYTE_COUNT_TOO_SMALL in ScmRpcStatusToWinError
-add some traces
-don't write to NULL pointers, don't do strlen on a NULL pointer

svn path=/trunk/; revision=38603
2009-01-06 07:53:04 +00:00
Christoph von Wittich
76f5148d89 -Vincent Povirk <madewokherd+d41d at gmail.com> Thu Dec 4 2008
widl: Fix string format warning.

-Andrew Talbot <andrew.talbot at talbotville.com> Sat Dec 6 2008
widl: Remove unneeded address-of operators from array names.

svn path=/trunk/; revision=38602
2009-01-06 07:19:59 +00:00
Christoph von Wittich
6e92d826f0 - Rob Shearman <robertshearman at gmail.com> Sun Nov 30
widl: Fix optimisation for writing out ref pointers to simple structs and base types.

svn path=/trunk/; revision=38601
2009-01-06 07:09:07 +00:00
Christoph von Wittich
2a6585478f -Rob Shearman <robertshearman at gmail.com> Sun Nov 30 2008
widl: Output the correct buffer size required for parameters whose sizes are known at type-generation time.

svn path=/trunk/; revision=38600
2009-01-06 06:41:21 +00:00
Christoph von Wittich
4f4e13929b -Dmitry Timoshkov <dmitry <at> codeweavers.com> Mon Nov 10 2008
widl: Make the generated string pointers const as well.

-Alexandre Julliard <julliard <at> winehq.org> Tue Nov 25 2008
widl: Make sure format strings for structure and union types are only output once.

svn path=/trunk/; revision=38599
2009-01-06 06:16:55 +00:00
Johannes Anderwald
03327dfba3 - Remove dma_master.c as it is unused
- Implement PcNewDmaChannel
- partly implement IDmaChannel / IDmaChannelSlave

svn path=/trunk/; revision=38598
2009-01-06 05:33:34 +00:00
Johannes Anderwald
b8c35daba1 - Add IID_IDmaChannel guid
svn path=/trunk/; revision=38597
2009-01-06 05:31:16 +00:00
Johannes Anderwald
3c5d23b45a - Fix build sorry
svn path=/trunk/; revision=38596
2009-01-06 03:02:02 +00:00
Johannes Anderwald
86f06a0ebe - Implement IPortWaveCyclic::NewMasterDmaChannel, IPortWaveCyclic::NewDmaChannelSlave, IPortWavePci_fnNewMasterDmaChannel
svn path=/trunk/; revision=38595
2009-01-06 00:44:16 +00:00
Johannes Anderwald
4cfef4b794 - Add GUID IID_IDmaChannelSlave
svn path=/trunk/; revision=38594
2009-01-06 00:41:40 +00:00
Samuel Serapion
6e949303bb - Don't go SIZE_T crazy.
svn path=/branches/ros-amd64-bringup/; revision=38593
2009-01-06 00:35:05 +00:00
Johannes Anderwald
add01fe9f3 - Fix IPortWavePci interface definition
svn path=/trunk/; revision=38592
2009-01-06 00:17:55 +00:00
Johannes Anderwald
dd3c392850 - Implement PcDmaMasterDescription, PcDmaSlaveDescription
svn path=/trunk/; revision=38591
2009-01-06 00:04:32 +00:00
James Tabor
8bbe320757 - Patch by Michael Martin: Fix for Get/Set CallProc.
- Michael points out the fact that our system hard codes to unicode and does not mix ANSI and Unicode as it should. This creates problems when applications use ansi only. ReactOS lacks the mechanics of switching back to ANSI. The beginning of the project it seemed to become an unwritten rule. We learn from our misstakes and move on. When working on a drafting project, do not draw more than you can erase in a day.



svn path=/trunk/; revision=38590
2009-01-05 23:35:10 +00:00
Hervé Poussineau
ddd86fea53 Add missing breaks
Spotted by Maciej Bialas (bjauy at o2.pl)

svn path=/trunk/; revision=38589
2009-01-05 20:36:39 +00:00
Christoph von Wittich
072a17a70e - Austin English <austinenglish <at> gmail.com> Tue, 9 Sep 2008
widl: remove unreached code (Smatch)

- Rob Shearman <robertshearman <at> gmail.com> Wed Sep 10 2008
widl: Fix the writing typedefs to dispinterfaces and pointers to interfaces.

- Rob Shearman <robertshearman <at> gmail.com> Wed Sep 10 2008
widl: Remove redundant code.

svn path=/trunk/; revision=38588
2009-01-05 18:17:35 +00:00
Stefan Ginsberg
c5c778d46e - Properly implement NdisGetSystemUpTime, based on http://www.tech-archive.net/Archive/Development/microsoft.public.development.device.drivers/2004-11/0616.html
svn path=/trunk/; revision=38587
2009-01-05 17:51:55 +00:00
Timo Kreuzer
3f64101cc9 silence crt TRACE flood
svn path=/trunk/; revision=38584
2009-01-05 14:07:04 +00:00
Colin Finck
55add6464c Revert a part of r38087. OutputDebugStringA doesn't add a newline automatically.
Verified by MSVC's debug output and kinda proofed by http://www.unixwiz.net/techtips/outputdebugstring.html (nobody would write a function for adding newlines to the debug output if that would be done automatically)

Thanks to Gregor for the hints.

svn path=/trunk/; revision=38583
2009-01-05 13:22:27 +00:00
Timo Kreuzer
d8a7ac50bd Silence warnings on linux hosts
svn path=/trunk/; revision=38582
2009-01-05 12:55:13 +00:00
Colin Finck
f9a91e55e6 Supersede the current way for running automatic regression tests for real now and switch to rosautotest. No more sights of hardcoded regression test stuff inside syssetup :-)
Works well here, let's hope BuildBot is with me ;-)

Still, there seems to be a bug in our OutputDebugString function, adding a newline at the end of the debug output automatically.
Getting the OutputDebugString output through MSVC doesn't lead to this behaviour, that bug needs to be evaluated in detail later.

svn path=/trunk/; revision=38581
2009-01-05 12:48:59 +00:00
Colin Finck
d2148478c6 Introducing the "ReactOS Automatic Testing Utility", superseding our current syssetup/cmd/dbgprint hack for running automatic regression tests.
Without any parameters, it mostly works the same as our current solution, but all in a standalone application.
Adding the /w parameter will submit all results to the web service committed in my previous commit.

The application would also make it possible to run Wine Tests regularly on a Windows machine and submitting the results.
This would make sure that all Wine tests also pass under Windows.

svn path=/trunk/; revision=38580
2009-01-05 12:41:34 +00:00
Michael Martin
45661165b8 - Change and silence a debug message that made it look like npfsRead had a problem.
svn path=/trunk/; revision=38577
2009-01-05 11:52:44 +00:00
Kamil Hornicek
01cb1291d8 [FORMATTING] tabs -> spaces. No code changes.
svn path=/trunk/; revision=38576
2009-01-05 11:03:28 +00:00
Christoph von Wittich
35f9beeabd enable oleaut32_winetest
svn path=/trunk/; revision=38575
2009-01-05 08:02:13 +00:00
James Tabor
d75b50af18 - Implement large ansi unicode string support for win32k. I guess some Rtl library developer should look into adding lib/rtlw32k for Win32k and User32.
- Created DefSetText to processes strings prior to calling NtUserDefSetText.
- Rewrite NtUserDefSetText to support large strings and process them with RtlLargeStringToUnicodeString.
- On last thing to remove, is the Hook junk in NtUserDefSetText.

svn path=/trunk/; revision=38574
2009-01-05 03:34:10 +00:00
Michael Martin
85d5cc3b8e - Re-implement Message Type read/write mode as the previous implementation was incorrect.
- Fixed bug in Byte Stream mode that caused threads to not wake from a wait.
- Implemented NpfsPeekPipe.


svn path=/trunk/; revision=38573
2009-01-05 00:08:43 +00:00
Thomas Bluemel
84d1b53dbc Copying the string in NtUserDefSetText () must be protected with SEH, probing alone is not sufficient.
svn path=/trunk/; revision=38572
2009-01-04 22:20:19 +00:00
Timo Kreuzer
bd38886763 Add tests for CreateFontIndirect
svn path=/trunk/; revision=38571
2009-01-04 21:48:32 +00:00
Christoph von Wittich
bda8492140 sync oleaut32_winetest with wine 1.1.12
svn path=/trunk/; revision=38570
2009-01-04 19:19:05 +00:00
Christoph von Wittich
35f684f9d5 sync ole32_winetest with wine 1.1.12
svn path=/trunk/; revision=38569
2009-01-04 17:52:22 +00:00
Stefan Ginsberg
7425fd9bf8 - DbgkpSendApiMessage/DbgkpSendApiMessageLpc: Make sure the process is suspended before resuming it. Also, DbgkpSendApiMessage takes a BOOLEAN as 2nd parameter.
- DbgkpWakeTarget: Correct a check for a Debug Event flag

svn path=/trunk/; revision=38568
2009-01-04 17:33:47 +00:00
Dmitry Chapyshev
78c8f3ca5f - Change of names of variables
- Move all variables declaration to top

svn path=/trunk/; revision=38567
2009-01-04 16:57:58 +00:00
Dmitry Chapyshev
6c670fb344 - Formatting fix. No code change
svn path=/trunk/; revision=38566
2009-01-04 16:18:29 +00:00
Aleksey Bragin
2494ca79f9 - Rewrite SystemTimeOfDay QuerySystemInformation case. ReqSize is the amount of data copied to the user so use it accordingly. Also, fill up the buffer as much as the caller requested. Fixes 1 "ntdll_winetest.exe info".
- Use a newer (5.0 and higher) version of SYSTEM_TIMEOFDAY_INFORMATION structure (consisting of two additional 64 bits fields: boot time bias and sleep time bias).

svn path=/trunk/; revision=38565
2009-01-04 15:11:47 +00:00
Dmitry Gorbachev
24dceb4922 Add type casts to RtlpCallQueryRegistryRoutine().
svn path=/trunk/; revision=38564
2009-01-04 14:40:27 +00:00
Dmitry Gorbachev
fa2d477672 Silence GCC 4.4.0 warnings.
svn path=/trunk/; revision=38563
2009-01-04 14:27:04 +00:00
Dmitry Gorbachev
bc752511c5 PWSTR -> PCWSTR
svn path=/trunk/; revision=38562
2009-01-04 14:26:59 +00:00
Aleksey Bragin
0491ac98be Dmitry Chapyshev
- Add buffer length checks to NtQueryInformationThread.

svn path=/trunk/; revision=38561
2009-01-04 13:43:08 +00:00
Aleksey Bragin
b7aa576e73 Dmitry Chapyshev
- Add more length checks to NtQueryInformationProcess, inspired by r28570.

svn path=/trunk/; revision=38560
2009-01-04 11:56:14 +00:00
Ged Murphy
0751b2af16 - Generate to do list, test list, bug list and deprecated list.
- Add place holder for header and footer. This will need to be changed to suit the script.
- Don't generate a tab index.
- Build the search data so we can search the source.

svn path=/trunk/; revision=38559
2009-01-04 11:44:45 +00:00
Christoph von Wittich
e346ebb655 sync riched20 with wine 1.1.12
svn path=/trunk/; revision=38558
2009-01-04 11:42:09 +00:00
Christoph von Wittich
7d6f7e3e2f sync browseui_winetest with wine 1.1.12
svn path=/trunk/; revision=38557
2009-01-04 11:34:13 +00:00
Christoph von Wittich
97415b80b6 sync hlink_winetest with wine 1.1.12
svn path=/trunk/; revision=38556
2009-01-04 11:33:07 +00:00
Christoph von Wittich
64915ab8ed sync iphlpapi_winetest with wine 1.1.12
svn path=/trunk/; revision=38555
2009-01-04 11:31:13 +00:00
Christoph von Wittich
02a42aaf0d sync msxml3 with wine 1.1.12 (2/2)
svn path=/trunk/; revision=38554
2009-01-04 10:48:31 +00:00
Christoph von Wittich
29dc01c8e2 sync msxml3 with wine 1.1.12 (1/2)
svn path=/trunk/; revision=38553
2009-01-04 10:48:19 +00:00
Aleksey Bragin
f54bc7959a - Revert changes to NtSetVolumeInformationFile made in 38550, it should indeed use IoGetRelatedDeviceObject, not target device.
svn path=/trunk/; revision=38552
2009-01-04 10:12:38 +00:00
Aleksey Bragin
2882b5579f - Fix a typo: if a process has DisableBoost set then TRUE should be returned when querying ProcessPriorityBoost information, not FALSE.
svn path=/trunk/; revision=38551
2009-01-04 09:41:34 +00:00
Aleksey Bragin
8935e052bf - Merge IoGetRelatedTargetDevice implementation by Pierre Schweitzer (pierre-fsd branch), with my modifications.
svn path=/trunk/; revision=38550
2009-01-04 09:35:35 +00:00
Hervé Poussineau
7b50d4352c Add a check to not mix up host and target modules
Should probably be moved later outside of backend directory

svn path=/trunk/; revision=38549
2009-01-04 08:38:19 +00:00
Cameron Gutman
bdbc81f185 - Revert r38547 which reverted r38546 which was correct
- I fail

svn path=/trunk/; revision=38548
2009-01-04 08:12:13 +00:00
Cameron Gutman
b372a95ba2 - Revert r38546
- Include windef.h in precomp.h

svn path=/trunk/; revision=38547
2009-01-04 07:45:08 +00:00
Cameron Gutman
963b989ea5 - Fix debug build
- Something weird happened with the headers and DWORD somehow got lost
 - This is a hack and will be reverted later

svn path=/trunk/; revision=38546
2009-01-04 07:25:08 +00:00
Cameron Gutman
6fb0f9aa2d - Merge the rest of my changes
svn path=/trunk/; revision=38545
2009-01-04 05:33:43 +00:00
James Tabor
39cecf5684 - Fix build.
svn path=/trunk/; revision=38544
2009-01-04 05:16:29 +00:00
James Tabor
e5a50d7176 - Implement large ansi unicode string support. Not sure if we need to add it in win32k.
svn path=/trunk/; revision=38543
2009-01-04 05:06:14 +00:00
Cameron Gutman
831afe52e7 - Merge r38358, r38539, and r38541
svn path=/trunk/; revision=38542
2009-01-04 04:39:32 +00:00
James Tabor
b470703879 - Add check for probed strings. Thanks, Timo and Thomas.
svn path=/trunk/; revision=38540
2009-01-04 04:09:19 +00:00
Thomas Bluemel
856d0c4f7b Fix usage of ProbeForReadUnicodeString
svn path=/trunk/; revision=38538
2009-01-04 01:50:37 +00:00
Pierre Schweitzer
c78f1d3a6d Removed avtest.sys from package as it's been removed in r37748.
Spotted by Olaf Siejka

svn path=/trunk/; revision=38537
2009-01-03 21:20:52 +00:00
Dmitry Gorbachev
0e0e4d8dd8 - Add hack-sync again (bug #3591).
- Silence linker warning.

svn path=/trunk/; revision=38535
2009-01-03 15:51:10 +00:00
Dmitry Gorbachev
fc04035227 Consistently use NULL, as suggested by Paolo Devotee.
svn path=/trunk/; revision=38534
2009-01-03 15:50:55 +00:00
Stefan Ginsberg
790283c9de - Switch back to the previous implementation of GetPrivateObjectSecurity now that RtlQuerySecurityObject is implemented (thanks jimtabor)
svn path=/trunk/; revision=38533
2009-01-03 15:20:47 +00:00
Aleksey Bragin
658957a6ab - Don't leak a FileObject reference in case of failure.
svn path=/trunk/; revision=38531
2009-01-03 13:23:44 +00:00
Aleksey Bragin
331aa9e529 - Check if CompletionFilter has a valid value too.
svn path=/trunk/; revision=38530
2009-01-03 12:42:29 +00:00
Dmitry Chapyshev
b9ffb1676a - Add checking of CompletionFilter parameter. This is fixed 3 wine tests for kernel32
svn path=/trunk/; revision=38529
2009-01-03 12:22:14 +00:00
Dmitry Chapyshev
1c312cc501 - Add spoolss from Wine
svn path=/trunk/; revision=38527
2009-01-03 11:18:58 +00:00
Michael Martin
ce357e0a0f - PeekNamedPipe: Fixed BufferSize calculation, as it is the size of the FILE_PIPE_PEEK_BUFFER struct + the nBufferSize parameter passed from caller.
svn path=/trunk/; revision=38522
2009-01-03 09:24:44 +00:00
Aleksey Bragin
d8316ddcfb - Add a missing EA buffer validation.
- Free an EA buffer if it was allocated and error/exception happened.

svn path=/trunk/; revision=38521
2009-01-03 09:18:55 +00:00
James Tabor
de1fd1f76d - Removed SEH abuse and add notes for the hook code, in NtUserDefSetText.
- Update NtUserCallHwndLock subfunctions.

svn path=/trunk/; revision=38518
2009-01-03 04:02:54 +00:00
James Tabor
140f031357 - Add check for null Wnd, see bug 3995.
svn path=/trunk/; revision=38517
2009-01-03 02:20:50 +00:00
James Tabor
33ff58086c - Implement RtlQuerySecurityObject.
svn path=/trunk/; revision=38513
2009-01-02 23:52:37 +00:00
Hervé Poussineau
7d3efdbdb0 Fix serial devices detection
Thanks at Maciej Bialas (bjauy at o2.pl) for testing

svn path=/trunk/; revision=38512
2009-01-02 22:12:48 +00:00
Timo Kreuzer
1fa9bb9b8e Use the bitmap's palette, not the DC one's in NtGdiGetDIBitsInternal. Fixes Firefox colors going nots after 60 sec.
See issue #3854 for more details.

svn path=/trunk/; revision=38511
2009-01-02 22:08:09 +00:00
Stefan Ginsberg
fbd7681b84 - Cleanup AccessCheck, and set the correct last error in the case where the check succeeds but access is denied
- Cleanup NtAccessCheck, properly set desired access when previous mode is kernel, remove a duplicate check that is performed in SeAccessCheck, and don't fail with STATUS_ACCESS_DENIED when the check succeeds but denies access -- the result of the access check is returned in the 'AccessStatus' parameter

svn path=/trunk/; revision=38510
2009-01-02 17:39:45 +00:00
Aleksey Bragin
226c5fb558 - Add Dmitry Gorbachev's hack for bug 3626 problem (cmd shell initially comes up in permanent loop printing squares). Until a better solution is implemented...
See issue #3626 for more details.

svn path=/trunk/; revision=38509
2009-01-02 17:38:01 +00:00
Stefan Ginsberg
33e098eaaa - Add Wine's GetPrivateObjectSecurity and use it instead of our that uses the unimplemented RtlQuerySecurityObject routine
svn path=/trunk/; revision=38508
2009-01-02 17:14:42 +00:00
Johannes Anderwald
124bf05832 - Store PhysicalDeviceObject in device extension
- initialize ISubdevice list
- improve PcRegisterSubdevice
- implement IDmaChannelSlave_fnAllocateBuffer, IDmaChannelSlave_fnFreeBuffer
- partly implement IPortFilterWaveCyclic interface
- add IClsVersion interface to IPortDMus, IPortTopology, IPortWavePci 
- check for IPinCount, IPowerNotify interface during IPortWaveCyclic initialization
- implement IPortWaveCyclic_fnNewRegistryKey
- first hack version of creating IPortWaveCyclic_fnNewSlaveDmaChannel
- implement ISubdevice interface for IPortWaveCyclic


svn path=/trunk/; revision=38507
2009-01-02 15:05:57 +00:00
Aleksey Bragin
4d8ae40ee4 - Remove incorrect and undocumented FsRtlNotifyReportChange declaration.
- Add FILE_NOTIFY_INFORMATION structure definition.

svn path=/trunk/; revision=38504
2009-01-02 10:38:21 +00:00
Aleksey Bragin
cf0aa5c69c - All FsRtlRemoveMcb functions return void.
svn path=/trunk/; revision=38503
2009-01-02 10:09:55 +00:00
Timo Kreuzer
f82333b8ea Sync to trunk r38500
svn path=/branches/ros-amd64-bringup/; revision=38502
2009-01-01 22:38:03 +00:00
Timo Kreuzer
9c19a9af87 Flush the gdi batch in NtGdiDeletObjectApp to make sure we don't try to do stuff with deleted objects later. This fixes some problems with Firefox.
svn path=/trunk/; revision=38501
2009-01-01 22:13:07 +00:00
Stefan Ginsberg
fbd7f8a2aa - Only reserve APIC memory on x86
- Don't reserve 32 pages for VGA registers -- deprecated since 11917, 4 years ago
- Use KeNumberProcessors instead of MAXIMUM_PROCESSORS when mapping the PCRs
- Remove MmInitMemoryAreas, a nop since revision 1093, 8 years ago
- Remove unused KeMemoryMapRangeCount/KeMemoryMap

svn path=/trunk/; revision=38500
2009-01-01 17:00:38 +00:00
Aleksey Bragin
56d6ef019e - Fix an always true comparison in IoCheckEaBufferValidity.
svn path=/trunk/; revision=38499
2009-01-01 15:19:15 +00:00
Timo Kreuzer
9ff809f84c sync to trunk r38300
svn path=/branches/ros-amd64-bringup/; revision=38498
2009-01-01 14:45:53 +00:00
Colin Finck
b0d177b83c Happy new year everybody!
svn path=/trunk/; revision=38497
2009-01-01 13:33:06 +00:00
Timo Kreuzer
79287b3e31 Sync to trunk r38250
svn path=/branches/ros-amd64-bringup/; revision=38496
2009-01-01 13:32:17 +00:00
Michael Martin
d1f64418a1 - Deference pProcess not Process.
svn path=/trunk/; revision=38495
2009-01-01 10:09:57 +00:00
Michael Martin
e28ed99f1b - Implement SetupDiSetDeviceInstallParamsA.
svn path=/trunk/; revision=38494
2008-12-31 22:01:58 +00:00
Timo Kreuzer
4994d3c247 add missing files
svn path=/branches/ros-amd64-bringup/; revision=38493
2008-12-31 16:35:20 +00:00
Martin Fuchs
607be3272e update XMLStorage: preserve CDATA formating of processed XML documents
svn path=/trunk/; revision=38492
2008-12-31 15:59:36 +00:00
Ged Murphy
ee252ea491 - Set a dummy revision number. This value should be dynamically set prior to running doxygen.
- Inline the source in the docs. Although it makes the docs rather long, it's much more useful this way at the moment.
- Use case sensitive names as this will run on a unix server.

svn path=/trunk/; revision=38491
2008-12-31 15:38:28 +00:00
Dmitry Chapyshev
9e6bd133e6 - Fix attributes
svn path=/trunk/; revision=38490
2008-12-31 15:09:28 +00:00
Timo Kreuzer
32911b0635 Sync to trunk r38200
svn path=/branches/ros-amd64-bringup/; revision=38489
2008-12-31 14:31:22 +00:00
Aleksey Bragin
8172ef5174 - Add a new API to Freeldr's memory manager, which allows to override type of an already allocated memory.
- WINLDR: Fix page tables buffer memory allocation so that it doesn't rely on luck anymore and always allocates a contiguous area of memory. Fixes spontaneous case of booting problem (immediate black screen after loading drivers, reboot of real hardware, halt of cpu in a virtual machine).
- WINLDR: Fix some debug print.

svn path=/trunk/; revision=38487
2008-12-31 12:21:36 +00:00
Dmitry Chapyshev
85e610895c - Fix ReadDirectoryChangesW
- FindFirstChangeNotificationW
+17 passed winetests

svn path=/trunk/; revision=38486
2008-12-31 11:54:30 +00:00
Christoph von Wittich
abdee726bc fix build
svn path=/trunk/; revision=38485
2008-12-31 11:53:35 +00:00
Christoph von Wittich
66af77a707 sync wintrust and cryptui to wine 1.1.11
svn path=/trunk/; revision=38484
2008-12-31 09:26:01 +00:00
Dmitry Chapyshev
d921149f3f - Add check of params
svn path=/trunk/; revision=38483
2008-12-31 08:11:43 +00:00
Christoph von Wittich
44a77186d2 add dwmapi from wine 1.1.11
svn path=/trunk/; revision=38482
2008-12-31 08:02:56 +00:00
Jeffrey Morlan
00fd22c6ba Make IF /? work again
svn path=/trunk/; revision=38481
2008-12-30 23:55:50 +00:00
KJK::Hyperion
85084975fe modified include/reactos/libs/pseh/pseh2.h
modified   lib/pseh/framebased-gcchack.c
   Call _SEH2EnterFrame before any goto. Gotos confuse GCC's flow control analysis making it disregard the returns_twice attribute on _SEH2EnterFrame. We avoid redundant inline code (NULL-initializing the top trylevel pointer) by modifying the library accordingly

svn path=/trunk/; revision=38480
2008-12-30 21:05:36 +00:00
Ged Murphy
3c8c5a77c0 update doxygen config to doxygen 1.5.8
Incorporates various changes to the existing config and introduces some new features.

svn path=/trunk/; revision=38479
2008-12-30 20:52:17 +00:00
Timo Kreuzer
87385f6149 fix HeapAlloc prototype
svn path=/branches/ros-amd64-bringup/; revision=38478
2008-12-30 20:49:46 +00:00
Timo Kreuzer
58afe72aa3 comment out atexit
svn path=/branches/ros-amd64-bringup/; revision=38477
2008-12-30 20:48:35 +00:00
KJK::Hyperion
25225baded modified include/reactos/libs/pseh/pseh2.h
Did you know gcc doesn't let PSEH deter it from inlining a function? Allocate the frame with __builtin_alloca so that this doesn't cause issues

svn path=/trunk/; revision=38476
2008-12-30 20:02:03 +00:00
Christoph von Wittich
a1ffc8d05a fix some more security winetests
svn path=/trunk/; revision=38475
2008-12-30 17:10:40 +00:00
Christoph von Wittich
45bacdf407 fix some more security winetests
svn path=/trunk/; revision=38474
2008-12-30 16:01:13 +00:00
Christoph von Wittich
fd09fafa0b fix some security winetests
svn path=/trunk/; revision=38472
2008-12-30 15:12:17 +00:00
Christoph von Wittich
fa4a7deb60 get icmp.dll to work
svn path=/trunk/; revision=38471
2008-12-30 13:55:52 +00:00
Christoph von Wittich
8aaeedbb99 fix a winetest failure
svn path=/trunk/; revision=38470
2008-12-30 13:37:31 +00:00
Christoph von Wittich
2b9b7c7ab7 fix iphlpapi winetests
svn path=/trunk/; revision=38469
2008-12-30 12:04:47 +00:00
Aleksey Bragin
bd0cab21cc - Silence debug output.
svn path=/trunk/; revision=38468
2008-12-30 10:32:23 +00:00
Christoph von Wittich
3241a12ecb add iphlpapi_winetest to bootcd
svn path=/trunk/; revision=38467
2008-12-30 09:11:13 +00:00
Christoph von Wittich
3befe40733 add func_iphlpapi winetest from wine 1.1.11
svn path=/trunk/; revision=38466
2008-12-30 09:10:17 +00:00
Christoph von Wittich
6951e57b2d add ws2_32_winetest to bootcd
svn path=/trunk/; revision=38465
2008-12-30 09:04:34 +00:00
Christoph von Wittich
8845107b6e add ws2_32 winetest from wine 1.1.11
svn path=/trunk/; revision=38464
2008-12-30 09:04:22 +00:00
Dmitry Chapyshev
bba74c7731 - Implement FreeContextBuffer
svn path=/trunk/; revision=38463
2008-12-30 08:29:46 +00:00
Dmitry Chapyshev
af929be7de - Implement InitSecurityInterfaceA/W
svn path=/trunk/; revision=38462
2008-12-30 08:06:39 +00:00
KJK::Hyperion
030aa56625 modified tests/pseh2/psehtest.c
finally_13 test re-enabled, as it doesn't crash anymore
   finally_14 test fixed. Now we know how exceptions thrown in a __finally are supposed to be handled
   PSEH test suite now has 91 tests and passes all of them with both GCC and Visual C++

svn path=/trunk/; revision=38461
2008-12-30 04:04:51 +00:00
KJK::Hyperion
26d5b48792 modified lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   Correctly handle exceptions thrown during unwinding
   Renamed some internal routines to more appropriate names

svn path=/trunk/; revision=38460
2008-12-30 04:00:45 +00:00
Dmitry Gorbachev
d3c81b34be Fix UTF-8 -> Wide Char conversion bug #3990.
svn path=/trunk/; revision=38459
2008-12-29 20:16:22 +00:00
Dmitry Chapyshev
cb89e7b0bd - Remove lpAddress check, this is broken trunk
svn path=/trunk/; revision=38458
2008-12-29 17:14:17 +00:00
Dmitry Gorbachev
93f8f62632 Fix translations. Patch by Mario Kacmar. Bug #3955.
svn path=/trunk/; revision=38457
2008-12-29 14:26:01 +00:00
Dmitry Gorbachev
05530904b8 - Fix more ICU warnings
svn path=/trunk/; revision=38456
2008-12-29 13:10:33 +00:00
Dmitry Gorbachev
5341c63e40 - Fix indentation.
- Fix bug #3920 (at line 736).

svn path=/trunk/; revision=38455
2008-12-29 11:50:09 +00:00
Stefan Ginsberg
ed14235592 - Fix ICU warnings
svn path=/trunk/; revision=38454
2008-12-29 11:05:00 +00:00
Stefan Ginsberg
6f2c60aa34 - Silence riched20 format warnings
svn path=/trunk/; revision=38453
2008-12-29 11:04:13 +00:00
Stefan Ginsberg
6d9a712475 - Silence Uniata warnings, add a .diff and remove allowwarnings=true
svn path=/trunk/; revision=38452
2008-12-29 11:03:54 +00:00
Christoph von Wittich
7b72ed4a02 fix copy and paste error
svn path=/trunk/; revision=38451
2008-12-29 10:30:50 +00:00
Christoph von Wittich
3d7aac0b8d add crypt32_winetest to bootcd
svn path=/trunk/; revision=38450
2008-12-29 10:11:32 +00:00
Christoph von Wittich
ca3c085687 add crypt32 winetest from wine 1.1.11
svn path=/trunk/; revision=38449
2008-12-29 10:10:25 +00:00
Christoph von Wittich
fbe14c277d add wintrust_winetest to bootcd
svn path=/trunk/; revision=38448
2008-12-29 09:58:56 +00:00
Christoph von Wittich
789db79fc6 add wintrust winetest from wine 1.1.11
svn path=/trunk/; revision=38447
2008-12-29 09:53:21 +00:00
Christoph von Wittich
a2666bfc50 add jscript_winetest to bootcd
svn path=/trunk/; revision=38446
2008-12-29 09:44:03 +00:00
Christoph von Wittich
5f2dcdc0e9 add jscript winetest from wine 1.1.11
svn path=/trunk/; revision=38445
2008-12-29 09:41:56 +00:00
Johannes Anderwald
8c6c01539d - Add IIrpTarget, IKsWorkSink, IKsShellTransport, IIrpStream, IIrpStreamVirtual IIrpStreamPhysical, IPortFilterWaveCyclic, IPortPinWaveCyclic
svn path=/trunk/; revision=38444
2008-12-29 08:55:12 +00:00
Christoph von Wittich
00f0db8d9a sync urlmon winetest to wine 1.1.11
svn path=/trunk/; revision=38443
2008-12-29 08:42:01 +00:00
Christoph von Wittich
da37905468 sync urlmon.idl to wine 1.1.11
svn path=/trunk/; revision=38442
2008-12-29 08:35:12 +00:00
Christoph von Wittich
439cb72ec1 sync riched20 winetest to wine 1.1.11
svn path=/trunk/; revision=38441
2008-12-29 08:27:52 +00:00
Christoph von Wittich
715d203273 fix "Primary mouse button changes prematurely."
See issue #3949 for more details.

svn path=/trunk/; revision=38440
2008-12-29 07:14:35 +00:00
Christoph von Wittich
ea025bdb03 fix doxygen @name for ExpSystemErrorHandler patch by <aspotashev at gmail.com>
See issue #3963 for more details.

svn path=/trunk/; revision=38439
2008-12-29 06:24:46 +00:00
Dmitry Gorbachev
482d311a98 Add Slovak koruna to Calculator, update Korean file.
Patch by Mario Kacmar, with some modifications.
Bug #3867.

svn path=/trunk/; revision=38438
2008-12-29 03:53:13 +00:00
James Tabor
07ebe48b4c - Support MOVEFILE_WRITE_THROUGH flag.
svn path=/trunk/; revision=38437
2008-12-29 02:30:09 +00:00
Johannes Anderwald
56c55c3ff7 - Add IPowerNotify interface
svn path=/trunk/; revision=38435
2008-12-28 21:30:58 +00:00
Johannes Anderwald
9831e4a668 - Add IPinCount interface
svn path=/trunk/; revision=38431
2008-12-28 17:51:57 +00:00
Johannes Anderwald
eae7530166 - Add ISubdevice interface
- This interface is used as the generic interface for all IPort drivers when connecting with ks.sys

svn path=/trunk/; revision=38430
2008-12-28 17:28:23 +00:00
Johannes Anderwald
3ae6d9fb3c - Acquire lock before deleting
svn path=/trunk/; revision=38429
2008-12-28 17:19:18 +00:00
Dmitry Chapyshev
e4739139f7 - Fix GetLogicalDriveStringsA/W. +5 passed tests
- Add params check for GetVolumeNameForVolumeMountPointW

svn path=/trunk/; revision=38428
2008-12-28 15:38:17 +00:00
Samuel Serapion
479377dfd0 Fixed a pointer truncation for 64-bit platform.
svn path=/branches/ros-amd64-bringup/; revision=38425
2008-12-28 14:26:21 +00:00
Samuel Serapion
6ecedd47a1 More heap fixes, ported from WINE
svn path=/branches/ros-amd64-bringup/; revision=38424
2008-12-28 14:24:49 +00:00
Samuel Serapion
390ac5feda Fix RtlAllocateHeap, RtlExtendHeap,RtlSizeHeap definitions.
svn path=/branches/ros-amd64-bringup/; revision=38423
2008-12-28 14:20:37 +00:00
Dmitry Chapyshev
21421f90d2 - Fix build ;)
svn path=/trunk/; revision=38422
2008-12-28 13:48:52 +00:00
Dmitry Chapyshev
3c0e179f92 - Add check of params for VirtualAllocEx and VirtualFreeEx
- Implement GetWriteWatch (based on Wine)
- Fix VirtualQueryEx

svn path=/trunk/; revision=38421
2008-12-28 13:03:05 +00:00
Dmitry Gorbachev
c3963a9ccd Fix bug #3984.
svn path=/trunk/; revision=38419
2008-12-28 12:53:08 +00:00
Dmitry Gorbachev
5ee921c371 Fix bug #3975.
svn path=/trunk/; revision=38418
2008-12-28 12:32:20 +00:00
Christoph von Wittich
97d06533f8 sync browseui winetest to wine 1.1.11
svn path=/trunk/; revision=38417
2008-12-28 11:31:26 +00:00
Christoph von Wittich
5389561279 sync usp10 winetest to wine 1.1.11
svn path=/trunk/; revision=38416
2008-12-28 11:28:48 +00:00
Christoph von Wittich
1eee77ac31 sync version winetest to wine 1.1.11
svn path=/trunk/; revision=38415
2008-12-28 11:27:26 +00:00
Christoph von Wittich
7222acc172 sync lz32 winetest to wine 1.1.11
svn path=/trunk/; revision=38414
2008-12-28 11:24:41 +00:00
Christoph von Wittich
8fccb16c05 sync mstask winetest to wine 1.1.11
svn path=/trunk/; revision=38413
2008-12-28 11:22:23 +00:00
Christoph von Wittich
bcf598695c sync comdlg32 winetest to wine 1.1.11
svn path=/trunk/; revision=38411
2008-12-28 10:42:08 +00:00
Christoph von Wittich
2057ac87a7 add some missing GUIDs
svn path=/trunk/; revision=38410
2008-12-28 10:41:07 +00:00
Christoph von Wittich
fa9df3812d sync advpack winetest to wine 1.1.11
svn path=/trunk/; revision=38409
2008-12-28 10:36:50 +00:00
Christoph von Wittich
90081c908c sync comcat winetest to wine 1.1.11
svn path=/trunk/; revision=38408
2008-12-28 10:35:04 +00:00
Christoph von Wittich
785e3fd869 sync cabinet winetest to wine 1.1.11
svn path=/trunk/; revision=38407
2008-12-28 10:32:41 +00:00
Christoph von Wittich
4e0fcb2fa5 sync msi winetest to wine 1.1.11
svn path=/trunk/; revision=38406
2008-12-28 10:25:32 +00:00
Christoph von Wittich
e970a33b95 update system restore header
svn path=/trunk/; revision=38405
2008-12-28 10:23:32 +00:00
Dmitry Gorbachev
fa287a1e62 Do not return garbage in cbSize field of CURSORINFO.
svn path=/trunk/; revision=38402
2008-12-28 07:35:26 +00:00
Dmitry Gorbachev
eb68ff54ba - Change description of what OARCH option does.
- Add a separate TUNE option.

svn path=/trunk/; revision=38401
2008-12-28 05:12:45 +00:00
Daniel Reimer
88eef194a9 Bug 3983: notepad update by Mario Kacmar
+ Tab -> 4-Spaces
+ Applied to all other languages
+ cleaned up menu parts

svn path=/trunk/; revision=38400
2008-12-28 02:41:35 +00:00
Daniel Reimer
293626395b Ctrl -> Strg
svn path=/trunk/; revision=38399
2008-12-28 00:57:53 +00:00
Stefan Ginsberg
81484cd1c5 - IoStartPacket: Use the correct IRQL when releasing the Cancel Spinlock
svn path=/trunk/; revision=38397
2008-12-27 19:49:29 +00:00
Hervé Poussineau
e79c502488 Fix InstallHinfSectionW:
- need to call SetupInstallServicesFromInfSection() to install services
- handle reboot if requested to

svn path=/trunk/; revision=38396
2008-12-27 18:38:32 +00:00
Dmitry Chapyshev
46df3d3fe2 - Move ReplaceFileA/W to file.c
- Implement ReplaceFileA
- Partial implement ReplaceFileW. Parametres checked and function return TRUE.

svn path=/trunk/; revision=38395
2008-12-27 17:24:07 +00:00
Michael Martin
ca9d98020a - Fixes VideoPortGetAccessRanges.
- Previous implementation was missing the Device number when searching the bus resulting in failure to find Device and Vendor ID. 
- Function was also passing NULL for first 4 parameters of HalAssignSlotResources causing failure.
- Due to this, the device object was then deleted causing failure when trying to find the display device in Csrss:CsrpInitVideo().
- Part 3 of ? fixes for bug 2286.

svn path=/trunk/; revision=38394
2008-12-27 17:16:07 +00:00
Christoph von Wittich
943a74b328 forgot these...
svn path=/trunk/; revision=38392
2008-12-27 15:12:15 +00:00
Christoph von Wittich
6631d1c7cf sync msi with wine 1.1.11
svn path=/trunk/; revision=38391
2008-12-27 15:10:14 +00:00
Christoph von Wittich
9776114e82 fix undo after insert date/time
svn path=/trunk/; revision=38390
2008-12-27 14:26:03 +00:00
Christoph von Wittich
fc993f8780 rename "New..." to "New" and "Open" to "Open..." (for german and english only)
svn path=/trunk/; revision=38389
2008-12-27 14:18:11 +00:00
Kamil Hornicek
64fcc33d8b update PSDK
- patch by encoded

svn path=/trunk/; revision=38388
2008-12-27 13:28:36 +00:00
Christoph von Wittich
7596b69232 sync hlink with wine 1.1.11
svn path=/trunk/; revision=38387
2008-12-27 13:09:48 +00:00
Christoph von Wittich
6e140c6069 sync fusion with wine 1.1.11
svn path=/trunk/; revision=38386
2008-12-27 13:08:23 +00:00
Christoph von Wittich
c5aa8b9f1f sync atl with wine 1.1.11
svn path=/trunk/; revision=38385
2008-12-27 13:06:42 +00:00
Christoph von Wittich
da81dbeb59 sync advpack with wine 1.1.11
svn path=/trunk/; revision=38384
2008-12-27 13:04:52 +00:00
Christoph von Wittich
653f7f1919 sync comdlg32 with wine 1.1.11
svn path=/trunk/; revision=38383
2008-12-27 12:31:20 +00:00
Andrew Munger
22aa9ace50 Clarify comment.
svn path=/trunk/; revision=38382
2008-12-27 11:55:43 +00:00
Andrew Munger
ae171d25d2 Return mostly correct information so taskmgr doesn't just report zero for "System Cache".
svn path=/trunk/; revision=38381
2008-12-27 11:44:21 +00:00
Aleksey Bragin
769ff5b164 - Fix build.
svn path=/trunk/; revision=38380
2008-12-27 11:44:18 +00:00
Christoph von Wittich
b5e794bdfe sync cryptnet with wine 1.1.11
svn path=/trunk/; revision=38379
2008-12-27 11:43:39 +00:00
Christoph von Wittich
6a5c426679 sync oleacc with wine 1.1.11
svn path=/trunk/; revision=38378
2008-12-27 11:08:40 +00:00
Christoph von Wittich
22610b8493 get rid of oleacc.h - it is autogenerated from the idl
svn path=/trunk/; revision=38377
2008-12-27 11:05:08 +00:00
Christoph von Wittich
82082818ca sync crypt32 with wine 1.1.11
svn path=/trunk/; revision=38376
2008-12-27 11:03:19 +00:00
Aleksey Bragin
e73f968c8a - Implement query case of SystemTimeAdjustmentInformation.
- Implement a better stub for setting case of SystemTimeAdjustmentInformation.

svn path=/trunk/; revision=38375
2008-12-27 10:58:46 +00:00
Dmitry Chapyshev
683099598f - Fix 11 tests for OpenFile
svn path=/trunk/; revision=38374
2008-12-27 10:31:53 +00:00
Christoph von Wittich
128f584a7d sync rsaenh to wine 1.1.11
svn path=/trunk/; revision=38373
2008-12-27 10:11:34 +00:00
Christoph von Wittich
a4c232b9e4 sync cabinet to wine 1.1.11
svn path=/trunk/; revision=38372
2008-12-27 10:00:27 +00:00
Andrew Munger
01a550f50b Remove the i8042prt entry from the static hive, it was correctly installed by PnP all all tested cases.
svn path=/trunk/; revision=38371
2008-12-27 09:04:15 +00:00
Christoph von Wittich
4324dea95c sync riched20 with wine 1.1.11
svn path=/trunk/; revision=38370
2008-12-27 08:49:35 +00:00
Christoph von Wittich
133de9dcc5 add EM_GETIMESTATUS and EM_SETIMESTATUS
svn path=/trunk/; revision=38369
2008-12-27 08:38:03 +00:00
Dmitry Chapyshev
d3294eb866 - Partial sync with Wine. It fixes 37 tests ("kernel32_winetest profile")
svn path=/trunk/; revision=38368
2008-12-27 08:34:30 +00:00
Dmitry Chapyshev
77f0be0bc8 - Formatting fix
svn path=/trunk/; revision=38367
2008-12-27 05:45:51 +00:00
Dmitry Chapyshev
0e4778a15d - Fix SystemTimeToTzSpecificLocalTime. +378 passed tests
svn path=/trunk/; revision=38366
2008-12-27 05:31:06 +00:00
Michael Martin
51dc30a02c - Fix VideoPortInt10 implementation. The previous implementation was passing a significantly smaller KV86M_REGISTERS struct vice CONTEXT struct to Ke386CallBios, resulting in memory corruption.
- Part 2 of ? fixes for bug 2286.

svn path=/trunk/; revision=38365
2008-12-27 04:01:26 +00:00
Michael Martin
a7e5b19f4c - Lets try this again. Re-implement inet_aton so that it does not fail in 255.255.255.255. See bug 3962 for more info.
svn path=/trunk/; revision=38364
2008-12-27 02:54:03 +00:00
James Tabor
15381523f2 - Total commander crashes after pressing any key, see bug 2292.
svn path=/trunk/; revision=38363
2008-12-26 23:00:03 +00:00
KJK::Hyperion
873c2a2f8e modified dll/win32/kernel32/k32.h
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/win32/kernel32/misc/comm.c
added      dll/win32/kernel32/misc/commdcb.c
   Define _KERNEL32_ globally for kernel32, outside the common header file
   Reimplemented the whole BuildCommDCB family of APIs, deleting embarrassing code by my younger self, written almost 6 years ago. Passes the full Wine test suite, too

svn path=/trunk/; revision=38362
2008-12-26 22:09:38 +00:00
Aleksey Bragin
1015905d06 - Fix one more typo in the IoBuildPartialMdl code leading to ignore of TargetMdl flags and always setting MDL_ALLOCATED_FIXED_SIZE and MDL_ALLOCATED_MUST_SUCCEED even if a caller did not want so. Thanks to Alex Ionescu.
svn path=/trunk/; revision=38361
2008-12-26 21:57:11 +00:00
Aleksey Bragin
65dc6d8f5c - Fix broken behavior of IoBuildPartialMdl, which instead of copying 4 flags from a source mdl to a target one was always setting all of them, thus often making resultant mdl unusable.
svn path=/trunk/; revision=38360
2008-12-26 20:34:40 +00:00
Aleksey Bragin
d3a5bca37f - Don't try to set remaining bits if there are none. Fixes memory
corruption.

Patch sent to Wine: http://www.winehq.org/pipermail/wine-patches/2008-December/066716.html

svn path=/trunk/; revision=38359
2008-12-26 20:21:52 +00:00
Aleksey Bragin
7738237964 - Leftover, fixes build.
svn path=/trunk/; revision=38357
2008-12-26 16:27:44 +00:00
Samuel Serapion
ffe3ffa1cf Correct SYSTEM_PROCESS_INFORMATION
svn path=/branches/ros-amd64-bringup/; revision=38356
2008-12-26 16:18:50 +00:00
Michael Martin
97048a494b - Add missing assignments to CallingProcess variable. Part 1 of ? fixes for bug 2286.
svn path=/trunk/; revision=38355
2008-12-26 15:24:54 +00:00
Dmitry Gorbachev
4d4d9e60fb [FORMATTING] Fix indentation.
svn path=/trunk/; revision=38354
2008-12-26 13:50:35 +00:00
Aleksey Bragin
fd4de76baf - Fix 38352, XMLLoadFile seems to need a separate instance of Path, so revert that optimisation and leave it only to NormalizeFilename.
svn path=/trunk/; revision=38353
2008-12-26 13:25:55 +00:00
Aleksey Bragin
03a011db89 - Add defaultPath global var and use it instead of creating Path objects all the time a filename is queried and/or xml file is read.
svn path=/trunk/; revision=38352
2008-12-26 11:03:16 +00:00
Michael Martin
c5c0af3081 - Revert r38346 as its incorrect fix. Real problem is implementation of inet_aton in compat.c. So back to address 255.255.255.255 failing.
svn path=/trunk/; revision=38351
2008-12-26 10:38:21 +00:00
Andrew Munger
389caf97fd Remove the entries for green, as they are imcomplete. Use the provided inf to install green.
svn path=/trunk/; revision=38350
2008-12-26 09:43:28 +00:00
James Tabor
ea9bc8715d - Patch by Andre Wisplinghoff: Text is auto-selected when mouse down is hovered outside window (notepad). See bug 953.
svn path=/trunk/; revision=38349
2008-12-26 00:42:13 +00:00
James Tabor
131b8b30ad - Example of a thread overrun? HAX-Fixes wine cursoricon test.
svn path=/trunk/; revision=38348
2008-12-25 23:44:23 +00:00
Jeffrey Morlan
238bb2f73a Allow the DIR command to be interrupted via Ctrl-C even while in the middle of a directory. (Bug 3967)
svn path=/trunk/; revision=38347
2008-12-25 23:12:54 +00:00
Michael Martin
10d052aa36 - ipv4addrs should search for decimals not spaces when calling strtok. See bug 3962 for more info.
svn path=/trunk/; revision=38346
2008-12-25 12:43:32 +00:00
Christoph von Wittich
82cffd5af5 fix some more typos
svn path=/trunk/; revision=38345
2008-12-25 12:27:47 +00:00
James Tabor
1d97cdc07b - Fix typo.
svn path=/trunk/; revision=38344
2008-12-25 11:36:51 +00:00
James Tabor
af2f0d64d5 - Check for same intput desktop with GetCursorPos. Cleanup GetCursorInfo.
svn path=/trunk/; revision=38343
2008-12-25 11:29:53 +00:00
James Tabor
d120bf4591 - Use Cursor position from server information. I guess the logic is, one workstation per system with multiple desktops. So we would always have one cursor pointer, not one per desktop.
svn path=/trunk/; revision=38342
2008-12-25 00:35:02 +00:00
Timo Kreuzer
93f32e7657 Initial x64 SEH support for rsym64. Together with the x64 SEH macros, it (partly) creates the needed tables. It has also revealed that there is something broken with DW_CFA_advance_loc4.
svn path=/branches/ros-amd64-bringup/; revision=38341
2008-12-25 00:20:47 +00:00
KJK::Hyperion
e4fdb61e4c This is why we can't have nice things. Fixes r38338 build regression
svn path=/trunk/; revision=38340
2008-12-24 23:31:09 +00:00
KJK::Hyperion
456b1c9e58 Now a single test suite with 89 tests, instead of 89 test suites with 1 test each
Added dummy implementations of sanity checks for compilers/architectures I didn't write them for yet. Long story short: now compiles and runs with Visual C++, both x86 and x64
Added copyright/license header

svn path=/trunk/; revision=38339
2008-12-24 23:22:04 +00:00
KJK::Hyperion
d785178de6 The macro fairy left a DECLSPEC_NOINLINE under my pillow
svn path=/trunk/; revision=38338
2008-12-24 23:18:55 +00:00
James Tabor
1de27563a1 - Someone needs to wine they are using the wrong ACP. They might not care since wine is not an OS but just a hacky add on.
svn path=/trunk/; revision=38337
2008-12-24 23:07:13 +00:00
James Tabor
e5b0a21e66 [sginsberg] fixed some warnings.
svn path=/trunk/; revision=38336
2008-12-24 22:58:21 +00:00
Samuel Serapion
eb32a3cd15 From MSDN "If you are retrieving a pointer or a handle, this function supersedes the GetWindowLong function. To write code that is compatible with both 32-bit and 64-bit versions of Windows, use Get/SetWindowLongPtr."
svn path=/branches/ros-amd64-bringup/; revision=38335
2008-12-24 22:05:17 +00:00
Samuel Serapion
e47dc393c2 Re-add telnet since it builds(or will build).
svn path=/branches/ros-amd64-bringup/; revision=38334
2008-12-24 22:01:45 +00:00
Timo Kreuzer
5c2787148f #define _alloca() to __builtin_alloca(), that's the only way it will work properly on x64 anyway.
svn path=/branches/ros-amd64-bringup/; revision=38333
2008-12-24 20:55:01 +00:00
Timo Kreuzer
8963c5225c Delete broken _alloca implementation, before someone actually starts using it ;-)
svn path=/branches/ros-amd64-bringup/; revision=38332
2008-12-24 20:26:23 +00:00
Timo Kreuzer
a027c06dd6 Add more IMAGE_SCN_ flags
svn path=/branches/ros-amd64-bringup/; revision=38331
2008-12-24 18:03:55 +00:00
Timo Kreuzer
2b77a843b0 rsym64: Fix a bunch bugs, cleanup code. Now it can strip sections at any position, so if eh_frame is not at the end, we only waste a little address space, and we got plenty of that.
svn path=/branches/ros-amd64-bringup/; revision=38330
2008-12-24 18:02:47 +00:00
Stefan Ginsberg
09203027ad - Welcome to Winetests -Wno-format, goodbye format warnings.
svn path=/trunk/; revision=38329
2008-12-24 16:52:58 +00:00
Timo Kreuzer
ba15efc312 - Put Dx values at start of buffer to have alignemnt of 4
- increase size of stack buffer to 100, results in >90% buffer hits
- Handle Dy values when ETO_PDY is specified (patch by Alexander Potashev, aspotashev at gmail dot com)

See issue #3958 for more details.

svn path=/trunk/; revision=38328
2008-12-24 15:35:40 +00:00
Michael Martin
21c30014ed - Update structs and flags to correct names based on documentation.
svn path=/trunk/; revision=38327
2008-12-24 12:14:30 +00:00
Stefan Ginsberg
5759ff871c - DEVMGR: wcsnicmp -> _wcsnicmp
svn path=/trunk/; revision=38325
2008-12-24 10:39:48 +00:00
Aleksey Bragin
16726f509e - Don't calculate remaining bits if there are none. Fixes out-of-bounds read of a buffer.
- Patch sent to Wine: http://www.winehq.org/pipermail/wine-patches/2008-December/066692.html

svn path=/trunk/; revision=38324
2008-12-24 10:12:01 +00:00
Stefan Ginsberg
ebef3e5d4e - Silence wined3d format warnings
svn path=/trunk/; revision=38323
2008-12-24 09:43:45 +00:00
Stefan Ginsberg
728213a13c - DHCP: strlwr -> _strlwr and remove allowwarnings=true
svn path=/trunk/; revision=38322
2008-12-24 09:20:04 +00:00
Dmitry Gorbachev
1b5adc87fa Bulgarian translations by CCTAHEB (sstpr [at] narod [dot] ru).
Bug #3965 (2/2).

svn path=/trunk/; revision=38321
2008-12-24 07:53:09 +00:00
Dmitry Gorbachev
984e698116 Bulgarian translations by CCTAHEB (sstpr [at] narod [dot] ru).
Bug #3965 (1/2).

svn path=/trunk/; revision=38320
2008-12-24 07:50:52 +00:00
Dmitry Gorbachev
9d13412630 Fix error: suggest explicit braces to avoid ambiguous 'else'.
When compiling with GCC 4.4.0.

svn path=/trunk/; revision=38319
2008-12-24 07:04:49 +00:00
Dmitry Gorbachev
cee8fc3735 Do not print garbage, initialize the variable. Bug #3916.
svn path=/trunk/; revision=38318
2008-12-24 07:00:43 +00:00
James Tabor
9b5914abf0 - Add IntGetCharDimensions and text metrics for win32k server info.
svn path=/trunk/; revision=38317
2008-12-24 02:23:30 +00:00
KJK::Hyperion
4349cee957 Also print messages to output, so the tool is more generally useful
svn path=/trunk/; revision=38316
2008-12-23 20:37:53 +00:00
Gregor Schneider
10ed852076 - Skip certain process and pipe tests due to timeouts as it was done before, update diff file
svn path=/trunk/; revision=38315
2008-12-23 20:05:39 +00:00
Gregor Schneider
20d4a1d899 - Update kernel32 winetest, thanks to Stefan100 for making this possible
svn path=/trunk/; revision=38314
2008-12-23 20:02:47 +00:00
KJK::Hyperion
6d0b61ca56 Missing from previous commit
svn path=/trunk/; revision=38313
2008-12-23 19:56:42 +00:00
Stefan Ginsberg
3ab11f598d - Kill 1 static, kill 1 allowarnings=true
svn path=/trunk/; revision=38312
2008-12-23 19:53:44 +00:00
KJK::Hyperion
dbd93ad414 PSEH 2 test suite - around 90 tests so far, and more coming
svn path=/trunk/; revision=38311
2008-12-23 19:47:30 +00:00
Stefan Ginsberg
81b01d0eaf - CCHAR is 'char', not 'const char'
svn path=/trunk/; revision=38310
2008-12-23 19:24:35 +00:00
James Tabor
db48311d5b - Add One Param Call GetCursorPos. This will be used when GDIPOINTER is deprecated.
svn path=/trunk/; revision=38309
2008-12-23 19:04:40 +00:00
Stefan Ginsberg
80eedc2faf - Welcome -w. Goodbye 3rd party warnings.
svn path=/trunk/; revision=38308
2008-12-23 19:00:05 +00:00
Stefan Ginsberg
5d44d1b196 - Never, ever, mix warning fixes with code logic changes. Should fix setup boot.
svn path=/trunk/; revision=38307
2008-12-23 18:46:59 +00:00
Stefan Ginsberg
06da69ad88 - Make KS compile warning-free, add a note to janderwald (!!!)
svn path=/trunk/; revision=38306
2008-12-23 18:28:07 +00:00
Stefan Ginsberg
d61d98270c - Forgot a comment
svn path=/trunk/; revision=38305
2008-12-23 18:18:23 +00:00
Stefan Ginsberg
54bd4baacd - Kill oskittcp warnings. Somewhat hacky? Yes indeed.
svn path=/trunk/; revision=38304
2008-12-23 18:16:48 +00:00
KJK::Hyperion
20cf8d2ace modified include/reactos/libs/pseh/pseh2.h
Actually support PSEH 2 on top of native syntax

svn path=/trunk/; revision=38303
2008-12-23 18:12:21 +00:00
Stefan Ginsberg
d2bf1c5f4f - Silence ext2 FSD warnings. Also fix some bugs where the return status wasn't properly set.
- 'allowwarnings=true' -- not anymore

svn path=/trunk/; revision=38302
2008-12-23 17:43:25 +00:00
Aleksey Bragin
f0ad8ee641 - Get back to using deprecated functions (because of linux...).
- Disable warning 4996.

svn path=/trunk/; revision=38301
2008-12-23 14:35:23 +00:00
Aleksey Bragin
9a27812344 - Replace all deprecated functions with underscored names.
- Add _CRT_SECURE_NO_DEPRECATE to VC project file to suppress security warnings.

svn path=/trunk/; revision=38300
2008-12-23 14:19:19 +00:00
James Tabor
edc3ce63d5 - More updates to global server information structure.
svn path=/trunk/; revision=38296
2008-12-23 04:51:03 +00:00
KJK::Hyperion
f72b85bdf7 modified include/reactos/libs/pseh/pseh2.h
modified   lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   (Re)added arguments to _SEH2_EXCEPT nested routines, so that using _SEH2_GetExceptionCode and _SEH2_GetExceptionInformation in exception filters doesn't force the creation of function trampolines (and related horrid inline code)
   Reimplemented some internal library routines in C

svn path=/trunk/; revision=38295
2008-12-23 02:45:25 +00:00
Timo Kreuzer
4750c0b942 For some unknown reason wmc likes to include string.h from the wine folder and we cannot link it on linux hosts. This hack should hopefully resolve the issue.
svn path=/trunk/; revision=38294
2008-12-23 02:36:25 +00:00
Timo Kreuzer
c8ad8b0005 sorry forgot this file, another wine compatibility header
svn path=/trunk/; revision=38293
2008-12-23 02:22:44 +00:00
Timo Kreuzer
d7b6e7cdad CRT header compatibility update.
asser.h:
- prototypes for _assert and _wassert, add wassert macro, TODO: reenable assert macro
conio.h:
- Add deprecation macros and some cleanup
crtdbg.h:
- Add _ASSERT_WRN, ASSERTE_WRN, ASSERT_EXPR_WRN
ctype.h:
- cleaup and fix _pctype and __pctype_func
- add _CRTIMP where needed
- add deprecation macros
dos.h:
- enable _enable and _disable
io.h:
- enable use of _INTEGRAL_MAX_BITS
- remove some defines, other cleanup
math.h:
- remove system_header
- rename include guard to _INC_MATH
- fix definition of _HUGE
- add _CRTIMP where needed
stdio.h:
- fix _iob[] and stdstram defines
- add _CRTIMP where needed
- enable non-conforming swprintf defines
- remove some mingw specific stuff
string.h:
- add _CRTIMP and deprecation macros
sys/stat.h:
- some cleanup
sys/timeb.h:
- add struct timeb
- remove #defines
- add deprecation macros
sys/utime.h:
- remove unneeded inline functions, cleanup
time.h:
- remove #defines
- add _CRTIMP and deprecation macros
wchar.h:
- fix _iob[], stdstream, _pctype and __pctype_func
- add _wfinddate_t, _wfinddatai64_t and _stat
- add _CRTIMP where needed
- remove defines

svn path=/trunk/; revision=38292
2008-12-23 02:15:24 +00:00
Timo Kreuzer
f6eb8adfb6 Replace all deprecate functions like wcsicmp with the new ones, like _wcsicmp in our own code. Define __WINESRC__ or _CRT_NONSTDC_NO_DEPRECATE where neccessary in 3rd party code to silence warnings about deprecated functions, that the upcoming crt header update will create. Remove allowwarnings="true" from telnet.
svn path=/trunk/; revision=38291
2008-12-23 01:23:25 +00:00
Timo Kreuzer
565970f956 Replace deprecated stricmp with _stricmp
svn path=/trunk/; revision=38290
2008-12-23 01:22:36 +00:00
Jeffrey Morlan
8bb3a3af67 - cmd_mkdir: Give an error message if the directory already exists (Bug 3961)
- Also, allow multiple directories to be created by one invocation

svn path=/trunk/; revision=38289
2008-12-22 23:50:53 +00:00
Timo Kreuzer
a3bf2399ff kjk_hyperion: "underscores solve all issues"
replace wcsicmp with _wcsicmp

svn path=/trunk/; revision=38288
2008-12-22 23:49:02 +00:00
Dmitry Gorbachev
d284aa7851 Fix spurious warning/error reported by GCC 4.4.0.
svn path=/trunk/; revision=38287
2008-12-22 23:46:23 +00:00
Dmitry Gorbachev
95e0371f4f Do not pop and push the same reg.
svn path=/trunk/; revision=38286
2008-12-22 23:44:15 +00:00
Dmitry Gorbachev
898f34d2de Define __MINGW_MSC_PREREQ() macro,
build failed with GCC 4.4.0 without it.

svn path=/trunk/; revision=38285
2008-12-22 23:43:10 +00:00
Timo Kreuzer
1be3ebb61b don't define strcasecmp to strcmp, use _stricmp, and define strcasecmp to _strnicmp.
svn path=/trunk/; revision=38284
2008-12-22 23:35:35 +00:00
Timo Kreuzer
da70a17936 Replace deprectaed function (unlink, stricmp) with new ones (_unlink, _stricmp)
svn path=/trunk/; revision=38283
2008-12-22 23:24:18 +00:00
Timo Kreuzer
a0f2421f8e use _str(n)icmp instead of non-standard str(n)casecmp
svn path=/trunk/; revision=38282
2008-12-22 23:11:21 +00:00
Timo Kreuzer
1fc586e88c Use _getch instead of deprecated getch
svn path=/trunk/; revision=38281
2008-12-22 22:58:41 +00:00
Jeffrey Morlan
781ae61f03 - Make IF command a special form; necessary to make nested multi-line IF blocks work properly
- Implement IF /I option, IF CMDEXTVERSION, and generic comparisons (EQU etc)
- Make IF ERRORLEVEL return true if the errorlevel is greater than the number
- Remove hacked support for multi-line IF blocks from batch.c

svn path=/trunk/; revision=38280
2008-12-22 22:34:51 +00:00
Timo Kreuzer
940dd12ea9 Remove all stuff that is either already defined in crtdefs.h or doesn't belong in the header, based on what ms defines.
svn path=/trunk/; revision=38279
2008-12-22 20:59:56 +00:00
Timo Kreuzer
6da76aad1d Don't use wine's headers and wintrnl.h for exception handling in crt. Instead include ndk and add the few definitions we need to cppexcept.h
svn path=/trunk/; revision=38278
2008-12-22 20:32:47 +00:00
Timo Kreuzer
53c3a69e0c - Add reactos/wine/sys/types.h compatibility header
- winspool: add reactos/wine to include folders

svn path=/trunk/; revision=38277
2008-12-22 20:28:26 +00:00
Timo Kreuzer
79f756b317 Add ssize_t to rosdhcp.h, as ms crt headers (and so our future crt headers) don't define it.
svn path=/trunk/; revision=38276
2008-12-22 20:25:44 +00:00
Stefan Ginsberg
5a52daeb1b - Less hack, more assert
svn path=/trunk/; revision=38275
2008-12-22 19:55:23 +00:00
Timo Kreuzer
695eb19e19 Build MP kernel/hal by default
svn path=/trunk/; revision=38274
2008-12-22 19:22:23 +00:00
Stefan Ginsberg
9775c57652 - Re-enable some Winetests now that Cm sucks less
- Add missing ROS-HACK tag

svn path=/trunk/; revision=38273
2008-12-22 18:48:06 +00:00
Aleksey Bragin
4054e57321 - Fix registry lock leakages in CmpDoOpen in failure cases.
- Add support for a special case of opening existing (cached) KCBs by CmpDoOpen.
- Specify a flag for that case in one specific case inside CmpParseKey, which allows us to get rid of the "\\REGISTRY" hack inside the code, fixes the 'Kcb->RefCount == 1' assertion failure, and certainly fixes registry-related regression tests. There might be some side effects in theory, but since this hack only applied to the root key, they shouldn't happen. Thanks to Stefan for helping in debugging and a testcase.

svn path=/trunk/; revision=38272
2008-12-22 18:47:38 +00:00
Aleksey Bragin
35fab756b4 - Add control flags for CmpDoOpen, CmpCreateKey and CmpUnloadKey.
- Add CmUnloadKey prototype.

svn path=/trunk/; revision=38271
2008-12-22 18:17:23 +00:00
Timo Kreuzer
1f9c4940d2 Introduce new config flag BUILD_MP. Compile MP kernel and hal only when this is set to 1 to save us some time and space.
svn path=/trunk/; revision=38270
2008-12-22 15:23:08 +00:00
Aleksey Bragin
c8d9e123b7 - Fix KCB ref leaks in Cm parse routine (thanks Stefan).
svn path=/trunk/; revision=38269
2008-12-22 13:35:08 +00:00
Samuel Serapion
16ff8f92cb Repeat after me "typedef INT_PTR(CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM);", sorry.
svn path=/branches/ros-amd64-bringup/; revision=38268
2008-12-22 06:45:49 +00:00
Timo Kreuzer
fce144efaa fix another instance of _STATIC_ASSERT
svn path=/trunk/; revision=38267
2008-12-22 06:37:53 +00:00
Timo Kreuzer
1cfe56ee4b Move all stuff from _mingw.h to crtdefs.h that belongs there. Get rid off MINGW_IMPORT
svn path=/trunk/; revision=38266
2008-12-22 05:55:21 +00:00
Samuel Serapion
564312ffb7 devcpux:
- Fix ProcessorDlgProc definition
- Convert to spec.
slayer:
- Convert to spec.

svn path=/branches/ros-amd64-bringup/; revision=38265
2008-12-22 05:42:05 +00:00
Samuel Serapion
162c2a5804 Fix compilation and some warnings.
svn path=/branches/ros-amd64-bringup/; revision=38264
2008-12-22 04:51:38 +00:00
Samuel Serapion
2824f8b4a0 Fix definitions of WAVEOPENDESC, WAVEHDR structures.
Fix prototypes for DefDriverProc, waveOutMessage, waveOutGetDevCapsA/W, waveInGetDevCapsA/W, waveInMessage, midiStreamOpen, midiOutGetDevCapsA/W, midiOutOpen, midiOutMessage, midiInGetDevCapsA/W, midiInOpen, midiInMessage, auxGetDevCapsA/W, auxOutMessage, mixerGetDevCapsA/W, mixerOpen, timeSetEvent, joyGetDevCapsA/W, mciSendCommandA/W, and mciGetCreatorTask.

svn path=/branches/ros-amd64-bringup/; revision=38263
2008-12-22 04:50:48 +00:00
Timo Kreuzer
a4e64ebf0e If ETO_PDY is specified, Dx is a pair of INTs, make sure we access the correct index.
based on aspotashev's patch. Should fix bug #3958
See issue #3958 for more details.

svn path=/trunk/; revision=38262
2008-12-22 04:26:51 +00:00
Timo Kreuzer
766c25b7e3 Some people were thinking they could use NtGdiExtTextOut from within Win32k and get away with it. Since MmCopyFromCaller is broken, it was actually working. Implement NtGdiExtTextOutW as a wrapper around the real function, that is now called GreExtTextOutW, using the naming style that ms also uses to get some more stucture in here. Also get rid of 2 pool allocations and use only one if a local buffer is not sufficient. Should get us more TextOut performance.
svn path=/trunk/; revision=38261
2008-12-22 03:58:04 +00:00
Samuel Serapion
266b729240 Fix EDITSTREAM structure
svn path=/branches/ros-amd64-bringup/; revision=38260
2008-12-22 03:22:05 +00:00
Samuel Serapion
24342b9c3c Support IMAGE_REL_BASED_DIR64.
svn path=/branches/ros-amd64-bringup/; revision=38259
2008-12-22 03:09:04 +00:00
James Tabor
955a660368 - Start populating server information structure. This fixes the icon issues with other languages.
svn path=/trunk/; revision=38258
2008-12-22 02:52:47 +00:00
Stefan Ginsberg
e48fb0b04c - More hack
svn path=/trunk/; revision=38256
2008-12-21 23:42:08 +00:00
Timo Kreuzer
ff489f9473 Include crtdefs.h instead of _mingw.h in the crt headers (like ms does), so only one header left (crtdefs.h) that includes a non-standard header
svn path=/trunk/; revision=38255
2008-12-21 23:33:19 +00:00
Stefan Ginsberg
31733a5f8a - Disable shell32 execute tests
- Add missing ole32 diff

svn path=/trunk/; revision=38254
2008-12-21 23:16:59 +00:00
Stefan Ginsberg
3f4562d5c7 - Skip a buck load of ole32 tests too
svn path=/trunk/; revision=38253
2008-12-21 22:58:10 +00:00
Timo Kreuzer
ebd5a724c6 Update excpt.h, fcntl.h, float.h, math.c, mbctype.h, setjmp.h, share.h, stddef.h, stdio.h, stdlib.h, string.h, wchar.h from ming64
- fix __p__mbctype()
- add some stuff to wine/exception.h that was formerly in except.h, but doesn't belong there
- inlcude intrin.h from _mingw.h

svn path=/trunk/; revision=38252
2008-12-21 22:43:46 +00:00
Stefan Ginsberg
fec3246837 - Skip port tests due to missing kernel support
svn path=/trunk/; revision=38251
2008-12-21 22:34:32 +00:00
Stefan Ginsberg
504c9127d3 - Hack away a whole load of msi tests, because Cm sucks
svn path=/trunk/; revision=38250
2008-12-21 22:19:03 +00:00
Stefan Ginsberg
2d59827e7e - Hack away kernel32 pipe tests -- ros' npfs is in a sad, sorry state
- Also skip process console tests (what's that you say? I am a lazy, hacky person? Couldn't agree more)

svn path=/trunk/; revision=38249
2008-12-21 21:52:28 +00:00
Stefan Ginsberg
4bd273ce6c - Use the specified timeout when reading from a mailslot
svn path=/trunk/; revision=38248
2008-12-21 20:52:31 +00:00
Stefan Ginsberg
8270c55829 - Revert 38233 as it kills dhcp.exe
svn path=/trunk/; revision=38247
2008-12-21 20:35:19 +00:00
KJK::Hyperion
b4bf27864c modified include/reactos/libs/pseh/pseh2.h
The return_twice and always_inline attributes don't mix: dump _SEH2PretendSetjmp, mark _SEH2EnterFrame as returns_twice (i.e. setjmp-like) instead, piggybacking the pretend-setjmp annotation on a function that's always called anyway. This ACTUALLY ensures GCC won't put variables in registers that might be clobbered by a SEH catch - at nearly no cost in binary code size and complexity

svn path=/trunk/; revision=38246
2008-12-21 19:51:09 +00:00
Stefan Ginsberg
9b32d1a358 - Missed PCACTIVATION_CONTEXT_BASIC_INFORMATION in last commit
svn path=/trunk/; revision=38245
2008-12-21 19:42:23 +00:00
Stefan Ginsberg
af117a341f - Add missing ACTIVATION_CONTEXT_BASIC_INFORMATION and WRITE_WATCH_FLAG_RESET
svn path=/trunk/; revision=38244
2008-12-21 19:37:18 +00:00
KJK::Hyperion
21ec6bc780 Remove superfluous dependencies on msvcrt
svn path=/trunk/; revision=38243
2008-12-21 18:21:56 +00:00
Stefan Ginsberg
6b3bec6873 - Uhm...don't pool free user handles, and don't hand them to ObDereferenceObject
svn path=/trunk/; revision=38242
2008-12-21 18:16:12 +00:00
Timo Kreuzer
e8c93086b1 Add some headers from mingw64
svn path=/trunk/; revision=38241
2008-12-21 18:11:53 +00:00
Timo Kreuzer
044b7c4522 include time.h instead of sys/time.h
svn path=/trunk/; revision=38240
2008-12-21 18:01:57 +00:00
Timo Kreuzer
5dc072842a Add __WINESRC__ define amd reactos/wine include path to libwine. This will be needed later, when the crt header files are cleaned up.
svn path=/trunk/; revision=38239
2008-12-21 18:00:49 +00:00
Timo Kreuzer
97d64c6776 Fix definition of _assert()
svn path=/trunk/; revision=38238
2008-12-21 17:51:00 +00:00
Timo Kreuzer
79532867dd remove struct timezone from time.h, always declare __tzset(), revert changes from 38052 to ftp.
svn path=/trunk/; revision=38237
2008-12-21 17:26:39 +00:00
Timo Kreuzer
9483d7bc6c Use _wcsicmp instead of non-standard wcsicmp
svn path=/trunk/; revision=38236
2008-12-21 16:58:56 +00:00
Stefan Ginsberg
9b1a3eb696 - Hack skipping mapping tests too *sigh*
svn path=/trunk/; revision=38235
2008-12-21 16:57:34 +00:00
Timo Kreuzer
a3d97cbae7 Add prototype for __globallocalestatus, it's going to be removed from crt headers later.
svn path=/trunk/; revision=38234
2008-12-21 16:55:29 +00:00
Michael Martin
7907aea509 - Preform the if (!Adapter) check before setting adapter to 0. Fixes Debug message reporting that the adapter was rejected.
svn path=/trunk/; revision=38233
2008-12-21 16:36:03 +00:00
Stefan Ginsberg
66bbcfb1cc - Make advapi32 Winetest do a basic check instead of assuming that the routine won't fail
svn path=/trunk/; revision=38232
2008-12-21 16:29:23 +00:00
Aleksey Bragin
41556963b7 Olaf Siejka <olaf_siejka@o2.pl>
- Fix NSWPAT=1 build.

svn path=/trunk/; revision=38231
2008-12-21 12:47:01 +00:00
Kamil Hornicek
aecdd2f5e9 - avoid crash, pszExt is null when creating a link to a file without extension
svn path=/trunk/; revision=38230
2008-12-21 12:17:36 +00:00
Andrew Munger
aa10663d0b Fix packmgr linkage.
svn path=/trunk/; revision=38229
2008-12-21 09:22:46 +00:00
Stefan Ginsberg
0fe3a6fdff - _popen/_wpopen: When overriding the default standard input/output handles, don't set 2/3 to 0 -- use the standard handles instead (fix by kjk). Fixes the 'CsrGetObject returning invalid handle' errors
svn path=/trunk/; revision=38228
2008-12-21 08:30:41 +00:00
Gregor Brunmar
9ebb5e3555 Implemented IDirect3DDevice9::GetFrontBufferData()
svn path=/trunk/; revision=38227
2008-12-21 08:26:47 +00:00
Gregor Brunmar
277703cc64 * Implemented IDirect3D9Device::SetGammaRamp()
* Added stub for IDirect3DSwapChain9::SetGammaRamp()

svn path=/trunk/; revision=38226
2008-12-21 08:09:25 +00:00
Gregor Brunmar
c95ddefd79 * Implemented IDirect3DDevice9::Present()
svn path=/trunk/; revision=38225
2008-12-21 07:56:38 +00:00
Gregor Brunmar
e2d4313431 * Implemented IDirect3DDevice9::GetBackBuffer()
* Forgotten documentation for IDirect3DDevice9::GetRasterStatus()

svn path=/trunk/; revision=38224
2008-12-21 07:11:30 +00:00
Michael Martin
13ee594843 - Add missing break in ExDereferenceCallBackBlock so ExReleaseRundownProtection does not get called more than once.
svn path=/trunk/; revision=38223
2008-12-21 06:01:23 +00:00
Michael Martin
f082d72190 - As per http://msdn.microsoft.com/en-us/library/ms802952.aspx, call ExDoCallBack with correct parameters.
svn path=/trunk/; revision=38222
2008-12-21 05:08:18 +00:00
KJK::Hyperion
77911bbdee modified include/reactos/wine/exception.h
Farewell Wine exception handling macros. You won't be missed

modified   dll/win32/icmp/icmp_main.c
   Removed gratuitous use of _getpid
   Winsock APIs don't set errno, they set the last error
   As a consequence, icmp.dll no longer depends on msvcrt.dll

modified   tools/rbuild/module.cpp
   Link DLLs to ntdll's CRT instead of msvcrt's by default (most DLLs don't actually need msvcrt)

Everything else:
   Set crt attribute of <module> to "msvcrt" if ntdll isn't good enough
   Link to pseh if necessary

svn path=/trunk/; revision=38221
2008-12-21 03:58:19 +00:00
Timo Kreuzer
0cbe39b8da Use "C" interface for intrinsic functions to avoid problems with C++. Fix _rotr and _rotl.
svn path=/trunk/; revision=38220
2008-12-21 03:22:17 +00:00
Timo Kreuzer
420cb2282d Include io.h. It's needed and was implicitly included so far. But that'll be soon gone.
svn path=/trunk/; revision=38219
2008-12-21 03:15:46 +00:00
Timo Kreuzer
d83c08fa82 Don't use sys/time.h
svn path=/trunk/; revision=38218
2008-12-21 03:12:09 +00:00
Timo Kreuzer
a331c8e11b Avoid using non-standard names (S_IFITO, ...).
svn path=/trunk/; revision=38217
2008-12-21 02:51:14 +00:00
Timo Kreuzer
879c57d63c use _wcsicmp instead of non-standard wcscmpi
svn path=/trunk/; revision=38216
2008-12-21 02:40:09 +00:00
Timo Kreuzer
9f0e740e7a revert 38201 and 38203 due to regressions
svn path=/trunk/; revision=38215
2008-12-21 02:27:44 +00:00
Timo Kreuzer
9432c31eba Fix definition of EMRCREATECOLORSPACE and EMRPOLYXXX, should fix a bunch of winetests.
svn path=/trunk/; revision=38214
2008-12-21 01:45:13 +00:00
Cameron Gutman
ed4682a617 - Merge aicom-network-fixes up to r38205
svn path=/trunk/; revision=38213
2008-12-21 01:29:35 +00:00
Jeffrey Morlan
5c760c2d22 widl: Don't assume that host void* is the same size as target void*
svn path=/trunk/; revision=38212
2008-12-21 00:43:56 +00:00
Timo Kreuzer
2f7e224584 add _tcscpy_s and _tsplitpath_s
svn path=/trunk/; revision=38211
2008-12-21 00:22:15 +00:00
KJK::Hyperion
ae3a2aacc2 modified dll/win32/gdi32/gdi32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/win32/user32/user32.rbuild
   Inexplicably missed the "big three" in r37187. Don't link msvcrt in core Win32 DLLs, for real this time

modified   dll/win32/user32/misc/dllmain.c
   Don't use wcstok. Removes the dependency on msvcrt

svn path=/trunk/; revision=38210
2008-12-21 00:13:08 +00:00
Timo Kreuzer
103afbc4a7 Don't redefine _tcscpy_s and _tsplitpath_s
svn path=/trunk/; revision=38209
2008-12-20 23:55:05 +00:00
KJK::Hyperion
e5a9f1615f modified lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   For some reason, "call _RtlUnwind@16" is being linked as "call 0" (very likely a linker bug). Reimplementing _SEH2GlobalUnwind in C and taking the address of RtlUnwind from C code seems to work
   Annotate functions implemented in assembler with .func/.endfunc, so the symbols are more correct

svn path=/trunk/; revision=38208
2008-12-20 23:27:17 +00:00
Timo Kreuzer
aaf7ad6a2b define _INTEGRAL_MAX_BITS only if it was not already defined
svn path=/trunk/; revision=38207
2008-12-20 23:16:49 +00:00
Timo Kreuzer
eced695a85 Update ETO constants
svn path=/trunk/; revision=38206
2008-12-20 22:47:24 +00:00
Timo Kreuzer
54831b15db TextOut functions take a character count, not a byte count. Rename cb to cch.
svn path=/trunk/; revision=38204
2008-12-20 21:19:43 +00:00
Timo Kreuzer
869fc7ead9 Handle ETO_PDY more correctly (dy values still ignored)
svn path=/trunk/; revision=38203
2008-12-20 21:01:14 +00:00
Kamil Hornicek
3e2f6025fc - add check for NULL pointer, "first" is NULL for folders, files without extension etc. see bug 3959
See issue #3959 for more details.

svn path=/trunk/; revision=38202
2008-12-20 20:48:08 +00:00
Timo Kreuzer
98a6b82bc5 When fuOptions has ETO_PDY specified, the DxBuffer in NtGdiExtTextOutW consists of pairs of INTs, thus the Buffer must be twice as big. (Thanks to aspotashev for locating the problem) MmCopyToCaller -> SEH2. Allocate only one buffer for the string and the Dx values.
See issue #3958 for more details.

svn path=/trunk/; revision=38201
2008-12-20 20:38:23 +00:00
Timo Kreuzer
93d4ecb9e8 [FORMATTING]
Fix indentation. No code change.

svn path=/trunk/; revision=38199
2008-12-20 19:43:11 +00:00
Stefan Ginsberg
35568f58b0 - Revert 38116 -- the SEH issues should be gone now
svn path=/trunk/; revision=38198
2008-12-20 13:48:35 +00:00
KJK::Hyperion
e6f465bb78 Supersedes r38084. Take three
modified   include/reactos/libs/pseh/pseh2.h
modified   lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   Disassemble trampolines in the library, instead of the macros. Results in better, smaller code. As a side effect, PSEH no longer requires a trampoline for nested functions - which results in even better, even smaller code in many common cases where the nested functions don't use any variables from the containing function
   Simulate a no-op setjmp so that GCC correctly handles variables in registers, instead of surprise-corrupting random variables in random conditions
   Save EBP and ESP every time a _SEH2_TRY/_SEH2_EXCEPT is entered, instead of only the first time. Probably not entirely correct yet
   Don't generate a nested function for a _SEH2_EXCEPT() filter expression if the value is a compile-time constant: convert the value to (void *)0, (void *)1 or (void *)-1, and set that as the filter, instead (like Visual C++ does, incidentally)
   If a _SEH2_EXCEPT() filter expression is a compile-time constant evaluating to EXCEPTION_CONTINUE_EXECUTION or EXCEPTION_CONTINUE_SEARCH, allow GCC to optimize out the body of the _SEH2_EXCEPT (because it'd be unreachable). This should really result in a compile-time warning, but #pragma message is unsupported in GCC 4.1.3
   Let _SEH2_EXCEPT() accept a comma expression as filter expression (e.g. _SEH2_EXCEPT(MessageBox(...), EXCEPTION_EXECUTE_HANDLER) instead of _SEH2_EXCEPT((MessageBox(...), EXCEPTION_EXECUTE_HANDLER)))
   Small optimizations in PSEH library
   Clean up GCC hacks
   Remove currently unused PSEH 3 hacks

svn path=/trunk/; revision=38197
2008-12-20 13:05:57 +00:00
Dmitry Gorbachev
5866c97424 - Do not use pGlobalData after freeing,
- do not load color spectrum bitmaps if no adapter found,
- do not use HEAP_ZERO_MEMORY, use memset(),
- check SelectObject() result,
- fix indentation.

svn path=/trunk/; revision=38196
2008-12-20 11:06:21 +00:00
Johannes Anderwald
7b6fe6680a - Fix parameters for CreateService
svn path=/trunk/; revision=38195
2008-12-20 10:09:25 +00:00
Dmitry Chapyshev
78ef81691e - Fix all wine tests for MoveFileA/W
svn path=/trunk/; revision=38194
2008-12-20 10:08:11 +00:00
Andrew Munger
2873eff0cb Null dereference FTL.
svn path=/trunk/; revision=38193
2008-12-20 09:30:12 +00:00
Dmitry Chapyshev
145ffd10f1 - Formatting fix
svn path=/trunk/; revision=38192
2008-12-20 08:07:10 +00:00
Dmitry Chapyshev
6fadfd9daf - Fix 2 winetests
svn path=/trunk/; revision=38191
2008-12-20 08:02:25 +00:00
Timo Kreuzer
b412cbd236 - fix _STATIC_ASSERT
- fix indentation
- move some headers from crt/ming to crt

svn path=/trunk/; revision=38190
2008-12-19 23:34:20 +00:00
James Tabor
6a59679c8e - Properly implement LookupIconIdFromDirectoryEx.
- Remove hack for GetDeviceCaps.
- This fixes one part of the Win32k Initialization Bug. If this change creates a problem some where else, the problem is not in this change. 

svn path=/trunk/; revision=38189
2008-12-19 22:33:11 +00:00
Timo Kreuzer
2b40f401d6 enable GetTimeZoneInformation in _getsystime
svn path=/trunk/; revision=38188
2008-12-19 19:57:21 +00:00
Timo Kreuzer
ecae93aaa2 add DECLSPEC_SELECTANY
svn path=/trunk/; revision=38187
2008-12-19 18:39:32 +00:00
Timo Kreuzer
fb37c99b05 NtGdiGetFontUnicodeRanges:
- Don't probe the safe buffer, but the usermode buffer

svn path=/trunk/; revision=38186
2008-12-19 18:16:04 +00:00
Gregor Schneider
f45ee646df - Update fputwc implementation to current wine sources
- Fixes 23 msvcrt file winetests

svn path=/trunk/; revision=38185
2008-12-19 16:57:48 +00:00
Gregor Schneider
855ea53e48 - Fix return values for fputc and _flsbuf: return only one char
- Fixes three msvcrt file winetests

svn path=/trunk/; revision=38184
2008-12-19 11:39:04 +00:00
Timo Kreuzer
fd478ccca5 Zero the last character in lfFaceName when converting a LOGFONT from A to W or vice versa. Fixes 1 gdi32_winetest font.
DPRINT1 -> DPRINT

svn path=/trunk/; revision=38183
2008-12-19 00:12:43 +00:00
Gregor Schneider
23eb0e8a4a - Remove static qualifier from g_mbcp_is_multibyte variable (locale.c) to allow external reference
- Update _mbccpy, _mbsncpy and _mbsnbcpy, so that they handle leading bytes correctly
- Fixes 6 of 7 failing msvcrt string winetests, the remaining failure is related to memcpy behavior

svn path=/trunk/; revision=38182
2008-12-18 22:06:07 +00:00
Gregor Schneider
5fe4b4b425 - Update _mbclen, mblen, _mbslen, _mbsnextc and _mbstrlen which should rely on the leadbyte mechanism
- Fixes 9 msvcrt string tests, 7 failures tbd
- Remove leftover function declaration from ismblead.c

svn path=/trunk/; revision=38181
2008-12-18 21:17:22 +00:00
James Tabor
589af34558 - From SDK, LD_ flags.
svn path=/trunk/; revision=38180
2008-12-18 20:59:12 +00:00
Jeffrey Morlan
220378c764 VfatSetAllocationSizeInformation: The fast code for extending the size of a non-empty file did have a bug in that it didn't always set Fcb->LastCluster/Fcb->LastOffset but the OffsetToCluster call was made assuming that it did. However, the code that replaced it had a bug as well, in that it did not set Cluster to the original final cluster like the error handling code expected, so it would crash when out of disk space. Bringing back the fast code, but with its bug fixed.
svn path=/trunk/; revision=38179
2008-12-18 20:47:20 +00:00
Gregor Schneider
9b0331478f - Update _mbsbtype and _mbsninc functions
- Fixes 17 msvcrt string tests, 16 to go

svn path=/trunk/; revision=38178
2008-12-18 20:26:57 +00:00
Gregor Brunmar
101cb70315 Implemented IDirect3DDevice9::GetRasterStatus()
svn path=/trunk/; revision=38177
2008-12-18 19:48:17 +00:00
Gregor Schneider
b34362b5a5 - Close registry key handle of both RegQueryValueEx calls fail. I don't see anything else leaking.
svn path=/trunk/; revision=38176
2008-12-18 19:38:01 +00:00
Gregor Brunmar
36ac3e9c57 Implemented IDirect3DDevice9::GetGammaRamp()
svn path=/trunk/; revision=38175
2008-12-18 19:29:49 +00:00
Gregor Brunmar
1cc6243d5e Implemented IDirect3DDevice9::CreateAdditionalSwapChain()
svn path=/trunk/; revision=38174
2008-12-18 19:08:17 +00:00
Gregor Schneider
1c8d9a1277 - Remove duplicate harcoded _mbctype, rename MSVCRT_mbctype to fit the new role
- Update related functions _ismbblead, _ismbslead, _ismbbtrail, _ismbstrail to use Wine _mbctype indexing
- Fixes 28 msvcrt string tests, 33 left
- Minor header updates

svn path=/trunk/; revision=38173
2008-12-18 18:58:43 +00:00
Dmitry Chapyshev
10ffe93130 - Revert r37085. It fix work kbswitch, but I think, that somewhere (in kbswitch) there is a memory leak. Help somebody to find it
svn path=/trunk/; revision=38172
2008-12-18 12:32:46 +00:00
Christoph von Wittich
f74a13b345 GENERIC_WRITE is required to flush the input buffer
svn path=/trunk/; revision=38171
2008-12-18 12:32:32 +00:00
Dmitry Gorbachev
6c8e595de5 Add a hack which allows to boot with Armenian language.
svn path=/trunk/; revision=38170
2008-12-18 12:26:52 +00:00
Dmitry Gorbachev
32eb774e68 Fix some keyboard layout related stuff in USetup.
svn path=/trunk/; revision=38169
2008-12-18 12:26:47 +00:00
Dmitry Gorbachev
35da2f5ea3 Armenian registry settings.
svn path=/trunk/; revision=38168
2008-12-18 12:26:42 +00:00
Dmitry Gorbachev
c31b0b4bc9 Add these two old translations:
- Armenian (Notepad) by Andranik Haroyan (andranik_haroyan at yahoo),
- Thai (Calculator) by Sumath Aowsakulsutthi (punth1 at gmail).

svn path=/trunk/; revision=38167
2008-12-18 12:26:33 +00:00
Johannes Anderwald
e0f42218c7 - Add GUID_DEVCLASS_SOUND
svn path=/trunk/; revision=38166
2008-12-18 09:16:13 +00:00
Christoph von Wittich
222fa8743a DPRINT1 -> DPRINT on failure to prevent spamming of buildbot winetest logs
svn path=/trunk/; revision=38164
2008-12-18 07:26:07 +00:00
Jeffrey Morlan
36ac6dbed7 FAT##FindAndMarkAvailableCluster: Decrement the AvailableClusters count to keep reported free space consistent.
svn path=/trunk/; revision=38163
2008-12-18 03:09:45 +00:00
James Tabor
46ef532ab0 Patch by Aric Stewart : user32: Implement handling of WM_INPUTLANGCHANGE. Updated header and made WIN_ListChildren global.
svn path=/trunk/; revision=38162
2008-12-18 01:14:39 +00:00
Daniel Reimer
8a36d2a8ba Add German Table to Kernel32
svn path=/trunk/; revision=38161
2008-12-17 23:19:08 +00:00
Johannes Anderwald
347a9d5cf0 - Sorry I BROKE build
svn path=/trunk/; revision=38160
2008-12-17 21:16:31 +00:00
Johannes Anderwald
18960d88d3 - add ks.sys & portcls.sys to bootcd image
svn path=/trunk/; revision=38159
2008-12-17 20:59:31 +00:00
Dmitry Chapyshev
75e639eabf - More implement GetCPInfoExW
- Add resources for getting localized of code pages names

svn path=/trunk/; revision=38157
2008-12-17 16:30:31 +00:00
Johannes Anderwald
ff1e60162f - Handle PcNewRegistryKey for DeviceRegistryKey, DriverRegistryKey, HwProfileRegistryKey
- Implement IPortClsVersion interface

svn path=/trunk/; revision=38156
2008-12-17 16:01:32 +00:00
Johannes Anderwald
d48a47ec8a - Add IID_IPortClsVersion
svn path=/trunk/; revision=38155
2008-12-17 15:58:32 +00:00
Daniel Reimer
6c1d6b1345 Synched winhlp32 and wordpad with wine HEAD.
Added some Dutch Translations I had lying around here. Credits go to the guy who gave them to me and who's name i forgot...
Bug 3881: Greek update by Apostolos Alexiadis

svn path=/trunk/; revision=38154
2008-12-17 15:42:39 +00:00
Daniel Reimer
480c8cbd40 Sync winfile with wine HEAD.
Bug 3881: Greek update by Apostolos Alexiadis

svn path=/trunk/; revision=38153
2008-12-17 15:41:17 +00:00
Johannes Anderwald
05a75b23b1 - Add IUnregisterSubdevice && IUnregisterPhysicalConnection interfaces
svn path=/trunk/; revision=38152
2008-12-17 15:36:19 +00:00
Timo Kreuzer
caacb7bff8 convert to spec
svn path=/branches/ros-amd64-bringup/; revision=38151
2008-12-17 15:27:56 +00:00
Timo Kreuzer
8d0dd50137 fix a cast and convert to spec
svn path=/branches/ros-amd64-bringup/; revision=38150
2008-12-17 15:19:08 +00:00
Timo Kreuzer
0651a3109d Fix pointer<->ULONG cast
svn path=/branches/ros-amd64-bringup/; revision=38149
2008-12-17 14:46:23 +00:00
Timo Kreuzer
d1eea0b572 convert to spec
svn path=/branches/ros-amd64-bringup/; revision=38148
2008-12-17 14:43:12 +00:00
Matthias Kupfer
f711cf7ae8 move variable declaration
svn path=/trunk/; revision=38147
2008-12-17 13:54:50 +00:00
Matthias Kupfer
829b0c63d9 Maciej Bialas <bjauy AT tlen DOT pl>
- Set LocaleID from unattend.inf
- See issue #3943 for more details.

svn path=/trunk/; revision=38146
2008-12-17 13:06:32 +00:00
Dmitry Chapyshev
84a5eed60e - Implement __lconv_init
svn path=/trunk/; revision=38143
2008-12-17 10:24:13 +00:00
Dmitry Gorbachev
99cdd75fa7 Allow to dynamically load a library which uses static TLS.
svn path=/trunk/; revision=38142
2008-12-17 05:51:06 +00:00
Dmitry Gorbachev
466378bd87 In GetQueuedCompletionStatus function:
- change order of arguments of NtRemoveIoCompletion function,
- check maybe it returns STATUS_TIMEOUT.

svn path=/trunk/; revision=38141
2008-12-17 05:50:20 +00:00
Stefan Ginsberg
52eab0439a - Hack-skip the gdi32 font test in an attempt to fix the infinite loop build server encounters
svn path=/trunk/; revision=38140
2008-12-17 05:46:56 +00:00
Timo Kreuzer
b4f1e51d0e revert 38134, it breaks other stuff
svn path=/branches/ros-amd64-bringup/; revision=38139
2008-12-17 01:36:21 +00:00
Timo Kreuzer
16bbd1dbf5 Update ntdll def file
svn path=/branches/ros-amd64-bringup/; revision=38138
2008-12-17 01:30:12 +00:00
Timo Kreuzer
3eba336ee7 comment out a few exports, now msvcrt can be built
svn path=/branches/ros-amd64-bringup/; revision=38137
2008-12-17 01:29:41 +00:00
Timo Kreuzer
547e215d9e fix overcomplicated and broken definitions of __iob_func and _iob
svn path=/branches/ros-amd64-bringup/; revision=38136
2008-12-17 01:28:37 +00:00
Timo Kreuzer
c302a05577 fix _locaktime64 for x86
svn path=/branches/ros-amd64-bringup/; revision=38135
2008-12-17 01:27:37 +00:00
Timo Kreuzer
e74941a2fd comment out some files from mingw lib that result in duplicate definitions, as they are also in crt
svn path=/branches/ros-amd64-bringup/; revision=38134
2008-12-17 01:17:47 +00:00
Timo Kreuzer
e44fb72b24 - Add asm stubs for atan2, exp, fmod, ldexp, log10
- hack in _time64 and _localtime64

svn path=/branches/ros-amd64-bringup/; revision=38133
2008-12-17 01:16:58 +00:00
Timo Kreuzer
81173b5784 remove RtlpGetStackLimits from crt
svn path=/branches/ros-amd64-bringup/; revision=38132
2008-12-17 01:14:36 +00:00
Jeffrey Morlan
82f0f59917 Fix bug where DIR /D wouldn't always show all files; merge duplicated code between /W and /D
svn path=/trunk/; revision=38131
2008-12-16 23:51:20 +00:00
Timo Kreuzer
c91997a275 Make sure mingw_common imports are resolved, by adding it to mingw_main, mingw_wmain and mingw_dllmain
svn path=/branches/ros-amd64-bringup/; revision=38130
2008-12-16 23:33:43 +00:00
Timo Kreuzer
168e4491b2 - DLLs that don't contain any code (like cfgmgr) don't need to have an .eh_frame section. Make sure rsym64 continues in that case.
- Handle DW_CFA_GNU_args_size

svn path=/branches/ros-amd64-bringup/; revision=38129
2008-12-16 23:32:03 +00:00
Timo Kreuzer
7ff45ee579 new def file for ntdll, based on Vista64 exports
svn path=/branches/ros-amd64-bringup/; revision=38128
2008-12-16 22:45:26 +00:00
Timo Kreuzer
5fa3aa4e15 Implement asm stubs for alldiv, atan, ceil, cos, fabs, floor, log, pow, sin, sqrt, tan, _chkstk, _alloca_probe to libcntpr. Now we can build ntdll.
svn path=/branches/ros-amd64-bringup/; revision=38127
2008-12-16 20:46:34 +00:00
Timo Kreuzer
fd16ec3f12 reduce hacks: build complete lib folder
svn path=/branches/ros-amd64-bringup/; revision=38126
2008-12-16 18:44:20 +00:00
Timo Kreuzer
8d14dcfcd8 hack away broken UNALIGNED. Maybe someone has a real solution for this... encoded?
svn path=/branches/ros-amd64-bringup/; revision=38125
2008-12-16 18:44:09 +00:00
Stefan Ginsberg
a99a144adb - Sync gdiplus Winetest too
svn path=/trunk/; revision=38124
2008-12-16 18:41:26 +00:00
Stefan Ginsberg
587db429a4 - Sync gdiplus with Wine head
svn path=/trunk/; revision=38123
2008-12-16 18:41:07 +00:00
Timo Kreuzer
fb50d69cc7 comment out RtlWalkFrameChain for x64, we currently implement it in lib/rtl (we probably need a seperate um implementation later though)
svn path=/branches/ros-amd64-bringup/; revision=38122
2008-12-16 18:28:48 +00:00
Timo Kreuzer
327684fd1c Fix usage of PNTSTATUS instead of NTSTATUS in NT_SUCCESS, which could result in IopCheckVpbMounted returning a wrong status code
svn path=/trunk/; revision=38121
2008-12-16 18:12:13 +00:00
Stefan Ginsberg
1258b49708 - Add missing break (<3 kjk <3)
svn path=/trunk/; revision=38120
2008-12-16 17:51:57 +00:00
Timo Kreuzer
bafa860eb4 remove kernel32 dependency from mingw lib
svn path=/branches/ros-amd64-bringup/; revision=38119
2008-12-16 17:37:45 +00:00
Timo Kreuzer
7d2ae2011e Let rbuild throw an exception when an implicit module dependency (like mingw lib) cannot be resolved instead of silently failing.
svn path=/trunk/; revision=38118
2008-12-16 15:51:55 +00:00
Stefan Ginsberg
2521c1979a - Remove KeRosDumpStackFrames export and make the call go through KdSystemDebugControl instead
svn path=/trunk/; revision=38117
2008-12-16 15:25:51 +00:00
Stefan Ginsberg
45aaa00ef8 - Temporarily revert part of 38078 to make build server builds bootable again
svn path=/trunk/; revision=38116
2008-12-16 14:50:57 +00:00
Johannes Anderwald
7f7f904854 - Implement KsCreateAllocator, KsRegisterWorker, KsUnregisterWorker, KsRegisterCountedWorker, KsDecrementCountedWorker, KsIncrementCountedWorker, KsQueueWorkItem
svn path=/trunk/; revision=38115
2008-12-16 13:19:53 +00:00
Timo Kreuzer
944d1fea6a use setjmp/longjmp from libcntpr
svn path=/branches/ros-amd64-bringup/; revision=38114
2008-12-15 20:38:21 +00:00
Dmitry Gorbachev
4c0f9b5052 Fix TLS callbacks. Testers, please test it on real software.
svn path=/trunk/; revision=38113
2008-12-15 18:19:18 +00:00
Stefan Ginsberg
3e536240a1 - Revert part of 37861 on kjk's request
svn path=/trunk/; revision=38112
2008-12-15 18:18:23 +00:00
Samuel Serapion
c97d86c1df opps, same here.
svn path=/branches/ros-amd64-bringup/; revision=38111
2008-12-15 17:20:44 +00:00
Samuel Serapion
fe19c9eaa6 - Fix UNALIGNED definition in crt.
- Definition not fixed in psdk because attribute(packed) is ignored on pointers and causes warnings, that with the pedantic warnings as errors break everything.

svn path=/branches/ros-amd64-bringup/; revision=38110
2008-12-15 17:19:10 +00:00
Stefan Ginsberg
ab621541ae - Silence debug spam
svn path=/trunk/; revision=38109
2008-12-15 14:43:25 +00:00
Timo Kreuzer
e50e0d8646 - remove outdated files from mingw lib
- remove allowwarnings=true

svn path=/trunk/; revision=38108
2008-12-15 14:02:28 +00:00
Dmitry Chapyshev
32dfe68057 - Formatting fix
svn path=/trunk/; revision=38107
2008-12-15 13:54:34 +00:00
Timo Kreuzer
7dff983dd1 For some reason SVN didn't sync the line ending changes, although it's a binary file.
svn path=/branches/ros-amd64-bringup/; revision=38106
2008-12-15 13:19:02 +00:00
Timo Kreuzer
6803d9fd10 Use KeGetCurrentPrcb() instead of KeGetPcr()->Prcb / KeGetPcr()->CurrentPrcb
svn path=/branches/ros-amd64-bringup/; revision=38105
2008-12-15 12:56:15 +00:00
Timo Kreuzer
be2c347725 fix a typo
svn path=/trunk/; revision=38104
2008-12-15 12:26:16 +00:00
Dmitry Chapyshev
d07b497cbb - Add ACTIVATION_CONTEXT_STACK structure
- Add ICVERSION define

svn path=/trunk/; revision=38103
2008-12-15 10:48:53 +00:00
James Tabor
58d352809d - Fix bitmap tests.
svn path=/trunk/; revision=38102
2008-12-15 05:48:22 +00:00
James Tabor
8a3fedace3 - Implement DIB section attribute flag support.
- Fix height negativity being passed to NtGdiCreateCompatibleBitmap. See bug 3947.

svn path=/trunk/; revision=38101
2008-12-15 05:25:31 +00:00
Samuel Serapion
8f799ea5b2 Accidentally undid 64 bit fixes, revert
svn path=/branches/ros-amd64-bringup/; revision=38100
2008-12-15 04:28:45 +00:00
Samuel Serapion
901f0cf805 attempt to fix kernel build.
svn path=/branches/ros-amd64-bringup/; revision=38099
2008-12-15 04:19:03 +00:00
Samuel Serapion
f771d5b193 Fix build a bit.
svn path=/branches/ros-amd64-bringup/; revision=38098
2008-12-15 04:17:53 +00:00
Samuel Serapion
45cf586a15 Sync to trunk head(r38096)
svn path=/branches/ros-amd64-bringup/; revision=38097
2008-12-15 04:14:26 +00:00
Samuel Serapion
0588a0d2a7 Sync to wine64. Adds support for amd64 relays.. not that we use this feature.
svn path=/branches/ros-amd64-bringup/; revision=38096
2008-12-15 02:45:33 +00:00
Samuel Serapion
d169f154e0 Fix packing for commdlg
svn path=/branches/ros-amd64-bringup/; revision=38095
2008-12-15 02:17:21 +00:00
Samuel Serapion
f9f9de97ed Start making heap 64bit friendly.
svn path=/branches/ros-amd64-bringup/; revision=38094
2008-12-15 02:13:20 +00:00
Samuel Serapion
a04b01097c hack for wine specific hack.
svn path=/branches/ros-amd64-bringup/; revision=38093
2008-12-15 02:09:44 +00:00
Samuel Serapion
c35f0410c2 Fix 64bit-warnings.
svn path=/branches/ros-amd64-bringup/; revision=38092
2008-12-15 01:45:23 +00:00
Samuel Serapion
119dbe70f5 Fix some 64bit portability issues.
svn path=/branches/ros-amd64-bringup/; revision=38091
2008-12-15 00:30:46 +00:00
Samuel Serapion
fdc49dfd3d Fix 64bit widl stubs.
svn path=/branches/ros-amd64-bringup/; revision=38090
2008-12-15 00:23:37 +00:00
Samuel Serapion
d4682afd4e define _SEH2_FINALLY
svn path=/branches/ros-amd64-bringup/; revision=38089
2008-12-15 00:22:04 +00:00
Timo Kreuzer
e9d55d0638 mbctype.h: fix broken _mbctype[] and _mbcasemap[] declarations
sec_api/time_s.h: add asctime_s
stdio.h: comment out defines for non-conforming swprintfs
sys/utime.h: fix definition of _utime / _utime32 to be compatible to msvc while linking to msvcrt.dll
tchar.h: add secure time functions
fixes msvcrt_winetest

svn path=/trunk/; revision=38088
2008-12-14 23:41:51 +00:00
Timo Kreuzer
2f3c5f280b - Replace a 'for' with a 'do .. while '
- Make sure OutputDebugStringA terminates with a newline
Fixes winetest debug output. I wonder how it worked before. Dedicated to Stefan100.

svn path=/trunk/; revision=38087
2008-12-14 23:18:59 +00:00
Timo Kreuzer
39324400b9 [FORMATTING]
Fix indentation, no code change

svn path=/trunk/; revision=38086
2008-12-14 22:52:51 +00:00
KJK::Hyperion
41dd7167ea Revert r38084
Sigh.

svn path=/trunk/; revision=38085
2008-12-14 22:44:33 +00:00
KJK::Hyperion
41467cc1ad Supersedes r38081
modified   include/reactos/libs/pseh/pseh2.h
modified   lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   Disassemble trampolines in the library, instead of the macros. Results in better, smaller code. As a side effect, PSEH no longer requires a trampoline for nested functions - which results in even better, even smaller code in many common cases where the nested functions don't use any variables from the containing function
   Simulate a no-op setjmp so that GCC correctly handles variables in registers, instead of surprise-corrupting random variables in random conditions
   Save EBP every time a _SEH2_TRY/_SEH2_EXCEPT is entered, instead of only the first time: correctly handles code compiled with -fomit-frame-pointers
   Don't generate a nested function for a _SEH2_EXCEPT() filter expression if the value is a compile-time constant: convert the value to (void *)0, (void *)1 or (void *)-1, and set that as the filter, instead (like Visual C++ does, incidentally)
   If a _SEH2_EXCEPT() filter expression is a compile-time constant evaluating to EXCEPTION_CONTINUE_EXECUTION or EXCEPTION_CONTINUE_SEARCH, allow GCC to optimize out the body of the _SEH2_EXCEPT (because it'd be unreachable). This should really result in a compile-time warning, but #pragma message is unsupported in GCC 4.1.3
   Let _SEH2_EXCEPT() accept a comma expression as filter expression (e.g. _SEH2_EXCEPT(MessageBox(...), EXCEPTION_EXECUTE_HANDLER) instead of _SEH2_EXCEPT((MessageBox(...), EXCEPTION_EXECUTE_HANDLER)))
   Small optimizations in PSEH library
   Clean up GCC hacks
   Remove currently unused PSEH 3 hacks

svn path=/trunk/; revision=38084
2008-12-14 21:50:31 +00:00
Dmitry Gorbachev
e415cd9e65 - Use HEAP_ZERO_MEMORY instead of memset().
- Do not crash if no adapter found.

svn path=/trunk/; revision=38083
2008-12-14 20:45:16 +00:00
KJK::Hyperion
966a02f90b Revert r38081
svn path=/trunk/; revision=38082
2008-12-14 19:54:52 +00:00
KJK::Hyperion
0d1b89e5c2 modified include/reactos/libs/pseh/pseh2.h
modified   lib/pseh/framebased-gcchack.c
   Disassemble trampolines in the library, instead of the macros. Results in better, smaller code. As a side effect, PSEH no longer requires a trampoline for nested functions - which results in even better, even smaller code in many common cases where the nested functions don't use any variables from the containing function
   Simulate a no-op setjmp so that GCC correctly handles variables in registers, instead of surprise-corrupting random variables in random conditions
   Save EBP every time a _SEH2_TRY/_SEH2_EXCEPT is entered, instead of only the first time: correctly handles code compiled with -fomit-frame-pointers
   Don't generate a nested function for a _SEH2_EXCEPT() filter expression if the value is a compile-time constant: convert the value to (void *)0, (void *)1 or (void *)-1, and set that as the filter, instead (like Visual C++ does, incidentally)
   If a _SEH2_EXCEPT() filter expression is a compile-time constant evaluating to EXCEPTION_CONTINUE_EXECUTION or EXCEPTION_CONTINUE_SEARCH, allow GCC to optimize out the body of the _SEH2_EXCEPT (because it'd be unreachable). This should really result in a compile-time warning, but #pragma message is unsupported in GCC 4.1.3
   Let _SEH2_EXCEPT() accept a comma expression as filter expression (e.g. _SEH2_EXCEPT(MessageBox(...), EXCEPTION_EXECUTE_HANDLER) instead of _SEH2_EXCEPT((MessageBox(...), EXCEPTION_EXECUTE_HANDLER)))
   Small optimizations in PSEH library
   Clean up GCC hacks
   Remove currently unused PSEH 3 hacks

svn path=/trunk/; revision=38081
2008-12-14 19:49:05 +00:00
Timo Kreuzer
973a6f3ef5 Patch by encoded: update SHARED_CACHE_MAP
svn path=/branches/ros-amd64-bringup/; revision=38080
2008-12-14 17:59:11 +00:00
Dmitry Gorbachev
47b29bf325 Fix winsta.dll rbuild file.
svn path=/trunk/; revision=38079
2008-12-14 13:52:28 +00:00
Eric Kohl
41a958b128 - SEH-protect LsaClose, LsaDelete and LsaOpenPolicy.
- Move the code of LsaOpenPolicy into LsarOpenPolicy and make LsaOpenPolicy call LsarOpenPolicy.

svn path=/trunk/; revision=38078
2008-12-14 13:16:16 +00:00
Michael Martin
1605d036fe - Use volatile with PagesLocked and MdlAddress. Fixes bug #3674.
- For safety may have to declare all variable used in except this way.

svn path=/trunk/; revision=38077
2008-12-14 12:14:00 +00:00
Aleksey Bragin
5e305bbdf6 - Undo one "fix" from 38075. Coverity warned you about possible double check of the same pointer (though in || you probably can't go without it), but one check should definately stay! SpiGetLunExtension can return NULL!
svn path=/trunk/; revision=38076
2008-12-14 11:59:21 +00:00
Stefan Ginsberg
a9295e691b - Fix a broken loop
- Remove unnecessary checks
- Fixes CID 171, 172 and 655

svn path=/trunk/; revision=38075
2008-12-14 10:15:49 +00:00
Stefan Ginsberg
afa4c210b2 - Get rid off STATIC, DECL_IMPORT and DECL_EXPORT
- Fix FIELD_OFFSET

svn path=/trunk/; revision=38074
2008-12-14 10:02:46 +00:00
Samuel Serapion
aa4aedbeca same here.
svn path=/branches/ros-amd64-bringup/; revision=38073
2008-12-14 06:18:50 +00:00
Samuel Serapion
a2b06cb051 revert CryptReleaseContext "fix", WINE headers made a fool out of me... need sleep.
fix FARPROC, NEARPROC, PROC definitions, for real this time


svn path=/branches/ros-amd64-bringup/; revision=38072
2008-12-14 06:17:16 +00:00
Samuel Serapion
053c7f0490 Fix CryptReleaseContext.
svn path=/branches/ros-amd64-bringup/; revision=38071
2008-12-14 05:37:45 +00:00
Samuel Serapion
6dc71816b0 Fix CryptReleaseContext definition.
svn path=/branches/ros-amd64-bringup/; revision=38070
2008-12-14 04:36:07 +00:00
KJK::Hyperion
0cb750adfa modified lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   Correctly chain exceptions raised during unwinding by "finally" blocks
   Sanitize direction flag before any C code is executed, just to be totally safe
   Clean up code

svn path=/trunk/; revision=38069
2008-12-14 02:55:50 +00:00
Timo Kreuzer
db8c91d651 fix utime usage
svn path=/trunk/; revision=38068
2008-12-14 01:43:24 +00:00
Timo Kreuzer
7f8b6003c6 revert last commit
svn path=/trunk/; revision=38067
2008-12-14 01:28:01 +00:00
Timo Kreuzer
d469155aa7 revert 38059 to see if it has effected the output of winetests
svn path=/trunk/; revision=38066
2008-12-14 01:13:49 +00:00
Eric Kohl
bac49255c5 - Make the service manager wait for LSA.
- Winlogon must not wait for the service mananger, otherwise we will get another deadlock.

svn path=/trunk/; revision=38065
2008-12-14 01:01:16 +00:00
Stefan Ginsberg
76e4f9ca92 - Hack away mru tests as Cm is broken
svn path=/trunk/; revision=38064
2008-12-14 00:46:06 +00:00
Stefan Ginsberg
6b4c969767 - Disable lsasrv and advapi debug tracing, accidentally committed in 38041
svn path=/trunk/; revision=38063
2008-12-14 00:05:19 +00:00
Timo Kreuzer
a49057dcd6 Didn't want to commit this. Use the opportunity to convert spaces -> tabs.
svn path=/trunk/; revision=38062
2008-12-13 23:50:28 +00:00
Timo Kreuzer
fd55d5ab90 fix rosperf build
svn path=/trunk/; revision=38061
2008-12-13 23:48:38 +00:00
Timo Kreuzer
b59e7d655f include stdlib.h for exit()
svn path=/trunk/; revision=38060
2008-12-13 23:37:26 +00:00
Timo Kreuzer
14fa0ef142 fix build of rostests
svn path=/trunk/; revision=38059
2008-12-13 23:12:44 +00:00
Timo Kreuzer
6b7663640a fix fontview build
svn path=/trunk/; revision=38058
2008-12-13 22:25:59 +00:00
Timo Kreuzer
b3689bb450 Add a hack to wait for WinDbg after KdInitSystem.
svn path=/branches/ros-amd64-bringup/; revision=38057
2008-12-13 21:46:38 +00:00
Timo Kreuzer
36e8f534f6 ProgramCounter is 64 bit, so don't cast to ULONG
svn path=/branches/ros-amd64-bringup/; revision=38056
2008-12-13 21:42:34 +00:00
Timo Kreuzer
d533d151de Fix a typo, comment out a DPRINT
svn path=/branches/ros-amd64-bringup/; revision=38055
2008-12-13 21:37:59 +00:00
Timo Kreuzer
3420558496 Add _setjmp / longjmp to libcntpr, so we don't need to reimplement it in ntoskrnl. Should probably be done for x86, too.
svn path=/branches/ros-amd64-bringup/; revision=38053
2008-12-13 21:35:24 +00:00
Timo Kreuzer
76a198afb9 Update crt headers and mingw lib from mingw64. Update crt a bit. 4 msvcrt time tests fixed.
svn path=/trunk/; revision=38052
2008-12-13 21:28:05 +00:00
Gregor Schneider
d7b72f79a2 Update RtlIsTextUnicode, ntdll rtlstr winetest failure down by 10, one remaining
svn path=/trunk/; revision=38051
2008-12-13 21:22:07 +00:00
Gregor Schneider
681e0e0b24 - Update _makepath and _wmakepath to allow in place operation and separated extension processing, based on wine code
- Fixes all 14 msvcrt dir winetests

svn path=/trunk/; revision=38050
2008-12-13 21:06:47 +00:00
Timo Kreuzer
1e4507a141 fix build
svn path=/trunk/; revision=38049
2008-12-13 19:47:24 +00:00
Aleksey Bragin
70195c5fa2 - Add missing PSHARED_CACHE_MAP.
svn path=/trunk/; revision=38048
2008-12-13 19:31:40 +00:00
Aleksey Bragin
fcd0ee7931 - Sync with Wine.
svn path=/trunk/; revision=38047
2008-12-13 19:30:38 +00:00
Timo Kreuzer
1208ee14e8 Add 101 tests for GetSystemMetrics
svn path=/trunk/; revision=38046
2008-12-13 17:55:44 +00:00
Timo Kreuzer
702df456d2 Add DumpMem function to apitests lib for debugging purposes
svn path=/trunk/; revision=38045
2008-12-13 16:52:49 +00:00
Timo Kreuzer
4a3e577b8f Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
Dmitry Gorbachev
8a8705ed19 Remove workaround for GCC 4.4.0 bug, it is already fixed.
svn path=/trunk/; revision=38043
2008-12-13 15:49:41 +00:00
Dmitry Gorbachev
030afbd185 - Remove DBCSCodePage field from NLS_FILE_HEADER structure.
- Make RtlInitCodePageTable function slightly clearer.
- Fix IntIsLeadByte function (thanks to Gregor Schneider, bug #3944).

svn path=/trunk/; revision=38042
2008-12-13 15:42:56 +00:00
Eric Kohl
8fb679dc7c Do not start LSASS as a service but as an ordinary process because:
1) LSASS and the NetLogon service are not the same.
2) The service manager must wait for LSASS to finish initialization. If LSASS is started as a service we will have a classic deadlock scenario.

svn path=/trunk/; revision=38041
2008-12-13 14:47:07 +00:00
Timo Kreuzer
fc635826a5 print out some info on non-type symbols
svn path=/trunk/; revision=38040
2008-12-13 12:05:16 +00:00
Timo Kreuzer
0dc6254f67 errcode is a type. using it as parameter name in a old type function declaration doesn't work.
Use modern style declaration

svn path=/trunk/; revision=38039
2008-12-13 01:05:46 +00:00
Timo Kreuzer
0c36e47417 update dbghelp_ros.diff. Only one tiny change left
svn path=/trunk/; revision=38038
2008-12-13 00:54:45 +00:00
Timo Kreuzer
eacec70b46 sync dbghelp to wine head
- replace wine's spec file with an own one
- add back the stubs file and rename it to rosstubs.c, so next time someone syncs dbghelp, he might notice that this file is ros specific and does NOT delete it
- fix FindFileInPath definition in dbghelp.h
- update wine/mscvpdb.h

svn path=/trunk/; revision=38037
2008-12-13 00:52:11 +00:00
Timo Kreuzer
4666ae75a3 add _strtoi64 and _strtoui64 to stdlib.h
svn path=/trunk/; revision=38036
2008-12-13 00:32:37 +00:00
Gregor Schneider
9bb14d43db - Update ntdll winetests
- Warning: the reg test may bsod/restart your Windows system- not a problem in ros though

svn path=/trunk/; revision=38035
2008-12-12 23:42:40 +00:00
Timo Kreuzer
88f1899dcb reduce the amount of hacks in dbghelp_ros.diff, also fix declaration of _strtoui64
svn path=/trunk/; revision=38034
2008-12-12 20:12:21 +00:00
Timo Kreuzer
019f6c6133 when defining ssize_t, also define _SSIZE_T_DEFINED
svn path=/trunk/; revision=38033
2008-12-12 19:37:56 +00:00
Timo Kreuzer
d6326245c7 remove useless circle definition _setjmp -> setjmp -> _setjmp
svn path=/trunk/; revision=38032
2008-12-12 19:27:14 +00:00
Timo Kreuzer
076f1a2735 MAX_PATH is neither defined by ntddk.h nor by crt headers, use _MAX_PATH instead
svn path=/trunk/; revision=38031
2008-12-12 19:06:57 +00:00
Aleksey Bragin
3858e67cb6 - Stubplement winsta.dll, based on a patch by Samuel Serapion.
See issue #2299 for more details.

svn path=/trunk/; revision=38030
2008-12-12 18:26:42 +00:00
Johannes Anderwald
99a9a89ee8 - Partly implement IPortTopology port driver
svn path=/trunk/; revision=38029
2008-12-12 17:20:15 +00:00
Johannes Anderwald
39d9b7ca5c - interfaces definition for IMiniportTopology
svn path=/trunk/; revision=38028
2008-12-12 17:18:26 +00:00
Johannes Anderwald
710a394cb2 - Partly implement IPortWavePci interface
- Use IServiceSink interface for notification when capture frames are available

svn path=/trunk/; revision=38027
2008-12-12 15:01:31 +00:00
Johannes Anderwald
c2dbafa667 - Add IPortWavePciStream, IMiniportWavePciStream, IMiniportWavePci
svn path=/trunk/; revision=38026
2008-12-11 23:06:58 +00:00
Aleksey Bragin
f611b44733 Cary Xiao" <xiaowave@gmail.com>
- Add some code to complete breakpoint of gdbstub.
See issue #1817 for more details.

svn path=/trunk/; revision=38024
2008-12-11 19:44:56 +00:00
Aleksey Bragin
dd0e4d213f - Add a commented out entry for green.sys driver.
See issue #3689 for more details.

svn path=/trunk/; revision=38023
2008-12-11 18:52:18 +00:00
Aleksey Bragin
3e8d35325b - Fix incorrect drivers installation directories.
See issue #3689 for more details.

svn path=/trunk/; revision=38022
2008-12-11 18:49:20 +00:00
Aleksey Bragin
c026b4fed5 Daniel Zimmerman <netzimme@aim.com>
- Fix the "OVERRUN STATIC error" in CID 557-574 in explorer (use a byte array instead of a shortfilename-sized array).
See issue #3914 for more details.

svn path=/trunk/; revision=38020
2008-12-11 17:16:11 +00:00
Aleksey Bragin
e30784ec7b - An "almost working" kbhit implementation by Russel. The code is rather crappy, feel free to improve it.
Some notes:
1) Forgive my sloppy coding skills (all those LeaveCriticalSections, use of malloc/free), a lot of it was written in a rush to get something going. 2) For some reason, the first char entered isn't detected (on windows and reactos)
3) The thread safety code is questionable, I haven't tested this, but windows does use critical sections for it.
4) Compared to the windows way of doing it, it is probably wrong.
5) Maybe other things as well.

But it does work (at least when I tested it on windows and reactos) compared to the previous implementation of it which did not at all.
See issue #3747 for more details.

svn path=/trunk/; revision=38019
2008-12-11 16:44:07 +00:00
Johannes Anderwald
9507d41bad - Implement IDrmPort, IDrmPort2 interface
svn path=/trunk/; revision=38018
2008-12-11 14:51:57 +00:00
Johannes Anderwald
4e50d43e45 - Add IDrmPort, IDrmPort2 interfaces
svn path=/trunk/; revision=38017
2008-12-11 14:51:27 +00:00
Aleksey Bragin
77a33b8c79 - Add Dll Characteristics defines.
svn path=/trunk/; revision=38016
2008-12-11 12:50:37 +00:00
Timo Kreuzer
8acd97a881 fix declaration of FrLdrDbgPrint
svn path=/branches/ros-amd64-bringup/; revision=38015
2008-12-11 11:40:04 +00:00
Timo Kreuzer
285fc8662b Update KTRAP_FRAME offsets
svn path=/branches/ros-amd64-bringup/; revision=38014
2008-12-11 11:38:57 +00:00
Timo Kreuzer
a64377d43d fix KTRAP_FRAME
svn path=/branches/ros-amd64-bringup/; revision=38013
2008-12-11 11:38:17 +00:00
Christoph von Wittich
71f965358d convert most of syssetup to unicode
svn path=/trunk/; revision=38012
2008-12-11 11:24:32 +00:00
Johannes Anderwald
d56dde4a07 - Use FILE_DEVICE_KS when creating new device object
- Partly implement PcNewRegistryKey, PcRegisterSubdevice
- DPC event is a Synchronization event- Implement PcRegisterAdapterPowerManagement

svn path=/trunk/; revision=38011
2008-12-11 11:23:14 +00:00
Johannes Anderwald
ce51a7b299 - Add IAdapterPowerManagement interface
svn path=/trunk/; revision=38010
2008-12-11 11:21:02 +00:00
Johannes Anderwald
a5b0f9d3dc - Add undef macro to avoid warnings
svn path=/trunk/; revision=38009
2008-12-11 10:55:09 +00:00
Johannes Anderwald
283ad79b4a - add IID_IServiceSink
- add IID_IServiceGroup
- add enum for IRegistryKey

svn path=/trunk/; revision=38008
2008-12-11 10:44:50 +00:00
Christoph von Wittich
15ea296cd4 convert parts of syssetup to WCHAR - please help to fix this mess
svn path=/trunk/; revision=38007
2008-12-11 09:41:55 +00:00
Johannes Anderwald
dbd198da9d - Fix RegSetValueEx parameters
- Found by Chris

svn path=/trunk/; revision=38006
2008-12-11 09:05:19 +00:00
Christoph von Wittich
193151855a don't set testplatform to wine anymore as our services code succeeds in wine todo blocks
svn path=/trunk/; revision=38005
2008-12-11 06:47:06 +00:00
Dmitry Gorbachev
676070c406 Update NLS files.
svn path=/trunk/; revision=38004
2008-12-10 22:43:37 +00:00
Timo Kreuzer
8ceeb927f5 Fix a typo
svn path=/branches/ros-amd64-bringup/; revision=38003
2008-12-10 22:32:21 +00:00
James Tabor
af9b7168ed - Yet another victim of the Win32k Initialization BUG!
- Creating an Information DC is wrong when using it with Icon Creation. This makes the default bitmap monochrome and this is why CreateCompatibleBitmap is broken. Plus all the hacks related to making it all work in Win32k.

svn path=/trunk/; revision=38002
2008-12-10 21:14:02 +00:00
Stefan Ginsberg
8e07c62725 - Disable crashing advapi32 tests -- add print and notes
svn path=/trunk/; revision=37999
2008-12-10 17:32:31 +00:00
Aleksey Bragin
2794dbc70a - Impersonation level should be indeed higher that the lowest one. Fix the check accordingly. Spotted by Dmitry Gorbachev and GCC.
See issue #3939 for more details.

svn path=/trunk/; revision=37998
2008-12-10 15:24:55 +00:00
Dmitry Gorbachev
28cddcaf8e Update NLS files.
svn path=/trunk/; revision=37997
2008-12-10 12:07:43 +00:00
Christoph von Wittich
c7e268bb6b fail when there are no sub authorities
svn path=/trunk/; revision=37996
2008-12-10 08:29:03 +00:00
Christoph von Wittich
8ab21576b5 use constant instead of value to avoid further "hm?" from Alex
svn path=/trunk/; revision=37995
2008-12-10 07:34:02 +00:00
Daniel Reimer
29b4de77bf Bug 3942: "Translate update norwegian" by Lars Martin Hambro
Small sidenote: I accidently commited a patch for XBox Support from Martin_sW in r31325 ~1 year ago...
It adds handover XBox HDD information to ROS Kernel into freeldr and is needed for new ROS Versions to start on XBox.
This + xbox hal + xbox vbe driver + moddded bootvid driver (not commited yet (/me looks at Fireball)) makes ROS boot on XBox.

svn path=/trunk/; revision=37994
2008-12-10 07:08:31 +00:00
Timo Kreuzer
3e1cd207ec Goodbye kdbg, hello WINKD
svn path=/branches/ros-amd64-bringup/; revision=37992
2008-12-10 01:27:58 +00:00
Timo Kreuzer
c5456baba1 Fix hal build
svn path=/branches/ros-amd64-bringup/; revision=37991
2008-12-10 01:26:44 +00:00
Timo Kreuzer
45de0f48eb add CBSTACK constants, need to check for correctness
svn path=/branches/ros-amd64-bringup/; revision=37990
2008-12-10 01:26:10 +00:00
Timo Kreuzer
ad9a017e45 Make winkd somewhat portable.
svn path=/branches/ros-amd64-bringup/; revision=37989
2008-12-10 01:25:09 +00:00
Timo Kreuzer
89d7e5d386 Fix KiDebugServiceTrap, so that it calls KiDispatchException with the right parameters. Disable saving of xmm registers for now, as it causes breakpoint traps (emulation still active?)
svn path=/branches/ros-amd64-bringup/; revision=37988
2008-12-10 01:15:46 +00:00
Timo Kreuzer
7bf8f6a4dc Fix DebugService
svn path=/branches/ros-amd64-bringup/; revision=37987
2008-12-10 01:08:40 +00:00
Timo Kreuzer
ba7785e2e0 Implement KdDebuggerInitialize0 and stubplement KdSendPacket, enough to get DebugOutput with WINKD work
svn path=/branches/ros-amd64-bringup/; revision=37986
2008-12-10 01:07:03 +00:00
Timo Kreuzer
22093ab465 Add KiCallUserMode stub
svn path=/branches/ros-amd64-bringup/; revision=37985
2008-12-10 00:58:18 +00:00
Timo Kreuzer
e2f0929100 Implement KeFreezeExecution and KeThawExecution
svn path=/branches/ros-amd64-bringup/; revision=37984
2008-12-10 00:56:59 +00:00
James Tabor
50f45e4521 - Make sure SecurityDescriptor is not NULL.
svn path=/trunk/; revision=37983
2008-12-09 20:28:26 +00:00
James Tabor
339bbdd5bf - Sync to date wine AdvApi32 cross tests.
svn path=/trunk/; revision=37982
2008-12-09 19:26:45 +00:00
Stefan Ginsberg
2291d9b3b4 - Remove traces
svn path=/trunk/; revision=37979
2008-12-09 19:00:46 +00:00
Stefan Ginsberg
e27a1b6f47 - Initialize pointer to null
svn path=/trunk/; revision=37978
2008-12-09 18:48:28 +00:00
Stefan Ginsberg
2327d45c5a - Remove trace, change trace
svn path=/trunk/; revision=37977
2008-12-09 18:35:06 +00:00
Stefan Ginsberg
cd8bdd5562 - More trace :/
svn path=/trunk/; revision=37975
2008-12-09 18:20:18 +00:00
Stefan Ginsberg
be8a2bb4fb - Temporarily add tracing to ConvertStringSecurityDescriptorToSecurityDescriptorW and LocalAlloc to figure out why the tests crashes on build server -- will be reverted ASAP
svn path=/trunk/; revision=37974
2008-12-09 18:04:58 +00:00
Stefan Ginsberg
b87814a4c9 - Add back debug print -- build server still crashes
svn path=/trunk/; revision=37973
2008-12-09 17:44:27 +00:00
Stefan Ginsberg
12a6dfd816 - Revert the debug print
svn path=/trunk/; revision=37972
2008-12-09 16:39:33 +00:00
Christoph von Wittich
f39793d4ca implement hex value support for ParseAccessMaskString
sync ComputeStringSidSize with wine

svn path=/trunk/; revision=37971
2008-12-09 16:39:03 +00:00
Dmitry Gorbachev
69096be449 Fix IntIsValidSBCSMapping(). Bug #3903.
svn path=/trunk/; revision=37970
2008-12-09 16:13:51 +00:00
Timo Kreuzer
62eea8eb12 fix Ke386SetCr2
svn path=/branches/ros-amd64-bringup/; revision=37969
2008-12-09 15:50:10 +00:00
Timo Kreuzer
a113e3117f Make PsNtosImageBase an ULONG_PTR
svn path=/branches/ros-amd64-bringup/; revision=37968
2008-12-09 15:46:57 +00:00
Timo Kreuzer
6a834d507b fix ULONG/ULONG_PTR isuue
svn path=/branches/ros-amd64-bringup/; revision=37967
2008-12-09 15:45:54 +00:00
Timo Kreuzer
26c33b4493 Make IMAGE_ORDINAL_FLAG64 an ULONGLONG
svn path=/branches/ros-amd64-bringup/; revision=37966
2008-12-09 15:37:05 +00:00
Dmitry Gorbachev
14572bf220 Provide memcmp() for GCC 4.4.0.
svn path=/trunk/; revision=37965
2008-12-09 15:05:02 +00:00
Kamil Hornicek
cc0170cf68 - sync d3d8, d3d9 with wine
svn path=/trunk/; revision=37962
2008-12-09 13:50:12 +00:00
Stefan Ginsberg
358df6e806 - Test commit for the crash which the build server is experiencing (will be reverted)
svn path=/trunk/; revision=37961
2008-12-09 13:35:06 +00:00
Kamil Hornicek
cbea1f27b7 - revert 37958 for now, sorry
svn path=/trunk/; revision=37959
2008-12-09 12:27:50 +00:00
Kamil Hornicek
5c70658299 - remove leftovers
svn path=/trunk/; revision=37958
2008-12-09 12:17:40 +00:00
Kamil Hornicek
5fd8a2eae0 - sync wined3d with wine
svn path=/trunk/; revision=37957
2008-12-09 12:16:19 +00:00
Christoph von Wittich
185cda7129 SeUnsolicitedInputPrivilege is obsolete - the LUID is used by SE_MACHINE_ACCOUNT_PRIVILEGE now
svn path=/trunk/; revision=37955
2008-12-09 08:33:26 +00:00
Christoph von Wittich
cb7b9ef083 sync CreateWellKnownSid with wine
svn path=/trunk/; revision=37954
2008-12-09 07:09:25 +00:00
James Tabor
f785412af3 - Fixed build.
svn path=/trunk/; revision=37953
2008-12-09 06:05:29 +00:00
James Tabor
87e41ba6e7 - Add CP_UNIXCP for CP_ACP, this will help cross tests.
svn path=/trunk/; revision=37952
2008-12-09 05:58:23 +00:00
James Tabor
cf7857d09f - New patch by hto: Suspicious code in User32.dll, see bug 3935.
svn path=/trunk/; revision=37951
2008-12-09 01:40:37 +00:00
Johannes Anderwald
0bfc5f6d4d - implement IServiceGroup interface
- implement PcNewServiceGroup

svn path=/trunk/; revision=37950
2008-12-08 23:30:16 +00:00
Timo Kreuzer
cd48c95985 partly implement x64 versions of _setjmp, _setjmpex and longjmp
svn path=/branches/ros-amd64-bringup/; revision=37949
2008-12-08 22:51:29 +00:00
Timo Kreuzer
fe06da72d9 undef _ftime before implementing it
svn path=/branches/ros-amd64-bringup/; revision=37948
2008-12-08 22:31:27 +00:00
Colin Finck
678aeae6f0 Revert r37916 and add some correct tests for WC_NO_BEST_FIT_CHARS, which pass under Windows XP SP3.
They show that our implementation still has some bugs here and there.

svn path=/trunk/; revision=37947
2008-12-08 22:18:50 +00:00
Johannes Anderwald
c28aa247f6 - Partly implement PcRegisterIoTimeout, PcUnregisterIoTimeout
svn path=/trunk/; revision=37946
2008-12-08 21:42:44 +00:00
Johannes Anderwald
6fe59166a1 - Implement IResourceList_AddEntryFromParent
- Implement PcNewResourceSublist

svn path=/trunk/; revision=37945
2008-12-08 20:18:02 +00:00
Gregor Schneider
e9c0e48377 - IntGetDeviceGammaRamp: remove unneeded code, i * 256 is always smaller than 65535 (255*256=65280 is the biggest value), CID 35
- IntSetDeviceGammaRamp: don't copy data to NULL buffer, CID 195

svn path=/trunk/; revision=37944
2008-12-08 19:44:13 +00:00
Johannes Anderwald
e20af6d632 - Experimental IInterrupt object implementation
svn path=/trunk/; revision=37943
2008-12-08 19:08:07 +00:00
Johannes Anderwald
1972995045 - Add IID_IInterruptSync
svn path=/trunk/; revision=37942
2008-12-08 19:06:15 +00:00
Gregor Schneider
fb604382b6 Fix two duplicate checks - obviously copy/pasted, CIDs 74 and 75
svn path=/trunk/; revision=37941
2008-12-08 17:02:19 +00:00
Gregor Schneider
866e5d59a0 - Remove unreachable code, CID 53
- Simplify parameter checks, fix return value, set last error correctly, fix typo

svn path=/trunk/; revision=37940
2008-12-08 16:27:28 +00:00
Christoph von Wittich
8019ca7330 fix ConvertStringSidToSidW
svn path=/trunk/; revision=37939
2008-12-08 15:51:53 +00:00
Timo Kreuzer
0b3653890a revert 37924, which reverted 37889, which works now
svn path=/branches/ros-amd64-bringup/; revision=37938
2008-12-08 13:43:12 +00:00
Timo Kreuzer
05409a610c update rsym from trunk
svn path=/branches/ros-amd64-bringup/; revision=37937
2008-12-08 13:42:25 +00:00
Stefan Ginsberg
e03e004690 - 'STATIC' -> 'static'
svn path=/trunk/; revision=37936
2008-12-08 13:33:44 +00:00
Aleksey Bragin
68eb71cda7 - Move KeQueryRuntimeThread declaration to winddk.h (spotted by Stefan Ginsberg).
svn path=/trunk/; revision=37935
2008-12-08 13:13:36 +00:00
Aleksey Bragin
7b11a5fcdb - Implement KeQueryRuntimeProcess for querying total user/kernel times of a process.
- Use it for obtaining idle process times, and per-process information in QuerySystemInformation routines.
- Fix incorrect multiplier being applied to user/kernel times (should be KeMaximumIncrement instead of 100000).
- Slightly rework SystemProcessorPerformanceInformation to provide valid data.
- This fixed a bug existing since revision 24148, 2 years ago.
See issue #2329 for more details.

svn path=/trunk/; revision=37934
2008-12-08 12:57:53 +00:00
Timo Kreuzer
36855d6572 Fix gdi32 spec file. Some functions have SIZEL as parameter, which is 2*32bit on x86 and 1*64 bit on x64. We don't support this atm.
svn path=/branches/ros-amd64-bringup/; revision=37933
2008-12-08 12:37:15 +00:00
Timo Kreuzer
aa78ad4132 revert 36672 (SIZEL counts as 2 parameters)
svn path=/branches/ros-amd64-bringup/; revision=37932
2008-12-08 11:06:45 +00:00
Timo Kreuzer
26b6703525 sync trunk head (r37928)
svn path=/branches/ros-amd64-bringup/; revision=37931
2008-12-08 08:30:30 +00:00
Timo Kreuzer
ce87e09449 #define _INTEGRAL_MAX_BITS in _mingw.h
svn path=/branches/ros-amd64-bringup/; revision=37930
2008-12-08 08:02:40 +00:00
Timo Kreuzer
5b04a0fdc3 add framebased-gcchack.c to i386 build of pseh
svn path=/branches/ros-amd64-bringup/; revision=37929
2008-12-08 08:02:07 +00:00
James Tabor
0e162bfb0b - Please dont break functionality due to a compiler problem, just fix it.
svn path=/trunk/; revision=37928
2008-12-08 07:57:18 +00:00
Timo Kreuzer
e3ba8a1fb2 forward AttachThreadInput to win32k
svn path=/branches/ros-amd64-bringup/; revision=37927
2008-12-08 07:39:37 +00:00
Timo Kreuzer
8b0f0064d7 - fix *HOOKPROC definition
- add 64 bit BitTest functions

svn path=/branches/ros-amd64-bringup/; revision=37926
2008-12-08 07:37:16 +00:00
Timo Kreuzer
d14238f78f - reduce differences to trunk
svn path=/branches/ros-amd64-bringup/; revision=37925
2008-12-08 07:36:10 +00:00
Timo Kreuzer
dc1e12189e revert 37889 (still consuses rsym)
svn path=/branches/ros-amd64-bringup/; revision=37924
2008-12-08 07:33:04 +00:00
Timo Kreuzer
e8109f52a0 revert 37475 and 37818
svn path=/branches/ros-amd64-bringup/; revision=37923
2008-12-08 07:32:09 +00:00
James Tabor
cbe31af1b2 - Patch by hto: Suspicious code in User32.dll, see bug 3935.
svn path=/trunk/; revision=37922
2008-12-08 03:34:22 +00:00
Dmitry Gorbachev
c63a203efa Put inline functions into header files.
svn path=/trunk/; revision=37921
2008-12-07 23:40:23 +00:00
Dmitry Gorbachev
cdbca12bbb Remove WINVER, committed in r37916.
svn path=/trunk/; revision=37920
2008-12-07 22:03:22 +00:00
Dmitry Gorbachev
32580ec32a Silence GCC warnings.
svn path=/trunk/; revision=37919
2008-12-07 21:52:22 +00:00
Dmitry Gorbachev
2772b79efd Remove stray semicolon, change indentation.
svn path=/trunk/; revision=37918
2008-12-07 21:49:30 +00:00
Dmitry Gorbachev
309ea97e6c Add missing parentheses.
svn path=/trunk/; revision=37917
2008-12-07 21:48:44 +00:00
Dmitry Gorbachev
a6d6868c53 Use WC_NO_BEST_FIT_CHARS flag for WideCharToMultiByte(). Bug #3903.
svn path=/trunk/; revision=37916
2008-12-07 21:46:16 +00:00
Stefan Ginsberg
cdb295c734 - Change more ASSERT(FALSE) to KeBugCheck(MEMORY_MANAGEMENT) so it dies on release build too
svn path=/trunk/; revision=37914
2008-12-07 18:05:28 +00:00
Gregor Schneider
2c22befead - Fix drawing the status bar over the play cards, happened if no status bar was specified on sol startup (Win and ROS behavior); the bar has to be created to get the coords right - so we'll just hide it if we don't need it (like it's done when toggling status bar visibility in options)
- Additional cleanup by Roel Messiant, <roelmessiant AT gmail DOT com>:
- Replace the default options magic value by the proper constant
- Status bar height was being set wrong, but the system's constraint was fixing this behind the screens
- See bugs #3336 and #3820 for more info

svn path=/trunk/; revision=37913
2008-12-07 18:04:56 +00:00
Timo Kreuzer
03eee46a37 revert r35657
svn path=/branches/ros-amd64-bringup/; revision=37912
2008-12-07 15:15:15 +00:00
Timo Kreuzer
0f2c90f639 enable saving of xmm registers in RtlCaptureContext
svn path=/branches/ros-amd64-bringup/; revision=37911
2008-12-07 12:59:41 +00:00
Timo Kreuzer
be0e9fd9c7 Merge 34758, 34771, 34786, 34787, 34906, 35826, 36174, 36274, 36444, 36445, 36446, 36447, 36448, 36477, 36511, 36898, 36903 from amd64 branch
svn path=/trunk/; revision=37910
2008-12-07 12:11:46 +00:00
Timo Kreuzer
bff1ad35c5 don't truncate a handle
svn path=/branches/ros-amd64-bringup/; revision=37909
2008-12-07 10:56:42 +00:00
Timo Kreuzer
4997973066 fix definition of SOCKET
TODO: revert "fixes" to code dealing with broken SOCKET definition

svn path=/branches/ros-amd64-bringup/; revision=37908
2008-12-07 08:36:06 +00:00
Timo Kreuzer
3acf547596 clear direction flag on interrupt
svn path=/branches/ros-amd64-bringup/; revision=37907
2008-12-06 23:37:30 +00:00
Eric Kohl
467aff9230 - Introduce a common header file.
- Use Wine-style debug code everywhere.

svn path=/trunk/; revision=37906
2008-12-06 21:33:49 +00:00
Aleksey Bragin
5abd794cd0 - Fix a potential case of non-paged pool memory double freeing. Spotted by Michael Martin.
svn path=/trunk/; revision=37905
2008-12-06 19:35:54 +00:00
Timo Kreuzer
8adfb2a358 merge trunk head (37902)
svn path=/branches/ros-amd64-bringup/; revision=37904
2008-12-06 19:06:05 +00:00
Timo Kreuzer
9aa69b88a9 oops, looks like I forgot to commit this file (SEH2 stubs)
svn path=/branches/ros-amd64-bringup/; revision=37903
2008-12-06 18:33:48 +00:00
Timo Kreuzer
d610c156c6 - move CONTEXT stuff from wdm.h to winddk.h / armddk.h
- inlcude intrin.h in wdm.h
- avoid redefining PCONTEXT
- use intrinsics for BitScanForward/Reverse

svn path=/trunk/; revision=37902
2008-12-06 18:31:33 +00:00
Timo Kreuzer
72d7ea8bc3 rename section "init" to "INIT", so that pefixup will actually recognize it
svn path=/trunk/; revision=37901
2008-12-06 18:25:06 +00:00
Aleksey Bragin
12376e5bfa - Implement IoGetRemainingStackSize.
svn path=/trunk/; revision=37900
2008-12-06 14:59:11 +00:00
Aleksey Bragin
3cf14110c4 - Add missing function declarations.
svn path=/trunk/; revision=37899
2008-12-06 14:52:16 +00:00
Aleksey Bragin
fd38a91b3a - Merge Pierre's changes to ntifs.h from the branch, with my edits.
- Remove a duplicate structure which does not exist in official ntifs.h.
- Fix a typo in PNOTIFY_SYNC declaration.

svn path=/trunk/; revision=37898
2008-12-06 14:36:03 +00:00
Timo Kreuzer
e2ee57a571 Allow loading files with relocs stripped off.
Finally it boots again.

svn path=/branches/ros-amd64-bringup/; revision=37896
2008-12-06 13:47:03 +00:00
Timo Kreuzer
6ebdb10425 recalculate VA and PA of .pdata section
svn path=/branches/ros-amd64-bringup/; revision=37895
2008-12-06 13:43:35 +00:00
Hervé Poussineau
2a8bf4162a Fix a race condition between umpnpmgr service and CMP_WaitNoPendingInstallEvents API.
svn path=/trunk/; revision=37894
2008-12-06 12:54:24 +00:00
Dmitry Chapyshev
1a716522d1 - Add localui from Wine
- Add baseaddress for localui
- Add localui to bootcd

svn path=/trunk/; revision=37893
2008-12-06 12:09:14 +00:00
Dmitry Chapyshev
52ce98d5ec - Update headers
- Add more stubs for winspool

svn path=/trunk/; revision=37892
2008-12-06 11:18:08 +00:00
Eric Kohl
b7903f6d19 Replace call to ExtractIconExW (shell32.dll) by a call to PrivateExtractIconExw (user32.dll) and remove shell32.dll from the list of linked libraries because shell32.dll requires a valid user account upon initialization.
Please remember: Don't use high-level DLLs in low-level components (dll or exe)!!!!

svn path=/trunk/; revision=37891
2008-12-06 11:13:50 +00:00
Aleksey Bragin
fa01d268d4 - Add reserved reparse tags definitions.
svn path=/trunk/; revision=37890
2008-12-06 11:05:21 +00:00
Timo Kreuzer
188952468c merge rbuild changes 37811-37861 from trunk
svn path=/branches/ros-amd64-bringup/; revision=37889
2008-12-06 10:48:26 +00:00
Dmitry Chapyshev
6928b46129 .def -> .spec
svn path=/trunk/; revision=37888
2008-12-06 10:28:06 +00:00
Timo Kreuzer
8aca543566 merge 37780 from trunk
fix it so on x64 builds we use dwarf2 debugging format.

svn path=/branches/ros-amd64-bringup/; revision=37887
2008-12-06 10:17:19 +00:00
Timo Kreuzer
679f58e5d3 merge rbuild changes 37747,37778 from trunk
svn path=/branches/ros-amd64-bringup/; revision=37886
2008-12-06 09:52:19 +00:00
Dmitry Chapyshev
acb0743239 - Sync mlang with Wine 1.1.10
svn path=/trunk/; revision=37885
2008-12-06 09:39:38 +00:00
Timo Kreuzer
8c23ab3a5c merge rbuild changes 37270-37632 from trunk
svn path=/branches/ros-amd64-bringup/; revision=37884
2008-12-06 09:37:08 +00:00
Dmitry Chapyshev
6bf0881196 - Sync gdiplus wine tests
svn path=/trunk/; revision=37883
2008-12-06 09:26:52 +00:00
Dmitry Chapyshev
5efd259091 - Sync headers with Wine head
- Sync gdiplus with Wine head

svn path=/trunk/; revision=37882
2008-12-06 09:26:01 +00:00
Timo Kreuzer
76bb5fc5c9 disable build of icu and nls for now (doesn't compile)
svn path=/branches/ros-amd64-bringup/; revision=37881
2008-12-06 09:23:40 +00:00
Timo Kreuzer
3b6968f600 Add ExpInterlockedFlushSList stub
svn path=/branches/ros-amd64-bringup/; revision=37880
2008-12-06 09:21:46 +00:00
Timo Kreuzer
8b3d618a2b add back InterlockedPush/PopEntrySList
svn path=/branches/ros-amd64-bringup/; revision=37879
2008-12-06 09:20:54 +00:00
Timo Kreuzer
b0a4815b79 fix inflib_host build
svn path=/branches/ros-amd64-bringup/; revision=37878
2008-12-06 09:16:56 +00:00
Dmitry Chapyshev
5947224729 - Add CFSTR_SHELLIDLISTA
svn path=/trunk/; revision=37877
2008-12-06 09:10:05 +00:00
Dmitry Chapyshev
336ef53fac - Implement SetupInstallFileA/W
- Stub implement SetupPromptForDiskA/W
All from Wine.

svn path=/trunk/; revision=37876
2008-12-06 09:07:05 +00:00
Timo Kreuzer
24b6b8de23 inlcude excpt.h in winnt.h
svn path=/branches/ros-amd64-bringup/; revision=37875
2008-12-06 08:46:08 +00:00
Timo Kreuzer
3e92a627fa avoid redefinition of PTCSTR and fix missing PTCHAR
svn path=/branches/ros-amd64-bringup/; revision=37874
2008-12-06 08:38:09 +00:00
Timo Kreuzer
5fca453788 STDCALL->NTAPI
svn path=/branches/ros-amd64-bringup/; revision=37873
2008-12-06 08:02:11 +00:00
Timo Kreuzer
150d33cede - fix what got broken with recent merge in intrin_x86.h
- add intrinsic bittest functions to wdm.h

svn path=/branches/ros-amd64-bringup/; revision=37872
2008-12-05 20:18:58 +00:00
Timo Kreuzer
c8eaf02a99 STDCALL -> NTAPI
svn path=/branches/ros-amd64-bringup/; revision=37871
2008-12-05 19:30:32 +00:00
Timo Kreuzer
74e41179f8 - cleanup merge mess
svn path=/branches/ros-amd64-bringup/; revision=37870
2008-12-05 16:42:35 +00:00
Timo Kreuzer
4f4ec6b380 add dummy LDT_ENTRY
svn path=/branches/ros-amd64-bringup/; revision=37869
2008-12-05 16:39:16 +00:00
Timo Kreuzer
bc194edcd9 add CONTEXT flags for x64
svn path=/branches/ros-amd64-bringup/; revision=37868
2008-12-05 16:29:01 +00:00
Timo Kreuzer
d00a945f03 sync to trunk head (37853) (except rbuild changes)
This breaks everything. Sorry, but it has to be done.
Will fix ASAP.

svn path=/branches/ros-amd64-bringup/; revision=37867
2008-12-05 15:30:17 +00:00
Timo Kreuzer
1f8539a65e fix FIELD_OFFSET macro
svn path=/trunk/; revision=37866
2008-12-05 12:10:31 +00:00
Timo Kreuzer
8156dcd959 fix x64 definition of __readmsr()
svn path=/trunk/; revision=37865
2008-12-05 12:00:39 +00:00
Eric Kohl
7366e052b4 Sync to wine-1.1.4:
- Rob Shearman <robertshearman@gmail.com> Tue, 26 Aug 2008
widl: Raise RPC_X_SS_IN_NULL_CONTEXT exception for NULL in-only context handles instead of RPC_X_NULL_REF_PTR.

Based on a patch by Michael Martin.

- Alexandre Julliard <julliard@winehq.org> Sat, 30 Aug 2008
widl: Replace write_name() by get_name() to make the code more readable.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 2 Sep 2008
widl: Output NULL for inherited methods in the vtbl.

svn path=/trunk/; revision=37862
2008-12-04 21:22:42 +00:00
KJK::Hyperion
31b83f59b6 modified tools/rbuild/backend/mingw/modulehandler.cpp
DWARF debugging information confuses rsym, and DWARF-2 information from internal libraries (like libgcc) results in huge executables that don't even run on Windows. Therefore, before the rsym phase, strip all DWARF-2 sections
   This is a HACK for gcc builds compiled with DWARF-2 symbols (e.g. 4.3.2-tdm-1). The real solution (to be implemented soon) is to parse DWARF-2 line numbers in rsym
   Amendment to r37851: use objcopy instead of strip because strip gets us more than we bargained for, and strips all debug information too

modified   tools/rsym.c
   Don't overrun a heap block when there are discarded relocations

svn path=/trunk/; revision=37861
2008-12-04 21:13:43 +00:00
Eric Kohl
599818849a Sync to wine-1.1.3:
- Dan Hipschman <dsh@linux.ucla.edu> Thu, 7 Aug 2008
widl: Honor typedef pointer attributes.

svn path=/trunk/; revision=37860
2008-12-04 20:20:08 +00:00
Eric Kohl
f12d11b4f7 Sync to wine-1.1.1 (Patch 10 of 10):
- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
Add noinput directive to all lex files to avoid a compiler warning.

svn path=/trunk/; revision=37859
2008-12-04 19:52:55 +00:00
Eric Kohl
663337847e Sync to wine-1.1.1 (Patch 9 of 10):
- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
widl: Fix a couple of uninitialized variable compiler warnings.

svn path=/trunk/; revision=37858
2008-12-04 19:37:53 +00:00
Timo Kreuzer
25105f9fec fix some ULONG/ULONG_PTR issues
svn path=/trunk/; revision=37857
2008-12-04 19:08:55 +00:00
KJK::Hyperion
45f6b70b73 Undo r37851 because rsym sucks
svn path=/trunk/; revision=37856
2008-12-04 19:01:50 +00:00
Johannes Anderwald
b355317137 - Implement PcGetDeviceProperty, PcGetTimeInterval
- Stub interfaces of IDmaChannel, IDmaChannelSlave
- Stub IMiniport adapters IMiniportDMus
- Stub IPort drivers (IPortDMus, IPortMidi, IPortTopology, IPortWaveCyclic, IPortWavePci)
- Implement IRegistryKey interface
- Enhance IResource interface

svn path=/trunk/; revision=37855
2008-12-04 18:43:42 +00:00
Timo Kreuzer
2677618d96 "save your files before committing them!" -> good
"test your changes before comitting them!" -> better
revert 37787

svn path=/branches/ros-amd64-bringup/; revision=37854
2008-12-04 17:49:36 +00:00
Gregor Schneider
ea4870e585 Free allocated resource on error, CID 1358.
svn path=/trunk/; revision=37853
2008-12-04 16:46:54 +00:00
Johannes Anderwald
d27e3fc707 - Add interfaces for IMasterClock, IMXF, IAllocatorMXF, IPortDMus, IMiniportDMus
svn path=/trunk/; revision=37852
2008-12-04 16:29:56 +00:00
KJK::Hyperion
0e80776aff DWARF debugging information confuses rsym, and DWARF-2 information from internal libraries (like libgcc) results in huge executables that don't even run on Windows. Therefore, before the rsym phase, strip all DWARF-2 sections
This is a HACK for gcc builds compiled with DWARF-2 symbols (e.g. 4.3.2-tdm-1). The real solution (to be implemented soon) is to parse DWARF-2 line numbers in rsym

svn path=/trunk/; revision=37851
2008-12-04 16:09:26 +00:00
KJK::Hyperion
bf1d153d93 modified lib/3rdparty/mingw/main.c
Make -Wno-main redundant

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   -Wno-main now redundant

svn path=/trunk/; revision=37850
2008-12-04 15:49:47 +00:00
Timo Kreuzer
7b3990cadd Partly implement KiDispatchException, based on x86 implementation.
svn path=/branches/ros-amd64-bringup/; revision=37849
2008-12-04 15:39:42 +00:00
Stefan Ginsberg
54e241e287 - Don't cache a value if we might dereference NULL
- Fix for CID 653

svn path=/trunk/; revision=37848
2008-12-04 15:15:01 +00:00
Timo Kreuzer
b1ceb41863 Implement KeContextToTrapFrame and KeTrapFrameToContext
svn path=/branches/ros-amd64-bringup/; revision=37847
2008-12-04 15:01:02 +00:00
Stefan Ginsberg
529ad41347 - Fix some redefinitions
svn path=/trunk/; revision=37846
2008-12-04 14:11:57 +00:00
Aleksey Bragin
d085625992 - WDK defines PNOTIFY_SYNC as a pointer to VOID.
svn path=/trunk/; revision=37845
2008-12-04 14:01:50 +00:00
Timo Kreuzer
e9912c00c4 fix a comment, #undef RtlGetCallersaddress before implementing it
svn path=/branches/ros-amd64-bringup/; revision=37844
2008-12-04 11:26:30 +00:00
Aleksey Bragin
8c52058f73 - Fix FsRtlFastCheckLockForRead and Write function prototypes.
svn path=/trunk/; revision=37843
2008-12-04 11:12:42 +00:00
Johannes Anderwald
2242fa6da1 - Add CLSIDs for Miniport drivers
- Add IIDs for IResourceList, IRegistryKey
- Add IMiniportWaveCyclicStream, IMiniportWaveCyclic interface 

svn path=/trunk/; revision=37842
2008-12-04 08:44:17 +00:00
Dmitry Gorbachev
987313245b Fix them second time.
svn path=/trunk/; revision=37841
2008-12-04 00:55:15 +00:00
Dmitry Gorbachev
5bbb02373a Fix Ke386Get(Global|Local|Interrupt)DescriptorTable, Ke386GetTr.
svn path=/trunk/; revision=37840
2008-12-03 22:24:29 +00:00
Dmitry Gorbachev
9791da2e85 Trying to fix...
svn path=/trunk/; revision=37839
2008-12-03 18:04:26 +00:00
Dmitry Gorbachev
d633d025d8 Slovak patch by Mario Kacmar aka Kario (bug #3934).
svn path=/trunk/; revision=37838
2008-12-03 17:52:24 +00:00
Timo Kreuzer
fb37702d2c Some assembly code to save restore registers on traps
svn path=/branches/ros-amd64-bringup/; revision=37837
2008-12-03 17:45:50 +00:00
Dmitry Gorbachev
a8089cfb97 Fix Unicode -> Multibyte conversion (bug #3903).
svn path=/trunk/; revision=37836
2008-12-03 17:40:49 +00:00
Dmitry Gorbachev
774b7483da Remove stray semicolons, GCC gratias.
svn path=/trunk/; revision=37835
2008-12-03 17:39:55 +00:00
Dmitry Gorbachev
c920f222c0 Fix GCC complaints about uninitialized variables (bug #3912).
svn path=/trunk/; revision=37834
2008-12-03 17:38:56 +00:00
Dmitry Gorbachev
5bc250cc36 Silence compiler warnings (11/11).
svn path=/trunk/; revision=37833
2008-12-03 17:37:58 +00:00
Dmitry Gorbachev
e1f79c3b49 Silence compiler warnings (10/11).
svn path=/trunk/; revision=37832
2008-12-03 17:37:23 +00:00
Dmitry Gorbachev
b3597def85 Silence compiler warnings (9/11).
svn path=/trunk/; revision=37831
2008-12-03 17:36:23 +00:00
Dmitry Gorbachev
7e3410d2b3 Silence compiler warnings (8/11).
svn path=/trunk/; revision=37830
2008-12-03 17:34:49 +00:00
Dmitry Gorbachev
ff091bdac5 Silence compiler warnings (7/11).
svn path=/trunk/; revision=37829
2008-12-03 17:33:13 +00:00
Dmitry Gorbachev
120359ef8e Silence compiler warnings (6/11).
svn path=/trunk/; revision=37828
2008-12-03 17:32:36 +00:00
Dmitry Gorbachev
620e4cad34 Silence compiler warnings (5/11).
svn path=/trunk/; revision=37827
2008-12-03 17:31:38 +00:00
Dmitry Gorbachev
ebaf0cf88c Silence compiler warnings (4/11).
svn path=/trunk/; revision=37826
2008-12-03 17:29:38 +00:00
Dmitry Gorbachev
d202dab4fa Silence compiler warnings (3/11).
svn path=/trunk/; revision=37825
2008-12-03 17:28:59 +00:00
Dmitry Gorbachev
44c8aa557c Silence compiler warnings (2/11).
svn path=/trunk/; revision=37824
2008-12-03 17:28:33 +00:00
Dmitry Gorbachev
5148a03069 Silence compiler warnings (1/11).
svn path=/trunk/; revision=37823
2008-12-03 17:28:24 +00:00
Timo Kreuzer
f657ba453e - Implement iInitializeCouFeatures, replacing KiSetCR0Bits. This allows us to save / restore xmm registers
- check supported cpu features

svn path=/branches/ros-amd64-bringup/; revision=37822
2008-12-03 17:24:40 +00:00
Timo Kreuzer
92426e1c0f fix UNIMPLEMENTED asm macro
svn path=/branches/ros-amd64-bringup/; revision=37821
2008-12-03 17:15:09 +00:00
Timo Kreuzer
e1f844ee1f add more stuff to x64 asm.h
svn path=/branches/ros-amd64-bringup/; revision=37820
2008-12-03 16:39:26 +00:00
Timo Kreuzer
3425904a18 Simplyfy KiGetFeatureBits
svn path=/branches/ros-amd64-bringup/; revision=37819
2008-12-03 15:40:26 +00:00
Timo Kreuzer
70106f69f6 fix ULONG/ULONG_PTR issue
svn path=/branches/ros-amd64-bringup/; revision=37818
2008-12-03 14:10:19 +00:00
Stefan Ginsberg
2220f06c73 - Make imagehlp compile warning free (don't mix Wine and ros debug style, add missing casts)
svn path=/trunk/; revision=37817
2008-12-03 13:05:54 +00:00
Stefan Ginsberg
902da9ebac - Patch by hto: Correct definitions of PSN_* constants
See issue #3925 for more details.

svn path=/trunk/; revision=37816
2008-12-03 12:48:53 +00:00
KJK::Hyperion
d3e2e5e2ca MinGW does have vsnprintf. Fixes a warning in libxml2
Dedicated to Samuel Serapión

svn path=/trunk/; revision=37815
2008-12-02 23:18:25 +00:00
Eric Kohl
4a6ded56dd Sync to wine-1.1.1 (Patch 8 of 10):
- Rob Shearman <robertshearman@gmail.com> Fri, 4 Jul 2008
widl: Remove some unnecessary calls to duptype.

svn path=/trunk/; revision=37814
2008-12-02 21:08:02 +00:00
Eric Kohl
9fcfc6eb1e Sync to wine-1.1.1 (Patch 7 of 10):
- Rob Shearman <robertshearman@gmail.com> Fri, 4 Jul 2008
widl: Rename find_type_helper, find_type and find_type2 to find_type, find_type_error and find_type_error2 respectively.

svn path=/trunk/; revision=37813
2008-12-02 20:45:09 +00:00
Colin Finck
48068dfdd4 Revert r37802, which reverted r37801, which was previously reverted in r37477 reverting r37476.
In other words: Reapply ekohl's widl change part 4, as the Release slave should build it properly now.

svn path=/trunk/; revision=37812
2008-12-02 19:17:32 +00:00
Colin Finck
c00c841bd4 Revert my changes in r37808.
Reenable testing on undefined properties, they are treated as being empty now. This feature got lost when moving the <if> block parsing entirely to rbuild in r34852.

Should fix the Release build properly _with_ touching rbuild :-)

svn path=/trunk/; revision=37811
2008-12-02 19:05:11 +00:00
Daniel Reimer
533570807b RamDRV is not in our tree anymore.
svn path=/trunk/; revision=37809
2008-12-02 15:55:24 +00:00
Colin Finck
61eedb351a KDBG needs DBG to be set, I can't imagine any useful situation for KDBG without DBG.
Change the <if> logic in ReactOS-general.rbuild (and ReactOS-arm.rbuild for the ARM guys) accordingly. This also supersedes DBG_OR_KDBG, which never worked properly for Release builds anyway.

Should fix the Release build without touching rbuild itself :-)

svn path=/trunk/; revision=37808
2008-12-02 11:38:23 +00:00
Daniel Reimer
9bec5399de ByeBye 100 MB Log File. Byebye, 200 kB/s
svn path=/trunk/; revision=37806
2008-12-02 09:08:01 +00:00
Andrew Munger
ed4de66a9b Nevermind, I'd rather have the debug build. Someone fix this correctly, please.
svn path=/trunk/; revision=37805
2008-12-02 08:38:03 +00:00
Andrew Munger
6fa1c22603 "Fix" the release build.
svn path=/trunk/; revision=37804
2008-12-02 08:10:36 +00:00
James Tabor
3f5de2feb4 - Correct the copyright header for path.c. Crediting Dmitry Timoshkov for his great work in the Open Source Software movement.
svn path=/trunk/; revision=37803
2008-12-01 21:38:57 +00:00
Eric Kohl
371bfcc3b2 Revert 37801 because it still breaks the release build.
svn path=/trunk/; revision=37802
2008-12-01 20:38:24 +00:00
Eric Kohl
4b639a0b94 Sync to wine-1.1.1 (Patch 4 of 10):
ATTENTION: You MUST run "clean" before building ReactOS, otherwise WIDL will crash when it is run.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Implement type redefinition checks.

This allows widl to catch type redefinitions and report an error, like MIDL.
However, this does a better job than MIDL since it also reports the location of the originial definition, like GCC.

CREDITS: Thanks to Christoph and Martin von Wittich for updating the Release-Buildslave. This patch should now build on both Buildslaves.

svn path=/trunk/; revision=37801
2008-12-01 20:33:43 +00:00
Steven Edwards
69e77bdaf0 Suggest LogonUser/CreateProcessAsUser as a possible
authentication method


svn path=/trunk/; revision=37800
2008-12-01 19:32:22 +00:00
Steven Edwards
f0078accf5 I hope I did not screw up the propset...
Simple telnet daemon, I found, hacked in to a service.
Its wrong, I know, humor me, it works, someone more
interested can finish this off and follow the spec.txt


svn path=/trunk/; revision=37799
2008-12-01 18:34:15 +00:00
Andrew Munger
a8e3000e64 Gimme back mah ftp.
Revert 37791.

svn path=/trunk/; revision=37798
2008-12-01 18:33:55 +00:00
Johannes Anderwald
6d553afec5 - Pass the directory of the file to ShellExecuteExW
svn path=/trunk/; revision=37797
2008-12-01 16:51:59 +00:00
Aleksey Bragin
b4a3a4d8e3 - Don't enable FULL debug output for a module in trunk unless REALLY necessary.
svn path=/trunk/; revision=37796
2008-12-01 16:30:15 +00:00
Stefan Ginsberg
61106bdf73 - Don't redefine PKSYSTEM_ROUTINE
- Don't include x86 headers for all architectures
- Don't use system_header
- Add a note for ARM team

svn path=/trunk/; revision=37795
2008-12-01 16:27:58 +00:00
Stefan Ginsberg
9bd2938989 - Remove the remaining system_header from DDK -- this era has now come to an end
svn path=/trunk/; revision=37793
2008-12-01 15:28:54 +00:00
Stefan Ginsberg
6d811e8712 - Get rid of DDK's dependency on windef.h and winnt.h
- Clean up, fix, and add missing types to ntdef.h/ntifs.h/winddk.h/wdm.h/ntpoapi.h
- Add ntimage.h and use it in rossym and NDK
- Fix a gcc compatibility issue -- some internal NT structures have their pointer types defined in the DDK headers, but we define them along with the "struct" type when defining the full structure. MSVC is okay with this double definition, but gcc treats it as an error (hidden by system_header). Only define the "struct" type when declaring the full structure, making it compatible with both compilers.
- Also fix/add some types and header guards in NDK
- Clean up ks/portcls/drmk headers
- Fix incorrect types for some KS APIs (msdn is wrong for these) and add missing header guards
- Also, remove system_header (more of this coming up)

svn path=/trunk/; revision=37792
2008-12-01 15:12:23 +00:00
Johannes Anderwald
53db82f49c - revert 37497
- use FindFirstFileW to obtain to original filename which is passed to CreateProcess
- fixes bug 3875

svn path=/trunk/; revision=37791
2008-12-01 14:57:34 +00:00
Johannes Anderwald
7723cee0b0 fix build
mea culpa

svn path=/trunk/; revision=37790
2008-12-01 14:08:48 +00:00
Johannes Anderwald
6b053be6fe - fix ipconfig output when no nic adapter is present, patch by Lucas Suggs, <anakha AT cat DOT pdx DOT edu>
- bug 3928
- fix a few memory leaks

svn path=/trunk/; revision=37789
2008-12-01 13:54:25 +00:00
James Tabor
1de5c6737b - Patch by hto: User32: MDICascade() bug, see bug 3919.
svn path=/trunk/; revision=37788
2008-12-01 04:57:58 +00:00
Samuel Serapion
95073b5aac save your files before committing them!
svn path=/branches/ros-amd64-bringup/; revision=37787
2008-12-01 03:12:14 +00:00
Samuel Serapion
64ea71c749 - Fix build.
- Exclude uniata from build.
- Compile more drivers.
- Make cdrom driver compile.
- Fix TDI spec file.
- Exclude C_ASSERT thats only relevant to some i386 asm.
- Link to libgcc_eh for C++ apps.

svn path=/branches/ros-amd64-bringup/; revision=37786
2008-12-01 02:47:26 +00:00
James Tabor
27204c5847 - Moved SelectBitmap/Font to their proper places.
- Correct CreateCompatibleBitmap issues, finding more bugs and noted them.
- DibObj.c is a work in progress, needing more love. Managing SEH in a proper manner, fixing the SEH abuse.
- Wine gdi bitmap cross tests looking better, 16 bpp down to 50 faults.
- Need full spectrum testing, I exhausted my test suite so anything will do.


svn path=/trunk/; revision=37784
2008-12-01 00:13:45 +00:00
James Tabor
1af0b46120 - Fixed hooking bug for Firefox, a plus, new SEH found a bug!
svn path=/trunk/; revision=37783
2008-11-30 23:39:20 +00:00
Samuel Serapion
431f306971 convert to spec
svn path=/branches/ros-amd64-bringup/; revision=37717
2008-11-29 10:18:10 +00:00
Samuel Serapion
e0f98e15a0 convert to spec
svn path=/branches/ros-amd64-bringup/; revision=37716
2008-11-29 10:17:51 +00:00
Samuel Serapion
7c0fbcd014 convert to spec
svn path=/branches/ros-amd64-bringup/; revision=37698
2008-11-28 02:34:09 +00:00
Samuel Serapion
99f446f5ff Fix 64bit warnings and errors.
Silence result computed not used warnings.
(Update your mingw-w64 to the latest snapshot to be able to build explorer).
Some linker issues still remain.

svn path=/branches/ros-amd64-bringup/; revision=37696
2008-11-27 21:22:59 +00:00
Timo Kreuzer
b899b58373 Add KTRAP_FRAME offsets to asm.h
svn path=/branches/ros-amd64-bringup/; revision=37536
2008-11-21 23:12:02 +00:00
Timo Kreuzer
fa47606621 Fix definitions of PFN_COUNT and (S)PFN_NUMBER
svn path=/branches/ros-amd64-bringup/; revision=37507
2008-11-21 11:32:37 +00:00
Timo Kreuzer
03fcd64b99 use the real RtlGetCallersAddress in ntoskrnl
svn path=/branches/ros-amd64-bringup/; revision=37494
2008-11-20 23:29:00 +00:00
Timo Kreuzer
10578c9846 fix amd64 / ia64 default definition of RtlGetCallersAddress
svn path=/branches/ros-amd64-bringup/; revision=37493
2008-11-20 23:25:09 +00:00
Timo Kreuzer
ee0da72800 Implement RtlpTryToUnwindEpilog, which tries to unwind a function, if we are in the epilog by parsing the allowed opcodes.
svn path=/branches/ros-amd64-bringup/; revision=37492
2008-11-20 21:55:44 +00:00
Timo Kreuzer
e7b4c29057 EPROCESS.Session should be a HANDLE.
svn path=/branches/ros-amd64-bringup/; revision=37475
2008-11-19 22:28:26 +00:00
Timo Kreuzer
adffadbbe7 make use of the new macros in ke/trap.S
svn path=/branches/ros-amd64-bringup/; revision=37474
2008-11-19 22:03:29 +00:00
Timo Kreuzer
db582cc3f1 Implement RtlCompareMemory is assembly, not used yet.
svn path=/branches/ros-amd64-bringup/; revision=37473
2008-11-19 21:54:37 +00:00
Timo Kreuzer
fcc5b3bfbf Move asmmacro.h to ndk, cause we need it outside of ntoskrnl, too.
svn path=/branches/ros-amd64-bringup/; revision=37472
2008-11-19 21:51:34 +00:00
Timo Kreuzer
a0de230f73 Some asm macros for x64. They allow creating unwind info in a MASM like way, As a general rule for all asm functions changing the stack pointer, use ".proc FunctionName" (without '_' prefix) before the function and ".endproc" after the function and use .allocstack, .pushreg, etc. after the corresponding opcode.
svn path=/branches/ros-amd64-bringup/; revision=37469
2008-11-19 21:24:52 +00:00
Timo Kreuzer
4a08b236bd - use (unsigned) long instead of ULONG
- add DW_CFA_offset_extended_sf

svn path=/branches/ros-amd64-bringup/; revision=37462
2008-11-19 19:03:40 +00:00
Timo Kreuzer
7ea9dd6a28 - Fix several ULONG/ULONG_PTR issues
- Add a parameter to DefaultQueryInfoBufferCheck for ULONG_PTR/SIZE_T ResultLength

svn path=/branches/ros-amd64-bringup/; revision=37435
2008-11-18 03:41:21 +00:00
Timo Kreuzer
ca24ca153b ETHREAD.TopLevelIrp is ULONG_PTR, not ULONG
svn path=/branches/ros-amd64-bringup/; revision=37434
2008-11-18 03:01:31 +00:00
Timo Kreuzer
6918fdc238 fix InterlockedExchangePointer usage
svn path=/branches/ros-amd64-bringup/; revision=37433
2008-11-18 02:40:51 +00:00
Timo Kreuzer
0460be46a7 fix a typo
svn path=/branches/ros-amd64-bringup/; revision=37432
2008-11-18 02:31:40 +00:00
Timo Kreuzer
39f948a7a4 forgot this file
svn path=/branches/ros-amd64-bringup/; revision=37431
2008-11-18 02:27:04 +00:00
Timo Kreuzer
eda691f786 cleanup ntoskrnl.exe:
- Move the last stubs into better places
- implement KeQueryActiveProcessors, KeInvalidateAllCaches, KeGetRecommendedSharedDataAlignment, KeSaveStateForHibernate, KeSetDmaIoCoherency, PsGetContext, PsSetContext based on x86 implementations.
- remove KdbpGetCommandLine from kd.c where it wasn't supposed to be
- remove amd64stubs.c

svn path=/branches/ros-amd64-bringup/; revision=37430
2008-11-18 02:25:41 +00:00
Timo Kreuzer
6496939b20 update amd64subs.c
svn path=/branches/ros-amd64-bringup/; revision=37429
2008-11-18 00:41:47 +00:00
Timo Kreuzer
682555b37e RtlWalkFrameChain:
- stop when we leave the stack or Rip gets 0

svn path=/branches/ros-amd64-bringup/; revision=37428
2008-11-18 00:39:39 +00:00
Timo Kreuzer
7df503962d remove kernel32 dependency from mingw.rbuild
svn path=/branches/ros-amd64-bringup/; revision=37427
2008-11-18 00:32:20 +00:00
Timo Kreuzer
9726adc85e "[00:08] Stefan100: 5) Alex_Ionescu will have your head"
Well, no risk, no fun... ;-)
Implement RtlpGetStackLimits

svn path=/branches/ros-amd64-bringup/; revision=37426
2008-11-18 00:31:22 +00:00
Timo Kreuzer
83991b3750 Implement RtlGetCallersAddress
svn path=/branches/ros-amd64-bringup/; revision=37425
2008-11-17 23:24:59 +00:00
Timo Kreuzer
ec5a72dda9 StackLimit < StackBase! Rename parameters in prototype of RtlpGetStackLimits to LowLimit and HighLimit.
svn path=/branches/ros-amd64-bringup/; revision=37424
2008-11-17 22:24:54 +00:00
Timo Kreuzer
cc2e388034 ...and remove it from amd64stubs.c
svn path=/branches/ros-amd64-bringup/; revision=37420
2008-11-17 19:53:18 +00:00
Timo Kreuzer
48d69bb1fc Add RtlUnwind stub to rtl...
svn path=/branches/ros-amd64-bringup/; revision=37419
2008-11-17 19:52:30 +00:00
Timo Kreuzer
f94841be68 Remove even more stubs
svn path=/branches/ros-amd64-bringup/; revision=37418
2008-11-17 19:48:00 +00:00
Timo Kreuzer
21dbc05113 remove more stubs
svn path=/branches/ros-amd64-bringup/; revision=37417
2008-11-17 19:26:58 +00:00
Timo Kreuzer
a2c562c00b ntoskrnl:
- Use generic Interlocked functions for amd64, too
- use generic rbuild file (2 hax left)
- add baseaddress for ntoskrnl
- update and sort amd64stubs

svn path=/branches/ros-amd64-bringup/; revision=37410
2008-11-17 16:24:37 +00:00
Samuel Serapion
b89fdd3cc2 - Use TARGET_CPPFLAGS, needs latest ROSBE.
- Link crt runtime to dlls too.

svn path=/branches/ros-amd64-bringup/; revision=37392
2008-11-17 06:08:13 +00:00
Samuel Serapion
20092b5ba7 - call __main (C++ initialization) gcc inserts this call automatically for a function called "main", but not for "wmain" fixes explorer
- support pseudo runtime relocation v2.
- re-enable commented out code for security cookies.
- rename entry point __tmainCRTStartup.
- gccmain.c re-add comment explaining this file's purpose.

svn path=/branches/ros-amd64-bringup/; revision=37391
2008-11-17 05:51:18 +00:00
Timo Kreuzer
7a6bb9e3e7 RtlCaptureContext can throw an exception. As we need to push the flags on the stack, we need to create unwind info to make sure we can properly unwind. So instead of pushing the flags and then popping them back, push them on the stack at the beginning of the function, reference the location later, clean up the stack at the function end. Also add .cif_adjust_cfa_offset unwind op.
svn path=/branches/ros-amd64-bringup/; revision=37370
2008-11-15 01:21:50 +00:00
Samuel Serapion
da81081fc1 Kill auto-import insurgent.
svn path=/branches/ros-amd64-bringup/; revision=37354
2008-11-14 05:53:40 +00:00
Samuel Serapion
13ddfe0c4a Kill auto-import insurgent.
svn path=/branches/ros-amd64-bringup/; revision=37353
2008-11-14 05:53:00 +00:00
Samuel Serapion
6043e97ff0 Correct definitions for WIN32 and WIN64.
svn path=/branches/ros-amd64-bringup/; revision=37352
2008-11-14 05:51:46 +00:00
Samuel Serapion
7ef39ab041 Declare war, shock and awe, and utterly defeat auto-import in one day.
svn path=/branches/ros-amd64-bringup/; revision=37351
2008-11-14 05:49:21 +00:00
Timo Kreuzer
31f36a74b1 Forgot this one
svn path=/branches/ros-amd64-bringup/; revision=37334
2008-11-13 04:54:47 +00:00
Timo Kreuzer
1bc69803f8 ULONG -> ULONG_PTR in KeRosDumpStackFrames
svn path=/branches/ros-amd64-bringup/; revision=37333
2008-11-13 04:48:07 +00:00
Timo Kreuzer
f391b2f222 Initial Implementations of RtlVirtualUnwind and RtlWalkFrameChain. They are not yet perfect, but unwinding works!
svn path=/branches/ros-amd64-bringup/; revision=37332
2008-11-13 04:17:53 +00:00
Timo Kreuzer
714e1a9b56 Remove RtlCaptureContext from stubs
svn path=/branches/ros-amd64-bringup/; revision=37331
2008-11-13 04:06:02 +00:00
Timo Kreuzer
fe2843026f RtlCaptureContext:
- Don't safe the current rsp, but the one before calling the function.
- Try to optimize a bit by moving stuff around

svn path=/branches/ros-amd64-bringup/; revision=37330
2008-11-13 04:05:06 +00:00
Timo Kreuzer
1e2be3b9a7 Fix a bug in DeDecodeU/Sleb128, resulting in wrong allocation unwind codes. Add some debugging stuff.
svn path=/branches/ros-amd64-bringup/; revision=37329
2008-11-13 03:32:09 +00:00
Timo Kreuzer
e428d08732 - Implement RtlCaptureContext
- Reenable KeRosDumpStackFrames

svn path=/branches/ros-amd64-bringup/; revision=37324
2008-11-12 23:38:33 +00:00
Timo Kreuzer
88f62c6544 Add CONTEXT offsets to asm.h
svn path=/branches/ros-amd64-bringup/; revision=37323
2008-11-12 23:03:17 +00:00
Timo Kreuzer
71d1bca21f Use PULONG instead of PSIZE_T in DefaultQueryInfoBufferCheck. Fixes 5 warnings, creates 1.
svn path=/branches/ros-amd64-bringup/; revision=37322
2008-11-12 23:02:22 +00:00
Timo Kreuzer
b5cbca16f7 Make sure we don't parse instructions beyond the eh_frame section. Looks like in some cases the last Fde isn't terminated with a 0 Length field.
svn path=/branches/ros-amd64-bringup/; revision=37320
2008-11-12 21:30:16 +00:00
Timo Kreuzer
f3668beb0c Implement RtlLookupFunctionTable, RtlLookupFunctionEntry and a usermode/kernelmode version of RtlpLookupModuleBase helper function.
svn path=/branches/ros-amd64-bringup/; revision=37308
2008-11-12 15:24:40 +00:00
Timo Kreuzer
3005f566a0 Add UNWIND_HISTORY_TABLE_ENTRY and UNWIND_HISTORY_TABLE
svn path=/branches/ros-amd64-bringup/; revision=37307
2008-11-12 15:23:16 +00:00
Timo Kreuzer
9ae42204ec Warn if a section doesn't fit into the ImageSize
svn path=/branches/ros-amd64-bringup/; revision=37306
2008-11-12 14:43:25 +00:00
Timo Kreuzer
7db1ae03ba Oops, fix SizeOfImage
svn path=/branches/ros-amd64-bringup/; revision=37305
2008-11-12 14:39:46 +00:00
Timo Kreuzer
f1648ec5f2 Update SizeOfImage in PE header, fixes boot.
svn path=/branches/ros-amd64-bringup/; revision=37302
2008-11-12 12:30:19 +00:00
Samuel Serapion
e2f5a5dda0 Add the architecture to the iso name.
svn path=/branches/ros-amd64-bringup/; revision=37301
2008-11-12 09:22:54 +00:00
Timo Kreuzer
47c9fd4484 revert changes in reactos.dff
svn path=/branches/ros-amd64-bringup/; revision=37300
2008-11-12 05:30:34 +00:00
Timo Kreuzer
7ac869cef9 Also update ntoskrnl linkerflag.
svn path=/branches/ros-amd64-bringup/; revision=37294
2008-11-11 21:57:15 +00:00
Timo Kreuzer
3fdd600cf9 Add a linkerflag to make sure we get an .eh_frame section. Todo: Get it at the end of the executable, so we can safely remove it. Remove duplicate disable-stdcall-fixup
Fixes build.

svn path=/branches/ros-amd64-bringup/; revision=37293
2008-11-11 21:51:53 +00:00
Timo Kreuzer
3a5f46ce71 Implement rsym64.
This replaces rsym on x64 target. It parses the gcc generated DWARF2 unwind info and translates it into Windows compatible unwind info. Scope tables are not yet implemented.
This commit is dediated to kjk_hyperion

svn path=/branches/ros-amd64-bringup/; revision=37291
2008-11-11 19:51:30 +00:00
Samuel Serapion
e443742673 Don't randomly comment out code. Probably fixes kdb cont command.
svn path=/branches/ros-amd64-bringup/; revision=37288
2008-11-11 13:52:40 +00:00
Timo Kreuzer
520d8e7c94 give rsym it's own directory
svn path=/branches/ros-amd64-bringup/; revision=37282
2008-11-10 14:55:23 +00:00
Samuel Serapion
353e29a6a9 - Merge to trunk r37270.
- Modified rbuild files to conform to trunk.
- Added spec file for bzip2
- Covert user32 to use pspec and use it for WIN64 specific exports.
- Added liboldnames in rbuild, needed to fix explorer build.
- Comented out code in mingw startup lib that requires linking to kernel32 (mostly security cookie code, which is not used).
- Remove unneeded stubs from amd64stubs.c
- i386 builds again, explorer crashes, need to investigate further.

svn path=/branches/ros-amd64-bringup/; revision=37279
2008-11-10 13:52:28 +00:00
Samuel Serapion
f46779fc7d - Remove #ifdef _WIN64 hack in favor of __MINGW_GNUC_PREREQ for pragma macros.
- Remove other hacks.
- Sync to mingw-w64 trunk.
- Prepare a bit for upcoming auto-import war (not _mingw.h)

svn path=/branches/ros-amd64-bringup/; revision=37278
2008-11-10 13:27:59 +00:00
Timo Kreuzer
99edb23b98 Add DWARF debug sections to ntoskrnl linker script
svn path=/branches/ros-amd64-bringup/; revision=37236
2008-11-06 23:05:42 +00:00
Timo Kreuzer
f3177fc118 Don't strip symbolic information from files. In the near future rsym will convert it into Windows compatible unwind info.
svn path=/branches/ros-amd64-bringup/; revision=37235
2008-11-06 22:55:04 +00:00
Timo Kreuzer
80b4cfa04c Fix scsiport, by using pspec again.
svn path=/branches/ros-amd64-bringup/; revision=37234
2008-11-06 22:50:47 +00:00
Samuel Serapion
736c5a9698 Fix explorer build a bit more.
svn path=/branches/ros-amd64-bringup/; revision=37123
2008-11-01 00:31:10 +00:00
Samuel Serapion
406128c037 Fix explorer build a bit.
svn path=/branches/ros-amd64-bringup/; revision=37122
2008-11-01 00:30:48 +00:00
Timo Kreuzer
90b83179f7 Add explorer back to shell.rbuild. It doesn't compile atm.
svn path=/branches/ros-amd64-bringup/; revision=37101
2008-10-30 14:15:58 +00:00
Timo Kreuzer
698706d107 - add mising files to mingw library
- readd getopt (needed by dosfsck)
- reorder alphabetically

svn path=/branches/ros-amd64-bringup/; revision=37100
2008-10-30 14:14:06 +00:00
Timo Kreuzer
5a73314ad0 add O_ACCMODE
svn path=/branches/ros-amd64-bringup/; revision=37096
2008-10-30 12:55:23 +00:00
Timo Kreuzer
7d9ca3dd86 remove ntoskrnl.spec
svn path=/branches/ros-amd64-bringup/; revision=37089
2008-10-30 10:01:33 +00:00
Timo Kreuzer
1ba34e4317 sync to trunk head (37079)
svn path=/branches/ros-amd64-bringup/; revision=37088
2008-10-30 09:59:28 +00:00
Timo Kreuzer
cc9ff1e194 sync trunk head (37032)
svn path=/branches/ros-amd64-bringup/; revision=37034
2008-10-27 21:51:13 +00:00
Stefan Ginsberg
6abc9b3490 - Remove broken KGDT_64_R3_TEB
svn path=/branches/ros-amd64-bringup/; revision=37022
2008-10-27 14:09:17 +00:00
Timo Kreuzer
3f09a26b0b update videoprt.spec, add some exports found on vista64 and reorder some functions alphabetically
svn path=/branches/ros-amd64-bringup/; revision=37021
2008-10-27 13:52:52 +00:00
Timo Kreuzer
e4a9e9d8dd On x64 the 64 bit ring3 teb (gs) shares the generic 64 bit data selector, while the 32 bit teb (fs) has it's own selector.
svn path=/branches/ros-amd64-bringup/; revision=37019
2008-10-27 13:00:44 +00:00
Stefan Ginsberg
054ccf1593 - Remove ntdll exports not applicable for amd64, fix a couple of broken export names and stub out RtlInitializeCriticalSectionEx until its parameters are determined
- Add rtl and ntdll stubs for arch specific routines
- Now ntdll almost links, but some missing crt support is left to do

svn path=/branches/ros-amd64-bringup/; revision=37004
2008-10-26 21:35:03 +00:00
Stefan Ginsberg
a9ef487300 - Convert to .spec
svn path=/branches/ros-amd64-bringup/; revision=36993
2008-10-26 15:34:08 +00:00
Stefan Ginsberg
3120b5e9f9 - Fix csrss compilation (treat handles as pointer sized, use SIZE_T where appropriate)
svn path=/branches/ros-amd64-bringup/; revision=36992
2008-10-26 15:23:00 +00:00
Stefan Ginsberg
1d619ca266 - Fix function definitions to match header changes
- Don't use x86 fiber assembly for amd64, just stub it out completely
- Use AMD64 definitions in BasepInitializeContext, and add a broken KGDT_64_R3_TEB

svn path=/branches/ros-amd64-bringup/; revision=36990
2008-10-26 14:45:13 +00:00
Stefan Ginsberg
b58ab412df - Make user32 compile and link by defining Get/SetClass/WindowLongPtrA/W
svn path=/branches/ros-amd64-bringup/; revision=36988
2008-10-26 14:25:12 +00:00
Samuel Serapion
1ca859a549 - Fix user32 compilation errors.
- Don't let stefan steal the glory.

svn path=/branches/ros-amd64-bringup/; revision=36987
2008-10-26 13:56:59 +00:00
Stefan Ginsberg
5d8f94e352 - When doing pointer arithmetic, ULONG_PTR is your friend
svn path=/branches/ros-amd64-bringup/; revision=36972
2008-10-25 22:57:16 +00:00
Stefan Ginsberg
02a9619cec - Don't typedef ULONG_PTR to a 32-bit value
svn path=/branches/ros-amd64-bringup/; revision=36971
2008-10-25 22:48:28 +00:00
Stefan Ginsberg
fa5b3a90b9 - Make videoprt compile for 64-bit
- Disable Int10 support as it uses x86 specific structures (is this support still available on amd64?)
- Disable VideoPortEnable/DisableInterrupt -- HalEnable/DisableSystemInterrupt are not apparently present on NT AMD64, so need to figure out what else to use (and if these routine are still present on amd64 videoprt)

svn path=/branches/ros-amd64-bringup/; revision=36969
2008-10-25 22:33:55 +00:00
Stefan Ginsberg
e26b785954 - Fix DXG 64-bit compilation (fix not entirely correct though)
svn path=/branches/ros-amd64-bringup/; revision=36964
2008-10-25 18:18:03 +00:00
Stefan Ginsberg
2121dff3f7 - Make serial build for 64 bit -- explicitly cast first parameter to InterlockedCompareExchangePointer
to PVOID (not needed, with ros headers, on 32-bit for whatever reason)

svn path=/branches/ros-amd64-bringup/; revision=36961
2008-10-25 17:58:43 +00:00
Stefan Ginsberg
b1fb36d594 - Fix isapnp compilation for 64-bit
svn path=/branches/ros-amd64-bringup/; revision=36958
2008-10-25 17:50:42 +00:00
Stefan Ginsberg
c194188c58 - Fix AFD compilation for 64-bit (treat handles as ULONG_PTR-sized)
- Also correct Winsock's SOCKET definition

svn path=/branches/ros-amd64-bringup/; revision=36953
2008-10-25 17:15:23 +00:00
Stefan Ginsberg
fb787b7deb - More correct MmGetSystemAddressForMdlSafe macro
svn path=/branches/ros-amd64-bringup/; revision=36952
2008-10-25 16:26:30 +00:00
Stefan Ginsberg
360b21c776 - Fix ne2000 compilation (treat pointer size as ULONG_PTR, correct function prototypes)
svn path=/branches/ros-amd64-bringup/; revision=36951
2008-10-25 16:12:03 +00:00
Stefan Ginsberg
12569cc78d - Fix NTFS FSD compilation (correct 2 casts)
svn path=/branches/ros-amd64-bringup/; revision=36949
2008-10-25 16:00:42 +00:00
Samuel Serapion
874dc97717 - Remove merge artifact
- Fix user32 spec.
- Fix userenv.rbuild

svn path=/branches/ros-amd64-bringup/; revision=36937
2008-10-25 08:57:39 +00:00
Samuel Serapion
18fd3fd66b Fix build after widl changes.
svn path=/branches/ros-amd64-bringup/; revision=36936
2008-10-25 08:22:11 +00:00
Samuel Serapion
7d76ec86b6 - Covert to spec.
- Fix 64bit build.
- Could benefit from a WINE sync. ;)

svn path=/branches/ros-amd64-bringup/; revision=36935
2008-10-25 07:58:51 +00:00
Samuel Serapion
47867bdabc Fix more rbuild files and fix up gdi32 and glu32 spec files.
svn path=/branches/ros-amd64-bringup/; revision=36930
2008-10-25 07:04:51 +00:00
Timo Kreuzer
0aec5330db sync to trunk head (36925)
svn path=/branches/ros-amd64-bringup/; revision=36926
2008-10-24 20:58:06 +00:00
Timo Kreuzer
24967a19d4 fix ntoskrnl spec file
svn path=/branches/ros-amd64-bringup/; revision=36925
2008-10-24 20:53:05 +00:00
Samuel Serapion
20e0231813 - Sync to trunk 36919.
- Modified a few rbuild files to conform to trunk rbuild.

svn path=/branches/ros-amd64-bringup/; revision=36924
2008-10-24 19:20:07 +00:00
Timo Kreuzer
80dff8a900 merge trunk changes to r36869
svn path=/branches/ros-amd64-bringup/; revision=36923
2008-10-24 17:19:17 +00:00
Samuel Serapion
9e9ba41f71 Reorganize a bit, remove unneeded .
svn path=/branches/ros-amd64-bringup/; revision=36910
2008-10-23 15:18:23 +00:00
Samuel Serapion
0b4379ec37 Ntdll build fixes.
svn path=/branches/ros-amd64-bringup/; revision=36909
2008-10-23 15:09:55 +00:00
Samuel Serapion
0fd068c2b3 Fix 64bit build.
svn path=/branches/ros-amd64-bringup/; revision=36908
2008-10-23 14:52:38 +00:00
Samuel Serapion
a641a8d16b Fix taskmgr build after GetProcessAffinityMask definition change.
svn path=/branches/ros-amd64-bringup/; revision=36907
2008-10-23 14:43:08 +00:00
Samuel Serapion
87ac3a92a3 - Fix definitions of CDHOOKPROC, PROC, FARPROC, NEARPROC
- Fix definitions of SYSTEM_INFO, COMPAREITEMSTRUCT, COPYDATASTRUCT, DELETEITEMSTRUCT, DRAWITEMSTRUCT, MENUITEMINFOA/W, HELPINFO, MSGBOXPARAMSA/W, MOUSEHOOKSTRUCT, DROPSTRUCT, KBDLLHOOKSTRUCT
- Fix definitions of GetProcessAffinityMask, SetProcessAffinityMask, DragObject, InsertMenuA/W, ModifyMenuA/W, WinHelpA/W, RT_GROUP_CURSOR, RT_GROUP_ICON
- Fix Treeview in 64bit regedit.
- Patch by Daniel Verkamp.

svn path=/branches/ros-amd64-bringup/; revision=36906
2008-10-23 14:27:06 +00:00
Samuel Serapion
f5bb33d51f Fix ScmGetServiceEntryByClientHandle definition.
svn path=/branches/ros-amd64-bringup/; revision=36903
2008-10-23 04:12:08 +00:00
Samuel Serapion
ec4d73dafc WTH happened here!?
svn path=/branches/ros-amd64-bringup/; revision=36902
2008-10-23 03:53:09 +00:00
Samuel Serapion
0d08f181b5 - Fix NMHDR definition. noticed by Daniel Verkamp.
- Fixes taskmgr(and other) tabs on windows 64!!!

svn path=/branches/ros-amd64-bringup/; revision=36901
2008-10-23 03:28:07 +00:00
Samuel Serapion
ba40b225d6 - Fix COMBOBOXEXITEA/W noticed by Daniel Verkamp.
- Fixes 64bit wordpad crash on windows 64!!!

svn path=/branches/ros-amd64-bringup/; revision=36900
2008-10-23 03:14:39 +00:00
Samuel Serapion
58309240e4 - Fix modMessage definition
- Fix beepmidi build.

svn path=/branches/ros-amd64-bringup/; revision=36899
2008-10-23 02:59:56 +00:00
Samuel Serapion
64f8abb126 - Fix CryptReleaseContext definition.
- Make SERVICE_STATUS_HANDLE and CLIENT_HANDLE HANDLEs.
- Fix  LSAPR_HANDLE, SC_RPC_HANDLE definitions.
- Fixes 64bit advapi32 build.

svn path=/branches/ros-amd64-bringup/; revision=36898
2008-10-23 02:25:18 +00:00
Samuel Serapion
e2f4cae55d Revert last. (rtl straggler)
svn path=/branches/ros-amd64-bringup/; revision=36886
2008-10-22 02:07:16 +00:00
Timo Kreuzer
c6441a9d8a revert rtl build changes
svn path=/branches/ros-amd64-bringup/; revision=36865
2008-10-20 23:40:10 +00:00
Samuel Serapion
868810d82e delete this directory as in trunk
svn path=/branches/ros-amd64-bringup/; revision=36863
2008-10-20 21:37:19 +00:00
Samuel Serapion
bf6e7fe2de Merge to trunk HEAD(r36856)
svn path=/branches/ros-amd64-bringup/; revision=36862
2008-10-20 21:36:03 +00:00
Timo Kreuzer
7bbdd89880 Some ULONG -> SIZE_T / ULONG_PTR fixes
svn path=/branches/ros-amd64-bringup/; revision=36854
2008-10-20 19:15:40 +00:00
Timo Kreuzer
d5e22f2032 remove functions from stubs file, fix some warnings
svn path=/branches/ros-amd64-bringup/; revision=36853
2008-10-20 19:12:41 +00:00
Timo Kreuzer
66c6550f74 Some ULONG -> SIZE_T / ULONG_PTR fixes
svn path=/branches/ros-amd64-bringup/; revision=36852
2008-10-20 19:11:57 +00:00
Timo Kreuzer
c7d59695f9 sync to trunk revision 36700
svn path=/branches/ros-amd64-bringup/; revision=36847
2008-10-20 16:20:34 +00:00
Timo Kreuzer
3552ed757c sync to trunk revision 36500
svn path=/branches/ros-amd64-bringup/; revision=36846
2008-10-20 15:46:20 +00:00
Timo Kreuzer
d78c49b82f sync to trunk revision 36100
svn path=/branches/ros-amd64-bringup/; revision=36845
2008-10-20 15:13:53 +00:00
Timo Kreuzer
c54e4eca9e display unexpected interrupts
svn path=/branches/ros-amd64-bringup/; revision=36842
2008-10-20 12:22:41 +00:00
Timo Kreuzer
c52881dbc7 - set the new idt in the pcr
svn path=/branches/ros-amd64-bringup/; revision=36841
2008-10-20 12:21:07 +00:00
Timo Kreuzer
942724fb7c fix __rdtsc on amd64 build, "=A" doesn't work.
svn path=/branches/ros-amd64-bringup/; revision=36840
2008-10-20 12:17:06 +00:00
Samuel Serapion
0139a4e5b8 Set svn:eol-style property
svn path=/branches/ros-amd64-bringup/; revision=36734
2008-10-12 19:15:57 +00:00
Samuel Serapion
3c567dc399 Stub setjmp and longjmp on freetype. This hack should be removed.
svn path=/branches/ros-amd64-bringup/; revision=36726
2008-10-12 07:17:20 +00:00
Samuel Serapion
df93fedafe Fix: "1" may not appear in macro parameter list
svn path=/branches/ros-amd64-bringup/; revision=36725
2008-10-12 06:58:31 +00:00
Timo Kreuzer
ec98fd847a Sorry forgot this one. Fix build.
svn path=/branches/ros-amd64-bringup/; revision=36710
2008-10-10 23:35:34 +00:00
Samuel Serapion
391bcc6b31 Finally convert gdi32 to spec file.
svn path=/branches/ros-amd64-bringup/; revision=36673
2008-10-07 04:05:18 +00:00
Samuel Serapion
5d353cec4c Fix incorrect parameter counts for NtGdiEngCreateBitmap, NtGdiEngCreateDeviceSurface, NtGdiEngCreateDeviceBitmap.
Don't worry these were just stubs.

svn path=/branches/ros-amd64-bringup/; revision=36672
2008-10-07 04:03:36 +00:00
Samuel Serapion
389a6ea683 Convert to spec.
Fix definitions (taken from WINE).

svn path=/branches/ros-amd64-bringup/; revision=36614
2008-10-01 16:39:19 +00:00
Timo Kreuzer
de42bbb865 fix usage of InterlockedIncrement
svn path=/branches/ros-amd64-bringup/; revision=36605
2008-10-01 09:44:53 +00:00
Timo Kreuzer
f5ab6f6e18 remove duplicate definitions
svn path=/branches/ros-amd64-bringup/; revision=36570
2008-09-28 10:56:06 +00:00
Samuel Serapion
5ebf3324ac Work around bug 3746. Use arch specific def files.
svn path=/branches/ros-amd64-bringup/; revision=36562
2008-09-28 08:47:44 +00:00
Timo Kreuzer
050cbc0040 Fix the "fix".
svn path=/branches/ros-amd64-bringup/; revision=36511
2008-09-25 15:56:14 +00:00
Samuel Serapion
9efd1ef0be Convert to spec.
Protect _WIN32_WINNT from redefinition warning.

svn path=/branches/ros-amd64-bringup/; revision=36505
2008-09-25 05:43:26 +00:00
Samuel Serapion
6f35805a28 Fix redefinition warning.
svn path=/branches/ros-amd64-bringup/; revision=36504
2008-09-25 05:15:16 +00:00
Samuel Serapion
fd1faed0cf Remove hack in cstub.c, it was caused by a hack in the rbuild file.
Fix fill_table() definition for non i386.

svn path=/branches/ros-amd64-bringup/; revision=36503
2008-09-25 05:13:21 +00:00
Samuel Serapion
fa7128be01 - Convert to spec.
- No need to assert an offset thats only used in i386 specific code.

svn path=/branches/ros-amd64-bringup/; revision=36502
2008-09-25 04:27:03 +00:00
Samuel Serapion
0a516495af Small 64bit fix.
svn path=/branches/ros-amd64-bringup/; revision=36477
2008-09-24 12:33:59 +00:00
Timo Kreuzer
d84724a86e add gdi32.spec taken from wine 1.13
svn path=/branches/ros-amd64-bringup/; revision=36476
2008-09-24 12:21:04 +00:00
Samuel Serapion
9d500537c2 - Fix ReadProcessMemory and Toolhelp32ReadProcessMemory definitions.
- Numerous 64bit fixes.
- Remove useless cast.
- Remove Fls API exports as per trunk.

svn path=/branches/ros-amd64-bringup/; revision=36475
2008-09-24 12:03:27 +00:00
Samuel Serapion
a870b6d07f Fix ReadProcessMemory and Toolhelp32ReadProcessMemory prototypes.
svn path=/branches/ros-amd64-bringup/; revision=36474
2008-09-24 12:01:07 +00:00
Samuel Serapion
3686c8090f remove unneeded "fixes"
svn path=/branches/ros-amd64-bringup/; revision=36473
2008-09-24 11:38:39 +00:00
Samuel Serapion
bb39afaeaf Convert to spec. Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36470
2008-09-24 10:52:32 +00:00
Samuel Serapion
bfd898eae6 Fix NetLocalGroupGetMembers prototype.
svn path=/branches/ros-amd64-bringup/; revision=36469
2008-09-24 10:50:50 +00:00
Timo Kreuzer
274b9d1f57 Add MemoryBarrier definition for amd64
svn path=/branches/ros-amd64-bringup/; revision=36468
2008-09-24 10:45:58 +00:00
Samuel Serapion
5ea1818ff4 Convert to spec. two for the price of one.
svn path=/branches/ros-amd64-bringup/; revision=36467
2008-09-24 10:45:05 +00:00
Samuel Serapion
629e99b314 Convert to spec. Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36466
2008-09-24 10:41:39 +00:00
Samuel Serapion
2edf435328 Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36465
2008-09-24 10:41:07 +00:00
Samuel Serapion
b57f969783 Minor 64bit fix.
svn path=/branches/ros-amd64-bringup/; revision=36464
2008-09-24 10:35:36 +00:00
Samuel Serapion
fe87d3cecc Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36463
2008-09-24 10:33:46 +00:00
Samuel Serapion
d4c08202f8 Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36462
2008-09-24 10:28:59 +00:00
Samuel Serapion
6e56a5e40b Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36461
2008-09-24 10:26:21 +00:00
Samuel Serapion
a41608c1c6 Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36460
2008-09-24 10:18:20 +00:00
Samuel Serapion
cadf2f6abb Convert to spec.
Sprinkle IntToPtr all over mouse.c

svn path=/branches/ros-amd64-bringup/; revision=36458
2008-09-24 10:05:05 +00:00
Samuel Serapion
3a756711d4 Convert to spec.
Use tabs in rbuild file.

svn path=/branches/ros-amd64-bringup/; revision=36457
2008-09-24 09:51:33 +00:00
Samuel Serapion
7bb3cd360e Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36456
2008-09-24 09:49:25 +00:00
Samuel Serapion
3f5eb93b23 Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36455
2008-09-24 09:48:04 +00:00
Samuel Serapion
4aae8ef4d5 Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36454
2008-09-24 09:44:39 +00:00
Samuel Serapion
9128270195 Convert to spec.
svn path=/branches/ros-amd64-bringup/; revision=36453
2008-09-24 09:41:42 +00:00
Samuel Serapion
778d48d1a6 Convert appwiz.cpl to spec
svn path=/branches/ros-amd64-bringup/; revision=36452
2008-09-24 09:39:44 +00:00
Samuel Serapion
bcd1bf1cd6 Sorry, these are DialogBoxParams.:(
svn path=/branches/ros-amd64-bringup/; revision=36448
2008-09-24 07:33:48 +00:00
Samuel Serapion
684afa4491 Fix 64bit warnings/errors.
svn path=/branches/ros-amd64-bringup/; revision=36447
2008-09-24 05:08:25 +00:00
Samuel Serapion
2d4bc30909 It is blasphemy to say that DLGPROC returns BOOL.
svn path=/branches/ros-amd64-bringup/; revision=36446
2008-09-24 05:06:55 +00:00
Samuel Serapion
86109204bf Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36445
2008-09-24 04:36:35 +00:00
Samuel Serapion
da929aff6b Fix 64bit warning.
svn path=/branches/ros-amd64-bringup/; revision=36444
2008-09-24 04:24:45 +00:00
Samuel Serapion
5baf01f96f Remove references to Infp Functions that collide with inflib names, call the actual functions instead of making small functions that shared the same parameters and just called into inflib anyway, with no changes whatsoever.
Make InfpGetIntField's 3rd parameter an INT*

svn path=/branches/ros-amd64-bringup/; revision=36443
2008-09-24 04:07:16 +00:00
Timo Kreuzer
91fa4b7fd0 rename .spec to .pspec
svn path=/branches/ros-amd64-bringup/; revision=36397
2008-09-21 22:38:52 +00:00
Timo Kreuzer
0e258751a6 use precompiler for .pspec files
svn path=/branches/ros-amd64-bringup/; revision=36396
2008-09-21 22:37:57 +00:00
Timo Kreuzer
6bcc5a5626 revert 36379
svn path=/branches/ros-amd64-bringup/; revision=36395
2008-09-21 22:34:38 +00:00
Timo Kreuzer
dfb5b8873c fix spec file
svn path=/branches/ros-amd64-bringup/; revision=36393
2008-09-21 21:04:40 +00:00
Timo Kreuzer
274bc28882 - add ctxswitch.S
- compile cmhardwr.c from i386

svn path=/branches/ros-amd64-bringup/; revision=36392
2008-09-21 20:56:19 +00:00
Timo Kreuzer
076b5a9b06 fix function description comments
svn path=/branches/ros-amd64-bringup/; revision=36391
2008-09-21 20:15:15 +00:00
Timo Kreuzer
57ab050fcd - fix a typo
- add some prototypes

svn path=/branches/ros-amd64-bringup/; revision=36389
2008-09-21 19:17:53 +00:00
Timo Kreuzer
d62eba47ce implement SetInterruptGate for amd64 and fix APIC_DEFAULT_BASE
svn path=/branches/ros-amd64-bringup/; revision=36388
2008-09-21 19:05:48 +00:00
Timo Kreuzer
caf56ecbd3 MS symbols say that the KPRCB member VebdorString is an array of UCHARs, not CHARs.
svn path=/branches/ros-amd64-bringup/; revision=36387
2008-09-21 18:53:48 +00:00
Timo Kreuzer
941fdb3f0b Implement some functions that are forwarded to HAL on x86 build, but not on x64. Modify spec file (use preprocessor macro). Now scsiport can be loaded and freeldr doesn't complain about missing imports.
svn path=/branches/ros-amd64-bringup/; revision=36380
2008-09-21 14:40:17 +00:00
Timo Kreuzer
416333a946 preprocess all spec files
svn path=/branches/ros-amd64-bringup/; revision=36379
2008-09-21 14:34:48 +00:00
Timo Kreuzer
52babc02da Make MmGetPageDirectory an inline function
svn path=/branches/ros-amd64-bringup/; revision=36361
2008-09-21 00:47:15 +00:00
Timo Kreuzer
fb201758c1 use FIELD_OFFSET instead of a constant
svn path=/branches/ros-amd64-bringup/; revision=36360
2008-09-21 00:45:49 +00:00
Timo Kreuzer
a59ab56e6b - fix a typo
- silence debug output

svn path=/branches/ros-amd64-bringup/; revision=36355
2008-09-20 15:34:59 +00:00
Timo Kreuzer
96b5b93d6b Map the APIC page.
svn path=/branches/ros-amd64-bringup/; revision=36343
2008-09-20 09:33:53 +00:00
Timo Kreuzer
7f388bab02 fix some 64 bit warnings
svn path=/branches/ros-amd64-bringup/; revision=36332
2008-09-19 22:42:40 +00:00
Timo Kreuzer
afd9bec15b fix a warning that we get since the crt header update
svn path=/branches/ros-amd64-bringup/; revision=36331
2008-09-19 22:36:18 +00:00
Samuel Serapion
ff316cad4d remove unicode="yes" on suggestion from Christoph_vW
svn path=/branches/ros-amd64-bringup/; revision=36280
2008-09-17 06:37:38 +00:00
Samuel Serapion
46fe903e03 Use build-in mechanisms(rbuild) to define UNICODE and friends.
Fix a small warning about SetWindowText.
Use correct definition of WinMain(not a CALLBACK by any means, somehow this caused real WIN64 to think this wasn't a valid application)

svn path=/branches/ros-amd64-bringup/; revision=36279
2008-09-17 05:15:51 +00:00
Samuel Serapion
dbf0f4225c Fix up win64 warnings about NtQuerySystemInformation.
svn path=/branches/ros-amd64-bringup/; revision=36274
2008-09-17 02:52:33 +00:00
Samuel Serapion
caf9aa6e7f Re-add code mistakenly removed in last sync to trunk.
Remove explorer from build.(for now)

svn path=/branches/ros-amd64-bringup/; revision=36261
2008-09-15 16:17:42 +00:00
Samuel Serapion
28f2a70107 Tidy up code a bit
svn path=/branches/ros-amd64-bringup/; revision=36260
2008-09-15 16:15:53 +00:00
Samuel Serapion
f58e2f78ce always double check late night commits.
svn path=/branches/ros-amd64-bringup/; revision=36224
2008-09-14 08:45:07 +00:00
Samuel Serapion
a4019b877f Make rsym smart enough to handle 64bit PEs.
winebuild: remove unnecessary condition.

svn path=/branches/ros-amd64-bringup/; revision=36223
2008-09-14 08:42:26 +00:00
Samuel Serapion
0e905fcd94 Fix command line passing(again), after tchar.h update.
svn path=/branches/ros-amd64-bringup/; revision=36221
2008-09-14 06:42:58 +00:00
Samuel Serapion
ba47225813 Remove hacks. Add hacks. Zero sum game?
svn path=/branches/ros-amd64-bringup/; revision=36177
2008-09-13 07:13:27 +00:00
Samuel Serapion
5c266abfd2 Move several functions out of file.c, use common code for 64bit, 32bit, unicode and non-unicode versions and provide proper definition. Fixes amd64 build of crt lib. (nothing tested)
svn path=/branches/ros-amd64-bringup/; revision=36176
2008-09-13 07:12:22 +00:00
Samuel Serapion
20695eeb01 Protect other architectures from i386 and amd64 specifics.
Disallow warnings in this module(like it was before).

svn path=/branches/ros-amd64-bringup/; revision=36175
2008-09-13 07:05:42 +00:00
Samuel Serapion
72adb4a0af Fix warnings/errors in 64bit build.
svn path=/branches/ros-amd64-bringup/; revision=36174
2008-09-13 02:00:44 +00:00
Samuel Serapion
2c8d1577ee Convert winspool to spec
svn path=/branches/ros-amd64-bringup/; revision=36173
2008-09-13 01:36:21 +00:00
Samuel Serapion
7adc5e628f Fix CreateToolBarEx.
Build as unicode.
No need to allow warnings anymore.

svn path=/branches/ros-amd64-bringup/; revision=36172
2008-09-13 00:55:13 +00:00
Samuel Serapion
391cff10a7 Fix TIMERPROC definition.
Fix CreateToolbarEx definition.

svn path=/branches/ros-amd64-bringup/; revision=36171
2008-09-13 00:52:44 +00:00
Samuel Serapion
96d080d8b3 Stop annoying warning.
svn path=/branches/ros-amd64-bringup/; revision=36146
2008-09-11 20:19:23 +00:00
Timo Kreuzer
6732b49141 Fix some warnings
svn path=/branches/ros-amd64-bringup/; revision=36098
2008-09-09 22:11:45 +00:00
Timo Kreuzer
2415d5a23a This is the amd64 branch! If arm is broken I don't care, if x86 is broken for some time, it's not that bad. But why the heck do you break amd64 build and then leave it broken? Please fix it ASAP. Yes, encoded, I mean you! - Comment out some files from crt to build bootcd again.
svn path=/branches/ros-amd64-bringup/; revision=36069
2008-09-08 22:54:32 +00:00
Timo Kreuzer
3fc7faad0d comment out some functions on AMD64 build that don't belong here.
svn path=/branches/ros-amd64-bringup/; revision=36013
2008-09-07 00:17:05 +00:00
Timo Kreuzer
6acdf6d0d2 more ulong <-> pointer fixes
svn path=/branches/ros-amd64-bringup/; revision=36012
2008-09-07 00:04:29 +00:00
Timo Kreuzer
3a18219adc Fix a ULONG to pointer cast to make out shiny new RosBE happy.
svn path=/branches/ros-amd64-bringup/; revision=36011
2008-09-06 23:56:10 +00:00
Samuel Serapion
829999d203 change stub to stdcall, less likely to fuck up the stack
svn path=/branches/ros-amd64-bringup/; revision=35994
2008-09-06 17:11:46 +00:00
Samuel Serapion
20f8660468 Fix 64 bit portability issues.
svn path=/branches/ros-amd64-bringup/; revision=35990
2008-09-06 15:53:36 +00:00
Samuel Serapion
2cca1c8750 Merge 35977. Fix 64 bit portability issues. Thanks ekohl!
svn path=/branches/ros-amd64-bringup/; revision=35989
2008-09-06 15:52:53 +00:00
Timo Kreuzer
7e2503da06 more pointer <-> ULONG cast fixes
svn path=/branches/ros-amd64-bringup/; revision=35971
2008-09-05 23:53:36 +00:00
Timo Kreuzer
de62b70a2c fix pointer <-> ULONG cast
svn path=/branches/ros-amd64-bringup/; revision=35970
2008-09-05 23:46:47 +00:00
Timo Kreuzer
48f7ad5d4c Fix and update CM_PARTIAL_RESOURCE_DESCRIPTOR
svn path=/branches/ros-amd64-bringup/; revision=35969
2008-09-05 23:35:40 +00:00
Timo Kreuzer
cc04d5e1a7 use KeAcquireSpinLockAtDpcLevel and KeReleaseSpinLockFromDpcLevel instead of KefAcquireSpinLockAtDpcLevel and KefReleaseSpinLockFromDpcLevel. Fix Size parameter of CmpAllpcate (ULONG->SIZE_T).
svn path=/branches/ros-amd64-bringup/; revision=35968
2008-09-05 23:33:38 +00:00
Timo Kreuzer
8eac8b62af use KeAcquireSpinLockAtDpcLevel and KeReleaseSpinLockFromDpcLevel instead of KefAcquireSpinLockAtDpcLevel and KefReleaseSpinLockFromDpcLevel
svn path=/branches/ros-amd64-bringup/; revision=35967
2008-09-05 22:33:50 +00:00
Timo Kreuzer
b01ff9f694 use own asm.h on amd64 builds
svn path=/branches/ros-amd64-bringup/; revision=35966
2008-09-05 22:25:27 +00:00
Timo Kreuzer
53181b207f sync to trunk head (35945)
svn path=/branches/ros-amd64-bringup/; revision=35954
2008-09-05 00:03:53 +00:00
Timo Kreuzer
291553900d fix x64 build of hal
svn path=/branches/ros-amd64-bringup/; revision=35953
2008-09-04 21:24:44 +00:00
Timo Kreuzer
cb1e57ab68 fix a typo
svn path=/branches/ros-amd64-bringup/; revision=35952
2008-09-04 21:22:14 +00:00
Timo Kreuzer
c72a03b170 Remove hacks from __addgsbyte, __addgsword, __addgsdword. They are correct on ms compiler. (fs ones still broken on x86 compiler that comes with the wdk). Implement __addgsqword.
svn path=/branches/ros-amd64-bringup/; revision=35951
2008-09-04 20:55:46 +00:00
Timo Kreuzer
8d9af3292a implement __readeflags and __writeeflags
svn path=/branches/ros-amd64-bringup/; revision=35950
2008-09-04 19:39:29 +00:00
Timo Kreuzer
16630cb368 Revert the testcode I accidentally committed.
svn path=/branches/ros-amd64-bringup/; revision=35949
2008-09-04 19:36:48 +00:00
Timo Kreuzer
399ee68de4 fix hal build on x86
svn path=/branches/ros-amd64-bringup/; revision=35948
2008-09-04 19:29:48 +00:00
Timo Kreuzer
a6a7745b55 Don't use hal_generic_pc.rbuild. Remove obsolete hal.c. Add apic.c from x86 to build. Add some stubs.
svn path=/branches/ros-amd64-bringup/; revision=35947
2008-09-04 19:11:19 +00:00
Timo Kreuzer
2b96a78f9a Make apic.c compile on amd64 build.
svn path=/branches/ros-amd64-bringup/; revision=35942
2008-09-04 17:43:00 +00:00
Timo Kreuzer
d17e988891 fix hal build
svn path=/branches/ros-amd64-bringup/; revision=35906
2008-09-03 01:14:48 +00:00
Timo Kreuzer
4463d32144 implement hal reusing most code from x86
svn path=/branches/ros-amd64-bringup/; revision=35905
2008-09-03 01:10:10 +00:00
Timo Kreuzer
f96e66ec88 update the hal/hal
svn path=/branches/ros-amd64-bringup/; revision=35904
2008-09-03 00:52:40 +00:00
Timo Kreuzer
230d014774 "fix" Ke386SaveFlags and Ke386RestoreFlags
svn path=/branches/ros-amd64-bringup/; revision=35903
2008-09-03 00:49:04 +00:00
Timo Kreuzer
89f1272447 compatability fixes, so some hal code can be shared
svn path=/branches/ros-amd64-bringup/; revision=35902
2008-09-03 00:44:50 +00:00
Timo Kreuzer
24326fcfd3 implement StringCxxCat functions. Not all flags in StringCxxCatEx are supported yet.
svn path=/branches/ros-amd64-bringup/; revision=35900
2008-09-03 00:22:12 +00:00
Samuel Serapion
31c9b2552f fix amd64 build
svn path=/branches/ros-amd64-bringup/; revision=35895
2008-09-02 22:35:20 +00:00
Samuel Serapion
cc2230125f Fix up winnt.h a bit
svn path=/branches/ros-amd64-bringup/; revision=35888
2008-09-02 15:20:23 +00:00
Samuel Serapion
99fdc570b8 Moved tchar.h out of psdk/
Update tchar.h to mingw-w64 version.
Protect WCHAR_MAX from redefine warning

svn path=/branches/ros-amd64-bringup/; revision=35887
2008-09-02 15:09:01 +00:00
Samuel Serapion
389c0e65da Copied remotely
svn path=/branches/ros-amd64-bringup/; revision=35885
2008-09-02 15:03:53 +00:00
Samuel Serapion
d3e4ae4056 Make crt call win32 time APIs, like WINE
svn path=/branches/ros-amd64-bringup/; revision=35829
2008-08-31 03:22:13 +00:00
Samuel Serapion
f6f0710efc Minor WIN64 fixes.
svn path=/branches/ros-amd64-bringup/; revision=35828
2008-08-31 03:18:20 +00:00
Samuel Serapion
e4385a44a2 minor fix.
svn path=/branches/ros-amd64-bringup/; revision=35827
2008-08-31 03:16:59 +00:00
Samuel Serapion
2f59177f5f - minor WIN64 fixes
- Remove unneeded dependencies 

svn path=/branches/ros-amd64-bringup/; revision=35826
2008-08-31 03:10:30 +00:00
Samuel Serapion
811714c03b -Actually disable TLS.
-Fix boot.

svn path=/branches/ros-amd64-bringup/; revision=35825
2008-08-31 02:53:32 +00:00
Timo Kreuzer
438b349c29 Move KeGetPcr from NDK to winddk.h
svn path=/branches/ros-amd64-bringup/; revision=35824
2008-08-31 00:07:08 +00:00
Timo Kreuzer
75c2238736 fix PCR
svn path=/branches/ros-amd64-bringup/; revision=35823
2008-08-31 00:04:06 +00:00
Samuel Serapion
6ba21a4f75 Commit WIP. Part 4 of ??
- Create separate def file for amd64
- Update rbuild files, not even these require msvcrt dependency
- define _MSVCRT_, necesary to build dll correctly

svn path=/branches/ros-amd64-bringup/; revision=35811
2008-08-30 17:01:14 +00:00
Samuel Serapion
d1e98147ed Commit WIP. Part 3 of ??
- Update crt to conform
- add some amd64 stubs

svn path=/branches/ros-amd64-bringup/; revision=35810
2008-08-30 16:55:35 +00:00
Samuel Serapion
9369532afa Commit WIP. Part 2 of ??
Update mingw32 runtime to mingw-w64 trunk
-Support for msvc 7.0 features
-TLS support disabled because ros is not ready

svn path=/branches/ros-amd64-bringup/; revision=35809
2008-08-30 16:50:58 +00:00
Samuel Serapion
5a8939d776 Commit WIP. Part 1 of ??
Update mingw32 headers to mingw-w64 trunk
-Too many changes to list 
-Important concepts:
-- _INTEGRAL_MAX_BITS
-- _USE_32BIT_TIME_T
-- _USE_64BIT_TIME_T
- adds crt secure API
- Fixes so many types its not even funny.

svn path=/branches/ros-amd64-bringup/; revision=35807
2008-08-30 16:47:26 +00:00
Samuel Serapion
b6ad488a42 remove unneeded msvcrt dependency (all win32 projects already depend on it)
svn path=/branches/ros-amd64-bringup/; revision=35805
2008-08-30 16:09:34 +00:00
Samuel Serapion
a689a4ea26 re-add missing api (fixes user32 winetest build)
svn path=/branches/ros-amd64-bringup/; revision=35804
2008-08-30 16:01:15 +00:00
Samuel Serapion
843608caa2 re-add missing api, remove unneded file
svn path=/branches/ros-amd64-bringup/; revision=35789
2008-08-30 06:49:03 +00:00
Timo Kreuzer
efdc0f4571 - implement spinlocks, based on x86 up hal code
- comment out KeInitializeSpinLock on amd64 builds (it's inlined there)
- define some fastcall functions to normal on amd64
- Update amd64 stubs
- remove wrong exports from ntokrnl

svn path=/branches/ros-amd64-bringup/; revision=35782
2008-08-30 01:44:37 +00:00
Timo Kreuzer
85e83d6573 define some fastcall functions to the normal functions on amd64
svn path=/branches/ros-amd64-bringup/; revision=35781
2008-08-30 01:42:03 +00:00
Timo Kreuzer
d1a1a9ec83 - Move KeAcquireSpinlockRaiseToSynch from ndk to ntifs.h
- Add KeTryToAcquireQueuedSpinLock to ntifs.h
- Fix Spinlock function prototypes in winddk.h

svn path=/branches/ros-amd64-bringup/; revision=35780
2008-08-30 01:01:53 +00:00
Timo Kreuzer
679cd0bc09 add needed ros specific exports back to user32.spec
svn path=/branches/ros-amd64-bringup/; revision=35778
2008-08-30 00:41:21 +00:00
Timo Kreuzer
28c2567a32 fix ws2_32 spec file
svn path=/branches/ros-amd64-bringup/; revision=35777
2008-08-30 00:25:58 +00:00
Timo Kreuzer
4bf5c9ad76 Fix user32 spec file
svn path=/branches/ros-amd64-bringup/; revision=35776
2008-08-30 00:14:36 +00:00
Timo Kreuzer
b3b3755f3b revert changes to def file from 35655, they break x86 build
svn path=/branches/ros-amd64-bringup/; revision=35775
2008-08-30 00:00:44 +00:00
Timo Kreuzer
e28ba744b1 fix crtdll build
svn path=/branches/ros-amd64-bringup/; revision=35774
2008-08-29 23:43:06 +00:00
Timo Kreuzer
acedcef326 #if out RtlExtendedIntegerMultiply and RtlExtendedLargeIntegerDivide for amd64 in winnt4.h
svn path=/branches/ros-amd64-bringup/; revision=35773
2008-08-29 23:29:19 +00:00
Timo Kreuzer
5faeebf8e0 fix for x86 build
svn path=/branches/ros-amd64-bringup/; revision=35772
2008-08-29 23:22:20 +00:00
Timo Kreuzer
a7144a6e9b remove stuff from amd64 hal that doesn't belong there
svn path=/branches/ros-amd64-bringup/; revision=35771
2008-08-29 22:47:11 +00:00
Samuel Serapion
593088a73e Convert fmifs and lsasrv to spec files.
svn path=/branches/ros-amd64-bringup/; revision=35762
2008-08-29 16:39:06 +00:00
Samuel Serapion
adfa1e69ba commit missing file
svn path=/branches/ros-amd64-bringup/; revision=35747
2008-08-29 08:09:44 +00:00
Samuel Serapion
f0c91ae971 Convert crtdll to WINE's spec file. Forwards most exports to msvcrt and reduces crtdll.dll from 328Kb to 188Kb
svn path=/branches/ros-amd64-bringup/; revision=35746
2008-08-29 07:49:31 +00:00
Timo Kreuzer
bb1ab6e781 KeAcquire/ReleaseQueuedSpinlock belong to ntoskrnl on amd64
svn path=/branches/ros-amd64-bringup/; revision=35742
2008-08-29 01:45:40 +00:00
Timo Kreuzer
df5f36896f Fix Ki386InitializeTss. Load idt in KeInitExceptions. Implement KiDebugServiceTrap. Add #ifed out threadini.c. Update Stubs. Now DbgPrints are working.
svn path=/branches/ros-amd64-bringup/; revision=35740
2008-08-29 00:38:15 +00:00
Timo Kreuzer
5d8afe00fc KGDT_TSS is 0x40 (vista 64bit).
svn path=/branches/ros-amd64-bringup/; revision=35739
2008-08-29 00:35:46 +00:00
Timo Kreuzer
5d495da9f4 Fix DebugService
svn path=/branches/ros-amd64-bringup/; revision=35738
2008-08-29 00:35:02 +00:00
Timo Kreuzer
ae1e57e747 Implement MmUpdatePageDir
svn path=/branches/ros-amd64-bringup/; revision=35737
2008-08-29 00:24:55 +00:00
Timo Kreuzer
01a5044354 Implement KegetCurrentThread inline function
svn path=/branches/ros-amd64-bringup/; revision=35736
2008-08-29 00:17:53 +00:00
Timo Kreuzer
cd09661d87 define _SSIZE_T_DEFINED when defining ssize_t
svn path=/branches/ros-amd64-bringup/; revision=35710
2008-08-27 19:54:57 +00:00
Timo Kreuzer
951d7d64e8 - implement stub EnableA20
- define MachInit to PcMachInit
- use i386 versions of machine dependend code for amd64 -> 13 files / 160 kb less

svn path=/branches/ros-amd64-bringup/; revision=35704
2008-08-27 15:41:38 +00:00
Timo Kreuzer
978a868544 - Convert PortAddress from ULONG to PUCHAR
- Fix some int <-> pointer casts
- remove useless #if __i386__
- use %p for pointer sized prints

svn path=/branches/ros-amd64-bringup/; revision=35703
2008-08-27 15:37:36 +00:00
Timo Kreuzer
fb545753be enhance macros
svn path=/branches/ros-amd64-bringup/; revision=35696
2008-08-27 14:16:04 +00:00
Timo Kreuzer
ae14158094 Add Cch functions to strsafe lib.
svn path=/branches/ros-amd64-bringup/; revision=35694
2008-08-27 03:03:39 +00:00
Timo Kreuzer
44f8969876 More fixes in strsafe.h
svn path=/branches/ros-amd64-bringup/; revision=35693
2008-08-27 03:01:25 +00:00
Timo Kreuzer
68c27c7f46 Fix some strsafe.h definitions.
svn path=/branches/ros-amd64-bringup/; revision=35692
2008-08-27 02:08:24 +00:00
Timo Kreuzer
9c0ddbba15 Optimize and shorten StringCxxLength
svn path=/branches/ros-amd64-bringup/; revision=35691
2008-08-27 01:47:34 +00:00
Timo Kreuzer
a687a42919 - Rework defines in strsafe a bit.
- Implement StringCxxLength()

svn path=/branches/ros-amd64-bringup/; revision=35690
2008-08-27 00:40:10 +00:00
Timo Kreuzer
736cebd3a6 With a few more defines, strsafe.h can now implement all functions Cb/Cch, Ansi/Unicode from a single piece of code. Implement all Cb functions in the lib (depending on the unimplemented inline versions)
svn path=/branches/ros-amd64-bringup/; revision=35689
2008-08-26 23:06:18 +00:00
Timo Kreuzer
110717948a Make kdcom x86 code 64bit compatible and use it for amd64, too. Add a DriverEntry to make ld happy.
svn path=/branches/ros-amd64-bringup/; revision=35685
2008-08-26 21:29:31 +00:00
Timo Kreuzer
2730ab38f8 If you change an rbuild file to use an arch-specific .def file, please also provide those .def files.
svn path=/branches/ros-amd64-bringup/; revision=35684
2008-08-26 20:58:04 +00:00
Timo Kreuzer
52846afa0e fix d3d9.def file and enable d3d8 and d3d9 to fix x86 build
svn path=/branches/ros-amd64-bringup/; revision=35683
2008-08-26 20:56:07 +00:00
Timo Kreuzer
405ba26351 Start a new strsafe lib. Nothing implemented so far, more something like a framework. The actual function implementation will be in the header, because the ms header allows to inline the functions. It uses recursive include to avoid code duplication. The lib uses these functions to generate the code.
svn path=/branches/ros-amd64-bringup/; revision=35682
2008-08-26 20:51:14 +00:00
Timo Kreuzer
500dc4c37a Add D3DFMT_D32_LOCKABLE and D3DFMT_S8_LOCKABLE
svn path=/branches/ros-amd64-bringup/; revision=35668
2008-08-26 12:01:58 +00:00
Timo Kreuzer
4d6c63b343 #undef Interlocked before implementing the functions on all architectures.
svn path=/branches/ros-amd64-bringup/; revision=35666
2008-08-26 11:22:30 +00:00
Samuel Serapion
40b2f18a1c Fix tcpsvcs build.
svn path=/branches/ros-amd64-bringup/; revision=35657
2008-08-26 04:12:02 +00:00
Samuel Serapion
69bb41bdc4 Remove unneeded msvcrt dependancies(all win32 modules depend on msvcrt already)
dbghelp: Don't use old style parameter lists.
kernel32: Remove stdcall decorations from amd64 asm.
user32: Convert to spec file.
console: Convert to spec file.
Misc WIN64 fixes.

svn path=/branches/ros-amd64-bringup/; revision=35655
2008-08-26 02:19:29 +00:00
Samuel Serapion
9abe4eb706 More header fixes.
svn path=/branches/ros-amd64-bringup/; revision=35652
2008-08-26 00:26:42 +00:00
Samuel Serapion
1a8d9f2429 Don't error on non-32bit builds. Still needs port.
svn path=/branches/ros-amd64-bringup/; revision=35651
2008-08-25 23:57:51 +00:00
Samuel Serapion
ee74c1b45e Don't add stdcall decorations to amd64 syscalls.
svn path=/branches/ros-amd64-bringup/; revision=35650
2008-08-25 23:55:29 +00:00
Samuel Serapion
3fa7c1f193 Fix some wrong declarations for 64bits.
svn path=/branches/ros-amd64-bringup/; revision=35645
2008-08-25 21:52:05 +00:00
Timo Kreuzer
2cd57c75dc __readcr3() returns an unsigned __int64, fix x86 MmGetPageDirectory accordingly.
svn path=/branches/ros-amd64-bringup/; revision=35644
2008-08-25 21:24:18 +00:00
Samuel Serapion
26ac2c8ab5 Convert to spec file.
svn path=/branches/ros-amd64-bringup/; revision=35642
2008-08-25 20:52:17 +00:00
Timo Kreuzer
17c45a4cd2 Move some Pcr init code into KiInitializePcr, use __sldt instead of Ke386SetLocaldescriptorTable, enable KdInitSystem
svn path=/branches/ros-amd64-bringup/; revision=35622
2008-08-25 01:30:57 +00:00
Timo Kreuzer
c305ef3554 Update stubs file
svn path=/branches/ros-amd64-bringup/; revision=35621
2008-08-25 01:06:49 +00:00
Timo Kreuzer
20ad38dd8e It's really not good coding style to pass an OUT parameter "by value" to a macro like Ke386GetGlobalDescriptorTable. The Funny thing is that due to a missing memory barrier this macro actually handled this like a "by value" parameter. Of cause this is totally incorrect and led to the strange results I was experiencing.
Use __sgdt and __sidt instead and remove the old hack.

svn path=/branches/ros-amd64-bringup/; revision=35620
2008-08-25 00:25:49 +00:00
Timo Kreuzer
001f91468e - Fix comments and comment out stmxcsr, as it crashes for some reason.
svn path=/branches/ros-amd64-bringup/; revision=35619
2008-08-25 00:12:33 +00:00
Timo Kreuzer
3ec5ec2e94 Add X86_MSR constants, implement __lgdt, __sgdt, __lldt, __sldt, __ldmxcsr, __stmxcsr, __ltr, __str intrinsics.
svn path=/branches/ros-amd64-bringup/; revision=35618
2008-08-25 00:10:15 +00:00
Timo Kreuzer
1274624c6b Implement KiSaveProcessorControlState and KiRestoreProcessorControlState
svn path=/branches/ros-amd64-bringup/; revision=35617
2008-08-24 23:51:55 +00:00
Timo Kreuzer
427feb9557 merge __readcr and __writecr x86 / x64 definitions, because they are the same. Implement __readdr and __writedr for x64.
svn path=/branches/ros-amd64-bringup/; revision=35616
2008-08-24 23:40:42 +00:00
Timo Kreuzer
2e60f5db4f Fix KeGetCurrentPrcb()
svn path=/branches/ros-amd64-bringup/; revision=35588
2008-08-24 02:47:44 +00:00
Timo Kreuzer
e73537a4e7 Fix __readgsqword, it was using a long internally. Add volatile keyword to segment addressing intrinsics. Add "memory" to clobber list on all those that do write.
svn path=/branches/ros-amd64-bringup/; revision=35587
2008-08-24 02:44:29 +00:00
Timo Kreuzer
008f576282 stub out SEH, for real this time ;-)
svn path=/branches/ros-amd64-bringup/; revision=35586
2008-08-24 02:41:12 +00:00
Timo Kreuzer
4e33928816 Implement KiSetProcessorType, KiGetCpuVendor, KiGetFeatureBits, KiGetCacheInformation, KiSetCr0Bits and KiInitializeTss based on x86 implementation. Fix and enable Code in KiInitalizeKernel, enable call to HalInitializeProcessor.
svn path=/branches/ros-amd64-bringup/; revision=35549
2008-08-23 02:11:09 +00:00
Timo Kreuzer
5190b92232 Fix Ke386SaveFlags and Ke386RestoreFlags. Rename KIDT_INIT's 3rd member to IstIndex and use it in KeInitExceptions.
svn path=/branches/ros-amd64-bringup/; revision=35548
2008-08-23 01:31:51 +00:00
Timo Kreuzer
8082ce88e5 Setup KUSER_SHARED_DATA.
svn path=/branches/ros-amd64-bringup/; revision=35547
2008-08-23 01:19:34 +00:00
Timo Kreuzer
a09e2d91b6 Fix __readmsr and __writemsr on amd64
svn path=/branches/ros-amd64-bringup/; revision=35546
2008-08-23 01:18:07 +00:00
Timo Kreuzer
71d0b42136 LdrPEProcessImportDirectoryEntry: ULONG -> ULONG_PTR to fix imports.
svn path=/branches/ros-amd64-bringup/; revision=35528
2008-08-22 13:06:39 +00:00
Timo Kreuzer
c5cef89ee9 Fix handling of stack
svn path=/branches/ros-amd64-bringup/; revision=35527
2008-08-22 12:20:01 +00:00
Timo Kreuzer
cecff4323b Move KiSystemStartup again to kiinit.c, implement an intermediate function KiInitializeKernelAndGotoIdleLoop that is now called from the asm function KiSetupStackAndInitializeKernel. This way we avoid using "hardcoded" constants.
svn path=/branches/ros-amd64-bringup/; revision=35526
2008-08-22 11:13:51 +00:00
Timo Kreuzer
adc315d4cc Fix _interlockedbittest intrinsics. For some strange reason they were working correctly on x86, the compiler seemed to know "what it means". But that doesn't work on amd64, here we need *a as "=m" operand, not a.
svn path=/branches/ros-amd64-bringup/; revision=35525
2008-08-22 10:54:47 +00:00
Timo Kreuzer
3c6891fdc8 revert my last change, yes it IS a stupid idea to mess with the stack in the middle of a C function....
svn path=/branches/ros-amd64-bringup/; revision=35524
2008-08-22 10:07:57 +00:00
Timo Kreuzer
734fd03c81 Implement KiSystemStartup in C instead of asm, implement KiSwapStack intrinsic, get rid of KiSetupStackandInitializeKernel, instead do the work in KiSystemStartupReal in C. Move Stack definitions into trap.S and get rid of the whole boot.S file. Comment out the sync loop for the moment and add a comment why it doesn't work (InterlockedBitTestAndSet64 doesn't work correctly).
svn path=/branches/ros-amd64-bringup/; revision=35518
2008-08-21 21:16:57 +00:00
Timo Kreuzer
0aaed0f738 Update syscall stubs
svn path=/branches/ros-amd64-bringup/; revision=35517
2008-08-21 21:10:17 +00:00
Timo Kreuzer
d733da9c08 Fix hal build
svn path=/branches/ros-amd64-bringup/; revision=35515
2008-08-21 20:24:34 +00:00
Timo Kreuzer
9cc6529e5e Add KeSetCurrentIrql
svn path=/branches/ros-amd64-bringup/; revision=35513
2008-08-21 18:15:23 +00:00
Timo Kreuzer
7e667e38c4 Implement KxGetCurrentIrql, KxLowerIrql, KxRaiseIrql and KxRaiseIrqlToDpcLevel and use them for the Ke/Kf exports.
svn path=/branches/ros-amd64-bringup/; revision=35512
2008-08-21 18:13:42 +00:00
Timo Kreuzer
5e2d40364e fix build ;-)
svn path=/branches/ros-amd64-bringup/; revision=35511
2008-08-21 18:10:08 +00:00
Timo Kreuzer
56d9201788 Make KeGetCurrentIrql, KeLowerIrql, KfRaiseIrql, KeRaiseIrql, KeRaiseIrqlToDpcLevel and KeRaiseIrqlToSynchLevel intrinsics as in the WDK 2008.
svn path=/branches/ros-amd64-bringup/; revision=35510
2008-08-21 18:07:45 +00:00
Timo Kreuzer
c4c7933979 On SMP builds SYNCH_LEVEL is (IPI_LEVEL - 2) or 12
svn path=/branches/ros-amd64-bringup/; revision=35509
2008-08-21 18:04:23 +00:00
Timo Kreuzer
bebc0f9c06 Implement KeGetCurrentIrql as intrinsic.
svn path=/branches/ros-amd64-bringup/; revision=35506
2008-08-21 13:33:57 +00:00
Timo Kreuzer
ae1ea8b593 Remove private __lidt definition.
svn path=/branches/ros-amd64-bringup/; revision=35505
2008-08-21 13:30:39 +00:00
Timo Kreuzer
c00498727e Implement __readcr8, __writecr8, __lidt and __sidt intrinsics.
svn path=/branches/ros-amd64-bringup/; revision=35504
2008-08-21 13:30:00 +00:00
Timo Kreuzer
0d5cd90543 Fix KiSystemStartupReal, KiGetMachineBootPointers and KiInitializePcr. Add trap.S for ISRs (unimplemented). Add except.c with KiInterruptInitTable and KeInitExceptions, initializing the IDT. Add irql.c for IRQL functions (unimplemented). Update stubs file. Based on info from http://www.msuiche.net/papers/Windows_Vista_64bits_and_unexported_kernel_symbols.pdf. We now reach KiSetupStackAndInitializeKernel, but there's a few things still missing.
svn path=/branches/ros-amd64-bringup/; revision=35496
2008-08-20 23:54:52 +00:00
Timo Kreuzer
29e9dfd5d6 Also initialize data segment descriptor in the gdt.
svn path=/branches/ros-amd64-bringup/; revision=35495
2008-08-20 23:48:28 +00:00
Timo Kreuzer
9576c5f7f6 - Add X86_MSR_GSBASE, X86_MSR_KERNEL_GSBASE constants
- Add KIDT_INIT structure for the idt init table
- Add prototypes for ISRs

svn path=/branches/ros-amd64-bringup/; revision=35494
2008-08-20 22:55:59 +00:00
Timo Kreuzer
bfb63a8031 Setup a page for the Idt and a page for the gdt + tss. Setup the newly created gdt accordingly. Set gdtr and idtr.
svn path=/branches/ros-amd64-bringup/; revision=35493
2008-08-20 22:48:47 +00:00
Timo Kreuzer
a215070e56 revert my last commit to avoid polluting other files with hack code. I am also not going to need that piece of code for amd64.
svn path=/branches/ros-amd64-bringup/; revision=35492
2008-08-20 22:38:23 +00:00
Timo Kreuzer
d4fd437f76 - fix usage of InterlockedExchangePointer
- fix ULONG -> pointer cast

svn path=/branches/ros-amd64-bringup/; revision=35461
2008-08-19 19:56:28 +00:00
Timo Kreuzer
235811bd2a Update amd64 prototypes for KeGetCurrentIrql, KfRaiseIrql, KfLowerIrql, KeRaiseIrqlToDpcLevel, KeRaiseIrqlToSynchLevel, KeLowerIrql, KeRaiseIrql
svn path=/branches/ros-amd64-bringup/; revision=35460
2008-08-19 19:28:12 +00:00
Timo Kreuzer
408520c38c forgot this one
svn path=/branches/ros-amd64-bringup/; revision=35459
2008-08-19 19:08:45 +00:00
Timo Kreuzer
c56d24853e Move some architecture specific code from KiRosPrepareForSystemStartup into KiArchInitSystem, defined for each architecture. Enable KiRosBuildReservedMemoryMap for _M_AMD64
svn path=/branches/ros-amd64-bringup/; revision=35458
2008-08-19 19:07:13 +00:00
Timo Kreuzer
53fee22a84 change the gdt in freeldr, so we will have the same longmode cs later in the kernel.
svn path=/branches/ros-amd64-bringup/; revision=35445
2008-08-19 03:00:59 +00:00
Timo Kreuzer
e113754dbf add an additional case for _AMD64_ now that we have _X86_ not defined anymore
svn path=/branches/ros-amd64-bringup/; revision=35444
2008-08-19 02:41:01 +00:00
Timo Kreuzer
efb208d11b - revert 34796, an old hack to #undef _X86_ on amd64 builds, not needed any longer
svn path=/branches/ros-amd64-bringup/; revision=35443
2008-08-19 02:39:19 +00:00
Timo Kreuzer
2c01ac7383 Get rid of the _X86_ define by using a -U compiler switch. This way it also works with PCHs, that before didn't like the #undef
svn path=/branches/ros-amd64-bringup/; revision=35442
2008-08-19 02:33:14 +00:00
Timo Kreuzer
1e73720601 - Remove obsolete LDT_ENTRY
- replace KTSS with KTSS64
- update some KGDT_xxx constants

svn path=/branches/ros-amd64-bringup/; revision=35436
2008-08-18 21:50:55 +00:00
Timo Kreuzer
b00f5679d2 - fix pointer to ulong cast
svn path=/branches/ros-amd64-bringup/; revision=35362
2008-08-16 00:18:27 +00:00
Timo Kreuzer
928f5c1001 fix KIPCR
svn path=/branches/ros-amd64-bringup/; revision=35361
2008-08-16 00:17:52 +00:00
Timo Kreuzer
20f583f4cb - comment out ext2.sys in textsetup.sif, as it doesn't load
- fix stupid error when creating page directory
- fix PtrToPfn() based on updated mm types
- some enhancements

svn path=/branches/ros-amd64-bringup/; revision=35360
2008-08-16 00:16:54 +00:00
Timo Kreuzer
bb78749234 The TEB member is called ClientID not Cid on all Windows versions I could check (XP, 2k3, vista).
svn path=/branches/ros-amd64-bringup/; revision=35359
2008-08-15 23:40:42 +00:00
Timo Kreuzer
5ba5164dd3 try to fix build
svn path=/branches/ros-amd64-bringup/; revision=35351
2008-08-15 11:24:10 +00:00
Timo Kreuzer
ed1b845158 NDK: update PEB definition based in win2003 and vista 32/64 bit symbols
svn path=/branches/ros-amd64-bringup/; revision=35349
2008-08-15 02:05:18 +00:00
Timo Kreuzer
ea1d7436f1 NDK: update KPRCB based on win2003 and vista symbol files
svn path=/branches/ros-amd64-bringup/; revision=35348
2008-08-15 01:00:03 +00:00
Timo Kreuzer
a0b08b14c8 NDK: update 64bit mm structures, based on win2003 and vista symbol files
svn path=/branches/ros-amd64-bringup/; revision=35347
2008-08-14 22:58:22 +00:00
Timo Kreuzer
794e8ef987 Sync to trunk head (35333)
svn path=/branches/ros-amd64-bringup/; revision=35334
2008-08-14 14:21:43 +00:00
Timo Kreuzer
d3c3d4d576 add LDT_ENTRY to winnt.h
svn path=/branches/ros-amd64-bringup/; revision=35326
2008-08-14 02:43:52 +00:00
Timo Kreuzer
931280fae6 add NtCurrentTeb inline function
svn path=/branches/ros-amd64-bringup/; revision=35325
2008-08-14 02:24:14 +00:00
Timo Kreuzer
803292ae6c Update add KGDTENTRY64 and KIDTENTRY64 to replace KGDTENTRY and KIDTENTRY, remove FNSAVE_FORMAT, FXSAVE_FORMAT and FX_SAVE_AREA
svn path=/branches/ros-amd64-bringup/; revision=35324
2008-08-14 00:24:46 +00:00
Timo Kreuzer
bc3b4008a2 Update KIPCR, KPRCB, KTRAP_FRAME, KDESCRIPTOR, all based on vista x64 symbol files. Comment out some code for now that was using an old structure member.
Enable some x86 specific external variables for amd64, too. Comment out a reference to prcb->DbugDpcTime, this is the only reference, so it's useless anyway. Comment out code for KiRundownThread for the moment. Comment out KeQuerySystemTime and KeQueryInterruptTime on amd64, they are resolved through macros and not exported.Remove kdb_expr.c from build. Add endless loop in KiSystemStartupReal, that's where we stop. 

svn path=/branches/ros-amd64-bringup/; revision=35323
2008-08-13 23:45:27 +00:00
Timo Kreuzer
3e915894d6 add _ELF_ property to rbuild file
svn path=/branches/ros-amd64-bringup/; revision=35322
2008-08-13 23:06:54 +00:00
Timo Kreuzer
1cd21f9e2a add macro definitions for KeQuerySystemTime, KeQueryTickCount
and KeQueryInterruptTime to ddk, remove corresponding exports from ntoskrnl

svn path=/branches/ros-amd64-bringup/; revision=35167
2008-08-07 17:59:46 +00:00
Timo Kreuzer
33423c8985 use a do-nothing-seh as on arm
svn path=/branches/ros-amd64-bringup/; revision=35136
2008-08-05 21:50:25 +00:00
Timo Kreuzer
21cfe5cb01 implement byteswap intrinsics
svn path=/branches/ros-amd64-bringup/; revision=35135
2008-08-05 21:25:29 +00:00
Timo Kreuzer
a20a7005ef use constants from winddk and get rid of private definitions.
svn path=/branches/ros-amd64-bringup/; revision=35021
2008-08-01 22:18:58 +00:00
Timo Kreuzer
52ada29945 Fix macros that didn't have brackets around the argument. Add FrLdrDbgPrint for debugprints. Use ULONG_PTR instead of ULONG for memory offsets and pointer values. Use RosLoaderBlock->KernelBase instead of hardcoded value for the beginning of the kernel. Now we reach KiSystemStartupReal.
svn path=/branches/ros-amd64-bringup/; revision=34989
2008-08-01 01:08:53 +00:00
Timo Kreuzer
82d72f9d04 - fix SECURITY_DESCRIPTOR_RELATIVE and KDPC_DATA
svn path=/branches/ros-amd64-bringup/; revision=34987
2008-07-31 23:04:35 +00:00
Timo Kreuzer
f9b1269405 - fix usage of InterlockedExchangePointer
- some ULONG / SIZE_T fixes
- pushlocks have a union with a PVOID and an ULONG, use them instead of typecasting
- use InterlockedAndPointer for a pushlock

svn path=/branches/ros-amd64-bringup/; revision=34986
2008-07-31 23:01:51 +00:00
Timo Kreuzer
4972cd28d6 - do not define -nostartfiles for kernel, it looks like ld creates unaligned section pointers then
- comment out RtlCapturestackLimits
- use KeGetCurrentPrcb instead if KetGetPcr()->Prcb
- fix use of KPCR->Prcb
- use %p instead of %08x for ULONG_PTR
- update stubs
- add more files to build
- add FrLdrDbgPrint prototype to ntoskrnl.h

svn path=/branches/ros-amd64-bringup/; revision=34971
2008-07-31 02:20:15 +00:00
Timo Kreuzer
5a0c8727c2 - update KPCR and KIPCR
- add KeGetPcr() and update KeGetCurrentProcessorNumber 

svn path=/branches/ros-amd64-bringup/; revision=34970
2008-07-31 02:16:59 +00:00
Timo Kreuzer
a4011bc8b6 - some ULONG / SIZE_T fixes
- handle amd64 in PspCreateThread

svn path=/branches/ros-amd64-bringup/; revision=34969
2008-07-31 00:35:26 +00:00
Timo Kreuzer
1a092630ea feeldr:
- add a funtion to display the loader block
- initialize pointer to DbgPrint in the loader block

svn path=/branches/ros-amd64-bringup/; revision=34968
2008-07-31 00:06:49 +00:00
Timo Kreuzer
11c478e6d2 - add some definitions to winddk.h
- amd64/ketypes.h: KSEG0_BASE is where the kernel is loaded, on amd64 this is not equal to MM_LOWEST_SYSTEM_ADDRESS (FFFF080000000000, which is not even a valid canocical address), but it's 0xfffff80000000000)
- add a field for a DbgPrint function pointer to the ROS_LOADER_PARAMETER_BLOCK for early debug prints in ntoskrnl
- hack PCR

svn path=/branches/ros-amd64-bringup/; revision=34967
2008-07-30 23:59:02 +00:00
Samuel Serapion
a7c2391db9 getting sloppy.
svn path=/branches/ros-amd64-bringup/; revision=34965
2008-07-30 21:05:32 +00:00
Timo Kreuzer
9318fe48a0 - add stubbed out mm/amd64/page.c
- add amd64 specific mm.h
- add a temp hack (can't inline a function with SEH atm)
- add baseaddress and entrypoint to ntoskrnl rbuild
- add all mm files to ntoskrnl rbuild
- update subs file

svn path=/branches/ros-amd64-bringup/; revision=34942
2008-07-30 00:54:12 +00:00
Timo Kreuzer
bed58e73c9 - fix usage of InterlockedExchangeAddSizeT
svn path=/branches/ros-amd64-bringup/; revision=34941
2008-07-30 00:31:41 +00:00
Timo Kreuzer
1bbf3fa9ac - fix ExQueryPoolBlockSize prototype
- make KI_USER_SHARED_DATA and IMAGE_ORDINAL_FLAG64 a ULONGLONG
- fix definition if IMAGE_OPTIONAL_HEADER64
- add KPCR structure
- add __readcrx intrinsics
- 

svn path=/branches/ros-amd64-bringup/; revision=34940
2008-07-30 00:30:00 +00:00
Timo Kreuzer
a23e33144d fix several ULONG / ULONG_PTR / SIZE_T issues.
svn path=/branches/ros-amd64-bringup/; revision=34939
2008-07-30 00:25:15 +00:00
Timo Kreuzer
256098d254 I reworked the pagetable code a little. Now the first tables are static .bss tables. Later before switching to the kernel, we create a proper 4 level page table. Here we allocate the needed pages. Remove obsolete meminit hack. Add a few useful debug prints to setupldr and comment out return, when ext2 wasn't loaded. We now reach the point where we jump to ntoskrnl, but ntoskrnl is in a bad shape ;-)
svn path=/branches/ros-amd64-bringup/; revision=34937
2008-07-29 19:09:56 +00:00
Timo Kreuzer
96888c6a6a remove useless cast
svn path=/branches/ros-amd64-bringup/; revision=34926
2008-07-29 15:30:15 +00:00
Timo Kreuzer
98797fa1bf - fix InterlockedExchangeAddSizeT
- fix __writecrx instrinsics
- fix some mmtypes

svn path=/branches/ros-amd64-bringup/; revision=34925
2008-07-29 15:22:17 +00:00
Timo Kreuzer
57fe9d163d fix _InterlockedDecrement64
svn path=/branches/ros-amd64-bringup/; revision=34919
2008-07-28 22:00:17 +00:00
Timo Kreuzer
4a8be83925 fix ntoskrnl build
svn path=/branches/ros-amd64-bringup/; revision=34918
2008-07-28 21:43:28 +00:00
Timo Kreuzer
ad2827f5f4 fix hal build
svn path=/branches/ros-amd64-bringup/; revision=34917
2008-07-28 21:42:32 +00:00
Timo Kreuzer
f677303425 - add missing 64 bit intrinsic Interlocked functions
- readd Interlocked definitions to winddk.h that someone stole

svn path=/branches/ros-amd64-bringup/; revision=34916
2008-07-28 21:39:55 +00:00
Timo Kreuzer
2ff232d781 sync with trunk head (34904)
svn path=/branches/ros-amd64-bringup/; revision=34910
2008-07-28 15:52:00 +00:00
Timo Kreuzer
a5d18f835c some more win32k 64 bit fixes
svn path=/branches/ros-amd64-bringup/; revision=34909
2008-07-28 15:30:31 +00:00
Timo Kreuzer
2c0f5fbba4 some 64 bit fixes in win32k
svn path=/branches/ros-amd64-bringup/; revision=34908
2008-07-28 15:19:17 +00:00
Timo Kreuzer
fdd31121db - #if out vista api for now
- fix advapi and kernel32 spec files. They need more review though.
- fix NtUserGetThreadState
This fixes x86 build.

svn path=/branches/ros-amd64-bringup/; revision=34907
2008-07-28 15:14:30 +00:00
Samuel Serapion
a0c7e902ab Warning and error fixes.
svn path=/branches/ros-amd64-bringup/; revision=34906
2008-07-28 14:50:17 +00:00
Samuel Serapion
c89e519b74 Fix x86 ntoskrnl build.
Fix TreeView_EnsureVisible macro.

svn path=/branches/ros-amd64-bringup/; revision=34905
2008-07-28 14:48:07 +00:00
Timo Kreuzer
1de2bbcd36 fix interlocked stuff in winddk, maybe not 100%, but better now
svn path=/branches/ros-amd64-bringup/; revision=34903
2008-07-28 14:46:08 +00:00
Timo Kreuzer
0f59187920 move the inlined InterlockedAnd/Or from rtl to winbase.h and rename it to InterlockedAnd/Or_Inline
svn path=/branches/ros-amd64-bringup/; revision=34900
2008-07-28 14:05:45 +00:00
Timo Kreuzer
b423bf7a95 Now after loading all the drivers we come to where we setup the page directory. This is good, but I'm too tired to look into this now....
svn path=/branches/ros-amd64-bringup/; revision=34888
2008-07-28 02:18:46 +00:00
Timo Kreuzer
007a3b2a39 moar drivers
svn path=/branches/ros-amd64-bringup/; revision=34883
2008-07-28 01:51:56 +00:00
Timo Kreuzer
db30576dfb another Interlocked fix, still it's not all perfect
svn path=/branches/ros-amd64-bringup/; revision=34882
2008-07-28 01:50:22 +00:00
Timo Kreuzer
e1d52bced3 add another export we need in ntoskrnl
svn path=/branches/ros-amd64-bringup/; revision=34880
2008-07-28 01:26:56 +00:00
Timo Kreuzer
57ad095777 - add another missing export to ntoskrnl_amd64.def
- fix LARGE_INTEGER to pointer cast
- add more drivers to build

svn path=/branches/ros-amd64-bringup/; revision=34877
2008-07-28 00:47:28 +00:00
Timo Kreuzer
37d520af6e - add missing export RtlExtended integerMultiply to ntoskrnl
- build class2, atapi and scsiport drivers

svn path=/branches/ros-amd64-bringup/; revision=34875
2008-07-28 00:34:07 +00:00
Timo Kreuzer
5f3d2cfa50 class2: fix ULONG to pointer cast
svn path=/branches/ros-amd64-bringup/; revision=34874
2008-07-28 00:32:21 +00:00
Timo Kreuzer
1e029cfce4 - fix bzip2 include to make ip compile
- comment out some stuff in SEH asm code to make it compile, it's useless code anyway
- add some hack exports to ntoskrnl
- use private ntoskrnl rbuild File

svn path=/branches/ros-amd64-bringup/; revision=34871
2008-07-27 23:32:41 +00:00
Timo Kreuzer
feeb330648 tcpip:
- fix some pointer to ULONG casts

svn path=/branches/ros-amd64-bringup/; revision=34870
2008-07-27 23:26:26 +00:00
Timo Kreuzer
0fe845850a fix definition for NdisCopyLookaheadData on AMD64
svn path=/branches/ros-amd64-bringup/; revision=34868
2008-07-27 22:58:20 +00:00
Timo Kreuzer
8c8c4622d1 give ndis it's own def file for amd64, yes that breaks arm build... :-@
svn path=/branches/ros-amd64-bringup/; revision=34866
2008-07-27 22:43:41 +00:00
Timo Kreuzer
30ee8afdc4 fix some ULONG to pointer casts
svn path=/branches/ros-amd64-bringup/; revision=34864
2008-07-27 22:20:01 +00:00
Timo Kreuzer
013fff101d put back rbuild files in a proper state, so x86 can be compiled again (as soon as someone fixed Interlocked stuff)
svn path=/branches/ros-amd64-bringup/; revision=34863
2008-07-27 22:07:36 +00:00
Timo Kreuzer
a3869c4bce yet another advapi32 fix
svn path=/branches/ros-amd64-bringup/; revision=34862
2008-07-27 22:05:13 +00:00
Timo Kreuzer
1ccf8a45fa advapi32: fix a forwarded export that got stubbed when changing to spec
svn path=/branches/ros-amd64-bringup/; revision=34861
2008-07-27 21:33:32 +00:00
Samuel Serapion
ddf3f934ad Fix Build.
svn path=/branches/ros-amd64-bringup/; revision=34845
2008-07-27 13:42:46 +00:00
Timo Kreuzer
2ee5f08ce9 LdrPEGetExportByName:
The function and name table in the PE consists of RVA's that are stored in ULONGs. Change pointers accordingly PULONG* -> ULONG*

svn path=/branches/ros-amd64-bringup/; revision=34843
2008-07-27 11:41:11 +00:00
Timo Kreuzer
0b3b92a413 - fix KESEG0_BASE
svn path=/branches/ros-amd64-bringup/; revision=34842
2008-07-27 11:11:02 +00:00
Samuel Serapion
247137a05e revert r34835:
"_WIN32 Defined for applications for Win32 and Win64. Always defined."
http://msdn.microsoft.com/en-us/library/b0084kay.aspx
winnt.h:
Define KNONVOLATILE_CONTEXT_POINTERS, EXCEPTION_DISPOSITION, RtlVirtualUnwind

svn path=/branches/ros-amd64-bringup/; revision=34840
2008-07-27 09:45:59 +00:00
Timo Kreuzer
bf9ee2d42f stub out hal.c, make it compile again
svn path=/branches/ros-amd64-bringup/; revision=34839
2008-07-27 09:16:49 +00:00
Timo Kreuzer
2d984eac66 "Interlocked stuff is still a bit broken." ... yeah, cause you broke it ;-)
svn path=/branches/ros-amd64-bringup/; revision=34838
2008-07-27 09:15:54 +00:00
Timo Kreuzer
dd368d7ceb gcc defines _WIN32 for us ... on a 64bit target. hack windef to get rid of it. This fixes zlib.
svn path=/branches/ros-amd64-bringup/; revision=34835
2008-07-27 09:07:31 +00:00
Samuel Serapion
b0cad156e2 Forgot one.
svn path=/branches/ros-amd64-bringup/; revision=34834
2008-07-27 09:02:46 +00:00
Samuel Serapion
a452cc9d74 Remove multiple declarations and minor fixes.
Interlocked stuff is still a bit broken.

svn path=/branches/ros-amd64-bringup/; revision=34833
2008-07-27 08:37:14 +00:00
Samuel Serapion
0f3f9c8bbb Remove WINEisms
svn path=/branches/ros-amd64-bringup/; revision=34832
2008-07-27 08:34:16 +00:00
Samuel Serapion
0f2d324700 intrin_x86.h:
- Fix rotl declaration, add mysteriously missing rotr.
winnt.h:
- Fix CONTEXT_AMD64 and friends, add various constants.
- Define RUNTIME_FUNCTION, RtlCaptureContext, RtlRestoreContext, RtlAddFunctionTable, RtlInstallFunctionTableCallback, RtlDeleteFunctionTable.
- Fix definitions for EXCEPTION_RECORD and friends to support amd64.
- Define IMAGE_THUNK_DATA64 and related constants.
- Define IMAGE_TLS_DIRECTORY64 and related constants.

svn path=/branches/ros-amd64-bringup/; revision=34831
2008-07-27 08:30:10 +00:00
Timo Kreuzer
9ac6a3e6c8 fix parameters of NtAllocateVirtualMemory and NtFreeVirtualMemory, compile anonmem.c, update stubs file
svn path=/branches/ros-amd64-bringup/; revision=34827
2008-07-27 08:03:19 +00:00
Timo Kreuzer
95064f4029 - add Zw.S back to ntoskrnl, as it now contains valid 64 bit assembly
- I cheat and add all unresolved references in a stub file for now
ntoskrnl links now, so I can continue on freeldr again.

svn path=/branches/ros-amd64-bringup/; revision=34813
2008-07-26 21:22:34 +00:00
Timo Kreuzer
de146d7b6c stubbed hal more or less copied from arm. It compiles...
svn path=/branches/ros-amd64-bringup/; revision=34812
2008-07-26 21:18:00 +00:00
Timo Kreuzer
b0b7a7611b on amd64 KfAcquireSpinLock, KfReleaseSpinLock, KeAcquireInStackQueuedSpinLock and KeReleaseInStackQueuedSpinLock belong to ntoskrnl, not to hal.
svn path=/branches/ros-amd64-bringup/; revision=34811
2008-07-26 21:13:25 +00:00
Samuel Serapion
524c885d74 Merge 34789, make appropriate changes to ReactOS-amd64.rbuild
svn path=/branches/ros-amd64-bringup/; revision=34804
2008-07-26 08:21:51 +00:00
Samuel Serapion
0d442f4cec Fix more warnings.
Convert pciidex to use spec file.
NOTE: drivers need to be carefully reviewed for 64bit safety. There is a lot of stuff that can kill us that won't show up in any compiler, knowing ros we probably have at least some issues. Everything but network/ compiles error free.

svn path=/branches/ros-amd64-bringup/; revision=34803
2008-07-26 06:08:04 +00:00
Timo Kreuzer
0dfe50f093 make ncitool generate at least valid 64 bit assembly
svn path=/branches/ros-amd64-bringup/; revision=34802
2008-07-26 01:17:03 +00:00
Timo Kreuzer
3c9ae1448a - hack amd64/ke.h
- unhack inernal/ntoskrnl.h
- more files compile

svn path=/branches/ros-amd64-bringup/; revision=34801
2008-07-26 01:07:27 +00:00
Timo Kreuzer
0e64661365 - add KI_USER_SHARED_DATA and KeGetCurrentIrql() prototype to winddh
svn path=/branches/ros-amd64-bringup/; revision=34800
2008-07-26 01:05:57 +00:00
Timo Kreuzer
ea74713aa6 add Interlocked intrinisc definitions for AMD64 platform
svn path=/branches/ros-amd64-bringup/; revision=34798
2008-07-26 00:13:23 +00:00
Timo Kreuzer
6618e25fad - add a hack to basetsd.h to undefine _X86_ on amd64 builds (gcc defines it)
- include _M_AMD64 for defintitions in ioaccess.h
- remove KeGetCurrentThread from winddk.h (doesn't work that way)
- hack amd64/ketypes.h to make it compile

svn path=/branches/ros-amd64-bringup/; revision=34796
2008-07-26 00:02:34 +00:00
Samuel Serapion
f8af305331 Fix dozens of 64bit warnings.
Create amd64 def file.

svn path=/branches/ros-amd64-bringup/; revision=34795
2008-07-25 23:41:31 +00:00
Samuel Serapion
5502f51b0f Fix Warnings
svn path=/branches/ros-amd64-bringup/; revision=34787
2008-07-25 16:49:23 +00:00
Samuel Serapion
d75ee99e10 Fix broken DLGPROC definition.
Fix previous, unneeded, fixes.

svn path=/branches/ros-amd64-bringup/; revision=34786
2008-07-25 16:00:47 +00:00
Samuel Serapion
9f836ebf3a Fix all 64 bit warnings.
Switch over to spec file, taken from WINE.

svn path=/branches/ros-amd64-bringup/; revision=34785
2008-07-25 14:13:04 +00:00
Timo Kreuzer
4a991aa014 fix usage of InterlockedCompareExchangePointer
svn path=/branches/ros-amd64-bringup/; revision=34782
2008-07-25 13:42:03 +00:00
Timo Kreuzer
374c44c700 fix usage of InterlockedCompareExchangePointer
svn path=/branches/ros-amd64-bringup/; revision=34781
2008-07-25 13:37:45 +00:00
Timo Kreuzer
2241dceb71 some DWORD -> DWORD_PTR
svn path=/branches/ros-amd64-bringup/; revision=34780
2008-07-25 13:26:08 +00:00
Timo Kreuzer
32af8fc4de Sync with trunk head (34777)
svn path=/branches/ros-amd64-bringup/; revision=34779
2008-07-25 13:10:00 +00:00
Timo Kreuzer
27fd778110 revert last commit and instead...
svn path=/branches/ros-amd64-bringup/; revision=34778
2008-07-25 12:54:02 +00:00
Timo Kreuzer
76f94aee74 merge 34755 from trunk
svn path=/branches/ros-amd64-bringup/; revision=34775
2008-07-25 12:28:50 +00:00
Samuel Serapion
364d3152c9 Fix a 64bit portability issue.
Hack widl a bit in order to compile more code.

svn path=/branches/ros-amd64-bringup/; revision=34773
2008-07-25 12:22:27 +00:00
Samuel Serapion
fe5640712e Make calling spec file stubs a non-fatal event.
svn path=/branches/ros-amd64-bringup/; revision=34772
2008-07-25 12:05:01 +00:00
Samuel Serapion
b77079a4d8 Fix multiple 64bit warnings
svn path=/branches/ros-amd64-bringup/; revision=34771
2008-07-25 11:33:42 +00:00
Samuel Serapion
d99afa913f Fix some compiler warnings.
Implement InitializeCriticalSectionEx
Stub TermsrvAppInstallMode and SetTermsrvAppInstallMode.
Lazy port of BasepInitializeContext.
Lazy ports of thread and fiber startup code, probably will not work.

svn path=/branches/ros-amd64-bringup/; revision=34770
2008-07-25 11:09:07 +00:00
Samuel Serapion
f6d9983a3f -Fix definitions of IsBadHugeReadPtr, IsBadHugeWritePtr, IsBadReadPtr, IsBadStringPtrA, IsBadStringPtrW, IsBadWritePtr and SetProcessWorkingSetSize
-Define CONTEXT and XMM_SAVE_AREA32, taken from WINE

svn path=/branches/ros-amd64-bringup/; revision=34769
2008-07-25 10:57:44 +00:00
Samuel Serapion
17bcdbc7bb Lazy port of PSEH to amd64 probably has no chance of working, but satisfies ld a bit more on certain modules
svn path=/branches/ros-amd64-bringup/; revision=34768
2008-07-25 10:52:11 +00:00
Timo Kreuzer
9983f446ce - add ke/amd64/boot.S containing KiSystemStartup
- add ke/amd64/kiinit.c, stubbed out
- allow warnings for now, so we can compile a lot more files

svn path=/branches/ros-amd64-bringup/; revision=34765
2008-07-24 23:04:22 +00:00
Timo Kreuzer
17257b1c52 - add ntoskrnl-amd64.lnk based on i386 one, but target pei-x86-64
- remove some unsupported ntoskrnl linkerflags from rbuild file
Now we can see all those unresolved references... sigh

svn path=/branches/ros-amd64-bringup/; revision=34761
2008-07-24 21:45:27 +00:00
Samuel Serapion
6493026550 Make notepad compile warning free.
svn path=/branches/ros-amd64-bringup/; revision=34760
2008-07-24 21:39:03 +00:00
Samuel Serapion
0c493a626f Fix cast from pointer to integer of different size
svn path=/branches/ros-amd64-bringup/; revision=34758
2008-07-24 21:32:08 +00:00
Timo Kreuzer
a44aeaaeec ntoskrnl: for now comment out all files that don't compile, the linker now get's a "-Wl,--file-alignment,0x1000" that it does not like, let's see what we can do about that
svn path=/branches/ros-amd64-bringup/; revision=34756
2008-07-24 21:08:31 +00:00
Samuel Serapion
e5056878c6 Fix passing of command line args so it works on win64 too.
svn path=/branches/ros-amd64-bringup/; revision=34754
2008-07-24 20:15:36 +00:00
Timo Kreuzer
efc2458c66 - add ntoskrnl to the build again, as we will need it now.
- add ke.h, mm.h and intrin_i.h for amd64 currently copied from i386
- remove Interlocked funtions from private ntoskrnl header that don't belong there, this will probably break x86 build, but who cares ;-)
At least the header compiles now...

svn path=/branches/ros-amd64-bringup/; revision=34753
2008-07-24 20:07:30 +00:00
Timo Kreuzer
dc58f19c9a add KeGetCurrentThread prototype to winddk
svn path=/branches/ros-amd64-bringup/; revision=34752
2008-07-24 20:02:31 +00:00
Timo Kreuzer
acd486b2e7 add ExpChangePushlock macro for _WIN64
svn path=/branches/ros-amd64-bringup/; revision=34750
2008-07-24 19:36:04 +00:00
Timo Kreuzer
9661a46df5 add _InterlockedExchange64 to intin_x86.h
svn path=/branches/ros-amd64-bringup/; revision=34749
2008-07-24 19:22:16 +00:00
Timo Kreuzer
bacef6a882 - remove ip and oskittcp from build
- add fastfat to build
- add PLATFORM property "PC" also to i386 rbuild file to allow sharing of related code between i386 and amd64
- disable a few debug channels in freeldr
- winnt.h: add IMAGE_REL_BASED_MIPS_JMPADDR16, IMAGE_REL_BASED_IA64_IMM64 and IMAGE_REL_BASED_DIR64, the latter used for PE64 relocation
- rtl: implement case IMAGE_REL_BASED_DIR64 in LdrProcessRelocationBlockLongLong
- rtl: add SWAPQ macro for _PPC and fix macros SWAP macros for other architectures (remember: always put a macro argument in brackets)
Status: setupldr now loads a few files and finally wants to load fastfat.sys. But it fails when it comes to imports from ntoskrnl, no wonder we don't have an ntoskrnl yet...

svn path=/branches/ros-amd64-bringup/; revision=34748
2008-07-24 19:09:03 +00:00
Timo Kreuzer
3a0c3db1e0 convert external debug output from message boxes to real debug output on serial
svn path=/branches/ros-amd64-bringup/; revision=34747
2008-07-24 16:44:01 +00:00
Samuel Serapion
222bbb2c4a libwine:
-use InterlockedExchangeAdd instead of interlocked_xchg_add
libxml2:
-WINSOCKETAPI already defined in config.h no need to redefine
mingw_base:
-rework _fmode refernces to allow ros64 programs to work on win64.
-temporarily hack _wenviron to allow programs to work on win64.
-aling stack to 16bytes
oskit:
-remove inline asm per suggestion by arty

svn path=/branches/ros-amd64-bringup/; revision=34745
2008-07-24 14:32:35 +00:00
Timo Kreuzer
9e84c59b5c add ntoskrnl_amd64.def. For some reason amd64 kernel does not export KeQuerySystemTime and atm I don't know what else should be used, so I added it to the def.
svn path=/branches/ros-amd64-bringup/; revision=34744
2008-07-24 14:31:35 +00:00
Timo Kreuzer
fdcebd5143 hal:
fix HalRequestIpi prototype, comment out IO access functions for amd64, add hal_amd64.def and a tiny amd64/hal_generic.c

svn path=/branches/ros-amd64-bringup/; revision=34743
2008-07-24 14:26:53 +00:00
Timo Kreuzer
01f51087d5 add a stubbed version of kdcom for amd64
svn path=/branches/ros-amd64-bringup/; revision=34742
2008-07-24 14:17:43 +00:00
Timo Kreuzer
0088ce62be - make bootvid build for PLATFORM=PC instead of ARCH=i386 to share the files between i386 and amd64
- fix ULONG <-> pointer casts
- add bootvid_amd64.def

svn path=/branches/ros-amd64-bringup/; revision=34741
2008-07-24 14:15:12 +00:00
Timo Kreuzer
af63b172fe strip off stdcall decoration from amd64 entry points
svn path=/branches/ros-amd64-bringup/; revision=34740
2008-07-24 13:32:59 +00:00
Timo Kreuzer
7ccff652ba ddk: update AMD64 intrinsic Interlocked functions
svn path=/branches/ros-amd64-bringup/; revision=34739
2008-07-24 13:03:31 +00:00
Timo Kreuzer
a9c1627517 - add some files, I forgot to commit
- add media directory to build
now we load some files and then stop due to missing fastfat.sys

svn path=/branches/ros-amd64-bringup/; revision=34738
2008-07-24 12:27:40 +00:00
Timo Kreuzer
040bc2a3c6 - mark special pages
- move some definitions to arch/amd64.h

svn path=/branches/ros-amd64-bringup/; revision=34735
2008-07-24 11:32:40 +00:00
Timo Kreuzer
61f395c536 - create 512 2 MB pages first, so we have a max of 1 GB available memory. This gets us much further through hardware detection. the setup screen loads and then it stops with "failed to load the ANSI codepage file"
svn path=/branches/ros-amd64-bringup/; revision=34733
2008-07-24 10:26:15 +00:00
Samuel Serapion
da25b896fd Fix Implicit declaration warnings.
code->commit->????->profit!

svn path=/branches/ros-amd64-bringup/; revision=34730
2008-07-24 08:10:16 +00:00
Timo Kreuzer
5f3d8cbe06 forgot this one: a stubbed out loader.c copied from i386
svn path=/branches/ros-amd64-bringup/; revision=34728
2008-07-24 02:30:36 +00:00
Timo Kreuzer
ceaa5e63d3 Implement a LoaderEntry, a function to setup a pagetable, a function to switch to long mode, a function to switch to real mode, Int386 to call interrupts, add some defines for amd64, enable full debug output.
now setupldr should compile, and start it's work. It boots into long mode, reads the memory layout from bios and finally crashes, because the page table is limited to a single page of 2MB atm

svn path=/branches/ros-amd64-bringup/; revision=34727
2008-07-24 02:27:00 +00:00
Timo Kreuzer
9ee9e193f1 - implement _alloca (untested), ChainLoadBiosBootSectorCode, SoftReboot
- copy drvmap.S, i386cpu.S, i386idt.S, i386pnp.S, i386trap.S, mb.S

svn path=/branches/ros-amd64-bringup/; revision=34726
2008-07-24 02:18:44 +00:00
Timo Kreuzer
bc5810d71a freeldr:
- add amd64 to rbuild files
- add include/amd64 and arch/amd64 and copy some files from i386, maybe we can later share some of them between those architectures
- convert fathelp.asm to fathelp.S so we can link it. Content stays the same as for i386

svn path=/branches/ros-amd64-bringup/; revision=34725
2008-07-24 01:48:44 +00:00
Timo Kreuzer
b0ef62e022 freeldr:
- use strtoull for reading a pointer
- use %p in a debugprint instead of cast to int

svn path=/branches/ros-amd64-bringup/; revision=34724
2008-07-24 01:34:28 +00:00
Timo Kreuzer
52521c8876 freeldr:
- fix several ULONG to pointer casts

svn path=/branches/ros-amd64-bringup/; revision=34723
2008-07-24 01:25:43 +00:00
Timo Kreuzer
25248671ed freeldr:
- make SectionId a ULONG_PTR
- same for some Loaderblock members

svn path=/branches/ros-amd64-bringup/; revision=34722
2008-07-24 01:22:30 +00:00
Timo Kreuzer
27c15e2b72 comment out 2 unneeded libs, that don't compile
svn path=/branches/ros-amd64-bringup/; revision=34721
2008-07-24 01:07:48 +00:00
Timo Kreuzer
9a787689f7 - rename _toul to _toulptr and make it return an ULONG_PTR
svn path=/branches/ros-amd64-bringup/; revision=34720
2008-07-24 01:06:22 +00:00
Timo Kreuzer
318a837c35 last fixes for crt. Those are messing with handles and casting between 32 and 64 bit. I'm not sure if it's correct, probably not...
crt and libcntpr now compile warning free on amd64

svn path=/branches/ros-amd64-bringup/; revision=34719
2008-07-24 00:58:16 +00:00
Timo Kreuzer
267c44c1b1 - int -> intptr_t
- unsigned long -> uintptr_t
- #undef _MINGW_IMPORT in ctype.c, to avoid warnings

svn path=/branches/ros-amd64-bringup/; revision=34718
2008-07-24 00:54:12 +00:00
Timo Kreuzer
8a9b9256be Patch from Samuel Serapion ("encoded", samdwise51 at gmail dot com):
- fix prototypes of _findfirst, _findnext, _findclose, _findfirsti64, _findnexti64 _wfindfirst, _wfindnext, _wfindfirst64, _wfindnext64, strndup, 
- fix a number of pointer to int casts

svn path=/branches/ros-amd64-bringup/; revision=34717
2008-07-24 00:20:01 +00:00
Timo Kreuzer
31e3f10a45 rtl:
- amd64/add debug_asm.S (FIXME)
- cast AtomName to ULONG_PTR instead of ULONG
- RtlQueryProcessdebugInformation(): cast teb->Cid.UniqueProcess to ULONG_PTR for assignment to Pid. (should ProcessId parameter be ULONG_PTR, too?)
- vs(w)nprintf: cast argument to ULONG_PTR instead of unsigned long for a %p
- comment out some inlined Interlocked functions that shouldn't be there anyway
Now rtl can be compiled

svn path=/branches/ros-amd64-bringup/; revision=34716
2008-07-23 23:56:37 +00:00
Timo Kreuzer
cc5298d837 comment out a few libs for now that don't build
svn path=/branches/ros-amd64-bringup/; revision=34715
2008-07-23 23:40:33 +00:00
Timo Kreuzer
e7311c8d53 recyclebin:
- DWORD -> SIZE_T and SIZE_T -> DWORD

svn path=/branches/ros-amd64-bringup/; revision=34714
2008-07-23 23:37:01 +00:00
Timo Kreuzer
bd414d2f91 fix NtCurrentTeb()
svn path=/branches/ros-amd64-bringup/; revision=34713
2008-07-23 23:28:07 +00:00
Timo Kreuzer
08ca7e8b0f fix KeGetCurrentPrcb() inline function
svn path=/branches/ros-amd64-bringup/; revision=34712
2008-07-23 23:18:45 +00:00
Timo Kreuzer
68c4fc0511 add amd64 ketypes.h and mmtypes.h copied from x86
svn path=/branches/ros-amd64-bringup/; revision=34711
2008-07-23 23:17:46 +00:00
Timo Kreuzer
07a47f0686 update some loader structs ULONG -> ULONG_PTR / SIZE_T
svn path=/branches/ros-amd64-bringup/; revision=34710
2008-07-23 23:03:57 +00:00
Timo Kreuzer
536ae9a084 add size_t definition to _mingw.h (ported from mingw)
svn path=/branches/ros-amd64-bringup/; revision=34709
2008-07-23 23:00:47 +00:00
Timo Kreuzer
630562934e fix LIST_ENTRY() macro for 64 bits
svn path=/branches/ros-amd64-bringup/; revision=34708
2008-07-23 22:56:10 +00:00
Timo Kreuzer
40969b4e16 winddk.h:
- add InterlockedCompareExchangePointer and InterlockedExchangePointer
- add intrinsic port and register access functions

svn path=/branches/ros-amd64-bringup/; revision=34707
2008-07-23 22:53:04 +00:00
Timo Kreuzer
5d199fcb97 - fix ENUMRESLANGPROC, ENUMRESNAMEPROC and ENUMRESTYPEPROC
- add Interlocked functions for pointers

svn path=/branches/ros-amd64-bringup/; revision=34706
2008-07-23 22:49:16 +00:00
Timo Kreuzer
a7d12287a5 - fix IMAGE_FIRST_SECTION macro
- implement GetCurrentFiber(), NtCurrentTeb() and YieldProcessor()


svn path=/branches/ros-amd64-bringup/; revision=34705
2008-07-23 22:45:52 +00:00
Timo Kreuzer
60e9de3ce1 Implement _InterlockedAnd64, _InterlockedOr64, _interlockedbittestandreset64, _interlockedbittestandset64 and gs-segment-adressing functions
- as amd64 shares most of the intrinsics of x86, implement them in intrin_x86.h

svn path=/branches/ros-amd64-bringup/; revision=34704
2008-07-23 22:27:50 +00:00
Timo Kreuzer
923a014a4c fix inline versions of integer <-> pointer conversion functions
svn path=/branches/ros-amd64-bringup/; revision=34703
2008-07-23 22:24:04 +00:00
Timo Kreuzer
e5f02915a1 ndk:ldrtypes.h : convert LDR_RESOURCE_INFO members from ULONG to ULONG_PTR
svn path=/branches/ros-amd64-bringup/; revision=34702
2008-07-23 22:21:41 +00:00
Timo Kreuzer
0612cc0e7b create rbuild files and strip everything from build, except freeldr.
svn path=/branches/ros-amd64-bringup/; revision=34701
2008-07-23 22:14:10 +00:00
Timo Kreuzer
f339a8396c Make ncitool create syscall stubs for amd64. We use the same as for x86 for now.
svn path=/branches/ros-amd64-bringup/; revision=34700
2008-07-23 22:00:43 +00:00
10631 changed files with 1266013 additions and 967897 deletions

View File

@@ -1,13 +1,12 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@@ -16,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
@@ -56,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
@@ -111,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
@@ -169,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
@@ -226,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
@@ -256,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -278,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@@ -304,10 +303,9 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
@@ -337,5 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

504
reactos/COPYING.LIB Normal file
View File

@@ -0,0 +1,504 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library 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.1 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
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

674
reactos/COPYING3 Normal file
View File

@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

165
reactos/COPYING3.LIB Normal file
View File

@@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.

View File

@@ -23,6 +23,7 @@ Frederik Leemans
Ge van Geldorp <ge@gse.nl>
Ged Murphy <gedmurphy@reactos.org>
Gregor Brunmar <gregor brunmar at home se>
Gregor Schneider <grschneider@gmail.com>
Guido de Jong
Gunnar Andre' Dalsnes <hardon@online.no>
Hans Kremer

View File

@@ -1,4 +1,4 @@
# Doxyfile 1.5.3
# Doxyfile 1.5.8
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project
@@ -14,11 +14,11 @@
# Project related configuration options
#---------------------------------------------------------------------------
# This tag specifies the encoding used for all characters in the config file that
# follow. The default is UTF-8 which is also the encoding used for all text before
# the first occurrence of this tag. Doxygen uses libiconv (or the iconv built into
# libc) for the transcoding. See http://www.gnu.org/software/libiconv for the list of
# possible encodings.
# This tag specifies the encoding used for all characters in the config file
# that follow. The default is UTF-8 which is also the encoding used for all
# text before the first occurrence of this tag. Doxygen uses libiconv (or the
# iconv built into libc) for the transcoding. See
# http://www.gnu.org/software/libiconv for the list of possible encodings.
DOXYFILE_ENCODING = UTF-8
@@ -31,14 +31,14 @@ PROJECT_NAME = ReactOS
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER =
PROJECT_NUMBER = "ReactOS Source Code"
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
OUTPUT_DIRECTORY = doxy-doc
OUTPUT_DIRECTORY = Doxygen
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output
@@ -47,17 +47,18 @@ OUTPUT_DIRECTORY = doxy-doc
# source files, where putting all generated files in the same directory would
# otherwise cause performance problems for the file system.
CREATE_SUBDIRS = NO
CREATE_SUBDIRS = YES
# The OUTPUT_LANGUAGE tag is used to specify the language in which all
# documentation generated by doxygen is written. Doxygen will use this
# information to generate all constant output in the proper language.
# The default language is English, other supported languages are:
# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
# Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Hungarian,
# Italian, Japanese, Japanese-en (Japanese with English messages), Korean,
# Korean-en, Lithuanian, Norwegian, Polish, Portuguese, Romanian, Russian,
# Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian.
# Croatian, Czech, Danish, Dutch, Farsi, Finnish, French, German, Greek,
# Hungarian, Italian, Japanese, Japanese-en (Japanese with English messages),
# Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, Polish,
# Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, Slovene,
# Spanish, Swedish, and Ukrainian.
OUTPUT_LANGUAGE = English
@@ -146,7 +147,7 @@ SHORT_NAMES = NO
# comments will behave just like regular Qt-style comments
# (thus requiring an explicit @brief command for a brief description.)
JAVADOC_AUTOBRIEF = YES
JAVADOC_AUTOBRIEF = NO
# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
# interpret the first line (until the first dot) of a Qt-style
@@ -164,13 +165,6 @@ QT_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
# If the DETAILS_AT_TOP tag is set to YES then Doxygen
# will output the detailed description near the top, like JavaDoc.
# If set to NO, the detailed description appears after the member
# documentation.
DETAILS_AT_TOP = NO
# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
# member inherits the documentation from any documented member that it
# re-implements.
@@ -186,7 +180,7 @@ SEPARATE_MEMBER_PAGES = NO
# The TAB_SIZE tag can be used to set the number of spaces in a tab.
# Doxygen uses this value to replace tabs by spaces in code fragments.
TAB_SIZE = 8
TAB_SIZE = 4
# This tag can be used to specify a number of aliases that acts
# as commands in the documentation. An alias has the form "name=value".
@@ -205,14 +199,37 @@ ALIASES =
OPTIMIZE_OUTPUT_FOR_C = YES
# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
# sources only. Doxygen will then generate output that is more tailored for Java.
# For instance, namespaces will be presented as packages, qualified scopes
# will look different, etc.
# sources only. Doxygen will then generate output that is more tailored for
# Java. For instance, namespaces will be presented as packages, qualified
# scopes will look different, etc.
OPTIMIZE_OUTPUT_JAVA = NO
# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want to
# include (a tag file for) the STL sources as input, then you should
# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
# sources only. Doxygen will then generate output that is more tailored for
# Fortran.
OPTIMIZE_FOR_FORTRAN = NO
# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
# sources. Doxygen will then generate output that is tailored for
# VHDL.
OPTIMIZE_OUTPUT_VHDL = NO
# Doxygen selects the parser to use depending on the extension of the files it parses.
# With this tag you can assign which parser to use for a given extension.
# Doxygen has a built-in mapping, but you can override or extend it using this tag.
# The format is ext=language, where ext is a file extension, and language is one of
# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP,
# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
# use: inc=Fortran f=C
EXTENSION_MAPPING =
# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
# to include (a tag file for) the STL sources as input, then you should
# set this tag to YES in order to let doxygen match functions declarations and
# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
# func(std::string) {}). This also make the inheritance and collaboration
@@ -220,11 +237,26 @@ OPTIMIZE_OUTPUT_JAVA = NO
BUILTIN_STL_SUPPORT = NO
# If you use Microsoft's C++/CLI language, you should set this option to YES to
# If you use Microsoft's C++/CLI language, you should set this option to YES to
# enable parsing support.
CPP_CLI_SUPPORT = NO
# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
# Doxygen will parse them like normal C++ but will assume all classes use public
# instead of private inheritance when no explicit protection keyword is present.
SIP_SUPPORT = NO
# For Microsoft's IDL there are propget and propput attributes to indicate getter
# and setter methods for a property. Setting this option to YES (the default)
# will make doxygen to replace the get and set methods by a property in the
# documentation. This will only work if the methods are indeed getting or
# setting a simple type. If this is not the case, or you want to show the
# methods anyway, you should set this option to NO.
IDL_PROPERTY_SUPPORT = YES
# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
# tag is set to YES, then doxygen will reuse the documentation of the first
# member in the group (if any) for the other members of the group. By default
@@ -240,6 +272,32 @@ DISTRIBUTE_GROUP_DOC = NO
SUBGROUPING = YES
# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
# is documented as struct, union, or enum with the name of the typedef. So
# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
# with name TypeT. When disabled the typedef will appear as a member of a file,
# namespace, or class. And the struct will be named TypeS. This can typically
# be useful for C code in case the coding convention dictates that all compound
# types are typedef'ed and only the typedef is referenced, never the tag name.
TYPEDEF_HIDES_STRUCT = YES
# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
# determine which symbols to keep in memory and which to flush to disk.
# When the cache is full, less often used symbols will be written to disk.
# For small to medium size projects (<1000 input files) the default value is
# probably good enough. For larger projects a too small cache size can cause
# doxygen to be busy swapping symbols to and from disk most of the time
# causing a significant performance penality.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
# a logarithmic scale so increasing the size by one will rougly double the
# memory usage. The cache size is given by this formula:
# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
# corresponding to a cache size of 2^16 = 65536 symbols
SYMBOL_CACHE_SIZE = 0
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
@@ -274,10 +332,11 @@ EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = NO
# If this flag is set to YES, the members of anonymous namespaces will be extracted
# and appear in the documentation as a namespace called 'anonymous_namespace{file}',
# where file will be replaced with the base name of the file that contains the anonymous
# namespace. By default anonymous namespace are hidden.
# If this flag is set to YES, the members of anonymous namespaces will be
# extracted and appear in the documentation as a namespace called
# 'anonymous_namespace{file}', where file will be replaced with the base
# name of the file that contains the anonymous namespace. By default
# anonymous namespace are hidden.
EXTRACT_ANON_NSPACES = NO
@@ -315,7 +374,7 @@ HIDE_IN_BODY_DOCS = NO
# to NO (the default) then the documentation will be excluded.
# Set it to YES to include the internal documentation.
INTERNAL_DOCS = YES
INTERNAL_DOCS = NO
# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
# file names in lower-case letters. If set to YES upper-case letters are also
@@ -356,11 +415,17 @@ SORT_MEMBER_DOCS = YES
SORT_BRIEF_DOCS = NO
# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
# hierarchy of group names into alphabetical order. If set to NO (the default)
# the group names will appear in their defined order.
SORT_GROUP_NAMES = NO
# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
# sorted by fully-qualified names, including namespaces. If set to
# NO (the default), the class list will be sorted only by class name,
# not including the namespace part.
# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
# Note: This option applies only to the class list, not to the
# alphabetical list.
@@ -415,11 +480,23 @@ SHOW_USED_FILES = YES
# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
# in the documentation. The default is NO.
SHOW_DIRECTORIES = NO
SHOW_DIRECTORIES = YES
# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
# This will remove the Files entry from the Quick Index and from the
# Folder Tree View (if specified). The default is YES.
SHOW_FILES = YES
# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
# Namespaces page. This will remove the Namespaces entry from the Quick Index
# and from the Folder Tree View (if specified). The default is YES.
SHOW_NAMESPACES = NO
# The FILE_VERSION_FILTER tag can be used to specify a program or script that
# doxygen should invoke to get the current version for each file (typically from the
# version control system). Doxygen will invoke the program by executing (via
# doxygen should invoke to get the current version for each file (typically from
# the version control system). Doxygen will invoke the program by executing (via
# popen()) the command <command> <input-file>, where <command> is the value of
# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
# provided by doxygen. Whatever the program writes to standard output
@@ -427,6 +504,15 @@ SHOW_DIRECTORIES = NO
FILE_VERSION_FILTER =
# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
# doxygen. The layout file controls the global structure of the generated output files
# in an output format independent way. The create the layout file that represents
# doxygen's defaults, run doxygen with the -l option. You can optionally specify a
# file name after the option, if omitted DoxygenLayout.xml will be used as the name
# of the layout file.
LAYOUT_FILE =
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
@@ -470,7 +556,7 @@ WARN_NO_PARAMDOC = NO
# $version, which will be replaced by the version of the file (if it could
# be obtained via FILE_VERSION_FILTER)
WARN_FORMAT = "$file:$line: $text "
WARN_FORMAT = "$file:$line: $text"
# The WARN_LOGFILE tag can be used to specify a file to which warning
# and error messages should be written. If left blank the output is written
@@ -487,12 +573,13 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT =
INPUT =
# This tag can be used to specify the character encoding of the source files that
# doxygen parses. Internally doxygen uses the UTF-8 encoding, which is also the default
# input encoding. Doxygen uses libiconv (or the iconv built into libc) for the transcoding.
# See http://www.gnu.org/software/libiconv for the list of possible encodings.
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
# also the default input encoding. Doxygen uses libiconv (or the iconv built
# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
# the list of possible encodings.
INPUT_ENCODING = UTF-8
@@ -501,13 +588,16 @@ INPUT_ENCODING = UTF-8
# and *.h) to filter out the source-files in the directories. If left
# blank the following patterns are tested:
# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py
# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
FILE_PATTERNS = *.c \
*.h \
*.cxx \
*.cpp \
*.cc \
*.cx
*.c++ \
*.h \
*.hh \
*.hpp \
*.idl
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.
@@ -519,8 +609,7 @@ RECURSIVE = YES
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE = subsystems/win32/win32k \
base/shell/explorer
EXCLUDE =
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded
@@ -534,12 +623,13 @@ EXCLUDE_SYMLINKS = NO
# against the file with absolute path, so to exclude all test directories
# for example use the pattern */test/*
EXCLUDE_PATTERNS =
EXCLUDE_PATTERNS = */.svn
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the output.
# The symbol name can be a fully qualified name, a word, or if the wildcard * is used,
# a substring. Examples: ANamespace, AClass, AClass::ANamespace, ANamespace::*Test
# (namespaces, classes, functions, etc.) that should be excluded from the
# output. The symbol name can be a fully qualified name, a word, or if the
# wildcard * is used, a substring. Examples: ANamespace, AClass,
# AClass::ANamespace, ANamespace::*Test
EXCLUDE_SYMBOLS =
@@ -561,7 +651,7 @@ EXAMPLE_PATTERNS =
# commands irrespective of the value of the RECURSIVE tag.
# Possible values are YES and NO. If left blank NO is used.
EXAMPLE_RECURSIVE = YES
EXAMPLE_RECURSIVE = NO
# The IMAGE_PATH tag can be used to specify one or more files or
# directories that contain image that are included in the documentation (see
@@ -601,9 +691,7 @@ FILTER_SOURCE_FILES = NO
# If the SOURCE_BROWSER tag is set to YES then a list of source files will
# be generated. Documented entities will be cross-referenced with these sources.
# Note: To get rid of all source code in the generated output, make sure also
# VERBATIM_HEADERS is set to NO. If you have enabled CALL_GRAPH or CALLER_GRAPH
# then you must also enable this option. If you don't then doxygen will produce
# a warning and turn it on anyway
# VERBATIM_HEADERS is set to NO.
SOURCE_BROWSER = YES
@@ -618,22 +706,22 @@ INLINE_SOURCES = YES
STRIP_CODE_COMMENTS = YES
# If the REFERENCED_BY_RELATION tag is set to YES (the default)
# If the REFERENCED_BY_RELATION tag is set to YES
# then for each documented function all documented
# functions referencing it will be listed.
REFERENCED_BY_RELATION = YES
REFERENCED_BY_RELATION = NO
# If the REFERENCES_RELATION tag is set to YES (the default)
# If the REFERENCES_RELATION tag is set to YES
# then for each documented function all documented entities
# called/used by that function will be listed.
REFERENCES_RELATION = YES
REFERENCES_RELATION = NO
# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
# link to the source code. Otherwise they will link to the documentstion.
# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
# link to the source code. Otherwise they will link to the documentation.
REFERENCES_LINK_SOURCE = YES
@@ -665,7 +753,7 @@ ALPHABETICAL_INDEX = YES
# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
# in which this list will be split (can be a number in the range [1..20])
COLS_IN_ALPHA_INDEX = 5
COLS_IN_ALPHA_INDEX = 3
# In case all classes in a project start with a common prefix, all
# classes will be put under the same header in the alphabetical index.
@@ -699,13 +787,13 @@ HTML_FILE_EXTENSION = .html
# each generated HTML page. If it is left blank doxygen will generate a
# standard header.
HTML_HEADER =
HTML_HEADER = Doxygen/header.html
# The HTML_FOOTER tag can be used to specify a personal HTML footer for
# each generated HTML page. If it is left blank doxygen will generate a
# standard footer.
HTML_FOOTER =
HTML_FOOTER = Doxygen/footer.html
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
# style sheet that is used by each HTML page. It can be used to
@@ -722,13 +810,6 @@ HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
# If the GENERATE_HTMLHELP tag is set to YES, additional index files
# will be generated that can be used as input for tools like the
# Microsoft HTML help workshop to generate a compressed HTML help file (.chm)
# of the generated HTML documentation.
GENERATE_HTMLHELP = NO
# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
# documentation will contain sections that can be hidden and shown after the
# page has loaded. For this to work a browser that supports
@@ -737,6 +818,39 @@ GENERATE_HTMLHELP = NO
HTML_DYNAMIC_SECTIONS = NO
# If the GENERATE_DOCSET tag is set to YES, additional index files
# will be generated that can be used as input for Apple's Xcode 3
# integrated development environment, introduced with OSX 10.5 (Leopard).
# To create a documentation set, doxygen will generate a Makefile in the
# HTML output directory. Running make will produce the docset in that
# directory and running "make install" will install the docset in
# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
# it at startup.
# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information.
GENERATE_DOCSET = NO
# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
# feed. A documentation feed provides an umbrella under which multiple
# documentation sets from a single provider (such as a company or product suite)
# can be grouped.
DOCSET_FEEDNAME = "Doxygen generated docs"
# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
# should uniquely identify the documentation set bundle. This should be a
# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
# will append .docset to the name.
DOCSET_BUNDLE_ID = org.doxygen.Project
# If the GENERATE_HTMLHELP tag is set to YES, additional index files
# will be generated that can be used as input for tools like the
# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
# of the generated HTML documentation.
GENERATE_HTMLHELP = NO
# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
# be used to specify the file name of the resulting .chm file. You
# can add a path in front of the file if the result should not be
@@ -757,6 +871,12 @@ HHC_LOCATION =
GENERATE_CHI = NO
# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
# is used to encode HtmlHelp index (hhk), content (hhc) and project file
# content.
CHM_INDEX_ENCODING =
# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
# controls whether a binary table of contents is generated (YES) or a
# normal table of contents (NO) in the .chm file.
@@ -768,25 +888,82 @@ BINARY_TOC = NO
TOC_EXPAND = NO
# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER
# are set, an additional index file will be generated that can be used as input for
# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated
# HTML documentation.
GENERATE_QHP = NO
# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
# be used to specify the file name of the resulting .qch file.
# The path specified is relative to the HTML output folder.
QCH_FILE =
# The QHP_NAMESPACE tag specifies the namespace to use when generating
# Qt Help Project output. For more information please see
# http://doc.trolltech.com/qthelpproject.html#namespace
QHP_NAMESPACE = org.doxygen.Project
# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
# Qt Help Project output. For more information please see
# http://doc.trolltech.com/qthelpproject.html#virtual-folders
QHP_VIRTUAL_FOLDER = doc
# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add.
# For more information please see
# http://doc.trolltech.com/qthelpproject.html#custom-filters
QHP_CUST_FILTER_NAME =
# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see
# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">Qt Help Project / Custom Filters</a>.
QHP_CUST_FILTER_ATTRS =
# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project's
# filter section matches.
# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">Qt Help Project / Filter Attributes</a>.
QHP_SECT_FILTER_ATTRS =
# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
# be used to specify the location of Qt's qhelpgenerator.
# If non-empty doxygen will try to run qhelpgenerator on the generated
# .qhp file.
QHG_LOCATION =
# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
# top of each HTML page. The value NO (the default) enables the index and
# the value YES disables it.
DISABLE_INDEX = NO
DISABLE_INDEX = YES
# This tag can be used to set the number of enum values (range [1..20])
# that doxygen will group on one line in the generated HTML documentation.
ENUM_VALUES_PER_LINE = 4
# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
# generated containing a tree-like index structure (just like the one that
# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
# structure should be generated to display hierarchical information.
# If the tag value is set to FRAME, a side panel will be generated
# containing a tree-like index structure (just like the one that
# is generated for HTML Help). For this to work a browser that supports
# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+,
# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are
# probably better off using the HTML help feature.
# probably better off using the HTML help feature. Other possible values
# for this tag are: HIERARCHIES, which will generate the Groups, Directories,
# and Class Hierarchy pages using a tree view instead of an ordered list;
# ALL, which combines the behavior of FRAME and HIERARCHIES; and NONE, which
# disables this behavior completely. For backwards compatibility with previous
# releases of Doxygen, the values YES and NO are equivalent to FRAME and NONE
# respectively.
GENERATE_TREEVIEW = NO
GENERATE_TREEVIEW = NONE
# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
# used to set the initial width (in pixels) of the frame in which the tree
@@ -794,6 +971,14 @@ GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
# Use this tag to change the font size of Latex formulas included
# as images in the HTML documentation. The default is 10. Note that
# when you change the font size after a successful doxygen run you need
# to manually remove any form_*.png images from the HTML output directory
# to force them to be regenerated.
FORMULA_FONTSIZE = 10
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
@@ -849,13 +1034,13 @@ LATEX_HEADER =
# contain links (just like the HTML output) instead of page references
# This makes the output suitable for online browsing using a pdf viewer.
PDF_HYPERLINKS = NO
PDF_HYPERLINKS = YES
# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
# plain latex in the generated Makefile. Set this option to YES to get a
# higher quality PDF documentation.
USE_PDFLATEX = NO
USE_PDFLATEX = YES
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
# command to the generated LaTeX files. This will instruct LaTeX to keep
@@ -890,7 +1075,7 @@ RTF_OUTPUT = rtf
# RTF documents. This may be useful for small projects and may help to
# save some trees in general.
COMPACT_RTF = YES
COMPACT_RTF = NO
# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
# will contain hyperlink fields. The RTF file will
@@ -899,7 +1084,7 @@ COMPACT_RTF = YES
# programs which support those fields.
# Note: wordpad (write) and others do not support links.
RTF_HYPERLINKS = YES
RTF_HYPERLINKS = NO
# Load stylesheet definitions from file. Syntax is similar to doxygen's
# config file, i.e. a series of assignments. You only have to provide
@@ -948,7 +1133,7 @@ MAN_LINKS = NO
# generate an XML file that captures the structure of
# the code including all documentation.
GENERATE_XML = YES
GENERATE_XML = NO
# The XML_OUTPUT tag is used to specify where the XML pages will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
@@ -1052,14 +1237,14 @@ SEARCH_INCLUDES = YES
# contain include files that are not input files but should be processed by
# the preprocessor.
INCLUDE_PATH = include
INCLUDE_PATH =
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
# patterns (like *.h and *.hpp) to filter out the header-files in the
# directories. If left blank, the patterns specified with FILE_PATTERNS will
# be used.
INCLUDE_FILE_PATTERNS = *.h
INCLUDE_FILE_PATTERNS =
# The PREDEFINED tag can be used to specify one or more macro names that
# are defined before the preprocessor is started (similar to the -D option of
@@ -1099,9 +1284,9 @@ SKIP_FUNCTION_MACROS = YES
# TAGFILES = file1=loc1 "file2 = loc2" ...
# where "loc1" and "loc2" can be relative or absolute paths or
# URLs. If a location is present for each tag, the installdox tool
# does not have to be run to correct the links.
# Note that each tag file must have a unique name
# (where the name does NOT include the path)
# does not have to be run to correct the links.
# Note that each tag file must have a unique name
# (where the name does NOT include the path)
# If a tag file is not located in the directory in which doxygen
# is run, you must also specify the path to the tagfile here.
@@ -1143,10 +1328,11 @@ PERL_PATH = /usr/bin/perl
CLASS_DIAGRAMS = NO
# You can define message sequence charts within doxygen comments using the \msc
# command. Doxygen will then run the mscgen tool (see http://www.mcternan.me.uk/mscgen/) to
# produce the chart and insert it in the documentation. The MSCGEN_PATH tag allows you to
# specify the directory where the mscgen tool resides. If left empty the tool is assumed to
# be found in the default search path.
# command. Doxygen will then run the mscgen tool (see
# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
# documentation. The MSCGEN_PATH tag allows you to specify the directory where
# the mscgen tool resides. If left empty the tool is assumed to be found in the
# default search path.
MSCGEN_PATH =
@@ -1154,7 +1340,7 @@ MSCGEN_PATH =
# inheritance and usage relations if the target is undocumented
# or is not a class.
HIDE_UNDOC_RELATIONS = NO
HIDE_UNDOC_RELATIONS = YES
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
# available from the path. This tool is part of Graphviz, a graph visualization
@@ -1163,6 +1349,29 @@ HIDE_UNDOC_RELATIONS = NO
HAVE_DOT = NO
# By default doxygen will write a font called FreeSans.ttf to the output
# directory and reference it in all dot files that doxygen generates. This
# font does not include all possible unicode characters however, so when you need
# these (or just want a differently looking font) you can specify the font name
# using DOT_FONTNAME. You need need to make sure dot is able to find the font,
# which can be done by putting it in a standard location or by setting the
# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory
# containing the font.
DOT_FONTNAME = FreeSans
# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
# The default size is 10pt.
DOT_FONTSIZE = 10
# By default doxygen will tell dot to use the output directory to look for the
# FreeSans.ttf font (which doxygen will put there itself). If you specify a
# different font using DOT_FONTNAME you can set the path where dot
# can find it using this tag.
DOT_FONTPATH =
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# indirect inheritance relations. Setting this tag to YES will force the
@@ -1207,19 +1416,19 @@ INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
# If the CALL_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will
# generate a call dependency graph for every global function or class method.
# Note that enabling this option will significantly increase the time of a run.
# So in most cases it will be better to enable call graphs for selected
# functions only using the \callgraph command.
# If the CALL_GRAPH and HAVE_DOT options are set to YES then
# doxygen will generate a call dependency graph for every global function
# or class method. Note that enabling this option will significantly increase
# the time of a run. So in most cases it will be better to enable call graphs
# for selected functions only using the \callgraph command.
CALL_GRAPH = YES
CALL_GRAPH = NO
# If the CALLER_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will
# generate a caller dependency graph for every global function or class method.
# Note that enabling this option will significantly increase the time of a run.
# So in most cases it will be better to enable caller graphs for selected
# functions only using the \callergraph command.
# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
# doxygen will generate a caller dependency graph for every global function
# or class method. Note that enabling this option will significantly increase
# the time of a run. So in most cases it will be better to enable caller
# graphs for selected functions only using the \callergraph command.
CALLER_GRAPH = NO
@@ -1230,13 +1439,13 @@ GRAPHICAL_HIERARCHY = YES
# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
# then doxygen will show the dependencies a directory has on other directories
# in a graphical way. The dependency relations are determined by the #include
# in a graphical way. The dependency relations are determined by the #include
# relations between the files in the directories.
DIRECTORY_GRAPH = YES
# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
# generated by dot. Possible values are png, jpg, or gif
# generated by dot. Possible values are png, jpg, or gif
# If left blank png will be used.
DOT_IMAGE_FORMAT = png
@@ -1252,12 +1461,12 @@ DOT_PATH =
DOTFILE_DIRS =
# The MAX_DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
# nodes that will be shown in the graph. If the number of nodes in a graph
# becomes larger than this value, doxygen will truncate the graph, which is
# visualized by representing a node as a red box. Note that doxygen if the number
# of direct children of the root node in a graph is already larger than
# MAX_DOT_GRAPH_NOTES then the graph will not be shown at all. Also note
# visualized by representing a node as a red box. Note that doxygen if the
# number of direct children of the root node in a graph is already larger than
# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
DOT_GRAPH_MAX_NODES = 50
@@ -1270,13 +1479,13 @@ DOT_GRAPH_MAX_NODES = 50
# code bases. Also note that the size of a graph can be further restricted by
# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
MAX_DOT_GRAPH_DEPTH = 0
MAX_DOT_GRAPH_DEPTH = 1000
# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
# background. This is disabled by default, which results in a white background.
# Warning: Depending on the platform used, enabling this option may lead to
# badly anti-aliased labels on the edges of a graph (i.e. they become hard to
# read).
# background. This is disabled by default, because dot on Windows does not
# seem to support this out of the box. Warning: Depending on the platform used,
# enabling this option may lead to badly anti-aliased labels on the edges of
# a graph (i.e. they become hard to read).
DOT_TRANSPARENT = NO
@@ -1300,10 +1509,10 @@ GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::additions related to the search engine
# Options related to the search engine
#---------------------------------------------------------------------------
# The SEARCHENGINE tag specifies whether or not a search engine should be
# used. If set to NO the values of all tags below this one will be ignored.
SEARCHENGINE = NO
SEARCHENGINE = YES

View File

@@ -1,504 +0,0 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library 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.1 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 St, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

View File

@@ -112,11 +112,17 @@
# will go from 80 to 40MB, memory usage from 58 to 38MB and the install CD
# from 18 to 13MB. The variable defaults to no.
#
# ROS_GENERATE_RSYM
# This variable controls generation of RSYM symbol data. The value can be
# either yes (to generate symbol data) or no. The variable defaults to yes.
#
# ROS_RBUILDFLAGS
# Pass parameters to rbuild.
# -v Be verbose.
# -c Clean as you go. Delete generated files as soon as they are not needed anymore.
# -dd Disable automatic dependencies.
# -da Enable automatic dependencies.
# -df Enable full dependencies.
# -dm{module} Check only automatic dependencies for this module.
# -hd Disable precompiled headers.
# -mi Let make handle creation of install directories. Rbuild will not generate the directories.
@@ -146,6 +152,11 @@ $(error ReactOS's makefiles use GNU Make 3.80+ features, you have $(MAKE_VERSION
endif
# END of code borrowed from GMSL ( http://gmsl.sourceforge.net/ )
define NL
endef
.PHONY: all
.PHONY: clean
.PHONY: world
@@ -216,21 +227,27 @@ ifeq ($(HALFVERBOSEECHO),yes)
ECHO_PCH =@echo $(QUOTE)[PCH] $@$(QUOTE)
ECHO_CPP =@echo $(QUOTE)[CPP] $@$(QUOTE)
ECHO_CC =@echo $(QUOTE)[CC] $<$(QUOTE)
ECHO_HOSTCC =@echo $(QUOTE)[HOST-CC] $<$(QUOTE)
ECHO_CL =@echo $(QUOTE)[CL] $<$(QUOTE)
ECHO_GAS =@echo $(QUOTE)[GAS] $<$(QUOTE)
ECHO_AS =@echo $(QUOTE)[AS] $<$(QUOTE)
ECHO_NASM =@echo $(QUOTE)[NASM] $<$(QUOTE)
ECHO_AR =@echo $(QUOTE)[AR] $@$(QUOTE)
ECHO_HOSTAR =@echo $(QUOTE)[HOST-AR] $@$(QUOTE)
ECHO_WINEBLD =@echo $(QUOTE)[WINEBLD] $@$(QUOTE)
ECHO_WRC =@echo $(QUOTE)[WRC] $@$(QUOTE)
ECHO_RC =@echo $(QUOTE)[RC] $@$(QUOTE)
ECHO_CVTRES =@echo $(QUOTE)[CVTRES] $@$(QUOTE)
ECHO_WIDL =@echo $(QUOTE)[WIDL] $@$(QUOTE)
ECHO_BIN2RES =@echo $(QUOTE)[BIN2RES] $<$(QUOTE)
ECHO_DLLTOOL =@echo $(QUOTE)[DLLTOOL] $@$(QUOTE)
ECHO_IMPLIB =@echo $(QUOTE)[IMPLIB] $@$(QUOTE)
ECHO_LD =@echo $(QUOTE)[LD] $@$(QUOTE)
ECHO_HOSTLD =@echo $(QUOTE)[HOST-LD] $@$(QUOTE)
ECHO_LINK =@echo $(QUOTE)[LINK] $@$(QUOTE)
ECHO_NM =@echo $(QUOTE)[NM] $@$(QUOTE)
ECHO_OBJDUMP =@echo $(QUOTE)[OBJDUMP] $@$(QUOTE)
ECHO_RBUILD =@echo $(QUOTE)[RBUILD] $@$(QUOTE)
ECHO_RSYM =@echo $(QUOTE)[RSYM] $@$(QUOTE)
ECHO_PEFIXUP =@echo $(QUOTE)[PEFIXUP] $@$(QUOTE)
ECHO_WMC =@echo $(QUOTE)[WMC] $@$(QUOTE)
ECHO_NCI =@echo $(QUOTE)[NCI] $@$(QUOTE)
ECHO_CABMAN =@echo $(QUOTE)[CABMAN] $<$(QUOTE)
@@ -241,6 +258,8 @@ ifeq ($(HALFVERBOSEECHO),yes)
ECHO_GENDIB =@echo $(QUOTE)[GENDIB] $@$(QUOTE)
ECHO_STRIP =@echo $(QUOTE)[STRIP] $@$(QUOTE)
ECHO_RGENSTAT=@echo $(QUOTE)[RGENSTAT] $@$(QUOTE)
ECHO_DEPENDS =@echo $(QUOTE)[DEPENDS] $<$(QUOTE)
ECHO_RSP =@echo $(QUOTE)[RSP] $@$(QUOTE)
else
ECHO_CP =
ECHO_MKDIR =
@@ -249,15 +268,20 @@ else
ECHO_PCH =
ECHO_CPP =
ECHO_CC =
ECHO_GAS =
ECHO_HOSTCC =
ECHO_AS =
ECHO_NASM =
ECHO_AR =
ECHO_HOSTAR =
ECHO_WINEBLD =
ECHO_WRC =
ECHO_RC =
ECHO_CVTRES =
ECHO_WIDL =
ECHO_BIN2RES =
ECHO_DLLTOOL =
ECHO_IMPLIB =
ECHO_LD =
ECHO_HOSTLD =
ECHO_NM =
ECHO_OBJDUMP =
ECHO_RBUILD =
@@ -272,6 +296,8 @@ else
ECHO_GENDIB =
ECHO_STRIP =
ECHO_RGENSTAT=
ECHO_DEPENDS =
ECHO_RSP =
endif
# Set host compiler/linker
@@ -305,6 +331,7 @@ ifeq ($(TARGET_CPP),)
endif
gcc = $(Q)$(TARGET_CC)
gpp = $(Q)$(TARGET_CPP)
gas = $(Q)$(TARGET_CC) -x assembler-with-cpp
ld = $(Q)$(PREFIX_)ld
nm = $(Q)$(PREFIX_)nm
objdump = $(Q)$(PREFIX_)objdump
@@ -313,8 +340,6 @@ objcopy = $(Q)$(PREFIX_)objcopy
dlltool = $(Q)$(PREFIX_)dlltool
strip = $(Q)$(PREFIX_)strip
windres = $(Q)$(PREFIX_)windres
cl = $(Q)cl -nologo
link = $(Q)link -nologo
# Set utilities
ifeq ($(OSTYPE),msys)

View File

@@ -0,0 +1,327 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<project name="ReactOS" makefile="makefile-amd64.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config-amd64.rbuild">
<xi:fallback>
<xi:include href="config-amd64.template.rbuild" />
</xi:fallback>
</xi:include>
<define name="_M_AMD64" />
<define name="_AMD64_" />
<define name="_M_AXP64" />
<define name="__x86_64__" />
<!-- define name="_X86AMD64_" / FIXME: what is this used for? -->
<define name="_WIN64" />
<define name="TARGET_amd64" host="true" />
<define name="USE_COMPILER_EXCEPTIONS" />
<property name="PLATFORM" value="PC"/>
<property name="usewrc" value="false"/>
<property name="WINEBUILD_FLAGS" value="--kill-at"/>
<if property="OPTIMIZE" value="1">
<compilerflag>-Os</compilerflag>
<compilerflag>-ftracer</compilerflag>
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>-Os</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>-O1</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>-O2</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>-O3</compilerflag>
</if>
<compilerflag>-U_X86_</compilerflag>
<compilerflag>-mpreferred-stack-boundary=4</compilerflag>
<compilerflag>-fno-strict-aliasing</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-Wpointer-arith</compilerflag>
<compilerflag>-Wno-multichar</compilerflag>
<compilerflag>-Wno-format</compilerflag>
<!-- compilerflag>-H</compilerflag> enable this for header traces -->
<group linkerset="ld">
<linkerflag>-disable-stdcall-fixup</linkerflag>
<linkerflag>-static</linkerflag>
<linkerflag>--unique=.eh_frame</linkerflag>
<linkerflag>-file-alignment=0x1000</linkerflag>
<linkerflag>-section-alignment=0x1000</linkerflag>
</group>
<!-- Here starts <xi:include href="ReactOS-generic.rbuild" /> -->
<xi:include href="baseaddress.rbuild" />
<define name="__REACTOS__" />
<define name="__REACTOS__" host="true" />
<if property="DBG" value="1">
<define name="DBG">1</define>
<define name="_SEH_ENABLE_TRACE" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="DBG" value="0">
<define name="DBG">0</define>
</if>
<if property="KDBG" value="1">
<define name="KDBG">1</define>
<property name="DBG_OR_KDBG" value="true" />
</if>
<!-- The version target valid values are: Nt4 , NT5 , NT51 -->
<property name="VERSION_TARGET" value="NT52" />
<if property="VERSION_TARGET" value="NT4">
<define name="WINVER">0x400</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x400</define>
<define name="_WIN32_WINDOWS">0x400</define>
<define name="_SETUPAPI_VER">0x400</define>
</if>
<if property="VERSION_TARGET" value="NT5">
<define name="WINVER">0x500</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x500</define>
<define name="_WIN32_WINDOWS">0x500</define>
<define name="_SETUPAPI_VER">0x500</define>
</if>
<if property="VERSION_TARGET" value="NT51">
<define name="WINVER">0x501</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<define name="_WIN32_WINDOWS">0x501</define>
<define name="_SETUPAPI_VER">0x501</define>
</if>
<if property="VERSION_TARGET" value="NT52">
<define name="WINVER">0x502</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x502</define>
<define name="_WIN32_WINDOWS">0x502</define>
<define name="_SETUPAPI_VER">0x502</define>
</if>
<if property="VERSION_TARGET" value="NT6">
<define name="WINVER">0x600</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x600</define>
<define name="_WIN32_WINDOWS">0x600</define>
<define name="_SETUPAPI_VER">0x600</define>
</if>
<include>.</include>
<include>include</include>
<include root="intermediate">include</include>
<include>include/psdk</include>
<include root="intermediate">include/psdk</include>
<include>include/dxsdk</include>
<include root="intermediate">include/dxsdk</include>
<include>include/crt</include>
<include>include/crt/mingw32</include>
<include>include/ddk</include>
<include>include/GL</include>
<include>include/ndk</include>
<include>include/reactos</include>
<include root="intermediate">include/reactos</include>
<include root="intermediate">include/reactos/mc</include>
<include>include/reactos/libs</include>
<include host="true">include</include>
<include host="true" root="intermediate">include</include>
<include host="true">include/reactos</include>
<include host="true">include/reactos/wine</include>
<if property="USERMODE" value="1">
<directory name="base">
<xi:include href="base/base.rbuild" />
</directory>
<directory name="dll">
<xi:include href="dll/dll.rbuild" />
</directory>
</if>
<directory name="boot">
<xi:include href="boot/boot.rbuild" />
</directory>
<directory name="drivers">
<directory name="base">
<xi:include href="drivers/base/directory.rbuild" />
</directory>
<directory name="bus">
<xi:include href="drivers/bus/directory.rbuild" />
</directory>
<directory name="directx">
<xi:include href="drivers/directx/directory.rbuild" />
</directory>
<directory name="filesystems">
<xi:include href="drivers/filesystems/directory.rbuild" />
</directory>
<directory name="input">
<xi:include href="drivers/input/directory.rbuild" />
</directory>
<directory name="ksfilter">
<xi:include href="drivers/ksfilter/directory.rbuild" />
</directory>
<!-- directory name="multimedia">
<xi:include href="drivers/multimedia/directory.rbuild" />
</directory -->
<directory name="network">
<xi:include href="drivers/network/directory.rbuild" />
</directory>
<directory name="parallel">
<xi:include href="drivers/parallel/directory.rbuild" />
</directory>
<directory name="serial">
<xi:include href="drivers/serial/directory.rbuild" />
</directory>
<directory name="setup">
<xi:include href="drivers/setup/directory.rbuild" />
</directory>
<directory name="storage">
<xi:include href="drivers/storage/directory.rbuild" />
</directory>
<directory name="usb">
<xi:include href="drivers/usb/directory.rbuild" />
</directory>
<directory name="video">
<xi:include href="drivers/video/directory.rbuild" />
</directory>
<directory name="wdm">
<xi:include href="drivers/wdm/wdm.rbuild" />
</directory>
<directory name="wmi">
<xi:include href="drivers/wmi/wmilib.rbuild" />
</directory>
</directory>
<directory name="hal">
<xi:include href="hal/hal.rbuild" />
</directory>
<directory name="include">
<xi:include href="include/directory.rbuild" />
</directory>
<directory name="lib">
<directory name="3rdparty">
<directory name="adns">
<xi:include href="lib/3rdparty/adns/adns.rbuild" />
</directory>
<directory name="bzip2">
<xi:include href="lib/3rdparty/bzip2/bzip2.rbuild" />
</directory>
<directory name="cardlib">
<xi:include href="lib/3rdparty/cardlib/cardlib.rbuild" />
</directory>
<directory name="expat">
<xi:include href="lib/3rdparty/expat/expat.rbuild" />
</directory>
<directory name="freetype">
<xi:include href="lib/3rdparty/freetype/freetype.rbuild" />
</directory>
<directory name="icu4ros">
<xi:include href="lib/3rdparty/icu4ros/icu4ros.rbuild" />
</directory>
<directory name="libsamplerate">
<xi:include href="lib/3rdparty/libsamplerate/libsamplerate.rbuild" />
</directory>
<directory name="libwine">
<xi:include href="lib/3rdparty/libwine/libwine.rbuild" />
</directory>
<directory name="libxml2">
<xi:include href="lib/3rdparty/libxml2/libxml2.rbuild" />
</directory>
<if property="USERMODE" value="1">
<directory name="mingw">
<xi:include href="lib/3rdparty/mingw/mingw.rbuild" />
</directory>
</if>
<directory name="zlib">
<xi:include href="lib/3rdparty/zlib/zlib.rbuild" />
</directory>
</directory>
<directory name="sdk">
<xi:include href="lib/sdk/sdk.rbuild" />
</directory>
<directory name="cmlib">
<xi:include href="lib/cmlib/cmlib.rbuild" />
</directory>
<directory name="debugsup">
<xi:include href="lib/debugsup/debugsup.rbuild" />
</directory>
<directory name="drivers">
<xi:include href="lib/drivers/directory.rbuild" />
</directory>
<directory name="epsapi">
<xi:include href="lib/epsapi/epsapi.rbuild" />
</directory>
<directory name="fslib">
<xi:include href="lib/fslib/directory.rbuild" />
</directory>
<directory name="host">
<xi:include href="lib/host/directory.rbuild" />
</directory>
<directory name="inflib">
<xi:include href="lib/inflib/inflib.rbuild" />
</directory>
<directory name="nls">
<xi:include href="lib/nls/nls.rbuild" />
</directory>
<directory name="ntdllsys">
<xi:include href="lib/ntdllsys/ntdllsys.rbuild" />
</directory>
<directory name="pseh">
<xi:include href="lib/pseh/pseh.rbuild" />
</directory>
<directory name="recyclebin">
<xi:include href="lib/recyclebin/recyclebin.rbuild" />
</directory>
<directory name="rossym">
<xi:include href="lib/rossym/rossym.rbuild" />
</directory>
<directory name="rtl">
<xi:include href="lib/rtl/rtl.rbuild" />
</directory>
<directory name="smlib">
<xi:include href="lib/smlib/smlib.rbuild" />
</directory>
<directory name="win32ksys">
<xi:include href="lib/win32ksys/win32ksys.rbuild" />
</directory>
</directory>
<directory name="media">
<xi:include href="media/media.rbuild" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
</directory>
<directory name="tools">
<xi:include href="tools/tools.rbuild" />
</directory>
<!-- Here ends <xi:include href="ReactOS-generic.rbuild" /> -->
</project>

View File

@@ -7,75 +7,44 @@
</xi:fallback>
</xi:include>
<xi:include href="baseaddress.rbuild" />
<xi:include href="ReactOS-generic.rbuild" />
<define name="__REACTOS__" />
<!-- <define name="_M_ARM" /> Already defined by toolchain -->
<define name="_ARM_" />
<define name="__arm__" />
<define name="TARGET_arm" host="true" />
<if property="DBG" value="1">
<define name="DBG">1</define>
<define name="_SEH_ENABLE_TRACE" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="KDBG" value="1">
<define name="KDBG">1</define>
<property name="DBG_OR_KDBG" value="true" />
</if>
<include>.</include>
<include>include</include>
<include root="intermediate">include</include>
<include>include/psdk</include>
<include root="intermediate">include/psdk</include>
<include>include/dxsdk</include>
<include root="intermediate">include/dxsdk</include>
<include>include/crt</include>
<include>include/crt/mingw32</include>
<include>include/ddk</include>
<include>include/GL</include>
<include>include/ndk</include>
<include>include/reactos</include>
<include root="intermediate">include/reactos</include>
<include root="intermediate">include/reactos/mc</include>
<include>include/reactos/libs</include>
<include>include/reactos/arm</include>
<define name="USE_COMPILER_EXCEPTIONS" />
<property name="WINEBUILD_FLAGS" value="--kill-at"/>
<property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
<property name="WINEBUILD_FLAGS" value="--kill-at"/>
<include>include/reactos/arm</include>
<if property="SARCH" value="versatile">
<define name="BOARD_CONFIG_VERSATILE"/>
</if>
<if property="OPTIMIZE" value="1">
<compilerflag>-Os</compilerflag>
<compilerflag>-ftracer</compilerflag>
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>-Os</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>-O1</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>-O2</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>-O3</compilerflag>
</if>
<group compilerset="gcc">
<if property="OPTIMIZE" value="1">
<compilerflag>-ftracer</compilerflag>
</if>
<compilerflag>-Wno-attributes</compilerflag>
</group>
<define name="__MSVCRT__"/> <!-- DUBIOUS -->
<group linkerset="ld">
<linkerflag>--strip-debug</linkerflag> <!-- INVESTIGATE -->
<linkerflag>-static</linkerflag> <!-- INVESTIGATE -->
<linkerflag>-file-alignment=0x1000</linkerflag>
<linkerflag>-section-alignment=0x1000</linkerflag>
</group>
<define name="__MSVCRT__"/>
<compilerflag>-Wno-attributes</compilerflag>
<compilerflag>-fno-strict-aliasing</compilerflag>
<linkerflag>--strip-debug</linkerflag>
<linkerflag>-static</linkerflag>
<directory name="media">
<directory name="nls">
<xi:include href="media/nls/nls.rbuild" />
</directory>
</directory>
</directory>
<directory name="lib">
<directory name="drivers">
@@ -180,13 +149,13 @@
<directory name="dll">
<directory name="ntdll">
<xi:include href="dll/ntdll/ntdll.rbuild" />
</directory>
</directory>
</directory>
<directory name="base">
<directory name="system">
<directory name="smss">
<xi:include href="base/system/smss/smss.rbuild" />
</directory>
</directory>
</directory>
</directory>
</directory>
</project>

View File

@@ -11,6 +11,10 @@
<define name="_SEH_ENABLE_TRACE" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="DBG" value="0">
<define name="DBG">0</define>
</if>
<if property="KDBG" value="1">
<define name="KDBG">1</define>
<property name="DBG_OR_KDBG" value="true" />
@@ -20,41 +24,41 @@
<property name="VERSION_TARGET" value="NT52" />
<if property="VERSION_TARGET" value="NT4">
<define name="WINVER" overridable="true">0x400</define>
<define name="WINVER">0x400</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT" overridable="true">0x400</define>
<define name="_WIN32_WINNT">0x400</define>
<define name="_WIN32_WINDOWS">0x400</define>
<define name="_SETUPAPI_VER">0x400</define>
</if>
<if property="VERSION_TARGET" value="NT5">
<define name="WINVER" overridable="true">0x500</define>
<define name="WINVER">0x500</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT" overridable="true">0x500</define>
<define name="_WIN32_WINNT">0x500</define>
<define name="_WIN32_WINDOWS">0x500</define>
<define name="_SETUPAPI_VER">0x500</define>
</if>
<if property="VERSION_TARGET" value="NT51">
<define name="WINVER" overridable="true">0x501</define>
<define name="WINVER">0x501</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT" overridable="true">0x501</define>
<define name="_WIN32_WINNT">0x501</define>
<define name="_WIN32_WINDOWS">0x501</define>
<define name="_SETUPAPI_VER">0x501</define>
</if>
<if property="VERSION_TARGET" value="NT52">
<define name="WINVER" overridable="true">0x502</define>
<define name="WINVER">0x502</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT" overridable="true">0x502</define>
<define name="_WIN32_WINNT">0x502</define>
<define name="_WIN32_WINDOWS">0x502</define>
<define name="_SETUPAPI_VER">0x502</define>
</if>
<if property="VERSION_TARGET" value="NT6">
<define name="WINVER" overridable="true">0x600</define>
<define name="WINVER">0x600</define>
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT" overridable="true">0x600</define>
<define name="_WIN32_WINNT">0x600</define>
<define name="_WIN32_WINDOWS">0x600</define>
<define name="_SETUPAPI_VER">0x600</define>
</if>
@@ -67,7 +71,8 @@
<include>include/dxsdk</include>
<include root="intermediate">include/dxsdk</include>
<include>include/crt</include>
<include>include/crt/mingw32</include>
<include compilerset="gcc">include/crt/mingw32</include>
<include compilerset="msc">include/crt/msc</include>
<include>include/ddk</include>
<include>include/GL</include>
<include>include/ndk</include>
@@ -81,43 +86,75 @@
<include host="true">include/reactos</include>
<include host="true">include/reactos/wine</include>
<directory name="base">
<xi:include href="base/base.rbuild" />
</directory>
<directory name="boot">
<xi:include href="boot/boot.rbuild" />
</directory>
<directory name="dll">
<xi:include href="dll/dll.rbuild" />
</directory>
<directory name="drivers">
<xi:include href="drivers/drivers.rbuild" />
</directory>
<directory name="hal">
<xi:include href="hal/hal.rbuild" />
</directory>
<directory name="include">
<xi:include href="include/directory.rbuild" />
</directory>
<directory name="lib">
<xi:include href="lib/lib.rbuild" />
</directory>
<directory name="media">
<xi:include href="media/media.rbuild" />
</directory>
<directory name="modules">
<xi:include href="modules/directory.rbuild" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
<xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
</directory>
<directory name="tools">
<xi:include href="tools/tools.rbuild" />
</directory>
<group compilerset="gcc">
<compilerflag>-Wall</compilerflag>
<compilerflag compiler="cxx">-Wno-non-virtual-dtor</compilerflag>
<compilerflag compiler="cc,cxx">-gstabs+</compilerflag>
<compilerflag compiler="as">-gstabs+</compilerflag>
</group>
<compilerflag compiler="cpp">-Wno-non-virtual-dtor</compilerflag>
<group compilerset="msc">
<define name="inline" compiler="cc">__inline</define>
<define name="__STDC__" compiler="cc">1</define>
<compilerflag>/Zl</compilerflag>
<compilerflag>/Zi</compilerflag>
<compilerflag>/W1</compilerflag>
</group>
<group compilerset="gcc">
<if property="OPTIMIZE" value="1">
<compilerflag>-Os</compilerflag>
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>-Os</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>-O1</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>-O2</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>-O3</compilerflag>
</if>
<compilerflag>-fno-strict-aliasing</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-Wpointer-arith</compilerflag>
<compilerflag>-Wno-multichar</compilerflag>
<!--
<compilerflag>-Wno-error=uninitialized</compilerflag>
<compilerflag>-Wno-error=unused-function</compilerflag>
<compilerflag>-Wno-error=write-strings</compilerflag>
-->
<!-- compilerflag>-H</compilerflag> enable this for header traces -->
</group>
<group compilerset="msc">
<if property="OPTIMIZE" value="1">
<compilerflag>/O1</compilerflag>
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>/O2</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>/Ox /GS-</compilerflag>
<compilerflag>/Ot</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>/Ox /GS-</compilerflag>
<compilerflag>/Os</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>/Ox /GS-</compilerflag>
<compilerflag>/Os</compilerflag>
<compilerflag>/Ob2</compilerflag>
<compilerflag>/GF</compilerflag>
<compilerflag>/Gy</compilerflag>
</if>
<compilerflag>/GS-</compilerflag>
</group>
<define name="_USE_32BIT_TIME_T" />
</group>

View File

@@ -14,30 +14,62 @@
<define name="__i386__" />
<define name="TARGET_i386" host="true" />
<property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
<define name="USE_COMPILER_EXCEPTIONS" />
<if property="OPTIMIZE" value="1">
<compilerflag>-Os</compilerflag>
<compilerflag>-ftracer</compilerflag>
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>-Os</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>-O1</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>-O2</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>-O3</compilerflag>
</if>
<property name="PLATFORM" value="PC"/>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
<compilerflag>-fno-strict-aliasing</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-Wpointer-arith</compilerflag>
<linkerflag>-disable-stdcall-fixup</linkerflag>
<group compilerset="gcc">
<if property="OPTIMIZE" value="1">
<compilerflag>-ftracer</compilerflag>
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
</if>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
<compilerflag compiler="midl">-m32 --win32</compilerflag>
</group>
<group linkerset="ld">
<linkerflag>-disable-stdcall-fixup</linkerflag>
<linkerflag>-file-alignment=0x1000</linkerflag>
<linkerflag>-section-alignment=0x1000</linkerflag>
</group>
<directory name="base">
<xi:include href="base/base.rbuild" />
</directory>
<directory name="boot">
<xi:include href="boot/boot.rbuild" />
</directory>
<directory name="dll">
<xi:include href="dll/dll.rbuild" />
</directory>
<directory name="drivers">
<xi:include href="drivers/drivers.rbuild" />
</directory>
<directory name="hal">
<xi:include href="hal/hal.rbuild" />
</directory>
<directory name="include">
<xi:include href="include/directory.rbuild" />
</directory>
<directory name="lib">
<xi:include href="lib/lib.rbuild" />
</directory>
<directory name="media">
<xi:include href="media/media.rbuild" />
</directory>
<directory name="modules">
<xi:include href="modules/directory.rbuild" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
<if property="BUILD_MP" value="1">
<xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
</if>
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
</directory>
<directory name="tools">
<xi:include href="tools/tools.rbuild" />
</directory>
</project>

View File

@@ -20,4 +20,6 @@
<compilerflag>-meabi</compilerflag>
<compilerflag>-O2</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag compiler="cc,cxx">-gstabs+</compilerflag>
<compilerflag compiler="as">-gstabs+</compilerflag>
</project>

View File

@@ -16,26 +16,36 @@
<directory name="control">
<xi:include href="control/control.rbuild" />
</directory>
<directory name="downloader">
<xi:include href="downloader/downloader.rbuild" />
</directory>
<directory name="dxdiag">
<xi:include href="dxdiag/dxdiag.rbuild" />
</directory>
<directory name="fontview">
<xi:include href="fontview/fontview.rbuild" />
</directory>
<directory name="games">
<xi:include href="games/games.rbuild" />
</directory>
<directory name="hh">
<xi:include href="hh/hh.rbuild" />
</directory>
<!--
<directory name="iexplore">
<xi:include href="iexplore/iexplore.rbuild" />
</directory>
-->
<directory name="kbswitch">
<xi:include href="kbswitch/kbswitch.rbuild" />
</directory>
<directory name="logoff">
<xi:include href="logoff/logoff.rbuild" />
</directory>
<directory name="magnify">
<xi:include href="magnify/magnify.rbuild" />
</directory>
<directory name="mplay32">
<xi:include href="mplay32/mplay32.rbuild" />
</directory>
<directory name="msconfig">
<xi:include href="msconfig/msconfig.rbuild" />
</directory>
@@ -51,6 +61,9 @@
<directory name="notepad">
<xi:include href="notepad/notepad.rbuild" />
</directory>
<directory name="paint">
<xi:include href="paint/paint.rbuild" />
</directory>
<directory name="regedit">
<xi:include href="regedit/regedit.rbuild" />
</directory>
@@ -75,7 +88,16 @@
<directory name="winhlp32">
<xi:include href="winhlp32/winhlp32.rbuild" />
</directory>
<directory name="winver">
<xi:include href="winver/winver.rbuild" />
</directory>
<directory name="wordpad">
<xi:include href="wordpad/wordpad.rbuild" />
</directory>
<directory name="write">
<xi:include href="write/write.rbuild" />
</directory>
<directory name="rapps">
<xi:include href="rapps/rapps.rbuild" />
</directory>
</group>

View File

@@ -14,7 +14,7 @@
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <precomp.h>
@@ -529,7 +529,6 @@ _tmain(int argc, const TCHAR *argv[])
WIN32_FIND_DATA FindData;
HANDLE hFind;
DWORD LastError;
BOOL ContinueAccessDenied = FALSE;
if (argc > 2)
{
@@ -572,8 +571,7 @@ _tmain(int argc, const TCHAR *argv[])
{
LastError = GetLastError();
if (LastError == ERROR_ACCESS_DENIED &&
ContinueAccessDenied)
if (LastError == ERROR_ACCESS_DENIED)
{
PrintErrorMessage(LastError);
}

View File

@@ -15,7 +15,7 @@
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED

View File

@@ -1,95 +1,95 @@
/*
* cacls (TRADITIONAL Chinese resources)
* (<28>c<EFBFBD><EFBFBD><E9A4A4><EFBFBD>귽)
* Copyright 2007 jauming <jauming.tw@gmail.com>
*
* 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.1 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_HELP, "<22><><EFBFBD>ܩΪ̭ק<CCAD><D7A7><EFBFBD><EFBFBD>󪺳X<F3AABAB3>ݱ<EFBFBD><DDB1><EFBFBD><EFBFBD><EFBFBD> \n\n\
CACLS filename [/T] [/E] [/C] [/G user:perm [...]] [/R user [...]]\n\
[/P user:perm [...]] [/D user [...]]\n\
filename <20><><EFBFBD><EFBFBD> ACLs<4C>C\n\
/T <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>ؿ<EFBFBD><D8BF>Ψ<EFBFBD><CEA8>Ҧ<EFBFBD><D2A6>l<EFBFBD>ؿ<EFBFBD><D8BF><EFBFBD>\n\
<20><><EFBFBD>w<EFBFBD><77><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ACL<43>C\n\
/E <20>s<EFBFBD><73> ACL <20>Ӥ<EFBFBD><D3A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C\n\
/C <20>b<EFBFBD>X<EFBFBD>{<7B>ڵ<EFBFBD><DAB5>X<EFBFBD>ݿ<EFBFBD><DDBF>~<7E><><EFBFBD>~<7E><><EFBFBD>C\n\
/G user:perm <20><EFBFBD><E1A4A9><EFBFBD>w<EFBFBD>Τ<EFBFBD><CEA4>X<EFBFBD><58><EFBFBD>v<EFBFBD><76><EFBFBD>C\n\
Perm <20>i<EFBFBD>H<EFBFBD>O: R Ū<><C5AA> \n\
W <20>g<EFBFBD>J \n\
C <20><><EFBFBD><EFBFBD>(<28>g<EFBFBD>J) \n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \n\
/R user <20>M<EFBFBD>P<EFBFBD><50><EFBFBD>w<EFBFBD>Τ<CEA4>X<EFBFBD><58><EFBFBD>v<EFBFBD><76>(<28>Ȧb<C8A6>O /E <20>@<40>_<EFBFBD>ϥήɦX<C9A6>k)<29>C\n\
/P user:perm <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>Τ<CEA4>X<EFBFBD><58><EFBFBD>v<EFBFBD><76><EFBFBD>C\n\
Perm <20>i<EFBFBD>H<EFBFBD>O: N <20>L \n\
R Ū<><C5AA> \n\
W <20>g<EFBFBD>J \n\
C <20><><EFBFBD><EFBFBD>(<28>g<EFBFBD>J) \n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \n\
/D user <20>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>w<EFBFBD>Τ<CEA4>X<EFBFBD>ݡC\n\
<EFBFBD>b<EFBFBD>R<EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>H<EFBFBD>ϥγq<EFBFBD>t<EFBFBD>ū<EFBFBD><EFBFBD>w<EFBFBD>h<EFBFBD>Ӥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>C\n\
<EFBFBD>z<EFBFBD>]<5D>i<EFBFBD>H<EFBFBD>b<EFBFBD>R<EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>h<EFBFBD>ӥΤ<D3A5><CEA4>C\n\n\
<EFBFBD>Y<EFBFBD>g: \n\
CI - <20>e<EFBFBD><65><EFBFBD>~<7E>ӡC\n\
ACE<43>|<7C>ѥؿ<D1A5><D8BF>~<7E>ӡC\n\
OI - <20><><EFBFBD>H<EFBFBD>~<7E>ӡC\n\
ACE <20>|<7C>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD>~<7E>ӡC\n\
IO - <20>u<EFBFBD>~<7E>ӡC\n\
ACE <20><><EFBFBD>A<EFBFBD>Ω<EFBFBD><CEA9><EFBFBD><EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD>/<2F>ؿ<EFBFBD><D8BF>C\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(special access:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
END
/*
* cacls (TRADITIONAL Chinese resources)
* (<28>c<EFBFBD><EFBFBD><E9A4A4><EFBFBD>귽)
* Copyright 2007 jauming <jauming.tw@gmail.com>
*
* 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.1 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
*/
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_HELP, "<22><><EFBFBD>ܩΪ̭ק<CCAD><D7A7><EFBFBD><EFBFBD>󪺳X<F3AABAB3>ݱ<EFBFBD><DDB1><EFBFBD><EFBFBD><EFBFBD> \n\n\
CACLS filename [/T] [/E] [/C] [/G user:perm [...]] [/R user [...]]\n\
[/P user:perm [...]] [/D user [...]]\n\
filename <20><><EFBFBD><EFBFBD> ACLs<4C>C\n\
/T <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>ؿ<EFBFBD><D8BF>Ψ<EFBFBD><CEA8>Ҧ<EFBFBD><D2A6>l<EFBFBD>ؿ<EFBFBD><D8BF><EFBFBD>\n\
<20><><EFBFBD>w<EFBFBD><77><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ACL<43>C\n\
/E <20>s<EFBFBD><73> ACL <20>Ӥ<EFBFBD><D3A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C\n\
/C <20>b<EFBFBD>X<EFBFBD>{<7B>ڵ<EFBFBD><DAB5>X<EFBFBD>ݿ<EFBFBD><DDBF>~<7E><><EFBFBD>~<7E><><EFBFBD>C\n\
/G user:perm <20><EFBFBD><E1A4A9><EFBFBD>w<EFBFBD>Τ<EFBFBD><CEA4>X<EFBFBD><58><EFBFBD>v<EFBFBD><76><EFBFBD>C\n\
Perm <20>i<EFBFBD>H<EFBFBD>O: R Ū<><C5AA> \n\
W <20>g<EFBFBD>J \n\
C <20><><EFBFBD><EFBFBD>(<28>g<EFBFBD>J) \n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \n\
/R user <20>M<EFBFBD>P<EFBFBD><50><EFBFBD>w<EFBFBD>Τ<CEA4>X<EFBFBD><58><EFBFBD>v<EFBFBD><76>(<28>Ȧb<C8A6>O /E <20>@<40>_<EFBFBD>ϥήɦX<C9A6>k)<29>C\n\
/P user:perm <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>Τ<CEA4>X<EFBFBD><58><EFBFBD>v<EFBFBD><76><EFBFBD>C\n\
Perm <20>i<EFBFBD>H<EFBFBD>O: N <20>L \n\
R Ū<><C5AA> \n\
W <20>g<EFBFBD>J \n\
C <20><><EFBFBD><EFBFBD>(<28>g<EFBFBD>J) \n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \n\
/D user <20>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>w<EFBFBD>Τ<CEA4>X<EFBFBD>ݡC\n\
<EFBFBD>b<EFBFBD>R<EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>H<EFBFBD>ϥγq<EFBFBD>t<EFBFBD>ū<EFBFBD><EFBFBD>w<EFBFBD>h<EFBFBD>Ӥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>C\n\
<EFBFBD>z<EFBFBD>]<5D>i<EFBFBD>H<EFBFBD>b<EFBFBD>R<EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>h<EFBFBD>ӥΤ<D3A5><CEA4>C\n\n\
<EFBFBD>Y<EFBFBD>g: \n\
CI - <20>e<EFBFBD><65><EFBFBD>~<7E>ӡC\n\
ACE<43>|<7C>ѥؿ<D1A5><D8BF>~<7E>ӡC\n\
OI - <20><><EFBFBD>H<EFBFBD>~<7E>ӡC\n\
ACE <20>|<7C>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD>~<7E>ӡC\n\
IO - <20>u<EFBFBD>~<7E>ӡC\n\
ACE <20><><EFBFBD>A<EFBFBD>Ω<EFBFBD><CEA9><EFBFBD><EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD>/<2F>ؿ<EFBFBD><D8BF>C\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(special access:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
END

View File

@@ -42,7 +42,7 @@
#define IDC_STATIC ((DWORD)-1)
#endif
#define CALC_VERSION TEXT("1.10")
#define CALC_VERSION TEXT("1.11")
#define MAX_CALC_SIZE 256
@@ -51,30 +51,6 @@
#define SIZEOF(_ar) (sizeof(_ar)/sizeof(_ar[1]))
// RPN.C
/*
typedef struct _postfix_item_t {
unsigned int type;
union {
#ifdef ENABLE_MULTI_PRECISION
mpfr_t mf;
#else
double f;
INT64 i;
#endif
struct {
unsigned short int code;
unsigned short int elem;
} action;
} number;
struct _postfix_item_t *next;
} postfix_item_t;
void flush_postfix(void);
void infix2postfix(char *in_str);
postfix_item_t *exec_postfix(void);
*/
//
enum {
RPN_OPERATOR_PARENT,
@@ -93,6 +69,8 @@ enum {
RPN_OPERATOR_MOD,
RPN_OPERATOR_POW,
RPN_OPERATOR_SQR,
RPN_OPERATOR_NONE
};
typedef union {
@@ -124,7 +102,7 @@ void stop_rpn_engine(void);
typedef struct {
char *data;
char *ptr;
int wm_msg;
UINT wm_msg;
} sequence_t;
typedef struct {
@@ -190,6 +168,7 @@ extern calc_t calc;
#define MODIFIER_INV 0x01
#define MODIFIER_HYP 0x02
#define NO_CHAIN 0x04
void apply_int_mask(calc_number_t *a);
#ifdef ENABLE_MULTI_PRECISION

View File

@@ -1,11 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="calc" type="win32gui" installbase="system32" installname="calc.exe" allowwarnings="true" unicode="yes">
<module name="calc" type="win32gui" installbase="system32" installname="calc.exe" unicode="yes">
<include base="calc">.</include>
<define name="DISABLE_HTMLHELP_SUPPORT">1</define>
<library>user32</library>
<library>gdi32</library>
<library>advapi32</library>
<library>kernel32</library>
<library>gdi32</library>
<library>user32</library>
<file>about.c</file>
<file>convert.c</file>
<file>function.c</file>

View File

@@ -7,6 +7,7 @@
The base units for all categories are:
ANGLE..........degrees
AREA...........square meters
CONSUMPTION....kilometers per liter
CURRENCY.......Euro
@@ -15,9 +16,10 @@
POWER..........Watt
PRESSURE.......Pascal
TEMPERATURE....kelvin
TIME...........seconds
VELOCITY.......meters per second
VOLUME.........liter
WEIGHT.........kilogram
WEIGHT.........gram
The '$' character is used as "what you read into the display".
*/
@@ -41,6 +43,17 @@ typedef struct {
#define DECLARE_CONV_END \
{ 0, NULL, NULL },
/*
1 gradian = 0.9 deg
1 radian = 57.29577951308233 deg
*/
static const conv_t conv_ANGLE[] = {
DECLARE_CONV_UNIT(ANGLE, DEGREES, "$", "$")
DECLARE_CONV_UNIT(ANGLE, GRADIANS, "$*0.9", "$/0.9")
DECLARE_CONV_UNIT(ANGLE, RADIANS, "$*180/P", "$*P/180")
DECLARE_CONV_END
};
/*
1 acre ................ = 4840 square yd = 4046,8564224 mq
1 acre brazil ......... =
@@ -131,6 +144,7 @@ static const conv_t conv_CURRENCY[] = {
DECLARE_CONV_UNIT(CURRENCY, AUSTRIAN_SCHILLING, "$/13,7603", "$*13,7603")
DECLARE_CONV_UNIT(CURRENCY, BELGIAN_FRANC, "$/40,3399", "$*40,3399")
DECLARE_CONV_UNIT(CURRENCY, CYPRIOT_POUND, "$/0,585274","$*0,585274")
DECLARE_CONV_UNIT(CURRENCY, CZECH_KORUNA, "$/27,9766", "$*27,9766")
DECLARE_CONV_UNIT(CURRENCY, DEUTSCHE_MARK, "$/1,9558", "$*1,9558")
DECLARE_CONV_UNIT(CURRENCY, DUTCH_GUILDER, "$/2,20371", "$*2,20371")
DECLARE_CONV_UNIT(CURRENCY, EURO, "$", "$")
@@ -142,15 +156,20 @@ static const conv_t conv_CURRENCY[] = {
DECLARE_CONV_UNIT(CURRENCY, LUXEMBOURG_FRANC, "$/40,3399", "$*40,3399")
DECLARE_CONV_UNIT(CURRENCY, MALTESE_LIRA, "$/0.42930", "$*0.42930")
DECLARE_CONV_UNIT(CURRENCY, PORTOGUESE_ESCUDO, "$/200,482", "$*200,482")
DECLARE_CONV_UNIT(CURRENCY, SLOVAK_KORUNA, "$/30,126", "$*30,126")
DECLARE_CONV_UNIT(CURRENCY, SLOVENIAN_TOLAR, "$/239,640", "$*239,640")
DECLARE_CONV_UNIT(CURRENCY, SPANISH_PESETA, "$/166,386", "$*166,386")
DECLARE_CONV_END
};
/*
1 15^C ..... = 4.1855 J
1 cal15 .... = 4.1855 J
1 BTU ...... = 1055.056 J
1 ERG ...... = 0.0000001 J
1 EV ....... = 0.000000000000000000160217653 J
1 Foot-Pound = 1.3558179483314004 J
1 IT calorie = 4.1868 J
1 KCa ...... = 4186.8 J
1 KJ ....... = 1000 J
1 KWh ...... = 3600 J
1 IUNS ..... = 4.182 J
@@ -158,8 +177,12 @@ static const conv_t conv_CURRENCY[] = {
*/
static const conv_t conv_ENERGY[] = {
DECLARE_CONV_UNIT(ENERGY, 15_C_CALORIES, "$*4.1855", "$/4.1855")
DECLARE_CONV_UNIT(ENERGY, BTUS, "$*1055.056", "$/1055.056")
DECLARE_CONV_UNIT(ENERGY, ERGS, "$*.0000001", "$/.0000001")
DECLARE_CONV_UNIT(ENERGY, EVS, "$*.000000000000000000160217653", "$/.000000000000000000160217653")
DECLARE_CONV_UNIT(ENERGY, FOOT_POUNDS, "$*1.3558179483314004", "$/1.3558179483314004")
DECLARE_CONV_UNIT(ENERGY, IT_CALORIES, "$*4.1868", "$/4.1868")
DECLARE_CONV_UNIT(ENERGY, IT_KILOCALORIES, "$*4186.8", "$/4186.8")
DECLARE_CONV_UNIT(ENERGY, JOULES, "$", "$")
DECLARE_CONV_UNIT(ENERGY, KILOJOULES, "$*1000", "$/1000")
DECLARE_CONV_UNIT(ENERGY, KILOWATT_HOURS, "$*3600", "$/3600")
@@ -170,7 +193,7 @@ static const conv_t conv_ENERGY[] = {
/*
1 angstrom ....... = 0.0000000001 m
1 astronomila unit = 149598000000 m
1 astronomical unit= 149598000000 m
1 barleycorn ..... = 1/3 inch = 0.9144/108 m
1 cm ............. = 1/100 m
1 chain uk ....... = 22 yards = 22*0.9144 m
@@ -194,6 +217,7 @@ static const conv_t conv_ENERGY[] = {
1 lar ............ =
1 light year ..... = 9460730472580800 m
1 link uk ........ = 0.01 chains = 0.22*0.9144 m
1 micron ......... = 0.000001 m
1 mile ........... = 1760 yards = 1609.344 m
1 millimeter ..... = 1/1000 m
1 nautical mile .. = 1852 m
@@ -202,6 +226,7 @@ static const conv_t conv_ENERGY[] = {
1 pica ........... = yard/216 = 0.9144/216 m
1 ri japan ....... =
1 ri korea ....... =
1 rod ............ = 5.0292 m
1 sawk ........... =
1 sen ............ =
1 shaku .......... = 10/33 m
@@ -215,7 +240,7 @@ static const conv_t conv_ENERGY[] = {
*/
static const conv_t conv_LENGTH[] = {
DECLARE_CONV_UNIT(LENGTH, ANGSTROMS, "$*0.0000000001", "$/0.0000000001")
DECLARE_CONV_UNIT(LENGTH, ASTRONOMILA_UNITS, "$*149598000000", "$/149598000000")
DECLARE_CONV_UNIT(LENGTH, ASTRONOMICAL_UNITS, "$*149598000000", "$/149598000000")
DECLARE_CONV_UNIT(LENGTH, BARLEYCORNS, "$*0.9144/108", "$/0.9144*108")
DECLARE_CONV_UNIT(LENGTH, CENTIMETERS, "$/100", "$*100")
DECLARE_CONV_UNIT(LENGTH, CHAINS_UK, "$*20.1168", "$/20.1168")
@@ -241,12 +266,14 @@ static const conv_t conv_LENGTH[] = {
DECLARE_CONV_UNIT(LENGTH, LIGHT_YEARS, "$*9460730472580800", "$/9460730472580800")
DECLARE_CONV_UNIT(LENGTH, LINKS_UK, "$*0.201168", "$/0.201168")
DECLARE_CONV_UNIT(LENGTH, METERS, "$", "$")
DECLARE_CONV_UNIT(LENGTH, MICRONS, "$*0.000001", "$/0.000001")
DECLARE_CONV_UNIT(LENGTH, MILES, "$*1609.344", "$/1609.344")
DECLARE_CONV_UNIT(LENGTH, MILLIMETERS, "$/1000", "$*1000")
DECLARE_CONV_UNIT(LENGTH, NAUTICAL_MILES, "$*1852", "$/1852")
// DECLARE_CONV_UNIT(LENGTH, NIEU, "$", "$")
DECLARE_CONV_UNIT(LENGTH, PARSECS, "$*30856800000000000", "$/30856800000000000")
DECLARE_CONV_UNIT(LENGTH, PICAS, "$*0.9144/216", "$/0.9144*216")
DECLARE_CONV_UNIT(LENGTH, RODS, "$*5.0292", "$/5.0292")
// DECLARE_CONV_UNIT(LENGTH, RI_JAPAN, "$", "$")
// DECLARE_CONV_UNIT(LENGTH, RI_KOREA, "$", "$")
// DECLARE_CONV_UNIT(LENGTH, SAWK, "$", "$")
@@ -263,33 +290,61 @@ static const conv_t conv_LENGTH[] = {
};
/*
1 BTU/min = 17.5842642 W
1 Foot-pound/minute = 0.02259696580552333 W
1 hp = 745.69987158227022 W
1 KW = 1000 W
1 MW = 1000000 W
*/
static const conv_t conv_POWER[] = {
DECLARE_CONV_UNIT(POWER, HORSEPOWER, "$*745.69987158227022", "$/745.69987158227022")
DECLARE_CONV_UNIT(POWER, KILOWATTS, "$*1000", "$/1000")
DECLARE_CONV_UNIT(POWER, MEGAWATTS, "$*1000000", "$/1000000")
DECLARE_CONV_UNIT(POWER, WATTS, "$", "$")
DECLARE_CONV_UNIT(POWER, BTUS_PER_MINUTE, "$*17.5842642", "$/17.5842642")
DECLARE_CONV_UNIT(POWER, FPS_PER_MINUTE, "$*0.02259696580552333", "$/0.02259696580552333")
DECLARE_CONV_UNIT(POWER, HORSEPOWER, "$*745.69987158227022", "$/745.69987158227022")
DECLARE_CONV_UNIT(POWER, KILOWATTS, "$*1000", "$/1000")
DECLARE_CONV_UNIT(POWER, MEGAWATTS, "$*1000000", "$/1000000")
DECLARE_CONV_UNIT(POWER, WATTS, "$", "$")
DECLARE_CONV_END
};
/*
1 ATM = 101325 Pa
1 BAR = 100000 Pa
1 hPa = 100 Pa
1 kPa = 1000 Pa
1 mm HG = 133.322 Pa
1 psi = 6894.757 Pa
*/
static const conv_t conv_PRESSURE[] = {
DECLARE_CONV_UNIT(PRESSURE, ATMOSPHERES, "$*101325", "$/101325")
DECLARE_CONV_UNIT(PRESSURE, BARS, "$*100000", "$/100000")
DECLARE_CONV_UNIT(PRESSURE, HECTOPASCALS, "$*100", "$/100")
DECLARE_CONV_UNIT(PRESSURE, KILOPASCALS, "$*1000", "$/1000")
DECLARE_CONV_UNIT(PRESSURE, MM_OF_MERCURY, "$*133.322", "$/133.322")
DECLARE_CONV_UNIT(PRESSURE, PASCALS, "$", "$")
DECLARE_CONV_UNIT(PRESSURE, PSI, "$*6894.757", "$/6894.757")
DECLARE_CONV_END
};
/*
1 day ....... = 86400 s
1 hour ...... = 3600 s
1 microsecond = 0.000001 s
1 millisecond = 0.001 s
1 minute .... = 60 s
1 week ...... = 669600 s
*/
static const conv_t conv_TIME[] = {
DECLARE_CONV_UNIT(TIME, MINUTES, "$*60", "$/60")
DECLARE_CONV_UNIT(TIME, DAYS, "$*86400", "$/86400")
DECLARE_CONV_UNIT(TIME, HOURS, "$*3600", "$/3600")
DECLARE_CONV_UNIT(TIME, MILLISECONDS, "$*0.001", "$/0.001")
DECLARE_CONV_UNIT(TIME, MICROSECONDS, "$*0.000001", "$/0.000001")
DECLARE_CONV_UNIT(TIME, SECONDS, "$", "$")
DECLARE_CONV_UNIT(TIME, WEEKS, "$*604800", "$/604800")
DECLARE_CONV_UNIT(TIME, YEARS, "$*31556952", "$/31556952")
DECLARE_CONV_END
};
/*
C = K - 273.15
F = K * 9/5 - 459.67
@@ -304,14 +359,18 @@ static const conv_t conv_TEMPERATURE[] = {
};
/*
1 f/h = 0.3048 m/s
1 cm/s = 0.01 m/s
1 f/h = 0.0000846666667 m/s
1 f/s = 0.3048 m/s
1 Km/h = 10/36 m/s -> 0.27778 m/s
1 knot = 18.52/36 m/s -> 0.51444444 m/s
1 mach = 340.3 m/s
1 mph = 0.44704 m/s
*/
static const conv_t conv_VELOCITY[] = {
DECLARE_CONV_UNIT(VELOCITY, FEET_HOUR, "$*.3048", "$/.3048")
DECLARE_CONV_UNIT(VELOCITY, CMS_SECOND, "$*.01", "$/.01")
DECLARE_CONV_UNIT(VELOCITY, FEET_SECOND, "$*.3048", "$/.3048")
DECLARE_CONV_UNIT(VELOCITY, FEET_HOUR, "$*.0000846666667", "$/.0000846666667")
DECLARE_CONV_UNIT(VELOCITY, KILOMETERS_HOUR, "$*10/36", "$*36/10")
DECLARE_CONV_UNIT(VELOCITY, KNOTS, "$*18.52/36", "$*36/18.52")
DECLARE_CONV_UNIT(VELOCITY, MACH, "$*340.3", "$/340.3")
@@ -417,8 +476,8 @@ static const conv_t conv_VOLUME[] = {
1 stone ........... = 6350.29318 g
1 tamlung ......... =
1 ton ............. = 1000000 g
1 ton uk .......... = 1016046.9088 g
1 ton us .......... = 907184.74 g
1 ton uk .......... = 1016046.9088 g // long ton
1 ton us .......... = 907184.74 g // short ton
*/
static const conv_t conv_WEIGHT[] = {
DECLARE_CONV_UNIT(WEIGHT, BAHT, "$*12.244", "$/12.244")
@@ -451,6 +510,7 @@ static const conv_t conv_WEIGHT[] = {
};
static const conv_category_t conv_table[] = {
DECLARE_CONV_CAT(ANGLE)
DECLARE_CONV_CAT(AREA)
DECLARE_CONV_CAT(CONSUMPTION)
DECLARE_CONV_CAT(CURRENCY)
@@ -458,6 +518,7 @@ static const conv_category_t conv_table[] = {
DECLARE_CONV_CAT(LENGTH)
DECLARE_CONV_CAT(POWER)
DECLARE_CONV_CAT(PRESSURE)
DECLARE_CONV_CAT(TIME)
DECLARE_CONV_CAT(TEMPERATURE)
DECLARE_CONV_CAT(VELOCITY)
DECLARE_CONV_CAT(VOLUME)

View File

@@ -9,14 +9,10 @@ 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
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
@@ -230,7 +226,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
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"
@@ -341,38 +337,37 @@ BEGIN
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
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 "<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 "<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 "<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
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 "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><> ReactOS Calc", IDM_HELP_ABOUT
MENUITEM "<22><> ReactOS Calc", IDM_HELP_ABOUT
END
END
@@ -380,32 +375,32 @@ 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
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 "<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 "<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
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 "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><> ReactOS Calc", IDM_HELP_ABOUT
MENUITEM "<22><> ReactOS Calc", IDM_HELP_ABOUT
END
END
@@ -413,22 +408,22 @@ 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
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 "<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
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 "<22><><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><> ReactOS Calc", IDM_HELP_ABOUT
MENUITEM "<22><> ReactOS Calc", IDM_HELP_ABOUT
END
END
@@ -444,6 +439,7 @@ 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>"
@@ -452,11 +448,20 @@ BEGIN
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
@@ -511,9 +516,10 @@ 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 "Euro"
IDS_CURRENCY_EURO "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_FINNISH_MARKKA "Finnish markka"
IDS_CURRENCY_FRENCH_FRANC "French franc"
IDS_CURRENCY_GREEK_DRACHMA "Greek Drachma"
@@ -522,6 +528,7 @@ BEGIN
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
@@ -529,12 +536,16 @@ END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 ^C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
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_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
@@ -543,7 +554,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_ASTRONOMILA_UNITS "Astronomila units"
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><>)"
@@ -569,6 +580,7 @@ BEGIN
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>"
@@ -577,6 +589,7 @@ BEGIN
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"
@@ -592,6 +605,8 @@ 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>"
@@ -603,6 +618,8 @@ 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>"
@@ -617,10 +634,25 @@ BEGIN
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_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>"

View File

@@ -1,6 +1,6 @@
/* FILE: base/applications/calc/lang/cs-CZ.rc
* TRANSLATOR: Radek Liska aka Black_Fox (radekliska at gmail dot com)
* UPDATED: 2008-07-27
* UPDATED: 2009-01-25
*/
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
@@ -8,7 +8,7 @@ LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
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
@@ -164,7 +164,7 @@ BEGIN
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 172, 127
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
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
@@ -231,7 +231,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
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"
@@ -309,7 +309,7 @@ BEGIN
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
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
@@ -328,7 +328,7 @@ BEGIN
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistick<63> v<>po<70>ty"
FONT 8, "MS Shell Dlg"
BEGIN
@@ -444,6 +444,7 @@ 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"
@@ -451,12 +452,21 @@ BEGIN
IDS_CONV_VOLUME "Objem"
IDS_CONV_AREA "Plocha"
IDS_CONV_VELOCITY "Rychlost"
IDS_CONV_CONSUMPTION "Spot<6F>eba (motory)"
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
@@ -508,8 +518,8 @@ 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"
@@ -523,6 +533,7 @@ BEGIN
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
@@ -530,12 +541,16 @@ END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 ^C kalorie"
IDS_ENERGY_15_C_CALORIES "15 <EFBFBD>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
@@ -544,7 +559,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstr<74>my"
IDS_LENGTH_ASTRONOMILA_UNITS "Astronomick<63> jednotky"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomick<63> jednotky"
IDS_LENGTH_BARLEYCORNS "Barleycorny"
IDS_LENGTH_CENTIMETERS "Centimetry"
IDS_LENGTH_CHAINS_UK "Chains (Gunter's chains) (UK)"
@@ -567,6 +582,7 @@ BEGIN
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"
@@ -576,6 +592,7 @@ BEGIN
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"
@@ -593,6 +610,8 @@ 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"
@@ -604,6 +623,8 @@ 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"
@@ -618,14 +639,29 @@ BEGIN
IDS_TEMPERATURE_RANKINE "Rankina"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Dny"
IDS_TIME_HOURS "Hodiny"
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_KILOMETERS_HOUR "Kilometry/hodinu"
IDS_VELOCITY_CMS_SECOND "Centimetry za hodinu"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometry za hodinu"
IDS_VELOCITY_MACH "Machy"
IDS_VELOCITY_METERS_SECOND "Metry/sekundu"
IDS_VELOCITY_MILES_HOUR "M<>le/hodinu"
IDS_VELOCITY_FEET_HOUR "Stopy/hodinu"
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

View File

@@ -9,14 +9,10 @@ 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 "Dez",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,40,24,29,
10
CONTROL "Okt",IDC_RADIO_OCT,"Button",BS_AUTORADIOBUTTON,72,24,27,
10
CONTROL "Bin",IDC_RADIO_BIN,"Button",BS_AUTORADIOBUTTON,100,24,
26,10
CONTROL "Hex",IDC_RADIO_HEX,"Button",BS_AUTORADIOBUTTON,8,24,29,10
CONTROL "Dez",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,40,24,29,10
CONTROL "Okt",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
@@ -230,7 +226,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Rechner"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
@@ -341,7 +337,6 @@ BEGIN
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
@@ -455,6 +450,16 @@ BEGIN
IDS_CONV_CONSUMPTION "Verbrauch (Motoren)"
IDS_CONV_VOLUME "Volumeneinheit"
IDS_CONV_CURRENCY "W<>hrung"
IDS_CONV_ANGLE "Winkel"
IDS_CONV_TIME "Zeit"
END
// WINKELTYPEN
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_GRADIANS "Gon"
IDS_ANGLE_DEGREES "Grad"
IDS_ANGLE_RADIANS "Radiant"
END
// FL<46>CHENTYPEN
@@ -521,18 +526,24 @@ BEGIN
IDS_CURRENCY_DUTCH_GUILDER "Niederl<72>ndische Guilder"
IDS_CURRENCY_AUSTRIAN_SCHILLING "<22>sterreichische Schilling"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portugiesische Escudo"
IDS_CURRENCY_SLOVAK_KORUNA "Slowakische Krone"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovenische Tolar"
IDS_CURRENCY_SPANISH_PESETA "Spanische Peseta"
IDS_CURRENCY_CZECH_KORUNA "Tschechische Krone"
IDS_CURRENCY_CYPRIOT_POUND "Zypriotische Pfund"
END
// ENERGIETYPEN
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 ^C Kalorien"
IDS_ENERGY_15_C_CALORIES "15 <EFBFBD>C Kalorien"
IDS_ENERGY_BTUS "British thermal unit"
IDS_ENERGY_EVS "Elektronenvolt"
IDS_ENERGY_ERGS "Ergs"
IDS_ENERGY_NUTRITION_CALORIES "Ern<72>hrung Kalorien"
IDS_ENERGY_FOOT_POUNDS "Foot-Pound"
IDS_ENERGY_IT_CALORIES "International Kalorien"
IDS_ENERGY_IT_KILOCALORIES "International Kilokalorien"
IDS_ENERGY_JOULES "Joules"
IDS_ENERGY_KILOJOULES "Kilojoules"
IDS_ENERGY_KILOWATT_HOURS "Kilowattstunden"
@@ -543,7 +554,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstr<74>ms"
IDS_LENGTH_ASTRONOMILA_UNITS "Astronomische Einheiten"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomische Einheiten"
IDS_LENGTH_CHAINS_UK "Chains (UK)"
IDS_LENGTH_CHI "Chi"
IDS_LENGTH_CHOU "Chou"
@@ -568,6 +579,7 @@ BEGIN
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_MILES "Meilen"
IDS_LENGTH_METERS "Meter"
IDS_LENGTH_MICRONS "Mikrometer"
IDS_LENGTH_MILLIMETERS "Millimeter"
IDS_LENGTH_NAUTICAL_MILES "Nautische Meilen"
IDS_LENGTH_NIEU "Nieu"
@@ -575,6 +587,7 @@ BEGIN
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"
@@ -592,6 +605,8 @@ END
// ARBEITSTYPEN
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "BTU pro Minute"
IDS_POWER_FPS_PER_MINUTE "Foot-Pound pro Minute"
IDS_POWER_KILOWATTS "Kilowatt"
IDS_POWER_MEGAWATTS "Megawatt"
IDS_POWER_HORSEPOWER "Pferdest<73>rken"
@@ -603,6 +618,8 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmosph<70>ren"
IDS_PRESSURE_BARS "Bar"
IDS_PRESSURE_HECTOPASCALS "Hektopascal"
IDS_PRESSURE_KILOPASCALS "Kilopascal"
IDS_PRESSURE_MM_OF_MERCURY "Millimeter auf dem Quecksilber"
IDS_PRESSURE_PASCALS "Pascal"
IDS_PRESSURE_PSI "Pfunddruck pro Quadratzoll"
@@ -617,9 +634,24 @@ BEGIN
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Tagen"
IDS_TIME_HOURS "Stunden"
IDS_TIME_MICROSECONDS "Mikrosekunden"
IDS_TIME_MILLISECONDS "Millisekunden"
IDS_TIME_MINUTES "Minuten"
IDS_TIME_SECONDS "Sekunden"
IDS_TIME_WEEKS "Wochen"
IDS_TIME_YEARS "Jahren"
END
// GESCHWINDIGKEITSTYPEN
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Zentimeter/Sekunde"
IDS_VELOCITY_FEET_SECOND "Fu<46>/Sekunde"
IDS_VELOCITY_FEET_HOUR "Fu<46>/Stunde"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometer/Stunde"
IDS_VELOCITY_KNOTS "Knoten"

View File

@@ -0,0 +1,731 @@
LANGUAGE LANG_GREEK, 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>"
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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "<22><><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 "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><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 "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><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 "<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 "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><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
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><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> <20><><EFBFBD> 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 "<22><><EFBFBD><EFBFBD><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><EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "View"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", 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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "<22><><EFBFBD><EFBFBD><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><EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "View"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "<22><><EFBFBD><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 "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><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "<22><><EFBFBD><EFBFBD><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><EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "View"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "Help"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...", 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 "Quick help"
END
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_AREA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_CONSUMPTION "Consumption (engines)"
IDS_CONV_CURRENCY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_ENERGY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_LENGTH "Lenghts"
IDS_CONV_POWER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_PRESSURE "<22><><EFBFBD><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>"
IDS_CONV_VOLUME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_WEIGHT "Weights"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ANGLE_GRADIANS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ANGLE_RADIANS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_CYPRIOT_POUND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_CZECH_KORUNA "Czech koruna"
IDS_CURRENCY_DEUTSCHE_MARK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_DUTCH_GUILDER "Dutch guilder"
IDS_CURRENCY_EURO "<22><><EFBFBD><EFBFBD>"
IDS_CURRENCY_FINNISH_MARKKA "Finnish markka"
IDS_CURRENCY_FRENCH_FRANC "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_GREEK_DRACHMA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_IRISH_POUND "Irish pound"
IDS_CURRENCY_ITALIAN_LIRA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_LUXEMBOURG_FRANC "Luxembourg franc"
IDS_CURRENCY_MALTESE_LIRA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_PORTOGUESE_ESCUDO "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_SLOVAK_KORUNA "Slovak koruna"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovenian tolar"
IDS_CURRENCY_SPANISH_PESETA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
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 "Angstroms"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomical units"
IDS_LENGTH_BARLEYCORNS "Barleycorns"
IDS_LENGTH_CENTIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
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 "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_FURLONGS "Furlongs"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Hands"
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><EFBFBD>"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Light years"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_MICRONS "Microns"
IDS_LENGTH_MILES "<22><><EFBFBD><EFBFBD><EFBFBD>"
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 "<22><><EFBFBD><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 "Horsepower"
IDS_POWER_KILOWATTS "Kilowatts"
IDS_POWER_MEGAWATTS "Megawatts"
IDS_POWER_WATTS "Watts"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TEMPERATURE_FAHRENHEIT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TEMPERATURE_KELVIN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_HOURS "<22><><EFBFBD><EFBFBD>"
IDS_TIME_MICROSECONDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_MILLISECONDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_MINUTES "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_SECONDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_TIME_WEEKS "<22><><EFBFBD><EFBFBD><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>/<2F><><EFBFBD>"
IDS_VELOCITY_FEET_HOUR "<22><><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD>"
IDS_VELOCITY_FEET_SECOND "<22><><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_KILOMETERS_HOUR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD>"
IDS_VELOCITY_KNOTS "Knots"
IDS_VELOCITY_MACH "Mach"
IDS_VELOCITY_METERS_SECOND "<22><><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_MILES_HOUR "<22><><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD>"
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

@@ -3,7 +3,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
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
@@ -159,7 +159,7 @@ BEGIN
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 172, 127
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
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
@@ -226,7 +226,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Calculator"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
@@ -304,7 +304,7 @@ BEGIN
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About ReactOS Calc"
FONT 8, "MS Shell Dlg"
BEGIN
@@ -323,7 +323,7 @@ BEGIN
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistics box"
FONT 8, "MS Shell Dlg"
BEGIN
@@ -436,22 +436,32 @@ BEGIN
IDS_QUICKHELP "Quick help"
END
// types of conversion
// 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 "Lenghts"
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
@@ -506,6 +516,7 @@ 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"
@@ -517,6 +528,7 @@ BEGIN
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
@@ -524,9 +536,13 @@ END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 ^C calories"
IDS_ENERGY_15_C_CALORIES "15 <EFBFBD>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"
@@ -537,8 +553,8 @@ END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstroms"
IDS_LENGTH_ASTRONOMILA_UNITS "Astronomila units"
IDS_LENGTH_ANGSTROMS "<EFBFBD>ngstr<EFBFBD>ms"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomical units"
IDS_LENGTH_BARLEYCORNS "Barleycorns"
IDS_LENGTH_CENTIMETERS "Centimeters"
IDS_LENGTH_CHAINS_UK "Chains (UK)"
@@ -564,6 +580,7 @@ BEGIN
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"
@@ -572,6 +589,7 @@ BEGIN
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"
@@ -587,6 +605,8 @@ 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"
@@ -598,6 +618,8 @@ 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"
@@ -612,10 +634,25 @@ BEGIN
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Days"
IDS_TIME_HOURS "Hours"
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"

View File

@@ -1,5 +1,5 @@
/*
*Spanish Language resource file
* Spanish Language resource file
* Traducido por: Javier Remacha 2008
*/
@@ -14,14 +14,10 @@ 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
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
@@ -235,7 +231,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Calculator"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
@@ -346,7 +342,6 @@ BEGIN
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
@@ -394,10 +389,10 @@ BEGIN
MENUITEM "Cient<6E>fica", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversi<73>n", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hexadecimal\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Hexadecimal\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Decimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binario\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM "Binario\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "Dword\tF2", IDM_VIEW_DWORD, CHECKED
@@ -433,7 +428,7 @@ BEGIN
BEGIN
MENUITEM "Temas de ayuda", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Acerca de Calculadora ReactOS", IDM_HELP_ABOUT
MENUITEM "Acerca de Calculadora ReactOS", IDM_HELP_ABOUT
END
END
@@ -446,9 +441,10 @@ BEGIN
IDS_QUICKHELP "Ayuda r<>pida"
END
// types of conversion
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "<22>ngulo"
IDS_CONV_AREA "<22>rea"
IDS_CONV_CONSUMPTION "Consumo (motores)"
IDS_CONV_CURRENCY "Monedas"
@@ -457,11 +453,20 @@ BEGIN
IDS_CONV_POWER "Potencia"
IDS_CONV_PRESSURE "Presi<73>n"
IDS_CONV_TEMPERATURE "Temperatura"
IDS_CONV_TIME "Tiempo"
IDS_CONV_VELOCITY "Velocidad"
IDS_CONV_VOLUME "Volumen"
IDS_CONV_WEIGHT "Peso"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Grados sexagesimales"
IDS_ANGLE_GRADIANS "Grados centesimales"
IDS_ANGLE_RADIANS "Radianes"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
@@ -516,6 +521,7 @@ BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Schilling Austriaco"
IDS_CURRENCY_BELGIAN_FRANC "Franco Belga"
IDS_CURRENCY_CYPRIOT_POUND "Libra Chipriota"
IDS_CURRENCY_CZECH_KORUNA "Corona Checa"
IDS_CURRENCY_DEUTSCHE_MARK "Marco Alem<65>n"
IDS_CURRENCY_DUTCH_GUILDER "Flor<6F>n Neerland<6E>s"
IDS_CURRENCY_EURO "Euro"
@@ -527,6 +533,7 @@ BEGIN
IDS_CURRENCY_LUXEMBOURG_FRANC "Franco Luxemburgu<67>s"
IDS_CURRENCY_MALTESE_LIRA "Lira Maltesa"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Escudo Portugu<67>s"
IDS_CURRENCY_SLOVAK_KORUNA "Corona Eslovaca"
IDS_CURRENCY_SLOVENIAN_TOLAR "Tolar Esloveno"
IDS_CURRENCY_SPANISH_PESETA "Peseta Espa<70>ola"
END
@@ -534,9 +541,13 @@ END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 ^C calor<6F>as"
IDS_ENERGY_15_C_CALORIES "15 <EFBFBD>C calor<6F>as"
IDS_ENERGY_BTUS "BTU"
IDS_ENERGY_ERGS "Ergios"
IDS_ENERGY_EVS "Electronovoltios"
IDS_ENERGY_FOOT_POUNDS "Ft<46>Lbs"
IDS_ENERGY_IT_CALORIES "Tabla internacional de calor<6F>as"
IDS_ENERGY_IT_KILOCALORIES "Tabla internacional de kilocalor<6F>as"
IDS_ENERGY_JOULES "Julios"
IDS_ENERGY_KILOJOULES "Kilojulios"
IDS_ENERGY_KILOWATT_HOURS "Kilowatios hora"
@@ -547,8 +558,8 @@ END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstroms"
IDS_LENGTH_ASTRONOMILA_UNITS "Astronomila units"
IDS_LENGTH_ANGSTROMS "<EFBFBD>ngstr<EFBFBD>ms"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomical units"
IDS_LENGTH_BARLEYCORNS "Barleycorns"
IDS_LENGTH_CENTIMETERS "Cent<6E>metros"
IDS_LENGTH_CHAINS_UK "Cadenas (UK)"
@@ -574,6 +585,7 @@ BEGIN
IDS_LENGTH_LIGHT_YEARS "A<>os luz"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "Metros"
IDS_LENGTH_MICRONS "Micr<63>metros"
IDS_LENGTH_MILES "Millas"
IDS_LENGTH_MILLIMETERS "Mil<69>metros"
IDS_LENGTH_NAUTICAL_MILES "Millas nauticas"
@@ -582,6 +594,7 @@ BEGIN
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"
@@ -597,6 +610,8 @@ END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "BTU/Minuto"
IDS_POWER_FPS_PER_MINUTE "Ft<46>Lbs/Minuto"
IDS_POWER_HORSEPOWER "Caballos de vapor"
IDS_POWER_KILOWATTS "Kilowatios"
IDS_POWER_MEGAWATTS "Megawatios"
@@ -608,6 +623,8 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atm<74>sferas"
IDS_PRESSURE_BARS "Bares"
IDS_PRESSURE_HECTOPASCALS "Kilopascales"
IDS_PRESSURE_KILOPASCALS "Hectopascales"
IDS_PRESSURE_MM_OF_MERCURY "Mil<69>metros de mercurio"
IDS_PRESSURE_PASCALS "Pascales"
IDS_PRESSURE_PSI "Libras fuerza por pulgada cuadrada"
@@ -622,10 +639,25 @@ BEGIN
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "D<>as"
IDS_TIME_HOURS "Horas"
IDS_TIME_MICROSECONDS "Microsegundos"
IDS_TIME_MILLISECONDS "Milisegundos"
IDS_TIME_MINUTES "Minutos"
IDS_TIME_SECONDS "Segundos"
IDS_TIME_WEEKS "Semanas"
IDS_TIME_YEARS "A<>os"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Cent<6E>metros/segundo"
IDS_VELOCITY_FEET_HOUR "Pies/hora"
IDS_VELOCITY_FEET_SECOND "Pies/segundo"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometros/hora"
IDS_VELOCITY_KNOTS "Knots"
IDS_VELOCITY_MACH "Mach"

View File

@@ -0,0 +1,731 @@
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Calculatrice 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 "Q-mot",IDC_RADIO_QWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,148,24,37,10
CONTROL "D-mot",IDC_RADIO_DWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,188,24,37,10
CONTROL "Mot",IDC_RADIO_WORD,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,232,24,33,10
CONTROL "Octet",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,272,24,30,10
CONTROL "Degr<67>s",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "Radians",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "Grades",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 "Retour arri<72>re",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 "Calculatrice 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 "Retour arri<72>re",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 "Calculatrice ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Convertir",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,4,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Cat<61>gorie :",IDC_STATIC,4,20,56,8
COMBOBOX IDC_COMBO_FROM,4,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Convertir depuis :",IDC_STATIC,4,49,56,8
COMBOBOX IDC_COMBO_TO,4,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Convertir en :",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 "Retour arri<72>re",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> propos de la Calculatrice ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,105,148,52,16
CONTROL IDB_BITMAP_ROS,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,4,4,104,48
LTEXT "Calculatrice ReactOS",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "Version ",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "par Carlo Bramini",IDC_STATIC,120,32,132,8,
SS_CENTERIMAGE
GROUPBOX "",IDC_STATIC,112,0,148,52
GROUPBOX "",IDC_STATIC,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 "Statistiques"
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>dition"
BEGIN
MENUITEM "Copier\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Coller\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Affichage"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Scientifique", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversion", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hexad<61>cimal\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "D<>cimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binaire\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Degr<67>s\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radians\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Grades\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Grouper les chiffres", IDM_VIEW_GROUP, CHECKED
END
POPUP "Aide"
BEGIN
MENUITEM "Rubriques d'aide", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22> propos de la Calculatrice ReactOS", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "<22>dition"
BEGIN
MENUITEM "Copier\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Coller\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Affichage"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Scientifique", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversion", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hexad<61>cimal\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "D<>cimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binaire\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Q-mot\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "D-mot\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "Mot\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Octet\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "Grouper les chiffres", IDM_VIEW_GROUP, CHECKED
END
POPUP "Aide"
BEGIN
MENUITEM "Rubriques d'aide", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22> propos de la Calculatrice ReactOS", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "<22>dition"
BEGIN
MENUITEM "Copier\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Coller\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Affichage"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Scientifique", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversion", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Grouper les chiffres", IDM_VIEW_GROUP, CHECKED
END
POPUP "Aide"
BEGIN
MENUITEM "Rubriques d'aide", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22> propos de la Calculatrice ReactOS", IDM_HELP_ABOUT
END
END
// String Tables
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "Calculatrice ReactOS est un logiciel libre distribu<62> sous licence GNU GPL.\r\n\r\nVous pouvez obtenir une copie de la licence GNU GPL ici:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nVous pouvez aussi obtenir une traduction de la licence GNU GPL ici:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Erreur"
IDS_QUICKHELP "Aide rapide"
END
// types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "Angle"
IDS_CONV_AREA "Superficie"
IDS_CONV_CONSUMPTION "Consommation (moteurs)"
IDS_CONV_CURRENCY "Devises"
IDS_CONV_ENERGY "<22>nergie"
IDS_CONV_LENGTH "Longueurs"
IDS_CONV_POWER "Puissance"
IDS_CONV_PRESSURE "Pression"
IDS_CONV_TEMPERATURE "Temp<6D>rature"
IDS_CONV_TIME "Temps"
IDS_CONV_VELOCITY "V<>locit<69>"
IDS_CONV_VOLUME "Volume"
IDS_CONV_WEIGHT "Poids"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Degr<67>s"
IDS_ANGLE_GRADIANS "Grades"
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 (Hongrie)"
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 "Centim<69>tres carr<72>s"
IDS_AREA_SQUARE_CHR "Chr carr<72>"
IDS_AREA_SQUARE_FATHOMS "Fathoms carr<72>s"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "Fathoms carr<72>s (Hongrie)"
IDS_AREA_SQUARE_FEET "Pieds carr<72>s"
IDS_AREA_SQUARE_INCHES "Pouces carr<72>s"
IDS_AREA_SQUARE_KILOMETERS "Kilom<6F>tres carr<72>s"
IDS_AREA_SQUARE_LAR "Square lar"
IDS_AREA_SQUARE_METER "M<>tre carr<72>"
IDS_AREA_SQUARE_MILES "Miles carr<72>s"
IDS_AREA_SQUARE_MILLIMETERS "Millim<69>tres carr<72>s"
IDS_AREA_SQUARE_SHAKU "Shaku carr<72>"
IDS_AREA_SQUARE_TSUEN "Tsuen carr<72>"
IDS_AREA_SQUARE_VA "Va carr<72>"
IDS_AREA_SQUARE_YARD "Yard carr<72>"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
// TYPES OF COMSUMPTIONS
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "Kilom<6F>tre/litre"
IDS_CONSUMPTION_L_PER_100_KM "Litres/100 kilom<6F>tres"
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 "Schilling autrichien"
IDS_CURRENCY_BELGIAN_FRANC "Franc belge"
IDS_CURRENCY_CYPRIOT_POUND "Livre chypriote"
IDS_CURRENCY_CZECH_KORUNA "Couronne tch<63>que"
IDS_CURRENCY_DEUTSCHE_MARK "Mark allemand"
IDS_CURRENCY_DUTCH_GUILDER "Dutch guilder"
IDS_CURRENCY_EURO "Euro"
IDS_CURRENCY_FINNISH_MARKKA "Marks finlandais"
IDS_CURRENCY_FRENCH_FRANC "Franc fran<61>ais"
IDS_CURRENCY_GREEK_DRACHMA "Drachmes grecques"
IDS_CURRENCY_IRISH_POUND "Livre irlandaise"
IDS_CURRENCY_ITALIAN_LIRA "Lire italienne"
IDS_CURRENCY_LUXEMBOURG_FRANC "Franc luxembourgeois"
IDS_CURRENCY_MALTESE_LIRA "Lire maltaise"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Escudo portugaise"
IDS_CURRENCY_SLOVAK_KORUNA "Couronne slovaque"
IDS_CURRENCY_SLOVENIAN_TOLAR "Tolar slov<6F>ne"
IDS_CURRENCY_SPANISH_PESETA "Peseta espagnole"
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 "<22>lectron-volts"
IDS_ENERGY_FOOT_POUNDS "Pied-livres"
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 "Kilowattheure"
IDS_ENERGY_NUTRITION_CALORIES "Calories nutritives"
IDS_ENERGY_TH_CALORIES "Calories thermochimiques"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstr<74>m"
IDS_LENGTH_ASTRONOMICAL_UNITS "Unit<69>s astronomiques"
IDS_LENGTH_BARLEYCORNS "Barleycorns"
IDS_LENGTH_CENTIMETERS "Centim<69>tres"
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 "Pieds"
IDS_LENGTH_FURLONGS "Furlongs"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Hands"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "Pouces"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Kilom<6F>tres"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Ann<6E>es lumi<6D>res"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "M<>tres"
IDS_LENGTH_MICRONS "Microm<6F>tres"
IDS_LENGTH_MILES "Miles"
IDS_LENGTH_MILLIMETERS "Millim<69>tres"
IDS_LENGTH_NAUTICAL_MILES "Miles nautiques"
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 par minute"
IDS_POWER_FPS_PER_MINUTE "Pied-livres par minute"
IDS_POWER_HORSEPOWER "Cheval-vapeur"
IDS_POWER_KILOWATTS "Kilowatts"
IDS_POWER_MEGAWATTS "Megawatts"
IDS_POWER_WATTS "Watts"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmosph<70>res"
IDS_PRESSURE_BARS "Bars"
IDS_PRESSURE_HECTOPASCALS "Hectopascals"
IDS_PRESSURE_KILOPASCALS "Kilopascals"
IDS_PRESSURE_MM_OF_MERCURY "Millim<69>tres de mercure"
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 "Jours"
IDS_TIME_HOURS "Heures"
IDS_TIME_MICROSECONDS "Microsecondes"
IDS_TIME_MILLISECONDS "Millisecondes"
IDS_TIME_MINUTES "Minutes"
IDS_TIME_SECONDS "Secondes"
IDS_TIME_WEEKS "Semaines"
IDS_TIME_YEARS "Ann<6E>es"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centim<69>tres/seconde"
IDS_VELOCITY_FEET_HOUR "Pieds/heure"
IDS_VELOCITY_FEET_SECOND "Pieds/seconde"
IDS_VELOCITY_KILOMETERS_HOUR "Kilom<6F>tres/heure"
IDS_VELOCITY_KNOTS "Knots"
IDS_VELOCITY_MACH "Mach"
IDS_VELOCITY_METERS_SECOND "M<>tres/second"
IDS_VELOCITY_MILES_HOUR "Miles/heure"
END
// TYPES OF VOLUMES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VOLUME_BARRELS_UK "Baril (UK)"
IDS_VOLUME_BARRELS_OIL "Baril de p<>trole"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "Bushels (UK)"
IDS_VOLUME_BUSHELS_US "Bushels (US)"
IDS_VOLUME_CUBIC_CENTIMETERS "Centim<69>tres cubes"
IDS_VOLUME_CUBIC_FEET "Pieds cubes"
IDS_VOLUME_CUBIC_INCHES "Pouces cubes"
IDS_VOLUME_CUBIC_METERS "M<>tres cubes"
IDS_VOLUME_CUBIC_YARDS "Yards cubes"
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, sec (US)"
IDS_VOLUME_GALLONS_LIQUID_US "Gallons, liqude (US)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "Litres"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "Millilitres"
IDS_VOLUME_PINTS_UK "Pints (UK)"
IDS_VOLUME_PINTS_DRY_US "Pints, sec (US)"
IDS_VOLUME_PINTS_LIQUID_US "Pints, liquide (US)"
IDS_VOLUME_QUARTS_UK "Quarts (UK)"
IDS_VOLUME_QUARTS_DRY_US "Quarts, sec (US)"
IDS_VOLUME_QUARTS_LIQUID_US "Quarts, liquide (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 "Grammes"
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 "Kilogrammes"
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

@@ -3,7 +3,7 @@ LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Calcolatrice ReactOS"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg"
@@ -159,7 +159,7 @@ BEGIN
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 172, 127
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Calcolatrice ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
@@ -226,7 +226,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Calcolatrice ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
@@ -304,7 +304,7 @@ BEGIN
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Informazioni su ReactOS Calc"
FONT 8, "MS Shell Dlg"
BEGIN
@@ -323,7 +323,7 @@ BEGIN
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Finestra di statistica"
FONT 8, "MS Shell Dlg"
BEGIN
@@ -439,6 +439,7 @@ END
// Categorie per le conversioni
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "Angoli"
IDS_CONV_AREA "Area"
IDS_CONV_CONSUMPTION "Consumi (motori)"
IDS_CONV_CURRENCY "Valute monetarie"
@@ -447,11 +448,20 @@ BEGIN
IDS_CONV_POWER "Potenza"
IDS_CONV_PRESSURE "Pressione"
IDS_CONV_TEMPERATURE "Temperatura"
IDS_CONV_TIME "Tempo"
IDS_CONV_VELOCITY "Velocit<69>"
IDS_CONV_VOLUME "Volume"
IDS_CONV_WEIGHT "Peso"
END
// Tipi di angoli
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Sessagesimali"
IDS_ANGLE_GRADIANS "Centesimali (Gradienti)"
IDS_ANGLE_RADIANS "Radianti"
END
// Tipi di aree
STRINGTABLE DISCARDABLE
BEGIN
@@ -506,6 +516,7 @@ BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Scellino austriaco"
IDS_CURRENCY_BELGIAN_FRANC "Franco belga"
IDS_CURRENCY_CYPRIOT_POUND "Sterlina cipriota"
IDS_CURRENCY_CZECH_KORUNA "Corona ceca"
IDS_CURRENCY_DEUTSCHE_MARK "Marco tedesco"
IDS_CURRENCY_DUTCH_GUILDER "Fiorino olandese"
IDS_CURRENCY_EURO "Euro"
@@ -517,6 +528,7 @@ BEGIN
IDS_CURRENCY_LUXEMBOURG_FRANC "Franco Lussemburghese"
IDS_CURRENCY_MALTESE_LIRA "Lira maltese"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Escudo portoghese"
IDS_CURRENCY_SLOVAK_KORUNA "Corona slovacca"
IDS_CURRENCY_SLOVENIAN_TOLAR "Tallero sloveno"
IDS_CURRENCY_SPANISH_PESETA "Peseta spagnola"
END
@@ -525,8 +537,12 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 ^C calorie"
IDS_ENERGY_BTUS "British Thermal Units"
IDS_ENERGY_ERGS "Erg"
IDS_ENERGY_EVS "Elettron-Volt"
IDS_ENERGY_FOOT_POUNDS "Libbra per piede"
IDS_ENERGY_IT_CALORIES "Calorie I.T."
IDS_ENERGY_IT_KILOCALORIES "Kilocalorie I.T."
IDS_ENERGY_JOULES "Joule"
IDS_ENERGY_KILOJOULES "Kilojoule"
IDS_ENERGY_KILOWATT_HOURS "Kilowatt per ora"
@@ -538,7 +554,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstrom"
IDS_LENGTH_ASTRONOMILA_UNITS "Unit<69> astronomiche"
IDS_LENGTH_ASTRONOMICAL_UNITS "Unit<69> astronomiche"
IDS_LENGTH_BARLEYCORNS "Barleycorn"
IDS_LENGTH_CENTIMETERS "Centimetri"
IDS_LENGTH_CHAINS_UK "Catene (GB)"
@@ -564,6 +580,7 @@ BEGIN
IDS_LENGTH_LIGHT_YEARS "Anni luce"
IDS_LENGTH_LINKS_UK "Links (GB)"
IDS_LENGTH_METERS "Metri"
IDS_LENGTH_MICRONS "Micrometro"
IDS_LENGTH_MILES "Miglia"
IDS_LENGTH_MILLIMETERS "Millimetri"
IDS_LENGTH_NAUTICAL_MILES "Miglia nautiche"
@@ -572,6 +589,7 @@ BEGIN
IDS_LENGTH_PICAS "Pica"
IDS_LENGTH_RI_JAPAN "Ri (Giappone)"
IDS_LENGTH_RI_KOREA "Ri (Corea)"
IDS_LENGTH_RODS "Rod"
IDS_LENGTH_SAWK "Sawk"
IDS_LENGTH_SEN "Sen"
IDS_LENGTH_SHAKU "Shaku"
@@ -587,6 +605,8 @@ END
// Tipi di potenze
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "BTU al minuto"
IDS_POWER_FPS_PER_MINUTE "Libbra per piede al minuto"
IDS_POWER_HORSEPOWER "Cavalli vapore"
IDS_POWER_KILOWATTS "Kilowatt"
IDS_POWER_MEGAWATTS "Megawatt"
@@ -598,6 +618,8 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmosfere"
IDS_PRESSURE_BARS "Bar"
IDS_PRESSURE_HECTOPASCALS "Hectopascal"
IDS_PRESSURE_KILOPASCALS "Kilopascal"
IDS_PRESSURE_MM_OF_MERCURY "Millimetri di mercurio"
IDS_PRESSURE_PASCALS "Pascal"
IDS_PRESSURE_PSI "Libbre-forza per pollice quadrato"
@@ -612,10 +634,25 @@ BEGIN
IDS_TEMPERATURE_RANKINE "Rankine"
END
// Tipi di tempi
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Giorni"
IDS_TIME_HOURS "Ore"
IDS_TIME_MICROSECONDS "Microsecondi"
IDS_TIME_MILLISECONDS "Millisecondi"
IDS_TIME_MINUTES "Minuti"
IDS_TIME_SECONDS "Secondi"
IDS_TIME_WEEKS "Settimane"
IDS_TIME_YEARS "Anni"
END
// Tipi di velocit<69>
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centimetri/ora"
IDS_VELOCITY_FEET_HOUR "Piedi/ora"
IDS_VELOCITY_FEET_SECOND "Piedi/secondo"
IDS_VELOCITY_KILOMETERS_HOUR "Chilometri/ora"
IDS_VELOCITY_KNOTS "Nodi"
IDS_VELOCITY_MACH "Mach"
@@ -676,8 +713,8 @@ BEGIN
IDS_WEIGHT_JIN_CHINA "Jin (Cina)"
IDS_WEIGHT_JIN_TAIWAN "Jin (Taiwan)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_KILOGRAMS "Chilogrammi"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (Cina)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Taiwan)"
IDS_WEIGHT_MONME "Monme"

View File

@@ -1,7 +1,9 @@
/*
*Korean translation by manatails007(www.manatails007.org) Seungju Kim
* Korean translation by manatails007 (www.manatails007.org) Seungju Kim
*/
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
@@ -11,14 +13,10 @@ 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
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
@@ -151,7 +149,7 @@ BEGIN
42,10
CONTROL "Radians",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "Grads",IDC_RADIO_GRAD,"Button",BS_AUTORADIOBUTTON,
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
@@ -231,13 +229,91 @@ BEGIN
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><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><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 "ReactOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,105,148,52,16
CONTROL 106,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
CONTROL IDB_BITMAP_ROS,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,4,4,104,48
LTEXT "ReactOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
@@ -265,7 +341,6 @@ BEGIN
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
@@ -273,13 +348,13 @@ BEGIN
POPUP "<22><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22>ٿ<EFBFBD><D9BF>ֱ<EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "<22>ٿ<EFBFBD><D9BF>ֱ<EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "<22><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22>Ϲ<EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><>ȯ", IDM_VIEW_CONVERSION
MENUITEM "<22>Ϲ<EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><>ȯ", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Decimal\tF6", IDM_VIEW_DEC, CHECKED
@@ -290,13 +365,13 @@ BEGIN
MENUITEM "Radians\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Grads\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22>ڸ<EFBFBD><DAB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
MENUITEM "<22>ڸ<EFBFBD><DAB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>׸<EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "ReactOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_HELP_ABOUT
MENUITEM "ReactOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_HELP_ABOUT
END
END
@@ -305,13 +380,13 @@ BEGIN
POPUP "<22><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22>ٿ<EFBFBD><D9BF>ֱ<EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "<22>ٿ<EFBFBD><D9BF>ֱ<EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "<22><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22>Ϲ<EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><>ȯ", IDM_VIEW_CONVERSION
MENUITEM "<22>Ϲ<EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><>ȯ", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Decimal\tF6", IDM_VIEW_DEC, CHECKED
@@ -323,13 +398,13 @@ BEGIN
MENUITEM "Word\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Byte\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22>ڸ<EFBFBD><DAB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
MENUITEM "<22>ڸ<EFBFBD><DAB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>׸<EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "ReactOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_HELP_ABOUT
MENUITEM "ReactOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_HELP_ABOUT
END
END
@@ -338,21 +413,21 @@ BEGIN
POPUP "<22><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD>\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22>ٿ<EFBFBD><D9BF>ֱ<EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "<22>ٿ<EFBFBD><D9BF>ֱ<EFBFBD>\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "<22><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22>Ϲ<EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><>ȯ", IDM_VIEW_CONVERSION
MENUITEM "<22>Ϲ<EFBFBD>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><>ȯ", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22>ڸ<EFBFBD><DAB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
MENUITEM "<22>ڸ<EFBFBD><DAB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>׸<EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "ReactOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_HELP_ABOUT
MENUITEM "ReactOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>", IDM_HELP_ABOUT
END
END
@@ -365,3 +440,296 @@ BEGIN
IDS_QUICKHELP "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "<22><><EFBFBD><EFBFBD>"
IDS_CONV_AREA "Area"
IDS_CONV_CONSUMPTION "Consumption (engines)"
IDS_CONV_CURRENCY "Currencies"
IDS_CONV_ENERGY "Energy"
IDS_CONV_LENGTH "Lenghts"
IDS_CONV_POWER "Power"
IDS_CONV_PRESSURE "Pressure"
IDS_CONV_TEMPERATURE "Temperature"
IDS_CONV_TIME "<22><><EFBFBD><EFBFBD>"
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 "<22><><EFBFBD>ں<EFBFBD>Ʈ"
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>˽<EFBFBD>Ʈ<EFBFBD><C6AE>"
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_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

@@ -1,4 +1,3 @@
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
// Dialog
@@ -10,14 +9,10 @@ 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
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
@@ -156,7 +151,7 @@ BEGIN
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 "BACKSPACE",IDC_BUTTON_BACK,184,40,40,17,BS_CENTER |
PUSHBUTTON "Terug",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
@@ -231,26 +226,26 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Calculator"
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Rekenmachine"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Convert",IDC_BUTTON_CONVERT,35,105,76,17
PUSHBUTTON "Converteren",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
LTEXT "Categorie:",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
LTEXT "Converteren van:",IDC_STATIC,4,49,66,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
LTEXT "Converteren naar:",IDC_STATIC,4,76,66,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 |
CONTROL "Terug",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,
@@ -342,7 +337,6 @@ BEGIN
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
@@ -373,7 +367,7 @@ BEGIN
BEGIN
MENUITEM "Help-onderwerpen", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Info", IDM_HELP_ABOUT
MENUITEM "Over ReactOS Calc", IDM_HELP_ABOUT
END
END
@@ -388,7 +382,7 @@ BEGIN
BEGIN
MENUITEM "Standaard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Wetenschappelijk", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Omzetten", IDM_VIEW_CONVERSION
MENUITEM "Converteren", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Decimaal\tF6", IDM_VIEW_DEC, CHECKED
@@ -404,9 +398,9 @@ BEGIN
END
POPUP "Help"
BEGIN
MENUITEM "Help-onderpwerpen", IDM_HELP_HELP
MENUITEM "Help-onderwerpen", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Info", IDM_HELP_ABOUT
MENUITEM "Over ReactOS Calc", IDM_HELP_ABOUT
END
END
@@ -421,7 +415,7 @@ BEGIN
BEGIN
MENUITEM "Standaard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Wetenschappelijk", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Omzetten", IDM_VIEW_CONVERSION
MENUITEM "Converteren", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Cijfergroeperingen", IDM_VIEW_GROUP, CHECKED
END
@@ -429,7 +423,7 @@ BEGIN
BEGIN
MENUITEM "Help-onderwerpen", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Info", IDM_HELP_ABOUT
MENUITEM "Over ReactOS Calc", IDM_HELP_ABOUT
END
END
@@ -437,25 +431,35 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "De ReactOS Rekenmachine is free software gepubliceerd onder de GNU GPL licentie.\r\n\r\nU kan een kopie van GNU GPL licentie hier bezichtigen:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nU kan ook een vertaling van de GNU GPL licentie vier bezichtigen:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_STRING_LICENSE "De ReactOS Rekenmachine is free software gepubliceerd onder de GNU GPL licentie.\r\n\r\nU kan een kopie van GNU GPL licentie hier bezichtigen:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nU kan ook een vertaling van de GNU GPL licentie hier bezichtigen:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Fout"
IDS_QUICKHELP "Snelle hulp"
END
// types of conversion
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_AREA "Area"
IDS_CONV_CONSUMPTION "Consumption (engines)"
IDS_CONV_CURRENCY "Currencies"
IDS_CONV_ENERGY "Energy"
IDS_CONV_LENGTH "Lenghts"
IDS_CONV_POWER "Power"
IDS_CONV_PRESSURE "Pressure"
IDS_CONV_TEMPERATURE "Temperature"
IDS_CONV_VELOCITY "Velocity"
IDS_CONV_ANGLE "Hoek"
IDS_CONV_AREA "Oppervlakte"
IDS_CONV_CONSUMPTION "Verbruik (motoren)"
IDS_CONV_CURRENCY "Valuta"
IDS_CONV_ENERGY "Energie"
IDS_CONV_LENGTH "Lengte"
IDS_CONV_POWER "Vermogen"
IDS_CONV_PRESSURE "Druk"
IDS_CONV_TEMPERATURE "Temperatuur"
IDS_CONV_TIME "Tijd"
IDS_CONV_VELOCITY "Snelheid"
IDS_CONV_VOLUME "Volume"
IDS_CONV_WEIGHT "Weights"
IDS_CONV_WEIGHT "Gewicht"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Graden"
IDS_ANGLE_GRADIANS "Gradi<64>nten"
IDS_ANGLE_RADIANS "Radialen"
END
// TYPES OF AREAS
@@ -478,21 +482,21 @@ BEGIN
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_SQUARE_CENTIMETERS "Vierkante centimeters"
IDS_AREA_SQUARE_CHR "Vierkante chr"
IDS_AREA_SQUARE_FATHOMS "Vierkante fathoms"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "Vierkante fathoms (Hungary)"
IDS_AREA_SQUARE_FEET "Vierkante feet"
IDS_AREA_SQUARE_INCHES "Vierkante inches"
IDS_AREA_SQUARE_KILOMETERS "Vierkante kilometers"
IDS_AREA_SQUARE_LAR "Vierkante lar"
IDS_AREA_SQUARE_METER "Vierkante meter"
IDS_AREA_SQUARE_MILES "Vierkante miles"
IDS_AREA_SQUARE_MILLIMETERS "Vierkante millimeters"
IDS_AREA_SQUARE_SHAKU "Vierkante shaku"
IDS_AREA_SQUARE_TSUEN "Vierkante tsuen"
IDS_AREA_SQUARE_VA "Vierkante va"
IDS_AREA_SQUARE_YARD "Vierkante yard"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
@@ -500,8 +504,8 @@ 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_KM_PER_L "Kilometers/liter"
IDS_CONSUMPTION_L_PER_100_KM "Liters/100 kilometer"
IDS_CONSUMPTION_MILES_GALLON_UK "Miles/gallon (UK)"
IDS_CONSUMPTION_MILES_GALLON_US "Miles/gallon (US)"
END
@@ -509,42 +513,48 @@ 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_DEUTSCHE_MARK "Deutsche Mark"
IDS_CURRENCY_DUTCH_GUILDER "Dutch guilder"
IDS_CURRENCY_AUSTRIAN_SCHILLING "Oostenrijkse schilling"
IDS_CURRENCY_BELGIAN_FRANC "Belgische franc"
IDS_CURRENCY_CYPRIOT_POUND "Cypriotische pound"
IDS_CURRENCY_CZECH_KORUNA "Tsjechische kroon"
IDS_CURRENCY_DEUTSCHE_MARK "Duitse Mark"
IDS_CURRENCY_DUTCH_GUILDER "Nederlandse gulden"
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_FINNISH_MARKKA "Finse markka"
IDS_CURRENCY_FRENCH_FRANC "Franse franc"
IDS_CURRENCY_GREEK_DRACHMA "Griekse Drachma"
IDS_CURRENCY_IRISH_POUND "Ierse pound"
IDS_CURRENCY_ITALIAN_LIRA "Italiaanse lira"
IDS_CURRENCY_LUXEMBOURG_FRANC "Luxemburgse franc"
IDS_CURRENCY_MALTESE_LIRA "Maltese lira"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portoguese escudo"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovenian tolar"
IDS_CURRENCY_SPANISH_PESETA "Spanish peseta"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portugese escudo"
IDS_CURRENCY_SLOVAK_KORUNA "Slowaakse kroon"
IDS_CURRENCY_SLOVENIAN_TOLAR "Sloveense tolar"
IDS_CURRENCY_SPANISH_PESETA "Spaanse peseta"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 ^C calories"
IDS_ENERGY_15_C_CALORIES "15 <EFBFBD>C calorie<EFBFBD>n"
IDS_ENERGY_BTUS "British thermal units"
IDS_ENERGY_ERGS "Ergs"
IDS_ENERGY_IT_CALORIES "International Table calories"
IDS_ENERGY_EVS "Elektronvolts"
IDS_ENERGY_FOOT_POUNDS "Foot-Pounds"
IDS_ENERGY_IT_CALORIES "International Table calorie<69>n"
IDS_ENERGY_IT_KILOCALORIES "International Table kilocalorie<69>n"
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"
IDS_ENERGY_KILOWATT_HOURS "Kilowatt uur"
IDS_ENERGY_NUTRITION_CALORIES "Nutrition calorie<EFBFBD>n"
IDS_ENERGY_TH_CALORIES "Thermochemical calorie<EFBFBD>n"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstroms"
IDS_LENGTH_ASTRONOMILA_UNITS "Astronomila units"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomical units"
IDS_LENGTH_BARLEYCORNS "Barleycorns"
IDS_LENGTH_CENTIMETERS "Centimeters"
IDS_LENGTH_CHAINS_UK "Chains (UK)"
@@ -567,9 +577,10 @@ BEGIN
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Kilometers"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Light years"
IDS_LENGTH_LIGHT_YEARS "Lichtjaren"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "Meters"
IDS_LENGTH_MICRONS "Micrometers"
IDS_LENGTH_MILES "Miles"
IDS_LENGTH_MILLIMETERS "Millimeters"
IDS_LENGTH_NAUTICAL_MILES "Nautical miles"
@@ -578,6 +589,7 @@ BEGIN
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"
@@ -593,6 +605,8 @@ END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "British Thermal Units per minuut"
IDS_POWER_FPS_PER_MINUTE "Foot-Pounds per minuut"
IDS_POWER_HORSEPOWER "Horsepower"
IDS_POWER_KILOWATTS "Kilowatts"
IDS_POWER_MEGAWATTS "Megawatts"
@@ -602,11 +616,13 @@ END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmospheres"
IDS_PRESSURE_ATMOSPHERES "Atmosfeer"
IDS_PRESSURE_BARS "Bars"
IDS_PRESSURE_MM_OF_MERCURY "Millimeters of mercury"
IDS_PRESSURE_HECTOPASCALS "Hectopascals"
IDS_PRESSURE_KILOPASCALS "Kilopascals"
IDS_PRESSURE_MM_OF_MERCURY "Millimeters kwik"
IDS_PRESSURE_PASCALS "Pascals"
IDS_PRESSURE_PSI "Pounds-force per square inch"
IDS_PRESSURE_PSI "Pounds-force per vierkante inch"
END
// TYPES OF TEMPERATURES
@@ -618,15 +634,30 @@ BEGIN
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Dagen"
IDS_TIME_HOURS "Uren"
IDS_TIME_MICROSECONDS "Microseconden"
IDS_TIME_MILLISECONDS "Milliseconden"
IDS_TIME_MINUTES "Minuten"
IDS_TIME_SECONDS "Seconden"
IDS_TIME_WEEKS "Weken"
IDS_TIME_YEARS "Jaren"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_FEET_HOUR "Feet/hour"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometers/hour"
IDS_VELOCITY_CMS_SECOND "Centimeters/uur"
IDS_VELOCITY_FEET_HOUR "Feet/uur"
IDS_VELOCITY_FEET_SECOND "Feet/seconde"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometers/uur"
IDS_VELOCITY_KNOTS "Knots"
IDS_VELOCITY_MACH "Mach"
IDS_VELOCITY_METERS_SECOND "Meters/second"
IDS_VELOCITY_MILES_HOUR "Miles/hour"
IDS_VELOCITY_METERS_SECOND "Meters/seconde"
IDS_VELOCITY_MILES_HOUR "Miles/uur"
END
// TYPES OF VOLUMES
@@ -637,11 +668,11 @@ BEGIN
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_CUBIC_CENTIMETERS "Kubieke centimeters"
IDS_VOLUME_CUBIC_FEET "Kubieke feet"
IDS_VOLUME_CUBIC_INCHES "Kubieke inches"
IDS_VOLUME_CUBIC_METERS "Kubieke meters"
IDS_VOLUME_CUBIC_YARDS "Kubieke yards"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "Fluid ounces (UK)"
IDS_VOLUME_FLUID_OUNCES_US "Fluid ounces (US)"
@@ -676,13 +707,13 @@ BEGIN
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "Grams"
IDS_WEIGHT_GRAMS "Grammen"
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_KILOGRAMS "Kilogrammen"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (China)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Taiwan)"

View File

@@ -168,7 +168,7 @@ BEGIN
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 "Tibake",IDC_BUTTON_BACK,40,24,40,17,BS_CENTER |
PUSHBUTTON "Tilbake",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
@@ -226,7 +226,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Kalkulator"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
@@ -305,13 +305,13 @@ END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Om ReactOS kalkulator"
CAPTION "Om ReactOS Kalkulator"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,105,148,52,16
CONTROL 106,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
CONTROL IDB_BITMAP_ROS,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,4,4,104,48
LTEXT "ReactOS kalkulator",IDC_STATIC,120,12,132,8,
LTEXT "ReactOS Kalkulator",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "Versjon ",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "Laget av Carlo Bramini",IDC_STATIC,120,32,132,8,
@@ -337,38 +337,37 @@ BEGIN
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
BEGIN
POPUP "Rediger"
BEGIN
MENUITEM "Kopier\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Lim inn\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "Kopier\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Lim inn\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Vis"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Vitenskapelig", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Konvertering", IDM_VIEW_CONVERSION
MENUITEM "Vitenskapelig", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Konvertering", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Heksadesimalt\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Desimalt\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Oktalt\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Heksadesimalt\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Desimalt\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Oktalt\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Bin<69>rt\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Grader\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radianer\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Gradienter\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM "Grader\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radianer\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Gradienter\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Siffergruppering", IDM_VIEW_GROUP, CHECKED
MENUITEM "Siffergruppering", IDM_VIEW_GROUP, CHECKED
END
POPUP "Hjelp"
BEGIN
MENUITEM "Emner i hjelp", IDM_HELP_HELP
MENUITEM "Emner i hjelp", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Om ReactOS kalkulator", IDM_HELP_ABOUT
MENUITEM "Om ReactOS Kalkulator", IDM_HELP_ABOUT
END
END
@@ -376,18 +375,18 @@ IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "Rediger"
BEGIN
MENUITEM "Kopier\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Lim inn\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "Kopier\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Lim inn\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Vis"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Vitenskapelig", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "konvertering", IDM_VIEW_CONVERSION
MENUITEM "Vitenskapelig", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "konvertering", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Heksadesimalt\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Heksadesimalt\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Desimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Oktalt\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Oktalt\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Bin<69>rt\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", IDM_VIEW_QWORD, CHECKED
@@ -395,13 +394,13 @@ BEGIN
MENUITEM "Word\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Tegn\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "Digital gruppe", IDM_VIEW_GROUP, CHECKED
MENUITEM "Digital gruppe", IDM_VIEW_GROUP, CHECKED
END
POPUP "Hjelp"
BEGIN
MENUITEM "Emner i hjelp", IDM_HELP_HELP
MENUITEM "Emner i hjelp", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Om ReactOS Kalkulator", IDM_HELP_ABOUT
MENUITEM "Om ReactOS Kalkulator", IDM_HELP_ABOUT
END
END
@@ -409,22 +408,22 @@ IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "Rediger"
BEGIN
MENUITEM "Kopier\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Lim inn\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "Kopier\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Lim inn\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Vis"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Vitenskapelig", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "konvertering", IDM_VIEW_CONVERSION
MENUITEM "Vitenskapelig", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Konvertering", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Siffergruppering", IDM_VIEW_GROUP, CHECKED
MENUITEM "Siffergruppering", IDM_VIEW_GROUP, CHECKED
END
POPUP "Hjelp"
BEGIN
MENUITEM "Emner i hjelp", IDM_HELP_HELP
MENUITEM "Emner i hjelp", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Om Reactos Kalkulator", IDM_HELP_ABOUT
MENUITEM "Om Reactos Kalkulator", IDM_HELP_ABOUT
END
END
@@ -432,14 +431,15 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "ReactOS kalkulator er gratis programvare utgitt under GNU GPL lisensen.\r\n\r\nDu kan f<> en kopi av GNU GPL lisensen her:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nDu kan ogs<67> f<> en oversettelse av GNU GPL lisensen her:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_STRING_LICENSE "ReactOS Kalkulator er gratis programvare utgitt under GNU GPL lisensen.\r\n\r\nDu kan f<> en kopi av GNU GPL lisensen her:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nDu kan ogs<67> f<> en oversettelse av GNU GPL lisensen her:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Feil"
IDS_QUICKHELP "Rask hjelp"
END
// types of conversion
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "Vinkel"
IDS_CONV_AREA "Omr<6D>de"
IDS_CONV_CONSUMPTION "Forbruk (maskin)"
IDS_CONV_CURRENCY "Valuta"
@@ -448,16 +448,25 @@ BEGIN
IDS_CONV_POWER "Str<74>m"
IDS_CONV_PRESSURE "Trykk"
IDS_CONV_TEMPERATURE "Temperatur"
IDS_CONV_TIME "Tid"
IDS_CONV_VELOCITY "Hastighet"
IDS_CONV_VOLUME "Volum"
IDS_CONV_WEIGHT "Vekt"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Grader"
IDS_ANGLE_GRADIANS "Gradianer"
IDS_ANGLE_RADIANS "Radianer"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "Acres"
IDS_AREA_ACRES_BRAZIL "Acres (Brazil)"
IDS_AREA_ACRES_BRAZIL "Acres (Brasil)"
IDS_AREA_ACRES_FRANCE "Acres (France)"
IDS_AREA_ACRES_SCOTS "Acres (Scots)"
IDS_AREA_ACRES_US "Acres (US)"
@@ -473,21 +482,21 @@ BEGIN
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_SQUARE_CENTIMETERS "Kvadrat centimeter"
IDS_AREA_SQUARE_CHR "Kvadrat chr"
IDS_AREA_SQUARE_FATHOMS "Kvadrat fathoms"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "Kvadrat fathoms (Hungary)"
IDS_AREA_SQUARE_FEET "Kvadrat feet"
IDS_AREA_SQUARE_INCHES "Kvadrat tommer"
IDS_AREA_SQUARE_KILOMETERS "Kvadrat kilometer"
IDS_AREA_SQUARE_LAR "kvadrat lar"
IDS_AREA_SQUARE_METER "Kvadrat meter"
IDS_AREA_SQUARE_MILES "Kvadrat mil"
IDS_AREA_SQUARE_MILLIMETERS "Kvadrat millimeter"
IDS_AREA_SQUARE_SHAKU "Kvadrat shaku"
IDS_AREA_SQUARE_TSUEN "Kvadrat tsuen"
IDS_AREA_SQUARE_VA "Kvadrat va"
IDS_AREA_SQUARE_YARD "Kvadrat yard"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
@@ -496,83 +505,91 @@ END
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)"
IDS_CONSUMPTION_L_PER_100_KM "Liter/100 kilometer"
IDS_CONSUMPTION_MILES_GALLON_UK "Mil/gallon (UK)"
IDS_CONSUMPTION_MILES_GALLON_US "Mil/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_DEUTSCHE_MARK "Deutsche Mark"
IDS_CURRENCY_DUTCH_GUILDER "Dutch guilder"
IDS_CURRENCY_AUSTRIAN_SCHILLING "<EFBFBD>sterriksk schilling"
IDS_CURRENCY_BELGIAN_FRANC "Belgisk franc"
IDS_CURRENCY_CYPRIOT_POUND "Kypriotisk pound"
IDS_CURRENCY_CZECH_KORUNA "Tsjekkisk koruna"
IDS_CURRENCY_DEUTSCHE_MARK "Tusk Mark"
IDS_CURRENCY_DUTCH_GUILDER "Nederlansk 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_FINNISH_MARKKA "Finisk markka"
IDS_CURRENCY_FRENCH_FRANC "Fransk franc"
IDS_CURRENCY_GREEK_DRACHMA "Gresk Drachma"
IDS_CURRENCY_IRISH_POUND "Irisk pound"
IDS_CURRENCY_ITALIAN_LIRA "Italiask lira"
IDS_CURRENCY_LUXEMBOURG_FRANC "Luxembourg franc"
IDS_CURRENCY_MALTESE_LIRA "Maltese lira"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portoguese escudo"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovenian tolar"
IDS_CURRENCY_SPANISH_PESETA "Spanish peseta"
IDS_CURRENCY_MALTESE_LIRA "Maltesisk lira"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portogisisk escudo"
IDS_CURRENCY_SLOVAK_KORUNA "Slovansk koruna"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovenansk tolar"
IDS_CURRENCY_SPANISH_PESETA "Spansk peseta"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 ^C calories"
IDS_ENERGY_15_C_CALORIES "15 <EFBFBD>C calories"
IDS_ENERGY_BTUS "Britisk varme-enhet"
IDS_ENERGY_ERGS "Ergs"
IDS_ENERGY_EVS "Elektrisk-Volt"
IDS_ENERGY_FOOT_POUNDS "Fot-Pound"
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"
IDS_ENERGY_KILOWATT_HOURS "Kilowatt timer"
IDS_ENERGY_NUTRITION_CALORIES "Ern<EFBFBD>ring kalori"
IDS_ENERGY_TH_CALORIES "Termokjemisk kalori"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstroms"
IDS_LENGTH_ASTRONOMILA_UNITS "Astronomila units"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomical units"
IDS_LENGTH_BARLEYCORNS "Barleycorns"
IDS_LENGTH_CENTIMETERS "Centimeters"
IDS_LENGTH_CENTIMETERS "Centimeter"
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_FATHOMS_HUNGARY "Fathoms (Ungarn)"
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_INCHES "Tomme"
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_KILOMETERS "Kilometer"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Light years"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_LIGHT_YEARS "Lysende <20>r"
IDS_LENGTH_LINKS_UK "Linker (UK)"
IDS_LENGTH_METERS "Meters"
IDS_LENGTH_MILES "Miles"
IDS_LENGTH_MILLIMETERS "Millimeters"
IDS_LENGTH_NAUTICAL_MILES "Nautical miles"
IDS_LENGTH_MICRONS "Microns"
IDS_LENGTH_MILES "Mil"
IDS_LENGTH_MILLIMETERS "Millimeter"
IDS_LENGTH_NAUTICAL_MILES "Nautisk mil"
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"
@@ -588,7 +605,9 @@ END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_HORSEPOWER "hestekrefter"
IDS_POWER_BTUS_PER_MINUTE "Britisk varme-enhet per minutt"
IDS_POWER_FPS_PER_MINUTE "Fot-pund per minutt"
IDS_POWER_HORSEPOWER "Hestekrefter"
IDS_POWER_KILOWATTS "Kilowatt"
IDS_POWER_MEGAWATTS "Megawatt"
IDS_POWER_WATTS "Watt"
@@ -599,6 +618,8 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmosf<73>retrykk"
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"
@@ -613,15 +634,30 @@ BEGIN
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "**"
IDS_TIME_HOURS "**"
IDS_TIME_MICROSECONDS "**"
IDS_TIME_MILLISECONDS "**"
IDS_TIME_MINUTES "**"
IDS_TIME_SECONDS "**"
IDS_TIME_WEEKS "**"
IDS_TIME_YEARS "**"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_FEET_HOUR "Feet/time"
IDS_VELOCITY_KILOMETERS_HOUR "kilometer/time"
IDS_VELOCITY_CMS_SECOND "Centimeter/timer"
IDS_VELOCITY_FEET_HOUR "Fot/timer"
IDS_VELOCITY_FEET_SECOND "Fot/sekund"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometer/timer"
IDS_VELOCITY_KNOTS "Knot"
IDS_VELOCITY_MACH "Mach"
IDS_VELOCITY_METERS_SECOND "Meter/sekunder"
IDS_VELOCITY_MILES_HOUR "Mil/time"
IDS_VELOCITY_MILES_HOUR "Mil/timer"
END
// TYPES OF VOLUMES
@@ -632,11 +668,11 @@ BEGIN
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_CUBIC_CENTIMETERS "Kubisk centimeter"
IDS_VOLUME_CUBIC_FEET "Kubisk fot"
IDS_VOLUME_CUBIC_INCHES "Kubisk tomme"
IDS_VOLUME_CUBIC_METERS "Kubisk meter"
IDS_VOLUME_CUBIC_YARDS "Kubisk yards"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "Fluid ounces (UK)"
IDS_VOLUME_FLUID_OUNCES_US "Fluid ounces (US)"
@@ -647,9 +683,9 @@ BEGIN
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "Liters"
IDS_VOLUME_LITERS "Liter"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "Milliliters"
IDS_VOLUME_MILLILITERS "Milliliter"
IDS_VOLUME_PINTS_UK "Pints (UK)"
IDS_VOLUME_PINTS_DRY_US "Pints, dry (US)"
IDS_VOLUME_PINTS_LIQUID_US "Pints, liquid (US)"
@@ -663,3 +699,33 @@ BEGIN
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 "Gram"
IDS_WEIGHT_GWAN "Gwan"
IDS_WEIGHT_HARB "Harb"
IDS_WEIGHT_JIN_CHINA "Jin (Kina)"
IDS_WEIGHT_JIN_TAIWAN "Jin (Taiwaner)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_KILOGRAMS "Kilogram"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (Kina)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Taiwaner)"
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

@@ -16,14 +16,10 @@ 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
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
@@ -237,7 +233,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS Calculator"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
@@ -348,38 +344,37 @@ BEGIN
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
BEGIN
POPUP "Edycja"
BEGIN
MENUITEM "Kopiuj\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Kopiuj\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Wklej\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Wygl<67>d"
BEGIN
MENUITEM "Standardowy", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Naukowy", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Przeliczanie", IDM_VIEW_CONVERSION
MENUITEM "Standardowy", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Naukowy", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Przeliczanie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Szesnastkowo\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Dziesi<73>tnie\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "<22>semkowo\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binarnie\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM "Szesnastkowo\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Dziesi<73>tnie\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "<22>semkowo\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binarnie\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Stopni\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radian<61>w\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Gradian<61>w\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM "Stopni\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radian<61>w\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Gradian<61>w\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Grupowanie cyfr", IDM_VIEW_GROUP, CHECKED
MENUITEM "Grupowanie cyfr", IDM_VIEW_GROUP, CHECKED
END
POPUP "Pomoc"
BEGIN
MENUITEM "Tematy pomocy", IDM_HELP_HELP
MENUITEM "Tematy pomocy", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "O Kalkulatorze ReactOS", IDM_HELP_ABOUT
MENUITEM "O Kalkulatorze ReactOS", IDM_HELP_ABOUT
END
END
@@ -387,32 +382,32 @@ IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "Edycja"
BEGIN
MENUITEM "Kopiuj\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Kopiuj\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Wklej\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Wygl<67>d"
BEGIN
MENUITEM "Standardowy", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Naukowy", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Przeliczanie", IDM_VIEW_CONVERSION
MENUITEM "Standardowy", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Naukowy", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Przeliczanie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Szesnastkowo\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Dziesi<73>tnie\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "<22>semkowo\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binarnie\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM "Szesnastkowo\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Dziesi<73>tnie\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "<22>semkowo\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binarnie\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 "Grupowanie cyfr", IDM_VIEW_GROUP, CHECKED
MENUITEM "Grupowanie cyfr", IDM_VIEW_GROUP, CHECKED
END
POPUP "Pomoc"
BEGIN
MENUITEM "Tematy pomocy", IDM_HELP_HELP
MENUITEM "Tematy pomocy", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "O Kalkulatorze ReactOS", IDM_HELP_ABOUT
MENUITEM "O Kalkulatorze ReactOS", IDM_HELP_ABOUT
END
END
@@ -420,22 +415,22 @@ IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "Edycja"
BEGIN
MENUITEM "Kopiuj\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Kopiuj\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Wklej\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Wygl<67>d"
BEGIN
MENUITEM "Standardowy", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Naukowy", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Przeliczanie", IDM_VIEW_CONVERSION
MENUITEM "Standardowy", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Naukowy", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Przeliczanie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Grupowanie cyfr", IDM_VIEW_GROUP, CHECKED
MENUITEM "Grupowanie cyfr", IDM_VIEW_GROUP, CHECKED
END
POPUP "Pomoc"
BEGIN
MENUITEM "Tematy pomocy", IDM_HELP_HELP
MENUITEM "Tematy pomocy", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "O Kalkulatorze ReactOS", IDM_HELP_ABOUT
MENUITEM "O Kalkulatorze ReactOS", IDM_HELP_ABOUT
END
END
@@ -448,9 +443,10 @@ BEGIN
IDS_QUICKHELP "Szybka pomoc"
END
// types of conversion
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "K<>t"
IDS_CONV_AREA "Powierzchnia"
IDS_CONV_CONSUMPTION "Zu<5A>ycie (silniki)"
IDS_CONV_CURRENCY "Waluty"
@@ -459,11 +455,20 @@ BEGIN
IDS_CONV_POWER "Moc"
IDS_CONV_PRESSURE "Ci<43>nienie"
IDS_CONV_TEMPERATURE "Temperatura"
IDS_CONV_TIME "Czas"
IDS_CONV_VELOCITY "Pr<50>dko<6B><6F>"
IDS_CONV_VOLUME "Obj<62>to<74><6F>"
IDS_CONV_WEIGHT "Waga"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Stopni"
IDS_ANGLE_GRADIANS "Gradian<61>w"
IDS_ANGLE_RADIANS "Radian<61>w"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
@@ -518,6 +523,7 @@ BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Austriacki szyling"
IDS_CURRENCY_BELGIAN_FRANC "Belgijski frank"
IDS_CURRENCY_CYPRIOT_POUND "Cypryjski funt"
IDS_CURRENCY_CZECH_KORUNA "Czeska korona"
IDS_CURRENCY_DEUTSCHE_MARK "Niemiecka marka"
IDS_CURRENCY_DUTCH_GUILDER "Holenderki gulden"
IDS_CURRENCY_EURO "Euro"
@@ -529,6 +535,7 @@ BEGIN
IDS_CURRENCY_LUXEMBOURG_FRANC "Luksemburski frank"
IDS_CURRENCY_MALTESE_LIRA "Malta<74>skie liry"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portugalskie escudo"
IDS_CURRENCY_SLOVAK_KORUNA "S<>owacka korona"
IDS_CURRENCY_SLOVENIAN_TOLAR "S<>ove<76>ski tolar"
IDS_CURRENCY_SPANISH_PESETA "Hiszpa<70>ska peseta"
END
@@ -536,9 +543,13 @@ END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 ^C kalorii"
IDS_ENERGY_15_C_CALORIES "15 <EFBFBD>C kalorii"
IDS_ENERGY_BTUS "British Thermal Unit"
IDS_ENERGY_ERGS "Erg<72>w"
IDS_ENERGY_EVS "Elektronowolt"
IDS_ENERGY_FOOT_POUNDS "Foot-pound"
IDS_ENERGY_IT_CALORIES "Mi<4D>dzynarodowa Tablica kalorii"
IDS_ENERGY_IT_KILOCALORIES "Mi<4D>dzynarodowa Tablica kilokalorii"
IDS_ENERGY_JOULES "D<>uli"
IDS_ENERGY_KILOJOULES "Kilod<6F>uli"
IDS_ENERGY_KILOWATT_HOURS "Kilowatogodzin"
@@ -550,7 +561,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angsztrem<65>w"
IDS_LENGTH_ASTRONOMILA_UNITS "Jednostek Astronomicznych"
IDS_LENGTH_ASTRONOMICAL_UNITS "Jednostek Astronomicznych"
IDS_LENGTH_BARLEYCORNS "Palc<6C>w"
IDS_LENGTH_CENTIMETERS "Centimetr<74>w"
IDS_LENGTH_CHAINS_UK "Chains (UK)"
@@ -576,6 +587,7 @@ BEGIN
IDS_LENGTH_LIGHT_YEARS "Lat <20>wietlnych"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "Metr<74>w"
IDS_LENGTH_MICRONS "Mikrometr<74>w"
IDS_LENGTH_MILES "Mil"
IDS_LENGTH_MILLIMETERS "Millimetr<74>w"
IDS_LENGTH_NAUTICAL_MILES "Mil morskich"
@@ -584,6 +596,7 @@ BEGIN
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"
@@ -599,6 +612,8 @@ END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "BTU na minut<75>"
IDS_POWER_FPS_PER_MINUTE "Foot-pound na minut<75>"
IDS_POWER_HORSEPOWER "Koni mechanicznych"
IDS_POWER_KILOWATTS "Kilowat<61>w"
IDS_POWER_MEGAWATTS "Megawat<61>w"
@@ -610,6 +625,8 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmosfer"
IDS_PRESSURE_BARS "Bar<61>w"
IDS_PRESSURE_HECTOPASCALS "Hektopaskali"
IDS_PRESSURE_KILOPASCALS "Kilopaskali"
IDS_PRESSURE_MM_OF_MERCURY "Millimetr<74>w s<>upka rt<72>ci"
IDS_PRESSURE_PASCALS "Paskali"
IDS_PRESSURE_PSI "Funt<6E>w na cal kwadratowy"
@@ -624,10 +641,25 @@ BEGIN
IDS_TEMPERATURE_RANKINE "Rankina"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Dni"
IDS_TIME_HOURS "Godzin"
IDS_TIME_MICROSECONDS "Mikrosekund"
IDS_TIME_MILLISECONDS "Milisekund"
IDS_TIME_MINUTES "Minut"
IDS_TIME_SECONDS "Sekund"
IDS_TIME_WEEKS "Tygodni"
IDS_TIME_YEARS "Lat"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centimetr<74>w/sekund<6E>"
IDS_VELOCITY_FEET_HOUR "St<53>p/godzin<69>"
IDS_VELOCITY_FEET_SECOND "St<53>p/sekund<6E>"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometr<74>w/godzin<69>"
IDS_VELOCITY_KNOTS "W<>z<EFBFBD><7A>w"
IDS_VELOCITY_MACH "Mach<63>w"

View File

@@ -0,0 +1,735 @@
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Calculatorul 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 "Sau",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 "Şi",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 "Octet",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,272,24,30,10
CONTROL "Grade",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "Radiani",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "Gradiani",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 "Înapoi",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 "Calculatorul 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 "Înapoi",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 "Radical",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 "Calculatorul ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Conversie",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,4,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Categorie:",IDC_STATIC,4,20,56,8
COMBOBOX IDC_COMBO_FROM,4,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Conversie din:",IDC_STATIC,4,49,56,8
COMBOBOX IDC_COMBO_TO,4,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Conversie in:",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 "Înapoi",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 "Radical",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 "Calculatorul ReactOS",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "Versiune ",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "Scris de Carlo Bramini",IDC_STATIC,120,32,132,8,
SS_CENTERIMAGE
GROUPBOX "",IDC_STATIC,112,0,148,52
GROUPBOX "",IDC_STATIC,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 "Editare"
BEGIN
MENUITEM "Copiere\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Lipire\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Vizualizare"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Ştiințific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Zecimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binar\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Grade\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radiani\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Gradiani\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Grupare cifre", IDM_VIEW_GROUP, CHECKED
END
POPUP "Ajutor"
BEGIN
MENUITEM "Topici de ajutor", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Despre Calculatorul ReactOS", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "Editare"
BEGIN
MENUITEM "Copiere\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Lipire\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Vizualizare"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Ştiințific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Zecimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binar\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "Dword\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "Word\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Octet\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "Grupare cifre", IDM_VIEW_GROUP, CHECKED
END
POPUP "Ajutor"
BEGIN
MENUITEM "Topici de ajutor", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Despre Calculatorul ReactOS", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "Editare"
BEGIN
MENUITEM "Copiere\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Lipire\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Vizualizare"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Ştiințific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Grupare cifre", IDM_VIEW_GROUP, CHECKED
END
POPUP "Ajutor"
BEGIN
MENUITEM "Topici de ajutor", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Despre Calculatorul ReactOS", IDM_HELP_ABOUT
END
END
// String Tables
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc este software liber sub licența GNU GPL. \r\n\r\nGăsiți o copie a acestei licențe aici:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nDe asemenea găsiți traduceri ale aceste licențe aici:\r\nhttp://www.gnu.org/licenses/translations.html\r\nTraducerea în limba română de Petru Dimitriu."
IDS_MATH_ERROR "Eroare"
IDS_QUICKHELP "Ajutor rapid"
END
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "Unghi"
IDS_CONV_AREA "Suprafață"
IDS_CONV_CONSUMPTION "Consum (motoare)"
IDS_CONV_CURRENCY "Valută"
IDS_CONV_ENERGY "Energie"
IDS_CONV_LENGTH "Lungimi"
IDS_CONV_POWER "Putere"
IDS_CONV_PRESSURE "Presiune"
IDS_CONV_TEMPERATURE "Temperatură"
IDS_CONV_TIME "Timp"
IDS_CONV_VELOCITY "Velocitate"
IDS_CONV_VOLUME "Volum"
IDS_CONV_WEIGHT "Masă"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Grade"
IDS_ANGLE_GRADIANS "Gradiani"
IDS_ANGLE_RADIANS "Radiani"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "Acri"
IDS_AREA_ACRES_BRAZIL "Acri (Brazilia)"
IDS_AREA_ACRES_FRANCE "Acri (Franța)"
IDS_AREA_ACRES_SCOTS "Acri (Scots)"
IDS_AREA_ACRES_US "Acri (SUA)"
IDS_AREA_ARES "Ares"
IDS_AREA_CHOU "Chou"
IDS_AREA_DANBO "Danbo"
IDS_AREA_HECTARES "Hectare"
IDS_AREA_JEONGBO "Jeongbo"
IDS_AREA_MORGEN_HUNGARY "Morgen (Ungaria)"
IDS_AREA_MU "Mu"
IDS_AREA_PING "Ping"
IDS_AREA_PYEONG "Pyeong"
IDS_AREA_PYEONGBANGJA "Pyeongbangja"
IDS_AREA_RAI "Rai"
IDS_AREA_SE "Se"
IDS_AREA_SQUARE_CENTIMETERS "Centimetri pătrați"
IDS_AREA_SQUARE_CHR "Chr pătrați"
IDS_AREA_SQUARE_FATHOMS "Fathomi pătrați"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "Fathomi pătrați (Ungaria)"
IDS_AREA_SQUARE_FEET "Picioare pătrate"
IDS_AREA_SQUARE_INCHES "țoli pătrați"
IDS_AREA_SQUARE_KILOMETERS "Kilometri pătrați"
IDS_AREA_SQUARE_LAR "Lar pătrați"
IDS_AREA_SQUARE_METER "Metri pătrați"
IDS_AREA_SQUARE_MILES "Mile pătrate"
IDS_AREA_SQUARE_MILLIMETERS "Milimetri pătrați"
IDS_AREA_SQUARE_SHAKU "Shaku pătrați"
IDS_AREA_SQUARE_TSUEN "Tsuen pătrați"
IDS_AREA_SQUARE_VA "Va pătrați"
IDS_AREA_SQUARE_YARD "Yarzi pătrați"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
// TYPES OF COMSUMPTIONS
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "Kilometri/litru"
IDS_CONSUMPTION_L_PER_100_KM "Litri/100 kilometri"
IDS_CONSUMPTION_MILES_GALLON_UK "Mile/galon (Marea Britanie)"
IDS_CONSUMPTION_MILES_GALLON_US "Mile/galon (SUA)"
END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Şiling autriac"
IDS_CURRENCY_BELGIAN_FRANC "Franc belgian"
IDS_CURRENCY_CYPRIOT_POUND "Liră cipriotă"
IDS_CURRENCY_CZECH_KORUNA "Coroană cehă"
IDS_CURRENCY_DEUTSCHE_MARK "Marcă nemțească"
IDS_CURRENCY_DUTCH_GUILDER "Guilder olandez"
IDS_CURRENCY_EURO "Euro"
IDS_CURRENCY_FINNISH_MARKKA "Marcă finlandeză"
IDS_CURRENCY_FRENCH_FRANC "Franc framcez"
IDS_CURRENCY_GREEK_DRACHMA "Drahmă grecească"
IDS_CURRENCY_IRISH_POUND "Liră irlandeză"
IDS_CURRENCY_ITALIAN_LIRA "Liră italiană"
IDS_CURRENCY_LUXEMBOURG_FRANC "Franc luxemburghez"
IDS_CURRENCY_MALTESE_LIRA "Litră malteză"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Escudo portughez"
IDS_CURRENCY_SLOVAK_KORUNA "Coroană slovacă"
IDS_CURRENCY_SLOVENIAN_TOLAR "Tolar sloven"
IDS_CURRENCY_SPANISH_PESETA "Peseta spaniolă"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "Calorii 15 °C"
IDS_ENERGY_BTUS "Unități termale britanice"
IDS_ENERGY_ERGS "Ergs"
IDS_ENERGY_EVS "Electron-Volți"
IDS_ENERGY_FOOT_POUNDS "Picioare-Livră"
IDS_ENERGY_IT_CALORIES "Calorii Tabel Internațional"
IDS_ENERGY_IT_KILOCALORIES "Kilocalorii Tabel Internațional"
IDS_ENERGY_JOULES "Jouli"
IDS_ENERGY_KILOJOULES "KiloJouli"
IDS_ENERGY_KILOWATT_HOURS "Kilowatt ore"
IDS_ENERGY_NUTRITION_CALORIES "Calorii nutriție"
IDS_ENERGY_TH_CALORIES "Calorie termochimică"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Ångströms"
IDS_LENGTH_ASTRONOMICAL_UNITS "Unități astronomice"
IDS_LENGTH_BARLEYCORNS "Barleycorns"
IDS_LENGTH_CENTIMETERS "Centimetri"
IDS_LENGTH_CHAINS_UK "Chains (Marea Britanie)"
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 (Ungaria)"
IDS_LENGTH_FEET "Picioare"
IDS_LENGTH_FURLONGS "Furlongs"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Hands"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "Incii (țoli)"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Kilometeri"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Ani lumină"
IDS_LENGTH_LINKS_UK "Links (Marea Britanie)"
IDS_LENGTH_METERS "Metri"
IDS_LENGTH_MICRONS "Microni"
IDS_LENGTH_MILES "Mile"
IDS_LENGTH_MILLIMETERS "Milimetri"
IDS_LENGTH_NAUTICAL_MILES "Mile nautice"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_PARSECS "Parsecs"
IDS_LENGTH_PICAS "Picas"
IDS_LENGTH_RI_JAPAN "Ri (Japonia)"
IDS_LENGTH_RI_KOREA "Ri (Corea)"
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 "Unități termice britanice pe minut"
IDS_POWER_FPS_PER_MINUTE "Picior-livre pe minut"
IDS_POWER_HORSEPOWER "Cai putere"
IDS_POWER_KILOWATTS "Kilowați"
IDS_POWER_MEGAWATTS "Megawați"
IDS_POWER_WATTS "Wați"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmosfere"
IDS_PRESSURE_BARS "Bari"
IDS_PRESSURE_HECTOPASCALS "Hectopascali"
IDS_PRESSURE_KILOPASCALS "Kilopascali"
IDS_PRESSURE_MM_OF_MERCURY "Milimetri coloană de mercur"
IDS_PRESSURE_PASCALS "Pascali"
IDS_PRESSURE_PSI "Livre-forță pe țol pătrat"
END
// 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 "Zile"
IDS_TIME_HOURS "Ore"
IDS_TIME_MICROSECONDS "Microsecunde"
IDS_TIME_MILLISECONDS "Milisecunde"
IDS_TIME_MINUTES "Minute"
IDS_TIME_SECONDS "Secunde"
IDS_TIME_WEEKS "Săptămâni"
IDS_TIME_YEARS "Ani"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centimetri/oră"
IDS_VELOCITY_FEET_HOUR "Picioare/oră"
IDS_VELOCITY_FEET_SECOND "Picioare/secundă"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometri/ore"
IDS_VELOCITY_KNOTS "Nod"
IDS_VELOCITY_MACH "Mach"
IDS_VELOCITY_METERS_SECOND "Metri/secundă"
IDS_VELOCITY_MILES_HOUR "Mile/oră"
END
// TYPES OF VOLUMES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VOLUME_BARRELS_UK "Barili (Marea Britanie)"
IDS_VOLUME_BARRELS_OIL "Barili de petrol"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "Bushels (Marea Britanie)"
IDS_VOLUME_BUSHELS_US "Bushels (SUA)"
IDS_VOLUME_CUBIC_CENTIMETERS "Centrimetri cubi"
IDS_VOLUME_CUBIC_FEET "Picioare^3"
IDS_VOLUME_CUBIC_INCHES "țoli cubi"
IDS_VOLUME_CUBIC_METERS "Metri cubi"
IDS_VOLUME_CUBIC_YARDS "Yarzi cubi"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "Fluid ounces (Marea Britanie)"
IDS_VOLUME_FLUID_OUNCES_US "Fluid ounces (SUA)"
IDS_VOLUME_GALLONS_UK "Galoni (Marea Britanie)"
IDS_VOLUME_GALLONS_DRY_US "Galoni, uscat (SUA)"
IDS_VOLUME_GALLONS_LIQUID_US "Galoni, lichid (SUA)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "Litri"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "Mililitri"
IDS_VOLUME_PINTS_UK "Pints (Marea Britanie)"
IDS_VOLUME_PINTS_DRY_US "Pints, uscat (SUA)"
IDS_VOLUME_PINTS_LIQUID_US "Pints, lichid (SUA)"
IDS_VOLUME_QUARTS_UK "Quarts (Marea Britanie)"
IDS_VOLUME_QUARTS_DRY_US "Quarts, uscat (SUA)"
IDS_VOLUME_QUARTS_LIQUID_US "Quarts, lichid (SUA)"
IDS_VOLUME_SEKI "Seki"
IDS_VOLUME_SYOU "Syou"
IDS_VOLUME_TANANLOUNG "Tananloung"
IDS_VOLUME_TANG "Tang"
IDS_VOLUME_TO "To"
END
// TYPES OF WEIGHTS
STRINGTABLE DISCARDABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_CARATS "Carate"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "Grame"
IDS_WEIGHT_GWAN "Gwan"
IDS_WEIGHT_HARB "Harb"
IDS_WEIGHT_JIN_CHINA "Jin (China)"
IDS_WEIGHT_JIN_TAIWAN "Jin (Taiwan)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_KILOGRAMS "Kilograme"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (China)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Taiwan)"
IDS_WEIGHT_MONME "Monme"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "Uncii, avoirdupois"
IDS_WEIGHT_OUNCES_TROY "Uncii, troy"
IDS_WEIGHT_POUNDS "Livre"
IDS_WEIGHT_QUINTAL_METRIC "Chintale (metric)"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "Stones"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "Tonnes"
IDS_WEIGHT_TONS_UK "Tone (Marea Britanie)"
IDS_WEIGHT_TONS_US "Tone (SUA)"
END
#pragma code_page(default)

View File

@@ -9,14 +9,10 @@ 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
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
@@ -230,7 +226,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
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"
@@ -341,7 +337,6 @@ BEGIN
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
@@ -436,7 +431,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><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><EFBFBD><EFBFBD><EFBFBD> GNU GPL <20><><EFBFBD><EFBFBD><EFBFBD>:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU GPL <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_STRING_LICENSE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><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><EFBFBD><EFBFBD><EFBFBD> GNU GPL <20><><EFBFBD><EFBFBD><EFBFBD>:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> c <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU GPL <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_QUICKHELP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
@@ -444,6 +439,7 @@ END
// types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "<22><><EFBFBD><EFBFBD>"
IDS_CONV_AREA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_CONSUMPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_CONV_CURRENCY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
@@ -452,11 +448,20 @@ BEGIN
IDS_CONV_POWER "<22><><EFBFBD><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><EFBFBD>"
IDS_CONV_VOLUME "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONV_WEIGHT "<22><><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
@@ -511,6 +516,7 @@ BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_BELGIAN_FRANC "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_CYPRIOT_POUND "<22><><EFBFBD><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>"
@@ -522,6 +528,7 @@ BEGIN
IDS_CURRENCY_LUXEMBOURG_FRANC "<22><><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> <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> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_SPANISH_PESETA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END
@@ -529,9 +536,13 @@ END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_15_C_CALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_BTUS "<22><><EFBFBD><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>"
IDS_ENERGY_EVS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_FOOT_POUNDS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_IT_CALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_IT_KILOCALORIES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><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>-<2D><><EFBFBD>"
@@ -543,7 +554,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_ASTRONOMILA_UNITS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_ASTRONOMICAL_UNITS "<22><><EFBFBD><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><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>)"
@@ -569,6 +580,7 @@ BEGIN
IDS_LENGTH_LIGHT_YEARS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_LENGTH_LINKS_UK "<22><><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_METERS "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_MICRONS "<22><><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><EFBFBD> <20><><EFBFBD><EFBFBD>"
@@ -577,6 +589,7 @@ BEGIN
IDS_LENGTH_PICAS "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_RI_JAPAN "<22><> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_RI_KOREA "<22><> (<28><><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>"
@@ -592,7 +605,9 @@ END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_HORSEPOWER "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_POWER_BTUS_PER_MINUTE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_POWER_FPS_PER_MINUTE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_POWER_HORSEPOWER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_POWER_KILOWATTS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_POWER_MEGAWATTS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_POWER_WATTS "<22><><EFBFBD><EFBFBD>"
@@ -603,6 +618,8 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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 "<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><EFBFBD> <20><><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>"
@@ -617,15 +634,30 @@ BEGIN
IDS_TEMPERATURE_RANKINE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD><EFBFBD> Rankine)"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "<22><><EFBFBD><EFBFBD>"
IDS_TIME_HOURS "<22><><EFBFBD>"
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><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>"
IDS_TIME_YEARS "<22><><EFBFBD>"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD>"
IDS_VELOCITY_FEET_HOUR "<22><><EFBFBD> <20> <20><><EFBFBD>"
IDS_VELOCITY_KILOMETERS_HOUR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><EFBFBD><EFBFBD>"
IDS_VELOCITY_FEET_SECOND "<22><><EFBFBD> <20> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VELOCITY_KILOMETERS_HOUR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD>"
IDS_VELOCITY_KNOTS "<22><><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>"
IDS_VELOCITY_MILES_HOUR "<22><><EFBFBD><EFBFBD> <20> <20><><EFBFBD>"
END
// TYPES OF VOLUMES
@@ -645,8 +677,8 @@ BEGIN
IDS_VOLUME_FLUID_OUNCES_UK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_FLUID_OUNCES_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_GALLONS_UK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_GALLONS_DRY_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_GALLONS_LIQUID_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_GALLONS_DRY_US "<22><><EFBFBD><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><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_GOU "<22><><EFBFBD>"
IDS_VOLUME_HOP "<22><><EFBFBD>"
IDS_VOLUME_ICCE "<22><><EFBFBD><EFBFBD>"
@@ -655,11 +687,11 @@ BEGIN
IDS_VOLUME_MAL "<22><><EFBFBD><EFBFBD>"
IDS_VOLUME_MILLILITERS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_PINTS_UK "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_PINTS_DRY_US "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_PINTS_LIQUID_US "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_PINTS_DRY_US "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_PINTS_LIQUID_US "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_QUARTS_LIQUID_US "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><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><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_SEKI "<22><><EFBFBD><EFBFBD>"
IDS_VOLUME_SYOU "<22><>"
IDS_VOLUME_TANANLOUNG "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
@@ -686,7 +718,7 @@ BEGIN
IDS_WEIGHT_LIANG_CHINA "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_LIANG_TAIWAN "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><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><EFBFBD>)"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "<22><><EFBFBD><EFBFBD><EFBFBD> (<28><><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><EFBFBD><EFBFBD>)"
@@ -694,6 +726,6 @@ BEGIN
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> (UK)"
IDS_WEIGHT_TONS_US "<22><><EFBFBD><EFBFBD><EFBFBD> (US)"
IDS_WEIGHT_TONS_UK "<22><><EFBFBD><EFBFBD><EFBFBD> (<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_TONS_US "<22><><EFBFBD><EFBFBD><EFBFBD> (<EFBFBD><EFBFBD><EFBFBD>)"
END

View File

@@ -1,10 +1,9 @@
/* TRANSLATOR : M<>rio Ka<4B>m<EFBFBD>r /Mario Kacmar/ aka Kario (kario@szm.sk)
* DATE OF TR.: 30-01-2008
* LAST CHANGE: 30-08-2008
* LAST CHANGE: 04-09-2009
* ---------------------------------------
* TODO:
* 1. treba usporiada<EFBFBD> jednotky pod<6F>a abecedy
* 2. pridanie naviga<67>n<EFBFBD>ch zna<6E>iek "&"
* pridanie naviga<67>n<EFBFBD>ch zna<6E>iek "&" ?
*/
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
@@ -18,14 +17,10 @@ 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
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
@@ -239,7 +234,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
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"
@@ -350,7 +345,6 @@ BEGIN
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
@@ -450,20 +444,30 @@ BEGIN
IDS_QUICKHELP "R<>chla pomoc"
END
// types of conversion
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_LENGTH "D<EFBFBD><EFBFBD>ka"
IDS_CONV_ENERGY "Energia"
IDS_CONV_WEIGHT "Hmotnos<6F>"
IDS_CONV_CURRENCY "Mena"
IDS_CONV_VOLUME "Objem"
IDS_CONV_ANGLE "Uhol"
IDS_CONV_AREA "Plocha"
IDS_CONV_VELOCITY "R<>chlos<6F>"
IDS_CONV_CONSUMPTION "Spotreba motorov" //Spotreba (motory)
IDS_CONV_TEMPERATURE "Teplota"
IDS_CONV_PRESSURE "Tlak"
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
@@ -517,20 +521,22 @@ END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Rak<61>zsky <20>iling"
IDS_CURRENCY_AUSTRIAN_SCHILLING "Rak<61>sky <20>iling"
IDS_CURRENCY_BELGIAN_FRANC "Belgick<63> frank"
IDS_CURRENCY_CYPRIOT_POUND "Cypriot pound"
IDS_CURRENCY_CYPRIOT_POUND "Cypersk<EFBFBD> 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 "Finsk<EFBFBD> marka"
IDS_CURRENCY_FINNISH_MARKKA "F<EFBFBD>nska marka"
IDS_CURRENCY_FRENCH_FRANC "Franc<6E>zsky frank"
IDS_CURRENCY_GREEK_DRACHMA "Gr<47>cka 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_IRISH_POUND "<EFBFBD>rska libra"
IDS_CURRENCY_ITALIAN_LIRA "Taliansk<EFBFBD> l<EFBFBD>ra"
IDS_CURRENCY_LUXEMBOURG_FRANC "Luxembursk<EFBFBD> frank"
IDS_CURRENCY_MALTESE_LIRA "Maltsk<EFBFBD> l<EFBFBD>ra"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portugalsk<EFBFBD> escudo"
IDS_CURRENCY_SLOVAK_KORUNA "Slovensk<73> koruna"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovinsk<73> toliar"
IDS_CURRENCY_SPANISH_PESETA "<22>panielska peseta"
END
@@ -538,9 +544,13 @@ END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15 ^C calories"
IDS_ENERGY_15_C_CALORIES "15 <EFBFBD>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 "Kilowatthodiny"
@@ -552,7 +562,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstroms"
IDS_LENGTH_ASTRONOMILA_UNITS "Astronomila units"
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomical units"
IDS_LENGTH_BARLEYCORNS "Barleycorns"
IDS_LENGTH_CENTIMETERS "Centimetre"
IDS_LENGTH_CHAINS_UK "Chains (UK)"
@@ -578,6 +588,7 @@ BEGIN
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"
@@ -586,6 +597,7 @@ BEGIN
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"
@@ -601,6 +613,8 @@ 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"
@@ -612,9 +626,11 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmosf<73>ry"
IDS_PRESSURE_BARS "Bary"
IDS_PRESSURE_HECTOPASCALS "Hektopascals"
IDS_PRESSURE_KILOPASCALS "Kilopascals"
IDS_PRESSURE_MM_OF_MERCURY "Millimeters of mercury"
IDS_PRESSURE_PASCALS "Pascals"
IDS_PRESSURE_PSI "Pounds-force per square inch"
IDS_PRESSURE_PSI "Libry na <20>tvorcov<6F> palec"
END
// TYPES OF TEMPERATURES
@@ -626,10 +642,25 @@ BEGIN
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Dni"
IDS_TIME_HOURS "Hodiny"
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"

View File

@@ -0,0 +1,736 @@
/*
* ReactOS Calc (Thai resource file)
* Last modified: 2009-02-02
*/
LANGUAGE LANG_THAI, 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>Ţ ReactOS"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "",IDC_STATIC,4,16,132,21
CONTROL "<22>Ժˡ",IDC_RADIO_HEX,"Button",BS_AUTORADIOBUTTON,8,24,29,10
CONTROL "<22>Ժ",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,40,24,29,10
CONTROL "Ỵ",IDC_RADIO_OCT,"Button",BS_AUTORADIOBUTTON,72,24,27,10
CONTROL "<22>ͧ",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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_QWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,148,24,37,10
CONTROL "<22>ͧ<EFBFBD><CDA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_DWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,188,24,37,10
CONTROL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_RADIO_WORD,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,232,24,33,10
CONTROL "亵<>",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,272,24,30,10
CONTROL "ͧ<><CDA7>",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "<22><><EFBFBD><EFBFBD><EFBFBD>¹",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "<22><><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 "ʶҹ<CAB6>Ҿ<EFBFBD><D2BE><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 "<22>ҡ",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>Ţ ReactOS"
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 "<22><><EFBFBD><EFBFBD><EFBFBD>໫",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 "<22>ҡ",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><EFBFBD><EFBFBD>ǡѺ ReactOS Calc"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "<22><>ŧ",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>Ţ ReactOS",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "<22><><EFBFBD><EFBFBD> ",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 "<22><><EFBFBD>ͧʶҹ<CAB6>"
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>&<26><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22>Ѵ<EFBFBD>͡\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22>ҧ\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "&<26><><EFBFBD><EFBFBD>ͧ"
BEGIN
MENUITEM "Ẻ<>ҵðҹ", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Ẻ<>Է<EFBFBD><D4B7><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¹<EFBFBD><C2B9>ŧ", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22>ҹ<EFBFBD>Ժˡ\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "<22>ҹ<EFBFBD>Ժ\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "<22>ҹỴ\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "<22>ҹ<EFBFBD>ͧ\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "ͧ<><CDA7>\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>¹\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¹\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22>ʴ<EFBFBD><CAB4><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>Ţ", IDM_VIEW_GROUP, CHECKED
END
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>ǡѺ ReactOS Calc", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "<22>&<26><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22>Ѵ<EFBFBD>͡\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22>ҧ\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "&<26><><EFBFBD><EFBFBD>ͧ"
BEGIN
MENUITEM "Ẻ<>ҵðҹ", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Ẻ<>Է<EFBFBD><D4B7><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¹<EFBFBD><C2B9>ŧ", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22>ҹ<EFBFBD>Ժˡ\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "<22>ҹ<EFBFBD>Ժ\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "<22>ҹỴ\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "<22>ҹ<EFBFBD>ͧ\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22><>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "<22>Ѻ<EFBFBD><D1BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "亵<>\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22>ʴ<EFBFBD><CAB4><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>Ţ", IDM_VIEW_GROUP, CHECKED
END
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>ǡѺ ReactOS Calc", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "<22>&<26><><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22>Ѵ<EFBFBD>͡\tCTRL-C", IDM_EDIT_COPY
MENUITEM "<22>ҧ\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "&<26><><EFBFBD><EFBFBD>ͧ"
BEGIN
MENUITEM "Ẻ<>ҵðҹ", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Ẻ<>Է<EFBFBD><D4B7><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¹<EFBFBD><C2B9>ŧ", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22>ʴ<EFBFBD><CAB4><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>Ţ", IDM_VIEW_GROUP, CHECKED
END
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>ǡѺ 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><D4B4>Ҵ"
IDS_QUICKHELP "<22><><EFBFBD><E8A7B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ?"
END
// types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "<22><><EFBFBD>"
IDS_CONV_AREA "<22><><EFBFBD><E9B9B7>"
IDS_CONV_CONSUMPTION "Consumption (engines)"
IDS_CONV_CURRENCY "Currencies"
IDS_CONV_ENERGY "Energy"
IDS_CONV_LENGTH "Lenghts"
IDS_CONV_POWER "Power"
IDS_CONV_PRESSURE "Pressure"
IDS_CONV_TEMPERATURE "Temperature"
IDS_CONV_TIME "<22><><EFBFBD><EFBFBD>"
IDS_CONV_VELOCITY "Velocity"
IDS_CONV_VOLUME "Volume"
IDS_CONV_WEIGHT "Weights"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "ͧ<><CDA7>"
IDS_ANGLE_GRADIANS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¹"
IDS_ANGLE_RADIANS "<22><><EFBFBD><EFBFBD><EFBFBD>¹"
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 "<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 ^0C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
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 "Angstroms"
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_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

@@ -1,9 +1,9 @@
/*
* PROJECT: ReactOS Calculator
* LICENSE: GPL - See COPYING in the top level directory
* FILE: rosapps/roscalc/lang/uk-UA.rc
* PURPOSE: Ukraianian Language File for roscalc
* TRANSLATOR: Artem Reznikov
* 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
@@ -17,14 +17,10 @@ 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
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
@@ -238,7 +234,7 @@ BEGIN
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
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"
@@ -249,10 +245,10 @@ BEGIN
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> (""<22>""):",IDC_STATIC,4,49,56,8
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (\"<22>\"):",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> (""<22>""):",IDC_STATIC,4,76,56,8
LTEXT "ʳ<><CAB3><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (\"<22>\"):",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 |
@@ -349,7 +345,6 @@ BEGIN
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
@@ -452,6 +447,7 @@ 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>"
@@ -460,248 +456,284 @@ BEGIN
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 "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_ACRES "<EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_ACRES_BRAZIL "<EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_ACRES_FRANCE "<EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_ACRES_SCOTS "<EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_ACRES_US "<EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_AREA_ARES "<EFBFBD><EFBFBD>"
IDS_AREA_CHOU "<EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_DANBO "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_HECTARES "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_JEONGBO "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_MORGEN_HUNGARY "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_MU "<EFBFBD><EFBFBD>"
IDS_AREA_PING "ϳ<EFBFBD><EFBFBD>"
IDS_AREA_PYEONG "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_PYEONGBANGJA "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_RAI "<EFBFBD><EFBFBD><EFBFBD>"
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"
IDS_AREA_SQUARE_CENTIMETERS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_CHR "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>"
IDS_AREA_SQUARE_FATHOMS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_AREA_SQUARE_FEET "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_AREA_SQUARE_INCHES "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_KILOMETERS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_LAR "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_AREA_SQUARE_METER "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_MILES "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_MILLIMETERS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_SHAKU "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_TSUEN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_VA "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>"
IDS_AREA_SQUARE_YARD "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_AREA_TAN "<EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_TSUBO "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
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)"
IDS_CONSUMPTION_KM_PER_L "ʳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>"
IDS_CONSUMPTION_L_PER_100_KM "˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD>/100 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CONSUMPTION_MILES_GALLON_UK "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_CONSUMPTION_MILES_GALLON_US "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><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_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_SLOVENIAN_TOLAR "Slovenian tolar"
IDS_CURRENCY_SPANISH_PESETA "Spanish peseta"
IDS_CURRENCY_AUSTRIAN_SCHILLING "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_BELGIAN_FRANC "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_CURRENCY_CYPRIOT_POUND "ʳ<EFBFBD><EFBFBD><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 "15 ^C calories"
IDS_ENERGY_ERGS "Ergs"
IDS_ENERGY_IT_CALORIES "International Table calories"
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"
IDS_ENERGY_15_C_CALORIES "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 15-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_ENERGY_BTUS "<EFBFBD><EFBFBD><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 "<EFBFBD><EFBFBD><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 "Angstroms"
IDS_LENGTH_ASTRONOMILA_UNITS "Astronomila 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_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_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"
IDS_LENGTH_ANGSTROMS "<EFBFBD><EFBFBD><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 "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_CENTIMETERS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_CHAINS_UK "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_CHI "׳"
IDS_LENGTH_CHOU "<EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_CHR "<EFBFBD><EFBFBD>"
IDS_LENGTH_CUN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_FATHOMS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_FATHOMS_HUNGARY "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_FEET "<EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_FURLONGS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_GAN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_HANDS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_HUNH "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_INCHES "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_JA "<EFBFBD>"
IDS_LENGTH_JEONG "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_KABIET "<EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_KEN "<EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_KEUB "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_KILOMETERS "ʳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_LAR "<EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_LIGHT_YEARS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_LENGTH_LINKS_UK "˳<EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_LENGTH_METERS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_MICRONS <><CCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_MILES "<EFBFBD><EFBFBD><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 "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_PARSECS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_PICAS "ϳ<EFBFBD><EFBFBD>"
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 "<EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_SAWK "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_SEN "<22><><EFBFBD>"
IDS_LENGTH_SHAKU "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_SPAN "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_SUN "<EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_TSUEN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_VA "<EFBFBD><EFBFBD>"
IDS_LENGTH_YARDS "<EFBFBD><EFBFBD><EFBFBD>"
IDS_LENGTH_YOTE "<22><><EFBFBD><EFBFBD>"
IDS_LENGTH_ZHANG "<22><><EFBFBD><EFBFBD>"
END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_HORSEPOWER "Horsepower"
IDS_POWER_KILOWATTS "Kilowatts"
IDS_POWER_MEGAWATTS "Megawatts"
IDS_POWER_WATTS "Watts"
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 "ʳ<EFBFBD><EFBFBD><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 "Atmospheres"
IDS_PRESSURE_BARS "Bars"
IDS_PRESSURE_MM_OF_MERCURY "Millimeters of mercury"
IDS_PRESSURE_PASCALS "Pascals"
IDS_PRESSURE_PSI "Pounds-force per square inch"
IDS_PRESSURE_ATMOSPHERES "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><><D4B3><EFBFBD><EFBFBD><EFBFBD>)"
IDS_PRESSURE_BARS "<EFBFBD><EFBFBD><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 "Celsius"
IDS_TEMPERATURE_FAHRENHEIT "Fahrenheit"
IDS_TEMPERATURE_KELVIN "Kelvin"
IDS_TEMPERATURE_RANKINE "Rankine"
IDS_TEMPERATURE_CELSIUS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_TEMPERATURE_FAHRENHEIT "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_TEMPERATURE_KELVIN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_TEMPERATURE_RANKINE "<EFBFBD><EFBFBD><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_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_FEET_HOUR "Feet/hour"
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"
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 "<EFBFBD><EFBFBD><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 "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"
IDS_VOLUME_BARRELS_UK "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_BARRELS_OIL "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_BUN "<EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_BUSHELS_UK "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_BUSHELS_US "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_CUBIC_CENTIMETERS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_CUBIC_FEET "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_VOLUME_CUBIC_INCHES "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_VOLUME_CUBIC_METERS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
IDS_VOLUME_CUBIC_YARDS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
IDS_VOLUME_DOE "<EFBFBD><EFBFBD>"
IDS_VOLUME_FLUID_OUNCES_UK "г<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_FLUID_OUNCES_US "г<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
IDS_VOLUME_GALLONS_UK "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_GALLONS_DRY_US "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_GALLONS_LIQUID_US "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_GOU "<EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_HOP "<EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_ICCE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_KWIAN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_LITERS "˳<EFBFBD><EFBFBD>"
IDS_VOLUME_MAL "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_MILLILITERS "̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_PINTS_UK "ϳ<EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_PINTS_DRY_US "ϳ<EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_PINTS_LIQUID_US "ϳ<EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_QUARTS_UK "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_VOLUME_QUARTS_DRY_US "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_QUARTS_LIQUID_US "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>)"
IDS_VOLUME_SEKI "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_SYOU "<EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_TANANLOUNG "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_TANG "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_VOLUME_TO "<EFBFBD><EFBFBD>"
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)"
IDS_WEIGHT_BAHT "<EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_CARATS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_CHUNG "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_DON "<EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_GEUN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_GRAMS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_GWAN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_HARB "<EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_JIN_CHINA "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_JIN_TAIWAN "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_KAN "<EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_KILOGRAMS "ʳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_KIN "ʳ<EFBFBD>"
IDS_WEIGHT_LIANG_CHINA "˳<EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_LIANG_TAIWAN "˳<EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_MONME "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_OUNCES_TROY "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_POUNDS "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_QUINTAL_METRIC "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_SALOUNG "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_STONES "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_TAMLUNG "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_TONNES "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WEIGHT_TONS_UK "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_TONS_US "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)"
END

View File

@@ -104,225 +104,256 @@
#define IDC_BUTTON_RSH 1093
/* TYPES OF CONVERSIONS */
#define IDS_CONV_AREA 2000
#define IDS_CONV_CONSUMPTION 2001
#define IDS_CONV_CURRENCY 2002
#define IDS_CONV_ENERGY 2003
#define IDS_CONV_LENGTH 2004
#define IDS_CONV_POWER 2005
#define IDS_CONV_PRESSURE 2006
#define IDS_CONV_TEMPERATURE 2007
#define IDS_CONV_VELOCITY 2008
#define IDS_CONV_VOLUME 2009
#define IDS_CONV_WEIGHT 2010
#define IDS_CONV_ANGLE 2000
#define IDS_CONV_AREA 2001
#define IDS_CONV_CONSUMPTION 2002
#define IDS_CONV_CURRENCY 2003
#define IDS_CONV_ENERGY 2004
#define IDS_CONV_LENGTH 2005
#define IDS_CONV_POWER 2006
#define IDS_CONV_PRESSURE 2007
#define IDS_CONV_TEMPERATURE 2008
#define IDS_CONV_TIME 2009
#define IDS_CONV_VELOCITY 2010
#define IDS_CONV_VOLUME 2011
#define IDS_CONV_WEIGHT 2012
/* TYPES OF ANGLES */
#define IDS_ANGLE_DEGREES 2100
#define IDS_ANGLE_GRADIANS 2101
#define IDS_ANGLE_RADIANS 2102
/* TYPES OF AREAS */
#define IDS_AREA_ACRES 2100
#define IDS_AREA_ACRES_BRAZIL 2101
#define IDS_AREA_ACRES_FRANCE 2102
#define IDS_AREA_ACRES_SCOTS 2103
#define IDS_AREA_ACRES_US 2104
#define IDS_AREA_ARES 2105
#define IDS_AREA_CHOU 2106
#define IDS_AREA_DANBO 2107
#define IDS_AREA_HECTARES 2108
#define IDS_AREA_JEONGBO 2109
#define IDS_AREA_MORGEN_HUNGARY 2110
#define IDS_AREA_MU 2111
#define IDS_AREA_PING 2112
#define IDS_AREA_PYEONG 2113
#define IDS_AREA_PYEONGBANGJA 2114
#define IDS_AREA_RAI 2115
#define IDS_AREA_SE 2116
#define IDS_AREA_SQUARE_CENTIMETERS 2117
#define IDS_AREA_SQUARE_CHR 2118
#define IDS_AREA_SQUARE_FATHOMS 2119
#define IDS_AREA_SQUARE_FATHOMS_HUNGARY 2120
#define IDS_AREA_SQUARE_FEET 2121
#define IDS_AREA_SQUARE_INCHES 2122
#define IDS_AREA_SQUARE_KILOMETERS 2123
#define IDS_AREA_SQUARE_LAR 2124
#define IDS_AREA_SQUARE_METER 2125
#define IDS_AREA_SQUARE_MILES 2126
#define IDS_AREA_SQUARE_MILLIMETERS 2127
#define IDS_AREA_SQUARE_SHAKU 2128
#define IDS_AREA_SQUARE_TSUEN 2129
#define IDS_AREA_SQUARE_VA 2130
#define IDS_AREA_SQUARE_YARD 2131
#define IDS_AREA_TAN 2132
#define IDS_AREA_TSUBO 2133
#define IDS_AREA_ACRES 2200
#define IDS_AREA_ACRES_BRAZIL 2201
#define IDS_AREA_ACRES_FRANCE 2202
#define IDS_AREA_ACRES_SCOTS 2203
#define IDS_AREA_ACRES_US 2204
#define IDS_AREA_ARES 2205
#define IDS_AREA_CHOU 2206
#define IDS_AREA_DANBO 2207
#define IDS_AREA_HECTARES 2208
#define IDS_AREA_JEONGBO 2209
#define IDS_AREA_MORGEN_HUNGARY 2210
#define IDS_AREA_MU 2211
#define IDS_AREA_PING 2212
#define IDS_AREA_PYEONG 2213
#define IDS_AREA_PYEONGBANGJA 2214
#define IDS_AREA_RAI 2215
#define IDS_AREA_SE 2216
#define IDS_AREA_SQUARE_CENTIMETERS 2217
#define IDS_AREA_SQUARE_CHR 2218
#define IDS_AREA_SQUARE_FATHOMS 2219
#define IDS_AREA_SQUARE_FATHOMS_HUNGARY 2220
#define IDS_AREA_SQUARE_FEET 2221
#define IDS_AREA_SQUARE_INCHES 2222
#define IDS_AREA_SQUARE_KILOMETERS 2223
#define IDS_AREA_SQUARE_LAR 2224
#define IDS_AREA_SQUARE_METER 2225
#define IDS_AREA_SQUARE_MILES 2226
#define IDS_AREA_SQUARE_MILLIMETERS 2227
#define IDS_AREA_SQUARE_SHAKU 2228
#define IDS_AREA_SQUARE_TSUEN 2229
#define IDS_AREA_SQUARE_VA 2230
#define IDS_AREA_SQUARE_YARD 2231
#define IDS_AREA_TAN 2232
#define IDS_AREA_TSUBO 2233
/* TYPES OF COMSUMPTIONS */
#define IDS_CONSUMPTION_KM_PER_L 2200
#define IDS_CONSUMPTION_L_PER_100_KM 2201
#define IDS_CONSUMPTION_MILES_GALLON_UK 2202
#define IDS_CONSUMPTION_MILES_GALLON_US 2203
#define IDS_CONSUMPTION_KM_PER_L 2300
#define IDS_CONSUMPTION_L_PER_100_KM 2301
#define IDS_CONSUMPTION_MILES_GALLON_UK 2302
#define IDS_CONSUMPTION_MILES_GALLON_US 2303
/* TYPES OF CURRENCIES */
#define IDS_CURRENCY_AUSTRIAN_SCHILLING 2300
#define IDS_CURRENCY_BELGIAN_FRANC 2301
#define IDS_CURRENCY_CYPRIOT_POUND 2302
#define IDS_CURRENCY_DEUTSCHE_MARK 2303
#define IDS_CURRENCY_DUTCH_GUILDER 2304
#define IDS_CURRENCY_EURO 2305
#define IDS_CURRENCY_FINNISH_MARKKA 2306
#define IDS_CURRENCY_FRENCH_FRANC 2307
#define IDS_CURRENCY_GREEK_DRACHMA 2308
#define IDS_CURRENCY_IRISH_POUND 2309
#define IDS_CURRENCY_ITALIAN_LIRA 2310
#define IDS_CURRENCY_LUXEMBOURG_FRANC 2311
#define IDS_CURRENCY_MALTESE_LIRA 2312
#define IDS_CURRENCY_PORTOGUESE_ESCUDO 2313
#define IDS_CURRENCY_SLOVENIAN_TOLAR 2314
#define IDS_CURRENCY_SPANISH_PESETA 2315
#define IDS_CURRENCY_AUSTRIAN_SCHILLING 2400
#define IDS_CURRENCY_BELGIAN_FRANC 2401
#define IDS_CURRENCY_CYPRIOT_POUND 2402
#define IDS_CURRENCY_CZECH_KORUNA 2403
#define IDS_CURRENCY_DEUTSCHE_MARK 2404
#define IDS_CURRENCY_DUTCH_GUILDER 2405
#define IDS_CURRENCY_EURO 2406
#define IDS_CURRENCY_FINNISH_MARKKA 2407
#define IDS_CURRENCY_FRENCH_FRANC 2408
#define IDS_CURRENCY_GREEK_DRACHMA 2409
#define IDS_CURRENCY_IRISH_POUND 2410
#define IDS_CURRENCY_ITALIAN_LIRA 2411
#define IDS_CURRENCY_LUXEMBOURG_FRANC 2412
#define IDS_CURRENCY_MALTESE_LIRA 2413
#define IDS_CURRENCY_PORTOGUESE_ESCUDO 2414
#define IDS_CURRENCY_SLOVAK_KORUNA 2415
#define IDS_CURRENCY_SLOVENIAN_TOLAR 2416
#define IDS_CURRENCY_SPANISH_PESETA 2417
/* TYPES OF ENERGIES */
#define IDS_ENERGY_15_C_CALORIES 2400
#define IDS_ENERGY_ERGS 2401
#define IDS_ENERGY_IT_CALORIES 2402
#define IDS_ENERGY_JOULES 2403
#define IDS_ENERGY_KILOJOULES 2404
#define IDS_ENERGY_KILOWATT_HOURS 2405
#define IDS_ENERGY_NUTRITION_CALORIES 2406
#define IDS_ENERGY_TH_CALORIES 2407
#define IDS_ENERGY_15_C_CALORIES 2500
#define IDS_ENERGY_BTUS 2501
#define IDS_ENERGY_ERGS 2502
#define IDS_ENERGY_EVS 2503
#define IDS_ENERGY_FOOT_POUNDS 2504
#define IDS_ENERGY_IT_CALORIES 2505
#define IDS_ENERGY_IT_KILOCALORIES 2506
#define IDS_ENERGY_JOULES 2507
#define IDS_ENERGY_KILOJOULES 2508
#define IDS_ENERGY_KILOWATT_HOURS 2509
#define IDS_ENERGY_NUTRITION_CALORIES 2510
#define IDS_ENERGY_TH_CALORIES 2511
/* TYPES OF LENGTHS */
#define IDS_LENGTH_ANGSTROMS 2500
#define IDS_LENGTH_ASTRONOMILA_UNITS 2501
#define IDS_LENGTH_BARLEYCORNS 2502
#define IDS_LENGTH_CENTIMETERS 2503
#define IDS_LENGTH_CHAINS_UK 2504
#define IDS_LENGTH_CHI 2505
#define IDS_LENGTH_CHOU 2506
#define IDS_LENGTH_CHR 2507
#define IDS_LENGTH_CUN 2508
#define IDS_LENGTH_FATHOMS 2509
#define IDS_LENGTH_FATHOMS_HUNGARY 2510
#define IDS_LENGTH_FEET 2511
#define IDS_LENGTH_FURLONGS 2512
#define IDS_LENGTH_GAN 2513
#define IDS_LENGTH_HANDS 2514
#define IDS_LENGTH_HUNH 2515
#define IDS_LENGTH_INCHES 2516
#define IDS_LENGTH_JA 2517
#define IDS_LENGTH_JEONG 2518
#define IDS_LENGTH_KABIET 2519
#define IDS_LENGTH_KEN 2520
#define IDS_LENGTH_KEUB 2521
#define IDS_LENGTH_KILOMETERS 2522
#define IDS_LENGTH_LAR 2523
#define IDS_LENGTH_LIGHT_YEARS 2524
#define IDS_LENGTH_LINKS_UK 2525
#define IDS_LENGTH_METERS 2526
#define IDS_LENGTH_MILES 2527
#define IDS_LENGTH_MILLIMETERS 2528
#define IDS_LENGTH_NAUTICAL_MILES 2529
#define IDS_LENGTH_NIEU 2530
#define IDS_LENGTH_PARSECS 2531
#define IDS_LENGTH_PICAS 2532
#define IDS_LENGTH_RI_JAPAN 2533
#define IDS_LENGTH_RI_KOREA 2534
#define IDS_LENGTH_SAWK 2535
#define IDS_LENGTH_SEN 2536
#define IDS_LENGTH_SHAKU 2537
#define IDS_LENGTH_SPAN 2538
#define IDS_LENGTH_SUN 2539
#define IDS_LENGTH_TSUEN 2540
#define IDS_LENGTH_VA 2541
#define IDS_LENGTH_YARDS 2542
#define IDS_LENGTH_YOTE 2543
#define IDS_LENGTH_ZHANG 2544
#define IDS_LENGTH_ANGSTROMS 2600
#define IDS_LENGTH_ASTRONOMICAL_UNITS 2601
#define IDS_LENGTH_BARLEYCORNS 2602
#define IDS_LENGTH_CENTIMETERS 2603
#define IDS_LENGTH_CHAINS_UK 2604
#define IDS_LENGTH_CHI 2605
#define IDS_LENGTH_CHOU 2606
#define IDS_LENGTH_CHR 2607
#define IDS_LENGTH_CUN 2608
#define IDS_LENGTH_FATHOMS 2609
#define IDS_LENGTH_FATHOMS_HUNGARY 2610
#define IDS_LENGTH_FEET 2611
#define IDS_LENGTH_FURLONGS 2612
#define IDS_LENGTH_GAN 2613
#define IDS_LENGTH_HANDS 2614
#define IDS_LENGTH_HUNH 2615
#define IDS_LENGTH_INCHES 2616
#define IDS_LENGTH_JA 2617
#define IDS_LENGTH_JEONG 2618
#define IDS_LENGTH_KABIET 2619
#define IDS_LENGTH_KEN 2620
#define IDS_LENGTH_KEUB 2621
#define IDS_LENGTH_KILOMETERS 2622
#define IDS_LENGTH_LAR 2623
#define IDS_LENGTH_LIGHT_YEARS 2624
#define IDS_LENGTH_LINKS_UK 2625
#define IDS_LENGTH_METERS 2626
#define IDS_LENGTH_MICRONS 2627
#define IDS_LENGTH_MILES 2628
#define IDS_LENGTH_MILLIMETERS 2629
#define IDS_LENGTH_NAUTICAL_MILES 2630
#define IDS_LENGTH_NIEU 2631
#define IDS_LENGTH_PARSECS 2632
#define IDS_LENGTH_PICAS 2633
#define IDS_LENGTH_RODS 2634
#define IDS_LENGTH_RI_JAPAN 2635
#define IDS_LENGTH_RI_KOREA 2636
#define IDS_LENGTH_SAWK 2637
#define IDS_LENGTH_SEN 2638
#define IDS_LENGTH_SHAKU 2639
#define IDS_LENGTH_SPAN 2640
#define IDS_LENGTH_SUN 2641
#define IDS_LENGTH_TSUEN 2642
#define IDS_LENGTH_VA 2643
#define IDS_LENGTH_YARDS 2644
#define IDS_LENGTH_YOTE 2645
#define IDS_LENGTH_ZHANG 2646
/* TYPES OF POWERS */
#define IDS_POWER_HORSEPOWER 2600
#define IDS_POWER_KILOWATTS 2601
#define IDS_POWER_MEGAWATTS 2602
#define IDS_POWER_WATTS 2603
#define IDS_POWER_BTUS_PER_MINUTE 2700
#define IDS_POWER_FPS_PER_MINUTE 2701
#define IDS_POWER_HORSEPOWER 2702
#define IDS_POWER_KILOWATTS 2703
#define IDS_POWER_MEGAWATTS 2704
#define IDS_POWER_WATTS 2705
/* TYPE OF PRESSURES */
#define IDS_PRESSURE_ATMOSPHERES 2701
#define IDS_PRESSURE_BARS 2702
#define IDS_PRESSURE_MM_OF_MERCURY 2703
#define IDS_PRESSURE_PASCALS 2704
#define IDS_PRESSURE_PSI 2705
#define IDS_PRESSURE_ATMOSPHERES 2800
#define IDS_PRESSURE_BARS 2801
#define IDS_PRESSURE_HECTOPASCALS 2802
#define IDS_PRESSURE_KILOPASCALS 2803
#define IDS_PRESSURE_MM_OF_MERCURY 2804
#define IDS_PRESSURE_PASCALS 2805
#define IDS_PRESSURE_PSI 2806
/* TYPES OF TEMPERATURES */
#define IDS_TEMPERATURE_CELSIUS 2800
#define IDS_TEMPERATURE_FAHRENHEIT 2801
#define IDS_TEMPERATURE_KELVIN 2802
#define IDS_TEMPERATURE_RANKINE 2803
#define IDS_TEMPERATURE_CELSIUS 2900
#define IDS_TEMPERATURE_FAHRENHEIT 2901
#define IDS_TEMPERATURE_KELVIN 2902
#define IDS_TEMPERATURE_RANKINE 2903
/* TYPE OF TIME */
#define IDS_TIME_DAYS 3001
#define IDS_TIME_HOURS 3002
#define IDS_TIME_MICROSECONDS 3003
#define IDS_TIME_MILLISECONDS 3004
#define IDS_TIME_MINUTES 3005
#define IDS_TIME_SECONDS 3006
#define IDS_TIME_WEEKS 3007
#define IDS_TIME_YEARS 3008
/* TYPES OF VELOCITIES */
#define IDS_VELOCITY_FEET_HOUR 2900
#define IDS_VELOCITY_KILOMETERS_HOUR 2901
#define IDS_VELOCITY_KNOTS 2902
#define IDS_VELOCITY_MACH 2903
#define IDS_VELOCITY_METERS_SECOND 2904
#define IDS_VELOCITY_MILES_HOUR 2905
#define IDS_VELOCITY_CMS_SECOND 3100
#define IDS_VELOCITY_FEET_SECOND 3101
#define IDS_VELOCITY_FEET_HOUR 3102
#define IDS_VELOCITY_KILOMETERS_HOUR 3103
#define IDS_VELOCITY_KNOTS 3104
#define IDS_VELOCITY_MACH 3105
#define IDS_VELOCITY_METERS_SECOND 3106
#define IDS_VELOCITY_MILES_HOUR 3107
/* TYPES OF VOLUMES */
#define IDS_VOLUME_BARRELS_UK 3000
#define IDS_VOLUME_BARRELS_OIL 3001
#define IDS_VOLUME_BUN 3002
#define IDS_VOLUME_BUSHELS_UK 3003
#define IDS_VOLUME_BUSHELS_US 3004
#define IDS_VOLUME_CUBIC_CENTIMETERS 3005
#define IDS_VOLUME_CUBIC_FEET 3006
#define IDS_VOLUME_CUBIC_INCHES 3007
#define IDS_VOLUME_CUBIC_METERS 3008
#define IDS_VOLUME_CUBIC_YARDS 3009
#define IDS_VOLUME_DOE 3010
#define IDS_VOLUME_FLUID_OUNCES_UK 3011
#define IDS_VOLUME_FLUID_OUNCES_US 3012
#define IDS_VOLUME_GALLONS_UK 3013
#define IDS_VOLUME_GALLONS_DRY_US 3014
#define IDS_VOLUME_GALLONS_LIQUID_US 3015
#define IDS_VOLUME_GOU 3016
#define IDS_VOLUME_HOP 3017
#define IDS_VOLUME_ICCE 3018
#define IDS_VOLUME_KWIAN 3019
#define IDS_VOLUME_LITERS 3020
#define IDS_VOLUME_MAL 3021
#define IDS_VOLUME_MILLILITERS 3022
#define IDS_VOLUME_PINTS_UK 3023
#define IDS_VOLUME_PINTS_DRY_US 3024
#define IDS_VOLUME_PINTS_LIQUID_US 3025
#define IDS_VOLUME_QUARTS_UK 3026
#define IDS_VOLUME_QUARTS_DRY_US 3027
#define IDS_VOLUME_QUARTS_LIQUID_US 3028
#define IDS_VOLUME_SEKI 3029
#define IDS_VOLUME_SYOU 3030
#define IDS_VOLUME_TANANLOUNG 3031
#define IDS_VOLUME_TANG 3032
#define IDS_VOLUME_TO 3033
#define IDS_VOLUME_BARRELS_UK 3200
#define IDS_VOLUME_BARRELS_OIL 3201
#define IDS_VOLUME_BUN 3202
#define IDS_VOLUME_BUSHELS_UK 3203
#define IDS_VOLUME_BUSHELS_US 3204
#define IDS_VOLUME_CUBIC_CENTIMETERS 3205
#define IDS_VOLUME_CUBIC_FEET 3206
#define IDS_VOLUME_CUBIC_INCHES 3207
#define IDS_VOLUME_CUBIC_METERS 3208
#define IDS_VOLUME_CUBIC_YARDS 3209
#define IDS_VOLUME_DOE 3210
#define IDS_VOLUME_FLUID_OUNCES_UK 3211
#define IDS_VOLUME_FLUID_OUNCES_US 3212
#define IDS_VOLUME_GALLONS_UK 3213
#define IDS_VOLUME_GALLONS_DRY_US 3214
#define IDS_VOLUME_GALLONS_LIQUID_US 3215
#define IDS_VOLUME_GOU 3216
#define IDS_VOLUME_HOP 3217
#define IDS_VOLUME_ICCE 3218
#define IDS_VOLUME_KWIAN 3219
#define IDS_VOLUME_LITERS 3220
#define IDS_VOLUME_MAL 3221
#define IDS_VOLUME_MILLILITERS 3222
#define IDS_VOLUME_PINTS_UK 3223
#define IDS_VOLUME_PINTS_DRY_US 3224
#define IDS_VOLUME_PINTS_LIQUID_US 3225
#define IDS_VOLUME_QUARTS_UK 3226
#define IDS_VOLUME_QUARTS_DRY_US 3227
#define IDS_VOLUME_QUARTS_LIQUID_US 3228
#define IDS_VOLUME_SEKI 3229
#define IDS_VOLUME_SYOU 3230
#define IDS_VOLUME_TANANLOUNG 3231
#define IDS_VOLUME_TANG 3232
#define IDS_VOLUME_TO 3233
/* TYPES OF WEIGHTS */
#define IDS_WEIGHT_BAHT 3100
#define IDS_WEIGHT_CARATS 3101
#define IDS_WEIGHT_CHUNG 3102
#define IDS_WEIGHT_DON 3103
#define IDS_WEIGHT_GEUN 3104
#define IDS_WEIGHT_GRAMS 3105
#define IDS_WEIGHT_GWAN 3106
#define IDS_WEIGHT_HARB 3107
#define IDS_WEIGHT_JIN_CHINA 3108
#define IDS_WEIGHT_JIN_TAIWAN 3109
#define IDS_WEIGHT_KAN 3110
#define IDS_WEIGHT_KILOGRAMS 3111
#define IDS_WEIGHT_KIN 3112
#define IDS_WEIGHT_LIANG_CHINA 3113
#define IDS_WEIGHT_LIANG_TAIWAN 3114
#define IDS_WEIGHT_MONME 3115
#define IDS_WEIGHT_OUNCES_AVOIRDUPOIS 3116
#define IDS_WEIGHT_OUNCES_TROY 3117
#define IDS_WEIGHT_POUNDS 3118
#define IDS_WEIGHT_QUINTAL_METRIC 3119
#define IDS_WEIGHT_SALOUNG 3120
#define IDS_WEIGHT_STONES 3121
#define IDS_WEIGHT_TAMLUNG 3122
#define IDS_WEIGHT_TONNES 3123
#define IDS_WEIGHT_TONS_UK 3124
#define IDS_WEIGHT_TONS_US 3125
#define IDS_WEIGHT_BAHT 3300
#define IDS_WEIGHT_CARATS 3301
#define IDS_WEIGHT_CHUNG 3302
#define IDS_WEIGHT_DON 3303
#define IDS_WEIGHT_GEUN 3304
#define IDS_WEIGHT_GRAMS 3305
#define IDS_WEIGHT_GWAN 3306
#define IDS_WEIGHT_HARB 3307
#define IDS_WEIGHT_JIN_CHINA 3308
#define IDS_WEIGHT_JIN_TAIWAN 3309
#define IDS_WEIGHT_KAN 3310
#define IDS_WEIGHT_KILOGRAMS 3311
#define IDS_WEIGHT_KIN 3312
#define IDS_WEIGHT_LIANG_CHINA 3313
#define IDS_WEIGHT_LIANG_TAIWAN 3314
#define IDS_WEIGHT_MONME 3315
#define IDS_WEIGHT_OUNCES_AVOIRDUPOIS 3316
#define IDS_WEIGHT_OUNCES_TROY 3317
#define IDS_WEIGHT_POUNDS 3318
#define IDS_WEIGHT_QUINTAL_METRIC 3319
#define IDS_WEIGHT_SALOUNG 3320
#define IDS_WEIGHT_STONES 3321
#define IDS_WEIGHT_TAMLUNG 3322
#define IDS_WEIGHT_TONNES 3323
#define IDS_WEIGHT_TONS_UK 3324
#define IDS_WEIGHT_TONS_US 3325
/* MENU */
#define IDM_EDIT_COPY 40002

View File

@@ -15,7 +15,7 @@
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <windows.h>
@@ -26,6 +26,10 @@
#define IDC_STATIC -1
#endif
#ifndef DS_SHELLFONT
#define DS_SHELLFONT DS_SETFONT|DS_FIXEDSYS
#endif
// Common resources
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
@@ -40,16 +44,20 @@ IDI_CALC_SMALL ICON DISCARDABLE "res/calc_sm.ico"
IDB_BITMAP_ROS BITMAP DISCARDABLE "res/ROS_logo.bmp"
#include "lang/en-US.rc"
#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/ko-KR.rc"
#include "lang/no-NO.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

@@ -383,6 +383,9 @@ int exec_infix2postfix(calc_number_t *number, unsigned int func)
push(&tmp);
if (func == RPN_OPERATOR_NONE)
return 0;
if (func != RPN_OPERATOR_PARENT) {
calc.last_operator = func;
evalStack(number);

View File

@@ -364,6 +364,9 @@ int exec_infix2postfix(calc_number_t *number, unsigned int func)
push(&tmp);
mpfr_clear(tmp.node.number.mf);
if (func == RPN_OPERATOR_NONE)
return 0;
if (func != RPN_OPERATOR_PARENT) {
calc.last_operator = func;
evalStack(number);

View File

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

View File

@@ -1,3 +1,13 @@
1.11 (20080813)
=======================
* Updated translations (thanks to the friends at ReactOS' community).
* Added DS_SHELLFONT to some dialogs into various translations (sometimes it was specified, sometimes it was not).
* Added support for newer conversion units.
* Fixed mistake into english translation (lenghts -> lengths).
* Now decimal and thousand separators can be also read directly from registry (NT only, not 9x/ME).
* Fixed bug when pressing an operator twice (like '1++2=' caused error).
* Now unary operators and constant generators won't break RPN queue.
1.10 (20080813)
=======================
* Added Norvegian and Korean translations.

View File

@@ -38,10 +38,10 @@ typedef struct {
} key2code_t;
typedef struct {
WORD idc; // IDC for posting message
CHAR key; // Virtual key identifier
BYTE mask; // enable/disable into the various modes.
INT col; // color used for drawing the text
WORD idc; // IDC for posting message
CHAR key; // Virtual key identifier
BYTE mask; // enable/disable into the various modes.
COLORREF col; // color used for drawing the text
} key3code_t;
#define CTRL_FLAG 0x100
@@ -209,9 +209,9 @@ static const function_table_t function_table[] = {
{ IDC_BUTTON_DAT, 0, 1, run_dat_sta, NULL, NULL, NULL, },
{ IDC_BUTTON_MP, MODIFIER_INV, 1, run_mp, run_mm, NULL, NULL, },
{ IDC_BUTTON_MS, MODIFIER_INV, 1, run_ms, run_mw, NULL, NULL, },
{ IDC_BUTTON_CANC, 0, 0, run_canc, NULL, NULL, NULL, },
{ IDC_BUTTON_RIGHTPAR, 0, 1, run_rpar, NULL, NULL, NULL, },
{ IDC_BUTTON_LEFTPAR, 0, 0, run_lpar, NULL, NULL, NULL, },
{ IDC_BUTTON_CANC, NO_CHAIN, 0, run_canc, NULL, NULL, NULL, },
{ IDC_BUTTON_RIGHTPAR, NO_CHAIN, 1, run_rpar, NULL, NULL, NULL, },
{ IDC_BUTTON_LEFTPAR, NO_CHAIN, 0, run_lpar, NULL, NULL, NULL, },
};
/*
@@ -223,6 +223,9 @@ static void load_config(void)
{
TCHAR buf[32];
DWORD tmp;
#if _WIN32_WINNT >= 0x0500
HKEY hKey;
#endif
/* Try to load last selected layout */
GetProfileString(TEXT("SciCalc"), TEXT("layout"), TEXT("0"), buf, SIZEOF(buf));
@@ -239,9 +242,42 @@ static void load_config(void)
/* memory is empty at startup */
calc.is_memory = FALSE;
#if _WIN32_WINNT >= 0x0500
/* empty these values */
calc.sDecimal[0] = TEXT('\0');
calc.sThousand[0] = TEXT('\0');
/* try to open the registry */
if (RegOpenKeyEx(HKEY_CURRENT_USER,
TEXT("Control Panel\\International"),
0,
KEY_QUERY_VALUE,
&hKey) == ERROR_SUCCESS) {
/* get these values (ignore errors) */
tmp = sizeof(calc.sDecimal);
RegQueryValueEx(hKey, TEXT("sDecimal"), NULL, NULL, (LPBYTE)calc.sDecimal, &tmp);
tmp = sizeof(calc.sThousand);
RegQueryValueEx(hKey, TEXT("sThousand"), NULL, NULL, (LPBYTE)calc.sThousand, &tmp);
/* close the key */
RegCloseKey(hKey);
}
/* if something goes wrong, let's apply the defaults */
if (calc.sDecimal[0] == TEXT('\0'))
_tcscpy(calc.sDecimal, TEXT("."));
if (calc.sThousand[0] == TEXT('\0'))
_tcscpy(calc.sThousand, TEXT(","));
/* get the string lengths */
calc.sDecimal_len = _tcslen(calc.sDecimal);
calc.sThousand_len = _tcslen(calc.sThousand);
#else
/* acquire regional settings */
calc.sDecimal_len = GetProfileString(TEXT("intl"), TEXT("sDecimal"), TEXT("."), calc.sDecimal, SIZEOF(calc.sDecimal));
calc.sThousand_len = GetProfileString(TEXT("intl"), TEXT("sThousand"), TEXT(","), calc.sThousand, SIZEOF(calc.sThousand));
#endif
}
static void save_config(void)
@@ -266,7 +302,7 @@ static LRESULT post_key_press(LPARAM lParam, WORD idc)
return 1;
if (!_tcscmp(ClassName, TEXT("Button"))) {
DWORD dwStyle = GetWindowLong(hCtlWnd, GWL_STYLE) & 0xF;
DWORD dwStyle = GetWindowLongPtr(hCtlWnd, GWL_STYLE) & 0xF;
/* Set states for press/release, but only for push buttons */
if (dwStyle == BS_PUSHBUTTON || dwStyle == BS_DEFPUSHBUTTON || dwStyle == BS_OWNERDRAW) {
@@ -804,7 +840,7 @@ static char *ReadConversion(const char *formula)
return str;
}
static LRESULT CALLBACK DlgStatProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
static INT_PTR CALLBACK DlgStatProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
{
TCHAR buffer[SIZEOF(calc.buffer)];
DWORD n;
@@ -1100,7 +1136,7 @@ static void handle_context_menu(HWND hWnd, WPARAM wp, LPARAM lp)
popup.rcMargins.bottom = -1;
popup.rcMargins.left = -1;
popup.rcMargins.right = -1;
popup.idString = GetWindowLong((HWND)wp, GWL_ID);
popup.idString = GetWindowLongPtr((HWND)wp, GWL_ID);
HtmlHelp((HWND)wp, HTMLHELP_PATH("/popups.txt"), HH_DISPLAY_TEXT_POPUP, (DWORD_PTR)&popup);
}
#endif
@@ -1179,7 +1215,7 @@ static LRESULT CALLBACK SubclassButtonProc(HWND hWnd, WPARAM wp, LPARAM lp)
return 1L;
}
static LRESULT CALLBACK DlgMainProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
static INT_PTR CALLBACK DlgMainProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
{
unsigned int x;
RECT rc;
@@ -1427,7 +1463,8 @@ static LRESULT CALLBACK DlgMainProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
if (x == RPN_OPERATOR_EQUAL) {
exec_infix2postfix(&calc.code, calc.prev_operator);
rpn_copy(&calc.code, &calc.prev);
}
} else
break;
}
/* if no change then quit silently, */
@@ -1569,6 +1606,8 @@ static LRESULT CALLBACK DlgMainProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
convert_text2number(&calc.code);
cb(&calc.code);
display_rpn_result(hWnd, &calc.code);
if (!(function_table[x].range & NO_CHAIN))
exec_infix2postfix(&calc.code, RPN_OPERATOR_NONE);
if (function_table[x].range & MODIFIER_INV)
SendDlgItemMessage(hWnd, IDC_CHECK_INV, BM_SETCHECK, 0, 0);
if (function_table[x].range & MODIFIER_HYP)

File diff suppressed because it is too large Load Diff

View File

@@ -1,85 +1,85 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/about.c
* PURPOSE: about dialog
* COPYRIGHT: Copyright 2007 Ged Murphy <gedmurphy@reactos.org>
*
*/
#include <precomp.h>
static
INT_PTR
CALLBACK
AboutDialogProc(HWND hDlg,
UINT message,
WPARAM wParam,
LPARAM lParam)
{
static HICON hIcon = NULL;
switch (message)
{
case WM_INITDIALOG:
{
HWND hLicenseEditWnd;
WCHAR strLicense[700];
hIcon = LoadImageW(hInstance,
MAKEINTRESOURCEW(IDI_ICON),
IMAGE_ICON,
16,
16,
0);
if (hIcon)
{
SendMessageW(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hIcon);
}
hLicenseEditWnd = GetDlgItem(hDlg,
IDC_LICENSE_EDIT);
if (LoadStringW(hInstance,
IDS_LICENSE,
strLicense,
sizeof(strLicense) / sizeof(WCHAR)))
{
SetWindowTextW(hLicenseEditWnd,
strLicense);
}
return TRUE;
}
case WM_COMMAND:
{
if ((LOWORD(wParam) == IDOK) || (LOWORD(wParam) == IDCANCEL))
{
DestroyIcon(hIcon);
EndDialog(hDlg,
LOWORD(wParam));
return TRUE;
}
break;
}
}
return FALSE;
}
VOID
ShowAboutDlg(HWND hWndParent)
{
DialogBoxW(hInstance,
MAKEINTRESOURCEW(IDD_ABOUTBOX),
hWndParent,
AboutDialogProc);
}
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/about.c
* PURPOSE: about dialog
* COPYRIGHT: Copyright 2007 Ged Murphy <gedmurphy@reactos.org>
*
*/
#include <precomp.h>
static
INT_PTR
CALLBACK
AboutDialogProc(HWND hDlg,
UINT message,
WPARAM wParam,
LPARAM lParam)
{
static HICON hIcon = NULL;
switch (message)
{
case WM_INITDIALOG:
{
HWND hLicenseEditWnd;
WCHAR strLicense[700];
hIcon = LoadImageW(hInstance,
MAKEINTRESOURCEW(IDI_ICON),
IMAGE_ICON,
16,
16,
0);
if (hIcon)
{
SendMessageW(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hIcon);
}
hLicenseEditWnd = GetDlgItem(hDlg,
IDC_LICENSE_EDIT);
if (LoadStringW(hInstance,
IDS_LICENSE,
strLicense,
sizeof(strLicense) / sizeof(WCHAR)))
{
SetWindowTextW(hLicenseEditWnd,
strLicense);
}
return TRUE;
}
case WM_COMMAND:
{
if ((LOWORD(wParam) == IDOK) || (LOWORD(wParam) == IDCANCEL))
{
DestroyIcon(hIcon);
EndDialog(hDlg,
LOWORD(wParam));
return TRUE;
}
break;
}
}
return FALSE;
}
VOID
ShowAboutDlg(HWND hWndParent)
{
DialogBoxW(hInstance,
MAKEINTRESOURCEW(IDD_ABOUTBOX),
hWndParent,
AboutDialogProc);
}

View File

@@ -1,368 +1,368 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/charmap.c
* PURPOSE: main dialog implementation
* COPYRIGHT: Copyright 2007 Ged Murphy <gedmurphy@reactos.org>
*
*/
#include <precomp.h>
#define ID_ABOUT 0x1
HINSTANCE hInstance;
/* Font-enumeration callback */
static
int
CALLBACK
EnumFontNames(ENUMLOGFONTEXW *lpelfe,
NEWTEXTMETRICEXW *lpntme,
DWORD FontType,
LPARAM lParam)
{
HWND hwndCombo = (HWND)lParam;
LPWSTR pszName = lpelfe->elfLogFont.lfFaceName;
/* make sure font doesn't already exist in our list */
if(SendMessageW(hwndCombo,
CB_FINDSTRING,
0,
(LPARAM)pszName) == CB_ERR)
{
INT idx;
BOOL fFixed;
BOOL fTrueType;
/* add the font */
idx = (INT)SendMessageW(hwndCombo,
CB_ADDSTRING,
0,
(LPARAM)pszName);
/* record the font's attributes (Fixedwidth and Truetype) */
fFixed = (lpelfe->elfLogFont.lfPitchAndFamily & FIXED_PITCH) ? TRUE : FALSE;
fTrueType = (lpelfe->elfLogFont.lfOutPrecision == OUT_STROKE_PRECIS) ? TRUE : FALSE;
/* store this information in the list-item's userdata area */
SendMessageW(hwndCombo,
CB_SETITEMDATA,
idx,
MAKEWPARAM(fFixed, fTrueType));
}
return 1;
}
/* Initialize the font-list by enumeration all system fonts */
static
VOID
FillFontStyleComboList(HWND hwndCombo)
{
HDC hdc;
LOGFONTW lf;
/* FIXME: for fun, draw each font in its own style */
HFONT hFont = GetStockObject(DEFAULT_GUI_FONT);
SendMessageW(hwndCombo,
WM_SETFONT,
(WPARAM)hFont,
0);
ZeroMemory(&lf, sizeof(lf));
lf.lfCharSet = DEFAULT_CHARSET;
hdc = GetDC(hwndCombo);
/* store the list of fonts in the combo */
EnumFontFamiliesExW(hdc,
&lf,
(FONTENUMPROCW)EnumFontNames,
(LPARAM)hwndCombo,
0);
ReleaseDC(hwndCombo,
hdc);
SendMessageW(hwndCombo,
CB_SETCURSEL,
0,
0);
}
static
VOID
ChangeMapFont(HWND hDlg)
{
HWND hCombo;
HWND hMap;
LPWSTR lpFontName;
INT Len;
hCombo = GetDlgItem(hDlg, IDC_FONTCOMBO);
Len = GetWindowTextLengthW(hCombo);
if (Len != 0)
{
lpFontName = HeapAlloc(GetProcessHeap(),
0,
(Len + 1) * sizeof(WCHAR));
if (lpFontName)
{
SendMessageW(hCombo,
WM_GETTEXT,
Len + 1,
(LPARAM)lpFontName);
hMap = GetDlgItem(hDlg, IDC_FONTMAP);
SendMessageW(hMap,
FM_SETFONT,
0,
(LPARAM)lpFontName);
}
HeapFree(GetProcessHeap(),
0,
lpFontName);
}
}
static
VOID
AddCharToSelection(HWND hText,
WCHAR ch)
{
LPWSTR lpText;
INT Len = GetWindowTextLength(hText);
if (Len != 0)
{
lpText = HeapAlloc(GetProcessHeap(),
0,
(Len + 2) * sizeof(WCHAR));
if (lpText)
{
LPWSTR lpStr = lpText;
SendMessageW(hText,
WM_GETTEXT,
Len + 1,
(LPARAM)lpStr);
lpStr += Len;
*lpStr = ch;
lpStr++;
*lpStr = L'\0';
SendMessageW(hText,
WM_SETTEXT,
0,
(LPARAM)lpText);
HeapFree(GetProcessHeap(),
0,
lpText);
}
}
else
{
WCHAR szText[2];
szText[0] = ch;
szText[1] = L'\0';
SendMessageW(hText,
WM_SETTEXT,
0,
(LPARAM)szText);
}
}
static
BOOL
CALLBACK
DlgProc(HWND hDlg,
UINT Message,
WPARAM wParam,
LPARAM lParam)
{
static HICON hSmIcon;
static HICON hBgIcon;
LPWSTR lpAboutText = NULL;
switch(Message)
{
case WM_INITDIALOG:
{
HMENU hSysMenu;
hSmIcon = LoadImageW(hInstance,
MAKEINTRESOURCEW(IDI_ICON),
IMAGE_ICON,
16,
16,
0);
if (hSmIcon)
{
SendMessageW(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hSmIcon);
}
hBgIcon = LoadImageW(hInstance,
MAKEINTRESOURCEW(IDI_ICON),
IMAGE_ICON,
32,
32,
0);
if (hBgIcon)
{
SendMessageW(hDlg,
WM_SETICON,
ICON_BIG,
(LPARAM)hBgIcon);
}
FillFontStyleComboList(GetDlgItem(hDlg,
IDC_FONTCOMBO));
ChangeMapFont(hDlg);
hSysMenu = GetSystemMenu(hDlg,
FALSE);
if (hSysMenu != NULL)
{
if (LoadStringW(hInstance,
IDS_ABOUT,
lpAboutText,
0))
{
AppendMenuW(hSysMenu,
MF_SEPARATOR,
0,
NULL);
AppendMenuW(hSysMenu,
MF_STRING,
ID_ABOUT,
lpAboutText);
}
}
return TRUE;
}
case WM_COMMAND:
{
switch(LOWORD(wParam))
{
case IDC_FONTMAP:
{
switch (HIWORD(wParam))
{
case FM_SETCHAR:
AddCharToSelection(GetDlgItem(hDlg, IDC_TEXTBOX),
LOWORD(lParam));
break;
}
}
break;
case IDC_FONTCOMBO:
{
if (HIWORD(wParam) == CBN_SELCHANGE)
{
ChangeMapFont(hDlg);
}
}
break;
case IDC_SELECT:
{
WCHAR ch;
HWND hMap = GetDlgItem(hDlg, IDC_FONTMAP);
ch = (WCHAR) SendMessageW(hMap, FM_GETCHAR, 0, 0);
if (ch)
{
AddCharToSelection(GetDlgItem(hDlg, IDC_TEXTBOX),
ch);
}
break;
}
case IDOK:
if (hSmIcon)
DestroyIcon(hSmIcon);
if (hBgIcon)
DestroyIcon(hBgIcon);
EndDialog(hDlg, 0);
break;
}
}
break;
case WM_SYSCOMMAND:
{
switch(wParam)
{
case ID_ABOUT:
ShowAboutDlg(hDlg);
break;
}
}
break;
case WM_CLOSE:
if (hSmIcon)
DestroyIcon(hSmIcon);
if (hBgIcon)
DestroyIcon(hBgIcon);
EndDialog(hDlg, 0);
break;
default:
return FALSE;
}
return FALSE;
}
INT
WINAPI
wWinMain(HINSTANCE hInst,
HINSTANCE hPrev,
LPWSTR Cmd,
int iCmd)
{
INITCOMMONCONTROLSEX iccx;
INT Ret = 1;
hInstance = hInst;
iccx.dwSize = sizeof(INITCOMMONCONTROLSEX);
iccx.dwICC = ICC_TAB_CLASSES;
InitCommonControlsEx(&iccx);
if (RegisterMapClasses(hInstance))
{
Ret = DialogBoxW(hInstance,
MAKEINTRESOURCEW(IDD_CHARMAP),
NULL,
(DLGPROC)DlgProc) >= 0;
UnregisterMapClasses(hInstance);
}
return Ret;
}
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/charmap.c
* PURPOSE: main dialog implementation
* COPYRIGHT: Copyright 2007 Ged Murphy <gedmurphy@reactos.org>
*
*/
#include <precomp.h>
#define ID_ABOUT 0x1
HINSTANCE hInstance;
/* Font-enumeration callback */
static
int
CALLBACK
EnumFontNames(ENUMLOGFONTEXW *lpelfe,
NEWTEXTMETRICEXW *lpntme,
DWORD FontType,
LPARAM lParam)
{
HWND hwndCombo = (HWND)lParam;
LPWSTR pszName = lpelfe->elfLogFont.lfFaceName;
/* make sure font doesn't already exist in our list */
if(SendMessageW(hwndCombo,
CB_FINDSTRING,
0,
(LPARAM)pszName) == CB_ERR)
{
INT idx;
BOOL fFixed;
BOOL fTrueType;
/* add the font */
idx = (INT)SendMessageW(hwndCombo,
CB_ADDSTRING,
0,
(LPARAM)pszName);
/* record the font's attributes (Fixedwidth and Truetype) */
fFixed = (lpelfe->elfLogFont.lfPitchAndFamily & FIXED_PITCH) ? TRUE : FALSE;
fTrueType = (lpelfe->elfLogFont.lfOutPrecision == OUT_STROKE_PRECIS) ? TRUE : FALSE;
/* store this information in the list-item's userdata area */
SendMessageW(hwndCombo,
CB_SETITEMDATA,
idx,
MAKEWPARAM(fFixed, fTrueType));
}
return 1;
}
/* Initialize the font-list by enumeration all system fonts */
static
VOID
FillFontStyleComboList(HWND hwndCombo)
{
HDC hdc;
LOGFONTW lf;
/* FIXME: for fun, draw each font in its own style */
HFONT hFont = GetStockObject(DEFAULT_GUI_FONT);
SendMessageW(hwndCombo,
WM_SETFONT,
(WPARAM)hFont,
0);
ZeroMemory(&lf, sizeof(lf));
lf.lfCharSet = DEFAULT_CHARSET;
hdc = GetDC(hwndCombo);
/* store the list of fonts in the combo */
EnumFontFamiliesExW(hdc,
&lf,
(FONTENUMPROCW)EnumFontNames,
(LPARAM)hwndCombo,
0);
ReleaseDC(hwndCombo,
hdc);
SendMessageW(hwndCombo,
CB_SETCURSEL,
0,
0);
}
static
VOID
ChangeMapFont(HWND hDlg)
{
HWND hCombo;
HWND hMap;
LPWSTR lpFontName;
INT Len;
hCombo = GetDlgItem(hDlg, IDC_FONTCOMBO);
Len = GetWindowTextLengthW(hCombo);
if (Len != 0)
{
lpFontName = HeapAlloc(GetProcessHeap(),
0,
(Len + 1) * sizeof(WCHAR));
if (lpFontName)
{
SendMessageW(hCombo,
WM_GETTEXT,
Len + 1,
(LPARAM)lpFontName);
hMap = GetDlgItem(hDlg, IDC_FONTMAP);
SendMessageW(hMap,
FM_SETFONT,
0,
(LPARAM)lpFontName);
}
HeapFree(GetProcessHeap(),
0,
lpFontName);
}
}
static
VOID
AddCharToSelection(HWND hText,
WCHAR ch)
{
LPWSTR lpText;
INT Len = GetWindowTextLength(hText);
if (Len != 0)
{
lpText = HeapAlloc(GetProcessHeap(),
0,
(Len + 2) * sizeof(WCHAR));
if (lpText)
{
LPWSTR lpStr = lpText;
SendMessageW(hText,
WM_GETTEXT,
Len + 1,
(LPARAM)lpStr);
lpStr += Len;
*lpStr = ch;
lpStr++;
*lpStr = L'\0';
SendMessageW(hText,
WM_SETTEXT,
0,
(LPARAM)lpText);
HeapFree(GetProcessHeap(),
0,
lpText);
}
}
else
{
WCHAR szText[2];
szText[0] = ch;
szText[1] = L'\0';
SendMessageW(hText,
WM_SETTEXT,
0,
(LPARAM)szText);
}
}
static
INT_PTR
CALLBACK
DlgProc(HWND hDlg,
UINT Message,
WPARAM wParam,
LPARAM lParam)
{
static HICON hSmIcon;
static HICON hBgIcon;
LPWSTR lpAboutText = NULL;
switch(Message)
{
case WM_INITDIALOG:
{
HMENU hSysMenu;
hSmIcon = LoadImageW(hInstance,
MAKEINTRESOURCEW(IDI_ICON),
IMAGE_ICON,
16,
16,
0);
if (hSmIcon)
{
SendMessageW(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hSmIcon);
}
hBgIcon = LoadImageW(hInstance,
MAKEINTRESOURCEW(IDI_ICON),
IMAGE_ICON,
32,
32,
0);
if (hBgIcon)
{
SendMessageW(hDlg,
WM_SETICON,
ICON_BIG,
(LPARAM)hBgIcon);
}
FillFontStyleComboList(GetDlgItem(hDlg,
IDC_FONTCOMBO));
ChangeMapFont(hDlg);
hSysMenu = GetSystemMenu(hDlg,
FALSE);
if (hSysMenu != NULL)
{
if (LoadStringW(hInstance,
IDS_ABOUT,
lpAboutText,
0))
{
AppendMenuW(hSysMenu,
MF_SEPARATOR,
0,
NULL);
AppendMenuW(hSysMenu,
MF_STRING,
ID_ABOUT,
lpAboutText);
}
}
return TRUE;
}
case WM_COMMAND:
{
switch(LOWORD(wParam))
{
case IDC_FONTMAP:
{
switch (HIWORD(wParam))
{
case FM_SETCHAR:
AddCharToSelection(GetDlgItem(hDlg, IDC_TEXTBOX),
LOWORD(lParam));
break;
}
}
break;
case IDC_FONTCOMBO:
{
if (HIWORD(wParam) == CBN_SELCHANGE)
{
ChangeMapFont(hDlg);
}
}
break;
case IDC_SELECT:
{
WCHAR ch;
HWND hMap = GetDlgItem(hDlg, IDC_FONTMAP);
ch = (WCHAR) SendMessageW(hMap, FM_GETCHAR, 0, 0);
if (ch)
{
AddCharToSelection(GetDlgItem(hDlg, IDC_TEXTBOX),
ch);
}
break;
}
case IDOK:
if (hSmIcon)
DestroyIcon(hSmIcon);
if (hBgIcon)
DestroyIcon(hBgIcon);
EndDialog(hDlg, 0);
break;
}
}
break;
case WM_SYSCOMMAND:
{
switch(wParam)
{
case ID_ABOUT:
ShowAboutDlg(hDlg);
break;
}
}
break;
case WM_CLOSE:
if (hSmIcon)
DestroyIcon(hSmIcon);
if (hBgIcon)
DestroyIcon(hBgIcon);
EndDialog(hDlg, 0);
break;
default:
return FALSE;
}
return FALSE;
}
INT
WINAPI
wWinMain(HINSTANCE hInst,
HINSTANCE hPrev,
LPWSTR Cmd,
int iCmd)
{
INITCOMMONCONTROLSEX iccx;
INT Ret = 1;
hInstance = hInst;
iccx.dwSize = sizeof(INITCOMMONCONTROLSEX);
iccx.dwICC = ICC_TAB_CLASSES;
InitCommonControlsEx(&iccx);
if (RegisterMapClasses(hInstance))
{
Ret = DialogBoxW(hInstance,
MAKEINTRESOURCEW(IDD_CHARMAP),
NULL,
DlgProc) >= 0;
UnregisterMapClasses(hInstance);
}
return Ret;
}

View File

@@ -1,17 +1,17 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="charmap" type="win32gui" installbase="system32" installname="charmap.exe" unicode="yes">
<include base="charmap">.</include>
<library>gdi32</library>
<library>kernel32</library>
<library>user32</library>
<library>comctl32</library>
<compilationunit name="unit.c">
<file>about.c</file>
<file>charmap.c</file>
<file>lrgcell.c</file>
<file>map.c</file>
</compilationunit>
<file>charmap.rc</file>
<pch>precomp.h</pch>
</module>
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="charmap" type="win32gui" installbase="system32" installname="charmap.exe" unicode="yes">
<include base="charmap">.</include>
<library>gdi32</library>
<library>kernel32</library>
<library>user32</library>
<library>comctl32</library>
<compilationunit name="unit.c">
<file>about.c</file>
<file>charmap.c</file>
<file>lrgcell.c</file>
<file>map.c</file>
</compilationunit>
<file>charmap.rc</file>
<pch>precomp.h</pch>
</module>

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&<26><>..."
END

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&En quant a..."
END

View File

@@ -35,6 +35,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&O programu..."
END

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "Dieses Programm ist kostenlos; Sie k<>nnen es frei verteilen mit od. ohne <20>nderungen unter der GNU Lesser General Public License wie es von der Free Software Foundation ver<65>ffentlicht wurde; entweder Version 2.1 der Lizenz, oder eine sp<73>tere Version (ihrer Wahl).\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "Dieses Programm ist kostenlos; Sie k<>nnen es frei verteilen mit od. ohne <20>nderungen unter der GNU Lesser General Public License wie es von der Free Software Foundation ver<65>ffentlicht wurde; entweder Version 2.1 der Lizenz, oder eine sp<73>tere Version (ihrer Wahl).\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "<22>&ber..."
END

View File

@@ -32,6 +32,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
END

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "A&bout..."
END

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&Acerca de ..."
END

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "Ce programme est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier tout en respectant les termes de la ""GNU General Public License"" publi<EFBFBD>e par la Free Software Foundation; dans sa version 2 (ou selon votre pr<70>f<EFBFBD>rence) toute version ult<6C>rieure.\r\n\r\nCe programme est distribu<EFBFBD> dans l'espoir qu'il sera utile, cependant SANS GARANTIE D'AUCUNE SORTE ; sans m<>me une garantie implicite de COMMERCIABILIT<EFBFBD> ou DE CONFORMIT<49> <20> UNE UTILISATION PARTICULI<4C>RE. \r\n\r\nVoir la Licence Publique G<>n<EFBFBD>rale GNU pour plus de d<>tails. Vous devriez avoir re<72>u un exemplaire de la Licence Publique G<>n<EFBFBD>rale GNU avec ce programme ; si ce n'est pas le cas, <20>crivez <20> la Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "<22> propos..."
END

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "Program ini adalah software bebas; anda dapat mendistribusikan dan/atau mengubahnya di bawah term GNU General Public License seperti dipublikasikan oleh Free Software Foundation; baik Lisensi versi 2, atau (menurut opini anda) setiap versi berikutnya.\r\n\r\nProgram ini didistribusikan dengan harapan ia akan berguna, tetapi TANPA JAMINAN APAPUN; bahkan tanpa jaminan berarti dari MERCANTABILITAS atau KECUKUPAN UNTUK KEPERLUAN TERTENTU. Lihat GNU General Public License untuk lebih jelasnya.\r\n\r\nAnda seharusnya menerima duplikat GNU General Public License bersamaan dengan program ini; jika tidak, tulis ke Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "Program ini adalah software bebas; anda dapat mendistribusikan dan/atau mengubahnya di bawah term GNU General Public License seperti dipublikasikan oleh Free Software Foundation; baik Lisensi versi 2, atau (menurut opini anda) setiap versi berikutnya.\r\n\r\nProgram ini didistribusikan dengan harapan ia akan berguna, tetapi TANPA JAMINAN APAPUN; bahkan tanpa jaminan berarti dari MERCANTABILITAS atau KECUKUPAN UNTUK KEPERLUAN TERTENTU. Lihat GNU General Public License untuk lebih jelasnya.\r\n\r\nAnda seharusnya menerima duplikat GNU General Public License bersamaan dengan program ini; jika tidak, tulis ke Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "Te&ntang..."
END

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE, "Questo programma <20> software libero; pu<70> redistribuirlo e/o modificarlo sotto\ni termini della licenza pubblica GNU come pubblicata dalla Free Software Foundation; sia la versione 2 sia una versione successiva (a sua scelta).\r\n\r\nQuesto programma <20> distribuito\nnella speranza che sia utile, ma SENZA ALCUNA GARANZIA; senza neanche la garanzia implicita\ndi NEGOZIABILITA' o APPLICABILITA' per un particolare scopo. Si veda la licenza generale pubblica GNU per maggiori dettagli.\r\n\r\nDovrebbe aver ricevuto una copia assieme a questo programma; se cos<6F> non fosse, scriva alla Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE, "Questo programma <20> software libero; pu<70> redistribuirlo e/o modificarlo sotto\ni termini della licenza pubblica GNU come pubblicata dalla Free Software Foundation; sia la versione 2 sia una versione successiva (a sua scelta).\r\n\r\nQuesto programma <20> distribuito\nnella speranza che sia utile, ma SENZA ALCUNA GARANZIA; senza neanche la garanzia implicita\ndi NEGOZIABILITA' o APPLICABILITA' per un particolare scopo. Si veda la licenza generale pubblica GNU per maggiori dettagli.\r\n\r\nDovrebbe aver ricevuto una copia assieme a questo programma; se cos<6F> non fosse, scriva alla Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&Informazioni su..."
END

View File

@@ -0,0 +1,35 @@
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>^<5E>[ <20>}<7D>b<EFBFBD>v"
FONT 9,"MS UI Gothic",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "<22>t<EFBFBD>H<EFBFBD><48><EFBFBD>g:", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "<22>w<EFBFBD><77><EFBFBD>v", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "<22>R<EFBFBD>s<EFBFBD>[<5B><><EFBFBD><EFBFBD><E995B6>:", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "<22>I<EFBFBD><49>", IDC_SELECT, 194, 186, 44, 13
PUSHBUTTON "<22>R<EFBFBD>s<EFBFBD>[", IDC_COPY, 242, 186, 44, 13, WS_DISABLED
//AUTOCHECKBOX "<22>ڍו\\<5C><>", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>^<5E>[ <20>}<7D>b<EFBFBD>v<EFBFBD>ɂ‚<C982><C282><EFBFBD>"
FONT 9,"MS UI Gothic",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>^<5E>[ <20>}<7D>b<EFBFBD>v v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "<22>‚<EFBFBD><C282><EFBFBD>", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "<22>o<EFBFBD>[<5B>W<EFBFBD><57><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(&B)..."
END

View File

@@ -33,6 +33,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "<22><><EFBFBD><EFBFBD>(&A)"
END

View File

@@ -1,44 +1,44 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/lang/lt-LT.rc
* PURPOSE: Lithuanian Language File
* TRANSLATOR: Vytis "CMan" Gird<72>ijauskas (cman@cman.us)
* DATE: 2007-09-23
*/
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Simboli<6C> lentel<65>"
FONT 8,"MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "<22>riftas:", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Pagalba", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Simboliai kopijavimui:", IDC_STATIC, 6, 188, 72, 9
EDITTEXT IDC_TEXTBOX, 81, 186, 107, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "Parinkti", IDC_SELECT, 194, 186, 44, 13
PUSHBUTTON "Kopijuoti", IDC_COPY, 242, 186, 44, 13, WS_DISABLED
//AUTOCHECKBOX "Advanced view", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "Apie simboli<6C> lentel<65>"
FONT 8,"MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Character Map v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "U<>verti", IDOK, 83, 161, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "&Apie..."
END
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/lang/lt-LT.rc
* PURPOSE: Lithuanian Language File
* TRANSLATOR: Vytis "CMan" Gird<72>ijauskas (cman@cman.us)
* DATE: 2007-09-23
*/
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Simboli<6C> lentel<65>"
FONT 8,"MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "<22>riftas:", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Pagalba", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Simboliai kopijavimui:", IDC_STATIC, 6, 188, 72, 9
EDITTEXT IDC_TEXTBOX, 81, 186, 107, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "Parinkti", IDC_SELECT, 194, 186, 44, 13
PUSHBUTTON "Kopijuoti", IDC_COPY, 242, 186, 44, 13, WS_DISABLED
//AUTOCHECKBOX "Advanced view", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "Apie simboli<6C> lentel<65>"
FONT 8,"MS Shell Dlg",0,0
STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Simboli<EFBFBD> lentel<65> v0.1\n(C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "U<>verti", IDOK, 83, 161, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&Apie..."
END

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "Over..."
END

View File

@@ -30,6 +30,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "Dette programmet er gratis programvare; du kan distribuere det og/eller endre det under betingelsene av GNU General Public License som er utgitt av Free Software Foundation; version 2 av lisensen, eller (etter din mening) alle senere versjoner.\r\n\r\nDette programmet er utgitt i h<>p for at det skal kunne brukes, men DET ER INGEN GARANTIER; uten heller forutsatt garantier av SALGBARHET eller SIKKETHET FOR EN ENKELTHET FORM<52>L. Se p<> GNU General Public Lisensen for mere detaljer.\r\n\r\nDu skal ha motatt en kopi av GNU General Public Lisensen sammen med denne programmet; hvis du ikke har motatt det, skriv til Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "Dette programmet er gratis programvare; du kan distribuere det og/eller endre det under betingelsene av GNU General Public License som er utgitt av Free Software Foundation; version 2 av lisensen, eller (etter din mening) alle senere versjoner.\r\n\r\nDette programmet er utgitt i h<>p for at det skal kunne brukes, men DET ER INGEN GARANTIER; uten heller forutsatt garantier av SALGBARHET eller SIKKETHET FOR EN ENKELTHET FORM<52>L. Se p<> GNU General Public Lisensen for mere detaljer.\r\n\r\nDu skal ha motatt en kopi av GNU General Public Lisensen sammen med denne programmet; hvis du ikke har motatt det, skriv til Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "O&m..."
END

View File

@@ -3,6 +3,7 @@
* xxrogers@users.sourceforge.net
* https://sourceforge.net/projects/reactospl
*/
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
@@ -35,6 +36,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "Niniejszy program jest wolnym oprogramowaniem; mo<6D>esz go rozprowadza<7A> dalej i/lub modyfikowa<77> na warunkach Powszechnej Licencji Publicznej GNU, wydanej przez Fundacj<63> Wolnego Oprogramowania - wed<65>ug wersji 2 tej Licencji lub (wed<65>ug twojego wyboru) kt<6B>rej<65> z p<><70>niejszych wersji.\r\n\r\nNiniejszy program rozpowszechniany jest z nadziej<65>, i<> b<>dzie on u<>yteczny - jednak BEZ JAKIEJKOLWIEK GWARANCJI, nawet domy<6D>lnej gwarancji PRZYDATNO<4E>CI HANDLOWEJ albo PRZYDATNO<4E>CI DO OKRE<52>LONYCH ZASTOSOWA<57>. W celu uzyskania bli<6C>szych informacji si<73>gnij do Powszechnej Licencji Publicznej GNU.\r\n\r\nZ pewno<6E>ci<63> wraz z niniejszym programem otrzyma<6D>e<EFBFBD> te<74> egzemplarz Powszechnej Licencji Publicznej GNU (GNU General Public License); je<6A>li nie - napisz do Free Software Foundation, Inc., 59 Temple Place, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_LICENSE "Niniejszy program jest wolnym oprogramowaniem; mo<6D>esz go rozprowadza<7A> dalej i/lub modyfikowa<77> na warunkach Powszechnej Licencji Publicznej GNU, wydanej przez Fundacj<63> Wolnego Oprogramowania - wed<65>ug wersji 2 tej Licencji lub (wed<65>ug twojego wyboru) kt<6B>rej<65> z p<><70>niejszych wersji.\r\n\r\nNiniejszy program rozpowszechniany jest z nadziej<65>, i<> b<>dzie on u<>yteczny - jednak BEZ JAKIEJKOLWIEK GWARANCJI, nawet domy<6D>lnej gwarancji PRZYDATNO<4E>CI HANDLOWEJ albo PRZYDATNO<4E>CI DO OKRE<52>LONYCH ZASTOSOWA<57>. W celu uzyskania bli<6C>szych informacji si<73>gnij do Powszechnej Licencji Publicznej GNU.\r\n\r\nZ pewno<6E>ci<63> wraz z niniejszym programem otrzyma<6D>e<EFBFBD> te<74> egzemplarz Powszechnej Licencji Publicznej GNU (GNU General Public License); je<6A>li nie - napisz do Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&O programie..."
END

View File

@@ -32,6 +32,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> (<28><><EFBFBD>) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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><EFBFBD><EFBFBD><EFBFBD>; <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.\r\n\r\n<><6E><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><>, <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU.\r\n\r\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU, <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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><EFBFBD><EFBFBD><EFBFBD> (Free Software Foundation, Inc.), 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> (<28><><EFBFBD>) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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><EFBFBD><EFBFBD><EFBFBD>; <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.\r\n\r\n<><6E><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><>, <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU.\r\n\r\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU, <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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><EFBFBD><EFBFBD><EFBFBD> (Free Software Foundation, Inc.), 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&<26> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
END

View File

@@ -39,6 +39,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE, "Tento program je vo<76>n<EFBFBD> softv<74>r; m<><6D>ete ho <20><>ri<72> a/alebo modifikova<76> pod<6F>a podmienok GNU V<>eobecnej verejnej licencie (GNU General Public License) ako bola zverejnen<65> nad<61>ciou Free Software Foundation; bu<62> verzie 2 tejto licencie, alebo (pod<6F>a V<><56>ho uv<75><76>enia) niektorej neskor<6F>ej verzie.\r\n\r\nTento program je distribuovan<61> v n<>deji, <20>e bude u<>ito<74>n<EFBFBD>, av<61>ak BEZ AKEJKO<4B>VEK Z<>RUKY; rovnako bez z<>ruky PREDAJNOSTI alebo VHODNOSTI PRE UR<55>IT<49> <20><>EL. Pre viac detailov si pozrite GNU V<>eobecn<63> verejn<6A> licenciu (GNU General Public License).\r\n\r\nK<6E>piu V<>eobecnej verejnej licencie GNU ste mali dosta<74> spolu s t<>mto programom; ak nie, nap<61><70>te si o <20>u na Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE, "Tento program je vo<76>n<EFBFBD> softv<74>r; m<><6D>ete ho <20><>ri<72> a/alebo modifikova<76> pod<6F>a podmienok GNU V<>eobecnej verejnej licencie (GNU General Public License) ako bola zverejnen<65> nad<61>ciou Free Software Foundation; bu<62> verzie 2 tejto licencie, alebo (pod<6F>a V<><56>ho uv<75><76>enia) niektorej neskor<6F>ej verzie.\r\n\r\nTento program je distribuovan<61> v n<>deji, <20>e bude u<>ito<74>n<EFBFBD>, av<61>ak BEZ AKEJKO<4B>VEK Z<>RUKY; rovnako bez z<>ruky PREDAJNOSTI alebo VHODNOSTI PRE UR<55>IT<49> <20><>EL. Pre viac detailov si pozrite GNU V<>eobecn<63> verejn<6A> licenciu (GNU General Public License).\r\n\r\nK<6E>piu V<>eobecnej verejnej licencie GNU ste mali dosta<74> spolu s t<>mto programom; ak nie, nap<61><70>te si o <20>u na Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "<22>&o je Mapa znakov"
END

View File

@@ -3,7 +3,7 @@
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/lang/uk-UA.rc
* PURPOSE: Ukraianian Language File for charmap
* TRANSLATOR: Artem Reznikov
* TRANSLATOR: Artem Reznikov & Sakara Yevhen
*/
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
@@ -38,6 +38,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <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><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><> (<28><><EFBFBD>) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> ³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> GNU, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2 <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\r\n\r\n<><6E> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><>䳿 <20><> <20><>, <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2> <20><><EFBFBD><EFBFBD>Ҳ <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> ³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> GNU.\r\n\r\n<><6E><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> GNU. <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Free Software Foundation, Inc.), 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&<26><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
END

View File

@@ -1,165 +1,165 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/lrgcell.c
* PURPOSE: large cell window implementation
* COPYRIGHT: Copyright 2007 Ged Murphy <gedmurphy@reactos.org>
*
*/
#include <precomp.h>
static
HFONT
SetLrgFont(PMAP infoPtr)
{
LOGFONTW lf;
HFONT hFont = NULL;
HDC hdc;
HWND hCombo;
LPWSTR lpFontName;
INT Len;
hCombo = GetDlgItem(infoPtr->hParent,
IDC_FONTCOMBO);
Len = GetWindowTextLengthW(hCombo);
if (Len != 0)
{
lpFontName = HeapAlloc(GetProcessHeap(),
0,
(Len + 1) * sizeof(WCHAR));
if (lpFontName)
{
SendMessageW(hCombo,
WM_GETTEXT,
31,
(LPARAM)lpFontName);
ZeroMemory(&lf,
sizeof(lf));
hdc = GetDC(infoPtr->hLrgWnd);
lf.lfHeight = GetDeviceCaps(hdc,
LOGPIXELSY) / 2;
ReleaseDC(infoPtr->hLrgWnd,
hdc);
lf.lfCharSet = DEFAULT_CHARSET;
wcscpy(lf.lfFaceName,
lpFontName);
hFont = CreateFontIndirectW(&lf);
HeapFree(GetProcessHeap(),
0,
lpFontName);
}
}
return hFont;
}
LRESULT CALLBACK
LrgCellWndProc(HWND hwnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam)
{
PMAP infoPtr;
LRESULT Ret = 0;
static INT cxClient, cyClient;
static RECT rc;
static HFONT hFont = NULL;
infoPtr = (PMAP)GetWindowLongPtrW(hwnd,
GWLP_USERDATA);
if (infoPtr == NULL && uMsg != WM_CREATE)
{
goto HandleDefaultMessage;
}
switch (uMsg)
{
case WM_CREATE:
{
infoPtr = (PMAP)(((LPCREATESTRUCTW)lParam)->lpCreateParams);
SetWindowLongPtrW(hwnd,
GWLP_USERDATA,
(LONG_PTR)infoPtr);
hFont = SetLrgFont(infoPtr);
break;
}
case WM_SIZE:
{
cxClient = LOWORD(lParam);
cyClient = HIWORD(lParam);
rc.left = 0;
rc.top = 0;
rc.right = cxClient;
rc.bottom = cyClient;
break;
}
case WM_PAINT:
{
PAINTSTRUCT ps;
HDC hdc;
HFONT hOldFont;
hdc = BeginPaint(hwnd,
&ps);
Rectangle(hdc,
0,
0,
cxClient,
cyClient);
hOldFont = SelectObject(hdc, hFont);
DrawTextW(hdc,
&infoPtr->pActiveCell->ch,
1,
&rc,
DT_CENTER | DT_VCENTER | DT_SINGLELINE);
SelectObject(hdc, hOldFont);
EndPaint(hwnd,
&ps);
break;
}
case WM_DESTROY:
{
DeleteObject(hFont);
break;
}
default:
{
HandleDefaultMessage:
Ret = DefWindowProcW(hwnd,
uMsg,
wParam,
lParam);
break;
}
}
return Ret;
}
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/lrgcell.c
* PURPOSE: large cell window implementation
* COPYRIGHT: Copyright 2007 Ged Murphy <gedmurphy@reactos.org>
*
*/
#include <precomp.h>
static
HFONT
SetLrgFont(PMAP infoPtr)
{
LOGFONTW lf;
HFONT hFont = NULL;
HDC hdc;
HWND hCombo;
LPWSTR lpFontName;
INT Len;
hCombo = GetDlgItem(infoPtr->hParent,
IDC_FONTCOMBO);
Len = GetWindowTextLengthW(hCombo);
if (Len != 0)
{
lpFontName = HeapAlloc(GetProcessHeap(),
0,
(Len + 1) * sizeof(WCHAR));
if (lpFontName)
{
SendMessageW(hCombo,
WM_GETTEXT,
31,
(LPARAM)lpFontName);
ZeroMemory(&lf,
sizeof(lf));
hdc = GetDC(infoPtr->hLrgWnd);
lf.lfHeight = GetDeviceCaps(hdc,
LOGPIXELSY) / 2;
ReleaseDC(infoPtr->hLrgWnd,
hdc);
lf.lfCharSet = DEFAULT_CHARSET;
wcscpy(lf.lfFaceName,
lpFontName);
hFont = CreateFontIndirectW(&lf);
HeapFree(GetProcessHeap(),
0,
lpFontName);
}
}
return hFont;
}
LRESULT CALLBACK
LrgCellWndProc(HWND hwnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam)
{
PMAP infoPtr;
LRESULT Ret = 0;
static INT cxClient, cyClient;
static RECT rc;
static HFONT hFont = NULL;
infoPtr = (PMAP)GetWindowLongPtrW(hwnd,
GWLP_USERDATA);
if (infoPtr == NULL && uMsg != WM_CREATE)
{
goto HandleDefaultMessage;
}
switch (uMsg)
{
case WM_CREATE:
{
infoPtr = (PMAP)(((LPCREATESTRUCTW)lParam)->lpCreateParams);
SetWindowLongPtrW(hwnd,
GWLP_USERDATA,
(LONG_PTR)infoPtr);
hFont = SetLrgFont(infoPtr);
break;
}
case WM_SIZE:
{
cxClient = LOWORD(lParam);
cyClient = HIWORD(lParam);
rc.left = 0;
rc.top = 0;
rc.right = cxClient;
rc.bottom = cyClient;
break;
}
case WM_PAINT:
{
PAINTSTRUCT ps;
HDC hdc;
HFONT hOldFont;
hdc = BeginPaint(hwnd,
&ps);
Rectangle(hdc,
0,
0,
cxClient,
cyClient);
hOldFont = SelectObject(hdc, hFont);
DrawTextW(hdc,
&infoPtr->pActiveCell->ch,
1,
&rc,
DT_CENTER | DT_VCENTER | DT_SINGLELINE);
SelectObject(hdc, hOldFont);
EndPaint(hwnd,
&ps);
break;
}
case WM_DESTROY:
{
DeleteObject(hFont);
break;
}
default:
{
HandleDefaultMessage:
Ret = DefWindowProcW(hwnd,
uMsg,
wParam,
lParam);
break;
}
}
return Ret;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,57 +1,57 @@
#ifndef __CHARMAP_PRECOMP_H
#define __CHARMAP_PRECOMP_H
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <commctrl.h>
#include "resource.h"
#define XCELLS 20
#define YCELLS 10
#define XLARGE 45
#define YLARGE 25
#define FM_SETFONT (WM_USER + 1)
#define FM_GETCHAR (WM_USER + 2)
#define FM_SETCHAR (WM_USER + 3)
extern HINSTANCE hInstance;
typedef struct _CELL
{
RECT CellExt;
RECT CellInt;
BOOL bActive;
BOOL bLarge;
WCHAR ch;
} CELL, *PCELL;
typedef struct _MAP
{
HWND hMapWnd;
HWND hParent;
HWND hLrgWnd;
SIZE ClientSize;
SIZE CellSize;
CELL Cells[YCELLS][XCELLS];
PCELL pActiveCell;
HFONT hFont;
LOGFONTW CurrentFont;
INT iYStart;
} MAP, *PMAP;
typedef struct {
NMHDR hdr;
WCHAR ch;
} MAPNOTIFY, *LPMAPNOTIFY;
LRESULT CALLBACK LrgCellWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
VOID ShowAboutDlg(HWND hWndParent);
BOOL RegisterMapClasses(HINSTANCE hInstance);
VOID UnregisterMapClasses(HINSTANCE hInstance);
#endif /* __CHARMAP_PRECOMP_H */
#ifndef __CHARMAP_PRECOMP_H
#define __CHARMAP_PRECOMP_H
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <commctrl.h>
#include "resource.h"
#define XCELLS 20
#define YCELLS 10
#define XLARGE 45
#define YLARGE 25
#define FM_SETFONT (WM_USER + 1)
#define FM_GETCHAR (WM_USER + 2)
#define FM_SETCHAR (WM_USER + 3)
extern HINSTANCE hInstance;
typedef struct _CELL
{
RECT CellExt;
RECT CellInt;
BOOL bActive;
BOOL bLarge;
WCHAR ch;
} CELL, *PCELL;
typedef struct _MAP
{
HWND hMapWnd;
HWND hParent;
HWND hLrgWnd;
SIZE ClientSize;
SIZE CellSize;
CELL Cells[YCELLS][XCELLS];
PCELL pActiveCell;
HFONT hFont;
LOGFONTW CurrentFont;
INT iYStart;
} MAP, *PMAP;
typedef struct {
NMHDR hdr;
WCHAR ch;
} MAPNOTIFY, *LPMAPNOTIFY;
LRESULT CALLBACK LrgCellWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
VOID ShowAboutDlg(HWND hWndParent);
BOOL RegisterMapClasses(HINSTANCE hInstance);
VOID UnregisterMapClasses(HINSTANCE hInstance);
#endif /* __CHARMAP_PRECOMP_H */

View File

@@ -1,19 +1,19 @@
#define IDC_STATIC -1
#define IDI_ICON 100
#define IDD_CHARMAP 200
#define IDD_ABOUTBOX 201
#define IDC_FONTCOMBO 1001
#define IDC_CMHELP 1002
#define IDC_FONTMAP 1003
#define IDC_TEXTBOX 1004
#define IDC_SELECT 1005
#define IDC_COPY 1006
#define IDC_ADVVIEW 1007
#define IDC_DISPLAY 1008
#define IDC_LICENSE_EDIT 1009
#define IDS_LICENSE 1010
#define IDS_ABOUT 1011
#define IDC_STATIC -1
#define IDI_ICON 100
#define IDD_CHARMAP 200
#define IDD_ABOUTBOX 201
#define IDC_FONTCOMBO 1001
#define IDC_CMHELP 1002
#define IDC_FONTMAP 1003
#define IDC_TEXTBOX 1004
#define IDC_SELECT 1005
#define IDC_COPY 1006
#define IDC_ADVVIEW 1007
#define IDC_DISPLAY 1008
#define IDC_LICENSE_EDIT 1009
#define IDS_LICENSE 1010
#define IDS_ABOUT 1011

View File

@@ -8,19 +8,20 @@ IDI_ICON ICON "res/charmap.ico"
#include "lang/bg-BG.rc"
#include "lang/ca-ES.rc"
#include "lang/cs-CZ.rc"
#include "lang/en-US.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/id-ID.rc"
#include "lang/it-IT.rc"
#include "lang/ja-JP.rc"
#include "lang/ko-KR.rc"
#include "lang/lt-LT.rc"
#include "lang/no-NO.rc"
#include "lang/nl-NL.rc"
#include "lang/no-NO.rc"
#include "lang/pl-PL.rc"
#include "lang/pt-BR.rc"
#include "lang/ru-RU.rc"
#include "lang/sk-SK.rc"
#include "lang/uk-UA.rc"
#include "lang/ru-RU.rc"
#include "lang/el-GR.rc"

View File

@@ -13,9 +13,15 @@
<directory name="hostname">
<xi:include href="hostname/hostname.rbuild" />
</directory>
<directory name="lodctr">
<xi:include href="lodctr/lodctr.rbuild" />
</directory>
<directory name="more">
<xi:include href="more/more.rbuild" />
</directory>
<directory name="reg">
<xi:include href="reg/reg.rbuild" />
</directory>
<directory name="xcopy">
<xi:include href="xcopy/xcopy.rbuild" />
</directory>

View File

@@ -31,10 +31,11 @@ int _tmain(int argc, TCHAR ** argv)
return -1;
}
if (_tcsstr(argv[1], "--winetest") && (argc == 3))
if (_tcsstr(argv[1], "--winetest") && (argc == 3))
{
char psBuffer[128];
char psBuffer2[128];
char *nlptr2;
char cmd[255];
char test[300];
FILE *pPipe;
@@ -60,9 +61,10 @@ int _tmain(int argc, TCHAR ** argv)
{
while(fgets(psBuffer2, 128, pPipe2))
{
char *nlptr2 = strchr(psBuffer2, '\n');
nlptr2 = strchr(psBuffer2, '\n');
if (nlptr2)
*nlptr2 = '\0';
puts(psBuffer2);
OutputDebugStringA(psBuffer2);
}
_pclose(pPipe2);
@@ -72,7 +74,7 @@ int _tmain(int argc, TCHAR ** argv)
_pclose(pPipe);
}
}
else if (_tcsstr(argv[1], "--process") && (argc == 3))
else if (_tcsstr(argv[1], "--process") && (argc == 3))
{
char psBuffer[128];
FILE *pPipe;
@@ -82,6 +84,7 @@ int _tmain(int argc, TCHAR ** argv)
{
while(fgets(psBuffer, 128, pPipe))
{
puts(psBuffer);
OutputDebugStringA(psBuffer);
}
_pclose(pPipe);
@@ -112,6 +115,7 @@ int _tmain(int argc, TCHAR ** argv)
}
offset++;
}
_putts(buf);
OutputDebugString(buf);
HeapFree(GetProcessHeap(), 0, buf);
}

View File

@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="dbgprint" type="win32cui" installbase="system32" installname="dbgprint.exe">
<library>kernel32</library>
<file>dbgprint.c</file>
</module>
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="dbgprint" type="win32cui" installbase="system32" installname="dbgprint.exe">
<library>kernel32</library>
<file>dbgprint.c</file>
</module>

View File

@@ -1,80 +1,125 @@
#include <windows.h>
#include <stdio.h>
#include <tchar.h>
#include "doskey.h"
static VOID
partstrlwr (LPTSTR str)
#define MAX_STRING 2000
TCHAR szStringBuf[MAX_STRING];
LPTSTR pszExeName = _T("cmd.exe");
static VOID SetInsert(DWORD dwFlag)
{
LPTSTR c = str;
while (*c && !_istspace (*c) && *c != _T('='))
{
*c = _totlower (*c);
c++;
}
DWORD dwMode;
HANDLE hConsole = GetStdHandle(STD_INPUT_HANDLE);
GetConsoleMode(hConsole, &dwMode);
dwMode |= ENABLE_EXTENDED_FLAGS;
SetConsoleMode(hConsole, (dwMode & ~ENABLE_INSERT_MODE) | dwFlag);
}
static VOID
PrintAlias (VOID)
static VOID PrintHistory(VOID)
{
LPTSTR Aliases;
LPTSTR ptr;
DWORD len;
DWORD Length = GetConsoleCommandHistoryLength(pszExeName);
DWORD BufferLength;
PBYTE HistBuf;
TCHAR *Hist;
TCHAR *HistEnd;
len = GetConsoleAliasesLength(_T("cmd.exe"));
if (len <= 0)
return;
/* On Windows, the ANSI version of GetConsoleCommandHistory requires
* a buffer twice as large as the actual history length. */
BufferLength = Length * (sizeof(WCHAR) / sizeof(TCHAR)) * sizeof(BYTE);
/* allocate memory for an extra \0 char to make parsing easier */
ptr = HeapAlloc(GetProcessHeap(), 0, (len + sizeof(TCHAR)));
if (!ptr)
return;
HistBuf = HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
BufferLength);
if (!HistBuf) return;
Hist = (TCHAR *)HistBuf;
HistEnd = (TCHAR *)&HistBuf[Length];
Aliases = ptr;
if (GetConsoleCommandHistory(Hist, BufferLength, pszExeName))
for (; Hist < HistEnd; Hist += _tcslen(Hist) + 1)
_tprintf(_T("%s\n"), Hist);
ZeroMemory(Aliases, len + sizeof(TCHAR));
if (GetConsoleAliases(Aliases, len, _T("cmd.exe")) != 0)
{
while (*Aliases != '\0')
{
_tprintf(_T("%s\n"), Aliases);
Aliases = Aliases + lstrlen(Aliases);
Aliases++;
}
}
HeapFree(GetProcessHeap(), 0 , ptr);
HeapFree(GetProcessHeap(), 0, HistBuf);
}
INT SetMacro (LPTSTR param)
static INT SetMacro(LPTSTR definition)
{
LPTSTR ptr;
TCHAR *name, *nameend, *text, temp;
while (*param == _T(' '))
param++;
name = definition;
while (*name == _T(' '))
name++;
/* error if no '=' found */
if ((ptr = _tcschr (param, _T('='))) == 0)
return 1;
if ((nameend = _tcschr(name, _T('='))) != NULL)
{
text = nameend + 1;
while (*text == _T(' '))
text++;
while (*param == _T(' '))
param++;
while (nameend > name && nameend[-1] == _T(' '))
nameend--;
while (*ptr == _T(' '))
ptr--;
/* Split rest into name and substitute */
temp = *nameend;
*nameend = _T('\0');
/* Don't allow spaces in the name, since such a macro would be unusable */
if (!_tcschr(name, _T(' ')) && AddConsoleAlias(name, text, pszExeName))
return 0;
*nameend = temp;
}
/* Split rest into name and substitute */
*ptr++ = _T('\0');
LoadString(GetModuleHandle(NULL), IDS_INVALID_MACRO_DEF, szStringBuf, MAX_STRING);
_tprintf(szStringBuf, definition);
return 1;
}
partstrlwr (param);
static VOID PrintMacros(LPTSTR pszExeName, LPTSTR Indent)
{
DWORD Length = GetConsoleAliasesLength(pszExeName);
PBYTE AliasBuf;
TCHAR *Alias;
TCHAR *AliasEnd;
_tprintf(_T("%s, %s\n"), ptr, param);
AliasBuf = HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
Length * sizeof(BYTE));
if (!AliasBuf) return;
Alias = (TCHAR *)AliasBuf;
AliasEnd = (TCHAR *)&AliasBuf[Length];
if (ptr[0] == _T('\0'))
AddConsoleAlias(param, NULL, _T("cmd.exe"));
else
AddConsoleAlias(param, ptr, _T("cmd.exe"));
if (GetConsoleAliases(Alias, Length * sizeof(BYTE), pszExeName))
for (; Alias < AliasEnd; Alias += _tcslen(Alias) + 1)
_tprintf(_T("%s%s\n"), Indent, Alias);
return 0;
HeapFree(GetProcessHeap(), 0, AliasBuf);
}
static VOID PrintAllMacros(VOID)
{
DWORD Length = GetConsoleAliasExesLength();
PBYTE ExeNameBuf;
TCHAR *ExeName;
TCHAR *ExeNameEnd;
ExeNameBuf = HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
Length * sizeof(BYTE));
if (!ExeNameBuf) return;
ExeName = (TCHAR *)ExeNameBuf;
ExeNameEnd = (TCHAR *)&ExeNameBuf[Length];
if (GetConsoleAliasExes(ExeName, Length * sizeof(BYTE)))
{
for (; ExeName < ExeNameEnd; ExeName += _tcslen(ExeName) + 1)
{
_tprintf(_T("[%s]\n"), ExeName);
PrintMacros(ExeName, _T(" "));
_tprintf(_T("\n"));
}
}
HeapFree(GetProcessHeap(), 0, ExeNameBuf);
}
static VOID ReadFromFile(LPTSTR param)
@@ -82,57 +127,140 @@ static VOID ReadFromFile(LPTSTR param)
FILE* fp;
TCHAR line[MAX_PATH];
/* Skip the "/macrofile=" prefix */
param += 11;
fp = _tfopen(param, _T("r"));
if (!fp)
{
#ifdef UNICODE
_wperror(param);
#else
perror(param);
#endif
return;
}
while ( _fgetts(line, MAX_PATH, fp) != NULL)
SetMacro(line);
{
/* Remove newline character */
TCHAR *end = &line[_tcslen(line) - 1];
if (*end == _T('\n'))
*end = _T('\0');
if (*line)
SetMacro(line);
}
fclose(fp);
return;
}
int
_tmain (int argc, LPTSTR argv[])
/* Get the start and end of the next command-line argument. */
static BOOL GetArg(TCHAR **pStart, TCHAR **pEnd)
{
if (argc < 2)
return 0;
if (argv[1][0] == '/')
BOOL bInQuotes = FALSE;
TCHAR *p = *pEnd;
p += _tcsspn(p, _T(" \t"));
if (!*p)
return FALSE;
*pStart = p;
do
{
if (_tcsnicmp(argv[1], _T("/macrofile"), 10) == 0)
ReadFromFile(argv[1]);
if (_tcscmp(argv[1], _T("/macros")) == 0)
PrintAlias();
if (!bInQuotes && (*p == _T(' ') || *p == _T('\t')))
break;
bInQuotes ^= (*p++ == _T('"'));
} while (*p);
*pEnd = p;
return TRUE;
}
/* Remove starting and ending quotes from a string, if present */
static LPTSTR RemoveQuotes(LPTSTR str)
{
TCHAR *end;
if (*str == _T('"') && *(end = str + _tcslen(str) - 1) == _T('"'))
{
str++;
*end = _T('\0');
}
else
{
/* Get the full command line using GetCommandLine().
We can't just pass argv[1] here, because then a parameter like "gotoroot=cd \" wouldn't be passed completely. */
TCHAR* szCommandLine = GetCommandLine();
return str;
}
/* Skip the application name */
if(*szCommandLine == '\"')
int
_tmain(VOID)
{
/* Get the full command line using GetCommandLine(). We can't just use argv,
* because then a parameter like "gotoroot=cd \" wouldn't be passed completely. */
TCHAR *pArgStart;
TCHAR *pArgEnd = GetCommandLine();
/* Skip the application name */
GetArg(&pArgStart, &pArgEnd);
while (GetArg(&pArgStart, &pArgEnd))
{
/* NUL-terminate this argument to make processing easier */
TCHAR tmp = *pArgEnd;
*pArgEnd = _T('\0');
if (!_tcscmp(pArgStart, _T("/?")))
{
do
{
szCommandLine++;
}
while(*szCommandLine != '\"');
LoadString(GetModuleHandle(NULL), IDS_HELP, szStringBuf, MAX_STRING);
_tprintf(szStringBuf);
break;
}
else if (!_tcsnicmp(pArgStart, _T("/EXENAME="), 9))
{
pszExeName = RemoveQuotes(pArgStart + 9);
}
else if (!_tcsicmp(pArgStart, _T("/H")) ||
!_tcsicmp(pArgStart, _T("/HISTORY")))
{
PrintHistory();
}
else if (!_tcsnicmp(pArgStart, _T("/LISTSIZE="), 10))
{
SetConsoleNumberOfCommands(_ttoi(pArgStart + 10), pszExeName);
}
else if (!_tcsicmp(pArgStart, _T("/REINSTALL")))
{
ExpungeConsoleCommandHistory(pszExeName);
}
else if (!_tcsicmp(pArgStart, _T("/INSERT")))
{
SetInsert(ENABLE_INSERT_MODE);
}
else if (!_tcsicmp(pArgStart, _T("/OVERSTRIKE")))
{
SetInsert(0);
}
else if (!_tcsicmp(pArgStart, _T("/M")) ||
!_tcsicmp(pArgStart, _T("/MACROS")))
{
PrintMacros(pszExeName, _T(""));
}
else if (!_tcsnicmp(pArgStart, _T("/M:"), 3) ||
!_tcsnicmp(pArgStart, _T("/MACROS:"), 8))
{
LPTSTR exe = RemoveQuotes(_tcschr(pArgStart, _T(':')) + 1);
if (!_tcsicmp(exe, _T("ALL")))
PrintAllMacros();
else
PrintMacros(exe, _T(""));
}
else if (!_tcsnicmp(pArgStart, _T("/MACROFILE="), 11))
{
ReadFromFile(RemoveQuotes(pArgStart + 11));
}
else
{
do
{
szCommandLine++;
}
while(*szCommandLine != ' ');
/* This is the beginning of a macro definition. It includes
* the entire remainder of the line, so first put back the
* character that we replaced with NUL. */
*pArgEnd = tmp;
return SetMacro(pArgStart);
}
/* Skip the trailing quotation mark/whitespace and pass the command line to SetMacro */
SetMacro(++szCommandLine);
if (!tmp) break;
pArgEnd++;
}
return 0;

View File

@@ -0,0 +1,67 @@
#define IDS_HELP 0
#define IDS_INVALID_MACRO_DEF 1
#ifndef RC_INVOKED
#ifdef UNICODE
#define TNAME(x) x##W
#else
#define TNAME(x) x##A
#endif
/* Missing from include/psdk/wincon.h */
#ifndef ENABLE_INSERT_MODE
#define ENABLE_INSERT_MODE 0x20
#endif
#ifndef ENABLE_EXTENDED_FLAGS
#define ENABLE_EXTENDED_FLAGS 0x80
#endif
/* Undocumented APIs */
#ifndef AddConsoleAlias
BOOL WINAPI AddConsoleAliasA(LPSTR, LPSTR, LPSTR);
BOOL WINAPI AddConsoleAliasW(LPWSTR, LPWSTR, LPWSTR);
#define AddConsoleAlias TNAME(AddConsoleAlias)
#endif
#ifndef ExpungeConsoleCommandHistory
BOOL WINAPI ExpungeConsoleCommandHistoryA(LPSTR);
BOOL WINAPI ExpungeConsoleCommandHistoryW(LPWSTR);
#define ExpungeConsoleCommandHistory TNAME(ExpungeConsoleCommandHistory)
#endif
#ifndef GetConsoleAliases
DWORD WINAPI GetConsoleAliasesA(LPSTR, DWORD, LPSTR);
DWORD WINAPI GetConsoleAliasesW(LPWSTR, DWORD, LPWSTR);
#define GetConsoleAliases TNAME(GetConsoleAliases)
#endif
#ifndef GetConsoleAliasesLength
DWORD WINAPI GetConsoleAliasesLengthA(LPSTR);
DWORD WINAPI GetConsoleAliasesLengthW(LPWSTR);
#define GetConsoleAliasesLength TNAME(GetConsoleAliasesLength)
#endif
#ifndef GetConsoleAliasExes
DWORD WINAPI GetConsoleAliasExesA(LPSTR, DWORD);
DWORD WINAPI GetConsoleAliasExesW(LPWSTR, DWORD);
#define GetConsoleAliasExes TNAME(GetConsoleAliasExes)
#endif
#ifndef GetConsoleAliasExesLength
DWORD WINAPI GetConsoleAliasExesLengthA(VOID);
DWORD WINAPI GetConsoleAliasExesLengthW(VOID);
#define GetConsoleAliasExesLength TNAME(GetConsoleAliasExesLength)
#endif
#ifndef GetConsoleCommandHistory
DWORD WINAPI GetConsoleCommandHistoryA(LPSTR, DWORD, LPSTR);
DWORD WINAPI GetConsoleCommandHistoryW(LPWSTR, DWORD, LPWSTR);
#define GetConsoleCommandHistory TNAME(GetConsoleCommandHistory)
#endif
#ifndef GetConsoleCommandHistoryLength
DWORD WINAPI GetConsoleCommandHistoryLengthA(LPSTR);
DWORD WINAPI GetConsoleCommandHistoryLengthW(LPWSTR);
#define GetConsoleCommandHistoryLength TNAME(GetConsoleCommandHistoryLength)
#endif
#ifndef SetConsoleNumberOfCommands
BOOL WINAPI SetConsoleNumberOfCommandsA(DWORD, LPSTR);
BOOL WINAPI SetConsoleNumberOfCommandsW(DWORD, LPWSTR);
#define SetConsoleNumberOfCommands TNAME(SetConsoleNumberOfCommands)
#endif
#endif /* RC_INVOKED */

View File

@@ -2,6 +2,7 @@
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="doskey" type="win32cui" installbase="system32" installname="doskey.exe" unicode="yes">
<library>kernel32</library>
<library>user32</library>
<file>doskey.c</file>
<file>doskey.rc</file>
</module>

View File

@@ -1,7 +1,9 @@
/* $Id: find.rc 28350 2007-08-15 14:46:36Z fireball $ */
#define REACTOS_STR_FILE_DESCRIPTION "W32 doskey command\0"
#define REACTOS_STR_INTERNAL_NAME "doskey\0"
#define REACTOS_STR_ORIGINAL_FILENAME "doskey.exe\0"
#include <reactos/version.rc>
#include <windows.h>
#include "doskey.h"
#include "lang/en-US.rc"
#include "lang/uk-UA.rc"

View File

@@ -0,0 +1,27 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE DISCARDABLE
BEGIN
IDS_HELP, "Manages command-line editing settings, history, and macros.\n\
\n\
DOSKEY [/INSERT | /OVERSTRIKE] [/EXENAME=exe] [/HISTORY] [/LISTSIZE=size]\n\
[/REINSTALL] [/MACROS[:exe | :ALL]] [/MACROFILE=file] [macroname=[text]]\n\
\n\
/INSERT Enables insert mode.\n\
/OVERSTRIKE Disables insert mode.\n\
/EXENAME=exename Sets the name of the program to view/change history\n\
and macros for. The default is cmd.exe.\n\
/HISTORY Displays the command history.\n\
/LISTSIZE=size Sets the number of commands per history buffer.\n\
/REINSTALL Clears the command history.\n\
/MACROS Displays macro definitions.\n\
/MACROS:exename Displays macro definitions for a specific program.\n\
/MACROS:ALL Displays macro definitions for all programs.\n\
/MACROFILE=filename Loads macro definitions from a file.\n\
macroname Specifies the name of a macro to create.\n\
text Specifies the replacement text for the macro.\n"
IDS_INVALID_MACRO_DEF, "Invalid macro definition: %s\n"
END

View File

@@ -0,0 +1,35 @@
/*
* PROJECT: ReactOS DOSKey
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/cmdutils/doskey/lang/uk-UA.rc
* PURPOSE: Ukraianian Language File for ReactOS DOSKey
* TRANSLATOR: Sakara Yevhen
*/
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_HELP, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
\n\
DOSKEY [/INSERT | /OVERSTRIKE] [/EXENAME=exe] [/HISTORY] [/LISTSIZE=size]\n\
[/REINSTALL] [/MACROS[:exe | :ALL]] [/MACROFILE=file] [macroname=[text]]\n\
\n\
/INSERT <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/OVERSTRIKE <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/EXENAME=exename <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>'<27> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
<20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> cmd.exe.\n\
/HISTORY ³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/LISTSIZE=size <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/REINSTALL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/MACROS ³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/MACROS:exename ³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/MACROS:ALL ³<><C2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/MACROFILE=filename <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>.\n\
macroname <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>'<27> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
text <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
IDS_INVALID_MACRO_DEF, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %s\n"
END

View File

@@ -15,9 +15,9 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

View File

@@ -1,17 +1,17 @@
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: Visualizza le linee di un file che contengono un stringa.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"stringa\" [ file... ]\n\
/C Conta il numero di linee che contengono la stringa\n\
/I Ignora maiuscole/minuscole\n\
/N Numera le linee visualizzate a partire da 1\n\
/V Visualizza le linee che non contengono la stringa"
IDS_NO_SUCH_FILE, "FIND: %s: File non trovato\n"
IDS_CANNOT_OPEN, "FIND: %s: Impossibile aprire il file\n"
END
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: Visualizza le linee di un file che contengono un stringa.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"stringa\" [ file... ]\n\
/C Conta il numero di linee che contengono la stringa\n\
/I Ignora maiuscole/minuscole\n\
/N Numera le linee visualizzate a partire da 1\n\
/V Visualizza le linee che non contengono la stringa"
IDS_NO_SUCH_FILE, "FIND: %s: File non trovato\n"
IDS_CANNOT_OPEN, "FIND: %s: Impossibile aprire il file\n"
END

View File

@@ -1,26 +1,26 @@
/*
* PROJECT: ReactOS find command
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/cmdutils/find/lang/lt-LT.rc
* PURPOSE: Lithuanian Language File
* TRANSLATOR: Vytis "CMan" Gird<72>ijauskas (cman@cman.us)
* DATE: 2007-09-23
*/
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: Spausdina visas bylos eilutes, kuriose yra ie<69>komas tekstas.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"tekstas\" [ byla... ]\n\
/C Skai<61>iuoti eilutes, kuriose yra ie<69>komas tekstas\n\
/I Ignoruoti raid<69>i<EFBFBD> dyd<79>\n\
/N Numeruoti vaizduojamas eilutes, pradedant nuo 1\n\
/V Spausdinti eilutes, kuriose n<>ra ie<69>komo teksto"
IDS_NO_SUCH_FILE, "FIND: %s: Tokios bylos n<>ra\n"
IDS_CANNOT_OPEN, "FIND: %s: Nepavyko atverti bylos\n"
END
/*
* PROJECT: ReactOS find command
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/cmdutils/find/lang/lt-LT.rc
* PURPOSE: Lithuanian Language File
* TRANSLATOR: Vytis "CMan" Gird<72>ijauskas (cman@cman.us)
* DATE: 2007-09-23
*/
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: Spausdina visas bylos eilutes, kuriose yra ie<69>komas tekstas.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"tekstas\" [ byla... ]\n\
/C Skai<61>iuoti eilutes, kuriose yra ie<69>komas tekstas\n\
/I Ignoruoti raid<69>i<EFBFBD> dyd<79>\n\
/N Numeruoti vaizduojamas eilutes, pradedant nuo 1\n\
/V Spausdinti eilutes, kuriose n<>ra ie<69>komo teksto"
IDS_NO_SUCH_FILE, "FIND: %s: Tokios bylos n<>ra\n"
IDS_CANNOT_OPEN, "FIND: %s: Nepavyko atverti bylos\n"
END

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: Skriver ut alla rader i en fil som inneh<65>ller en str<74>ng.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"str<74>ng\" [ fil... ]\n\
/C R<>kna nummren av linjer som inneh<65>ller en str<74>ngen\n\
/I Ignorera skiftl<74>ge\n\
/N Antal visade rader, b<>rjar p<> 1\n\
/V Skriver ut rader som inte inneh<65>ller str<74>ngen"
IDS_NO_SUCH_FILE, "FIND: %s: Ingen sorts fil\n"
IDS_CANNOT_OPEN, "FIND: %s: Kan inte <20>ppna filen\n"
END

View File

@@ -1,3 +1,3 @@
#define IDS_USAGE 1000
#define IDS_NO_SUCH_FILE 1001
#define IDS_CANNOT_OPEN 1002
#define IDS_USAGE 1000
#define IDS_NO_SUCH_FILE 1001
#define IDS_CANNOT_OPEN 1002

View File

@@ -16,4 +16,5 @@
#include "lang/pt-BR.rc"
#include "lang/ru-RU.rc"
#include "lang/sk-SK.rc"
#include "lang/sv-SE.rc"
#include "lang/uk-UA.rc"

View File

@@ -12,9 +12,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/* $Id$
*

View File

@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="hostname" type="win32cui" installbase="system32" installname="hostname.exe" allowwarnings="true">
<module name="hostname" type="win32cui" installbase="system32" installname="hostname.exe">
<library>kernel32</library>
<file>hostname.c</file>
<file>hostname.rc</file>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="lodctr" type="win32cui" installbase="system32" installname="lodctr.exe" unicode="yes">
<library>kernel32</library>
<library>loadperf</library>
<library>wine</library>
<file>lodctr_main.c</file>
</module>

View File

@@ -0,0 +1,25 @@
/*
* Copyright (C) 2009 Andrey Turkin
*
* This library 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.1 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 St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windows.h>
#include <loadperf.h>
int wmain(int argc, WCHAR *argv[])
{
return LoadPerfCounterTextStringsW(GetCommandLineW(), FALSE);
}

View File

@@ -1,15 +1,15 @@
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Visualizza dati una schermata per volta.\n\n\
MORE < [Drive:][Path]File\n\
Comando | MORE \n\
MORE [Drive:][Path]File\n\n\
[Drive:][Path]File Il file da visualizzare.\n\
Comando\t\t Il comando di cui l'output dev'essere visualizzato.\n\n\
Alla richiesta ""-- Continua --"" premere un tasto qualsiasi per visualizzare la pagina successiva.\n"
IDS_CONTINUE, " -- Continua (100%) -- "
IDS_FILE_ACCESS, "Impossibile accedere al file %s."
END
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Visualizza dati una schermata per volta.\n\n\
MORE < [Drive:][Path]File\n\
Comando | MORE \n\
MORE [Drive:][Path]File\n\n\
[Drive:][Path]File Il file da visualizzare.\n\
Comando\t\t Il comando di cui l'output dev'essere visualizzato.\n\n\
Alla richiesta ""-- Continua --"" premere un tasto qualsiasi per visualizzare la pagina successiva.\n"
IDS_CONTINUE, " -- Continua (100%) -- "
IDS_FILE_ACCESS, "Impossibile accedere al file %s."
END

View File

@@ -1,27 +1,27 @@
/*
* PROJECT: ReactOS more command
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/cmdutils/more/lang/lt-LT.rc
* PURPOSE: Lithuanian Language File
* TRANSLATOR: Vytis "CMan" Gird<72>ijauskas (cman@cman.us)
* DATE: 2007-09-23
*/
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Atvaizduoja duomenis puslapiais.\n\n\
MORE < [Diskas:][Kelias iki bylos]Bylos vardas\n\
Komanda | MORE \n\
MORE [Diskas:][Kelias iki bylos]Bylos vardas\n\n\
[Diskas:][Kelias iki bylos]Bylos vardas Byla, kurios turinys turi b<>ti\n\
atvaizduotas.\n\
Komanda Komanda, kurios rezultatas turi\n\
b<>ti atvaizduotas.\n\n\
Pasirod<6F>ius raginimui ""-- Toliau --"" spauskite bet kur<75> klavi<76><69>, kad\n\
pamatytum<75>te sekant<6E> puslap<61>.\n"
IDS_CONTINUE, " -- Toliau (100%) -- "
IDS_FILE_ACCESS, "Nepavyko atverti bylos %s."
END
/*
* PROJECT: ReactOS more command
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/cmdutils/more/lang/lt-LT.rc
* PURPOSE: Lithuanian Language File
* TRANSLATOR: Vytis "CMan" Gird<72>ijauskas (cman@cman.us)
* DATE: 2007-09-23
*/
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Atvaizduoja duomenis puslapiais.\n\n\
MORE < [Diskas:][Kelias iki bylos]Bylos vardas\n\
Komanda | MORE \n\
MORE [Diskas:][Kelias iki bylos]Bylos vardas\n\n\
[Diskas:][Kelias iki bylos]Bylos vardas Byla, kurios turinys turi b<>ti\n\
atvaizduotas.\n\
Komanda Komanda, kurios rezultatas turi\n\
b<>ti atvaizduotas.\n\n\
Pasirod<6F>ius raginimui ""-- Toliau --"" spauskite bet kur<75> klavi<76><69>, kad\n\
pamatytum<75>te sekant<6E> puslap<61>.\n"
IDS_CONTINUE, " -- Toliau (100%) -- "
IDS_FILE_ACCESS, "Nepavyko atverti bylos %s."
END

View File

@@ -114,7 +114,7 @@ int main (int argc, char **argv)
if (argc > 1 && _tcsncmp (argv[1], _T("/?"), 2) == 0)
{
if (LoadString(hApp, IDS_USAGE, buff, 4096 / sizeof(TCHAR)) < 4096 / sizeof(TCHAR))
if (LoadString(hApp, IDS_USAGE, buff, 4096 / sizeof(TCHAR)) < (int)(4096 / sizeof(TCHAR)))
{
CharToOem(buff, buff);
ConOutPuts(buff);
@@ -124,7 +124,7 @@ int main (int argc, char **argv)
return 0;
}
hKeyboard = CreateFile (_T("CONIN$"), GENERIC_READ,
hKeyboard = CreateFile (_T("CONIN$"), GENERIC_READ|GENERIC_WRITE,
0,NULL,OPEN_ALWAYS,0,0);
GetScreenSize(&maxx,&maxy);
@@ -145,7 +145,7 @@ int main (int argc, char **argv)
0);
if (hFile == INVALID_HANDLE_VALUE)
{
if (LoadString(hApp, IDS_FILE_ACCESS, szMsg, sizeof(szMsg) / sizeof(TCHAR)) < sizeof(szMsg) / sizeof(TCHAR))
if (LoadString(hApp, IDS_FILE_ACCESS, szMsg, sizeof(szMsg) / sizeof(TCHAR)) < (int)(sizeof(szMsg) / sizeof(TCHAR)))
{
_stprintf(buff, szMsg, szFullPath);
CharToOem(buff, buff);

View File

@@ -0,0 +1,32 @@
/*
* REG.EXE - Wine-compatible reg program.
* Danish language support
*
* Copyright 2008 Jens Albretsen <jens@albretsen.dk>
*
* This library 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.1 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 St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "reg.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_USAGE, "Syntaksen for dette kommando er:\n\nREG [ ADD | DELETE | QUERY ]\nREG kommando /?\n"
STRING_ADD_USAGE, "REG ADD n<>gle_navn [/v v<>rdi | /ve] [/t type] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE n<>gle_navn [/v v<>rdi | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY n<>gle_navn [/v v<>rdi | /ve] [/s]\n"
}

View File

@@ -0,0 +1,40 @@
/*
* REG.EXE - Wine-compatible reg program.
* German language support
*
* Copyright 2008 Andrej Sinicyn
* Copyright 2009 Michael Stefaniuc
*
* This library 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.1 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 St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "reg.h"
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
STRINGTABLE
{
STRING_USAGE, "Die Syntax von diesem Befehl ist:\n\nREG [ ADD | DELETE | QUERY ]\nREG Befehl /?\n"
STRING_ADD_USAGE, "REG ADD Schlüssel [/v Wert | /ve] [/t Typ] [/s Trenner] [/d Daten] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE Schlüssel [/v Wert | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY Schlüssel [/v Wert | /ve] [/s]\n"
STRING_SUCCESS, "Der Vorgang wurde erfolgreich abgeschlossen\n"
STRING_INVALID_KEY, "Fehler: Ungültiger Schlüssel\n"
STRING_INVALID_CMDLINE, "Fehler: Ungültige Befehlszeilenargumente\n"
STRING_NO_REMOTE, "Fehler: Konnte Schlüssel nicht zum remote Rechner hinzufügen\n"
STRING_CANNOT_FIND, "Fehler: Der angegebene Schlüssel oder Wert konnte nicht gefunden werden\n"
}

View File

@@ -0,0 +1,37 @@
/*
* REG.EXE - Wine-compatible reg program.
* English language support
*
* Copyright 2008 Andrew Riedi
*
* This library 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.1 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 St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "reg.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_USAGE, "The syntax of this command is:\n\nREG [ ADD | DELETE | QUERY ]\nREG command /?\n"
STRING_ADD_USAGE, "REG ADD key_name [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE key_name [/v value_name | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY key_name [/v value_name | /ve] [/s]\n"
STRING_SUCCESS, "The operation completed successfully\n"
STRING_INVALID_KEY, "Error: Invalid key name\n"
STRING_INVALID_CMDLINE, "Error: Invalid command line parameters\n"
STRING_NO_REMOTE, "Error: Unable to add keys to remote machine\n"
STRING_CANNOT_FIND, "Error: The system was unable to find the specified registry key or value\n"
}

View File

@@ -0,0 +1,41 @@
/*
* REG.EXE - Wine-compatible reg program.
* French language support
*
* Copyright 2008 Francois Gouget
* Copyright 2009 Jonathan Ernst
*
* This library 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.1 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 St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "reg.h"
/* UTF-8 */
#pragma code_page(65001)
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE
{
STRING_USAGE, "La syntaxe de cette commande est :\n\nREG [ ADD | DELETE | QUERY ]\nREG commande /?\n"
STRING_ADD_USAGE, "REG ADD nom_de_clé [/v nom_de_valeur | /ve] [/t type] [/s séparateur] [/d données] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nom_de_clé [/v nom_de_valeur | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nom_de_clé [/v nom_de_valeur | /ve] [/s]\n"
STRING_SUCCESS, "L'opération s'est terminée avec succès\n"
STRING_INVALID_KEY, "Erreur : nom de clé non valable\n"
STRING_INVALID_CMDLINE, "Erreur : paramètre de ligne de commande non valable\n"
STRING_NO_REMOTE, "Erreur : impossible d'ajouter des clés à une machine distante\n"
STRING_CANNOT_FIND, "Erreur : le système n'a pas pu trouver la clé ou la valeur de registre spécifiée\n"
}

View File

@@ -0,0 +1,40 @@
/*
* REG.EXE - Wine-compatible reg program.
* Japanese language support
*
* Copyright 2008 Andrew Riedi
*
* This library 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.1 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 St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "reg.h"
/* UTF-8 */
#pragma code_page(65001)
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_USAGE, "このコマンドの構文は次のとおりです:\n\nREG [ ADD | DELETE | QUERY ]\nREG コマンド /?\n"
STRING_ADD_USAGE, "REG ADD キー名 [/v 値名 | /ve] [/t type] [/s セパレータ] [/d データ] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE キー名 [/v 値名 | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY キー名 [/v 値名 | /ve] [/s]\n"
STRING_SUCCESS, "操作は正常に完了しました\n"
STRING_INVALID_KEY, "エラー: キー名が無効です\n"
STRING_INVALID_CMDLINE, "エラー: コマンド ライン引数が無効です\n"
STRING_NO_REMOTE, "エラー: リモート マシンにキーを追加できませんでした\n"
STRING_CANNOT_FIND, "エラー: システムは指定されたキーまたは値を見つけられませんでした\n"
}

View File

@@ -0,0 +1,38 @@
/*
* REG.EXE - Wine-compatible reg program.
* Korean language support
*
* Copyright 2008 Andrew Riedi
* Copyright 2008 YunSong Hwang
*
* This library 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.1 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 St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "reg.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_USAGE, "<22><><EFBFBD>ɾ<EFBFBD> <20><><EFBFBD><EFBFBD>:\n\nREG [ ADD | DELETE | QUERY ]\nREG <20><><EFBFBD>ɾ<EFBFBD> /?\n"
STRING_ADD_USAGE, "REG ADD <20><> [/v <20><> | /ve] [/t <20><><EFBFBD><EFBFBD>] [/s <20>и<EFBFBD><D0B8><EFBFBD>ȣ] [/d <20><><EFBFBD><EFBFBD>Ÿ] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE Ű <20≯<EFBFBD> [/v <20><> | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY Ű <20≯<EFBFBD> [/v <20><>| /ve] [/s]\n"
STRING_SUCCESS, "<22>۾<EFBFBD><DBBE><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>\n"
STRING_INVALID_KEY, "<22><><EFBFBD><EFBFBD>: <20>ùٸ<C3B9><D9B8><EFBFBD> <20><><EFBFBD><EFBFBD> Ű <20≯<EFBFBD>\n"
STRING_INVALID_CMDLINE, "<22><><EFBFBD><EFBFBD>:<3A>ùٸ<C3B9><D9B8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>ɶ<EFBFBD><C9B6><EFBFBD> <20>Ű<EFBFBD><C5B0><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_NO_REMOTE, "<22><><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD> <20>ӽſ<D3BD> Ű<><C5B0> <20><><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>\n"
STRING_CANNOT_FIND, "<22><><EFBFBD><EFBFBD>: <20><> <20>ý<EFBFBD><C3BD>ۿ<EFBFBD><DBBF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> Ű<><C5B0> <20><><EFBFBD><EFBFBD> ã<><C3A3><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>\n"
}

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