Compare commits

..

2556 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
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
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
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
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
Timo Kreuzer
606b5e8b01 syssetup: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=41052
2009-05-23 01:02:23 +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
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
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
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
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
Timo Kreuzer
7413e6dd9e msacm32: fix 64bit build
svn path=/branches/ros-amd64-bringup/; revision=40989
2009-05-19 19:55:46 +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
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
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
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
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
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
c95c888219 Sync to trunk r40610
svn path=/branches/ros-amd64-bringup/; revision=40611
2009-04-20 19:32:39 +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
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
Timo Kreuzer
e49fa4f867 Sync trunk r40500
svn path=/branches/ros-amd64-bringup/; revision=40543
2009-04-16 14:44:19 +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
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
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
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
Samuel Serapion
373313779a Don't disable this module.
svn path=/branches/ros-amd64-bringup/; revision=40151
2009-03-21 10:33:14 +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
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
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
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
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
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
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
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
f17b5540cf fix PSEH build for x86
svn path=/branches/ros-amd64-bringup/; revision=39625
2009-02-16 14:44:05 +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
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
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
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
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
203459bc9e csrsrv: convert to spec
svn path=/branches/ros-amd64-bringup/; revision=39375
2009-02-04 03:41:43 +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
e3af9afd04 sync widl to trunk r39350
svn path=/branches/ros-amd64-bringup/; revision=39367
2009-02-04 01:23:02 +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
886623464d remove duplicate reference to libcntpr
svn path=/branches/ros-amd64-bringup/; revision=39363
2009-02-04 00:04:22 +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
c7f6d8fd09 update ping from trunk
svn path=/branches/ros-amd64-bringup/; revision=39358
2009-02-03 23:37:52 +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
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
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
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
Timo Kreuzer
e7cb518fd7 deconstify target in interlocked intrinsics
svn path=/branches/ros-amd64-bringup/; revision=39338
2009-02-03 16:48:50 +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
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
Timo Kreuzer
58ab969261 implement __iob_func()
svn path=/branches/ros-amd64-bringup/; revision=39331
2009-02-03 15:14:30 +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
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
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
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
Timo Kreuzer
f9df018c07 remove #if 0 hack
svn path=/branches/ros-amd64-bringup/; revision=39306
2009-02-03 11:12:22 +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
Timo Kreuzer
3d3f2049c4 Fix KiInitGdtEntry
svn path=/branches/ros-amd64-bringup/; revision=39278
2009-02-01 22:08:01 +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
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
Samuel Serapion
02f91befe1 Fix typo.
svn path=/branches/ros-amd64-bringup/; revision=39173
2009-01-28 12:08:33 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
9ff809f84c sync to trunk r38300
svn path=/branches/ros-amd64-bringup/; revision=38498
2009-01-01 14:45:53 +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
Timo Kreuzer
4994d3c247 add missing files
svn path=/branches/ros-amd64-bringup/; revision=38493
2008-12-31 16:35:20 +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
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
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
Samuel Serapion
ffe3ffa1cf Correct SYSTEM_PROCESS_INFORMATION
svn path=/branches/ros-amd64-bringup/; revision=38356
2008-12-26 16:18:50 +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
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
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
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
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
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
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
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
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
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
944d1fea6a use setjmp/longjmp from libcntpr
svn path=/branches/ros-amd64-bringup/; revision=38114
2008-12-15 20:38:21 +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
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
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
973a6f3ef5 Patch by encoded: update SHARED_CACHE_MAP
svn path=/branches/ros-amd64-bringup/; revision=38080
2008-12-14 17:59:11 +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
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
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
Timo Kreuzer
8ceeb927f5 Fix a typo
svn path=/branches/ros-amd64-bringup/; revision=38003
2008-12-10 22:32:21 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Timo Kreuzer
b1ceb41863 Implement KeContextToTrapFrame and KeTrapFrameToContext
svn path=/branches/ros-amd64-bringup/; revision=37847
2008-12-04 15:01:02 +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
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
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
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
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
5496 changed files with 596401 additions and 418401 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.

View File

@@ -1,8 +1,8 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
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
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.
@@ -10,7 +10,7 @@
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
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
@@ -55,7 +55,7 @@ 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
@@ -111,8 +111,8 @@ 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
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
@@ -146,7 +146,7 @@ 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
@@ -158,7 +158,7 @@ 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
@@ -216,7 +216,7 @@ 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.
@@ -267,7 +267,7 @@ Library will still fall under Section 6.)
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
@@ -329,7 +329,7 @@ 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
@@ -370,7 +370,7 @@ 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
@@ -422,7 +422,7 @@ 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
@@ -432,7 +432,7 @@ 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
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
@@ -455,8 +455,8 @@ 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
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
@@ -485,7 +485,7 @@ convey the exclusion of warranty; and each file should have at least the
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
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.

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>.

View File

@@ -1,4 +1,4 @@
GNU LESSER GENERAL PUBLIC LICENSE
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
@@ -10,7 +10,7 @@
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
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
@@ -111,7 +111,7 @@ the following:
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.
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the

View File

@@ -112,6 +112,10 @@
# 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.
@@ -148,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
@@ -230,7 +239,7 @@ ifeq ($(HALFVERBOSEECHO),yes)
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)
@@ -238,6 +247,7 @@ ifeq ($(HALFVERBOSEECHO),yes)
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)
@@ -249,6 +259,7 @@ ifeq ($(HALFVERBOSEECHO),yes)
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 =
@@ -268,7 +279,7 @@ else
ECHO_CVTRES =
ECHO_WIDL =
ECHO_BIN2RES =
ECHO_DLLTOOL =
ECHO_IMPLIB =
ECHO_LD =
ECHO_HOSTLD =
ECHO_NM =
@@ -286,6 +297,7 @@ else
ECHO_STRIP =
ECHO_RGENSTAT=
ECHO_DEPENDS =
ECHO_RSP =
endif
# Set host compiler/linker

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,74 +7,39 @@
</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="DBG" value="0">
<define name="DBG">0</define>
</if>
<define name="USE_COMPILER_EXCEPTIONS" />
<if property="KDBG" value="1">
<define name="KDBG">1</define>
<property name="DBG_OR_KDBG" value="true" />
</if>
<property name="WINEBUILD_FLAGS" value="--kill-at"/>
<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>
<property name="WINEBUILD_FLAGS" value="--kill-at"/>
<property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
<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__"/>
<compilerflag>-Wno-attributes</compilerflag>
<compilerflag>-fno-strict-aliasing</compilerflag>
<linkerflag>--strip-debug</linkerflag>
<linkerflag>-static</linkerflag>
<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>
<directory name="media">
<directory name="nls">
@@ -193,6 +158,4 @@
</directory>
</directory>
</directory>
<define name="_USE_32BIT_TIME_T" />
</project>

View File

@@ -86,47 +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" />
<if property="BUILD_MP" value="1">
<xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
<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>
<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>
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
</directory>
<directory name="tools">
<xi:include href="tools/tools.rbuild" />
</directory>
<compilerflag compiler="cxx" compilerset="gcc">-Wno-non-virtual-dtor</compilerflag>
<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>
<compilerflag compilerset="msc">/wd4711</compilerflag>
<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

@@ -16,68 +16,60 @@
<define name="USE_COMPILER_EXCEPTIONS" />
<property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
<property name="PLATFORM" value="PC"/>
<group compilerset="gcc">
<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>-mpreferred-stack-boundary=2</compilerflag>
<compilerflag>-fno-strict-aliasing</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-Wpointer-arith</compilerflag>
<compilerflag>-Wno-multichar</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>
<compilerflag>/Zl</compilerflag>
<compilerflag>/Zi</compilerflag>
<compilerflag>/Wall</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>
<define name="_USE_32BIT_TIME_T" />
<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

@@ -97,4 +97,7 @@
<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

@@ -1,5 +1,7 @@
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
@@ -122,7 +124,7 @@ BEGIN
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 "<EFBFBD>i",IDC_BUTTON_AND,288,64,24,17,BS_CENTER | BS_VCENTER |
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
@@ -151,7 +153,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 "<EFBFBD>napoi",IDC_BUTTON_BACK,184,40,40,17,BS_CENTER |
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
@@ -168,7 +170,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 "<EFBFBD>napoi",IDC_BUTTON_BACK,40,24,40,17,BS_CENTER |
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
@@ -245,7 +247,7 @@ BEGIN
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 "<EFBFBD>napoi",IDC_BUTTON_BACK,"Button",BS_OWNERDRAW |
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,
@@ -349,7 +351,7 @@ BEGIN
POPUP "Vizualizare"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<EFBFBD>tiin<EFBFBD>ific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Ştiințific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", IDM_VIEW_HEX, CHECKED
@@ -381,7 +383,7 @@ BEGIN
POPUP "Vizualizare"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<EFBFBD>tiin<EFBFBD>ific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Ştiințific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hex\tF5", IDM_VIEW_HEX, CHECKED
@@ -414,7 +416,7 @@ BEGIN
POPUP "Vizualizare"
BEGIN
MENUITEM "Standard", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<EFBFBD>tiin<EFBFBD>ific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Ştiințific", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversie", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Grupare cifre", IDM_VIEW_GROUP, CHECKED
@@ -431,7 +433,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "ReactOS Calc este software liber sub licen<EFBFBD>a GNU GPL. \r\n\r\nG<EFBFBD>si<EFBFBD>i o copie a acestei licen<EFBFBD>e aici:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nDe asemenea g<EFBFBD>si<EFBFBD>i traduceri ale aceste licen<EFBFBD>e aici:\r\nhttp://www.gnu.org/licenses/translations.html\r\nTraducerea <EFBFBD>n limba rom<EFBFBD>n<EFBFBD> de Petru Dimitriu."
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
@@ -440,18 +442,18 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "Unghi"
IDS_CONV_AREA "Suprafa<EFBFBD><EFBFBD>"
IDS_CONV_AREA "Suprafață"
IDS_CONV_CONSUMPTION "Consum (motoare)"
IDS_CONV_CURRENCY "Valut<EFBFBD>"
IDS_CONV_CURRENCY "Valută"
IDS_CONV_ENERGY "Energie"
IDS_CONV_LENGTH "Lungimi"
IDS_CONV_POWER "Putere"
IDS_CONV_PRESSURE "Presiune"
IDS_CONV_TEMPERATURE "Temperatur<EFBFBD>"
IDS_CONV_TEMPERATURE "Temperatură"
IDS_CONV_TIME "Timp"
IDS_CONV_VELOCITY "Velocitate"
IDS_CONV_VOLUME "Volum"
IDS_CONV_WEIGHT "Mas<EFBFBD>"
IDS_CONV_WEIGHT "Masă"
END
// TYPES OF ANGLES
@@ -467,7 +469,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "Acri"
IDS_AREA_ACRES_BRAZIL "Acri (Brazilia)"
IDS_AREA_ACRES_FRANCE "Acri (Fran<EFBFBD>a)"
IDS_AREA_ACRES_FRANCE "Acri (Franța)"
IDS_AREA_ACRES_SCOTS "Acri (Scots)"
IDS_AREA_ACRES_US "Acri (SUA)"
IDS_AREA_ARES "Ares"
@@ -482,21 +484,21 @@ BEGIN
IDS_AREA_PYEONGBANGJA "Pyeongbangja"
IDS_AREA_RAI "Rai"
IDS_AREA_SE "Se"
IDS_AREA_SQUARE_CENTIMETERS "Centimetri p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_CHR "Chr p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_FATHOMS "Fathomi p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "Fathomi p<EFBFBD>tra<EFBFBD>i (Ungaria)"
IDS_AREA_SQUARE_FEET "Picioare p<EFBFBD>trate"
IDS_AREA_SQUARE_INCHES "<EFBFBD>oli p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_KILOMETERS "Kilometri p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_LAR "Lar p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_METER "Metri p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_MILES "Mile p<EFBFBD>trate"
IDS_AREA_SQUARE_MILLIMETERS "Milimetri p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_SHAKU "Shaku p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_TSUEN "Tsuen p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_VA "Va p<EFBFBD>tra<EFBFBD>i"
IDS_AREA_SQUARE_YARD "Yarzi p<EFBFBD>tra<EFBFBD>i"
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
@@ -513,48 +515,48 @@ END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "<EFBFBD>iling autriac"
IDS_CURRENCY_AUSTRIAN_SCHILLING "Şiling autriac"
IDS_CURRENCY_BELGIAN_FRANC "Franc belgian"
IDS_CURRENCY_CYPRIOT_POUND "Lir<EFBFBD> cipriot<EFBFBD>"
IDS_CURRENCY_CZECH_KORUNA "Coroan<EFBFBD> ceh<EFBFBD>"
IDS_CURRENCY_DEUTSCHE_MARK "Marc<EFBFBD> nem<EFBFBD>easc<EFBFBD>"
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<EFBFBD> finlandez<EFBFBD>"
IDS_CURRENCY_FINNISH_MARKKA "Marcă finlandeză"
IDS_CURRENCY_FRENCH_FRANC "Franc framcez"
IDS_CURRENCY_GREEK_DRACHMA "Drahm<EFBFBD> greceasc<EFBFBD>"
IDS_CURRENCY_IRISH_POUND "Lir<EFBFBD> irlandez<EFBFBD>"
IDS_CURRENCY_ITALIAN_LIRA "Lir<EFBFBD> italian<EFBFBD>"
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<EFBFBD> maltez<EFBFBD>"
IDS_CURRENCY_MALTESE_LIRA "Litră malteză"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Escudo portughez"
IDS_CURRENCY_SLOVAK_KORUNA "Coroan<EFBFBD> slovac<EFBFBD>"
IDS_CURRENCY_SLOVAK_KORUNA "Coroană slovacă"
IDS_CURRENCY_SLOVENIAN_TOLAR "Tolar sloven"
IDS_CURRENCY_SPANISH_PESETA "Peseta spaniol<EFBFBD>"
IDS_CURRENCY_SPANISH_PESETA "Peseta spaniolă"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "Calorii 15 <EFBFBD>C"
IDS_ENERGY_BTUS "Unit<EFBFBD><EFBFBD>i termale britanice"
IDS_ENERGY_15_C_CALORIES "Calorii 15 °C"
IDS_ENERGY_BTUS "Unități termale britanice"
IDS_ENERGY_ERGS "Ergs"
IDS_ENERGY_EVS "Electron-Vol<EFBFBD>i"
IDS_ENERGY_FOOT_POUNDS "Picioare-Livr<EFBFBD>"
IDS_ENERGY_IT_CALORIES "Calorii Tabel Interna<EFBFBD>ional"
IDS_ENERGY_IT_KILOCALORIES "Kilocalorii Tabel Interna<EFBFBD>ional"
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<EFBFBD>ie"
IDS_ENERGY_TH_CALORIES "Calorie termochimic<EFBFBD>"
IDS_ENERGY_NUTRITION_CALORIES "Calorii nutriție"
IDS_ENERGY_TH_CALORIES "Calorie termochimică"
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Angstr<EFBFBD>ms"
IDS_LENGTH_ASTRONOMICAL_UNITS "Unit<EFBFBD><EFBFBD>i astronomice"
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)"
@@ -569,7 +571,7 @@ BEGIN
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Hands"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "Incii (<EFBFBD>oli)"
IDS_LENGTH_INCHES "Incii (țoli)"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
@@ -577,7 +579,7 @@ BEGIN
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Kilometeri"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Ani lumin<EFBFBD>"
IDS_LENGTH_LIGHT_YEARS "Ani lumină"
IDS_LENGTH_LINKS_UK "Links (Marea Britanie)"
IDS_LENGTH_METERS "Metri"
IDS_LENGTH_MICRONS "Microni"
@@ -605,12 +607,12 @@ END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "Unit<EFBFBD><EFBFBD>i termice britanice pe minut"
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<EFBFBD>i"
IDS_POWER_MEGAWATTS "Megawa<EFBFBD>i"
IDS_POWER_WATTS "Wa<EFBFBD>i"
IDS_POWER_KILOWATTS "Kilowați"
IDS_POWER_MEGAWATTS "Megawați"
IDS_POWER_WATTS "Wați"
END
// TYPE OF PRESSURES
@@ -620,9 +622,9 @@ BEGIN
IDS_PRESSURE_BARS "Bari"
IDS_PRESSURE_HECTOPASCALS "Hectopascali"
IDS_PRESSURE_KILOPASCALS "Kilopascali"
IDS_PRESSURE_MM_OF_MERCURY "Milimetri coloan<EFBFBD> de mercur"
IDS_PRESSURE_MM_OF_MERCURY "Milimetri coloană de mercur"
IDS_PRESSURE_PASCALS "Pascali"
IDS_PRESSURE_PSI "Livre-for<EFBFBD><EFBFBD> pe <EFBFBD>ol p<EFBFBD>trat"
IDS_PRESSURE_PSI "Livre-forță pe țol pătrat"
END
// TYPES OF TEMPERATURES
@@ -643,21 +645,21 @@ BEGIN
IDS_TIME_MILLISECONDS "Milisecunde"
IDS_TIME_MINUTES "Minute"
IDS_TIME_SECONDS "Secunde"
IDS_TIME_WEEKS "S<EFBFBD>pt<EFBFBD>m<EFBFBD>ni"
IDS_TIME_WEEKS "Săptămâni"
IDS_TIME_YEARS "Ani"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centimetri/or<EFBFBD>"
IDS_VELOCITY_FEET_HOUR "Picioare/or<EFBFBD>"
IDS_VELOCITY_FEET_SECOND "Picioare/secund<EFBFBD>"
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<EFBFBD>"
IDS_VELOCITY_MILES_HOUR "Mile/or<EFBFBD>"
IDS_VELOCITY_METERS_SECOND "Metri/secundă"
IDS_VELOCITY_MILES_HOUR "Mile/oră"
END
// TYPES OF VOLUMES
@@ -670,7 +672,7 @@ BEGIN
IDS_VOLUME_BUSHELS_US "Bushels (SUA)"
IDS_VOLUME_CUBIC_CENTIMETERS "Centrimetri cubi"
IDS_VOLUME_CUBIC_FEET "Picioare^3"
IDS_VOLUME_CUBIC_INCHES "<EFBFBD>oli cubi"
IDS_VOLUME_CUBIC_INCHES "țoli cubi"
IDS_VOLUME_CUBIC_METERS "Metri cubi"
IDS_VOLUME_CUBIC_YARDS "Yarzi cubi"
IDS_VOLUME_DOE "Doe"
@@ -729,3 +731,5 @@ BEGIN
IDS_WEIGHT_TONS_UK "Tone (Marea Britanie)"
IDS_WEIGHT_TONS_US "Tone (SUA)"
END
#pragma code_page(default)

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: 27-01-2009
* 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
@@ -445,30 +444,30 @@ BEGIN
IDS_QUICKHELP "R<>chla pomoc"
END
// types of conversion
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_TIME "<22>as"
IDS_CONV_LENGTH "D<><44>ka"
IDS_CONV_ENERGY "Energia"
IDS_CONV_WEIGHT "Hmotnos<6F>"
IDS_CONV_CURRENCY "Mena"
IDS_CONV_VOLUME "Objem"
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_ANGLE "Uhol"
IDS_CONV_AREA "Plocha"
IDS_CONV_CONSUMPTION "Spotreba motorov" //Spotreba (motory)
IDS_CONV_CURRENCY "Mena"
IDS_CONV_ENERGY "Energia"
IDS_CONV_LENGTH "D<><44>ka"
IDS_CONV_POWER "V<>kon"
IDS_CONV_PRESSURE "Tlak"
IDS_CONV_TEMPERATURE "Teplota"
IDS_CONV_TIME "<22>as"
IDS_CONV_VELOCITY "R<>chlos<6F>"
IDS_CONV_VOLUME "Objem"
IDS_CONV_WEIGHT "Hmotnos<6F>"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Stupne"
IDS_ANGLE_GRADIANS "Grady"
IDS_ANGLE_RADIANS "Radi<64>ny"
IDS_ANGLE_DEGREES "Stupne"
END
// TYPES OF AREAS
@@ -522,24 +521,24 @@ END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Rak<61>sky <20>iling"
IDS_CURRENCY_BELGIAN_FRANC "Belgick<63> frank"
IDS_CURRENCY_CYPRIOT_POUND "Cypersk<73> libra"
IDS_CURRENCY_CZECH_KORUNA "<22>esk<73> koruna"
IDS_CURRENCY_DEUTSCHE_MARK "Nemeck<63> marka"
IDS_CURRENCY_DUTCH_GUILDER "Holandsk<73> gulden"
IDS_CURRENCY_EURO "Euro"
IDS_CURRENCY_FINNISH_MARKKA "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_DUTCH_GUILDER "Holandsk<73> gulden"
IDS_CURRENCY_IRISH_POUND "Irish pound"
IDS_CURRENCY_LUXEMBOURG_FRANC "Luxembourg franc"
IDS_CURRENCY_MALTESE_LIRA "Maltese lira"
IDS_CURRENCY_DEUTSCHE_MARK "Nemeck<63> marka"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portoguese escudo"
IDS_CURRENCY_AUSTRIAN_SCHILLING "Rak<61>zsky <20>iling"
IDS_CURRENCY_IRISH_POUND "<22>rska libra"
IDS_CURRENCY_ITALIAN_LIRA "Taliansk<73> l<>ra"
IDS_CURRENCY_LUXEMBOURG_FRANC "Luxembursk<EFBFBD> frank"
IDS_CURRENCY_MALTESE_LIRA "Maltsk<EFBFBD> l<EFBFBD>ra"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Portugalsk<73> escudo"
IDS_CURRENCY_SLOVAK_KORUNA "Slovensk<73> koruna"
IDS_CURRENCY_SLOVENIAN_TOLAR "Slovinsk<73> toliar"
IDS_CURRENCY_SPANISH_PESETA "<22>panielska peseta"
IDS_CURRENCY_ITALIAN_LIRA "Talianska l<>ra"
END
// TYPES OF ENERGIES
@@ -571,10 +570,14 @@ BEGIN
IDS_LENGTH_CHOU "Chou"
IDS_LENGTH_CHR "Chr"
IDS_LENGTH_CUN "Cun"
IDS_LENGTH_FATHOMS "Siahy"
IDS_LENGTH_FATHOMS_HUNGARY "Siahy (Ma<4D>arsko)"
IDS_LENGTH_FEET "Stopy"
IDS_LENGTH_FURLONGS "Furlongs"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Hands"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "Palce"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
@@ -582,6 +585,7 @@ BEGIN
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Kilometre"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Sveteln<6C> roky"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "Metre"
IDS_LENGTH_MICRONS "Mikr<6B>ny"
@@ -589,7 +593,6 @@ BEGIN
IDS_LENGTH_MILLIMETERS "Milimetre"
IDS_LENGTH_NAUTICAL_MILES "N<>morn<72> m<>le"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_INCHES "Palce"
IDS_LENGTH_PARSECS "Parsecy"
IDS_LENGTH_PICAS "Picas"
IDS_LENGTH_RI_JAPAN "Ri (Japonsko)"
@@ -598,12 +601,8 @@ BEGIN
IDS_LENGTH_SAWK "Sawk"
IDS_LENGTH_SEN "Sen"
IDS_LENGTH_SHAKU "Shaku"
IDS_LENGTH_FATHOMS "Siahy"
IDS_LENGTH_FATHOMS_HUNGARY "Siahy (Ma<4D>arsko)"
IDS_LENGTH_SPAN "Span"
IDS_LENGTH_FEET "Stopy"
IDS_LENGTH_SUN "Sun"
IDS_LENGTH_LIGHT_YEARS "Sveteln<6C> roky"
IDS_LENGTH_TSUEN "Tsuen"
IDS_LENGTH_VA "Va"
IDS_LENGTH_YARDS "Yardy"
@@ -616,8 +615,8 @@ 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_KILOWATTS "Kilowatty"
IDS_POWER_HORSEPOWER "Ko<4B>sk<73> sily"
IDS_POWER_KILOWATTS "Kilowatty"
IDS_POWER_MEGAWATTS "Megawatty"
IDS_POWER_WATTS "Watty"
END
@@ -629,9 +628,9 @@ BEGIN
IDS_PRESSURE_BARS "Bary"
IDS_PRESSURE_HECTOPASCALS "Hektopascals"
IDS_PRESSURE_KILOPASCALS "Kilopascals"
IDS_PRESSURE_PSI "Libry na <20>tvorcov<6F> palec"
IDS_PRESSURE_MM_OF_MERCURY "Millimeters of mercury"
IDS_PRESSURE_PASCALS "Pascals"
IDS_PRESSURE_PSI "Libry na <20>tvorcov<6F> palec"
END
// TYPES OF TEMPERATURES
@@ -651,22 +650,22 @@ BEGIN
IDS_TIME_MICROSECONDS "Mikrosekundy"
IDS_TIME_MILLISECONDS "Milisekundy"
IDS_TIME_MINUTES "Min<69>ty"
IDS_TIME_YEARS "Roky"
IDS_TIME_SECONDS "Sekundy"
IDS_TIME_WEEKS "T<><54>dne"
IDS_TIME_YEARS "Roky"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centimetre/hodinu"
IDS_VELOCITY_FEET_HOUR "Stopy/hodinu"
IDS_VELOCITY_FEET_SECOND "Stopy/sekundu"
IDS_VELOCITY_KILOMETERS_HOUR "Kilometre/hodinu"
IDS_VELOCITY_KNOTS "Knots"
IDS_VELOCITY_MACH "Mach"
IDS_VELOCITY_METERS_SECOND "Metre/sekundu"
IDS_VELOCITY_MILES_HOUR "M<>le/hodinu"
IDS_VELOCITY_FEET_HOUR "Stopy/hodinu"
IDS_VELOCITY_FEET_SECOND "Stopy/sekundu"
END
// TYPES OF VOLUMES
@@ -677,6 +676,11 @@ BEGIN
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "Bu<42>ely (UK)" //Bu<42>el, Bu<42>le? Bu<42>ly?
IDS_VOLUME_BUSHELS_US "Bu<42>ely (USA)"
IDS_VOLUME_CUBIC_CENTIMETERS "Kubick<63> centimetre"
IDS_VOLUME_CUBIC_FEET "Kubick<63> stopy"
IDS_VOLUME_CUBIC_INCHES "Kubick<63> palce"
IDS_VOLUME_CUBIC_METERS "Kubick<63> metre"
IDS_VOLUME_CUBIC_YARDS "Kubick<63> yardy"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "Fluid ounces (UK)"
IDS_VOLUME_FLUID_OUNCES_US "Fluid ounces (USA)"
@@ -686,11 +690,6 @@ BEGIN
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_CUBIC_CENTIMETERS "Kubick<63> centimetre"
IDS_VOLUME_CUBIC_FEET "Kubick<63> stopy"
IDS_VOLUME_CUBIC_INCHES "Kubick<63> palce"
IDS_VOLUME_CUBIC_METERS "Kubick<63> metre"
IDS_VOLUME_CUBIC_YARDS "Kubick<63> yardy"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "Litre"
IDS_VOLUME_MAL "Mal"
@@ -712,7 +711,7 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_QUINTAL_METRIC "Cent (metrick<63>)"
IDS_WEIGHT_CARATS "Kar<61>ty"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
@@ -722,19 +721,19 @@ BEGIN
IDS_WEIGHT_JIN_CHINA "Jin (<28><>na)"
IDS_WEIGHT_JIN_TAIWAN "Jin (Tchajvan)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_CARATS "Kar<61>ty"
IDS_WEIGHT_KILOGRAMS "Kilogramy"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (<28><>na)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Tchajvan)"
IDS_WEIGHT_POUNDS "Libry"
IDS_WEIGHT_MONME "Monme"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "Unce, anglosask<73>"
IDS_WEIGHT_OUNCES_TROY "Unce, tr<74>jska"
IDS_WEIGHT_POUNDS "Libry"
IDS_WEIGHT_QUINTAL_METRIC "Cent (metrick<63>)"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "Stones"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "Tony"
IDS_WEIGHT_TONS_UK "Tony (UK)"
IDS_WEIGHT_TONS_US "Tony (USA)"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "Unce, anglosask<73>"
IDS_WEIGHT_OUNCES_TROY "Unce, tr<74>jska"
END

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>

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,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
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;
}
/*
* 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 "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<6C>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<62> dans l'espoir qu'il sera utile, cependant SANS GARANTIE D'AUCUNE SORTE ; sans m<>me une garantie implicite de COMMERCIABILIT<49> 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., 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<6C>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<62> dans l'espoir qu'il sera utile, cependant SANS GARANTIE D'AUCUNE SORTE ; sans m<>me une garantie implicite de COMMERCIABILIT<49> 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 "Simboli<6C> 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., 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<6C> 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

@@ -38,6 +38,6 @@ END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "<22><><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.), 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_LICENSE "<22><><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

@@ -19,6 +19,9 @@
<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

@@ -35,6 +35,7 @@ int _tmain(int argc, TCHAR ** argv)
{
char psBuffer[128];
char psBuffer2[128];
char *nlptr2;
char cmd[255];
char test[300];
FILE *pPipe;
@@ -60,7 +61,7 @@ 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);

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

@@ -19,15 +19,27 @@ static VOID SetInsert(DWORD dwFlag)
static VOID PrintHistory(VOID)
{
DWORD Length = GetConsoleCommandHistoryLength(pszExeName);
DWORD BufferLength;
PBYTE HistBuf;
TCHAR *Hist;
TCHAR *HistEnd;
/* On Windows, the ANSI version of GetConsoleCommandHistory requires
* a buffer twice as large as the actual history length. */
BYTE HistBuf[Length * (sizeof(WCHAR) / sizeof(TCHAR))];
TCHAR *Hist = (TCHAR *)HistBuf;
TCHAR *HistEnd = (TCHAR *)&HistBuf[Length];
BufferLength = Length * (sizeof(WCHAR) / sizeof(TCHAR)) * sizeof(BYTE);
if (GetConsoleCommandHistory(Hist, sizeof HistBuf, pszExeName))
HistBuf = HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
BufferLength);
if (!HistBuf) return;
Hist = (TCHAR *)HistBuf;
HistEnd = (TCHAR *)&HistBuf[Length];
if (GetConsoleCommandHistory(Hist, BufferLength, pszExeName))
for (; Hist < HistEnd; Hist += _tcslen(Hist) + 1)
_tprintf(_T("%s\n"), Hist);
HeapFree(GetProcessHeap(), 0, HistBuf);
}
static INT SetMacro(LPTSTR definition)
@@ -65,23 +77,39 @@ static INT SetMacro(LPTSTR definition)
static VOID PrintMacros(LPTSTR pszExeName, LPTSTR Indent)
{
DWORD Length = GetConsoleAliasesLength(pszExeName);
BYTE AliasBuf[Length];
TCHAR *Alias = (TCHAR *)AliasBuf;
TCHAR *AliasEnd = (TCHAR *)&AliasBuf[Length];
PBYTE AliasBuf;
TCHAR *Alias;
TCHAR *AliasEnd;
if (GetConsoleAliases(Alias, sizeof AliasBuf, pszExeName))
AliasBuf = HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
Length * sizeof(BYTE));
if (!AliasBuf) return;
Alias = (TCHAR *)AliasBuf;
AliasEnd = (TCHAR *)&AliasBuf[Length];
if (GetConsoleAliases(Alias, Length * sizeof(BYTE), pszExeName))
for (; Alias < AliasEnd; Alias += _tcslen(Alias) + 1)
_tprintf(_T("%s%s\n"), Indent, Alias);
HeapFree(GetProcessHeap(), 0, AliasBuf);
}
static VOID PrintAllMacros(VOID)
{
DWORD Length = GetConsoleAliasExesLength();
BYTE ExeNameBuf[Length];
TCHAR *ExeName = (TCHAR *)ExeNameBuf;
TCHAR *ExeNameEnd = (TCHAR *)&ExeNameBuf[Length];
PBYTE ExeNameBuf;
TCHAR *ExeName;
TCHAR *ExeNameEnd;
if (GetConsoleAliasExes(ExeName, sizeof ExeNameBuf))
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)
{
@@ -90,6 +118,8 @@ static VOID PrintAllMacros(VOID)
_tprintf(_T("\n"));
}
}
HeapFree(GetProcessHeap(), 0, ExeNameBuf);
}
static VOID ReadFromFile(LPTSTR param)

View File

@@ -6,3 +6,4 @@
#include <windows.h>
#include "doskey.h"
#include "lang/en-US.rc"
#include "lang/uk-UA.rc"

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

@@ -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

@@ -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,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

@@ -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"
}

View File

@@ -0,0 +1,40 @@
/*
* REG.EXE - Wine-compatible reg program.
* Lithuanian language support
*
* Copyright 2009 Aurimas Fišeras <aurimas@gmail.com>
*
* 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_LITHUANIAN, SUBLANG_NEUTRAL
STRINGTABLE
{
STRING_USAGE, "Šios komandos sintaksė yra:\n\nREG [ ADD | DELETE | QUERY ]\nREG komanda /?\n"
STRING_ADD_USAGE, "REG ADD rakto_vardas [/v reikšmės_vardas | /ve] [/t tipas] [/s skirtukas] [/d duomenys] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE rakto_vardas [/v reikšmės_vardas | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY rakto_vardas [/v reikšmės_vardas | /ve] [/s]\n"
STRING_SUCCESS, "Operacija sėkmingai įvykdyta\n"
STRING_INVALID_KEY, "Klaida: Netinkamas rakto vardas\n"
STRING_INVALID_CMDLINE, "Klaida: Netinkami komandos eilutės parametrai\n"
STRING_NO_REMOTE, "Klaida: Negalima pridėti raktų nuotoliniame kompiuteryje\n"
STRING_CANNOT_FIND, "Klaida: Sistemai nepavyko rasti nurodyto registro rakto ar reikšmės\n"
}

View File

@@ -0,0 +1,37 @@
/*
* REG.EXE - Wine-compatible reg program.
* Dutch language support
*
* Copyright 2008 Frans Kool
*
* 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_DUTCH, SUBLANG_NEUTRAL
STRINGTABLE
{
STRING_USAGE, "Gebruik van dit commando is:\n\nREG [ ADD | DELETE | QUERY ]\nREG commando /?\n"
STRING_ADD_USAGE, "REG ADD sleutel_naam [/v waarde_naam | /ve] [/t type] [/s scheidingsteken] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE sleutel_naam [/v waarde_naam | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY sleutel_naam [/v waarde_naam | /ve] [/s]\n"
STRING_SUCCESS, "De bewerking is succesvol voltooid\n"
STRING_INVALID_KEY, "Fout: Foutieve sleutel naam\n"
STRING_INVALID_CMDLINE, "Fout: Foutieve commando regel parameters\n"
STRING_NO_REMOTE, "Fout: Sleutels konden niet toegevoegd worden aan de remote machine\n"
STRING_CANNOT_FIND, "Fout: Het systeem kon de gespecificeerde registry sleutel of waarde niet vinden\n"
}

View File

@@ -0,0 +1,39 @@
/*
* REG.EXE - Wine-compatible reg program.
* Norwegian (Bokmål) language support
*
* Copyright 2008-2009 Alexander N. Sørnes <alex@thehandofagony.com>
*
* 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"
#pragma code_page(65001)
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
STRINGTABLE
{
STRING_USAGE, "Programmer kjøres som følger:\n\nREG [ ADD | DELETE | QUERY ]\nREG kommando /?\n"
STRING_ADD_USAGE, "REG ADD nøkkelnavn [/v verdi | /ve] [/t type] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nøkkelnavn [/v verdi | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nøkkelnavn [/v verdi | /ve] [/s]\n"
STRING_SUCCESS, "Operasjonen ble utført\n"
STRING_INVALID_KEY, "Feil: Ugyldig nøkkelnavn\n"
STRING_INVALID_CMDLINE, "Feil: Ugyldige parametere på kommandolinjen\n"
STRING_NO_REMOTE, "Feil: Kan ikke legge til nøkler på ekstern maskin\n"
STRING_CANNOT_FIND, "Feil: Systemet klarte ikke finne den angitte registernøkkelen eller -verdien\n"
}

View File

@@ -0,0 +1,33 @@
/*
* REG.EXE - Wine-compatible reg program.
* Polish language support
*
* Copyright 2008 Andrew Riedi
* Copyright 2008 Mikolaj Zalewski
*
* 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_POLISH, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_USAGE, "Sk<53>adnia tego polecenia:\n\nREG [ ADD | DELETE | QUERY ]\nREG polecenie /?\n"
STRING_ADD_USAGE, "REG ADD nazwa_klucza [/v nazwa_warto<74>ci | /ve] [/t typ] [/s separator] [/d dane] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nazwa_klucza [/v nazwa_warto<74>ci | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nazwa_klucza [/v nazwa_warto<74>ci | /ve] [/s]\n"
}

View File

@@ -0,0 +1,40 @@
/*
* REG.EXE - Wine-compatible reg program.
* Portuguese language support
*
* Copyright 2008 Andrew Riedi
* Copyright 2008 Ricardo Filipe
*
* 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"
#pragma code_page(65001)
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE
{
STRING_USAGE, "A sintaxe deste comando é:\n\nREG [ ADD | DELETE | QUERY ]\nREG comando /?\n"
STRING_ADD_USAGE, "REG ADD nome_chave [/v nome_valor | /ve] [/t tipo] [/s separador] [/d dados] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nome_chave [/v nome_valor | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nome_chave [/v nome_valor | /ve] [/s]\n"
STRING_SUCCESS, "A operação foi completada com sucesso\n"
STRING_INVALID_KEY, "Erro: Nome de chave inválido\n"
STRING_INVALID_CMDLINE, "Erro: Parâmetros da linha de comandos inválidos\n"
STRING_NO_REMOTE, "Erro: Incapaz de adicionar chaves à máquina remota\n"
STRING_CANNOT_FIND, "Erro: O sistema foi incapaz de encontrar a chave de registo ou valor especificado\n"
}

View File

@@ -0,0 +1,34 @@
/*
* Russian language support
*
* Copyright 2008 Vitaliy Margolen
*
* 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_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_USAGE, "Использование программы:\n\nREG [ ADD | DELETE | QUERY ]\nREG <команда> /?\n"
STRING_ADD_USAGE, "REG ADD <ключ> [/v <параметр> | /ve] [/t <тип>] [/s <разделитель>] [/d данные] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE <ключ> [/v <параметр> | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY <ключ> [/v <параметр> | /ve] [/s]\n"
}

View File

@@ -0,0 +1,39 @@
/*
* REG.EXE - Wine-compatible reg program.
* Slovenian language support
*
* Copyright 2008 Rok Mandeljc
*
* 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"
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_USAGE, "Sintaksa ukaza:\n\nREG [ ADD | DELETE | QUERY ]\nREG ukaz /?\n"
STRING_ADD_USAGE, "REG ADD ime_ključa [/v ime_vrednosti | /ve] [/t vrsta] [/s ločilo] [/d podatki] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE ime_ključa [/v ime_vrednosti | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY ime_ključa [/v ime_vrednosti | /ve] [/s]\n"
STRING_SUCCESS, "Operacija se je uspešno izvedla\n"
STRING_INVALID_KEY, "Napaka: Napačno ime ključa\n"
STRING_INVALID_CMDLINE, "Napaka: Napačen parameter v ukazni vrstici\n"
STRING_NO_REMOTE, "Napaka: Na morem dodati ključa na oddaljen računalnik\n"
STRING_CANNOT_FIND, "Napaka: Sistem ni našel zahtevanega ključa ali vrednosti\n"
}

View File

@@ -0,0 +1,471 @@
/*
* 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 <windows.h>
#include <wine/unicode.h>
#include "reg.h"
static int reg_printfW(const WCHAR *msg, ...)
{
va_list va_args;
int wlen;
DWORD count, ret;
WCHAR msg_buffer[8192];
va_start(va_args, msg);
vsprintfW(msg_buffer, msg, va_args);
va_end(va_args);
wlen = lstrlenW(msg_buffer);
ret = WriteConsoleW(GetStdHandle(STD_OUTPUT_HANDLE), msg_buffer, wlen, &count, NULL);
if (!ret)
{
DWORD len;
char *msgA;
len = WideCharToMultiByte(GetConsoleOutputCP(), 0, msg_buffer, wlen,
NULL, 0, NULL, NULL);
msgA = HeapAlloc(GetProcessHeap(), 0, len * sizeof(char));
if (!msgA)
return 0;
WideCharToMultiByte(GetConsoleOutputCP(), 0, msg_buffer, wlen, msgA, len,
NULL, NULL);
WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), msgA, len, &count, FALSE);
HeapFree(GetProcessHeap(), 0, msgA);
}
return count;
}
static int reg_message(int msg)
{
static const WCHAR formatW[] = {'%','s',0};
WCHAR msg_buffer[8192];
LoadStringW(GetModuleHandleW(NULL), msg, msg_buffer,
sizeof(msg_buffer)/sizeof(WCHAR));
return reg_printfW(formatW, msg_buffer);
}
static HKEY get_rootkey(LPWSTR key)
{
static const WCHAR szHKLM[] = {'H','K','L','M',0};
static const WCHAR szHKCU[] = {'H','K','C','U',0};
static const WCHAR szHKCR[] = {'H','K','C','R',0};
static const WCHAR szHKU[] = {'H','K','U',0};
static const WCHAR szHKCC[] = {'H','K','C','C',0};
if (CompareStringW(CP_ACP,NORM_IGNORECASE,key,4,szHKLM,4)==2)
return HKEY_LOCAL_MACHINE;
else if (CompareStringW(CP_ACP,NORM_IGNORECASE,key,4,szHKCU,4)==2)
return HKEY_CURRENT_USER;
else if (CompareStringW(CP_ACP,NORM_IGNORECASE,key,4,szHKCR,4)==2)
return HKEY_CLASSES_ROOT;
else if (CompareStringW(CP_ACP,NORM_IGNORECASE,key,3,szHKU,3)==2)
return HKEY_USERS;
else if (CompareStringW(CP_ACP,NORM_IGNORECASE,key,4,szHKCC,4)==2)
return HKEY_CURRENT_CONFIG;
else return NULL;
}
static DWORD get_regtype(LPWSTR type)
{
static const WCHAR szREG_SZ[] = {'R','E','G','_','S','Z',0};
static const WCHAR szREG_MULTI_SZ[] = {'R','E','G','_','M','U','L','T','I','_','S','Z',0};
static const WCHAR szREG_DWORD_BIG_ENDIAN[] = {'R','E','G','_','D','W','O','R','D','_','B','I','G','_','E','N','D','I','A','N',0};
static const WCHAR szREG_DWORD[] = {'R','E','G','_','D','W','O','R','D',0};
static const WCHAR szREG_BINARY[] = {'R','E','G','_','B','I','N','A','R','Y',0};
static const WCHAR szREG_DWORD_LITTLE_ENDIAN[] = {'R','E','G','_','D','W','O','R','D','_','L','I','T','T','L','E','_','E','N','D','I','A','N',0};
static const WCHAR szREG_NONE[] = {'R','E','G','_','N','O','N','E',0};
static const WCHAR szREG_EXPAND_SZ[] = {'R','E','G','_','E','X','P','A','N','D','_','S','Z',0};
if (!type)
return REG_SZ;
if (lstrcmpiW(type,szREG_SZ)==0) return REG_SZ;
if (lstrcmpiW(type,szREG_DWORD)==0) return REG_DWORD;
if (lstrcmpiW(type,szREG_MULTI_SZ)==0) return REG_MULTI_SZ;
if (lstrcmpiW(type,szREG_EXPAND_SZ)==0) return REG_EXPAND_SZ;
if (lstrcmpiW(type,szREG_DWORD_BIG_ENDIAN)==0) return REG_DWORD_BIG_ENDIAN;
if (lstrcmpiW(type,szREG_DWORD_LITTLE_ENDIAN)==0) return REG_DWORD_LITTLE_ENDIAN;
if (lstrcmpiW(type,szREG_BINARY)==0) return REG_BINARY;
if (lstrcmpiW(type,szREG_NONE)==0) return REG_NONE;
return -1;
}
static LPBYTE get_regdata(LPWSTR data, DWORD reg_type, WCHAR separator, DWORD *reg_count)
{
LPBYTE out_data = NULL;
*reg_count = 0;
switch (reg_type)
{
case REG_SZ:
{
*reg_count = (lstrlenW(data) + 1) * sizeof(WCHAR);
out_data = HeapAlloc(GetProcessHeap(),0,*reg_count);
lstrcpyW((LPWSTR)out_data,data);
break;
}
default:
{
static const WCHAR unhandled[] = {'U','n','h','a','n','d','l','e','d',' ','T','y','p','e',' ','0','x','%','x',' ',' ','d','a','t','a',' ','%','s','\n',0};
reg_printfW(unhandled, reg_type,data);
}
}
return out_data;
}
static int reg_add(WCHAR *key_name, WCHAR *value_name, BOOL value_empty,
WCHAR *type, WCHAR separator, WCHAR *data, BOOL force)
{
static const WCHAR stubW[] = {'A','D','D',' ','-',' ','%','s',
' ','%','s',' ','%','d',' ','%','s',' ','%','s',' ','%','d','\n',0};
LPWSTR p;
HKEY root,subkey;
reg_printfW(stubW, key_name, value_name, value_empty, type, data, force);
if (key_name[0]=='\\' && key_name[1]=='\\')
{
reg_message(STRING_NO_REMOTE);
return 1;
}
p = strchrW(key_name,'\\');
if (!p)
{
reg_message(STRING_INVALID_KEY);
return 1;
}
p++;
root = get_rootkey(key_name);
if (!root)
{
reg_message(STRING_INVALID_KEY);
return 1;
}
if(RegCreateKeyW(root,p,&subkey)!=ERROR_SUCCESS)
{
reg_message(STRING_INVALID_KEY);
return 1;
}
if (value_name || data)
{
DWORD reg_type;
DWORD reg_count = 0;
BYTE* reg_data = NULL;
if (!force)
{
if (RegQueryValueW(subkey,value_name,NULL,NULL)==ERROR_SUCCESS)
{
/* FIXME: Prompt for overwrite */
}
}
reg_type = get_regtype(type);
if (reg_type == -1)
{
RegCloseKey(subkey);
reg_message(STRING_INVALID_CMDLINE);
return 1;
}
if (data)
reg_data = get_regdata(data,reg_type,separator,&reg_count);
RegSetValueExW(subkey,value_name,0,reg_type,reg_data,reg_count);
HeapFree(GetProcessHeap(),0,reg_data);
}
RegCloseKey(subkey);
reg_message(STRING_SUCCESS);
return 0;
}
static int reg_delete(WCHAR *key_name, WCHAR *value_name, BOOL value_empty,
BOOL value_all, BOOL force)
{
LPWSTR p;
HKEY root,subkey;
static const WCHAR stubW[] = {'D','E','L','E','T','E',
' ','-',' ','%','s',' ','%','s',' ','%','d',' ','%','d',' ','%','d','\n'
,0};
reg_printfW(stubW, key_name, value_name, value_empty, value_all, force);
if (key_name[0]=='\\' && key_name[1]=='\\')
{
reg_message(STRING_NO_REMOTE);
return 1;
}
p = strchrW(key_name,'\\');
if (!p)
{
reg_message(STRING_INVALID_KEY);
return 1;
}
p++;
root = get_rootkey(key_name);
if (!root)
{
reg_message(STRING_INVALID_KEY);
return 1;
}
if (value_name && value_empty)
{
reg_message(STRING_INVALID_CMDLINE);
return 1;
}
if (value_empty && value_all)
{
reg_message(STRING_INVALID_CMDLINE);
return 1;
}
if (!force)
{
/* FIXME: Prompt for delete */
}
if (!value_name)
{
if (RegDeleteTreeW(root,p)!=ERROR_SUCCESS)
{
reg_message(STRING_CANNOT_FIND);
return 1;
}
reg_message(STRING_SUCCESS);
return 0;
}
if(RegOpenKeyW(root,p,&subkey)!=ERROR_SUCCESS)
{
reg_message(STRING_CANNOT_FIND);
return 1;
}
if (value_all)
{
LPWSTR szValue;
DWORD maxValue;
DWORD count;
LONG rc;
if (value_name)
{
RegCloseKey(subkey);
reg_message(STRING_INVALID_CMDLINE);
return 1;
}
rc = RegQueryInfoKeyW(subkey, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
&maxValue, NULL, NULL, NULL);
if (rc != ERROR_SUCCESS)
{
/* FIXME: failure */
RegCloseKey(subkey);
return 1;
}
maxValue++;
szValue = HeapAlloc(GetProcessHeap(),0,maxValue*sizeof(WCHAR));
while (1)
{
count = maxValue;
rc = RegEnumValueW(subkey, 0, value_name, &count, NULL, NULL, NULL, NULL);
if (rc == ERROR_SUCCESS)
{
rc = RegDeleteValueW(subkey,value_name);
if (rc != ERROR_SUCCESS)
break;
}
else break;
}
if (rc != ERROR_SUCCESS)
{
/* FIXME delete failed */
}
}
else if (value_name)
{
if (RegDeleteValueW(subkey,value_name) != ERROR_SUCCESS)
{
RegCloseKey(subkey);
reg_message(STRING_CANNOT_FIND);
return 1;
}
}
else if (value_empty)
{
RegSetValueExW(subkey,NULL,0,REG_SZ,NULL,0);
}
RegCloseKey(subkey);
reg_message(STRING_SUCCESS);
return 0;
}
static int reg_query(WCHAR *key_name, WCHAR *value_name, BOOL value_empty,
BOOL subkey)
{
static const WCHAR stubW[] = {'S','T','U','B',' ','Q','U','E','R','Y',' ',
'-',' ','%','s',' ','%','s',' ','%','d',' ','%','d','\n',0};
reg_printfW(stubW, key_name, value_name, value_empty, subkey);
return 1;
}
int wmain(int argc, WCHAR *argvW[])
{
int i;
static const WCHAR addW[] = {'a','d','d',0};
static const WCHAR deleteW[] = {'d','e','l','e','t','e',0};
static const WCHAR queryW[] = {'q','u','e','r','y',0};
static const WCHAR slashDW[] = {'/','d',0};
static const WCHAR slashFW[] = {'/','f',0};
static const WCHAR slashHW[] = {'/','h',0};
static const WCHAR slashSW[] = {'/','s',0};
static const WCHAR slashTW[] = {'/','t',0};
static const WCHAR slashVW[] = {'/','v',0};
static const WCHAR slashVAW[] = {'/','v','a',0};
static const WCHAR slashVEW[] = {'/','v','e',0};
static const WCHAR slashHelpW[] = {'/','?',0};
if (argc < 2 || !lstrcmpW(argvW[1], slashHelpW)
|| !lstrcmpiW(argvW[1], slashHW))
{
reg_message(STRING_USAGE);
return 0;
}
if (!lstrcmpiW(argvW[1], addW))
{
WCHAR *key_name, *value_name = NULL, *type = NULL, separator = '\0', *data = NULL;
BOOL value_empty = FALSE, force = FALSE;
if (argc < 3)
{
reg_message(STRING_INVALID_CMDLINE);
return 1;
}
else if (argc == 3 && (!lstrcmpW(argvW[2], slashHelpW) ||
!lstrcmpiW(argvW[2], slashHW)))
{
reg_message(STRING_ADD_USAGE);
return 0;
}
key_name = argvW[2];
for (i = 1; i < argc; i++)
{
if (!lstrcmpiW(argvW[i], slashVW))
value_name = argvW[++i];
else if (!lstrcmpiW(argvW[i], slashVEW))
value_empty = TRUE;
else if (!lstrcmpiW(argvW[i], slashTW))
type = argvW[++i];
else if (!lstrcmpiW(argvW[i], slashSW))
separator = argvW[++i][0];
else if (!lstrcmpiW(argvW[i], slashDW))
data = argvW[++i];
else if (!lstrcmpiW(argvW[i], slashFW))
force = TRUE;
}
return reg_add(key_name, value_name, value_empty, type, separator,
data, force);
}
else if (!lstrcmpiW(argvW[1], deleteW))
{
WCHAR *key_name, *value_name = NULL;
BOOL value_empty = FALSE, value_all = FALSE, force = FALSE;
if (argc < 3)
{
reg_message(STRING_INVALID_CMDLINE);
return 1;
}
else if (argc == 3 && (!lstrcmpW(argvW[2], slashHelpW) ||
!lstrcmpiW(argvW[2], slashHW)))
{
reg_message(STRING_DELETE_USAGE);
return 0;
}
key_name = argvW[2];
for (i = 1; i < argc; i++)
{
if (!lstrcmpiW(argvW[i], slashVW))
value_name = argvW[++i];
else if (!lstrcmpiW(argvW[i], slashVEW))
value_empty = TRUE;
else if (!lstrcmpiW(argvW[i], slashVAW))
value_all = TRUE;
else if (!lstrcmpiW(argvW[i], slashFW))
force = TRUE;
}
return reg_delete(key_name, value_name, value_empty, value_all, force);
}
else if (!lstrcmpiW(argvW[1], queryW))
{
WCHAR *key_name, *value_name = NULL;
BOOL value_empty = FALSE, subkey = FALSE;
if (argc < 3)
{
reg_message(STRING_INVALID_CMDLINE);
return 1;
}
else if (argc == 3 && (!lstrcmpW(argvW[2], slashHelpW) ||
!lstrcmpiW(argvW[2], slashHW)))
{
reg_message(STRING_QUERY_USAGE);
return 0;
}
key_name = argvW[2];
for (i = 1; i < argc; i++)
{
if (!lstrcmpiW(argvW[i], slashVW))
value_name = argvW[++i];
else if (!lstrcmpiW(argvW[i], slashVEW))
value_empty = TRUE;
else if (!lstrcmpiW(argvW[i], slashSW))
subkey = TRUE;
}
return reg_query(key_name, value_name, value_empty, subkey);
}
else
{
reg_message(STRING_INVALID_CMDLINE);
return 1;
}
}

View File

@@ -0,0 +1,32 @@
/*
* REG.EXE - Wine-compatible reg program.
*
* 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 <windef.h>
/* Translation IDs. */
#define STRING_USAGE 101
#define STRING_ADD_USAGE 102
#define STRING_DELETE_USAGE 103
#define STRING_QUERY_USAGE 104
#define STRING_SUCCESS 105
#define STRING_INVALID_KEY 106
#define STRING_INVALID_CMDLINE 107
#define STRING_NO_REMOTE 108
#define STRING_CANNOT_FIND 109

View File

@@ -0,0 +1,10 @@
<module name="reg" type="win32cui" installbase="system32" installname="reg.exe" unicode="true">
<include base="reg">.</include>
<redefine name="_WIN32_WINNT">0x600</redefine>
<library>wine</library>
<library>advapi32</library>
<library>user32</library>
<library>kernel32</library>
<file>reg.c</file>
<file>rsrc.rc</file>
</module>

View File

@@ -0,0 +1,13 @@
#include "Da.rc"
#include "De.rc"
#include "En.rc"
#include "Fr.rc"
#include "Ja.rc"
//#include "Ko.rc"
#include "Lt.rc"
#include "Nl.rc"
#include "No.rc"
//#include "Pl.rc"
#include "Pt.rc"
#include "Ru.rc"
#include "Si.rc"

View File

@@ -1,79 +0,0 @@
/*
* XCOPY - Wine-compatible xcopy program
* English language support
*
* Copyright (C) 2007 J. Edmeades
*
* 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
*/
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Use xcopy /? <20><> <20><><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_INVPARM, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> '%s' - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Use xcopy /? <20><> <20><><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_PAUSE, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <enter> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_SIMCOPY, "%d <20><><EFBFBD><EFBFBD>(<28>) <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_COPY, "%d <20><><EFBFBD><EFBFBD>(<28>) <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_QISDIR, "'%s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n" \
"<22><><EFBFBD><EFBFBD><EFBFBD>?\n" \
"(F - <20><><EFBFBD><EFBFBD>, D - <20><><EFBFBD><EFBFBD><EFBFBD>)\n"
STRING_SRCPROMPT,"%s? (Y-<2D><>|N-<2D><>)\n"
STRING_OVERWRITE,"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s? (Y-<2D><>|N-<2D><>|A-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n"
STRING_COPYFAIL, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> '%s' <20> '%s' <20><> <20><><EFBFBD><EFBFBD> <20> r/c %d\n"
STRING_OPENFAIL, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> '%s'\n"
STRING_READFAIL, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> '%s'\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>\n\
\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\
XCOPY <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [<5B><><EFBFBD>] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U] \n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\
\n\
[/I] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD> \n\
\t<><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>\n\
[/S] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/E] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/Q] <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20>.<2E>. <20><><EFBFBD><EFBFBD>.\n\
[/F] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/L] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/W] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/T] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/Y] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/-Y] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/P] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n\
[/N] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/U] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>\n\
[/R] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/H] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/C] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/A] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/M] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>\n\
\t<><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/D | /D:m-d-y] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.\n\
\t\t<><74><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><>- <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><>\n\
\t\t<><74> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\n"
END

View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "xcopy.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT

View File

@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "xcopy.h"
#pragma code_page(65001)
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
@@ -27,16 +30,16 @@ STRINGTABLE
{
STRING_INVPARMS, "Falsche Parameteranzahl - xcopy /? zeigt Hilfe an\n"
STRING_INVPARM, "Unbekannter Parameter '%s' - xcopy /? zeigt Hilfe an\n"
STRING_PAUSE, "Eingabetaste bet<EFBFBD>tigen, um mit dem Kopieren zu beginnen\n"
STRING_SIMCOPY, "%d Datei(en) w<EFBFBD>rden kopiert\n"
STRING_PAUSE, "Eingabetaste betätigen, um mit dem Kopieren zu beginnen\n"
STRING_SIMCOPY, "%d Datei(en) würden kopiert\n"
STRING_COPY, "%d Datei(en) kopiert\n"
STRING_QISDIR, "Ist '%s' eine Datei oder ein Verzeichnis\n" \
"am Zielsort?\n" \
"(D - Datei, V - Verzeichnis)\n"
STRING_SRCPROMPT,"%s? (Ja|Nein)\n"
STRING_OVERWRITE,"%s <EFBFBD>berschreiben? (Ja|Nein|Alle)\n"
STRING_OVERWRITE,"%s überschreiben? (Ja|Nein|Alle)\n"
STRING_COPYFAIL, "Kopieren von '%s' nach '%s' fehlgeschlagen. Fehlernummer: %d\n"
STRING_OPENFAIL, "Fehler beim <EFBFBD>ffnen von '%s'\n"
STRING_OPENFAIL, "Fehler beim Öffnen von '%s'\n"
STRING_READFAIL, "Fehler beim Lesen von '%s'\n"
STRING_YES_CHAR, "J"
STRING_NO_CHAR, "N"
@@ -58,22 +61,23 @@ Mit:\n\
[/S] Kopiere Verzeichnisse und Unterverzeichnisse\n\
[/E] Kopiere Verzeichnisse und Unterverzeichnisse, auch leere\n\
[/Q] Zeige die Dateinamen beim Kopieren nicht an\n\
[/F] Zeige vollst<EFBFBD>ndige Dateinamen von Quelle und Ziel an\n\
[/L] Simulation: Zeige die Namen der Datein, die kopiert w<EFBFBD>rden\n\
[/W] Wartet vor Beginn des Kopierens auf Best<EFBFBD>tigung\n\
[/F] Zeige vollständige Dateinamen von Quelle und Ziel an\n\
[/L] Simulation: Zeige die Namen der Datein, die kopiert würden\n\
[/W] Wartet vor Beginn des Kopierens auf Bestätigung\n\
[/T] Erzeuge eine leere Verzeichnisstruktur, ohne Dateien zu kopieren\n\
[/Y] Keine Nachfrage vor dem <EFBFBD>berschreiben von Dateien\n\
[/-Y] Nachrage vor dem <EFBFBD>berschreiben von Dateien\n\
[/P] Fragt f<EFBFBD>r jede Quelldatei, ob sie kopiert werden soll\n\
[/Y] Keine Nachfrage vor dem Überschreiben von Dateien\n\
[/-Y] Nachrage vor dem Überschreiben von Dateien\n\
[/P] Fragt für jede Quelldatei, ob sie kopiert werden soll\n\
[/N] Kopiert die Dateien unter ihrem Kurznamen\n\
[/U] Kopiert nur Dateien, die am Ziel bereits existieren\n\
[/R] <EFBFBD>berschreibt schreibgesch<EFBFBD>tzte Dateien\n\
[/R] Überschreibt schreibgeschützte Dateien\n\
[/H] Kopiere auch versteckte und Systemdateien\n\
[/C] Nach Fehlern den Kopiervorgang fortsetzen\n\
[/A] Nur Dateien mit Archivbit kopieren\n\
[/M] Nur Dateien mit Archivbit kopieren, danach Archivbit l<EFBFBD>schen\n\
[/M] Nur Dateien mit Archivbit kopieren, danach Archivbit löschen\n\
[/D | /D:m-d-y] Kopiere neue Dateien und Dateien, die neuer als das\n\
\t\tangegebene Datum sind. Wird kein Datum angegegebn, werden nur\n\
\t\tQuelldateien kopiert, die neuer sind als die Zieldatei\n\n"
}
#pragma code_page(default)

View File

@@ -1,79 +0,0 @@
/*
* XCOPY - Wine-compatible xcopy program
* English language support
*
* Copyright (C) 2007 J. Edmeades
*
* 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
*/
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS, "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> xcopy /? <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_INVPARM, "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%s' - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xcopy /? <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_PAUSE, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <enter> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_SIMCOPY, "%d <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28>) <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_COPY, "%d <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28>) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_QISDIR, "<22><> '%s' <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n" \
"<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;\n" \
"(F - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, D - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n"
STRING_SRCPROMPT,"%s? ((<28>)<29><><EFBFBD>|(<28>)<29><><EFBFBD>)\n"
STRING_OVERWRITE,"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s? ((<28>)<29><><EFBFBD>|(<28>)<29><><EFBFBD>|(<28>)<29><><EFBFBD>)\n"
STRING_COPYFAIL, "<22> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> '%s' <20><><EFBFBD> '%s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> r/c %d\n"
STRING_OPENFAIL, "<22><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> '%s'\n"
STRING_READFAIL, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> '%s'\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\
XCOPY <20><><EFBFBD><EFBFBD> [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U] \n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\
\n\
[/I] Assume directory if destination does not exist and copying 2 or \n\
\tmore files\n\
[/S] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/E] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><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><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/Q] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/F] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><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> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/L] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/W] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/T] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><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>\n\
[/Y] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/-Y] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/P] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/N] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/U] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/R] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n\
[/H] <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/C] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
[/A] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> archive attribute set\n\
[/M] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> archive attribute set, removes \n\
\tarchive attribute\n\
[/D | /D:m-d-y] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
\t\t<><74> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
\t\t<><74><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD>\n\n"
END

View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "xcopy.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT

View File

@@ -18,6 +18,9 @@
* 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 "xcopy.h"
#pragma code_page(65001)
@@ -30,12 +33,12 @@ STRINGTABLE
STRING_PAUSE, "Appuyez sur ENTRÉE pour démarrer la copie\n"
STRING_SIMCOPY, "%d fichier(s) seront copiés\n"
STRING_COPY, "%d fichier(s) copiés\n"
STRING_QISDIR, "Est-ce que « %s » est un fichier ou un répertoire\n" \
STRING_QISDIR, "« %s » est-il un fichier ou un répertoire\n" \
"dans la destination ?\n" \
"(F - Fichier, R - Répertoire)\n"
STRING_SRCPROMPT,"%s ? (Oui|Non)\n"
STRING_OVERWRITE,"Écraser %s ? (Oui|Non|Tous)\n"
STRING_COPYFAIL, "La copie de « %s » vers « %s » a échoué avec le c/r %d\n"
STRING_COPYFAIL, "La copie de « %s » vers « %s » a échoué avec le code de retour %d\n"
STRING_OPENFAIL, "Impossible d'ouvrir « %s »\n"
STRING_READFAIL, "Impossible de lire « %s »\n"
STRING_YES_CHAR, "O"
@@ -45,38 +48,37 @@ STRINGTABLE
STRING_DIR_CHAR, "R"
STRING_HELP,
"XCOPY - Copie les fichiers ou répertoires source vers une destination\n\
"XCOPY - Copie les fichiers ou répertoires sources vers une destination\n\
\n\
Syntaxe :\n\
XCOPY source [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
XCOPY source [destination] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
Où :\n\
où :\n\
\n\
[/I] Suppose que la destination est un répertoire si elle n'existe pas et que l'on copie plus\n\
\td'un fichier\n\
[/S] Copie les répertoires et sous-répertoires\n\
[/E] Copie les répertoires et sous-répertoires, y compris ceux qui sont vides\n\
[/Q] Ne pas afficher la liste des fichiers copiés (mode silencieux)\n\
[/F] Afficher la source et la destination complète lors de la copie\n\
[/L] Simuler l'opération, en montrant le nom des fichiers qui auraient été copiés\n\
[/F] Afficher les source et destination complètes lors de la copie\n\
[/L] Simuler la copie, en montrant le nom des fichiers qui seraient copiés\n\
[/W] Demande avant de démarrer la copie\n\
[/T] Créer une structure de répertoires vides, mais ne copie pas les fichiers\n\
[/T] Créer une structure de répertoires vides, mais ne pas copier les fichiers\n\
[/Y] Ne demande pas de confirmation lors de l'écrasement des fichiers\n\
[/-Y] Demande une confirmation lors de l'écrasement des fichiers\n\
[/P] Demande avant de copier chaque fichier source\n\
[/N] Copie en utilisant des noms courts\n\
[/P] Interroge l'utilisateur avant de copier chaque fichier source\n\
[/N] Copie en utilisant les noms courts\n\
[/U] Copie uniquement les fichiers qui existent déjà dans la destination\n\
[/R] Écrase même les fichiers en lecture seule\n\
[/H] Inclure les fichiers cachés et système dans la copie\n\
[/C] Continue même si une erreur survient pendant la copie\n\
[/A] Copie uniquement les fichiers qui ont l'attribut archive défini\n\
[/M] Copie uniquement les fichiers qui ont l'attribut archive défini, supprime\n\
[/M] Copie uniquement les fichiers qui ont l'attribut archive défini ; supprime\n\
\tensuite l'attribut\n\
[/D | /D:m-d-y] Copie uniquement les fichiers nouveaux ou ceux modifiés après la date spécifiée.\n\
\t\tSi aucune date n'est spécifiée, copie uniquement lorsque le fichier de destination est plus vieux\n\
[/D | /D:m-d-y] Copie uniquement les nouveaux fichiers, ou ceux modifiés après la date spécifiée.\n\
\t\tSi aucune date n'est spécifiée, copie uniquement lorsque le fichier de destination est plus ancien\n\
\t\tque le fichier source\n\n"
}
#pragma code_page(default)

View File

@@ -1,79 +0,0 @@
/*
* XCOPY - Wine-compatible xcopy program
* English language support
*
* Copyright (C) 2007 J. Edmeades
*
* 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
*/
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE
{
STRING_INVPARMS, "Numero di parametri non valido - Usare xcopy /? per l'aiuto\n"
STRING_INVPARM, "Parametro non valido '%s' - Usare xcopy /? per l'aiuto\n"
STRING_PAUSE, "Premeress <invio> per iniziare la copia\n"
STRING_SIMCOPY, "%d file(s) saranno copiati\n"
STRING_COPY, "%d file(s) copiati\n"
STRING_QISDIR, "'%s' <20> un file o una cartella ?\n" \
"sulla destinazione?\n" \
"(F - File, C - Cartella)\n"
STRING_SRCPROMPT,"%s? (Si|No)\n"
STRING_OVERWRITE,"Sovrascrivere %s? (Si|No|Tutti)\n"
STRING_COPYFAIL, "Copia di '%s' su '%s' fallitocon r/c %d\n"
STRING_OPENFAIL, "Impossibile aprire '%s'\n"
STRING_READFAIL, "Impossibile leggre '%s'\n"
STRING_YES_CHAR, "S"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "T"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "C"
STRING_HELP,
"XCOPY - Copia i file sorgenti o un albero di cartelle su una destinazione\n\
\n\
Sintassi:\n\
XCOPY sorgente [destinazione] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U] \n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
Dove:\n\
\n\
[/I] Assumere che sia una cartella se la destinazione non esiste e vengono \n\
\t\tcopiati due o pi<70> file\n\
[/S] Copiare cartelle e sottocartelle\n\
[/E] Copiare cartelle e sottocartelle, comprese quelle vuote\n\
[/Q] Non elencare i nomi dei file durante la copia.\n\
[/F] Mostrare il percorso completo di sorgente e destinazione durante la copia\n\
[/L] Simulare l'operazione, mostrare i nomi dei file che sarebbero copiati\n\
[/W] Chidere conferma prima di iniziare la copia\n\
[/T] Creare una strutture di cartelle vuota senza copiare i file\n\
[/Y] Supprimere la richiesta di conferma per la sovrascrittura dei file\n\
[/-Y] Abilitare la richiesta di conferma per la sovrascrittura dei file\n\
[/P] Chiedere conferma prima della copia di ogni file\n\
[/N] Copiare usando i nomi corti\n\
[/U] Copiare solo i file che esistono gi<67> nella destinazione\n\
[/R] Sovrascrivere i file in sola lettura\n\
[/H] Includere nella copia i file nascosti e quelli di sistema\n\
[/C] Continuare nella copia anche se si verificano errori\n\
[/A] Copiare solo i file con l'attributo di archivio attivo\n\
[/M] Copiare solo i file con l'attributo di archivio attivo e poi \n\
\t\tlo disattiva\n\
[/D | /D:m-d-y] Copiare i file nuovi o modificati dopo la data indicata.\n\
\t\tSe non <20> indicata una data copiare solo se la destinazione e meno recente\n\
\t\tdella sorgente\n\n"
}

View File

@@ -0,0 +1,84 @@
/*
* XCOPY - Wine-compatible xcopy program
* Japanese language support
*
* Copyright (C) 2007 J. Edmeades
* Copyright (C) 2009 Akihiro Sagawa
*
* 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 "xcopy.h"
#pragma code_page(65001)
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_INVPARMS, "パラメータの数が違います。xcopy /? で使い方を表示します\n"
STRING_INVPARM, "無効なパラメータ '%s' です。xcopy /? で使い方を表示します\n"
STRING_PAUSE, "コピーを開始するには <enter> を押してください\n"
STRING_SIMCOPY, "%d ファイルがコピーされる見込みです。\n"
STRING_COPY, "%d ファイルをコピーしました\n"
STRING_QISDIR, "送り先の '%s' はファイル名ですか、\n" \
"ディレクトリですか?\n" \
"(F - ファイル、D - ディレクトリ)\n"
STRING_SRCPROMPT,"%s? (Yes|No)\n"
STRING_OVERWRITE,"%s を上書きしますか? (Yes|No|All)\n"
STRING_COPYFAIL, "'%s' から '%s' へのコピーは失敗しました。戻り値 %d\n"
STRING_OPENFAIL, "'%s' を開けません\n"
STRING_READFAIL, "'%s' の読み込み中に失敗しました\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - 送り元のファイルやディレクトリを送り先にコピーします\n\
\n\
構文:\n\
XCOPY 送り元 [送り先] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
オプション:\n\
\n\
[/I] 送り先が存在せず、複数のファイルをコピーするときは、送り先を\n\
\tディレクトリとみなします。\n\
[/S] ディレクトリとサブディレクトリをコピーします。\n\
[/E] 空ディレクトリを含め、ディレクトリとサブディレクトリをコピー。\n\
[/Q] コピー中にファイル名を一覧にしません。すなわち寡黙です。\n\
[/F] コピー中にフルパスで送り元と送り先の名前を表示します。\n\
[/L] 操作を模擬実行し、コピー予定のファイル名を表示します。\n\
[/W] コピーを開始する前に確認のメッセージを表示します。\n\
[/T] 空のディレクトリ構造を作成しますが、ファイルはコピーしません。\n\
[/Y] ファイルを上書きする時に確認のメッセージを表示しません。\n\
[/-Y] ファイルを上書きする時に確認のメッセージを表示します。\n\
[/P] 各ファイルのコピー前に確認のメッセージを表示します。\n\
[/N] 短いファイル名を利用してコピーします。\n\
[/U] 送り先にあるファイルだけコピーします。\n\
[/R] 読み取り専用ファイルを上書きします。\n\
[/H] 隠しファイルやシステム ファイルもコピーします。\n\
[/C] コピー中にエラーが起こっても続行します。\n\
[/A] アーカイブ属性のファイルだけコピーします。\n\
[/M] アーカイブ属性のファイルだけコピーし、アーカイブ属性を\n\
\t取り除きます。\n\
[/D | /D:月-日-年] 新しいファイルや指定された日付以降に変更された\n\
\t\tファイルをコピーします。日付が指定されない場合は、\n\
\t\tコピー先がコピー元より古いファイルだけコピーします。\n\n"
}
#pragma code_page(default)

View File

@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "xcopy.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT

View File

@@ -0,0 +1,84 @@
/*
* XCOPY - Wine-compatible xcopy program
* Lithuanian language support
*
* Copyright 2009 Aurimas Fišeras <aurimas@gmail.com>
*
* 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 "xcopy.h"
/* UTF-8 */
#pragma code_page(65001)
LANGUAGE LANG_LITHUANIAN, SUBLANG_NEUTRAL
STRINGTABLE
{
STRING_INVPARMS, "Neteisingas parametrų skaičius - pagalba: xcopy /?\n"
STRING_INVPARM, "Neteisingas parametras „%s“ - pagalba: xcopy /?\n"
STRING_PAUSE, "Spauskite <enter> kopijavimui pradėti\n"
STRING_SIMCOPY, "bus nukopijuota failų: %d\n"
STRING_COPY, "nukopijuota failų: %d\n"
STRING_QISDIR, "Ar „%s“ yra failas, ar katalogas,\n" \
"ar paskirtis?\n" \
"(F - failas, K - katalogas)\n"
STRING_SRCPROMPT,"%s? (Taip|Ne)\n"
STRING_OVERWRITE,"Perrašyti %s? (Taip|Ne|Visus)\n"
STRING_COPYFAIL, "„%s“ kopijavimas į „%s“ nepavyko su r/c %d\n"
STRING_OPENFAIL, "Nepavyko atverti „%s“\n"
STRING_READFAIL, "Klaida skaitant „%s“\n"
STRING_YES_CHAR, "T"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "V"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "K"
STRING_HELP,
"XCOPY - Kopijuoja šaltinio failus ir katalogų medžius į paskirties vietą\n\
\n\
Sintaksė:\n\
XCOPY šaltinis [paskirtis] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
Kur:\n\
\n\
[/I] Tarti, kad katalogas, jei paskirtis neegzistuoja ir kopijuojami\n\
\t2 ar daugiau failų\n\
[/S] Kopijuoti katalogus ir pakatalogius\n\
[/E] Kopijuoti katalogus ir pakatalogius, taip pat ir tuščius\n\
[/Q] Kopijuojant nerodyti vardų, kopijuoti tyliai.\n\
[/F] Kopijuojant rodyti pilnus šaltinio ir paskirties vardus\n\
[/L] Modeliuoti veikimą rodant failus, kurie būtų kopijuojami\n\
[/W] Raginti prieš pradedant kopijavimo operaciją\n\
[/T] Sukuria tuščią katalogų struktūrą, bet nekopijuoja jokių failų\n\
[/Y] Nerodyti raginimų, kai perrašomi failai\n\
[/-Y] Įjungti raginimus, kai perrašomi failai\n\
[/P] Ragina prieš kopijuojant kiekvieną šaltinio failą\n\
[/N] Kopijuoti naudojant trumpus vardus\n\
[/U] Kopijuoti tik tuos failus, kurie jau egzistuoja paskirties vietoje\n\
[/R] Perrašyti visus nekeičiamus failus\n\
[/H] Kopijuoti paslėptus ir sisteminius failus\n\
[/C] Tęsti, net jei įvyksta klaida kopijuojant\n\
[/A] Kopijuoti tik failus su nustatytu archyvavimo požymiu\n\
[/M] Kopijuoti tik failus su nustatytu archyvavimo požymiu, pašalinti\n\
\tarchyvavimo požymį\n\
[/D | /D:m-d-y] Kopijuoti naujus failus arba modifikuotos po nurodytos datos.\n\
\t\tJei data nenurodyta, kopijuoti tik jei paskirties failas yra\n\
\t\tsenesnis už šaltinio failą\n\n"
}
#pragma code_page(default)

View File

@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "xcopy.h"
#pragma code_page(65001)
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
@@ -76,3 +79,4 @@ Parameters:\n\
\t\tdatum. Als geen detum wordt gegeven, copiëer alleen als bron nieuwer is.\n\n"
}
#pragma code_page(default)

View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "xcopy.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL

View File

@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "xcopy.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT

View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "xcopy.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL

View File

@@ -20,27 +20,31 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "xcopy.h"
/* UTF-8 */
#pragma code_page(65001)
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_INVPARMS,
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'xcopy /?' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
"Недопустимое число параметров - попробуйте 'xcopy /?' для получения\n\
подробного описания.\n"
STRING_INVPARM,
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%s' - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'xcopy /?' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
STRING_PAUSE, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <enter>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
STRING_SIMCOPY, "%d <EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><>) <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
STRING_COPY, "%d <EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><>) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
STRING_QISDIR, "'%s' <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?\n" \
"(F - <EFBFBD><EFBFBD><EFBFBD><EFBFBD>, D - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n"
"Недопустимый параметр '%s' - попробуйте 'xcopy /?' для получения подробного\n\
описания.\n"
STRING_PAUSE, "Нажмите клавишу <enter>, чтобы начать копирование.\n"
STRING_SIMCOPY, "%d файл(ов) было бы скопировано.\n"
STRING_COPY, "%d файл(ов) скопировано.\n"
STRING_QISDIR, "'%s' является файлом или папкой?\n" \
"(F - Файл, D - Папка)\n"
STRING_SRCPROMPT,"%s? (Yes|No)\n"
STRING_OVERWRITE,"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s? (Yes|No|All)\n"
STRING_COPYFAIL, "<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%s' <EFBFBD> '%s' <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %d\n"
STRING_OPENFAIL, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%s'\n"
STRING_READFAIL, "<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
STRING_OVERWRITE,"Переписать %s? (Yes|No|All)\n"
STRING_COPYFAIL, "При копировании '%s' в '%s' произошла ошибка: %d\n"
STRING_OPENFAIL, "Невозможно открыть '%s'\n"
STRING_READFAIL, "При чтении '%s' произошла ошибка\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
@@ -48,35 +52,36 @@ STRINGTABLE
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>\n\
"XCOPY - Копирует файлы и деревья папок\n\
\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\
Синтаксис:\n\
XCOPY source [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
<EFBFBD><EFBFBD><EFBFBD>:\n\
Где:\n\
\n\
[/I] <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>,\n\
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/S] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/E] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/Q] <EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/F] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/L] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/W] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/T] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.\n\
[/Y] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/-Y] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/P] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.\n\
[/N] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/U] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.\n\
[/R] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><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> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/H] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.\n\
[/C] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/A] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\".\n\
[/M] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\",\n\
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
[/D | /D:m-d-y] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.\n"
[/I] Если конечная папка отсутствует и копируется более одного файла,\n\
то предполагается папка в качестве места назначения.\n\
[/S] Копирует папки и подпапки.\n\
[/E] Копирует папки и подпапки, включая пустые.\n\
[/Q] Не отображает имена копируемых файлов.\n\
[/F] Отображает полные имена исходных и конечных файлов.\n\
[/L] Выводит список файлов, которые будут скопированы.\n\
[/W] Запрашивает подтверждение перед началом копирования.\n\
[/T] Создает структуру папок, но не копирует файлы.\n\
[/Y] Подавляет запрос на подтверждение перезаписи файлов.\n\
[/-Y] Запрашивает подтверждение на перезапись файлов.\n\
[/P] Запрашивает подтверждение для каждого копируемого файла.\n\
[/N] Использует короткие имена файлов при копировании.\n\
[/U] Копирует только те файлы, которые уже существуют в конечной папке.\n\
[/R] Перезаписывает файлы, доступные только для чтения.\n\
[/H] Копирует скрытые и системные файлы.\n\
[/C] Продолжает работу, даже если произошла ошибка.\n\
[/A] Копирует только те файлы, для которых установлен атрибут \"архивный\".\n\
[/M] Копирует только те файлы, для которых установлен атрибут \"архивный\",\n\
при этом атрибут удаляется.\n\
[/D | /D:m-d-y] Копирует только новые файлы или те, которые были изменены\n\
после указанной даты. Если дата не указана, копирует только\n\
те файлы, которые новее в исходной папке.\n"
}
#pragma code_page(default)

View File

@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "xcopy.h"
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
@@ -78,5 +80,4 @@ Where:\n\
\t\tod izvora\n\n"
}
#pragma code_page(default)

View File

@@ -16,20 +16,23 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include "xcopy.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "Bg.rc"
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "xcopy command\0"
#define REACTOS_STR_INTERNAL_NAME "xcopy\0"
#define REACTOS_STR_ORIGINAL_FILENAME "xcopy.exe\0"
#include <reactos/version.rc>
#include "Da.rc"
#include "De.rc"
#include "El.rc"
#include "En.rc"
#include "Fr.rc"
#include "It.rc"
#include "Ja.rc"
#include "Ko.rc"
#include "Lt.rc"
#include "Nl.rc"
#include "No.rc"
#include "Pl.rc"

View File

@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
/* Local #defines */
#define RC_OK 0
#define RC_NOFILES 1

View File

@@ -3,10 +3,10 @@
<module name="xcopy" type="win32cui" installbase="system32" installname="xcopy.exe" unicode="true">
<include base="xcopy">.</include>
<library>wine</library>
<library>kernel32</library>
<library>advapi32</library>
<library>shell32</library>
<library>user32</library>
<library>kernel32</library>
<file>xcopy.c</file>
<file>xcopy.rc</file>
<file>rsrc.rc</file>
<metadata description="xcopy command-line tool" />
</module>

View File

@@ -1,14 +0,0 @@
#include <windows.h>
#include <commctrl.h>
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "xcopy command\0"
#define REACTOS_STR_INTERNAL_NAME "xcopy\0"
#define REACTOS_STR_ORIGINAL_FILENAME "xcopy.exe\0"
#include <reactos/version.rc>
#include "rsrc.rc"

View File

@@ -22,7 +22,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
*/
#define COBJMACROS

View File

@@ -14,6 +14,13 @@
<description>The most popular and one of the best free Web Browsers out there.</description>
<location>http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.11/win32/en-US/Firefox%20Setup%203.0.11.exe</location>
</application>
<application name="Opera">
<regname>Opera</regname>
<licence>Freeware</licence>
<version>9.63</version>
<description>The popular Opera Browser with many advanced features and including a Mail and BitTorrent client.</description>
<location>http://ftp.opera.com/pub/opera/win/963/en/Opera_963_classic_Setup.exe</location>
</application>
<application name="Abyss Web server X1 2.6">
<regname>AbyssX1 2.6</regname>
<licence>Freeware</licence>
@@ -46,6 +53,16 @@
<description>The most popular client for the Internet Relay Chat (IRC)</description>
<location>http://mirc.bigchief.dk/mirc635.exe</location>
</application>
<application name="Samba TNG">
<description>This tool allows you to access your Windows shared folders/printers with ReactOS.</description>
<location>http://svn.reactos.org/packages/samba-tng.exe</location>
</application>
<application name="Miranda IM">
<regname>Miranda IM</regname>
<version>0.7.4</version>
<description>Open source multiprotocol instant messaging application - May not work completely.</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/miranda/miranda-im-v0.7.4-unicode.exe</location>
</application>
<application name="Putty">
<regname>PuTTY version 0.60</regname>
<licence>MIT</licence>
@@ -75,6 +92,18 @@
<description>A light viewer which lets you open, view, and print documents created with Microsoft Word 6.0 to 2007, TextMaker as well as OpenDocument and other common office file formats.</description>
<location>http://www.softmaker.net/down/TMViewerSetup.exe</location>
</application>
<application name="OpenOffice 2.4">
<regname>OpenOffice.org 2.4.2</regname>
<version>2.4.2</version>
<description>THE Open Source Office Suite.</description>
<location>http://ftp.plusline.de/OpenOffice/stable/2.4.2/OOo_2.4.2_Win32Intel_install_wJRE_en-US.exe</location>
</application>
<application name="OpenOffice 3.0">
<regname>OpenOffice.org 3.0.1</regname>
<version>3.0.1</version>
<description>THE Open Source Office Suite.</description>
<location>http://ftp.tu-chemnitz.de/pub/openoffice/stable/3.0.1/OOo_3.0.1_Win32Intel_install_en-US.exe</location>
</application>
</category>
<category name="Graphics" icon="3">
<application name="IrfanView">
@@ -83,6 +112,11 @@
<description>Viewer for all kinds of graphics/audio files/video files.</description>
<location>http://irfanview.tuwien.ac.at/iview423_setup.exe</location>
</application>
<application name="IrfanView Plugins">
<version>4.22</version>
<description>Additional Plugins for supporting more file types.</description>
<location>http://irfanview.tuwien.ac.at/plugins/irfanview_plugins_422_setup.exe</location>
</application>
<application name="TuxPaint">
<regname>Tux Paint 0.9.19</regname>
<version>0.9.19</version>
@@ -97,6 +131,18 @@
</application>
</category>
<category name="Libraries" icon="4">
<application name="Microsoft XML 3">
<regname>msxml3</regname>
<version>3.0</version>
<description>MSXML3 is needed for some MSI Installers.</description>
<location>http://download.microsoft.com/download/8/8/8/888f34b7-4f54-4f06-8dac-fa29b19f33dd/msxml3.msi</location>
</application>
<application name="OLE Viewer and Microsoft Foundation Classes version 4">
<regname>mfc40</regname>
<version>4.0</version>
<description>MFC 4 is needed by some applications</description>
<location>http://download.microsoft.com/download/ole/ole2v/3.5/w351/en-us/ole2v.exe</location>
</application>
<application name="Visual Basic 5 Runtime">
<regname>vb5run</regname>
<version>5.0</version>
@@ -109,8 +155,38 @@
<description>Visual Basic 6 Runtime</description>
<location>http://download.microsoft.com/download/vb60pro/install/6/win98me/en-us/vbrun60.exe</location>
</application>
<application name="Visual Studio 6 Runtime">
<regname>vc6run</regname>
<version>6.0</version>
<description>Visual Studio 6 Runtime</description>
<location>http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe</location>
</application>
<application name="Visual Studio 2005 Runtime">
<regname>vc2005run</regname>
<version>7.0</version>
<description>Visual Studio 2005 Runtime</description>
<location>http://download.microsoft.com/download/d/3/4/d342efa6-3266-4157-a2ec-5174867be706/vcredist_x86.exe</location>
</application>
<application name="Visual Studio 2005 Runtime SP1">
<regname>vc2005sp1run</regname>
<version>7.1</version>
<description>Visual Studio 2005 Runtime SP1</description>
<location>http://download.microsoft.com/download/e/1/c/e1c773de-73ba-494a-a5ba-f24906ecf088/vcredist_x86.exe</location>
</application>
<application name="Visual Studio 2008 Runtime">
<regname>vc2008run</regname>
<version>8.0</version>
<description>Visual Studio 2008 Runtime</description>
<location>http://download.microsoft.com/download/1/1/1/1116b75a-9ec3-481a-a3c8-1777b5381140/vcredist_x86.exe</location>
</application>
</category>
<category name="Multimedia" icon="4">
<application name="SMPlayer 0.6.7">
<regname>smplayer</regname>
<version>0.6.7</version>
<description>SMPlayer</description>
<location>http://dfn.dl.sourceforge.net/sourceforge/smplayer/smplayer_0.6.7_setup.exe</location>
</application>
<application name="VLC Media Player 0.8.0">
<regname>vlc0.8.0</regname>
<licence>GPL</licence>
@@ -120,6 +196,12 @@
</application>
</category>
<category name="Development" icon="5">
<application name="ReactOS Build Environment">
<regname>ReactOS Build Environment 1.4.4</regname>
<version>1.4.4</version>
<description>Allows you to build the ReactOS Source. For more instructions see ReactOS wiki.</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/reactos/RosBE-1.4.4.exe</location>
</application>
<application name="MinGW">
<regname>MinGW 5.1.3</regname>
<version>5.1.3</version>
@@ -191,6 +273,12 @@
<location>http://ftp.gnu.org/gnu/winboard/winboard-4_2_7b.exe</location>
</application>
</category>
<category name="Science" icon="11">
</category>
<category name="Edutainment" icon="12">
</category>
<category name="Engineering" icon="13">
</category>
<category name="Tools" icon="7">
<application name="7-Zip">
<regname>7-Zip 4.57</regname>
@@ -198,6 +286,18 @@
<description>Utility to create and open 7zip, zip, tar, rar and other archive files.</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/sevenzip/7z457.exe</location>
</application>
<application name="uTorrent">
<regname>&#181;Torrent</regname>
<version>1.8</version>
<description>Small and fast BitTorrent Client</description>
<location>http://download.utorrent.com/1.8.2/utorrent-1.8.2.upx.exe</location>
</application>
<application name="Audio Grabber">
<regname>Audiograbber 1.83 SE</regname>
<version>1.83 SE</version>
<description>A very good CD Ripper/Audio File Converter.</description>
<location>http://www.audiograbber.de/files/4898276276/agsetup183se.exe</location>
</application>
</category>
<category name="Drivers" icon="8">
<application name="AC97 Driver for VirtualBox">

View File

@@ -1,61 +1,61 @@
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
IDD_DOWNLOAD DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0, 0, 220, 76
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Download..."
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER|PBS_SMOOTH,10,10,200,12
LTEXT "", IDC_STATUS, 10, 30, 200, 10, SS_CENTER
PUSHBUTTON "Abbrechen", IDCANCEL, 85, 58, 50, 15, WS_GROUP | WS_TABSTOP
END
IDD_PROF DIALOGEX 6, 6, 267, 110
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Einstellungen"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Download Ordner:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "W&<26>hle...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Installationsdateien nach dem Setup l<>schen", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Update Server:", -1, 6, 55, 140, 8
EDITTEXT IDC_UPDATE_SERVER_EDIT, 6, 65, 255, 14, WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&OK", IDOK, 147, 90, 54, 15
PUSHBUTTON "&Abbrechen", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "Download ! - ReactOS Downloader"
IDS_WELCOME_TITLE "Willkommen im ReactOS Downloader"
IDS_WELCOME "Bitte w<>hlen Sie links eine Kategorie. Dies ist Version 1.1."
IDS_NO_APP_TITLE "Keine Anwendung ausgew<65>hlt"
IDS_NO_APP "Bitte w<>hlen Sie eine Anwendung, bevor Sie die Download-Schaltfl<66>che bet<65>tigen. Wenn Sie Hilfe ben<65>tigen, dr<64>cken Sie die Hilfe-Schaltfl<66>che in der oberen rechten Ecke."
IDS_UPDATE_TITLE "Update"
IDS_UPDATE "Diese Funktion wurde noch nicht implementiert."
IDS_HELP_TITLE "Hilfe"
IDS_HELP "W<>hlen Sie links eine Kategorie, w<>hlen Sie eine Anwendung und dr<64>cken Sie die Download-Schaltfl<66>che. Um die Anwendungsinformationen zu aktualisieren, dr<64>cken Sie die Schaltfl<66>che neben der Hilfe-Schaltfl<66>che."
IDS_NO_APPS "In dieser Kategorie sind bisher noch keine Anwendungen. Sie k<>nnen helfen, indem Sie Anwendungen hinzuf<75>gen."
IDS_CHOOSE_APP "Bitte w<>hlen Sie eine Anwendung."
IDS_CHOOSE_SUB "Bitte w<>hlen Sie eine Unterkategorie."
IDS_CHOOSE_CATEGORY "Bitte w<>hlen Sie eine Kategorie."
IDS_CHOOSE_BOTH "Bitte w<>hlen Sie eine Unterkategorie oder eine Anwendung."
IDS_XMLERROR_1 "XML Datei nicht gefunden!"
IDS_XMLERROR_2 "XML Datei kann nicht verarbeitet werden!"
IDS_DOWNLOAD_ERROR "Die Datei konnte nicht heruntergeladen werden.\nBitte pr<70>fen sie, ob eine Verbindung zum Internet besteht."
IDS_VERSION "Version: "
IDS_LICENCE "Lizenz: "
IDS_MAINTAINER "Maintainer: "
IDS_APPS_TITLE "Anwendungen"
IDS_CATS_TITLE "Kategorien"
IDS_CHOOSE_FOLDER "Bitte w<>hlen Sie den Ordner..."
IDS_NOTCREATE_REGKEY "Registryschl<68>ssel k<>nnte nicht erstellt werden."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Es konnte kein Ordner mit diesem Namen erstellt werden!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s wird ben<65>tigt um %s ausf<73>hren zu k<>nnen. Soll %s jetzt installiert werden?"
TTT_HELPBUTTON "Hilfe <20>ber den Downloader"
TTT_UPDATEBUTTON "Noch nicht vorhanden"
TTT_PROFBUTTON "Konfiguriert den Downloader"
END
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
IDD_DOWNLOAD DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0, 0, 220, 76
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Download..."
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER|PBS_SMOOTH,10,10,200,12
LTEXT "", IDC_STATUS, 10, 30, 200, 10, SS_CENTER
PUSHBUTTON "Abbrechen", IDCANCEL, 85, 58, 50, 15, WS_GROUP | WS_TABSTOP
END
IDD_PROF DIALOGEX 6, 6, 267, 110
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Einstellungen"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Download Ordner:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "W&<26>hle...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Installationsdateien nach dem Setup l<>schen", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Update Server:", -1, 6, 55, 140, 8
EDITTEXT IDC_UPDATE_SERVER_EDIT, 6, 65, 255, 14, WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&OK", IDOK, 147, 90, 54, 15
PUSHBUTTON "&Abbrechen", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "Download ! - ReactOS Downloader"
IDS_WELCOME_TITLE "Willkommen im ReactOS Downloader"
IDS_WELCOME "Bitte w<>hlen Sie links eine Kategorie. Dies ist Version 1.1."
IDS_NO_APP_TITLE "Keine Anwendung ausgew<65>hlt"
IDS_NO_APP "Bitte w<>hlen Sie eine Anwendung, bevor Sie die Download-Schaltfl<66>che bet<65>tigen. Wenn Sie Hilfe ben<65>tigen, dr<64>cken Sie die Hilfe-Schaltfl<66>che in der oberen rechten Ecke."
IDS_UPDATE_TITLE "Update"
IDS_UPDATE "Diese Funktion wurde noch nicht implementiert."
IDS_HELP_TITLE "Hilfe"
IDS_HELP "W<>hlen Sie links eine Kategorie, w<>hlen Sie eine Anwendung und dr<64>cken Sie die Download-Schaltfl<66>che. Um die Anwendungsinformationen zu aktualisieren, dr<64>cken Sie die Schaltfl<66>che neben der Hilfe-Schaltfl<66>che."
IDS_NO_APPS "In dieser Kategorie sind bisher noch keine Anwendungen. Sie k<>nnen helfen, indem Sie Anwendungen hinzuf<75>gen."
IDS_CHOOSE_APP "Bitte w<>hlen Sie eine Anwendung."
IDS_CHOOSE_SUB "Bitte w<>hlen Sie eine Unterkategorie."
IDS_CHOOSE_CATEGORY "Bitte w<>hlen Sie eine Kategorie."
IDS_CHOOSE_BOTH "Bitte w<>hlen Sie eine Unterkategorie oder eine Anwendung."
IDS_XMLERROR_1 "XML Datei nicht gefunden!"
IDS_XMLERROR_2 "XML Datei kann nicht verarbeitet werden!"
IDS_DOWNLOAD_ERROR "Die Datei konnte nicht heruntergeladen werden.\nBitte pr<70>fen sie, ob eine Verbindung zum Internet besteht."
IDS_VERSION "Version: "
IDS_LICENCE "Lizenz: "
IDS_MAINTAINER "Maintainer: "
IDS_APPS_TITLE "Anwendungen"
IDS_CATS_TITLE "Kategorien"
IDS_CHOOSE_FOLDER "Bitte w<>hlen Sie den Ordner..."
IDS_NOTCREATE_REGKEY "Registryschl<68>ssel k<>nnte nicht erstellt werden."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Es konnte kein Ordner mit diesem Namen erstellt werden!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s wird ben<65>tigt um %s ausf<73>hren zu k<>nnen. Soll %s jetzt installiert werden?"
TTT_HELPBUTTON "Hilfe <20>ber den Downloader"
TTT_UPDATEBUTTON "Noch nicht vorhanden"
TTT_PROFBUTTON "Konfiguriert den Downloader"
END

View File

@@ -1,61 +1,61 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
IDD_DOWNLOAD DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0, 0, 220, 76
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Download..."
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER|PBS_SMOOTH,10,10,200,12
LTEXT "", IDC_STATUS, 10, 30, 200, 10, SS_CENTER
PUSHBUTTON "Cancel", IDCANCEL, 85, 58, 50, 15, WS_GROUP | WS_TABSTOP
END
IDD_PROF DIALOGEX 6, 6, 267, 110
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Preferences"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Download folder:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "C&hoose...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Delete installation files after setup", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Update server:", -1, 6, 55, 140, 8
EDITTEXT IDC_UPDATE_SERVER_EDIT, 6, 65, 255, 14, WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&OK", IDOK, 147, 90, 54, 15
PUSHBUTTON "&Cancel", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "Download ! - ReactOS Downloader"
IDS_WELCOME_TITLE "Welcome to the ReactOS Downloader"
IDS_WELCOME "Please choose a category on the left. This is version 1.1."
IDS_NO_APP_TITLE "No application selected"
IDS_NO_APP "Please select a Application before you click the download button, if you need assistance please click on the question mark button on the top right corner."
IDS_UPDATE_TITLE "Update"
IDS_UPDATE "Sorry this feature is not implemented yet."
IDS_HELP_TITLE "Help"
IDS_HELP "Choose a category on the left, then choose a application and click the download button. To update the application information click the button next to the help button."
IDS_NO_APPS "Sorry, there no applications in this category yet. You can help and add more applications."
IDS_CHOOSE_APP "Please choose an application."
IDS_CHOOSE_SUB "Please choose a subcategory."
IDS_CHOOSE_CATEGORY "Please choose a category."
IDS_CHOOSE_BOTH "Please choose a subcategory or an application."
IDS_XMLERROR_1 "Could not find the xml file !"
IDS_XMLERROR_2 "Could not parse the xml file !"
IDS_DOWNLOAD_ERROR "Unable to download the file.\nPlease check your internet connection."
IDS_VERSION "Version: "
IDS_LICENCE "Licence: "
IDS_MAINTAINER "Maintainer: "
IDS_APPS_TITLE "Applications"
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s is required to run %s. Should %s be installed now?"
TTT_HELPBUTTON "Get help about the downloader"
TTT_UPDATEBUTTON "Not yet available"
TTT_PROFBUTTON "Let you configure the downloader"
END
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
IDD_DOWNLOAD DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0, 0, 220, 76
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Download..."
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER|PBS_SMOOTH,10,10,200,12
LTEXT "", IDC_STATUS, 10, 30, 200, 10, SS_CENTER
PUSHBUTTON "Cancel", IDCANCEL, 85, 58, 50, 15, WS_GROUP | WS_TABSTOP
END
IDD_PROF DIALOGEX 6, 6, 267, 110
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Preferences"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Download folder:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "C&hoose...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Delete installation files after setup", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Update server:", -1, 6, 55, 140, 8
EDITTEXT IDC_UPDATE_SERVER_EDIT, 6, 65, 255, 14, WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&OK", IDOK, 147, 90, 54, 15
PUSHBUTTON "&Cancel", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "Download ! - ReactOS Downloader"
IDS_WELCOME_TITLE "Welcome to the ReactOS Downloader"
IDS_WELCOME "Please choose a category on the left. This is version 1.1."
IDS_NO_APP_TITLE "No application selected"
IDS_NO_APP "Please select a Application before you click the download button, if you need assistance please click on the question mark button on the top right corner."
IDS_UPDATE_TITLE "Update"
IDS_UPDATE "Sorry this feature is not implemented yet."
IDS_HELP_TITLE "Help"
IDS_HELP "Choose a category on the left, then choose a application and click the download button. To update the application information click the button next to the help button."
IDS_NO_APPS "Sorry, there no applications in this category yet. You can help and add more applications."
IDS_CHOOSE_APP "Please choose an application."
IDS_CHOOSE_SUB "Please choose a subcategory."
IDS_CHOOSE_CATEGORY "Please choose a category."
IDS_CHOOSE_BOTH "Please choose a subcategory or an application."
IDS_XMLERROR_1 "Could not find the xml file !"
IDS_XMLERROR_2 "Could not parse the xml file !"
IDS_DOWNLOAD_ERROR "Unable to download the file.\nPlease check your internet connection."
IDS_VERSION "Version: "
IDS_LICENCE "Licence: "
IDS_MAINTAINER "Maintainer: "
IDS_APPS_TITLE "Applications"
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s is required to run %s. Should %s be installed now?"
TTT_HELPBUTTON "Get help about the downloader"
TTT_UPDATEBUTTON "Not yet available"
TTT_PROFBUTTON "Let you configure the downloader"
END

View File

@@ -1,66 +1,66 @@
/*
*Spanish Language resource file
* Actualizado Javier Remacha 2007-12-01,2007-12-31
*/
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
IDD_DOWNLOAD DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0, 0, 220, 76
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Descargar..."
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER|PBS_SMOOTH,10,10,200,12
LTEXT "", IDC_STATUS, 10, 30, 200, 10, SS_CENTER
PUSHBUTTON "Cancelar", IDCANCEL, 85, 58, 50, 15, WS_GROUP | WS_TABSTOP
END
IDD_PROF DIALOGEX 6, 6, 267, 110
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Preferencias"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Carpeta de descarga:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Seleccionar...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Borrar archivos de instalaci<63>n tras la instalaci<63>n", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Actualizar servidor:", -1, 6, 55, 140, 8
EDITTEXT IDC_UPDATE_SERVER_EDIT, 6, 65, 255, 14, WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&Aceptar", IDOK, 147, 90, 54, 15
PUSHBUTTON "&Cancelar", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "<22>Descargar! - Descargador de ReactOS"
IDS_WELCOME_TITLE "Bienvenido al descargador de ReactOS"
IDS_WELCOME "Por favor selecciona una categor<6F>a de la izquierda. Esta es la versi<73>n 1.1."
IDS_NO_APP_TITLE "Ninguna aplicaci<63>n seleccionada"
IDS_NO_APP "Por favor seleccione una Aplicaci<63>n antes de pulsar el bot<6F>n de Descarga, si necesita asistencia por favor pulsa el bot<6F>n con la interrogaci<63>n en la esquina superior derecha."
IDS_UPDATE_TITLE "Actualizar"
IDS_UPDATE "Perd<72>n esta caracter<65>stica no a sido implementada todav<61>a."
IDS_HELP_TITLE "Ayuda"
IDS_HELP "Selecciona una categor<6F>a de la izquierda, entonces selecciona una aplicaci<63>n y pulsa el bot<6F>n de descargar. Para actualizar la informaci<63>n de la aplicaci<63>n pulsa el bot<6F>n junto al bot<6F>n de ayuda."
IDS_NO_APPS "Perd<72>n, aun no hay ninguna aplicaci<63>n en esta categor<6F>a. Puedes ayudar y a<>adir m<>s aplicaciones."
IDS_CHOOSE_APP "Por favor selecciona una aplicaci<63>n."
IDS_CHOOSE_SUB "Por favor selecciona una subcategor<6F>a."
IDS_CHOOSE_CATEGORY "Por favor selecciona una categor<6F>a."
IDS_CHOOSE_BOTH "Por favor selecciona una subcategoria o una aplicaci<63>n."
IDS_XMLERROR_1 "<22>No se a encontrado el archivo xml!"
IDS_XMLERROR_2 "<22>No se ha podido analizar el archivo xml!"
IDS_DOWNLOAD_ERROR "Imposible descargar el archivo.\nPor favor verifica tu conexi<78>n a internet."
IDS_VERSION "Versi<73>n: "
IDS_LICENCE "Licencia: "
IDS_MAINTAINER "Mantenido por: "
IDS_APPS_TITLE "Aplicaciones"
IDS_CATS_TITLE "Categorias"
IDS_CHOOSE_FOLDER "Por favor, seleccione la carpeta..."
IDS_NOTCREATE_REGKEY "No se puede crear la llave del registro."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "<22>Imposible crear una carpeta con este nombre!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s en necesario para ejecutar %s. <20>Desea instalar %s ahora?"
TTT_HELPBUTTON "Obtenga ayuda acerca de Downloader"
TTT_UPDATEBUTTON "No disponible todav<61>a"
TTT_PROFBUTTON "Le permite configurar Downloader"
END
/*
*Spanish Language resource file
* Actualizado Javier Remacha 2007-12-01,2007-12-31
*/
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
IDD_DOWNLOAD DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0, 0, 220, 76
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Descargar..."
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER|PBS_SMOOTH,10,10,200,12
LTEXT "", IDC_STATUS, 10, 30, 200, 10, SS_CENTER
PUSHBUTTON "Cancelar", IDCANCEL, 85, 58, 50, 15, WS_GROUP | WS_TABSTOP
END
IDD_PROF DIALOGEX 6, 6, 267, 110
STYLE DS_SHELLFONT | DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "Preferencias"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Carpeta de descarga:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Seleccionar...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Borrar archivos de instalaci<63>n tras la instalaci<63>n", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Actualizar servidor:", -1, 6, 55, 140, 8
EDITTEXT IDC_UPDATE_SERVER_EDIT, 6, 65, 255, 14, WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&Aceptar", IDOK, 147, 90, 54, 15
PUSHBUTTON "&Cancelar", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "<22>Descargar! - Descargador de ReactOS"
IDS_WELCOME_TITLE "Bienvenido al descargador de ReactOS"
IDS_WELCOME "Por favor selecciona una categor<6F>a de la izquierda. Esta es la versi<73>n 1.1."
IDS_NO_APP_TITLE "Ninguna aplicaci<63>n seleccionada"
IDS_NO_APP "Por favor seleccione una Aplicaci<63>n antes de pulsar el bot<6F>n de Descarga, si necesita asistencia por favor pulsa el bot<6F>n con la interrogaci<63>n en la esquina superior derecha."
IDS_UPDATE_TITLE "Actualizar"
IDS_UPDATE "Perd<72>n esta caracter<65>stica no a sido implementada todav<61>a."
IDS_HELP_TITLE "Ayuda"
IDS_HELP "Selecciona una categor<6F>a de la izquierda, entonces selecciona una aplicaci<63>n y pulsa el bot<6F>n de descargar. Para actualizar la informaci<63>n de la aplicaci<63>n pulsa el bot<6F>n junto al bot<6F>n de ayuda."
IDS_NO_APPS "Perd<72>n, aun no hay ninguna aplicaci<63>n en esta categor<6F>a. Puedes ayudar y a<>adir m<>s aplicaciones."
IDS_CHOOSE_APP "Por favor selecciona una aplicaci<63>n."
IDS_CHOOSE_SUB "Por favor selecciona una subcategor<6F>a."
IDS_CHOOSE_CATEGORY "Por favor selecciona una categor<6F>a."
IDS_CHOOSE_BOTH "Por favor selecciona una subcategoria o una aplicaci<63>n."
IDS_XMLERROR_1 "<22>No se a encontrado el archivo xml!"
IDS_XMLERROR_2 "<22>No se ha podido analizar el archivo xml!"
IDS_DOWNLOAD_ERROR "Imposible descargar el archivo.\nPor favor verifica tu conexi<78>n a internet."
IDS_VERSION "Versi<73>n: "
IDS_LICENCE "Licencia: "
IDS_MAINTAINER "Mantenido por: "
IDS_APPS_TITLE "Aplicaciones"
IDS_CATS_TITLE "Categorias"
IDS_CHOOSE_FOLDER "Por favor, seleccione la carpeta..."
IDS_NOTCREATE_REGKEY "No se puede crear la llave del registro."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "<22>Imposible crear una carpeta con este nombre!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s en necesario para ejecutar %s. <20>Desea instalar %s ahora?"
TTT_HELPBUTTON "Obtenga ayuda acerca de Downloader"
TTT_UPDATEBUTTON "No disponible todav<61>a"
TTT_PROFBUTTON "Le permite configurar Downloader"
END

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