Compare commits

...

1566 Commits

Author SHA1 Message Date
Johannes Anderwald
7bc6fc0647 [MMIXER]
- Merge 50674

svn path=/branches/audio-bringup/; revision=51456
2011-04-25 20:38:39 +00:00
Johannes Anderwald
eb95f0258e - Fix a bug where a spinlock was acquired on not initialized local variable
svn path=/branches/audio-bringup/; revision=50672
2011-02-12 18:54:43 +00:00
Johannes Anderwald
e1b24207af [AUDIO-BRINGUP]
- Remove debugging code which caused a crash when the ks device does not use resources

svn path=/branches/audio-bringup/; revision=50255
2011-01-01 16:44:19 +00:00
Johannes Anderwald
1ff1757719 [AUDIO-BRINGUP]
- Hack-register software bus driver

svn path=/branches/audio-bringup/; revision=50142
2010-12-26 11:35:05 +00:00
Johannes Anderwald
b0d8c894e8 [AUDIO-BRINGUP]
- Fix pci / swenum group key
- Remove swenum from reactos.dff
- Put swenum in bootstrap base

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

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

svn path=/branches/audio-bringup/; revision=50097
2010-12-22 15:20:38 +00:00
Johannes Anderwald
030ee14071 [PSDK]
- Add ks gate functions

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

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

svn path=/branches/audio-bringup/; revision=50067
2010-12-20 02:45:18 +00:00
Johannes Anderwald
219cbd064d [AUDIO-BRINGUP]
- Implement SwDispatchPower

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

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

svn path=/branches/audio-bringup/; revision=50034
2010-12-16 09:09:43 +00:00
Johannes Anderwald
7a95ed1cfa [KS]
- Fix 2 bugs in KsCreateBusEnumObject. It didnt store the allocated device extension and it didnt store the PnpDeviceObject when it was provided by the caller
- Implement KsGetBusEnumIdentifier, KsGetBusEnumPnpDeviceObject

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

svn path=/branches/audio-bringup/; revision=50001
2010-12-10 11:03:28 +00:00
Johannes Anderwald
f93d9928e3 [AUDIO-BRINGUP]
- Implement WODM_RESTART / WODM_PAUSE
- Fixes playback in Audacity and many others probably

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

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

svn path=/branches/audio-bringup/; revision=49997
2010-12-10 06:14:10 +00:00
Johannes Anderwald
7ae8c563cc [AUDIO-BRINGUP]
- Respect channel count which defines if the control acts uniform or per channel
- Fix bug in MMixerSetGetMuxControlDetails

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

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

svn path=/branches/audio-bringup/; revision=49983
2010-12-07 22:22:24 +00:00
Johannes Anderwald
133053626b - Fix compile #1
svn path=/branches/audio-bringup/; revision=49981
2010-12-07 21:58:43 +00:00
Johannes Anderwald
64a772037e - Revert 49927 "Update to trunk" as it breaks KsStudio (again)
svn path=/branches/audio-bringup/; revision=49979
2010-12-07 21:46:43 +00:00
Johannes Anderwald
2b777abf96 [AUDIO-BRINGUP]
- Silence traces

svn path=/branches/audio-bringup/; revision=49975
2010-12-07 17:46:25 +00:00
Johannes Anderwald
4cf9ead133 [AUDIO-BRINGUP]
- Fix major bug which made change volume / mute requests fail

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

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

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


svn path=/branches/audio-bringup/; revision=49965
2010-12-06 16:00:06 +00:00
Johannes Anderwald
3da0b30d8a [AUDIO-BRINGUP]
- Implement determination of the channel count for source mixer lines

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

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

svn path=/branches/audio-bringup/; revision=49958
2010-12-06 01:06:37 +00:00
Johannes Anderwald
d8bb0e8df8 [AUDIO-BRINGUP]
- Remove installation of non-existant wdmaud / sysaudio / kmixer

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

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

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



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

svn path=/branches/audio-bringup/; revision=49931
2010-12-03 16:49:33 +00:00
Johannes Anderwald
6c8e7899a9 - Update to trunk
svn path=/branches/audio-bringup/; revision=49927
2010-12-03 15:05:26 +00:00
Johannes Anderwald
16d979e4ad - Merge from trunk
- Hackfixed to build

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

svn path=/branches/audio-bringup/; revision=49923
2010-12-03 13:32:50 +00:00
Johannes Anderwald
8e0af0da53 [AUDIO-BRINGUP]
- Remove wdmaud test code

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

svn path=/branches/audio-bringup/; revision=49919
2010-12-03 11:47:43 +00:00
Johannes Anderwald
0db537dac8 [AUDIO-BRINGUP]
- Fix opening of mixer / midi devices

svn path=/branches/audio-bringup/; revision=49917
2010-12-03 11:14:29 +00:00
Johannes Anderwald
458fddc634 [AUDIO-BRINGUP]
- Activate dsound rewrite

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

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

svn path=/branches/audio-bringup/; revision=49909
2010-12-03 03:36:28 +00:00
Timo Kreuzer
1a20b0bd9c [NTOSKRNL]
patch by Samuel Serapion:
Implement MemorySectionName case for NtQueryVirtualMemory. Protect buffer access with SEH.

See issue #5753 for more details.

svn path=/trunk/; revision=49898
2010-12-02 14:37:16 +00:00
Aleksey Bragin
ed5da47acd [FINDSTR]
- Port findstr (incomplete, as author of this patch states, it may satisfy RosBE, .c .h and .rc files) from FreeDOS project. Needed for RosBE-on-ReactOS support.
See issue #5724 for more details.

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

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

See issue #4909 for more details.

svn path=/trunk/; revision=49872
2010-11-30 16:29:49 +00:00
James Tabor
081b22869e [User32]
- Fixed export for PrintWindow see bug 5466 and 5609.

svn path=/trunk/; revision=49861
2010-11-29 16:48:27 +00:00
Pierre Schweitzer
6a6c5e47e6 [NTOSKRNL/NEWCC]
Init Dummy var even if just used for debug to suppress warning

svn path=/trunk/; revision=49858
2010-11-28 22:33:19 +00:00
Pierre Schweitzer
e8615c4221 [DDK]
FsRtlRemoveBaseMcbEntry() return is VOID

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

svn path=/trunk/; revision=49850
2010-11-28 16:38:51 +00:00
Pierre Schweitzer
b0fb94b1f3 [NTOSKRNL]
Never read code & commit while being tired...

svn path=/trunk/; revision=49848
2010-11-28 16:33:56 +00:00
Aleksey Bragin
5afe6c4f39 [ATL]
- Ettl Martin: Make CComCriticalSection destructor virtual.
See issue #4975 for more details.

svn path=/trunk/; revision=49840
2010-11-28 12:10:59 +00:00
Timo Kreuzer
205fe71c5d [CRT]
Fix another typo

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

svn path=/trunk/; revision=49834
2010-11-28 01:37:16 +00:00
Timo Kreuzer
af040adf50 [CRT]
Fix typos

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

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

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

svn path=/trunk/; revision=49824
2010-11-27 19:02:37 +00:00
Aleksey Bragin
cc202fdc31 [FREELDR]
- Conditionally enable heap-related debugging and validation checks by an MM_DBG define for all architectures. Inspired by 49744.

svn path=/trunk/; revision=49792
2010-11-25 22:03:56 +00:00
Pierre Schweitzer
fb04d4fd23 [NTOSKRNL]
Fix the fix, ie fix x86.
Everything should work now ~

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

svn path=/trunk/; revision=49789
2010-11-24 20:55:15 +00:00
Sir Richard
5f47e1ddd0 [NTOS]: Seems like cpsr_c doesn't work in this case? Need to investigate. Put an infinite loop in the entrypoint on ARM.
svn path=/trunk/; revision=49786
2010-11-24 18:56:35 +00:00
Sir Richard
a5dbee0b8f [NTOS]: STATUS_SUCCESS is not the only succesful return code.
svn path=/trunk/; revision=49785
2010-11-24 18:53:47 +00:00
Timo Kreuzer
ec2d741f31 [SERVICES]
Fix a typo (|| instead of |). Found by clang.

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

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

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

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

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

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

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

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

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

svn path=/trunk/; revision=49767
2010-11-24 12:35:51 +00:00
Daniel Reimer
44af886a1c Updates for Rapps Download Database.
svn path=/trunk/; revision=49766
2010-11-24 08:56:20 +00:00
Pierre Schweitzer
531a052d9e [KERNEL32]
- Added real implementation of SetLastError() (instead of forwarding to NTDLL)
- Implemented BaseSetLastNTError()
- Renamed Basep8BitStringToCachedUnicodeString() to Basep8BitStringToStaticUnicodeString() and sightly changed its implementation
- Fixed implementation of LoadLibraryExA() & DisableThreadLibraryCalls() using those changes
This is matching w2k3 implementation. This is of course a WIP.

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

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

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

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

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

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

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

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

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

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

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

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

svn path=/trunk/; revision=49723
2010-11-23 11:47:50 +00:00
Timo Kreuzer
afe4af1acf [PSDK]
Partly sync windef.h with mingw-w64 and add specstrings.h
reverts the previous revert, fixed definition of NULL to __null in stddef.h

svn path=/trunk/; revision=49722
2010-11-23 11:30:17 +00:00
Timo Kreuzer
2ce6020471 revert r49718
svn path=/trunk/; revision=49720
2010-11-23 01:20:05 +00:00
James Tabor
e690f5af92 [Win32k]
- Restore capturing the hit test in the desktop structure. Move journal record hook before sending the mouse hook.

svn path=/trunk/; revision=49719
2010-11-23 01:16:58 +00:00
Timo Kreuzer
b9ced2b73b [PSDK]
Partly sync windef.h with mingw-w64 and add specstrings.h

svn path=/trunk/; revision=49718
2010-11-23 00:06:01 +00:00
Pierre Schweitzer
4aa271271e [NTOSKRNL]
Add missing prototype and define

svn path=/trunk/; revision=49717
2010-11-22 23:51:00 +00:00
Pierre Schweitzer
c06fd57e9c [NTOSKRNL]
- Implemented FsRtlLookupPerStreamContextInternal(), FsRtlInsertPerStreamContext(), FsRtlRemovePerStreamContext(), FsRtlTeardownPerStreamContexts()
Based on my previous work on pierre-fsd branch.

svn path=/trunk/; revision=49716
2010-11-22 23:30:01 +00:00
Timo Kreuzer
e08f002f40 [WIN32K]
Apply workaround for POINT / POINTL, like for the others

svn path=/trunk/; revision=49715
2010-11-22 23:20:50 +00:00
Timo Kreuzer
332a782a37 [GDI32]
Don't make the wrong assumption that POINT and POINTL are identical.

svn path=/trunk/; revision=49714
2010-11-22 23:18:59 +00:00
Eric Kohl
d828ba929b [NPFS]
Add an FCB that represents the file system (volume/device) and support absolute and relative open, cleanup and close.

svn path=/trunk/; revision=49713
2010-11-22 23:08:11 +00:00
Pierre Schweitzer
e69e3b27ee [NTOSKRNL]
- Renamed MmIsFileAPagingFile() to MmIsFileObjectAPagingFile() its appropriated name
- Added it to internal headers
- Implemented FsRtlIsPagingFile()

svn path=/trunk/; revision=49712
2010-11-22 22:18:02 +00:00
Pierre Schweitzer
4f335ab6b0 [NTOSKRNL]
- Add missing PAGED_CODE() where needed
- Removed a wrong ASSERT in FsRtlIsNameInExpressionPrivate() and replace it by the right one
- Mark FsRtlIsDbcsInExpression() as halfplemented

svn path=/trunk/; revision=49711
2010-11-22 21:38:23 +00:00
Giannis Adamopoulos
9b693d8c69 [win32k]
- Fix one of the greatest hacks in message handling: do not wake up every message queue when there is mouse or keyboard input ( wake only the thread that must take input)
- rewrite co_WinPosWindowFromPoint, co_MsqInsertMouseMessage and co_MsqPeekHardwareMessage
- port co_IntProcessMouseMessage and MsqSendParentNotify from wine 
- call co_IntProcessHardwareMessage from co_MsqPeekHardwareMessage, and not from co_IntPeekMessage
- move co_IntProcessHardwareMessage, co_IntProcessKeyboardMessage and co_IntProcessMouseMessage to msgqueue.c

svn path=/trunk/; revision=49710
2010-11-22 20:10:56 +00:00
Eric Kohl
8b5175e0ab [NPFS/KERNEL32]
Switch back to the old pipe wait code but keep the new code in place (disabled).

svn path=/trunk/; revision=49701
2010-11-21 23:15:11 +00:00
Pierre Schweitzer
2b6a79d9c9 [NTOSKRNL]
Previously, in ReactOS' stories:
ReactOS was broken since more a hundred of commits when two devs decided it was enough. One (we will name him Timo) fixed the context switch. The second, with the help of a third dev (Pierre & Hervé) decided to run tests by disabling some stuff (ie INIT_FUNCTION). This magically made testbot going back to life.
But, some complains came from the ML, so trying to appease world, Pierre decided to revert half of his changes, thinking this would be OK.

~~
Now, after a night. It appears that half revert was a pretty bad idea. Testbot keeps being broken.
So, this commit reverts r49665 (which was half reverting r49662). That way, testbot should be back, able to run tests. BUT, due to a NPFS issue, some tests are broken. Eric has been nicely mailed about that issue, with an idea of fix (thanks go here to Aleksey).

~~
For those who like that, drama to follow on ML.
I turn into being S/M...

svn path=/trunk/; revision=49691
2010-11-21 16:04:52 +00:00
Aleksey Bragin
fc65d4400f [NTDLL]
- Fix LdrVerifyImageMatchesChecksum() prototype.

svn path=/trunk/; revision=49676
2010-11-20 22:05:42 +00:00
Pierre Schweitzer
6baacb986b [NTOSKRNL]
Get back INIT_FUNCTION on lassy's polite request.

svn path=/trunk/; revision=49665
2010-11-20 15:53:18 +00:00
Pierre Schweitzer
3eb9ba0807 [NTOSKRNL]
[HAL]
Disable INIT_FUNCTION to see whether it's responsible for Qemu broken status. Some are complaining of unworking trunk since r49463.
This will be reverted after tests.

svn path=/trunk/; revision=49662
2010-11-20 13:54:45 +00:00
Pierre Schweitzer
ebec2dd826 [NTOSKRNL]
Fix potential buffer overflow

svn path=/trunk/; revision=49659
2010-11-20 12:07:24 +00:00
Dmitry Chapyshev
bb5c7012d3 - Add wer.dll from Wine 1.3.7
- Sync gdiplus with Wine 1.3.7

svn path=/trunk/; revision=49658
2010-11-20 11:24:17 +00:00
Pierre Schweitzer
40232d377b [NTOSKRNL/PPC]
Fix index out of bounds

svn path=/trunk/; revision=49654
2010-11-20 10:22:36 +00:00
James Tabor
5d81f0a584 [Wine32k|User32]
- Implement client thread information for the beginning of QS flag support and signaling synchronization of messages.
- Set and clear idle event when setting clearing masks. This fixed the idle foreground hook call from user mode.
- Fixed wine ListBox and ReactOS ComboBox tests. Critical note: SendMessageA/W, when IsThreadHooked is used and any global hooks are affirmed, all messages are sent to Win32k and the result is, A to W and W to A mismatch via UMToKM. Fixing Global hook support exposed a critical bug in ReactOS message system. Enable the appropriate hooks will temporarily remedy this bug.
- All patches are from a checked out revision from 49475. Upping ntuser.h, win32k and user32 to sync.

svn path=/trunk/; revision=49653
2010-11-20 04:24:44 +00:00
Eric Kohl
abf6a5bfd5 [NPFS]
- Rename DEVICE_EXTENSION to NPFS_VCB.
- Add a type variable to distinguish FCBs and CCBs for device, directory or pipe.
- Attach an FCB to the VCB that represents the root directory of the file system and implement an open routine for the root directory.
- Make NpfsWaitPipe work when it is called for the root directory.

[KERNEL32]
- Remove the old version of WaitNamedPipeW.

This patch fixes the broken wait pipe code. It was written and tested on r49458 because later revisions do not work for me.

svn path=/trunk/; revision=49646
2010-11-19 22:42:53 +00:00
Dmitry Chapyshev
4e31a0e529 - Sync atl, hlink, shdocvw, wtsapi32 with Wine 1.3.7
svn path=/trunk/; revision=49631
2010-11-19 15:21:38 +00:00
Pierre Schweitzer
752c855c83 [NTOSKRNL]
Simplify code, which should bring some fixing

svn path=/trunk/; revision=49618
2010-11-19 06:46:59 +00:00
Pierre Schweitzer
ae495fcf68 [NTOSKRNL]
Use appropriated macros

svn path=/trunk/; revision=49617
2010-11-19 06:34:14 +00:00
Pierre Schweitzer
d4577f8b7f [FORMATTING]
No code change

svn path=/trunk/; revision=49616
2010-11-19 06:28:20 +00:00
Timo Kreuzer
5ba58aa606 [NTOSKRNL]
- Initialize the Zero variable
- Don't corrupt the Color value in case we didn't have any page on MmZeroedPageListHead.
- Fixes boot.

svn path=/trunk/; revision=49614
2010-11-18 19:20:38 +00:00
James Tabor
4886d14bab [Win32k]
- Fix style, use client style.

svn path=/trunk/; revision=49613
2010-11-18 16:26:54 +00:00
James Tabor
7b2f0a799a [Win32k]
- Test for hooks before setting up for a hook call. This eliminates overhead.

svn path=/trunk/; revision=49612
2010-11-18 16:17:59 +00:00
Giannis Adamopoulos
2b843622b4 [win32k]
- Some more cleanup

svn path=/trunk/; revision=49610
2010-11-18 13:57:21 +00:00
Timo Kreuzer
83c94373d7 [NTOSKRNL]
Fix a bug.

svn path=/trunk/; revision=49609
2010-11-18 03:14:47 +00:00
James Tabor
c65ab760bf [Win32k|User32] - Cleanup and added debug prints.
svn path=/trunk/; revision=49606
2010-11-16 05:30:20 +00:00
James Tabor
3d573b97a6 [Win32k]
- Tweaks to hook and event timeouts. Increase performance with DOSBox when using mouse and keyboard.

svn path=/trunk/; revision=49605
2010-11-16 04:52:53 +00:00
Johannes Anderwald
f05d82cd17 [PORTCLS]
- Implement support for IPinCount interface
- Add informal debug print

svn path=/branches/audio-bringup/; revision=49593
2010-11-15 09:09:42 +00:00
James Tabor
7a5f137974 [Win32k] - Fix hooks, do not cleanup hooks when any window from the same thread is destroyed.
svn path=/trunk/; revision=49592
2010-11-15 06:52:44 +00:00
Daniel Reimer
14a5ef32d6 Bug 5726: PATCH: regedit: Language File skeleton strings (geekdundee<A_T>gmail.com)
Bug 5735: PATCH: updated slovak translations by Mario Kacmar
Bug 5740: TRANSLATION: rapps: polish (wojtekkozlo664<A_T>op.pl)
Updated the Rapps Versions, too.

svn path=/trunk/; revision=49587
2010-11-14 15:22:48 +00:00
Giannis Adamopoulos
6fce3aa19b [win32k]
-Rename MsqInsertSystemMessage to MsqInsertMouseMessage

svn path=/trunk/; revision=49581
2010-11-14 09:53:07 +00:00
Giannis Adamopoulos
4ac999a033 [win32k]
- Simplify co_IntPeekMessage even more

svn path=/trunk/; revision=49580
2010-11-14 09:01:17 +00:00
James Tabor
31efb355c9 [Win32k]
- Fixed WaitForInputIdle, finally!, passed all the wine tests for it.
- Moved Get/Peek message to the new all in one support routine.
- Foreground hook hits one out of five, this needs more research.
- Attempted to workout synchronizing issues with low level and regular hooks.

svn path=/trunk/; revision=49579
2010-11-14 00:27:38 +00:00
Timo Kreuzer
ea5d462bdf [FREELDR]
Convert most of the trap and blue screen code from asm to C, use KTRAP_FRAME and KSPECIAL_REGISTERS on the stack, instead of using a bunch of global variables. Convert multiply used asm code chunks into macros. Use intel syntax for remaining asm.
135 lines of C + 178 lines of asm, instead of 942 lines of asm

svn path=/trunk/; revision=49573
2010-11-13 19:48:13 +00:00
Sir Richard
ef4089933a [NTOS]: Start using colored pages. This will help performance on real systems significantly as cache is now taken into account by the memory manager. Also radically changes the way page allocations are given out and creates a less uniform physical memory layout. The fact this now works means that the PFN lists are finally now sane.
svn path=/trunk/; revision=49559
2010-11-11 13:15:40 +00:00
Sir Richard
d5c3a8295f [NTOS]: Use MI_PFN_ELEMENT in this code, as the extra checks done by MiGetPfnEntry are irrelevant and slow things down.
[NTOS]: Remove some old ReactOS hacks before we had MMROSPFNDATA.

svn path=/trunk/; revision=49558
2010-11-11 13:13:05 +00:00
Sir Richard
0bbcdaf47f [NTOS]: Fix a bug in MiRemovePageByColor which caused corruption of the page list and could lead to crashes, re-use of freed memory, assuming active memory was free, etc.
svn path=/trunk/; revision=49557
2010-11-11 13:08:41 +00:00
Sir Richard
7a047a7902 [NTOS]: Fix another bug in the continuous memory allocation code, which would go off-by-one while looping the PFN entries for the allocation, and corrupt the PteFrame/PteAddress of an unrelated PFN entry. If this PFN was in the active lists, it would cause page table leaks and faults, if the page was on a free list, it would override the colored list backlink and corrupt the list, later causing unlinked pages to remain linked to the list.
svn path=/trunk/; revision=49556
2010-11-11 13:05:52 +00:00
Art Yerkes
0cb645cb12 Part 1 of fixes: For some reason beyond me, I had abbreviated
MiCowSectionPage to always assume CoW rather than always not
CoW for cache sections.  

Make sure we're looking for cache type sections rather than
(as we were in the branch) data file sections.  More needed.

svn path=/trunk/; revision=49555
2010-11-11 08:15:50 +00:00
Sir Richard
64e92d2d8e [NTOS]: Fix bugs in MiAllocateContiguousPages. Fixes an ASSERT Caemyr was seeting a lot (the cont-able ASSERT).
svn path=/trunk/; revision=49541
2010-11-09 13:26:26 +00:00
Sir Richard
f205f243bb [NTOS]: Assign a working set to the system process and correctly initialize its address space.
[NTOS]: Assign the working set list address, system-wide, but per-process (in hyperspace).
[NTOS]: Give every process its working set page, and store it. Build a bogus working set list (MMWSL).
[NTOS]: Use the process working set list (MMWSL) to track page table references during faults, just as Windows does.
[NTOS]: Correctly initialize the colored page list heads and assert their validity.

svn path=/trunk/; revision=49525
2010-11-08 12:35:50 +00:00
Sir Richard
e8c269c0c4 [NTOS]: Optimize new context switching code to avoid wasted cycles.
svn path=/trunk/; revision=49523
2010-11-08 11:56:22 +00:00
Timo Kreuzer
44eef5b073 [SHLWAPI]
Explicitly add msvcrt before ntdll to use it's *sprintf functions. Fixes bug 5557

svn path=/trunk/; revision=49522
2010-11-08 10:04:43 +00:00
Sir Richard
b4593924da [NTOS]: KiDispatchInterrupt (the DPC handler) in C, instead of ASM.
svn path=/trunk/; revision=49521
2010-11-08 02:37:17 +00:00
Sir Richard
77d20c89bf [NTOS]: Context switch in C instead of ASM. Can be made more portable, but it's a good start. Unless Timo rewrites it.
svn path=/trunk/; revision=49520
2010-11-08 02:15:53 +00:00
Pierre Schweitzer
58e3fc91d5 [NTOSKRNL]
Minor stuff.
Here is your commit Timo ;)

svn path=/trunk/; revision=49519
2010-11-08 00:31:00 +00:00
Timo Kreuzer
7d0aa25a0f [CRT]
In streamout(): fix a number of formatting bugs, round floats, fix issue with large unsigned values that were treated as signed, simplify some code.

svn path=/trunk/; revision=49516
2010-11-07 10:06:00 +00:00
Johannes Anderwald
d864a0a08a [PORTCLS]
- Enable property handler

svn path=/branches/audio-bringup/; revision=49515
2010-11-07 09:16:31 +00:00
Timo Kreuzer
2f7608101c [CRT]
In streamout() handle %%, negative fieldwidth and negative precision.

svn path=/trunk/; revision=49514
2010-11-07 00:59:41 +00:00
Timo Kreuzer
49cee181ca [CRT]
Fix a bug in streamout(), that could cause a buffer overrun and made msvcrt_winetest crash.

svn path=/trunk/; revision=49513
2010-11-06 23:03:22 +00:00
Amine Khaldi
87def142b6 [SPRINTF]
- Don't compile the new sprintf by default. Requested by Timo.

svn path=/trunk/; revision=49512
2010-11-06 15:38:43 +00:00
Johannes Anderwald
6024f16988 - merge audio headers
svn path=/branches/audio-bringup/; revision=49511
2010-11-06 12:10:50 +00:00
Timo Kreuzer
a7fb24759b Fix build
svn path=/trunk/; revision=49501
2010-11-05 23:12:59 +00:00
Timo Kreuzer
bf49c46b23 [CRT]
New implementation of all printf functions. It's stream based (like MS one is) rather than buffer based (like our old is). Floating point is not 100% finished, but current implementation is good enough to boot. It can be enabled by a config switch.

svn path=/trunk/; revision=49499
2010-11-05 22:21:36 +00:00
Johannes Anderwald
8f6a632579 - Merge audio components from head
svn path=/branches/audio-bringup/; revision=49491
2010-11-05 17:56:34 +00:00
Sir Richard
7642321a2c [NTOS]: Make idle loop portable. Can be moved out of /i386 now.
svn path=/trunk/; revision=49486
2010-11-05 16:00:05 +00:00
Sir Richard
8a59fecfa5 [NTOS]: Implement the idle loop in C.
svn path=/trunk/; revision=49485
2010-11-05 15:58:34 +00:00
Timo Kreuzer
5eb25b5c24 Create a branch for audio work
svn path=/branches/audio-bringup/; revision=49478
2010-11-05 11:04:48 +00:00
James Tabor
c3f5d851e3 [Win32k] - Turn off debug prints.
svn path=/trunk/; revision=49475
2010-11-05 00:37:30 +00:00
James Tabor
200c27535e [Win32k|User32]
- This hook commit fixes the ros regression testing startup, but consider this a hax fix until more research in Global hooks has completed. More pointed Global hook tests are needed. Misc changes, removed unused storage pointers and reordering. For DosBOX, the mouse low level is now working and the keyboard low level should not be so intermittent as before, now sending messages from system desktop not from thread desktop, see bug 5670 for more details.

svn path=/trunk/; revision=49472
2010-11-04 23:45:34 +00:00
Aleksey Bragin
1dec9f52a4 [APPS]
- Damir Aliev: Properly convert encoding in cmdline tools.
See issue #3487 for more details.

svn path=/trunk/; revision=49466
2010-11-04 12:28:08 +00:00
Aleksey Bragin
2bb39272f6 [REGEDIT]
Adam Kachwalla <geekdundee@gmail.com>
- "Load Hive..." and "Unload Hive..." menu items implemented
- Make address bar case-insensitive
- Remove trailing slashes in address bar when at root keys (e.g. "HKEY_LOCAL_MACHINE\" or "HKEY_CURRENT_USER\")
- Address "go" button added
- Removed ~8px slack from bottom of the app (not needed and looks better)
- Factored out error displaying functions into error.c file.

See issue #5711 for more details.

svn path=/trunk/; revision=49465
2010-11-04 12:05:35 +00:00
Timo Kreuzer
3872d5db6c [KERNEL32]
Print delphi exception with the Exception code 0xeedfade, we were previously only checking for 0xeedface, maybe an older value.

svn path=/trunk/; revision=49464
2010-11-04 10:16:14 +00:00
Sir Richard
9cdff0edae [HAL]: Add INIT_FUNCTION where needed. Will save 860KB later.
svn path=/trunk/; revision=49463
2010-11-04 01:28:09 +00:00
Timo Kreuzer
9bcd5e12e8 [WIN32K]
- Make InitVideo return NTSTATUS and properly handle failure
- Silence a DPRINT, improve a DPRINT

svn path=/trunk/; revision=49458
2010-11-03 12:20:07 +00:00
Johannes Anderwald
5876e615b5 [KS]
- Fix several bugs in KsProbeStreamIrp
- If requestor is KernelMode - just save a pointer in Irp->AssociatedIrp.SystemBuffer (currently not used)
- If requestor is UserMode mark irp as buffered. Also set Flag IRP_INPUT_OPERATION when the ioctl is IOCTL_KS_READ_STREAM. This is important to propagate modifications to KSSTREAM_HEADERS (in particular DataUsed member)
- ReactOS KS can now be used in WinXP in combination with KSStudio. In order to make it fully work, ks needs to implement software bus functions
[PORTCLS]
- Rewrite internal irp queue handling
- It now supports multiple KSSTREAM_HEADERs per Irp, variable sized KSSTREAM_HEADERs per irp.
- Store the mapped virtual address not in the KSSTREAM_HEADER, as user programs will receive then invalid addresses
- Add checks whether this irp is for an sink pin or source pin
- Fix multiple bugs when the pin is looped buffer mode (How did this work before?)
- ReactOS portcls + WinXP now properly works with audio recording
[WDMAUD_KERNEL]
- Don't free associated stream header anymore
- Tested with VBox 3.2.10 + VmWare Player 3.1.2 + WinXP 

svn path=/trunk/; revision=49457
2010-11-03 11:16:33 +00:00
Aleksey Bragin
db762f8fa5 [TASKMGR]
- Fix Russian translation, by spb-ivan92.
See issue #5685 for more details.

svn path=/trunk/; revision=49456
2010-11-03 09:09:57 +00:00
Timo Kreuzer
6cfc0da40b [WIN32K]
Change all Init functions to be NTAPI instead of FASTCALL, return NTSTATUS, and be an INIT_FUNCTION (saving incredible 2k). Simplify the initialization sequence by using a simple macro. Delete a comment that is not true anymore.
Move some globals to appropriate file.

svn path=/trunk/; revision=49455
2010-11-03 00:51:19 +00:00
Sir Richard
85e5b5be56 [NTOS]: Mark all initialization functions INIT_FUNCTION.
[NTOS]: This will save ~280KB of RAM once we dump INIT from RAM in a future patch.
[NTOS]: Display current free RAM at certain checkpoints.

svn path=/trunk/; revision=49445
2010-11-02 16:29:06 +00:00
Sir Richard
ee45da75e0 [NTOS]: Add page-tracking macro calls wherever needed. MI_TRACE_PFNS is still off, though, so this code won't be called.
svn path=/trunk/; revision=49444
2010-11-02 15:16:22 +00:00
Sir Richard
5f9569d3c5 [NTOS]: Define an array of MI_USAGE integers to track what a PFN is used for.
[NTOS]: Extend the MMPFN structure for ReactOS-specific PFN tracing mechanism.
[NTOS]: Add macros to track page usage and process/extra-data (not yet used).

svn path=/trunk/; revision=49443
2010-11-02 15:05:37 +00:00
Sir Richard
3163a7e933 [NTOS]: CR3 should be PDE_BASE, not PTE_BASE!
[NTOS]: Define DemandZeroPte.

svn path=/trunk/; revision=49442
2010-11-02 15:02:41 +00:00
Sir Richard
3a3d75946e [NTOS]: Misc typo and cleanup fixes.
svn path=/trunk/; revision=49441
2010-11-02 14:58:39 +00:00
Sir Richard
dae4714960 [NTOS]: Fix a bug in the MDL Code which would dereference a completely bogus page frame index.
svn path=/trunk/; revision=49440
2010-11-02 14:58:10 +00:00
Sir Richard
c7b69d59e3 [NTOS]: Fix a bug in MmFindGapBottomUp which could make it return an address lower than what the caller said should be the lowest address.
svn path=/trunk/; revision=49439
2010-11-02 14:50:06 +00:00
Sir Richard
36429c0a64 [NTOS]: You can't just set MDL_LOCKED_PAGES without actually... locking the page. Add a MmReferencePage when doing so, so when that a paging read/write IRP gets completed (and MmUnlockPages is called), the page gets handled correctly. Can now boot with 64MB RAM without ASSERTs.
[NTOS]: Fix one of the MDL code paths that isn't getting called frequently.

svn path=/trunk/; revision=49438
2010-11-02 14:46:46 +00:00
Sir Richard
55256a107f [NTOS]: ASSERT nobody tries to put ARM3 pages into the MC_USER LRU.
svn path=/trunk/; revision=49437
2010-11-02 14:42:08 +00:00
Sir Richard
72e1ab5fb8 [NTOS]: Assert nobody tries to touch the sharecount of a non-ARM3 page.
svn path=/trunk/; revision=49436
2010-11-02 14:41:51 +00:00
Sir Richard
4bdf7033a7 [NTOS]: Fix typos.
svn path=/trunk/; revision=49435
2010-11-02 14:41:29 +00:00
Sir Richard
8c212103be [NTOS]: Sanity checks when dealing with creating/cleaning process address space.
[NTOS]: Set the VmDeleted flag when the process address space is being nuked.

svn path=/trunk/; revision=49434
2010-11-02 14:41:03 +00:00
Sir Richard
f6fa150d19 [NTOS]: Make sure we don't get a user-pointer back from MmMapInSystemSpace.
svn path=/trunk/; revision=49433
2010-11-02 14:40:31 +00:00
Sir Richard
82ca671f14 [NTOS]: Remove merge artifact from newcc.
svn path=/trunk/; revision=49432
2010-11-02 14:40:07 +00:00
Sir Richard
893dc1fad1 [NTOS]: Protect Arty's changes with #ifdef NEWCC, otherwise this code ASSERTs and crashes as soon as a pageout operation is required. Since your advanced test/regression systems boot into configurations with 1GB+ RAM, you never even test these paths and one could put an ASSERT(FALSE) and you wouldn't even notice it (as proven).
svn path=/trunk/; revision=49431
2010-11-02 14:38:52 +00:00
Johannes Anderwald
c600a169fb [KSUSER, KS, SYSAUDIO]
- Make pin / node / allocator create requests compatible to ms by removing obsolete slash before object class
- Return correct error code in ksuser's KsCreatePin
- ReactOS KS is now able to create audio pins in Windows XP, though playback is not yet working
- All changes except ksuser change has been verified to work with VBox 3.2.10
- KS user changes not tested yet as KSStudio not working in trunk

svn path=/trunk/; revision=49428
2010-11-02 09:37:30 +00:00
Art Yerkes
f2e646d5b4 [CACHE]
The cache manager rewrite I started years ago has finally appeared in
ReactOS' trunk and although at this point it's not quite perfectly
integrated, it's enough to boot up the bootcd or livecd. To check out
the more mature original, check out arty-newcc-reactos, branch
arty-newcc on bitbucket.org . Amine Khaldi encouraged me quite a bit
to not give up on it, and was able to reach out and be an advocate
when i really wasn't able to.  Others agree that the time has come to
begin removing the old cache manager. I expect the remaining problems
in the version going to trunk will be taken care of relatively
quickly.

The motivation for this effort lies in the particularly hairy
relationship between ReactOS' cache manager and data sections. This
code completely removes page sharing between cache manager and section
and reimagines cache manager as being a facility layered on the memory
manager, not really caring about individual pages, but simply managing
data section objects where caching might occur.

It took me about 2 years to do the first pass of this rewrite and most
of this year to fix some lingering issues, properly implement demand
paging in ReactOS (code which didn't come with this patch in a
recognizable form), and finish getting the PrivateCacheMap and
SharedCacheMap relationship correct.

Currently, the new ntoskrnl/cache directory contains an own
implementation of data file sections. After things have settled down,
we can begin to deprecate and remove the parts of ReactOS' section
implementation that depend on a close relationship with cache
manager. Eventually, I think that the extra code added to
ntoskrnl/cache/section will be removed and ReactOS' own sections will
replace the use of the special MM_CACHE_SECTION_SEGMENT in the cache
path.

Note also, that this makes all cache manager (and new section parts)
use wide file offsets. If my section code were to take over other
parts of the ReactOS memory manager, they would also benefit from
these improvements.

I invite anyone who wants to to peek at this code and fix whatever
bugs can be found.


svn path=/trunk/; revision=49423
2010-11-02 02:32:39 +00:00
Timo Kreuzer
7697abf4a2 [WIN32K]
Disable GDI_DEBUG. It's using > 20 MB memory. Too much for some people ;-)

svn path=/trunk/; revision=49422
2010-11-02 01:17:45 +00:00
Johannes Anderwald
26895c3eac [PORTCLS]
- Portcls does not need to set the size of the audio buffer for completed irps. This is done in a completion callback in wdmaud. Verified with WinXP portcls
[WDMAUD_KERNEL]
- Free allocated mdls in the io completion routine. Also free the associated stream header.
[KS]
- Replace all ms portcls hacks by one. 
- MS Portcls is now working in ReactOS (which is nice for testing audio related bugs) 

svn path=/trunk/; revision=49417
2010-11-01 22:21:24 +00:00
Jérôme Gardou
a6e4c15192 [PSDK]
- add TrustedDomainAuthInformationInternal and TrustedDomainFullInformationInternalFix to _TRUSTED_INFORMATION_CLASS.
Fixes build

svn path=/trunk/; revision=49415
2010-11-01 20:55:11 +00:00
Timo Kreuzer
531b4e5a24 {ASM]
- Remove superfluous .code64
- Add some macros for MSVC

svn path=/trunk/; revision=49413
2010-11-01 18:48:40 +00:00
Johannes Anderwald
63a4962e7c [PORTCLS]
- Dear lawyers / worried developers, this is the XP DDK Version. 

svn path=/trunk/; revision=49410
2010-11-01 17:33:06 +00:00
Eric Kohl
45f49f49a4 [ADVAPI32]
Implement LsaAddAccountRights(), LsaQueryTrustedDomainInfoByName() and LsaRemoveAccountRights().

svn path=/trunk/; revision=49403
2010-11-01 14:09:33 +00:00
Johannes Anderwald
92caa24fa4 [PORTCLS]
- Add license header

svn path=/trunk/; revision=49401
2010-11-01 13:23:15 +00:00
Eric Kohl
fbd13b3b7b [SETUPAPI]
Implement CM_Get_Device_ID_List_ExW().

svn path=/trunk/; revision=49400
2010-11-01 12:39:51 +00:00
James Tabor
3fbc8a9077 [Explorer] - Revert last change.
svn path=/trunk/; revision=49394
2010-11-01 03:21:52 +00:00
James Tabor
4fb4d86702 [Explorer] - Track the only Global Hook ReactOS has.
svn path=/trunk/; revision=49393
2010-11-01 03:10:59 +00:00
James Tabor
4e5c48aaaf [Win32k] - Track end of life thread when removing hooks.
svn path=/trunk/; revision=49392
2010-11-01 01:56:07 +00:00
Johannes Anderwald
326f161b42 [PORTCLS]
- Add MPU-401 Uart miniport driver from DDK 2003 sample

svn path=/trunk/; revision=49389
2010-11-01 00:26:59 +00:00
Johannes Anderwald
dc4a3fbbe2 [DDK]
- Add dmusprop header
- Add IMP_PowerNotify macro to portcls.h
- Add IID_IMusicTechnology guid to portcls.h
- Add GTI_XXX macros to portcls.h
- Remove broken definitions of KSPROPSETID_Synth, KSPROPSETID_Synth_Dls. They are defined in dmusprop.h
- Add KSDATARANGE_MUSIC to ksmedia.h
- Add KSMUSIC_TECHNOLOGY, KSDATAFORMAT_SUBTYPE_MIDI_BUS, KSAUDFNAME_MIDI, KSNODETYPE_SYNTHESIZER to ksmedia.h

svn path=/trunk/; revision=49388
2010-11-01 00:17:07 +00:00
James Tabor
93b73bb489 [Win32k] - Lock thread when removing hooks.
svn path=/trunk/; revision=49386
2010-10-31 23:42:37 +00:00
Johannes Anderwald
bafe662783 [MMIXER]
- Enumerate MIDI devices and provide all necessary functions to deal with them
[WDMAUD_KERNEL]
- Implement support functions which call the provided functions of mmixer library
- Fix a bug in device interface request ioctl handler
- Midi devices should now be visible, capabilities be retrieved and opened / close
- Writing data is not yet supported

svn path=/trunk/; revision=49376
2010-10-31 14:34:41 +00:00
Johannes Anderwald
5dd7b0178c [MMEBUDDY]
- Getting device capabilities requires the unicode version of the structure
- Implement MIDM_OPEN, MIDM_CLOSE, MIDM_START, MIDM_STOP
- Implement MODM_OPEN, MODM_CLOSE
- Refactor MmeOpenWaveDevice into MmeOpenDevice add add support MIXER_DEVICE_TYPE, MIDI_IN_DEVICE_TYPE, MIDI_OUT_DEVICE_TYPE
- Refactor MmeCloseWaveDeivce into MmeCloseDevice and add support MIXER_DEVICE_TYPE, MIDI_IN_DEVICE_TYPE, MIDI_OUT_DEVICE_TYPE

svn path=/trunk/; revision=49374
2010-10-31 13:20:11 +00:00
Johannes Anderwald
c2e15397cc [SHELL32]
- Enable code as we support now IOCTL_DISK_GET_LENGTH_INFO
- IOCTL_DISK_GET_LENGTH_INFO implemented in 49369

svn path=/trunk/; revision=49372
2010-10-31 10:09:55 +00:00
Eric Kohl
18ab208eeb [SERVICES]
Revert r49366.

svn path=/trunk/; revision=49371
2010-10-31 10:00:21 +00:00
Pierre Schweitzer
3b08424abb [DISK]
Implemented support for IOCTL_DISK_GET_LENGTH_INFO

svn path=/trunk/; revision=49369
2010-10-31 08:13:33 +00:00
Johannes Anderwald
0fefcc022b [PORTCLS]
- Revert 49356
- This change breaks portcls on WinXP

svn path=/trunk/; revision=49368
2010-10-30 23:17:34 +00:00
Eric Kohl
1917d1c595 Merge ScmControlService() and ScmSendStartCommand() into ScmSendServiceCommand().
svn path=/trunk/; revision=49366
2010-10-30 19:25:23 +00:00
Cameron Gutman
d4bd38df22 [REGEDIT]
- Fix a bug causing registry entries with names containing a backslash to be displayed incorrectly

svn path=/trunk/; revision=49364
2010-10-30 17:41:51 +00:00
Timo Kreuzer
a4b48e3576 [WIN32K]
Fix a bug in InitVideo: when looping through the adapters, reinitialize the cbValue before querying the registry.
Also handle failure.

svn path=/trunk/; revision=49360
2010-10-30 16:34:52 +00:00
Johannes Anderwald
951c6f7fa3 [PORTCLS]
- Do not leak KSSTREAM_HEADER (48 bytes) for each IOCTL_KS_WRITE_STREAM / IOCTL_KS_READ_STREAM request
- Audio stack should now leak less memory

svn path=/trunk/; revision=49356
2010-10-30 15:40:54 +00:00
Johannes Anderwald
92563c84b9 [WDMAUD_KERNEL]
- Unlock locked pages before freeing the mdl
- Fixes assertion hit 'Assertion 'OldRefCount < 2500' failed at ARM³::MDLSUP line 1008'
- Fixes playback / recording of longer audio files

svn path=/trunk/; revision=49355
2010-10-30 15:15:22 +00:00
Sylvain Petreolle
988a0bb06f [TIMEDATE]
Fix French translation.

svn path=/trunk/; revision=49343
2010-10-29 21:16:05 +00:00
Gregor Schneider
2b2307cae4 [CRT] Remove empty file
svn path=/trunk/; revision=49342
2010-10-29 18:18:54 +00:00
Johannes Anderwald
8de36e1611 - Remove obsolete code
- Thanks to Amine

svn path=/trunk/; revision=49340
2010-10-29 13:47:19 +00:00
Timo Kreuzer
788c89ca8b [WIN32K]
Fix possible use of uninitialized variable. Spotted by Amine.


svn path=/trunk/; revision=49338
2010-10-29 09:31:54 +00:00
Johannes Anderwald
363873b407 [PORTCLS]
- Fix stupid bug which lead to access an invalid buffer.
- dedicated to igorko

svn path=/trunk/; revision=49337
2010-10-29 01:09:13 +00:00
Johannes Anderwald
4995df02c5 - Fix mdl probe access rights
svn path=/trunk/; revision=49336
2010-10-29 00:41:06 +00:00
Johannes Anderwald
ed04f3bb51 - remove rtl dependency
- thanks to mephisto!

svn path=/trunk/; revision=49335
2010-10-28 23:33:50 +00:00
Aleksey Bragin
0b6aeda1ed Roel Messiant:
- Heap corruption fixes.

svn path=/trunk/; revision=49332
2010-10-28 22:08:18 +00:00
Giannis Adamopoulos
7f008d8e60 [win32k]
message.c:
- Don't use RETURN macro
- Correctly use SEH. Use _SEH2_YIELD

svn path=/trunk/; revision=49331
2010-10-28 17:14:29 +00:00
Timo Kreuzer
a84fd28122 [FORMATTING]
- Replace big file header with small header
- apply consistent indentation of 4 spaces

svn path=/trunk/; revision=49324
2010-10-28 08:15:41 +00:00
Timo Kreuzer
f69973e1e6 [NTOSKRNL]
- Add IoWMIDeviceObjectToProviderId and IoIs32bitProcess stubs for 64bit builds
- Comment out some deprecated amd64 code
- Add MmProtectToValue
- Fix a typo

svn path=/trunk/; revision=49322
2010-10-27 22:58:23 +00:00
Johannes Anderwald
28b8adb2ee - remove debug prints
- dedicated to christoph

svn path=/trunk/; revision=49316
2010-10-27 21:12:44 +00:00
Timo Kreuzer
6e7b4722d6 [CLASSPNP]
Fix a typo in the spec file

svn path=/trunk/; revision=49314
2010-10-27 20:40:59 +00:00
Giannis Adamopoulos
97a11cb468 [FORMATTING]
- Fix formatting in message.c

svn path=/trunk/; revision=49313
2010-10-27 20:31:17 +00:00
Timo Kreuzer
8e45fe3079 [basetsd.h]
add POINTER_SIGNED, POINTER_UNSIGNED, SPOINTER_32, UPOINTER_32

svn path=/trunk/; revision=49312
2010-10-27 20:14:15 +00:00
Timo Kreuzer
41d4321928 [CLASSPNP]
Convert to spec

svn path=/trunk/; revision=49311
2010-10-27 20:13:06 +00:00
Timo Kreuzer
1c363f5fbe [WIN32K]
Improve the code to enumerate monitors.
- Don't use custom MIN / MAX / ABS macros
- Calculate distance by r^2 = x^2 + y^2
- Use RECTL_bIntersectRect instead of code duplication
- Fix possible NULL pointer dereference
- pass bottom-right exclusive rect to IntGetMonitorsFromRect from NtUserMonitorFromPoint
- Don't handle MONITOR_DEFAULTTOPRIMARY and MONITOR_DEFAULTTONEAREST twice
- Use unsigned variables for unsigned values
- Don't check the result of a UINT returning function for < 0
- Improve readability

svn path=/trunk/; revision=49310
2010-10-27 17:16:11 +00:00
Timo Kreuzer
72f80d0c80 [WIN32K]
Fix possible NULL pointer dereferences. Spotted by Amine Khaldi.

svn path=/trunk/; revision=49309
2010-10-27 17:08:40 +00:00
Timo Kreuzer
7dbcf100d3 [FORMATTING]
- Apply consistent indentation of 4 spaces and ansi style formatting.
- Remove the long GPL header

svn path=/trunk/; revision=49308
2010-10-27 15:59:48 +00:00
Timo Kreuzer
08810169e7 [WIN32K]
Fix possible NULL pointer dereference. Spotted by Amine Khaldi.

svn path=/trunk/; revision=49303
2010-10-27 12:51:32 +00:00
Aleksey Bragin
58781041d7 [NTOS/MM]
- Don't access pfn database directly, there is a function for this. Thanks sir_richard.

svn path=/trunk/; revision=49302
2010-10-27 09:58:18 +00:00
James Tabor
f605d2c596 [Win32k|User32]
- Fix for DosBOX. See bug 5670 for more details. Added more data copies in user32 hook.c.

svn path=/trunk/; revision=49301
2010-10-27 01:56:56 +00:00
James Tabor
851c1c1742 [User32] - Fix an over site and copy the return data back to the kernel.
svn path=/trunk/; revision=49300
2010-10-27 00:03:41 +00:00
Aleksey Bragin
07cd3fc8d0 [NTOS/MM]
- Don't lie about page protection in MiQueryAddressState. Fixes PDFCreator-alike bugs.
See issue #5627 for more details.

svn path=/trunk/; revision=49296
2010-10-26 21:34:52 +00:00
Johannes Anderwald
4434b6bf69 [PORTCLS]
- Disable driver specific filter / pin / node property handlers until bug leading to crashes has been found

svn path=/trunk/; revision=49280
2010-10-26 15:19:14 +00:00
James Tabor
4588fc7dc5 [Win32k|User32]
- Add fix for KsStudio for Olaf Siejka and debug prints for WH_KEYBOARD_LL. See bug 5670 for more details.

svn path=/trunk/; revision=49278
2010-10-26 06:24:50 +00:00
Aleksey Bragin
f46ca6e613 [NTOS/MM]
- Handle various special cases in NtQueryVirtualMemory (e.g. querying illegal virtual addresses, shared memory area, etc). Example of an app doing this - OllyDbg.

svn path=/trunk/; revision=49277
2010-10-25 20:50:45 +00:00
Daniel Reimer
71ab4ed50f Update rapps database.
svn path=/trunk/; revision=49276
2010-10-25 20:08:50 +00:00
Timo Kreuzer
684c3d3791 [YAROTOWS] Reintegrate the branch. For a brighter future.
Main features:
- Implement LDEVOBJ api. Responsible for loading dlls (display drivers, font drivers, keyboard layout, etc), replacing code in different locations.
- Implement PDEVOBJ api. A PDEVOBJ represents a physical device and is the core component for handling multiple display devices.
- Rewrite device locking. The new method was neccessary to allow dynamic mode switching.
- Implement support for enumerating display devices and settings.
- Implement dynamic mode switching.
- Implement a number of Eng mapping functions.
- Rewrite Eng level surface handling for cleaner code and better compatability.
- Rewrite parts of the DIB handling code.
- Rewrite DC creation and deletion. Deletion and cleanup is now completely callback based. Now we don't leak the DC objects when terminating a process, like we did before.
- Improve the XLATE and BRUSH code, removing several old hacks.
- Improve icon code.

Thanks to Jerome Gardou, Kamil Hornicek and everyone helping.

svn path=/trunk/; revision=49275
2010-10-25 17:36:27 +00:00
Timo Kreuzer
7a2f3e30fc Merge trunk head (r49270)
svn path=/branches/reactos-yarotows/; revision=49272
2010-10-25 15:26:06 +00:00
Timo Kreuzer
8a28b85f48 [WIN32K]
Silence and improve a DPRINT

svn path=/branches/reactos-yarotows/; revision=49271
2010-10-25 15:05:33 +00:00
James Tabor
f5258132f4 [Win32k]
- Do not override WH_JOURNALPLAYBACK results if zero.

svn path=/trunk/; revision=49270
2010-10-25 02:51:09 +00:00
James Tabor
4f65bd047d [Win32k]
- Fix typos found by Mephisto on IRC, also add some debug prints in SetWindowsHookEx to see what hooks are installed. 

svn path=/trunk/; revision=49269
2010-10-25 01:37:14 +00:00
James Tabor
ba351010ec [User32]
- One more leftover to add. Now we test for both Local and Global hooks in user32. This will force any message sent to win32k if there are any Global hookers so we loose in performance. We need to rethink our usage of these Global hookers in our code.

svn path=/trunk/; revision=49268
2010-10-25 00:15:35 +00:00
Kamil Hornicek
a5a3c1563c [WIN32K]
Simplify the RLE hack and avoid code duplication.
Bail out of UserEnumDisplaySettings early in case invalid ModeNum was requested.
Use default BPP value in UserChangeDisplaySettings if DM_BITSPERPEL is not set. Partially fixes "fullscreen issue" as described on the yarotows wiki page.
Remove some unused variables + misc cleanup.

svn path=/branches/reactos-yarotows/; revision=49267
2010-10-24 23:40:23 +00:00
Timo Kreuzer
c5880b6a1c [WIN32K]
- Rewrite InitVideo
- Move registry functions to the appropriate file
- Silence some DPRINTs

svn path=/branches/reactos-yarotows/; revision=49266
2010-10-24 23:32:18 +00:00
Kamil Hornicek
a2e78394d2 [WIN32K]
Set proper flags and masks in BuildDIBPalette. Set PAL_BGR for 24/32 BPP in AllocPalette. Rename Mode to Flags to better reflect its usage. Fixes "red icons" and dibtest.

svn path=/branches/reactos-yarotows/; revision=49265
2010-10-24 22:52:50 +00:00
Kamil Hornicek
6237a1d524 [WIN32K]
Follow-up to r48681. Fixes text on disabled controls.

svn path=/branches/reactos-yarotows/; revision=49264
2010-10-24 22:51:51 +00:00
Aleksey Bragin
9bfee86717 [N[NTOS/MM]
- Initialize Found to FALSE in NtQueryVirtualMemory. I wonder how GCC missed uninitialized var usage?
- Implement case when NtQueryVirtualMemory is called with non-existing virtual address.
See issue #3755 for more details.

svn path=/trunk/; revision=49261
2010-10-24 20:02:04 +00:00
Eric Kohl
4cb29716d1 [SERVICES]
RControlService: Check the current state before sending a control request.

svn path=/trunk/; revision=49259
2010-10-24 13:48:11 +00:00
Timo Kreuzer
2eb1b02bc0 [WIN32K]
Fix possible NULL pointer free. Fixes solitaire.

svn path=/branches/reactos-yarotows/; revision=49257
2010-10-24 11:57:02 +00:00
Cameron Gutman
3a7694182b [HAL]
- Fix a broken loop that resulted in us registering the resources of multiple COM ports as our KD port
- Fixes bug #5530

svn path=/trunk/; revision=49256
2010-10-24 10:48:10 +00:00
Cameron Gutman
f7f4cae9ba [HAL]
- HalpEnableInterruptHandler: Set the IDT_LATCHED flag if the caller requested a latched interrupt

svn path=/trunk/; revision=49255
2010-10-24 10:28:15 +00:00
Eric Kohl
7d6c0f7918 [SERVICES]
- Use new handle check functions in RCloseServiceHandle().
- RControlService: Check if a control request is acceptable for a user mode service before sending it to the service.

svn path=/trunk/; revision=49253
2010-10-24 09:21:37 +00:00
Cameron Gutman
7d9a1e9f3b [NTOSKRNL]
- Fix a critical bug in the conflict detection code
- Don't unconditionally skip conflict detection for shared resources, instead it should be done on a descriptor-by-descriptor basis (if both descriptors are shared)
- This check wasn't removed when I initially wrote this code and added the proper check below

svn path=/trunk/; revision=49252
2010-10-24 09:05:17 +00:00
Cameron Gutman
58a93c730c [PNPMGR]
- Check that we got a valid vector back from HAL when translating an interrupt resource
- Add some debugging messages for failure paths in device resource handling code

svn path=/trunk/; revision=49251
2010-10-24 06:16:35 +00:00
James Tabor
24acd670a4 [Win32k]
- Fix an exception when set condition * first always is used then moving the mouse. There seems to be an initialization issue (The Init Bug) and not setting a desktop.

svn path=/trunk/; revision=49250
2010-10-24 04:36:45 +00:00
Cameron Gutman
5958a4e877 [NTOSKRNL]
- Partially implement IoAssignResources so that it creates a non-conflicting resource list from the requirements but it doesn't claim the resources for the device in the registry
- Partially implement IoReportResourceUsage so that it checks the resource list for conflicts but doesn't claim the resources in the registry
- Please test this revision with a variety of hardware and drivers because it activates several code paths in the PnP manager
- If this causes problems, look for "Denying an attempt to claim resources currently in use by another device!" in the debug log and report the bug to me

svn path=/trunk/; revision=49249
2010-10-24 02:51:48 +00:00
Cameron Gutman
e7431a821b [NTOSKRNL]
- Rewrite the resource map code to fix a regression, several failures cases, and a few memory leaks
- Remove an incorrect definition of IopDetectResourceConflict in pnpreport.c (no idea how this didn't trigger an onslaught of warnings)

svn path=/trunk/; revision=49248
2010-10-24 02:38:14 +00:00
Timo Kreuzer
d90c19e431 Fix a comment
svn path=/trunk/; revision=49247
2010-10-23 22:34:47 +00:00
Timo Kreuzer
548559a3d5 [WIN32K]
- Remove a wrong ASSERT
- Improve EngLoadImageEx to correctly handle the path and optional dll extension.
- Get rid of EngLoadDriver

svn path=/branches/reactos-yarotows/; revision=49245
2010-10-23 21:59:21 +00:00
Johannes Anderwald
69b6f20b77 [PORTCLS]
- Fix multiple bugs in round buffer implementation
- Should result in less audio glitches, especially when playing audio files with low sample rates. Please report any regressions!

svn path=/trunk/; revision=49244
2010-10-23 20:20:18 +00:00
Johannes Anderwald
37d654bb93 [PORTCLS]
- Rewrite the topology filter / pin / node property handling
- Store property sets of filter / pins / nodes in a common property set array
- Write a common dispatch function, which serves as a trampoline for filter / pin / node property requests
- Private property handlers of the drivers are now accessible

svn path=/trunk/; revision=49243
2010-10-23 18:51:17 +00:00
Johannes Anderwald
0d136362a0 [PORTCLS]
- Remove silence buffer hack
- Stub DRM Property Handler
- Before stopping the audio pin, fill the dma buffer with silence samples
- create a subdevice descriptor for instantiated pins too

svn path=/trunk/; revision=49242
2010-10-23 18:42:59 +00:00
Timo Kreuzer
b0dd54e446 [FORMATTING]
Fix indentation, no code change.

svn path=/branches/reactos-yarotows/; revision=49241
2010-10-23 17:05:34 +00:00
Timo Kreuzer
8af88571ea sync with trunk (r49238)
svn path=/branches/reactos-yarotows/; revision=49240
2010-10-23 16:42:45 +00:00
Johannes Anderwald
17fe2b3988 - Fix definition of KSPROPSETID_DrmAudioStream, KSPROPERTY_DRMAUDIOSTREAM
svn path=/trunk/; revision=49239
2010-10-23 14:42:22 +00:00
Johannes Anderwald
4b5747df27 [PORTCLS]
- Fix check if the pin can be instantiated another time
- Remove hack to close old
- Add function FreePin to remove its old reference
- Fix memory leaks / reference leaks in WavePci pin implementation
- Fix memory / reference leaks in WavePci Close implementation

svn path=/trunk/; revision=49238
2010-10-23 12:10:56 +00:00
Johannes Anderwald
cd63ffe6c2 [KS]
- Fix property set support handler for topology nodes
- Check if the driver supports a basic support handler. In that case return the basic support handler

svn path=/trunk/; revision=49237
2010-10-23 12:00:11 +00:00
James Tabor
e7c4137319 [Win32k|User32]
- Rewrite the Event and Hook procedures. See bug 5670 for more details.

svn path=/trunk/; revision=49231
2010-10-23 05:36:12 +00:00
Aleksey Bragin
26164e7b2e [MSI]
- Fix freed memory access and fix freeing of invalid pointer. (from http://www.winehq.org/pipermail/wine-patches/2010-October/094849.html )
See issue #3755 for more details.

svn path=/trunk/; revision=49229
2010-10-22 16:22:21 +00:00
Aleksey Bragin
955c4d7d77 [MSI]
- Sync to Wine-1.3.5.

svn path=/trunk/; revision=49219
2010-10-22 13:18:11 +00:00
Aleksey Bragin
12cded29f1 [ADVAPI32]
- Roel Messiant: Fix short-circuit evaluation.
See issue #5677 for more details.

svn path=/trunk/; revision=49216
2010-10-21 20:30:37 +00:00
Eric Kohl
824ec6597d [SERVICES]
- Remove the reference counter from the common handle type as a handle is never shared or duplicated.
- Remove the access right from the service handle as it is not used.
- Dereference service manager handles and service handles in two separate functions that SEH-protect the initial access to the handle and signature check. This will protect SCM from bogus handles.

svn path=/trunk/; revision=49214
2010-10-20 17:28:10 +00:00
Pierre Schweitzer
538b9e4fbf [NTOSKRNL]
Implemented FstubAdjustPartitionCount(), FstubConvertExtendedToLayout(), FstubCopyEntryEFI(), FstubCreateDiskMBR(), FstubCreateDiskEFI(), FstubCreateDiskRaw(), FstubDbgPrintSetPartitionEx(), FstubReadHeaderEFI(), FstubReadPartitionTableEFI(), FstubSetPartitionInformationEFI(), FstubVerifyPartitionTableEFI(), FstubWriteBootSectorEFI(), FstubWriteEntryEFI(), FstubWriteHeaderEFI(), FstubWritePartitionTableEFI(), FstubWritePartitionTableMBR(), FstubWriteSector()

Implemented IoCreateDisk(), IoGetBootDiskInformation(), IoReadDiskSignature(), IoSetPartitionInformationEx(), IoVerifyPartitionTable(), IoWritePartitionTableEx()

To sum up, this commit finishes FSTUB API implementation in the ReactOS kernel. This means one important thing: now ReactOS kernel knows about a bit about EFI and about GPT. No need to say that it's the first step into EFI support. But a lot more work is needed. Especially since the kernel is the only real entity in ReactOS to handle GPT. All the rest of the OS doesn't know anything about GPT.

A small note about FstubVerifyPartitionTableEFI(). This function is supposed to check whether a disk formated with GPT is valid, and if it's not, to fix it. First step is implemented. Second step isn't yet supported.

A general note about all that stuff: on GPT, backup table isn't properly handled for the moment, as ReactOS is experiencing disk geometry issues. That means it's not having the proper disk sectors count and then, can't find the backup table (which is located on last disk sector).

References:
http://www.intel.com/technology/efi/
http://developer.apple.com/library/mac/#technotes/tn2006/tn2166.html
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=blob;f=fs/partitions/efi.h;hb=HEAD
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=blob;f=fs/partitions/efi.c;hb=HEAD

svn path=/trunk/; revision=49212
2010-10-19 20:34:48 +00:00
Sir Richard
b238bc9126 [NTOS]: Go back to using RosMm for the NLS section since supposedly this causes issues on some systems. This is the only actual change in r206/208/209, so if Caemyr's data is correct, this fill fix it.
svn path=/trunk/; revision=49211
2010-10-19 20:23:37 +00:00
Pierre Schweitzer
60501a925e [DISK]
Hackplemented support for IOCTL_DISK_GET_PARTITION_INFO_EX. It will work fine for MBR partitions but will fake returns for GPT partitions.

svn path=/trunk/; revision=49210
2010-10-19 19:27:28 +00:00
Sir Richard
6f48b81057 [NTOS]: Fix multiple math/logic bugs in the PrototypePTE paths. Caught while trying to switch the Win32k GDI Handle Table to ARM3 sections.
svn path=/trunk/; revision=49209
2010-10-19 18:57:30 +00:00
Sir Richard
ef6bc56d6f [NTOS]: C Pointer Math will bite even the most experienced programmer in the ass. Fix wrong calculation which led to ASSERTs and memory corruption (since the last revision).
svn path=/trunk/; revision=49208
2010-10-19 17:39:22 +00:00
Sir Richard
3e8034d4a5 [NTOS]: Add support for unmapping ARM3 sections, destroying segments and control areas, and clearing out subsection PTEs.
[NTOS]: Add support to MiDeletePte/MiDeleteVirtualAddresses to handle Section VADs.
[NTOS]: Add support to MiDeletePte to handle valid, prototype PTEs.
[NTOS]: Add MEM_TOP_DOWN support to ARM3 section code.
[NTOS]: Add support for unmapping currently mapped ARM3 section views at process termination.
[NTOS]: Use the new ARM3 section code for mapping the NLS section in the system (tests the system-view mapping code) and in each new process (tests the data-mapping code). Section is correctly unmapped at process termination time!

svn path=/trunk/; revision=49206
2010-10-19 17:07:11 +00:00
Sir Richard
20d602d71f [NTOS]: Use allocation attribute 0x1 instead of 0xC0000000 to let RosMm know this is an ARM3 section. 0xC0000000 is actually a valid combination of SEC_ flags, 0x1 is illegal and thus recognized.
svn path=/trunk/; revision=49205
2010-10-19 17:01:28 +00:00
Sir Richard
785baaf68e [NTOS]: Implement the MAREA<->VAD hack for section VADs as well.
svn path=/trunk/; revision=49204
2010-10-19 17:00:12 +00:00
Sir Richard
a0cd959fc1 [NTOS]: Get rid of MC_NPPOOL and MC_PPOOL memory consumers since those are not managed by RosMm anymore. Use MC_SYSTEM for the page table stuff that RosMm still handles, and keep MC_USER and MC_CACHE for the current Section/VirtualMemory/Cache RosMm code.
svn path=/trunk/; revision=49203
2010-10-19 16:58:27 +00:00
Sir Richard
24811e9233 [NDK]: Add MMVAD_SHORT.
svn path=/trunk/; revision=49202
2010-10-19 16:57:20 +00:00
Sir Richard
52d26f0643 [NTOS]: Implement MiDecrementReferenceCount and rewrite large parts of the ProbeAndLock/Unlock MDL API to fully use ARM3 APIs, dropping MmReference/DereferencePage behind.
[NTOS]: Fix many MDL API bugs: correctly check for I/O pages, use LIST_HEAD instead of -1, track system-wide locked pages, use the process working set lock instead of the address space lock, add check for cross-ring MDL mappings, and make some small optimizations.
[NTOS]: Make some more fixes in MmAllocatePagesForMdl, MmFreeMdlPages to make the PFN entries more "correct".
[NTOS]: Had a little breakthrough: instead of complicating our lives and hiding certain ReactOS-Mm fields inside legitimate ARM3/MMPFN fields, differentiate between "legacy" (RosMm) and ARM3 pages. The legacy allocator (MmAllocPage/MmRequestPageMemoryConsumer) will use the non-paged pool to allocate a MMROSPFN add-on (8 bytes), in which the RMAP list head and SWAPENTRY are stored. When a legacy "free" is done, this data is deleted. Additionally, we can now tell apart between ARM3 and RosMm pages, so appropriate ASSERTs have been added to make sure the two never cross paths (which should safely let us use all the PFN fields now and implement working sets, etc...). I don't know why I didn't think of this sooner.

svn path=/trunk/; revision=49201
2010-10-19 04:30:48 +00:00
Sir Richard
609dce9faf [NTOS]: Clean up Mm initialization, there is now no-more RosMM stuff done in Phase 0 of MmInit, only ARM3 runs. The kernel address space and memory areas are only initialized in Phase 1, because that's where sections are started up, and they're the only thing other than VM which still use memory-areas.
svn path=/trunk/; revision=49200
2010-10-18 23:07:09 +00:00
Johannes Anderwald
619ab27e1d [KS]
- Fix KSPROPERTY_PIN_CATEGORY handler when no category is provided
- Fix KSPROPERTY_PIN_NAME handler when there is no name provided. Use fallback pin category. If there is no category provided, fail with correct error code
- Fix KSPROPERTY_TOPOLOGY_NAME handler by checking if there is a node name provided. If not use node type as fallback.
- Return correct error code when property request id is out of bounds

svn path=/trunk/; revision=49199
2010-10-18 22:21:00 +00:00
Johannes Anderwald
54374ca72e [PORTCLS]
- Store Miniport object in the device descriptor
- Fixes assert in NVidia NForce Audio Driver

svn path=/trunk/; revision=49198
2010-10-18 18:59:17 +00:00
Sir Richard
32ccfc25bf [NTOS]: Remove the "35314 sginsberg /* REACTOS Mm Hack of Doom */". Apocalypse averted?
svn path=/trunk/; revision=49196
2010-10-18 14:34:35 +00:00
Sir Richard
ba0bd37078 [NTOS]: Remove the Bavarian hack, I no longer think it is needed.
svn path=/trunk/; revision=49195
2010-10-18 14:29:05 +00:00
Sir Richard
a81f92c1cb [NTOS]: Store the protection mask in the Fake VADs as well, we can read/convert this from the MAREA protection value.
[NTOS]: Reimplement NtQueryVirtualMemory to use VAD information instead. Even though Alloc/Free are still MAREA-based, the fake VADs we build ought to be enough to make the query API work for certain limited scenarios. Only some paths are implemented and it's lacking SEH, but it's good enough for the install/boot requirements. If there are any regressions, please file bugs.

svn path=/trunk/; revision=49194
2010-10-18 14:25:33 +00:00
Sir Richard
26c20f3857 [NTOS]: Complete the VAD-to-MAREA Synchronization hack by removing fake MAREAs that were added when inserting real VADs. To do this, we have to track the fake MAREA associated with a VAD, so we overload the FirstProtoTypePte field in the VAD, if this is NOT a section VAD (which we don't use yet). We'll figure something out for section VADs later.
[NTOS]: Now that VAD and MAREA views are synchronized, remove the VAD limit and let VADs be created at any address. Also do not create an arbitrary 16MB VAD memory area anymore. This basically now allows for as many PEB/TEBs as can fit in the address space, fixing the recent known regression that limited the number of threads a process could have.

svn path=/trunk/; revision=49193
2010-10-18 13:10:54 +00:00
Johannes Anderwald
7c151f3f05 [WDMAUD.DRV]
- Kernel streaming pins need to transit states from Run -> Pause -> Acquire -> Stop.
- Fixes SB Live playback hang on last tone when stopping playback

svn path=/trunk/; revision=49191
2010-10-17 22:38:34 +00:00
Johannes Anderwald
5542d91941 [MMIXER]
- Apply a hack to filter out pins, which are not part of filter node processing path
- The hack filters out all pins which have a physical connection. Ideally the code should check if the pin is part of a different rendering path and in that case remove the pin. 
- Revert 49167

svn path=/trunk/; revision=49189
2010-10-17 21:15:21 +00:00
Sir Richard
068812254c [NTOS]: Fix brainfart (an interesting bug we would've never hit, but a bug nevertheless).
svn path=/trunk/; revision=49188
2010-10-17 20:11:04 +00:00
Sir Richard
84328d78db [NTOS]: Use MI_SET_PFN_DELETED where we missed it.
[NTOS]: Implement support for deleting user-mode pageable VM addresses. Now when cleaning up the process address space, MiDeleteVirtualAddresses is called for the VADs, so this will now actually free the PEB/TEB pages that were previously getting leaked for each thread/process (a known regression I introduced when moving to VADs for PEB/TEB).

svn path=/trunk/; revision=49187
2010-10-17 20:02:17 +00:00
Sir Richard
3910f94f4a [NTOS]: Handle faults on non-demand-zero PTEs (and/or demand-zero PTEs that are not READWRITE (such as EXECUTE_READWRITE)).
svn path=/trunk/; revision=49186
2010-10-17 19:56:04 +00:00
Daniel Reimer
ef0b6ce0bc Sync the out of sync winemine to Wine 1.3.5 and fork it, because of the modified look, improved resources and different code structure.
Additionally call it winmine, as it is in windows, too.

svn path=/trunk/; revision=49185
2010-10-17 17:04:39 +00:00
Eric Kohl
b6bcbf0886 [ADVAPI32]
Move the Encrypted File System (EFS) functions into their own file.

svn path=/trunk/; revision=49184
2010-10-17 15:01:46 +00:00
Eric Kohl
3114284398 [PSDK]
Add DecryptFileA/W prototype.

svn path=/trunk/; revision=49183
2010-10-17 14:54:59 +00:00
Sylvain Petreolle
1e4af3fa18 [APITESTS]
Fix (R)TEST macros in gdi32_apitest,
ensures correct display and no crash report in testman.

svn path=/trunk/; revision=49182
2010-10-17 14:50:02 +00:00
Sylvain Petreolle
081e778c2d Katayama Hirofumi:
Add / update Japanese translations.
Fix typos in calc en-US resource.
Bug #5673,5674,5675,5676.

svn path=/trunk/; revision=49181
2010-10-17 12:47:02 +00:00
Sylvain Petreolle
f33d927f43 Patch by Roel Messiant :
Initialise PPB to zero.

The change from NtAllocateVirtualMemory to RtlAllocateHeap causes the memory to
be not automatically initialised to zero anymore.
Not every field of the PPB (for which the memory is allocated) gets explicitly
initialised, meaning this results in them having bogus values.

One of the now uninitialised fields is DebugFlags, which results in
DbgBreakPoint being called in NtProcessStartup.  Simply ensuring the memory is
zeroed makes it all better again.

svn path=/trunk/; revision=49180
2010-10-17 11:12:54 +00:00
Daniel Reimer
49c30a8a6d Sync reg xcopy winhlp32 wordpad and msiexec with Wine 1.3.5
svn path=/trunk/; revision=49179
2010-10-17 00:26:32 +00:00
Sir Richard
82949cc7b2 [CSRSS]: Should use MEM_COMMIT | MEM_RESERVE, not just MEM_COMMIT when requesting a range of adress space that wasn't already reserved. This works in ReactOS because, well, no reason to explain why, but it wouldn't work on Windows or with a VAD-based kernel.
svn path=/trunk/; revision=49178
2010-10-16 21:04:50 +00:00
Sir Richard
55e59a3673 [NTOS]: Add MmProtectToValue array to convert MM/PTE protection values to Win32 protection flags.
svn path=/trunk/; revision=49177
2010-10-16 21:02:48 +00:00
Aleksey Bragin
8cf3c262f2 [PSDK]
- Add NOMIRRORBITMAP definition.

svn path=/trunk/; revision=49176
2010-10-16 19:46:03 +00:00
Aleksey Bragin
f4be908fdd [PSDK]
- Add ICONINFOEX* definitions and GetIconInfoEx* declarations from Wine.

svn path=/trunk/; revision=49175
2010-10-16 17:23:40 +00:00
Eric Kohl
eccf8af929 [ADVAPI32]
Implement LsaAddPrivilegesToAccount(), LsaCreateTrustedDomain(), LsaDeleteTrustedDomain() and LsaOpenTrustedDomainByName().

svn path=/trunk/; revision=49174
2010-10-16 16:26:52 +00:00
Sir Richard
36edd7ee75 !!! The previous commit message had a typo, these are the Windows XP DDK Samples, not the Server 2003 DDK samples !!!
[CLASSPNP/CDROM_NEW]: Remove useless files.

svn path=/trunk/; revision=49172
2010-10-16 15:48:42 +00:00
Sir Richard
73c1c7f232 [CLASSPNP]: Add Windows Server 2003 DDK ClassPNP sample, under the license and terms of the Windows Server 2003 DDK.
[CDROM]: Add Windows Server 2003 DDK Cdrom Sample, under the license and terms of the Windows Server 2003 DDK.
They both build and run fine, but PCIIDE(x) must be completed/enabled, and atapi must be rewritten to be WDM-compliant.

svn path=/trunk/; revision=49171
2010-10-16 15:24:08 +00:00
Cameron Gutman
8047296236 [SCSIPORT]
- Fix a couple of typos in the DMA code from my last commit

svn path=/trunk/; revision=49170
2010-10-16 15:15:51 +00:00
Sir Richard
68e8260b98 [RTL]: Fix a bug introduced Mon Dec 6 00:25:14 1999 UTC (10 years, 10 months ago) in revision 828. NtFreeVirtualMemory takes a pointer to the address to free, not the address instead. For the last 11 years, freeing the process parameter block resulted in freeing whatever the first value in the structure is, which is MaximumLength and initialized to 0x1000. ReactOS would then free whatever random address was in that area. In real Windows, it is illegal to free an allocation in the middle of the base address, and this call failed with the new VAD code. ReactOS either leaked the memory or freed random data, who knows.
[RTL]: Make the PPB live in the Heap instead of having its own virtual allocation, fixing the issue above. Stop rounding it to a PAGE_SIZE, and just use the space required.

svn path=/trunk/; revision=49169
2010-10-16 14:20:30 +00:00
Kamil Hornicek
3b63f433a0 [MMIXER]
Amendment to rev. 49167 requested by Caemyr.

svn path=/trunk/; revision=49168
2010-10-16 13:55:09 +00:00
Johannes Anderwald
53ddbca64c [MMIXER]
- Disable assert for now

svn path=/trunk/; revision=49167
2010-10-16 12:39:49 +00:00
Johannes Anderwald
aa8c6826c3 [MMIXER]
- Add support for topologies where pins directly connect to other pins without nodes in between
- Check if the topology contains node. Fixes assert hit in VmWare Player(sound is not working)
- Thanks to Caemyr for testing

svn path=/trunk/; revision=49166
2010-10-16 12:36:21 +00:00
Eric Kohl
ab14f413c9 [LSASRV]
- Change the calling convention of all LSA-RPC function to stdcall.
- Export some of the LSA-RPC functions.

svn path=/trunk/; revision=49165
2010-10-16 12:34:04 +00:00
Eric Kohl
b560e7a480 [ADVAPI32]
Implement LsaCreateAccount(), LsaOpenAccount() and LsaSetInformationPolicy().

svn path=/trunk/; revision=49164
2010-10-16 09:41:47 +00:00
Eric Kohl
c35d9e6039 [LSASRV]
Add ServiceInit() stub and call it from lsass.

svn path=/trunk/; revision=49163
2010-10-16 08:48:25 +00:00
Cameron Gutman
e53b74f8c5 [SCSIPORT]
- Implement support for 2 interrupts
- Halfplement support for 2 DMA channels
- Set/Read the CM_RESOURCE_DMA flags
- Remove a duplicate spin lock initialization
- Partially tested with 2 interrupts in use but UniATA seems to be broken because it registers both interrupts for each channel even though they are not sharable which causes it to fail when initializing the secondary IDE channel

svn path=/trunk/; revision=49162
2010-10-15 21:38:00 +00:00
Eric Kohl
40a9859ca5 [ADVAPI32/LSASRV]
- Prepare LsapValidateDbHandle for access checks.
- Move the functionality of LsaQueryInformationPolicy (advapi32.dll) into the new function LsarQueryInformationPolicy (lsasrv.dll).
- Remove dead code from advapi32.dll.

svn path=/trunk/; revision=49161
2010-10-15 21:28:42 +00:00
Timo Kreuzer
7796502f67 [WIN32K]
Renove some unneccessary casts

svn path=/trunk/; revision=49160
2010-10-15 20:13:10 +00:00
Timo Kreuzer
f2db8eca6a Add apitests to reactos.dff
svn path=/trunk/; revision=49159
2010-10-15 20:03:47 +00:00
Cameron Gutman
50bca246a8 [SCSIPORT]
- Remove some code duplication and fix a bug of copying the same interrupt information twice for a device with 2 interrupts (instead of the info for interrupt 1 then the info for interrupt 2) effectively making initialization fail because the resource allocation code will detect a conflict with itself

svn path=/trunk/; revision=49158
2010-10-15 19:25:07 +00:00
Timo Kreuzer
b5fef1ffcd [WINED3D]
Our CRT causes duplicate definitions, when trying to use it as fallback for missing msvcrt imports. Work around this limitation by adding powf and sqrtf wrappers for amd64 builds

svn path=/trunk/; revision=49157
2010-10-15 16:56:13 +00:00
Aleksey Bragin
e700e19237 [HEAP]
- Fix a typo which lead to incorrect flags being forced. Fixes last remaining major winetest failures (only 1 GlobalAlloc/Free implementation related one is left to be fixed).

svn path=/trunk/; revision=49156
2010-10-15 15:53:10 +00:00
Pierre Schweitzer
1a3aa9c454 [HEAP]
Hackfixed build by stubbing RtlpValidateHeapHeaders(), RtlpValidateHeapEntry() and hackplementing RtlpValidateHeap().
To be properly fixed.

svn path=/trunk/; revision=49155
2010-10-15 15:05:15 +00:00
Aleksey Bragin
7f8660190b [HEAP]
- Implement parameters validation ("DebugHeap") in all used RTL heap APIs. Winetests failures down to 4.

svn path=/trunk/; revision=49154
2010-10-15 13:16:48 +00:00
Timo Kreuzer
6fa23913f1 [CRT]
Add powf() wrapper

svn path=/trunk/; revision=49153
2010-10-15 12:33:08 +00:00
Giannis Adamopoulos
1d07d0bf75 [win32k]
- Clean up co_IntPeekMessage

svn path=/trunk/; revision=49152
2010-10-15 08:34:59 +00:00
Johannes Anderwald
8158082c80 [WDMAUD_KERNEL]
- Implement registering event routine which gets called when a topology node (volume / mute node) changes
- Implement fetching event changes
[MMIXER]
- Implement support routines which get called when a topology node changes its state
- Volume changes / mute on/off changes should now be broadcasted again to all listening applications

svn path=/trunk/; revision=49151
2010-10-15 02:24:35 +00:00
Johannes Anderwald
8a0913d231 [MMIXER]
- Rewrite topology node enumeration algorithm
- Old algorithm didnt properly take in account sum/mux nodes, may assign nodes to multiple lines and was not able to detect circuits which may lead to infinite loops
- New algorithm properly partitions the nodes and also checks if nodes has already been assigned. As a plus, it is also faster
- Algorithm based on msdn http://msdn.microsoft.com/en-us/library/ff538873(v=VS.85).aspx
- Tested on VBox 3.28 (AC97)
- Please retest supported soundcards for regressions


svn path=/trunk/; revision=49150
2010-10-15 00:20:15 +00:00
Aleksey Bragin
4758da752f [HEAP]
- Add special debug heap function declarations and stubs.
- Add a useful inline for detecting whether a special or normal heap is going to be used.

svn path=/trunk/; revision=49149
2010-10-14 20:55:38 +00:00
Aleksey Bragin
57f4a96cc1 [HEAP]
- Add ability to dynamically allocate UCR descriptors when preallocated amount is exhausted.
- Fix a few bugs in RtlpFindAndCommitPages and in deactivated RtlpDecommitFreeBlock.
- Enable free blocks decommitting.
- New heap manager would now be ready to replace the old one.

svn path=/trunk/; revision=49147
2010-10-14 20:04:20 +00:00
Eric Kohl
6e2cb102ff [RPCRT4]
Add a missing format type to unmarshall_discriminant().

svn path=/trunk/; revision=49146
2010-10-14 19:41:03 +00:00
Giannis Adamopoulos
692b1c23aa [win32k]
- When we try to call a hook with null hook proc will cause a crash in user32. Add an assertion in win32k in order to catch the problem a bit earlier

svn path=/trunk/; revision=49145
2010-10-14 18:53:12 +00:00
Giannis Adamopoulos
36b0351814 [win32k]
- Disable checking if a hook is active. It is safe to disable it for now because it is just an optimization. If we try to call a hook when it is not active, it will fail anyway when it tries to find the hook. Fixes calling low level hooks

svn path=/trunk/; revision=49144
2010-10-14 18:36:33 +00:00
Jérôme Gardou
d6686bcbb1 Sync with trunk head (r49139)
svn path=/branches/reactos-yarotows/; revision=49142
2010-10-14 14:23:50 +00:00
Daniel Reimer
773744f9ec Another dll addition to cmake, another rc file fix.
svn path=/trunk/; revision=49139
2010-10-13 21:23:48 +00:00
Amine Khaldi
9ddf9db633 [AUTHZ]
- Missed these.

svn path=/trunk/; revision=49137
2010-10-13 14:54:37 +00:00
Amine Khaldi
8a867c2d84 [AUTHZ]
- Fix AuthzReportSecurityEvent, AuthzInitializeObjectAccessAuditEvent and AuthzInitializeObjectAccessAuditEvent2 prototypes.

svn path=/trunk/; revision=49136
2010-10-13 14:30:49 +00:00
Amine Khaldi
6c93543364 [DDK]
- Fix RtlStringCbPrintf prototypes.

svn path=/trunk/; revision=49134
2010-10-13 10:53:01 +00:00
Sir Richard
6f0a1a3598 [SMSS]: Remove the ROS_DOESNT_SUCK hack, and correctly started subsystem processes with the first MB reserved.
[CSRSRV]: CSRSS was started with a free address space, and was able to map 0xA0000 into it by luck, because the ReactOS Mm allocator picks address ranges randomly, and it somehow managed to avoid the low 1MB addresses. Were this algorithm to change, or perhaps, were we to implement VADs for VM allocations, the 0xA0000 region might already be allocated (by an early-process-initialization allocation, such as the heap). This is what the flag referenced above was designed for, but it was not used. Using this flag, on the other hand, now makes CSRSS fail, because it attempts to map the RAM into 0xA0000, which fails since you can map a section on top of reserved memory. To work around this Brobdingnagian annoyance, CSRSS simply releases the first MB of memory that SMSS has nicely reserved for it, and then proceeds with the mapping. This fixes the issue of getting 0xA0000 by luck and now guarantees it can be mapped.

svn path=/trunk/; revision=49133
2010-10-12 21:17:58 +00:00
Eric Kohl
8bfc61d69d [WIDL]
Update widl to version 1.3.4.

svn path=/trunk/; revision=49132
2010-10-12 20:51:07 +00:00
Pierre Schweitzer
6d0861e9ed [NTOSKRNL]
Implemented IopFetchConfigurationInformation(), IopCreateArcNamesCd(), IopCreateArcNamesDisk(), IopVerifyDiskSignature()
Removed IopApplyRosCdromArcHack(), IopGetDiskInformation(), IopAssignArcNamesToCdrom()
Finally, rewritten IopCreateArcNames()

To make it short, this is the rewrite of ARC names handling in the kernel.
This brings our kernel to a higher state of existence. Indeed, it's leaving NT4 design for a proper NT5.2 design, with less hacks, less ROS specific stuff and such.
This code handles the mount manager we don't have yet.

svn path=/trunk/; revision=49131
2010-10-12 20:29:50 +00:00
Pierre Schweitzer
82e5bca0e7 [NTOSKRNL]
Implemented FstubAllocateDiskInformation(), FstubDbgGuidToString(), FstubDbgPrintDriveLayoutEx(), FstubDbgPrintPartitionEx(), FstubDetectPartitionStyle(), FstubFreeDiskInformation(), FstubGetDiskGeometry(), FstubReadPartitionTableMBR(), FstubReadSector()

Stubbed FstubReadPartitionTableEFI()

This leads to a correct & working implementation of IoReadPartitionTableEx(). As this state, it only handles MBR partition tables as EFI/GPT as been stubbed out.

EFI/GPT support will come later.

svn path=/trunk/; revision=49130
2010-10-12 20:22:29 +00:00
Pierre Schweitzer
466f11a06e [CLASS2]
Switch use from DISK_GEOMETRY to DISK_GEOMETRY_EX. It's needed to handle some Windows 2003's kernel routines.

[CDROM]
Reflect changes in Class2.

[DISK]
Reflect changes in Class2.
Also added support for IOCTL_DISK_GET_DRIVE_GEOMETRY_EX.

svn path=/trunk/; revision=49129
2010-10-12 20:17:55 +00:00
Eric Kohl
7b8d28a209 [D3D]
Preparations for update to widl 1.3.4.

svn path=/trunk/; revision=49128
2010-10-12 20:07:58 +00:00
Cameron Gutman
eb1a973d69 [HAL]
- Check that the interrupt line is not 255
- Check that the interrupt pin is not 0
- Fixes a failed assertion that Caemyr experienced with an ATI Rage graphics card

svn path=/trunk/; revision=49127
2010-10-12 20:02:15 +00:00
Aleksey Bragin
1bcf80bc88 [HEAP]
- Implement heap validation support.

svn path=/trunk/; revision=49126
2010-10-12 18:34:48 +00:00
Amine Khaldi
6c00026235 [DDK]
- Fix ClassDebugPrint prototype.

svn path=/trunk/; revision=49125
2010-10-12 16:39:38 +00:00
Kamil Hornicek
3905ce18c3 Attempt nr. 2: link wined3d to crt on amd64 build.
svn path=/trunk/; revision=49124
2010-10-12 15:02:31 +00:00
Kamil Hornicek
065484b260 Fix amd64 build.
svn path=/trunk/; revision=49123
2010-10-12 14:24:58 +00:00
Aleksey Bragin
917da839e1 [NTDLL]
- Don't access unitialized memory. Caught thanks to a new heap manager, and this fixes all weird actctx exceptions in kernel32_winetest heap.

svn path=/trunk/; revision=49122
2010-10-12 09:03:39 +00:00
Kamil Hornicek
8dec037a81 [WIN32K]
UserEnumDisplaySettings returns NTSTATUS.

svn path=/branches/reactos-yarotows/; revision=49118
2010-10-11 15:56:46 +00:00
James Tabor
770f1576a5 [Wine Tests]
- Update the only two tests that I tested and know that does not have RTL support. The Right To Left support will be another comprehensive change that can be done in a non intrusive way as long no one uses it.

svn path=/trunk/; revision=49117
2010-10-11 15:12:47 +00:00
Kamil Hornicek
75c09c4aa9 [WINED3D]
Update wined3d, ddraw, d3d8 and d3d9 to Wine 1.3.4.

svn path=/trunk/; revision=49116
2010-10-11 13:56:39 +00:00
Giannis Adamopoulos
e351569713 [win32k]
- Remove the FreeLParam 'feature' from win32k. This hack allowed us to post messages that contain pointers. However we don't do it anymore so we can also remove this as well
- Add keyboard messages to the list with Hardware messages and not in the list with post messages

svn path=/trunk/; revision=49115
2010-10-11 13:01:46 +00:00
Giannis Adamopoulos
f87e0a7d9e [win32k]
-Move checks for active hooks in co_HOOK_CallHooks

svn path=/trunk/; revision=49114
2010-10-11 10:58:33 +00:00
Aleksey Bragin
71e0a64605 [HEAP]
- Fix DWORD -> ULONG in function definitions too.

svn path=/trunk/; revision=49113
2010-10-11 10:29:41 +00:00
Pierre Schweitzer
793daae607 [NDK]
Fixed build

svn path=/trunk/; revision=49112
2010-10-11 10:20:40 +00:00
Aleksey Bragin
0568f4e2ce [HEAP]
- Fix RtlQuery/SetHeapInformation prototypes, move them to an appropriate place.
- Implement RtlQuery/SetHeapInformation.
- Implement in-place block growing.
- Amount of winetest heap failures is down to 6 (3 exceptions still happen).

svn path=/trunk/; revision=49111
2010-10-11 08:39:04 +00:00
Aleksey Bragin
dff2d51166 [ADVAPI32]
- Katayama Hirofumi: Use DataLength field in RegEnumValueW instead of DataOffset.
- Roel Messiant: Test behaviour in Vista and apply same fix to RegEnumValueA.
See issue #2492 for more details.

svn path=/trunk/; revision=49110
2010-10-11 07:47:52 +00:00
James Tabor
11291ff204 [Win32k|User32]
- Move to the new window structure. Window Object served us well.

svn path=/trunk/; revision=49109
2010-10-11 03:41:41 +00:00
Daniel Reimer
f6c0e1acf0 RC file fixes for inconsistences shown up by the recent dll work in r49105.
svn path=/trunk/; revision=49107
2010-10-10 23:29:32 +00:00
Daniel Reimer
7d3981e209 More resource fixes making warnings vanish when built with cmake.
svn path=/trunk/; revision=49103
2010-10-10 22:36:35 +00:00
Aleksey Bragin
b00e93abd1 [HEAP]
- Properly set HEAP_GROWABLE flag if dwMaximumSize is 0 in HeapCreate. Also check for dwMaximumSize validity. Fixes out-of-memory problems when running "heavy" applications like Office 2003 setup with a new heap manager (which actually respects HEAP_GROWABLE flag).

svn path=/trunk/; revision=49102
2010-10-10 21:52:48 +00:00
Daniel Reimer
e45344cae1 Replace \" with "" in resource files. This makes CMAKE build way more silent. Needs to be merged.
TBD find a way to silent warnings happening due to \n in strings.

svn path=/trunk/; revision=49096
2010-10-10 14:45:03 +00:00
Eric Kohl
cc89c1b5b3 [NTOSKRNL]
Implement SeImpersonateClientEx() and simplify SeImpersonateClient().

svn path=/trunk/; revision=49091
2010-10-10 11:31:51 +00:00
Aleksey Bragin
d498e714c6 [HEAP]
- Add 64 bit compatibility.

svn path=/trunk/; revision=49090
2010-10-10 11:16:55 +00:00
Benedikt Freisen
47bd0d25ed [PAINT]
- apply patch by Black_Fox (see bug 5434)
- fix minor bugs introduced by it
- generalize changes related to mirroring rectangular selections to free form selections
- solve problem regarding selection contents update

svn path=/trunk/; revision=49089
2010-10-10 09:57:44 +00:00
Eric Kohl
4ab377fc5e [WIDL]
- Revert r49085 and r49086.

svn path=/trunk/; revision=49087
2010-10-09 23:13:57 +00:00
Eric Kohl
c30d993d2e [WIDL]
Fix Unix build.

svn path=/trunk/; revision=49086
2010-10-09 22:54:37 +00:00
Eric Kohl
71c108681a [WIDL]
- Sync to Wine-1.3.4
- Bugfix: The switchtype attribute of non-encapsulated unions was not  propagated to a type but only to its aliases.

svn path=/trunk/; revision=49085
2010-10-09 22:41:05 +00:00
Daniel Reimer
bc4071a15a Update rapps database
svn path=/trunk/; revision=49084
2010-10-09 22:36:58 +00:00
Cameron Gutman
411c11b801 [URLMON]
- Sync to WINE 1.3.4
[WININET]
- Add a forgotten change to the diff
[WINHTTP]
- Sync to WINE 1.3.4
- Sync the inet_ntop.c change from wininet
- Update the diff

svn path=/trunk/; revision=49083
2010-10-09 21:52:25 +00:00
Cameron Gutman
efe34232b4 [PSDK]
- Add INET_E_USE_DEFAULT_SETTING definition
[WINE]
- Add iscntrlW() definition

svn path=/trunk/; revision=49082
2010-10-09 21:10:39 +00:00
Cameron Gutman
c95d5d74b8 [WININET]
- Sync wininet to WINE 1.3.4
- Regenerate wininet_ros.diff so that it actually applies against current WINE head

svn path=/trunk/; revision=49081
2010-10-09 20:08:18 +00:00
Cameron Gutman
f39c42c8c2 [WININET]
- Add a ROS-specific change that was missed during the last winesync to fix winsock error handling
- Remove the CP_UNIXCP definition
- Use WSASetLastError instead of errno in inet_ntop.c
- Thanks to IRC:igorko for pointing out the bug

svn path=/trunk/; revision=49078
2010-10-09 18:40:16 +00:00
Aleksey Bragin
de743e0f9b [HEAP]
- Move (and cleanup) private heap definitions and structure to a standalone header file heap.h. It's explicitly included in heap_rewrite.c and heapdbg.c to prevent conflicts with the existing heap manager in heap.c.

svn path=/trunk/; revision=49071
2010-10-09 13:02:34 +00:00
Aleksey Bragin
c76fdb3cd6 [HEAP]
- Implement setting/getting heap user values and flags (very easy provided heap design is now proper). Amount of winetest failures is down to 12 (but 3 crashes in child processes).

svn path=/trunk/; revision=49069
2010-10-09 12:49:30 +00:00
Amine Khaldi
60ede58f09 [RAPPS]
Igor Paliychuk:
- Update some broken links.
- Changed the cyrillic "P" to a latin "P" in the beginning of the VBox driver's russian and ukrainian descriptions (rapps doesn't display it when it's cyrillic).

svn path=/trunk/; revision=49067
2010-10-09 10:35:35 +00:00
Pierre Schweitzer
ee975c3ca3 [NTDLL]
Fixed build

svn path=/trunk/; revision=49065
2010-10-09 10:01:37 +00:00
Aleksey Bragin
a6dc26d616 [RTL]
- Fix RtlSetUserFlagsHeap declaration and definition.

svn path=/trunk/; revision=49064
2010-10-09 09:19:33 +00:00
Aleksey Bragin
a87de8e0b6 [KERNEL32]
- Revert incorrect changes from 34404 and 40910: RtlSetUserFlagsHeap() doesn't set usual heap flags, it sets special user-settable heap entry flags. With the new heap manager such usage corrupts heap integrity (not to say prototype of this function is incorrect).
- RtlReAllocateHeap() is supposed to copy user values and flags so there is no need to set them afterwise again.
- Fix a typo in comments.

svn path=/trunk/; revision=49063
2010-10-09 09:15:50 +00:00
Aleksey Bragin
46819fb8ac [HEAP]
- Roel Messiant: Fix infinite loop in RtlDestroyHeap if heap contained big blocks.

svn path=/trunk/; revision=49058
2010-10-08 20:17:39 +00:00
Aleksey Bragin
129f3f133d [HEAP]
- Set proper heap flags (tail and free checking) in case heap validation is enabled. Fixes another bunch of winetests.

svn path=/trunk/; revision=49057
2010-10-08 19:30:23 +00:00
Eric Kohl
8618ae85de [EVENTLOG]
Rename the EVENTSOURCE struct to LOGHANDLE because it is currently used like a handle object. The EVENTSOURCE struct will be added again in one of the next commits.

svn path=/trunk/; revision=49055
2010-10-08 18:48:54 +00:00
Aleksey Bragin
3dea59438f [HEAP]
- Roel Messiant: Remove old-style Peb->ProcessHeaps assignment from RTL, it's already done by MM.
- Roel Messiant: Fix a typo (missing else) between two if branches, which fixes commit routine support.
- Properly save requested size if 0 was given (1 should be allocated, but 0 saved as a requested amount). Fixes winetests.
- Remove unnecessary dprints.

svn path=/trunk/; revision=49048
2010-10-08 09:47:48 +00:00
Aleksey Bragin
16d1640085 [NTDLL]
- Load image execution options before creating process heap (so that GlobalFlag overrides can be taken into account).
- Make LdrQueryImageFileExecutionOptions avoid heap usage when possible (and when it's not possible, fail with out of memory status).
- Fixes a dramatic count of ~100 failures in "kernel32_winetest heap".

svn path=/trunk/; revision=49045
2010-10-07 21:12:10 +00:00
Pierre Schweitzer
91397f1a7a [NTOSKRNL]
On boot, while loading drivers, make starting Loader Block available to the whole kernel to let drivers calling on-boot functions that may need it.
One of them will be implemented later.

svn path=/trunk/; revision=49044
2010-10-07 20:20:10 +00:00
Pierre Schweitzer
459c241f70 [NTOSKRNL]
Fixed a FIXME in ARC names by implementing IopStoreSystemPartitionInformation(). This make ReactOS writing boot paths to registry.

svn path=/trunk/; revision=49043
2010-10-07 20:08:24 +00:00
Pierre Schweitzer
762f577918 [NTOSKRNL]
Don't ignore IopCreateArcNames() return while booting.
At the moment, it's just returning STATUS_SUCCES but it will be changed later.

svn path=/trunk/; revision=49042
2010-10-07 19:58:22 +00:00
Eric Kohl
d6c9064e9d Fix indentation. No code changes.
svn path=/trunk/; revision=49041
2010-10-07 19:58:04 +00:00
Pierre Schweitzer
5686788c8b [FREELDR]
Fix CDs checksum computation
[NTOSKRNL]
Fix ARC names accordingly

svn path=/trunk/; revision=49040
2010-10-07 19:16:09 +00:00
Giannis Adamopoulos
40dba5e526 [win32k]
- Fix an ancient FIXME in PATH_PathToRegion

svn path=/trunk/; revision=49039
2010-10-07 19:14:49 +00:00
Sir Richard
5d9bbfb9db [NTOS]: Fix copy/paste error.
svn path=/trunk/; revision=49037
2010-10-07 17:41:20 +00:00
Sir Richard
28db1e4106 [NTOS]: Hackfix a hack. Should get rid of the recent VAD assert in user32/bpp changes.
svn path=/trunk/; revision=49036
2010-10-07 17:35:25 +00:00
Sir Richard
12e7ae649b [NTOS]: Add support for user-mode VAD faults on page tables (just a couple lines of extra code).
[NTOS]: Add support for user-mode VAD demand zero faults.
[NTOS]: Remove broken ASSERT.

svn path=/trunk/; revision=49035
2010-10-07 17:27:23 +00:00
Aleksey Bragin
9dabd64349 [HEAP]
- Fix allocated/free memory fillers to match those Windows uses (winetests)
- Add missing coalesce-on-free flag check in RtlCreateHeap
- Turn on tail check/pattern filling in RtlAllocateHeap.
- Add extra stuff storage support in RtlAllocateHeap and its helpers.
- Set win32 statuses where necessary.
- Return success in RtlValidateHeap to reduce spam when running winetest.

svn path=/trunk/; revision=49034
2010-10-07 17:05:29 +00:00
Aleksey Bragin
41b74ee1f9 [NTDLL]
- Fix a typo which always set page heap enabled to true.

svn path=/trunk/; revision=49033
2010-10-07 16:51:19 +00:00
Sir Richard
538c2dfa33 [NTOS]: My attempt at making bugchecks a thing of the past has failed, someone has caught the typo. Bugchecks will now happen in ReactOS again instead of being ignored. Maybe you can "forget" to merge this one with the release branch? ;-)
svn path=/trunk/; revision=49031
2010-10-07 13:52:42 +00:00
Aleksey Bragin
b973ba44ac [WIN32K]
- Roel Messiant: Return correct address in the user heap commit routine. Should fix boot with the new heap manager.

svn path=/trunk/; revision=49029
2010-10-07 07:56:26 +00:00
Aleksey Bragin
9a781f022b [ADVAPI32]
- Roel Messiant: Properly handle STATUS_BUFFER_TOO_SMALL in RegEnumValueW implementation.
See issue #2492 for more details.

svn path=/trunk/; revision=49028
2010-10-07 07:21:08 +00:00
Matthias Kupfer
d584d4e50e Carlo Bramini <carlo DOT bramix AT libero DOT it>
- Fix for render status bar after changing line wrap and flicker issue.
- See issue #5635 for details.

svn path=/trunk/; revision=49027
2010-10-06 22:11:12 +00:00
Eric Kohl
44e8c0e71a [RTL]
Change RtlLockBootStatusData prototype according to http://cookp.com/%2F/thread/1111206/how%20can%20i%20detect%20last%20boot%20success

svn path=/trunk/; revision=49026
2010-10-06 20:43:51 +00:00
Aleksey Bragin
3e76d8224e [NTDLL]
- LoadImageFileExecutionOptions() improvements:
 * Apply certain heap flags if the process is being debugged (only if NtGlobalFlags is not overridden).
 * Implement enabling page heap and reading image-specific configuration values.
- Add page heap configuration values to the Heap Manager.

svn path=/trunk/; revision=49025
2010-10-06 20:34:30 +00:00
Aleksey Bragin
257ce7ee90 - Respectively fix incorrect data type for GlobalFlags in ReactOS registry.
svn path=/trunk/; revision=49022
2010-10-06 17:25:15 +00:00
Aleksey Bragin
83b1daf183 [NTDLL]
- Fix loading of GlobalFlags in Image File Execution Options. I really wonder who had that brilliant idea that bitwise flags would be stored as a string in the registry.
- If there is a GlobalFlags value specified in the registr for that specific image, it means that value should overwrite NtGlobalFlags. Fix that too (previously it was ORing which made no sense).

svn path=/trunk/; revision=49021
2010-10-06 17:18:22 +00:00
Kamil Hornicek
2ff3b055ce [CMD]
Use the full name we get from SearchForExecutable when building the command line for CreateProcess so we get proper name in argv[0] later.

svn path=/trunk/; revision=49020
2010-10-06 16:44:09 +00:00
Sir Richard
c617645ef3 [NTOS]: Fix bugs in the VAD algorithms, we should be rounding up, not down.
svn path=/trunk/; revision=49019
2010-10-06 16:25:30 +00:00
Timo Kreuzer
82280e1435 [NTOSKRNL]
Alternative workaround for pentium lock errata: Instead of burdening the page fault handler, just mark the IDT page as Write-Through if the bug is present. According to http://www.rcollins.org/Errata/Dec97/F00FBug.html it shall prevent the lock up. Please test. Dedicated to elhoir.

svn path=/trunk/; revision=49018
2010-10-06 14:39:56 +00:00
Ged Murphy
90bd7eaa64 - Implement monitor bitmap support for the display dialog
- Fix incorrect codepage values
- Look for applets in windows dir as well as system dir
- Patch by Carlo Bramix
See issue #3158 for more details.

svn path=/trunk/; revision=49017
2010-10-06 14:13:00 +00:00
Sir Richard
1689cea28b [NTOS]: Temporary debugging.
svn path=/trunk/; revision=49016
2010-10-06 13:32:58 +00:00
Giannis Adamopoulos
aeb9c9ca8f [win32k]
- co_UserDestroyWindow: Send WM_PARENTNOTIFY message in correct order

svn path=/trunk/; revision=49014
2010-10-06 13:10:00 +00:00
Timo Kreuzer
b70ce19480 remove svn:merginfo
svn path=/trunk/; revision=49013
2010-10-06 12:30:23 +00:00
Timo Kreuzer
888d3b5244 [NTOSKRNL]
- Add amd64 versions of MI_MAKE_PROTOTYPE_PTE and MiProtoPteToPte
- Remove outdated external declarations
- disable deprecated amd64 code
- use MiFillSystemPageDirectory only for 2 paging levels
- Fixes amd64 build

svn path=/trunk/; revision=49012
2010-10-06 12:16:51 +00:00
Giannis Adamopoulos
8ee22f5275 [win32k]
- Send WM_PARENTNOTIFY message when a window is destroyed

svn path=/trunk/; revision=49011
2010-10-06 11:14:58 +00:00
Aleksey Bragin
b2e1788e8e [RTL/HEAP]
- Implement missing parts of a virtual block allocations support.
- Minor fixes to handling extra stuff in heap blocks.
- Wine's heap regression tests now run through the end without crashing and show 277 failures.

svn path=/trunk/; revision=49010
2010-10-06 09:19:24 +00:00
Sir Richard
3ca783f940 Lame... build fix.
svn path=/trunk/; revision=49008
2010-10-06 04:34:36 +00:00
Aleksey Bragin
850e197b58 [RTL/HEAP]
- First commit of a heap manager rewrite. It introduces a totally new heap manager, with the following features:
* Actually resembles real NT's heap manager;
* Based on data structures similar to Windows 2003 and Vista+'s heap structures;
* Supporting advanced heap flags (e.g. useful for debugging);
* Substantially lower fragmentation rates (and thus speed and reliability) than the existing Wine's implementation. It's going to be further enhanced by adding a frontend allocator (for example, as lookaside lists, or as a Low Fragmentation Heap alike frontend in Vista+ systems);
* Real support for user-defined flags and native support for user-defined values;
* Native support for a custom commit routine, which is very important for trunk's win32 subsystem;
* Reserving, committing, decommitting and freeing on the fly, unlike existing heap manager which prefers to reserve and commit as much as possible, and doesn't decommit when it's no longer necessary;
* Support for per process heaps, with a proper lock;
* Reserved support for a special so-called debug heap allocator (to be implemented in heapdbg.c) which will be useful for finding heap corruptions.

The committed code is a result of a month of work, and is a heavy work-in-progress one. It already implements the bare minimum required to boot to 3rd stage and run FireFox 3, however many rare codepaths are not implemented yet and there is some maintenance work to do (e.g. move structures and defines to a standalone header file). A list of used references is stated in the header of a source file for now.

svn path=/trunk/; revision=49007
2010-10-05 21:43:48 +00:00
James Tabor
da848d062f - Fix build from 49005.
svn path=/trunk/; revision=49006
2010-10-05 20:18:04 +00:00
James Tabor
76bac9c7df [Win32k|User32]
- Implement NtUserGetMenuIndex, see Bug 5528.

svn path=/trunk/; revision=49005
2010-10-05 20:13:32 +00:00
Sir Richard
44e3333652 [NTOS]: High-level interface fixes to NtAllocateVirtualMemory/NtFreeVirtualMemory:
- Validate MEM_LARGE_PAGES, MEM_PHYSICAL flags. Check for permission to use MEM_LARGE_PAGES.
        - Validate protection mask.
        - Validate MEM_RELEASE and MEM_DECOMMIT.
        - Perform correct SEH in NtFreeVirtualMemory.
        - Protect against overflows past VAD/User address ranegs.
        - Only reference the process by handle if this isn't already the current process.
        - If this isn't the current process, attach to it during the duration of the VM operation.

svn path=/trunk/; revision=49004
2010-10-05 20:00:32 +00:00
Aleksey Bragin
58ed576929 [RTL]
- Fix heap code to actually use the new lock instead of using RTL_CRITICAL_SECTION.
- Fix a ROUND_UP and ROUND_DOWN macros: it is a *rule* to wrap every argument in braces in a macro, otherwise shit happens. A couple of days were lost fighting a strange bug in the new heap manager code where it was doing ROUND_UP(Heap + 1, PAGE_SIZE)...

svn path=/trunk/; revision=49003
2010-10-05 19:33:42 +00:00
Sir Richard
d8f6e7ccc9 [NTOS]: Build fix.
svn path=/trunk/; revision=49002
2010-10-05 17:01:41 +00:00
Giannis Adamopoulos
947bd17104 [win32k]
- Don't place new windows with default position at the top left corner of the screen
See issue #5484 for more details.

svn path=/trunk/; revision=49001
2010-10-05 16:41:38 +00:00
Sir Richard
553f068d37 [NTOS]: Fix whitespace typo in comment (two spaces instead of one).
That's right. I'm not a fun person.

svn path=/trunk/; revision=49000
2010-10-05 15:59:47 +00:00
Sir Richard
7d21cf7abd [NTOS]: Delete a bunch of junk, 5 less files in Mm now (also moved some functions around). Delete unused functions where found.
[NTOS]: The modified page writer should run at a high priority such as 27, not in idle mode at priority 1 -- otherwise dirty pages never get flushed out.
[NTOS]: Reimplement MmGetFileNameForAddress, MmGetFileNameForSection, MmGetFileObjectForSection to also support ARM3 sections. Shouldn't affect anything other than the user-mode debugging support.

svn path=/trunk/; revision=48999
2010-10-05 15:55:52 +00:00
Sir Richard
103fbf8518 [NTOS]: When shutting down, call Cc to flush the dirty cached pages, otherwise these might've gotten lost (and lead to lost/corrupted data on disk).
[NTOS]: Don't assume that CcFlushDirtyPages will run with APCs disabled. Go ahead and actually enter/leave a critical region (Acquire/ReleaseForLazyWrite depend on this). The guarded mutex does disable APCs, but it's released when the actual flush happens.

svn path=/trunk/; revision=48998
2010-10-05 15:52:00 +00:00
Sir Richard
29764be430 [NTOS]: Implement ARM3 version of MmMapViewOfSection, only for ARM3 pagefile-backed sections, and without any special flag support. Tested and works great, with the new pagefault code correctly finding the Prototype PTE for the VAD.
[NTOS]: Make every VAD insert also create a MEMORY_AREA. Now the two address space views should be completely synchronized and we can try removing the hack that was done for PEB/TEB support (which will remove the 200 thread regression).
[NTOS]: Implement MiGetNextNode and MiFindEmptyAddressRangeInTree.

svn path=/trunk/; revision=48997
2010-10-05 14:36:09 +00:00
Aleksey Bragin
faa70e3d70 [HEAP]
- Move on to using a real HEAP_LOCK structure for a heap lock.
- Implement kernel-mode counterparts of this lock too. Right now these don't introduce much of a difference, but they are going to be properly used by the new heap manager code.

svn path=/trunk/; revision=48994
2010-10-05 12:42:55 +00:00
Sir Richard
04a028b58e [NTOS]: Add the tiny little bit of code required to correctly handle user-mode faults on ARM3 mapped sections in certain limited scenarios.
svn path=/trunk/; revision=48993
2010-10-05 08:14:02 +00:00
Sir Richard
121276a884 [NTOS]: Delete deprecated handling of MEMORY_AREA_IO_MAPPING. Delete all MEMORY_AREA definitions except the ones for SEGMENT_VIEW and VIRTUAL_MEMORY. All other memory is now owned by ARM3!
[NTOS]: Delete WriteCopyView flag from MEMORY_AREA (unused, and was taking up 4 bytes due to alignment), and add a Vad pointer (takes up 4 bytes -- no actual size change).
[NTOS]: For VM and Section MEMORY_AREAs mapped in user-mode, build a "fake" VAD and insert it into the VAD Root of the Process. This means there is now a consistent view between ARM3 and RosMm in terms of user-mode address space layout, which will come in handy later.
[NTOS]: Destroy the MEMORY_AREA's VAD when the MEMORY_AREA itself is deleted. Watch out for the scenario explained in a previous check-in, where the VAD was caught by the MmCleanProcessAddressSpace vad-cleanup-loop.
[NTOS]: Implement MiInsertVad to restore the old functionality of MiInsertNode when the current parent and insertion result is not yet known. It obtains the information and calls MiInsertNode.

svn path=/trunk/; revision=48992
2010-10-05 05:07:13 +00:00
Sir Richard
4499f604f5 [NTOS]: Add a _64K macro definition so we can stop typing out 65536 all the time.
svn path=/trunk/; revision=48991
2010-10-05 05:01:15 +00:00
Sir Richard
46b0236d75 [NTOS]: Use the Spare flag in the VAD as a ReactOS/MemoryArea specific flag to signify that this VAD is associated with a MEMORY_AREA and should be unlinked at process exit, but not freed. This is because MemoryAreas themselves are cleaned up later, and in the future their associated VADs (not yet in Trunk) will also be parsed. In the process death scenario, those VADs will be freed, but not unlinked (since it would already have been unlinked).
svn path=/trunk/; revision=48990
2010-10-05 05:00:19 +00:00
Sir Richard
b5e84d5641 [NTOS]: Nobody uses MEMORY_AREA_SYSTEM anymore, call these MEMORY_AREA_OWNED_BY_ARM3 for now. We'll have to sync this code with x86 later anyway.
svn path=/trunk/; revision=48989
2010-10-05 04:58:26 +00:00
Sir Richard
35beef2751 [NTOS]: Nobody actually writes TRUE for WriteCopyView in the MEMORY_AREA data structure, so this field is useless (always false). Remove all instances of its use.
svn path=/trunk/; revision=48988
2010-10-05 04:57:32 +00:00
Sir Richard
fe408085b7 [NTOS]: We don't support SEC_BASED for ARM3 sectios either, ASSERT that.
svn path=/trunk/; revision=48987
2010-10-05 04:56:04 +00:00
Sir Richard
d2d2aa1188 [NTOS]: Nobody reads/checks for MEMORY_AREA_CACHE_SEGMENT. Might as well just call this zero (no logical change).
svn path=/trunk/; revision=48986
2010-10-05 04:53:32 +00:00
Giannis Adamopoulos
dc6b43fdc5 [win32k]
- Reduce duplicated code in co_UserCreateWindowEx, co_IntSetParent and co_WinPosSetWindowPos
- based on wine

svn path=/trunk/; revision=48982
2010-10-04 21:44:58 +00:00
Sir Richard
7c8612ecb3 [NTOS]: Implement MiMapViewInSystemSpace, all it took was another 250 lines and we can now map ARM3 sections into memory. Accessing them causes a fault, which we correctly handle with the prototype PTE fault code.
[NTOS]: Added a bogus allocation flag that can be used with Nt/MmCreateSection and MmMapViewInSystemSpace to take the ARM3 path instead. Only for internal testing at the moment.
Now we need to look at how to allow mapping these into user-space as well...

svn path=/trunk/; revision=48981
2010-10-04 20:19:03 +00:00
Sir Richard
b45cdc574c [NTOS]: Implement MmCreateArm3Section, which creates ARM3-backed sections, but only for pagefile-backed memory at the moment. It uses MiCreatePagingFileMap and creates the expected Segment, Subsection, ControlArea and Section objects described in Windows kernel internals literrature. It's surprisingly easy and only takes 200 lines of code.
svn path=/trunk/; revision=48980
2010-10-04 19:31:16 +00:00
Sir Richard
5518b60eac [NTOS]: Implement/fixup the code paths during page faults that are needed to succesfuly resolve a demand page associated with a pagefile backed ARM3 section (which uses Prototype PTEs). A lot of the code was already there but assumed we were using Prototype PTEs only for the shared user data page. By combining that code with the typical demand-zero fault code, we obtain the needed paths. For now, only tested with ARM3 sections that are page-filed backed (not image or data-file backed) mapped into system view space (MmMapViewOfSectionInSystemSpace), not user-mode addresses (which need VADs). The code to actually create/map these doesn't exist in trunk yet, the purpose of this checkin is to test the new fault changes to make sure they don't cause negative effects to already-working faults.
svn path=/trunk/; revision=48979
2010-10-04 18:51:07 +00:00
Sir Richard
9dc0c0d12a [NTOS]: Initialize system views by calling MiInitializeSystemSpaceMap. This sets up the lock, bitmap, and hash table.
svn path=/trunk/; revision=48978
2010-10-04 18:36:37 +00:00
Sir Richard
566335dd79 [NTOS]: Define MI_MAKE_PROTOTYPE_PTE macro to make a real prototype PTE from a PTE. Define counter-part MiProtoPteToPte to recover the true PTE from a given Prototype PTE.
[NTOS]: Define MI_PTE_LOOKUP_NEEDED instead of using 0xFFFF. The name was found in checked build assertion strings.
[NTOS]: Add MM_VIEW (used for System-mapped Section Views) and MM_SESSSION (used to define the system/session view mappings) structure definitions.

svn path=/trunk/; revision=48977
2010-10-04 18:34:41 +00:00
Sir Richard
ee353ad690 [NTOS]: Go ahead and now fill out the OriginalPte field for PFNs initialized with MiInitializePfn(ForOtherProcess). They should only belong to ARM3 so they'll never have SwapEntry/RMAP associated with them. This functionality is important for future Prototype PTE support, among other things, as it lets us get the original PTE value written for a given PFN entry.
svn path=/trunk/; revision=48976
2010-10-04 18:22:50 +00:00
James Tabor
251be92abf [PSDK] - Add more track popup menu types.
svn path=/trunk/; revision=48975
2010-10-04 15:41:25 +00:00
James Tabor
aea07215a8 [Win32k]
- Fixed ValidateTimerCallback, always returning true and just spinning in the loop.
- Add one more process information flag with a point type and capturing the hit test in desktop structure.

svn path=/trunk/; revision=48970
2010-10-03 19:18:19 +00:00
Cameron Gutman
e14624d8ca [NDIS]
- Disable timer queuing code (hackfix for various network driver failures)
- Also needs to be merged into 0.3.12

svn path=/trunk/; revision=48968
2010-10-03 15:18:57 +00:00
Sir Richard
b01fc3d9a7 [NTOS]: Move all the Nt*Section API interfaces into ARM3 and rewrite most of the code to perform the same parameter validation and input checks as Windows does. Support all protection masks. Use correct section object access mask. Use appropriate SEH where needed. Pass 0-initialized local instead of NULL when needed. Don't assume certain parameters are OPTIONAL when they are not. Don't return SEH failures at the end of the system call, the kernel usually returns the result of the system call proper. Call DbgkMapViewOfSection in scenarios where it would not have gotten called before. Protect against certain kinds of kernel-mode access from user-mode.
[NTOS]: Move unimplemented Mm*Section APIs into ARM3 as well.

svn path=/trunk/; revision=48959
2010-10-02 02:14:39 +00:00
Sir Richard
706c5f3899 [PSDK]: Add missing SEC_XXX definitions for Server 2003 (Vista ones still missing).
[KERNEL32]: NtCreateSection should not be called with merely SEC_FILE: this says nothing about what kind of operation should be done (a commit, a reserve, etc?). Use SEC_COMMIT instead to specify correct operation. This works in ReactOS as of now, but would've failed after the NtSection* API rewrite.
[KERNEL32]: CreateFileMappingW should also accept/allow SEC_LARGE_PAGES, even if we don't suppport it yet.

svn path=/trunk/; revision=48958
2010-10-02 01:12:53 +00:00
Matthias Kupfer
93a1ceb834 Yugoslavia no longer exists for some time, replaced by Serbia as successor of country code (phone)
svn path=/trunk/; revision=48955
2010-10-01 19:54:27 +00:00
Johannes Anderwald
a53b8966ba [VIDEOPRT]
- Add sanity checks
- Implement VideoPortGetCommonBuffer, VideoPortLockPages


See issue #5629 for more details.

svn path=/trunk/; revision=48954
2010-10-01 17:43:03 +00:00
Jérôme Gardou
2374c7cb8d [XCOPY]
- Fix compilation with msvc
1. Someone should send this to wine (this is NOT lazyness)
2. Someone should tell mingw dev about http://msdn.microsoft.com/en-us/library/aa381050%28v=VS.85%29.aspx

svn path=/trunk/; revision=48948
2010-09-30 21:45:36 +00:00
Daniel Reimer
1a753c8708 Anti Oracle Movement has begun. Adding go-oo and LibreOffice to rapps.
svn path=/trunk/; revision=48943
2010-09-30 18:47:32 +00:00
Jérôme Gardou
ffeeddd5ee [DOSKEY]
- Fix compilation with msvc by GetProcAddress'ing undocumented functions
  - TCHAR -> WCHAR in the process

svn path=/trunk/; revision=48942
2010-09-30 18:45:58 +00:00
Sir Richard
efefc97901 [NTOS]: This is why you shouldn't let Antoine Dodson commit code.
svn path=/trunk/; revision=48941
2010-09-30 14:48:03 +00:00
Sir Richard
febd117a3b [NTOS]: He's climbing in yo PFN database, he snatching yo pages up, tryin to page em so y'all need to hide your pool hide your cache, and hide your working set cuz they grabbin' all the pages out there. We gonna page you, we gonna page you, so you can run and fault on that, run and fault on that, home boy, homeboy, home homeboy.
Enable ARM3 Paged Pool and remove all related deprecated code. Install tested on several VMs, it might cause new regressions. Let's fix them before 0.3.13 instead of reverting.

svn path=/trunk/; revision=48940
2010-09-30 04:40:31 +00:00
Sir Richard
40ba0f9329 [NTOS]: Use SYSTEM_PD_SIZE instead of assuming that this is PAGE_SIZE, since this is not the case on (future) ARM and (current) AMD64 ports.
[NTOS]: Remove some magic numbers in the pool code, using PTE_COUNT, MiAddressToPde, when needed. Also, the expansion code uses PDEs, not PTEs, so differentiate this, because on some systems (ARM), there are different structures for both.
[NTOS]: Use MI_WRITE_INVALID_PTE.
ARM3 paged pool now works, the expansion bug has been fixed (and the code is more portable). Expect to see it gradually enabled soon.

svn path=/trunk/; revision=48939
2010-09-30 03:26:13 +00:00
Sir Richard
39ab07fe2a [NTOS]: MiSetConsumer no longer achieves anything. Remove it.
svn path=/trunk/; revision=48938
2010-09-30 03:21:02 +00:00
Sir Richard
eaff9c1e8c [NTOS]: Add definition for size of a page directory, and size of all page directories required per process (some architectures have more than one page directory per process/address space).
svn path=/trunk/; revision=48937
2010-09-30 03:18:44 +00:00
Sir Richard
80d5d95d72 [NTOS]: Fix a bug in MiRemoveAnyPage: it was always checking the colored zero page list, instead of checking the colored free page list the second time around.
svn path=/trunk/; revision=48936
2010-09-30 03:17:14 +00:00
Pierre Schweitzer
a14c76d2c8 [PSDK]
Fixed build

svn path=/trunk/; revision=48935
2010-09-29 22:54:00 +00:00
Aleksey Bragin
24e16c3ff8 [REGE[REGEDIT]
- Katayama Hirofumi: Don't leak open handles to keys.
- Katayama Hirofumi: Misc code changes/ cleanup.
See issue #5547 for more details.

svn path=/trunk/; revision=48934
2010-09-29 21:52:16 +00:00
Aleksey Bragin
26adfda6bd [REGEDIT]
- Katayama Hirofumi: Unicodify regedit, add support for import/export of v5 reg files. Based on Wine regedit.

svn path=/trunk/; revision=48933
2010-09-29 21:43:39 +00:00
Pierre Schweitzer
219137196e [KMTEST]
Added a small testcase for FsRtlIsNameInExpression(). It's quite relevant for daily and simple use of the function. It shouldn't fail on ReactOS given our current implementation.

svn path=/trunk/; revision=48932
2010-09-29 21:42:11 +00:00
Aleksey Bragin
5ea7ca5562 PSDK
- Edison Henrique Andreassy <ehasis@hotmail.com>: Add FILEMUIINFO definition.
See issue #5640 for more details.

svn path=/trunk/; revision=48931
2010-09-29 21:32:56 +00:00
James Tabor
0922c986a4 [Win32k]
- Return the correct complexity, pass all user32 wine test_winregion tests.

svn path=/trunk/; revision=48930
2010-09-29 05:23:15 +00:00
James Tabor
658175b3a0 [Win32k]
- Fix future wine sync user32 win test for get process default layout with null parameter.

svn path=/trunk/; revision=48929
2010-09-29 02:29:33 +00:00
Cameron Gutman
be6788e54b [ACPI]
- Fix ACPI warnings
- Based on a patch by Love Nystrom

svn path=/trunk/; revision=48928
2010-09-29 02:16:18 +00:00
Sir Richard
14f8621042 [NTOS]: Add MiRemoveZeroPageSafe helper function, when a zero page is required, but the inline zeroing of MiRemoveZeroPage is not. This function will only try grabbing a zero page if one exists, otherwise a free page will be grabbed and zeroed with custom code of the caller's choosing.
[NTOS]: Add concept of process color and system color. Compute correct color to use whenever requesting a page.
[NTOS]: Uncondtionally enable the color code when inserting/removing pages.
For now, when requesting a page, colors are still ignored, and the global PFN lists are scanned instead. If there are no regressions, we are one patch away from that.

svn path=/trunk/; revision=48927
2010-09-29 01:10:28 +00:00
Sir Richard
71e8fc824b [NTOS]: Fix straggling bugs in color table algorithms.
[NTOS]: Enable color tables! Right now pages are merely entering and exiting the tables, the tables themselves are never used for allocations. This will change with further commits.

svn path=/trunk/; revision=48926
2010-09-29 00:13:09 +00:00
Sir Richard
f41dde713f [NTOS]: Write missing color code in certain PFN functions, and fix existing code where needed. Add some debugging. For now, turned off until testing succeeds.
[NTOS]: Redocument which MMPFN fields are violated by ReactOS-internal values. This has gotten much better than before.

svn path=/trunk/; revision=48925
2010-09-28 22:41:46 +00:00
Amine Khaldi
119639a212 [FONTS]
- Update RedHat Liberation Fonts to 1.06
- Update Tahoma Fonts To Wine HEAD
- Update DejaVu Fonts Documentation To 2.31
See issue #5632,5633,5634 for more details.

svn path=/trunk/; revision=48924
2010-09-28 17:19:52 +00:00
Amine Khaldi
1e65804aea [USETUP]
- Update Estonian translation by anthrax11.

See issue #5625 for more details.

svn path=/trunk/; revision=48923
2010-09-28 17:12:46 +00:00
Sir Richard
05d3392da9 [NTOS]: Switch to using an ARM3, much more correct MmZeroPageThread. Stub support for discarding sections and listening to the Power Manager Idle Timer.
[NTOS]: Use a synchronization (auto-reset) instead of notification event for the zero page thread, this way we don't have to reset it manually and query its state. Instead, a boolean MmZeroingPageThreadActive is checked instead.
[NTOS]: Once we switch to colored lists, major improvements can be done for speed.

svn path=/trunk/; revision=48922
2010-09-28 16:47:25 +00:00
Sir Richard
6ef328578c [NTOS]: The RMAP entry only has a valid process if the address is in user-space, otherwise process is NULL. Only attempt to acquire the process rundown lock if a process actually exists. Fixes crashes caused by 48905.
svn path=/trunk/; revision=48921
2010-09-28 16:44:18 +00:00
Sir Richard
5b9cd7fcae [NTOS]: Zeroed pages should go at the front, not the back of the zero list. Going to the back is a special boot-only case on MP, which isn't supported. Implement zero-only version of MiInsertPageInList, remove MiInsertZeroPageAtBack.
[NTOS]: Remove many other deprecated functions. Physical memory consistency should now be higher than in the past.

svn path=/trunk/; revision=48919
2010-09-28 14:38:30 +00:00
Sir Richard
354ad6b9eb [NTOS]: One last fix to the zero page thread before we move to ARM3: use MiRemoveAnyPage instead of dangerous MiRemoveHeadList. The code works on the assumption (validated by Windows through a bug check) that MiRemoveAnyPage always returns the first free page, and we also manually grab the first free page, and compare this is true. Nice way to detect PFN database corruption.
[NTOS]: Fix MiInsertZeroAtBack to increment the MmAvailablePage count, since MiRemoveAnyPage decrements it (MiRemoveHeadList did not).

svn path=/trunk/; revision=48918
2010-09-28 14:29:37 +00:00
Aleksey Bragin
66ff3d5774 [KERNEL32]
- Igor Paliychuk: Fix properly showing genitive names from NLS data by applying a missed Wine sync.
See issue #5556 for more details.

svn path=/trunk/; revision=48917
2010-09-28 14:24:17 +00:00
Amine Khaldi
a6480c90d3 [USETUP]
- Update Ukrainian translation by Igor Paliychuk.
See issue #5536 5540 5604 5614 5617 for more details.

svn path=/trunk/; revision=48915
2010-09-28 13:39:57 +00:00
Kamil Hornicek
9856680c43 [KERNEL32]
Winnls.h can be included now.

svn path=/trunk/; revision=48913
2010-09-28 00:02:05 +00:00
Sir Richard
f269313793 - Remove MiZeroPage, use MiZeroPhysicalPage instead. They work pretty much the same except the needless raise to DISPATCH_LEVEL.
- Get rid of the messed up MiMapPageToZeroInHyperSpace which was hacking into MiMapPagesToZeroInHyperSpace. Now MiMapPagesToZeroInHyperSpace is properly implemented to use chained PFNs, and the MmZeroPageThread code has been modified to correctly use the new mechanism.
- Zero page mapping now happens at PASSIVE trough MiMapPAgesToZeroInHyperSpace, not DISPATCH anymore.
- More fixes are coming to remove the remaining MiRemoveHeadList and rewrite the zero page loop. Should fix more possible corruptions.

svn path=/trunk/; revision=48912
2010-09-27 21:58:54 +00:00
Sir Richard
df34e334f0 [NTOS]: Adding colored page lists means we need to start using the OriginalPte field as a forward/back link. This is shared with AweReferenceCount, which ReactOS uses as the RMAP list head. However, RMAPped pages shoudl never be free/zero, and non-free-zero pages will never have a color backlink in OriginalPte, so it should theoretically be safe to do this. However, it's possible for the RMAP "get" function to be called on a free/zero page (which would normally return NULL), but with color chaining enabled, the "get" function would misinterpret the backlink as an RMAP entry. Therefore, we overload the ParityError bit to signify "there is an RMAP". The get/set functions now handle this, and the color linkage will ASSERT this later. This way, a colorlink with ParityError == FALSE is not treated as an rmap list head.
svn path=/trunk/; revision=48910
2010-09-27 17:36:54 +00:00
Sir Richard
05ce063ebc [NTOS]: Don't use dangerous MiRemoveHeadList in MDL page allocation, use MiRemoveAnyPage instead.
[NTOS]: Don't repurpose pages from the zero/free page list without actually unlinking the page first! This should fix even more corruptions.

svn path=/trunk/; revision=48909
2010-09-27 17:09:33 +00:00
Sir Richard
f5f6cee1d0 [NTOS]: Stop using MiInsertInListTail and MiRemoveHeadList in the deprecated ReactOS page functions. Those two functions do not adequately support the semantis needed for page insertion/removal and should've never been used. MmAllocPage now uses MiRemoveAny/ZeroPage, and MmDereferencePage uses MiInsertPageInFreeList. Should help with some corruptions. More is coming.
svn path=/trunk/; revision=48908
2010-09-27 16:00:24 +00:00
Giannis Adamopoulos
3e70fced07 [user32]
- Remove the last reactos-only export from user32 (PrivateCsrssManualGuiCheck)

[win32csr]
- Move PrivateCsrssManualGuiCheck from user32 to win32csr

svn path=/trunk/; revision=48907
2010-09-27 14:31:13 +00:00
Michael Martin
f9692ba22c [ntoskrnl/mm]
- Acquire rundown protection on process to make sure it is not being terminated and before attempting to do anything with the process. Fixed a rare case of PspDeleteProcess being called twice for a process, resulting in bugcheck.


svn path=/trunk/; revision=48905
2010-09-27 08:46:02 +00:00
James Tabor
e4ec568733 [Win32k]
- Implement win32k support functions for Get and Set process default layout.
- Due to changes with wine it will be difficult to sync when RTL support is being added to ComCtl32.

svn path=/trunk/; revision=48904
2010-09-27 02:46:16 +00:00
Sir Richard
de914c19e1 [DDK]: Add misisng MmLockPagableCodeSection.
svn path=/trunk/; revision=48903
2010-09-26 15:01:37 +00:00
Eric Kohl
db53bf24cb [NTOSKRNL]
Implement NtQueryOpenSubKeys.

svn path=/trunk/; revision=48902
2010-09-26 11:37:40 +00:00
Matthias Kupfer
c23c9c81ca disable some locale IDs because they are not supported yet
- 417 Rhaeto-Romanic
- 445 Bengali (India)
or still unknown
- 48f
- 490
this fixes multiple entries (see bug #5636)

svn path=/trunk/; revision=48898
2010-09-25 23:20:23 +00:00
Eric Kohl
1f2f04ed9b [NTOSKRNL]
IoRegisterPlugPlayNotification: Do not fail if no Interface can be found for the given GUID. Just do not call the Callback-Routine in this case. The Interface could be created later.

svn path=/trunk/; revision=48896
2010-09-25 21:49:15 +00:00
Pierre Schweitzer
d695e74a70 [RTL]
Fixed a really stupid (and old) bug in RtlComputeCrc32():
First parameter is initial CRC32 checksum. And it's complete and not partial, thus it needs to be an ULONG and not an USHORT.
This fixes CRC32 checksum computation with initial checksum (tested again Windows 2003 & Seven).

svn path=/trunk/; revision=48895
2010-09-25 21:20:54 +00:00
Amine Khaldi
ced22a087c [PSDK]
- Add missing header's header.

svn path=/trunk/; revision=48894
2010-09-25 20:47:15 +00:00
Christoph von Wittich
355ac9b9dc [bzip2]
update bzip2 library to 2.06

svn path=/trunk/; revision=48892
2010-09-25 20:28:00 +00:00
Jérôme Gardou
cb3ae7dca0 [WIN32K]
- clean up EXLATEOBJ before error path in NtGdiBitBlt

svn path=/trunk/; revision=48891
2010-09-25 19:53:43 +00:00
Matthias Kupfer
cfb984e8bb one more fix (on request of Pierre S.)
svn path=/trunk/; revision=48888
2010-09-25 19:24:03 +00:00
Matthias Kupfer
2a1e1c7eff add missing close for handle
svn path=/trunk/; revision=48886
2010-09-25 19:07:37 +00:00
Jérôme Gardou
6d6fd14277 [SOLITAIRE]
- do not include already included file in rc files

svn path=/trunk/; revision=48884
2010-09-25 18:44:54 +00:00
Matthias Kupfer
0b903df4a7 fix GeoID bug (forgotten \0)
svn path=/trunk/; revision=48883
2010-09-25 18:24:57 +00:00
Giannis Adamopoulos
28b33bcfe7 [win32k]
- Cleanup UserSetCursorPos
- UserSetCursorPos: set the new position after sending WM_MOUSEMOVE message
now we pass all tests for SetCursorPos

svn path=/trunk/; revision=48879
2010-09-25 16:59:53 +00:00
Amine Khaldi
f6e6759404 [PSDK]
- Add CDROM_TOC_SESSION_DATA structure.
[DDK]
- Add missing min and max macros.

svn path=/trunk/; revision=48878
2010-09-25 15:51:42 +00:00
Amine Khaldi
fd0b03ddfd [PSDK]
- Add missing ntddmmc.h definitions.

svn path=/trunk/; revision=48877
2010-09-25 15:37:43 +00:00
Amine Khaldi
5360c03d98 [PSDK]
- Add some missing IOCTL_* definitions.

svn path=/trunk/; revision=48874
2010-09-25 14:45:03 +00:00
Amine Khaldi
610744f805 [DDK]
- Fix a typo and introduce some minor formatting changes.

svn path=/trunk/; revision=48868
2010-09-25 09:39:08 +00:00
Eric Kohl
6df63531e0 Fix build failure from r48863.
svn path=/trunk/; revision=48867
2010-09-25 07:53:07 +00:00
Eric Kohl
8d574b3e5a [HAL]
Implement HalStopProfileInterrupt and add required RTC register and flag definitions.

svn path=/trunk/; revision=48866
2010-09-25 07:22:40 +00:00
Sir Richard
d59da19b08 [PSDK/DDK]: Last couple of fixes to headers. Classpnp can compile (and link) now.
svn path=/trunk/; revision=48865
2010-09-25 05:46:31 +00:00
Sir Richard
c0e90cf2dd [PSDK/DDK]: Add more missing definitions. Fix classpnp.h.
svn path=/trunk/; revision=48864
2010-09-25 05:15:47 +00:00
Amine Khaldi
7c9e442a28 [PSDK]
- Add some missing structures in ioevent.h
[DDK]
- Add some more missing definitions.

svn path=/trunk/; revision=48863
2010-09-25 01:12:17 +00:00
Amine Khaldi
d7d6e5e9c3 [DDK]
- classpnp.h: Add FUNCTIONAL_DEVICE_EXTENSION, SET_FLAG, CLEAR_FLAG and TEST_FLAG

svn path=/trunk/; revision=48862
2010-09-25 00:51:30 +00:00
Amine Khaldi
d732208205 [DDK]
- Add missing classpnp.h

svn path=/trunk/; revision=48861
2010-09-24 23:42:30 +00:00
Sir Richard
0c7d1b1c8f [NTDLL]: Use LOCK instead of lock for SList assembly functions, this is a conditional such that on UP, "lock" instruction won't be generated.
[NTDLL]: Apply the special begin/fault/resume lablels to the user-mode SList functions. Access faults can happen there due to a bug in the Windows algorithm, and Mm will need to handle that.
[NTOS]: Lookup the special labels from above when initializing the System DLL. Only lookup INT2E vs SYSENTER on x86, other architectures don't need a stub.
[NTOS]: Bitmap resources start at index 1, not 0. Also make sure we don't go past the maximum IDB_ resource index for no reason, and check the size of the resource instead of assuming it's going to be one page.
[NMIDEBUG]: Fix and cleanup some code, and enable NMI support on the boot/install CD as well.

svn path=/trunk/; revision=48860
2010-09-24 17:02:13 +00:00
Michael Martin
2c5e05984a [ntoskrnl/ps]
- Revert r48857. The Process object is dereferenced when the Thread object is destroyed, so dont dereference it here.

svn path=/trunk/; revision=48859
2010-09-24 15:27:24 +00:00
Michael Martin
0059b61f9c [ntoskrnl/ps]
- Remove mistakenly committed ASSERTs that were used during my tests.

svn path=/trunk/; revision=48858
2010-09-24 10:23:01 +00:00
Michael Martin
b83eb0a472 [ntoskrnl/ps]
- PspCreateThread: If thread creation fails, dereference the Process object also to account for the reference taken at the beginning of the function.

svn path=/trunk/; revision=48857
2010-09-24 10:07:54 +00:00
Daniel Reimer
03a0d1dc88 Big rapps Update
svn path=/trunk/; revision=48855
2010-09-23 21:33:49 +00:00
Timo Kreuzer
ba0bf5862d [HAL]
Fix amd64 build

svn path=/trunk/; revision=48854
2010-09-23 20:22:12 +00:00
James Tabor
81730f239d [Win32k]
- Coding for PrintWindow support for bug 5609. This does not fix the export, which should be a direct call to win32k.

svn path=/trunk/; revision=48853
2010-09-23 17:51:10 +00:00
evb
29f98a6645 - Fix PciFindParentPciFdoExtension bug found by sir_richard "Early break would leave the lock held"
- Fix PciGetHackFlags for setup found by sir_richard "Setup currently doesn't have a correct registry"
- Fix DriverEntry for setup like PciGetHackFlags
- Fix DriverEntry PciOpenKey check found by sir_richard "PciOpenKey returns a BOOLEAN, not an NTSTATUS"
- Stop call PciGetAcpiTable found by sir_richard "PciGetAcpiTable is really broken, can lead to infinite loops, and also corrupts memory. We need to fix stefan's bugs"
- Implement not root FDO code in PciScanBus and support PCI_HACK_ONE_CHILD
- Implement multiple FDO exist code in PciAddDevice so PCI Bridge support now
- Implement PciAreBusNumbersConfigured for PCI Bridge support
- Hack FDO Start Device by sir_richard "The root FDO does send boot resources if PCIX is installed properly, this code will be needed"
- Do PCI_BUS_DRIVER_INTERNAL bugcheck by sir_richard "I have hacked KeBugCheckEx to ignore this for now, until PnP is fixed"
- Implement not root FDO code in PciInitializeArbiters
- Implement PciCacheLegacyDeviceRouting, PciFindPdoByLocation used by PciAssignSlotResources
- Make PciTranslateBusAddress do the stub work
- PciAssignSlotResources disabled because ReactOS not support IoAssignResources
- Implement PPBridge_ChangeResourceSettings
PCIX driver nearly working now.

svn path=/trunk/; revision=48851
2010-09-23 13:24:41 +00:00
Johannes Anderwald
10eb63f2df [KS]
- Simplify KsTopologyPropertyHandler by using KspReadMediaCategory helper
- Return correct status code in case of an overflow

svn path=/trunk/; revision=48850
2010-09-23 11:36:00 +00:00
Johannes Anderwald
cf358ed153 [I8042PRT]
- Fix potential buffer overflow

svn path=/trunk/; revision=48849
2010-09-23 11:32:34 +00:00
Amine Khaldi
9b07516436 - Bugs 5536, 5614, 5604, 5617 and 5540: Apply translation patches provided by Mario Kacmar, Marcelo Zamperetti, Igor Paliychuk, Paolo Devoti and seven_ro.
svn path=/trunk/; revision=48847
2010-09-22 19:29:20 +00:00
Sir Richard
409884a7ce [FREELDR]: Fix the last remaining build issue. Libgcc needs to be linked to provide umovsi/udivsi, etc (same fix as for setupldr).
svn path=/trunk/; revision=48846
2010-09-21 17:50:01 +00:00
Amine Khaldi
d09d10d12d [KERNEL32]
- Sylvain Petreolle: Fix debug channels for release builds.

svn path=/trunk/; revision=48845
2010-09-21 17:14:22 +00:00
Sir Richard
b60395bc25 [HAL]: Partly implement HalpAdjustPCIResourceList required for legacy HAL. No actual adjustment is done yet, since the Range package is not implemented.
[HAL]: Implement most of HalpGetISAFixedPCIIrq, other than the legacy PCI IRQ Routing Miniport callbacks, which aren't yet implemented by ReactOS.
The Windows PCI Bus Driver seems to work now.

svn path=/trunk/; revision=48844
2010-09-21 17:07:40 +00:00
Aleksey Bragin
7e91f6cbe7 - Update 3rd Party Files.txt To Current 3rd Party Releases.
See issue #5603 for more details.

svn path=/trunk/; revision=48843
2010-09-21 08:30:56 +00:00
Sir Richard
88e1640ef7 Patches to allow Windows PCI Bus Driver to start working somewhat (need to implement HalAdjustResourceList for PCI to make it go further):
[BOOTDATA]: Windows Bus Drivers/HAL/Kernel require Arbiter data in the registry placed by the installer, otherwise they will not load. Add this Arbiter data.
[NTOS]: Add support for KeyValueFullInformationAlign64, used by some Windows drivers (as a bonus, support Win64). PartialInformationAlign64 is a different beast -- warn when a driver attempts to use it, instead of silent failure.
[NTOS]: Export VfFailSystemBIOS and stub it.
[NTOS]: Warn when a driver fails to load due to a missing dependency and print the name and/or missing module, instead of silently failing.
[NTOS]: Due to a bug in the ReactOS PnP manager, Windows PCI Driver hits an internal pseudo-assert. Hack KeBugCheckEx to ignore this pseudo-assert and continue executing normally.

svn path=/trunk/; revision=48839
2010-09-21 05:34:05 +00:00
Cameron Gutman
12d05b7eb8 [TCPIP]
- Process the timer event directly from the DPC instead of queuing a work item then raising to DISPATCH_LEVEL later when acquiring a spin lock
- Optimize the spin lock operations in NBTimeout and IPDatagramReassemblyTimeout for being called at DISPATCH_LEVEL

svn path=/trunk/; revision=48833
2010-09-20 19:08:40 +00:00
Michael Martin
a5a6cf644d [usb/usbhub]
- WaitForUsbDeviceArrivalNotification: Dont use IoBuildDeviceIoControlRequest to create the IRP as we dont wait for the IRP to complete in the current thread. It must be built using IoAllocateIrp.
- DeviceArrivalCompletion: Allocate the WorkItem from NonPagedPool vice using one in the DeviceExtension. Free the Irp and return STATUS_MORE_PROCESSING_REQUIRED so the IO Manager doesnt try to do anything more with the now freed Irp.
- When selecting the Interface use the routines in USBD library now that they are implemented correctly.
- More fixes for passing the correct DeviceObject when calling QueryRootHub.


svn path=/trunk/; revision=48826
2010-09-20 06:55:54 +00:00
Sir Richard
56738210e7 [MISC]: Fix several compiler issues on my main build box. Some of the Unicode translations in kernel32 fail to compile, while other libraries don't build because old C library names (without the underscore) are used.
[SETUPLDR]: Unify the old setupldr settings with more recent freeldr ones. Also fixes missing _udiv/mod functions on my build.

svn path=/trunk/; revision=48825
2010-09-20 06:30:21 +00:00
Eric Kohl
9c6c2c7c45 [USETUP]
Add Brazilian portuguese USETUP localization patch by Edison Henrique Andreassy.


See issue #5313 for more details.

svn path=/trunk/; revision=48813
2010-09-19 12:46:54 +00:00
Aleksey Bragin
0dc63433f9 [DESK.CPL]
Katayama Hirofumi <katayama.hirofumi.mz@gmail.com>
- Renamed GLOBAL_DATA structures to DATA.
- Added real GLOBAL_DATA in background.c, that manages the background color.
- Resolved conflict of background colors in background.c and appearance.c.
- Fixed drawing the menu in draw.c.
See issue #5620 for more details.

svn path=/trunk/; revision=48812
2010-09-19 11:54:33 +00:00
Michael Martin
3a615a70fb [usb/usbd]
- Fix calculation bug in USBD_ParseDescriptors which caused descriptors to be skipped and all Parse functions to return bad information.
- USBD_CreateConfigurationRequestEx: Fix calculation for the size of the URB.
Dont copy the InterfaceList to the Urbs Interface member as they are not the same structures.  Instead loop through each interface and endpoint to get the data needed for the Interface member of URB.
- USBD_GetInterfaceLength: Add missing brackets for the FOR LOOP. The first descriptors length is part of the Length regardless of what it is.
If bDescriptorType of USB_INTERFACE_DESCRIPTOR_TYPE is reached a second time then break from the loop, as the length calculation is done.

svn path=/trunk/; revision=48810
2010-09-19 00:30:49 +00:00
Cameron Gutman
cf913565c0 [IP]
- Fix a reference leak when aborting a listen request

svn path=/trunk/; revision=48806
2010-09-18 15:50:56 +00:00
Aleksey Bragin
41106fa541 [NTOS]
- Add support for Cyrix CPUs by checking and applying a workaround for the Cyrix 6x COMA bug (description here: http://gwyn.tux.org/~balsa/linux/cyrix/p11.html).
See issue #5610 for more details.

svn path=/trunk/; revision=48801
2010-09-18 09:14:45 +00:00
Aleksey Bragin
becc9ed282 [SC]
- Roel Messiant: Fix a crash when running some operations in sc without providing arguments. Also, provide usage information for the control and unknown commands.
- Aleksey Bragin: Take Ged Murphy's comments into account and change pointer arithmetic to a convenient style.
See issue #5611 for more details.

svn path=/trunk/; revision=48800
2010-09-18 08:41:06 +00:00
Aleksey Bragin
2c10fb5d07 [OLE32]
- Sync to Wine-20100918.
See issue #5592 for more details.

svn path=/trunk/; revision=48795
2010-09-17 20:13:28 +00:00
Timo Kreuzer
2cc0f42e45 [SHELL32]
Johannes Anderwald:
- Partly revert 48786
- Use existing sLinkPath instead of own grown sCurFile
- Fixes 6 more winetest failures, 4 to go for shellink test

svn path=/trunk/; revision=48792
2010-09-17 19:00:12 +00:00
Timo Kreuzer
2755820d64 Sync with trunk head (r48786)
svn path=/branches/reactos-yarotows/; revision=48787
2010-09-17 16:17:17 +00:00
Amine Khaldi
c8d65c59a4 [SHELL32]
Johannes Anderwald:
- Improve parameter checks for IShellLinkA interface.
- Fix heap corruption when an invalid pointer is passed.
- Implement IPersistFile_fnGetCurFile.
- TODO: Add same checks to IShellLinkW interface and fix IShellLink[A|W]::GetPath / SetPath / SetIdList / GetIdList logic.

svn path=/trunk/; revision=48786
2010-09-17 10:26:17 +00:00
Timo Kreuzer
253e949e7a [WIN32K]
Fix a bug, where a failure to allocate the kernel mode WINDOW_OBJECT would cause a page fault, because the WND was still allocated, but never initialized, and Wnd->rpdesktop was then dereferenced to free the WND again.

svn path=/trunk/; revision=48785
2010-09-17 01:34:50 +00:00
Timo Kreuzer
becce266ec [WIN32K]
- Remove some obsolete casts

svn path=/branches/reactos-yarotows/; revision=48782
2010-09-16 19:26:12 +00:00
Timo Kreuzer
30fad2a263 [NTOS]
- More fixes to VDM PUSH/POPF code: 
- When doing a 32bit push, don't store the flags 2 bytes off
- Recalculate HardwareEsp, by substracting the segment part, instead of truncating the flat pointer to 16 bit.

svn path=/trunk/; revision=48781
2010-09-16 19:21:20 +00:00
Sir Richard
cdebe5691a Patch by Anton Yarotsky:
[NTOSKRNL]: Fix support for non Headless scenarios as well.

svn path=/trunk/; revision=48780
2010-09-16 02:22:10 +00:00
Timo Kreuzer
c2e13c8c49 Fix arm build a bit.
svn path=/trunk/; revision=48779
2010-09-15 23:48:38 +00:00
Sir Richard
af197a47b2 Patch by Anton Yarotsky:
[NTOSKRNL]: Implement CmdPutString command, and add log message types. Kernel version/build, processor, and RAM, now appear on EMS screen (due to InbvDisplayString), as well as loaded drivers. Next steps are to support log entries and a flag to route debug output (a ReactOS-specific feature request).

svn path=/trunk/; revision=48778
2010-09-15 18:30:06 +00:00
Michael Martin
0b77725d6e [usb/usbehci]
- Change email address to one that actually works.

svn path=/trunk/; revision=48777
2010-09-15 13:16:59 +00:00
Amine Khaldi
61ae4ea31c [DDK]
- Define DECLSPEC_EXPORT when it's not already defined.

svn path=/trunk/; revision=48774
2010-09-15 09:03:57 +00:00
Sir Richard
b52bd79196 Patch by Anton Yarotsky:
[NTOSKRNL]: Implement basic Headless support in the kernel. Implement missing InbvPort routines based on WinLdrPort (using cportlib). Add header for Hdl. Terminal initializes now on COM2. Added misisng code to InbvDisplayString to also display on Headless Terminal (requires unimplemented HeadlessDispatch). Next steps are to implement the kernel log buffer, and HeadlessCmdPutString to see boot strings.

svn path=/trunk/; revision=48773
2010-09-15 07:46:28 +00:00
Sir Richard
c806e95592 Patch by Anton Yarotsky:
[FREELDR]: Fix Headless support.

svn path=/trunk/; revision=48772
2010-09-15 07:40:50 +00:00
Michael Martin
7a26c678b7 [usb/usbhub]
- On completion of SCE request, create and queue a workitem to handle:
Clearing the connection flag and reset the port. 
Create and initialize the USB device by calling the appropriate roothubs Direct Call Interface.
Create the device object, get the device descriptors and the serial and product strings of the USB device to be used for creating the deviceid and instanceid.
- Format code and misc changes.
- Together with the usbehci driver, ReactOS at least runs the device installation wizard with the correct device description.

svn path=/trunk/; revision=48771
2010-09-14 12:04:15 +00:00
Michael Martin
45bd4d8031 [usb/usbehci]
- Dont reset the port in the DPC after device is connected, the usbhub driver will do that later.
- Implement ResetPort and create a timer to call a DPC to coplete the SCE request.
- Dont queue all URBs and have seperate thread complete them as other URBs may still need to be completed.
Instead only queue the SCE request and complete it when a usb device is connected or reset.
- Implement RemoveURBRequest and fix bugs in URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE.
- For IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO dont return the FDO in Argument2 as no upper level driver should be communicating with the FDO of the roothub.
- Dont assign the usb device an address when initialized as the hub driver will do it later.

svn path=/trunk/; revision=48770
2010-09-14 09:46:28 +00:00
Sir Richard
ef0d280232 Patch by Anton Yarotsky:
[FREELDR]: Implement support for /redirect=comX (usebiossettings not yet supported) and /redirectbaudrate. Uses cportlib. Tested, serial output works and kernel reports "Headless support is not yet implemented". Future revisions should support ACPI SRT for PCI-based serial ports on server systems.

svn path=/trunk/; revision=48768
2010-09-13 20:36:49 +00:00
Amine Khaldi
1a554af4a0 [USETUP]
- Sylvain Petreolle: Improve debug prints for disk space check.

svn path=/trunk/; revision=48767
2010-09-13 17:25:00 +00:00
Amine Khaldi
9c827ade73 [USETUP]
- Christoph von Wittich: Add a debug print, and improve an existing one.

svn path=/trunk/; revision=48766
2010-09-13 16:34:15 +00:00
Eric Kohl
cab60ab876 [BATT]
Add missing 4th parameter to BatteryClassCoInstaller.

svn path=/trunk/; revision=48764
2010-09-13 11:48:59 +00:00
Cameron Gutman
b4473ff304 [DESK]
- "repair DragFullWindows setting"
- Patch by Matthias Kupfer

svn path=/trunk/; revision=48761
2010-09-12 20:10:27 +00:00
Sir Richard
903bb1c887 Likely fix for bug 5600:
[NTOS]: Using IsBadRead/CodePtr, it's possible for user-mode code to generate cases where we *think* this is an ARM3-managed piece of VA, which will always have a VAD (Since we only manage the PEB/TEB), but actually it's a bogus VA-looking address that is actually invalid. We didn't consider this case. We now implement the same code Windows normally would also handle, when the VA is bogus, and accept that no VAD might be found, so MM_NOACCESS is returned and thus an access violation sent to the caller. In the case of the IsBad...Ptr, this function would then return TRUE, as the caller expects.

svn path=/trunk/; revision=48759
2010-09-12 19:10:27 +00:00
Sir Richard
3f003e294e [NTOS]: Move the fix for pool corruption due to dangling MmProcessLinks pointer into its correct location. Thanks again to Martin for the fix.
svn path=/trunk/; revision=48758
2010-09-12 19:02:39 +00:00
Eric Kohl
46d89d3a50 Make Services.exe and Winlogon.exe wait for the LSA server to be up and running. Otherwise calls to any LSA function might fail.
Thanks to Roel Messiant for testing and analyzing the debug logs.

See issue #5497 for more details.

svn path=/trunk/; revision=48757
2010-09-12 16:29:43 +00:00
Amine Khaldi
2270e330b0 [PSDK]
- Properly guard d3d9types.h and d3dtypes.h against DIRECT3D_VERSION versions.

svn path=/trunk/; revision=48754
2010-09-12 14:51:32 +00:00
Aleksey Bragin
078476414c - Revert 48750, I was misinformed.
svn path=/trunk/; revision=48753
2010-09-12 12:14:46 +00:00
Cameron Gutman
804899ffc6 [NDIS]
- Fix timer queuing
- See issue #5461 for details

svn path=/trunk/; revision=48752
2010-09-12 11:57:55 +00:00
Aleksey Bragin
8fcb361453 [PCIX]
- Stefan Ginsberg: Fix a typo in the if expression.

svn path=/trunk/; revision=48751
2010-09-12 10:35:01 +00:00
Aleksey Bragin
5bb5788d76 [NTOS]
- Add CmRegistryMachineSystemName to the internal header file, needed for Pierre's further work.

svn path=/trunk/; revision=48750
2010-09-12 10:29:35 +00:00
Aleksey Bragin
526130ba91 [FREETYPE]
- Fix FT_Get_CID_Is_Internally_CID_Keyed export name to match source code.

svn path=/trunk/; revision=48749
2010-09-12 10:11:55 +00:00
Sir Richard
6575a83c33 - Fix the ChangeResourceSetting and the Reset configurator callback parameter names
- Part support for resource change with PciComputeNewCurrentSettings... full support for PciSetResources, PciUpdateHardware, PcipUpdateHardare
- IRP_MN_START_DEVICE for PDO (PciPdoIrpStartDevice) implement 
- PciNextPartialDescriptor, PciDebugPrintCmResList, PciDebugPrintPartialResource helpers implement
- Now full PDO support almost done, PCIX driver ready for test
- Thanks to cgoodman assert fix
- PnP forever recursion in enumerate, must fix to finish
- Goodbye sir_richard, nice to have you

svn path=/trunk/; revision=48748
2010-09-12 06:03:12 +00:00
Cameron Gutman
a0b7f0f4b9 [USETUP]
- Update the Polish translation
- Patch by Olaf Siejka

svn path=/trunk/; revision=48747
2010-09-12 00:47:07 +00:00
Aleksey Bragin
a14482e225 [WINLOGON]
- Fix comments copypasta.

svn path=/trunk/; revision=48746
2010-09-11 21:16:41 +00:00
Aleksey Bragin
a5c563dfdb [NTOS]
- Daniel Zimmermann: Fix POPF bugs in VDM mode, namely truncation of the stackpointer to 16 bit and setting proper flags in the trapframe eflags register. This fixes problems with videocards calling int 0x10 VESA BIOS extension.
See issue #5608 for more details.

svn path=/trunk/; revision=48745
2010-09-11 09:20:26 +00:00
Aleksey Bragin
b8cbac25c2 - Fix build, sorry.
svn path=/trunk/; revision=48744
2010-09-11 09:01:58 +00:00
Aleksey Bragin
c9888046ef [HAL]
- Don't include PCI IDs database into mini-HAL.

svn path=/trunk/; revision=48743
2010-09-10 21:57:46 +00:00
Eric Kohl
c3c0a62855 [DESK.CPL]
Fix client font in the advanced appearance dialog. Patch by Katayama Hirofumi.
See issue #5552 for more details.

svn path=/trunk/; revision=48742
2010-09-10 21:57:36 +00:00
Aleksey Bragin
9488b4aab6 [FORMATTING]
- Fix indentation.

svn path=/trunk/; revision=48741
2010-09-10 21:51:32 +00:00
Aleksey Bragin
2d246e918e [HAL]
- Add missing call to HalInitPnpDriver during I/O manager initialization. The HAL PnP driver was never getting initialized.
- Add HAL callback for HalInitPnpDriver. It's going to be needed in future for eVb's PCI driver to fully work (interrupt translation, among other things).

svn path=/trunk/; revision=48740
2010-09-10 21:46:13 +00:00
Aleksey Bragin
1a029a622d [NTOS]
- Fix several bugs in Inbv (busted locking code, useless variables, magic initializers).

svn path=/trunk/; revision=48739
2010-09-10 21:28:24 +00:00
Michael Martin
bd0767f9fd [ntoskrnl/io]
- Modify IopCreateDriver to accept the PLDR_DATA_TABLE_ENTRY instead of the DllBase and SizeOfImage from this structure.
- Set the DriverObject->DriverSection before calling the DriverEntry routine.
- If the DriverEntry routine fails then set the DriverObject->DriverSection back to NULL so that IopDeleteDriver doesnt attempt to unload the ModuleObject, after it was already unloaded by the caller.

svn path=/trunk/; revision=48738
2010-09-10 21:25:53 +00:00
Aleksey Bragin
0daaf9da75 [NTOS]
- Fix a code typo which led to a security issue when the XOR algorithm for the system cookie might actually yield zero. Now it's going to loop as long as the cookie is 0, attempting to generate a non-zero one.

svn path=/trunk/; revision=48737
2010-09-10 21:13:06 +00:00
Aleksey Bragin
9b12a8c1d7 [NDK]
- Remove deprecated KV86M structures and files.

svn path=/trunk/; revision=48736
2010-09-10 21:08:38 +00:00
Aleksey Bragin
1f4771d41b [NTOS]
- Fix a strange bug where we were only setting SharedUserData->TestRetInstruction conditionally only if lookup failed - it should be set on success. Also, bail out if the lookups failed.

svn path=/trunk/; revision=48735
2010-09-10 21:01:59 +00:00
Michael Martin
dee985f9c6 [ntoskrnl/io/pnpmgr]
- Fix incorrect POOL_TYPE allocation in IoInvalidateDeviceRelations. This function can be called at DISPATCH_LEVEL, which requires NonPagedPool POOL_TYPE.

svn path=/trunk/; revision=48734
2010-09-10 19:45:01 +00:00
Aleksey Bragin
1355a06e32 [NDK]
- Fix KiBugCheckData declaration.

svn path=/trunk/; revision=48733
2010-09-10 18:20:37 +00:00
Aleksey Bragin
0955523e4f [WIN32K]
- Giannis Adamopoulos: Only dereference a class if it's valid, should fix Heroes 3 crash.
See issue #5606 for more details.

svn path=/trunk/; revision=48732
2010-09-10 18:13:02 +00:00
Aleksey Bragin
cacc80ae3e [HAL]
- Stub support for future timer latency watchdog.
- Change older-style comments to standard ReactOS commenting style.

svn path=/trunk/; revision=48731
2010-09-10 13:15:51 +00:00
Aleksey Bragin
b84512b555 [NTOS]
- Rename KINTERRUPT_DISPATCH_CODES to DISPATCH_LENGTH, as it is in PSDK.
- Enhance NMI debug support.
- Change some comments to standard ReactOS commenting style.

svn path=/trunk/; revision=48730
2010-09-10 09:54:30 +00:00
Aleksey Bragin
7a9bd9ccea [KERNEL32]
- Fix release build, part 2. Further improvement to gDebugChannels would be to convert them to a DECLARE_DEBUG_CHANNEL-alike macro.

svn path=/trunk/; revision=48729
2010-09-10 09:04:25 +00:00
Aleksey Bragin
60bb233f46 - Fix typos in the description of serial port defines.
svn path=/trunk/; revision=48728
2010-09-10 08:30:13 +00:00
Sir Richard
c27087c0e6 Patch by Anton Yarotsky:
[CPORTLIB]: Implement Windows' Cp (ComPort) library. See Notes in C file. Not yet used. Based on MS Whitepaper: Building Hardware and Firmware to Complement Microsoft Windows Headless Operation.

svn path=/trunk/; revision=48727
2010-09-10 05:22:48 +00:00
Aleksey Bragin
228af0c797 [NTOS]
- Fix release build, leftover from 48692.

svn path=/trunk/; revision=48726
2010-09-09 21:06:13 +00:00
Michael Martin
322032192b [ntoskrnl/po]
- Fix typo.

svn path=/trunk/; revision=48725
2010-09-09 09:22:49 +00:00
Michael Martin
573715a9fe [ntoskrnl/po]
- When an IRP is freed in a Completion routine the return Status is STATUS_MORE_PROCESSING_REQUIRED to let IoCompleteRequest know not to do anything further with the IRP.

svn path=/trunk/; revision=48724
2010-09-08 21:30:40 +00:00
Eric Kohl
db5ca64e4e [SCSIPORT]
Implement RequestTimerCall-Notification. This is used by uniata.

svn path=/trunk/; revision=48723
2010-09-08 10:39:37 +00:00
Eric Kohl
3100fc8995 [USETUP]
Allocate a drive layout buffer that is large enough to keep a primary partition table (4 partition entries) plus 26 logical drives (2 partition entries each). Total 56 partition entries. This should be enough for everybody until we support GPT partition tables. ;-)
See issue #5270 for more details.

svn path=/trunk/; revision=48722
2010-09-07 15:21:06 +00:00
Eric Kohl
340a34cec4 Improvements to NtAdjustPrivilegesToken part 4 (last one):
- SEH-protect all code that writes to PreviousState as it cannot be captured.
- Add a missing ObDereferenceObject and SeReleaseLuidAndAttributesArray.

svn path=/trunk/; revision=48721
2010-09-07 15:08:29 +00:00
Michael Martin
e851b3ba21 [usb/usbhub]
- Add function for dumping the Device and Configuration Descriptors.
- Implement WaitForUsbDeviceArrivalNotification, used to send a URB transaction to the Status Change Endpoint of the RootHubs pdo. The RootHubs pdo will queue this request until a new usb device connects.
- Call above function at the end of UsbhubFdoQueryBusRelations, which will be called by the pnp manager after the hub driver creates a new child device.
- Change the URB to be allocated from the pool at IRP_MN_START_DEVICE.
- Call QueryRootHub with the RootHub Pdo and not the hub drivers DeviceObject.
- Implement selecting a configuration for the RootHub.

svn path=/trunk/; revision=48719
2010-09-07 11:44:03 +00:00
Michael Martin
b43cf6c771 [USETUP]
- Translation updates by Pierre Schweitzer.

svn path=/trunk/; revision=48718
2010-09-07 09:40:53 +00:00
Eric Kohl
6153f47739 Improvements to NtAdjustPrivilegesToken part 3:
- Simplify the privilege modification code.

svn path=/trunk/; revision=48717
2010-09-07 09:32:30 +00:00
Sir Richard
b96cb710f4 [GDI32]: Don't destroy the heap when calling GetSystemPaletteEntries. Note to whoever wrote "//make this work": (&array[x]) is defintely not equal to (&array + x). This is why we don't use pointers-to-arrays, among other reasons.
[GDI32]: Reformat GetSystemPaletteEntries away from grotesque 5-space identation (who does that?).
[GDI32]: Optimize GetSystemPaletteEntries by not zeroing over fields that get overwritten anyway.
[GDI32]: Simplify loop control, remove not-needed local variable in GetSystemPaletteEntries.

svn path=/trunk/; revision=48716
2010-09-07 07:50:51 +00:00
Sir Richard
65fc01dc92 [PSDK]: Get rid of unused variable.
svn path=/trunk/; revision=48715
2010-09-07 05:22:13 +00:00
Cameron Gutman
70e3baab3e [FREELOADER]
- Don't zero the target of an uninitialized pointer
- Thanks to arty for finding the issue

svn path=/trunk/; revision=48713
2010-09-07 01:31:24 +00:00
Sir Richard
b0e67ed0fb [WIN32K]: Fix large amount of set-but-unused variables. Most of these seemed to be old/unfinished code, however in IntGdiPaintRgn an actual bug seems to have been found.
[WIN32K]: Make IntGdiPaintRgn return the status of the operation, not always TRUE.

svn path=/trunk/; revision=48712
2010-09-06 23:55:53 +00:00
Timo Kreuzer
b687dc9462 [USETUP]
- When creating fresh partitions, set the HiddenSectors mamber. Fixes fat32 installation.

svn path=/trunk/; revision=48711
2010-09-06 17:02:47 +00:00
Eric Kohl
9ba0d09d90 Improvements to NtAdjustPrivilegesToken part 2:
- Check for invalid parameter combinations.
- Count privileges that will be changed before changing them.
- Return required buffer size.
- Fail if the provided buffer is too small.
See issue #5497 for more details.

svn path=/trunk/; revision=48710
2010-09-06 15:26:12 +00:00
Eric Kohl
1e34ad4d19 Translated new boot loader options and fixed a typo.
svn path=/trunk/; revision=48709
2010-09-06 10:24:50 +00:00
Eric Kohl
fd61ebc8bb fdc.inf: Fix a typo in the class guid.
hdc.inf: Add missing manufacturer string.

svn path=/trunk/; revision=48708
2010-09-06 09:53:36 +00:00
Eric Kohl
b9159984e7 NtAdjustPrivilegesToken: Probe and capture parameters before use.
See issue #5497 for more details.

svn path=/trunk/; revision=48707
2010-09-06 09:51:46 +00:00
Timo Kreuzer
3995cce1ba [USETUP]
The VBR (volume boot sector) contains a structure called BPB (bios parameter block) that describes the disk and the partition. The HiddenSectors member contains the number of the first sector of the partition. This is used by the VBR code to load the secondary sector containing additional boot code that is located at secor 14 relative to the partition start. Previously we were copying the BPB (plus additionally the OemName, which makes no sense) from the old VBR. Now Linux is a bit lame and doesn't put the correct value into the HiddenSectors field. Instead it sets it to the number of sectors per track which seems to be the default value. When now the linux partition manager decides to do a non standard partitioning, aligning the partition to 0x800, then the VBR fails to load it's 2nd sector. Fix this by correcting the value in the BPB with the value from the partition info.

See issue #2733 for more details.

svn path=/trunk/; revision=48706
2010-09-06 01:46:06 +00:00
Michael Martin
74d5088c7d [usb/usbhub]
- Start rewrite of usbhub driver using the old and dead usbhub driver in trunk.
- Implement QueryRootHub for sending USB request to miniport driver.
- Implement new IRP_MN_START_DEVICE.  
Get the roothubs PDO and FDO and forward the start device down to start the PDO.
Get USBDI and HUB interfaces. Set all ports as returned by DCI GetExtendedHubInformation to powered and reset.
- Temporary add some usb specific defines until header is fixed.
- Fix Formatting.



svn path=/trunk/; revision=48705
2010-09-05 19:00:37 +00:00
Michael Martin
639f26f1b5 [usb/usbehci]
- Fix flags settings for PortStatus and PortChange so that the correct flags are set when hub driver sets/requests them.
- Use FastMutex to protect access to async queue and frame list.
- For USB CONFIG DESC, Check the output buffer size before attempting to write all configuration descriptors.
- Fix a bug that caused bmRequestType to be incorret value when requesting configuration and string descriptors.
- Modify some debugging to make it easier to see debug messages from usbhub driver.

svn path=/trunk/; revision=48704
2010-09-05 18:43:17 +00:00
Cameron Gutman
38a87f0176 [USETUP]
- Add the option to write only the VBR so FreeLoader can easily be chain loaded by GRUB or another boot loader
- Dedicated to James Tabor :)

svn path=/trunk/; revision=48703
2010-09-05 17:09:18 +00:00
Timo Kreuzer
113c47805c Update the GAS compatible fathelp.S file to reflect the latest changes to the original file (freeldr PE conversion). This version is tested and works.
svn path=/trunk/; revision=48701
2010-09-05 16:03:08 +00:00
Cameron Gutman
f276fcd056 [USETUP]
- Remove code that was corrupting disk data and causing setup to fail in rare cases
- Write the MBR in all cases (Windows setup behavior too)
- We can overwrite GRUB and LILO now but we still can't boot because we have trouble reading the partition table if it was made in Linux

svn path=/trunk/; revision=48700
2010-09-04 20:56:19 +00:00
Sir Richard
edfb344c53 [NTOS]: Remove useless variables in kernel code that were set, but never actually used (dead code, tests, copy/pasters). If a variable was set but not used because of missing/#if'ed out code, a note was added instead.
[NTOS]: In the process, fix bugs in the Event dispatcher code that used Win32 EVENT_TYPE instead of NT KOBJECTS enumeration.
[NTOS]: Fix a bug in ObpInsertHandleCount, where the object access check was being done with the previous mode, instead of honoring the probe mode, which is defined by OBJ_FORCE_ACCESS_CHECK.
[NTOS]: Fix a bug in a section function which was always returning STATUS_SUCCESS, now it returns the result of the previous Status = function assignment. If this isn't desired, then don't check for the Status anymore.
[NTOS]: Note that MDL code does not support SkipBytes argument. If it is used, MDL could be invalid.
[NTOS]: Add checks for VerifierAllocation and set it when needed (WIP).
[NTOS]: Clarify what _WORKING_LINKER_ is, and the legal risks in continuing to use a linker that builds non-Microsoft drivers when used with headers whose EULA specify that they can only be used for Microsoft drivers.

svn path=/trunk/; revision=48692
2010-09-04 08:17:17 +00:00
Cameron Gutman
93ae36ab99 [OSKITTCP]
- Check for a shutdown connection that we missed a few times
- Remove some junk and stop playing with flags behind oskit's back
- Fix an invalid parameter check
- Enable a check to ensure that accept doesn't get called for a socket that isn't listening
- Use the queue manipulation function instead of manually changing the queue
- Signal that we accepted/connected a socket
[IP]
- Set the network mask and destination address in TCPGetInterfaceData

svn path=/trunk/; revision=48686
2010-09-02 04:18:17 +00:00
Jérôme Gardou
1a45c42898 [WIN32K]
- Do not acccess unsafe bits outside of PSEH

svn path=/branches/reactos-yarotows/; revision=48685
2010-09-01 22:36:00 +00:00
Jérôme Gardou
a87737f098 [WIN32K]
- always make icon mask bitmap a global object

svn path=/branches/reactos-yarotows/; revision=48684
2010-09-01 20:06:46 +00:00
Jérôme Gardou
33b51fcec4 [WIN32K]
- Do not access unsafe buffer out of PSEH.

svn path=/branches/reactos-yarotows/; revision=48683
2010-09-01 19:54:45 +00:00
Jérôme Gardou
66fd97f171 [WIN32K]
- same as 48681 for win32k

svn path=/branches/reactos-yarotows/; revision=48682
2010-09-01 18:39:37 +00:00
Jérôme Gardou
b0fe5ee433 [WIN32K]
- Use newly introduced macros and get rid of  related functions
  - Ignore alpha channels of solid brush color

svn path=/branches/reactos-yarotows/; revision=48680
2010-09-01 16:52:23 +00:00
Aleksey Bragin
33fffd0b38 [PSDK]
- Add BS_TYPEMASK definition.

svn path=/trunk/; revision=48678
2010-09-01 13:40:35 +00:00
Timo Kreuzer
61c05f8d3d Add macros WIDTH_BYTES_ALIGN16/32
svn path=/branches/reactos-yarotows/; revision=48675
2010-09-01 12:04:31 +00:00
Jérôme Gardou
ce75f117fd [WIN32K]
- Giannis Adamopoulos : "Something is missing here"

svn path=/branches/reactos-yarotows/; revision=48674
2010-09-01 11:28:50 +00:00
Jérôme Gardou
7b457ade67 [USER32]
- Use Screen capabilities to create icons bitmaps.

svn path=/branches/reactos-yarotows/; revision=48673
2010-09-01 10:56:10 +00:00
Jérôme Gardou
00b7f54d2e [WIN32K]
- Get rid of old code, when surfaces didn't have palettes by default

svn path=/branches/reactos-yarotows/; revision=48670
2010-08-31 20:38:49 +00:00
Jérôme Gardou
98006d55b6 [USER32]
- Use GetSysColorBrush(...) instead of CreateSolidBrush(GetSysColor(...))

svn path=/branches/reactos-yarotows/; revision=48667
2010-08-31 16:49:09 +00:00
Jérôme Gardou
5ba0a60862 [WIN32K]
- Create the visible region upon DC initilization propely.
This is a leftover from 48579 and 48660.

svn path=/branches/reactos-yarotows/; revision=48665
2010-08-31 16:02:22 +00:00
Timo Kreuzer
0372821ca0 Sync with trunk head (r48654)
svn path=/branches/reactos-yarotows/; revision=48660
2010-08-30 19:55:47 +00:00
Amine Khaldi
ef43524fff [CRT]
- Fix __MINGW_MSC_PREREQ logic.

svn path=/trunk/; revision=48657
2010-08-30 13:48:40 +00:00
Michael Martin
9b7e628d96 Patch by Pierre Schweitzer.
[CDFS]
- Several fixes for directory information query.
- Fixed a null access memory under certain circumstances.
- Added support for media ejection.
[FASTFAT]
- Fixed calls to CcMapData(), CcPinRead().
- Fixed an endless loop in FCB management under certain circumstances.
[NTOSKRNL]
- Fixed wrong prototype for IopParseDevice().

svn path=/trunk/; revision=48654
2010-08-30 11:51:17 +00:00
Sir Richard
c574f50663 [NTOS]: Add an extra layer of protection for freed nonpaged pool: write a 4-byte signature on freed blocks, and assert its valid on checked builds. Use a slightly less egocentric ASCII value than on Windows (name of the developer who wrote the first memory manager).
svn path=/trunk/; revision=48651
2010-08-29 19:32:25 +00:00
Sir Richard
b85ab20f13 [NTOS]: Missed a bunch of codepaths, protected pool "should" work now.
svn path=/trunk/; revision=48650
2010-08-29 19:27:58 +00:00
Sir Richard
cf28a01e5e [NTOS]: Add DRIVER_CAUGHT_MODIFYING_FREED_POOL bugcheck code.
[NTOS]: Add support for protected freed nonpaged pool. This is controlled through MmProtectFreedNonPagedPool, which is initialized based on a registry value (see cmdata.c). This is not "Special Pool", but a useful debugging feature Windows implements that we now have too, since I noticed a lot of mj's work was with freed pool access.
NB. It's 3AM and I have not tested this, it should be off in trunk by default, you'll need to try turning it on and testing it. Hope it helps.
--This line, and those low, will be ignored--

M    ntoskrnl/mm/ARM3/pagfault.c
M    ntoskrnl/mm/ARM3/pool.c
M    include/reactos/mc/bugcodes.mc

svn path=/trunk/; revision=48649
2010-08-29 19:13:08 +00:00
Cameron Gutman
1afef0ace6 [ACPI]
- Read and report ACPI_RESOURCE_TYPE_FIXED_MEMORY32

svn path=/trunk/; revision=48648
2010-08-29 18:40:33 +00:00
Michael Martin
52929981d9 [cdfs]
- Working with Pierre Schweitzer for yet another NonPaged Pool corruption fix. When copying VolumeLabel the VolumeLabelLength is in Unicode, so theres no need to mulitply it by size of WCHAR. 

svn path=/trunk/; revision=48646
2010-08-29 17:46:18 +00:00
Timo Kreuzer
69814e0c5b [NTOSKRNL]
Modified version of r48640: 
- update the NodeHint to the root node when deleting a node
- remove this code from MmCleanProcessAddressSpace

svn path=/trunk/; revision=48642
2010-08-29 08:35:54 +00:00
Michael Martin
fbf071095a [ntoskrnl]
- Revert 48640, as it was incorrect.

svn path=/trunk/; revision=48641
2010-08-29 07:18:47 +00:00
Michael Martin
690399c881 [ntoskrnl]
- When a node is removed, check the NodeHint of the table to see if it matches the one being removed. If so update the NodeHint to the PreviousNode. FIxes VAD corruption messages.

svn path=/trunk/; revision=48640
2010-08-29 07:00:52 +00:00
Cameron Gutman
73e641d29b - Disable ACPI again
svn path=/trunk/; revision=48639
2010-08-29 03:51:21 +00:00
Cameron Gutman
2450e46a56 [NTOSKRNL]
- Fix a regression in ACPI function from r48581
- Enable ACPI for testing purposes (will be disabled next commit)

svn path=/trunk/; revision=48638
2010-08-29 03:48:59 +00:00
Cameron Gutman
c8ff03d682 [TCPIP]
- Don't allocate pool if there is nothing in the route table
- Fixes bug 5493

svn path=/trunk/; revision=48637
2010-08-29 02:29:10 +00:00
Michael Martin
a3370efc0a [win32k]
- Mouse messages can be sent before the desktop is initialized. Check for this and return false if its not. FIxes assert when moving mouse before desktop is up.

svn path=/trunk/; revision=48636
2010-08-28 23:55:27 +00:00
Michael Martin
a5bab7504e [input/i8042prt]
- Fix a check when queuing the mouse packet. Check that the buffer size (MouseInBuffer) is not greater or equal to MouseDataQueueSize. Fixes a NonPagedPool corruption that occurs when the mouse is moved before the desktop window is up and running.

svn path=/trunk/; revision=48635
2010-08-28 23:23:43 +00:00
Michael Martin
87e8d75f00 [ntoskrnl/ps]
- When deleting a Process remove the Process from the MmProcessList. Fixes random NonPaged Pool corruptions.  Thanks aicom for assistance.

svn path=/trunk/; revision=48632
2010-08-28 00:26:02 +00:00
Michael Martin
a9e0dc23a4 [ntoskrnl/ps]
- Acquire and Release RundownProtection on the Parent Pocess not the newly created Pcess when setting the SectionObject.

svn path=/trunk/; revision=48631
2010-08-27 22:18:10 +00:00
Timo Kreuzer
3a325683bc [WIN32K]
- Rework EngSetPointerShape, to first allocate the neccessary surfaces, before deleting the old ones. Also check in IntShowMousePointer if a saving surface is present. This way a failure to allocate a surface will not result in a crash, but keep the old mouse pointer.

See issue #5402 for more details.

svn path=/trunk/; revision=48630
2010-08-27 10:57:54 +00:00
Timo Kreuzer
cb6ae2faab [USER32]
- Revert r47238 as requested by Giannis: "this commit breaks any program that wants to subclass mdi client windows"

svn path=/trunk/; revision=48629
2010-08-27 10:20:25 +00:00
Cameron Gutman
b0a5ac396e [OSKITTCP]
- Only tell the caller how much we sent/received if it completed successfully
- Set SO_DONTROUTE on accepted sockets too
- Disable the core routing code
- Make our MSS calculation much better by sharing the existing code

svn path=/trunk/; revision=48628
2010-08-27 04:46:04 +00:00
Colin Finck
9f187ad465 Fix building on newer Linux systems (particularly Fedora 13)
Thanks to James, Sylvain and ErVito for testing!

See http://reactos.org/pipermail/ros-dev/2010-August/013338.html for more details

svn path=/trunk/; revision=48627
2010-08-26 18:33:46 +00:00
Timo Kreuzer
e04ebf1980 [NTOSKRNL]
- Fix to PpSetCustomTargetEvent(), not to make caller wait forever in case it provided an event it waits for
- Patch by Pierre Schweitzer

svn path=/trunk/; revision=48626
2010-08-26 15:25:33 +00:00
Timo Kreuzer
6ddec3f063 Fix build
svn path=/trunk/; revision=48625
2010-08-26 02:48:03 +00:00
Cameron Gutman
0553d5160c [OSKITTCP]
- Prevent multiple wakeups for the same event which caused nasty problems for the SEL_FIN event because we dereferenced our connection context 3 times which not only caused the connection endpoint to be freed while holding its spin lock but made the reference count negative
[TCPIP]
- Disassociate the address file from the connection endpoint before dereferencing/closing it to avoid a double dereference of the address file (not as harmful in this case as in the connection endpoint case)
[IP]
- Dereference the connection endpoint again if it was associated with an address file as the connection endpoint to fix a reference leak

svn path=/trunk/; revision=48624
2010-08-26 02:29:38 +00:00
Timo Kreuzer
1b2ab4ce31 [NTDLL_APITEST]
- Add a test for RtlInitializeBitMap.

svn path=/trunk/; revision=48623
2010-08-26 02:29:19 +00:00
Timo Kreuzer
da3e12b450 delete old Zwcontinue test
svn path=/trunk/; revision=48622
2010-08-25 10:15:34 +00:00
Timo Kreuzer
14d5a266b3 [ROSTESTS]
- Add wine style ntdll_apitest and move test for ZwContinue there

svn path=/trunk/; revision=48621
2010-08-25 10:15:01 +00:00
Timo Kreuzer
57434c8ebf Add missing files
svn path=/trunk/; revision=48620
2010-08-25 08:50:10 +00:00
Timo Kreuzer
ecc6804976 [APITESTS]
Convert dciman32api, user32api and wa2_32 into wine style tests

svn path=/trunk/; revision=48619
2010-08-25 08:48:55 +00:00
Timo Kreuzer
967f731f6a [FASTFAT]
- "Fix for a stupid mistake"
- patch by Pierre Schweitzer

svn path=/trunk/; revision=48618
2010-08-25 08:29:52 +00:00
Timo Kreuzer
e3a2103631 Convert gdi32api into wine style test
svn path=/trunk/; revision=48617
2010-08-24 13:54:10 +00:00
Timo Kreuzer
bc064d7ed4 Fix copy paste error in file header
svn path=/trunk/; revision=48616
2010-08-24 05:27:39 +00:00
Timo Kreuzer
fdd4f2b50b [REGTESTS]
Add bugs_regtest. This can be used to create testcases / regression tests for already fixed bugs. I added a first test for bug 3481

svn path=/trunk/; revision=48615
2010-08-24 05:20:16 +00:00
Timo Kreuzer
337a1faad6 [WINGDI.H]
Add missing GetCharWidthI, GetTextExtentExPointI, GetTextExtentPointI

svn path=/trunk/; revision=48614
2010-08-24 05:19:31 +00:00
Cameron Gutman
0ea1a11d0d - Revert the change from REG_SZ to REG_MULTI_SZ because it turns out that Windows does it this same way (research fail?)
svn path=/trunk/; revision=48611
2010-08-23 21:11:01 +00:00
Timo Kreuzer
2ddee30677 [NTOSKRNL]
- Rewrite MiFindEmptyAddressRangeDownTree. The old implementation's "most awesome loop" duplicated both the initialization and the interation steps. It was also overcomplicated. The new implementation additionally returns the parent for the following table insertion, so this doesnt need to be done in an extra search. The return value is changed from NTSTATUS to TABLE_SEARCH_RESULT
- Modify MiInsertNode to accept a parent and TABLE_SEARCH_RESULT instead of searching for a free location.
- Modify MiCreatePebOrTeb to make use of the new features
- Handle failed allocation of the PEB/TEB
- Fixes a failed assertion that Olaf got
- I tested this code quite some time and no problems were found

svn path=/trunk/; revision=48606
2010-08-23 03:00:03 +00:00
Timo Kreuzer
b8e0dc9948 [WIN32K]
Seperate DC_vSetLayout from NtGdiSetLayout and save the old value before setting the new one.

svn path=/trunk/; revision=48605
2010-08-23 01:41:56 +00:00
Timo Kreuzer
7aa6c115ea [WIN32K]
Move the allocation of the vis region of the DC to a later position, so that all mandatory fields are initialized before we try to delete the DC in failure case. Fixes yet another possible crash.

svn path=/trunk/; revision=48604
2010-08-23 01:39:28 +00:00
Timo Kreuzer
35eedf6749 [NDK]
Add LdrProcessRelocationBlockLongLong. Fixes build, sorry.


svn path=/trunk/; revision=48603
2010-08-23 01:18:09 +00:00
Cameron Gutman
8d77a3fe00 [TCPIP]
- Read the IP information from the interface key inside the Tcpip service key (confirmed on XP)
- Fix a logic error in my code (no idea how I missed it)
- Restores static IP functionality (still waiting on janderwald to fix netcfgx's DNS value writing)

svn path=/trunk/; revision=48602
2010-08-23 01:17:41 +00:00
Timo Kreuzer
ca6ff51038 [NTDLL]
- Call LdrProcessRelocationBlockLongLong from LdrProcessRelocationBlock instead of duplicating the code

svn path=/trunk/; revision=48601
2010-08-23 01:16:42 +00:00
Amine Khaldi
3957ae1572 [FAULTREP]
- Fix a typo.

svn path=/trunk/; revision=48600
2010-08-23 00:02:06 +00:00
Timo Kreuzer
314e02e2f0 [WIN32K] / [GDI32]
- GetTextExtentExPointI and GetTextExtentPointI take an array of glyph indices, not characters. Pass a flag GTEF_INDICES (This is a reactos specific definition and not exactly like on Windows XP, but the real names/values are undocumented and this is the easiest way.) to NtGdiGetTextExtent/NtGdiGetTextExtentExW and handle this flag in TextIntGetTextExtentPoint to account for this.
Fixes bug 3481

svn path=/trunk/; revision=48597
2010-08-22 23:38:02 +00:00
Timo Kreuzer
dfce6bb843 [WIN32K]
- When doing a cleanup for a DC, check, if the default brushes are set, before dereferencing them. Fixes a possible kernel mode crash.
- Remove some obsolete casts

svn path=/trunk/; revision=48595
2010-08-22 22:44:36 +00:00
Cameron Gutman
617f243c3f [DHCPCSVC]
- Write the DNS servers in a REG_MULTI_SZ value
[IPHLPAPI]
- Rewrite the registry reading code
- Use HeapFree to free memory from the allocated from heap

svn path=/trunk/; revision=48593
2010-08-22 22:22:27 +00:00
Amine Khaldi
f8199cb9e0 [PSDK]
- Improve _MSC_VER related conditions.
- Comment on #endif (for readability).
- DECLSPEC_ALIGN : moar underscores !
- Apply a consistent formatting.

svn path=/trunk/; revision=48590
2010-08-22 13:25:10 +00:00
Cameron Gutman
7f865763fa [NTOSKRNL]
- Fix a typo that broke handling of DevicePropertyEnumeratorName inside IoGetDeviceProperty

svn path=/trunk/; revision=48583
2010-08-21 22:08:00 +00:00
Timo Kreuzer
9280f1e1c3 [WIN32K]
Use the object type index, not the shifted full object type to decide what to do with an object in NtGdiDeleteObjectApp. Fixes leaking derived types such as pens.

svn path=/trunk/; revision=48582
2010-08-21 22:00:50 +00:00
Cameron Gutman
0d3516871b [NTOSKRNL]
- Don't overwrite the ACPI hardware key on every boot

svn path=/trunk/; revision=48581
2010-08-21 21:39:53 +00:00
Cameron Gutman
68eef5481f [NTOSKRNL]
- Append the DLL name and NULL terminate the string more nicely

svn path=/trunk/; revision=48580
2010-08-21 21:25:07 +00:00
Timo Kreuzer
80cc3a0e88 [WIN32K]
- Allocate the DCs prgnVis in DC_AllocDC, instead of "on demand" in GdiSelectVisRgn and properly handle failure case. This fixes a possible crash, when running out of gdi handles.

svn path=/trunk/; revision=48579
2010-08-21 19:55:09 +00:00
Timo Kreuzer
02cb45ab9c [WIN32K]
- co_IntTranslateMouseMessage: properly initialize *HitTest and only send WM_NCHITTEST when the message is going to be removed
- co_IntPeekMessage: Prevent possible use of uninitialized HitTest by ProcessMouseMessage()
- Patch by Jan Roeloffzen [jroeloffzen at hotmail dot com]
- Fixes bug 2139

svn path=/trunk/; revision=48576
2010-08-20 19:24:48 +00:00
Amine Khaldi
ca4003c9f8 [PSDK]
- Add missing DISPLAY_BRIGHTNESS and some related definitions.

svn path=/trunk/; revision=48575
2010-08-20 16:55:33 +00:00
Cameron Gutman
5122323eb8 [NTOSKRNL]
- The trailing NULL is NOT included in the string length
- IopNotifyPlugPlayNotification needs a pointer to an actual GUID not a UNICODE_STRING
- The Power Manager can now see ACPI power devices again
- ROS will now do a graceful shutdown and power off if the power button is pressed and ACPI is enabled

svn path=/trunk/; revision=48574
2010-08-20 04:45:25 +00:00
Cameron Gutman
1883a6f208 [ACPI]
- Do all of the work inside the DPC so we don't have IRQL issues when entering the memory manager
- This is a slight hack but we can be assured that data won't be over 24 bits unless somebody wants to push the power/sleep button over 16 million times

svn path=/trunk/; revision=48573
2010-08-20 03:08:50 +00:00
Cameron Gutman
62f520433c [NTOSKRNL]
- Shutdown the system if we receive a SYS_BUTTON_POWER event
- Register for GUID_DEVICE_LID arrival events so we can receive lid events

svn path=/trunk/; revision=48572
2010-08-20 02:27:05 +00:00
Cameron Gutman
ab9dae987d [NTOSKRNL]
- Add a special case to IopInitializeDevice for raw devices
- Call IopInitializeDevice to set up our device node and ready it to start
- Fixes assertions hit by ACPI and PCIX

svn path=/trunk/; revision=48570
2010-08-19 23:26:44 +00:00
Cameron Gutman
8d8399c2e5 [OSKITTCP]
- Disable routing because oskit needs to let our code do that
- Comment out the ACK hack and restore the default BSD behavior

svn path=/trunk/; revision=48569
2010-08-19 22:15:58 +00:00
Michael Martin
6a0074f795 [Win32k]
- For SetTimer nIDEvent can be 0 in which case return 1. Zero still needs to be used for nIDEvent when killing the timer. Fixes bug 5553.
- Modify windowless timers to use IDEvent values decrementing from the max number of windowless timers vice incrementing from 1. Done to match windows behavior.


svn path=/trunk/; revision=48568
2010-08-19 10:52:36 +00:00
Timo Kreuzer
f87ad01e1a [NTOSKRNL]
- Add missing parentheses. Fixes "cont"

svn path=/trunk/; revision=48567
2010-08-19 10:03:03 +00:00
Timo Kreuzer
681307ff21 [NTOSKRNL]
Fix handling of next instruction in kdbg.
Patch by Daniel Zimmermann, modified by Aleksey Bragin

See issue #4457 for more details.

svn path=/trunk/; revision=48566
2010-08-19 09:03:36 +00:00
Timo Kreuzer
6fb40574c2 [NTOSKRNL]
- Implement support for /BURNMEMORY option.
- Don't stop boot on bad memory type
Patch by Jay Smith, modified by Aleksey, even more modified by me.

See issue #4957 for more details.

svn path=/trunk/; revision=48565
2010-08-19 08:50:23 +00:00
Cameron Gutman
44e8a7f7b6 [NETSTAT]
- Allocate memory for the TCP table properly
- Only netstat -a should show UDP connections
- Patch by Jan Roeloffzen [jroeloffzen at hotmail dot com]

svn path=/trunk/; revision=48564
2010-08-19 06:25:20 +00:00
Cameron Gutman
f2d4e1a828 [IPHLPAPI]
- Copy our TCP table into the caller's buffer if we actually get one (not yet!)
- Return ERROR_NO_DATA if we fail to get anything from TCP/IP
- Fixes bug #4185

svn path=/trunk/; revision=48563
2010-08-19 06:05:35 +00:00
Timo Kreuzer
5ae5a35726 [NTOSKRNL]
- Initialize the Parent member of the new Vad to NULL. This also initializes the Balance to 0 aka RtlBalancedAvlTree
Should fix the failed assertion that randomly occurs.

svn path=/trunk/; revision=48562
2010-08-19 05:10:16 +00:00
Cameron Gutman
8f474295b5 [IP]
- Fix a major bug in socket closure. Prior to this, a socket with pending IRPs that could not be satisfied when the socket was closed would be destroyed without completing the pending requests. Now, we check all of our IRP queues if we get a SEL_FIN signal and kill all the requests that cannot be satisfied immediately.
- Maybe it's just me but Firefox 2 seems much more responsive after this fix (like actually usable!)

svn path=/trunk/; revision=48561
2010-08-19 02:41:54 +00:00
Timo Kreuzer
1cbf4c4057 [FASTFAT]
Make our FAT driver PNP aware.
On PNP requests it should handle, it will return STATUS_NOT_IMPLEMENTED.
On the others, it will pass them to lower driver.
This is the first step outside the kernel into getting IoGetRelatedTargetDevice (and so notifications) working.
It doesn't work at the moment, as class2 doesn't handle PNP.

[NTOSKRNL]
Some fixes to IRP cancelation process:
- Renamed IopRemoveThreadIrp() to IopDisassociateThreadIrp() to match Windows 2k3
- Made dead IRP global, to make its debug easier.
- IopDisassociateThreadIrp(), Handle dead IRP at dispatch level, using IoCompletionLock.
- IopDisassociateThreadIrp(), Use the proper error code to write the entry to logs.
- IoCancelIrp(), removed non needed ASSERT, which is even not present on Windows, removed corresponding var as well.
- IoCancelIrp(), fixed parameters to KeBugCheckEx() call.
- IoCancelThreadIo() is pageable.
- IoCancelThreadIo() under Windows isn't using given thread, but using current. Do the same here.
All that stuff doesn't fix bug #5550, it comes from outside.

Patch by Pierre Schweitzer, modified by me to make it compile. If it breaks anything, don't blame me!

svn path=/trunk/; revision=48560
2010-08-18 23:21:15 +00:00
Timo Kreuzer
3d5db91752 [NTOSKRNL]
- Simplified IopGetRelatedTargetDevice implementation
- Added notification in case of success in NtSetVolumeInformationFile()
Patch by Pierre Schweitzer

svn path=/trunk/; revision=48559
2010-08-17 16:04:46 +00:00
Timo Kreuzer
2ded5adf7c [NTOSKRNL]
- Fixed IoGetRequestorProcess, IoGetRequestorProcessId, IoGetRequestorSessionId
- Pass user buffer in NtNotifyChangeDirectoryFile
- Fixed magic value in IoGetPagingIoPriority
Patch by Pierre Schweitzer

svn path=/trunk/; revision=48557
2010-08-16 20:18:25 +00:00
Timo Kreuzer
49a96cdea9 [NTDLL]
LdrPerformRelocations: Delta is a LONG_PTR rather than ULONG_PTR

See issue #5577 for more details.

svn path=/trunk/; revision=48556
2010-08-16 01:57:09 +00:00
Timo Kreuzer
40f30e9422 [WIN32K]
- Remove IntEngExtEscape stub. This function is completely useless. If the driver doesn't provide a DrvEscape, the function should simply fail and must return 0, not -1.
- If a NULL surface is passed, pass on NULL pso to the driver function

See issue #4563 for more details.

svn path=/trunk/; revision=48555
2010-08-16 01:29:13 +00:00
Timo Kreuzer
d35828af5a [user32_winetest]
Skip 2 tests that hang on reactos. Patch by Giannis Adamopoulos

svn path=/trunk/; revision=48554
2010-08-16 00:06:55 +00:00
Jérôme Gardou
8fc627931b Revert parts of r48547 which have nothing to do with the sync
svn path=/branches/reactos-yarotows/; revision=48553
2010-08-15 14:51:39 +00:00
Aleksey Bragin
a81b1fdd76 [NTOSKRNL]
- Revert 48546. The code was correct, and there is more of same code in other places which firstly cancels the IRP and then moves to the next entry. The actual bug is somewhere else.
See issue #5550 for more details.

svn path=/trunk/; revision=48551
2010-08-15 08:48:03 +00:00
evb
fd24107d7d - IRP_MN_QUERY_RESOURCE_REQUIREMENTS half support now, PciQueryRequirements, PciAllocateIoRequrementsList, full implement, but PciBuildRequirementsList return 0 always for now
- Debug helpers: PciDebugPrintIoResReqList, PciDebugPrintIoResource, PciDebugCmResourceTypeToText
Now hit assert Assertion '(DeviceNode->Flags & DNF_ADDED)' failed at ntoskrnl/io/pnpmgr/pnpmgr.c line 201, too night to debug, maybe tomorow

svn path=/trunk/; revision=48550
2010-08-14 18:06:19 +00:00
evb
d9bd0072a1 - IRP_MN_QUERY_RESOURCES support for PDO (PciQueryResources, PciAllocateCmResourceList), now remain IRP_MN_QUERY_RESOURCE_REQUIREMENTS to last device stack interogration from PNPMGR
svn path=/trunk/; revision=48549
2010-08-14 17:33:10 +00:00
evb
af01479fbf - Add support for PnP IRP to PDO: IRP_MN_QUERY_BUS_INFORMATION (PciQueryBusInformation), IRP_MN_QUERY_ID (PciQueryId), IRP_MN_QUERY_DEVICE_TEXT (PciQueryDeviceText), IRP_MN_QUERY_CAPABILITIES (PciQueryCapabilities), IRP_MN_QUERY_DEVICE_RELATIONS (PciQueryTargetDeviceRelations implement, PciQueryEjectionRelations, stub)
- Stub support for PnP IRP to PDO: IRP_MN_QUERY_RESOURCE_REQUIREMENTS (PciQueryRequirements), IRP_MN_QUERY_RESOURCES(PciQueryResources)
- Add support for PnP IRP to FDO: IRP_MN_QUERY_CAPABILITIES (handle in PciFdoIrpQueryDeviceCapabilities)
- Build device capability UI number (PciDetermineSlotNumber), use PIR$ (seem support broken, need to check loader) or device property for bus not root
- Use parent attachee device and this PDO for build device/system wake states, latency, device/system power mappings
- PCI-ID manage support: PciInitIdBuffer, PciIdPrintf, PciIdPrintfAppend
- Debug helper: PciDebugDumpQueryCapabilities
- Thanks richard for advise + beer
PCI-X driver now pass 10000 codes lines!

svn path=/trunk/; revision=48548
2010-08-14 17:09:20 +00:00
Jérôme Gardou
f9862d34b4 Sync with trunk (r48545)
svn path=/branches/reactos-yarotows/; revision=48547
2010-08-14 15:15:44 +00:00
Cameron Gutman
912704ceb8 [NTOSKRNL]
- Move to the next entry in the thread IRP list before calling IoCancelIrp because if everything works as expected and IoCompleteRequest is called, we could end up with the IRP ripped out from under us before can move to the next element
- See issue #5550 for details.

svn path=/trunk/; revision=48546
2010-08-14 14:55:12 +00:00
Cameron Gutman
ccfa72f607 [WS2_32]
- Create a temporary variable and pass that to WSAIoctl for the bytes returned value instead of passing argp and corrupting the value we just retrieved

svn path=/trunk/; revision=48545
2010-08-14 13:48:31 +00:00
Aleksey Bragin
0be662421f [WINLOGON]
- NtInitializeRegistry expects not just CM_BOOT_FLAG_ACCEPTED, but a number of the accepted control set to be added to it. After fixing this, NtInitializeRegistry won't fail with STATUS_INVALID_PARAMETER (someone should check return status for errors...) anymore. As a result lazy flushing is enabled.

svn path=/trunk/; revision=48536
2010-08-13 22:02:17 +00:00
Aleksey Bragin
e68f31b46a [FASTFAT_NEW]
- Implement asynchronous and delayed close operations.
- Fix a logical bug in FatiClose code, which led to always closing the file object (and freeing respective FCB/VCB/CCB), and then checking flags and queuing a delayed close. Instead, it should only try to close if it's not marked as a delayed close.
- Support stuff added (queues, mutex for closing lists, etc).
- Misc cleanup, debug silencing.

svn path=/trunk/; revision=48525
2010-08-12 21:59:22 +00:00
Cameron Gutman
8d3e4feb39 - I hate catching these things as the commit is going out
svn path=/trunk/; revision=48523
2010-08-12 13:15:35 +00:00
Cameron Gutman
17e0e75eb5 [MSAFD]
- Update lpcbBytesReturned when FIONREAD is called
- Fix the value inside lpErrno when XxxSocketInformation() fails
- Pass the unrecognized IOCTLs to the winsock helper (no behavior change for this yet because wshtcpip's WSHIoctl is unimplemented)

svn path=/trunk/; revision=48522
2010-08-12 13:13:19 +00:00
Aleksey Bragin
11f2175562 [FASTFAT_NEW]
- Plug in a commented out notification call in case of cleanup.
- Implement a case of device info query.
- Implement lock control.

svn path=/trunk/; revision=48518
2010-08-11 12:18:24 +00:00
Timo Kreuzer
aac1625f1f [NTOSKRNL]
Stop using the new paged pool code, before ExpLoadInitialProcess is called. For so far unknown reasons, it causes evil things to happen. Fixes "Assertion NewSize < pool->UserSize failed"
See issue #5551 for more details.

svn path=/trunk/; revision=48517
2010-08-11 01:22:06 +00:00
Amine Khaldi
da140c1ba3 [DDK]
- De-duplicate __GNU_EXTENSION.
- Apply a consistent formatting.

svn path=/trunk/; revision=48514
2010-08-10 20:50:55 +00:00
Aleksey Bragin
94c9f4008f [FASTFAT]
Pierre Schweitzer
- Fix volume opening on FAT volume. Commented out a directory check as it doesn't match realized tests, in spite of what's in WDK.

svn path=/trunk/; revision=48513
2010-08-10 20:08:31 +00:00
Amine Khaldi
0fb515fa5b [XDK]
- Introduce some _ANONYMOUS_STRUCT and NONAMELESSUNION based definitions.
[DDK]
- Update XDK generated headers to reflect the recent changes.
- Update some header guards.
- Add some missing new lines at the end of files.
- Fix PUSB_DEVICE_HANDLE guard.
- Introduce some _ANONYMOUS_STRUCT and NONAMELESSUNION based definitions.
[PSDK]
- Update some header guards.
- Add missing new line at the end of driverspecs.h
[NDIS]
- Update the ndis header guard.

svn path=/trunk/; revision=48511
2010-08-10 13:53:10 +00:00
Amine Khaldi
07bb7dd863 [PSDK]
- Add some missing headers' headers.

svn path=/trunk/; revision=48510
2010-08-10 11:27:27 +00:00
Amine Khaldi
3e2e35f5db [PSDK]
- Add WINELIB_NAME_AW and DECL_WINELIB_TYPE_AW to the wine specific imm.h.

svn path=/trunk/; revision=48509
2010-08-10 10:25:10 +00:00
Cameron Gutman
1fde230130 [WS2_32]
- Fix a crash when running with ws2_32 debugging on

svn path=/trunk/; revision=48507
2010-08-10 07:14:42 +00:00
Timo Kreuzer
713d12fd47 Add include guards in wine/ddk/imm.h and inlude it from wine/imm.h
svn path=/trunk/; revision=48503
2010-08-10 01:08:03 +00:00
Amine Khaldi
a334719f12 [PSDK]
- Move INPUTCONTEXT and ImmLockIMC to the wine imm.h
- Add wingdi.h inclusion.

svn path=/trunk/; revision=48502
2010-08-10 00:46:27 +00:00
Timo Kreuzer
2bf65890b7 [WIN32K] Fix NtGdiMaskBlt to handle patterns correctly, use SRCAND, which is more optimized, instead of DSTERASE, and set fore and background colors correctly to not destroy alpha channel.
[SHELL32] Use MaskBlt to draw the shortcut overlay
Finally fixes bug 5455. Forever. (I hope.)

svn path=/trunk/; revision=48501
2010-08-09 23:28:19 +00:00
Amine Khaldi
329c3e4970 [PSDK]
- Add some missing imm.h definitions.
[IMM32]
- Fix imm.h inclusion.
[IPHLPAPI]
- Fix tdiinfo.h inclusion.

svn path=/trunk/; revision=48500
2010-08-09 22:53:07 +00:00
Amine Khaldi
7e8308d2f2 [DDK]
- Move several headers to PSDK where they belong.
[PSDK]
- ddrawi.h : Fix pUnkOuter.

svn path=/trunk/; revision=48499
2010-08-09 22:20:05 +00:00
Aleksey Bragin
03d3e84856 [FASTFAT_NEW]
- Implement opening an existing DCB.
- Add a bunch of useful macros and helper functions and use them throughout the code.
- Implement in-memory setendoffile set information class. On-disk to be done.
- Implement user fs ctrl wrapper with stubs.
- Fill up QueryVolumeInfo with classes it should handle. Silence up a warning about classes it should reject.

svn path=/trunk/; revision=48498
2010-08-09 21:33:17 +00:00
Amine Khaldi
e787f57ee7 [DDK]
- Move several headers to PSDK where they belong.
- Add _ANONYMOUS_UNION.
- De-duplicate __GNU_EXTENSION definition from several headers.
- Remove semicolons after the closing bracket of extern "C"
- Add a missing one in ioaccess.h
- Apply a consistent formatting.
[PSDK]
- De-duplicate __GNU_EXTENSION definition from several headers.
- Add missing extern "C" opening bracket in ddkernel.h and remove the semicolon from the closing one.
- Add __GNU_EXTENSION definition to ddraw.h and remove the semicolon after the closing bracket of extern "C"
- Add missing extern "C" closing bracket in ddrawi.h
- Remove semicolons after the closing brackets of extern "C" in dinput.h, dmemmgr.h and sti.h
- Apply a consistent formatting.
[DXSDK]
- Move ddraw.h to PSDK.

svn path=/trunk/; revision=48497
2010-08-09 20:58:47 +00:00
Aleksey Bragin
07a6bcfb57 Carlo Bramix
- Prevent possible out-of-bounds access.
See issue #5505 for more details.

svn path=/trunk/; revision=48495
2010-08-09 20:41:41 +00:00
Aleksey Bragin
9d1462a2b7 Pierre Schweitzer
- A better fix for CdfsIsNameLegalDOS8Dot3.

See issue #2404 for more details.

svn path=/trunk/; revision=48494
2010-08-09 20:38:12 +00:00
Cameron Gutman
6cb85c8ae3 [DHCPCSVC]
- Set the SO_BROADCAST option to 1 before we send data to the broadcast address so we don't get stonewalled by mswsock
- DHCP is now compatible with mswsock_new

svn path=/trunk/; revision=48493
2010-08-09 20:37:32 +00:00
evb
55f39ef1a3 Support PCI device resource dicsovery for limit and current now, so bridge + device BAR functionning
PciScanBus second pass enabled: PciProcessBus, most stubs now until VGA/ISA system tested
PciClassifyDeviceType implement as helper function
PCI Enumeration 100% complete!

svn path=/trunk/; revision=48492
2010-08-09 19:07:52 +00:00
Cameron Gutman
f83e778875 [WS2_32]
- Check the return value of WSPSelect instead of the error number because the error number doesn't have to be initialized if the function doesn't return SOCKET_ERROR

svn path=/trunk/; revision=48491
2010-08-09 15:42:51 +00:00
Jérôme Gardou
d4933ee771 [WIN32K]
- I watch and I learn : / has precedence over *=.
  - Also make sure that we divide what we want to divide with the appropriate parentheses.
  - Do not take care of alpha in other depths than 32 bpp.

svn path=/branches/reactos-yarotows/; revision=48488
2010-08-08 16:20:24 +00:00
Aleksey Bragin
f1a6ba977a [FASTFAT_NEW]
- Implement close and cleanup infrastructure.
- Add necessary FCB and VCB counters.
- Add missing op and file locks initialization.
- A lot of small cleanups, improvements, and other things, bringing fastfat_new much closer to a minimally working state.

svn path=/trunk/; revision=48487
2010-08-08 10:43:28 +00:00
Aleksey Bragin
1dac3daaa1 Pierre Schweitzer
- Implemented CdfsIsNameLegalDOS8Dot3 and use it to check filenames. It avoids
calling Rtl* functions that need NLS. (Modified merge of 35501).
See issue #2404 for more details.

svn path=/trunk/; revision=48486
2010-08-08 08:24:19 +00:00
Timo Kreuzer
1784002600 [WIN32K]
Fix a bug when premultiplying the color values: The / operator has a higher precedence than *=, so "x *= byte / 0xff", is always 0 unless byte == 0xff.

svn path=/branches/reactos-yarotows/; revision=48485
2010-08-08 07:14:11 +00:00
Timo Kreuzer
7dc11f26bf [TASKMGR]
- Use messages instead of events to notify the update threads
- Fixes a handle leak
- Fix some typos
- Patch by Carlo Bramini (carlo.bramix at libero dot it)

See issue #3104 for more details.

svn path=/trunk/; revision=48484
2010-08-08 03:41:33 +00:00
Jérôme Gardou
4d4f541dae [WIN32K]
- work directly with bitmap bits when alpha blending icons. This is permitted, those are API bitmaps.
  - Do not create a stretched copy of source surface in EngAlphaBlend, handle stretching in DIB functions.
  - Do so.
  - Simplify DIB alpha blending for 24 and 32 bpp, implement generic alpha blend support for other depth.

svn path=/branches/reactos-yarotows/; revision=48483
2010-08-08 00:08:39 +00:00
Timo Kreuzer
9caaf3d69c [KERNEL32] Convert default locales to actual locale identifiers, before passing to IsValidLocale(). Fixes corrupted file size strings in explorer.
[SHLWAPI] Fix some comments (As usual: "should be sent to wine")
Patch by Rafal Harabień, <rafalh1992 AT o2 DOT pl>

See issue #5557 for more details.

svn path=/trunk/; revision=48482
2010-08-07 22:41:23 +00:00
Timo Kreuzer
dfe0f8a1a1 [DDK]
Make functions in ntstrsafe.h static, so they can be used in more than one file. Maybe that encourages people using it instead of unsafe and banned apis.

svn path=/trunk/; revision=48481
2010-08-07 21:29:00 +00:00
Timo Kreuzer
0156668176 [NTOSKRNL]
Deferred success...

svn path=/trunk/; revision=48480
2010-08-07 21:22:00 +00:00
Sir Richard
c444de303a [NTOS]: Aleksey wants an easy way to see debug messages coming from one process vs. another, which is an obvious idea that should've done a long time ago. Now you can see who is generating a given debug message (including the thread).
svn path=/trunk/; revision=48479
2010-08-07 16:16:17 +00:00
Timo Kreuzer
4adeefec39 [KERNEL32]
Go back to spec file. Don't worry it's fixed.

svn path=/trunk/; revision=48478
2010-08-07 16:07:13 +00:00
Sir Richard
0be9ddc03e [KERNEL32]: Aleksey wants debug channels, I agree this is the way forward. Leverage existing NT infrastructure to enable Windows-compatible debug channel support, instead of using a UNIX-based 3rd party library. Same debug channel names as before have been re-added, but using NT Debug Filters.
svn path=/trunk/; revision=48477
2010-08-07 16:01:30 +00:00
Aleksey Bragin
4e45370f82 [KERNEL32]
- That's what happens when most of the commit's changes are not related to most of the commit message. Fixes build.

svn path=/trunk/; revision=48476
2010-08-07 09:10:06 +00:00
Sir Richard
e4d5c13a6b [KERNEL32]: While working on the CMAKE branch, Amine and myself discovered a rather serious issue in kernel32 (and perhaps other libraries as well). Unlike rbuild, CMake does not allow you to export non-existant DLL functions (try it: add "poopyhead" in kernel32's exports under RBuild, and will it export "poopyhead", God knowing what that will actually link to).
As an additional feature on top of the "allow non-existing functions to be exported" "feature", because rbuild generates and links STDCALL function names without the proper decoration (vs. enforcing decoration at linking, but only removing it at export-time), this allows the definition (as an export) of a STDCALL function that is completely different from the actual function itself.
            For example, the 5-parameter Foo function is normally Foo@20, while the 3-parameter Foo function woudl be Foo@12. Linking one against the other would fail (say, 2 parameters were added to Foo in a newer version). However, under RBUILD, both of these would appear as "Foo", and the linker/compiler would happilly connect the caller of Foo@3 (that has pushed 3 parameters) to the receiving side of Foo@5 (that is about to pop 5 parameters).
            Even -if- decorations WERE to be applied, Foo@12 would STILL succeed, because of the first feature, which would enable the export of Foo@12 even though no such function exist.
            In a further, bizare, twist of fate, the behavior of this RBUILD "feature", when the target function is not found, is to link the exported DLL TO ITSELF.
            Therefore, one can see how, previously to this patch, kernel32.dll would import a dozen functions from itself (all the non-existing functions).
            To really seal the deal, the behavior of exported functions used by kernel32, but that are actually forwarded to another DLL deserves a special mention.
            GetLastError, for example, merely forwards to RtlGetLastWin32Error, so it is normal behavior to use a #define in the C code so that all internal calls to the function are routed correctly.
            This did not happen, so instead, kernel32 tried importing/linking/exporting GetLastError, but this symbol is not found in the binary, because it is only a forwarder.
            This caused kernel32 to import from itself (the behavior when an exported symbol is not found). When importing from itself, the loader would now find the _forwarded_ for GetLastError, and correctly link with ntdll.
            What should be a one-liner of assembly (inline TEB access) thus became a triple-call indirection (GetLastError@0->StubLastError@0->__impGetLastError@0->__impRtlGetLastWin32Error->RtlGetLastWin32Error.
            While analyzing these issues, we also realized a strange macro SetLastErrorByStatus that manually tried to perform what there already exists a function for: RtlSetLastNtStatusFromWin32Error.
	    And, in an exciting coda, we also realized that our Server 2003 Kernel32 exports more than a dozen Windows 95 APIs, through an auto-stub generation mechanism within winebuild, that gets linked as an object behind the scenes.
[KERNEL32]: Removed all Win95 exports, cleaned up exports.
[KERNEL32]: Fixed up set/get error macros by making them inline and/or calling the correct ntdll function.
[KERNEL32]: Removed bizare calls to Wine-internal/specific APIs from our core Win32 DLL.
[KERNEL32]: Wrote stubs for all functions which should be exported, and set the correct number of parameters for them.
[KERNEL32]: Kernel32 is smaller, loads faster, does not export Windows 95 functions, does not export non-existing functions, and does not import from itself anymore.
Note: This is one of the many failings of RBUILD the CMAKE system has helped us discover. I believe these issues are serious enough to warrant an immediate sync with trunk, but rest assured, there are many more completely broken, infinitely-regressing things that we discovered while switching to CMAKE.


svn path=/trunk/; revision=48475
2010-08-07 05:02:58 +00:00
Cameron Gutman
9ce4714f6b [IPHLPAPI]
- Comment out the GetAdaptersAddresses code and add the stub back
- Fixes Firefox 3.x (bug 5399)

svn path=/trunk/; revision=48474
2010-08-06 23:01:10 +00:00
Timo Kreuzer
003e0bb556 [CRT]
- Remove "implementations" of __lc_collate_cp, __lc_handle and __lc_codepage. These are not functions, but varuables, implemented as MSVCRT_*
- add ___lc_codepage_func and ___lc_handle_func taken from wine
- Fix msvcrt spec file
- Fixes compilation with gcc 4.5.1

svn path=/trunk/; revision=48473
2010-08-06 22:42:07 +00:00
Jérôme Gardou
4e6c12189d revert xlate.c from 48471, never meant to be committed.
Sorry.

svn path=/branches/reactos-yarotows/; revision=48472
2010-08-06 22:09:38 +00:00
Jérôme Gardou
e84aac6fb8 [WIN32K]
- sync with trunk (48469)

svn path=/branches/reactos-yarotows/; revision=48471
2010-08-06 21:33:37 +00:00
Jérôme Gardou
b06db1f05e [WIN32K, GENDIB]
- Did you know that we should ignore alpha channel of pattern in ROPs? You didn't, I didn't, now we do.
[WIN32K]
  - Use BGR palette as default for 24 and 32 bpp bitmaps.

svn path=/branches/reactos-yarotows/; revision=48470
2010-08-06 14:55:44 +00:00
Aleksey Bragin
d521bf4480 - (Hack)fix build.
svn path=/trunk/; revision=48469
2010-08-06 12:04:12 +00:00
Aleksey Bragin
50a341134c [CDFS]
- MAXIMUM_VOLUME_LABEL_LENGTH is in bytes, not in characters. Fix struct definition and access beyond the buffer. Spotted by Carlo Bramini.
- Trim trailing spaces from the volume label name, instead of stopping at the first encountered space. Fix by Carlo Bramini.
See issue #5505 for more details.

svn path=/trunk/; revision=48468
2010-08-05 21:57:02 +00:00
Aleksey Bragin
cf3a6fe7c5 - Sync ole32 and oleaut32 regtests to Wine-1.3.
svn path=/trunk/; revision=48467
2010-08-05 21:28:34 +00:00
Aleksey Bragin
c2ead94de7 - Sync ole32 and oleaut32 to Wine-1.3.
svn path=/trunk/; revision=48466
2010-08-05 21:19:46 +00:00
Jérôme Gardou
3f5d90a47a [WIN32K]
- Rewrite NtGdiStretchDIBitsInternal : clearer, faster, stronger (+1 wine test)

svn path=/branches/reactos-yarotows/; revision=48465
2010-08-05 21:12:57 +00:00
Jérôme Gardou
96444b43c2 Sync with trunk (48463)
svn path=/branches/reactos-yarotows/; revision=48464
2010-08-05 21:03:35 +00:00
Timo Kreuzer
b51cf52307 [SHELL32]
When creating a shortcut icon and we have 32 bpp, use GdiAlphaBlend to create the final bitmap. This is neccessary, since we want to support alpha channels and those are destroyed when using SRCPAINT or any similar ROPs on the alpha bitmap (not a bug, Windows works like that, too). We could use MaskBlt, if it would work correctly, but on reactos it destroys the alpha channel as well (bug!), it's also most likely slower then the current solution.
Fixes broken overlay icons.
See issue #5455 for more details.

svn path=/trunk/; revision=48463
2010-08-05 14:42:56 +00:00
Timo Kreuzer
1eac149580 [WIN32K]
- Copy the alpha channel as well when doing RGB<->BGR color translations.

svn path=/trunk/; revision=48462
2010-08-05 14:32:30 +00:00
Timo Kreuzer
589577fe34 [NTOSKRNL]
- Fixed FsRtlIsNameInExpression to make it properly handle * in expressions
- Fix formatting
- Patch by Pierre Schweitzer
- Fixes everything

See issue #5541 for more details.

svn path=/trunk/; revision=48461
2010-08-05 12:23:23 +00:00
Timo Kreuzer
e715956b80 [KERNEL32]
Fix a check in ContainsPath. Patch by Gabriel Ilardi. 

See issue #5478 for more details.

svn path=/trunk/; revision=48456
2010-08-04 13:33:37 +00:00
Timo Kreuzer
692801bff2 [FASTFAT]
- Fix a check in VfatCreateFile. Patch by Pierre Schweitzer.

See issue #4571 for more details.

svn path=/trunk/; revision=48453
2010-08-04 13:06:47 +00:00
Timo Kreuzer
9fd87c4954 [GDI32]
Fix parameter check in GetTextExtentExPointA/W. Patch by Kamil Hornicek. Fixes bug 5486, bug 5507 and bug 5511

svn path=/trunk/; revision=48446
2010-08-04 00:01:30 +00:00
Timo Kreuzer
e3736b149a Add some tests for GetTextExtentExPoint. Dedicated to Pigglesworth
svn path=/trunk/; revision=48445
2010-08-03 23:15:20 +00:00
Timo Kreuzer
9c9f4cb9e9 [WIN32K]
Protect access to the result pointer from KeUserModeCallback with SEH. Fixes a possible kernel mode crash.

svn path=/trunk/; revision=48437
2010-08-03 21:36:39 +00:00
Aleksey Bragin
f986e82a8d [KERNEL32]
- Sync lcformat.c to Wine-1.3. This fixes (a number of potential) problems introduced by new nls data files being synced recently and led to crashes on locales having different months genitives. Original issue confirmed by Sergey Gusev <evilslon@mail.ru> and Igor Paliychuk.

svn path=/trunk/; revision=48433
2010-08-03 20:23:43 +00:00
Timo Kreuzer
cf02088179 [CRT]
Implement a proper version of _assert. It nows shows a message box with the details and let's the user choose to either abort, debug or ignore the assertion.
See bug 5486, bug 5507, bug 5511

svn path=/trunk/; revision=48432
2010-08-03 16:09:33 +00:00
Cameron Gutman
75f1ada3df [WS2_32]: Fix buffer overrun in getservbyname. Patch by Alexander Yastrebov - menone7 at gmail dot com
svn path=/trunk/; revision=48424
2010-08-02 21:31:50 +00:00
Cameron Gutman
18bc5a24b5 Xcode....
svn path=/trunk/; revision=48423
2010-08-02 21:26:12 +00:00
Cameron Gutman
db0f412b3e [NTOS]: Fix kernel memory corruption when dequeuing a PnP event
svn path=/trunk/; revision=48422
2010-08-02 21:22:34 +00:00
Jérôme Gardou
5762f7b639 [WIN32K]
- Use lower level function to set bitmap bits in IntSetDIBits.
Fixes rapps icons.

svn path=/branches/reactos-yarotows/; revision=48420
2010-08-02 19:40:42 +00:00
Jérôme Gardou
52e83d06d9 Sync with trunk (r48414)
svn path=/branches/reactos-yarotows/; revision=48419
2010-08-02 19:09:21 +00:00
Jérôme Gardou
f65f4b82ff [WIN32K]
- Do not cast RGBQUAD to PALETTEENTRY or the other way around, you idiot.
  - Report success even when we're asked fo 0 ScanLines in NtGdiGetDIBitsInternal.

svn path=/branches/reactos-yarotows/; revision=48417
2010-08-02 17:25:09 +00:00
Jérôme Gardou
4519685bb8 [WIN32K]
- NtGdiGetBitmapBits : Bits we're given are 16 bits aligned.
  - NtGdiGetDIBitsInternal : we must not stretch, for this there is NtGdiStretchDIBitsInternal. Use lower level functions to do the work, there is no need to create HDCs etc...
Now icons are back.

svn path=/branches/reactos-yarotows/; revision=48416
2010-08-02 16:49:51 +00:00
Jérôme Gardou
501947714e [WIN32K]
- Use correct offset in UserLoadImage, create the bitmap using display DC.
  - BITMAP_GetObject : Report BI_BITFIELDS compression when we should.
  - Use a 0 compatible DC when none is given in NtGdiCreateDIBitmapInternal.
This fixes some wine tests. Enjoy.

svn path=/branches/reactos-yarotows/; revision=48415
2010-08-02 14:45:51 +00:00
Timo Kreuzer
917fbfd1ea [PSDK]
add missing LPCOLORREF to windef.h

svn path=/trunk/; revision=48414
2010-08-02 14:29:09 +00:00
Cameron Gutman
9088c79a22 There is nothing to say about this...
svn path=/trunk/; revision=48410
2010-08-02 03:52:52 +00:00
Jérôme Gardou
0bba315d06 [WIN32K]
- Apply a better fix for correctly report 16 bits alignment for DDBs, and keep them 32 bits aligned as it should be.
  - Reapply Pigglesworth patch, which was correct since mine was not.
Dedicated to tkreuzer, PigglesWorth and lassy, the three guys still on IRC to watch my commits at 3:30 AM.

svn path=/branches/reactos-yarotows/; revision=48408
2010-08-02 01:41:16 +00:00
Jérôme Gardou
53fe62ce9c [WIN32K]
- Colors passed to EngCreatePalette are PALETTEENTRYs, my bad.

svn path=/branches/reactos-yarotows/; revision=48407
2010-08-02 01:09:36 +00:00
Jérôme Gardou
a0d32e2d0b [WIN32K]
- DDB are 16 bits aligned.
  - Reset hdc field of the unselected bitmap.
  - Lock it too, so it's not messed with when we unselect it.
  - Move Pattern creation of IntGdiCreateDIBBrush to DIB_CreateDIBSection.

svn path=/branches/reactos-yarotows/; revision=48406
2010-08-02 00:53:25 +00:00
Cameron Gutman
caa555a453 [AFD]: BytesAvailable needs to be updated even when peeking so we don't run off the end of our buffer
svn path=/trunk/; revision=48405
2010-08-01 23:52:23 +00:00
Cameron Gutman
a7c693ea78 Forgetting to save really sucks. Sorry again for the wasted commit.
svn path=/trunk/; revision=48404
2010-08-01 23:46:57 +00:00
Cameron Gutman
e98fc993d1 [AFD]: Fix read data corruption when peeking at network data (TDI_RECEIVE_PEEK is specified for a stream socket)
svn path=/trunk/; revision=48403
2010-08-01 23:42:33 +00:00
Cameron Gutman
be40e4a043 Fix a typo
svn path=/trunk/; revision=48402
2010-08-01 23:20:31 +00:00
Cameron Gutman
4e63fd0e5a Fix a copy-paste mistake and remove an unused variable
svn path=/trunk/; revision=48401
2010-08-01 21:08:53 +00:00
Cameron Gutman
14fc97df0c [AFD]: Revert r42674 and part of r47156
svn path=/trunk/; revision=48400
2010-08-01 21:00:40 +00:00
Cameron Gutman
57eed17e05 [DHCPCSVC]: Revert part of r48215
svn path=/trunk/; revision=48399
2010-08-01 20:34:10 +00:00
Giannis Adamopoulos
716e283fb3 [rtl]
- Use __inline instead of __inline__ to fix compilation with msvc

svn path=/trunk/; revision=48398
2010-08-01 16:34:22 +00:00
Giannis Adamopoulos
84d8b7850d [hal]
- define REGISTERCALL in order to replace __attribute__((regparm(3))) and fix compilation with msvc. It was used only as an optimization so it is safe to be defined as FASTCALL for msvc. For gcc it is still defined as __attribute__((regparm(3)))

svn path=/trunk/; revision=48397
2010-08-01 16:27:48 +00:00
Kamil Hornicek
7d7d9eba48 [WIN32K]
Comply with the 32 bit alignment rule. Fixes hatch brushes.

svn path=/branches/reactos-yarotows/; revision=48396
2010-08-01 13:29:22 +00:00
Jérôme Gardou
c2a010f5f1 [WIN32K]
- Revert unwanted change and get back to PAL_BGR for default DIB palette mode.
Now yarotows looks like an OS again.

svn path=/branches/reactos-yarotows/; revision=48390
2010-08-01 12:24:04 +00:00
Jérôme Gardou
787cb5551f [WIN32K]
- Finally get rid of ProbeAndConvertToBitmapV5Info
  - Rewrite renderBITMAPfromDIB, and a good bunch of DIB related functions accordingly.
  - Rewrite BITMAP_CopyBitmap into something simpler.
  - Use already existing DIB functions in IntGdiCreateDIBBrush
  - Use DIB sections in NtGdiStretchDIBitsInternal and NtGdiSetDIBits.
  - Use Bitmap hdc for NtGdiGetDIBitsInternal if there is one.

svn path=/branches/reactos-yarotows/; revision=48389
2010-08-01 12:17:35 +00:00
Aleksey Bragin
071e036cb8 [INCLUDE/WINE]
- Update Wine-specific headers to Wine-1.3.
- Remove unneeded 16 bit header, and add a bit of stuff into another legacy header.
- Indicate in config.h that there is a freetype library present.

svn path=/trunk/; revision=48388
2010-07-31 22:39:22 +00:00
Aleksey Bragin
9746a25057 [PSDK]
- Make some winuser.h functions conforming to MS PSDK.

svn path=/trunk/; revision=48387
2010-07-31 22:36:22 +00:00
Aleksey Bragin
9d5dfb1c1c - Fix build, sorry.
svn path=/trunk/; revision=48386
2010-07-31 22:20:34 +00:00
Eric Kohl
aacfe3956c [LSASRV]
Add more well known sids to the lookup list.

svn path=/trunk/; revision=48385
2010-07-31 22:02:13 +00:00
Aleksey Bragin
cb3bc802c8 [PSDK]
- Get back to old/compatible way of declaring dummy unions and structs for IMAGE_RESOURCE_DIRECTORY_ENTRY. Also, second nameless structure is called DUMMYSTRUCTNAME3 to be compatible with Wine's code which, for some reason, expects WORD Id wrapped into yet another struct, depending on endiannes.

svn path=/trunk/; revision=48384
2010-07-31 21:40:40 +00:00
Gabriel Ilardi
04dc5e3fce [freeldr]
- Patch by Carlo Bramini reviewed by lassy:
The CF must be tested when reading time because the legacy DS12x87
chip shows a condition where it's updating its time registers and if it's the
case then the call should be retried later. Now the time is valid when both CF flags for date and time are good at the same time.
It's better to send the correct value of CF with the proper field to the REGS structure instead of hoping that the flag won't be changed by compiled code.
In the Int386() function I did the fix for acquiring the status flags to send to the software interrupt.
I also think it is also a good idea to always clear the direction flag before
doing movsb/movsw/movsd in this function. Since we are working with DOS stuff,
the state of the direction register could be unknown, who knows what happens
after those INT opcodes. Afterall I don't think that adding these two "cld"
would be a big problem.
See issue #2786 for more details.

svn path=/trunk/; revision=48383
2010-07-31 21:00:40 +00:00
Giannis Adamopoulos
a5101cce25 [explorer]
- Using msvc doesn't mean using ms sdks

svn path=/trunk/; revision=48381
2010-07-31 12:16:03 +00:00
Aleksey Bragin
74ff3ad0d7 [PSDK]
- Fix GetTextCharsetInfo prototype according to MS Platform SDK.

svn path=/trunk/; revision=48379
2010-07-31 12:02:46 +00:00
Eric Kohl
ad21f9ddae [LSASRV]
- Move all includes into a common header file.
- Create a (still incomplete) well-known-sid lookup table and use it in LsarLookupSids.
- Add missing file headers.

svn path=/trunk/; revision=48378
2010-07-31 11:24:16 +00:00
Eric Kohl
d3111f1e5b [LSASRV]
Replace hard-coded privilege names by privilege names from the PSDK.

svn path=/trunk/; revision=48377
2010-07-31 09:06:42 +00:00
Giannis Adamopoulos
7d1896ae99 [browseui]
- keep the hacky declaration of SHANDLE_PTR and make it work with msvc as well
- Make BEGIN_MSG_MAP compatible with msvc

svn path=/trunk/; revision=48376
2010-07-31 07:53:06 +00:00
Eric Kohl
f271e405f4 [PSDK]
Add missing privilege names.

svn path=/trunk/; revision=48375
2010-07-31 07:09:40 +00:00
Giannis Adamopoulos
8fd2068781 [shell32]
- Fix a compilation error with msvc

svn path=/trunk/; revision=48371
2010-07-30 18:37:51 +00:00
Giannis Adamopoulos
d2a89a0c29 [ndis.h]
- Fix compilation with msvc

svn path=/trunk/; revision=48370
2010-07-30 17:05:17 +00:00
Jérôme Gardou
147e52c02c [WIN32K]
- Cast Colors to RGBQUAD in EngCreateBitmap, since that's what they are.
  - Copy selected palette of the DC when creating a DIBSection with DIB_PAL_COLORS.
  - Do not try to get Colors in NtGdiGetDIBitsInternal when bpp == 0, this doesn't make any sense.
  - Get rid of SURFACE::dsBitfields and SURFACE::biClrUsed.
  - Use RGB as default palette mod when creating the DIB Palette.

svn path=/branches/reactos-yarotows/; revision=48369
2010-07-30 02:15:46 +00:00
Gabriel Ilardi
395c797826 [TASKMGR]
- Make the caption the same as the app title so that bring to focus can work as expected in Slovak and other languages as well. Add a note for translators. 
See issue #5533 for more details.

svn path=/trunk/; revision=48367
2010-07-29 20:17:09 +00:00
Jérôme Gardou
b011aff53b [WIN32K]
- rewrite UserLoadImage so that it uses information from the BITMAPFILEHEADER and probes the right buffer.

svn path=/branches/reactos-yarotows/; revision=48364
2010-07-29 18:01:14 +00:00
Amine Khaldi
8e9eff5518 [DXSDK]
- Define STATIC_KSMETHODSETID_BdaChangeSync without braces.
[PSDK]
- _ANONYMOUS_UNION/_ANONYMOUS_STRUCT -> __MINGW_EXTENSION
- usbuser.h : Add missing #endif

svn path=/trunk/; revision=48361
2010-07-29 16:42:00 +00:00
Jérôme Gardou
fa93ac8293 [WIN32K]
- Get rid of GetBMIFromBitmapV5Info

svn path=/branches/reactos-yarotows/; revision=48360
2010-07-29 16:21:02 +00:00
Jérôme Gardou
5cfcef35dc [WIN32K]
- Rewrite NtGdiGetDIBitsInternal, with WINE as a reference.
  - Get back DIB Section creation to classic BITMAPINFO.
This si the beginnig of the end for all this BITMAPV5INFO stuff.
It is horrible, BITMAPCOREINFO->BITMAPINFO is already made in user mode, and V4 and V5 features are not used so often.

svn path=/branches/reactos-yarotows/; revision=48359
2010-07-29 16:12:43 +00:00
Giannis Adamopoulos
dd08ddbbe9 Revert 48355
svn path=/trunk/; revision=48358
2010-07-29 16:05:54 +00:00
Giannis Adamopoulos
101767d1e6 [basetsd.h]
-define SHANDLE_PTR

[browseui]
-do not define SHANDLE_PTR locally. Using ms psdk isn't the same with compiling with msvc

svn path=/trunk/; revision=48355
2010-07-29 14:40:21 +00:00
Giannis Adamopoulos
b3bd25a0cd - Fix setjmp for msvc
svn path=/trunk/; revision=48352
2010-07-29 12:23:03 +00:00
Giannis Adamopoulos
77d4142d6d [win32csr]
- Fix compilation with msvc

svn path=/trunk/; revision=48349
2010-07-29 10:20:41 +00:00
Daniel Reimer
1a92fc2831 Bug 5531: [PATCH] regedit: cut, copy, paste, etc. on hexedit by Katayama Hirofumi
svn path=/trunk/; revision=48334
2010-07-28 19:13:24 +00:00
Amine Khaldi
35efa046d1 [DXSDK]
- atsmedia.h : Add proper header inclusion and apply a consistent formatting.
- bdamedia.h : Rename BDAMEDIA_H__ to _BDAMEDIA_, add some missing inclusions, add __MINGW_EXTENSION and apply a consistent formatting.
- bdatypes.h : Apply a consistent formatting.

svn path=/trunk/; revision=48330
2010-07-28 13:59:28 +00:00
Amine Khaldi
80a061f01c [DXSDK]
- Add some headers to some headers.

svn path=/trunk/; revision=48328
2010-07-28 12:52:04 +00:00
Amine Khaldi
978a651ccf - Delete ppcdevtree.
svn path=/trunk/; revision=48327
2010-07-28 10:45:51 +00:00
Timo Kreuzer
c2fe1ade3c [WIN32CSR]
- Fix array subscript out of bounds error
- Fix a cast

svn path=/trunk/; revision=48322
2010-07-28 01:17:23 +00:00
Timo Kreuzer
055b4d4b12 [NDK]
Merge r41483 from amd64 branch:
- Fix definition of HARDERROR_MSG

svn path=/trunk/; revision=48321
2010-07-28 00:26:43 +00:00
Timo Kreuzer
129a5cbbea [DBGHELP]
Define UNW_FLAG_* in the rbuild file, since we don't have them in winnt.h where wine has them.

svn path=/trunk/; revision=48315
2010-07-27 17:02:06 +00:00
Timo Kreuzer
711796acd9 [GDI32API]
- fix some 64 bit warnings

svn path=/trunk/; revision=48314
2010-07-27 16:24:31 +00:00
Timo Kreuzer
0739761488 [FREELDR]
Don't redefine _NTSYSTEM_

svn path=/trunk/; revision=48313
2010-07-27 16:21:20 +00:00
Timo Kreuzer
59b1059723 [BATTC]
Fix a warning

svn path=/trunk/; revision=48312
2010-07-27 16:09:15 +00:00
Timo Kreuzer
eba4c7f302 [winnt.h]
Remove definition of UNW_FLAG* constants. They don't belong here.

svn path=/trunk/; revision=48308
2010-07-27 15:58:53 +00:00
Timo Kreuzer
32c8cb0448 [UNICODE]
include string.h, for memcpy

svn path=/trunk/; revision=48307
2010-07-27 15:47:04 +00:00
Timo Kreuzer
64cf51962c [dbghelp.h] / [imagehlp.h]
- fix LOADED_IMAGE, UpdateDebugInfoFile, UpdateDebugInfoFileEx, ReBaseImage

svn path=/trunk/; revision=48306
2010-07-27 14:08:36 +00:00
Amine Khaldi
ff9c2c0033 [PSDK]
- Mark TraceMessageVa as WMIAPI.

svn path=/trunk/; revision=48300
2010-07-27 09:56:21 +00:00
Amine Khaldi
012c09c954 [XDK]
- WmiTraceMessageVa is NTAPI, not __cdecl.
[DDK]
- Update wdm.h to reflect XDK changes.

svn path=/trunk/; revision=48299
2010-07-27 09:14:13 +00:00
evb
bf7de6528b Add all pci bridge control function (PciBridgeIoBase, PciBridgeIoLimit, PciBridgeMemoryBase, PciBridgeMemoryLimit, PciBridgePrefetchMemoryBase, PciBridgePrefetchMemoryLimit, PciBridgeMemoryWorstCasealignment, PciBridgeIsPositiveDecode, PciBridgeIsSubtractiveDecode)
More support ICH0/1/2/3/4 hub
Add all PCI2PCI bridge limit/current resource codes (PPBridge_*), now is BAR setup okay, and Device_* must be implement
Support ISA+VGA legacy decode, 20+64-bit decode, ROM BAR, prefetch BAR

svn path=/trunk/; revision=48298
2010-07-27 03:24:24 +00:00
Daniel Reimer
8458508701 Maybe fix dbghelp build on 64 bit.
svn path=/trunk/; revision=48292
2010-07-26 23:48:15 +00:00
Timo Kreuzer
ac342cea5f [NTOSKRNL]
◙ Fix MiInitializePageTable
◙ Comment out some more code for amd64

svn path=/trunk/; revision=48291
2010-07-26 23:09:17 +00:00
Daniel Reimer
7d17455cc4 Sync dbghelp and imagehlp to Wine 1.2
Winhttp and Wininet don't like me and so I skip them for now.

svn path=/trunk/; revision=48290
2010-07-26 22:33:59 +00:00
Giannis Adamopoulos
e3b6d0cea7 Revert a part of my previous commit
svn path=/trunk/; revision=48289
2010-07-26 21:48:52 +00:00
Sir Richard
a9fb81cbae [NTOS]: Another long-lost-promised straggler for Timo. There may be more of these needed, this is what I had done on my disk.
svn path=/trunk/; revision=48288
2010-07-26 21:45:42 +00:00
Giannis Adamopoulos
91f37cae9a [ntos]
- Fix several issues with msvc in ntoskrnl
- Add ATTRIB_NORETURN definition which will be used by function pointers because msvc doesn't like DECLSPEC_NORETURN in function pointers

svn path=/trunk/; revision=48287
2010-07-26 21:32:38 +00:00
Daniel Reimer
f126b1d282 Sync winemp3.acm with Wine HEAD. This one uses libmpg123 which was added in Version 1.12.3. Thx to Timo Kreuzer for telling me the magics of the crt="dll" switch.
svn path=/trunk/; revision=48279
2010-07-26 15:04:32 +00:00
Timo Kreuzer
deaaddddb6 [reactos.dff]
make explorer.exe and ntvdm optional

svn path=/trunk/; revision=48278
2010-07-26 14:01:57 +00:00
Amine Khaldi
6e64b7602b [PSDK]
- Rename _WINIOCTL_H to _WINIOCTL_

svn path=/trunk/; revision=48277
2010-07-26 13:49:12 +00:00
Timo Kreuzer
79de2377a7 Add hivecls_amd64.inf
svn path=/trunk/; revision=48276
2010-07-26 13:43:40 +00:00
Sylvain Petreolle
602ffa4c9a Add diffs for msimtf and atl.
svn path=/trunk/; revision=48275
2010-07-26 09:13:50 +00:00
Pierre Schweitzer
41c67f722a Get back r47063 & r47960 reverted by r48273
svn path=/trunk/; revision=48274
2010-07-26 08:54:26 +00:00
Daniel Reimer
6170959bce Finish the Wine sync. These components are not just rc file changes
atl, comctl32, comdlg32, dwmapi, fusion, gdiplus, jscript, mpr, mshtml, msi, msimtf, msxml3, ole32, oleaut32, riched20, shdocvw, shlwapi, urlmon, usp10, version and windowscodecs
Seems to build and boot. /me hides

svn path=/trunk/; revision=48273
2010-07-26 02:26:04 +00:00
Timo Kreuzer
032f133284 Add amd64 inf files
svn path=/trunk/; revision=48272
2010-07-26 01:42:31 +00:00
Timo Kreuzer
0e58e11548 [CRT]
Add logf wrapper

svn path=/trunk/; revision=48271
2010-07-26 01:10:20 +00:00
Daniel Reimer
8a3289ed5c Wine dll sync commit 1 of 2.
This one syncs all dlls which only have resource file changes.
avifil32, credui, crypt32, cryptdlg, cryptui, iccvid, kernel32, localspl, localui, mapi32, msacm32, msrle32, msvfw32, msvidc32, oleacc, oledlg, pstorec, shdoclc, wldap32

svn path=/trunk/; revision=48269
2010-07-26 00:12:22 +00:00
Timo Kreuzer
1c9a033a6c [MSVCRT]
Add exports for ceilf, cosf, logf

svn path=/trunk/; revision=48265
2010-07-25 21:58:08 +00:00
Sylvain Petreolle
949283de1e [TOUCH]
Remove ntdll library and link to getopt.

svn path=/trunk/; revision=48263
2010-07-25 20:57:38 +00:00
Jérôme Gardou
21a56a9d82 sync with trunk (r48253)
svn path=/branches/reactos-yarotows/; revision=48255
2010-07-25 16:44:57 +00:00
Amine Khaldi
d713d0e533 Ukrainian translation patch for taskmgr, explorer and shell32. By Igor Paliychuk.
svn path=/trunk/; revision=48254
2010-07-25 16:15:27 +00:00
Amine Khaldi
79fc59a054 Fix build.
svn path=/trunk/; revision=48253
2010-07-25 14:20:03 +00:00
Timo Kreuzer
461b4ab969 [NEWINFLIB]
PINT -> INT*

svn path=/trunk/; revision=48252
2010-07-25 14:09:08 +00:00
Timo Kreuzer
371d1d1546 [USETUP] / [INFLIB]
Merge r36443 from amd64 branch:
Remove references to Infp Functions that collide with inflib names, call the actual functions instead of making small functions that shared the same parameters and just called into inflib anyway, with no changes whatsoever.
Make InfpGetIntField's 3rd parameter an INT* (Samuel Serapion)

svn path=/trunk/; revision=48251
2010-07-25 13:46:54 +00:00
Timo Kreuzer
b2b385e9a8 [OSKITTCP]
Don't add leading underscores to symbols on amd64 builds

svn path=/trunk/; revision=48250
2010-07-25 12:34:56 +00:00
Timo Kreuzer
592b4de3ba [NTOSKRNL]
- Fix MiAddressToPti and implement MiAddressToPxi for amd64
- Replace #error with DPRINT and ASSERT(FALSE) in MiInitializeLargePageSupport
- Implement amd64 specific MmCreateProcessAddressSpace
- Add MmProtectToPteMask for amd64 (copied from x86)
- Remove amd64 version of MmInitializeHandBuiltProcess

svn path=/trunk/; revision=48249
2010-07-25 12:00:26 +00:00
Jérôme Gardou
fbcac4b275 [WIN32K]
- More BITMAPINFO->BITMAPV5INFO
  - Do not use PAL_BITFIELDS when creating the DIB palette and we know that it's RGB
  - PSEH-ize NtGdiCreateDIBSection

svn path=/branches/reactos-yarotows/; revision=48248
2010-07-25 11:35:45 +00:00
Jérôme Gardou
7bb96de441 One leftover from sync
svn path=/branches/reactos-yarotows/; revision=48247
2010-07-25 11:19:21 +00:00
Jérôme Gardou
82822656c3 Sync with trunk (48237)
svn path=/branches/reactos-yarotows/; revision=48246
2010-07-25 11:17:52 +00:00
Timo Kreuzer
2d50d1e044 [MINGW]
Add a temporary hack to fix amd64 compilation for some modules.

svn path=/trunk/; revision=48241
2010-07-25 03:08:53 +00:00
Cameron Gutman
d1cca9ae42 [IPCONFIG]
- Fix the media detection code in ipconfig

svn path=/trunk/; revision=48240
2010-07-25 03:02:01 +00:00
Amine Khaldi
fbdc7009aa [PSDK]
- Make FORCEINLINE extern (not static)
- Declare WspiapiLegacyFreeAddrInfo, WspiapiLegacyGetAddrInfo and WspiapiLegacyGetNameInfo as static __inline.
[CRT]
- Convert FillBuf to static __inline.
[NTOS]
- Convert MmProtectToPteMask to extern.
- Convert LpcpAllocateFromPortZone to static __inline.

svn path=/trunk/; revision=48239
2010-07-25 01:22:15 +00:00
Timo Kreuzer
0bbdcf4d8b [NTOSKRNL]
Make MmIsAddressValid portable by using _MI_PAGING_LEVELS macro.

svn path=/trunk/; revision=48238
2010-07-25 00:50:03 +00:00
Sir Richard
a28e798006 [NTOS]: Implement MmDeleteTeb, VADs are now deleted/freed on thread exit as well (but the underlying page is still leaked). Should fix the advapi32 security crash.
[NTOS]: Sometimes it seems we hit some bad VADs due to bugs? in the AVL tree implementation. I'm going on vacation for a month and can't look at this, so I've hacked the code to ignore such VADs for now, in the interest of fixing the winetest regression.

svn path=/trunk/; revision=48235
2010-07-24 16:28:51 +00:00
Sir Richard
2384532846 [NTOS]: Implement MmCleanProcessAddressSpace in ARM3, now the PEB/TEB VADs are removed when the process exits (although the pages are still leaking, for now), and the pool allocation for the VAD is also freed.
[NTOS]: Use ARM3 paged pool up until smss.exe starts. There's a last bug in the expansion code before we can get rid of the old paged pool.

svn path=/trunk/; revision=48234
2010-07-24 16:12:39 +00:00
Sir Richard
3ec9a11a16 [NTOS]: Reimplement MmCreateProcessAddressSpace in ARM3. Basically the same as before but using the ARM3 PFN list APIs, the ARM3 macros, etc. Once change is processes are now populating the MmProcessList, and the "MmGlobalKernelPageTable" isn't used anymore for new processes. Also the mappings come from SysPTE space, not hyperspace.
[NTOS]: More work will be needed in this area, but this gets rid of another ReactOS dinosaur.

svn path=/trunk/; revision=48233
2010-07-24 15:30:24 +00:00
Cameron Gutman
ecd26cf41a [DHCPCSVC]
- Initialize length to prevent a possible buffer overflow
- Thanks to janderwald for finding my mistake

svn path=/trunk/; revision=48232
2010-07-24 15:04:24 +00:00
Sir Richard
7ea7b76e51 [NTOS]: Take over MmInitializeProcessAddressSpace, MmInitializeHandBuiltProcess, MmInitializeHandBuiltProcess2 into ARM3, and cleanup the code.
[NTOS]: Prepare to take over MmCreateProcessAddressSpace.

svn path=/trunk/; revision=48231
2010-07-24 15:01:05 +00:00
Amine Khaldi
3bb2ea0d09 [KMIXER]
- Remove memset and memcpy implementations from pin.c

svn path=/trunk/; revision=48230
2010-07-24 14:49:46 +00:00
Amine Khaldi
e297cfa306 [NDIS]
- Move NDIS_HARDWARE_STATUS, GEN_GET_TIME_CAPS, GEN_GET_NETCARD_TIME, NDIS_MEDIA_STATE, NDIS_GUID, NDIS_PM_PACKET_PATTERN, NETWORK_ADDRESS, NETWORK_ADDRESS_LIST, TRANSPORT_HEADER_OFFSET and NDIS_CO_LINK_SPEED from ndis.h to ntddndis.h (where they should belong).
- typedef NDIS_STATUS for ntddndis.h
- Group some related definitions in ndis.h
- Some _ANONYMOUS_* -> __MINGW_EXTENSION conversions.
- Guard some definitions against NDIS_LEGACY_DRIVER.
- Add some missing definitions.
- NDIS_MINIPORT_BLOCK : PVOID  Signature; -> NDIS_OBJECT_HEADER Header;
- Add missing xfilter.h inclusion.
- Add some missing function declarations.
- Convert some function declarations into macros.
- Guard some definitions against NDIS_LEGACY_MINIPORT.

svn path=/trunk/; revision=48229
2010-07-24 13:47:41 +00:00
Amine Khaldi
39cec38832 [XDK]
- Missed this one (FORCEINLINE)
[DDK]
- Update DDK to reflect the XDK changes.

svn path=/trunk/; revision=48228
2010-07-24 10:51:22 +00:00
Amine Khaldi
e1e0ed63e2 [[MINGW-W64]
- Tighten up reactos.diff now that we have all those diffs (except one) committed upstream.

svn path=/trunk/; revision=48227
2010-07-24 10:10:15 +00:00
Amine Khaldi
0e192aab81 [MINGW-W64]
- Sync gs_support.c now that our patches are committed upstream.

svn path=/trunk/; revision=48226
2010-07-24 09:59:34 +00:00
Amine Khaldi
e7cebee706 [CRT]
- Add __MINGW_ATTRIB_UNUSED macro.

svn path=/trunk/; revision=48225
2010-07-24 09:52:46 +00:00
Amine Khaldi
74f12eeaf7 [XDK]
- Make sure FORCEINLINE comes as first in declarations.
[DDK]
- Update DDK to reflect the XDK changes.

svn path=/trunk/; revision=48224
2010-07-24 09:20:56 +00:00
Sir Richard
be9e04b5cb [NTOS]: Implement an AVL node deletion algorithm (RtlpDeleteAvlTreeNode). Use it in MiRemoveNode, now implemeneted, and RtlDeleteElementGenericTableAvl, also now implemented. It hopefully works.
svn path=/trunk/; revision=48223
2010-07-24 04:00:22 +00:00
Timo Kreuzer
bfc2638590 [NTOSKRNL]
Bring over all current amd64 specific code from the amd64 branch

svn path=/trunk/; revision=48222
2010-07-24 01:12:13 +00:00
Cameron Gutman
869cdbce37 - Fix epic naming fail (DhcpEnabled -> EnableDHCP
[DHCPCSVC]: Verify that the length is correct
[TCPIP]: Make sure DHCP is enabled before reading IP information

svn path=/trunk/; revision=48221
2010-07-24 00:25:59 +00:00
Timo Kreuzer
66b4c2ff3e [NTOSKRNL]
Add missing declarations

svn path=/trunk/; revision=48220
2010-07-23 23:50:26 +00:00
Timo Kreuzer
19540dcad5 [NTOSKRNL]
- Add KiGetLinkedTrapFrame for amd64
- Add MiAddressToPti
- Fix MmCreateProcessAddressSpace, MmInitializeHandBuiltProcess prototype (ULONG -> ULONG_PTR)
- #if out some C_ASSERTs for other architectures than x86
- #define InitializeSListHead to RtlInitializeSListHead on amd64
- Don't implement MiSyncARM3WithROS on amd64
- Implement RtlPcToFileHeader, RtlpGetStackLimits

svn path=/trunk/; revision=48219
2010-07-23 23:30:00 +00:00
Timo Kreuzer
c168961990 [NDK]
Update amd64/asm.h to MSVC compatible format

svn path=/trunk/; revision=48218
2010-07-23 23:23:51 +00:00
Timo Kreuzer
56f8b1717a [NTOSKRNL]
Don't use freeldrhack on amd64

svn path=/trunk/; revision=48217
2010-07-23 22:40:13 +00:00
Cameron Gutman
59081046c2 - Remove some debug info that I forgot about
svn path=/trunk/; revision=48216
2010-07-23 22:33:09 +00:00
Cameron Gutman
63dfd0ccaa [NETCFGX]
- Create the DhcpEnabled value in the registry
[TCPIP]
- Apply the static IP address configuration data
[DHCPCSVC]
- Remove the static IP address code

svn path=/trunk/; revision=48215
2010-07-23 22:30:27 +00:00
Cameron Gutman
00e8981795 [DHCPCSVC]
- Generate a link-local IP address if DHCP fails
- Don't destroy the IP addresses in the registry

svn path=/trunk/; revision=48213
2010-07-23 21:57:08 +00:00
Cameron Gutman
3d5cb94c4a [NDIS]
- Verify that each adapter has been initialized before passing it to the protocol's BindAdapter function
- Also verify that each adapter has not already been bound to the protocol
- Miniport drivers can now function without a reboot (needed to use 3rd-party NIC drivers on the live CD)

svn path=/trunk/; revision=48212
2010-07-23 16:34:35 +00:00
Amine Khaldi
e814e6afe8 [NDIS]
- Guard several definitions against NDIS_SUPPORT_60_COMPATIBLE_API.
- __GNU_EXTENSION -> __MINGW_EXTENSION conversions.
- Group some related definitions.
- Update NDIS_RW_LOCK.
- Improve NDIS_TIMER_FUNCTION.
- Add several missing Ndis* function declarations.
- Guard several definitions against NDIS_LEGACY_DRIVER and NDIS_LEGACY_MINIPORT.
- Convert some function declarations into macros.

svn path=/trunk/; revision=48211
2010-07-23 15:51:54 +00:00
Daniel Reimer
87b3292e96 Sync reg, xcopy, winhlp32, wordpad with Wine 1.2
svn path=/trunk/; revision=48210
2010-07-23 08:36:51 +00:00
Daniel Reimer
1048fa4974 Sync Winefile with Wine 1.2
svn path=/trunk/; revision=48209
2010-07-23 08:34:57 +00:00
Timo Kreuzer
88499392ee [PSEH]
Stub amd64 functions and remove leading underscores from symbols

svn path=/trunk/; revision=48207
2010-07-23 02:18:30 +00:00
Timo Kreuzer
66365c895c [PSEH]
Add (non working) 64bit code

svn path=/trunk/; revision=48206
2010-07-23 01:36:44 +00:00
Amine Khaldi
2aa6e09c17 [NDIS]
- Convert NDIS_ERROR_CODE from a typedef to a define.
- Add some missing NDIS_STATUS_* definitions.
- Some _ANONYMOUS_UNION/_ANONYMOUS_STRUCT/__GNU_EXTENSION -> __MINGW_EXTENSION conversions.
- Update NDIS_REQUEST_TYPE and NDIS_PER_PACKET_INFO.
- Guard several definitions against NDIS_LEGACY_DRIVER.
- Improve NDIS_REQUEST.
- Add missing CO_ADDRESS_FAMILY_INFINIBAND, Ndis{Set,Get}PacketCancelId, NDIS_PACKET_{FIRST,LAST}_NDIS_BUFFER and NDIS_PACKET_VALID_COUNTS.
- Group related definitions.
- Update several Ndis* function declarations.
- Add missing NdisInterlocked{Push,Pop}EntryList and NdisGetCurrentSystemTime macros.

svn path=/trunk/; revision=48205
2010-07-23 00:20:13 +00:00
Timo Kreuzer
7feaf99fb1 [NTOSKRNL]
- Add some missing constants for amd64
- Fix compilation of kd64
- Make MmAllocationFragment a SIZE_T

svn path=/trunk/; revision=48204
2010-07-22 23:22:57 +00:00
Daniel Reimer
60082fb243 Update FireFox, KDE, MirandaIM, Mono, Opera, RosBE64, SeaMonkey, ThunderBird, uTorrent, VLC in rapps.
svn path=/trunk/; revision=48203
2010-07-22 22:01:58 +00:00
Sir Richard
89acc3113a [NTOS]: Stop creating a memory area for the shared user data page.
[NTOS]: Also stop creating a memory area for the illegal user-mode parts of address space.
[NTOS]: Instead, mark the area between MM_HIGHEST_VAD_ADDRESS and MM_HIGHEST_USER_ADDRESS as being ARM3 as well: this way, ARM3 will get the illegal access (and fault), and it will also get the shared user data page access.
[NTOS]: With the previous commit, ARM3 knows how to handle the shared user data page access, and does so succesfully. End result: two more MAREA types have been removed, and the address space setup code is now much simpler.

svn path=/trunk/; revision=48202
2010-07-22 20:54:37 +00:00
Sir Richard
da305551a9 Note: this patch only implements the code paths, they are not excercised yet.
[NTOS]: Implement handling a very special case of "prototype PTE", the one used to map the shared user data for user-mode applications.
[NTOS]: MiCheckVirtualAddress detects this (Windows behavior) and returns a prototype PTE that's marked MM_READONLY. This is our MmSharedUserDataPte from before. This gets sent to MiDispatchFault which calls MiResolveProtoPteFault to handle it. In turn, this calls MiCompleteProtoPteFault. All these code paths have heavy ASSERTions to only allow them to be hit for the shared user data page, however, in the far distant future when prototype PTEs are used for section objects, we'll at least have the right checks and code flow (many of these ASSERTions will then have to be removed).
[NTOS]: The end result is that we also now have STATUS_PAGE_FAULT_TRANSITION, not just STATUS_PAGE_FAULT_DEMAND_ZERO, and that prototype PTEs are somewhat understood and some assumptions have been removed.

svn path=/trunk/; revision=48201
2010-07-22 20:52:23 +00:00
Sir Richard
dd68882cd0 [NTOS]: Stop handling PEB/TEB MAREAs since they're not used anymore.
svn path=/trunk/; revision=48200
2010-07-22 20:48:04 +00:00
Sir Richard
9e489a9b8e [NTOS]: Define the template prototype PTE.
svn path=/trunk/; revision=48199
2010-07-22 20:47:28 +00:00
Sir Richard
155c1e701b [NTOS]: Stop handling a bunch of MEMORY_AREA_TYPEs that aren't used anymore.
svn path=/trunk/; revision=48198
2010-07-22 20:46:49 +00:00
Sir Richard
f907eeb4f9 [NTOS]: Antique leftover, initialize the shared user data page with MI_MAKE_HARDWARE_PTE_KERNEL
svn path=/trunk/; revision=48197
2010-07-22 20:46:19 +00:00
Cameron Gutman
cee7a2a71e [DHCPCSVC]
- Add a hack so we wait for TCP/IP to get ready and bind to adapters instead of failing immediately after the first probe
- Live CD and 2nd stage setup now have fully functional networking :)

svn path=/trunk/; revision=48195
2010-07-22 19:37:33 +00:00
Sir Richard
128fd3ca92 [NTOS]: Allocate the PEB at a pseudo-random address just like Windows XP SP2 and later, to prevent certain kinds of exploits.
[NTOS]: Allocate PEB and TEB using VADs! The user-mode fault handler seems to work fine, and I could find no regressions. This is the beginning of the end for MAREAs for VM allocations (they will remain for sections).

svn path=/trunk/; revision=48194
2010-07-22 19:08:45 +00:00
Cameron Gutman
92d6d7210c [NDIS]
- Refresh the protocol bindings after a new miniport is added
- Adapters added after boot work now
- One step closer to Live CD networking

svn path=/trunk/; revision=48193
2010-07-22 19:01:49 +00:00
Sir Richard
135986ec2e [NTOS]: To Timo, with Love (make System PTEs work on x64).
svn path=/trunk/; revision=48192
2010-07-22 18:55:36 +00:00
Sir Richard
7fa909a601 [NTOS]: Add support for handling a very specific type of user-fault on ARM3 memory: memory belonging to a VAD allocation made for a PEB/TEB (read-write) that hasn't yet been allocated.
[NTOS]: Define the demand-zero PDE template.

svn path=/trunk/; revision=48190
2010-07-22 18:37:27 +00:00
Cameron Gutman
9a28440154 [NETCFGX]
- Start the TCP/IP driver after we install a network adapter
- This fixes the major bug that blocks Live CD networking but we still have some DHCP issues (DHCP starts and fails before the NIC and TCP/IP has been installed) and some other adapter detection issues that I need to look into but this is a good first step

svn path=/trunk/; revision=48188
2010-07-22 18:29:35 +00:00
Sir Richard
23c3e742d9 [NTOS]: Fix a very stupid bug which made any machine with less than 52GB of RAM appear as a "Small memory machine" (instead of 13MB).
[NTOS]: Initialize MmTotalCommitLimit, MmTotalCommitLimitMaximum for consistency.
[NTOS]: Initialize and honor MmAllocationFragment value from registry, or from defaults.
[NTOS]: Initialize the system cache working set pushlock.
[NTOS]: Implement Mi(Un)Lock(Process)WorkingSet inlines to handle the various scenarios. Replace broken/hacky code that was in the system loader, fault handler, and VM deletion paths with the correct macros. No locking is done yet as ReactOS' MAREA implementation overloads the Vm field in EPROCESS, but the correct APC blockings and state transitions are done.
[NTOS]: Add another helper from symbols, MI_IS_PAGE_TABLE_OR_HYPER_ADDRESS, and use it instead of the math-by-hand.
[NTOS]: Add MM_IS_ANY_LOCK_HELD and MI_WS_OWNER to help out the new working let locking inlines (names taken from symbols).
[NTOS]: Add _1GB helper for large-memory checks. Also define _1KB as "1024u". The "u" makes GCC not complain when sizes reach >= 2GB, because GCC will interpret the integer literals as "signed", even if the final calculated value is in an unsigned variable.

svn path=/trunk/; revision=48187
2010-07-22 18:26:04 +00:00
Timo Kreuzer
4ae7219e5c [NDK]
Include the correct mmtypes.h for amd64

svn path=/trunk/; revision=48186
2010-07-22 15:18:55 +00:00
Timo Kreuzer
6c1aa302b3 [NTDLL]
- Add amd64 stubs for LdrInitializeThunk and KiUserApcDispatcher

svn path=/trunk/; revision=48185
2010-07-22 14:49:42 +00:00
Timo Kreuzer
5544c14ffb [NTDLL]
- Comment out RtlWalkFrameChain for amd64

svn path=/trunk/; revision=48184
2010-07-22 14:44:27 +00:00
Timo Kreuzer
3c4ff1e189 [MSVCRT]
- export _ftol only on i386
- fix _setjmp (2nd argument) and redirect setjmp

svn path=/trunk/; revision=48183
2010-07-22 10:23:52 +00:00
Timo Kreuzer
ecc9ac8278 [TLIST]
link to getopt library

svn path=/trunk/; revision=48182
2010-07-22 09:20:35 +00:00
Timo Kreuzer
ca9e196050 [MINGW]
- Remove getopt from mingw lib and put it into it's own static library
- change crt="dll" to crt="static" for the mingw startup libs, to avoid things like importing from itself.

svn path=/trunk/; revision=48181
2010-07-22 09:20:03 +00:00
Sir Richard
ba1b8c6dad [NTOS]: Fix "fail". Dedicated to Timo.
svn path=/trunk/; revision=48180
2010-07-22 05:22:26 +00:00
Timo Kreuzer
3ea611401e [NTOSKRL]
Add missing MI_LOWEST_VAD_ADDRESS for amd64

svn path=/trunk/; revision=48179
2010-07-22 04:19:27 +00:00
Timo Kreuzer
541d2436cd [NDK]
Fix MMADDRESS_NODE and MM_AVL_TABLE

svn path=/trunk/; revision=48178
2010-07-22 04:08:57 +00:00
Timo Kreuzer
5dd4d18e01 [FREELDR]
- In the fat bootsector, don't clobber ax, it contains the number of first cluster of freeldr.sys and is used by the fathelper code.
- Fix jump code in the fathelper code, like in the other bootsectors.
- Now booting from fat partitions (looks like that's what sysreg does) works again. It's safe under the condition that the cluster size is at least 4352 bytes, which is true for harddisks of sizes bigger than 272MB. Booting from smaller fat disks, like floppy breaks when freeldr.sys gets fragmented, which should rarely happen.

svn path=/trunk/; revision=48177
2010-07-22 03:29:25 +00:00
Sir Richard
c30930d3ec [NTOS]: MiRosTakeOverPebTebRanges now creates a small ~1MB ARM3 memory range on top of the ReactOS per-process VA. This does a couple of things: First of all, it changes the default PEB address to another static address. Still not dynamic like it will be soon, but at least it changes it a bit so we can test if anything breaks due to that. It also likewise changes the addresses of the TEBs (Shifted down by 1MB, basically). Finally, it blocks off that part of address space, which nobody should be using now, to see if anyone does indeed touch it.
[NTOS]: Knowing if this change causes issues will help later in determining regressions due to TEB/PEBs mapped as VADs by ARM3, and regressions simply due to the change in VA layout.
[NTOS]: When implemented, the VAD mapping for PEB/TEB will only use that ~1MB, which yes, will limit ReactOS processes to each have only 256 threads. That is obviously a temporary limitation, one I doubt we'll even hit, but I'm putting it out here so you know.

svn path=/trunk/; revision=48176
2010-07-22 03:22:43 +00:00
Sir Richard
d403f0ffd4 [NTOS]: Learn to build User PTEs as well, with MI_MAKE_HARDWARE_PTE_USER.
[NTOS]: MI_MAKE_HARDWARE_PTE becomes MI_MAKE_HARDWARE_PTE_KERNEL, since it assumed this. MI_MAKE_HARDWARE_PTE is now a "generic" you can use when you don't know what the PTE should be. It uses MiDetermineUserGlobalMask to set the right bits.
[NTOS]: Add two more helpers: MI_IS_PAGE_TABLE_ADDRESS and MI_IS_SYSTEM_PAGE_TABLE_ADDDRESS. One is in the symbols, the other I made up to make things clearer.
[NTOS]: MiResolveDemandZeroFault now knnows how to resolve user-demand-zero-faults.
[NTOS]: Implement MiZeroPfn to do the actual zeroing during user-demand-zero-faults (also later for VAD faults).

svn path=/trunk/; revision=48175
2010-07-22 02:20:27 +00:00
Sir Richard
7c3bc09fa1 [NTOS]: Add missing definitions, should fix build.
svn path=/trunk/; revision=48174
2010-07-22 02:10:43 +00:00
Sir Richard
40e4bc04b5 This patch introduces a highly-shareable version of AVL trees both for RTL usage and for ARM3's MM_AVL_TABLE/MMADDRESS_NODE structures used by VADs on Windows (and soon, ReactOS):
[RTL]: Uncouple generic table from AVL table implementation into its own avltable.c
[RTL]: Get rid of "Austin" and fix prototypes of AVL table functions.
[RTL]: Re-implement AVL table functions, sharing as much code as possible with the SPLAY tree implementation which is pretty decent. Lookup, insert, enumeration are implemented, but not delete.
[RTL]: Make large part of the RTL AVL package into its own "support" file that can work both with MMADDRESS_NODE and RTL_BALANCED_LINKS structures. The former is used by ARM3 for VADs.
[NTOS]: Implement basic VAD AVL tree routines (Insert, LookupEmpty, GetPrevious, CheckForConflict, Locate). This is enough to insert VADs, find a free address range, and locate a VAD by address. No delete yet
Thanks to Timo Kreuzer for some clever definitions, Knuth for his genius, several online C implementations for ideas, the HPI kernel blog for insight on how Windows does it, and others.

svn path=/trunk/; revision=48173
2010-07-22 01:41:45 +00:00
Sir Richard
23e18538f1 [NDK]: Add all the definitions regarding VADs.
svn path=/trunk/; revision=48172
2010-07-22 01:41:20 +00:00
Sir Richard
1ceb6d5850 [NDK]: Add missing RTL AVL Tree definitions, when used by user-mode applications.
svn path=/trunk/; revision=48171
2010-07-22 01:09:43 +00:00
Amine Khaldi
94896e3157 [PSDK]
- Forgot to commit this.

svn path=/trunk/; revision=48170
2010-07-21 23:47:33 +00:00
Amine Khaldi
281e92894d [DDK/NDIS]
- Group some related definitions.
- Remove some duplicated NDIS_MINIPORT_MAJOR_VERSION/NDIS_MINIPORT_MINOR_VERSION combinations.
- Add some missing NDIS_LEGACY_DRIVER guards.
- _ANONYMOUS_UNION -> __MINGW_EXTENSION
- Update NDIS_PROCESSOR_TYPE and NDIS_INTERFACE_TYPE.
- Guard NDIS_GENERIC_OBJECT with NDIS_SUPPORT_NDIS6.
- Add missing NDIS_WAN_GET_STATS, NdisAllocateGenericObject, NdisFreeGenericObject, fPACKET_WRAPPER_RESERVED and NDIS_FLAGS_* definitions.
- PNDIS_PACKET_POOL : HANDLE -> NDIS_HANDLE.
- Improve MEDIA_SPECIFIC_INFORMATION
- Some minor formatting.

svn path=/trunk/; revision=48169
2010-07-21 23:32:51 +00:00
Timo Kreuzer
b03d6b06cd [RBUILD]
Generate an RSP rule for the bootloader, this fixes "input line too long" error reported by tower.

svn path=/trunk/; revision=48168
2010-07-21 23:17:12 +00:00
Jérôme Gardou
efc09eb443 update README.WINE
svn path=/trunk/; revision=48167
2010-07-21 21:28:31 +00:00
Amine Khaldi
ec46e3cec9 [DDK/NDIS]
- Add missing ntstatus.h inclusion.
- Group some related definitions.
- Add several missing ones.

svn path=/trunk/; revision=48165
2010-07-21 19:12:14 +00:00
Sir Richard
f9444f0c52 [NTOS]: Handle faults on user-mode addresses, from user-mode processes, if they are owned by ARM3, so they can be forwarded to the VAD fault handler.
svn path=/trunk/; revision=48164
2010-07-21 18:09:31 +00:00
Sir Richard
e6cdd4d0fd [NTOS]: If the memory area is owned by ARM3, and it's being freed, don't touch the pages, just unlink it and free the memory. This is useful for MAREAs being used by ARM3 to protect pieces of address space from the Ros Mm Allocator, but when we don't want it to start playing with our pages. When we do free those MAREAs, keep it away!
svn path=/trunk/; revision=48163
2010-07-21 17:58:09 +00:00
Amine Khaldi
ce8b9f4fcb [CRT]
- Improve NULL definition.

svn path=/trunk/; revision=48162
2010-07-21 17:26:00 +00:00
Timo Kreuzer
f0daba18dd [CRT]
- Add a number of amd64 specific math functions
- add generic c versions of cos and sin
- Remove leading underscores from amd64 symbols

svn path=/trunk/; revision=48161
2010-07-21 16:03:44 +00:00
Timo Kreuzer
6c98c1057f [GDIPLUS]
On amd64 builds link gdiplus to crt

svn path=/trunk/; revision=48160
2010-07-21 15:55:51 +00:00
Gabriel Ilardi
11a32bcc42 [DESK]
- Implement theme quick preview. Patch by Katayama Hirofumi.

See issue #5525 for more details.

svn path=/trunk/; revision=48159
2010-07-21 12:20:18 +00:00
Timo Kreuzer
8d8f884623 [MINGW]
Remove broken _fmode declaration

svn path=/trunk/; revision=48158
2010-07-21 03:22:27 +00:00
Timo Kreuzer
147a7b6fc9 [stdlib.h]
- Improve definition of __mb_cur_max and related
- properly handle _M_CEE_PURE

svn path=/trunk/; revision=48157
2010-07-21 02:55:59 +00:00
Timo Kreuzer
398f20dacd [NTDLL]
Add _setjmp, _setjmpex and longjmp exports on amd64

svn path=/trunk/; revision=48156
2010-07-21 02:53:24 +00:00
Timo Kreuzer
240c411b7d [RSYM64]
Silence annoying error messages

svn path=/trunk/; revision=48155
2010-07-21 02:52:37 +00:00
Timo Kreuzer
0b2826db83 [MINGW]
link mingw_common to oldnames and ntdll

svn path=/trunk/; revision=48154
2010-07-21 02:04:49 +00:00
Timo Kreuzer
0bb23409ed [ATAPI]
Link to libcntpr to resolve memmove

svn path=/trunk/; revision=48153
2010-07-21 01:07:19 +00:00
Timo Kreuzer
d7f170a4ee [setjmp.h]
Add mingw_getsp as inline function

svn path=/trunk/; revision=48152
2010-07-21 00:31:14 +00:00
Timo Kreuzer
0711c75539 [CRT]
- Add amd64 versions of setjmp / longjmp
- Add amd64 versions of chkstk_asm.s, seh.s to libcntpr

svn path=/trunk/; revision=48151
2010-07-21 00:26:51 +00:00
Jérôme Gardou
251d21958c Sync with trunk (r48144)
svn path=/branches/reactos-yarotows/; revision=48150
2010-07-20 22:15:42 +00:00
Timo Kreuzer
d7e775596d [FREELDR]
- Unify rbuild rule for freeldr, except for ppc, which uses elfexecutable

svn path=/trunk/; revision=48149
2010-07-20 21:38:58 +00:00
Timo Kreuzer
6e137a3c50 [BZIP2]
- remove hal from libs
- convert to spec

svn path=/trunk/; revision=48148
2010-07-20 21:29:48 +00:00
Eric Kohl
924ee8d9ef [FORMATTING]
No code changes.

svn path=/trunk/; revision=48146
2010-07-20 20:48:11 +00:00
Jérôme Gardou
eaa1cb5487 Sync with trunk (r48123)
svn path=/branches/reactos-yarotows/; revision=48145
2010-07-20 20:09:43 +00:00
Timo Kreuzer
a9b1042fdf [NTOSKRNL/FREELDR]
Add amd64 linker scripts

svn path=/trunk/; revision=48144
2010-07-20 19:38:22 +00:00
Amine Khaldi
3f25e73244 [MINGW-W64]
- Wrap MSVC intrinsics onto GCC builtins.
- Mark 'cookie' as an __UNUSED_PARAM.
- Tighten up _WIN64 conditioning.

svn path=/trunk/; revision=48143
2010-07-20 19:20:37 +00:00
Amine Khaldi
d0588d0064 [MINGW-W64]
- MSVC compatibility fixes.

svn path=/trunk/; revision=48142
2010-07-20 19:18:03 +00:00
Amine Khaldi
fc502885bc [FORMATTING]
- No functionality change.

svn path=/trunk/; revision=48141
2010-07-20 19:15:30 +00:00
Timo Kreuzer
154520a060 [ACCESS]
WRC doesn't like (x+x+x+2+x+x+x+x+x+x), use (x+x+x+x+x+x+x+x+x+2) instead. To figure out the reason is left as an exercise for the reader.

svn path=/trunk/; revision=48140
2010-07-20 19:10:02 +00:00
Timo Kreuzer
bd8190afa7 [EVENTVWR]
Add missing newline at end of file

svn path=/trunk/; revision=48139
2010-07-20 18:32:28 +00:00
Sylvain Petreolle
2bb936ad97 Remove BOM from UTF-8 rc files.
svn path=/trunk/; revision=48138
2010-07-20 16:37:22 +00:00
Amine Khaldi
88db16e943 [HEADERS]
- Make the header inclusion MSVC compatible.
- compstui now compiles with MSVC.

svn path=/trunk/; revision=48137
2010-07-20 15:51:44 +00:00
Timo Kreuzer
96353a5721 [FREELDR]
- Update isobtrt.asm to handle new PE bootloader, should fix bootcdregtest
- Disable debugging in isoboot.asm

svn path=/trunk/; revision=48136
2010-07-20 15:45:53 +00:00
Amine Khaldi
bc9f1e46f1 [HEADERS]
- Make the header inclusion MSVC compatible.
- localspl now compiles with MSVC.

svn path=/trunk/; revision=48135
2010-07-20 14:15:51 +00:00
Amine Khaldi
357f79fba6 [HEADERS]
- Make the header inclusion MSVC compatible.

svn path=/trunk/; revision=48134
2010-07-20 14:11:43 +00:00
Amine Khaldi
a92f03aea3 [MINGW-W64]
- Group MSVC related definitions.

svn path=/trunk/; revision=48133
2010-07-20 13:04:56 +00:00
Amine Khaldi
8d15da936a [ACPI]
- Define WIN32 when compiling with MSVC

svn path=/trunk/; revision=48132
2010-07-20 12:11:17 +00:00
Amine Khaldi
5be505d1b4 [MINGW-W64]
- Define WIN32_LEAN_AND_MEAN.
- Include stdlib.h for _winmajor.

svn path=/trunk/; revision=48131
2010-07-20 12:10:10 +00:00
Amine Khaldi
dfd1480154 [MINGW-W64]
- reactos.diff was pushed upstream, so it's not needed anymore.
- Add a missing section.
- Include sect_attribs.h into tlssup.c

svn path=/trunk/; revision=48130
2010-07-20 10:14:07 +00:00
Timo Kreuzer
280df5a49b [CMD]
Remove BOMs from rc files. Let me know if something's wrong with that.

svn path=/trunk/; revision=48129
2010-07-20 04:22:04 +00:00
Timo Kreuzer
ba97a937c2 [RBUILD]
For amd64 builds, invoke wrc directly, instead of using gcc to preprocess the files. The reason is that newer gcc versions (like 4.5.0) don't support multiline continuation  (backslash-newline) except for preprocessor directives, but that breaks wine resource strings. This might have to be done for i386 builds too, sooner or later.

svn path=/trunk/; revision=48128
2010-07-20 03:01:57 +00:00
Timo Kreuzer
0228d0009e [wine/commctrl.h]
Don't use #include_next, instead imclude psdk/commctrl.h

svn path=/trunk/; revision=48127
2010-07-20 02:53:55 +00:00
Timo Kreuzer
d2f3e93b11 [sdkddkver.h]
Add UL suffix to some constants.

svn path=/trunk/; revision=48126
2010-07-20 02:52:40 +00:00
Timo Kreuzer
a3d974ee28 [rpcndr.h]
Add a tag to NDR_SCONTEXT struct. MS headers don't have it, but gcc 4.5.x requires it, because without the tag, the struct would be from an unnamed namespace and can't be shared by different compilation units in C++. Yeah whatever...

svn path=/trunk/; revision=48125
2010-07-19 23:47:00 +00:00
Timo Kreuzer
2a5f6261a5 [FREELDR]
Convert freeldr and setupldr to PE format.
Previously freeldr was a raw binary file, which made handling by the bootsector very easy, but it disqualified it from proper debugging with gdb using symbols. This is possible with having unstripped PE files.
As we don't have any space to do proper PE loading from the bootsector (I already had to trim some strings to get enough space for the new jump code), we need to make sure, that the PE file doesn't contain a .bss section, which is achieved by a linker script. The next thing is to make sure, we don't have any symbols in the output file, because they would make freeldr too big to be loaded into memory and they are useless anyway. On the other hand we like to keep the symbols in the .nostrip.sys files if requested, as this is the primary purpose. This is in theory not a problem, as we could simply strip the file at the end, but binutils throw a monkey wrench in our plans: both strip and objcopy disrespect the file alignment and create unaligned sections, that don't naturally match their VAs. This is solved by hacking rbuild to do invoke ld 2 times, one time without and one time with the symbols (if requested).
Now the bootsectors also got some changes: instead of jumping to the loading address (0x8000) they get the address of the entry point from the image optional header. This is slightly simplified, by assuming the NtHeader begins at offset 0xE0. This finally allows source level debugging of freeldr with gdb.

svn path=/trunk/; revision=48124
2010-07-19 23:18:31 +00:00
Jérôme Gardou
de85efc5ed [WIN32K]
- rewrite UserDrawIconEx, taken from yarotows, with same small modifications.
Fixes a whole bunch of user32:cursoricon tests


svn path=/trunk/; revision=48123
2010-07-19 22:41:35 +00:00
Timo Kreuzer
76d0b0da01 [RTL]
- Update amd64 specific code to be MSVC compatible
- Remove Leading underscores from symbols

svn path=/trunk/; revision=48122
2010-07-19 21:18:33 +00:00
Eric Kohl
d4353528e6 [ADVAPI32]
LookupAccountSidA:
- Change variable prefixes according to the variable type.
- Initialize Unicode strings after the call to LookupAccountSidW because the string length is not set properly otherwise.

svn path=/trunk/; revision=48121
2010-07-19 20:27:36 +00:00
Timo Kreuzer
4ea3ee5cd7 [NDK]
Protect LDT_ENTRY from redefinition

svn path=/trunk/; revision=48120
2010-07-19 19:43:09 +00:00
Timo Kreuzer
24480b9b7d [KERNEL32]
Merge r34770, r36475, r36990, r37019, r43852, r43952, r43954, r43979, r43981, r46868 from amd64 branch:
- Multiple ULONG / SIZE_T fixes
- Use UlongToHandle / HandleToUlong to convert between DWORD ProcessId and ClientId.UniqueProcess
- implement amd64 version of _dump_context
- Make IsConsoleHandle 64bit safe
- Update kernel32.pspec with a lot of Win7 (commented out) and some amd64 specific exports, add some more comments and fix sorting
- Implement amd64 version of BaseThreadStartupThunk and BaseProcessStartThunk
- Stub amd64 version of SwitchToFiber
- Implement amd64 version of BasepInitializeContext

svn path=/trunk/; revision=48119
2010-07-19 18:52:18 +00:00
evb
0b09093a76 Last code in PciScanBus: call to PciGetfunctionLimits now implement (call PcipGetfunctionLimits if PciSkipThisFunction say no)
PcipGetfunctionLimits support PCI_HACK_CRITICAL_DEVICE and PCI Debug Device by use IPI code (PciExecuteCriticalSystemRoutine implement)
PciConfigurators table define for Device, PCI-to-PCI (PP) Bridge plus CardBus Bridge but all configurator stub now
Configurator chain: Init (Massage) -> [WRITE INIT] (PciWriteLimitsAndRestoreCurrent) -> Restore -> SaveLimit -> SaveCurrent
Support ExpectedWritebackFailure
Fix bug in PciApplyHacks (found by me testing sir_richard code)
Now pass 7000 SLOC ^_^;~ Good night!

svn path=/trunk/; revision=48118
2010-07-19 16:35:52 +00:00
Sir Richard
c4c9522794 [HALACPI]: Wherever I(?) copy pasted the original HalAdjustResourceList from, in the ACPI HAL, I have no idea, but the definition was totally wrong. Should fix the build.
svn path=/trunk/; revision=48117
2010-07-19 15:32:13 +00:00
Sir Richard
0e248c787d Joint patch
By sir_richard: [PCIX]: - Implement PciIsSlotPresentInParentMethod for ACPI query, and PcoDecodeEnable utility function.
                	- Implement PciConfigureIdeController based on WDHC Whitepaper "How Windows Switches a Controller to Native Mode". Check for PciEanbleNativeModeATA in registry, InitSafeBootMode, and call the ACPI driver to evaluate if NATA is present on the slot. Only configure the controller if both channels support native mode, as this is a Windows restriction.
                        - Implement PciApplyHacks for enumeration and resource update cases. In the first case, we handle legacy DEC Alpha Intel i82375 and i82378 PCI-to-(E)ISA bridges with invalid class codes. In the second, we configure IDE controllers for Native mode, except the OPTi Viper-M, which is known to cause issues. We also support cards with legacy VGA decodes by telling the arbiter to enable full access to the rangesm and finally we completely disable the decodes on Compaq PCI Hotplug Controllers (Revision 17) on PAE systems, as they have bugs handling 64-bit addresses. Finally, on resource updates, we apply a vendor-specific errata to the IBM 20H2999 PCI Docking Bridge (Hotplug) used on Thinkpad 600 Series laptops, and we attempt to avoid issues that can happen on certain devices that are plugged into an ICH1/2/3/4 Intel Hub when it has been configured to do subtractive decode. Full information on these workarounds can be seen in the comments. Finally, we also enable CardBUS devices for ACPI-compliant mode, by crossing out the LegacyBaseAddress in the CardBUS Type 2 PCI Configuration Header.
			- Miscelleaneous code cleanups.
By eVb: More PciScanBus support, for debug PCI caps that driver use are dump, and detect nonBIOS configure device (spec is said that CacheLineSize != 0, LatencyTimer != 0 (on PCI-X, != 64)), if found NeedsHotPlugConfiguration to be set
By eVb: Support PCI_HACK_VIDEO_LEGACY_DECODE (call ario_ApplyBrokenVideoHack, but no arb support to do work)

svn path=/trunk/; revision=48116
2010-07-19 15:15:39 +00:00
Sir Richard
422f215958 [NDK]: Add a missing HAL function.
[PCI]: Update hack flags.

svn path=/trunk/; revision=48115
2010-07-19 15:14:34 +00:00
Amine Khaldi
fc8c4be858 [MINGW]
- __attribute__ ((__unused__)) -> __UNUSED_PARAM, which is MSVC compatible.

svn path=/trunk/; revision=48114
2010-07-19 09:58:51 +00:00
Amine Khaldi
693a016f71 [PSDK]
- Fix IOCTL_STORAGE_* redefinitions.

svn path=/trunk/; revision=48112
2010-07-19 01:06:32 +00:00
Amine Khaldi
72268d0e17 [CRT]
- Fix the double use of _CRTIMP.

svn path=/trunk/; revision=48111
2010-07-19 00:25:54 +00:00
Amine Khaldi
853b658b58 - Fix _InterlockedExchangeAdd16, _InterlockedCompareExchangePointer and _InterlockedExchangePointer intrinsics.
svn path=/trunk/; revision=48110
2010-07-18 22:43:04 +00:00
Amine Khaldi
5c0e7d3b75 Merge r45430 from amd64-bringup : Add #pragma intrinsic for msvc intrinsics.
svn path=/trunk/; revision=48109
2010-07-18 21:55:54 +00:00
Eric Kohl
5ef81f0fae [ADVAPI32/LSASRV]
- LookupAccountNameW: Call LsaLookupNames instead of returning a dummy name.
- Implement LsaLookupNames. Calls LsarLookupNames.
- LsarLookupNames: return dummy names.

svn path=/trunk/; revision=48108
2010-07-18 20:34:34 +00:00
evb
8091e98e96 Can't sleep so write more source codes! add scan bus functions to get power caps (PciGetEnhancedCapabilities) and AGP caps, use PciReadDeviceCapability util function, now can get wake levels, PCI power state plus target AGP ID. Now can find PCI Device that can't sleep neither! Ha-ha!
Support PCI_HACK_NO_PM_CAPS, PCI_HACK_PRESERVE_COMMAND, PCI_HACK_DONT_DISABLE_DECOES
Add scan bus function to set power for PCI, for now to power up (PciSetPowerManagedDevicePowerState), with support for device that is critical/broken (PciCanDisableDecodes)
Check spec-correct with PciStallForPowerChange after define PciPowerDelayTable for D0<->D3 crossmatrix spec timings (add PciReadDeviceConfig for support)
If bad spec timing use PCI verifier support (PciVerifierRetrieveFailureData) + STATUS_DEVICE_PROTOCOL_ERROR
Add PciVerifierFailureTable with all failure type
Almost the time for resource discovery of BARs!


svn path=/trunk/; revision=48107
2010-07-18 18:58:33 +00:00
Jérôme Gardou
a6017cd9b2 [W32KNAPI] - More tests to NtUserGetIconInfo
svn path=/trunk/; revision=48106
2010-07-18 16:57:32 +00:00
Jérôme Gardou
2946af0b8e Fix my grotesque mistake of r48104
svn path=/trunk/; revision=48105
2010-07-18 16:45:05 +00:00
Jérôme Gardou
0f1aba925e [W32KNAPI] - Add some more NtUserGetIconInfo tests
svn path=/trunk/; revision=48104
2010-07-18 16:40:15 +00:00
Jérôme Gardou
ec5e0ea56a [W32KNAPI] - Add some more NtUserGetIconInfo tests
svn path=/trunk/; revision=48103
2010-07-18 16:34:14 +00:00
Amine Khaldi
715a75ef6b [PSDK]
- Fix a couple of FIXMEs : UNALIGNED and RESTRICTED_POINTER definitions

svn path=/trunk/; revision=48102
2010-07-17 21:19:38 +00:00
Eric Kohl
faf61e4427 [LSASRV]
LsarLookupSids: Return ReferencedDomains information.

svn path=/trunk/; revision=48101
2010-07-17 18:15:34 +00:00
evb
54dcdffd9e More PciScanBus codes now to check saved PCI BIOS config header saved in registry (PciGetBiosConfig, PciSaveBiosConfig) and support load save compare (PcipIsSameDevice) if change in interrupt line
Also for interrupt line use HAL to get parent bus IRQ# if device connected (PciGetAdjustedInterruptLine)
For PCI debug HW PciIsDeviceOnDebugPath to detect, but have not real machine with this kind of device to test
Support PCI_HACK_NO_SUBSYSTEM and PCI_HACK_NO_SUBSYSTEM/REVISION_AFTER_D3 for when compareing
New config function required PciWriteDeviceConfig to update IRQ line from BIOS registry data
Save initial, current Command enables to PDO extension, interrupt data too

svn path=/trunk/; revision=48100
2010-07-17 16:53:18 +00:00
evb
693551c36a Implement PciPdoCreate and add all PDO IRP stub functions, set dispatch table for major/minor command, add PciIrpInvalidDeviceRequest
Fix bug in PciFindPdoByFunction should check device slot info too
Add more enumeration codes in PciScanBus to create PDO
PCI_HACK_FAKE_CLASS_CODE support
Build PDO extension, set ready for PnP manger, now 41 QDR returned
Add PCI/CardBus Bridge to list
Detect bridge/IDE controller with no power down support, hack for Intel 82375 PCI to EISA bridge for Alpha thanks to sir_richard
QUERY_ID is sent to PDOs now!

svn path=/trunk/; revision=48099
2010-07-17 15:59:09 +00:00
evb
7ebde38343 More implement of PciScanBus, now read hack flags from table (PciGetHAckFlags), and check for critical device (PciIsCriticalDeviceClass) and VGA device on PCI bridge
Do check for skipping some function (double decker ghost, Intel Alder SMP Pentium Pro machine, hacl flag, more), PciSkipThisfunction
Do check for PDO already exist for function (PciFindPdoByFunction)
Finish impement PciFindParentPciFdoExtension

svn path=/trunk/; revision=48098
2010-07-17 15:09:19 +00:00
Amine Khaldi
11006f580c [PSDK]
- Add missing netevent.h definitions.

svn path=/trunk/; revision=48097
2010-07-17 13:13:18 +00:00
Amine Khaldi
0fc10b9203 [DDK]
- Move netevent.h to PSDK.

svn path=/trunk/; revision=48096
2010-07-17 10:09:09 +00:00
Amine Khaldi
76fab2e228 [DDK]
- Move ntddndis.h to PSDK.

svn path=/trunk/; revision=48095
2010-07-17 09:42:56 +00:00
Amine Khaldi
8cf2899a61 [PSDK]
- Fix a couple of typos

svn path=/trunk/; revision=48094
2010-07-17 09:01:00 +00:00
Eric Kohl
dfa8e56472 [LSASRV]
Use a single table for mapping privilege names to values and values to names.

svn path=/trunk/; revision=48093
2010-07-17 07:37:47 +00:00
Timo Kreuzer
ac595f39c9 [KERNEL32]
DWORD -> SIZE_T in ReadProcessMemory

svn path=/trunk/; revision=48092
2010-07-17 05:18:31 +00:00
evb
f43651e238 Add config interface start (PciReadWriteConfigSpace, PciReadSlotConfig)
Add PDO_EXTENSION structure and PCI_FUNCTION_RESOURCES, now delete #if0 in old code since PDO_EXTENSION is now exist defintion
Add ID Class/Subclass to description functions (PciGetDeviceDescriptionMessage, PciGetDescriptionMessage), use pciclass.mc from sir_richard
New debug: PciDebugDumpCommonConfig
Implement IRP_MN_QUERY_DEVICE_RELATIONS with PciFdoIrpQueryDeviceRelations and PciQueryDeviceRelations
Begin PciScanBus, now just dump all found device with no more work (0 QDR return)

svn path=/trunk/; revision=48091
2010-07-17 01:31:26 +00:00
Timo Kreuzer
4234345b03 Fix CryptReleaseContext parameter, wine uses an outdated version (< NTDDI_WINXP)
svn path=/trunk/; revision=48090
2010-07-16 21:30:29 +00:00
Timo Kreuzer
623cc2e0dd [WS2_32]
DWORD -> DWORD_PTR

svn path=/trunk/; revision=48089
2010-07-16 20:24:32 +00:00
Timo Kreuzer
9908019e62 [VIDEOPRT]
Merge r40926 from amd64 branch:
return ERROR_INVALID_FUNCTION on amd64, not ERROR_INVALID_ACCESS from VideoPortEn/DisableInterrupt. Fixes compilation of videoprt for amd64.

svn path=/trunk/; revision=48088
2010-07-16 19:20:49 +00:00
Timo Kreuzer
677bd3c418 [NTOSKRNL]
- #if out RtlpCaptureStackLimits on amd64 as well

svn path=/trunk/; revision=48087
2010-07-16 17:53:00 +00:00
Timo Kreuzer
d2c2d5b635 [NDK]
Merge r44053 from amd64 branch:
- Add KEXCEPTION_FRAME

svn path=/trunk/; revision=48086
2010-07-16 17:20:46 +00:00
Timo Kreuzer
3c70caa7e3 [NTOSKRNL]
Add MM_HIGHEST_VAD_ADDRESS for amd64

svn path=/trunk/; revision=48085
2010-07-16 17:14:53 +00:00
Timo Kreuzer
ef44812048 [NTOSKRNL]
#if out another broken C_ASSERT on amd64

svn path=/trunk/; revision=48084
2010-07-16 16:30:05 +00:00
Timo Kreuzer
36fa896cff [NTOSKRNL]
Comment out a broken C_ASSERT on amd64 to make it compile.

svn path=/trunk/; revision=48083
2010-07-16 15:11:44 +00:00
Timo Kreuzer
2faf924bad [CRT]
Move #include <precomp.h> to the top, as precompiled headers must be the first thing that is included or it won't take advantage of being precompiled

svn path=/trunk/; revision=48082
2010-07-16 15:08:03 +00:00
Timo Kreuzer
f01fb95ae9 [NTOSKRNL]
ULONG -> SIZE_T

svn path=/trunk/; revision=48081
2010-07-16 14:56:36 +00:00
Gabriel Ilardi
386c15f491 Fix build, sorry. Thanks Timo.
svn path=/trunk/; revision=48080
2010-07-16 13:37:29 +00:00
Timo Kreuzer
e6d5126886 Merge r44143 from amd64 branch
Initialize MmDebugPte from MiDebugMapping variable instead of using MiAddressToPte for a constant initializer. This way the page can be set dynamically. Use MmDebugPte to determine if ready for mapping physical pages.

svn path=/trunk/; revision=48079
2010-07-16 13:23:43 +00:00
Gabriel Ilardi
f9dc8f0766 [CRT]
Add a debug print to help bugs like 5486.

svn path=/trunk/; revision=48078
2010-07-16 13:00:02 +00:00
Daniel Reimer
d17757a733 [PATCH] user32: DrawText: CJK and Thai line-wrapping
[PATCH] appwiz: check if path is valid
Both by Katayama Hirofumi

svn path=/trunk/; revision=48077
2010-07-16 12:52:37 +00:00
Timo Kreuzer
3421c58c28 [NTOSKRNL]
ULONG -> ULONG_PTR

svn path=/trunk/; revision=48076
2010-07-16 12:27:40 +00:00
evb
2261af5265 IRP_MN_START_DEVICE implement for ROOT FDO (PciFdoStartDevice)
PciInitializeArbiterRanges implement to scan arbiter   not yet construct since Arb library missing
Add PCI state machine (PciBeginStateTransition, PciCancelStateTransition, PciCommitStateTransition) andtransition array (PnpStateTransitionArray) to check if valid
Now IRP_MN_QUERY_DEVICE_RELATIONS sent to ROOT FDO means time to enumerate bus!

svn path=/trunk/; revision=48075
2010-07-16 01:14:52 +00:00
evb
add164dcfa Fix for code to handle IRP dispatching when unrecognized IRP (Thanks you sir_richard)
Add FDO IRP_MN_QUERY_INTERFACE support (it calls PciQueryInterface)
Add all PCI interface descriptor: PciLocationInterface (GUID_PNP_LOCATION_INTERFACE), PciPmeInterface (GUID_PCI_PME_INTERFACE), PciCardbusPrivateInterface (GUID_PCI_CARDBUS_INTERFACE_PRIVATE), PciLegacyDeviceDetectionInterface (GUID_LEGACY_DEVICE_DETECTION_STANDARD), AgpTargetInterface (GUID_AGP_TARGET_BUS_INTERFACE_STANDARD), PciRoutingInterface (GUID_INT_ROUTE_INTERFACE_STANDARD), BusHandlerInterface (GUID_BUS_INTERFACE_STANDARD) and stub initializer and constructor.
Add missing devhere.c interface file
Add all PCI arbiter descritptor: ArbiterInterfaceBusNumber, ArbiterInterfaceMemory, ArbiterInterfaceIo. Write constructor stub but not handled ArbitersInitialized == TRUE
Also add last-resort PCI interface: TranslatorInterfaceInterrupt (GUID_TRANSLATOR_INTERFACE_STANDARD) and part implement tranirq_Constructor
Add PciQueryInterface to find correct FDO/PDO/ROOT interface for a request and call interface constructor
Fix interface signatures, fix interface constructor type and PCI_INTERFACE, add interface flags (Thanks sir_richard)
Fix Aribtriter code (Thanks sir_richard)
Now another 1200 codes added, soon time for enumeration code!

svn path=/trunk/; revision=48074
2010-07-16 00:39:54 +00:00
Timo Kreuzer
d80d59dbff Merge 36852, 37322, 37333, 37334, 43428, 43451, 44259, 46404 from amd64 branch.
- Multiple ULONG/ULONG_PTR/SIZE_T issues
- Use SLIST_ENTRY instead of SINGLE_LIST_ENTRY with InterlockedPushEntrySList
- Use %p to print pointer sized values


svn path=/trunk/; revision=48073
2010-07-16 00:34:26 +00:00
Timo Kreuzer
8e13b57dcf Add MI_MIN_SECONDARY_COLORS, MI_SECONDARY_COLORS and MI_MAX_SECONDARY_COLORS for amd64
svn path=/trunk/; revision=48072
2010-07-16 00:03:03 +00:00
Timo Kreuzer
72053553f4 [NTOSKRNL]
Some ULONG vs SIZE_T fixes

svn path=/trunk/; revision=48071
2010-07-15 23:56:53 +00:00
Timo Kreuzer
820d3edcb0 Merge 44257 from amd64 branch:
PFN_TYPE -> PFN_NUMBER

svn path=/trunk/; revision=48070
2010-07-15 22:50:12 +00:00
Timo Kreuzer
70103e0a78 Remove svn:mergeinfo property
svn path=/trunk/; revision=48069
2010-07-15 22:43:13 +00:00
Jérôme Gardou
f819794d7d Sync with trunk 48067
svn path=/branches/reactos-yarotows/; revision=48068
2010-07-15 20:49:51 +00:00
Amine Khaldi
b22a3883dc [PSDK]
- Fix WS2TCPIP_INLINE : extern inline -> static inline

svn path=/trunk/; revision=48067
2010-07-15 19:34:21 +00:00
Jérôme Gardou
9889c134f2 SVN wins again... What's that?
Revert everything that's not related to 48064 of 48065.

svn path=/trunk/; revision=48066
2010-07-15 19:29:45 +00:00
Jérôme Gardou
af95756f02 Merge 48064 from yarotows
This had nothing to do in yarotows in the first place

svn path=/trunk/; revision=48065
2010-07-15 19:19:48 +00:00
Jérôme Gardou
fbcccf27aa [PORTCLS]
- Fix IIrpQueue declaration

svn path=/branches/reactos-yarotows/; revision=48064
2010-07-15 19:13:12 +00:00
Timo Kreuzer
060168268f [NTOSKRNL]
Fix some amd64 KGDT constant names

svn path=/trunk/; revision=48063
2010-07-15 11:24:17 +00:00
Timo Kreuzer
11d95dfa7e [NTOSKNL]
#undef IoAllocateAdapterChannel before implementing it

svn path=/trunk/; revision=48062
2010-07-15 11:20:22 +00:00
Gabriel Ilardi
87bf4616fb [shellapi.h] Fix build copy pasta spotted by encoded
svn path=/trunk/; revision=48061
2010-07-15 07:16:08 +00:00
Timo Kreuzer
0d37dab9f3 [NTOSKRNL]
Fix ExInitializeRundownProtectionCacheAware parameter (ULONG -> SIZE_T)

svn path=/trunk/; revision=48060
2010-07-15 01:34:50 +00:00
Timo Kreuzer
f08b9d1821 [NTOSKRNL]
- Define PD_COUNT, PDE_COUNT, PTE_COUNT for amd64, we should probably use PTE_PER_PAGE... instead
- Fix incompatible declaration of MmResidentAvailablePages
- Prevent duplicate definitions

svn path=/trunk/; revision=48059
2010-07-15 01:10:18 +00:00
Timo Kreuzer
0f9bd40ee3 [NTOSKRNL]
Remove the old amd64 compilation hack

svn path=/trunk/; revision=48058
2010-07-15 00:42:26 +00:00
Timo Kreuzer
8518877b95 [NTOSKRNL]
Apply a workaround for WDK headers

svn path=/trunk/; revision=48057
2010-07-15 00:24:38 +00:00
Timo Kreuzer
20b79b0029 [NTOSKRNL]
KeQuerySystemTime and KeQueryInterruptTime are not implemenetd on amd64

svn path=/trunk/; revision=48056
2010-07-15 00:07:31 +00:00
Timo Kreuzer
50e511c01d [shellapi.h]
fix inclusion of pshpack / poppack (global and not for _WIN64)

svn path=/trunk/; revision=48055
2010-07-14 23:52:48 +00:00
Timo Kreuzer
6ae7a76cda [ntdll_winetest]
Comment out some tests for WIN64 builds (wine headers are broken)

svn path=/trunk/; revision=48054
2010-07-14 23:13:31 +00:00
Timo Kreuzer
58358394d6 Fix build
svn path=/trunk/; revision=48053
2010-07-14 22:32:06 +00:00
Sylvain Petreolle
2500a82fc2 gdi32:generated should now build on x64.
svn path=/trunk/; revision=48052
2010-07-14 22:08:19 +00:00
Sylvain Petreolle
34316a4b6a A little closer to x64 compat in GDI headers.
Patch by Samuel Serapion.


svn path=/trunk/; revision=48051
2010-07-14 22:02:51 +00:00
Timo Kreuzer
b90cf1a22e [GDI32_WINETEST]
Don't compile generated.c on amd64

svn path=/trunk/; revision=48050
2010-07-14 21:36:24 +00:00
Jérôme Gardou
84fd5d3369 Push sync to 48046, this time with cursoricon.c
svn path=/branches/reactos-yarotows/; revision=48049
2010-07-14 20:28:06 +00:00
Jérôme Gardou
1b3dfd946f Sync with trunk (r48042), except win32k/ntuser/cursoricon.c
***branch DOES NOT BUILD with this commit***

svn path=/branches/reactos-yarotows/; revision=48048
2010-07-14 20:15:30 +00:00
Cameron Gutman
79e8db1b56 [PING]
- Fix a bug in the lost packet counter code which could result in a negative received value

svn path=/trunk/; revision=48046
2010-07-14 19:32:03 +00:00
Daniel Reimer
7fe1842203 Bug 5413: [PATCH] regedit: app key on treeview/listview
Bug 5473: [PATCH] regedit: selection on hexedit
Both from Katayama Hirofumi

svn path=/trunk/; revision=48045
2010-07-14 18:15:43 +00:00
Daniel Reimer
585c3a511e Fix setupapi setupcab winetest. (Samuel Serapion)
svn path=/trunk/; revision=48044
2010-07-14 17:18:49 +00:00
Daniel Reimer
a67f202e5e Fix libtiff's external functions.
svn path=/trunk/; revision=48043
2010-07-14 17:12:22 +00:00
Jérôme Gardou
1954fd59da [WIN32K]
- Properly initialize hVisRgn in CLIPPING_UpdateGCRegion
This fixes a whole bunch of "IntGdiCombineRgn requires hSrc2 != NULL for combine mode 1!", and probably some bugs.
Dedicated to encod3d.

svn path=/trunk/; revision=48042
2010-07-14 16:12:32 +00:00
Jérôme Gardou
746e0c9afd [USER32]
- WINE creates an alpha bitmap on icon creation, we do it when drawing it, so we need to create a bitmap which holds alpha information.
  - Add error handling to CreateIconIndirect.

svn path=/trunk/; revision=48041
2010-07-14 15:42:44 +00:00
Jérôme Gardou
d61b5efe6c [WIN32K, USER32]
- Get rid of ONEPARAM_ROUTINE_CREATECURICONHANDLE

svn path=/trunk/; revision=48040
2010-07-14 15:01:02 +00:00
Jérôme Gardou
8ad729230c [W32KNAPI]
- Test ONE_PARAM_ROUTINE_CREATEEMPTYCUROBJECT
  - Test NtUserGetIconInfo

svn path=/trunk/; revision=48039
2010-07-14 14:56:53 +00:00
Daniel Reimer
f4769202d7 Reapply some Win32 specific magic to properly build a Windows DLL of libjpeg. (Samuel Serapion)
svn path=/trunk/; revision=48038
2010-07-14 14:53:35 +00:00
Daniel Reimer
89324d2493 Bye, old Downloader.
svn path=/trunk/; revision=48037
2010-07-14 11:00:31 +00:00
Daniel Reimer
06f1bc2133 Bug 5501: [PATCH] Adding Wing32 support by Carlo Bramini
svn path=/trunk/; revision=48036
2010-07-14 10:59:32 +00:00
Jérôme Gardou
98b46cd0c4 Bye bye NtUserCreateCursorHandle.
Thanks GedMurphy for explaining me how to suppress that.
Please clean win32k after this commit.

svn path=/trunk/; revision=48035
2010-07-14 10:23:13 +00:00
Jérôme Gardou
4cc98d4c14 [USER32]
- There is no exported "CopyCursor", it's a macro.
  - There is no "NtUserCreateCursorIconHandle" function in win32k. Use correct functions to create a cursorIcon handle.
  - Bring in WINE's CreateIconIndirect
[WIN32K]
  - Dereference CursorIcon Object in NtUserCallOneParam
  - Shared Icons need their bitmaps to be unowned

svn path=/trunk/; revision=48034
2010-07-14 09:54:44 +00:00
Jérôme Gardou
e393257fc3 [USER32]
- Partly merge 48026

svn path=/trunk/; revision=48031
2010-07-13 21:38:34 +00:00
Jérôme Gardou
5bf34e80d7 Svn wins by KO. Part 4 of (let's hope) 4
svn path=/branches/reactos-yarotows/; revision=48030
2010-07-13 20:45:07 +00:00
Jérôme Gardou
ae9aca9947 I'll never bet again against svn... Add forgotten file, part 3 of x (Should be the last)
Thanks Usurp.

svn path=/branches/reactos-yarotows/; revision=48029
2010-07-13 19:04:04 +00:00
Jérôme Gardou
b9761e9b01 Amine lost his bet, part 2 of x
svn path=/branches/reactos-yarotows/; revision=48028
2010-07-13 18:56:03 +00:00
Jérôme Gardou
8de79262a5 [WIN32K]
- Remove useless chack and comment from UserDrawIconEx

svn path=/branches/reactos-yarotows/; revision=48027
2010-07-13 18:38:19 +00:00
Jérôme Gardou
d25782346f [USER32]
- exchange mask and color bitmaps if needed in CreateIconIndirect
[WIN32K]
  - Simplify a bit UserDrawIconEx

svn path=/branches/reactos-yarotows/; revision=48026
2010-07-13 18:32:33 +00:00
Jérôme Gardou
9370b362e1 Forgotten files, part 1 of x
svn path=/branches/reactos-yarotows/; revision=48025
2010-07-13 18:09:55 +00:00
Jérôme Gardou
4553986560 Sync with trunk (r48008)
Bets are open : will this break anything?

svn path=/branches/reactos-yarotows/; revision=48024
2010-07-13 17:46:03 +00:00
Cameron Gutman
17f5ddd1e0 [WS2_32]
- Update the catalog ID when we locate the matching provider
- mswsock from aicom-network-branch can successfully create sockets now

svn path=/trunk/; revision=48023
2010-07-13 00:54:52 +00:00
Cameron Gutman
a37a8bfe92 [AFD]
- Implement IOCTL_AFD_GET_TDI_HANDLES

svn path=/trunk/; revision=48020
2010-07-12 22:56:37 +00:00
Daniel Reimer
c88bff245c Thanks to Samuel Serapion and his trout, explaining me my fault.
svn path=/trunk/; revision=48019
2010-07-12 19:55:52 +00:00
Cameron Gutman
6ce27e86b9 [DNSAPI]
- Merge r45450 from aicom-network-branch

svn path=/trunk/; revision=48018
2010-07-12 19:36:42 +00:00
Daniel Reimer
795f1b72e1 Tidy up tree from duplicate files.
svn path=/trunk/; revision=48017
2010-07-12 19:25:20 +00:00
Cameron Gutman
67f5ef564f [PSDK]
- Add the missing WSANO_ADDRESS definition

svn path=/trunk/; revision=48016
2010-07-12 19:21:11 +00:00
Daniel Reimer
a71a4c7943 Forgot to remove the old libpng.
svn path=/trunk/; revision=48015
2010-07-12 19:07:39 +00:00
Daniel Reimer
812e29c75a Update libjpeg from 6b to 8b.
Add a new libpng 1.4.3 to main tree, linked dynamically, as libjpeg is, too.
Add libtiff 3.9.4, linked dynamically, too.
Enable both libs in wine/config.h which results in working png and tiff support in windowscodecs.dll

svn path=/trunk/; revision=48014
2010-07-12 19:05:15 +00:00
Daniel Reimer
7e93e6537f remove the old and static linked libpng. A new one will follow into the main tree, linked as dll for windowscodecs.dll.
svn path=/trunk/; revision=48013
2010-07-12 19:02:47 +00:00
Cameron Gutman
2d0076856f [WINSOCK]
- Merge r48011 from aicom-network-branch

svn path=/trunk/; revision=48012
2010-07-12 18:58:17 +00:00
Cameron Gutman
5ed63500c2 [MSAFD, PSDK]
- Merge part of r45435

svn path=/trunk/; revision=48010
2010-07-12 18:41:41 +00:00
Cameron Gutman
525e7111c4 [WINSOCK]
- Add winsock headers required for the new mswsock code

svn path=/trunk/; revision=48009
2010-07-12 18:31:45 +00:00
Jérôme Gardou
0b5d0c20e8 [USER32]
- Rewrite support of cursors, icons and bitmaps in user32.dll, based from WINE implementation.
One file to rule them all.
Now user32::cursoricon winetests don't crash anymore.

svn path=/trunk/; revision=48008
2010-07-12 17:49:59 +00:00
Jérôme Gardou
74cae57136 [WIN32K]
- Get rid of rosdc::hVisRgn, as in yarotows (r46372)

svn path=/trunk/; revision=48007
2010-07-12 16:52:10 +00:00
Daniel Reimer
13ef18576c Forgot one kernel32 include.
svn path=/trunk/; revision=48006
2010-07-12 15:31:49 +00:00
Amine Khaldi
cd21d25fc7 [LIB/RTL]
- Get rid of some unneeded assignment, cast and a variable.

svn path=/trunk/; revision=48005
2010-07-12 14:50:31 +00:00
Daniel Reimer
1aa82b4f2c Reapply the idea of r44368. Remove the "kernel32" library reference in all .rbuild files of user-mode modules, because this one is already added by "mingw_common".
Add SuperFinder XT to rapps.

svn path=/trunk/; revision=48004
2010-07-12 10:35:11 +00:00
Pierre Schweitzer
17458060a5 [NTOSKRNL]
Merging some stuff from pierre-fsd/arty-newcc branches:
- Implemented FsRtlDissectDbcs(), FsRtlIsDbcsInExpression(), FsRtlIsFatDbcsLegal(), FsRtlIsHpfsDbcsLegal()
- Implemented FsRtlIsNameInExpressionPrivate()
- Rewritten FsRtlIsNameInExpression()
- Updated comments
About FsRtlIsNameInExpressionPrivate(), it comes with a fix there isn't in branch, which avoids reading string more than its own length, and this helps getting rid of a workaround later in code.

svn path=/trunk/; revision=48002
2010-07-11 21:31:14 +00:00
Sylvain Petreolle
604a7a51ed Properly skip known crasher in gdi32:metafile test.
Commit 48k dedicated to dreimer

svn path=/trunk/; revision=48000
2010-07-11 19:11:51 +00:00
Sylvain Petreolle
cbc71e8180 Implement _osplatform
Import _makepath_s and _wmakepath_s from Wine.
Passes msvcrt data and dir tests.

svn path=/trunk/; revision=47999
2010-07-11 16:25:30 +00:00
Eric Kohl
b7bf7335b9 [ADVAPI32]
Move event tracing functions to the proper file.

svn path=/trunk/; revision=47998
2010-07-11 12:05:35 +00:00
Eric Kohl
98e2b9fe96 [ADVAPI32]
Remove unused code.

svn path=/trunk/; revision=47997
2010-07-11 09:45:54 +00:00
Eric Kohl
abed1067fc [ADVAPI32/LSASRV]
- Export LsaLookupPrivilegeName.
- Move mockup code from advapi32 to lsasrv (LsaLookupSids --> LsarLookupSids).
- Make LsaLookupSids call the server function LsarLookupSids.

svn path=/trunk/; revision=47996
2010-07-11 09:33:44 +00:00
Aleksey Bragin
2d3333aa11 [WINLOGON]
- Create window station with all access rights.

svn path=/trunk/; revision=47992
2010-07-11 08:07:52 +00:00
Aleksey Bragin
bc5435e23f - Fix a typo.
svn path=/trunk/; revision=47991
2010-07-10 21:39:55 +00:00
Sylvain Petreolle
e2a0a87a41 Revert rpcrt4 to 99% previous state :
-keep out unix functions
-keep checks that prevent crashes in rpc cstub and rpc winetests

Patch By Samuel Serapion.


svn path=/trunk/; revision=47990
2010-07-10 19:31:06 +00:00
Sylvain Petreolle
b3d626d1bd Fixup some base address after mshtml growup.
svn path=/trunk/; revision=47989
2010-07-10 18:47:45 +00:00
Sylvain Petreolle
9b2895628c Also update comdlg32 address.
svn path=/trunk/; revision=47988
2010-07-10 14:34:20 +00:00
Sylvain Petreolle
5bd00143b5 Update comctl32 base address.
Avoids inetcomm related comctl32 relocations.

svn path=/trunk/; revision=47986
2010-07-10 13:11:28 +00:00
Amine Khaldi
baea2e4b5c [NTOS]
PnpBusTypeGuidGet : Really return status.
Dedicated to Richard ;)

svn path=/trunk/; revision=47985
2010-07-10 10:34:45 +00:00
Sylvain Petreolle
01e297699a Forgot to svn add this in previous commit, my bad.
svn path=/trunk/; revision=47983
2010-07-09 21:05:01 +00:00
Sylvain Petreolle
850598a5f5 Import DnsNameCompare, DnsValidateName, DnsRecord* functions from Wine.
Fixes dnsapi:name tests.
Patch by Samuel Serapion.


svn path=/trunk/; revision=47982
2010-07-09 20:56:12 +00:00
Pierre Schweitzer
b50d23da11 [FASTFAT]
Check PathName length before accessing it. This fixes ntdll_winetest file test BSOD. But the test crashes a bit farther.

svn path=/trunk/; revision=47981
2010-07-09 19:39:55 +00:00
Amine Khaldi
ac309351d3 [DDK]
- Remove ntddscsi.h
[PSDK]
- Import ntddscsi.h from mingw-w64.

svn path=/trunk/; revision=47979
2010-07-09 14:39:28 +00:00
Sylvain Petreolle
697fc48c13 Sync __crtGetStringTypeW from Wine.
Fixes msvcrt:locale crash.


svn path=/trunk/; revision=47978
2010-07-09 14:33:03 +00:00
Aleksey Bragin
52ee3d51b4 [FORMATTING]
- Fix wrong indentation.

svn path=/trunk/; revision=47977
2010-07-09 13:04:33 +00:00
Amine Khaldi
3d25efc5cf Ukrainian translation patch for mstsc, notepad, paint, regedit, cmd, aclui, newdev and syssetup. By Igor Paliychuk (Igor-hkr[at]mail.ru)
svn path=/trunk/; revision=47974
2010-07-08 22:07:23 +00:00
Gabriel Ilardi
2c261ebb98 [NTOSKRNL]
- Warn only once about FsRtlPrivateLock and FsRtlFastUnlockSingle being stubplemented.

svn path=/trunk/; revision=47972
2010-07-08 19:28:25 +00:00
Daniel Reimer
87ae6722bb Forgot to remove some now useless header
svn path=/trunk/; revision=47971
2010-07-08 18:44:59 +00:00
Daniel Reimer
ba086d41dd Sync rpcrt4 to Wine 1.2rc6 (Samuel Serapion)
http transport support commented out.
Remove unix functions that are no longer needed.
Comment out check in cpsf.c that caused 2nd stage dll registrations to fail.
All rpcrt4 tests no longer crash.

svn path=/trunk/; revision=47970
2010-07-08 18:39:18 +00:00
Gabriel Ilardi
9919e408d5 [MSIMTF]
- Silence debug spam again, lost after syncing.

svn path=/trunk/; revision=47969
2010-07-08 15:34:30 +00:00
Daniel Reimer
0c6baa560c Sync format_msg from kernel32 (Samuel Serapion)
Winetest now passes with 0 errors.

svn path=/trunk/; revision=47968
2010-07-08 15:20:46 +00:00
Amine Khaldi
aae7364207 [PSDK]
- Update DPFLTR_TYPE enum.
[NTOSKRNL]
- Update kdbg/kdb_cli.c accordingly.

svn path=/trunk/; revision=47967
2010-07-07 22:29:21 +00:00
Pierre Schweitzer
1781e13d31 [NTOSKRNL]
Implement volume mount notification in RawFS

svn path=/trunk/; revision=47965
2010-07-07 20:27:04 +00:00
Sylvain Petreolle
358331354d [CRT]
-Export memmove_s and memcpy_s
-Implement rnd_s


svn path=/trunk/; revision=47964
2010-07-07 20:05:47 +00:00
Daniel Reimer
5fd439a72e Ukrainian translation Update for taskmgr (Igor Paliychuk)
svn path=/trunk/; revision=47963
2010-07-07 17:45:49 +00:00
Daniel Reimer
d2c167121b This was not meant to be committed at all. the recent resources were much better and should stay
svn path=/trunk/; revision=47962
2010-07-07 14:10:19 +00:00
Daniel Reimer
6e4a54d5b5 Sync devenum, atl, comctl32, comdlg32, cryptdlg, cryptui, hhctrl, itss, jscript, mapi32, msacm32, mshtml, msi, msimtf, oleacc, pstorec, shdoclc, shdocvw, shlwapi, snmpapi, urlmon, usp10, uxtheme, windowscodecs, wldap32, wtsapi32, wuapi, xinput1_3
svn path=/trunk/; revision=47961
2010-07-06 23:29:26 +00:00
Sylvain Petreolle
baeea629ab sysreg doesn't like rain of SEMI-STUB debug
svn path=/trunk/; revision=47960
2010-07-06 20:01:55 +00:00
Pierre Schweitzer
0a78b4958c Fix a FIXME in fastfat driver which also fixes a BSOD in kernel32 path winetest
svn path=/trunk/; revision=47959
2010-07-06 18:39:09 +00:00
Michael Martin
df7159d459 - Implement DeviceHandleToUsbDevice and remove IsHandleValid.
- Add call to DeviceHandleToUsbDevice for all Direct Call functions that pass DeviceHandle.
- Stop the processing of Asynchronous List after the Control Request has been processed by controller.
- Misc changes.

svn path=/trunk/; revision=47958
2010-07-06 12:02:33 +00:00
Daniel Reimer
f1023cae8f Update package database to contain all winetests. This makes it possible to even use them in testman.
svn path=/trunk/; revision=47957
2010-07-06 10:31:24 +00:00
Daniel Reimer
1a0a71b131 Add amstream, atl and avifil32 winetests.
Sync opengl32, powrprof and fix quartz's testlist

svn path=/trunk/; revision=47956
2010-07-06 09:44:43 +00:00
Daniel Reimer
1538f60ca3 Reenable a disabled feature of actxprxy which builds now with the new shell32 headers
svn path=/trunk/; revision=47955
2010-07-06 09:40:55 +00:00
Daniel Reimer
ef1db99fd9 Sync shell32 and mshtml winetests (this time with modified testlist.c). This will unbreak build again :-P
svn path=/trunk/; revision=47954
2010-07-05 23:00:52 +00:00
Daniel Reimer
d848c9746e Sync most idl files with Wine head. (Samuel Serapion)
Modify shell32 and uuid to work with the new idls.
This will break build till next commit.

svn path=/trunk/; revision=47953
2010-07-05 23:00:19 +00:00
Daniel Reimer
e96b3a5001 Next try, this time not converted to utf-8 and it seems to work.
svn path=/trunk/; revision=47952
2010-07-05 21:22:50 +00:00
Daniel Reimer
a16e12a7f5 Revert the cmd Translation on demand of the author.
svn path=/trunk/; revision=47951
2010-07-05 21:10:08 +00:00
Cameron Gutman
5b40543137 [QMGR]
- Reapply r47268 to fix DHCP

svn path=/trunk/; revision=47950
2010-07-05 16:19:14 +00:00
Sylvain Petreolle
23caea8334 unix has no io.h.
move its include to a _WIN32 block.

svn path=/trunk/; revision=47948
2010-07-05 12:43:09 +00:00
Daniel Reimer
007f159c23 /me hides deep in the dark of loong warning messages
svn path=/trunk/; revision=47946
2010-07-05 11:39:50 +00:00
Daniel Reimer
63ab1f1ca4 update wine's unicode app to 1.2rc6. (Samuel Serapion)
update kernel32 nls files to be able to build it with the new unicode tool.
convert the cmd rc files to utf-8 to fix building.
Apply Igor Paliychuk's Ukrainian translation Patch.

svn path=/trunk/; revision=47945
2010-07-05 11:36:22 +00:00
Daniel Reimer
b09b99163c Silence zlibs warnings (Samuel Serapion)
Update eeadme.wine

svn path=/trunk/; revision=47944
2010-07-05 11:29:24 +00:00
Daniel Reimer
9575756595 Remove one leftover which is not really needed. Thx to Samuel for kicking me to get my attention ;-)
svn path=/trunk/; revision=47943
2010-07-04 20:27:45 +00:00
Sylvain Petreolle
a4f8711e85 fix widl unix build.
svn path=/trunk/; revision=47942
2010-07-04 20:20:10 +00:00
Kamil Hornicek
273ff27b45 Update test lists for winetests too.
svn path=/trunk/; revision=47941
2010-07-04 19:57:31 +00:00
Daniel Reimer
35ea427b73 Update WIDL to Wine 1.2 rc6 + sync/modify two idl files making problems with the new widl. Patch by Samuel Serapion, tested by me
svn path=/trunk/; revision=47940
2010-07-04 19:52:38 +00:00
Daniel Reimer
29257b1ed2 Sync advapi32, gdi32, gdiplus, inetmib1, kernel32, mlang, msi, msvcrt, ntdll, oleaut32, rpcrt4, secur32, setupapi, shdocvw, shlwapi, snmpapi, twain_32, urlmon, user32, userenv, usp10, winhttp, wininet, wintrust, ws2_32 winetests to Wine 1.2rc6
svn path=/trunk/; revision=47939
2010-07-04 19:08:47 +00:00
Daniel Reimer
7177af5502 Another updated wine header to fix some synched winetest's build process.
svn path=/trunk/; revision=47938
2010-07-04 19:06:38 +00:00
Matthias Kupfer
c7119e7226 Katayama Hirofumi MZ <katayama DOT hirofumi DOT mz AT gmail DOT com>
- Preperation of quick preview für themes.
- See issue #5487 for details.

svn path=/trunk/; revision=47937
2010-07-04 16:40:03 +00:00
Eric Kohl
d9e47e9039 [ADVAPI32/LSASRV]
- Implement LookupPrivilegeNameW and LsaLookupPrivilegeName.
- Move lookup code from LookupPrivilegeNameW and LsarLookupPrivilegeValue into a separate file.

svn path=/trunk/; revision=47936
2010-07-04 12:51:39 +00:00
Daniel Reimer
d757f2ea25 Some more psdk updates needed for winetests.
svn path=/trunk/; revision=47935
2010-07-04 00:30:37 +00:00
Eric Kohl
66f17acd8f [ADVAPI32/LSASRV]
- Implement LookupPrivilegeValueW and LsaLookupPrivilegeValue.
- Move lookup code from LookupPrivilegeValueW to LsarLookupPrivilegeValue.

svn path=/trunk/; revision=47934
2010-07-03 22:51:44 +00:00
Daniel Reimer
35deb4dbb9 Update libxml to 2.7.7
Resync zlib to 1.2.5.
Patch by Samuel Serapion and some lil includes cleanup by me.

svn path=/trunk/; revision=47933
2010-07-03 22:34:05 +00:00
Daniel Reimer
a15dcc4250 Sync advapi32, comctl32, crypt32, cryptui, cryptnet, fusion, gdi32, gdiplus, hlink, imm32, jscript, kernel32, localspl, msacm32, mscms, msi, mstask, msvcrtd, msxml3, ntdll, ole32, pdh, psapi, quartz, rasapi32, riched20 AND rsaenh Winetests.
TBD mshtml, shell32, oleaut32 which still fail to build here

svn path=/trunk/; revision=47931
2010-07-03 12:45:23 +00:00
Daniel Reimer
74b08b2f54 Sync aclui, advapi32, atl, authz, kernel32, msi, oledlg, powrprof, qmgr, riched20, samlib to Wine 1.2rc5
Update some psdk Headers to get some more synched winetests build

svn path=/trunk/; revision=47930
2010-07-03 12:42:55 +00:00
Michael Martin
c11b4add2f [win32k]
- Remove old win32k timer code.

svn path=/trunk/; revision=47929
2010-07-03 12:37:51 +00:00
Michael Martin
6027c26e60 [win32k]
- Forgotten in r47924. Change name of BOOL parameter for UserSetCursorPos to better describe its purpose as done in c source.

svn path=/trunk/; revision=47927
2010-07-03 11:46:08 +00:00
Michael Martin
cfc7748e23 [usb/usbehci]
- Implement FdoDispatchInternalDeviceControl and remove IrpStub as its no longer needed.
- Implement Direct Call RemoveUsbDevice.
- Implement URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE.
- Use the port parameter in ExecuteControlRequest.
- Windows now identifies my thumb drive as a mass storage device.

svn path=/trunk/; revision=47926
2010-07-03 11:40:58 +00:00
Michael Martin
e769090231 [win32k]
- Revert changes done in 47325 which partially broke mouse hooks.
- If the UserSetCursorPos is reached due to SetCursorPos, dont generate a mouse move message or call mouse hooks.

svn path=/trunk/; revision=47924
2010-07-02 10:49:11 +00:00
Daniel Reimer
f403974604 Partially revert dnsapi changes as demanded by Samuel Serapion.
Update the banner.bmp in credui.

svn path=/trunk/; revision=47922
2010-07-01 14:00:03 +00:00
Johannes Anderwald
f2d29b70d7 [KS]
- Fix bogus debug print leading to buffer overflow

svn path=/trunk/; revision=47921
2010-07-01 11:59:42 +00:00
Daniel Reimer
913e2d6b7f Sync avifil, credui, crypt32, cryptdlg, cryptui, dnsapi, gdiplus, hhctrl, hnetcfg, iccvid, imaadp32, imm32, jscript, localspl, localui, mapi32, mciavi32, mcicda, mciqtz32, mciseq, mciwave, mshtml, msrle32, msvfw32, msvidc32, msxml3, oleacc, oleaut32 to Wine 1.2rc5 (Samuel Serapion, small changes by me)
Remove Esperanto and Walon languages from comctl32, comdlg32, mpr, msi, shlwapi, wininet

svn path=/trunk/; revision=47920
2010-07-01 11:09:47 +00:00
Daniel Reimer
247f3945f9 Ukrainian translation Updates (Igor Paliychuk)
svn path=/trunk/; revision=47919
2010-07-01 08:08:04 +00:00
Amine Khaldi
5a8354d8ed [PSDK]
- Fix EVENT_FILTER_DESCRIPTOR redefinition.

svn path=/trunk/; revision=47918
2010-06-30 19:36:36 +00:00
Matthias Kupfer
dd54fd1837 - move set of msg-time (for messages) back to msg queue (msg time is needed for all mouse events not only mouse move)
- ClickLock will work again

svn path=/trunk/; revision=47917
2010-06-30 18:40:20 +00:00
Sylvain Petreolle
576026667c Fix typo.
Dedicated to Physicus

svn path=/trunk/; revision=47916
2010-06-30 17:19:23 +00:00
Michael Martin
ba87cb4d4d [win32k]
- Remove dead code as in the old SetTimer and KillTimer functions.

svn path=/trunk/; revision=47915
2010-06-30 11:00:21 +00:00
Daniel Reimer
c533c98d1c Added Fox Audio Player to rapps and some more fixes. (Igor Paliychuk, myself)
svn path=/trunk/; revision=47914
2010-06-30 10:19:30 +00:00
Daniel Reimer
e0887a8e63 Add Visual C++ 2008 SP1 runtime to rapps and rename the others correctly.
svn path=/trunk/; revision=47913
2010-06-30 07:15:16 +00:00
evb
23b4ebaf89 Implemented IRP dispatch to work in new PCI driver (PciDispatchIrp), fill out FDO IRP handlers which all stubs now, make up/down-call work (PciPassIrpFromFdoToPdo, PciPassDownIrp)
Added the helper debug routines
PCI driver receive IRP_QUERY_INTERFACE now and hit stub


svn path=/trunk/; revision=47912
2010-06-30 01:39:21 +00:00
James Tabor
0a31855a87 [Win32k]
- Set caret blink rate for global server information too.

svn path=/trunk/; revision=47911
2010-06-29 22:13:13 +00:00
Johannes Anderwald
e8f968cbaa [PORTCLS]
- Check if there is a silence buffer available when there is no audio mapping available
- ignore failure for allocation requirements

svn path=/trunk/; revision=47909
2010-06-29 21:14:09 +00:00
Sir Richard
1ebaa1cc0b [PCIX]: Fix 17 different bugs in the new PCI driver. ACPI and PCI IRQ Routing table detection now works, ACPI table mapping doesn't crash anymore, PciGetRegistryValue doens't always fail, some DPRINTs fixed, added missing "continues", "breaks", and early-"returns". Fixed missing, or extra "!"s. If you're going to try being clever with do while FALSE loops, get 'em right!
The driver now works up to the point where eVb has last committed his code.

svn path=/trunk/; revision=47908
2010-06-29 20:21:45 +00:00
Sir Richard
ec783fe1df [RTL]: RangeList APIs should not be allocating pool with a tag of 0, since this makes the checked kernel ASSERT. Good thing nobody used these APIs (I wonder if they even work), but eVb's PCI driver now does.
svn path=/trunk/; revision=47907
2010-06-29 19:23:16 +00:00
Michael Martin
c95cec3745 [win32k]
- Change percision of win32k timers to 0.5 miliseconds.
- Remove Destroy parameter from FindTimer as it is just odd and call RemoveTimer where needed.
- PostTimerMessages: No need to continue looping the remainder of the timers once the target timer has been found and message posted to message queue.

svn path=/trunk/; revision=47906
2010-06-29 14:37:52 +00:00
Gabriel Ilardi
23e550f75e [EVENTVWR]
- Polish update by Maciej Bialas.

svn path=/trunk/; revision=47905
2010-06-29 10:29:30 +00:00
Daniel Reimer
a1b90e2497 Update Thunderbird and FireFox in rapps.
svn path=/trunk/; revision=47902
2010-06-29 06:31:00 +00:00
Timo Kreuzer
f2d9480a4f [WS2_32_NEW]
Fix WSAAccept parameter (DWORD -> DWORD_PTR)

svn path=/trunk/; revision=47901
2010-06-28 21:36:28 +00:00
Timo Kreuzer
b40e7f0e03 [WINMM]
Fix a number of 64bit issues, add some comments where the code is not 64 bit safe. This module should be synced with wine, but this still causes a problem with Flash videos on FF2 (likely another timer problem)

svn path=/trunk/; revision=47900
2010-06-28 20:58:30 +00:00
Cameron Gutman
e49b6bfe34 [DHCPCSVC]
- Discover adapters synchronously again until a bug (possibly a race condition) is fixed
- DHCP failure in certain situations is fixed now

svn path=/trunk/; revision=47899
2010-06-28 18:50:19 +00:00
evb
6d5d099e85 Implement Root Bus FDO AddDevice codes, get boot config, connect to HAL or ACPI config handlers (PciQueryForPciBusInterface, PciGetConfigHandlers), read BUS FDO hack flag, get _HPP HotPlug PCI ACPI data and initialize arbiter support.
PciGetHotPlugParameters work but no PCI HotPlug support on my machines, so cannot test ACPI data, that part stub now
Add PciFdoDispatchTable, PciFdoDispatchPnpTable, PciFdoDispatchPowerTable but all stub to PciIrpNotSupported however set correct IRP Dispatch Style for the IRPS
Arbiter support in PciInitializeARbiters done, but PciInterfaces array is NULL (stub) at moment
Add PCI_SIGNATURE, PCI_STATE, PCI_DISAPTCH_STYLE type, add PciInitializeState to begin the state support
Add structure for PCI_FDO_EXTENSION, PCI_SECONDARY_EXTENSION, PCI_INTERFACE, PCI_ARBITER_INSTANCE, PCI_DISPATCH_TABLE
PCI utility functions added: PciFindParentPciFdoExtension, PciInsertEntryAtTail, PciInsertEntryAtHead, PcipLinkSecondaryExtension, PciGetDeviceProperty, PciSendIoctl
Need sir_richard to add arbiter.h header to define ARBITER_INSTANCE for finish support
This 1000 more codes done now~

svn path=/trunk/; revision=47898
2010-06-28 17:30:35 +00:00
evb
ce6c5dd121 Missing PCI_BUS_DRIVER_INTERNAL added to bugcodes. Thx for sir_richard to show me how to add.
svn path=/trunk/; revision=47897
2010-06-28 17:21:16 +00:00
Sylvain Petreolle
f5a06bcb50 Fix midiOutOpen and midiInOpen prototypes.
svn path=/trunk/; revision=47896
2010-06-28 16:59:17 +00:00
Michael Martin
c4915f13f1 [win32k]
- Only the CompletionCallback member determines if a callback is needed. Checking the SenderReturn is unwanted and this variable was never initialized which could cause bogus callback attempts. Just remove the BOOL variable SenderReturned and directly check if Message->DispatchingListEntry.Flink is NULL before attempting to remove the message from senders queue.  Noticed by Timo.

svn path=/trunk/; revision=47895
2010-06-28 12:05:49 +00:00
evb
1d4fa18cdc Begin implement full PCI Bus Driver. code by me comments by sir_richard to avoid Engrish
DriverEntry full 100% implemented, ACPI WatchDog detect, PCI IRQ Routing detect, PCI errata/hackflag detect (PciGetDebugPorts not support, need PCI Debug Device to test)
Native (S)ATA, PCI BIOS Resource Lock, System Errata/Hackflag also is detect
HAL Hoooking enabled, callbacks stub
Stub PnP Interfaces: PciAddDevice, PciDriverUnload, PciDispatchIrp
PCI utility routines: PciUnicodeStringStrStr, PciStringToUSHORT, PciIsSuiteVersion, PciIsDatacenter, PciOpenKey, PciGetRegistryValue, PciBuildDefaultExclusionList done
PCI Verifier Support for future: PciVerifierInit/PciVerifierProfileChangeCallback (stub)
Thank you for much patience~ This 1200 first codes, have 12000 codes more to come!~~


svn path=/trunk/; revision=47894
2010-06-28 05:23:31 +00:00
Sir Richard
e1b8cfb906 [NDK]: Add some missing RTL Range Functions needed by eVb.
svn path=/trunk/; revision=47893
2010-06-28 04:26:18 +00:00
Sir Richard
2f23c40c67 [ACPI]: Share ACPI table structures and NT-specific registry data in a shared, internal ACPI header, instead of HAL's internal headers, because FreeLDR, the kernel's PnP Manager, the PCI Bus Driver and the ACPI Driver all need access to these types as well.
svn path=/trunk/; revision=47892
2010-06-28 04:25:38 +00:00
Timo Kreuzer
641c5d6ab8 [WINEMP§.ACM]
Define WIN32 to fix compilation for anything else than x86

svn path=/trunk/; revision=47891
2010-06-28 02:56:08 +00:00
Timo Kreuzer
e1ba256aed [WINED3D]
Fix prototype of wined3d_event_query_supported (BOOL != HRESULT)

svn path=/trunk/; revision=47890
2010-06-28 02:27:53 +00:00
Timo Kreuzer
c2da054c20 usurp: Physicus: better use </if> in .rbuild ;)
So be it.

svn path=/trunk/; revision=47889
2010-06-28 01:29:27 +00:00
Timo Kreuzer
c0cf67d988 build w32knapi only for x86
svn path=/trunk/; revision=47888
2010-06-28 00:32:35 +00:00
Sir Richard
55c95b78f9 [PCI]: Add pciclass.rc to use the pciclass.mc/res-generated file by MC. eVb can now start committing his driver.
svn path=/trunk/; revision=47887
2010-06-28 00:02:20 +00:00
Sir Richard
079e15a99e [PCI]: Add PCI IRQ Routing Table structure to Shared, Internal PCI Header (based off the Microsoft Spec and the Apple SMBIOS Header).
[PCI]: Remove HAL-internal PCI definitions from the existing "Shared/Internal" PCI Header which existed in NTOS's private include directory, and move them to HAL-internal headers.
[PCI]: Remove remaining shared PCI definitions from that same header, and put them in the new Shared/Internal PCI Header.
[PCI]: Remove duplicated PCI definitions from FreeLDR, and use thw new Shared/Internal PCI Header.

svn path=/trunk/; revision=47886
2010-06-27 23:54:47 +00:00
Sir Richard
cdbd59e260 [PCI]: Add the PCI_ENABLE_BRIDGE definitions that can be present in PCI_COMMON_CONFIG/type1/BridgeControl. Microsoft does not document these in the public PCI headers, but the definitions were found in the Singularity headers. eVb's PCI driver uses these.
svn path=/trunk/; revision=47885
2010-06-27 22:22:34 +00:00
Timo Kreuzer
9322109bcf [USER32]
Merge from amd64 branch:

36987:
- Fix user32 compilation errors. (Samuel Serapion)
36988:
- Make user32 compile and link by defining Get/SetClass/WindowLongPtrA/W (Stefan Ginsberg)
41480:
- Fix 64bit issues, add a wine compatibility hack (Timo Kreuzer)
41540:
- Make parameters for NtUserCallOneParam and NtUserCallTwoParam DWORD_PTR instead of DWORD (Timo Kreuzer)
43965:  (Samuel Serapion)
- Fix several user32 warnings.
- Sync GetWindow*A/W with wine and unify all versions, commenting out a wine hack.
- As a bonus implement GetWindowLongPtrA/W.
- Tested to work in trunk.
43992:
- Fix user32 build.  (Samuel Serapion)
45124:
- Fix user32 build. (Samuel Serapion)
47472:
- Remove wine hack and allow user32 to compile again. (Samuel Serapion)
47878: (Timo Kreuzer)
- Use UlongToHandle instead of LongToHandle
- case to ULONG_PTR instead of using HandleToUlong
- SetSysColorsTemp: don't truncate the pointer sized n value, remove a comment
- IntGetClsWndProc: fix a bug
- IntGetWindowLong: pass !unicode to IntGetWndProc
47882:
- Make the uiLo and uiHi members of the KMDDELPARAM structure UINT_PTRs (Timo Kreuzer)

svn path=/trunk/; revision=47884
2010-06-27 22:19:17 +00:00
Sir Richard
66bec4f5b8 [PCI]: Add the 40 different PCI erratas ("hack flags") that Windows can apply to broken PCI devices. eVb's driver knowss to apply these by parsing the PCI\Parameters list. These are the actual internal symbolic names used by Microsoft, which accidentally leaked out in the Vista Errata Manager .INF file.
svn path=/trunk/; revision=47883
2010-06-27 22:17:37 +00:00
Sir Richard
495536ab69 [BOOTDATA]: Add the 176 different PCI devices that Windows knows about, and the erratas that need to be applied to make those devices work correctly. This information is processed by eVb's PCI Bus driver. 3rd-party device manufacturers, as well as Microsoft online support pages, sometimes instruct users to add new entries to this list as well, and new entries are also added by 3rd-party driver .INF files. Probably 30% of computers in the world have at least one of these devices installed.
svn path=/trunk/; revision=47881
2010-06-27 22:12:00 +00:00
Amine Khaldi
b3d42ba099 Fix a warning (treated as an error).
svn path=/trunk/; revision=47879
2010-06-27 21:37:42 +00:00
Sir Richard
12d80eeec0 [NDK]: Not Alex, not 2006, not February (27th, though), not Power Management.
svn path=/trunk/; revision=47876
2010-06-27 21:19:46 +00:00
Aleksey Bragin
5794cf44f1 [NTOS]
- Warn only once in MmSecureVirtualMemory/MmUnsecureVirtualMemory, like it was done in 47864.

svn path=/trunk/; revision=47875
2010-06-27 21:18:59 +00:00
Amine Khaldi
e53a466981 Fix Build. Seriously this time ;)
svn path=/trunk/; revision=47874
2010-06-27 21:11:57 +00:00
Sir Richard
86f4c22185 [NTOS]: VfFailDeviceNode is actuall __cdecl.
[NTOS]: Sort, update, clean-up, and add descriptions to bugcodes.mc.

svn path=/trunk/; revision=47873
2010-06-27 21:02:20 +00:00
Sir Richard
2ab1f8b0d4 [NTOS]: Add "vf" NTOS component, required NDK headers, and enable exports required for PCI driver to load.
svn path=/trunk/; revision=47872
2010-06-27 20:47:52 +00:00
Sir Richard
26f62038b8 [NTOS]: I am sorry, this is embarssing. Fix build again.
svn path=/trunk/; revision=47871
2010-06-27 20:45:15 +00:00
Pierre Schweitzer
d80d711832 Fix ARM build
svn path=/trunk/; revision=47870
2010-06-27 20:44:47 +00:00
Sir Richard
dca7e2a102 [NTOS]: My SVN is haunted. Commit missing changes?
svn path=/trunk/; revision=47869
2010-06-27 20:38:12 +00:00
Eric Kohl
4c932f1485 [NTOSKRNL]
NtDuplicateToken: Fail, if TokenType is neither TokenImpersonation nor TokenPrimary.

svn path=/trunk/; revision=47868
2010-06-27 20:13:44 +00:00
Sir Richard
9d9fede96c [MC]: Add pciclass.mc required for eVb's PCI driver. Matches resource data in Windows driver, minus typos.
svn path=/trunk/; revision=47867
2010-06-27 20:08:38 +00:00
Cameron Gutman
f4530b30f2 [DHCPCSVC]
- Use an event to signal when an adapter has been added

svn path=/trunk/; revision=47866
2010-06-27 20:05:52 +00:00
Sir Richard
763a24d9d7 - There's no such thing as PRTL_MESSAGE_RESOURCE_ENTRY, use PMESSAGE_RESOURCE_ENTRY instead.
svn path=/trunk/; revision=47865
2010-06-27 19:56:57 +00:00
Sir Richard
626e3e7295 [NTOS]: Warn only once about MmLockPageableImageSection being unimplemented.
svn path=/trunk/; revision=47864
2010-06-27 19:55:36 +00:00
Cameron Gutman
91aa625c40 [MSAFD]
- Handle the case (again) where we get passed an invalid lpErrno pointer to a WSP function
- Fixes some crashes I encountered when running Opera 9

svn path=/trunk/; revision=47863
2010-06-27 17:21:03 +00:00
Timo Kreuzer
b51143af5f The Win32ClientInfo TEB field can be bigger than the CLIENTINFO structure.
svn path=/trunk/; revision=47862
2010-06-27 15:20:34 +00:00
Sylvain Petreolle
0cd695d643 update olepro32 base address.
svn path=/trunk/; revision=47860
2010-06-27 13:26:22 +00:00
Michael Martin
429fe0b64c [win32k]
- Add Check for spwndNext being null before accessing any of the members. Fixes bugcheck when using cubicexplorer.

svn path=/trunk/; revision=47859
2010-06-27 12:36:23 +00:00
Gabriel Ilardi
4203b20f25 [EVENTVWR]
- Update Italian and Spanish translations

svn path=/trunk/; revision=47858
2010-06-26 22:14:07 +00:00
Sylvain Petreolle
9b17ccc624 french translation for eventvwr
svn path=/trunk/; revision=47857
2010-06-26 21:51:29 +00:00
Eric Kohl
e946994785 [EVENTVWR]
- Replace hard-coded column names by string resources.

svn path=/trunk/; revision=47856
2010-06-26 19:55:05 +00:00
Daniel Reimer
fe430b6d23 Update WineFile to Wine 1.2rc5
svn path=/trunk/; revision=47855
2010-06-26 14:07:37 +00:00
Daniel Reimer
195cab6a79 Update reg, xcopy, winhlp32, wordpad to Wine 1.2rc5
svn path=/trunk/; revision=47854
2010-06-26 13:56:41 +00:00
Timo Kreuzer
3be89c6184 [USER32]
ntstatus.h is in psdk, not in ddk folder.
(How did this work?)

svn path=/trunk/; revision=47853
2010-06-26 11:03:09 +00:00
Timo Kreuzer
6965f5f1f5 [DDK/XDK]
Don't auto define NO_LEGACY_DRIVERS on reactos x64 builds.

svn path=/trunk/; revision=47852
2010-06-26 10:27:25 +00:00
Eric Kohl
3c656ee009 [FORMATTING]
- Fix indentation.

svn path=/trunk/; revision=47851
2010-06-26 09:50:41 +00:00
Eric Kohl
84ab81fe4b [NTDLL]
- Add RtlCreateBootStatusDataFile() stub.

svn path=/trunk/; revision=47850
2010-06-26 09:49:31 +00:00
Michael Martin
bc5e79f42d [win32k]
- co_IntSendMessageWithCallBack is called for two reasons; for messages that originate from win32k and from user mode when using Callbacks.
For both cases do not do anything with the sendqueue member of message struct and do not add the message to the senders dispatch message list.
- In msgqueue related functions, check if the message is a nowait messages before attempting to remove and entry from the dispatch message list as it doesnt exist.
- Fixes a NonPagedPool corruption that was occurring on regtest bootcd. Thanks Caemyr for testing.

svn path=/trunk/; revision=47849
2010-06-26 09:15:32 +00:00
Timo Kreuzer
5b46128dfb [UNIATA]
Merge from amd64 branch:
44634: Make x86 specific optimizations x86 specific, use macros otherwise. (Samuel Serapion)
44639: Try to fix numerous pointer to ULONG casts. (Samuel Serapion)
47846/47847: Remove all the byteswap "optimisations" and use portable RTL byteswap functions (Timo Kreuzer)

svn path=/trunk/; revision=47848
2010-06-26 00:15:24 +00:00
Michael Martin
f4962e7c69 [usbehci]
- Use the correct offset of ROOTHUB2_CONFIGURATION_DESCRIPTOR and ROOTHUB2_INTERFACE_DESCRIPTOR to calculate needed buffer sizes. Fixes a buffer overflow crash.

svn path=/trunk/; revision=47845
2010-06-25 15:50:26 +00:00
Timo Kreuzer
c3b4cac97a [SUSPEND]
Fix compilation for amd64

svn path=/trunk/; revision=47844
2010-06-25 01:37:58 +00:00
Amine Khaldi
4f5e43f00e [PSDK]
- Add several missing VER_* definitions.

svn path=/trunk/; revision=47843
2010-06-24 22:23:02 +00:00
Johannes Anderwald
e4ee2cb533 [WDMAUD.DRV]
- Fix initialization of mmixer library

svn path=/trunk/; revision=47842
2010-06-24 11:18:16 +00:00
Johannes Anderwald
83357c470d [WDMAUD.DRV]
- Fix compilation when using USE_MMIXER_LIB #2

svn path=/trunk/; revision=47841
2010-06-24 10:54:58 +00:00
Johannes Anderwald
6aa532398f [WDMAUD.DRV]
- Fix compilation when using USE_MMIXER_LIB

svn path=/trunk/; revision=47840
2010-06-24 10:52:46 +00:00
Daniel Reimer
b8fd2e11e1 Ukrainian translation updates for usetup by Igor Paliychuk.
svn path=/trunk/; revision=47839
2010-06-23 22:38:12 +00:00
Timo Kreuzer
5e4ab4ede7 [SCSIPORT]
- undefine macros that are defined by DDK headers, before implementing the functions
- add missing definitions for amd64

svn path=/trunk/; revision=47838
2010-06-23 21:06:00 +00:00
Pierre Schweitzer
22576dee05 [IOEVENT]
Added a library containing GUIDs for PnP notifications

[BUGCODES]
Added missing bugcheck code for PnP manager

[NTOSKRNL]
- Implemented FsRtlNotifyVolumeEvent()
- Implemented IoReportTargetDeviceChange(), IoReportTargetDeviceChangeAsynchronous()
- Craplemented PpSetCustomTargetEvent() to match our actual PnP manager notifications system. This is to be rewritten
- Added support for custom notifications in IopNotifyPlugPlayNotification()
- Added use of FsRtlNotifyVolumeEvent() in RawUserFsCtrl() to notify volume state changes
- Added use of IoEvent library to ntoskrnl

[FASTFAT]
- Added use of FsRtlNotifyVolumeEvent() when successfully mounting a volume

Finally, purpose of that patch is to implement volumes events notifications. Behaviour and implementation is correct till PpSetCustomTargetEvent(). The PnP notifications manager should be rewritten to match Microsoft's one. Furthermore, it appears that in Windows, those notifications are asynchronous.

svn path=/trunk/; revision=47837
2010-06-23 19:37:22 +00:00
Timo Kreuzer
c4e6b4139a Leftover from the recent syncs
svn path=/branches/reactos-yarotows/; revision=47835
2010-06-23 19:08:31 +00:00
Sylvain Petreolle
ec3ea47bd2 Add leftover from sync, fixes build.
svn path=/branches/reactos-yarotows/; revision=47834
2010-06-23 17:46:22 +00:00
Timo Kreuzer
e279aa2082 Sync to trunk (r47832)
svn path=/branches/reactos-yarotows/; revision=47833
2010-06-23 16:21:41 +00:00
Timo Kreuzer
bbbbb74fd5 [PRIMITIVES]
- use pointer sized integers when converting handles

svn path=/trunk/; revision=47832
2010-06-23 12:40:55 +00:00
Timo Kreuzer
0959625c7e [OSKITTCP]
Use RtlUlongByteSwap / RtlUshortByteSwap for byte swapping. They are portable and intrinsics on x86.

svn path=/trunk/; revision=47831
2010-06-23 11:37:39 +00:00
Daniel Reimer
6b1edeb54a Add Ukrainian Translations to rapps by Igor Paliychuk.
Update VLC to 1.1.0

svn path=/trunk/; revision=47830
2010-06-22 21:02:37 +00:00
Pierre Schweitzer
bbb19308ea [NTOSKRNL]
Move the PDO check in IoOpenDeviceRegistryKey() to the function begin.
Requested by sir_richard.

svn path=/trunk/; revision=47829
2010-06-22 18:51:22 +00:00
Pierre Schweitzer
0ad7647067 [NTOSKRNL]
Add a macro to check for a valid PDO and use it in IoOpenDeviceRegistryKey().
Requested by sir_richard.

svn path=/trunk/; revision=47828
2010-06-22 18:47:22 +00:00
Cameron Gutman
b362a62a7e [NTOSKRNL]
- Check that the caller passed a valid PDO pointer to IoOpenDeviceRegistryKey

svn path=/trunk/; revision=47827
2010-06-22 15:53:52 +00:00
Daniel Reimer
6d3e9528cf Added comctl32.ocx, KDEWin, Mono, .net, Media Player Classic, Python, Steam, Tahoma Font and Windows Media Encoder 9 to rapps.
Updated VB6, VC2005, VC2008 links according to winetricks.

svn path=/trunk/; revision=47826
2010-06-22 07:27:43 +00:00
Cameron Gutman
f840fe0a50 [NDIS]
- Dequeue the timer earlier so the timer queue will be in a valid state if any timers are modified during the miniport's timer callback

svn path=/trunk/; revision=47825
2010-06-22 05:37:31 +00:00
Timo Kreuzer
34b41a733c [ODBC32]
Merge 41027, 41028, 44611 from amd64 branch
Update odbc32 to Wine-1.1.21.

svn path=/trunk/; revision=47824
2010-06-21 23:14:01 +00:00
Kamil Hornicek
1890649387 [NTOSKRNL]
Remove a superfluous assert (requested by sir_richard).

svn path=/trunk/; revision=47823
2010-06-21 21:42:12 +00:00
Timo Kreuzer
cfb8a35516 [CRT]
- Stubplement _controlfp_s, rand_s
- Implement _invalid_parameter, _get_invalid_parameter_handler, _set_invalid_parameter_handler
- Implement memmove_s, strncpy_s
- sync heap.c with wine
Patch by Samuel Serapion

svn path=/trunk/; revision=47822
2010-06-21 19:57:36 +00:00
Timo Kreuzer
dc9cecc4cd [NTOSKRNL]
Apply compilation fix for amd64

svn path=/trunk/; revision=47821
2010-06-21 19:15:21 +00:00
Daniel Reimer
98ba13ab43 Update the rapps download list.
Fix the SeaMonkey Mirror.

svn path=/trunk/; revision=47820
2010-06-21 19:04:09 +00:00
Johannes Anderwald
3da5d96351 [PORTCLS]
- Use FreeItem function for freeing memory instead of doing it directly

svn path=/trunk/; revision=47819
2010-06-21 18:56:30 +00:00
Johannes Anderwald
4186c83e7b [PORTCLS]
- Add sanity checks

svn path=/trunk/; revision=47817
2010-06-21 14:25:44 +00:00
Sylvain Petreolle
fa19c99aca Update base address of comdlg32.
svn path=/trunk/; revision=47816
2010-06-21 14:00:55 +00:00
Cameron Gutman
e36497a708 [NTOSKRNL]
- Resource translation isn't very effective when we don't store the translated value in the translated descriptor (Fix a typo)

svn path=/trunk/; revision=47815
2010-06-21 04:36:32 +00:00
Johannes Anderwald
b1560aa3f4 [PORTCLS]
- Fix bug in the resource list object

svn path=/trunk/; revision=47814
2010-06-20 21:17:43 +00:00
Johannes Anderwald
47904efaa6 [PORTCLS]
- Support IDrmPort / IDrmPort2 for IPortWavePci driver

svn path=/trunk/; revision=47813
2010-06-20 20:58:24 +00:00
Timo Kreuzer
1a1f6cb2d4 [MSVCRT]
bring back _swprintf export

svn path=/trunk/; revision=47812
2010-06-20 19:20:55 +00:00
Timo Kreuzer
72ad57b2de [MSVCRT]
Convert to spec. Patch by Samuel Serapion.

svn path=/trunk/; revision=47811
2010-06-20 18:04:49 +00:00
Eric Kohl
317e5d113f [NETEVENT]
- Add new netevent.dll. It is a resource dll that will be used by the event log viewer.

svn path=/trunk/; revision=47810
2010-06-20 14:58:29 +00:00
Jérôme Gardou
6b0ac7a880 apply 46848 from yarotows
[WIN32K]
    - get rid of ROS_DC::BitsPerPixel.
1 - It was a hack.
2 - Its use was inconsistent.

svn path=/trunk/; revision=47809
2010-06-20 13:11:23 +00:00
Kamil Hornicek
e87aee9b6c Reshuffle .rbuild entries so we have all files grouped by directories and in alphabetical order.
svn path=/trunk/; revision=47808
2010-06-20 12:37:12 +00:00
Johannes Anderwald
b723c54434 [PORTCLS]
- Check if resource list is provided
- Fixes a crash for irc:igorko

svn path=/trunk/; revision=47807
2010-06-19 15:56:09 +00:00
Johannes Anderwald
bb28f2cb1a [PORTCLS]
- Fix buffer overflow

svn path=/trunk/; revision=47805
2010-06-19 07:43:45 +00:00
Johannes Anderwald
4da45c3ff1 [SYSAUDIO]
- Perform all allocations / frees in dedicated alloc / free function

svn path=/trunk/; revision=47804
2010-06-19 07:26:20 +00:00
Cameron Gutman
135340e065 [MSAFD]
- Add locking to protect the socket list

svn path=/trunk/; revision=47803
2010-06-19 05:04:40 +00:00
Jérôme Gardou
a8c547f091 Merge 47800 from yarotows branch.
Changelog should have been:
[GDI32]
  - Use default LOGFONT in EnumFontFamilies if none is given.
+ ~3000 gdi32:font winetests

svn path=/trunk/; revision=47802
2010-06-18 22:46:34 +00:00
Cameron Gutman
b00db8b8a6 [NTOSKRNL]
- Fix a string termination bug in the device interface code
- Thanks to janderwald for spotting the bug

svn path=/trunk/; revision=47801
2010-06-18 21:57:07 +00:00
Jérôme Gardou
256a4e1060 [GDI32]
- Use default LOGFONT in EnumFontFamilies.
+ ~3000 gdi32:font winetests

svn path=/branches/reactos-yarotows/; revision=47800
2010-06-18 21:12:29 +00:00
Eric Kohl
e5bc385e89 [NTOSKRNL]
- Use the current partition descriptor to check for container partitions. Logical units in extended partitions become visible again but you cannot access them yet.
This fixes the first half of bug #2564.

svn path=/trunk/; revision=47799
2010-06-17 19:41:52 +00:00
Jérôme Gardou
3dbb216746 [WIN32K]
- apply r47787 to yarotows

svn path=/branches/reactos-yarotows/; revision=47797
2010-06-17 01:34:52 +00:00
Jérôme Gardou
648fe9cf65 [WIN32K]
- Delete useless file once and for all

svn path=/branches/reactos-yarotows/; revision=47796
2010-06-17 01:31:03 +00:00
Jérôme Gardou
2d0dd58947 Hopefully fail to break anything in the process of syncing with trunk (r47786)
svn path=/branches/reactos-yarotows/; revision=47795
2010-06-17 01:25:16 +00:00
Jérôme Gardou
6b86dcbae1 [ZLIB]
[NTOSKRNL]
This is the ultimate commit that makes this branch build again

svn path=/branches/reactos-yarotows/; revision=47794
2010-06-17 00:54:34 +00:00
Jérôme Gardou
968f8ac346 And now we welcome zlib to the great accomplishment of being correctly sync'ed with trunk
svn path=/branches/reactos-yarotows/; revision=47793
2010-06-17 00:27:26 +00:00
Jérôme Gardou
17d1c84850 one more step to fix svn mess
svn path=/branches/reactos-yarotows/; revision=47792
2010-06-17 00:24:29 +00:00
Jérôme Gardou
daaa55b87d [HAL]
- yet another sync fun

svn path=/branches/reactos-yarotows/; revision=47791
2010-06-17 00:20:20 +00:00
Jérôme Gardou
bb23cc5ca6 [WIN32K]
- revert part of -r47735, as it's not the good fix (tm)

svn path=/branches/reactos-yarotows/; revision=47789
2010-06-16 18:50:55 +00:00
Jérôme Gardou
57d80a50d5 [WIN32k]
- Chek if there is something to do in GDIOBJ_SetOwnership before doing it

svn path=/trunk/; revision=47788
2010-06-16 18:47:04 +00:00
Jérôme Gardou
1a601ba9e5 [WIN32K]
- Set DC_DIBSECTION dirty flag when a DIB section is selected, not when one is created.

svn path=/trunk/; revision=47787
2010-06-16 16:59:29 +00:00
Johannes Anderwald
e3b34383eb [PORTCLS]
- Fix infinite loop
- Should fix gabriel_it and igorko1 problem with KsStudio
- Add more debugging code to DumpFilterDescriptor

svn path=/trunk/; revision=47786
2010-06-16 15:41:41 +00:00
Johannes Anderwald
3c7fdc3dfa [PORTCLS]
- Return better return code for unimplemented feature

svn path=/trunk/; revision=47785
2010-06-16 14:14:33 +00:00
Eric Kohl
ca3bc68834 [SYSSETUP]
Set registry values 'PathName' and 'SystemRoot' in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion.
This fixes bug #4414.

svn path=/trunk/; revision=47784
2010-06-15 19:31:19 +00:00
Johannes Anderwald
3072b5dec6 [PORTCLS]
- Add sanity check

svn path=/trunk/; revision=47783
2010-06-15 17:29:43 +00:00
Johannes Anderwald
d6f80bd4d4 [MMIXER]
- Fix buffer overflow
- Dedicated to irc:igorko

svn path=/trunk/; revision=47782
2010-06-15 14:04:19 +00:00
Gabriel Ilardi
981690481a [REGEDIT]
- Implement hex editing. Patch by Katayama Hirofumi.
See issue #5447 for more details.

svn path=/trunk/; revision=47781
2010-06-15 10:28:01 +00:00
Kamil Hornicek
b20e4f29cd [OPENGL32]
Fixes for ICD reference counting. By Jerome Gardou
See issue #5257 for more details.

svn path=/trunk/; revision=47780
2010-06-14 13:11:51 +00:00
Kamil Hornicek
8563362b72 [OPENGL32_WINETEST]
Add opengl32 winetest, patch by Jerome Gardou.
Not used for now.

svn path=/trunk/; revision=47779
2010-06-14 12:41:15 +00:00
Daniel Reimer
59ed163b9e Sync winefile to Wine 1.2 RC3
svn path=/trunk/; revision=47778
2010-06-14 10:49:56 +00:00
Daniel Reimer
5dbfbb5201 Sync reg, xcopy, iexplore, winhlp32, wordpad, write, msiexec with Wine 1.3 RC3
svn path=/trunk/; revision=47776
2010-06-13 23:05:40 +00:00
Amine Khaldi
efa449d6f5 [XDK]
- Deduplicate FSRTL_COMMON_FCB_HEADER_LAYOUT in ntifs.h
- Move ECP_HEADER from the ntifs template to fsrtltypes.h
[DDK]
- Update ntifs.h to reflect XDK changes.

svn path=/trunk/; revision=47775
2010-06-13 13:55:30 +00:00
Johannes Anderwald
ca3e5d2a88 [BDAPLGIN, MSDVBNP, MSVIDCTL, BDASUP]
- Disable building dvb stack untill ks has the required functionality

svn path=/trunk/; revision=47774
2010-06-13 13:08:15 +00:00
Johannes Anderwald
8a5845eee6 [SNDBLST_SYS]
- Disable building

svn path=/trunk/; revision=47773
2010-06-13 12:54:16 +00:00
Johannes Anderwald
f4c57cadb5 [DRIVERS]
- Disable building of SWENUM, MPU401, CMIDriver, SPLITTER, STREAM to reduce build time
- Those modules are either unused or don't work yet due to missing functionality



svn path=/trunk/; revision=47772
2010-06-13 12:49:04 +00:00
Timo Kreuzer
226e9212dd Add missing file
svn path=/trunk/; revision=47771
2010-06-13 01:32:13 +00:00
Timo Kreuzer
ec1169363d [CRT]
- CRT update part 1/x
- sync C++ / exception related CRT code with wine
- add support for non-underscored symbols
- Patch by Samuel Serapion, slightly modified by me

svn path=/trunk/; revision=47770
2010-06-13 01:24:42 +00:00
Sylvain Petreolle
828838704e [fbtusb]
Fix include casing.


svn path=/trunk/; revision=47769
2010-06-12 20:08:29 +00:00
Timo Kreuzer
17d39f4f25 [PSDK]
- ntstatus.h: add STATUS_INVALID_CRUNTIME_PARAMETER
- winnt.h: fix 64 bit definition of SLIST_ENTRY

svn path=/trunk/; revision=47768
2010-06-12 15:09:34 +00:00
Amine Khaldi
6d224b0735 - Add some missing file-headers.
svn path=/trunk/; revision=47767
2010-06-12 14:55:02 +00:00
Eric Kohl
212d2915d2 [USBD]
Replace DWORD by ULONG to make usbd.sys build without errors.

svn path=/trunk/; revision=47766
2010-06-12 12:20:41 +00:00
Eric Kohl
9cf8c2c8da [VFATLIB]
- Get rid of the hard-coded sector size as large sector (4KB) harddisks are already available.
- When a partition is formatted, choose the FAT type according to the partition type. The size of the partition does not matter here as it is up to the caller to set the right partition type according to its size.

svn path=/trunk/; revision=47765
2010-06-12 11:20:58 +00:00
Eric Kohl
0c8457631d [FORMATTING]
Fix indentation. No code changes.

svn path=/trunk/; revision=47764
2010-06-12 10:25:18 +00:00
Johannes Anderwald
78b0fb4a21 [WDMAUD_KERNEL]
- Fix possible buffer overflow
[MMIXER]
- Add sanity checks

svn path=/trunk/; revision=47763
2010-06-12 10:21:03 +00:00
Daniel Reimer
6688715df4 Bug 5457: updated slovak translations by Mario Kacmar.
svn path=/trunk/; revision=47762
2010-06-12 09:58:22 +00:00
Cameron Gutman
37323a84c9 [FBTUSB]
- Import the FreeBT USB generic bluetooth driver (abandoned)
- Some slight modifications to make it build
- WMI is currently commented out because our WMI headers are lacking (particularly wmistr.h)
- Not building by default for now

svn path=/trunk/; revision=47761
2010-06-12 00:29:09 +00:00
Cameron Gutman
f073c977ef [USBD]
- Fix the spec file
- Fixes usbd build

svn path=/trunk/; revision=47760
2010-06-12 00:23:18 +00:00
Timo Kreuzer
c9ac3e0337 [PSDK]
Fix a typo (_AMD64 -> _AMD64_)

svn path=/trunk/; revision=47759
2010-06-11 21:48:13 +00:00
Eric Kohl
91b72f72dc [FORMATTING]
Fix indentation. No code changes.

svn path=/trunk/; revision=47758
2010-06-11 21:21:27 +00:00
Amine Khaldi
750d89765c [XDK/DDK]
- Relax INTERLOCKED_RESULT inclusion guard.

svn path=/trunk/; revision=47756
2010-06-11 17:00:49 +00:00
Amine Khaldi
42d943893a [PSDK]
- Add some missing file-headers.

svn path=/trunk/; revision=47755
2010-06-11 13:52:46 +00:00
Johannes Anderwald
2c589bd133 [WDMAUD_KERNEL]
- Perform all allocations / frees in dedicated alloc / free function

svn path=/trunk/; revision=47754
2010-06-11 12:28:10 +00:00
Amine Khaldi
af25a406cf [PSDK]
- Copy atsmedia.h from our dxsdk to our psdk (replacing the one that's already there)
- Add some missing file-headers.

svn path=/trunk/; revision=47753
2010-06-11 12:10:58 +00:00
Gabriel Ilardi
1c5a1d20a1 [SHELL32]
- Correctly show accessed and modified times in file properties dialog (they were exchanged).

svn path=/trunk/; revision=47752
2010-06-11 09:13:49 +00:00
Eric Kohl
9291284ade [USETUP]
- Set the type of the install partition even if it was not created by usetup.
This fixes bug #4368.

svn path=/trunk/; revision=47751
2010-06-11 04:13:29 +00:00
Amine Khaldi
09d662004d [FRAGINATOR]
- Add Ukrainian translation.

Patch by Igor Paliychuk - igor-hkr[at]mail[dot]ru

svn path=/trunk/; revision=47750
2010-06-10 23:29:42 +00:00
Amine Khaldi
87c3d876c8 [BROWSEUI]
- Add Ukrainian translation.
[KERNEL32]
- Add Ukrainian translation.

Patch by Igor Paliychuk - igor-hkr[at]mail[dot]ru

svn path=/trunk/; revision=47749
2010-06-10 23:28:50 +00:00
Jérôme Gardou
03eab2765a [WIN32K]
Merge GDIOBJ related changes from yarotows
  - GDIOBJ_(Share)LockObj : return NULL on NULL input, avoiding debug spew
  - Set NULL process owner when setting READY_TO_DIE flag of a gdiobj
  - So now GDIOBJ_ShareUnlockObj can claim ownership before trying to delete the object

svn path=/trunk/; revision=47748
2010-06-10 22:15:05 +00:00
Timo Kreuzer
5f2d67cb35 Sync to trunk head (r47736)
svn path=/branches/reactos-yarotows/; revision=47746
2010-06-10 20:57:03 +00:00
Gregor Schneider
14ccdeece6 [WIN32K] Use GDITAG_RBRUSH instead of hardcoding the tag
svn path=/trunk/; revision=47745
2010-06-10 20:45:58 +00:00
Amine Khaldi
a47afb4b46 [PSDK]
- Move the amd64 check before the i386 one, and also check for __i386__

svn path=/trunk/; revision=47744
2010-06-10 20:31:21 +00:00
Gregor Schneider
ae1afc8ba7 [WIN32K] Tag the remaining untagged pool allocations
svn path=/trunk/; revision=47743
2010-06-10 19:58:39 +00:00
Gregor Schneider
31de1284d4 [WIN32K]
- Tag even more pool allocations
- Remove dead code, adjust comments

svn path=/trunk/; revision=47742
2010-06-10 19:33:04 +00:00
Gregor Schneider
fdec1db734 [WIN32K] Tag more pool allocations
svn path=/trunk/; revision=47741
2010-06-10 19:20:57 +00:00
Pierre Schweitzer
80722c4d1f [NETSHELL]
Updated French translation

[PAINT]
Updated French translation

[SHELL32]
Updated French translation

[SPIDER]
Added French translation

[SYSSETUP]
Updated French translation

svn path=/trunk/; revision=47740
2010-06-10 18:58:46 +00:00
Amine Khaldi
ef171ff013 [USER32_WINETEST]
- Re-enable generated.c tests.
This commit (the previous one too) is a result of the header work reintegration.

svn path=/trunk/; revision=47738
2010-06-10 16:06:10 +00:00
Amine Khaldi
6802044fdd [NTDLL_WINETEST]
- Re-enable generated.c tests.

svn path=/trunk/; revision=47737
2010-06-10 15:55:07 +00:00
Amine Khaldi
eb3a7eb1a4 [PSDK]
- Deduplicate/improve architecture related definitions.

svn path=/trunk/; revision=47736
2010-06-10 15:35:16 +00:00
Jérôme Gardou
f57bcb3e25 [GDI32]
- DIB data is not mandatory in CreateDIBitmap
[WIN32K]
  - Simplify GreCreateDIBitmap
  - Surface data should be 16 bits aligned

svn path=/branches/reactos-yarotows/; revision=47735
2010-06-10 14:32:05 +00:00
Jérôme Gardou
cc4ef59c16 [GDI32]
- Protect CreateDIBitmap
  - Pass correct data size to NtGdiCreateDIBitmap

svn path=/branches/reactos-yarotows/; revision=47734
2010-06-10 12:58:52 +00:00
Jérôme Gardou
52ba1736b3 [WIN32K]
- Split NtGdiCreateDIBitmapInternal with its Gre Counterpart
  - Set bV5ImageSize if it was not already set
  - Probe bits we're given in NtGdiSetDIBits
  - SEHize clipboard image data access
  

svn path=/branches/reactos-yarotows/; revision=47733
2010-06-10 11:36:20 +00:00
Cameron Gutman
ec000c8544 [DHCPCSVC]
- Implement adapter discovery after startup (currently does not work because the iphlpapi code is not implemented)

svn path=/trunk/; revision=47732
2010-06-10 04:38:04 +00:00
Jérôme Gardou
4b10742ca5 [WIN32K]
- check for the type of the DC to restore to decide whether we should restore the surface
Fixes yarotows specific FF3 bug

svn path=/branches/reactos-yarotows/; revision=47731
2010-06-10 00:40:09 +00:00
Jérôme Gardou
937d830410 [ROSTESTS]
test what happens when a DC is saved and a bitmap is selected into it.

svn path=/trunk/; revision=47730
2010-06-10 00:17:06 +00:00
Cameron Gutman
8be9465a83 [ACPI]
- Create a resource list for the PCI root bus (even though it doesn't use any resources according to ACPI) and fill it with a bus number resource descriptor
- Fixes PCI device detection with ACPI enabled

svn path=/trunk/; revision=47729
2010-06-09 23:02:34 +00:00
Amine Khaldi
2d489373f9 - Fix localspl and localui build.
svn path=/trunk/; revision=47728
2010-06-09 22:28:14 +00:00
Amine Khaldi
b02092777f Reintegrate header-work branch. Important changes include continued work on headers and progress on compiling for ARM.
svn path=/trunk/; revision=47727
2010-06-09 22:24:32 +00:00
Cameron Gutman
594306cee5 [ACPI]
- Store the interrupt data as the vector and level
- Fixes resource conflict issues

svn path=/trunk/; revision=47726
2010-06-09 22:15:17 +00:00
Cameron Gutman
16f616a8de [NTOSKRNL]
- Set the resource list pointer to NULL after we free it
- Fixes a double-free issue in the resource conflict resolution code

svn path=/trunk/; revision=47725
2010-06-09 21:53:42 +00:00
Timo Kreuzer
a8ac489720 [WIN32K]
- Improve readability in SetBMIColor
- Only when BitCount is <= 8, calculate the number of colors in the table
- Fixes a crash with VBox driver

svn path=/branches/reactos-yarotows/; revision=47724
2010-06-09 20:36:04 +00:00
Cameron Gutman
186dc06a99 [PCI]
- Implement IRP_MN_REMOVE_DEVICE handling for FDOs

svn path=/trunk/; revision=47723
2010-06-09 20:12:27 +00:00
Cameron Gutman
8ebc45f80b [NTOSKRNL]
- Implement IRP_MN_REMOVE_DEVICE handling for PnP root PDOs

svn path=/trunk/; revision=47722
2010-06-09 20:04:39 +00:00
Timo Kreuzer
26a57a2a9f [WIN32K]
If pbmiSrc->bmiHeader.bV5ClrUsed is 0, calculate the number of colors from the bit depth. Fixes black taskbar icons with vbox driver on 8 bpp

svn path=/branches/reactos-yarotows/; revision=47719
2010-06-09 18:08:23 +00:00
Johannes Anderwald
a7e58af961 [MMIXER]
- Handle failure of device enumeration
- Add sanity check

svn path=/trunk/; revision=47715
2010-06-09 16:51:16 +00:00
Johannes Anderwald
1bb04a5142 [KS]
- Perform all allocations / frees in dedicated alloc / free function

svn path=/trunk/; revision=47714
2010-06-09 14:44:46 +00:00
Johannes Anderwald
db5472b519 [KS]
- Fix memory leak

svn path=/trunk/; revision=47713
2010-06-09 14:16:05 +00:00
Ged Murphy
85b59ff6ce I don't like this, but add the treeview refresh hack.
I don't see this bug on my (windows) build but others are reporting it still happens on the (linux) build machine iso.
Maybe it's because linux is akin to the devil? Yes, I like this, let's blame linux!

svn path=/trunk/; revision=47712
2010-06-09 13:31:02 +00:00
Johannes Anderwald
a1979b8e2d [PORTCLS]
- Check if resource list has been allocated

svn path=/trunk/; revision=47711
2010-06-09 13:27:19 +00:00
Timo Kreuzer
02588ba9c0 [WIN32K]
Small bug big effects: Use the correct offset when copying the BITMAPINFO, fixes taskbar icons regression.

svn path=/branches/reactos-yarotows/; revision=47709
2010-06-09 11:22:19 +00:00
Aleksey Bragin
a24aedc9d1 - Add "bootcdregtest" in the list of well-known targets.
svn path=/trunk/; revision=47708
2010-06-09 10:34:35 +00:00
Ged Murphy
6df5db960f This bug seems to have gone now. Tried to replicate it the devmgmt treeview.
svn path=/trunk/; revision=47706
2010-06-09 08:09:35 +00:00
Ged Murphy
b589f99b78 Merge second part of the comctl32 Wine 1.2 sync.
All code currently omits the reactos specific patches. It's been a long time since we synched this lib so it's possible we no longer need them. Time will tell.

svn path=/trunk/; revision=47705
2010-06-09 08:04:35 +00:00
Cameron Gutman
4829efbb66 [IP]
- Handle socket operations that can be completed immediately before terminating the socket to avoid losing data sitting in the receive buffer

svn path=/trunk/; revision=47704
2010-06-09 04:45:17 +00:00
Timo Kreuzer
8d819d4de1 [WIN32K]
- Initialize the palettes before creating any bitmaps.
- Replace SURFACE_vSetDefaultPalette with an array of default palettes.
- Check iFormat in SURFACE_AllocSurface

svn path=/branches/reactos-yarotows/; revision=47703
2010-06-09 02:57:52 +00:00
Jérôme Gardou
54e2569bf0 [GDI32]
- Header describes the bitmap to be created, not the bits we are passed.
  - Circumvent gcc weirdness (sigh...)

svn path=/branches/reactos-yarotows/; revision=47702
2010-06-09 00:18:29 +00:00
Jérôme Gardou
974e9c0c41 [WIN32K]
- More BITMAPV5INFO fun
  - Probe max size we are asked for when converting to V5 Info
[USER32] [WIN32K]
  - CreateDIBitmap : Move safety handling to win32k, where it belongs. More code cleanness!

svn path=/branches/reactos-yarotows/; revision=47701
2010-06-09 00:08:50 +00:00
Sylvain Petreolle
82cd2aad07 Merge RtlIpv4StringToAddressW fix from network branch.
svn path=/trunk/; revision=47699
2010-06-08 20:24:15 +00:00
Timo Kreuzer
74e0c79a8d [PSDK]
Merge 47681 and 47682 from header branch
- Add missing file headers
- Fix defintition of POINTER_64
- by Amine Khaldi

svn path=/trunk/; revision=47697
2010-06-08 14:31:31 +00:00
Ged Murphy
883961ce2c Move UTF8 to the bottom of the file. Thanks to Christoph for the tip
svn path=/trunk/; revision=47696
2010-06-08 11:09:32 +00:00
Ged Murphy
94fa5d4e23 Part 1 of the comctl32 sync. I'll do it in 2 stages for testing purposes as it's a very large patch.
This part includes alpha support for imagelists and tango icons for the common toolbars
I'll do the second part later today. It has a propsheet bug and I'm a bit busy at the mo.

svn path=/trunk/; revision=47695
2010-06-08 10:21:26 +00:00
Ged Murphy
e5239a070c Add missing info needed for the comctl32 sync
svn path=/trunk/; revision=47694
2010-06-08 10:16:34 +00:00
Jeffrey Morlan
9f7057e9f2 [KERNEL32], [WIN32CSR]
- Implement ReadConsoleW's CONSOLE_READCONSOLE_CONTROL structure.
- Make pressing Insert during line input work

svn path=/trunk/; revision=47693
2010-06-08 06:38:14 +00:00
Timo Kreuzer
70f1514bfd [WIN32K]
NtGdiGetDIBitsInternal: don't use the unsafe usermode pointer after the BITMAPINFO has been converted and protect writing back the result with SEH.

svn path=/branches/reactos-yarotows/; revision=47692
2010-06-08 02:27:28 +00:00
Timo Kreuzer
4625d1efa0 revert 47688 and 47689
svn path=/trunk/; revision=47691
2010-06-08 01:37:58 +00:00
Jérôme Gardou
8cecc274d8 [WIN32K]
- remove duplicate prototypes.
  - Add missing trail to debug print
  - replace some now superfluous checks on bitmap palette with sanity ASSERTS
  - begin using BITMAPV5HEADER as a default bitmap format, and introduce conversion to and from everything prior that.
Congratulations to BITMAPCOREHEADER, for its backward compatibility personal failure.

svn path=/branches/reactos-yarotows/; revision=47690
2010-06-08 00:40:42 +00:00
Timo Kreuzer
de7cdd5617 [BOOTCD]
Add cabman to bootcd. This is for diagnostic purposes.

svn path=/trunk/; revision=47689
2010-06-08 00:19:34 +00:00
Timo Kreuzer
9b4daa14f8 [ZLIB]
Revert r47411. This is a test to see if it fixes the sysreg crash in 1st stage.

svn path=/trunk/; revision=47688
2010-06-07 23:39:37 +00:00
Johannes Anderwald
65169e1f54 [WDMAUD_KERNEL]
- Extend the mdl hack

svn path=/trunk/; revision=47687
2010-06-07 23:00:04 +00:00
Sylvain Petreolle
5b8ed5479f Revert 47685.
svn path=/trunk/; revision=47686
2010-06-07 21:38:49 +00:00
Sylvain Petreolle
03b31fbc3f Enable debug in usetup. This will be reverted in next commit.
svn path=/trunk/; revision=47685
2010-06-07 21:36:37 +00:00
Sir Richard
90d92560f4 [HAL]: Use Bus Handler support for HalFindBusAddressTranslation. Implement HalpContextToBusHandler to support this. Seems to work fine with bootvid (only user).
All the HAL's bus functions now use Bus Handlers on Legacy systems. There are still big issues with PCI cards.
       eVb: PCI-x should work now.
       More PCI-related HAL patches may follow later.

svn path=/trunk/; revision=47684
2010-06-07 21:36:31 +00:00
Sir Richard
a37a4a9e07 [HAL]: Use Bus Handlers for HalpAssignSlotResources. Warn that current PCI Slot assignment code is frelled.
[HAL]: Add PAGED_CODE();
[HAL]: Fix HALACPI build break.

svn path=/trunk/; revision=47683
2010-06-07 21:26:09 +00:00
Sir Richard
1491820d8d [HAL]: Implement HalAdjustResourceList using Bus Handler support. Previous HAL said this was "deprecated" and faked success. Although correct on ACPI HALs, this is a legacy HALs, so Bus Handlers have a chance to do ajdustment.
svn path=/trunk/; revision=47680
2010-06-07 21:06:16 +00:00
Sir Richard
28bde112e1 [HAL]: Implement HalTranslateBusAddress using Bus Handler support. The old HAL would just return whatever the caller gave (no translation was done). For example, with the new HAL, this now results in the translation of 0xCF800 in I/O space to fail (not sure which driver requests this), because this is not a valid I/O address on PC/AT systems (highest is 0xFFFF).
This change also allows for the PCI driver to override the translation mechanism (which will piggy-back to the system bus translator) with its own. Please test.

svn path=/trunk/; revision=47679
2010-06-07 21:01:53 +00:00
Sir Richard
0ae7a75158 [HAL]: Implement ISA BUS address translation.
svn path=/trunk/; revision=47678
2010-06-07 20:59:46 +00:00
Sir Richard
fc0a9b1bef [HAL]: Implement system bus address translation.
svn path=/trunk/; revision=47677
2010-06-07 20:59:00 +00:00
Sir Richard
7ebba8b83c [HAL]: Implement Bus Handler support for HalGetInterruptVector too. The new functionality now includes support for checking against reserved HAL vectors instead of blindling assining IRQLs/Vectors to callers. A warning is printed on the debug log when the old HAL would've returned different values. Please test. If you have issues, the problem is in the DRIVERS, not this code.
svn path=/trunk/; revision=47676
2010-06-07 20:39:11 +00:00
Sir Richard
566408b2d9 [HAL]: Implement PCI Vector/IRQL translation too.
svn path=/trunk/; revision=47675
2010-06-07 20:37:45 +00:00
Sir Richard
6bbba6481b [HALMP]: MP HAL should have HalpDefaultInterruptAffinity too.
svn path=/trunk/; revision=47674
2010-06-07 20:37:19 +00:00
Sir Richard
edda414937 [HAL]: Forgot file.
svn path=/trunk/; revision=47673
2010-06-07 20:35:02 +00:00
Sir Richard
1b1d03c8a0 [HAL]: Implement system bus (and ISA) vector/interrupt translation.
svn path=/trunk/; revision=47672
2010-06-07 20:34:41 +00:00
Sir Richard
dcde6d79da [HAL]: Use Bus Handler support for HalSetBusDataByOffset. Please report any problems.
svn path=/trunk/; revision=47671
2010-06-07 20:13:05 +00:00
Sir Richard
cc500cbf5c [HAL]: First use of bus handler support: HalGetBusDataByOffset now uses bus handlers. Please report any problems.
svn path=/trunk/; revision=47670
2010-06-07 20:10:53 +00:00
Sir Richard
e8040d911e [HAL]: I don't like to swear, but F*CK this MiniHAL bullsh*t!
svn path=/trunk/; revision=47668
2010-06-07 18:30:20 +00:00
Sir Richard
c2677cf238 [HAL]: Plug in the data from pcidata.c that was committed months ago to display a beautiful enumeration of all PCI devices on the machine. This will allow debug logs not only to contain nearly full hardware information, but also identify the VM the tester/reporter is using (based on the device's subsystem ID).
[HAL]: Display all the warning DPRINTs in-line with the PCI enumeration code, resulting in a much easier to read and comprehensive review of the machine.

svn path=/trunk/; revision=47666
2010-06-07 17:01:56 +00:00
Sir Richard
bf8a146243 [HAL]: Implement HalpGetPciBridgeConfig to detect PCI-to-PCI/CardBus bridges, warn if they are found.
[HAL]: Modify the debug messages to be more accurate as to what exactly is unsupported.

svn path=/trunk/; revision=47665
2010-06-07 16:44:12 +00:00
Sir Richard
f098f2ae2b [HAL]: Implement partly HalpFixupPciSupportedRanges to detect PCI Bridges, and PCI-to-PCI Bridges. The point is we want buses to be cramped down to the addresses supported by the parent bus/bridge. This is NOT currently done, so we warn users of these systems.
svn path=/trunk/; revision=47664
2010-06-07 16:15:01 +00:00
Timo Kreuzer
f8a49f4c75 [WIN32K]
Introduce GreCreateBitmapEx, which has the extended functionality needed by some callers, GreCreateBitmap calls GreCreateBitmapEx to keep the simple syntax. Use it in DIB_CreateDIBSection to fix build. Also pass the size of the image (still ignored), which is needed for compressed bitmaps (we currently assume that RLEs take as much space as an uncompressed bitmap)

svn path=/branches/reactos-yarotows/; revision=47663
2010-06-07 15:55:03 +00:00
Sir Richard
9ef2a02386 [HAL]: Detect, check for, and warn about, chipset hacks that need to be applied for the machine.
svn path=/trunk/; revision=47662
2010-06-07 15:34:35 +00:00
Sir Richard
2031c565df [NTOS]: Check registry for our CardList, check if the PCI hardware matches any entry in there that specifies it has full/extended address decoding, and write the registry flag for it.
svn path=/trunk/; revision=47660
2010-06-07 15:09:44 +00:00
Sir Richard
83c3c7abb2 [HAL]: Detect IDE controllers. Their interrupts should not be masked.
svn path=/trunk/; revision=47659
2010-06-07 15:02:49 +00:00
Timo Kreuzer
a3214996fc [WIN32K]
Rewrite the bitmap API. There were a lot of bugs. NtGdiCreateBitmap allowed a negative height, leading to either topdown or bottomup bitmaps, a behaviour that Windows doesn't have. The function copied the bitmap bits directly from the caller to the bitmap using RtlCopyMemory, ignoring different scanline length and direction (resulting in bitmaps being upside down), not SEH protected. This function (IntSetBitmapBits) is replaced by a better solution UnsafeSetBitmapBits, that takes these things into account. The name is chosen to give a hint that the function can/should be SEH protected. IntSetBitmapBits is still there, as its retarded behaviour is actually required in some places. There were also IntCreateBitmap and IntGdiCreateBitmap, now both being replaced by GreCreateBitmap. The code that set the palette is removed, as it's already done in SURFACE_AllocSurface, here gpalRGB is replaced with gpalBGR, fixing some inverted color issues. The alignment correction in SURFACE_bSetBitmapBits is reapplied, now that the callers are behaving as they are supposed to do.

svn path=/branches/reactos-yarotows/; revision=47641
2010-06-06 22:01:41 +00:00
Timo Kreuzer
9a05924c62 [WIN32K]
Make the bitmap data for the extpens (making extpens bitmaps is a bad idea anyway) 4 bytes long instead of 3, to fulfill alignment requirements.

svn path=/branches/reactos-yarotows/; revision=47638
2010-06-06 20:56:58 +00:00
Sylvain Petreolle
6dd30b1f3a Forgotten in previous commit.
svn path=/branches/aicom-network-branch/; revision=47629
2010-06-06 16:46:25 +00:00
Sylvain Petreolle
bb72205f9f Fix RtlIpv4StringToAddressW prototype and its caller in ws2_32.
Fixes crash in GetAddrInfoW on xp sp3.

svn path=/branches/aicom-network-branch/; revision=47628
2010-06-06 16:33:17 +00:00
Timo Kreuzer
dd95ec9a50 [WIN32K]
Disable the additional alignment code for now, it breaks selections (text / icons)

svn path=/branches/reactos-yarotows/; revision=47619
2010-06-06 11:11:30 +00:00
Timo Kreuzer
b3317b3afb [WIN32K]
Add Windows compatible alignment code.

svn path=/branches/reactos-yarotows/; revision=47618
2010-06-06 09:09:04 +00:00
Timo Kreuzer
6068cac704 [WIN32K]
- Move RLE specific code to it's own file (rlecomp.c)
- Relace BitsPerFormat function with an array of UCHARs
- Rewrite surface creation. Surfaces are now allocated from one central function SURFACE_AllocSurface, which sets the size, iType, iUniq, the handle and the default palette.
- Implement SURFACE_vSetDefaultPalette, which sets the default RGB palette, based on bit depth.
- Implement SURFACE_bSetBitmapBits, wich sets cjBits, pvBits, pvScan0 and lDelta and allocates memory if neccessary.
- Use these functions for EngCreateBitmap, EngCreateDeviceBitmap, EngCreateDeviceSurface and IntCreateBitmap

svn path=/branches/reactos-yarotows/; revision=47612
2010-06-06 07:02:15 +00:00
Timo Kreuzer
ca7f8096ff [WIN32K]
Once again: Do not free the memory for the bitmap bits, when you have not allocated them.

svn path=/branches/reactos-yarotows/; revision=47611
2010-06-06 06:32:01 +00:00
Timo Kreuzer
f705d5861b [WIN32K]
Add another failure check to EngAllocSectionMem

svn path=/branches/reactos-yarotows/; revision=47610
2010-06-06 05:47:31 +00:00
Timo Kreuzer
98f686c8fc [WIN32K]
Do not free the memory for the bitmap bits, when you have not allocated them. Fixes bugcheck with VBox driver.

svn path=/branches/reactos-yarotows/; revision=47609
2010-06-06 05:45:36 +00:00
Timo Kreuzer
0c60cdb311 [WIN32K]
- Allocate bitmaps as kernel sections, instead of from paged pool, like it's done in windows.
- Fix SURFACE_Cleanup. It was only freeing the memory for API_BITMAPs. If memory was allocated by a driver it never got freed.
- Add BMF_RLE_HACK flag to free decompressed RLE bits
- Support FL_ZERO_MEMORY in EngAllocSectionMem
- Set SURFOBJ::iType when creating a surface

svn path=/branches/reactos-yarotows/; revision=47606
2010-06-06 03:12:56 +00:00
Timo Kreuzer
160142322e [WIN32K]
Make the SURFACE structure a bit more like the half documented windows version.

svn path=/branches/reactos-yarotows/; revision=47603
2010-06-05 21:19:41 +00:00
Timo Kreuzer
d325826ccd [WIN32K]
- Simplify the logic of the mapping functions a bit, by using either FILEVIEW or ENGSECTION, not both.
- Set FILEVIEW::LastWriteTime

svn path=/branches/reactos-yarotows/; revision=47591
2010-06-05 15:58:01 +00:00
Timo Kreuzer
ea194bb322 [WIN32K]
Implement EngCreateSection, EngMapSection, EngFreeSectionMem, EngAllocSectionMem, EngLoadModuleEx, EngLoadModule, EngLoadModuleForWrite, EngMapModule, EngFreeModule, EngMapFile, EngUnmapFile. Unused & untested.

svn path=/branches/reactos-yarotows/; revision=47583
2010-06-05 04:34:12 +00:00
Cameron Gutman
343454be2f [MSAFD]
- Msafd is really just a stub that points to mswsock

svn path=/branches/aicom-network-branch/; revision=47501
2010-05-31 18:17:05 +00:00
Jérôme Gardou
6b75ed4ae3 [WIN32K] UserDrawIconEx
- There is no need to recalculate size of the Icon, we already have this piece of information
  - Draw monochrome cursor/icons, not only their mask.

svn path=/branches/reactos-yarotows/; revision=47495
2010-05-31 14:19:37 +00:00
Jérôme Gardou
d0c9ca5b82 [WIN32K]
- Simplify UserDrawIconEx
  - NtUserCreateCursorIconHandle : Get Information from bitmaps even on indirect creation and fix calculation of icon height in case of monochrome icons.
Fixes ~15 user32:cursoricon winetests.

svn path=/branches/reactos-yarotows/; revision=47451
2010-05-30 16:31:56 +00:00
Jérôme Gardou
5e6e009cd6 [USER32]
- Change ChangeDisplaySettingsExA to look more like wine's one
[WIN32K]
  - Return correct value if buffer is to small in UserChangeDisplaySettings (wine tests)
  - Do not set an invalid size to the devmode we're passing ti UserChangeDisplaySettings, we might access garbage
Now all ChangeDisplaySettings related wine tests pass.

svn path=/branches/reactos-yarotows/; revision=47386
2010-05-28 21:58:33 +00:00
Jérôme Gardou
de271b9b4f Sync with trunk r47367
svn path=/branches/reactos-yarotows/; revision=47369
2010-05-26 23:20:20 +00:00
Jérôme Gardou
40f4c114ee [WIN32K]
- sync subsystems/win32/win32k.objects/cliprgn.c with trunk.

svn path=/branches/reactos-yarotows/; revision=47368
2010-05-26 23:04:02 +00:00
Jérôme Gardou
5ba3469f7b [WIN32K]
- merge r47350, slightly modified to get it the yarotows way

svn path=/branches/reactos-yarotows/; revision=47366
2010-05-26 22:29:45 +00:00
Jérôme Gardou
a37321ad04 revert something that should never have been commited
svn path=/branches/reactos-yarotows/; revision=47357
2010-05-26 00:20:00 +00:00
Jérôme Gardou
8f153d5806 [WIN32K]
- Set right flags when reading display modes from registry
  - Implement UserEnumRegistryDisplaySettings

svn path=/branches/reactos-yarotows/; revision=47356
2010-05-25 23:45:55 +00:00
Jérôme Gardou
75e296c6be [WIN32K]
- Check devmode size in NtUserChangeDisplaySettings
  - Copy memory instead of setting fields in UserEnumDisplaySettings, so we don't lost anything.

svn path=/branches/reactos-yarotows/; revision=47355
2010-05-25 22:46:57 +00:00
Jérôme Gardou
46b40c489f [WIN32K]
- UserChangeDisplaySettings : add some checks and fixes to what was passed to us
More wine tests pass.

svn path=/branches/reactos-yarotows/; revision=47354
2010-05-25 22:17:52 +00:00
Jérôme Gardou
84f025a5a4 [WIN32K]
- Set DISPLAY_DEVICE_PRIMARY_DEVICE to Graphics device object when creating the primary device object
  - switch state flags of the graphics device objects when switching mode
  - Only compare valid fields when searching for a device mode in a device object
  - implement CDS_TEST flag in NtUserSetDisplaySettings

svn path=/branches/reactos-yarotows/; revision=47353
2010-05-25 20:24:21 +00:00
Jérôme Gardou
c7b7713c5d [WIN32K]
- Initialize virtual device coordinates when creating a DC
All gdi32::mapping tests pass now

svn path=/branches/reactos-yarotows/; revision=47352
2010-05-25 14:41:44 +00:00
Jérôme Gardou
4170ce0625 sync with trunk r47346
svn path=/branches/reactos-yarotows/; revision=47347
2010-05-25 10:27:42 +00:00
Timo Kreuzer
57447bb7b6 [WIN32K]
- Simplify EBRUSHOBJ_vInit and EBRUSHOBJ_bRealizeBrush a bit more

svn path=/branches/reactos-yarotows/; revision=47304
2010-05-22 14:54:48 +00:00
Jérôme Gardou
6e208710a8 [WIN32K]
Some cleanup, no code change.

svn path=/branches/reactos-yarotows/; revision=47279
2010-05-19 17:41:56 +00:00
Timo Kreuzer
1549a8532e [WIN32K]
Simplify EXLATEOBJ_vInitXlateFromDCs and remove EXLATEOBJ_vInitBrushXlate. Less code, more fun.

svn path=/branches/reactos-yarotows/; revision=47278
2010-05-19 16:23:33 +00:00
Timo Kreuzer
3078dd3c10 sync with trunk (r47268)
svn path=/branches/reactos-yarotows/; revision=47271
2010-05-19 03:44:15 +00:00
Timo Kreuzer
7b31d4395d [WIN32K]
Add back a break that got removed by accident. Fixes icon color regression.

svn path=/branches/reactos-yarotows/; revision=47270
2010-05-19 02:36:38 +00:00
Timo Kreuzer
ff39f59027 [WIN32K]
- When initializing the EXLATEOBJ to translate the solid brush color in EBRUSHOBJ_vSetSolidBrushColor, also pass the EBRUSHOBJs back color. This fixes wrong colors when the destination surface is mono (e.g. disabled buttons)

svn path=/branches/reactos-yarotows/; revision=47269
2010-05-19 01:54:43 +00:00
Jérôme Gardou
63b50165b2 sync with trunk r47227
svn path=/branches/reactos-yarotows/; revision=47228
2010-05-15 22:30:01 +00:00
Jérôme Gardou
a5aa252f47 [WIN32K]
- clean up some debugging code
  - set NULL owner when setting BASEFLAG_READY_TO_DIE, so that the handle can be freed.

svn path=/branches/reactos-yarotows/; revision=47217
2010-05-15 09:57:36 +00:00
Jérôme Gardou
b0aa4f5a2c [WIN32K]
- clean up some unused code
  - use GDIOBJ_IncrementShareCount on Timo suggestion
  - use ppdev semaphore as sort criterion in DC_vPrepareDCsForBlit, spotted by Timo
  - Get ownership before freeing the object in GDIOBJ_ShareUnlockObjByPtr, as whoever set it ready to die had the right to 

svn path=/branches/reactos-yarotows/; revision=47205
2010-05-14 20:19:46 +00:00
Jérôme Gardou
10e3e81202 [WIN32K]
- IntGdiCreateBitmap : assign a default palette to the bitmap created
  - Use IntCreateBitmap where we already have a bitmap to assign
  - delete all mono bitmaps related hacks in xlateobj implementation, as now all bitmaps should have a palette
Fixes last immediately visible glitches when switching modes

svn path=/branches/reactos-yarotows/; revision=47203
2010-05-14 18:51:48 +00:00
Jérôme Gardou
421a63ff44 [WIN32K]
- Get rid of hDIBPalette in SURFACE structure
This allows more code cleanness

svn path=/branches/reactos-yarotows/; revision=47190
2010-05-12 22:56:24 +00:00
Jérôme Gardou
38a2853dc1 [WIN32K]
- remove a comment which is not true anymore
[USER32]
  - Create a bitmap which is compatible with the bitmap'we are copying in CreateSmallIcon
Icons are back in taskbar

svn path=/branches/reactos-yarotows/; revision=47143
2010-05-09 13:07:47 +00:00
Jérôme Gardou
c3f13756b2 [WIN32K]
- Set NULL owner to copied bitmap when creating indirect icons
  - Rewrite UserDrawIconEx, inspired from wine code
  - fix palette creation for 16 bits DIB
  - Always assign a palette to bitmap created with BITMAP_CopyBitmap and IntCreateCompatibeBitmap.
[USER32]
  - Use DIB section when creating icons
  - Use something called "header"
Now mode switching is almost glitchless.

svn path=/branches/reactos-yarotows/; revision=47140
2010-05-09 11:35:36 +00:00
Jérôme Gardou
db93f2d307 [WIN32K]
- attach devinfo->hpalDefault to the pdevobj after enabling it
  - attach this palette to surfaces attached to this pdevobj through EngModifySurface
  - use this palette in several place
Partially fixes icon drawing after mode switch

svn path=/branches/reactos-yarotows/; revision=47137
2010-05-08 22:10:41 +00:00
Jérôme Gardou
3d533cb7a2 Sync with trunk r47129
svn path=/branches/reactos-yarotows/; revision=47133
2010-05-08 17:23:51 +00:00
Jérôme Gardou
0a68d5e2e4 [WIN32K]
- Allow NtGdiDeleteObjectApp to delete a permanent DC, as windows does it.
This is not exactly what windows does, but no one should use a DeletedDC'ed DC anyway.
Fixes "No! You Naughty Application" debug spam and some wine tests

svn path=/branches/reactos-yarotows/; revision=47131
2010-05-08 16:41:41 +00:00
Jérôme Gardou
9e7867ddde revert unwanted changes
svn path=/branches/reactos-yarotows/; revision=47120
2010-05-07 23:36:49 +00:00
Jérôme Gardou
a7eaab78db some leftover from last sync : GDIDBG macros expect handles, not index
svn path=/branches/reactos-yarotows/; revision=47119
2010-05-07 23:33:11 +00:00
Jérôme Gardou
147736390c Delete win32k.h, it's useless now
svn path=/branches/reactos-yarotows/; revision=47118
2010-05-07 07:44:50 +00:00
Jérôme Gardou
88c9e7c6e8 Sync with trunk (r47116), hopefully without breaking anything.
svn path=/branches/reactos-yarotows/; revision=47117
2010-05-07 07:41:13 +00:00
Jérôme Gardou
56da974d0c [WIN32K]
- Assign a correct pdevmode to the pdevobj when creating it.

svn path=/branches/reactos-yarotows/; revision=47114
2010-05-06 11:46:48 +00:00
Sylvain Petreolle
f2f1c844d9 Fix merge artifact.
svn path=/branches/aicom-network-branch/; revision=47086
2010-05-02 19:25:50 +00:00
Jérôme Gardou
59ed1a68f0 [GDI32]
- This wasn't a fix, it was code readability.
Thanks to physicus for having pointed it.

svn path=/branches/reactos-yarotows/; revision=47045
2010-04-26 22:07:01 +00:00
Jérôme Gardou
1b5e323072 [GDI32]
- Use device string when given one in IntCreateDIC
[WIN32K]
  - Exchange pdevmode when excahnging PDEVOBJ pointers
  - Update Globals gdi devcaps when switching mode if ppdev is the primary surface

svn path=/branches/reactos-yarotows/; revision=47044
2010-04-26 21:49:09 +00:00
Timo Kreuzer
99d15ff5ab Update TODO.txt
svn path=/branches/reactos-yarotows/; revision=46995
2010-04-22 19:14:15 +00:00
Giannis Adamopoulos
0e1eed4d24 [win32csr]
-Handle WM_DISPLAYCHANGE

svn path=/branches/reactos-yarotows/; revision=46994
2010-04-22 19:10:46 +00:00
Timo Kreuzer
600a901153 [WIN32K]
- Call DC_vPrepareDCsForBlit in IntRectangle with device coordinates instead of in NtGdiRectangle with logical coordinates. Fixes updating mouse pointer.
- Update TODO.txt

svn path=/branches/reactos-yarotows/; revision=46986
2010-04-22 03:53:49 +00:00
Jérôme Gardou
ef35c1e75c [WIN32K]
- Use the attached surface bits depth when creating a compatible DC
[USER32]
  - use a display DC for loading images

svn path=/branches/reactos-yarotows/; revision=46981
2010-04-21 15:52:52 +00:00
Timo Kreuzer
2250e691f1 [WIN32K]
- move IntEngMovePointer code into GreMovePointer
- Delete the mouse cursor before mode switch, to force setting a new one after a mode switch. Fixes cursor artifacts after mode change.
- Update TODO.txt

svn path=/branches/reactos-yarotows/; revision=46976
2010-04-21 13:44:06 +00:00
Timo Kreuzer
634c608726 [WIN32K]
- Remove an ASSERT in DC_Cleanup
- Improve code in PDEVOBJ_vSwitchPdev (code shamelessly stolen from Jerome's earlier commit)
- Fix up GDIINFO in PDEVOBJ_bEnablePDEV instead of EngpCreatePDEV
- Update TODO.txt

svn path=/branches/reactos-yarotows/; revision=46975
2010-04-21 12:21:53 +00:00
Jérôme Gardou
bb632b9d29 [WIN32K]
- revert r46970, it does not work after all...
  - add missing trailing character in debug print

svn path=/branches/reactos-yarotows/; revision=46974
2010-04-21 09:24:15 +00:00
Jérôme Gardou
11483181a8 [WIN32K]
- Physicus : In theory the text brush should never be changed
So be it, it works anyway...

svn path=/branches/reactos-yarotows/; revision=46970
2010-04-20 22:26:03 +00:00
Jérôme Gardou
d8020bbbe1 [WIN32K]
- revert unwanted change from r46964
  - Use MouseSafetyOnDrawStart/End in GreExtTextOutW when we already hold the blit lock

svn path=/branches/reactos-yarotows/; revision=46969
2010-04-20 22:20:55 +00:00
Jérôme Gardou
2f9569c2e5 [WIN32K]
- really update Text and BackGround brushes when asked to

svn path=/branches/reactos-yarotows/; revision=46966
2010-04-20 20:44:43 +00:00
Jérôme Gardou
f2a22bfe7a [WIN32K]
- Update brushes at the good moment in different places

svn path=/branches/reactos-yarotows/; revision=46965
2010-04-20 20:23:15 +00:00
Jérôme Gardou
650b476440 [WIN32K]
- Revert r46960 : the correct way to go is to mark brushes as dirty and update them where needed
  - Do so in GreExtTextOutW, NtGdiBitBlt, NtGdiStrecthBltMask and IntPatBlt
  - Add a small hack to GreEstTextOutW so we hold the Blit lock when needed without too much pain.

svn path=/branches/reactos-yarotows/; revision=46964
2010-04-20 19:31:45 +00:00
Jérôme Gardou
75f07ae3b4 [WIN32K]
- Reinitialize EBRUSHOBJs instead of marking them as dirty when switching modes

svn path=/branches/reactos-yarotows/; revision=46960
2010-04-20 17:55:56 +00:00
Timo Kreuzer
db0c72e132 [WIN32K]
Fix LPARAM parameter when sending WM_DISPLAYCHANGE, fixes resizing the desktop.

svn path=/branches/reactos-yarotows/; revision=46954
2010-04-19 23:36:31 +00:00
Timo Kreuzer
43d5c84818 [WIN32K]
Don't call IntHideDesktop and co_IntShowDesktop for now. This doesn't seem to be neccessary and fixes a bunch of problems

svn path=/branches/reactos-yarotows/; revision=46953
2010-04-19 23:22:17 +00:00
Jérôme Gardou
b1f448326a [WIN32K]
- update clipping, GraphicCaps, brush, pen, background and charset of the DC after a mode change

svn path=/branches/reactos-yarotows/; revision=46952
2010-04-19 22:51:40 +00:00
Jérôme Gardou
202a5fc5c7 [WIN32K]
- Do not access surface before holding ppdev Lock

svn path=/branches/reactos-yarotows/; revision=46951
2010-04-19 21:56:44 +00:00
Jérôme Gardou
8188ea3959 [WIN32K]
- Prepare DC for blit before initializing EBRUSHOBJ

svn path=/branches/reactos-yarotows/; revision=46950
2010-04-19 21:48:17 +00:00
Jérôme Gardou
0988b6c773 Grotesque mistake...
svn path=/branches/reactos-yarotows/; revision=46943
2010-04-19 16:04:59 +00:00
Jérôme Gardou
14be9f22bd [WIN32K]
- HW accelerated StretchBlt when possible in EngAlphaBlend

svn path=/branches/reactos-yarotows/; revision=46941
2010-04-19 15:15:17 +00:00
Jérôme Gardou
82ad88f1ab [WIN32K]
- Get rid of IntEngBitBltEx, it's Exness isn't needed anymore

svn path=/branches/reactos-yarotows/; revision=46940
2010-04-19 15:08:03 +00:00
Jérôme Gardou
75108218f7 [WIN32K]
- move mouse related ppdev locking to Gre* functions
Spotted by Physicus

svn path=/branches/reactos-yarotows/; revision=46939
2010-04-19 14:17:26 +00:00
Jérôme Gardou
e918eb7c29 [WIN32K]
- Update direct DCs surface before blit if needed
  - call directly ppdev in MouseSafetyOnDraw{Start,End}
  - use directly the PDEVOBJ surface in mouse operations
  - Add some mouse-related sanity checks

svn path=/branches/reactos-yarotows/; revision=46937
2010-04-19 13:52:37 +00:00
Jérôme Gardou
083f2b4f4a [WIN32K]
- Finally get rid of SURFACE::BitsLock

svn path=/branches/reactos-yarotows/; revision=46935
2010-04-19 00:56:25 +00:00
Jérôme Gardou
75dff0cf6a [WIN32k]
- Don't hold the DC blit lock during the whole GreTextOutW function.

svn path=/branches/reactos-yarotows/; revision=46934
2010-04-19 00:51:32 +00:00
Jérôme Gardou
a98902ef25 [WIN32K]
- Do not draw mouse when it has intentionnally been put away.
Fixes some mouse-related graphical glitches

svn path=/branches/reactos-yarotows/; revision=46933
2010-04-19 00:11:30 +00:00
Jérôme Gardou
ce0a7a6e3b [WIN32K]
- call DC_vPrepareDCsForBlit / DC_vFinishBlit in the right place

svn path=/branches/reactos-yarotows/; revision=46932
2010-04-18 23:48:11 +00:00
Jérôme Gardou
18f210877b [WIN32K]
- Do not create a PDEVOBJ for nothing at startup
  - Create the surface for real in IntCreatePrimarySurface

svn path=/branches/reactos-yarotows/; revision=46930
2010-04-18 23:15:02 +00:00
Jérôme Gardou
1e00973f21 grotesque copy-paste mistake
svn path=/branches/reactos-yarotows/; revision=46926
2010-04-18 17:36:11 +00:00
Jérôme Gardou
4cc8e60093 [WIN32K]
- The last DC_vPrepareForBlit/DC_vFinishBlit commit

svn path=/branches/reactos-yarotows/; revision=46925
2010-04-18 17:33:03 +00:00
Jérôme Gardou
11131896db [WIN32K]
- More DC_vPrepareDCsForBlit/DC_vFinishBlit with assorted MouseSafetyOnDrawEnd removals

svn path=/branches/reactos-yarotows/; revision=46923
2010-04-18 17:19:36 +00:00
Jérôme Gardou
62473c84e9 Sync to trunk (r46918)
svn path=/branches/reactos-yarotows/; revision=46920
2010-04-18 14:06:07 +00:00
Jérôme Gardou
53222b46da [WIN32K]
- Use DC_vPrepareForBlit, DC_vFinishBlit in GreTextOutputW
  - So we can get rid of MouseSafetyOnDraw{Start,End} in IntEngMaskBlt

svn path=/branches/reactos-yarotows/; revision=46911
2010-04-17 22:48:44 +00:00
Jérôme Gardou
fa0a6275a9 [WIN32K]
- apply policy into DC_vPrepareDCsForBlit as in GDIOBJ_LockMultipleObjects before Physicus sees this :-D
  - GDIOBJ_LockObj : return NULL when handle is NULL : more speed, less debug output

svn path=/branches/reactos-yarotows/; revision=46909
2010-04-17 20:51:42 +00:00
Jérôme Gardou
d2655f9e72 [WIN32K]
- Now we welcome GreStretchBltMask into the fabulous world of GDIOBJ_LockMultipleObjects, DC_vPrepareDCsForBlit and DC_vFinishBlit
  - With the assorted MouseSafetyOnDraw{Start,End} removal

svn path=/branches/reactos-yarotows/; revision=46908
2010-04-17 20:27:32 +00:00
Jérôme Gardou
663acbc064 [WIN32K]
- For now, limit DC_UnlockDc to a simple GDIOBJ_LockObj
  - More GDIOBJ_LockMultipleObj, DC_vPrepareDCsForBlit and DC_vFinishBlit fun

svn path=/branches/reactos-yarotows/; revision=46906
2010-04-17 15:24:10 +00:00
Jérôme Gardou
42073050d4 [WIN32K]
-Use GDIOBJ_LockMultipleObjs, DC_vPrepareDCsForBlit and DC_vFinishBlit in NtGdiTransparentBlt
  -Get rid of MouseSafetyOnDraw{End,Start} in IntEngTransparentBlt

svn path=/branches/reactos-yarotows/; revision=46905
2010-04-17 14:46:05 +00:00
Jérôme Gardou
859f9c2a13 Fix typo...
svn path=/branches/reactos-yarotows/; revision=46903
2010-04-17 14:24:50 +00:00
Jérôme Gardou
0cdfd4399d [WIN32K]
- Introduce DC_vPrepareDCsForBlit and DC_vFinishBlit and use them in NtGdiAlphaBlend
  - Get rid of now unnecessary call for MouseSafetyOnDraw{Start,End} in IntEngAlphaBlend
  - Yet Another Rewrite of GDIOBJ_LockMultipleObjs :-/ and use it in NtGdiAlphaBlend

svn path=/branches/reactos-yarotows/; revision=46902
2010-04-17 14:20:48 +00:00
Jérôme Gardou
4ec4675b9e [WIN32K]
- There is currently no need to lock more than three objects at a time, this permits code simplification/speed
  - Keep the handles order in GDIOBJ_LockMultipleObjs
Still unused...

svn path=/branches/reactos-yarotows/; revision=46899
2010-04-16 16:55:52 +00:00
Jérôme Gardou
6a8d2ef675 revert the DC list stuff, it's not worth it (tm). Things will be done differently
svn path=/branches/reactos-yarotows/; revision=46892
2010-04-16 09:49:05 +00:00
Jérôme Gardou
a4e83efd83 [WIN32K]
- Introduce deadlocks killer GDIOBJ_LockMultipleObjs, unused for now
  - Make the PDEVOBJ DCs list a sorted list
Didicated to Physicus

svn path=/branches/reactos-yarotows/; revision=46891
2010-04-15 22:38:04 +00:00
Jérôme Gardou
2a6301401d [WIN32K]
- Maintain a list of DC attached to a PDEVOBJ
No functional change for now, stay tuned!

svn path=/branches/reactos-yarotows/; revision=46885
2010-04-15 19:07:07 +00:00
Jérôme Gardou
c3731e5552 [WIN32K]
- get rid of ROS_DC::BitsPerPixel.
1 - It was a hack.
2 - Its use was inconsistent.

svn path=/branches/reactos-yarotows/; revision=46848
2010-04-12 18:44:36 +00:00
Jérôme Gardou
c9353947a1 completely revert 46733
svn path=/branches/reactos-yarotows/; revision=46846
2010-04-11 21:32:53 +00:00
Jérôme Gardou
47cbf8f46d [WIN32K]
Partially revert 46733
  Silence some debug output

svn path=/branches/reactos-yarotows/; revision=46734
2010-04-05 11:53:36 +00:00
Jérôme Gardou
243eeb574a [WIN32K]
-Make direct DC release shared lock on surface each time they're unlocked.
  -Now they don't hold it unless they're locked themselves.
  -Do not create the device surface when switching modes, this is inconsistent with the PDEVOBJ creation, which does not.

*No more "you are freeing a surface which is still hold" debug message when switching modes*

svn path=/branches/reactos-yarotows/; revision=46733
2010-04-05 10:58:43 +00:00
Jérôme Gardou
6638a5b899 Sync with trunk (aka 'I want my virtualbox mouse integration too')
svn path=/branches/reactos-yarotows/; revision=46732
2010-04-05 09:59:21 +00:00
Jérôme Gardou
327d8a1ac6 [WIN32K]
Also send message to desktop window with HWND_BROADCAST.

svn path=/branches/reactos-yarotows/; revision=46726
2010-04-04 23:20:02 +00:00
Jérôme Gardou
cc94bd25eb [EXPLORER]
Handle WM_DISPLAYCHANGE message.

Works on WinXP, but not with the branch

svn path=/branches/reactos-yarotows/; revision=46725
2010-04-04 22:03:53 +00:00
Jérôme Gardou
5099deb554 Fix build
svn path=/branches/reactos-yarotows/; revision=46713
2010-04-04 09:42:26 +00:00
Timo Kreuzer
25a0c069c9 [WIN32K]
- use a macro in RegReadDisplaySettings to make things smaller
- Send WM_DISPLAYCHANGE to all toplevel windows when changing mode
- leave UserChangeDisplaySettings when mode switching failed

svn path=/branches/reactos-yarotows/; revision=46701
2010-04-03 17:30:00 +00:00
Jérôme Gardou
34a9bb0081 [WIN32K]
Unlock surface when deleting DC

svn path=/branches/reactos-yarotows/; revision=46698
2010-04-03 16:42:04 +00:00
Jérôme Gardou
736c7b0111 [WIN32K]
Unlock/lock surface when locking DC

svn path=/branches/reactos-yarotows/; revision=46697
2010-04-03 16:32:30 +00:00
Timo Kreuzer
a9afa4fad8 delete wine/cfgmgr32.h (leftover from merge)
svn path=/branches/reactos-yarotows/; revision=46662
2010-04-02 06:20:32 +00:00
Timo Kreuzer
705ea2a9c3 [WIN32K]
- EngAcquireSemaphoreShared: update dwEngAcquireCount
- DC_LockDc/DC_UnlockDc: Acquire PDEV lock only for direct DCs, in that case also update the pSurface pointer
- When copying DC states, copy the surface only for memory dcs
- after switching the mode, update system metrics and redraw the desktop window.
- Remove testdraw code.

svn path=/branches/reactos-yarotows/; revision=46658
2010-04-01 22:36:40 +00:00
Timo Kreuzer
5fa6a416ca [WIN32K]
Refactor NtUserClipCursor, don't acquire user lock in UserRedrawDesktop, 

svn path=/branches/reactos-yarotows/; revision=46657
2010-04-01 22:30:44 +00:00
Timo Kreuzer
ac6192b1b0 [WIN32K]
Just dereference the PDEV's surface and let the driver free it.

svn path=/branches/reactos-yarotows/; revision=46638
2010-04-01 05:44:09 +00:00
Timo Kreuzer
01897cb044 merge r46636
svn path=/branches/reactos-yarotows/; revision=46637
2010-04-01 04:24:21 +00:00
Timo Kreuzer
acf84464eb Add missing ntstatus.h
svn path=/branches/reactos-yarotows/; revision=46635
2010-04-01 03:39:51 +00:00
Timo Kreuzer
49d7aed889 Merge to trunk head (r46631)
svn path=/branches/reactos-yarotows/; revision=46633
2010-04-01 02:52:00 +00:00
Timo Kreuzer
49383c3d97 [win32k]
Use PREGION as type fo the DC regions instead of PVOID.

svn path=/branches/reactos-yarotows/; revision=46630
2010-03-31 22:43:02 +00:00
Timo Kreuzer
2190eb07dd Add a todo list for win32k. Enjoy the current size as long as it's that small.
svn path=/branches/reactos-yarotows/; revision=46579
2010-03-30 04:59:56 +00:00
Jérôme Gardou
6495ee7167 [WIN32K]
DC_SetOwnerShip : return FALSE on failure

svn path=/branches/reactos-yarotows/; revision=46575
2010-03-29 21:53:24 +00:00
Jérôme Gardou
6b19e6defc [WIN32K]
Free the surface instead of unlocking it

svn path=/branches/reactos-yarotows/; revision=46573
2010-03-29 19:50:49 +00:00
Jérôme Gardou
2bfb2d80b4 [WIN32K]
Implement releasing PDEVOBJs

svn path=/branches/reactos-yarotows/; revision=46572
2010-03-29 18:56:02 +00:00
Jérôme Gardou
1541aa6f43 [WIN32K]
Close another pair of DC_LockDC/DC_UnlockDC

Now gdi32:dc winetests doesn't crash anymore.

svn path=/branches/reactos-yarotows/; revision=46530
2010-03-28 22:27:57 +00:00
Jérôme Gardou
f6b83e4f45 [WIN32K]
Forgot this one

svn path=/branches/reactos-yarotows/; revision=46529
2010-03-28 22:18:45 +00:00
Jérôme Gardou
aebd9f2971 [WIN32K]
More PDEVOBJ_vRelease fun

svn path=/branches/reactos-yarotows/; revision=46528
2010-03-28 22:09:45 +00:00
Jérôme Gardou
c918b470ec [WIN32K]
Release ppdev when deleting DC

svn path=/branches/reactos-yarotows/; revision=46527
2010-03-28 21:45:43 +00:00
Jérôme Gardou
9234a82220 [WIN32K]
Close another pair of DC_lockDc DC_UnlockDc.

svn path=/branches/reactos-yarotows/; revision=46508
2010-03-28 00:51:25 +00:00
Jérôme Gardou
fc0d9235a5 [WIN32K]
Each DC_lockDc call should be followed by a DC_UnlockDc, even on error path.

svn path=/branches/reactos-yarotows/; revision=46507
2010-03-27 23:58:09 +00:00
Jérôme Gardou
1f0205c1de svn will drive me nuts, part 2/2
svn path=/branches/reactos-yarotows/; revision=46506
2010-03-27 23:52:07 +00:00
Jérôme Gardou
84b4727064 svn will drive me nuts, part 1/x
svn path=/branches/reactos-yarotows/; revision=46505
2010-03-27 23:28:24 +00:00
Jérôme Gardou
b6edb50eb1 sync with trunk r46493
svn path=/branches/reactos-yarotows/; revision=46494
2010-03-27 20:19:56 +00:00
Jérôme Gardou
76085ba982 [WIN32K]
Lock PDC with pDevObj semaphore too.

svn path=/branches/reactos-yarotows/; revision=46470
2010-03-26 16:17:12 +00:00
Jérôme Gardou
33f63724b1 [WIN32K]
Get rid of hVisRgn in ROS_DC_INFO, use prgnVis in DC instead

svn path=/branches/reactos-yarotows/; revision=46372
2010-03-23 23:02:00 +00:00
Jérôme Gardou
f5cb03fb7c [WIN32K]
revert r46354

svn path=/branches/reactos-yarotows/; revision=46356
2010-03-23 16:09:23 +00:00
Timo Kreuzer
84253d01e7 Fix a typo
svn path=/branches/reactos-yarotows/; revision=46355
2010-03-23 16:05:10 +00:00
Jérôme Gardou
6ca135323d [WIN32K]
Don't access garbage pointer.

svn path=/branches/reactos-yarotows/; revision=46354
2010-03-23 15:30:41 +00:00
Jérôme Gardou
c16ad873a6 sync with trunk (r46275)
svn path=/branches/reactos-yarotows/; revision=46279
2010-03-19 21:09:21 +00:00
Timo Kreuzer
299a3749d1 Move the DC_InitHack
svn path=/branches/reactos-yarotows/; revision=46249
2010-03-17 15:49:25 +00:00
Cameron Gutman
22e3000143 - Fix comments related to r45531
svn path=/branches/aicom-network-branch/; revision=45545
2010-02-10 00:53:03 +00:00
Cameron Gutman
e4a060ead4 - Merge from trunk up to r45543
svn path=/branches/aicom-network-branch/; revision=45544
2010-02-10 00:42:46 +00:00
Cameron Gutman
2597cfe258 - Fix the LARGE_SIZE constant so it uses the lookaside list for mbuf ext buffers allocations again
- We added one byte to each ext buffer as a ref count for oskit_buffer_* functions so we need to compensate for that by adding one byte to the LARGE_SIZE constant
 - This should boost performance too because we allocate one ext buffer for each incoming and outgoing TCP packet

svn path=/branches/aicom-network-branch/; revision=45531
2010-02-09 17:58:11 +00:00
Cameron Gutman
9e677d15e1 - Forgot this file (sorry)
- mswsock.dll compiles and links now :)

svn path=/branches/aicom-network-branch/; revision=45461
2010-02-06 14:29:09 +00:00
Cameron Gutman
f57e5b6562 - Build fixes
- For some reason when I applied the patch from my other WC to this one, I ended up with 2-3 copies of the same code in each file

svn path=/branches/aicom-network-branch/; revision=45460
2010-02-06 14:24:55 +00:00
Cameron Gutman
9b6310f09a - Forgot this file
svn path=/branches/aicom-network-branch/; revision=45454
2010-02-06 03:10:25 +00:00
Cameron Gutman
503fdfb059 - New winsock (part 6 of x)
- Remove old dnslib

svn path=/branches/aicom-network-branch/; revision=45453
2010-02-06 03:01:51 +00:00
Cameron Gutman
eb3569ff5b - New winsock (part 5 of x)
- Add winsock headers

svn path=/branches/aicom-network-branch/; revision=45452
2010-02-06 03:00:31 +00:00
Cameron Gutman
d5fa02d2c3 - New winsock (part 4 of x)
- Rename ws2_32_new to ws2_32

svn path=/branches/aicom-network-branch/; revision=45451
2010-02-06 02:58:47 +00:00
Cameron Gutman
f21110d99f - New winsock (part 3 of x)
- Implement DnsApiAlloc and DnsApiFree

svn path=/branches/aicom-network-branch/; revision=45450
2010-02-06 02:56:20 +00:00
Cameron Gutman
fd2b0ac47d - New winsock (part 2 of x)
- Replace the old mswsock with the new one

svn path=/branches/aicom-network-branch/; revision=45449
2010-02-06 02:40:26 +00:00
Cameron Gutman
ff2d0c4e3a - New winsock (part 1 of x)
- Remove the old ws2_32

svn path=/branches/aicom-network-branch/; revision=45448
2010-02-06 02:32:13 +00:00
Cameron Gutman
166bc10af9 - Fix some epic fail in NdisMRegisterMiniport
- We were checking to see if there were valid NDIS 5.1-specific characteristics if 5.1 was specified as the version but we didn't actually copy them into our local buffer
 - Now NdisCancelPackets will actually do something if the miniport implements a MiniportCancelSendPackets handler and PnP event notifications will get through to the miniport if it implements a MiniportPnPEventNotify handler

svn path=/branches/aicom-network-branch/; revision=45437
2010-02-05 08:33:48 +00:00
Cameron Gutman
fdd91bc7e8 [NDIS]
- Fix buffer length passed to KeRegisterBugCheckCallback

svn path=/branches/aicom-network-branch/; revision=45436
2010-02-05 07:35:04 +00:00
Cameron Gutman
833baf1715 [PSDK, MSAFD]
- Fix a typo
[NETSTAT]
 - Uncomment and fix displaying successful fragmentation data
 - Fix a typo


svn path=/branches/aicom-network-branch/; revision=45435
2010-02-05 07:16:50 +00:00
Cameron Gutman
bd7ffd61fd [AFD]
- Add more cases to TdiAddressSizeFromType
 - Return STATUS_INVALID_PARAMETER instead of bugchecking if somebody gives us a bad address type
 - Fixes Steam (confirmed by Geoz)
 - Will also be merged to trunk soon

svn path=/branches/aicom-network-branch/; revision=45400
2010-02-03 20:02:39 +00:00
Timo Kreuzer
74ef03da5c Commit the stuff. Lots of changes. I'll write a proper list of changes when it's done.
svn path=/branches/reactos-yarotows/; revision=45355
2010-01-30 21:12:42 +00:00
Timo Kreuzer
7f915c6746 Autostart blue.sys, also needed for console mode
svn path=/branches/reactos-yarotows/; revision=45352
2010-01-30 17:47:58 +00:00
Timo Kreuzer
8910e3cc37 Add vgafonts to bootcd, needed for console mode
svn path=/branches/reactos-yarotows/; revision=45351
2010-01-30 17:47:01 +00:00
Cameron Gutman
29589c0449 - Remove some unused junk code
svn path=/branches/aicom-network-branch/; revision=45349
2010-01-30 16:45:22 +00:00
Cameron Gutman
a0090f038d - ovbcopy is used when the source address and destination address overlap so defining it to memcpy was a horrible idea
svn path=/branches/aicom-network-branch/; revision=45347
2010-01-30 15:18:21 +00:00
Cameron Gutman
57b3f4582a - Fix a potential buffer overrun and null pointer dereference
svn path=/branches/aicom-network-branch/; revision=45284
2010-01-27 08:49:48 +00:00
Cameron Gutman
79c35d419a - Handle the case where a socket sends an event notification without being accepted first
svn path=/branches/aicom-network-branch/; revision=45283
2010-01-27 07:44:42 +00:00
Cameron Gutman
e2aa2958fa - Define OSKIT so we can use special oskit functions
- Implement oskit buffer functions to track references and allocate buffers
 - Remove unneeded mbuf freeing hacks now that we track references (fixes random crashes would occur when an mbuf was freed inside ip_output)
 - Remove the "ACK hack" that we used to hack around our loopback implementation
 - Remove unneeded mbuf pool initialization
 - Remove unused code in sleep.c

svn path=/branches/aicom-network-branch/; revision=45257
2010-01-26 04:20:06 +00:00
Timo Kreuzer
6afbc8f483 Hopefully create a branch and not destroy the svn repository.
svn path=/branches/reactos-yarotows/; revision=45219
2010-01-23 23:25:04 +00:00
3328 changed files with 377737 additions and 229005 deletions

View File

@@ -18,6 +18,7 @@
<define name="TARGET_amd64" host="true" />
<define name="USE_COMPILER_EXCEPTIONS" />
<define name ="NO_UNDERSCORE_PREFIX" />
<property name="PLATFORM" value="PC"/>
<property name="usewrc" value="false"/>

View File

@@ -7,18 +7,18 @@
</xi:fallback>
</xi:include>
<xi:include href="ReactOS-generic.rbuild" />
<xi:include href="ReactOS-generic.rbuild" />
<!-- <define name="_M_ARM" /> Already defined by toolchain -->
<!-- <define name="_M_ARM" /> Already defined by toolchain -->
<define name="_ARM_" />
<define name="__arm__" />
<define name="TARGET_arm" host="true" />
<define name="USE_COMPILER_EXCEPTIONS" />
<define name="USE_COMPILER_EXCEPTIONS" />
<property name="WINEBUILD_FLAGS" value="--kill-at"/>
<property name="WINEBUILD_FLAGS" value="--kill-at"/>
<include>include/reactos/arm</include>
<include>include/reactos/arm</include>
<if property="SARCH" value="versatile">
<define name="BOARD_CONFIG_VERSATILE"/>
@@ -29,17 +29,17 @@
<compilerflag>-ftracer</compilerflag>
</if>
<compilerflag>-fms-extensions</compilerflag>
<compilerflag>-Wno-attributes</compilerflag>
<compilerflag>-U_UNICODE</compilerflag>
<compilerflag>-UUNICODE</compilerflag>
<compilerflag>-Wno-attributes</compilerflag>
<compilerflag>-U_UNICODE</compilerflag>
<compilerflag>-UUNICODE</compilerflag>
</group>
<define name="__MSVCRT__"/> <!-- DUBIOUS -->
<group linkerset="ld">
<linkerflag>--strip-debug</linkerflag> <!-- INVESTIGATE -->
<linkerflag>-static</linkerflag> <!-- INVESTIGATE -->
<linkerflag>--strip-debug</linkerflag> <!-- INVESTIGATE -->
<linkerflag>-static</linkerflag> <!-- INVESTIGATE -->
<linkerflag>-file-alignment=0x1000</linkerflag>
<linkerflag>-section-alignment=0x1000</linkerflag>
</group>
@@ -53,7 +53,10 @@
<directory name="drivers">
<directory name="csq">
<xi:include href="lib/drivers/csq/csq.rbuild" />
</directory>
</directory>
</directory>
<directory name="cportlib">
<xi:include href="lib/cportlib/cportlib.rbuild" />
</directory>
<directory name="debugsup">
<xi:include href="lib/debugsup/debugsup.rbuild" />
@@ -91,6 +94,9 @@
<xi:include href="lib/sdk/crt/crt.rbuild" />
<xi:include href="lib/sdk/crt/libcntpr.rbuild" />
</directory>
<directory name="ioevent">
<xi:include href="lib/sdk/ioevent/ioevent.rbuild" />
</directory>
<directory name="nt">
<xi:include href="lib/sdk/nt/nt.rbuild" />
</directory>
@@ -149,9 +155,9 @@
</directory>
<directory name="base">
<directory name="system">
<directory name="smss">
<xi:include href="base/system/smss/smss.rbuild" />
</directory>
<directory name="smss">
<xi:include href="base/system/smss/smss.rbuild" />
</directory>
</directory>
</directory>
</project>

View File

@@ -16,9 +16,6 @@
<directory name="control">
<xi:include href="control/control.rbuild" />
</directory>
<directory name="downloader">
<xi:include href="downloader/downloader.rbuild" />
</directory>
<directory name="dxdiag">
<xi:include href="dxdiag/dxdiag.rbuild" />
</directory>

View File

@@ -343,8 +343,8 @@ IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
BEGIN
POPUP "Edit"
BEGIN
MENUITEM "Copy\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Paste\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "Copy\tCtrl+C", IDM_EDIT_COPY
MENUITEM "Paste\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "View"
BEGIN
@@ -375,8 +375,8 @@ IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "Edit"
BEGIN
MENUITEM "Copy\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Paste\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "Copy\tCtrl+C", IDM_EDIT_COPY
MENUITEM "Paste\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "View"
BEGIN
@@ -408,8 +408,8 @@ IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "Edit"
BEGIN
MENUITEM "Copy\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Paste\tCTRL-V", IDM_EDIT_PASTE
MENUITEM "Copy\tCtrl+C", IDM_EDIT_COPY
MENUITEM "Paste\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "View"
BEGIN

View File

@@ -0,0 +1,732 @@
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
// Dialog
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 161
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS <20>d<EFBFBD><64>"
MENU IDR_MENU_SCIENTIFIC_1
FONT 9, "MS UI Gothic", 0, 0, 0x1
BEGIN
GROUPBOX "",IDC_STATIC,4,16,132,21
CONTROL "16<31>i",IDC_RADIO_HEX,"Button",BS_AUTORADIOBUTTON,8,24,29,10
CONTROL "10<31>i",IDC_RADIO_DEC,"Button",BS_AUTORADIOBUTTON,40,24,29,10
CONTROL "8<>i",IDC_RADIO_OCT,"Button",BS_AUTORADIOBUTTON,72,24,27,10
CONTROL "2<>i",IDC_RADIO_BIN,"Button",BS_AUTORADIOBUTTON,100,24,26,10
GROUPBOX "",IDC_STATIC,4,36,76,21
CONTROL "Inv",IDC_CHECK_INV,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,44,26,10
CONTROL "Hyp",IDC_CHECK_HYP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,40,44,29,10
CTEXT "",IDC_TEXT_PARENT,84,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CTEXT "",IDC_TEXT_MEMORY,112,40,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "Sta",IDC_BUTTON_STA,4,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Ave",IDC_BUTTON_AVE,4,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sum",IDC_BUTTON_SUM,4,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s",IDC_BUTTON_S,4,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat",IDC_BUTTON_DAT,4,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E",IDC_BUTTON_FE,38,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "dms",IDC_BUTTON_DMS,38,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "sin",IDC_BUTTON_SIN,38,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "cos",IDC_BUTTON_COS,38,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "tan",IDC_BUTTON_TAN,38,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(",IDC_BUTTON_LEFTPAR,64,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Exp",IDC_BUTTON_EXP,64,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y",IDC_BUTTON_XeY,64,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2",IDC_BUTTON_Xe2,64,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3",IDC_BUTTON_Xe3,64,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")",IDC_BUTTON_RIGHTPAR,90,64,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln",IDC_BUTTON_LN,90,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log",IDC_BUTTON_LOG,90,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!",IDC_BUTTON_NF,90,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,90,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC",IDC_BUTTON_MC,124,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,124,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,124,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,124,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "pi",IDC_BUTTON_PI,124,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7",IDC_BUTTON_7,158,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,158,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,158,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,158,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A",IDC_BUTTON_A,158,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,184,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,184,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,184,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,184,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B",IDC_BUTTON_B,184,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,210,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,210,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,210,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,210,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C",IDC_BUTTON_C,210,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,236,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,236,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,236,102,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,236,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D",IDC_BUTTON_D,236,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Mod",IDC_BUTTON_MOD,262,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Or",IDC_BUTTON_OR,262,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Lsh",IDC_BUTTON_LSH,262,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,262,121,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E",IDC_BUTTON_E,262,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "And",IDC_BUTTON_AND,288,64,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Xor",IDC_BUTTON_XOR,288,83,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Not",IDC_BUTTON_NOT,288,102,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Int",IDC_BUTTON_INT,288,121,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F",IDC_BUTTON_F,288,140,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "",IDC_STATIC,140,16,172,21
CONTROL "Qword",IDC_RADIO_QWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,148,24,37,10
CONTROL "Dword",IDC_RADIO_DWORD,"Button",BS_AUTORADIOBUTTON |
NOT WS_VISIBLE,188,24,37,10
CONTROL "Word",IDC_RADIO_WORD,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,232,24,33,10
CONTROL "Byte",IDC_RADIO_BYTE,"Button",BS_AUTORADIOBUTTON | NOT
WS_VISIBLE,272,24,30,10
CONTROL "Degrees",IDC_RADIO_DEG,"Button",BS_AUTORADIOBUTTON,148,24,
42,10
CONTROL "Radians",IDC_RADIO_RAD,"Button",BS_AUTORADIOBUTTON,192,
24,42,10
CONTROL "Gradians",IDC_RADIO_GRAD,"Button",BS_AUTORADIOBUTTON,
236,24,44,10
PUSHBUTTON "C",IDC_BUTTON_CANC,272,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,228,40,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Back",IDC_BUTTON_BACK,184,40,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,308,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 172, 127
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS <20>d<EFBFBD><64>"
MENU IDR_MENU_STANDARD
FONT 9, "MS UI Gothic", 0, 0, 0x1
BEGIN
PUSHBUTTON "C",IDC_BUTTON_CANC,128,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE",IDC_BUTTON_CE,84,24,40,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Back",IDC_BUTTON_BACK,40,24,40,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "",IDC_TEXT_OUTPUT,4,4,164,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "7",IDC_BUTTON_7,40,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4",IDC_BUTTON_4,40,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1",IDC_BUTTON_1,40,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0",IDC_BUTTON_0,40,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8",IDC_BUTTON_8,66,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5",IDC_BUTTON_5,66,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2",IDC_BUTTON_2,66,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-",IDC_BUTTON_SIGN,66,105,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9",IDC_BUTTON_9,92,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6",IDC_BUTTON_6,92,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3",IDC_BUTTON_3,92,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",",IDC_BUTTON_DOT,92,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/",IDC_BUTTON_DIV,118,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*",IDC_BUTTON_MULT,118,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-",IDC_BUTTON_SUB,118,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+",IDC_BUTTON_ADD,118,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sqrt",IDC_BUTTON_SQRT,144,48,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%",IDC_BUTTON_PERCENT,144,67,24,17,BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x",IDC_BUTTON_RX,144,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=",IDC_BUTTON_EQU,144,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "",IDC_TEXT_MEMORY,4,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
PUSHBUTTON "MC",IDC_BUTTON_MC,4,48,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR",IDC_BUTTON_MR,4,67,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS",IDC_BUTTON_MS,4,86,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+",IDC_BUTTON_MP,4,105,24,17,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5, NOT WS_VISIBLE
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS <20>d<EFBFBD><64>"
MENU IDR_MENU_STANDARD
FONT 9, "MS UI Gothic"
BEGIN
PUSHBUTTON "<22>ϊ<EFBFBD>",IDC_BUTTON_CONVERT,35,105,76,17
COMBOBOX IDC_COMBO_CATEGORY,4,31,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "<22><><EFBFBD><EFBFBD>:",IDC_STATIC,4,20,56,8
COMBOBOX IDC_COMBO_FROM,4,60,140,168,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "<22>ϊ<EFBFBD><CF8A><EFBFBD>:",IDC_STATIC,4,49,56,8
COMBOBOX IDC_COMBO_TO,4,87,140,168,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "<22>ϊ<EFBFBD><CF8A><EFBFBD>:",IDC_STATIC,4,76,56,8
CONTROL "C",IDC_BUTTON_CANC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,276,24,40,17
CONTROL "CE",IDC_BUTTON_CE,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,232,24,40,17
CONTROL "Back",IDC_BUTTON_BACK,"Button",BS_OWNERDRAW |
BS_CENTER | BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,24,
40,17
RTEXT "",IDC_TEXT_OUTPUT,4,4,312,12,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "7",IDC_BUTTON_7,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,48,24,17
CONTROL "4",IDC_BUTTON_4,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,67,24,17
CONTROL "1",IDC_BUTTON_1,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,86,24,17
CONTROL "0",IDC_BUTTON_0,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,188,105,24,17
CONTROL "8",IDC_BUTTON_8,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,48,24,17
CONTROL "5",IDC_BUTTON_5,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,67,24,17
CONTROL "2",IDC_BUTTON_2,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,86,24,17
CONTROL "+/-",IDC_BUTTON_SIGN,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,214,105,24,17
CONTROL "9",IDC_BUTTON_9,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,48,24,17
CONTROL "6",IDC_BUTTON_6,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,67,24,17
CONTROL "3",IDC_BUTTON_3,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,86,24,17
CONTROL ",",IDC_BUTTON_DOT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,240,105,24,17
CONTROL "/",IDC_BUTTON_DIV,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,48,24,17
CONTROL "*",IDC_BUTTON_MULT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,67,24,17
CONTROL "-",IDC_BUTTON_SUB,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,86,24,17
CONTROL "+",IDC_BUTTON_ADD,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,266,105,24,17
CONTROL "Sqrt",IDC_BUTTON_SQRT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,48,24,17
CONTROL "%",IDC_BUTTON_PERCENT,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,67,24,17
CONTROL "1/x",IDC_BUTTON_RX,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,86,24,17
CONTROL "=",IDC_BUTTON_EQU,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,292,105,24,17
CTEXT "",IDC_TEXT_MEMORY,152,24,24,17,SS_CENTERIMAGE,
WS_EX_CLIENTEDGE
CONTROL "MC",IDC_BUTTON_MC,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,48,24,17
CONTROL "MR",IDC_BUTTON_MR,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,67,24,17
CONTROL "MS",IDC_BUTTON_MS,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,86,24,17
CONTROL "M+",IDC_BUTTON_MP,"Button",BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP,152,105,24,17
DEFPUSHBUTTON "",IDC_BUTTON_FOCUS,0,0,5,5,NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX DISCARDABLE 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ReactOS <20>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>"
FONT 9, "MS UI Gothic"
BEGIN
DEFPUSHBUTTON "OK",IDOK,105,148,52,16
CONTROL IDB_BITMAP_ROS,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,4,4,104,48
LTEXT "ReactOS <20>d<EFBFBD><64>",IDC_STATIC,120,12,132,8,
SS_CENTERIMAGE
LTEXT "Version ",IDC_TEXT_VERSION,120,20,132,8,SS_CENTERIMAGE
LTEXT "Written by Carlo Bramini",IDC_STATIC,120,32,132,8,
SS_CENTERIMAGE
GROUPBOX "",IDC_STATIC,112,0,148,52
GROUPBOX "",IDC_STATIC,4,56,256,88
EDITTEXT IDC_EDIT_LICENSE,12,68,240,68,ES_MULTILINE | ES_READONLY |
WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX DISCARDABLE 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Statistics box"
FONT 9, "MS UI Gothic"
BEGIN
LISTBOX IDC_LIST_STAT,4,4,156,40,LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "RET",IDC_BUTTON_RET,4,48,36,16
PUSHBUTTON "LOAD",IDC_BUTTON_LOAD,44,48,36,16
PUSHBUTTON "CD",IDC_BUTTON_CD,84,48,36,16
PUSHBUTTON "CAD",IDC_BUTTON_CAD,124,48,36,16
CTEXT "n=0",IDC_TEXT_NITEMS,4,68,156,12,SS_CENTERIMAGE |
SS_SUNKEN
END
// Menus
IDR_MENU_SCIENTIFIC_1 MENU DISCARDABLE
BEGIN
POPUP "<22>ҏW"
BEGIN
MENUITEM "<22>R<EFBFBD>s<EFBFBD>[\tCtrl+C", IDM_EDIT_COPY
MENUITEM "<22>\\<5C><><EFBFBD>t<EFBFBD><74>\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "<22>\\<5C><>"
BEGIN
MENUITEM "<22>W<EFBFBD><57>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22>֐<EFBFBD><D690>d<EFBFBD><64>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22>ϊ<EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "16<31>i\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "10<31>i\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "8<>i\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "2<>i\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Degrees\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radians\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Gradians\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؂<EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22>w<EFBFBD><77><EFBFBD>v"
BEGIN
MENUITEM "<22>w<EFBFBD><77><EFBFBD>v <20>g<EFBFBD>s<EFBFBD>b<EFBFBD>N", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "ReactOS <20>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU DISCARDABLE
BEGIN
POPUP "<22>ҏW"
BEGIN
MENUITEM "<22>R<EFBFBD>s<EFBFBD>[\tCtrl+C", IDM_EDIT_COPY
MENUITEM "<22>\\<5C><><EFBFBD>t<EFBFBD><74>\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "<22>\\<5C><>"
BEGIN
MENUITEM "<22>W<EFBFBD><57>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22>֐<EFBFBD><D690>d<EFBFBD><64>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22>ϊ<EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "16<31>i\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "10<31>i\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "8<>i\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "2<>i\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "Dword\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "Word\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Byte\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؂<EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22>w<EFBFBD><77><EFBFBD>v"
BEGIN
MENUITEM "<22>w<EFBFBD><77><EFBFBD>v <20>g<EFBFBD>s<EFBFBD>b<EFBFBD>N", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "ReactOS <20>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU DISCARDABLE
BEGIN
POPUP "<22>ҏW"
BEGIN
MENUITEM "<22>R<EFBFBD>s<EFBFBD>[\tCtrl+C", IDM_EDIT_COPY
MENUITEM "<22>\\<5C><><EFBFBD>t<EFBFBD><74>\tCtrl+V", IDM_EDIT_PASTE
END
POPUP "<22>\\<5C><>"
BEGIN
MENUITEM "<22>W<EFBFBD><57>", IDM_VIEW_STANDARD, CHECKED
MENUITEM "<22>֐<EFBFBD><D690>d<EFBFBD><64>", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "<22>ϊ<EFBFBD>", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؂<EFBFBD>", IDM_VIEW_GROUP, CHECKED
END
POPUP "<22>w<EFBFBD><77><EFBFBD>v"
BEGIN
MENUITEM "<22>w<EFBFBD><77><EFBFBD>v <20>g<EFBFBD>s<EFBFBD>b<EFBFBD>N", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "ReactOS <20>d<EFBFBD><64><EFBFBD>ɂ‚<C982><C282><EFBFBD>", IDM_HELP_ABOUT
END
END
// String Tables
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_LICENSE "ReactOS <20>d<EFBFBD><64><EFBFBD><EFBFBD>GNU GPL<50><4C><EFBFBD>C<EFBFBD>Z<EFBFBD><5A><EFBFBD>X<EFBFBD>̌<EFBFBD><CC8C>Œ񋟂<C592><F18B9F82><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD>[<5B>\\<5C>t<EFBFBD>g<EFBFBD>E<EFBFBD>F<EFBFBD>A<EFBFBD>ł<EFBFBD><C582>B\r\n\r\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>GNU GPL<50><4C><EFBFBD>C<EFBFBD>Z<EFBFBD><5A><EFBFBD>X<EFBFBD>̃R<CC83>s<EFBFBD>[<5B>𓾂邱<F093BE82>Ƃ<EFBFBD><C682>ł<EFBFBD><C582>܂<EFBFBD>:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>GNU GPL<50><4C><EFBFBD>C<EFBFBD>Z<EFBFBD><5A><EFBFBD>X<EFBFBD>̖|<7C><><EFBFBD>𓾂邱<F093BE82>Ƃ<EFBFBD><C682>ł<EFBFBD><C582>܂<EFBFBD>:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "<22>G<EFBFBD><47><EFBFBD>["
IDS_QUICKHELP "<22>N<EFBFBD>C<EFBFBD>b<EFBFBD>N<EFBFBD>w<EFBFBD><77><EFBFBD>v"
END
// Types of conversion
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONV_ANGLE "<22>p<EFBFBD>x"
IDS_CONV_AREA "<22>ʐ<EFBFBD>"
IDS_CONV_CONSUMPTION "<22><><EFBFBD><EFBFBD> (<28>G<EFBFBD><47><EFBFBD>W<EFBFBD><57>)"
IDS_CONV_CURRENCY "<22>ʉ<EFBFBD>"
IDS_CONV_ENERGY "<22>G<EFBFBD>l<EFBFBD><6C><EFBFBD>M<EFBFBD>["
IDS_CONV_LENGTH "<22><><EFBFBD><EFBFBD>"
IDS_CONV_POWER "<22><>"
IDS_CONV_PRESSURE "<22><><EFBFBD><EFBFBD>"
IDS_CONV_TEMPERATURE "<22><><EFBFBD>x"
IDS_CONV_TIME "<22><><EFBFBD><EFBFBD>"
IDS_CONV_VELOCITY "<22><><EFBFBD>x"
IDS_CONV_VOLUME "<22>̐<EFBFBD>"
IDS_CONV_WEIGHT "<22>d<EFBFBD><64>"
END
// TYPES OF ANGLES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ANGLE_DEGREES "Degrees"
IDS_ANGLE_GRADIANS "Gradians"
IDS_ANGLE_RADIANS "Radians"
END
// TYPES OF AREAS
STRINGTABLE DISCARDABLE
BEGIN
IDS_AREA_ACRES "<22>G<EFBFBD>[<5B>J<EFBFBD>["
IDS_AREA_ACRES_BRAZIL "<22>G<EFBFBD>[<5B>J<EFBFBD>[ (<28>u<EFBFBD><75><EFBFBD>W<EFBFBD><57>)"
IDS_AREA_ACRES_FRANCE "<22>G<EFBFBD>[<5B>J<EFBFBD>[ (<28>t<EFBFBD><74><EFBFBD><EFBFBD><EFBFBD>X)"
IDS_AREA_ACRES_SCOTS "<22>G<EFBFBD>[<5B>J<EFBFBD>[ (<28>X<EFBFBD>R<EFBFBD>b<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>h)"
IDS_AREA_ACRES_US "<22>G<EFBFBD>[<5B>J<EFBFBD>[ (<28>č<EFBFBD>)"
IDS_AREA_ARES "<22>A<EFBFBD>[<5B><>"
IDS_AREA_CHOU "Chou"
IDS_AREA_DANBO "Danbo"
IDS_AREA_HECTARES "<22>w<EFBFBD>N<EFBFBD>^<5E>[<5B><>"
IDS_AREA_JEONGBO "Jeongbo"
IDS_AREA_MORGEN_HUNGARY "Morgen (Hungary)"
IDS_AREA_MU "Mu"
IDS_AREA_PING "Ping"
IDS_AREA_PYEONG "Pyeong"
IDS_AREA_PYEONGBANGJA "Pyeongbangja"
IDS_AREA_RAI "Rai"
IDS_AREA_SE "Se"
IDS_AREA_SQUARE_CENTIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD><5A><EFBFBD>`<60><><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_AREA_SQUARE_CHR "Square chr"
IDS_AREA_SQUARE_FATHOMS "<22><><EFBFBD><EFBFBD><EFBFBD>q"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "<22><><EFBFBD><EFBFBD><EFBFBD>q (<28>n<EFBFBD><6E><EFBFBD>K<EFBFBD><4B><EFBFBD>[)"
IDS_AREA_SQUARE_FEET "<22><><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>B<EFBFBD>[<5B>g"
IDS_AREA_SQUARE_INCHES "<22><><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD>`"
IDS_AREA_SQUARE_KILOMETERS "<22><><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>[<5B>^<5E>["
IDS_AREA_SQUARE_LAR "Square lar"
IDS_AREA_SQUARE_METER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_AREA_SQUARE_MILES "<22><><EFBFBD><EFBFBD><EFBFBD>}<7D>C<EFBFBD><43>"
IDS_AREA_SQUARE_MILLIMETERS "<22><><EFBFBD><EFBFBD><EFBFBD>~<7E><><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_AREA_SQUARE_SHAKU "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_AREA_SQUARE_TSUEN "Square tsuen"
IDS_AREA_SQUARE_VA "Square va"
IDS_AREA_SQUARE_YARD "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>h"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "<22><>"
END
// TYPES OF COMSUMPTIONS
STRINGTABLE DISCARDABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>/<2F><><EFBFBD>b<EFBFBD>g<EFBFBD><67>"
IDS_CONSUMPTION_L_PER_100_KM "<22><><EFBFBD>b<EFBFBD>g<EFBFBD><67>/100<30>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_CONSUMPTION_MILES_GALLON_UK "<22>}<7D>C<EFBFBD><43>/<2F>K<EFBFBD><4B><EFBFBD><EFBFBD> (<28>p<EFBFBD><70>)"
IDS_CONSUMPTION_MILES_GALLON_US "<22>}<7D>C<EFBFBD><43>/<2F>K<EFBFBD><4B><EFBFBD><EFBFBD> (<28>č<EFBFBD>)"
END
// TYPES OF CURRENCIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "<22>I<EFBFBD>[<5B>X<EFBFBD>g<EFBFBD><67><EFBFBD>A <20>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>O"
IDS_CURRENCY_BELGIAN_FRANC "<22>x<EFBFBD><78><EFBFBD>M<EFBFBD>[ <20>t<EFBFBD><74><EFBFBD><EFBFBD>"
IDS_CURRENCY_CYPRIOT_POUND "<22>L<EFBFBD>v<EFBFBD><76><EFBFBD>X <20>|<7C><><EFBFBD>h"
IDS_CURRENCY_CZECH_KORUNA "<22>`<60>F<EFBFBD>R <20>R<EFBFBD><52><EFBFBD>i"
IDS_CURRENCY_DEUTSCHE_MARK "<22>h<EFBFBD>C<EFBFBD>c <20>}<7D><><EFBFBD>N"
IDS_CURRENCY_DUTCH_GUILDER "<22>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>_ <20>M<EFBFBD><4D><EFBFBD>_<EFBFBD>["
IDS_CURRENCY_EURO "<22><><EFBFBD>[<5B><>"
IDS_CURRENCY_FINNISH_MARKKA "<22>t<EFBFBD>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h <20>}<7D><><EFBFBD>b<EFBFBD>J"
IDS_CURRENCY_FRENCH_FRANC "<22>t<EFBFBD><74><EFBFBD><EFBFBD><EFBFBD>X <20>t<EFBFBD><74><EFBFBD><EFBFBD>"
IDS_CURRENCY_GREEK_DRACHMA "<22>M<EFBFBD><4D><EFBFBD>V<EFBFBD><56> <20>h<EFBFBD><68><EFBFBD>N<EFBFBD>}"
IDS_CURRENCY_IRISH_POUND "<22>A<EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h <20>|<7C><><EFBFBD>h"
IDS_CURRENCY_ITALIAN_LIRA "<22>C<EFBFBD>^<5E><><EFBFBD>A <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_LUXEMBOURG_FRANC "<22><><EFBFBD>N<EFBFBD>Z<EFBFBD><5A><EFBFBD>u<EFBFBD><75><EFBFBD>N <20>t<EFBFBD><74><EFBFBD><EFBFBD>"
IDS_CURRENCY_MALTESE_LIRA "<22>}<7D><><EFBFBD>^ <20><><EFBFBD><EFBFBD>"
IDS_CURRENCY_PORTOGUESE_ESCUDO "<22>|<7C><><EFBFBD>g<EFBFBD>K<EFBFBD><4B> <20>G<EFBFBD>X<EFBFBD>N<EFBFBD>[<5B>h"
IDS_CURRENCY_SLOVAK_KORUNA "<22>X<EFBFBD><58><EFBFBD>o<EFBFBD>L<EFBFBD>A <20>R<EFBFBD><52><EFBFBD>i"
IDS_CURRENCY_SLOVENIAN_TOLAR "<22>X<EFBFBD><58><EFBFBD>x<EFBFBD>j<EFBFBD>A tolar"
IDS_CURRENCY_SPANISH_PESETA "<22>X<EFBFBD>y<EFBFBD>C<EFBFBD><43> <20>y<EFBFBD>Z<EFBFBD>^"
END
// TYPES OF ENERGIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "15<31><35><EFBFBD>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>["
IDS_ENERGY_BTUS "<22>p<EFBFBD><70><EFBFBD>M<EFBFBD>P<EFBFBD><50>"
IDS_ENERGY_ERGS "<22>G<EFBFBD><47><EFBFBD>O"
IDS_ENERGY_EVS "<22>d<EFBFBD>q<EFBFBD>{<7B><><EFBFBD>g"
IDS_ENERGY_FOOT_POUNDS "<22>t<EFBFBD>[<5B>g<EFBFBD>|<7C><><EFBFBD>h"
IDS_ENERGY_IT_CALORIES "International Table calories"
IDS_ENERGY_IT_KILOCALORIES "International Table kilocalories"
IDS_ENERGY_JOULES "<22>W<EFBFBD><57><EFBFBD>[<5B><>"
IDS_ENERGY_KILOJOULES "<22>L<EFBFBD><4C><EFBFBD>W<EFBFBD><57><EFBFBD>[<5B><>"
IDS_ENERGY_KILOWATT_HOURS "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>g<EFBFBD><67>"
IDS_ENERGY_NUTRITION_CALORIES "<22>h<EFBFBD>{<7B>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>["
IDS_ENERGY_TH_CALORIES "<22>M<EFBFBD><4D><EFBFBD>w<EFBFBD>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>["
END
// TYPES OF LENGTHS
STRINGTABLE DISCARDABLE
BEGIN
IDS_LENGTH_ANGSTROMS "<22>I<EFBFBD><49><EFBFBD>O<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B><>"
IDS_LENGTH_ASTRONOMICAL_UNITS "<22>V<EFBFBD><56><EFBFBD>P<EFBFBD><50>"
IDS_LENGTH_BARLEYCORNS "<22>o<EFBFBD>[<5B><><EFBFBD>[<5B>R<EFBFBD>[<5B><>"
IDS_LENGTH_CENTIMETERS "<22>Z<EFBFBD><5A><EFBFBD>`<60><><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_LENGTH_CHAINS_UK "<22>`<60>F<EFBFBD>[<5B><> (<28>p<EFBFBD><70>)"
IDS_LENGTH_CHI "Chi"
IDS_LENGTH_CHOU "Chou"
IDS_LENGTH_CHR "Chr"
IDS_LENGTH_CUN "Cun"
IDS_LENGTH_FATHOMS "<22>t<EFBFBD>@<40>]<5D><>"
IDS_LENGTH_FATHOMS_HUNGARY "<22>t<EFBFBD>@<40>]<5D><> (<28>n<EFBFBD><6E><EFBFBD>K<EFBFBD><4B><EFBFBD>[)"
IDS_LENGTH_FEET "<22>t<EFBFBD>B<EFBFBD>[<5B>g"
IDS_LENGTH_FURLONGS "<22>n<EFBFBD><6E><EFBFBD><EFBFBD>"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "<22>n<EFBFBD><6E><EFBFBD>h"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "<22>C<EFBFBD><43><EFBFBD>`"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "<22><><EFBFBD>N"
IDS_LENGTH_LINKS_UK "<22><><EFBFBD><EFBFBD><EFBFBD>N (<28>p<EFBFBD><70>)"
IDS_LENGTH_METERS "<22><><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_LENGTH_MICRONS "<22>~<7E>N<EFBFBD><4E><EFBFBD><EFBFBD>"
IDS_LENGTH_MILES "<22>}<7D>C<EFBFBD><43>"
IDS_LENGTH_MILLIMETERS "<22>~<7E><><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_LENGTH_NAUTICAL_MILES "<22>C<EFBFBD><43>"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_PARSECS "<22>p<EFBFBD>[<5B>Z<EFBFBD>N"
IDS_LENGTH_PICAS "<22>p<EFBFBD>C<EFBFBD>J"
IDS_LENGTH_RI_JAPAN "<22><> (<28><><EFBFBD>{)"
IDS_LENGTH_RI_KOREA "Ri (<28>؍<EFBFBD>)"
IDS_LENGTH_RODS "<22><><EFBFBD>b<EFBFBD>h"
IDS_LENGTH_SAWK "Sawk"
IDS_LENGTH_SEN "Sen"
IDS_LENGTH_SHAKU "<22><>"
IDS_LENGTH_SPAN "<22>X<EFBFBD>p<EFBFBD><70>"
IDS_LENGTH_SUN "<22><>"
IDS_LENGTH_TSUEN "Tsuen"
IDS_LENGTH_VA "Va"
IDS_LENGTH_YARDS "<22><><EFBFBD>[<5B>h"
IDS_LENGTH_YOTE "Yote"
IDS_LENGTH_ZHANG "Zhang"
END
// TYPES OF POWERS
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "<22>p<EFBFBD><70><EFBFBD>M<EFBFBD>P<EFBFBD><50>/<2F><>"
IDS_POWER_FPS_PER_MINUTE "<22>t<EFBFBD>[<5B>g<EFBFBD>|<7C><><EFBFBD>h/<2F><>"
IDS_POWER_HORSEPOWER "<22>n<EFBFBD><6E>"
IDS_POWER_KILOWATTS "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>g"
IDS_POWER_MEGAWATTS "<22><><EFBFBD>K<EFBFBD><4B><EFBFBD>b<EFBFBD>g"
IDS_POWER_WATTS "<22><><EFBFBD>b<EFBFBD>g"
END
// TYPE OF PRESSURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "<22>C<EFBFBD><43>"
IDS_PRESSURE_BARS "Bars"
IDS_PRESSURE_HECTOPASCALS "<22>w<EFBFBD>N<EFBFBD>g<EFBFBD>p<EFBFBD>X<EFBFBD>J<EFBFBD><4A>"
IDS_PRESSURE_KILOPASCALS "<22>L<EFBFBD><4C><EFBFBD>p<EFBFBD>X<EFBFBD>J<EFBFBD><4A>"
IDS_PRESSURE_MM_OF_MERCURY "<22><><EFBFBD><EFBFBD><EFBFBD>~<7E><><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_PRESSURE_PASCALS "<22>p<EFBFBD>X<EFBFBD>J<EFBFBD><4A>"
IDS_PRESSURE_PSI "<22>|<7C><><EFBFBD>h<EFBFBD>d/<2F><><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD>`"
END
// TYPES OF TEMPERATURES
STRINGTABLE DISCARDABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "<22>ێ<EFBFBD>"
IDS_TEMPERATURE_FAHRENHEIT "<22>؎<EFBFBD>"
IDS_TEMPERATURE_KELVIN "<22>P<EFBFBD><50><EFBFBD>r<EFBFBD><72>"
IDS_TEMPERATURE_RANKINE "Rankine"
END
// TYPES OF TIME
STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "<22><><EFBFBD><EFBFBD>"
IDS_TIME_HOURS "<22><><EFBFBD><EFBFBD>"
IDS_TIME_NANOSECONDS "<22>i<EFBFBD>m<EFBFBD>b"
IDS_TIME_MICROSECONDS "<22>}<7D>C<EFBFBD>N<EFBFBD><4E><EFBFBD>b"
IDS_TIME_MILLISECONDS "<22>~<7E><><EFBFBD>b"
IDS_TIME_MINUTES "<22><>"
IDS_TIME_SECONDS "<22>b"
IDS_TIME_WEEKS "<22>T"
IDS_TIME_YEARS "<22>N"
END
// TYPES OF VELOCITIES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "<22>Z<EFBFBD><5A><EFBFBD>`<60><><EFBFBD>[<5B>g<EFBFBD><67>/<2F><>"
IDS_VELOCITY_FEET_HOUR "<22>t<EFBFBD>B<EFBFBD>[<5B>g/<2F><>"
IDS_VELOCITY_FEET_SECOND "<22>t<EFBFBD>B<EFBFBD>[<5B>g/<2F>b"
IDS_VELOCITY_KILOMETERS_HOUR "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>[<5B>g<EFBFBD><67>/<2F><>"
IDS_VELOCITY_KNOTS "<22>m<EFBFBD>b<EFBFBD>g"
IDS_VELOCITY_MACH "<22>}<7D>b<EFBFBD>n"
IDS_VELOCITY_METERS_SECOND "<22><><EFBFBD>[<5B>g<EFBFBD><67>/<2F>b"
IDS_VELOCITY_MILES_HOUR "<22>}<7D>C<EFBFBD><43>/<2F><>"
END
// TYPES OF VOLUMES
STRINGTABLE DISCARDABLE
BEGIN
IDS_VOLUME_BARRELS_UK "<22>o<EFBFBD><6F><EFBFBD><EFBFBD> (<28>p<EFBFBD><70>)"
IDS_VOLUME_BARRELS_OIL "<22>Ζ<EFBFBD><CE96>o<EFBFBD><6F><EFBFBD><EFBFBD>"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "<22>u<EFBFBD>b<EFBFBD>V<EFBFBD>F<EFBFBD><46> (<28>p<EFBFBD><70>)"
IDS_VOLUME_BUSHELS_US "<22>u<EFBFBD>b<EFBFBD>V<EFBFBD>F<EFBFBD><46> (<28>č<EFBFBD>)"
IDS_VOLUME_CUBIC_CENTIMETERS "<22><><EFBFBD>@<40>Z<EFBFBD><5A><EFBFBD>`<60><><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_VOLUME_CUBIC_FEET "<22><><EFBFBD>@<40>t<EFBFBD>B<EFBFBD>[<5B>g"
IDS_VOLUME_CUBIC_INCHES "<22><><EFBFBD>@<40>C<EFBFBD><43><EFBFBD>`"
IDS_VOLUME_CUBIC_METERS "<22><><EFBFBD>@<40><><EFBFBD>[<5B>g<EFBFBD><67>"
IDS_VOLUME_CUBIC_YARDS "<22><><EFBFBD>@<40><><EFBFBD>[<5B>h"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "<22><><EFBFBD>̃I<CC83><49><EFBFBD>X (<28>p<EFBFBD><70>)"
IDS_VOLUME_FLUID_OUNCES_US "<22><><EFBFBD>̃I<CC83><49><EFBFBD>X (<28>č<EFBFBD>)"
IDS_VOLUME_GALLONS_UK "<22>K<EFBFBD><4B><EFBFBD><EFBFBD> (<28>p<EFBFBD><70>)"
IDS_VOLUME_GALLONS_DRY_US "<22>K<EFBFBD><4B><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD> (<28>č<EFBFBD>)"
IDS_VOLUME_GALLONS_LIQUID_US "<22>K<EFBFBD><4B><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>t<EFBFBD><74> (<28>č<EFBFBD>)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "<22><><EFBFBD>b<EFBFBD>g<EFBFBD><67>"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "<22>~<7E><><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>g<EFBFBD><67>"
IDS_VOLUME_PINTS_UK "<22>p<EFBFBD>C<EFBFBD><43><EFBFBD>g (<28>p<EFBFBD><70>)"
IDS_VOLUME_PINTS_DRY_US "<22>p<EFBFBD>C<EFBFBD><43><EFBFBD>g<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD> (<28>č<EFBFBD>)"
IDS_VOLUME_PINTS_LIQUID_US "<22>p<EFBFBD>C<EFBFBD><43><EFBFBD>g<EFBFBD>A<EFBFBD>t<EFBFBD><74> (<28>č<EFBFBD>)"
IDS_VOLUME_QUARTS_UK "<22>N<EFBFBD>H<EFBFBD>[<5B>g (<28>p<EFBFBD><70>)"
IDS_VOLUME_QUARTS_DRY_US "<22>N<EFBFBD>H<EFBFBD>[<5B>g<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD> (<28>č<EFBFBD>)"
IDS_VOLUME_QUARTS_LIQUID_US "<22>N<EFBFBD>H<EFBFBD>[<5B>g<EFBFBD>A<EFBFBD>t<EFBFBD><74> (<28>č<EFBFBD>)"
IDS_VOLUME_SEKI "Seki"
IDS_VOLUME_SYOU "Syou"
IDS_VOLUME_TANANLOUNG "Tananloung"
IDS_VOLUME_TANG "Tang"
IDS_VOLUME_TO "To"
END
// TYPES OF WEIGHTS
STRINGTABLE DISCARDABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_CARATS "<22>J<EFBFBD><4A><EFBFBD>b<EFBFBD>g"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "<22>O<EFBFBD><4F><EFBFBD><EFBFBD>"
IDS_WEIGHT_GWAN "Gwan"
IDS_WEIGHT_HARB "Harb"
IDS_WEIGHT_JIN_CHINA "Jin (<28><><EFBFBD><EFBFBD>)"
IDS_WEIGHT_JIN_TAIWAN "Jin (<28><><EFBFBD>p)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_KILOGRAMS "<22>L<EFBFBD><4C><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD>"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (<28><><EFBFBD><EFBFBD>)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (<28><><EFBFBD>p)"
IDS_WEIGHT_MONME "<22><> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "<22><><EFBFBD>t<EFBFBD>I<EFBFBD><49><EFBFBD>X"
IDS_WEIGHT_OUNCES_TROY "<22>g<EFBFBD><67><EFBFBD>C <20>I<EFBFBD><49><EFBFBD>X"
IDS_WEIGHT_POUNDS "<22>|<7C><><EFBFBD>h"
IDS_WEIGHT_QUINTAL_METRIC "<22>L<EFBFBD><4C><EFBFBD>^<5E><> (metric)"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "<22>X<EFBFBD>g<EFBFBD>[<5B><>"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "<22>g<EFBFBD><67>"
IDS_WEIGHT_TONS_UK "<22>g<EFBFBD><67> (<28>p<EFBFBD><70>)"
IDS_WEIGHT_TONS_US "<22>g<EFBFBD><67> (<28>č<EFBFBD>)"
END

View File

@@ -1,6 +1,6 @@
/* TRANSLATOR : M<>rio Ka<4B>m<EFBFBD>r /Mario Kacmar/ aka Kario (kario@szm.sk)
* DATE OF TR.: 30-01-2008
* LAST CHANGE: 04-09-2009
* LAST CHANGE: 31-05-2010
* ---------------------------------------
* TODO:
* pridanie naviga<67>n<EFBFBD>ch zna<6E>iek "&" ?
@@ -647,7 +647,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_TIME_DAYS "Dni"
IDS_TIME_HOURS "Hodiny"
IDS_TIME_NANOSECONDS "Nanoseconds"
IDS_TIME_NANOSECONDS "Nanosekundy"
IDS_TIME_MICROSECONDS "Mikrosekundy"
IDS_TIME_MILLISECONDS "Milisekundy"
IDS_TIME_MINUTES "Min<69>ty"

View File

@@ -52,6 +52,7 @@ IDB_BITMAP_ROS BITMAP DISCARDABLE "res/ROS_logo.bmp"
#include "lang/es-ES.rc"
#include "lang/fr-FR.rc"
#include "lang/it-IT.rc"
#include "lang/ja-JP.rc"
#include "lang/ko-KR.rc"
#include "lang/nl-NL.rc"
#include "lang/no-NO.rc"

View File

@@ -1,11 +1,23 @@
#include <windows.h>
#include <stdio.h>
#include <tchar.h>
#include <wchar.h>
#include <assert.h>
#include "doskey.h"
#define MAX_STRING 2000
TCHAR szStringBuf[MAX_STRING];
LPTSTR pszExeName = _T("cmd.exe");
WCHAR szStringBuf[MAX_STRING];
LPWSTR pszExeName = L"cmd.exe";
/* Function pointers */
typedef DWORD (WINAPI *GetConsoleCommandHistoryW_t) (LPWSTR sCommands, DWORD nBufferLength, LPWSTR sExeName);
typedef DWORD (WINAPI *GetConsoleCommandHistoryLengthW_t) (LPWSTR sExeName);
typedef BOOL (WINAPI *SetConsoleNumberOfCommandsW_t)(DWORD nNumber, LPWSTR sExeName);
typedef VOID (WINAPI *ExpungeConsoleCommandHistoryW_t)(LPWSTR sExeName);
GetConsoleCommandHistoryW_t pGetConsoleCommandHistoryW;
GetConsoleCommandHistoryLengthW_t pGetConsoleCommandHistoryLengthW;
SetConsoleNumberOfCommandsW_t pSetConsoleNumberOfCommandsW;
ExpungeConsoleCommandHistoryW_t pExpungeConsoleCommandHistoryW;
static VOID SetInsert(DWORD dwFlag)
{
@@ -18,79 +30,74 @@ static VOID SetInsert(DWORD dwFlag)
static VOID PrintHistory(VOID)
{
DWORD Length = GetConsoleCommandHistoryLength(pszExeName);
DWORD BufferLength;
DWORD Length = pGetConsoleCommandHistoryLengthW(pszExeName);
PBYTE HistBuf;
TCHAR *Hist;
TCHAR *HistEnd;
/* On Windows, the ANSI version of GetConsoleCommandHistory requires
* a buffer twice as large as the actual history length. */
BufferLength = Length * (sizeof(WCHAR) / sizeof(TCHAR)) * sizeof(BYTE);
WCHAR *Hist;
WCHAR *HistEnd;
HistBuf = HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
BufferLength);
Length);
if (!HistBuf) return;
Hist = (TCHAR *)HistBuf;
HistEnd = (TCHAR *)&HistBuf[Length];
Hist = (WCHAR *)HistBuf;
HistEnd = (WCHAR *)&HistBuf[Length];
if (GetConsoleCommandHistory(Hist, BufferLength, pszExeName))
for (; Hist < HistEnd; Hist += _tcslen(Hist) + 1)
_tprintf(_T("%s\n"), Hist);
if (pGetConsoleCommandHistoryW(Hist, Length, pszExeName))
for (; Hist < HistEnd; Hist += wcslen(Hist) + 1)
wprintf(L"%s\n", Hist);
HeapFree(GetProcessHeap(), 0, HistBuf);
}
static INT SetMacro(LPTSTR definition)
static INT SetMacro(LPWSTR definition)
{
TCHAR *name, *nameend, *text, temp;
WCHAR *name, *nameend, *text, temp;
name = definition;
while (*name == _T(' '))
while (*name == L' ')
name++;
/* error if no '=' found */
if ((nameend = _tcschr(name, _T('='))) != NULL)
if ((nameend = wcschr(name, L'=')) != NULL)
{
text = nameend + 1;
while (*text == _T(' '))
while (*text == L' ')
text++;
while (nameend > name && nameend[-1] == _T(' '))
while (nameend > name && nameend[-1] == L' ')
nameend--;
/* Split rest into name and substitute */
temp = *nameend;
*nameend = _T('\0');
*nameend = L'\0';
/* Don't allow spaces in the name, since such a macro would be unusable */
if (!_tcschr(name, _T(' ')) && AddConsoleAlias(name, text, pszExeName))
if (!wcschr(name, L' ') && AddConsoleAlias(name, text, pszExeName))
return 0;
*nameend = temp;
}
LoadString(GetModuleHandle(NULL), IDS_INVALID_MACRO_DEF, szStringBuf, MAX_STRING);
_tprintf(szStringBuf, definition);
wprintf(szStringBuf, definition);
return 1;
}
static VOID PrintMacros(LPTSTR pszExeName, LPTSTR Indent)
static VOID PrintMacros(LPWSTR pszExeName, LPWSTR Indent)
{
DWORD Length = GetConsoleAliasesLength(pszExeName);
PBYTE AliasBuf;
TCHAR *Alias;
TCHAR *AliasEnd;
WCHAR *Alias;
WCHAR *AliasEnd;
AliasBuf = HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
Length * sizeof(BYTE));
if (!AliasBuf) return;
Alias = (TCHAR *)AliasBuf;
AliasEnd = (TCHAR *)&AliasBuf[Length];
Alias = (WCHAR *)AliasBuf;
AliasEnd = (WCHAR *)&AliasBuf[Length];
if (GetConsoleAliases(Alias, Length * sizeof(BYTE), pszExeName))
for (; Alias < AliasEnd; Alias += _tcslen(Alias) + 1)
_tprintf(_T("%s%s\n"), Indent, Alias);
for (; Alias < AliasEnd; Alias += wcslen(Alias) + 1)
wprintf(L"%s%s\n", Indent, Alias);
HeapFree(GetProcessHeap(), 0, AliasBuf);
}
@@ -99,51 +106,47 @@ static VOID PrintAllMacros(VOID)
{
DWORD Length = GetConsoleAliasExesLength();
PBYTE ExeNameBuf;
TCHAR *ExeName;
TCHAR *ExeNameEnd;
WCHAR *ExeName;
WCHAR *ExeNameEnd;
ExeNameBuf = HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
Length * sizeof(BYTE));
if (!ExeNameBuf) return;
ExeName = (TCHAR *)ExeNameBuf;
ExeNameEnd = (TCHAR *)&ExeNameBuf[Length];
ExeName = (WCHAR *)ExeNameBuf;
ExeNameEnd = (WCHAR *)&ExeNameBuf[Length];
if (GetConsoleAliasExes(ExeName, Length * sizeof(BYTE)))
{
for (; ExeName < ExeNameEnd; ExeName += _tcslen(ExeName) + 1)
for (; ExeName < ExeNameEnd; ExeName += wcslen(ExeName) + 1)
{
_tprintf(_T("[%s]\n"), ExeName);
PrintMacros(ExeName, _T(" "));
_tprintf(_T("\n"));
wprintf(L"[%s]\n", ExeName);
PrintMacros(ExeName, L" ");
wprintf(L"\n");
}
}
HeapFree(GetProcessHeap(), 0, ExeNameBuf);
}
static VOID ReadFromFile(LPTSTR param)
static VOID ReadFromFile(LPWSTR param)
{
FILE* fp;
TCHAR line[MAX_PATH];
WCHAR line[MAX_PATH];
fp = _tfopen(param, _T("r"));
fp = _wfopen(param, L"r");
if (!fp)
{
#ifdef UNICODE
_wperror(param);
#else
perror(param);
#endif
return;
}
while ( _fgetts(line, MAX_PATH, fp) != NULL)
while ( fgetws(line, MAX_PATH, fp) != NULL)
{
/* Remove newline character */
TCHAR *end = &line[_tcslen(line) - 1];
if (*end == _T('\n'))
*end = _T('\0');
WCHAR *end = &line[wcslen(line) - 1];
if (*end == L'\n')
*end = L'\0';
if (*line)
SetMacro(line);
@@ -154,43 +157,53 @@ static VOID ReadFromFile(LPTSTR param)
}
/* Get the start and end of the next command-line argument. */
static BOOL GetArg(TCHAR **pStart, TCHAR **pEnd)
static BOOL GetArg(WCHAR **pStart, WCHAR **pEnd)
{
BOOL bInQuotes = FALSE;
TCHAR *p = *pEnd;
p += _tcsspn(p, _T(" \t"));
WCHAR *p = *pEnd;
p += wcsspn(p, L" \t");
if (!*p)
return FALSE;
*pStart = p;
do
{
if (!bInQuotes && (*p == _T(' ') || *p == _T('\t')))
if (!bInQuotes && (*p == L' ' || *p == L'\t'))
break;
bInQuotes ^= (*p++ == _T('"'));
bInQuotes ^= (*p++ == L'"');
} while (*p);
*pEnd = p;
return TRUE;
}
/* Remove starting and ending quotes from a string, if present */
static LPTSTR RemoveQuotes(LPTSTR str)
static LPWSTR RemoveQuotes(LPWSTR str)
{
TCHAR *end;
if (*str == _T('"') && *(end = str + _tcslen(str) - 1) == _T('"'))
WCHAR *end;
if (*str == L'"' && *(end = str + wcslen(str) - 1) == L'"')
{
str++;
*end = _T('\0');
*end = L'\0';
}
return str;
}
int
_tmain(VOID)
wmain(VOID)
{
/* Get the full command line using GetCommandLine(). We can't just use argv,
* because then a parameter like "gotoroot=cd \" wouldn't be passed completely. */
TCHAR *pArgStart;
TCHAR *pArgEnd = GetCommandLine();
WCHAR *pArgStart;
WCHAR *pArgEnd = GetCommandLine();
HMODULE hKernel32 = LoadLibraryW(L"kernel32.dll");
/* Get function pointers */
pGetConsoleCommandHistoryW = (GetConsoleCommandHistoryW_t)GetProcAddress( hKernel32, "GetConsoleCommandHistoryW");
pGetConsoleCommandHistoryLengthW = (GetConsoleCommandHistoryLengthW_t)GetProcAddress( hKernel32, "GetConsoleCommandHistoryLengthW");
pSetConsoleNumberOfCommandsW = (SetConsoleNumberOfCommandsW_t)GetProcAddress( hKernel32, "SetConsoleNumberOfCommandsW");
pExpungeConsoleCommandHistoryW = (ExpungeConsoleCommandHistoryW_t)GetProcAddress( hKernel32, "ExpungeConsoleCommandHistoryW");
assert(pGetConsoleCommandHistoryW && pGetConsoleCommandHistoryLengthW &&
pSetConsoleNumberOfCommandsW && pSetConsoleNumberOfCommandsW);
/* Skip the application name */
GetArg(&pArgStart, &pArgEnd);
@@ -198,55 +211,55 @@ _tmain(VOID)
while (GetArg(&pArgStart, &pArgEnd))
{
/* NUL-terminate this argument to make processing easier */
TCHAR tmp = *pArgEnd;
*pArgEnd = _T('\0');
WCHAR tmp = *pArgEnd;
*pArgEnd = L'\0';
if (!_tcscmp(pArgStart, _T("/?")))
if (!wcscmp(pArgStart, L"/?"))
{
LoadString(GetModuleHandle(NULL), IDS_HELP, szStringBuf, MAX_STRING);
_tprintf(szStringBuf);
wprintf(szStringBuf);
break;
}
else if (!_tcsnicmp(pArgStart, _T("/EXENAME="), 9))
else if (!_wcsnicmp(pArgStart, L"/EXENAME=", 9))
{
pszExeName = RemoveQuotes(pArgStart + 9);
}
else if (!_tcsicmp(pArgStart, _T("/H")) ||
!_tcsicmp(pArgStart, _T("/HISTORY")))
else if (!wcsicmp(pArgStart, L"/H") ||
!wcsicmp(pArgStart, L"/HISTORY"))
{
PrintHistory();
}
else if (!_tcsnicmp(pArgStart, _T("/LISTSIZE="), 10))
else if (!_wcsnicmp(pArgStart, L"/LISTSIZE=", 10))
{
SetConsoleNumberOfCommands(_ttoi(pArgStart + 10), pszExeName);
pSetConsoleNumberOfCommandsW(_wtoi(pArgStart + 10), pszExeName);
}
else if (!_tcsicmp(pArgStart, _T("/REINSTALL")))
else if (!wcsicmp(pArgStart, L"/REINSTALL"))
{
ExpungeConsoleCommandHistory(pszExeName);
pExpungeConsoleCommandHistoryW(pszExeName);
}
else if (!_tcsicmp(pArgStart, _T("/INSERT")))
else if (!wcsicmp(pArgStart, L"/INSERT"))
{
SetInsert(ENABLE_INSERT_MODE);
}
else if (!_tcsicmp(pArgStart, _T("/OVERSTRIKE")))
else if (!wcsicmp(pArgStart, L"/OVERSTRIKE"))
{
SetInsert(0);
}
else if (!_tcsicmp(pArgStart, _T("/M")) ||
!_tcsicmp(pArgStart, _T("/MACROS")))
else if (!wcsicmp(pArgStart, L"/M") ||
!wcsicmp(pArgStart, L"/MACROS"))
{
PrintMacros(pszExeName, _T(""));
PrintMacros(pszExeName, L"");
}
else if (!_tcsnicmp(pArgStart, _T("/M:"), 3) ||
!_tcsnicmp(pArgStart, _T("/MACROS:"), 8))
else if (!_wcsnicmp(pArgStart, L"/M:", 3) ||
!_wcsnicmp(pArgStart, L"/MACROS:", 8))
{
LPTSTR exe = RemoveQuotes(_tcschr(pArgStart, _T(':')) + 1);
if (!_tcsicmp(exe, _T("ALL")))
LPWSTR exe = RemoveQuotes(wcschr(pArgStart, L':') + 1);
if (!wcsicmp(exe, L"ALL"))
PrintAllMacros();
else
PrintMacros(exe, _T(""));
PrintMacros(exe, L"");
}
else if (!_tcsnicmp(pArgStart, _T("/MACROFILE="), 11))
else if (!_wcsnicmp(pArgStart, L"/MACROFILE=", 11))
{
ReadFromFile(RemoveQuotes(pArgStart + 11));
}

View File

@@ -23,11 +23,6 @@ BOOL WINAPI AddConsoleAliasA(LPSTR, LPSTR, LPSTR);
BOOL WINAPI AddConsoleAliasW(LPWSTR, LPWSTR, LPWSTR);
#define AddConsoleAlias TNAME(AddConsoleAlias)
#endif
#ifndef ExpungeConsoleCommandHistory
BOOL WINAPI ExpungeConsoleCommandHistoryA(LPSTR);
BOOL WINAPI ExpungeConsoleCommandHistoryW(LPWSTR);
#define ExpungeConsoleCommandHistory TNAME(ExpungeConsoleCommandHistory)
#endif
#ifndef GetConsoleAliases
DWORD WINAPI GetConsoleAliasesA(LPSTR, DWORD, LPSTR);
DWORD WINAPI GetConsoleAliasesW(LPWSTR, DWORD, LPWSTR);
@@ -48,20 +43,5 @@ DWORD WINAPI GetConsoleAliasExesLengthA(VOID);
DWORD WINAPI GetConsoleAliasExesLengthW(VOID);
#define GetConsoleAliasExesLength TNAME(GetConsoleAliasExesLength)
#endif
#ifndef GetConsoleCommandHistory
DWORD WINAPI GetConsoleCommandHistoryA(LPSTR, DWORD, LPSTR);
DWORD WINAPI GetConsoleCommandHistoryW(LPWSTR, DWORD, LPWSTR);
#define GetConsoleCommandHistory TNAME(GetConsoleCommandHistory)
#endif
#ifndef GetConsoleCommandHistoryLength
DWORD WINAPI GetConsoleCommandHistoryLengthA(LPSTR);
DWORD WINAPI GetConsoleCommandHistoryLengthW(LPWSTR);
#define GetConsoleCommandHistoryLength TNAME(GetConsoleCommandHistoryLength)
#endif
#ifndef SetConsoleNumberOfCommands
BOOL WINAPI SetConsoleNumberOfCommandsA(DWORD, LPSTR);
BOOL WINAPI SetConsoleNumberOfCommandsW(DWORD, LPWSTR);
#define SetConsoleNumberOfCommands TNAME(SetConsoleNumberOfCommands)
#endif
#endif /* RC_INVOKED */

View File

@@ -3,6 +3,7 @@
* Danish language support
*
* Copyright 2008 Jens Albretsen <jens@albretsen.dk>
* 2010 Thomas Larsen
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -21,12 +22,19 @@
#include "reg.h"
#pragma code_page(65001)
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<EFBFBD>gle_navn [/v v<EFBFBD>rdi | /ve] [/t type] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE n<EFBFBD>gle_navn [/v v<EFBFBD>rdi | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY n<EFBFBD>gle_navn [/v v<EFBFBD>rdi | /ve] [/s]\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"
STRING_SUCCESS, "Operationen blev afsluttet med succes\n"
STRING_INVALID_KEY, "Fejl: Ugyldigt nøgle navn\n"
STRING_INVALID_CMDLINE, "Fejl: Ugyldige kommando linje parametre\n"
STRING_NO_REMOTE, "Fejl: Kunne ikke tilføje nøgler til fjern maskinen\n"
STRING_CANNOT_FIND, "Fejl: Systemet kunne ikke finde, den angivet registrerings nøgle eller værdi\n"
}

View File

@@ -0,0 +1,40 @@
/*
* REG.EXE - Wine-compatible reg program.
* Spanish language support
*
* Copyright 2010 José Rostagno
*
* 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_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE
{
STRING_USAGE, "La sintaxis de este comando es:\n\nREG [ ADD | DELETE | QUERY ]\nREG comando /?\n"
STRING_ADD_USAGE, "REG ADD nombre_clave [/v nombre_valor | /ve] [/t tipo] [/s separador] [/d datos] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nombre_clave [/v nombre_valor | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nombre_clave [/v nombre_valor | /ve] [/s]\n"
STRING_SUCCESS, "La operación finalizó con éxito\n"
STRING_INVALID_KEY, "Error: nombre de clave no válido\n"
STRING_INVALID_CMDLINE, "Error: parámetros de línea de comandos inválidos\n"
STRING_NO_REMOTE, "Error: No se puede agregar claves al equipo remoto\n"
STRING_CANNOT_FIND, "Error: El sistema no pudo encontrar la clave o el valor del Registro especificado\n"
}

View File

@@ -35,6 +35,6 @@ STRINGTABLE
STRING_SUCCESS, "Operazione completata con successo\n"
STRING_INVALID_KEY, "Errore: nome della chiave non valido\n"
STRING_INVALID_CMDLINE, "Errore: parametri della linea di comando non validi\n"
STRING_NO_REMOTE, "Errore: Impossibile aggiungere chiavi alla macchina remota\n"
STRING_CANNOT_FIND, "Errore: Il sistema non è riuscito a trovare la chiave di registro o il valore specificati\n"
STRING_NO_REMOTE, "Errore: impossibile aggiungere chiavi alla macchina remota\n"
STRING_CANNOT_FIND, "Errore: il sistema non è riuscito a trovare la chiave di registro o il valore specificati\n"
}

View File

@@ -30,8 +30,8 @@ STRINGTABLE
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_INVALID_KEY, "Fout: Foutieve sleutelnaam\n"
STRING_INVALID_CMDLINE, "Fout: Foutieve commandoregel-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"
STRING_CANNOT_FIND, "Fout: Het systeem kon de gespecificeerde registersleutel of waarde niet vinden\n"
}

View File

@@ -4,6 +4,7 @@
*
* Copyright 2008 Andrew Riedi
* Copyright 2008 Mikolaj Zalewski
* Copyright 2010 <20>ukasz Wojni<6E>owicz
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -30,4 +31,9 @@ STRINGTABLE
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"
STRING_SUCCESS, "Operacja zako<6B>czona pomy<6D>lnie\n"
STRING_INVALID_KEY, "B<><42>d: Niew<65>a<EFBFBD>ciwa nazwa klucza\n"
STRING_INVALID_CMDLINE, "B<><42>d: Niew<65>a<EFBFBD>ciwe parametry wiersza polece<63>\n"
STRING_NO_REMOTE, "B<><42>d: Nie mo<6D>na doda<64> kluczy do zdalnej maszyny\n"
STRING_CANNOT_FIND, "B<><42>d: System nie m<>g<EFBFBD> znale<6C><65> podanej warto<74>ci lub klucza rejestru\n"
}

View File

@@ -24,7 +24,7 @@
#pragma code_page(65001)
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
STRINGTABLE
{

View File

@@ -0,0 +1,40 @@
/*
* REG.EXE - Wine-compatible reg program.
*
* Copyright 2008 Andrew Riedi
* Copyright 2010 Claudia Cotună
* 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_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
STRINGTABLE
{
STRING_USAGE, "Sintaxa acestei comenzi este:\n\nREG [ ADD | DELETE | QUERY ]\nREG comandă /?\n"
STRING_ADD_USAGE, "REG ADD nume_cheie [/v nume_valoare | /ve] [/t tip] [/s separator] [/d date] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nume_cheie [/v nume_valoare | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nume_cheie [/v nume_valoare | /ve] [/s]\n"
STRING_SUCCESS, "Operațiunea a fost finalizată cu succes\n"
STRING_INVALID_KEY, "Eroare: Nume de cheie nevalid\n"
STRING_INVALID_CMDLINE, "Eroare: Parametri nevalizi pentru linia de comandă\n"
STRING_NO_REMOTE, "Eroare: Nu se pot adăuga chei pe calculatorul de la distanță\n"
STRING_CANNOT_FIND, "Eroare: Sistemul nu a putut găsi cheia sau valoarea de registru specificată\n"
}

View File

@@ -0,0 +1,39 @@
/*
* REG.EXE - Wine-compatible reg program.
* Swedish language support
*
* Copyright 2010 Anders Jonsson
*
* 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_SWEDISH, SUBLANG_NEUTRAL
STRINGTABLE
{
STRING_USAGE, "Syntax för detta kommando är:\n\nREG [ ADD | DELETE | QUERY ]\nREG kommando /?\n"
STRING_ADD_USAGE, "REG ADD nyckelnamn [/v värdenamn | /ve] [/t typ] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nyckelnamn [/v värdenamn | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nyckelnamn [/v värdenamn | /ve] [/s]\n"
STRING_SUCCESS, "Operation slutfördes utan problem\n"
STRING_INVALID_KEY, "Fel: ogiltigt nyckelnamn\n"
STRING_INVALID_CMDLINE, "Fel: ogiltiga kommandoradsparametrar\n"
STRING_NO_REMOTE, "Fel: Kan inte lägga till nycklar till fjärrmaskin\n"
STRING_CANNOT_FIND, "Fel: Systemet kunde inte hitta angiven nyckel eller värde i registret\n"
}

View File

@@ -31,10 +31,10 @@ LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_USAGE, "Синтаксис цієї команди наступний:\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_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"
STRING_SUCCESS, "Операція успішно завершена\n"
STRING_INVALID_KEY, "Помилка: неправильне ім'я ключа\n"
STRING_INVALID_CMDLINE, "Помилка: неправильні параметри командного рядка\n"

View File

@@ -1,17 +1,20 @@
#include "Da.rc"
#include "En.rc"
#include "Ko.rc"
#include "Nl.rc"
#include "Pl.rc"
/* UTF-8 */
#include "Da.rc"
#include "De.rc"
#include "Es.rc"
#include "Fr.rc"
#include "It.rc"
#include "Ja.rc"
#include "Lt.rc"
#include "No.rc"
#include "Pt.rc"
#include "Ro.rc"
#include "Ru.rc"
#include "Si.rc"
#include "Sv.rc"
#include "Uk.rc"

View File

@@ -30,9 +30,9 @@ STRINGTABLE
STRING_PAUSE, "Tryk Enter for at begynde at kopiere\n"
STRING_SIMCOPY, "%d fil(er) vil blive kopieret\n"
STRING_COPY, "%d fil(er) kopieret\n"
STRING_QISDIR, "Er <20>%s<> et filnavn eller katalog\n" \
"p<EFBFBD> destinationen?\n" \
"(F - Fil, K - Katalog)\n"
STRING_QISDIR, "Er <20>%s<> et filnavn eller katalog\n\
p<> destinationen?\n\
(F - Fil, K - Katalog)\n"
STRING_SRCPROMPT,"%s? (Ja|Nei)\n"
STRING_OVERWRITE,"Overskrive <20>%s<>? (Ja|Nei|Alle)\n"
STRING_COPYFAIL, "Kunne ikke kopiere <20>%s<> til <20>%s<>; fejlet med r/c %d\n"

View File

@@ -33,9 +33,9 @@ STRINGTABLE
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_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 überschreiben? (Ja|Nein|Alle)\n"
STRING_COPYFAIL, "Kopieren von '%s' nach '%s' fehlgeschlagen. Fehlernummer: %d\n"

View File

@@ -30,9 +30,9 @@ STRINGTABLE
STRING_PAUSE, "Press <enter> to begin copying\n"
STRING_SIMCOPY, "%d file(s) would be copied\n"
STRING_COPY, "%d file(s) copied\n"
STRING_QISDIR, "Is '%s' a filename or directory\n" \
"on the target?\n" \
"(F - File, D - Directory)\n"
STRING_QISDIR, "Is '%s' a filename or directory\n\
on the target?\n\
(F - File, D - Directory)\n"
STRING_SRCPROMPT,"%s? (Yes|No)\n"
STRING_OVERWRITE,"Overwrite %s? (Yes|No|All)\n"
STRING_COPYFAIL, "Copying of '%s' to '%s' failed with r/c %d\n"
@@ -53,7 +53,7 @@ XCOPY source [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\n\
Where:\n\
\n\
[/I] Assume directory if destination does not exist and copying 2 or\n\
[/I] Assume directory if destination does not exist and copying two or\n\
\tmore files\n\
[/S] Copy directories and subdirectories\n\
[/E] Copy directories and subdirectories, including any empty ones\n\

View File

@@ -33,9 +33,9 @@ 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, "« %s » est-il un fichier ou un répertoire\n" \
"dans la destination ?\n" \
"(F - Fichier, R - 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 code de retour %d\n"

View File

@@ -31,11 +31,11 @@ STRINGTABLE
STRING_INVPARMS, "Numero non valido di parametri - Digita xcopy /? per l'aiuto\n"
STRING_INVPARM, "Parametro '%s' non valido - Digita xcopy /? per l'aiuto\n"
STRING_PAUSE, "Premi Invio per iniziare a copiare\n"
STRING_SIMCOPY, "%d file(s) sarebbero copiati\n"
STRING_COPY, "%d file(s) copiati\n"
STRING_QISDIR, "'%s' è il nome di un file o una cartella\n" \
"sull'obiettivo?\n" \
"(F - File, C - Cartella)\n"
STRING_SIMCOPY, "%d file saranno copiati\n"
STRING_COPY, "%d file copiato/i\n"
STRING_QISDIR, "'%s' è il nome di un file o una cartella\n\
nell'obiettivo?\n\
(F - File, C - Cartella)\n"
STRING_SRCPROMPT,"%s? (Sì|No)\n"
STRING_OVERWRITE,"Sovrascrivere %s? (Sì|No|Tutti)\n"
STRING_COPYFAIL, "La copia di '%s' in '%s' è fallita con r/c %d\n"
@@ -48,7 +48,7 @@ STRINGTABLE
STRING_DIR_CHAR, "C"
STRING_HELP,
"XCOPY - Copia file(s) e alberi di cartelle sorgenti in una destinazione\n\
"XCOPY - Copia file e alberi di cartelle sorgenti in una destinazione\n\
\n\
Sintassi:\n\
XCOPY sorgente [destinazione] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
@@ -56,27 +56,27 @@ XCOPY sorgente [destinazione] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\n\
Dove:\n\
\n\
[/I] Assumi una cartella se la destinazione non esiste e sono copiati 2 o\n\
\tpiù files\n\
[/I] Assume una cartella se la destinazione non esiste e sono copiati 2 o\n\
\tpiù file\n\
[/S] Copia le cartelle e le sottocartelle\n\
[/E] Copia le cartelle e le sottocartelle, includendo quelle vuote\n\
[/Q] Non mostrare i nomi durante la copia, modalità silenziosa.\n\
[/E] Copia le cartelle e le sottocartelle, incluse quelle vuote\n\
[/Q] Non mostra i nomi durante la copia, modalità silenziosa.\n\
[/F] Mostra i nomi completi della sorgente e della destinazione durante la copia\n\
[/L] Simula l'operazione, mostrando i nome che sarebbero copiati\n\
[/W] Prompts before beginning the copy operation\n\
[/T] Crea la struttura di cartelle vuote ma non copia i files\n\
[/Y] Disabilita le conferme quando sono sovrascritti files\n\
[/-Y] Abilita le conferme quando sono sovrascritti files\n\
[/L] Simula l'operazione, mostrando i nomi che sarebbero copiati\n\
[/W] Richiede prima di iniziare l'operazione di copia\n\
[/T] Crea la struttura di cartelle vuote ma non copia i file\n\
[/Y] Disabilita le conferme quando sono sovrascritti dei file\n\
[/-Y] Abilita le conferme quando sono sovrascritti dei file\n\
[/P] Chiede conferma per ogni file sorgente prima di copiare\n\
[/N] Copia usando gli short names\n\
[/N] Copia usando i nomi abbreviati\n\
[/U] Copia solo files che sono già presenti nella destinazione\n\
[/R] Sovrascrivi ogni file che abbia l'attributo Sola Lettura\n\
[/H] Includi files nascosti e di sistema nella copia\n\
[/R] Sovrascrive ogni file che abbia l'attributo Sola lettura\n\
[/H] Include i file nascosti e di sistema nella copia\n\
[/C] Continua anche se accade un errore durante la copia\n\
[/A] Copia solo files che abbiano l'attributo Archivio\n\
[/M] Copia solo files che abbiano l'attributo Archivio, rimuovendo\n\
[/A] Copia solo i file che abbiano l'attributo Archivio\n\
[/M] Copia solo i file che abbiano l'attributo Archivio, rimuovendo\n\
\tl'attributo\n\
[/D | /D:m-g-a] Copia i nuovi files o quelli modificati dopo la data fornita.\n\
[/D | /D:m-g-a] Copia i nuovi file o quelli modificati dopo la data fornita.\n\
\t\tSe nessuna data è stata fornita, copia solo se la destinazione è più vecchia\n\
\t\tdella sorgente\n\n"

View File

@@ -33,9 +33,9 @@ STRINGTABLE
STRING_PAUSE, "コピーを開始するには <enter> を押してください\n"
STRING_SIMCOPY, "%d ファイルがコピーされる見込みです。\n"
STRING_COPY, "%d ファイルをコピーしました\n"
STRING_QISDIR, "送り先の '%s' はファイル名ですか、\n" \
"ディレクトリですか?\n" \
"(F - ファイル、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"

View File

@@ -3,7 +3,7 @@
* Korean language support
*
* Copyright (C) 2007 J. Edmeades
* Copyright (C) 2007 YunSong Hwang(hys545@dreamwiz.com)
* Copyright (C) 2007,2010 YunSong Hwang
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -22,23 +22,25 @@
#include "xcopy.h"
#pragma code_page(65001)
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_INVPARMS, "<EFBFBD>ùٸ<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>Ű<EFBFBD><C5B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> - xcopy /?<3F><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ÿ<EFBFBD>\n"
STRING_INVPARM, "<EFBFBD>ùٸ<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>Ű<EFBFBD><C5B0><EFBFBD><EFBFBD><EFBFBD> '%s' - xcopy /?<3F><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ÿ<EFBFBD>\n"
STRING_PAUSE, "<enter> <EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><20><><EFBFBD>۵<EFBFBD> <20><><EFBFBD>Դϴ<D4B4>\n"
STRING_SIMCOPY, "%d <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>Դϴ<D4B4>\n"
STRING_COPY, "%d <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>\n"
STRING_QISDIR, "'%s'<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̳<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>?\n" \
"<22>Դϱ<D4B4>?\n" \
"(F - <EFBFBD><EFBFBD><EFBFBD><EFBFBD>, D - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n"
STRING_SRCPROMPT,"%s? (<EFBFBD><EFBFBD>|<7C>ƴϿ<C6B4>)\n"
STRING_OVERWRITE,"%s<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ڽ<EFBFBD><DABD>ϱ<EFBFBD>? (<28><>|<7C>ƴϿ<C6B4>|<7C><><EFBFBD><EFBFBD>)\n"
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? (예|아니오)\n"
STRING_OVERWRITE,"%s를 덮어쓰겠습니까? (예|아니오|모두)\n"
STRING_COPYFAIL, "Copying of '%s' to '%s' failed with r/c %d\n"
STRING_OPENFAIL, "'%s' <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n"
STRING_READFAIL, "'%s<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>߽<EFBFBD><DFBD>ϴ<EFBFBD>'\n"
STRING_OPENFAIL, "'%s' 열기 실패\n"
STRING_READFAIL, "'%s를 읽지 못했습니다'\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
@@ -46,36 +48,36 @@ STRINGTABLE
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̳<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n\
"XCOPY - 원본 파일이나 디렉토리 구조를 목적지로 복사\n\
\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\
XCOPY <EFBFBD><EFBFBD><EFBFBD><EFBFBD> [<5B><><EFBFBD><EFBFBD>] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\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\
Where:\n\
\n\
[/I] Assume directory if destination does not exist and copying 2 or\n\
\tmore files\n\
[/S] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϰ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD>\n\
[/E] <EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AE> <20><><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AE> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD>\n\
[/Q] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϰ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ǵ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̳<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AE> ǥ<><C7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʰ<EFBFBD> <20><><EFBFBD><EFBFBD>.\n\
[/F] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD>\n\
[/L] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ָ鼭 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>۾<EFBFBD>\n\
[/W] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ϱ<EFBFBD> <20><><EFBFBD><EFBFBD> Ȯ<><C8AE><EFBFBD>ϱ<EFBFBD>\n\
[/T] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʰ<EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n\
[/Y] <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><> Ȯ<><C8AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʱ<EFBFBD>\n\
[/-Y] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><> Ȯ<><C8AE><EFBFBD>ϱ<EFBFBD>\n\
[/P] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD>ȿ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD> Ȯ<><C8AE>\n\
[/N] ª<EFBFBD><EFBFBD> <20≯<EFBFBD><CCB8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD> <20><><EFBFBD><EFBFBD>\n\
[/U] <EFBFBD>̹<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AE> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD>ϸ<EFBFBD> <20><><EFBFBD><EFBFBD>\n\
[/R] <EFBFBD>б<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>ϵ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n\
[/H] <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̳<EFBFBD> <20>ý<EFBFBD><C3BD><EFBFBD> <20><><EFBFBD>ϵ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD> <20><><EFBFBD><EFBFBD>\n\
[/C] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD>ȿ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>߻<EFBFBD><DFBB>ص<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n\
[/A] <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>Ӽ<EFBFBD><D3BC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ǿ<EFBFBD><C7BE>ִ<EFBFBD> <20><><EFBFBD>ϸ<EFBFBD> <20><><EFBFBD><EFBFBD>\n\
[/M] <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>Ӽ<EFBFBD><D3BC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϸ鼭 <20><><EFBFBD><EFBFBD> <20>Ӽ<EFBFBD><D3BC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ǿ<EFBFBD><C7BE>ִ<EFBFBD>\n\
\<EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD> <20><><EFBFBD><EFBFBD>\n\
[/D | /D:m-d-y] <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>¥ <20>Ŀ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ǰų<C7B0> <20><><EFBFBD>ο<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.\n\
\t\tI<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><EEB6B0> <20><>¥<EFBFBD><C2A5> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
\t\t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>͸<EFBFBD> <20><><EFBFBD><EFBFBD>\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:m-d-y] 지정된 날짜 후에 수정되거나 새로운 파일 복사.\n\
\t\tI만약 어떠한 날짜도 지정되지 않으면,오직 원본보다\n\
\t\t대상이 오래된 것만 복사\n\n"
}

View File

@@ -33,9 +33,9 @@ STRINGTABLE
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_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"

View File

@@ -29,15 +29,15 @@ STRINGTABLE
{
STRING_INVPARMS, "Onjuist aantal parameters - Gebruik xcopy /? om hulp te krijgen\n"
STRING_INVPARM, "Onjuiste parameter '%s' - Gebruik xcopy /? om hulp te krijgen\n"
STRING_PAUSE, "Druk op <enter> om te beginnen met copiëren\n"
STRING_SIMCOPY, "%d bestand(en) zouden worden gecopiëerd\n"
STRING_COPY, "%d bestand(en) gecopiëerd\n"
STRING_QISDIR, "Is '%s' een bestand of een directory\n" \
"op de bestemming?\n" \
"(B - Bestand, D - Directory)\n"
STRING_PAUSE, "Druk op <enter> om te beginnen met kopiëren\n"
STRING_SIMCOPY, "%d bestand(en) zouden worden gekopieerd\n"
STRING_COPY, "%d bestand(en) gekopieerd\n"
STRING_QISDIR, "Is '%s' een bestand of een map\n\
op de bestemming?\n\
(B - Bestand, D - Directory)\n"
STRING_SRCPROMPT,"%s? (Ja|Nee)\n"
STRING_OVERWRITE,"Overschrijven %s? (Ja|Nee|Alles)\n"
STRING_COPYFAIL, "Copiëren van '%s' naar '%s' mislukt met r/c %d\n"
STRING_COPYFAIL, "Kopiëren van '%s' naar '%s' mislukt met r/c %d\n"
STRING_OPENFAIL, "Fout tijdens openen van '%s'\n"
STRING_READFAIL, "Fout tijdens lezen van '%s'\n"
STRING_YES_CHAR, "J"
@@ -47,7 +47,7 @@ STRINGTABLE
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - Copiëerd bron bestanden of directory bomen naar een bestemming\n\
"XCOPY - Kopieert bronbestanden of -mappen naar een bestemming\n\
\n\
Gebruik:\n\
XCOPY bron [bestemming] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
@@ -56,26 +56,26 @@ XCOPY bron [bestemming] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
Parameters:\n\
\n\
[/I] Als bestemming niet bestaat en 2 of meer bestanden worden\n\
\tgecopiëerd, neem aan dat een directory werd bedoeld\n\
[/S] Copiëer directories en subdirectories\n\
[/E] Copiëer directories en subdirectories, inclusief lege\n\
[/Q] Toon geen namen tijdens copiëren (stil).\n\
[/F] Toon volledige bron- en bestemmingnamen tijdens copiëren\n\
[/L] Simuleer de actie, toon de namen die gecopiëerd zouden worden\n\
[/W] Wacht op gebruiker actie voordat de copiëeractie begint\n\
[/T] Creëert de lege directory structuur maar copiëert geen bestanden\n\
\tgekopieerd, neem aan dat een map werd bedoeld\n\
[/S] Kopieer mappen en submappen\n\
[/E] Kopieer mappen en submappen, inclusief lege\n\
[/Q] Toon geen namen tijdens kopiëren (stil).\n\
[/F] Toon volledige bron- en bestemmingnamen tijdens kopiëren\n\
[/L] Simuleer de actie, toon de namen die gekopieerd zouden worden\n\
[/W] Wacht op actie van de gebruiker voor het kopiëren begint\n\
[/T] Creëert een lege mapstructuur, maar kopieert geen bestanden\n\
[/Y] Onderdrukt gebruikersactie wanneer bestanden worden overschreven\n\
[/-Y] Vraagt gebruikersactie wanneer bestanden worden overschreven\n\
[/P] Vraagt gebruikersactie voor ieder bron bestand voor copiëren\n\
[/N] Copiëer m.b.v korte bestandsnamen\n\
[/U] Copiëer alleen bestanden die al bestaan op de bestemming\n\
[/P] Vraagt gebruikersactie voor ieder bronbestand voor kopiëren\n\
[/N] Kopieer m.b.v korte bestandsnamen\n\
[/U] Kopieer alleen bestanden die al bestaan op de bestemming\n\
[/R] Overschrijf alle schrijf-beveiligde bestanden\n\
[/H] Inclusief verborgen en systeem bestanden\n\
[/C] Ga door zelfs als er een fout optreed tijdens het copiëren\n\
[/A] Copiëer alleen bestanden met archiverings attribuut aan\n\
[/M] Copiëer alleen bestanden met archiverings attribuut aan, verwijderd\n\
\tdit archiverings attribuut\n\
[/D | /D:m-d-y] Copiëer nieuwe bestanden of die gewijzigd zijn na de opgegeven\n\
\t\tdatum. Als geen detum wordt gegeven, copiëer alleen als bron nieuwer is.\n\n"
[/C] Ga door zelfs als er een fout optreed tijdens het kopiëren\n\
[/A] Kopieer alleen bestanden met archiveringsattribuut aan\n\
[/M] Kopieer alleen bestanden met archiveringsattribuut aan, verwijdert\n\
\tdit archiveringsattribuut\n\
[/D | /D:m-d-y] Kopieer bestanden die nieuw zijn of gewijzigd zijn na de opgegeven\n\
\t\tdatum. Als geen datum wordt gegeven, kopieer alleen als bron nieuwer is.\n\n"
}

View File

@@ -30,9 +30,9 @@ STRINGTABLE
STRING_PAUSE, "Trykk Enter for <20> begynne <20> kopiere\n"
STRING_SIMCOPY, "%d fil(er) ville blitt kopiert\n"
STRING_COPY, "%d fil(er) kopiert\n"
STRING_QISDIR, "Eer <20>%s<> et filnevn eller katalog\n" \
"i m<>let?\n" \
"(F - Fil, K - Katalog)\n"
STRING_QISDIR, "Eer <20>%s<> et filnevn eller katalog\n\
i m<>let?\n\
(F - Fil, K - Katalog)\n"
STRING_SRCPROMPT,"%s? (Ja|Nei)\n"
STRING_OVERWRITE,"Skrive over <20>%s<>? (Ja|Nei|Alle)\n"
STRING_COPYFAIL, "Klarte ikke kopiere <20>%s<> til <20>%s<>; feilet med r/c %d\n"

View File

@@ -31,9 +31,9 @@ STRINGTABLE
STRING_PAUSE, "Naci<63>nij <enter> aby rozpocz<63><7A> kopiowanie\n"
STRING_SIMCOPY, "%d plik(<28>w) zosta<74>oby skopiowanych\n"
STRING_COPY, "%d plik(<28>w) skopiowanych\n"
STRING_QISDIR, "Czy '%s' jest nazw<7A> pliku czy katalogu\n" \
"docelowego?\n" \
"(P - plik, K - katalog)\n"
STRING_QISDIR, "Czy '%s' jest nazw<7A> pliku czy katalogu\n\
docelowego?\n\
(P - plik, K - katalog)\n"
STRING_SRCPROMPT,"%s? (Tak|Nie)\n"
STRING_OVERWRITE,"Zast<73>pi<70> %s? (Tak|Nie|Wszystkie)\n"
STRING_COPYFAIL, "Kopiowanie '%s' do '%s' nie powiod<6F>o si<73> - kod b<><62>du %d\n"
@@ -54,8 +54,8 @@ XCOPY
\n\
Gdzie:\n\
\n\
[/I] Je<4A>eli \"cel\" nie istnieje i kopiowane s<> co najmniej dwa pliki,\n\
\tzak<61>ada, <20>e \"cel\" powien by<62> katalogiem\n\
[/I] Je<4A>eli ""cel"" nie istnieje i kopiowane s<> co najmniej dwa pliki,\n\
\tzak<61>ada, <20>e ""cel"" powien by<62> katalogiem\n\
[/S] Kopiuje katalogi i podkatalogi\n\
[/E] Kopiuje katalogi i podkatalogi, <20><>cznie z pustymi\n\
[/Q] Nie wypisuje nazw plik<69>w podczas kopiowania (tryb cichy)\n\

View File

@@ -3,6 +3,7 @@
* Portuguese language support
*
* Copyright (C) 2008 Ricardo Filipe
* Copyright 2010 Gustavo Henrique Milaré
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -21,21 +22,81 @@
#include "xcopy.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
#pragma code_page(65001)
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE
{
STRING_INVPARMS, "N<EFBFBD>mero de par<EFBFBD>metros inv<EFBFBD>lido - Use xcopy /? para ajuda\n"
STRING_INVPARM, "Par<EFBFBD>metro inv<EFBFBD>lido '%s' - Use xcopy /? para ajuda\n"
STRING_PAUSE, "Carregue <Enter> para iniciar c<EFBFBD>pia\n"
STRING_SIMCOPY, "%d ficheiro(s) seriam copiados\n"
STRING_COPY, "%d ficheiro(s) copiados\n"
STRING_QISDIR, "'%s' <EFBFBD> um ficheiro ou direct<EFBFBD>rio\n" \
"no alvo?\n" \
"(F - Ficheiro, D - Direct<EFBFBD>rio)\n"
STRING_INVPARMS, "Número de parâmetros inválido - Use xcopy /? para ajuda\n"
STRING_INVPARM, "Parâmetro inválido '%s' - Use xcopy /? para ajuda\n"
STRING_PAUSE, "Pressione <Enter> para iniciar a cópia\n"
STRING_SIMCOPY, "%d arquivo(s) seriam copiado(s)\n"
STRING_COPY, "%d arquivo(s) copiado(s)\n"
STRING_QISDIR, "'%s' é um arquivo ou direrio\n\
no alvo?\n\
(A - Arquivo, D - Directório)\n"
STRING_SRCPROMPT,"%s? (Sim|Não)\n"
STRING_OVERWRITE,"Reescrever %s? (Sim|Não|Tudo)\n"
STRING_COPYFAIL, "Falha ao copiar '%s' para '%s' com r/c %d\n"
STRING_OPENFAIL, "Falha ao abrir '%s'\n"
STRING_READFAIL, "Falha a ler '%s'\n"
STRING_YES_CHAR, "S"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "T"
STRING_FILE_CHAR,"A"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - Copia arquivos ou diretórios para um destino\n\
\n\
Sintaxe:\n\
XCOPY fonte [destino] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
Onde:\n\
\n\
[/I] Assume diretório se o destino não existe e está copiando 2 ou\n\
\tmais arquivos\n\
[/S] Copiar diretórios e subdiretórios\n\
[/E] Copiar diretórios e subdiretórios, incluindo os vazios\n\
[/Q] Não mostrar nomes durante a cópia, ie modo silencioso.\n\
[/F] Mostrar por completo os nomes de fonte e destino durante a cópia\n\
[/L] Simular a operação, mostrando os nomes que seriam copiados\n\
[/W] Alerta antes de iniciar a operação de cópia\n\
[/T] Cria a estrutura de diretórios mas não copia arquivos\n\
[/Y] Omitir alertas ao sobrescrever arquivos\n\
[/-Y] Alertar ao sobrescrever arquivos\n\
[/P] Alertar antes de cada arquivo ser copiado\n\
[/N] Copiar usando nomes pequenos\n\
[/U] Copiar apenas arquivos que já existem no destino\n\
[/R] Reescrever quaisquer arquivos de somente leitura\n\
[/H] Incluir arquivos ocultos e de sistema na cópia\n\
[/C] Continuar mesmo que ocorra um erro durante a cópia\n\
[/A] Copiar apenas arquivos com atributo de arquivo\n\
[/M] Copiar apenas arquivos com atributo de arquivo, removendo\n\
\to atributo de arquivo\n\
[/D | /D:m-d-y] Copiar novos arquivos ou os alterados após a data fornecida\n\
\t\tSe nenhuma data for fornecida, apenas copiar se o destino\n\
\t\tfor mais antigo que a fonte\n\n"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE
{
STRING_INVPARMS, "Número de parâmetros inválido - Use xcopy /? para ajuda\n"
STRING_INVPARM, "Parâmetro inválido '%s' - Use xcopy /? para ajuda\n"
STRING_PAUSE, "Carregue <Enter> para iniciar cópia\n"
STRING_SIMCOPY, "%d ficheiro(s) seriam copiado(s)\n"
STRING_COPY, "%d ficheiro(s) copiado(s)\n"
STRING_QISDIR, "'%s' é um ficheiro ou directório\n\
no alvo?\n\
(F - Ficheiro, D - Directório)\n"
STRING_SRCPROMPT,"%s? (Yes|No)\n"
STRING_OVERWRITE,"Reescrever %s? (Yes|No|All)\n"
STRING_COPYFAIL, "C<EFBFBD>pia de '%s' para '%s' falhou com r/c %d\n"
STRING_COPYFAIL, "Cópia de '%s' para '%s' falhou com r/c %d\n"
STRING_OPENFAIL, "Falhou ao abrir '%s'\n"
STRING_READFAIL, "Falhou a ler '%s'\n"
STRING_YES_CHAR, "Y"
@@ -45,7 +106,7 @@ STRINGTABLE
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - Copia ficheiros ou direct<EFBFBD>rios para um destino\n\
"XCOPY - Copia ficheiros ou directórios para um destino\n\
\n\
Sintaxe:\n\
XCOPY source [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
@@ -53,28 +114,28 @@ XCOPY source [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\n\
Onde:\n\
\n\
[/I] Assume direct<EFBFBD>rio se o destino n<EFBFBD>o existe e est<EFBFBD> a copiar 2 ou\n\
[/I] Assume directório se o destino não existe e está a copiar 2 ou\n\
\tmais ficheiros\n\
[/S] Copiar direct<EFBFBD>rios e subdirect<EFBFBD>rios\n\
[/E] Copiar direct<EFBFBD>rios e subdirect<EFBFBD>rios, incluindo os vazios\n\
[/Q] N<EFBFBD>o mostrar nomes durante a c<EFBFBD>pia, ie quiet.\n\
[/F] Mostrar por completo os nomes de fonte e destino durante a c<EFBFBD>pia\n\
[/L] Simular a opera<EFBFBD><EFBFBD>o, mostrando os nomes que seriam copiados\n\
[/W] Alerta antes de iniciar a opera<EFBFBD><EFBFBD>o de c<EFBFBD>pia\n\
[/T] Cria a estrutura de direct<EFBFBD>rios mas n<EFBFBD>o copia ficheiros\n\
[/S] Copiar directórios e subdirectórios\n\
[/E] Copiar directórios e subdirectórios, incluindo os vazios\n\
[/Q] Não mostrar nomes durante a cópia, ie quiet.\n\
[/F] Mostrar por completo os nomes de fonte e destino durante a cópia\n\
[/L] Simular a operação, mostrando os nomes que seriam copiados\n\
[/W] Alerta antes de iniciar a operação de cópia\n\
[/T] Cria a estrutura de directórios mas não copia ficheiros\n\
[/Y] Suprimir alertas quando reescreve ficheiros\n\
[/-Y] Alertar quando reescreve ficheiros\n\
[/P] Alertar antes de cada ficheiros ser copiado\n\
[/P] Alertar antes de cada ficheiro ser copiado\n\
[/N] Copiar usando nomes pequenos\n\
[/U] Copiar apenas ficheiros que j<EFBFBD> existem no destino\n\
[/U] Copiar apenas ficheiros que já existem no destino\n\
[/R] Reescrever quaisquer ficheiros apenas de leitura\n\
[/H] Incluir ficheiros ocultos e de sistema na c<EFBFBD>pia\n\
[/C] Continuar mesmo que ocorra um erro durante a c<EFBFBD>pia\n\
[/H] Incluir ficheiros ocultos e de sistema na cópia\n\
[/C] Continuar mesmo que ocorra um erro durante a cópia\n\
[/A] Copiar apenas ficheiros com atributo de arquivo\n\
[/M] Copiar apenas ficheiros com atributo de arquivo, removendo\n\
\to atributo de arquivo\n\
[/D | /D:m-d-y] Copiar novos ficheiros ou os alterados ap<EFBFBD>s a data fornecida\n\
\t\tSe nenhuma data for fornecida, apenas copiar se o destino for mais antigo\n\
\t\tque a fonte\n\n"
[/D | /D:m-d-y] Copiar novos ficheiros ou os alterados após a data fornecida\n\
\t\tSe nenhuma data for fornecida, apenas copiar se o destino\n\
\t\tfor mais antigo que a fonte\n\n"
}

View File

@@ -0,0 +1,80 @@
/*
* XCOPY - Wine-compatible xcopy program
*
* Copyright (C) 2007 J. Edmeades
* Copyright (C) 2010 Claudia Cotună
* 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 "xcopy.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
STRINGTABLE
{
STRING_INVPARMS, "Număr de parametri nevalid - Utilizați xcopy /? pentru ajutor\n"
STRING_INVPARM, "Parametru nevalid „%s” - Utilizați xcopy /? pentru ajutor\n"
STRING_PAUSE, "Apăsați pe <enter> pentru a începe copierea\n"
STRING_SIMCOPY, "%d fișier(e) ar fi copiat(e)\n"
STRING_COPY, "%d fișier(e) copiat(e)\n"
STRING_QISDIR, "„%s” este un nume de fișier sau un director\ndin destinație?\n(F - Fișier, D - Director)\n"
STRING_SRCPROMPT,"%s? (Da|Nu)\n"
STRING_OVERWRITE,"Se suprascrie %s? (Da|Nu|Toate)\n"
STRING_COPYFAIL, "Copierea „%s” în „%s” a eșuat cu cod de retur %d\n"
STRING_OPENFAIL, "Deschiderea „%s” a eșuat\n"
STRING_READFAIL, "Citirea „%s” a eșuat\n"
STRING_YES_CHAR, "D"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "T"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - Copiază fișiere sau arbori de directoare sursă într-o destinație\n\
\n\
Sintaxă:\n\
XCOPY sursă [destinație] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\nCu:\n\
\n\
[/I] Creează director dacă destinația nu există și se copiază două sau\n\
\tmai multe fișiere\n\
[/S] Copiază directoarele și subdirectoarele\n\
[/E] Copiază directoarele și subdirectoarele, inclusiv pe cele goale\n\
[/Q] Nu afișa numele în timpul copierii.\n\
[/F] Arată numele întreg pentru sursă și destinație în timpul copierii\n\
[/L] Simulează operațiunea, afișând numele care ar fi copiate\n\
[/W] Solicită confirmarea înainte de a începe copierea\n\
[/T] Creează o structură de directoare goale, dar nu copiază fișiere\n\
[/Y] Nu solicita confirmarea la suprascrierea fișierelor\n\
[/-Y] Solicită confirmarea la suprascrierea fișierelor\n\
[/P] Solicită confirmarea înainte de copierea fiecărui fișier sursă\n\
[/N] Copiază utilizând prescurtări de nume\n\
[/U] Copiază numai fișierele care există deja în destinație\n\
[/R] Suprascrie orice fișiere cu protecție la modificări\n\
[/H] Include în copie fișierele ascunse și de sistem\n\
[/C] Continuă chiar dacă apare o eroare în timpul copierii\n\
[/A] Copiază numai fișierele cu atributul de arhivă activat\n\
[/M] Copiază numai fișierele cu atributul de arhivă activat, dezactivează\n\
\tapoi atributul\n\
[/D | /D:m-d-y] Copiază fișierele noi sau pe cele modificate după data\n\
\t\tspecificată. Dacă nu este specificată nici o dată, copiază\n\
\t\tnumai dacă fișierul destinație este mai vechi decât fișierul\n\
\t\tsursă\n\n"
}

View File

@@ -35,11 +35,11 @@ STRINGTABLE
STRING_INVPARM,
"Недопустимый параметр '%s' - попробуйте 'xcopy /?' для получения подробного\n\
описания.\n"
STRING_PAUSE, "Нажмите клавишу <enter>, чтобы начать копирование.\n"
STRING_PAUSE, "Нажмите клавишу <Enter>, чтобы начать копирование.\n"
STRING_SIMCOPY, "%d файл(ов) было бы скопировано.\n"
STRING_COPY, "%d файл(ов) скопировано.\n"
STRING_QISDIR, "'%s' является файлом или папкой?\n" \
"(F - Файл, D - Папка)\n"
STRING_QISDIR, "'%s' является файлом или папкой?\n\
(F - Файл, D - Папка)\n"
STRING_SRCPROMPT,"%s? (Yes|No)\n"
STRING_OVERWRITE,"Переписать %s? (Yes|No|All)\n"
STRING_COPYFAIL, "При копировании '%s' в '%s' произошла ошибка: %d\n"
@@ -77,8 +77,8 @@ XCOPY source [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
[/R] Перезаписывает файлы, доступные только для чтения.\n\
[/H] Копирует скрытые и системные файлы.\n\
[/C] Продолжает работу, даже если произошла ошибка.\n\
[/A] Копирует только те файлы, для которых установлен атрибут \"архивный\".\n\
[/M] Копирует только те файлы, для которых установлен атрибут \"архивный\",\n\
[/A] Копирует только те файлы, для которых установлен атрибут ""архивный"".\n\
[/M] Копирует только те файлы, для которых установлен атрибут ""архивный"",\n\
при этом атрибут удаляется.\n\
[/D | /D:m-d-y] Копирует только новые файлы или те, которые были изменены\n\
после указанной даты. Если дата не указана, копирует только\n\

View File

@@ -32,9 +32,9 @@ STRINGTABLE
STRING_PAUSE, "Za začetek kopiranja pritisnite <enter>\n"
STRING_SIMCOPY, "Prekopiral bom %d datotek\n"
STRING_COPY, "Prekopiral sem %d datotek\n"
STRING_QISDIR, "Ali je '%s' ime ciljne datoteke\n" \
"ali mape?\n" \
"(D - Datoteka, M - Mapa)\n"
STRING_QISDIR, "Ali je '%s' ime ciljne datoteke\n\
ali mape?\n\
(D - Datoteka, M - Mapa)\n"
STRING_SRCPROMPT,"%s? (Da|Ne)\n"
STRING_OVERWRITE,"Ali naj prepišem %s? (Da|Ne|Vse)\n"
STRING_COPYFAIL, "Kopiranje '%s' v '%s' ni uspelo (koda napake: %d)\n"
@@ -56,7 +56,7 @@ XCOPY izvor [cilj] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
Where:\n\
\n\
[/I] Če cilj ne obstaja in gre za kopiranje dveh ali več datotek, predpostavi,\n\
\da je cilj mapa\n\
\tda je cilj mapa\n\
[/S] Kopiraj mape in podmape\n\
[/E] Kopiraj mape in podmape, vključno s praznimi mapami\n\
[/Q] Ne izpisuj imen med kopiranjem (tiho).\n\

View File

@@ -0,0 +1,82 @@
/*
* XCOPY - Wine-compatible xcopy program
* Swedish language support
*
* Copyright (C) 2010 Anders Jonsson
*
* 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_SWEDISH, SUBLANG_NEUTRAL
STRINGTABLE
{
STRING_INVPARMS, "Ogiltigt antal parametrar - Använd xcopy /? för hjälp\n"
STRING_INVPARM, "Ogiltig parameter '%s' - Använd xcopy /? för hjälp\n"
STRING_PAUSE, "Tryck <enter> för att börja kopiera\n"
STRING_SIMCOPY, "%d fil(er) skulle kopieras\n"
STRING_COPY, "%d fil(er) kopierade\n"
STRING_QISDIR, "Är '%s' ett filnamn eller en katalog\n" \
"på målet?\n" \
"(F - Fil, K - Katalog)\n"
STRING_SRCPROMPT,"%s? (Ja|Nej)\n"
STRING_OVERWRITE,"Skriv över %s? (Ja|Nej|Alla)\n"
STRING_COPYFAIL, "Kunde inte kopiera '%s' till '%s'; misslyckades med r/c %d\n"
STRING_OPENFAIL, "Kunde inte öppna '%s'\n"
STRING_READFAIL, "Kunde inte läsa '%s'\n"
STRING_YES_CHAR, "J"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "K"
STRING_HELP,
"XCOPY - Kopierar källfiler eller katalogträd till ett mål\n\
\n\
Syntax:\n\
XCOPY källa [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
Där:\n\
\n\
[/I] Antag att målet är en katalog om målet inte existerar och\n\
\ två eller fler filer kopieras\n\
[/S] Kopiera kataloger och underkataloger\n\
[/E] Kopiera kataloger och underkataloger, inklusive tomma sådana\n\
[/Q] Tyst läge: Lista inte filnamn under kopiering\n\
[/F] Visa fulla käll- och målnamn under kopiering\n\
[/L] Simulerar operationen och visar namn som skulle kopieras\n\
[/W] Frågar innan kopieringen påbörjas\n\
[/T] Skapar tom katalogstruktur men kopierar inga filer\n\
[/Y] Fråga inte när filer skrivs över\n\
[/-Y] Fråga innan filer skrivs över\n\
[/P] Fråga för varje källfil som kopieras.\n\
[/N] Kopiera som korta filnamn\n\
[/U] Kopiera enbart filer som redan existerar i destinationskatalogen\n\
[/R] Skriv över skrivskyddade filer\n\
[/H] Inkludera gömda filer och systemfiler i kopian\n\
[/C] Fortsätt även om ett fel uppstår under kopieringen\n\
[/A] Kopiera enbart filer markerade som arkiv\n\
[/M] Kopiera enbart filer markerade som arkiv, ta bort\n\
\ markeringen\n\
[/D | /D:m-d-y] Kopiera nya filer eller de ändrade efter angivet datum.\n\
\t\tOm inget datum angivits utförs endast kopiering om målet är\n\
\t\täldre än källan\n\n"
}

View File

@@ -34,9 +34,8 @@ STRINGTABLE
STRING_PAUSE, "Натисніть <enter> щоб почати копіювання\n"
STRING_SIMCOPY, "%d файл(ів) буде скопійовано\n"
STRING_COPY, "%d файл(ів) скопійовано\n"
STRING_QISDIR, "'%s' є файлом чи директорією\n" \
"on the target?\n" \
"(F - Файл, D - Директорія)\n"
STRING_QISDIR, "'%s' є файлом чи директорією?\n\
(F - Файл, D - Директорія)\n"
STRING_SRCPROMPT,"%s? (Yes|No)\n"
STRING_OVERWRITE,"Переписати %s? (Yes|No|All)\n"
STRING_COPYFAIL, "Під час копіювання '%s' в '%s' сталась помилка r/c %d\n"
@@ -51,34 +50,34 @@ STRINGTABLE
STRING_HELP,
"XCOPY - Копіює файли та дерева директорій за призначенням\n\
\n\
Syntax:\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\
Where:\n\
Де:\n\
\n\
[/I] Assume directory if destination does not exist and copying 2 or\n\
\tmore files\n\
[/I] Якщо кінцева папка відсутня і копіюється бiльше одного файлу,\n\
\tто припускається, що мiсце призначення є папкою\n\
[/S] Копіює директорії та піддиректорії\n\
[/E] Копіює директорії та піддиректорії, включно з порожніми\n\
[/Q] Do not list names during copy, ie quiet.\n\
[/Q] Не відображає імена файлів під час копіювання.\n\
[/F] Під час копіювання відображає повні імена початкових і кінцевих файлів\n\
[/L] Simulate operation, showing names which would be copied\n\
[/L] Виводить список файлів, які будуть скопійовані\n\
[/W] Питає підтвердження перед початком копіювання\n\
[/T] Створює структуру каталогів але не копіює файли\n\
[/Y] Suppress prompting when overwriting files\n\
[/Y] Придушує запит на підтвердження перезапису файлів\n\
[/-Y] Питає підтвердження на перезапис файлів\n\
[/P] Prompts on each source file before copying\n\
[/P] Питає підтвердження для кожного копійованого файлу\n\
[/N] Копіює, використовуючи короткі імена\n\
[/U] Copy only files which already exist in destination\n\
[/U] Копіює лише ті файли, як вже iснують в кінцевій папці\n\
[/R] Перезаписує файли, доступні лише для читання\n\
[/H] Include hidden and system files in the copy\n\
[/C] Продовжує роботу, навіть якщо при копіюванні виникла помилка\n\
[/H] Копіює також приховані та системні файли\n\
[/C] Продовжує роботу, навіть якщо при копіюванні сталася помилка\n\
[/A] Копіює лише файли з властивістю АРХІВНИЙ\n\
[/M] Копіює лише файли з властивістю АРХІВНИЙ, видаляє\n\
\властивість АРХІВНИЙ\n\
[/D | /D:m-d-y] Копіює лише нові файли або ті, які були змінені після вказаної дати.\n\
\t\tЯкщо дата не вказана, only copy if destination is older\n\
\t\tthan source\n\n"
\tвластивість АРХІВНИЙ\n\
[/D | /D:m-d-y] Копіює лише нові файли або ті, які були змінені після вказаної\n\
дати. Якщо дата не вказана, копіює лише ті файли, які новіші\n\
в початковій папці\n\n"
}

View File

@@ -28,18 +28,20 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "Da.rc"
#include "En.rc"
#include "Ko.rc"
#include "No.rc"
#include "Pl.rc"
#include "Pt.rc"
/* UTF-8 */
#include "De.rc"
#include "Fr.rc"
#include "It.rc"
#include "Ja.rc"
#include "Ko.rc"
#include "Lt.rc"
#include "Nl.rc"
#include "Pt.rc"
#include "Ro.rc"
#include "Ru.rc"
#include "Si.rc"
#include "Sv.rc"
#include "Uk.rc"

View File

@@ -261,11 +261,13 @@ int wmain (int argc, WCHAR *argvW[])
WINE_TRACE("Destination : '%s'\n", wine_dbgstr_w(supplieddestination));
/* Extract required information from source specification */
XCOPY_ProcessSourceParm(suppliedsource, sourcestem, sourcespec, flags);
rc = XCOPY_ProcessSourceParm(suppliedsource, sourcestem, sourcespec, flags);
if (rc != RC_OK) return rc;
/* Extract required information from destination specification */
XCOPY_ProcessDestParm(supplieddestination, destinationstem,
rc = XCOPY_ProcessDestParm(supplieddestination, destinationstem,
destinationspec, sourcespec, flags);
if (rc != RC_OK) return rc;
/* Trace out the resulting information */
WINE_TRACE("Resolved parameters:\n");

View File

@@ -1,402 +0,0 @@
/* PROJECT: ReactOS Downloader (was GetFirefox)
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/downloader/download.c
* PURPOSE: Displaying a download dialog
* COPYRIGHT: Copyright 2001 John R. Sheets (for CodeWeavers)
* Copyright 2004 Mike McCormack (for CodeWeavers)
* Copyright 2005 Ge van Geldorp (gvg@reactos.org)
* Copyright 2007 Dmitry Chapyshev (lentind@yandex.ru)
*/
/*
* Based on Wine dlls/shdocvw/shdocvw_main.c
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#define COBJMACROS
#define WIN32_NO_STATUS
#include <windows.h>
#include <commctrl.h>
#include <shlobj.h>
#include <shlwapi.h>
#include <urlmon.h>
#include "resources.h"
#include "structures.h"
#define NDEBUG
#include <debug.h>
extern struct Application* SelectedApplication;
extern WCHAR Strings [STRING_COUNT][MAX_STRING_LENGHT];
typedef struct _IBindStatusCallbackImpl
{
const IBindStatusCallbackVtbl *vtbl;
LONG ref;
HWND hDialog;
BOOL *pbCancelled;
} IBindStatusCallbackImpl;
static HRESULT WINAPI
dlQueryInterface(IBindStatusCallback* This, REFIID riid, void** ppvObject)
{
if (NULL == ppvObject)
{
return E_POINTER;
}
if (IsEqualIID(riid, &IID_IUnknown) || IsEqualIID(riid, &IID_IBindStatusCallback))
{
IBindStatusCallback_AddRef( This );
*ppvObject = This;
return S_OK;
}
return E_NOINTERFACE;
}
static ULONG WINAPI
dlAddRef(IBindStatusCallback* iface)
{
IBindStatusCallbackImpl *This = (IBindStatusCallbackImpl *) iface;
return InterlockedIncrement(&This->ref);
}
static ULONG WINAPI
dlRelease(IBindStatusCallback* iface)
{
IBindStatusCallbackImpl *This = (IBindStatusCallbackImpl *) iface;
DWORD ref = InterlockedDecrement(&This->ref);
if( !ref )
{
DestroyWindow( This->hDialog );
HeapFree(GetProcessHeap(), 0, This);
}
return ref;
}
static HRESULT WINAPI
dlOnStartBinding(IBindStatusCallback* iface, DWORD dwReserved, IBinding* pib)
{
DPRINT1("OnStartBinding not implemented\n");
return S_OK;
}
static HRESULT WINAPI
dlGetPriority(IBindStatusCallback* iface, LONG* pnPriority)
{
DPRINT1("GetPriority not implemented\n");
return S_OK;
}
static HRESULT WINAPI
dlOnLowResource( IBindStatusCallback* iface, DWORD reserved)
{
DPRINT1("OnLowResource not implemented\n");
return S_OK;
}
static HRESULT WINAPI
dlOnProgress(IBindStatusCallback* iface, ULONG ulProgress,
ULONG ulProgressMax, ULONG ulStatusCode, LPCWSTR szStatusText)
{
IBindStatusCallbackImpl *This = (IBindStatusCallbackImpl *) iface;
HWND Item;
LONG r;
WCHAR OldText[100];
Item = GetDlgItem(This->hDialog, IDC_PROGRESS);
if (NULL != Item && 0 != ulProgressMax)
{
SendMessageW(Item, PBM_SETPOS, ((ULONGLONG)ulProgress * 100) / ulProgressMax, 0);
}
Item = GetDlgItem(This->hDialog, IDC_STATUS);
if (NULL != Item && NULL != szStatusText)
{
SendMessageW(Item, WM_GETTEXT, sizeof(OldText) / sizeof(OldText[0]),
(LPARAM) OldText);
if (sizeof(OldText) / sizeof(OldText[0]) - 1 <= wcslen(OldText) || 0 != wcscmp(OldText, szStatusText))
{
SendMessageW(Item, WM_SETTEXT, 0, (LPARAM) szStatusText);
}
}
SetLastError(0);
r = GetWindowLongPtrW(This->hDialog, GWLP_USERDATA);
if (0 != r || 0 != GetLastError())
{
*This->pbCancelled = TRUE;
DPRINT("Cancelled\n");
return E_ABORT;
}
return S_OK;
}
static HRESULT WINAPI
dlOnStopBinding(IBindStatusCallback* iface, HRESULT hresult, LPCWSTR szError)
{
DPRINT1("OnStopBinding not implemented\n");
return S_OK;
}
static HRESULT WINAPI
dlGetBindInfo(IBindStatusCallback* iface, DWORD* grfBINDF, BINDINFO* pbindinfo)
{
DPRINT1("GetBindInfo not implemented\n");
return S_OK;
}
static HRESULT WINAPI
dlOnDataAvailable(IBindStatusCallback* iface, DWORD grfBSCF,
DWORD dwSize, FORMATETC* pformatetc, STGMEDIUM* pstgmed)
{
DPRINT1("OnDataAvailable implemented\n");
return S_OK;
}
static HRESULT WINAPI
dlOnObjectAvailable(IBindStatusCallback* iface, REFIID riid, IUnknown* punk)
{
DPRINT1("OnObjectAvailable implemented\n");
return S_OK;
}
static const IBindStatusCallbackVtbl dlVtbl =
{
dlQueryInterface,
dlAddRef,
dlRelease,
dlOnStartBinding,
dlGetPriority,
dlOnLowResource,
dlOnProgress,
dlOnStopBinding,
dlGetBindInfo,
dlOnDataAvailable,
dlOnObjectAvailable
};
static IBindStatusCallback*
CreateDl(HWND Dlg, BOOL *pbCancelled)
{
IBindStatusCallbackImpl *This;
This = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IBindStatusCallbackImpl));
if (!This)
return NULL;
This->vtbl = &dlVtbl;
This->ref = 1;
This->hDialog = Dlg;
This->pbCancelled = pbCancelled;
return (IBindStatusCallback*) This;
}
static DWORD WINAPI
ThreadFunc(LPVOID Context)
{
//static const WCHAR szUrl[] = DownloadUrl;
IBindStatusCallback *dl;
WCHAR path[MAX_PATH];
LPWSTR p;
STARTUPINFOW si;
PROCESS_INFORMATION pi;
HWND Dlg = (HWND) Context;
DWORD r;
BOOL bCancelled = FALSE;
BOOL bTempfile = FALSE;
HKEY hKey;
DWORD dwSize = MAX_PATH;
/* built the path for the download */
p = wcsrchr(SelectedApplication->Location, L'/');
if (NULL == p)
{
goto end;
}
/* Create default download path */
if (GetWindowsDirectory(path, sizeof(path) / sizeof(WCHAR)))
{
WCHAR DPath[256];
int i;
for (i = 0; i < 4; i++)
{
if (i == 3)
{
DPath[i] = '\0';
break;
}
DPath[i] = path[i];
}
LoadString(GetModuleHandle(NULL), IDS_DOWNLOAD_FOLDER, path, sizeof(path) / sizeof(WCHAR));
wcscat((LPWSTR)DPath, path);
wcscpy(path, DPath);
}
if (RegOpenKey(HKEY_LOCAL_MACHINE,
TEXT("Software\\ReactOS\\Downloader"),
&hKey) == ERROR_SUCCESS)
{
if ((RegQueryValueEx(hKey,
L"DownloadFolder",
NULL,
NULL,
(LPBYTE)&path,
&dwSize) != ERROR_SUCCESS) && (path[0] == 0))
{
goto end;
}
}
if (GetFileAttributes(path) == 0xFFFFFFFF)
if (!CreateDirectory((LPCTSTR)path,NULL))
{
goto end;
}
wcscat(path, L"\\");
wcscat(path, p + 1);
/* download it */
bTempfile = TRUE;
dl = CreateDl(Context, &bCancelled);
r = URLDownloadToFileW(NULL, SelectedApplication->Location, path, 0, dl);
if (NULL != dl)
{
IBindStatusCallback_Release(dl);
}
if (S_OK != r)
{
MessageBoxW(0,Strings[IDS_DOWNLOAD_ERROR],0,0);
goto end;
}
else if (bCancelled)
{
goto end;
}
ShowWindow(Dlg, SW_HIDE);
/* run it */
memset(&si, 0, sizeof(si));
si.cb = sizeof(si);
r = CreateProcessW(path, NULL, NULL, NULL, 0, 0, NULL, NULL, &si, &pi);
if (0 == r)
{
goto end;
}
CloseHandle(pi.hThread);
WaitForSingleObject(pi.hProcess, INFINITE);
CloseHandle(pi.hProcess);
end:
if (bTempfile)
{
if (bCancelled)
DeleteFileW(path);
else
{
DWORD dwSize = sizeof(DWORD);
DWORD dwValue, dwType = REG_DWORD;
if (RegQueryValueEx(hKey,
L"DeleteInstaller",
NULL,
&dwType,
(LPBYTE)&dwValue,
&dwSize) == ERROR_SUCCESS)
if (dwValue == 0x1)
DeleteFileW(path);
RegCloseKey(hKey);
}
}
EndDialog(Dlg, 0);
return 0;
}
INT_PTR CALLBACK
DownloadProc(HWND Dlg, UINT Msg, WPARAM wParam, LPARAM lParam)
{
HANDLE Thread;
DWORD ThreadId;
HWND Item;
switch (Msg)
{
case WM_INITDIALOG:/*
Icon = LoadIconW((HINSTANCE) GetWindowLongPtr(Dlg, GWLP_HINSTANCE),
MAKEINTRESOURCEW(IDI_ICON_MAIN));
if (NULL != Icon)
{
SendMessageW(Dlg, WM_SETICON, ICON_BIG, (LPARAM) Icon);
SendMessageW(Dlg, WM_SETICON, ICON_SMALL, (LPARAM) Icon);
}*/
SetWindowLongPtrW(Dlg, GWLP_USERDATA, 0);
Item = GetDlgItem(Dlg, IDC_PROGRESS);
if (NULL != Item)
{
SendMessageW(Item, PBM_SETRANGE, 0, MAKELPARAM(0,100));
SendMessageW(Item, PBM_SETPOS, 0, 0);
}/*
Item = GetDlgItem(Dlg, IDC_REMOVE);
if (NULL != Item)
{
if (GetShortcutName(ShortcutName) &&
INVALID_FILE_ATTRIBUTES != GetFileAttributesW(ShortcutName))
{
SendMessageW(Item, BM_SETCHECK, BST_CHECKED, 0);
}
else
{
SendMessageW(Item, BM_SETCHECK, BST_UNCHECKED, 0);
ShowWindow(Item, SW_HIDE);
}
}*/
Thread = CreateThread(NULL, 0, ThreadFunc, Dlg, 0, &ThreadId);
if (NULL == Thread)
{
return FALSE;
}
CloseHandle(Thread);
return TRUE;
case WM_COMMAND:
if (wParam == IDCANCEL)
{
SetWindowLongPtrW(Dlg, GWLP_USERDATA, 1);
PostMessage(Dlg, WM_CLOSE, 0, 0);
}
return FALSE;
case WM_CLOSE:
EndDialog(Dlg, 0);
return TRUE;
default:
return FALSE;
}
}

View File

@@ -1,26 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
<group>
<installfile installbase="system32">downloader.xml</installfile>
<module name="downloader" type="win32gui" installbase="system32" installname="downloader.exe" unicode="yes">
<include base="downloader">.</include>
<include base="expat">.</include>
<library>advapi32</library>
<library>ntdll</library>
<library>user32</library>
<library>gdi32</library>
<library>shell32</library>
<library>comctl32</library>
<library>msimg32</library>
<library>shlwapi</library>
<library>urlmon</library>
<library>uuid</library>
<library>expat</library>
<file>main.c</file>
<file>xml.c</file>
<file>download.c</file>
<file>downloader.rc</file>
</module>
</group>

View File

@@ -1,10 +0,0 @@
#include <windows.h>
#include "resources.h"
#define REACTOS_STR_FILE_DESCRIPTION "Download !\0"
#define REACTOS_STR_INTERNAL_NAME "downloader\0"
#define REACTOS_STR_ORIGINAL_FILENAME "downloader.exe\0"
#include <reactos/version.rc>
#include "rsrc.rc"

View File

@@ -1,326 +0,0 @@
<tree Version="1"> <!-- Application version this tree is made for -->
<category name="Internet &amp; Network" icon="1">
<application name="Firefox 2.0">
<regname>Mozilla Firefox (2.0.0.20)</regname>
<licence>MPL/GPL/LGPL</licence>
<version>2.0.0.20</version>
<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/2.0.0.20/win32/en-US/Firefox%20Setup%202.0.0.20.exe</location>
</application>
<application name="Firefox 3.0">
<regname>Mozilla Firefox (3.0.11)</regname>
<licence>MPL/GPL/LGPL</licence>
<version>3.0.11</version>
<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>
<version>2.6</version>
<description>Abyss Web Server enables you to host your Web sites on your computer. It supports secure SSL/TLS connections (HTTPS) as well as a wide range of Web technologies. It can also run advanced PHP, Perl, Python, ASP, ASP.NET, and Ruby on Rails Web applications, which can be backed by databases such as MySQL, SQLite, MS SQL Server, MS Access, or Oracle</description>
<location>http://www.aprelium.com/data/abwsx1.exe</location>
</application>
<application name="Thunderbird 2.0">
<regname>Mozilla Thunderbird (2.0.0.19)</regname>
<licence>MPL/GPL/LGPL</licence>
<version>2.0.0.19</version>
<description>The most popular and one of the best free Mail Clients out there.</description>
<location>http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/2.0.0.19/win32/en-US/Thunderbird%20Setup%202.0.0.19.exe</location>
</application>
<application name="SeaMonkey">
<regname>SeaMonkey (1.1.16)</regname>
<version>1.1.16</version>
<description>Mozilla Suite is alive. This is the one and only Browser, Mail, Chat, and Composer bundle you will ever need.</description>
<location>http://ftp.df.lth.se/mozilla/seamonkey/releases/1.1.16/seamonkey-1.1.16.en-US.win32.installer.exe</location>
</application>
<application name="Off By One Browser">
<regname>The Off By One Web Browser</regname>
<description>The Off By One Browser is a very small and fast web browser with full HTML 3.2 support.</description>
<location>http://offbyone.com/offbyone/images/OffByOneSetup.exe</location>
</application>
<application name="mIRC">
<regname>mIRC</regname>
<licence>Shareware</licence>
<version>6.35</version>
<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>
<version>0.60</version>
<description>A free SSH, Telnet, rlogin, and raw TCP client.</description>
<location>http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.60-installer.exe</location>
</application>
</category>
<category name="Office" icon="2">
<application name="Abiword">
<regname>"AbiWord 2.6.4 (remove only)"</regname>
<version>2.6.4</version>
<description>Word processor.</description>
<location>http://www.abiword.org/downloads/abiword/2.6.4/Windows/abiword-setup-2.6.4.exe</location>
</application>
<application name="SoftMaker Office 2008">
<regname>SoftMakerOff08</regname>
<version>2008</version>
<licence>Shareware</licence>
<description>SoftMaker Office 2008 comes with the following applications: TextMaker 2008: Reads and writes all Microsoft Word files without a hitch. PlanMaker 2008, the fully Excel-compatible spreadsheet. SoftMaker Presentations 2008, fully compatible with Microsoft PowerPoint.</description>
<location>http://www.softmaker.net/down/ofw08ev.exe</location>
</application>
<application name="TextMaker Viewer 2009">
<regname>TextMaker Viewer 2009</regname>
<version>TMViewer09</version>
<licence>Freeware</licence>
<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">
<regname>IrfanView (remove only)</regname>
<version>4.23</version>
<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>
<description>An Open Source bitmap graphics editor geared towards young children.</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/tuxpaint/tuxpaint-0.9.19-win32-installer.exe</location>
</application>
<application name="zeckensack's glide wrapper">
<regname>GlidewrapZbag</regname>
<version>0.84c</version>
<description>glidewrapper needed to run Diablo 2 on ReactOS.</description>
<location>http://www.zeckensack.de/glide/archive/GlideWrapper084c.exe</location>
</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>
<description>Visual Basic 5 Runtime</description>
<location>http://download.microsoft.com/download/vb50pro/utility/1/win98/en-us/msvbvm50.exe</location>
</application>
<application name="Visual Basic 6 Runtime">
<regname>vb6run</regname>
<version>6.0</version>
<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>
<version>0.8.0</version>
<description>VLC media player is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.</description>
<location>http://download.videolan.org/pub/videolan/vlc/0.8.0/win32/vlc-0.8.0-win32.exe</location>
</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>
<description>A Port of the GNU toolchain with GCC, GDB, GNU make, etc.</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/mingw/MinGW-5.1.3.exe</location>
</application>
<application name="SciTE 1.78">
<regname>SciTE 1.78</regname>
<version>1.78</version>
<licence>GPL</licence>
<description>SciTE is a SCIntilla based Text Editor. Originally built to demonstrate Scintilla, it has grown to be a generally useful editor with facilities for building and running programs.</description>
<location>http://fastbull.dl.sourceforge.net/sourceforge/scintilla/Sc178.exe</location>
</application>
<application name="FreeBASIC">
<regname>FreeBASIC 0.18.4b</regname>
<version>0.18.4b</version>
<description>Open Source BASIC Compiler. The BASIC syntax is compatible to QBASIC.</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/fbc/FreeBASIC-v0.18.4b-win32.exe</location>
</application>
</category>
<category name="Games &amp; Fun" icon="6">
<application name="ScummVM">
<regname>ScummVM 0.11.1</regname>
<version>0.11.1</version>
<description>SamNMax, Day of Tentacle, etc on ReactOS</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/scummvm/scummvm-0.11.1-win32.exe</location>
</application>
<application name="Diablo 2 Shareware">
<regname>Diablo II Shareware</regname>
<version>1.4</version>
<description>Diablo 2 Shareware. zeckensack's glide wrapper is req. to run it.</description>
<location>http://ftp.freenet.de./pub/filepilot/windows/spiele/diabloiidemo.exe</location>
<depends>GlidewrapZbag</depends>
<postinstallaction>http://svn.reactos.org/downloads/d2fix.exe</postinstallaction>
</application>
<application name="Tile World">
<description>Nice Clone of Chip's Challenge originally made for the Atari Lynx. Includes free CCLP2 Graphics Pack, so you dont need the copyrighted Original.</description>
<location>http://www.muppetlabs.com/~breadbox/pub/software/tworld/tworld-1.3.0-win32-CCLP2.exe</location>
</application>
<application name="OpenTTD">
<regname>OpenTTD 0.7.1</regname>
<version>0.7.1</version>
<description>Open Source clone of the "Transport Tycoon Deluxe" game engine. You either need a copy of Transport Tycoon or have to manually download and set up the OpenGFX files.</description>
<location>http://binaries.openttd.org/releases/0.7.1/openttd-0.7.1-windows-win32.exe</location>
</application>
<application name="LBreakout2">
<regname>LBreakout2 2.4.1</regname>
<version>2.4.1</version>
<description>Breakout Clone using SDL libs.</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/lgames/lbreakout2-2.4.1-win32.exe</location>
</application>
<application name="LGeneral">
<regname>LGeneral 1.1</regname>
<version>1.1</version>
<description>Panzer General Clone using SDL libs.</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/lgames/lgeneral-1.1-win32.exe</location>
</application>
<application name="LMarbles">
<regname>LMarbles 1.0.6</regname>
<version>1.0.6</version>
<description>Atomix Clone using SDL libs.</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/lgames/lmarbles-1.0.6-win32.exe</location>
</application>
<application name="WinBoard">
<regname>WinBoard 4.2.7b</regname>
<version>4.2.7b</version>
<licence>GPL 3</licence>
<description>WinBoard is a graphical chessboard for the Windows/ReactOS that can serve as a user interface for GNU Chess, Crafty, and other chess engines, for the Internet Chess Servers, and for electronic mail correspondence chess.</description>
<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>
<version>4.57</version>
<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">
<version>5.10.00.3610</version>
<description>Unzip in the "ReactOS" folder then restart ReactOS twice.</description>
<location>http://svn.reactos.org/packages/ac97_vbox.exe</location>
</application>
</category>
<category name="Others" icon="8">
<application name="Simple Direct Media Layer (SDL) Runtime">
<version>1.2.13</version>
<description>Needed for many Open Source Games to run. You need 7-Zip or a similar Utility to extract it.</description>
<location>http://www.libsdl.org/release/SDL-1.2.13-win32.zip</location>
</application>
<application name="Simple Direct Media Layer (SDL) Mixer">
<version>1.2.8</version>
<description>Needed for some Open Source Games to run. You need 7-Zip or a similar Utility to extract it.</description>
<location>http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.8-win32.zip</location>
</application>
<application name="DOSBox">
<version>0.72</version>
<description>DOSBox is a DOS emulator.</description>
<location>http://ovh.dl.sourceforge.net/sourceforge/dosbox/DOSBox0.72-win32-installer.exe</location>
</application>
</category>
</tree>

View File

@@ -1,60 +0,0 @@
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
IDD_DOWNLOAD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 220, 76
STYLE DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
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 "<22><><EFBFBD><EFBFBD><EFBFBD>", IDCANCEL, 85, 58, 50, 15, WS_GROUP | WS_TABSTOP
END
IDD_PROF DIALOGEX 6, 6, 267, 110
STYLE DS_CENTER | WS_BORDER | WS_CAPTION | WS_POPUP | WS_SYSMENU | WS_VISIBLE
CAPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 6, 10, 144, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&<26><><EFBFBD><EFBFBD><EFBFBD>...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 6, 55, 140, 8
EDITTEXT IDC_UPDATE_SERVER_EDIT, 6, 65, 255, 14, WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&<26><><EFBFBD><EFBFBD><EFBFBD>", IDOK, 147, 90, 54, 15
PUSHBUTTON "&<26><><EFBFBD><EFBFBD><EFBFBD>", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD>! - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WELCOME_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_WELCOME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1.1."
IDS_NO_APP_TITLE "<22><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_NO_APP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><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> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>."
IDS_UPDATE_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_UPDATE "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_HELP_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD>"
IDS_HELP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><> <20><><EFBFBD><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><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_NO_APPS "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_APP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_SUB "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_CATEGORY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_BOTH "<22><><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>."
IDS_XMLERROR_1 "Xml <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> !"
IDS_XMLERROR_2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> XML <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!"
IDS_DOWNLOAD_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_VERSION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "
IDS_LICENCE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "
IDS_MAINTAINER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "
IDS_APPS_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CATS_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CHOOSE_FOLDER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
IDS_NOTCREATE_REGKEY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_DOWNLOAD_FOLDER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_UNABLECREATE_FOLDER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>!"
IDS_UPDATE_URL "http://svn.reactos.org"
TTT_HELPBUTTON, "<22><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
TTT_UPDATEBUTTON, "<22><><EFBFBD> <20><><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
TTT_PROFBUTTON, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END

View File

@@ -1,61 +0,0 @@
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 "Downloadordner:", -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 "Updateserver:", -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 aus, 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 aus..."
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 +0,0 @@
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
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 "<22><><EFBFBD><EFBFBD><EFBFBD>", 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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "<22>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&<26><><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> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -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 "&<26><><EFBFBD><EFBFBD><EFBFBD>", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "Download ! - ReactOS Downloader"
IDS_WELCOME_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ReactOS Downloader"
IDS_WELCOME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1.1."
IDS_NO_APP_TITLE "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_UPDATE "Sorry this feature is not implemented yet."
IDS_HELP_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_HELP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> download. 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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_SUB "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_CATEGORY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_BOTH "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_XMLERROR_1 "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xml !"
IDS_XMLERROR_2 "Could not parse the xml file !"
IDS_DOWNLOAD_ERROR "<22><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> internet <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>."
IDS_VERSION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "
IDS_LICENCE "<22><><EFBFBD><EFBFBD><EFBFBD>: "
IDS_MAINTAINER "Maintainer: "
IDS_APPS_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CATS_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CHOOSE_FOLDER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
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 <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> %s. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> %s <20><><EFBFBD><EFBFBD>;"
TTT_HELPBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> downloader"
TTT_UPDATEBUTTON "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
TTT_PROFBUTTON "Let you configure the downloader"
END

View File

@@ -1,61 +0,0 @@
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 +0,0 @@
/*
*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

View File

@@ -1,61 +0,0 @@
LANGUAGE LANG_FRENCH, 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 "T<>l<EFBFBD>chargement..."
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 "Annuler", 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 "Pr<50>f<EFBFBD>rences"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "R<>pertoire de t<>l<EFBFBD>chargement :", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "C&hoisir...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "Supprimer les fichiers apr<70>s l'installation", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Serveur de mise-<2D>-jour :", -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 "Annuler", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "T<>l<EFBFBD>charger ! - T<>l<EFBFBD>chargeur de ReactOS"
IDS_WELCOME_TITLE "Bienvenue dans le T<>l<EFBFBD>chargeur de ReactOS"
IDS_WELCOME "Veuillez choisir une cat<61>gorie sur la gauche. C'est la version 1.1."
IDS_NO_APP_TITLE "Aucune application selectionn<6E>e"
IDS_NO_APP "Veuillez s<>lectionner une application avant de cliquer sur le bouton T<>l<EFBFBD>charger, si vous avez besoin d'aide, veuillez cliquer sur le point d'interrogation dans le coin sup<75>rieur droit."
IDS_UPDATE_TITLE "Mise <20> jour"
IDS_UPDATE "D<>sol<6F>, cette fonctionnalit<69> n'est pas encore impl<70>ment<6E>e."
IDS_HELP_TITLE "Aide"
IDS_HELP "Choisissez une cat<61>gorie sur la gauche, puis choisissez une application et cliquez sur le bouton T<>l<EFBFBD>charger. Pour mettre <20> jour les informations sur l'application, cliquez sur le bouton <20> c<>t<EFBFBD> du bouton d'aide."
IDS_NO_APPS "D<>sol<6F>, il n'y a pas encore d'application dans cette cat<61>gorie. Vous pouvez contribuer et ajouter plus d'applications."
IDS_CHOOSE_APP "Veuillez choisir une application."
IDS_CHOOSE_SUB "Veuillez choisir une sous-cat<61>gorie."
IDS_CHOOSE_CATEGORY "Veuillez choisir une cat<61>gorie."
IDS_CHOOSE_BOTH "Veuillez choisir une sous-cat<61>gorie ou une application."
IDS_XMLERROR_1 "Impossible de trouver le fichier xml !"
IDS_XMLERROR_2 "Impossible d'analyser le fichier xml !"
IDS_DOWNLOAD_ERROR "Impossible de t<>l<EFBFBD>charger le fichier.\nVeuillez v<>rifier votre connexion Internet."
IDS_VERSION "Version: "
IDS_LICENCE "Licence: "
IDS_MAINTAINER "Maintainer: "
IDS_APPS_TITLE "Applications"
IDS_CATS_TITLE "Cat<61>gories"
IDS_CHOOSE_FOLDER "Veuillez choisir le r<>pertoire..."
IDS_NOTCREATE_REGKEY "<22>chec lors de la cr<63>ation de la cl<63> registre."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "<22>chec lors du r<>pertoire avec ce nom !"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s est n<>cessaire pour lancer %s. Voulez-vous installer %s maintenant ?"
TTT_HELPBUTTON "Obtenez de l'aide <20> propros du t<>l<EFBFBD>chargeur"
TTT_UPDATEBUTTON "Pas encore disponible"
TTT_PROFBUTTON "Vous permet de configurer le t<>l<EFBFBD>chargeur"
END

View File

@@ -1,61 +0,0 @@
LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT
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 "Batal", 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 "Proferences"
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 "Selamat datang di ReactOS Downloader"
IDS_WELCOME "Silahkan pilih kategori di sebelah kiri. Ini versi 1.1."
IDS_NO_APP_TITLE "Tidak ada aplikasi yang dipilih"
IDS_NO_APP "Silahkan pilih Aplikasi sebelum anda mengklik tombol download, jika anda membutuhkan asistensi silahkan klik pada tombol di sudut kanan atas."
IDS_UPDATE_TITLE "Mutakhirkan"
IDS_UPDATE "Maaf fitur ini belum diimplementasikan."
IDS_HELP_TITLE "Bantuan"
IDS_HELP "Pilih kategori di sisi kiri, lalu pilih aplikasi dan klik tombol download. Untuk memutakhirkan informasi aplikasi klik tombol disebelah tombol bantuan."
IDS_NO_APPS "Maaf, belum ada aplikasi dalam kategori ini. Anda dapat membantu dan menambahkan aplikasi lebih banyak."
IDS_CHOOSE_APP "Silahkan pilih aplikasi."
IDS_CHOOSE_SUB "Silahkan pilih subkategori."
IDS_CHOOSE_CATEGORY "Silahkan pilih kategori."
IDS_CHOOSE_BOTH "Silahkan pilih subkategori atau aplikasi."
IDS_XMLERROR_1 "Tidak dapat menemukan file xml !"
IDS_XMLERROR_2 "Tidak dapat mengurai file xml !"
IDS_DOWNLOAD_ERROR "Tidak bisa mendownload file.\nSilahkan periksa koneksi internet anda."
IDS_VERSION "Versi: "
IDS_LICENCE "Lisensi: "
IDS_MAINTAINER "Pemelihara: "
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,61 +0,0 @@
LANGUAGE LANG_ITALIAN, 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 "Scarica..."
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 "Annulla", 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 "Preferenze"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Cartella dove scaricare:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Scegliere...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Cancellare i file di installazione dopo il setup", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Server per gli aggiornamenti:", -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 "&Annulla", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "Scarica ! - ReactOS Downloader"
IDS_WELCOME_TITLE "Benvenuto al ReactOS Downloader"
IDS_WELCOME "Scegli una categoria a sinistra. Questa <20> la versione 1.1."
IDS_NO_APP_TITLE "Nessuna applicazione selezionata"
IDS_NO_APP "Scegli una Applicazione prima di premere il bottone Scarica, se serve assistenza clicca sul punto di domanda nell'angolo in alto a destra."
IDS_UPDATE_TITLE "Aggiorna"
IDS_UPDATE "Funzione non ancora implementata."
IDS_HELP_TITLE "Aiuto"
IDS_HELP "Scegli una categoria a sinistra, poi scegli una applicazione e clicca il bottone download. Per aggiornare le informazioni sulla applicazione clicca il bottone accanto a quello di aiuto."
IDS_NO_APPS "Non ci sono ancora applicazioni in questa categoria. Puoi aiutare aggiungendone altre."
IDS_CHOOSE_APP "Scegli una applicazione."
IDS_CHOOSE_SUB "Scegli una sottocategoria."
IDS_CHOOSE_CATEGORY "Scegli una categoria."
IDS_CHOOSE_BOTH "Scegli una sottocategoria o una applicazione."
IDS_XMLERROR_1 "File xml non trovato !"
IDS_XMLERROR_2 "Impossibile trattare il contenuto del file xml !"
IDS_DOWNLOAD_ERROR "Scaricamento del file impossibile.\nVerificare la connessione a Internet."
IDS_VERSION "Versione: "
IDS_LICENCE "Licenza: "
IDS_MAINTAINER "Manutentore: "
IDS_APPS_TITLE "Applicazioni"
IDS_CATS_TITLE "Categorie"
IDS_CHOOSE_FOLDER "Scegliere una cartella..."
IDS_NOTCREATE_REGKEY "Impossibile creare la chiave del registry."
IDS_DOWNLOAD_FOLDER "Scarica"
IDS_UNABLECREATE_FOLDER "Impossibile creare una cartella con questo nome!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s <20> necessario per la esecuzione di %s. Si vuole procedere alla installazione di %s?"
TTT_HELPBUTTON "Informazioni su ReactOS Downloader"
TTT_UPDATEBUTTON "Non disponibile"
TTT_PROFBUTTON "Permette la configurazione del downloader"
END

View File

@@ -1,61 +0,0 @@
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
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 "<22>_<EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>h..."
FONT 9, "MS UI Gothic"
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 "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD><5A>", 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 "<22><><EFBFBD>[<5B>U<EFBFBD>ݒ<EFBFBD>"
FONT 9, "MS UI Gothic"
BEGIN
LTEXT "<22>_<EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "<22>I<EFBFBD><49>(&H)...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "<22>Z<EFBFBD>b<EFBFBD>g<EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>ɃC<C983><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><ED8F9C><EFBFBD><EFBFBD>(&D)", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "<22>A<EFBFBD>b<EFBFBD>v<EFBFBD>f<EFBFBD>[<5B>g<EFBFBD>Ɏg<C98E>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>T<EFBFBD>[<5B>o:", -1, 6, 55, 140, 8
EDITTEXT IDC_UPDATE_SERVER_EDIT, 6, 65, 255, 14, WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "OK(&O)", IDOK, 147, 90, 54, 15
PUSHBUTTON "<22>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD><5A>(&C)", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "<22>_<EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>h ! - ReactOS <20>_<EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>_"
IDS_WELCOME_TITLE "ReactOS <20>_<EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>_<EFBFBD>ւ悤<D682><E682A4><EFBFBD><EFBFBD>"
IDS_WELCOME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>J<EFBFBD>e<EFBFBD>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B <20>o<EFBFBD>[<5B>W<EFBFBD><57><EFBFBD><EFBFBD> 1.1<EFBFBD>ł<EFBFBD><EFBFBD>B"
IDS_NO_APP_TITLE "<22>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>܂<EFBFBD><DC82><EFBFBD>"
IDS_NO_APP "<22>_<EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>h<EFBFBD>{<7B>^<5E><><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD><4E><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɃA<C983>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>w<EFBFBD><77><EFBFBD>v<EFBFBD><76><EFBFBD>K<EFBFBD>v<EFBFBD>ȏꍇ<C88F>A<EFBFBD><41><EFBFBD>ԉE<D489><45><EFBFBD>́H<CC81>}<7D>[<5B>N<EFBFBD>{<7B>^<5E><><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD><4E><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B"
IDS_UPDATE_TITLE "<22>A<EFBFBD>b<EFBFBD>v<EFBFBD>f<EFBFBD>[<5B>g"
IDS_UPDATE "<22>\\<5C><><EFBFBD>󂠂<EFBFBD><F382A082>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B<EFBFBD><42><EFBFBD>̋@<40>\\<5C>͖<EFBFBD><CD96><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ł<EFBFBD><C582>B"
IDS_HELP_TITLE "<22>w<EFBFBD><77><EFBFBD>v"
IDS_HELP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>J<EFBFBD>e<EFBFBD>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>ă_<C483>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>h<EFBFBD>{<7B>^<5E><><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD><4E><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B <20>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>̏<EFBFBD><CC8F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>b<EFBFBD>v<EFBFBD>f<EFBFBD>[<5B>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>ɂ̓w<CD83><77><EFBFBD>v<EFBFBD>{<7B>^<5E><><EFBFBD>ׂ̃{<7B>^<5E><><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD><4E><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B"
IDS_NO_APPS "<22>\\<5C><><EFBFBD>󂠂<EFBFBD><F382A082>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B<EFBFBD><42><EFBFBD>̃J<CC83>e<EFBFBD>S<EFBFBD><53><EFBFBD>ɂ̓A<CD83>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B <20><><EFBFBD>`<60><><EFBFBD>āA<C481><41><EFBFBD><EFBFBD><EFBFBD>ƃA<C683>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>lj<EFBFBD><C789>ł<EFBFBD><C582>܂<EFBFBD><DC82>B"
IDS_CHOOSE_APP "<22>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B"
IDS_CHOOSE_SUB "<22>T<EFBFBD>u<EFBFBD>J<EFBFBD>e<EFBFBD>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B"
IDS_CHOOSE_CATEGORY "<22>J<EFBFBD>e<EFBFBD>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B"
IDS_CHOOSE_BOTH "<22>T<EFBFBD>u<EFBFBD>J<EFBFBD>e<EFBFBD>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̓A<CD83>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B"
IDS_XMLERROR_1 "xml <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>‚<EFBFBD><C282><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>ł<EFBFBD><C582><EFBFBD> !"
IDS_XMLERROR_2 "xml <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͂ł<CD82><C582>܂<EFBFBD><DC82><EFBFBD><EFBFBD>ł<EFBFBD><C582><EFBFBD> !"
IDS_DOWNLOAD_ERROR "<22>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>h<EFBFBD>ł<EFBFBD><C582>܂<EFBFBD><DC82><EFBFBD><EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>B\n<>C<EFBFBD><43><EFBFBD>^<5E>[<5B>l<EFBFBD>b<EFBFBD>g<EFBFBD>ڑ<EFBFBD><DA91><EFBFBD><EFBFBD>m<EFBFBD>F<EFBFBD><46><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B"
IDS_VERSION "<22>o<EFBFBD>[<5B>W<EFBFBD><57><EFBFBD><EFBFBD>: "
IDS_LICENCE "<22><><EFBFBD>C<EFBFBD>Z<EFBFBD><5A><EFBFBD>X: "
IDS_MAINTAINER "<22>Ǘ<EFBFBD><C797><EFBFBD>: "
IDS_APPS_TITLE "<22>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD>"
IDS_CATS_TITLE "<22>J<EFBFBD>e<EFBFBD>S<EFBFBD><53>"
IDS_CHOOSE_FOLDER "<22>t<EFBFBD>H<EFBFBD><48><EFBFBD>_<EFBFBD><5F><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
IDS_NOTCREATE_REGKEY "<22><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD>L<EFBFBD>[<5B><><EFBFBD><EFBFBD>ł<EFBFBD><C582>܂<EFBFBD><DC82><EFBFBD><EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>B"
IDS_DOWNLOAD_FOLDER "<22>_<EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>_"
IDS_UNABLECREATE_FOLDER "<22><><EFBFBD>̖<EFBFBD><CC96>O<EFBFBD>Ńt<C583>H<EFBFBD><48><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD>ł<EFBFBD><C582>܂<EFBFBD><DC82><EFBFBD>!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s<><73>%s<>̎<EFBFBD><CC8E>s<EFBFBD>ɕK<C995>v<EFBFBD>ł<EFBFBD><C582>B %s<><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD>?"
TTT_HELPBUTTON "<22><><EFBFBD>̃_<CC83>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>_<EFBFBD>Ɋւ<C98A><D682><EFBFBD><EFBFBD>w<EFBFBD><77><EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E882B7>"
TTT_UPDATEBUTTON "<22>܂<EFBFBD><DC82><EFBFBD><EFBFBD>p<EFBFBD>ł<EFBFBD><C582>܂<EFBFBD><DC82><EFBFBD>"
TTT_PROFBUTTON "<22>_<EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD>[<5B>_<EFBFBD><5F><EFBFBD>ݒ肳<DD92><E882B3><EFBFBD>܂<EFBFBD>"
END

View File

@@ -1,63 +0,0 @@
/* Translation by Vytis "CMan" Gird<72>ijauskas (cman@cman.us) */
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
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 "Siun<75>iama..."
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 "At<41>aukti", 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 "Nuostatos"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Siunt<6E> katalogas:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Pasirinkti...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Naikinti diegimo bylas baigus diegim<69>", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Atnaujinim<69> serveris:", -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 "&At<41>aukti", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "Download ! - ReactOS atsiuntim<69> tvarkytuv<75>"
IDS_WELCOME_TITLE "Jus sveikina ReactOS atsiuntim<69> tvarkytuv<75>"
IDS_WELCOME "Pra<72>ome pasirinkti kategorij<69> kair<69>je. \n<>ia yra versija 1.1."
IDS_NO_APP_TITLE "Nepasirinkta programa"
IDS_NO_APP "Pra<72>ome pasirinkti program<61> prie<69> paspaud<75>iant siuntimo mygtuk<75>, jei jums reikalinga pagalba, pra<72>ome spausti ant klaustuko vir<69>utiniame de<64>iniajame kampe."
IDS_UPDATE_TITLE "Atnaujinti"
IDS_UPDATE "Atsipra<72>ome, bet <20>i funkcija dar nesukurta."
IDS_HELP_TITLE "Pagalba"
IDS_HELP "Pasirinkite kategorij<69> kair<69>je, tuomet pasirinkite program<61> ir spauskite siuntimo mygtuk<75>. Nor<6F>dami atnaujinti programos informacij<69>, spaukite mygtuk<75>, kuris yra <20>alia nuostat<61> mygtuko."
IDS_NO_APPS "Atsipra<72>ome, bet <20>ioje kategorijoje program<61> dar n<>ra. J<>s galite pad<61>ti prid<69>dami daugiau program<61>."
IDS_CHOOSE_APP "Pra<72>ome pasirinkti program<61>."
IDS_CHOOSE_SUB "Pra<72>ome pasirinkti pokategor<6F>."
IDS_CHOOSE_CATEGORY "Pra<72>ome pasirinkti kategorij<69>."
IDS_CHOOSE_BOTH "Pra<72>ome pasirinkti pokategor<6F> arba program<61>."
IDS_XMLERROR_1 "Nepavyko rasti xml bylos!"
IDS_XMLERROR_2 "Nepavyko nuskaityti xml bylos!"
IDS_DOWNLOAD_ERROR "Nepavyko parsi<73>sti bylos.\nPra<72>ome patikrinti interneto ry<72><79>."
IDS_VERSION "Versija: "
IDS_LICENCE "Licencija: "
IDS_MAINTAINER "Palaikymas: "
IDS_APPS_TITLE "Programos"
IDS_CATS_TITLE "Kategorijos"
IDS_CHOOSE_FOLDER "Pra<72>ome pasirinkti katalog<6F>..."
IDS_NOTCREATE_REGKEY "Nepavyko sukurti registro rakto."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Nepavyko sukurti katalogo su <20>iuo vardu!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s reikalingas paleisti %s. Diegti %s dabar?"
TTT_HELPBUTTON "Pateikia informacij<69> apie naudojim<69>si programa"
TTT_UPDATEBUTTON "Dar n<>ra"
TTT_PROFBUTTON "Leid<69>ia konfiguruoti program<61>"
END

View File

@@ -1,61 +0,0 @@
LANGUAGE LANG_NORWEGIAN, 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 "Nedlasting..."
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Prosess1",IDC_PROGRESS,"msctls_progress32",WS_BORDER|PBS_SMOOTH,10,10,200,12
LTEXT "", IDC_STATUS, 10, 30, 200, 10, SS_CENTER
PUSHBUTTON "Avbryt", 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 "Innstillinger"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Nedlastingsmappe:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "V&elg...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Slett installasjonsfiler etter innstallering", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Oppdater 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 "&Avbryt", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "Nedlasting ! - ReactOS Nedlasting"
IDS_WELCOME_TITLE "Velkommen til ReactOS Nedlasting"
IDS_WELCOME "Vennligst velg en kategori til h<>yre. Dette er versjon 1.1."
IDS_NO_APP_TITLE "Ingen applikasjoner er valgt"
IDS_NO_APP "Vennligst velg en applikasjon f<>r du klikker p<> nedlasting knappen, hvis du trenger hjelp vennligst klikk p<> sp<73>rsm<73>lsmerke knappen p<> toppen i h<>yre hj<68>rne."
IDS_UPDATE_TITLE "Oppdater"
IDS_UPDATE "Beklager denne funksjonen er ikke implementert enn<6E>."
IDS_HELP_TITLE "Hjelp"
IDS_HELP "Velg en kategori til venstre, ogs<67> velg en applikasjon og klikk p<> nedlastings knappen. For <20> oppdatere applikasjon informasjonen klikk p<> knappen neste etter hjelp knappen."
IDS_NO_APPS "Beklager, det er ingen applikasjoner i denne kategorien enn<6E>. Du kan hjelpe og legge til flere applikasjoner."
IDS_CHOOSE_APP "Vennligst velg en applikasjon."
IDS_CHOOSE_SUB "Vennligst velg en underkategori."
IDS_CHOOSE_CATEGORY "Vennligst velg en kategori."
IDS_CHOOSE_BOTH "Vennligst velg en underkategori eller en applikasjon."
IDS_XMLERROR_1 "Kan ikke finne xml filen !"
IDS_XMLERROR_2 "Kan ikke analysere xml filen !"
IDS_DOWNLOAD_ERROR "Ikke mulig <20> laste ned filen.\nVennligst sjekk din internett forbindelse."
IDS_VERSION "Versjon: "
IDS_LICENCE "Lisens: "
IDS_MAINTAINER "Produsent: "
IDS_APPS_TITLE "Applikasjoner"
IDS_CATS_TITLE "Kategori"
IDS_CHOOSE_FOLDER "Vennligst, velg mappen..."
IDS_NOTCREATE_REGKEY "Kan ikke opprette registern<72>kkel."
IDS_DOWNLOAD_FOLDER "Nedlasting"
IDS_UNABLECREATE_FOLDER "Ikke mulig <20> opprette mappe med dette navnet!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s trengs <20> bli kj<6B>rt %s. Skal %s bli innstallert n<>?"
TTT_HELPBUTTON "F<> hjelp om nedlastingen"
TTT_UPDATEBUTTON "Ikke enn<6E> tilgjengelig"
TTT_PROFBUTTON "La deg konfigurere nedlastingen"
END

View File

@@ -1,68 +0,0 @@
/*
* translated by Caemyr - Olaf Siejka (Feb, 2008)
* Use ReactOS forum PM or IRC to contact me
* http://www.reactos.org
* IRC: irc.freenode.net #reactos-pl;
*/
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
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 "<22>ci<63>gaj..."
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 "Anuluj", 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 "Ustawienia"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Katalog do <20>ci<63>gania:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Wybierz...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Skasuj <20>ci<63>gni<6E>te pliki po zainstalowaniu programu", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Uaktualnij:", -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 "&Anuluj", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "Download! - Mened<65>er pobierania dla ReactOS"
IDS_WELCOME_TITLE "Witamy w Download! dla ReactOS"
IDS_WELCOME "Prosz<73> wybra<72> kategori<72> po lewej. Wersja programu: 1.1."
IDS_NO_APP_TITLE "Nie wybrano programu"
IDS_NO_APP "Prosz<73> wybra<72> program, przed klikni<6E>ciem w przycisk <20>ci<63>gnij. W razie problem<65>w kliknij w znak zapytania, w prawym g<>rnym rogu okna."
IDS_UPDATE_TITLE "Uaktualnij"
IDS_UPDATE "Przepraszamy, ta opcja nie jest jeszcze dost<73>pna."
IDS_HELP_TITLE "Pomoc"
IDS_HELP "Wybierz kategori<72> po lewej, nast<73>pnie wybierz program i kliknij w przycisk <20>ci<63>gnij. Aby uaktualni<6E> list<73> program<61>w, naci<63>nij przycisk obok przycisku Pomocy."
IDS_NO_APPS "Przepraszamy, nie ma program<61>w w tej kategorii. Mo<4D>esz pom<6F>c nam w wyborze nowych program<61>w."
IDS_CHOOSE_APP "Prosz<73> wybra<72> program."
IDS_CHOOSE_SUB "Prosz<73> wybra<72> podkategori<72>."
IDS_CHOOSE_CATEGORY "Prosz<73> wybra<72> kategori<72>."
IDS_CHOOSE_BOTH "Prosz<73> wybra<72> podkategori<72> albo program."
IDS_XMLERROR_1 "Plik XML nie zosta<74> znaleziony !"
IDS_XMLERROR_2 "Nie uda<64>o si<73> przetworzy<7A> pliku XML !"
IDS_DOWNLOAD_ERROR "Sci<63>ganie pliku nieudane.\nProsz<73> sprawdzi<7A> po<70><6F>czenie z internetem."
IDS_VERSION "Wersja: "
IDS_LICENCE "Licencja: "
IDS_MAINTAINER "Opiekun: "
IDS_APPS_TITLE "Programy"
IDS_CATS_TITLE "Kategorie"
IDS_CHOOSE_FOLDER "Prosz<73> wybra<72> katalog..."
IDS_NOTCREATE_REGKEY "Nie uda<64>o si<73> utworzy<7A> kluczy rejestru."
IDS_DOWNLOAD_FOLDER "Pobrane"
IDS_UNABLECREATE_FOLDER "Nie uda<64>o si<73> stworzy<7A> katalogu o tej nazwie!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s jest wymagany do uruchomienia %s. Czy chcesz zainstalowa<77> %s w tej chwili?"
TTT_HELPBUTTON "Pomoc Mened<65>era pobierania"
TTT_UPDATEBUTTON "Niedost<73>pne"
TTT_PROFBUTTON "Ustawienia Mened<65>era pobierania"
END

View File

@@ -1,63 +0,0 @@
//Russian language file. (Dmitry Chapyshev, 2007.06.21)
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
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, 17, SS_CENTER
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", 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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -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 "<22>&<26><><EFBFBD><EFBFBD><EFBFBD>", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS"
IDS_WELCOME_TITLE "<22><><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> ReactOS"
IDS_WELCOME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <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> 1.1"
IDS_NO_APP_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_NO_APP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><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> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>."
IDS_UPDATE_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_UPDATE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_HELP_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_HELP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_NO_APPS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>, <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>."
IDS_CHOOSE_APP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_SUB "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_CATEGORY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_BOTH "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_XMLERROR_1 "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> xml-<2D><><EFBFBD><EFBFBD>!"
IDS_XMLERROR_2 "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xml-<2D><><EFBFBD><EFBFBD>!"
IDS_DOWNLOAD_ERROR "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_VERSION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "
IDS_LICENCE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "
IDS_MAINTAINER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "
IDS_APPS_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CATS_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CHOOSE_FOLDER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>..."
IDS_NOTCREATE_REGKEY "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s?"
TTT_HELPBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
TTT_UPDATEBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
TTT_PROFBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END

View File

@@ -1,67 +0,0 @@
/* TRANSLATOR: M<>rio Ka<4B>m<EFBFBD>r /Mario Kacmar/ aka Kario (kario@szm.sk)
* DATE OF TR: 21-01-2008
* LastChange: 31-10-2008
*/
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
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 "S<>ahujem ..."
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 "Zru<72>i<EFBFBD>", 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 "Nastavenia" //Preferencies
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Prie<69>inok s<>ahovania:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Vybra<72> ...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&Odstr<74>ni<6E> in<69>tala<6C>n<EFBFBD> s<>bory po nain<69>talovan<61>", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "Aktualizova<76> 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 "&Zru<72>i<EFBFBD>", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "<22>ahaj! - Downloader syst<73>mu ReactOS"
IDS_WELCOME_TITLE "Vitajte v programe Downloader syst<73>mu ReactOS"
IDS_WELCOME "Vyberte, pros<6F>m, kateg<65>riu na <20>avej strane. Toto je verzia 1.1."
IDS_NO_APP_TITLE "Nie je vybran<61> <20>iadny program"
IDS_NO_APP "Vyberte, pros<6F>m, program predt<64>m ne<6E> kliknete na tla<6C>idlo stiahnu<6E>. Ak potrebujete pomoc, kliknite, pros<6F>m, na tla<6C>idlo ot<6F>znika v pravom hornom rohu."
IDS_UPDATE_TITLE "Aktualizova<76>"
IDS_UPDATE "Prep<65><70>te, ale t<>to funkcia zatia<69> nie je implementovan<61>."
IDS_HELP_TITLE "Pomocn<63>k"
IDS_HELP "Vyberte kateg<65>riu na <20>avej strane, potom vyberte program a kliknite na tla<6C>idlo stiahnu<6E>. Pre aktualiz<69>ciu inform<72>cii o programe kliknite na tla<6C>idlo ved<65>a tla<6C>idla pomoc."
IDS_NO_APPS "Prep<65><70>te, ale zatia<69> sa v tejto kateg<65>rii nenach<63>dzaj<61> <20>iadne programy. M<><4D>ete pom<6F>c<EFBFBD> a prida<64> viac programov."
IDS_CHOOSE_APP "Vyberte program, pros<6F>m."
IDS_CHOOSE_SUB "Vyberte podkateg<65>riu, pros<6F>m."
IDS_CHOOSE_CATEGORY "Vyberte kateg<65>riu, pros<6F>m."
IDS_CHOOSE_BOTH "Vyberte podkateg<65>riu alebo program, pros<6F>m."
IDS_XMLERROR_1 "Nepodarilo sa n<>js<6A> s<>bor xml!"
IDS_XMLERROR_2 "Nepodarilo sa spr<70>vne analyzova<76> s<>bor xml!"
IDS_DOWNLOAD_ERROR "Nepodarilo sa stiahnu<6E> s<>bor.\nSkontrolujte, pros<6F>m, pripojenie do siete internet."
IDS_VERSION "Verzia: "
IDS_LICENCE "Licencia: "
IDS_MAINTAINER "<22>dr<64>b<EFBFBD>r: " //Maintainer
IDS_APPS_TITLE "Programy"
IDS_CATS_TITLE "Kateg<65>rie"
IDS_CHOOSE_FOLDER "Vyberte, pros<6F>m, prie<69>inok ..."
IDS_NOTCREATE_REGKEY "Nepodarilo sa vytvori<72> k<><6B><EFBFBD> registra."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Nie je mo<6D>n<EFBFBD> vytvori<72> prie<69>inok s t<>mto n<>zvom!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s je potrebn<62> pre spustenie %s. M<> sa %s nain<69>talova<76> teraz?"
TTT_HELPBUTTON "Z<>ska<6B> n<>pove<76> k programu downloader"
TTT_UPDATEBUTTON "Zatia<69> nie je k dispoz<6F>ci<63>"
TTT_PROFBUTTON "Dovol<6F> V<>m konfigurova<76> program downloader"
END

View File

@@ -1,69 +0,0 @@
/*
* PROJECT: ReactOS Downloader
* LICENSE: GPL - See COPYING in the top level directory
* FILE: rosapps/downloader/lang/uk-UA.rc
* PURPOSE: Ukraianian Language File for Downloader
* TRANSLATOR: Artem Reznikov
*/
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", 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 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -1, 6, 10, 140, 8
EDITTEXT IDC_DOWNLOAD_FOLDER_EDIT, 6, 20, 205, 14, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...", IDC_CHOOSE_BUTTON, 216, 20, 45, 14
AUTOCHECKBOX "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDC_DELINST_FILES_CHECKBOX, 8, 40, 210, 10, WS_GROUP
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:", -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 "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDCANCEL, 207, 90, 54, 15
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ! - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS"
IDS_WELCOME_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReactOS"
IDS_WELCOME "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1.1."
IDS_NO_APP_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_NO_APP "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><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><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><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> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>."
IDS_UPDATE_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_UPDATE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_HELP_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_HELP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><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><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_NO_APPS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><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><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_APP "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_SUB "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_CATEGORY "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_CHOOSE_BOTH "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><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>."
IDS_XMLERROR_1 "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> XML !"
IDS_XMLERROR_2 "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> XML !"
IDS_DOWNLOAD_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.\n<><6E><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D>'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_VERSION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "
IDS_LICENCE "˳<><CBB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "
IDS_MAINTAINER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "
IDS_APPS_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CATS_TITLE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_CHOOSE_FOLDER "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>..."
IDS_NOTCREATE_REGKEY "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>'<27><>!"
IDS_UPDATE_URL "http://svn.reactos.org"
IDS_INSTALL_DEP "%s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s <20><><EFBFBD><EFBFBD><EFBFBD>?"
TTT_HELPBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
TTT_UPDATEBUTTON "<22><><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
TTT_PROFBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
END

View File

@@ -1,922 +0,0 @@
/* PROJECT: ReactOS Downloader
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/downloader/xml.c
* PURPOSE: Main program
* PROGRAMMERS: Maarten Bosma, Lester Kortenhoeven, Dmitry Chapyshev
*/
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include <tchar.h>
#include <stdio.h>
#include <shlwapi.h>
#include <shlobj.h>
#include "resources.h"
#include "structures.h"
HWND hwnd, hCategories, hApps, hDownloadButton, hUninstallButton, hUpdateButton, hHelpButton, hProfButton;
HBITMAP hLogo, hUnderline;
WCHAR* DescriptionHeadline = L"";
WCHAR* DescriptionText = L"";
WCHAR ApplicationText[700];
struct Category Root;
struct Application* SelectedApplication;
INT_PTR CALLBACK DownloadProc (HWND, UINT, WPARAM, LPARAM);
BOOL ProcessXML (const char* filename, struct Category* Root);
VOID FreeTree (struct Category* Node);
WCHAR Strings [STRING_COUNT][MAX_STRING_LENGHT];
BOOL
getUninstaller(WCHAR* RegName, WCHAR* Uninstaller) {
HKEY hKey1;
HKEY hKey2;
DWORD Type = 0;
DWORD Size = MAX_PATH;
WCHAR Value[MAX_PATH];
WCHAR KeyName[MAX_PATH];
LONG i = 0;
if (RegOpenKeyExW(HKEY_LOCAL_MACHINE,L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall",0,KEY_READ,&hKey1) == ERROR_SUCCESS) {
while (RegEnumKeyExW(hKey1,i,KeyName,&Size,NULL,NULL,NULL,NULL) == ERROR_SUCCESS) {
++i;
RegOpenKeyExW(hKey1,KeyName,0,KEY_READ,&hKey2);
Size = MAX_PATH;
if (RegQueryValueExW(hKey2,L"DisplayName",0,&Type,(LPBYTE)Value,&Size) == ERROR_SUCCESS) {
Size = MAX_PATH;
if (StrCmpW(Value,RegName) == 0) {
if (RegQueryValueExW(hKey2,L"UninstallString",0,&Type,(LPBYTE)Uninstaller,&Size) == ERROR_SUCCESS) {
RegCloseKey(hKey2);
RegCloseKey(hKey1);
return TRUE;
} else {
RegCloseKey(hKey2);
RegCloseKey(hKey1);
return FALSE;
}
}
}
RegCloseKey(hKey2);
Size = MAX_PATH;
}
RegCloseKey(hKey1);
}
return FALSE;
}
void
ShowMessage (WCHAR* title, WCHAR* message)
{
DescriptionHeadline = title;
DescriptionText = message;
InvalidateRect(hwnd,NULL,TRUE);
UpdateWindow(hwnd);
}
void
AddItems(HWND hwnd, struct Category* Category, struct Category* Parent)
{
TV_INSERTSTRUCTW Insert;
Insert.item.lParam = (LPARAM)Category;
Insert.item.mask = TVIF_TEXT|TVIF_PARAM|TVIF_IMAGE|TVIF_SELECTEDIMAGE;;
Insert.item.pszText = Category->Name;
Insert.item.cchTextMax = lstrlenW(Category->Name);
Insert.item.iImage = Category->Icon;
Insert.item.iSelectedImage = Category->Icon;
Insert.hInsertAfter = TVI_LAST;
Insert.hParent = Category->Parent ? Category->Parent->TreeviewItem : TVI_ROOT;
Category->TreeviewItem = (HTREEITEM)SendMessage(hwnd, TVM_INSERTITEM, 0, (LPARAM)&Insert);
if(Category->Next)
AddItems (hwnd,Category->Next,Parent);
if(Category->Children)
AddItems (hwnd,Category->Children,Category);
}
void
CategoryChoosen(HWND hwnd, struct Category* Category)
{
struct Application* CurrentApplication;
TV_INSERTSTRUCTW Insert;
WCHAR Uninstaller[200];
SelectedApplication = NULL;
if(Category->Children && !Category->Apps)
ShowMessage(Category->Name, Strings[IDS_CHOOSE_SUB]);
else if(!Category->Children && Category->Apps)
ShowMessage(Category->Name, Strings[IDS_CHOOSE_APP]);
else if(Category->Children && Category->Apps)
ShowMessage(Category->Name, Strings[IDS_CHOOSE_BOTH]);
else
ShowMessage(Category->Name, Strings[IDS_NO_APPS]);
(void)TreeView_DeleteItem(hwnd, TVI_ROOT);
(void)TreeView_DeleteItem(hwnd, TVI_ROOT); // Delete twice to bypass bug in windows
Insert.item.mask = TVIF_TEXT|TVIF_PARAM|TVIF_IMAGE;
Insert.hInsertAfter = TVI_LAST;
Insert.hParent = TVI_ROOT;
CurrentApplication = Category->Apps;
while(CurrentApplication)
{
Insert.item.lParam = (LPARAM)CurrentApplication;
Insert.item.pszText = CurrentApplication->Name;
Insert.item.cchTextMax = lstrlenW(CurrentApplication->Name);
Insert.item.iImage = 10;
if(StrCmpW(CurrentApplication->RegName,L"")) {
if(getUninstaller(CurrentApplication->RegName, Uninstaller))
Insert.item.iImage = 9;
}
SendMessage(hwnd, TVM_INSERTITEM, 0, (LPARAM)&Insert);
CurrentApplication = CurrentApplication->Next;
}
}
BOOL CreateToolTip(HWND hwndTool, HWND hDlg, WCHAR* pText)
{
HWND hwndTip;
TOOLINFO toolInfo;
if (!hwndTool || !hDlg || !pText)
return FALSE;
hwndTip = CreateWindowExW(0, TOOLTIPS_CLASS, NULL,
WS_POPUP |TTS_ALWAYSTIP | TTS_BALLOON,
CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT,
hDlg, NULL,
GetModuleHandle(NULL), NULL);
if (!hwndTip)
return FALSE;
ZeroMemory(&toolInfo, sizeof(TOOLINFO));
toolInfo.cbSize = sizeof(toolInfo);
toolInfo.hwnd = hDlg;
toolInfo.uFlags = TTF_IDISHWND | TTF_SUBCLASS;
toolInfo.uId = (UINT_PTR)hwndTool;
toolInfo.lpszText = pText;
SendMessage(hwndTip, TTM_ADDTOOL, 0, (LPARAM)&toolInfo);
return TRUE;
}
BOOL
SetupControls (HWND hwnd)
{
TV_INSERTSTRUCTW Insert = {0};
HIMAGELIST hImageList;
HINSTANCE hInstance = GetModuleHandle(NULL);
WCHAR Cats[MAX_STRING_LENGHT], Apps[MAX_STRING_LENGHT];
WCHAR Tooltip1[MAX_STRING_LENGHT], Tooltip2[MAX_STRING_LENGHT], Tooltip3[MAX_STRING_LENGHT];
char Buf[MAX_PATH];
// Getting downloader.xml path
if(!GetSystemDirectoryA(Buf,sizeof(Buf))) return FALSE;
strcat(Buf, "\\downloader.xml");
// Parse the XML file
if (!ProcessXML(Buf, &Root))
return FALSE;
LoadStringW(hInstance, IDS_CATS_TITLE, Cats, MAX_STRING_LENGHT);
LoadStringW(hInstance, IDS_APPS_TITLE, Apps, MAX_STRING_LENGHT);
// Set up the controls
hCategories = CreateWindowExW(0, WC_TREEVIEWW, Cats,
WS_CHILD|WS_VISIBLE|WS_BORDER|TVS_HASLINES|TVS_LINESATROOT|TVS_HASBUTTONS|TVS_SHOWSELALWAYS,
0, 0, 0, 0, hwnd, NULL, hInstance, NULL);
hApps = CreateWindowExW(0, WC_TREEVIEWW, Apps,
WS_CHILD|WS_VISIBLE|WS_BORDER|TVS_HASLINES|TVS_LINESATROOT|TVS_HASBUTTONS|TVS_SHOWSELALWAYS,
0, 0, 0, 0, hwnd, NULL, hInstance, NULL);
hLogo = LoadBitmap(GetModuleHandle(NULL),
MAKEINTRESOURCE(IDB_LOGO));
hUnderline = LoadBitmap(GetModuleHandle(NULL),
MAKEINTRESOURCE(IDB_UNDERLINE));
hHelpButton = CreateWindowW(L"Button", L"",
WS_CHILD | WS_VISIBLE | BS_ICON,
550, 10, 40, 40,
hwnd, 0, hInstance, NULL);
LoadString(hInstance, TTT_HELPBUTTON, Tooltip1, MAX_STRING_LENGHT);
CreateToolTip(hHelpButton, hwnd, Tooltip1);
hUpdateButton = CreateWindowW(L"Button", L"",
WS_CHILD | WS_VISIBLE | BS_ICON,
450, 10, 40, 40,
hwnd, 0, hInstance, NULL);
LoadString(hInstance, TTT_UPDATEBUTTON, Tooltip2, MAX_STRING_LENGHT);
CreateToolTip(hUpdateButton, hwnd, Tooltip2);
hProfButton = CreateWindowW(L"Button", L"",
WS_CHILD | WS_VISIBLE | BS_ICON,
500, 10, 40, 40,
hwnd, 0, hInstance, NULL);
LoadString(hInstance, TTT_PROFBUTTON, Tooltip3, MAX_STRING_LENGHT);
CreateToolTip(hProfButton, hwnd, Tooltip3);
hDownloadButton = CreateWindowW(L"Button", L"",
WS_CHILD | WS_VISIBLE | BS_BITMAP,
330, 505, 140, 33,
hwnd, 0, hInstance, NULL);
hUninstallButton = CreateWindowW(L"Button", L"",
WS_CHILD | WS_VISIBLE | BS_BITMAP,
260, 505, 140, 33,
hwnd, 0, hInstance, NULL);
SendMessageW(hProfButton,
BM_SETIMAGE,
(WPARAM)IMAGE_ICON,
(LPARAM)(HANDLE)LoadIcon(hInstance,MAKEINTRESOURCE(IDI_PROF)));
SendMessageW(hHelpButton,
BM_SETIMAGE,
(WPARAM)IMAGE_ICON,
(LPARAM)(HANDLE)LoadIcon(hInstance, MAKEINTRESOURCE(IDI_HELP)));
SendMessageW(hUpdateButton,
BM_SETIMAGE,
(WPARAM)IMAGE_ICON,
(LPARAM)(HANDLE)LoadIcon(hInstance, MAKEINTRESOURCE(IDI_UPDATE)));
SendMessageW(hDownloadButton,
BM_SETIMAGE,
(WPARAM)IMAGE_BITMAP,
(LPARAM)(HANDLE)LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_DOWNLOAD)));
SendMessageW(hUninstallButton,
BM_SETIMAGE,
(WPARAM)IMAGE_BITMAP,
(LPARAM)(HANDLE)LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_UNINSTALL)));
ShowWindow(hUninstallButton, SW_HIDE);
// Set deflaut entry for hApps
Insert.item.mask = TVIF_TEXT|TVIF_IMAGE;
Insert.item.pszText = Strings[IDS_CHOOSE_CATEGORY];
Insert.item.cchTextMax = lstrlenW(Strings[IDS_CHOOSE_CATEGORY]);
Insert.item.iImage = 0;
SendMessage(hApps, TVM_INSERTITEM, 0, (LPARAM)&Insert);
// Create Tree Icons
hImageList = ImageList_Create(16, 16, ILC_COLORDDB, 1, 1);
SendMessageW(hCategories, TVM_SETIMAGELIST, TVSIL_NORMAL, (LPARAM)(HIMAGELIST)hImageList);
SendMessageW(hApps, TVM_SETIMAGELIST, TVSIL_NORMAL, (LPARAM)(HIMAGELIST)hImageList);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_0)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_1)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_2)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_3)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_4)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_5)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_6)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_7)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_8)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_9)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_10)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_11)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_12)), NULL);
ImageList_Add(hImageList,
LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_TREEVIEW_ICON_13)), NULL);
// Fill the TreeViews
AddItems (hCategories, Root.Children, NULL);
return TRUE;
}
static void
ResizeControl (HWND hwnd, int x1, int y1, int x2, int y2)
{
// Make resizing a little easier
MoveWindow(hwnd, x1, y1, x2-x1, y2-y1, TRUE);
}
static void
DrawBitmap (HDC hdc, int x, int y, HBITMAP hBmp)
{
BITMAP bm;
HDC hdcMem = CreateCompatibleDC(hdc);
SelectObject(hdcMem, hBmp);
GetObject(hBmp, sizeof(bm), &bm);
TransparentBlt(hdc, x, y, bm.bmWidth, bm.bmHeight, hdcMem, 0, 0, bm.bmWidth, bm.bmHeight, 0xFFFFFF);
DeleteDC(hdcMem);
}
static void
DrawDescription (HDC hdc, RECT DescriptionRect)
{
int i;
HFONT Font;
RECT Rect = {DescriptionRect.left+5, DescriptionRect.top+3, DescriptionRect.right-2, DescriptionRect.top+22};
// Backgroud
Rectangle(hdc, DescriptionRect.left, DescriptionRect.top, DescriptionRect.right, DescriptionRect.bottom);
// Underline
for (i=DescriptionRect.left+1;i<DescriptionRect.right-1;i++)
DrawBitmap(hdc, i, DescriptionRect.top+22, hUnderline); // less code then stretching ;)
// Headline
Font = CreateFont(-16 , 0, 0, 0, FW_EXTRABOLD, FALSE, FALSE, FALSE, ANSI_CHARSET,
OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, FF_DONTCARE, L"Arial");
SelectObject(hdc, Font);
DrawTextW(hdc, DescriptionHeadline, lstrlenW(DescriptionHeadline), &Rect, DT_SINGLELINE|DT_NOPREFIX);
DeleteObject(Font);
// Description
Font = CreateFont(-13 , 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET,
OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, FF_DONTCARE, L"Arial");
SelectObject(hdc, Font);
Rect.top += 50;
Rect.bottom = DescriptionRect.bottom-2;
DrawTextW(hdc, DescriptionText, lstrlenW(DescriptionText), &Rect, DT_WORDBREAK|DT_NOPREFIX); // ToDo: Call TabbedTextOut to draw a nice table
DeleteObject(Font);
}
void showUninstaller() {
int Split_Vertical = 200;
RECT Rect;
GetClientRect(hwnd,&Rect);
ShowWindow(hUninstallButton,SW_SHOW);
MoveWindow(hDownloadButton,(Split_Vertical+Rect.right-Rect.left)/2,Rect.bottom-Rect.top-45,140,35,TRUE);;
}
void hideUninstaller() {
int Split_Vertical = 200;
RECT Rect;
GetClientRect(hwnd,&Rect);
ShowWindow(hUninstallButton,SW_HIDE);
MoveWindow(hDownloadButton,(Split_Vertical+Rect.right-Rect.left)/2-70,Rect.bottom-Rect.top-45,140,35,TRUE);
}
void startUninstaller(WCHAR* Uninstaller) {
STARTUPINFOW si;
PROCESS_INFORMATION pi;
memset(&si, 0, sizeof(si));
si.cb = sizeof(si);
CreateProcessW(NULL,Uninstaller,NULL,NULL,FALSE,0,NULL,NULL,&si,&pi);
CloseHandle(pi.hThread);
// WaitForSingleObject(pi.hProcess, INFINITE); // If you want to wait for the Unistaller
CloseHandle(pi.hProcess);
hideUninstaller();
}
BOOL
SaveSettings(HWND hwnd)
{
HKEY hKey;
TCHAR szBuf[MAX_PATH];
DWORD dwValue;
if (RegOpenKey(HKEY_LOCAL_MACHINE,
TEXT("Software\\ReactOS\\Downloader"),
&hKey) != ERROR_SUCCESS)
return FALSE;
GetDlgItemText(hwnd, IDC_DOWNLOAD_FOLDER_EDIT, szBuf, sizeof(szBuf) / sizeof(TCHAR));
if (GetFileAttributes(szBuf) == 0xFFFFFFFF)
if (!CreateDirectory((LPCTSTR)szBuf,NULL))
{
LoadString(GetModuleHandle(NULL), IDS_UNABLECREATE_FOLDER, szBuf, sizeof(szBuf) / sizeof(TCHAR));
MessageBox(hwnd, (LPCTSTR)szBuf, NULL, MB_ICONSTOP);
return FALSE;
}
if (RegSetValueEx(hKey,
L"DownloadFolder",
0,
REG_SZ,
(LPBYTE)szBuf,
(DWORD)(sizeof(szBuf) / sizeof(TCHAR))))
return FALSE;
GetDlgItemText(hwnd, IDC_UPDATE_SERVER_EDIT, szBuf, sizeof(szBuf) / sizeof(TCHAR));
if (RegSetValueEx(hKey,
L"UpdateServer",
0,
REG_SZ,
(LPBYTE)szBuf,
(DWORD)(sizeof(szBuf) / sizeof(TCHAR))))
return FALSE;
if (SendDlgItemMessage(hwnd, IDC_DELINST_FILES_CHECKBOX, BM_GETCHECK, 0, 0) == BST_CHECKED)
dwValue = 0x1;
else
dwValue = 0x0;
if (RegSetValueEx(hKey,
L"DeleteInstaller",
0,
REG_DWORD,
(LPBYTE)&dwValue,
sizeof(DWORD)))
return FALSE;
RegCloseKey(hKey);
return TRUE;
}
BOOL
InitProfDlg(HWND hwnd)
{
HKEY hKey;
TCHAR Buf[MAX_PATH];
DWORD dwDisp, dwSize;
DWORD dwValue, dwType = REG_DWORD;
if (RegOpenKey(HKEY_LOCAL_MACHINE,
TEXT("Software\\ReactOS\\Downloader"),
&hKey) != ERROR_SUCCESS)
{
if (RegCreateKeyEx(HKEY_LOCAL_MACHINE, L"Software\\ReactOS\\Downloader",
0, NULL, REG_OPTION_NON_VOLATILE,
KEY_WRITE, NULL, &hKey, &dwDisp))
{
LoadString(GetModuleHandle(NULL), IDS_NOTCREATE_REGKEY, Buf, sizeof(Buf) / sizeof(TCHAR));
MessageBox(hwnd, (LPCTSTR)Buf, NULL, MB_ICONSTOP);
return FALSE;
}
}
dwSize = MAX_PATH;
if (RegQueryValueEx(hKey,
L"DownloadFolder",
NULL,
NULL,
(LPBYTE)&Buf,
&dwSize) == ERROR_SUCCESS)
{
SetDlgItemText(hwnd, IDC_DOWNLOAD_FOLDER_EDIT, Buf);
}
else
{
TCHAR DPath[256];
int i;
if (!GetWindowsDirectory(Buf, sizeof(Buf) / sizeof(TCHAR))) return FALSE;
for (i = 0; i < 4; i++)
{
if (i == 3)
{
DPath[i] = '\0';
break;
}
DPath[i] = Buf[i];
}
LoadString(GetModuleHandle(NULL), IDS_DOWNLOAD_FOLDER, Buf, sizeof(Buf) / sizeof(TCHAR));
lstrcat((LPTSTR)DPath, Buf);
if (RegSetValueEx(hKey,
L"DownloadFolder",
0,
REG_SZ,
(LPBYTE)DPath,
(DWORD)(sizeof(DPath) / sizeof(TCHAR))))
return FALSE;
else
{
if (GetFileAttributes(DPath) == 0xFFFFFFFF)
if (!CreateDirectory((LPCTSTR)DPath,NULL)) return FALSE;
SetDlgItemText(hwnd, IDC_DOWNLOAD_FOLDER_EDIT, DPath);
}
}
dwSize = MAX_PATH;
if (RegQueryValueEx(hKey,
L"UpdateServer",
NULL,
NULL,
(LPBYTE)&Buf,
&dwSize) == ERROR_SUCCESS)
{
SetDlgItemText(hwnd, IDC_UPDATE_SERVER_EDIT, Buf);
}
else
{
LoadString(GetModuleHandle(NULL), IDS_UPDATE_URL, Buf, sizeof(Buf) / sizeof(TCHAR));
if (RegSetValueEx(hKey,
L"UpdateServer",
0,
REG_SZ,
(LPBYTE)Buf,
(DWORD)(sizeof(Buf) / sizeof(TCHAR))))
return FALSE;
else
{
SetDlgItemText(hwnd, IDC_UPDATE_SERVER_EDIT, Buf);
}
}
dwSize = sizeof(DWORD);
if (RegQueryValueEx(hKey,
L"DeleteInstaller",
NULL,
&dwType,
(LPBYTE)&dwValue,
&dwSize) == ERROR_SUCCESS)
{
if (dwValue == 0x1)
SendDlgItemMessage(hwnd, IDC_DELINST_FILES_CHECKBOX, BM_SETCHECK, 1, 1);
}
else
{
dwValue = 0x0;
if (RegSetValueEx(hKey,
L"DeleteInstaller",
0,
REG_DWORD,
(LPBYTE)&dwValue,
sizeof(DWORD)))
return FALSE;
}
RegCloseKey(hKey);
return TRUE;
}
BOOL
ChooseFolder(HWND hwnd)
{
BROWSEINFO fi;
LPCITEMIDLIST lpItemList;
TCHAR szPath[MAX_PATH],Buf[256];
ZeroMemory(&fi, sizeof(BROWSEINFO));
fi.hwndOwner = hwnd;
LoadString(GetModuleHandle(NULL), IDS_CHOOSE_FOLDER, Buf, sizeof(Buf) / sizeof(TCHAR));
fi.lpszTitle = (LPCTSTR)Buf;
fi.ulFlags = BIF_DONTGOBELOWDOMAIN | BIF_RETURNONLYFSDIRS | BIF_BROWSEFORCOMPUTER | BIF_NEWDIALOGSTYLE;
fi.lpfn = NULL;
fi.lParam = -1;
fi.iImage = 0;
if(!(lpItemList = SHBrowseForFolder(&fi))) return FALSE;
SHGetPathFromIDList(lpItemList, szPath);
if (_tcslen(szPath) == 0) return FALSE;
SetDlgItemText(hwnd, IDC_DOWNLOAD_FOLDER_EDIT, szPath);
return TRUE;
}
INT_PTR CALLBACK
ProfDlgProc(HWND hDlg,
UINT message,
WPARAM wParam,
LPARAM lParam)
{
static HICON hIcon;
UNREFERENCED_PARAMETER(lParam);
switch (message)
{
case WM_INITDIALOG:
{
hIcon = LoadImage(GetModuleHandle(NULL),MAKEINTRESOURCE(IDI_MAIN),IMAGE_ICON,16,16,0);
SendMessage(hDlg,WM_SETICON,ICON_SMALL,(LPARAM)hIcon);
InitProfDlg(hDlg);
}
break;
case WM_COMMAND:
{
switch (wParam)
{
case IDC_CHOOSE_BUTTON:
ChooseFolder(hDlg);
break;
case IDOK:
{
SaveSettings(hDlg);
DestroyIcon(hIcon);
EndDialog(hDlg,LOWORD(wParam));
return TRUE;
}
break;
case IDCANCEL:
{
DestroyIcon(hIcon);
EndDialog(hDlg,LOWORD(wParam));
return TRUE;
}
break;
}
}
break;
}
return FALSE;
}
BOOL IsApplicationInstalled(struct Application* App)
{
WCHAR Uninstaller[200];
if(StrCmpW(App->RegName, L"")) {
if(getUninstaller(App->RegName, Uninstaller)) {
return TRUE;
}
}
return FALSE;
}
struct Application* GetDependency(const WCHAR* Dependency)
{
struct Category* Category = Root.Children;
while (Category->Next)
{
while (Category->Apps)
{
if(StrCmpW(Category->Apps->RegName, Dependency) == 0)
return Category->Apps;
Category->Apps = Category->Apps->Next;
}
Category = Category->Next;
}
return NULL;
}
LRESULT CALLBACK
WndProc (HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
{
static RECT DescriptionRect;
struct Application* AppToInstall;
WCHAR InstallDep[260];
WCHAR InstallDepBuffer[260];
WCHAR Title[260];
switch (Message)
{
case WM_CREATE:
{
if(!SetupControls(hwnd))
return -1;
ShowMessage(Strings[IDS_WELCOME_TITLE], Strings[IDS_WELCOME]);
}
break;
case WM_PAINT:
{
PAINTSTRUCT ps;
HDC hdc = BeginPaint(hwnd, &ps);
HDC BackbufferHdc = CreateCompatibleDC(hdc);
HBITMAP BackbufferBmp = CreateCompatibleBitmap(hdc, ps.rcPaint.right, ps.rcPaint.bottom);
SelectObject(BackbufferHdc, BackbufferBmp);
FillRect(BackbufferHdc, &ps.rcPaint, CreateSolidBrush(RGB(235,235,235)));
DrawBitmap(BackbufferHdc, 10, 12, hLogo);
DrawDescription(BackbufferHdc, DescriptionRect);
BitBlt(hdc, 0, 0, ps.rcPaint.right, ps.rcPaint.bottom, BackbufferHdc, 0, 0, SRCCOPY);
DeleteObject(BackbufferBmp);
DeleteDC(BackbufferHdc);
EndPaint(hwnd, &ps);
}
break;
case WM_COMMAND:
{
if(HIWORD(wParam) == BN_CLICKED)
{
if (lParam == (LPARAM)hProfButton)
{
DialogBox(GetModuleHandle(NULL),
MAKEINTRESOURCE(IDD_PROF),
hwnd,
ProfDlgProc);
}
if (lParam == (LPARAM)hDownloadButton)
{
if(SelectedApplication)
{
/* install dependencies */
if(StrCmpW(SelectedApplication->Depends, L""))
{
AppToInstall = SelectedApplication;
SelectedApplication = GetDependency(SelectedApplication->Depends);
if (SelectedApplication)
if (!IsApplicationInstalled(SelectedApplication))
{
LoadString(GetModuleHandle(NULL), IDS_INSTALL_DEP, InstallDep, sizeof(InstallDep) / sizeof(WCHAR));
LoadString(GetModuleHandle(NULL), IDS_WINDOW_TITLE, Title, sizeof(Title) / sizeof(WCHAR));
_snwprintf(InstallDepBuffer, sizeof(InstallDepBuffer) / sizeof(WCHAR), InstallDep, SelectedApplication->Name, AppToInstall->Name, SelectedApplication->Name);
if (MessageBox(hwnd, InstallDepBuffer, Title, MB_YESNO | MB_ICONINFORMATION) == IDYES)
{
DialogBoxW(GetModuleHandle(NULL), MAKEINTRESOURCEW(IDD_DOWNLOAD), 0, DownloadProc);
}
}
SelectedApplication = AppToInstall;
}
/* download and install the app */
DialogBoxW(GetModuleHandle(NULL), MAKEINTRESOURCEW(IDD_DOWNLOAD), 0, DownloadProc);
/* install req. hacks to get it working */
if(StrCmpW(SelectedApplication->PostInstallAction, L""))
{
AppToInstall = SelectedApplication;
CopyMemory(SelectedApplication->Location, SelectedApplication->PostInstallAction, sizeof(SelectedApplication->Location));
DialogBoxW(GetModuleHandle(NULL), MAKEINTRESOURCEW(IDD_DOWNLOAD), 0, DownloadProc);
SelectedApplication = AppToInstall;
}
}
else
ShowMessage(Strings[IDS_NO_APP_TITLE], Strings[IDS_NO_APP]);
}
else if (lParam == (LPARAM)hUninstallButton)
{
if(SelectedApplication)
{
WCHAR Uninstaller[200];
if(StrCmpW(SelectedApplication->RegName, L"")) {
if(getUninstaller(SelectedApplication->RegName, Uninstaller))
startUninstaller(Uninstaller);
}
}
}
else if (lParam == (LPARAM)hUpdateButton)
{
ShowMessage(Strings[IDS_UPDATE_TITLE], Strings[IDS_UPDATE]);
}
else if (lParam == (LPARAM)hHelpButton)
{
ShowMessage(Strings[IDS_HELP_TITLE], Strings[IDS_HELP]);
}
}
}
break;
case WM_NOTIFY:
{
LPNMHDR data = (LPNMHDR)lParam;
WCHAR Uninstaller[200];
if(data->code == TVN_SELCHANGED)
{
BOOL bShowUninstaller = FALSE;
if(data->hwndFrom == hCategories)
{
struct Category* Category = (struct Category*) ((LPNMTREEVIEW)lParam)->itemNew.lParam;
CategoryChoosen (hApps, Category);
}
else if(data->hwndFrom == hApps)
{
SelectedApplication = (struct Application*) ((LPNMTREEVIEW)lParam)->itemNew.lParam;
if(SelectedApplication)
{
ApplicationText[0]=L'\0';
if(StrCmpW(SelectedApplication->Version, L"")) {
StrCatW(ApplicationText, Strings[IDS_VERSION]);
StrCatW(ApplicationText, SelectedApplication->Version);
StrCatW(ApplicationText, L"\n");
}
if(StrCmpW(SelectedApplication->Licence, L"")) {
StrCatW(ApplicationText, Strings[IDS_LICENCE]);
StrCatW(ApplicationText, SelectedApplication->Licence);
StrCatW(ApplicationText, L"\n");
}
if(StrCmpW(SelectedApplication->Maintainer, L"")) {
StrCatW(ApplicationText, Strings[IDS_MAINTAINER]);
StrCatW(ApplicationText, SelectedApplication->Maintainer);
StrCatW(ApplicationText, L"\n");
}
if(StrCmpW(SelectedApplication->Licence, L"") || StrCmpW(SelectedApplication->Version, L"") || StrCmpW(SelectedApplication->Maintainer, L""))
StrCatW(ApplicationText, L"\n");
StrCatW(ApplicationText, SelectedApplication->Description);
ShowMessage(SelectedApplication->Name, ApplicationText);
if(StrCmpW(SelectedApplication->RegName, L"")) {
if(getUninstaller(SelectedApplication->RegName, Uninstaller)) {
bShowUninstaller = TRUE;
}
}
}
}
if (bShowUninstaller)
showUninstaller();
else
hideUninstaller();
}
}
break;
case WM_SIZING:
{
LPRECT pRect = (LPRECT)lParam;
if (pRect->right-pRect->left < 520)
pRect->right = pRect->left + 520;
if (pRect->bottom-pRect->top < 300)
pRect->bottom = pRect->top + 300;
}
break;
case WM_SIZE:
{
int Split_Hozizontal = (HIWORD(lParam)-(45+60))/2 + 60;
int Split_Vertical = 200;
RECT Rect;
ResizeControl(hCategories, 10, 60, Split_Vertical, HIWORD(lParam)-10);
ResizeControl(hApps, Split_Vertical+5, 60, LOWORD(lParam)-10, Split_Hozizontal);
SetRect(&Rect, Split_Vertical+5, Split_Hozizontal+5, LOWORD(lParam)-10, HIWORD(lParam)-50);
DescriptionRect = Rect;
MoveWindow(hHelpButton, LOWORD(lParam)-50, 10, 40, 40, TRUE);
MoveWindow(hUpdateButton, LOWORD(lParam)-150, 10, 40, 40, TRUE);
MoveWindow(hProfButton, LOWORD(lParam)-100, 10, 40, 40, TRUE);
if(IsWindowVisible(hUninstallButton))
MoveWindow(hDownloadButton, (Split_Vertical+LOWORD(lParam))/2, HIWORD(lParam)-45, 140, 35, TRUE);
else
MoveWindow(hDownloadButton, (Split_Vertical+LOWORD(lParam))/2-70, HIWORD(lParam)-45, 140, 35, TRUE);
MoveWindow(hUninstallButton, (Split_Vertical+LOWORD(lParam))/2-140, HIWORD(lParam)-45, 140, 35, TRUE);
}
break;
case WM_DESTROY:
{
DeleteObject(hLogo);
if(Root.Children)
FreeTree(Root.Children);
PostQuitMessage(0);
return 0;
}
break;
}
return DefWindowProc (hwnd, Message, wParam, lParam);
}
INT WINAPI
wWinMain (HINSTANCE hInstance,
HINSTANCE hPrevInst,
LPTSTR lpCmdLine,
INT nCmdShow)
{
int i;
WNDCLASSEXW WndClass = {0};
MSG msg;
InitCommonControls();
// Load strings
for(i=0; i<STRING_COUNT; i++)
LoadStringW(hInstance, i, Strings[i], MAX_STRING_LENGHT); // if you know a better method please tell me.
// Create the window
WndClass.cbSize = sizeof(WNDCLASSEX);
WndClass.lpszClassName = L"Downloader";
WndClass.lpfnWndProc = WndProc;
WndClass.hInstance = hInstance;
WndClass.style = CS_HREDRAW | CS_VREDRAW;
WndClass.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MAIN));
WndClass.hCursor = LoadCursor(NULL, IDC_ARROW);
RegisterClassExW(&WndClass);
hwnd = CreateWindowW(L"Downloader",
Strings[IDS_WINDOW_TITLE],
WS_OVERLAPPEDWINDOW|WS_CLIPCHILDREN,
CW_USEDEFAULT,
CW_USEDEFAULT,
720, 550,
NULL, NULL,
hInstance,
NULL);
// Show it
ShowWindow(hwnd, SW_SHOW);
UpdateWindow(hwnd);
// Message Loop
while(GetMessage(&msg,NULL,0,0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return 0;
}

View File

@@ -1,36 +0,0 @@
#include <windows.h>
#include <stdio.h>
int main()
{
HKEY hKey;
DWORD dwVal = 1;
DWORD dwSize = MAX_PATH;
DWORD lpdwDisposition = 0;
CHAR szBuf[MAX_PATH];
printf("%s", "Setting Diablo 2 commandline parameters to -w -glide...");
if (RegCreateKeyExA (HKEY_CURRENT_USER,
"SOFTWARE\\Blizzard Entertainment\\Diablo II Shareware",
0,
NULL,
0,
KEY_ALL_ACCESS,
NULL,
&hKey,
&lpdwDisposition));
{
strcpy(szBuf, "-w -glide");
RegSetValueExA(hKey, "UseCmdLine", 0, REG_DWORD, (LPCSTR)&dwVal, sizeof(dwVal));
RegSetValueExA(hKey, "CmdLine", 0, REG_SZ, (LPCSTR)szBuf, strlen(szBuf)+1);
RegCloseKey(hKey);
printf("%s", "done.");
}
return 0;
}

View File

@@ -1,71 +0,0 @@
/* Icons */
#define IDI_MAIN 0x0
#define IDI_UPDATE 5000
#define IDI_HELP 5001
#define IDI_PROF 5002
/* Bitmaps */
#define IDB_UNDERLINE 0x100
#define IDB_LOGO 0x101
#define IDB_DOWNLOAD 0x102
#define IDB_UNINSTALL 0x103
#define IDB_TREEVIEW_ICON_0 0x900
#define IDB_TREEVIEW_ICON_1 0x901
#define IDB_TREEVIEW_ICON_2 0x902
#define IDB_TREEVIEW_ICON_3 0x903
#define IDB_TREEVIEW_ICON_4 0x904
#define IDB_TREEVIEW_ICON_5 0x905
#define IDB_TREEVIEW_ICON_6 0x906
#define IDB_TREEVIEW_ICON_7 0x907
#define IDB_TREEVIEW_ICON_8 0x908
#define IDB_TREEVIEW_ICON_9 0x909
#define IDB_TREEVIEW_ICON_10 0x910
#define IDB_TREEVIEW_ICON_11 0x911
#define IDB_TREEVIEW_ICON_12 0x912
#define IDB_TREEVIEW_ICON_13 0x913
/* Dialogs */
#define IDD_DOWNLOAD 0x100
#define IDD_PROF 6000
/* Controls */
#define IDC_PROGRESS 0x1000
#define IDC_STATUS 0x1001
#define IDC_REMOVE 0x1002
#define IDC_DOWNLOAD_FOLDER_EDIT 0x1003
#define IDC_CHOOSE_BUTTON 0x1004
#define IDC_UPDATE_SERVER_EDIT 0x1005
#define IDC_DELINST_FILES_CHECKBOX 0x1006
/* Strings */
#define IDS_WINDOW_TITLE 0
#define IDS_WELCOME_TITLE 1
#define IDS_WELCOME 2
#define IDS_NO_APP_TITLE 3
#define IDS_NO_APP 4
#define IDS_UPDATE_TITLE 5
#define IDS_UPDATE 6
#define IDS_HELP_TITLE 7
#define IDS_HELP 8
#define IDS_NO_APPS 9
#define IDS_CHOOSE_APP 10
#define IDS_CHOOSE_SUB 11
#define IDS_CHOOSE_CATEGORY 12
#define IDS_CHOOSE_BOTH 13
#define IDS_XMLERROR_1 14
#define IDS_XMLERROR_2 15
#define IDS_DOWNLOAD_ERROR 16
#define IDS_VERSION 17
#define IDS_LICENCE 18
#define IDS_MAINTAINER 19
#define IDS_APPS_TITLE 20
#define IDS_CATS_TITLE 21
#define IDS_CHOOSE_FOLDER 22
#define IDS_NOTCREATE_REGKEY 23
#define IDS_DOWNLOAD_FOLDER 24
#define IDS_UNABLECREATE_FOLDER 25
#define IDS_UPDATE_URL 26
#define IDS_INSTALL_DEP 27
/* Tool tips */
#define TTT_HELPBUTTON 50
#define TTT_UPDATEBUTTON 51
#define TTT_PROFBUTTON 52
/* Other */
#define STRING_COUNT 20
#define MAX_STRING_LENGHT 0x100

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

View File

@@ -1,41 +0,0 @@
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDI_MAIN ICON DISCARDABLE "resources/main.ico"
IDI_UPDATE ICON DISCARDABLE "resources/update.ico"
IDI_HELP ICON DISCARDABLE "resources/help.ico"
IDI_PROF ICON DISCARDABLE "resources/preferences.ico"
IDB_LOGO BITMAP DISCARDABLE "resources/logo.bmp"
IDB_DOWNLOAD BITMAP DISCARDABLE "resources/download.bmp"
IDB_UNINSTALL BITMAP DISCARDABLE "resources/uninstall.bmp"
IDB_UNDERLINE BITMAP DISCARDABLE "resources/underline.bmp"
IDB_TREEVIEW_ICON_0 BITMAP DISCARDABLE "resources/0.bmp"
IDB_TREEVIEW_ICON_1 BITMAP DISCARDABLE "resources/1.bmp"
IDB_TREEVIEW_ICON_2 BITMAP DISCARDABLE "resources/2.bmp"
IDB_TREEVIEW_ICON_3 BITMAP DISCARDABLE "resources/3.bmp"
IDB_TREEVIEW_ICON_4 BITMAP DISCARDABLE "resources/4.bmp"
IDB_TREEVIEW_ICON_5 BITMAP DISCARDABLE "resources/5.bmp"
IDB_TREEVIEW_ICON_6 BITMAP DISCARDABLE "resources/6.bmp"
IDB_TREEVIEW_ICON_7 BITMAP DISCARDABLE "resources/7.bmp"
IDB_TREEVIEW_ICON_8 BITMAP DISCARDABLE "resources/8.bmp"
IDB_TREEVIEW_ICON_9 BITMAP DISCARDABLE "resources/9.bmp"
IDB_TREEVIEW_ICON_10 BITMAP DISCARDABLE "resources/10.bmp"
IDB_TREEVIEW_ICON_11 BITMAP DISCARDABLE "resources/11.bmp"
IDB_TREEVIEW_ICON_12 BITMAP DISCARDABLE "resources/12.bmp"
IDB_TREEVIEW_ICON_13 BITMAP DISCARDABLE "resources/13.bmp"
#include "lang/bg-BG.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/no-NO.rc"
#include "lang/pl-PL.rc"
#include "lang/lt-LT.rc"
#include "lang/ru-RU.rc"
#include "lang/sk-SK.rc"
#include "lang/uk-UA.rc"

View File

@@ -1,26 +0,0 @@
struct Application
{
WCHAR Name[0x100];
WCHAR RegName[0x100];
WCHAR Version[0x100];
WCHAR Maintainer[0x100];
WCHAR Licence[0x100];
WCHAR Description[0x400];
WCHAR Location[0x100];
WCHAR Depends[0x100];
WCHAR PostInstallAction[0x100];
struct Application* Next;
};
struct Category
{
WCHAR Name[0x100];
//WCHAR Description[0x100];
int Icon;
HANDLE TreeviewItem;
struct Application* Apps;
struct Category* Next;
struct Category* Children;
struct Category* Parent;
};

View File

@@ -1,237 +0,0 @@
/* PROJECT: ReactOS Downloader
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base\applications\downloader\xml.c
* PURPOSE: Parsing of application information xml files
* PROGRAMMERS: Maarten Bosma, Lester Kortenhoeven
*/
#include <libs/expat/expat.h>
#include <string.h>
#include <stdio.h>
#include <windows.h>
#include <shlwapi.h>
#include "structures.h"
#include "resources.h"
BOOL TagOpen;
struct Category* Current;
struct Application* CurrentApplication;
char CurrentTag [0x100];
extern WCHAR Strings [STRING_COUNT][MAX_STRING_LENGHT];
void tag_opened (void* usrdata, const char* tag, const char** arg)
{
int i;
if(!strcmp(tag, "tree") && !CurrentApplication)
{
// check version
}
else if(!strcmp(tag, "category") && !CurrentApplication)
{
if (!Current)
{
Current = malloc(sizeof(struct Category));
memset(Current, 0, sizeof(struct Category));
}
else if (TagOpen)
{
Current->Children = malloc(sizeof(struct Category));
memset(Current->Children, 0, sizeof(struct Category));
Current->Children->Parent = Current;
Current = Current->Children;
}
else
{
Current->Next = malloc(sizeof(struct Category));
memset(Current->Next, 0, sizeof(struct Category));
Current->Next->Parent = Current->Parent;
Current = Current->Next;
}
TagOpen = TRUE;
for (i=0; arg[i]; i+=2)
{
if(!strcmp(arg[i], "name"))
{
MultiByteToWideChar(CP_UTF8, 0, arg[i+1], -1, Current->Name, 0x100);
}
if(!strcmp(arg[i], "icon"))
{
Current->Icon = atoi(arg[i+1]);
}
}
}
else if(!strcmp(tag, "application") && !CurrentApplication)
{
if(Current->Apps)
{
CurrentApplication = Current->Apps;
while(CurrentApplication->Next)
CurrentApplication = CurrentApplication->Next;
CurrentApplication->Next = malloc(sizeof(struct Application));
memset(CurrentApplication->Next, 0, sizeof(struct Application));
CurrentApplication = CurrentApplication->Next;
}
else
{
Current->Apps = malloc(sizeof(struct Application));
memset(Current->Apps, 0, sizeof(struct Application));
CurrentApplication = Current->Apps;
}
for (i=0; arg[i]; i+=2)
{
if(!strcmp(arg[i], "name"))
{
MultiByteToWideChar(CP_UTF8, 0, arg[i+1], -1, CurrentApplication->Name, 0x100);
}
}
}
else if (CurrentApplication)
{
strncpy(CurrentTag, tag, 0x100);
}
else
MessageBoxW(0,Strings[IDS_XMLERROR_2],0,0);
}
void text (void* usrdata, const char* data, int len)
{
if (!CurrentApplication)
return;
if(!strcmp(CurrentTag, "maintainer"))
{
int currentlengt = lstrlenW(CurrentApplication->Maintainer);
MultiByteToWideChar(CP_UTF8, 0, data, len, &CurrentApplication->Maintainer[currentlengt], 0x100-currentlengt);
}
else if(!strcmp(CurrentTag, "regname"))
{
int currentlengt = lstrlenW(CurrentApplication->RegName);
MultiByteToWideChar(CP_UTF8, 0, data, len, &CurrentApplication->RegName[currentlengt], 0x100-currentlengt);
}
else if(!strcmp(CurrentTag, "description"))
{
int currentlengt = lstrlenW(CurrentApplication->Description);
MultiByteToWideChar(CP_UTF8, 0, data, len, &CurrentApplication->Description[currentlengt], 0x400-currentlengt);
}
else if(!strcmp(CurrentTag, "location"))
{
int currentlengt = lstrlenW(CurrentApplication->Location);
MultiByteToWideChar(CP_UTF8, 0, data, len, &CurrentApplication->Location[currentlengt], 0x100-currentlengt);
}
else if(!strcmp(CurrentTag, "version"))
{
int currentlengt = lstrlenW(CurrentApplication->Version);
MultiByteToWideChar(CP_UTF8, 0, data, len, &CurrentApplication->Version[currentlengt], 0x400-currentlengt);
}
else if(!strcmp(CurrentTag, "licence"))
{
int currentlengt = lstrlenW(CurrentApplication->Licence);
MultiByteToWideChar(CP_UTF8, 0, data, len, &CurrentApplication->Licence[currentlengt], 0x100-currentlengt);
}
else if(!strcmp(CurrentTag, "depends"))
{
int currentlengt = lstrlenW(CurrentApplication->Depends);
MultiByteToWideChar(CP_UTF8, 0, data, len, &CurrentApplication->Depends[currentlengt], 0x100-currentlengt);
}
else if(!strcmp(CurrentTag, "postinstallaction"))
{
int currentlengt = lstrlenW(CurrentApplication->PostInstallAction);
MultiByteToWideChar(CP_UTF8, 0, data, len, &CurrentApplication->PostInstallAction[currentlengt], 0x100-currentlengt);
}
}
void tag_closed (void* tree, const char* tag)
{
CurrentTag[0] = 0;
if(!strcmp(tag, "category"))
{
if (TagOpen)
{
TagOpen = FALSE;
}
else
{
Current = Current->Parent;
}
}
else if(!strcmp(tag, "application"))
{
CurrentApplication = NULL;
}
}
BOOL ProcessXML (const char* filename, struct Category* Root)
{
int done = 0;
char buffer[255];
FILE* file;
XML_Parser parser;
if(Current)
return FALSE;
Current = Root;
TagOpen = TRUE;
file = fopen("downloader.xml", "r");
if(!file)
{
file = fopen(filename, "r");
if(!file)
{
MessageBoxW(0,Strings[IDS_XMLERROR_1],0,0);
return FALSE;
}
}
parser = XML_ParserCreate(NULL);
XML_SetElementHandler(parser, tag_opened, tag_closed);
XML_SetCharacterDataHandler(parser, text);
while (!done)
{
size_t len = fread (buffer, 1, sizeof(buffer), file);
done = len < sizeof(buffer);
if(!XML_Parse(parser, buffer, len, done))
{
MessageBoxW(0,Strings[IDS_XMLERROR_2],0,0);
fclose(file);
return FALSE;
}
}
XML_ParserFree(parser);
fclose(file);
return TRUE;
}
void FreeApps (struct Application* Apps)
{
if (Apps->Next)
FreeApps(Apps->Next);
free(Apps);
}
void FreeTree (struct Category* Node)
{
if (Node->Children)
FreeTree(Node->Children);
if (Node->Next)
FreeTree(Node->Next);
if (Node->Apps)
FreeApps(Node->Apps);
free(Node);
}

View File

@@ -0,0 +1,295 @@
/* findstr.c */
/* Copyright (C) 1994-2002, Jim Hall <jhall@freedos.org> */
/* Adapted for ReactOS -Edited for Findstr.exe K'Williams */
/*
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.
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, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/* This program locates a string in a text file and prints those lines
* that contain the string. Multiple files are clearly separated.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <windows.h>
#include <io.h>
#include <dos.h>
#include "resource.h"
/* Symbol definition */
#define MAX_STR 1024
/* This function prints out all lines containing a substring. There are some
* conditions that may be passed to the function.
*
* RETURN: If the string was found at least once, returns 1.
* If the string was not found at all, returns 0.
*/
int
find_str (char *sz, FILE *p, int invert_search,
int count_lines, int number_output, int ignore_case, int at_start, int literal_search,
int at_end, int reg_express, int exact_match, int sub_dirs, int only_fname)
{
int i, length;
long line_number = 0, total_lines = 0;
char *c, temp_str[MAX_STR], this_line[MAX_STR];
/* Convert to upper if needed */
if (ignore_case)
{
length = strlen (sz);
for (i = 0; i < length; i++)
sz[i] = toupper (sz[i]);
}
/* Scan the file until EOF */
while (fgets (temp_str, MAX_STR, p) != NULL)
{
/* Remove the trailing newline */
length = strlen (temp_str);
if (temp_str[length-1] == '\n')
{
temp_str[length-1] = '\0';
}
/* Increment number of lines */
line_number++;
strcpy (this_line, temp_str);
/* Convert to upper if needed */
if (ignore_case)
{
for (i = 0; i < length; i++)
{
temp_str[i] = toupper (temp_str[i]);
}
}
/* Locate the substring */
/* strstr() returns a pointer to the first occurrence in the
string of the substring */
c = strstr (temp_str, sz);
if ( ((invert_search) ? (c == NULL) : (c != NULL)) )
{
if (!count_lines)
{
if (number_output)
printf ("%ld:", line_number);
/* Print the line of text */
puts (this_line);
}
total_lines++;
} /* long if */
} /* while fgets */
if (count_lines)
{
/* Just show num. lines that contain the string */
printf ("%ld\n", total_lines);
}
/* RETURN: If the string was found at least once, returns 1.
* If the string was not found at all, returns 0.
*/
return (total_lines > 0 ? 1 : 0);
}
/* Show usage */
void
usage (void)
{
TCHAR lpUsage[4096];
LoadString( GetModuleHandle(NULL), IDS_USAGE, (LPTSTR)lpUsage, 4096);
CharToOem(lpUsage, lpUsage);
printf( lpUsage );
}
/* Main program */
int
main (int argc, char **argv)
{
char *opt, *needle = NULL;
int ret = 0;
TCHAR lpMessage[4096];
int invert_search = 0; /* flag to invert the search */
int count_lines = 0; /* flag to whether/not count lines */
int number_output = 0; /* flag to print line numbers */
int ignore_case = 0; /* flag to be case insensitive */
int at_start = 0; /* flag to Match if at the beginning of a line. */
int at_end = 0; /* flag to Match if at the beginning of a line. */
int reg_express = 0; /* flag to use/not use regular expressions */
int exact_match = 0; /* flag to be exact match */
int sub_dirs= 0; /* this and all subdirectories */
int only_fname= 0; /* print only the name of the file*/
int literal_search=0;
FILE *pfile; /* file pointer */
int hfind; /* search handle */
struct _finddata_t finddata; /* _findfirst, filenext block */
/* Scan the command line */
while ((--argc) && (needle == NULL))
{
if (*(opt = *++argv) == '/')
{
switch (opt[1])
{
case 'b':
case 'B': /* Matches pattern if at the beginning of a line */
at_start = 1;
break;
//case 'c':
//case 'C': /* Literal? */
// literal_search = 1;
// break;
case 'e':
case 'E': /* matches pattern if at end of line */
at_end = 1;
break;
case 'i':
case 'I': /* Ignore */
ignore_case = 1;
break;
case 'm':
case 'M': /* only filename */
only_fname = 1;
break;
case 'n':
case 'N': /* Number */
number_output = 1;
break;
case 'r':
case 'R': /* search strings as regular expressions */
reg_express = 1;
break;
case 's':
case 'S': /* search files in child directory too*/
sub_dirs = 1;
break;
case 'v':
case 'V': /* Not with */
invert_search = 1;
break;
case 'x':
case 'X': /* exact match */
exact_match = 1;
break;
default:
usage ();
exit (2); /* syntax error .. return error 2 */
break;
}
}
else
{
/* Get the string */
if (needle == NULL)
{
/* Assign the string to find */
needle = *argv;
}
}
}
/* Check for search string */
if (needle == NULL)
{
/* No string? */
usage ();
exit (1);
}
/* Scan the files for the string */
if (argc == 0)
{
ret = find_str (needle, stdin, invert_search, count_lines,
number_output, ignore_case, at_start, literal_search, at_end, reg_express, exact_match,
sub_dirs, only_fname);
}
while (--argc >= 0)
{
hfind = _findfirst (*++argv, &finddata);
if (hfind < 0)
{
/* We were not able to find a file. Display a message and
set the exit status. */
LoadString( GetModuleHandle(NULL), IDS_NO_SUCH_FILE, (LPTSTR)lpMessage, 4096);
CharToOem(lpMessage, lpMessage);
fprintf (stderr, lpMessage, *argv);//
}
else
{
/* repeat find next file to match the filemask */
do
{
/* We have found a file, so try to open it */
if ((pfile = fopen (finddata.name, "r")) != NULL)
{
printf ("---------------- %s\n", finddata.name);
ret = find_str (needle, pfile, invert_search, count_lines,
number_output, ignore_case, at_start, literal_search, at_end, reg_express, exact_match,
sub_dirs, only_fname);
fclose (pfile);
}
else
{
LoadString(GetModuleHandle(NULL), IDS_CANNOT_OPEN, (LPTSTR)lpMessage, 4096);
CharToOem(lpMessage, lpMessage);
fprintf (stderr, lpMessage,
finddata.name);
}
}
while (_findnext(hfind, &finddata) > 0);
}
_findclose(hfind);
} /* for each argv */
/* RETURN: If the string was found at least once, returns 0.
* If the string was not found at all, returns 1.
* (Note that find_str.c returns the exact opposite values.)
*/
exit ( (ret ? 0 : 1) );
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="findstr" type="win32cui" installbase="system32" installname="findstr.exe">
<library>user32</library>
<file>findstr.c</file>
<file>findstr.rc</file>
<file>rsrc.rc</file>
</module>

View File

@@ -0,0 +1,6 @@
#define REACTOS_STR_FILE_DESCRIPTION "W32 findstr command\0"
#define REACTOS_STR_INTERNAL_NAME "findstr\0"
#define REACTOS_STR_ORIGINAL_FILENAME "findstr.exe\0"
#include <reactos/version.rc>
#include "rsrc.rc"

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>..\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"<22><><EFBFBD>\" [ <20><><EFBFBD><EFBFBD>... ]\n\
/C <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n\
/I <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/N <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> 1\n\
/V <20><><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> <20><><EFBFBD><EFBFBD>."
IDS_NO_SUCH_FILE, "FIND: %s: <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n"
IDS_CANNOT_OPEN, "FIND: %s: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
END

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: Mostra totes les linies que continguin una determinada cadena de car<61>cters.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"Cadena de car<61>cters\" [ file... ]\n\
/C Conta el numero de linies que contenen la cadena de car<61>cters\n\
/I Ignora maj<61>scules i min<69>scules\n\
/N Numero de linies mostrades, comen<65>ant per la primera\n\
/V Mostra les linies que no contenen la cadena de car<61>cters"
IDS_NO_SUCH_FILE, "FIND: %s: No he trobat el fitxer\n"
IDS_CANNOT_OPEN, "FIND: %s: No puc obrir el fitxer\n"
END

View File

@@ -0,0 +1,23 @@
/* FILE: applications/cmdutils/find/lang/cs-CZ.rc
* TRANSLATOR: Radek Liska aka Black_Fox (radekliska at gmail dot com)
* THANKS TO: Mario Kacmar aka Kario (kario@szm.sk)
* UPDATED: 2008-02-29
*/
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: Zobraz<61> v<>echny <20><>dky souboru obsahuj<75>c<EFBFBD> hledan<61> <20>et<65>zec.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"<22>et<65>zec\" [ soubor... ]\n\
/C Zobraz<61> po<70>et <20><>dk<64> obsahuj<75>c<EFBFBD> <20>et<65>zec.\n\
/I Ignoruje velikost p<>smen.\n\
/N <20><>sluje zobrazen<65> <20><>dky, za<7A><61>n<EFBFBD> od 1.\n\
/V Zobraz<61> v<>echny <20><>dky, kter<65> NEobsahuj<75> zadan<61> <20>et<65><74>ec."
IDS_NO_SUCH_FILE, "FIND: Soubor %s nebyl nalezen.\n"
IDS_CANNOT_OPEN, "FIND: Soubor %s nelze otev<65><76>t!\n"
END

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Sucht in einer Datei nach einer Zeichenfolge.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"string\" [ file... ]\n\
/C Zeigt nur die Anzahl der die Zeichenfolge enthaltenen Zeilen an.\n\
/I Ignoriert Gro<72>-/Kleinbuchstaben bei der Suche.\n\
/N Zeigt die Zeilen mit ihren Zeilennummern an.\n\
/V Zeigt alle Zeilen an, die die Zeichenfolge NICHT enhalten."
IDS_NO_SUCH_FILE, "Datei %s nicht gefunden\n"
IDS_CANNOT_OPEN, "Datei %s kann nicht ge<67>ffnet werden.\n"
END

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\" [ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>... ]\n\
/C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/I <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/N <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> 1\n\
/V <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
IDS_NO_SUCH_FILE, "FIND: %s: <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
IDS_CANNOT_OPEN, "FIND: %s: <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
END

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FINDSTR: Prints all lines of a file that contain a string.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"string\" [ file... ]\n\
/C Count the number of lines that contain string\n\
/I Ignore case\n\
/N Number the displayed lines, starting at 1\n\
/V Print lines that do not contain the string"
IDS_NO_SUCH_FILE, "FINDSTR: %s: No such file\n"
IDS_CANNOT_OPEN, "FINDSTR: %s: Cannot open file\n"
END

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: Imprime todas las l<>neas de un fichero que contiene una cadena.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"cadena\" [ fichero... ]\n\
/C Cuenta el n<>mero de l<>neas que contienen la cadena de caracteres\n\
/I Ignora may<61>sculas y min<69>sculas\n\
/N Numero de l<>neas a mostrar en pantalla, a partir de la primera\n\
/V Muestra las l<>neas que no contienen la cadena de caracteres."
IDS_NO_SUCH_FILE, "FIND: %s: No se encontr<74> el fichero\n"
IDS_CANNOT_OPEN, "FIND: %s: No se pudo abrir el fichero\n"
END

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: Affiche toutes les lignes d'un fichier qui contiennent un morceau de texte.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"texte\" [ fichier... ]\n\
/C Compte le nombre de lignes qui contiennent le texte\n\
/I Insensible <20> la casse\n\
/N Num<75>rote les lignes affich<63>es en commen<65>ant <20> 1\n\
/V Affiche les lignes qui ne contiennent pas le texte"
IDS_NO_SUCH_FILE, "FIND: %s : fichier inexistant\n"
IDS_CANNOT_OPEN, "FIND: %s : impossible d'ouvrir le fichier\n"
END

View File

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

View File

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

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FINN: Skriv alle linjene for filen som inneholder en streng.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"streng\" [ fil... ]\n\
/C Teller nummer av linjer som inneholder strenger\n\
/I Ignorere sak\n\
/N Nummer viste linjer, start med 1\n\
/V Skriv linjer som ikke inneholder en streng"
IDS_NO_SUCH_FILE, "FINN: %s: Ingen filer\n"
IDS_CANNOT_OPEN, "FINN: %s: Kan ikke <20>pne filen\n"
END

View File

@@ -0,0 +1,24 @@
/*
* translated by Caemyr - Olaf Siejka (Dec,2007)
* Use ReactOS forum PM or IRC to contact me
* http://www.reactos.org
* IRC: irc.freenode.net #reactos-pl
*/
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "FIND: Wy<57>wietla wszystkie linie danego pliku, zawieraj<61>ce szukany ci<63>g znak<61>w.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"ci<63>g znak<61>w\" [ plik... ]\n\
/C Oblicza w ilu liniach pojawi<77> si<73> szukany ci<63>g znak<61>w\n\
/I Ignoruje wielko<6B><6F> liter\n\
/N Numeruje wy<77>wietlane linie, zaczynaj<61>c od 1\n\
/V Wy<57>wietla te linie kt<6B>re nie zawieraj<61> szukanego ci<63>gu znak<61>w"
IDS_NO_SUCH_FILE, "FIND: %s: Plik nie zosta<74> znaleziony\n"
IDS_CANNOT_OPEN, "FIND: %s: Nie mo<6D>na otworzy<7A> pliku\n"
END

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