Compare commits

...

2410 Commits

Author SHA1 Message Date
Hermès Bélusca-Maïto
1bca06c493 [0.3.17]: Backport late changes of branches/0.3.17/ from r65177.
svn path=/tags/ReactOS-0.3.17/; revision=66123
2015-01-31 13:48:02 +00:00
Ziliang Guo
6aa4e564dc [KERNEL32]
Merge English fallback for unlocalized text.
CORE-8720

svn path=/branches/0.3.17/; revision=65155
2014-10-31 17:47:32 +00:00
Ziliang Guo
49d4e58f50 [BOOTDATA]
Merge theme switching fix.
CORE-8718

svn path=/branches/0.3.17/; revision=65126
2014-10-30 19:00:33 +00:00
Ziliang Guo
af6d8b9f7e [WIN32SS]
Merge in workaround for freetype rendering issue.

CORE-8525, CORE-6023, CORE-7735 and CORE-8635

svn path=/branches/0.3.17/; revision=65101
2014-10-29 16:03:21 +00:00
Ziliang Guo
aaf904d84c [WIN32SS]
Fix icon selection regression caused by cascading fix. In this case, this should probably go into trunk.

CORE-8574

svn path=/branches/0.3.17/; revision=65091
2014-10-28 22:01:57 +00:00
Ziliang Guo
72e480c82f [0.3.17]
Set version number for release.

svn path=/branches/0.3.17/; revision=65049
2014-10-27 17:23:05 +00:00
Ziliang Guo
e2a4ce772f [NTFS]
Cherrypick additional NTFS related fixes, including ability to browse NTFS volume.

svn path=/branches/0.3.17/; revision=65048
2014-10-27 17:18:17 +00:00
Ziliang Guo
0a58d8b96a [WIN32K]
Cherrypick margin fix for menus.

CORE-8667

svn path=/branches/0.3.17/; revision=65047
2014-10-27 17:15:09 +00:00
Ziliang Guo
7c6256087f [UNIATA]
Update version of UNIATA to 45b1 for 0.3.17.

svn path=/branches/0.3.17/; revision=65046
2014-10-27 17:10:31 +00:00
Ziliang Guo
e7eb27c6cd [WIN32K]
Incorporate fix for keyboard indicator lights.

CORE-8547

svn path=/branches/0.3.17/; revision=64973
2014-10-24 21:27:13 +00:00
Ziliang Guo
4571891449 [WIN32SS]
Cherrypick fix for OffByOne browser where parent desktop handle is null for 0.3.17.

CORE-8665

svn path=/branches/0.3.17/; revision=64944
2014-10-23 20:52:25 +00:00
Ziliang Guo
f112613d39 [CRT]
Cherrypick fix for CRT that broke LMarbles/LBreakout. Games are important.

CORE-8670

svn path=/branches/0.3.17/; revision=64928
2014-10-23 15:55:03 +00:00
Ziliang Guo
122fe51263 [NTFS]
Cherrypick NTFS related changes from trunk for 0.3.17.

svn path=/branches/0.3.17/; revision=64927
2014-10-23 15:45:12 +00:00
Ziliang Guo
d8434fa72f [TCPIP]
Merge in Jerome's fix for Firefox crash.

CORE-8648

svn path=/branches/0.3.17/; revision=64848
2014-10-20 15:59:52 +00:00
Amine Khaldi
096445bc16 [TRANSLATIONS]
* Turkish translations update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=64750
2014-10-15 17:46:49 +00:00
Thomas Faber
96b8f1971f [PSDK]
- Use macro version of RtlUlonglongByteSwap in winternl.h because using the fastcall version causes stack corruption
CORE-8632 #resolve

svn path=/trunk/; revision=64749
2014-10-15 16:38:13 +00:00
Hermès Bélusca-Maïto
724f87c880 [NTVDM]: Implement double-width and double-height separately; used when eg. an app displays in 640*180, etc...
svn path=/trunk/; revision=64748
2014-10-15 00:42:19 +00:00
Hermès Bélusca-Maïto
1fd3e7e17e [NTVDM]: Zero-fill memory with RtlZeroMemory (that exists also in NT mode), and use sizeof(object) instead of sizeof(type_of_object).
svn path=/trunk/; revision=64747
2014-10-14 22:46:40 +00:00
Hermès Bélusca-Maïto
9718330254 Forgot this file :)
svn path=/trunk/; revision=64746
2014-10-14 21:53:07 +00:00
Hermès Bélusca-Maïto
2859d00536 [FAST486]
- Invalid extended opcodes get a special handler, so that we are not anymore obliged to check for NULL before running an extended opcode.
- To quickly retrieve extended opcode numbers, add their numbers in regard to their handlers.

svn path=/trunk/; revision=64745
2014-10-14 21:51:00 +00:00
Pierre Schweitzer
4102165fea [NTFS]
Also return the index of the entry which was found

svn path=/trunk/; revision=64744
2014-10-14 20:34:38 +00:00
Pierre Schweitzer
1042f3d24d [NTFS]
- Also make NtfsFindMftRecord() return the name of the record it found
- Implement support for entry enumeration (from 0 or not) in NtfsFindMftRecord()
- Experimental fix in NtfsLookupFileAt(), look for the attribute using the name of the record, and not the full path
- Implement NtfsFindFileAt() which is used to look for a file/directory using WC in a given directory

svn path=/trunk/; revision=64743
2014-10-14 19:11:49 +00:00
Pierre Schweitzer
f8c828f21c [NTFS]
- Prepare (only prototype so far) NtfsFindMftRecord() for directory search & enumeration with WC.
- Modify CompareFileName() so that comparisons can be done with or without WC.
- Fix NtfsLookupFileAt() accordingly 

svn path=/trunk/; revision=64742
2014-10-14 18:41:38 +00:00
Hermès Bélusca-Maïto
f4e263796c [NTVDM]
- Call CpuUnsimulate in EmulatorTerminate so that we really stop the CPU, before stopping the rest of the VM.
- We can reset CpuRunning to TRUE in CpuSimulate *only* if the VM is still running AND the CpuCallLevel is strictly positive (>=1 means, CPU halted or running; ==0 means, CPU stopped).

svn path=/trunk/; revision=64741
2014-10-14 00:14:56 +00:00
Hermès Bélusca-Maïto
499561d86c [FAST486]: Rename fast486dbg.c to debug.c as per opular demand :P
svn path=/trunk/; revision=64740
2014-10-13 22:08:08 +00:00
Hermès Bélusca-Maïto
db6be8948b [FAST486]
- Add doc for INT instructions,
- Move debug functions to an appropriate file.

svn path=/trunk/; revision=64739
2014-10-13 21:49:01 +00:00
Amine Khaldi
628b200fa4 [CRT]
* Update fwrite().
* Fixes some msvcrt:file tests.
CORE-8540

svn path=/trunk/; revision=64738
2014-10-13 19:48:08 +00:00
Hermès Bélusca-Maïto
0c4ba28402 [NTVDM]: it is always interesting to dump the full CPU state when an exception occurs.
svn path=/trunk/; revision=64737
2014-10-13 18:51:40 +00:00
Jérôme Gardou
4703670a3c [ADVAPI32_APITESTS]
- Add a few tests for DuplicateTokenEx

svn path=/trunk/; revision=64736
2014-10-13 18:49:09 +00:00
Jérôme Gardou
8b80957dae [NTOS/SE]
- Use the authentication ID to determine if a token represents a child of the current process.
CORE-8631 #resolve #comment the installer now works fine, but chrome fails to start

svn path=/trunk/; revision=64735
2014-10-13 18:47:44 +00:00
Eric Kohl
4173674a62 [SETUPAPI]
Load a property sheet extension dll only once, otherwise we might leak module handles.

svn path=/trunk/; revision=64734
2014-10-13 18:31:55 +00:00
Amine Khaldi
6d6e0cda0c [CRT]
* Update free_fd().
* Fixes some msvcrt:file tests.
CORE-8540

svn path=/trunk/; revision=64733
2014-10-13 18:08:34 +00:00
Pierre Schweitzer
2598a46b01 [NTFS]
So far, keep our NTFS read-only. Booh, that's sad! *sob*. I know.

svn path=/trunk/; revision=64732
2014-10-13 17:57:25 +00:00
Amine Khaldi
5f83d34467 [CRT]
* Update setvbuf() and ungetc().
* Fixes some msvcrt:file tests.
CORE-8540

svn path=/trunk/; revision=64731
2014-10-13 17:50:17 +00:00
James Tabor
e9aecdf259 [Win32k]
- Remove code that breaks API SetActiveWindow tests. See CORE-7447.
- Dedicated to Victor Martinez Calvo.

svn path=/trunk/; revision=64730
2014-10-13 17:15:04 +00:00
Jérôme Gardou
63dff05e61 Arch, stop screwing up your commits.
svn path=/trunk/; revision=64729
2014-10-13 16:25:23 +00:00
Jérôme Gardou
622ae3a606 [CMAKE]
- Also give a base address to d3dwine.dll

svn path=/trunk/; revision=64728
2014-10-13 16:21:48 +00:00
Jérôme Gardou
d554ce375f [WINED3D]
- Fix build: This is wha happens when youknow you should perform a clean build but don't.

svn path=/trunk/; revision=64726
2014-10-13 16:07:46 +00:00
Jérôme Gardou
5d13c65d57 [WINED3D]
- Rename wined3d.dll as d3dwine.dll, so that the VBox additions don't erase it.
Dedicated to Daniel: Now you can safely use the opti-hacked vbox 3d additions.

svn path=/trunk/; revision=64724
2014-10-13 16:04:40 +00:00
Amine Khaldi
43b5d75525 [BOOTDATA]
* Partial revert of r64722 due to change of encoding. Spotted by Sylvain.
CORE-8520

svn path=/trunk/; revision=64723
2014-10-13 15:55:56 +00:00
Amine Khaldi
06a450f2b5 [BOOTDATA][MEDIA/INF]
* Romanian translations update by Ștefan Fulea.
CORE-8520

svn path=/trunk/; revision=64722
2014-10-13 15:26:46 +00:00
Amine Khaldi
339f0e568a [TRANSLATIONS]
* Romanian translations update by Ștefan Fulea.
CORE-8520

svn path=/trunk/; revision=64721
2014-10-13 15:24:08 +00:00
Thomas Faber
d5b17b9082 [GDI32]
- Return 1 on failure in IntEnumFontFamilies, as shown by the test
CORE-8628 #resolve

svn path=/trunk/; revision=64720
2014-10-13 14:06:40 +00:00
Thomas Faber
00109ad544 [GDI32_APITEST]
- Add a test for EnumFontFamilies* returning no results
CORE-8628

svn path=/trunk/; revision=64719
2014-10-13 12:25:30 +00:00
Amine Khaldi
d3d5f95600 [CRT]
* Bring-in some changes to init_fp().
* Update _filbuf(), _ftelli64(), alloc_buffer(), flush_all_buffers(), flush_buffer() and fread().
* Fixes msvcrt:file crash.
CORE-8540

svn path=/trunk/; revision=64716
2014-10-13 11:11:56 +00:00
Amine Khaldi
cc3b98c999 [TFTPD]
* Update TFTPD Server. Initial patch by Kudratov Olimjon with some changes by me.
CORE-8620 #resolve #comment Committed in r64714 with some changes.

svn path=/trunk/; revision=64714
2014-10-13 11:03:35 +00:00
Aleksey Bragin
3ed526868f [PSDK] and [NDK]
- Since NTSTATUS definition is returned into bcrypt.h, then let's define PNTSTATUS too. Otherwise it makes no sense and errors out.
- Handle BCRYPT_H and __WINE_BCRYPT_H in ndk/umtypes.h. Thomas said that BCRYPT_H is not an option - but our NDK should be compatible with ReactOS PSDK too. If I am wrong, please feel free to change __WINE_BCRYPT_H to BCRYPT_H in psdk/bcrypt.h, fix related probelms and revert my change. Thanks!

svn path=/trunk/; revision=64713
2014-10-13 10:53:58 +00:00
Amine Khaldi
43cbfe8aea [MSVCRT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64712
2014-10-13 10:53:02 +00:00
Amine Khaldi
43f5fec7ad [INCLUDE/CRT]
* Add missing _USERBUF definition.

svn path=/trunk/; revision=64711
2014-10-13 10:42:59 +00:00
Amine Khaldi
9144185ad8 [CRT]
* Update MSVCRT_I10_OUTPUT().
CORE-8540

svn path=/trunk/; revision=64710
2014-10-13 10:31:36 +00:00
Thomas Faber
80ecfd75ed [USER32_APITEST]
- Extend GetUserObjectInformation test to include the ansi version. ... this is the lazy way and just duplicates the code, feel free to make it more concise.
CORE-8101

svn path=/trunk/; revision=64706
2014-10-13 09:22:59 +00:00
Thomas Faber
fb3bffdf30 [USER32]
- Correctly treat lpnLengthNeeded as optional in GetUserObjectInformationA. Fixes crash in user32_winetest:winstation
CORE-8101 #resolve

svn path=/trunk/; revision=64705
2014-10-13 09:18:46 +00:00
Amine Khaldi
f7a5377817 [CMAKE/MSVC]
* Introduce support for for MSVC native run-time checks. Set RUNTIME_CHECKS to TRUE to enable it.
* Dedicated to Christoph von Wittich and all ReactOS devs that use MSVC builds ;)
CORE-8626

svn path=/trunk/; revision=64704
2014-10-12 22:59:32 +00:00
Amine Khaldi
64a6fffdbc [CMAKE]
* Module type win32dll ENTRYPOINT 0 => module.

svn path=/trunk/; revision=64703
2014-10-12 22:28:39 +00:00
Thomas Faber
b62c758526 [RTL]
- Allow the thread that called LdrShutdownProcess to forcefully acquire critical sections (the loader lock in particular).
This fixes the race condition where ExitProcess might terminate a thread holding the loader lock and subsequently call LdrShutdownProcess. That would then result in a deadlock because LdrShutdownProcess cannot acquire the loader lock.
This is a pretty ugly hack... but at least Windows does it the same way.
Fixes hangs after the summary line when running mshtml tests.
CORE-8624 #resolve

svn path=/trunk/; revision=64702
2014-10-12 20:45:32 +00:00
Hermès Bélusca-Maïto
ae24fd4e41 [NTVDM]
- Move the stack frame indices to where they belong (this is the stack layout when an interrupt is called).
- In the bootstrap interrupt, modify the CS:IP stored in the stack instead of the current CS:IP of the CPU, so that we can clean up everything and the interrupt return correctly, instead of breaking everything... (some apps wouldn't start with the original code^^). This is an addendum/fix to revision 64521.

svn path=/trunk/; revision=64701
2014-10-12 17:23:20 +00:00
Eric Kohl
634d194a5f [SETUPAPI]
Store the module handles to loaded property page provider dlls in the DeviceInfoData (for class property pages) or in the DeviceInfo (for device property pages). The dlls are unloaded when the device info set is destroyed. These dlls were unloaded as soon as the property sheet data had been retrieved. These property pages could not be added to a property sheet because unloading the dll invalidated the page reources.

svn path=/trunk/; revision=64700
2014-10-12 17:13:36 +00:00
Thomas Faber
6774a3cf53 [SECUR32]
- Call SECUR32_initializeProviders from EnumerateSecurityPackagesW if necessary. Fixes a couple secur32 tests, and an occasional crash in rpcrt4:rpc

svn path=/trunk/; revision=64699
2014-10-12 16:19:45 +00:00
Hermès Bélusca-Maïto
eebf53a4a1 [FAST486]: speed up things a bit when we're reading prefixes, by really going to the next instruction (no jump to the end of the do{}while() loop, then restart).
svn path=/trunk/; revision=64698
2014-10-12 14:08:14 +00:00
Timo Kreuzer
62a9101a31 [NTOSKRNL]
Make sure APCs are disabled when acquiring MmSectionCommitMutex.

svn path=/trunk/; revision=64697
2014-10-12 14:05:49 +00:00
Hermès Bélusca-Maïto
88b05a01ad [fast486]: code formatting + add a comment about the instruction 0xF1.
svn path=/trunk/; revision=64696
2014-10-12 13:50:05 +00:00
Thomas Faber
5aaaab86e4 [ROSAUTOTEST]
- DbgPrint expects a format string!
ROSTESTS-145 #resolve

svn path=/trunk/; revision=64695
2014-10-12 13:23:38 +00:00
Pierre Schweitzer
6214688a97 [NTFS]
Forgot that file²...

svn path=/trunk/; revision=64694
2014-10-12 11:52:05 +00:00
Pierre Schweitzer
0892e523ce [NTFS]
Forgot that file...

svn path=/trunk/; revision=64693
2014-10-12 11:50:08 +00:00
Pierre Schweitzer
e8d374127e [NTFS]
On opening, check the file found matches the requested dispositions from the caller

svn path=/trunk/; revision=64692
2014-10-12 11:48:42 +00:00
Pierre Schweitzer
c440495495 [NTFS]
Properly reset FCB & SectionObjectPointer fields from the FileObject on close

svn path=/trunk/; revision=64691
2014-10-12 11:43:10 +00:00
Thomas Faber
64e2bc0bcd [NTDLL:DBG]
- Use NtReadVirtualMemory instead of dereferencing a pointer from a different process in DbgUiConvertStateChangeStructure.
CORE-8622 #resolve

svn path=/trunk/; revision=64690
2014-10-12 11:35:11 +00:00
Thomas Faber
98b2bae8db [EVENTLOG]
- In ElfGetLogHandleEntryByHandle, actually verify the validity of the handle by traversing the log handle list. Fixes crash in advapi32_winetest:eventlog (double close).
- Minor style improvements to ElfDeleteEventLogHandle
CORE-8621 #resolve

svn path=/trunk/; revision=64689
2014-10-12 11:23:05 +00:00
Thomas Faber
e85c3287e6 [FDEBUG]
- Fix build

svn path=/trunk/; revision=64688
2014-10-12 06:21:22 +00:00
Hermès Bélusca-Maïto
81e45ad891 [FAST486]
- fastcall'ize some functions,
- code formatting.

svn path=/trunk/; revision=64687
2014-10-12 00:10:44 +00:00
Hermès Bélusca-Maïto
76b9cec909 [FAST486]
- In order to always check for opcode handler being NULL, replace the only NULL handler by a non-NULL one that handles the invalid opcodes.
- To quickly retrieve opcode numbers, add their numbers in regard to their handlers.

svn path=/trunk/; revision=64686
2014-10-11 23:12:30 +00:00
Thomas Faber
40b5bdc561 [NTOS:KE]
- Make fastfail exception noncontinuable
CORE-8419

svn path=/trunk/; revision=64685
2014-10-11 23:07:04 +00:00
Amine Khaldi
d52bd15a34 [README.WINE]
* Mark extrac32 and expand as synced with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64684
2014-10-11 19:43:36 +00:00
Amine Khaldi
0613b3fa09 [WORDPAD]
* Fix an inconsistency between resource compilers.

svn path=/trunk/; revision=64683
2014-10-11 19:06:53 +00:00
Hermès Bélusca-Maïto
05f282db13 errm... proper commenting.
svn path=/trunk/; revision=64682
2014-10-11 18:40:08 +00:00
Amine Khaldi
ba92c6ada6 [WORDPAD]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64681
2014-10-11 18:39:41 +00:00
Hermès Bélusca-Maïto
4dc3817613 [FAST486]
Use a more performant CountLeadingZeros64 version from Timo (tested by Thomas), and disable the MSVC-specific one until you find a version that works, and is supported for any CPU.

svn path=/trunk/; revision=64680
2014-10-11 18:35:23 +00:00
Pierre Schweitzer
e13190034d [NTFS]
Addendum to r64678

svn path=/trunk/; revision=64679
2014-10-11 18:03:48 +00:00
Pierre Schweitzer
6df3ae7aff [NTFS]
Return found FCB on successful file opening

svn path=/trunk/; revision=64678
2014-10-11 18:00:46 +00:00
Aleksandar Andrejevic
33bad414bc [FAST486]
CountLeadingZeros64 shouldn't loop forever if "Value" is 0.


svn path=/trunk/; revision=64677
2014-10-11 16:57:33 +00:00
Hermès Bélusca-Maïto
2471c3b90f [FAST486]: fixes for CountLeadingZeros64:
- remove extra ';'
- This is (x)>0xff.... not >=
- Use Timo inline function.

svn path=/trunk/; revision=64676
2014-10-11 16:25:45 +00:00
Hermès Bélusca-Maïto
51ad4d4d0e Revert revision 64673 (as long as our FPU is not fully implemented, do not hint apps to use our FPU, but instead their simulated one if they have one). Fixes QBasic-compiled apps (amongst others...)
svn path=/trunk/; revision=64675
2014-10-11 16:00:31 +00:00
Aleksandar Andrejevic
a6b0b2c9f8 [FAST486]
Use intrinsics to count the leading zeros when possible.
Add FPU data to Fast486DumpState.


svn path=/trunk/; revision=64674
2014-10-11 15:42:00 +00:00
Hermès Bélusca-Maïto
af3b46598e [NTVDM]: we have a FPU.
svn path=/trunk/; revision=64673
2014-10-11 15:39:18 +00:00
Hermès Bélusca-Maïto
1e5192c2b4 [FAST486]: group Fast486GetIntVector and Fast486InterruptInternal calls into Fast486PerformInterrupt and use it in the code.
svn path=/trunk/; revision=64672
2014-10-11 15:28:21 +00:00
Aleksandar Andrejevic
beb08f639d [FAST486]
Revert the previous fix and fix it again, but properly.


svn path=/trunk/; revision=64671
2014-10-11 14:40:53 +00:00
Thomas Faber
8f8255e36b [ROSAUTOTEST]
- Do not duplicate console output in StringOut if forcePrint = false
ROSTESTS-144

svn path=/trunk/; revision=64670
2014-10-11 14:34:56 +00:00
Aleksandar Andrejevic
201b9736c0 [FAST486]
Fix the 6-bit sub-opcode numbers for opcode 0xDB.


svn path=/trunk/; revision=64669
2014-10-11 14:34:31 +00:00
Aleksandar Andrejevic
0b60516799 [FAST486]
Save and restore the prefix flags in Fast486InterruptInternal instead of hacking around this
everywhere else.


svn path=/trunk/; revision=64668
2014-10-11 14:03:17 +00:00
Amine Khaldi
f8931b8774 [NTOS]
* Set the base address to 0x00800000 only in gdb mode, otherwise use the correct one.

svn path=/trunk/; revision=64667
2014-10-11 13:43:02 +00:00
Amine Khaldi
25161b54ac [CMAKE/BASEADDRESS]
* Take the dwarf builds (NO_ROSSYM on) into account when assigning base addresses.
* Dedicated to V.

svn path=/trunk/; revision=64666
2014-10-11 13:36:08 +00:00
Thomas Faber
c859a6df99 [NTOS:KE]
- Implement KiRaiseSecurityCheckFailure[Handler] to handle int 0x29 (__fastfail). Based on patch by Timo Kreuzer.
(Yes, this is a Windows 8 feature. However all it does is improve the debugging experience, and we have a need for that)
CORE-8419

svn path=/trunk/; revision=64665
2014-10-11 13:15:10 +00:00
Timo Kreuzer
56af6d9a25 [RTL/NTOSKRNL]
Rename AVL tree functions with macros when included from Mm. This is necessary since the compiler might chose to not inline these functions (and does so on MSVC debug builds) yet only generate one instance of the function, where 2 different versions are required. This caused RtlAvlTree functions to fail on MSVC builds, since they were calling the functions compiled for Mm AVL trees!

svn path=/trunk/; revision=64664
2014-10-11 12:40:24 +00:00
Thomas Faber
a747a1b3f5 [APPLICATIONS]
- Remove broken casts

svn path=/trunk/; revision=64663
2014-10-11 12:39:50 +00:00
Thomas Faber
d4378d8e20 [USER32][SCRNSAVE]
- Remove broken casts

svn path=/trunk/; revision=64662
2014-10-11 12:34:25 +00:00
Thomas Faber
8dec287d97 [CONSRV]
- Fix buffer overflows

svn path=/trunk/; revision=64661
2014-10-11 12:13:27 +00:00
Thomas Faber
5046f274d4 [MPLAY32]
- Fix broken casts

svn path=/trunk/; revision=64660
2014-10-11 11:14:33 +00:00
Timo Kreuzer
049c7c4a6f [WSHTCPIP]
Fix a bug that manifests in an ASSERT on MSVC builds

svn path=/trunk/; revision=64659
2014-10-11 10:26:45 +00:00
Timo Kreuzer
55134312a8 [NTDLL]
Don't assert that the caller of exported APIs passes correct parameters.

svn path=/trunk/; revision=64658
2014-10-11 08:52:33 +00:00
James Tabor
7564a04e43 [Win32k]
- Patch by Matteo Bruni : Don't overflow the buffer in GetGlyphOutline.


svn path=/trunk/; revision=64657
2014-10-11 05:34:30 +00:00
Aleksandar Andrejevic
1618cfa1f2 [FAST486]
Update the copyright year.
Implement the first batch of FPU instructions. These are still experimental.


svn path=/trunk/; revision=64656
2014-10-10 23:07:14 +00:00
Amine Khaldi
8b43551c8c [MSIEXEC]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64655
2014-10-10 11:41:31 +00:00
Amine Khaldi
fd993b97d5 [RPCSS]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64654
2014-10-10 11:38:00 +00:00
Amine Khaldi
624d93ddbf [WINHLP32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64653
2014-10-10 11:18:49 +00:00
Amine Khaldi
f120ae1fb5 [XCOPY]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64652
2014-10-10 11:17:12 +00:00
Amine Khaldi
0743d5f83b [README.WINE]
* Forgot to mark wmic in my previous commit.
CORE-8540

svn path=/trunk/; revision=64651
2014-10-10 11:16:02 +00:00
Jérôme Gardou
5c280291ad [ADVAPI32]
- CreateProcessAsUser: properly kill the created process on failure case.

svn path=/trunk/; revision=64650
2014-10-10 09:55:54 +00:00
Amine Khaldi
87a377ece6 [WMIC]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64649
2014-10-09 13:06:27 +00:00
Amine Khaldi
59df91f2ea [TASKKILL]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64648
2014-10-09 13:03:36 +00:00
Amine Khaldi
613952ea4c [REG]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64647
2014-10-09 12:56:53 +00:00
Amine Khaldi
35502aa854 [INETCPL]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64645
2014-10-09 12:45:51 +00:00
Amine Khaldi
d94a8fc528 [README.WINE]
* Mark some dlls as synced with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64644
2014-10-09 11:13:31 +00:00
Amine Khaldi
91ae1e51ff [WININET]
* Update resource files.
CORE-8540

svn path=/trunk/; revision=64643
2014-10-09 11:12:38 +00:00
Amine Khaldi
dd8b43e979 [MSVIDC32]
* Improve header inclusions in resource files.

svn path=/trunk/; revision=64642
2014-10-09 11:11:26 +00:00
Amine Khaldi
01544e6f80 [MAPI32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64641
2014-10-09 11:09:58 +00:00
Amine Khaldi
bafdc2c641 [LOCALUI]
* Improve header inclusions in resource files.

svn path=/trunk/; revision=64640
2014-10-09 11:09:02 +00:00
Amine Khaldi
0c260ba437 [LOCALSPL]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64639
2014-10-09 11:07:09 +00:00
Amine Khaldi
d4efd9150a [ICCVID]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64638
2014-10-09 11:06:02 +00:00
Amine Khaldi
e1a96d633f [CRYPTDLG]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64637
2014-10-09 11:05:02 +00:00
Amine Khaldi
db043b176e [CRYPTDLG]
* Don't assign ordinals to Dll{Register,Unregister}Server() exports.

svn path=/trunk/; revision=64636
2014-10-09 11:03:45 +00:00
Amine Khaldi
e9e9186a9e [CRYPT32]
* Update a couple resource files.
CORE-8540

svn path=/trunk/; revision=64635
2014-10-09 11:02:04 +00:00
Amine Khaldi
1f18addca1 [CREDUI]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64634
2014-10-09 11:00:21 +00:00
Amine Khaldi
31acfbc742 [AVIFIL32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64633
2014-10-09 10:58:48 +00:00
Amine Khaldi
7f1d80afea [MINGW/INTRIN]
* Silence a Clang warning about returning from a noreturn function.
CORE-8516

svn path=/trunk/; revision=64632
2014-10-09 10:57:10 +00:00
Jérôme Gardou
7200f7a6ea reapply r64621 aka revert r64628, with various fixes:
[WSHTCPIP]
 - Fix swapped function parameters
[TCPIP]
 - Re-enable some code which got lost because of me being unable to decipher this indentation mess.

svn path=/trunk/; revision=64629
2014-10-08 21:58:10 +00:00
Jérôme Gardou
f1065f12f0 Revert r64621.
It breaks internet connections.

svn path=/trunk/; revision=64628
2014-10-08 21:16:00 +00:00
Amine Khaldi
9f99bfd1de [XMLLITE_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64627
2014-10-08 20:04:18 +00:00
Amine Khaldi
b2d7b6e3ba [XMLLITE]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64626
2014-10-08 20:02:37 +00:00
Pierre Schweitzer
55fe55e6c5 [NTFS]
Hello, please don't leak memory.
Cheers.

Spotted by Thomas

svn path=/trunk/; revision=64625
2014-10-08 20:02:09 +00:00
Amine Khaldi
60d23c0d1d [WLDAP32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64624
2014-10-08 19:57:11 +00:00
Amine Khaldi
cb69955da5 [WINTRUST_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64623
2014-10-08 19:51:36 +00:00
Amine Khaldi
4dd1c81706 [WINTRUST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64622
2014-10-08 19:51:13 +00:00
Jérôme Gardou
6971881771 [WSHTCPIP]
- Implement IPPROTO_TCP:TCP_NODELAY case in WSHSetSocketInformation
[TCPIP]
 - Implement setting TCP_SOCKET_NODELAY connection property.

svn path=/trunk/; revision=64621
2014-10-08 19:50:38 +00:00
Jérôme Gardou
02a37b6bd9 [PSDK]
- Fix mismatch between DEV_BROADCAST_DEVICEINTERFACE_W and  DEV_BROADCAST_DEVICEINTERFACE_A
 - Add  DEV_BROADCAST_HANDLE structure definition

svn path=/trunk/; revision=64620
2014-10-08 19:50:23 +00:00
Jérôme Gardou
ebcacdec7a [NTOS/SE]
- Correctly reference/dereference token object when the set token is already in use.

svn path=/trunk/; revision=64619
2014-10-08 19:50:14 +00:00
Pierre Schweitzer
e679240501 [NTFS]
- Add missing defines about file attributes
- Implement NtfsFCBIsDirectory()

Source: http://bos.asmhackers.net/docs/filesystems/ntfs/filename.html

svn path=/trunk/; revision=64618
2014-10-08 19:45:33 +00:00
Pierre Schweitzer
011e52835b [NTFS]
- Add a directory entry into FCB which will be a copy of the $FILE_NAME attribute of the FILE record. Though, it won't contain the name itself (in the FCB instead), so keep first char NULL and length 0.
- Implement its support (which requires opening the FILE record 5 first) for root FCB creation.

svn path=/trunk/; revision=64617
2014-10-08 19:32:21 +00:00
Amine Khaldi
afe0ca9945 [WINDOWSCODECS_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64616
2014-10-08 19:32:14 +00:00
Amine Khaldi
cf3d7a4c7e [WINDOWSCODECS]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64615
2014-10-08 19:30:33 +00:00
Pierre Schweitzer
b679bea004 [NTFS]
ReadFileRecord() returns a NTSTATUS

svn path=/trunk/; revision=64614
2014-10-08 19:25:00 +00:00
Amine Khaldi
1505056d55 [PSDK]
* Update iads.idl.
CORE-8540

svn path=/trunk/; revision=64613
2014-10-08 19:19:01 +00:00
Amine Khaldi
89e96775ab [WBEMPROX_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64612
2014-10-08 19:18:00 +00:00
Amine Khaldi
cbbaf54b85 [WBEMPROX]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64611
2014-10-08 19:17:38 +00:00
Pierre Schweitzer
df3a6889ba [NTFS]
- Remove magic value usage in NtfsDumpFileAttributes()
- Implement GetFileNameFromRecord() which returns the $FILE_NAME attribute from a FILE record
- On record lookup, also return the MFT index of the found record
- Finally implement NtfsMakeFCBFromDirEntry() which allows creating a FCB from a dir entry. It is still incomplete though, it doesn't copy any data yet from the entry

svn path=/trunk/; revision=64610
2014-10-08 19:12:48 +00:00
Amine Khaldi
189e1394bd [VBSCRIPT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64609
2014-10-08 19:03:40 +00:00
Amine Khaldi
0b53a29c3a [VBSCRIPT]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64608
2014-10-08 19:03:07 +00:00
Amine Khaldi
1b1cd5f38d [USP10_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64607
2014-10-08 18:56:31 +00:00
Amine Khaldi
c43444a51e [USP10]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64606
2014-10-08 18:56:19 +00:00
Amine Khaldi
5f4c045390 [STI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64605
2014-10-08 18:47:38 +00:00
Amine Khaldi
170cbf44ba [SHDOCVW_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64604
2014-10-08 18:42:31 +00:00
Amine Khaldi
35fbb57c8f [SHDOCVW]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64603
2014-10-08 18:42:09 +00:00
Amine Khaldi
ef7f2727a3 [SCRRUN_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64602
2014-10-08 18:04:21 +00:00
Amine Khaldi
91c1f8a294 [SCRRUN]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64601
2014-10-08 18:03:53 +00:00
Amine Khaldi
6eaad90ebb [SCHANNEL]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64600
2014-10-08 18:02:25 +00:00
Amine Khaldi
067e925c05 [RSAENH_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64599
2014-10-08 18:01:39 +00:00
Amine Khaldi
19e308686d [RSAENH]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64598
2014-10-08 18:01:22 +00:00
Amine Khaldi
1023de9cc6 [CMAKE/MSVC]
* We don't need to set /implib, we generate our own.

svn path=/trunk/; revision=64597
2014-10-08 17:55:55 +00:00
Timo Kreuzer
86e6da7eb7 [NTOSKRNL]
Fix a status code

svn path=/trunk/; revision=64595
2014-10-08 07:38:56 +00:00
Timo Kreuzer
5e034d0a59 [NTOSKRNL]
Move calculation of commit charge to MiInsertVadEx.

svn path=/trunk/; revision=64594
2014-10-08 00:32:03 +00:00
Timo Kreuzer
f48ae0dc23 [NTOSKRNL]
Modify MiCreatePebOrTeb to use MiInsertVadEx instead of doing everything "by hand". No, this does not "change Windows behavior". The TEB creation works exactly as before, and the only difference in the PEB creation is that if the first attempt fails, we will no longer try again from the top of the address space. But since this cannot fail in the first place, at least not due to the VA range not being free, another attempt would be pointless anyway!

svn path=/trunk/; revision=64593
2014-10-08 00:31:49 +00:00
Timo Kreuzer
76f325a78f [NTOSKRNL]
Lock the workingset before inserting a node into the address space in MiInsertVad

svn path=/trunk/; revision=64592
2014-10-08 00:31:43 +00:00
Timo Kreuzer
def3dc0080 [NTOSKRNL]
- Improve the random address base code in MiCreatePebOrTeb to actually make sense and not rely on retarded hacks implicitly hardcoding the PEB size in pages into the random value generation.

svn path=/trunk/; revision=64591
2014-10-08 00:31:35 +00:00
Timo Kreuzer
4d4bb1e6cc [NTOSKRNL]
- Add missing dereference on failure in MiMapViewOfDataSection
- Simplify some code

svn path=/trunk/; revision=64590
2014-10-08 00:31:28 +00:00
Timo Kreuzer
40845ae7a6 [NTOSKRNL]
Implement MiInsertVadEx, replacing duplicated code from NtAllocateVirtualMemory and MiMapViewOfDataSection

svn path=/trunk/; revision=64589
2014-10-08 00:31:17 +00:00
Timo Kreuzer
1b6c4fe27c [NTOSKRNL]
Slightly refactor MiMapViewOfDataSection and NtAllocateVirtualMemory

svn path=/trunk/; revision=64588
2014-10-08 00:31:09 +00:00
Timo Kreuzer
d5cfae9ac2 [NTOSKRNL]
Release AddressCreationLock in MiCreatePebOrTeb on failure path

svn path=/trunk/; revision=64587
2014-10-08 00:30:57 +00:00
Timo Kreuzer
2d22f6f372 [NTOSKRNL]
Move acquisition of PFN lock into MmAllocPage and MmDereferencePage

svn path=/trunk/; revision=64586
2014-10-08 00:30:50 +00:00
Timo Kreuzer
ca00c95ea5 [NTOSKRNL]
Small impovement to NtFreeVirtualMemory to make things clearer

svn path=/trunk/; revision=64585
2014-10-08 00:30:37 +00:00
Timo Kreuzer
27b5c44ea3 [NTOSKRNL]
Refactor CcRosMapVacb a bit

svn path=/trunk/; revision=64584
2014-10-08 00:30:30 +00:00
Timo Kreuzer
f82e8687b6 [NTOSKRNL]
Move MmMapMemoryArea to Cc and rename it to CcRosMapVacb

svn path=/trunk/; revision=64583
2014-10-08 00:30:15 +00:00
Timo Kreuzer
e5ad24bf5e [ADVAPI32]
Hey Arch, stop spamming my debug logs!

svn path=/trunk/; revision=64582
2014-10-07 22:07:44 +00:00
Timo Kreuzer
10b789e07a [NTOSKRNL]
Silence some annoying DPRINTs

svn path=/trunk/; revision=64581
2014-10-07 22:02:12 +00:00
Pierre Schweitzer
a78a879f54 [NTFS]
- Implement NtfsDirFindFile()
- Enable again NtfsMakeFCBFromDirEntry() and fix its prototype but disable its implementation yet

svn path=/trunk/; revision=64577
2014-10-06 20:51:41 +00:00
Pierre Schweitzer
a0afb70918 [NTFS]
Not being working (yet) doesn't mean you can leak mem!

svn path=/trunk/; revision=64576
2014-10-06 19:28:41 +00:00
Amine Khaldi
8aec3eb0e2 [EVENTVWR]
* Minor style change.

svn path=/trunk/; revision=64575
2014-10-06 18:47:17 +00:00
Amine Khaldi
b5c736907f [CMAKE]
* Target shdocvw_v1 doesn't exist, don't depend on it.

svn path=/trunk/; revision=64574
2014-10-06 18:43:37 +00:00
Amine Khaldi
0d9c6fb300 [PSDK]
* Update wincrypt.h.
CORE-8540

svn path=/trunk/; revision=64573
2014-10-06 18:42:46 +00:00
Amine Khaldi
7d780fe43e [RICHED20_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64572
2014-10-06 18:42:09 +00:00
Amine Khaldi
c9eeedbc7b [RICHED20]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64571
2014-10-06 18:41:33 +00:00
Amine Khaldi
7479322c2a [RASAPI32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64570
2014-10-06 18:40:17 +00:00
Amine Khaldi
1336d41975 [PROPSYS]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64569
2014-10-06 18:39:23 +00:00
Amine Khaldi
f0ce844280 [PDH]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64568
2014-10-06 18:37:50 +00:00
Amine Khaldi
4af98b95f4 [CMAKE]
* Target build_header doesn't exist, don't depend on it.

svn path=/trunk/; revision=64567
2014-10-06 18:36:01 +00:00
Eric Kohl
28dd65f7b6 [DEVMGR]
- Replace the call to DevInstallW by InstallDevInst in the device properties.
- Also call InstallDevInst from the device problem wizard.
CORE-6350 #resolve

svn path=/trunk/; revision=64566
2014-10-06 18:35:17 +00:00
Amine Khaldi
d94795e842 [PSAPI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64565
2014-10-06 18:32:06 +00:00
Amine Khaldi
afd814b746 [OLEDLG]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64564
2014-10-06 18:31:15 +00:00
Amine Khaldi
182ea866e6 [CMAKE]
* Don't add a dependency on a file.

svn path=/trunk/; revision=64563
2014-10-06 18:29:45 +00:00
Amine Khaldi
89c0222363 [CMAKE]
* Target oleaut32_typelibs doesn't exist, don't depend on it.

svn path=/trunk/; revision=64562
2014-10-06 18:24:38 +00:00
Amine Khaldi
46575a6c2b [PSDK]
* Update propsys.idl.
CORE-8540

svn path=/trunk/; revision=64561
2014-10-06 18:22:59 +00:00
Amine Khaldi
d8ecbc9a87 [CMAKE]
* Don't add a dependency on a file.

svn path=/trunk/; revision=64560
2014-10-06 18:22:07 +00:00
Eric Kohl
f0f0afdd2c [DEVMGR]
Fix indentation. No code changes!

svn path=/trunk/; revision=64559
2014-10-06 15:33:56 +00:00
Eric Kohl
79aa1013c6 [NEWDEV]
- Implement InstallDevInst.
- Display different wizard titles for the instller and update wizard.
- Add header titles to the wizard pages.
- Add new header file for private functions.

svn path=/trunk/; revision=64558
2014-10-06 14:23:36 +00:00
Eric Kohl
e71f0bb317 [DEVMGR]
Add a space between the hexadecimal and decimal IRQ numbers in the device resource list.

svn path=/trunk/; revision=64557
2014-10-06 12:36:11 +00:00
Eric Kohl
6151cb6f38 [DEVMGR]
Fix the width of the resource list view.

svn path=/trunk/; revision=64556
2014-10-06 08:44:20 +00:00
Hermès Bélusca-Maïto
79a823bc28 These are the keyboard status flags (unused at the moment).
svn path=/trunk/; revision=64555
2014-10-05 22:48:56 +00:00
Hermès Bélusca-Maïto
3f4d174d92 Fix comment.
svn path=/trunk/; revision=64554
2014-10-05 22:48:13 +00:00
Hermès Bélusca-Maïto
2085ccaf46 [NTVDM]: disable the cpu level dprints.
svn path=/trunk/; revision=64553
2014-10-05 22:47:37 +00:00
Hervé Poussineau
dc6d1450bc [MKHIVE] Create reparse points, and use them instead of pseudo-connections between cells
svn path=/trunk/; revision=64552
2014-10-05 21:30:57 +00:00
Jérôme Gardou
6435bdf92c [NTOS/MM]
- Silence some DPRINTs

svn path=/trunk/; revision=64551
2014-10-05 20:37:30 +00:00
Jérôme Gardou
06c5fdf765 [ADVAPI32]
- Kill also the debug print in the W version.

svn path=/trunk/; revision=64550
2014-10-05 20:19:49 +00:00
Jérôme Gardou
b9a7078e90 [ADVAPI32]
- Clean up a leftover debug print

svn path=/trunk/; revision=64549
2014-10-05 20:17:43 +00:00
Hervé Poussineau
32e7565688 [MKHIVE] Remove dead code and unused structure fields
Use MEMKEY/PMEMKEY names to represent registry key node in memory.

svn path=/trunk/; revision=64548
2014-10-05 19:46:00 +00:00
Hervé Poussineau
0744b08c52 [MKHIVE] Remove key name in our custom registry tree; use cell index instead
svn path=/trunk/; revision=64547
2014-10-05 19:45:37 +00:00
Kamil Hornicek
6b033493e6 [CHARMAP]
- remove dead code
CID 1237028

[SETUPAPI]
- fix swapped arguments
CID 1237062

svn path=/trunk/; revision=64546
2014-10-05 14:55:15 +00:00
Jérôme Gardou
5550a89326 [NTOS/SE]
- Do not fail when setting the same primary token for a process.
 - Fake equality of tokens when both of them are (not) restricted.
CORE-8554 #resolve #comment JRE-7u65 now installs fine

svn path=/trunk/; revision=64545
2014-10-05 14:20:08 +00:00
Jérôme Gardou
75f20f9f0c [ADVAPI32]
- Add a few debug prints.

svn path=/trunk/; revision=64544
2014-10-05 14:19:53 +00:00
Eric Kohl
df8d2aa9d4 [DEVMGR]
- Include "precomp.h" instead of <windef.h>.
- Use UNIMPLEMENTED again.

svn path=/trunk/; revision=64543
2014-10-05 12:40:22 +00:00
Eric Kohl
fd3b060ea5 [DEVMGR]
Replace UNIMPLMENTED by FIXME.

svn path=/trunk/; revision=64542
2014-10-05 12:34:07 +00:00
Eric Kohl
a335f42589 [DEVMGR]
Use a new debug channel 'devmgr' instead of DPRINTFs.

svn path=/trunk/; revision=64541
2014-10-05 12:25:05 +00:00
Christoph von Wittich
e65c9bdb9b [uxtheme]
fix a typo

svn path=/trunk/; revision=64540
2014-10-05 11:02:11 +00:00
Jérôme Gardou
65ccdcf876 [MSI]
- Revert unwanted change

svn path=/trunk/; revision=64539
2014-10-05 10:02:34 +00:00
Jérôme Gardou
21616e7b91 [LIBWINE]
- Add support for the +tid debug channel, prefixing every traces with the current thread ID.

svn path=/trunk/; revision=64538
2014-10-05 09:57:11 +00:00
Jérôme Gardou
b80b707083 [NTOS/MM]
- Do not assert in case of stack overflow, just let the page fault handler raise STATUS_STACK_OVERFLOW

svn path=/trunk/; revision=64537
2014-10-05 09:57:02 +00:00
Jérôme Gardou
eb2da9430f [MSI]
- Do not use PCH with auto-generated files.

svn path=/trunk/; revision=64536
2014-10-05 09:56:48 +00:00
Eric Kohl
03217275c7 [SETUPAPI]
Add overlay icons to the class image list.

svn path=/trunk/; revision=64535
2014-10-05 08:55:55 +00:00
Eric Kohl
43986a8db8 [DEVMGMT]
- Reimplement the 'list by device type' function. The old implementation did not list devices as 'unknown devices' if they had no device class GUID or an unknown class GUID.
- Use overlay images to indicate problems on a device.

svn path=/trunk/; revision=64534
2014-10-05 08:53:51 +00:00
Timo Kreuzer
52e72ad273 [NTOSKRNL]
Kill MiZeroFillSection

svn path=/trunk/; revision=64533
2014-10-05 08:49:15 +00:00
Timo Kreuzer
0a3873c1c2 [NTOSKRNL]
Remove obsolete FreePage parameter from MmDeleteVirtualMapping

svn path=/trunk/; revision=64532
2014-10-05 07:16:01 +00:00
Timo Kreuzer
c9252b32bd [NTOSKRNL]
Apply indentation of 4 spaces, no code change.

svn path=/trunk/; revision=64531
2014-10-05 06:33:34 +00:00
Timo Kreuzer
4b31efff8f [NTOSKRNL]
Fix compilation with MI_TRACE_PFNS and MSVC

svn path=/trunk/; revision=64530
2014-10-04 22:41:47 +00:00
Jérôme Gardou
2c4c58547d [USETUP]
- Fix potential buffer overflow

svn path=/trunk/; revision=64529
2014-10-04 21:24:16 +00:00
Timo Kreuzer
1282829615 [NTOSKRNL]
- Implement MiIncrementAvailablePages and MiDecrementAvailablePages factoring out duplicated code from a number of locations
- Get rid of MiAllocatePfn. Any further comment would result in excessive use of curse words.

svn path=/trunk/; revision=64528
2014-10-04 21:17:27 +00:00
Jérôme Gardou
87daca2bea [GCC/CMAKE]
- Add a way to conditionally use the GCC stack protector.
Just add -DSTACK_PROTECTOR:BOOL=TRUE as argument to configure.cmd/sh

svn path=/trunk/; revision=64527
2014-10-04 20:26:14 +00:00
Jérôme Gardou
4e9593f906 [CMAKE]
- Introduce the kerneldll module type (like kernelmodedriver, but ending with .dll) and use it in various places
 - vfatx.dll whould in fact be a native DLL

svn path=/trunk/; revision=64526
2014-10-04 20:25:57 +00:00
Jérôme Gardou
960c80a31b [KERNEL32]
- Always allocate a guard page at the bottom of the stack.
It doesn't depend on it being reserved or committed, it just has to be here.

svn path=/trunk/; revision=64525
2014-10-04 20:25:35 +00:00
Pierre Schweitzer
0b6013a4f6 [MSPAINT]
- Check for correct allocation
- Don't leak in case of file opening failure

svn path=/trunk/; revision=64524
2014-10-04 15:41:38 +00:00
Hermès Bélusca-Maïto
b02e9a73fd [NTVDM]
- Move registers code into cpu/
- Implement getIntelRegistersPointer.

svn path=/trunk/; revision=64523
2014-10-04 15:41:29 +00:00
Hermès Bélusca-Maïto
0d076f7dd8 [PSDK/XDK]: Don't hardcode "80" in the CONTEXT structure, but use the correct define.
svn path=/trunk/; revision=64522
2014-10-04 14:40:59 +00:00
Hermès Bélusca-Maïto
8d73d7c58a [NTVDM]
- Move almost all the DOS command launch thread into dem.c,
- Rework the code so that now, when we want to either load our BIOS32 or a custom one, we start their execution at F000:FFF0 as it should be,
- For modularity purposes (ie. to be able one day to load real OSes in our ntvdm), implement INT 19h (bootstrap loader) so that it calls a (temporary) dos bootsector loader that writes some bootstrap code at 0000:7c00, then the INT 19h runs this code, that has as an effect to load our DOS32 (for a real OS, the MBR code goes to 0000:7c00 and is then run).

svn path=/trunk/; revision=64521
2014-10-04 13:36:17 +00:00
Sylvain Petreolle
38258d656e [EVENTVWR]
-Fix use of unitialized handle for the waiting dialog.
-Allocate the size of one event for each event, not the amount of all events.

svn path=/trunk/; revision=64520
2014-10-04 13:34:19 +00:00
Thomas Faber
6acee80eb2 [CRT]
- Add __fastfail intrinsic implementation for GCC and MSVC <= 2010. Patch by Timo Kreuzer.
CORE-8419

svn path=/trunk/; revision=64519
2014-10-04 12:03:37 +00:00
Thomas Faber
9d68ddc78c [NTOS:FORMATTING]
- Remove some trailing whitespace

svn path=/trunk/; revision=64518
2014-10-04 08:43:15 +00:00
Hermès Bélusca-Maïto
317ae30716 [NTVDM]: DPRINT the CPU level for diagnostics purposes.
svn path=/trunk/; revision=64517
2014-10-04 00:18:39 +00:00
Jérôme Gardou
d01ad886a0 [MKHIVE]
- Perform a case insensitive comparison to find existing subkeys in the tree.
Dedicated to Hervé ;-)

svn path=/trunk/; revision=64516
2014-10-03 22:19:07 +00:00
Jérôme Gardou
34967fb279 [ADVAPI32]
- Add parameter checks to RegEnumValueW/A
 - Implement RegEnumValueW for HKCR subkeys
CORE-8582

svn path=/trunk/; revision=64515
2014-10-03 22:18:49 +00:00
Timo Kreuzer
cc58f75131 [HPP]
Fix problem with inconsistent EOLs

svn path=/trunk/; revision=64514
2014-10-03 20:11:37 +00:00
Timo Kreuzer
0a9f51e62d [XDK/DDK/PSDK]
- Move FsRtl functions to fsrtlfuncs.h
- Improve formatting of a few macros
- Add missing NTKERNELAPI
- Add a "special" kind of "ASSERT" to ListEntry64To32

svn path=/trunk/; revision=64513
2014-10-03 19:36:22 +00:00
Timo Kreuzer
a69a37ccfa [FRAMEDYN]
Only create framedynex on GCC builds

svn path=/trunk/; revision=64512
2014-10-03 19:29:57 +00:00
Timo Kreuzer
b79f784efd [DLLIMPORT_TEST]
- Only link to framedynex on GCC builds

svn path=/trunk/; revision=64511
2014-10-03 19:29:05 +00:00
Thomas Faber
695b53c312 [SHLWAPI]
- Merge Sebastian Lackner's SH*Shared/SHMapHandle fixes (Wine commits 5e4f15db, c95b182d, 403ff373)
CORE-8563 #resolve

svn path=/trunk/; revision=64509
2014-10-03 18:42:20 +00:00
Thomas Faber
a6d27398a0 [SHLWAPI_WINETEST]
- Merge Sebastian Lackner's SH*Shared/SHMapHandle tests (Wine commits cad3e3e5, 5e4f15db, ef065486, c95b182d)
CORE-8563

svn path=/trunk/; revision=64508
2014-10-03 18:39:34 +00:00
Timo Kreuzer
8fd775de2e [MKHIVE]
Fix warnings. (Compiling source files from ntoskrnl in mkhive is as ugly as it can get, this stuff needs to go to cmlib, if it is shared!)

svn path=/trunk/; revision=64507
2014-10-03 18:01:46 +00:00
Amine Khaldi
b0298f5c99 [OLEAUT32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64506
2014-10-03 17:10:32 +00:00
Amine Khaldi
0a9f27da5b [OLEAUT32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64505
2014-10-03 17:10:15 +00:00
Amine Khaldi
38fc098b92 [OLEACC_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64504
2014-10-03 16:42:24 +00:00
Amine Khaldi
5deff46cef [OLEACC]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64503
2014-10-03 16:42:05 +00:00
Amine Khaldi
96edd470cf [PSDK]
* Update oleacc.idl.
CORE-8540

svn path=/trunk/; revision=64502
2014-10-03 16:10:46 +00:00
Hervé Poussineau
fcafe31f42 [MKHIVE] Misc fixes:
- add missing initialization
- support trailing backslash at end of registry key name
CORE-8584 #resolve

svn path=/trunk/; revision=64501
2014-10-03 15:11:31 +00:00
Hervé Poussineau
a1c13a964f [BOOTDATA] Do not mix lower and upper case
svn path=/trunk/; revision=64500
2014-10-03 15:11:22 +00:00
Hervé Poussineau
9618603a72 [TCPIP] Fix debug traces
svn path=/trunk/; revision=64499
2014-10-03 15:11:19 +00:00
Hervé Poussineau
02ed08d57f [MKHIVE] Use same code as ntoskrnl to create registry keys
CORE-8584

svn path=/trunk/; revision=64498
2014-10-03 13:17:32 +00:00
Hervé Poussineau
3bbcfb760d [MKHIVE] Use same code as ntoskrnl to create registry keys
CORE-8584


svn path=/trunk/; revision=64497
2014-10-03 13:15:10 +00:00
Timo Kreuzer
cf215482dd [PSDK/XDK]
Add some missing definitions to ntdef.h and winnt.h

svn path=/trunk/; revision=64496
2014-10-03 12:10:08 +00:00
Amine Khaldi
2db1fa18c8 [SHLWAPI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64495
2014-10-03 12:07:36 +00:00
Timo Kreuzer
e854a2795e [KMTEST]
Use CONST UCHAR * instead of PCUCHAR (which is only defined in ntdef.h, not in winnt.h)

svn path=/trunk/; revision=64494
2014-10-03 12:07:30 +00:00
Amine Khaldi
30c5b892c6 [SHLWAPI]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64493
2014-10-03 12:07:14 +00:00
Amine Khaldi
087773e117 [OLE32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64492
2014-10-03 11:44:48 +00:00
Amine Khaldi
9fd8bd9a43 [OLE32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64491
2014-10-03 11:44:27 +00:00
Amine Khaldi
0f7a9e0894 [MSXML][MSXML2][MSXML4][MSXML6]
* Mark as synced with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64490
2014-10-03 11:26:12 +00:00
Amine Khaldi
c16ba6c760 [MSXML3_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64489
2014-10-03 11:23:20 +00:00
Amine Khaldi
10c6f73e97 [MSXML3]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64488
2014-10-03 11:23:01 +00:00
Eric Kohl
6b19e75efa [USETUP]
Remove obsolete partition creation checks and their corresponding error messages.

svn path=/trunk/; revision=64487
2014-10-03 11:05:56 +00:00
Amine Khaldi
8a6c831120 * Minor formatting fixes for consistency.
svn path=/trunk/; revision=64486
2014-10-03 10:25:20 +00:00
Amine Khaldi
dbdf622f5c [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=64485
2014-10-03 10:21:00 +00:00
Amine Khaldi
722578a47b [USETUP]
* Prevent the "illegal character encoding in string literal" warning from flooding the build log. This must be inspected.
CORE-8516

svn path=/trunk/; revision=64484
2014-10-03 10:08:33 +00:00
Amine Khaldi
7c6eba950b [CMAKE]
* Introduce an option to compile ReactOS with dwarf symbols instead of rossym. Use NO_ROSSYM to control it.
* Dedicated to V.
CORE-8594 #resolve

svn path=/trunk/; revision=64483
2014-10-03 09:56:36 +00:00
Eric Kohl
908fdb6ee8 [USETUP]
- DeleteCurrentPartition: A deleted partition is of type PARTITION_ENTRY_UNUSED.
- ScrollDownPartitionList / ScrollUpPartitionList: Ignore container partitions if they are not used.
CORE-8413 #resolve #comment Fixed in r64482.

svn path=/trunk/; revision=64482
2014-10-03 09:24:54 +00:00
Sylvain Petreolle
7384d6fd6f [WS2_32]
inet_addr does not require WSAStartup()

svn path=/trunk/; revision=64481
2014-10-03 09:05:34 +00:00
Sylvain Petreolle
4a66664eba [WS2_32_APITEST]
Add WSAStartup-dependent tests.

svn path=/trunk/; revision=64480
2014-10-03 09:00:15 +00:00
Amine Khaldi
1979bcce94 [MSVFW32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64479
2014-10-03 00:54:45 +00:00
Amine Khaldi
9e2a796d14 [MSVFW32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64478
2014-10-03 00:54:13 +00:00
Hermès Bélusca-Maïto
f102c47da5 Fix dprint.
svn path=/trunk/; revision=64477
2014-10-03 00:33:21 +00:00
Aleksandar Andrejevic
10ae572456 [NTVDM]
Implement VGA bitmap fonts.


svn path=/trunk/; revision=64476
2014-10-02 23:50:35 +00:00
Jérôme Gardou
6c3b1fa623 [ADVAPI32]
- Reimplement RegEnumValueA on top of RegEnumValueW
CORE-8582

svn path=/trunk/; revision=64475
2014-10-02 22:03:58 +00:00
Aleksandar Andrejevic
e8810d94f4 [NTVDM]
Not every handle is a device handle.


svn path=/trunk/; revision=64474
2014-10-02 21:16:12 +00:00
Timo Kreuzer
460dab29ed [PSDK]
- Convert a stray extern into what it was supposed to become.

svn path=/trunk/; revision=64473
2014-10-02 21:13:03 +00:00
Timo Kreuzer
7f7a1d1329 [PSDK]
Fix build

svn path=/trunk/; revision=64472
2014-10-02 20:13:03 +00:00
Timo Kreuzer
3009e8c865 [PSDK]
Add missing definitions to winddi.h

svn path=/trunk/; revision=64471
2014-10-02 20:11:24 +00:00
Hermès Bélusca-Maïto
1974791a7e [NTVDM]: improve some dprints.
svn path=/trunk/; revision=64470
2014-10-02 19:47:58 +00:00
Eric Kohl
f9c9249991 [SERVICES]
Disable new events and replace them by debug messages.

svn path=/trunk/; revision=64469
2014-10-02 17:58:55 +00:00
Jérôme Gardou
1cef9e5e5b [ADVAPI32_APITEST]
- Add a few tests for RegEnumValueW

svn path=/trunk/; revision=64468
2014-10-02 17:31:06 +00:00
Eric Kohl
019d15c041 [SERVICES]
EVENT_READFILE_TIMEOUT uses one string.

svn path=/trunk/; revision=64467
2014-10-02 17:27:18 +00:00
Eric Kohl
7ea44b6456 [SERVICES]
Add missing stdlib.h include.

svn path=/trunk/; revision=64466
2014-10-02 16:28:18 +00:00
Eric Kohl
d523524675 [SERVICES]
ScmWaitForServiceConnect: Log some more warnings and errors.

svn path=/trunk/; revision=64465
2014-10-02 16:20:42 +00:00
Amine Khaldi
4464083f5e [MSTASK_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64464
2014-10-02 10:32:26 +00:00
Amine Khaldi
7fac314212 [MSRLE32_WINETEST]
* Import from Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64463
2014-10-02 10:27:09 +00:00
Amine Khaldi
5d2bec3af8 [MSRLE32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64462
2014-10-02 10:26:21 +00:00
Amine Khaldi
813a0cd6bb [MSISIP]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64461
2014-10-02 10:14:19 +00:00
Amine Khaldi
62d31768ca [MSIMG32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64460
2014-10-02 10:04:59 +00:00
Amine Khaldi
e81c7e8867 [MSHTML_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64459
2014-10-02 09:51:45 +00:00
Amine Khaldi
a197629da8 [MSHTML]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64458
2014-10-02 09:51:19 +00:00
Amine Khaldi
183ee0a9d0 [PSDK]
* Update OLECMDID.
CORE-8540

svn path=/trunk/; revision=64457
2014-10-02 09:33:35 +00:00
Amine Khaldi
612e5bee87 [MSCTF_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64456
2014-10-02 08:44:32 +00:00
Amine Khaldi
9382c801e7 [MSCTF]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64455
2014-10-02 08:44:10 +00:00
Amine Khaldi
832239622f [PSDK]
* Update msctf.idl.
CORE-8540

svn path=/trunk/; revision=64454
2014-10-02 08:36:52 +00:00
Amine Khaldi
31cbcc45c3 [MSCMS]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64453
2014-10-02 08:25:15 +00:00
Timo Kreuzer
107156d372 [DLLEXPORT_TEST]
Rename main() to test()

svn path=/trunk/; revision=64452
2014-10-02 08:23:38 +00:00
Amine Khaldi
c8c9efd335 [IMAADP32.ACM]
* Delete this duplicate.

svn path=/trunk/; revision=64451
2014-10-02 08:11:02 +00:00
Timo Kreuzer
279d5c7c78 [DLLEXPORT_TEST]
Make it a DLL, not a static lib. Noticed by Thomas.

svn path=/trunk/; revision=64450
2014-10-02 07:58:18 +00:00
Timo Kreuzer
1caf359b62 [DLLEXPORT_TEST]
Fix a typo

svn path=/trunk/; revision=64449
2014-10-02 07:30:59 +00:00
Hervé Poussineau
f795747b33 [MOUNTMGR] Misc fixes for IOCTLs
svn path=/trunk/; revision=64448
2014-10-02 05:06:24 +00:00
Hermès Bélusca-Maïto
96e5474b43 [NTVDM]
- INT 21h, AH=59h (Get Extended Error Information) is unimplemented but is used by many applications. DPRINT a special message to remind that we need to implement it.
- Implement INT 21h, AH=6Ch "Extended Open/Create".

svn path=/trunk/; revision=64447
2014-10-02 00:26:13 +00:00
Hermès Bélusca-Maïto
47ed7c7a70 [NTVDM]: Silence interrupt calls dprints.
svn path=/trunk/; revision=64446
2014-10-02 00:03:55 +00:00
Jérôme Gardou
91d04ae3c1 [ADVAPI32]
- Fix a stupid crash I introduced in RegQueryValueExA
 - Reimplement RegEnumKeyExA as wrapper around RegEnumKeyExW
 - Implement RegEnumKeyExW for HKCR subkeys
 - Fix a few potential handle leaks
CORE-8582

svn path=/trunk/; revision=64445
2014-10-01 22:51:44 +00:00
Jérôme Gardou
e854412f52 [ADVAPI32]
- Add implementation of RegCreateKeyEx and RegSetValueEx for HKCR subkeys
CORE-8582

svn path=/trunk/; revision=64444
2014-10-01 17:48:32 +00:00
Jérôme Gardou
b0408707b8 [ADVAPI32]
- Implement RegQueryValueEx for HKCR subkeys
CORE-8582

svn path=/trunk/; revision=64443
2014-10-01 17:48:26 +00:00
Jérôme Gardou
bd4da28f08 [ADVAPI32]
- Correctly use RtlCreateUnicodeStringFromAsciiz and check for its return value in various places.
It allocates a buffer and initializes is it as empty even if the passed ASCII buffer is NULL.

svn path=/trunk/; revision=64442
2014-10-01 17:48:17 +00:00
Jérôme Gardou
7478b71bc8 [ADVAPI32]
- Rewrite RegQueryValueExA as a wrapper arount RegQueryValueExW
CORE-8582

svn path=/trunk/; revision=64441
2014-10-01 17:48:04 +00:00
Jérôme Gardou
cd4b86a398 [ADVAPI32_APITEST]
- Add a few more tests for corner cases of RegCreateKeyEx API with HKCR subkeys
CORE-8582

svn path=/trunk/; revision=64440
2014-10-01 17:28:45 +00:00
Jérôme Gardou
758851efe4 [ADVAPI32_APITEST]
- Add more tests for HKCR subkeys creation.
CORE-8582

svn path=/trunk/; revision=64439
2014-10-01 15:59:54 +00:00
Thomas Faber
5a02578590 [WINE:TEST.H]
- Correctly count broken and win_skip (depending on USE_WINE_TODOS) when WINETEST_PLATFORM=reactos

svn path=/trunk/; revision=64438
2014-10-01 14:16:18 +00:00
Amine Khaldi
a8763f5e13 [HNETCFG][OLEACC][WBEMDISP]
* Add missing stdole2 dependency. Spotted by Thomas Kriese.
CORE-8585 #resolve #comment Fixed in r64437. Thanks!

svn path=/trunk/; revision=64437
2014-10-01 11:12:48 +00:00
Amine Khaldi
e5a8b6e721 [ITSS]
* Add missing wineheaders dependency. Spotted by Thomas Kriese.
CORE-8586 #resolve #comment Fixed in r64436. Thanks!

svn path=/trunk/; revision=64436
2014-10-01 11:07:06 +00:00
Amine Khaldi
528aff3f7a [DX10GUID]
* Add missing d3d_idl_headers dependency. Spotted by Thomas Kriese.
CORE-8588 #resolve #comment Fixed in r64434. Thanks!

svn path=/trunk/; revision=64435
2014-10-01 11:03:51 +00:00
Amine Khaldi
4f3bb6325a [MSADP32.ACM]
* Delete this duplicate.

svn path=/trunk/; revision=64434
2014-10-01 11:00:12 +00:00
Amine Khaldi
f09d7bda25 [PSDK]
* Add a header guard.

svn path=/trunk/; revision=64433
2014-10-01 10:41:22 +00:00
Amine Khaldi
63e404f888 [MSACM32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64432
2014-10-01 10:36:12 +00:00
Hermès Bélusca-Maïto
39faa961a5 [NTVDM]
The highest bit of the mode number is used to determine whether or not we need to clear the screen. Fix the existing code that was disabled in revision 61907 because it was completely wrong. Now we correctly support this feature. Also check the mode number limit and fail if it is unsupported.

svn path=/trunk/; revision=64431
2014-10-01 00:40:36 +00:00
Hermès Bélusca-Maïto
26fc5d3c9c [NTVDM]
- Code reorganization: Move CPU code to specific files for modularity (prepares ground for some future work).
  Part 2/2 (fixes build ;) )
- Improve a DPRINT.
- Set reported DOS OEM number to 0xFF as NTDOS does.

svn path=/trunk/; revision=64430
2014-09-30 23:55:52 +00:00
Hermès Bélusca-Maïto
e9190ef591 [NTVDM]
Code reorganization: Move CPU code to specific files for modularity (prepares ground for some future work).
We reintroduce also int32.c in which all the int32 handling code is moved to.
Part 1/2

svn path=/trunk/; revision=64429
2014-09-30 23:47:23 +00:00
Aleksandar Andrejevic
87ad3a5ac5 [FAST486]
Apparently MOVS, LODS, STOS, INS and OUTS can also take REPNZ as a prefix.


svn path=/trunk/; revision=64428
2014-09-30 22:18:41 +00:00
Jérôme Gardou
89722b00b4 [ADVAPI32]
- Centralize RegDeleteKey[Ex]{A,W} implementation into RegDeleteKeyExW
 - Update the HKCR wrapper accordingly.
CORE-8582

svn path=/trunk/; revision=64427
2014-09-30 22:05:50 +00:00
Timo Kreuzer
c9143ec6b0 [WIN32K]
Implement DC_bIsBitmapCompatible() helper function and use it in NtGdiSelectBitmap. Will be reused later.
[SPEC2DEF]
Improve formatting

svn path=/trunk/; revision=64426
2014-09-30 21:13:57 +00:00
Timo Kreuzer
dc5a81e32e [CRT_APITEST]
Fix some tests based on Windows 2003 SP1 behavior. Patch by Victor Martinez.

svn path=/trunk/; revision=64425
2014-09-30 21:10:15 +00:00
Timo Kreuzer
f539e74361 [DLLEXPORT_TEST]
Add a dll that imports basically everything from framedyn.dll

svn path=/trunk/; revision=64424
2014-09-30 20:52:54 +00:00
Timo Kreuzer
784409d6e2 [CRT]
- Allow to allow wchar_t even on C++, if it is not GCC
- Remove a number of duplicate definitions
[FRAMEDYN]
- Compile with /Zc:wchar_t- on MSVC
- Get rid of now obsolete MSVC symbol aliases
- Share the spec file
- Add 2 GCC symbols in the export lib (C2 constructor, D2 destructor), which are in this case identical to C1 and D1

svn path=/trunk/; revision=64423
2014-09-30 20:48:54 +00:00
Jérôme Gardou
e0fc18bcf3 [ADVAPI32]
- Fix a memory leak in failure case.
Spotted by Thomas.
CORE-8582

svn path=/trunk/; revision=64422
2014-09-30 20:21:50 +00:00
Jérôme Gardou
ca7384efaa [ADVAPI32]
- Implement DeleteKey for HKCR subkeys
CORE-8582

svn path=/trunk/; revision=64421
2014-09-30 20:01:00 +00:00
Jérôme Gardou
3b1ab5bd6a [ADVAPI32]
- Mark key create from HKCR subkeys as HKCR subkeys
CORE-8582

svn path=/trunk/; revision=64420
2014-09-30 20:00:54 +00:00
Jérôme Gardou
98337141d9 [ADVAPI32]
- Reimplement RegDeleteKeyA as a wrapper around RegDeleteKeyW
CORE-8582

svn path=/trunk/; revision=64419
2014-09-30 20:00:35 +00:00
Jérôme Gardou
0bcdd836f1 [ADVAPI32]
- Implement RegOpenKeyEx for HKEY_CLASSES_ROOT subkeys
CORE-8582

svn path=/trunk/; revision=64418
2014-09-30 20:00:23 +00:00
Jérôme Gardou
ccc1a83dca [ADVAPI32]
- Mark the HKEY_CLASSES_ROOT key as belonging to the HKEY_CLASSES_ROOT tree.
CORE-8582

svn path=/trunk/; revision=64417
2014-09-30 20:00:17 +00:00
Jérôme Gardou
fff76a1d0e [NTOS/CM]
- Put the loop inside SEH, and not vice-versa.

svn path=/trunk/; revision=64416
2014-09-30 20:00:00 +00:00
Jérôme Gardou
9f01c677b1 [ADVAPI32]
- Reimplement RegCreateKeyExA as a wrapper around RegCreateKeyExW
CORE-8582

svn path=/trunk/; revision=64415
2014-09-30 19:59:51 +00:00
Jérôme Gardou
ef18d16459 [ADVAPI32]
- Rewrite RegOpenKeyExA as a wrapper around RegOpenKeyExW
CORE-8582

svn path=/trunk/; revision=64414
2014-09-30 19:59:35 +00:00
Jérôme Gardou
de0f394751 [ADVAPI32_APITEST]
- Remove some tests that are broken if HKCU\software\classes\CLSID key exists.
Better tests were added later anyway.
CORE-8582

svn path=/trunk/; revision=64413
2014-09-30 19:59:02 +00:00
Jérôme Gardou
cce1fd1f0c [ADVAPI32_APITEST]
- Skip tests if the user has no administrative rights
 - Add more tests for subkey creation

svn path=/trunk/; revision=64412
2014-09-30 19:58:59 +00:00
Eric Kohl
b763feba8b [KBHID]
Fix indentation. No code changes!

svn path=/trunk/; revision=64411
2014-09-30 18:09:31 +00:00
Eric Kohl
bd645b8b0e [WINLOGON]
Implement the RPC server for remote registry and system shutdown. Server functions are not implemented yet.

svn path=/trunk/; revision=64410
2014-09-30 17:13:16 +00:00
Aleksandar Andrejevic
0e13044f26 [NTVDM]
The AX register value can't fit in a BYTE.


svn path=/trunk/; revision=64409
2014-09-30 15:07:42 +00:00
Eric Kohl
73974d672f [IDL]
Add the remote registry interface definition files.

svn path=/trunk/; revision=64408
2014-09-30 13:45:38 +00:00
Eric Kohl
5707ef5847 [LSASRV]
Remove obsolete TRACE message.
CORE-8579 #resolve

svn path=/trunk/; revision=64407
2014-09-30 11:16:45 +00:00
Jérôme Gardou
267bd04e5f [ADVAPI32_APITEST]
- Add tests testing behaviour of RegOpen/Create for HKEY_CLASSES_ROOT subkeys
 - Clean up a bit the other tests
CORE-8582

svn path=/trunk/; revision=64402
2014-09-29 19:13:37 +00:00
Amine Khaldi
cc6201c80d [MPR]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64401
2014-09-29 18:56:31 +00:00
Timo Kreuzer
5b164bcd85 [SPEC2DEF]
Fix asm stubs for thiscall functions.
CORE-8576 #resolve

svn path=/trunk/; revision=64400
2014-09-29 17:43:32 +00:00
Amine Khaldi
87295edaa9 [D3DRM_WINETEST]
* Import from Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64399
2014-09-29 17:34:31 +00:00
Amine Khaldi
a9daa53a6c [D3DRM]
* Import from Wine 1.7.27.
CORE-8082 #resolve #comment Imported in r64396. Thanks!
CORE-8540

svn path=/trunk/; revision=64398
2014-09-29 17:24:32 +00:00
Amine Khaldi
2b79e54427 [PSDK]
* Update d3drm.h and d3drmdef.h.
* Import d3drmobj.h and d3drmwin.h.
* Guard against redefinition of MAKE_DDHRESULT.
[DXSDK]
* Get rid of this d3drmwin.h.
* Guard against redefinition of MAKE_DDHRESULT.
CORE-8540 CORE-8082

svn path=/trunk/; revision=64397
2014-09-29 17:03:05 +00:00
Jérôme Gardou
4d394c076a [NTOS/CM]
- Add NtQueryKey(KeyNameInformation) implementation.
CORE-8581 #resolve

svn path=/trunk/; revision=64396
2014-09-29 16:27:16 +00:00
Jérôme Gardou
ea57e45a4b [NTDLL_APITEST]
- Add tests for NtQueryKey(KeyNameInformation)
[ADVAPI32_APITEST]
 - Don't be so generous and claim back my code.
@Thomas: If you ever find out how buggy it is, feel free to claim it back. ;-)

svn path=/trunk/; revision=64394
2014-09-29 16:21:53 +00:00
Jérôme Gardou
40cf5d521c [ADVAPI32_APITEST]
- Add a few tests regarding HKEY_CLASSES_ROOT special keys.

svn path=/trunk/; revision=64393
2014-09-29 13:35:59 +00:00
Jérôme Gardou
b133b39869 [NDK]
- Fix KEY_NAME_INFORMATION structure

svn path=/trunk/; revision=64392
2014-09-29 13:32:44 +00:00
Amine Khaldi
1f49bb7764 [MMDEVAPI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64391
2014-09-29 13:17:17 +00:00
Amine Khaldi
72e9730cc5 [MMDEVAPI]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64390
2014-09-29 13:16:53 +00:00
Amine Khaldi
0e75fca2d4 [LSASRV]
* "Fix" MSVC build. Eric, please review (MemSize is uninitialized here).

svn path=/trunk/; revision=64389
2014-09-29 13:07:46 +00:00
Amine Khaldi
d829ade982 [MGMTAPI]
* Import from Wine 1.7.27.
CORE-8036 #resolve #comment Imported in r64388.
CORE-8540

svn path=/trunk/; revision=64388
2014-09-29 12:51:45 +00:00
Amine Khaldi
3620be813e [LOCALUI]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64387
2014-09-29 12:39:56 +00:00
Amine Khaldi
61c2a14987 [CONSRV]
* Add missing psdk dependency.
CORE-8577 #resolve #comment Fixed in r64386. Thanks!

svn path=/trunk/; revision=64386
2014-09-29 11:28:17 +00:00
Timo Kreuzer
0f37321de7 [NTOSKRNL]
Fix a bug I introduced in r64369.
CORE-8573

svn path=/trunk/; revision=64385
2014-09-29 07:34:39 +00:00
Eric Kohl
104e42625b [LSASRV][SECUR32]
- Implement a first version of LsaGetLogonSessionData.
- Add a simple way to disable LsaEnumerateLogonSessions and LsaGetLogonSessionData in case they cause problems.

svn path=/trunk/; revision=64384
2014-09-28 23:02:09 +00:00
Hermès Bélusca-Maïto
90d370dbb6 [NTVDM]: Use the 0xCC (int 3) instruction as the memory fill byte.
svn path=/trunk/; revision=64383
2014-09-28 22:35:05 +00:00
Hermès Bélusca-Maïto
f455bcf161 [FAST486]
- Display a DPRINT when the CPU triple-faults.
- Add the Ac flag to the dump function.

svn path=/trunk/; revision=64382
2014-09-28 22:00:04 +00:00
Hermès Bélusca-Maïto
2245653d55 [NTVDM]: We do not have an Extended BIOS Data Area yet. Make INT 15h, C1h report correctly this fact.
svn path=/trunk/; revision=64381
2014-09-28 21:48:46 +00:00
Amine Khaldi
17cc5b0dab [DSOUND]
* Sync to Wine 1.3.29 in an attempt to get it working again.
* Dedicated to Daniel Reimer.
* Thanks to Sylvain for pinpointing this version.

svn path=/trunk/; revision=64379
2014-09-28 20:12:26 +00:00
Hermès Bélusca-Maïto
a03f39b92f [NTVDM]: The BIOS should have its BDA and BCT zero'ed out.
svn path=/trunk/; revision=64378
2014-09-28 19:55:28 +00:00
Amine Khaldi
dc0bad0e48 [JSCRIPT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64376
2014-09-28 19:11:12 +00:00
Amine Khaldi
8376205abe [JSCRIPT]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64375
2014-09-28 19:10:45 +00:00
Aleksandar Andrejevic
d3e18a6f2e [FAST486]
Fix XLAT and OUTS.


svn path=/trunk/; revision=64374
2014-09-28 19:07:27 +00:00
Amine Khaldi
f9fea3cd4d [INETMIB1_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64373
2014-09-28 18:32:39 +00:00
Amine Khaldi
eec4d1b427 [IMM32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64372
2014-09-28 18:28:09 +00:00
Amine Khaldi
35c12315be [IMM32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64371
2014-09-28 18:27:58 +00:00
Timo Kreuzer
ec2f154c80 [GDI32_APITEST]
- Add tests for OffsetClipRgn
- Imporve ExcludeClipRect tests

svn path=/trunk/; revision=64370
2014-09-28 18:24:58 +00:00
Timo Kreuzer
edc042092f [NTOSKNRL]
Improve performance of FsRtlIsNameInExpression by using a stack buffer for backtracking of wildcard expressions. See also CR-60

svn path=/trunk/; revision=64369
2014-09-28 18:17:14 +00:00
Aleksandar Andrejevic
1f933c38fc [NTVDM]
Fix the calculation of TotalSize in DosCopyEnvironmentBlock.
Return the correct error code in DosLoadExecutable.


svn path=/trunk/; revision=64368
2014-09-28 17:27:54 +00:00
Hermès Bélusca-Maïto
b0555a5004 [NTVDM]
- Add the possibility to dump the VM memory either in text or binary mode.
- Initialize the VM memory to 0xFF to track potential memory misuses (diagnostics purposes). Things may crash, or not!

svn path=/trunk/; revision=64367
2014-09-28 16:27:30 +00:00
Eric Kohl
beeb1048e8 [INCLUDE]
Add LsaGetLogonSessionData prototype.

svn path=/trunk/; revision=64366
2014-09-28 15:30:50 +00:00
Hermès Bélusca-Maïto
ba48079470 [FAST486]: Improve the trace.
svn path=/trunk/; revision=64365
2014-09-28 15:11:33 +00:00
Eric Kohl
21ffbe6393 [SERVICES]
Log service start, control and status change events.

svn path=/trunk/; revision=64364
2014-09-28 14:10:16 +00:00
James Tabor
7c020d5ce1 [Win32k]
- Process hardware keyboard and mouse buttons before mouse move messages. Should fix CORE-7797.

svn path=/trunk/; revision=64363
2014-09-28 11:42:24 +00:00
Amine Khaldi
e4ad48c2b9 [MSTSC]
* Partial sync with rdesktop-ce to fix Windows 2008 R2 server login.
CORE-8561 #resolve #comment Should be fixed in r64362. Please retest.

svn path=/trunk/; revision=64362
2014-09-28 11:18:16 +00:00
Eric Kohl
feff0aa317 [MC]
- Fix service manager message ids. Message 7004 does not exist.
- Add missing service manager messages.

svn path=/trunk/; revision=64361
2014-09-28 09:19:20 +00:00
Hermès Bélusca-Maïto
7eae9e6636 [NTVDM]: Fix a bug introduced in revision 64324, where I didn't restore the original values of CF and AX. Fix some keyboard issues in Mystery Mansion.
svn path=/trunk/; revision=64360
2014-09-27 23:45:24 +00:00
Timo Kreuzer
7ac429e063 [WIN32K]
Fix NtGdiExcludeClipRect. Should fix regressions from r64260.

svn path=/trunk/; revision=64359
2014-09-27 22:59:13 +00:00
Hervé Poussineau
36fed67fe3 [NTOSKRNL] Partly implement FsRtlRegisterUncProvider/FsRtlDeregisterUncProvider
Currently only support one UNC provider at the time. Also disable mup.sys, which is not used for now.


svn path=/trunk/; revision=64358
2014-09-27 21:07:48 +00:00
Thomas Faber
e9efd5b152 [MSVCRT]
- Move __CxxFrameHandler3 to msvcrtex. Windows 2003's dll does not export this, and their msvcrt.lib doesn't have it, but we need this to support modern compilers.

svn path=/trunk/; revision=64357
2014-09-27 20:32:22 +00:00
Amine Khaldi
757be99483 [PSDK]
* Fix PIMAGEHLP_STATUS_ROUTINE params.

svn path=/trunk/; revision=64356
2014-09-27 20:00:19 +00:00
Amine Khaldi
57ce56eb38 [IMAGEHLP_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64355
2014-09-27 19:47:51 +00:00
Amine Khaldi
942cdae879 [TRANSLATIONS]
* Second part of the russian translation update by Kudratov Olimjon.
CORE-8495 #resolve #comment Second part committed in r64354. Thanks!

svn path=/trunk/; revision=64354
2014-09-27 19:44:10 +00:00
Amine Khaldi
8cba99245c [IEFRAME]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64353
2014-09-27 19:41:46 +00:00
Amine Khaldi
4c6f195547 [HNETCFG]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64352
2014-09-27 19:37:39 +00:00
Amine Khaldi
ed47459da0 [CMD_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64351
2014-09-27 19:31:30 +00:00
Hermès Bélusca-Maïto
ad444d44ac [NTVDM]: Reorganize code.
svn path=/trunk/; revision=64350
2014-09-27 19:16:55 +00:00
Amine Khaldi
eefaa02286 [TRANSLATIONS]
* Russian translation update by Kudratov Olimjon.
CORE-8495 #comment Committed in r64349. Thanks!

svn path=/trunk/; revision=64349
2014-09-27 19:13:32 +00:00
Amine Khaldi
6f680795a3 [HHCTRL.OCX]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64348
2014-09-27 19:04:10 +00:00
Amine Khaldi
244a5a82ce [WININET_WINETEST]
* Update test data to match the new certificate on winehq.org. Wine commit bbfae5be by Hans Leidekker.

svn path=/trunk/; revision=64347
2014-09-27 18:21:35 +00:00
Timo Kreuzer
fe11739876 [WIN32K]
Convert tabs to spaces

svn path=/trunk/; revision=64346
2014-09-27 16:16:56 +00:00
Hermès Bélusca-Maïto
7bafd10348 [NTVDM]
- When writing to port 61h, reset the PIT 2 gate only when needed.
- When the PIT 2 out signal is set, notify the speaker when there is really a change.
- PC speaker: Do not replay the same sound if it is the same.

svn path=/trunk/; revision=64345
2014-09-27 15:33:27 +00:00
Hermès Bélusca-Maïto
c1441679a5 [NTVDM]: Timer
- Add a hack for the signal out so that, when the PIT gate is off, no callback is called. This should be improved so that also no Out state is set, and other things too.
- Really set the out signal when the flipflop changes, in square-wave mode. Contributes to fix the speaker (see next commit).

svn path=/trunk/; revision=64344
2014-09-27 15:31:12 +00:00
Thomas Faber
22a86674c9 [NTOS:IO]
- Correctly set DRIVER_EXTENSION::ServiceKeyName
CORE-8566 #resolve

svn path=/trunk/; revision=64343
2014-09-27 14:58:40 +00:00
Thomas Faber
f2bc2ef5ed [KMTESTS:IO]
- Test more fields of DRIVER_OBJECT
CORE-8566

svn path=/trunk/; revision=64342
2014-09-27 14:56:22 +00:00
Amine Khaldi
ef23e522aa [GDIPLUS_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64341
2014-09-27 12:59:19 +00:00
Amine Khaldi
8baa38664d [GDIPLUS]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64340
2014-09-27 12:59:00 +00:00
Amine Khaldi
4d23e0450c [FUSION]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64339
2014-09-27 12:49:52 +00:00
Timo Kreuzer
ae406918bb [WIN32K]
Fix _FLOATOBJ_IsLong (0 - lMant == 0 / lExp == 0 - was not evaluated as TRUE)

svn path=/trunk/; revision=64338
2014-09-27 12:06:03 +00:00
Amine Khaldi
c070855199 [DWMAPI]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64337
2014-09-27 11:58:01 +00:00
Amine Khaldi
ddb035e8bb [DCIMAN32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64336
2014-09-27 11:46:43 +00:00
Amine Khaldi
22a78684b8 [DBGHELP]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64335
2014-09-27 11:45:29 +00:00
Amine Khaldi
0d79268212 [CRYPTUI]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64334
2014-09-27 11:40:10 +00:00
Thomas Faber
d1587a3755 [SPEC2DEF]
- Fix use of uninitialized variable

svn path=/trunk/; revision=64333
2014-09-27 10:58:07 +00:00
Timo Kreuzer
b9421c0166 [GDI32_APITEST]
Add another test case for ExcludeClipRect

svn path=/trunk/; revision=64332
2014-09-27 10:57:50 +00:00
Amine Khaldi
0f62b7bb9d [CRYPTNET]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64331
2014-09-27 10:44:11 +00:00
Amine Khaldi
79e3b1cd52 [CRYPT32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64330
2014-09-27 10:36:54 +00:00
Amine Khaldi
a563531830 [CRYPT32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64329
2014-09-27 10:36:45 +00:00
Amine Khaldi
a61ee962b0 [PSDK]
* Update SIP_ADD_NEWPROVIDER.
CORE-8540

svn path=/trunk/; revision=64328
2014-09-27 10:29:56 +00:00
Amine Khaldi
d8c63aaae2 [MSISIP]
* Don't assign ordinals to Dll{Register,Unregister}Server() exports.

svn path=/trunk/; revision=64327
2014-09-27 10:28:33 +00:00
Amine Khaldi
49e3ef8bfd [COMDLG32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64326
2014-09-27 10:18:07 +00:00
Amine Khaldi
fb7a38a131 [COMDLG32]
* Sync with Wine 1.7.27.
* Translators, you're up ;)
CORE-8540

svn path=/trunk/; revision=64325
2014-09-27 10:16:40 +00:00
Hermès Bélusca-Maïto
41e8832080 [NTVDM]
Implement INT 15h, AH=4Fh "Keyboard intercept", which is used by INT 9h / IRQ 1 to possibly translate scan code before any further treatment. The default implementation is a trivial one, do it à la DosBox.

svn path=/trunk/; revision=64324
2014-09-27 02:17:54 +00:00
Amine Khaldi
7d8a75747a [COMCTL32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64323
2014-09-27 00:19:59 +00:00
Amine Khaldi
210678bf03 [COMCTL32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64322
2014-09-27 00:19:40 +00:00
Amine Khaldi
1856b68dfa [PSDK]
* Add CDRF_NOTIFYITEMERASE.
* Update commoncontrols.idl.
CORE-8540

svn path=/trunk/; revision=64321
2014-09-27 00:05:34 +00:00
Amine Khaldi
029716d646 [BCRYPT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64320
2014-09-27 00:03:58 +00:00
Amine Khaldi
12a8d95c6e [BCRYPT]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64319
2014-09-27 00:03:33 +00:00
Eric Kohl
d3c1b50d46 [LSASRV]
Fix memory related issues in calls to LsaEnumerateLogonSessions.
- Initialize ClientBaseAddress to NULL because we do not need to allocate a fixed memory page.
- Protect Length from being overwitten by NtWriteVirtualMemory.

svn path=/trunk/; revision=64318
2014-09-26 23:46:59 +00:00
Hermès Bélusca-Maïto
3ac9edfd99 [NTVDM]: Improve diagnostics.
svn path=/trunk/; revision=64317
2014-09-26 22:39:21 +00:00
Pierre Schweitzer
85b85921b8 [NTFS]
- Divert NtfsLookupFile() as NtfsLookupFileAt() to allow opening relatives to a current MFT record.
- Reimplement NtfsLookupFile() using NtfsLookupFileAt()

svn path=/trunk/; revision=64316
2014-09-26 18:12:24 +00:00
Pierre Schweitzer
1dfcfeb0f7 [NTFS]
Also store the MFT index in the FCB

svn path=/trunk/; revision=64315
2014-09-26 17:49:05 +00:00
Pierre Schweitzer
32afa0efb3 [NTFS]
- Import structures and defines from FreeLdr NTFS driver header
- Import lot of code from FreeLdr NTFS driver to handle MFT & attributes
- Remove code that has been overtaken by FreeLdr code
- Adapt & port code from FreeLdr (allocation, status, data structures)
- Adapt old code to the new functions defined from FreeLdr code

- Open the MFT during volume mount and keep in VCB for further use
- Implement a function to lookup a file in the MFT given its full path

svn path=/trunk/; revision=64313
2014-09-26 13:57:29 +00:00
Jérôme Gardou
d8175d3e64 [SPEC2DEF]
- Actually commit what was advertised in r64281

svn path=/trunk/; revision=64312
2014-09-26 12:43:27 +00:00
Jérôme Gardou
7ad37a6539 [WIN32K]
- Simplify IntRemoveWindowProp
 - Complain loudly if a NULL list entry sneaks into a window property list.
CORE-8562

svn path=/trunk/; revision=64311
2014-09-26 12:43:12 +00:00
Amine Khaldi
931f61704d [ATL][ATL80][ATL100]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64310
2014-09-26 11:39:07 +00:00
Amine Khaldi
4dc399569c [PSDK]
* Update atliface.idl.
CORE-8540

svn path=/trunk/; revision=64309
2014-09-26 11:28:49 +00:00
Amine Khaldi
33a050ac1f [ADVPACK]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64308
2014-09-26 10:23:40 +00:00
Amine Khaldi
7910fe8c3c [README.WINE]
* Mark the rest of DX related dlls as synced with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64307
2014-09-26 09:53:24 +00:00
Amine Khaldi
3b71331829 [QUARTZ_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64306
2014-09-26 09:51:20 +00:00
Amine Khaldi
80675f700d [QUARTZ]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64305
2014-09-26 09:51:00 +00:00
Eric Kohl
cd97d921f9 [UMPNPMGR]
Use the stdcall calling convention for the PNP_* functions and export the missing functions.

svn path=/trunk/; revision=64304
2014-09-26 09:47:02 +00:00
Amine Khaldi
b809b0c635 [QEDIT]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64303
2014-09-26 09:42:33 +00:00
Amine Khaldi
b8bad25e37 [DXGI]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64302
2014-09-26 09:40:04 +00:00
Amine Khaldi
13b90aabc8 [DPLAYX]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64301
2014-09-26 09:22:42 +00:00
Amine Khaldi
03c321a925 [DMUSIC]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64300
2014-09-26 09:19:09 +00:00
Amine Khaldi
98c5be0de9 [DINPUT8]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64299
2014-09-26 09:07:14 +00:00
Amine Khaldi
4d5aeba7ed [DINPUT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64298
2014-09-26 09:04:18 +00:00
Amine Khaldi
763fcede5f [DINPUT]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64297
2014-09-26 09:03:58 +00:00
Amine Khaldi
91a2201417 [DEVENUM_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64296
2014-09-26 08:56:56 +00:00
Amine Khaldi
f1ae13f27c [DEVENUM]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64295
2014-09-26 08:56:44 +00:00
Pierre Schweitzer
a9a99db331 [NTFS]
- Divert NtfsReadSectors() into NtfsReadDisk()
- Reimplement NtfsReadSectors() using NtfsReadDisk()

svn path=/trunk/; revision=64294
2014-09-26 06:41:51 +00:00
Hermès Bélusca-Maïto
507f6b105a [DHCPCSVC]: Forgot this code formatting in my previous commit.
svn path=/trunk/; revision=64293
2014-09-25 23:45:30 +00:00
Hermès Bélusca-Maïto
33f5eed378 [UMPNPMGR]
- Turn the user-mode PnP Manager into a dll, as it is in Windows. However, on Windows 2k/XP/2k3, the dll is managed by services.exe (the SC Manager) (and its entry point name hardcoded in it), whereas on Vista/7+ it is managed by svchost.exe . Since we do not support external dll hardcoded services management in services.exe, make it svchost-compatible instead.
- In the .spec file, we mention that a few API set is exported (in stdcall), but we use it also for RPC, and therefore one has to fix somewhere the calling conventions.
- Add/modify the registry entries accordingly.

svn path=/trunk/; revision=64292
2014-09-25 23:44:28 +00:00
Hermès Bélusca-Maïto
12afcc85bd [DHCPCSVC]
- Code formatting
- Move ROS service functionalities from BSD module to where it really belongs.

svn path=/trunk/; revision=64291
2014-09-25 22:01:42 +00:00
Pierre Schweitzer
52858fdcec [NTFS]
Allow opening the NTFS volume in NtfsCreateFile()

svn path=/trunk/; revision=64290
2014-09-25 20:21:34 +00:00
Amine Khaldi
b143976e60 [KERNEL32_VISTA]
* Too much C, Arch ;)

svn path=/trunk/; revision=64289
2014-09-25 20:20:12 +00:00
Pierre Schweitzer
17b30a2024 [NTFS]
- Create the volume FCB and save it in VCB.
- Fix a memory leak

svn path=/trunk/; revision=64288
2014-09-25 20:15:00 +00:00
Amine Khaldi
2370abb48a [D3DXOF]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64287
2014-09-25 19:49:32 +00:00
Amine Khaldi
48e0c746fd [D3DX9_*]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64286
2014-09-25 19:46:26 +00:00
Amine Khaldi
b5a2ac0266 [D3DCOMPILER_43]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64285
2014-09-25 19:38:09 +00:00
Amine Khaldi
2b48c4a4b1 [KERNEL32_VISTA]
* Fix MSVC build.

svn path=/trunk/; revision=64284
2014-09-25 19:37:02 +00:00
Jérôme Gardou
af46c1ee60 [KERNEL32]
- Get rid of the GetTickCount64 export, now in kernel32_vista.dll
 - Add a few "-norelay" clauses when relay tracing is enabled

svn path=/trunk/; revision=64283
2014-09-25 18:25:55 +00:00
Jérôme Gardou
bb26155bdd [KERNEL32]
- Introduce kernel32_vista.dll, aiming at adding implementation of vista+ routines (for wine modules) without screwing kernel32 export list.
[MSI][PDH][SNMPAPI]
 - Link to kernel32_vista

svn path=/trunk/; revision=64282
2014-09-25 18:25:47 +00:00
Jérôme Gardou
9d617372d5 [SPEC2DEF/CMAKE]
- add a way to enable "relay tracing" (à la wine) to modules.
This uses wine's TRACE routine, debug channel being "relay"
Use "WITH_RELAY" argument to cmake macro spec2def to activate.

svn path=/trunk/; revision=64281
2014-09-25 18:25:02 +00:00
Amine Khaldi
901b5ce0ed [README.WINE]
* Mark iexplore as synced with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64280
2014-09-25 15:42:43 +00:00
Amine Khaldi
3c45f4ae32 [URLMON_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64279
2014-09-25 15:40:15 +00:00
Amine Khaldi
55e685f554 [URLMON]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64278
2014-09-25 15:39:47 +00:00
Amine Khaldi
3fe664306e [WININET_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64277
2014-09-25 15:31:51 +00:00
Amine Khaldi
00a55fe1f3 [WININET]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64276
2014-09-25 15:31:21 +00:00
Amine Khaldi
3b4680b994 [PSDK]
* Add InternetCookieState and INTERNET_COOKIE_HTTPONLY.
CORE-8540

svn path=/trunk/; revision=64275
2014-09-25 15:22:04 +00:00
Amine Khaldi
7b4237a1a6 [WINHTTP_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64274
2014-09-25 15:10:35 +00:00
Amine Khaldi
2b0d345d20 [WINHTTP]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64273
2014-09-25 15:10:02 +00:00
Amine Khaldi
0c945e0937 [WINHTTP]
* Addendum to r64270.

svn path=/trunk/; revision=64272
2014-09-25 15:05:25 +00:00
Amine Khaldi
efe3813cb3 [JSPROXY]
* Import from Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64271
2014-09-25 15:02:29 +00:00
Amine Khaldi
fd6cdd27f3 [WINE/DEBUG]
* Define debugstr_variant and co globally to avoid code duplication.
CORE-8540

svn path=/trunk/; revision=64270
2014-09-25 14:59:07 +00:00
Thomas Faber
5a5f7ea43b [SECURE32]
- Avoid uninitialized variable use aka fix MSVC build

svn path=/trunk/; revision=64269
2014-09-25 14:53:32 +00:00
Amine Khaldi
7290f0eee6 [PSDK]
* Add AutoProxyHelperVtbl, AutoProxyHelperFunctions and AUTO_PROXY_SCRIPT_BUFFER.
CORE-8540

svn path=/trunk/; revision=64268
2014-09-25 14:43:29 +00:00
Thomas Faber
bff55bbd93 [USBHUB][USBUHCI][CDROM_NEW]
- Remove dead code. By Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=64267
2014-09-25 12:41:40 +00:00
Eric Kohl
ed83e65c34 [SECUR32][LSASRV][LSALIB]
- Move the stubs LsaEnumerateLogonSessions, LsaGetLogonSessionData, LsaRegisterPolicyChangeNotification and LsaUnregisterPolicyChangeNotification from lsalib to secur32, because these functions are exported by secur32.dll only.
- Add new LPC connection code to secur32.dll for use by non-logon related functions.
- Implement LsaEnumerateLogonSessions in secur32.dll and LsapEnumLogonSessions in lsasrv.dll.

svn path=/trunk/; revision=64266
2014-09-25 12:37:19 +00:00
Pierre Schweitzer
6feab772ca [NTFS]
Compute index record size on mount and save it.

svn path=/trunk/; revision=64265
2014-09-25 06:36:14 +00:00
Timo Kreuzer
545f0b4e64 [CRT]
Add arm stub for __chkstk, dedicated to Z98

svn path=/trunk/; revision=64264
2014-09-24 23:12:34 +00:00
Sylvain Petreolle
d1009f1f63 [BUTTERFLIES]
Fix MSVC build.
Dedicated to Hermès :p

svn path=/trunk/; revision=64263
2014-09-24 22:18:51 +00:00
Timo Kreuzer
cdb844e88c [WIN32K]
- Improve performance of XFORMOBJ_bXformFixPoints by getting the integer values from the FLOATOBJ once instead of on every iteration

svn path=/trunk/; revision=64261
2014-09-24 21:27:47 +00:00
Timo Kreuzer
ae5b9eb418 [WIN32K]
- Implement REGION_SubtractRectFromRgn
- Rewrite NtGdiExcludeClipRect, fixing a number of gdi32 apitests

svn path=/trunk/; revision=64260
2014-09-24 21:23:03 +00:00
Thomas Faber
4ef9449b30 [EVENTVWR][TELNET][USETUP]
- Remove dead code. Patch by Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=64259
2014-09-24 21:05:29 +00:00
Thomas Faber
39aa1d8448 [WINED3D]
- Use correct FXCAPS constant in wined3d_get_device_caps. Spotted by Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=64258
2014-09-24 20:58:00 +00:00
Alex Ionescu
ecdedb6593 [NDK]: A few minor updates.
svn path=/trunk/; revision=64256
2014-09-24 16:00:35 +00:00
Timo Kreuzer
5669230795 [GDI32_APITEST]
Add tests for ExcludeClipRect, convert tabs to spaces

svn path=/trunk/; revision=64254
2014-09-24 08:35:30 +00:00
Jérôme Gardou
359dfe2af9 [WIN32K]
- Add a debug print to help, well..., debugging.

svn path=/trunk/; revision=64253
2014-09-23 23:28:22 +00:00
Jérôme Gardou
7e45898193 [HIVESFT]
- Add the AddTrust Certificate root.
Now Oracle servers can be reached with SSL.

svn path=/trunk/; revision=64252
2014-09-23 23:28:08 +00:00
Hermès Bélusca-Maïto
6df07b4af3 [NTVDM]: Fix the PC speaker frequency, that was an octave higher than normal for the pacman.com game of CORE-8436, as well as in Dave and Rescue-Rover (because they use PIT mode 3, aka. square wave), but was normal for Advanced Netwars (which uses PIT mode 2, aka. rate generator). Now all those games get correct sound frequency.
svn path=/trunk/; revision=64251
2014-09-23 21:04:05 +00:00
Timo Kreuzer
21c81c46ea [WIN32K]
- Make sure to make a copy of DC attribute fields before checking / using them
- Avoid breaking DC flags in IntGdiSetMode on failure
- Fix some comments

svn path=/trunk/; revision=64250
2014-09-23 21:01:47 +00:00
Timo Kreuzer
fc26231290 [WIN32K]
- Modify REGION_CropAndOffsetRegion to return the region complexity
- Improve NtGdiIntersectClipRect to only allocate a new region, if we don't have one yet, otherwise crop it using REGION_CropAndOffsetRegion

svn path=/trunk/; revision=64249
2014-09-23 20:21:13 +00:00
Amine Khaldi
515ead4a5d [MSPATCHA]
* Import from Wine 1.7.27.
CORE-8550 #comment mspatcha.dll added in r64248.
CORE-8540

svn path=/trunk/; revision=64248
2014-09-23 19:48:41 +00:00
Timo Kreuzer
a688f19bbb [WIN32K]
- Improve GetClipBox (we have a RAO region, make use of that, no need to check for Clip or Meta region and combine them with the vis region) and fix coordinates (result must be in logical coordinate space!)

svn path=/trunk/; revision=64247
2014-09-23 19:32:38 +00:00
Sylvain Petreolle
e0c9b160dc [ADVAPI32]
Addendum to r29929 :
Services have 30 seconds to start.
Fixes VMware Tools service startup.

svn path=/trunk/; revision=64246
2014-09-23 18:53:42 +00:00
Amine Khaldi
3b1bbb4495 [MSI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64245
2014-09-23 18:33:25 +00:00
Amine Khaldi
fd8d353ac0 [MSI]
* Sync with Wine 1.7.27. Dedicated to Jérôme.
CORE-8540

svn path=/trunk/; revision=64244
2014-09-23 18:32:48 +00:00
Amine Khaldi
8155a55f42 [PSDK]
* Add MSITRANSFORM_VALIDATE enum.
CORE-8540

svn path=/trunk/; revision=64243
2014-09-23 18:27:36 +00:00
Jérôme Gardou
1b2d2c4f1b [NTOS/MM]
- Simplify and fix MmCopyVirtualMemory, where the processes where not correctly detached on failure.
Fixes a few "Process xyz.exe" is a zombie.

svn path=/trunk/; revision=64242
2014-09-23 18:06:47 +00:00
Jérôme Gardou
66d0ec9cdb [HIVESFT]
- Remove some useless certificates
 - Add the relevant root certificates for reactos.org and google.com

svn path=/trunk/; revision=64241
2014-09-23 18:06:36 +00:00
Amine Khaldi
a205559671 [D3D8][D3D9][DDRAW][WINED3D]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64240
2014-09-23 17:50:22 +00:00
Amine Khaldi
64fdd77f12 [CMAKE/CLANG]
* Enable PCH in Clang builds too now.
CORE-8516

svn path=/trunk/; revision=64239
2014-09-23 17:44:42 +00:00
Amine Khaldi
bef3d82f99 [CMAKE]
* Use the full path of the PCH file when including it.

svn path=/trunk/; revision=64238
2014-09-23 17:43:18 +00:00
Jérôme Gardou
adb18fba08 [NTDLL/LDR]
- Mark module entries as "load in progress" when pinning them.
CORE-7819 #comment Committed, as a lot of applications rely on this. Feel free to revert if you feel the change is not correct.

svn path=/trunk/; revision=64237
2014-09-23 11:32:50 +00:00
Timo Kreuzer
f85261888e [GDI32_APITEST]
- Add tests for GetClipBox

svn path=/trunk/; revision=64236
2014-09-23 11:16:56 +00:00
Hermès Bélusca-Maïto
8b5bf28313 [NTVDM]
Implement INT 10h, AH=0Bh function 01 (Set Palette) (for CGA modes), and half-plement INT 10h, AH=0Bh function 00 (Set Background/border color), adapted from DosBox.
The code needs a bit of cleaning.
Needed for a certain Pacman game :)

CORE-8436 #resolve #comment Fixed ;)

svn path=/trunk/; revision=64235
2014-09-22 23:34:41 +00:00
Timo Kreuzer
a57c34c75c [KSECDD]
CORE-8542 #comment Disable read of performance counters until it has been investigated, what the exact CPU requirements are and how we can detect them. This will only lower the amount "random" entropy data, nothing severe. Should fix bugcheck on qemu.

svn path=/trunk/; revision=64234
2014-09-22 22:46:10 +00:00
Pierre Schweitzer
cff39969d6 [NTFS]
Also add missing defines about index size and index header for INDEX_ROOT attribute.
Implemented their support in NtfsDumpFileAttributes().

svn path=/trunk/; revision=64233
2014-09-22 20:26:21 +00:00
Pierre Schweitzer
d907725b5d [NTFS]
Add missing defines about INDEX_ROOT attributes and collation rules.
Implemented their support in NtfsDumpFileAttributes().

Sources: http://ftp.kolibrios.org/users/Asper/docs/NTFS/ntfsdoc.html#attribute_index_root and Linux kernel.

svn path=/trunk/; revision=64232
2014-09-22 19:59:45 +00:00
Amine Khaldi
8fc3f61465 [FLTLIB]
* Import from Wine 1.7.27.
CORE-8543 #resolve #comment Added in r64231.
CORE-8540

svn path=/trunk/; revision=64231
2014-09-22 19:24:12 +00:00
Amine Khaldi
fe05f05fd2 [MSI]
* Remove some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=64230
2014-09-22 18:46:38 +00:00
Jérôme Gardou
1f02ead2cc [NTDLL_APITEST]
- Add a test stressing the registry a lot. By "V".
ROSTESTS-141 #resolve #comment Committed, Thanks!

svn path=/trunk/; revision=64227
2014-09-22 14:46:08 +00:00
Jérôme Gardou
031ed04e0c [WIN32K]
- Add some debug prints helping diagnosing which GDI objects are locked when they should not be.
 - Plug a region (lock) leak
 - Remove some dead code.

svn path=/trunk/; revision=64226
2014-09-22 14:33:06 +00:00
Jérôme Gardou
a9b289888e [NTOS/CM]
- Return the right index when the root subleaf is found.
 - Let's pretend I was nice enough to make the cells lexically sorted when in fact I just corrected a stupid binary search.
WARNING: this breaks ntoskrnl reading hive files produced before this revision. Sorry, this is a breaking change.
CORE-8524 #comment Committed, let's see what happens in the next days.

svn path=/trunk/; revision=64222
2014-09-22 07:43:06 +00:00
Timo Kreuzer
7f27244dad [HELP]
Fix russian resource file. Patch by gonzoMD

svn path=/trunk/; revision=64221
2014-09-21 22:21:09 +00:00
Christoph von Wittich
946151eb96 [uxtheme]
fix typos

svn path=/trunk/; revision=64220
2014-09-21 17:54:33 +00:00
Jérôme Gardou
01da3a14ed [WIN32K]
- Introduce the base of what should become a proper user object manager, with proper refcounting, handle management, cleanup callbacks and inter-object referencing.
Approved by Jim and Giannis.
CORE-8539 #resolve

svn path=/trunk/; revision=64219
2014-09-21 17:44:40 +00:00
Amine Khaldi
c2068d9c05 [AMSTREAM_WINETEST]
* Sync with Wine 1.7.27. A huge patch that demonstrates how much work has been done on this module.. I mean reduce diff to Wine ;p
CORE-8540

svn path=/trunk/; revision=64218
2014-09-21 17:43:12 +00:00
Amine Khaldi
4a86763494 [AMSTREAM]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64217
2014-09-21 17:28:06 +00:00
Amine Khaldi
1f3abd341f [STRMBASE]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64216
2014-09-21 17:18:11 +00:00
Amine Khaldi
60cb13c082 [INCLUDES/WINE]
* Update strmbase.h.
CORE-8540

svn path=/trunk/; revision=64215
2014-09-21 17:13:18 +00:00
Amine Khaldi
adad1e41b5 [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=64213
2014-09-21 16:14:12 +00:00
Timo Kreuzer
b4aecf7095 [HAL]
Fix some function prototypes and avoid real ugly casts

svn path=/trunk/; revision=64212
2014-09-21 16:00:27 +00:00
Amine Khaldi
e0e3a8067f [NTDLL_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64209
2014-09-20 20:08:51 +00:00
Amine Khaldi
0f3e5d5b61 [PSDK]
* Add missing FILE_PIPE_INFORMATION.

svn path=/trunk/; revision=64208
2014-09-20 20:08:19 +00:00
Amine Khaldi
b68d45fdcc [PSDK]
* Add some missing definitions.
* Update SYSGEOTYPE.

svn path=/trunk/; revision=64207
2014-09-20 19:38:33 +00:00
Amine Khaldi
2fb0fe3cca [KERNEL32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64206
2014-09-20 19:35:24 +00:00
Amine Khaldi
1b9bf5a3bd [WPP]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64205
2014-09-20 18:53:11 +00:00
Amine Khaldi
abb354e4da [UNICODE]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64204
2014-09-20 18:37:02 +00:00
Amine Khaldi
6fb0f1a0cd [DBGHELP]
* Work around a Clang bug w.r.t. dwarf emission. Brought to you by the mighty Arty.
CORE-8516 #comment Now ReactOS can compile a bootcd with Clang, and it boots to shell. Only some PSEH bug(s) remain for it to be fully functional and ready for testman (I'm looking at you, Timo ;) )

svn path=/trunk/; revision=64203
2014-09-20 18:06:09 +00:00
Amine Khaldi
0548cdea30 [CMAKE/CLANG]
* Properly initialize compiler flags.
CORE-8516

svn path=/trunk/; revision=64202
2014-09-20 17:36:37 +00:00
Eric Kohl
002cdd74af [SAMSRV]
Fix some really stupid typos.

svn path=/trunk/; revision=64201
2014-09-20 13:45:12 +00:00
Jérôme Gardou
086000893f [WIN32K]
- revert r64197 and r64198

svn path=/trunk/; revision=64200
2014-09-19 21:10:56 +00:00
Eric Kohl
3274770f12 [RPCRT4]
Addendum to r64053.
Fix EmbeddedPointerFree too. Patch by Alexandre Julliard.

svn path=/trunk/; revision=64199
2014-09-19 20:30:17 +00:00
Jérôme Gardou
1a32ccc84c [WIN32K]
- Embarassing addendum to r64197

svn path=/trunk/; revision=64198
2014-09-19 18:55:22 +00:00
Jérôme Gardou
d07a879127 [WIN32K]
- Allocate the the queue client event as a KERNEL_HANDLE
CORE-8539

svn path=/trunk/; revision=64197
2014-09-19 18:21:06 +00:00
Thomas Faber
7c7ba13eb7 [GDI32]
- Fix MSVC build

svn path=/trunk/; revision=64196
2014-09-19 17:51:04 +00:00
Thomas Faber
39063e28db [OLEAUT32]
- Sync MSVC version of call_method with GCC version. Patch by Timo Kreuzer.

svn path=/trunk/; revision=64195
2014-09-19 14:35:56 +00:00
Thomas Faber
2d3b9351b5 [PSEH3]
- Don't clobber ebx in __SEH3$_RegisterTryLevelWithNonVolatiles (addendum to r64132)

svn path=/trunk/; revision=64194
2014-09-19 13:59:13 +00:00
Jérôme Gardou
8eb28ac873 [WIN32K]
- Check the right variable for error condition

svn path=/trunk/; revision=64193
2014-09-18 14:26:59 +00:00
Timo Kreuzer
bf6516577e [NTOSKRNL/AMD64]
Actually revert the change to KiRaiseAssertion, it was correct before

svn path=/trunk/; revision=64192
2014-09-18 14:10:41 +00:00
Timo Kreuzer
e4d6f25157 [NTOSKRNL/AMD64]
- Fix trap flags in KiRaiseAssertion
- Add some asm debugcode

svn path=/trunk/; revision=64191
2014-09-18 14:06:31 +00:00
Jérôme Gardou
0d048c3e47 [WIN32K]
- Fix error handling in NtGdiPathToRegion

svn path=/trunk/; revision=64190
2014-09-18 13:27:02 +00:00
Jérôme Gardou
631f96a8a3 [WIN32K]
- Do not make callouts to user-mode while holding a lock on GDI objects.
Fixes crashes in user32_winetest:win and :msg

svn path=/trunk/; revision=64189
2014-09-18 13:26:55 +00:00
Jérôme Gardou
559bf96394 [USER32_WINETEST]
- Compile as a GUI app

svn path=/trunk/; revision=64188
2014-09-18 13:04:59 +00:00
Jérôme Gardou
85d90c9dff [WIN32K]
- Enable all debug channels if DEBUGCHANNEL is set to "+all".
 - Fix GDI objects exclusive locks counting, fixing a memory corruption altogether.
 - Add a missing lock release on error path.
 - Add a debug print.

svn path=/trunk/; revision=64187
2014-09-18 12:09:19 +00:00
Timo Kreuzer
bcaee07f89 [RTL]
- Implement RtlpCloseRegistryHandle helper, which closes a registry key, if RTL_REGISTRY_HANDLE was not passed as RelativeTo
- Use RtlpCloseRegistryHandle whereever required, fixing some cases, where we unconditionally closed the handle

svn path=/trunk/; revision=64186
2014-09-18 10:39:54 +00:00
Hermès Bélusca-Maïto
7697e22142 [NTVDM]
- Add dummy INT 18h (ROM Basic) and INT 19h (Bootstrap loader) interrupts. If INT 18h will never be implemented, INT 19h can be used one day...
- Add the standard bootstrap code snippets at F000:FFF0 and F000:E05B.
- For compatibility purposes, and nice info reporting via tools like Microsoft Diagnostics, or Symantec SysInfo, or whatever else..., register nice BIOS Copyright and Version strings. Also add a version string at the end of the BIOS.
- Fix our reported BIOS model.
- Add some temporary documentation (from Bochs BIOS) about the ROM BIOS compatibility entry-points that some apps may use (instead of passing through more documented & standard interfaces).

svn path=/trunk/; revision=64185
2014-09-18 00:16:17 +00:00
Timo Kreuzer
549d7bbce6 [KERNEL32]
Update spec file with x64 specific functions

svn path=/trunk/; revision=64184
2014-09-17 22:54:06 +00:00
Hermès Bélusca-Maïto
981d39b0e5 [NTVDM]: Improve some dprints.
svn path=/trunk/; revision=64183
2014-09-17 21:22:04 +00:00
Jérôme Gardou
07607739ca [USER32]
- Delete region on error path.
[WIN32SS]
 - Improve/add a few debug prints.

svn path=/trunk/; revision=64182
2014-09-17 15:08:23 +00:00
Jérôme Gardou
65581fedb3 [UXTHEME]
- Allocate resources after the quick-return path

svn path=/trunk/; revision=64181
2014-09-17 15:08:13 +00:00
Jérôme Gardou
0ac46dd0d3 [WIN32K]
- Silence a forgotten and very noisy DPRINT.

svn path=/trunk/; revision=64180
2014-09-17 12:12:28 +00:00
Jérôme Gardou
d87a241b25 [WIN32K]
- Return empty region in DceGetVisRgn if there is nothing to return.

svn path=/trunk/; revision=64179
2014-09-17 12:01:34 +00:00
Jérôme Gardou
00b90311f3 [WIN32K]
- Fix user-mode region attribute handling in IntGdiSetRegionOwner.

svn path=/trunk/; revision=64178
2014-09-17 11:40:21 +00:00
Jérôme Gardou
215e0d90a1 [WIN32K]
- Slap *a bit* of sense in the way we use region objects and handles, avoiding a massive orgy of handle allocations, locks, leaks and so on.
The motto here being "if you don't need a valid user-mode handle, then chances are that you don't need one at all."
CORE-8506 #resolve #comment Stale region handles should not be passed anymore to user-mode apps now.

svn path=/trunk/; revision=64177
2014-09-17 09:54:27 +00:00
Jérôme Gardou
726e4806e9 [GDI32]
- Fix up values got from win32k in GetOutlineTextMetrics and do not fail if the provided buffersize is only sizeof(OUTLINETEXTMETRICW).
CORE-8507 #resolve

svn path=/trunk/; revision=64176
2014-09-17 09:54:14 +00:00
Timo Kreuzer
725cca1c7f [NTDLL]
- Add Etw trace api stubs (moved from avdapi32)
- Add exports for Etw* functions

[ADVAPI32]
- Add forwarders of trace api functions to ntdll Etw* functions

svn path=/trunk/; revision=64172
2014-09-16 20:40:33 +00:00
Hermès Bélusca-Maïto
a760af54a3 [NTVDM]: We can specify device "command" procedures for each PS/2 port so that when one writes to port 0x60, one can write to the correct device "plugged" into it (keyboard, mouse). modularity++;
svn path=/trunk/; revision=64171
2014-09-16 18:54:50 +00:00
Hermès Bélusca-Maïto
28b04f02e8 [NTOS]: Do not break into kdbg because PopFlushVolumes is not fully implemented. Fixes apparent BSOD when trying the "Hibernate" and "Stand By" options in the Task Manager.
CORE-8537 #resolve #comment Demote UNIMPLEMENTED_DBGBREAK for UNIMPLEMENTED in the non-implemented case of PopFlushVolumes. Fixes the apparent BSOD.

svn path=/trunk/; revision=64170
2014-09-16 18:43:16 +00:00
Eric Kohl
6342a92b28 [SAMSRV]
SampRemoveUserFromAllGroups:
- Do not treat a STATUS_MEMBER_NOT_IN_GROUP, returned by SampRemoveMemberFromGroup, as error but as success.
- Clear the Groups attribute at the end.

svn path=/trunk/; revision=64169
2014-09-16 10:32:04 +00:00
Hermès Bélusca-Maïto
0c86291749 [NTVDM]
- Move the mouse driver to DOS since it's our 32bit version of mouse.com, in some sense,
- Temporarily disable the mouse user callbacks because currently they went called in a parallel thread than the CPU one, that caused CPU corruption,
- In the same way we currently trigger IRQ1 interrupts, we do the same for IRQ12,
- Make the console input pump more modular (and mouse presence detection code is WIP),
- Put keyboard code into a dedicated file (as done for the mouse),
- Adapt the existing PS/2 emulation code to support two PS/2 ports controlled by 1 controller. Please note that some documentations precise that the response byte (answer to a PS/2 controller command) is written directly to the PS/2 output port.

svn path=/trunk/; revision=64168
2014-09-16 00:51:15 +00:00
Hermès Bélusca-Maïto
9c5062a147 [NTVDM]
- Code formatting and precise an info in a comment,
- Remove an unneeded commented call, and
- Mention that INT 15h functions C1h and C2h need to be implemented for PS/2 support.

svn path=/trunk/; revision=64167
2014-09-16 00:25:40 +00:00
Jérôme Gardou
de914f2aed [KDGDB]
- As pid and tid 0 have a special meaning in GDB, use off-by-one thread and process ID when communicating with it
 - Properly read registers and memory from foreign thread and processes. (This time it was tested and proved to work reliably. __writecr3 ftw!)
 - Loop the list of processes and threads when trying to find them from ID, as PsLookupProessByThreadId and friends can't be used since we can be at any IRQL.
 - Add a few more debug prints to help diagnosing problems.
CORE-8531

svn path=/trunk/; revision=64166
2014-09-15 22:05:21 +00:00
Timo Kreuzer
000f227784 [hivesys.inf]
Fix a typo.

svn path=/trunk/; revision=64165
2014-09-15 21:42:47 +00:00
Timo Kreuzer
1d68dcce50 [ADVAPI32_APITEST]
- Fix linux build

svn path=/trunk/; revision=64164
2014-09-15 21:08:00 +00:00
Timo Kreuzer
445b0977bd [KSECDD]
- Implement Encrypt / DecryptMemory in KSecDD (it uses AES for 16 byte aligned sizes, and 3DES for 8 byte aligned sizes)
- Install KSecDD
- Actually use KSecDD for Encryption from advapi32

svn path=/trunk/; revision=64163
2014-09-15 21:05:38 +00:00
Timo Kreuzer
34f49b3d4b [ADVAPI32_APITEST]
- Add tests for RtlEncrypt/DecryptMemory

svn path=/trunk/; revision=64162
2014-09-15 21:04:03 +00:00
Daniel Reimer
abaedf0591 [RAPPS]
Update Database for Kiel.
Add Foxit Reader to Database.

svn path=/trunk/; revision=64161
2014-09-15 20:10:09 +00:00
Eric Kohl
dc213a3598 [BOOTDATA]
Set MaxSize and Retention for event logs.

svn path=/trunk/; revision=64160
2014-09-15 12:25:45 +00:00
Eric Kohl
23a11c7198 [EVENTLOG]
- Read MaxSize and Retention from the Registry when a new log file is created.
- Use ntdll file functions instead of their kernel32 counterparts.

svn path=/trunk/; revision=64159
2014-09-15 12:16:46 +00:00
Thomas Faber
a28f3fc476 [HAL]
- Don't use svn:eol-style = native for PCI ids but then have the code expect CRLF. Should fix all devices being "Unknown device" on Unix builds.

svn path=/trunk/; revision=64158
2014-09-15 10:58:53 +00:00
Hermès Bélusca-Maïto
8d958c5efa [PSDK]: Fix some structure definitions.
svn path=/trunk/; revision=64157
2014-09-15 00:07:46 +00:00
Jérôme Gardou
6087abc76f [KDGDB]
- Fix an embarassing works-for-me but uncommited cast.
 - Add support for reading registers and memory from foreign threads. Highly experimental and nearly untested, use at your own risk.

svn path=/trunk/; revision=64156
2014-09-14 22:50:10 +00:00
Jérôme Gardou
d4fd3a072f [DDK]
- Addendum to r64151
Complain on IRC, then complain on ros-dev, then steal fixes from your peers, then do as if nothing happened.

svn path=/trunk/; revision=64155
2014-09-14 22:41:27 +00:00
Jérôme Gardou
31965e9804 [KDGDB]
- Always pass down the result of gdb_receive_packet up to KD, so that it knows when a breakin packet was received. (CTRL-C) now works!
 - Generalize the use of the Send <-> ManipulateState callbacks for a better code reading.
 - Get the exception context as soon as it is thrown (instead of playing with the PRCB)
 - Improve the way we attach to GDB: on the first KD call, we set KdContext->ControlCPending so that KD throws an exception. That way we can first initialize our KD stuff, and then quietly attach to GDB
 - Implement the 'p' (get one register) GDB request.
GDB is now much more reliable.

svn path=/trunk/; revision=64154
2014-09-14 20:45:30 +00:00
Timo Kreuzer
fe8e1d19fb [KSECDD]
- Fix a typo in KsecQueryFileInformation
- Implement missing ioctls in KsecDeviceControl
- Support METHOD_OUT_DIRECT for IRP_MJ_DEVICE_CONTROL
- Add stubs for KsecEn/DecryptMemory
[ADVAPI32]
- Use ksecdd to handle SystemFunction040 (RtlEncryptMemory) and SystemFunction041 (RtlDecryptMemory) (they still do nothing, but at least they do it in kenrnel mode now ;-))

svn path=/trunk/; revision=64153
2014-09-14 19:40:15 +00:00
Amine Khaldi
00ad9c4760 [XDK][DDK]
* Handle the rest of cases about the order of pragma and symbol declaration.

svn path=/trunk/; revision=64151
2014-09-14 15:49:35 +00:00
Amine Khaldi
3ff848136a [XDK][DDK]
* Addendum to r64148.

svn path=/trunk/; revision=64150
2014-09-14 15:40:37 +00:00
Amine Khaldi
fd4c46b29c [MSI]
* Implement a correct CUSTOMPROC_wrapper wrapper for MSVC.

svn path=/trunk/; revision=64149
2014-09-14 15:31:58 +00:00
Amine Khaldi
cc36d06006 [XDK][DDK]
* Work around what looks like a bug in GCC's handling of #pragma redefine_extname. Its behavior regarding additional underscore prefixes depends on the order of pragma and symbol declaration with GCC, while it's consistent with Clang. Brought to you by Thomas Faber, reviewed by Timo Kreuzer.
CORE-8516

svn path=/trunk/; revision=64148
2014-09-14 15:19:20 +00:00
Hermès Bélusca-Maïto
2f4bbc8355 [NTVDM]: Code formatting and add a warning about the usage of callbacks.
svn path=/trunk/; revision=64147
2014-09-14 14:59:20 +00:00
Jérôme Gardou
dcade423c6 [KDGDB]
- It can happen that GDB issues something else than qsThreadInfo after qfThreadInfo
 - Properly clean up the callbacks after handling a custom Send/ManipulateState loop

svn path=/trunk/; revision=64146
2014-09-14 14:28:05 +00:00
Jérôme Gardou
38ca96eb96 [KDGDB]
- Improve the 'm' (read memory) gdb request

svn path=/trunk/; revision=64145
2014-09-14 14:27:58 +00:00
Jérôme Gardou
50d072fe6a [KDGDB]
- Add support for the qfThreadInfo GDB request

svn path=/trunk/; revision=64144
2014-09-14 14:27:44 +00:00
Timo Kreuzer
7d06aab495 [WIN32K]
Prevent NULL pointer dereference and fix a compiler warning

svn path=/trunk/; revision=64143
2014-09-14 12:33:03 +00:00
Sylvain Petreolle
54f2255f1d [BOOTDATA]
Install the mount manager.

svn path=/trunk/; revision=64142
2014-09-14 12:03:17 +00:00
Hervé Poussineau
13d49b8487 [MOUNTMGR] Activate it by default
svn path=/trunk/; revision=64141
2014-09-14 11:59:24 +00:00
Hervé Poussineau
ec1d1d6087 [MOUNTMGR] Misc fixes
We're now able to do something and to not crash when receiving a device arrival notification.


svn path=/trunk/; revision=64140
2014-09-14 07:53:46 +00:00
Hervé Poussineau
782d9efde7 [RAMDISK] Remove support for IOCTL_CDROM_GET_LAST_SESSION (useless since r64106)
svn path=/trunk/; revision=64139
2014-09-14 07:51:40 +00:00
Hermès Bélusca-Maïto
76a416c915 [NTVDM]: Implement few INT 33h (mouse) functions:
- For function 0Ah, we don't still support defining hardware cursor.
- Implement function 0Ch (define interrupt subroutine params), compatible MSMOUSE v1.0+
- Implement function 14h (exchange interrupt subroutines), compatible MSMOUSE v3.0+
- Implement function 18h (set alternate mouse user handler), that is the same thing as function 0Ch but for a set of maximum 3 handlers, compatible MSMOUSE v6.0+
- Implement function 19h (return user alternate interrupt vector) that returns the handler associated with a call mask, compatible MSMOUSE v6.0+
- Call all those handlers accordingly to their associated call mask, for mouse moves and mouse button presses.

svn path=/trunk/; revision=64138
2014-09-14 00:48:21 +00:00
Hermès Bélusca-Maïto
fe68098da9 [NTVDM]
- Add DPRINTs to the DumpMemory function.
- Use a VgaSetActiveScreenBuffer function to change active screen buffers: it calls the SetConsoleActiveScreenBuffer API but also recreates the VDM console menus, because on windows custom console menus are per-screen-buffer, and not per-console, so that if you set menus when one screen buffer is activated, and if you change it, then your menus become unuseful because for this new active screenbuffer, they are not set. It's completely ridiculous but we need to live with that (on ReactOS we still don't have this behaviour).

svn path=/trunk/; revision=64137
2014-09-14 00:43:43 +00:00
Aleksandar Andrejevic
75c869d7b5 [NTVDM]
Implement motion counters in the mouse BIOS.


svn path=/trunk/; revision=64136
2014-09-13 21:50:23 +00:00
Hermès Bélusca-Maïto
7b9ecd8232 [NTVDM]: Return mouse information for INT 33h, AX=00h. Needed for apps that check for the mouse.
svn path=/trunk/; revision=64135
2014-09-13 20:37:56 +00:00
Hermès Bélusca-Maïto
1c4d9ec3f1 Fix a typo.
svn path=/trunk/; revision=64134
2014-09-13 20:18:02 +00:00
Aleksandar Andrejevic
d15e766663 [NTVDM]
Implement mouse buttons and cursor positioning.


svn path=/trunk/; revision=64133
2014-09-13 15:32:07 +00:00
Timo Kreuzer
63143d1ab6 [PSEH3]
- Unregister frame before calling finally funtion in _SEH3$_AutoCleanup
- Restore full volatile register context for clang
- Don't clobber ebx in __SEH3$_RegisterFrameWithNonVolatiles (noticed by Thomas)
- Improve __SEH3$_InvokeEmbeddedFilterFromRegistration

svn path=/trunk/; revision=64132
2014-09-13 13:31:20 +00:00
Amine Khaldi
cb89710974 [BOOTDATA]
* Add DX InstalledVersion key. By Lee Schroeder.
CORE-8530 #resolve #comment Committed in r64131. Thanks!
CORE-8461 #comment Please retest with r64131+

svn path=/trunk/; revision=64131
2014-09-13 08:52:28 +00:00
Timo Kreuzer
9199599d20 [NTOSKRNL]
Mark lowest pages of P0BootStackData and KiDoubleFaultStackData as read-only to prevent unnoticed stack-overflow. CORE-4380 #resolve

svn path=/trunk/; revision=64130
2014-09-13 08:24:03 +00:00
Aleksandar Andrejevic
a475a70e24 [NTVDM]
Start implementing the NTVDM mouse BIOS driver.


svn path=/trunk/; revision=64129
2014-09-13 02:02:44 +00:00
Jérôme Gardou
836ae31c1d [NTOSKRNL/GCC]
- Use 0x00800000 as base address. This doesn't change anything (still loaded at 0x80800000) and it produces debug symbols that GDB can understand
[CMAKE]
 - Get back to using DWARF2 symbols. They are a lot bigger, but at least they work
Now GDB can be used to source-level debug ntoskrnl.

svn path=/trunk/; revision=64128
2014-09-12 22:56:22 +00:00
Jérôme Gardou
1bbea7c093 [KDGDB]
- Add a callback mechanism permitting to "simulate" KD send <-> receive loop without having to actually communicate to GDB
 - Use that to update the program counter when cont'ing a breakpoint
Now cont'ing an assertion failure is possible, since we actually get beyond the int 3 instruction

svn path=/trunk/; revision=64127
2014-09-12 20:23:08 +00:00
Thomas Faber
476ad09335 [PSEH3]
- Add missing C_ASSERTs

svn path=/trunk/; revision=64124
2014-09-12 10:43:50 +00:00
Thomas Faber
7849947ca5 [PSEH_TEST]
- Fix incorrect size in memcmp. Spotted by clang

svn path=/trunk/; revision=64123
2014-09-12 10:31:48 +00:00
Jérôme Gardou
9cc2b4e75c [KDGDB]
- introduce KDGDB, a KDCOM-like DLL, wrapping the KD protocol and the GDB remote protocol together.
It is not fully functional, but for now it permits source-level debugging in some modules. More will be added as I feel the need and find the time to work a bit more on it. (That is, unless an angel comes and resume the work)
To use it, set GDB and _WINKD_ to TRUE in your CMakeCache.txt. Using separate debug symbols is also a good idea.

svn path=/trunk/; revision=64121
2014-09-11 20:55:42 +00:00
Amine Khaldi
b26a0236de [WIN32SS]
* Remove extraneous parentheses.
CORE-8516

svn path=/trunk/; revision=64120
2014-09-11 13:34:39 +00:00
Amine Khaldi
e23636afda [WINEMP3.ACM]
* Link with mingwex.
CORE-8516

svn path=/trunk/; revision=64119
2014-09-11 13:24:10 +00:00
Amine Khaldi
76eee27b07 [SHELL32_APITEST]
* CLSID_MenuDeskBar is already part of the uuid lib.

svn path=/trunk/; revision=64118
2014-09-11 11:07:03 +00:00
Amine Khaldi
922aac9731 [WINMM_WINETEST]
* Addendum to r64114.
CORE-8516

svn path=/trunk/; revision=64117
2014-09-11 11:04:28 +00:00
Amine Khaldi
b758e85060 [OLEAUT32]
* Link with mingwex.
* Fall back to gas with vartype.c until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed.
CORE-8516

svn path=/trunk/; revision=64116
2014-09-11 11:03:20 +00:00
Amine Khaldi
8a8c6273fc [INCLUDES]
* Define DECLSPEC_HOTPATCH to nothing until http://llvm.org/bugs/show_bug.cgi?id=20888 is fixed.
CORE-8516

svn path=/trunk/; revision=64115
2014-09-11 10:50:15 +00:00
Amine Khaldi
db90bb6299 [CMAKE]
* Don't set -Wno-unused-but-set-variable until http://llvm.org/bugs/show_bug.cgi?id=20906 is fixed or the warnings are fixed upstream.
CORE-8516

svn path=/trunk/; revision=64114
2014-09-11 10:43:57 +00:00
Amine Khaldi
d84558f23a [GLU32]
* Link with mingwex.
* Allow multiple definitions at link time because longjmp exists in both our msvcrt and mingwex.
CORE-8516

svn path=/trunk/; revision=64113
2014-09-11 10:13:05 +00:00
Hervé Poussineau
364fbd6cea [CDFS]
- Correctly decode address of first session, which now uses MSF format since r64106

svn path=/trunk/; revision=64112
2014-09-10 19:45:57 +00:00
Amine Khaldi
9cf026de3a [CMAKE/CLANG]
* Do not add PIC and PIE related flags.
CORE-8516

svn path=/trunk/; revision=64111
2014-09-10 19:00:53 +00:00
Amine Khaldi
63012a3b59 [WIN32SS]
* Remove unused CompareSpans().

svn path=/trunk/; revision=64110
2014-09-10 18:49:29 +00:00
Hervé Poussineau
2d5c0c6269 [NTOS:IO]
- Support creating new registry keys when registering new interfaces
- IoSetDeviceInterfaceState: do not try to parse symbolic link name, as symbolic link name is enough to open the right object
- IoSetDeviceInterfaceState: send the notification on the right interface when registering interfaces on devices already having an interface


svn path=/trunk/; revision=64108
2014-09-10 16:05:44 +00:00
Amine Khaldi
e40fc3d65f [RICHED20]
* Fall back to gas with some source files until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed.
CORE-8516

svn path=/trunk/; revision=64107
2014-09-10 16:03:22 +00:00
Hervé Poussineau
fa4b180304 [CDFS] Use IOCTL_CDROM_READ_TOC instead of IOCTL_CDROM_GET_LAST_SESSION, which is not always available
svn path=/trunk/; revision=64106
2014-09-10 16:02:02 +00:00
Amine Khaldi
37ff67c8fc [CMAKE/CLANG]
* Link mingwex when needed because having it globally won't do.
CORE-8516

svn path=/trunk/; revision=64105
2014-09-10 15:56:48 +00:00
Amine Khaldi
009e72443d [CMAKE/CLANG]
* Do not pass -mwindows when linking executables.
CORE-8516

svn path=/trunk/; revision=64104
2014-09-10 15:34:05 +00:00
Thomas Faber
de2119ac36 [CONSRV]
- Fix MSVC build

svn path=/trunk/; revision=64103
2014-09-10 13:52:31 +00:00
Hermès Bélusca-Maïto
e393b80e07 [REACTOS]
Merge back condrv_restructure branch with everything up to revision 64079 (and up for maintenance), that made console kernel32 & winsrv CSR structures Win2k3 compliant.
CORE-7931 #comment Merged back to trunk in revision 64102.
CORE-7481 #comment kernel32 / winsrv console CSR structures are Win2k3-compliant in trunk since revision 64102 (and since revision 64079 in the condrv_restructure branch, see CORE-7931 for more details).

svn path=/trunk/; revision=64102
2014-09-10 00:08:04 +00:00
Hermès Bélusca-Maïto
ecfd6e6d6d Sync with trunk revision 64099.
svn path=/branches/condrv_restructure/; revision=64100
2014-09-09 23:20:40 +00:00
Hermès Bélusca-Maïto
b56ba45255 [OLEACC]
Fix language ID, that made msvc compilation fail with the error:
oleacc\lang/oleacc_Ru.rc(27) : error RC2151 : cannot reuse string constants, 0(0x0) - "unknown object" already defined. Cannot add 0(0x0) - "
(and similar for the other strings).
And as usual: "Thanks GCC for not having warned us before"...

svn path=/trunk/; revision=64099
2014-09-09 23:02:39 +00:00
Hermès Bélusca-Maïto
2eeef60fe6 [KERNEL32]
- Remove unneeded old commented code chunks.
- ConDllInitialize can set the current console locale for new threads,...
- ... and it can do its own cleaning.

svn path=/branches/condrv_restructure/; revision=64098
2014-09-09 21:24:44 +00:00
Amine Khaldi
58d6989040 [CMAKE/CLANG]
* Add -Wno-microsoft only for C modules at the moment (as we're using g++ for c++ modules).
CORE-8516

svn path=/trunk/; revision=64097
2014-09-09 18:42:43 +00:00
Amine Khaldi
43ca2f7692 [LIBSAMPLERATE]
* Actually, we have these function so we don't need to have inlined versions for them here.
CORE-8516

svn path=/trunk/; revision=64096
2014-09-09 18:35:49 +00:00
Amine Khaldi
7fffcd30aa [LIBSAMPLERATE]
* static __inline => extern __inline.
CORE-8516

svn path=/trunk/; revision=64095
2014-09-09 18:25:18 +00:00
Amine Khaldi
1931c699fc [CMAKE/CLANG]
* Globally link mingwex for C modules.
CORE-8516

svn path=/trunk/; revision=64094
2014-09-09 18:11:10 +00:00
Jérôme Gardou
1fdfbceee5 [SPEC2DEF]
- Fix GCC warning (weird doubled arguments for fprintf format)

svn path=/trunk/; revision=64093
2014-09-09 17:39:01 +00:00
Amine Khaldi
4810b26797 [WINE/LIST]
* Use an attribute that should work with both Clang and GCC. Brought to you by Thomas Faber.
CORE-8516

svn path=/trunk/; revision=64092
2014-09-09 17:25:25 +00:00
Amine Khaldi
8f51422b28 [CRT/INTRIN_X86]
* Add suffixes to satisfy Clang assembler.
CORE-8516

svn path=/trunk/; revision=64091
2014-09-09 16:39:19 +00:00
Amine Khaldi
12545de76f [NTOS:VF]
* Don't mark varargs functions as stdcall.

svn path=/trunk/; revision=64090
2014-09-09 16:32:51 +00:00
Amine Khaldi
d68784c08f [NTOS]
* Fall back to gas with some source files until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed.
CORE-8516

svn path=/trunk/; revision=64088
2014-09-09 12:28:48 +00:00
Amine Khaldi
14ad4ab4f6 [CMAKE/CLANG]
* Clang c++ support is not there yet, so we'll use g++ until then.
CORE-8516

svn path=/trunk/; revision=64087
2014-09-09 12:14:52 +00:00
Amine Khaldi
273956fd2a [RTL]
* Remove unused asmv2hashW and DeviceRootW.

svn path=/trunk/; revision=64086
2014-09-09 12:06:01 +00:00
Hermès Bélusca-Maïto
cfe6d0b69f [CONSRV]: Use a console input thread that doesn't need any hidden notification window of any sort.
svn path=/branches/condrv_restructure/; revision=64085
2014-09-08 23:31:12 +00:00
Christoph von Wittich
5d48b37adf [apitest/crt]
apply the same buffer size fix to _vsnwprintf test

svn path=/trunk/; revision=64082
2014-09-08 07:00:00 +00:00
David Quintana
c835af900d [BROWSEUI_APITEST]
* Do not depend on a file to exist, which in fact does not exist in ros. Fix the test expectations accordingly.

svn path=/trunk/; revision=64080
2014-09-08 01:54:29 +00:00
Hermès Bélusca-Maïto
a9feb19181 [KERNEL32][CONSRV]
- Make CONSRV_API_CONNECTINFO, CONSOLE_ALLOCCONSOLE and CONSOLE_ATTACHCONSOLE Windows 2k3-compatible, so that using either their kernel32 in ROS or our kernel32 in windows, works.
  For that, complete and fix also the CONSOLE_START_INFO and CONSOLE_PROPERTIES structures.
- Rewrite Alloc/AttachConsole and the console initialization functions to match what Windows expects when connecting to the console server, and make them compatible with the fixed structures.
- Fix SrvAllocConsole and SrvAttachConsole accordingly, and few other console initialization functions in consrv.
- Fix input EXE name support and store also the current directory from which we were started.
- Use a temporarily define USE_CONSOLE_INIT_HANDLES that is not enabled yet because we do not use console initialization events (used by Windows for Alloc/AttachConsole and console initialization functions). Until this gets implemented in ReactOS, putting windows' kernel32 in ReactOS will fail when it will try to wait on those events.
- For SrvAlloc/SrvAttach/SrvFreeConsole, ConSrvConnect and ConSrvDisconnect: correctly mark the process as console app.
- Fix process initialization in ConSrvNewProcess.
- Get rid of CONSOLE_PROCESS_DATA::ParentConsoleHandle member.
- Temporarily move the link settings retrieval in console.c and hack a bit icon setting.

[CONSRV]
- Move console title setting from condrv back to consrv where it should belong in fact.

CORE-7931 #resolve #comment ConsolepAlloc and ConsolepAttach finally fixed in revision 64079.

svn path=/branches/condrv_restructure/; revision=64079
2014-09-07 22:53:49 +00:00
Timo Kreuzer
38d7031ac9 [PSEH]
- On clang builds we need to do the return twice trick, since we don't have asm goto, which would allow us to specify labels in the code where we can branch to on an exception. So we return back to from where we called the registration function and decide how to proceed from there nasedon the return value. For this we need to save the return address in the registration record and use it in __SEH3$_InvokeEmbeddedFilterFromRegistration

svn path=/trunk/; revision=64078
2014-09-07 21:40:07 +00:00
Timo Kreuzer
cc9ee2cf1b [PSEH]
- Fix compilation of PSEH with Clang
- Fix _SEH3$_InvokeEmbeddedFilterFromRegistration

svn path=/trunk/; revision=64077
2014-09-07 20:52:20 +00:00
Amine Khaldi
e9389a03f4 [DPLAY]
* Add the (empty) stub file to build.
* We don't need to link ntdll.
* dplay now compiles with Clang.
CORE-8516

svn path=/trunk/; revision=64076
2014-09-07 20:19:05 +00:00
Hermès Bélusca-Maïto
4c18b81f0f [CONSRV]
- Start to implement a popup list of entered commands (history), WIP.
- Fix Get/SetConsoleHistoryInfo.
- Implement SetConsoleCommandHistoryMode.

svn path=/branches/condrv_restructure/; revision=64075
2014-09-07 20:05:39 +00:00
Amine Khaldi
3fc8f2ce20 [NTOS:CC]
* Remove unused ExSectionInfoClass.

svn path=/trunk/; revision=64074
2014-09-07 19:16:30 +00:00
Daniel Reimer
6452361bbd [BOOTDATA]
Add libp11-kit-0.dll to optional components, because without it, our iexplore, sometimes FF and the Chrome installer lament about it missing.

svn path=/trunk/; revision=64073
2014-09-07 18:46:43 +00:00
Amine Khaldi
726d95b525 [OPENGL32/MESA]
* Zap some more unneeded variables/functions.
CORE-7499

svn path=/trunk/; revision=64072
2014-09-07 18:34:37 +00:00
Amine Khaldi
57ab19b141 [CALC]
* Fix Clang build.

svn path=/trunk/; revision=64071
2014-09-07 18:18:00 +00:00
Amine Khaldi
91020e4044 [CRT/MATH]
* Use the GCC version if inline assembly in ldexp() as it works with Clang too.

svn path=/trunk/; revision=64070
2014-09-07 18:13:52 +00:00
Christoph von Wittich
31ceb315a3 [crt]
add null check (for ntdll only)
fixes remaining test failure in ntdll:string

svn path=/trunk/; revision=64069
2014-09-07 18:11:50 +00:00
Christoph von Wittich
c14e88bd12 [apitests/crt]
pass the correct buffer size

svn path=/trunk/; revision=64068
2014-09-07 18:11:08 +00:00
Amine Khaldi
b4cec44624 [CRT]
* Use gas to compile except/cpp.c until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed.

svn path=/trunk/; revision=64067
2014-09-07 17:44:24 +00:00
Amine Khaldi
11a6a9d17b [NTSTRSAFE]
* Don't mark varags functions as stdcall.

svn path=/trunk/; revision=64066
2014-09-07 17:30:44 +00:00
Amine Khaldi
4a442e9d1b [PSEH3]
* Enable PSEH for Clang builds.

svn path=/trunk/; revision=64065
2014-09-07 17:24:08 +00:00
Amine Khaldi
d269d9c801 [CMAKE/CLANG]
* Properly set CMAKE_STATIC_LIBRARY_SUFFIX and CMAKE_LINK_LIBRARY_SUFFIX for Clang builds.

svn path=/trunk/; revision=64064
2014-09-07 17:19:14 +00:00
Amine Khaldi
ada8c2467a [SAL]
* Add some missing _Check_return_ annotations.

svn path=/trunk/; revision=64063
2014-09-07 17:10:44 +00:00
Amine Khaldi
6327d11e06 [CRT/INTRIN_X86]
* Skip some intrinsics when compiling with Clang.

svn path=/trunk/; revision=64062
2014-09-07 17:09:34 +00:00
Christoph von Wittich
85304acb22 [crt]
revert changes to streamout_char

svn path=/trunk/; revision=64061
2014-09-07 13:55:36 +00:00
Amine Khaldi
d7d700b347 [CMAKE/CLANG]
* Fix Clang def file handling.
* Clang doesn't have -Wold-style-declaration (yet?).

svn path=/trunk/; revision=64060
2014-09-07 12:36:26 +00:00
Amine Khaldi
8795b7177e [CMAKE]
* Fix Clang toolchain file with regards to static libs creation.

svn path=/trunk/; revision=64059
2014-09-07 12:33:13 +00:00
Amine Khaldi
6881b5d1fa [OPENGL32/MESA]
* Zap extra_EXT_secondary_color_flush_current and EXT_secondary_color.
CORE-7499

svn path=/trunk/; revision=64058
2014-09-07 12:30:40 +00:00
Amine Khaldi
bd15aba1f8 [OPENGL32/MESA]
* Zap unused nonlinear_to_linear().
CORE-7499

svn path=/trunk/; revision=64057
2014-09-07 11:52:18 +00:00
Christoph von Wittich
43a4a1563c [crt]
fix behavior of _sxprintf when a NULL buffer is supplied
fixes ntdll:string winetest

svn path=/trunk/; revision=64056
2014-09-07 10:34:17 +00:00
Hermès Bélusca-Maïto
b84022008b [ROSAUTOTEST]
Initialize hStdInput to the standard input handle, and hStdError to the output pipe, instead of keeping these handles NULL. See the details why this is important in the Jira report ROSTESTS-140.
ROSTESTS-140 #resolve #comment Fixed.

svn path=/trunk/; revision=64055
2014-09-07 00:34:26 +00:00
James Tabor
7ae67c3b7a [Win32k]
- Apply band-aid patch from CORE-8506. Problem still persists, how did a bad region get plugged into the DCE structure?

svn path=/trunk/; revision=64054
2014-09-06 17:47:45 +00:00
Eric Kohl
adcc14bdf9 [RPCRT4]
EmbeddedPointerBufferSize and EmbeddedPointerMarshall: Store the pointer to the current array element in the stub message. This fixes buffer size calculation for arrays that contain structs with embedded pointer. This patch will also be submitted to the WINE project.

svn path=/trunk/; revision=64053
2014-09-06 16:51:32 +00:00
Daniel Reimer
f3630ec56c [TRANSLATION]
Czech translation update by Radek Liska
 + Polish translated new string by Adam Stachowicz
 + German translated new string by ME
CORE-8499 #resolve #comment Committed, thx.

svn path=/trunk/; revision=64052
2014-09-06 13:18:33 +00:00
Daniel Reimer
6f1a57a978 [TRANSLATION]
CMD Utils russian translate by Kudratov Olimjon
CORE-8482 #resolve #comment Committed with \" -> "" and Tabs removed. Thx
Mplay32 russian translate by Kudratov Olimjon
CORE-8480 #resolve #comment Committed with \" -> "" and Tabs removed. Thx
CMD Ping russian translate by Kudratov Olimjon
CORE-8481 #resolve #comment Committed with \" -> "" and Tabs removed. Thx
Some fixes and improvements in Russian Translation by Kudratov Olimjon
CORE-8495 #resolve #comment Committed with \" -> "" and Tabs removed. Thx

svn path=/trunk/; revision=64051
2014-09-06 13:03:13 +00:00
Johannes Anderwald
f7fd60d56d [SHELL32]
- rewrite _ILCreateFontItem
- fix a buffer overflow

svn path=/trunk/; revision=64050
2014-09-06 12:33:17 +00:00
Daniel Reimer
60893ab6d4 [DLL]
Shell32 and browseui: update Russian Translation by Akhlamov Petr
CORE-7981 #resolve #comment Committed except the IDS_STANDARD_TOOLBAR part in browseui which is not defined ANYWHERE, thx.

svn path=/trunk/; revision=64049
2014-09-06 12:24:49 +00:00
Daniel Reimer
9a522912c1 [MEDIA]
Turkish Translation Update by Erdem Ersoy
CORE-7861 #comment Committed your translation notes.

svn path=/trunk/; revision=64048
2014-09-06 11:13:45 +00:00
Daniel Reimer
c7a0e56075 [MEDIA]
Translation Notes by Ștefan Fulea
CORE-8468 #resolve #comment Committed.

svn path=/trunk/; revision=64047
2014-09-06 11:09:16 +00:00
Timo Kreuzer
c8e3595247 [XDK/DDK]
- Remove useless inline definition of InterlockedBitTestAnd(Re)Set, which was not used anyway.
- Update template for ntdef.h

svn path=/trunk/; revision=64046
2014-09-05 21:54:49 +00:00
Timo Kreuzer
b411c4825b [PSDK]
- Shuffle some definitions in ntdef.h
- Fix definition of UInt32x32To64 in intsafe.h

svn path=/trunk/; revision=64045
2014-09-05 21:47:09 +00:00
Hermès Bélusca-Maïto
0f46d2a9bd Code formatting mainly (and comments fixes for future usage).
svn path=/branches/condrv_restructure/; revision=64044
2014-09-05 21:12:42 +00:00
Hermès Bélusca-Maïto
f7ed0f0444 [CONSRV]: Code reorganization part 2 (add some comments for future fixes).
svn path=/branches/condrv_restructure/; revision=64043
2014-09-05 21:08:15 +00:00
Hermès Bélusca-Maïto
f03589f92e [CONSRV]: Code reorganization part 1.
svn path=/branches/condrv_restructure/; revision=64042
2014-09-05 21:06:36 +00:00
Timo Kreuzer
f3abbbdb49 [GDI32]
Add comment about broken #if 0'ed code, noticed by Hermes.

svn path=/trunk/; revision=64041
2014-09-05 20:55:01 +00:00
Timo Kreuzer
a780f4c921 [GDI32]
Use GdiAllocBatchCommand in SetBrushOrgEx instead of manual and broken fiddling with GdiTebBatch. Fixes CID 716217.

svn path=/trunk/; revision=64040
2014-09-05 20:16:52 +00:00
Timo Kreuzer
e5134bc5e0 [SPEC2DEF] Add support for ARM asm stub generation
[HALARM] Add a dummy CMakeLists.txt
[BOOTVID] Fix ARM compilation

svn path=/trunk/; revision=64039
2014-09-05 20:07:53 +00:00
Timo Kreuzer
d6732790c5 [PSEH]
Add dummy seh_prolog.s for arm. Dedicated to Z98

svn path=/trunk/; revision=64038
2014-09-05 17:55:35 +00:00
Amine Khaldi
1c205595f7 [NTOS:LPC]
* Remove unused pointer and logically dead code paths. CID 1237020.
CORE-7975

svn path=/trunk/; revision=64037
2014-09-05 09:41:25 +00:00
Amine Khaldi
712fdc44db [NTOS:OB]
* Fix a nasty typo in ObOpenObjectByName(). CID 1237016.
CORE-7975

svn path=/trunk/; revision=64036
2014-09-05 09:20:37 +00:00
Amine Khaldi
489a69fa41 [MSVCRT]
* Use Wine's _pclose(). Fixes msvcrt:misc crash.
CORE-8080

svn path=/trunk/; revision=64035
2014-09-04 13:39:51 +00:00
Sylvain Petreolle
1b538306e3 [EVENTLOG]
Remove the event log handle from the list *before* destroying it.
Fixes failure in advapi32:eventlog double close test.

svn path=/trunk/; revision=64034
2014-09-03 23:07:47 +00:00
Sylvain Petreolle
ee662394dd [EVENTLOG]
Fix creation of backup event log files.
Thanks to zefklop for his help.

svn path=/trunk/; revision=64033
2014-09-03 21:03:35 +00:00
Amine Khaldi
088ad44f8c [URLMON]
* Revisit the exports to match IE8 which we apparently report.
CORE-8174

svn path=/trunk/; revision=64032
2014-09-03 19:29:54 +00:00
Amine Khaldi
1dc15efcd4 [URLMON]
* Bring back CoInternetCombineIUri.
CORE-8174

svn path=/trunk/; revision=64031
2014-09-03 18:52:16 +00:00
Hermès Bélusca-Maïto
cca75b0c65 [USBHUB]: Fix a typo, corrected by kikidee!
CORE-8501 #resolve #comment Corrected, thanks!

svn path=/trunk/; revision=64030
2014-09-02 18:40:08 +00:00
David Quintana
e8a3f9a641 [BROWSEUI_APITEST]
* Improve SHExplorerParseCmdLine tests with whole bunch of new lines, and update the EXPLORER_INFO struct to match the findings.

svn path=/trunk/; revision=64029
2014-09-02 00:50:15 +00:00
Jérôme Gardou
9aff965362 [KMTESTS]
- Test what happens to the 'base' of memory allocated with ZwAllocateVirtualMemory
 - Fix some tests according to w2k3sp2 behaviour.
Thanks Amine for testing ;-)

svn path=/trunk/; revision=64028
2014-09-01 22:41:36 +00:00
Hermès Bélusca-Maïto
6f7df56a98 [INCLUDE/SUBSYS]: Un-anonymous CSR structures.
svn path=/branches/condrv_restructure/; revision=64027
2014-09-01 21:59:53 +00:00
Jérôme Gardou
a3991f48f7 [CRYPT32]
- Merge the "Root" and the "AuthRoot" certificate stores
This, with the now almost faaous gnutls DLLs, allows mshtml:events test to not hang

svn path=/trunk/; revision=64026
2014-09-01 20:58:41 +00:00
Jérôme Gardou
3596925092 [HIVESFT]
- Import various certificates required to open secure connection to www.winehq.org

svn path=/trunk/; revision=64025
2014-09-01 20:58:32 +00:00
Hermès Bélusca-Maïto
ccce1066ef [HAL]
Update the PCI hardware IDs. Extracted from the pci.ids database from http://pciids.sourceforge.net/ from 2014.08.30
Maintained by Martin Mares <mj@ucw.cz> and other volunteers from the PCI ID Project at http://pci-ids.ucw.cz/.

svn path=/trunk/; revision=64024
2014-09-01 16:42:58 +00:00
Jérôme Gardou
2ce192ad12 [SCHANNEL]
- Restore a few function forwarders to secur32
Noticed by Timo. Thanks!

svn path=/trunk/; revision=64023
2014-09-01 16:32:26 +00:00
Jérôme Gardou
8574e146d5 [SECUR32]
- Update spec file
[SCHANNEL]
 - Update stubs list
Please blame binutils

svn path=/trunk/; revision=64022
2014-09-01 12:21:16 +00:00
Jérôme Gardou
775a06dfc5 [SCHANNEL]
- Uglier but (hopefully) functioning hack for Visual Studio compilers

svn path=/trunk/; revision=64021
2014-09-01 12:00:20 +00:00
Thomas Faber
5c7187c301 [KERNEL32]
- Use signed multiplication for signed numbers
CORE-8502 #resolve

svn path=/trunk/; revision=64020
2014-09-01 11:58:42 +00:00
Jérôme Gardou
a08e128f01 [SCHANNEL]
- try fixing compilation with VS>=2010

svn path=/trunk/; revision=64019
2014-09-01 09:33:28 +00:00
Jérôme Gardou
c7523cf282 [REACTOS.DFF]
- Update GNUTLS DLL list

svn path=/trunk/; revision=64018
2014-09-01 09:33:16 +00:00
Hermès Bélusca-Maïto
4948419f9f [BOOTVID]
- Synchronize correctly arm/bootdata.c with i386, as it was done previously.
- Code formatting: whitespace fixes, add braces/brackets and spaces where needed; comments styling.
- Correctly put braces for casts and around macro parameters.
- Add some IN/OUT.
- Fix parameter names of a function.

[INBV]
- Fix parameter names of two functions.

svn path=/trunk/; revision=64017
2014-08-31 23:00:29 +00:00
Timo Kreuzer
02c93ba93a [PSDK/XDK]
First version of autogenerated ntdef.h and winnt.h

svn path=/trunk/; revision=64016
2014-08-31 20:44:56 +00:00
Thomas Faber
c72f0078f1 [NETAPI32]
- Generate empty strings instead of NULL strings in BuildUserInfoBuffer
CORE-8343 #resolve

svn path=/trunk/; revision=64015
2014-08-31 19:37:19 +00:00
Thomas Faber
f8d910f07d [NETAPI32]
- Make the code in BuildUserInfoBuffer slightly more uniform so it can be generated.
See https://reactos.org/wiki/User:ThFabba/netuser.py for the generation script
CORE-8343

svn path=/trunk/; revision=64014
2014-08-31 19:29:53 +00:00
Timo Kreuzer
53c6f278b7 [winnt.h]
- UNLONG -> DWORD
- Add missing PROBE_ALIGNMENT32, DECLSPEC_NOTHROW, SYSTEM_CACHE_ALIGNMENT_SIZE, DECLSPEC_CACHEALIGN, DECLSPEC_UUID, DECLSPEC_DEPRECATED, DECLSPEC_DEPRECATED_DDK, COMPARTMENT_ID, OBJECTID, ALL_PROCESSOR_GROUPS, RATE_QUOTA_LIMIT, PRODUCT_*, LANG_*, SORT_*
- Remove PRODUCT_SERVER_V, PRODUCT_CORE_LANGUAGESPECIFIC
- Add some missing definitions for ARM
- Fix tag of LIST_ENTRY32/64
=> one step closer to wo^Z^Z autogeneration.

svn path=/trunk/; revision=64013
2014-08-31 15:57:16 +00:00
Hermès Bélusca-Maïto
241cfca838 Code formatting only.
svn path=/branches/condrv_restructure/; revision=64012
2014-08-31 14:57:43 +00:00
Hermès Bélusca-Maïto
3e02669bee [CONSRV]: Continuing code refactoring of revisions 63866, 63867, 63868 and 63874.
svn path=/branches/condrv_restructure/; revision=64011
2014-08-31 14:04:03 +00:00
Hermès Bélusca-Maïto
af311f30a9 [CONSRV]: Merge again ConDrvProcessKey and ConioProcessKey.
svn path=/branches/condrv_restructure/; revision=64010
2014-08-31 14:01:21 +00:00
Timo Kreuzer
52701eb338 [winnt.h]
Change the order of definitions to more closely match ntdef.h

svn path=/trunk/; revision=64009
2014-08-31 13:41:14 +00:00
Thomas Faber
c78618dada [NTOS:CC]
- Consistently use LONGLONG for file offsets

svn path=/trunk/; revision=64008
2014-08-31 12:56:36 +00:00
Hermès Bélusca-Maïto
ff5a8823e0 [CONSRV]
- Some code cleaning.
- Bring back the terminal bell that was added in revision 58253 and disabled in revision 58447.

svn path=/branches/condrv_restructure/; revision=64007
2014-08-31 11:58:50 +00:00
Thomas Faber
c7f9f5aaca [NTOS:CC]
- Actually flush the whole file in CcFlushCache if FileOffset is NULL instead of just the first 4GB

svn path=/trunk/; revision=64006
2014-08-31 11:47:41 +00:00
Hermès Bélusca-Maïto
abe58c387a [CONSRV]: Code cleaning.
svn path=/branches/condrv_restructure/; revision=64005
2014-08-31 11:24:23 +00:00
Hermès Bélusca-Maïto
b47d51c6a3 [CONSRV][CONDRV]
- Move CSR details (pre/post-processing, unicode translation) of reading/writing console inputs to consrv, where they belong.
- Add a temporary solution to screenbuffer resizing notifications, to be properly fixed later on.

svn path=/branches/condrv_restructure/; revision=64004
2014-08-31 11:07:09 +00:00
Thomas Faber
da56d4c1d6 [CMAKE]
- Disable C4244 (implicit integer truncation) warning on MSVC builds because it causes people to add broken casts that make the situation worse.

svn path=/trunk/; revision=64003
2014-08-31 10:55:32 +00:00
Thomas Faber
5c1f39d5c8 [KMTESTS:KE]
- Increase timeout in KeGuardedMutex test to avoid flakiness

svn path=/trunk/; revision=64002
2014-08-31 10:27:35 +00:00
Hermès Bélusca-Maïto
6100631ce9 [VIDEOPRT]: "...Sesion" --> "...Session": fix a typo.
svn path=/trunk/; revision=64001
2014-08-31 00:04:20 +00:00
Timo Kreuzer
c7fe9e7521 [PSDK/...]
- Add/improve some definitions in ntdef.h
- fix definition of SUBLANG_SINDHI_PAKISTAN in winnt.h
- enable ARRAYSIZE in winnt.h
- #undef ARRAYSIZE in certain wine code to avoid redefinition
- Use PCCH instead of PCCHAR in ext2lib (PCCHAR is ntdef.h only)
- remove obsolete definitions from smss.h

svn path=/trunk/; revision=64000
2014-08-30 22:26:42 +00:00
Jérôme Gardou
66523c6e7d [README.WINE]
- Relevant update from previous commits

svn path=/trunk/; revision=63999
2014-08-30 21:43:40 +00:00
Timo Kreuzer
bc9e621611 [XDK]
Initial work for autogenerating ntdef.h and winnt.h to reduce code duplication by sharing a lot of stuff.

svn path=/trunk/; revision=63998
2014-08-30 21:35:16 +00:00
Jérôme Gardou
e6b0427c92 [REACTOS.DFF]
- Add optional GNUTLS DLLs for the curious. They can be grabbed from here: ftp://ftp.gnutls.org/gcrypt/gnutls/w32/gnutls-3.2.16-w32.zip
We will provide a MSI package soon

svn path=/trunk/; revision=63997
2014-08-30 21:33:42 +00:00
Jérôme Gardou
57108b7872 [SCHANNEL]
- Import TLS/SSL support on top of GNUTLS from wine
Won't work until we ship the gnutls DLLs

svn path=/trunk/; revision=63996
2014-08-30 21:33:21 +00:00
Jérôme Gardou
cccf98d172 [INCLUDE]
- import GNUTLS headers
 - define wine's SONAME_LIBGNUTLS to a relevant value

svn path=/trunk/; revision=63995
2014-08-30 21:32:52 +00:00
Jérôme Gardou
6c31293a0b [SECUR32]
- Import SSPI module loading from wine

svn path=/trunk/; revision=63994
2014-08-30 21:31:32 +00:00
Timo Kreuzer
d7d4f8d918 [HPP]
Implement support for variable substitution

svn path=/trunk/; revision=63993
2014-08-30 17:18:48 +00:00
Hermès Bélusca-Maïto
0482248489 [CONSRV]: Start implementing popup windows (it's what you see when you press e.g. the F7 key in your console, when you run cmd.exe).
svn path=/branches/condrv_restructure/; revision=63992
2014-08-30 16:20:32 +00:00
Hermès Bélusca-Maïto
a55a2fbbc4 [CONDRV]
- In ConDrvChangeScreenBufferAttributes, change also the popup attributes.
- In some functions we need to check validity of Read/WriteCoord parameters, add fixme for now, that need to be fixed later on.

svn path=/branches/condrv_restructure/; revision=63991
2014-08-30 16:18:07 +00:00
Hermès Bélusca-Maïto
ccaa07fecf [CONSRV]: Code formatting only.
svn path=/branches/condrv_restructure/; revision=63990
2014-08-30 15:59:35 +00:00
Amine Khaldi
b1661e20f1 [W32KNAPI_APITEST]
* Here's another memset call..

svn path=/trunk/; revision=63989
2014-08-30 12:05:36 +00:00
Amine Khaldi
d332e8c9c5 [W32KNAPI_APITEST]
* Fix a memset call. CID 1223160.
CORE-7975

svn path=/trunk/; revision=63988
2014-08-30 12:03:58 +00:00
Amine Khaldi
78f1b595f0 [W32KNAPI_APITEST]
* Remove some unused pointer values. CID 1223186.
CORE-7975

svn path=/trunk/; revision=63987
2014-08-30 11:53:17 +00:00
Amine Khaldi
d7031577fc [USER32]
* Remove unused pointer. CID 1223187.
CORE-7975

svn path=/trunk/; revision=63986
2014-08-30 11:38:16 +00:00
Thomas Faber
0cca44bdb8 [FREELDR]
- Improve GetPciIrqRoutingTable. Patch by Sergey Chernov (serrox at ya dot ru), small modifications by me.
CORE-8440

svn path=/trunk/; revision=63985
2014-08-30 10:59:25 +00:00
Thomas Faber
038c129cf6 [UNIATA]
- Update to 0.45a8
CORE-8432 #resolve

svn path=/trunk/; revision=63984
2014-08-30 10:17:53 +00:00
Amine Khaldi
7ad0c2acd8 [LSASRV]
* Fix MSVC build.
* Arch, review patches before committing!

svn path=/trunk/; revision=63983
2014-08-30 08:53:18 +00:00
Thomas Faber
9eb92a4f52 [NTOS:PO]
- Enforce SeShutdownPrivilege in NtSetSystemPowerState
CORE-8476 #resolve

svn path=/trunk/; revision=63982
2014-08-30 08:31:28 +00:00
Thomas Faber
77cc7731ba [USETUP][WINLOGON]
- Acuire SeShutdownPrivilege before calling NtShutdownSystem
CORE-8476

svn path=/trunk/; revision=63981
2014-08-30 07:04:57 +00:00
Thomas Faber
eb33752250 [EVENTVWR]
- Use strsafe functions
- Don't cast malloc
- PSTR/PWSTR typedefs are for null-terminated strings, which output buffers aren't
- "dwData" implies the value is data, not the size of data. Also, cbData is specified in bytes (hence "cb")
- Avoid pointless use of HEAP_ZERO_MEMORY

svn path=/trunk/; revision=63980
2014-08-30 07:01:47 +00:00
Hermès Bélusca-Maïto
e3e54a09b3 [CONSRV]
Commit my work that I've done during my trip from Albi back to Paris (part 2/2):
Remove terminal-specific line discipline code from CONDRV back to CONSRV.

svn path=/branches/condrv_restructure/; revision=63979
2014-08-29 19:54:10 +00:00
Hermès Bélusca-Maïto
742f7ebd4b [CONSRV]
Commit my work that I've done during my trip from Albi back to Paris (part 1/2):
- QuickEdit and InsertMode are input modes that are related to CONSRV terminal(s), therefore remove them from CONDRV that needs to be agnostic about terminal specificities.
- Separate history helper functions from the line discipline functions to different files.

svn path=/branches/condrv_restructure/; revision=63978
2014-08-29 19:45:45 +00:00
Jérôme Gardou
b091e65253 [NTOS/MM]
- Properly decrement pagetable frame entry share count when unmapping a system-mapped section
 - Handle the PTE dirty bit

svn path=/trunk/; revision=63977
2014-08-29 09:21:35 +00:00
Eric Kohl
1294e7eb2c [ROSTESTS]
Fix potential cut & paste bugs.

svn path=/trunk/; revision=63976
2014-08-28 20:48:20 +00:00
Hermès Bélusca-Maïto
7fa650d39e [GETUNAME]
- Update definitions of en-US.rc for Unicode 7.0, patch by Baruch Rutman.
- Synchronize the other resource files wrt. en-US.rc. To translators and future "synchronizer" 8^) : please keep in mind that you need also to synchronize all the other language files!

svn path=/trunk/; revision=63975
2014-08-28 17:46:05 +00:00
Hermès Bélusca-Maïto
bdbba0e401 [KERNEL32]: Russian translation update by Olimjon Kudratov.
CORE-8450 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=63974
2014-08-28 15:06:14 +00:00
Hermès Bélusca-Maïto
4f43c89b9e [RAPPS]
Many Improvements and Many Fixes by Erdem Ersoy.
CORE-7710 #comment Version 10 of the patch committed in revision 63973, thanks!

svn path=/trunk/; revision=63973
2014-08-28 14:42:57 +00:00
Hermès Bélusca-Maïto
91c4d65d7b [TRANSLATION]
Turkish translation update by Erdem Ersoy.
CORE-7861 #comment Translation_7.patch, tr-TR.h (for usetup) and trk.nls.patch committed in revision 63972, big thanks!!

svn path=/trunk/; revision=63972
2014-08-28 14:29:48 +00:00
Hermès Bélusca-Maïto
dd3bb2c50e [USETUP]: Polish translation by Adam Stachowicz.
CORE-5790 #resolve #comment Usetup polish translation committed in revision 63971, thanks! To all translators: please recheck that nothing was corrupted via encoding problems.

svn path=/trunk/; revision=63971
2014-08-28 14:00:15 +00:00
Hermès Bélusca-Maïto
a6182b959b [TASKMGR]
- Czech controls resize by Radek Liska,
- Russian controls resize by Dmitry Gorbachev, Adam Stachowicz & others
- Polish translation update by Adam Stachowicz.
CORE-5790 #comment Layout & translation fixes for the Task manager committed in revision 63970.

svn path=/trunk/; revision=63970
2014-08-28 13:52:17 +00:00
Hermès Bélusca-Maïto
3478329eaf [MPLAY32]: Update polish resources, by Adam Stachowicz.
CORE-5790 #comment Polish translation for MPLAY32 committed in revision 63969, thanks :)

svn path=/trunk/; revision=63969
2014-08-28 13:34:41 +00:00
Dmitry Gorbachev
5e912cacd2 [DBGHELP]
Add a missing static keyword.

svn path=/trunk/; revision=63968
2014-08-28 07:31:55 +00:00
Daniel Reimer
94c6d0ca29 [TASKMGR]
German translation update. / Fix the "&" locations to follow the Windows XP GER way.

svn path=/trunk/; revision=63967
2014-08-27 21:13:33 +00:00
Sylvain Petreolle
88ca19830e strsafe.h++;
svn path=/trunk/; revision=63966
2014-08-27 21:01:47 +00:00
Sylvain Petreolle
0e8e10e71a [EVENTLOG]
Fix crash in LogfCreate when LogName is NULL.
strsafe.h++;

svn path=/trunk/; revision=63965
2014-08-27 20:59:27 +00:00
Sylvain Petreolle
e9807d5306 Fix PCH=0 build.
svn path=/trunk/; revision=63964
2014-08-27 20:32:13 +00:00
Sylvain Petreolle
1f48cab02e [ROSAUTOTEST]
Report the start and end of the tests in the Application event log.
This gives data for the advapi32:eventlog tests.


svn path=/trunk/; revision=63963
2014-08-27 20:19:43 +00:00
Pierre Schweitzer
bb1bbe0f7c [PSDK]
Add two missing constants

svn path=/trunk/; revision=63962
2014-08-27 19:29:41 +00:00
Hermès Bélusca-Maïto
b3c6c5d83c [TASKMGR]
- Simplify EnablePrivilege().
- Add "Lock computer" option to the shutdown menu.
- Display the last error description if something failed when selecting one of the shutdown options.
Inspired by the patch of Robert Naumann (see CORE-8048).
CORE-8048 #resolve #comment I adapted some of your ideas to what I already committed in revision 63955, thanks!

svn path=/trunk/; revision=63961
2014-08-27 12:46:22 +00:00
Hermès Bélusca-Maïto
2ee074752d [MPLAY32]: Improve ShowLastWin32Error().
svn path=/trunk/; revision=63960
2014-08-27 12:38:45 +00:00
Thomas Faber
104275db8c [PSEH_TEST]
- Add test case that uses a significant amount of stack in the except handler
CORE-8469 #resolve

svn path=/trunk/; revision=63959
2014-08-26 21:49:06 +00:00
Jérôme Gardou
71050e2752 [PSEH3]
- Do not try to dereference potentially invalid pointers.
The FrameRegister->ExceptionPointers pointer is only valid in the context of the filter function. Indeed, the PSEH3 exception handler allocates it on the stack, and when control gets back to the __excep { } coder, ebp and esp were already restored to their original values, so whatever can happen to those pointers.
Investigation and debugging mastered by Thomas Faber, whose efforts were shamelessly stolen by me to improve my commit statistics.
CORE-8469 #comment patch committed, you may want to commit your testcase though :-p

svn path=/trunk/; revision=63958
2014-08-26 21:35:21 +00:00
Hermès Bélusca-Maïto
04e015a098 [BOOTDATA]
Use the standard C:\YourNTOSInstallDirectory\Temp temp directory as it is done on Windows, instead of C:\TEMP.
Patch by Lee Schroeder.
CORE-8390 #resolve #comment Fixed, thanks ;)

svn path=/trunk/; revision=63957
2014-08-26 20:26:17 +00:00
Hermès Bélusca-Maïto
71bac7de7e [MPLAY32]:
- Add a forgotten full stop for an error string.
- Update spanish translation, by Javiez Fernandez.
CORE-8470 #resolve #comment Committed, thanks :)

svn path=/trunk/; revision=63956
2014-08-26 19:16:08 +00:00
Hermès Bélusca-Maïto
150f6b549f [TASKMGR]
Starting implementing a shutdown menu in taskmgr (see eg. on Windows XP).
It is a synthesis of the available patches of CORE-2332 from Mario Kacmar, fixed by Timo Kreuzer and by myself.

CORE-2332 #resolve #comment Shutdown code committed in revision 63955, closing the report. Please reopen when you implement the other missing functionalities.

svn path=/trunk/; revision=63955
2014-08-26 18:57:20 +00:00
Hermès Bélusca-Maïto
1819faad83 [KERNEL32]: Fix SetSystemPowerState.
svn path=/trunk/; revision=63954
2014-08-26 17:56:22 +00:00
Thomas Faber
49a3d49fe5 [FASTFAT]
- Do not use direct I/O since it limits read/write operations to 64 MB
CORE-8410 #resolve

svn path=/trunk/; revision=63953
2014-08-26 13:41:57 +00:00
Thomas Faber
cd86b37abb [NTOS:MM]
- Assert correct pool entry alignment in ExFreePoolWithTag

svn path=/trunk/; revision=63952
2014-08-26 12:47:02 +00:00
Thomas Faber
8dde0dd217 [CMLIB]
- Fix format specifiers to work in host-tools

svn path=/trunk/; revision=63951
2014-08-26 11:29:15 +00:00
Thomas Faber
70ecdc6611 [CMLIB]
- Print a debug message if bin validation fails in HvpInitializeMemoryHive.

svn path=/trunk/; revision=63950
2014-08-26 10:53:21 +00:00
Thomas Faber
10e9fc81a1 [NTOS:CM]
- Correctly delete resource in failure cases of CmpInitializeHive. Fixes pool corruption when trying to load an invalid hive file.

svn path=/trunk/; revision=63949
2014-08-26 10:49:38 +00:00
Thomas Faber
090134e9e6 [NTOS:MM]
- Fix broken assert mistakenly added. By Jérôme, delayed at my request. Thanks.

svn path=/trunk/; revision=63948
2014-08-26 09:22:29 +00:00
Jérôme Gardou
bd074499cb [NTOS/MM]
- Bring back PTE frame refcounting when serving a prototype PTE page fault.
 - Fix a bug in MiDeletePte where the said PTE frame was not unshared.
 - Improve transitional PTEs deletion (will be needed for future work).
Do not always trust the comments stating that "strange RosMm code broke everything"

svn path=/trunk/; revision=63947
2014-08-25 12:33:49 +00:00
Jérôme Gardou
c8374ba758 [WIN32K]
- Addendum to r63933: Pass absolute value of the font width to freetype.
CORE-4657 Somehow got lost in the number of attached files.
Spotted by Thomas Faber

svn path=/trunk/; revision=63946
2014-08-25 09:57:27 +00:00
Jérôme Gardou
f2b046c263 [SCSIPORT]
- Use kernel handles instead of process handles

svn path=/trunk/; revision=63945
2014-08-24 19:49:42 +00:00
Hermès Bélusca-Maïto
794c2c3b47 Fix the fix of revision 63943. Noticed by Thomas Faber.
CORE-8150 #comment Indeed, do not confuse 'l' (lowercase L) with 'I' (uppercase i)!

svn path=/trunk/; revision=63944
2014-08-24 19:32:54 +00:00
Hermès Bélusca-Maïto
fcb939fd0c [DESK]: Fix *printf format specifier.
Adapted from a patch by Victor Martinez Calvo.

CORE-8150 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=63943
2014-08-24 17:16:50 +00:00
Hermès Bélusca-Maïto
9cb415b091 Remove unneeded parentheses.
svn path=/trunk/; revision=63942
2014-08-24 17:07:43 +00:00
Hermès Bélusca-Maïto
da06be6a77 [TASKMGR]: Clarify the icon handle retrieval, getting rid also of that xhIcon variable.
CORE-8148 #resolve #comment The original code was ok, but was not very clear.

svn path=/trunk/; revision=63941
2014-08-24 16:58:39 +00:00
Hermès Bélusca-Maïto
1270840cc9 [MPLAY32]
Implement a single-window mode for videos.
Patch by Ricardo Hanke.

TO ALL TRANSLATORS: Update the translations!

CORE-7910 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=63940
2014-08-24 15:40:34 +00:00
Hermès Bélusca-Maïto
245d743eba [MPLAY32]
- Add a "Play" menu, add keyboard accelerators and add a repeat mode.
  Patch by Ricardo Henke.
- Few whitespace fixes.
- Fix french resources. TO ALL TRANSLATORS: Please update the translations!

CORE-7929 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=63938
2014-08-24 14:59:44 +00:00
Hermès Bélusca-Maïto
5c29ce6bee Null HWNDs are NULL.
svn path=/trunk/; revision=63937
2014-08-24 14:15:07 +00:00
Hermès Bélusca-Maïto
c4ffcdd3ad [MPLAY32]
- Display formatted system messages in case of diverse failues.
- Add an error check for RegisterClassEx() and CreateWindow() in _tWinMain().
Patch by Ricardo Hanke.

CORE-7880 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=63936
2014-08-24 14:10:49 +00:00
Jérôme Gardou
cb9669d967 [WIN32K]
- Enable commented freetype call: set font face size and coordinate transformation matrix
Patch by Huw Campbell, reviewed by a gazillion of people.
CORE-4657 #resolve #comment committed in r63933, a million thanks

svn path=/trunk/; revision=63933
2014-08-24 13:28:33 +00:00
Daniel Reimer
3decbe052b [SHELL32]
Marshall interface pointers during background delete by Huw Campbell
CORE-8460 #resolve #comment Committed by request of Victor. Have fun ^^

svn path=/trunk/; revision=63932
2014-08-24 13:25:12 +00:00
Hermès Bélusca-Maïto
bd13d223c5 [DESK.CPL]
Set a default choice for the options of the first tab of Settings/Advanced.

svn path=/trunk/; revision=63931
2014-08-24 12:19:35 +00:00
Hermès Bélusca-Maïto
e2bb0affc7 [EVENTVWR]
Do not hardcode event logs, but retrieve them from the registry.
Patch by Ricardo Hanke.

CORE-8458 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=63930
2014-08-24 12:00:57 +00:00
Hermès Bélusca-Maïto
ac9576edbf [DEVMGR]: Fix a french misspelling.
[EVENTVWR]: Fix a french misspelling and fix event description dialog layout.

svn path=/trunk/; revision=63929
2014-08-24 11:42:49 +00:00
Thomas Faber
b82e2bf972 [FASTFAT]
- Properly handle errors in CcInitializeCacheMap, CcCopyRead and CcCopyWrite
CORE-8410

svn path=/trunk/; revision=63928
2014-08-24 03:28:01 +00:00
Jérôme Gardou
2e0d75e093 [CMAKE]
- Try a ninja (the warrior) technique to finally get the dependencies on reactos.cab right

svn path=/trunk/; revision=63927
2014-08-23 16:47:58 +00:00
Hermès Bélusca-Maïto
89524de4be [CONSRV]: Add some accelerators and fix few french strings.
TO TRANSLATORS: Please add accelerators for the other languages!

svn path=/branches/condrv_restructure/; revision=63926
2014-08-23 16:38:22 +00:00
Hermès Bélusca-Maïto
21435dd1ae [FONTS]
Updated UniVGA font by Roy Tam, thanks ;)
CORE-7706

svn path=/trunk/; revision=63925
2014-08-23 16:22:12 +00:00
Jérôme Gardou
c5bd762892 [CMAKE]
- Make a conditional copy of reactos.inf when it is really modified, make reactos.acb depend on it.
Hopefully the last commit so that windows buildbot gets really fixed

svn path=/trunk/; revision=63924
2014-08-23 15:53:58 +00:00
Hermès Bélusca-Maïto
73a66663c8 Sync to trunk revision 63922.
svn path=/branches/condrv_restructure/; revision=63923
2014-08-23 15:51:37 +00:00
Jérôme Gardou
9a96133a37 [WIN32K]
- Remove left-over assert

svn path=/trunk/; revision=63922
2014-08-23 15:20:44 +00:00
Jérôme Gardou
c8ed53856b [CMAKE]
- make reactos_cab_inf an unconditional target.
Should fix windows testbot

svn path=/trunk/; revision=63921
2014-08-23 14:40:00 +00:00
Jérôme Gardou
ec5927ad19 [WIN32K]
- Improve the "infamous RLE hack" in SetDIBitsToDevice by using a mask bitmap corresponding to the valid RLE data
[GDI32]
 - Improve some input checks

svn path=/trunk/; revision=63920
2014-08-23 14:20:16 +00:00
Jérôme Gardou
ea6842d69a [FORMATTING]
- Reformat/refactor some code. No changes.

svn path=/trunk/; revision=63919
2014-08-23 10:20:18 +00:00
Jérôme Gardou
7cd7bc2b97 [INCLUDE/CRT]
- import ivec.h from mingw-w64
[INCLUDE/PSDK]
 - import bthdef and stralign.h from mingw-w64

svn path=/trunk/; revision=63918
2014-08-23 10:19:57 +00:00
Hervé Poussineau
e3ab3c712a [NTOS:IO]
- Do not crash if an invalid PDO is given to IopEditDeviceList
- Always dereference device object when removing it (should be the last reference)
CORE-8294

svn path=/trunk/; revision=63917
2014-08-22 19:14:31 +00:00
Hervé Poussineau
b36bcbb154 [NDISUIO]
Add required PnPEventHandler
CORE-8292

svn path=/trunk/; revision=63916
2014-08-22 19:13:31 +00:00
Hermès Bélusca-Maïto
8fc96393c6 [CONSOLE.CPL]: Remove unneeded LBS_DISABLENOSCROLL style.
svn path=/branches/condrv_restructure/; revision=63915
2014-08-22 17:32:08 +00:00
Hermès Bélusca-Maïto
ce2f155e05 [EXPLORER_OLD]
Disable ScanNTFSStreams calls because this function exclusively calls BackupRead that is not implemented on ReactOS, and as a consequence makes lots of debug spam when browsing the start (sub-)menus.

svn path=/trunk/; revision=63914
2014-08-21 19:18:25 +00:00
Sylvain Petreolle
ddcf6ee167 [RAPPS]
Fix the registry key of the Event Source.

svn path=/trunk/; revision=63913
2014-08-21 12:28:24 +00:00
Thomas Faber
73b83f8495 [PSDK]
- Fix __drv_functionClass dummy. By Alex Radocea

svn path=/trunk/; revision=63910
2014-08-20 13:23:11 +00:00
Hermès Bélusca-Maïto
4ba08b1994 [NPFS]: The third argument of ObLogSecurityDescriptor is an integer, not a boolean.
svn path=/trunk/; revision=63904
2014-08-18 17:45:26 +00:00
Thomas Faber
1cc1113dc7 [NTOS:CC]
- Remove "VACB chain" optimization for CcCopyRead that was never applied anyway since MAX_RW_LENGTH == VACB_MAPPING_GRANULARITY, so a single read could never exceed one VACB
- Consolidate CcCopyRead, CcCopyWrite and the cached case of CcZeroData into a common worker function
CORE-8410

svn path=/trunk/; revision=63903
2014-08-18 03:55:59 +00:00
Thomas Faber
39d29c44d0 [NTOS:CC]
- Set the uninitialize event in CcUninitializeCacheMap to avoid deadlocking callers

svn path=/trunk/; revision=63902
2014-08-17 21:52:54 +00:00
Thomas Faber
d34c276260 [NTOS:CC]
- Use the passed-in file sizes in CcInitializeCacheMap

svn path=/trunk/; revision=63901
2014-08-17 21:47:43 +00:00
Cameron Gutman
87f8f559cc [TCPIP]
- Reference the address file while delivering data to avoid a use after free when an address file is closed during datagram delivery

svn path=/trunk/; revision=63899
2014-08-17 04:03:29 +00:00
Cameron Gutman
ef4815c35f [HAL]
Fix a catastrophic bug in S/G DMA. There is a subtle difference between the S/G DMA APIs and the old AllocateAdapterChannel API when it comes to having multiple requests in flight. Callers of (Io)AllocateAdapterChannel CANNOT queue another request until the AdapterControlRoutine is called. S/G DMA allows multiple concurrent DMA requests, but ROS was using IoAllocateAdapterChannel in the S/G API. As a result, the wait block stored in the device object was unexpectedly reinitalized and queued again. This results in a leak of the originally queued request context, potentially performing the new DMA operation twice while dropping the old request, and use after free of the context passed to HalpScatterGatherAdapterControl.

svn path=/trunk/; revision=63898
2014-08-17 01:42:02 +00:00
Eric Kohl
50aa823cdb [NTOSKRNL:CONFIG]
CmShutdownSystem: Close all hive files after flushing the hives.

svn path=/trunk/; revision=63897
2014-08-16 08:56:48 +00:00
Hermès Bélusca-Maïto
9fc8396088 [CONSOLE.CPL][CONSRV]: Font fix n°1: correctly use the font size (for TT fonts only, at the moment).
svn path=/branches/condrv_restructure/; revision=63896
2014-08-15 20:00:47 +00:00
Thomas Faber
cd26effabd [APPWIZ]
- Download Gecko from a URL that does not force HTTPS.
CORE-8396

svn path=/trunk/; revision=63895
2014-08-15 12:34:12 +00:00
Dmitry Gorbachev
c0b944dbb5 Fix build.
svn path=/trunk/; revision=63894
2014-08-15 11:17:16 +00:00
Dmitry Gorbachev
f8abce1e28 [CMAKE]
Thin & Slim link-time optimization (requires up-to-date binutils).

svn path=/trunk/; revision=63893
2014-08-15 11:12:09 +00:00
Thomas Faber
cb5f28caf1 [SHELL32]
- ACTUALLY fix ITEMIDLIST typing in IShellFolder/IShellFolder2 implementations
CORE-8441

svn path=/trunk/; revision=63890
2014-08-15 10:38:11 +00:00
Thomas Faber
a42c7bc31b [SHELL32]
- Fix ITEMIDLIST typing in IShellFolder/IShellFolder2 implementations
CORE-8441

svn path=/trunk/; revision=63889
2014-08-15 10:33:54 +00:00
Thomas Faber
f46c30d548 [SHELL32]
- Don't fail on NULL array pointer if count is zero
CORE-8443 #resolve

svn path=/trunk/; revision=63887
2014-08-14 22:43:10 +00:00
Hermès Bélusca-Maïto
6a85d82141 Fourth partial merge of the condrv_restructure branch, with fonts improvements.
CORE-8439 #resolve #comment r63885 merged to trunk in r63886.

svn path=/trunk/; revision=63886
2014-08-14 20:23:03 +00:00
Hermès Bélusca-Maïto
21b5377d35 [KERNEL32]
OpenConsoleW was implemented :P

[CONSOLE.CPL][CONSRV]
Create all the fonts needed at console startup, and then just select what's needed when fonts attributes need to be changed at run-time.

[CONSOLE.CPL][CONSRV]
- HACKFIX: Temporary use FW_NORMAL instead of FW_DONTCARE as default font weight (in ReactOS, FW_DONTCARE makes fonts bold by default, instead of normal)
- Use bold fonts instead of the underlined ones for underlined fonts in the terminal.

Timo, FIX THE FONTS !!!!!!!!!! :P

CORE-8439 #comment Should be fixed in revision 63885.

svn path=/branches/condrv_restructure/; revision=63885
2014-08-14 20:10:00 +00:00
Thomas Faber
6acec73b44 [SHELL32]
- Correctly manage object lifetime in CDefaultContextMenu. Members of DEFCONTEXTMENU need to be referenced or cloned in order to keep them.
CORE-8430 #resolve

svn path=/trunk/; revision=63884
2014-08-14 19:47:45 +00:00
Thomas Faber
ccacbf8050 [NPFS]
- Fix list walk in NpCancelWaiter -- we cannot access the list entry after using RemoveEntryList on it
- Make the logic in NpCancelWaiter more readable
CORE-8442 #resolve

svn path=/trunk/; revision=63883
2014-08-14 19:35:00 +00:00
Thomas Faber
124d892d48 [SHELL32]
- Use correct prototype for IFolderView::SelectAndPositionItems in CDefView

svn path=/trunk/; revision=63882
2014-08-14 13:26:02 +00:00
Thomas Faber
b8b0cb9b6f [PSDK]
- Fix some ITEMIDLIST types in IShellFolder
CORE-8441

svn path=/trunk/; revision=63881
2014-08-14 13:21:32 +00:00
Thomas Faber
9ad857369a [WIN32K:NTUSER]
- Assert that the thread's sent message queue matches change bits in UserDbgAssertThreadInfo. Suggested by Giannis.
CORE-7013

svn path=/trunk/; revision=63880
2014-08-14 07:46:59 +00:00
Jérôme Gardou
3f1a4576dd [CMAKE]
- Properly serve reactos.cab dependencies - try 2
CORE-8435 #comment this should do it, please retest. Regarding the bot problem, touching boot/bootdata/packages/reactos.dff forces regenerating reactos.inf and reactos.cab

svn path=/trunk/; revision=63878
2014-08-13 16:30:52 +00:00
Hermès Bélusca-Maïto
e8874e08eb Third partial merge of the condrv_restructure branch, including reverse video (rev.63865), underline (rev.63864), fonts changing (rev.63863) plus some resource fixes, RegisterConsoleVDM (rev.63849) and some code refactoring, plus WriteConsoleOutput fix (rev.63841) for Far Manager et al.
CORE-5006 CORE-6397 CORE-8424 #comment Fixes from the condrv_restructure branch (rev.63841) merged back to trunk in revision 63877.

svn path=/trunk/; revision=63877
2014-08-12 19:43:32 +00:00
Hermès Bélusca-Maïto
de799f57dc Sync to trunk revision 63875.
svn path=/branches/condrv_restructure/; revision=63876
2014-08-12 18:49:17 +00:00
Thomas Faber
c0d467161a [WIN32K:NTUSER]
- Clear appropriate message bits when removing a sent message in FindRemoveAsyncMsg. Thanks to Giannis.
- Fix list walk in FindRemoveAsyncMsg
CORE-7013 #resolve

svn path=/trunk/; revision=63875
2014-08-12 15:50:27 +00:00
Hermès Bélusca-Maïto
73cdd53b1d [CONSRV]: Still some code refactoring....
svn path=/branches/condrv_restructure/; revision=63874
2014-08-12 14:59:13 +00:00
Thomas Faber
f6304a30dc [SPEC2DEF]
- In GCC builds, actually import by ordinal if -ordinal is specified. Found by Robert.

svn path=/trunk/; revision=63873
2014-08-12 13:21:38 +00:00
Giannis Adamopoulos
8094b5e493 [shell32]
- Marshall interface pointers between apartments correctly 
- Patch by Huw Campbell 

svn path=/trunk/; revision=63872
2014-08-12 10:29:40 +00:00
Thomas Faber
e70cc781b3 [RPCRT4]
- Correctly check for in-buffer memory in PointerFree. Fixes invalid free e.g. when calling StartService without service arguments

svn path=/trunk/; revision=63871
2014-08-12 07:52:29 +00:00
Thomas Faber
42f34d3788 [KMTESTS:RTL]
- Fix a stack buffer overflow in the RtlMemory test

svn path=/trunk/; revision=63870
2014-08-12 07:47:08 +00:00
Hermès Bélusca-Maïto
d9e86f8a78 [CONSRV]: Continuing 3/X, a small step for a brighter future, maybe!
svn path=/branches/condrv_restructure/; revision=63868
2014-08-11 20:55:50 +00:00
Hermès Bélusca-Maïto
afd30b0e36 [CONSRV]: Continuing 2/X
svn path=/branches/condrv_restructure/; revision=63867
2014-08-11 20:39:06 +00:00
Hermès Bélusca-Maïto
991c1f0e88 [CONSRV]: Code refactoring 1/X (and move VDM support to where it belongs).
svn path=/branches/condrv_restructure/; revision=63866
2014-08-11 20:28:40 +00:00
Hermès Bélusca-Maïto
6671999847 [CONSRV]: Support reverse video bit COMMON_LVB_REVERSE_VIDEO
svn path=/branches/condrv_restructure/; revision=63865
2014-08-11 15:37:01 +00:00
Hermès Bélusca-Maïto
1581bcfc02 [CONSRV]: Support underline code COMMON_LVB_UNDERSCORE in the console via CreateFont* API.
svn path=/branches/condrv_restructure/; revision=63864
2014-08-11 14:38:07 +00:00
Hermès Bélusca-Maïto
23f16979ac [CONSOLE.CPL][CONSRV]
- Remove the unuseful UseRasterFonts member in console properties structure.
- Fix my FontSize.X / FontSize.Y mixing (X is width, Y is height) that I introduced in revision 63819.
- We are now able to change the console font via the console props control panel applet (work in progress, but it works!)

svn path=/branches/condrv_restructure/; revision=63863
2014-08-11 13:35:33 +00:00
Hermès Bélusca-Maïto
8e73c54f79 [CONSRV]: Some handle reworking commit, that might look like ridiculous at first, but is just the start of something bigger.
svn path=/branches/condrv_restructure/; revision=63862
2014-08-11 13:31:22 +00:00
Thomas Faber
29813c1b0b [SYSSETUP]
- Gracefully handle ConvertStringSidToSid failures in InstallBuiltinAccounts and InstallPrivileges. Fixes invalid frees in second stage.

svn path=/trunk/; revision=63861
2014-08-11 12:45:32 +00:00
Thomas Faber
0d5a8d0594 [CABMAN]
- Don't crash when a directory is specified instead of a file list (i.e. specified_files.root.normalized_name == NULL)

svn path=/trunk/; revision=63860
2014-08-11 08:05:33 +00:00
Thomas Faber
a4d36a3511 [USETUP]
- Don't access next block if there is none in CabinetExtractFile.

svn path=/trunk/; revision=63859
2014-08-10 21:51:29 +00:00
Hermès Bélusca-Maïto
e5b5525a8a Sync to trunk revision 63857.
svn path=/branches/condrv_restructure/; revision=63858
2014-08-10 21:33:21 +00:00
Hermès Bélusca-Maïto
0d0a2740eb [TRANSLATIONS]
Same remark as for revision 63856, but for "Button"!!

svn path=/trunk/; revision=63857
2014-08-10 21:19:34 +00:00
Hermès Bélusca-Maïto
c4444b2e91 [TRANSLATIONS]
To Albanian translators!!
Be careful, the "Static" string in CONTROL resource controls, is the name of the control class, and as such must NOT be translated!! (see http://msdn.microsoft.com/en-us/library/windows/desktop/aa380911(v=vs.85).aspx )

svn path=/trunk/; revision=63856
2014-08-10 21:06:49 +00:00
Hermès Bélusca-Maïto
1f1f0f9d55 [CONSOLE.CPL]: Fix french resource.
svn path=/branches/condrv_restructure/; revision=63855
2014-08-10 20:52:36 +00:00
Thomas Faber
c38a96f98b [SYSSETUP]
- Avoid logging the administrator password
CORE-8019 #resolve

svn path=/trunk/; revision=63854
2014-08-10 19:25:52 +00:00
Thomas Faber
6af1d6e6c8 [BROWSEUI]
- CComObject cannot be a class member and must be allocated using new. Fixes invalid free.

svn path=/trunk/; revision=63853
2014-08-10 18:39:05 +00:00
Thomas Faber
faf7e3ec94 [KERNEL32]
- Fix an invalid free in DefineDosDeviceW, found by kernel32_apitest:dosdev

svn path=/trunk/; revision=63852
2014-08-10 16:23:05 +00:00
Thomas Faber
39f3c7d584 [KERNEL32]
- Fix some style issues in DefineDosDevice

svn path=/trunk/; revision=63851
2014-08-10 16:20:43 +00:00
Hermès Bélusca-Maïto
7a5ce23147 [CONSOLE.CPL]: Add LBS_HASSTRINGS to font listboxes.
svn path=/branches/condrv_restructure/; revision=63850
2014-08-10 15:27:24 +00:00
Hermès Bélusca-Maïto
cc85bc57af [KERNEL32][CONSRV]: Implement a basic RegisterConsoleVDM (see revision 62371 for more details).
svn path=/branches/condrv_restructure/; revision=63849
2014-08-09 19:47:40 +00:00
Hermès Bélusca-Maïto
a56fcb9ae3 [NTVDM]: Studying ntvdm, we can find the significance of some of the parameters. Others seem unused.
svn path=/trunk/; revision=63848
2014-08-09 18:48:31 +00:00
Aleksandar Andrejevic
de7b63edc1 [SHELL32]
- Greatly optimize file icon retrieval by reducing the times we try to access the disk.
- Store icons in a binary tree in the shell icon cache for faster retrieval.
Patch by Huw Campbell committed at the request of Giannis Adamopoulos.


svn path=/trunk/; revision=63845
2014-08-09 13:40:13 +00:00
Hermès Bélusca-Maïto
f9a6eb7bc4 [NTVDM]: Add a compile-time-defined switch to be able to use the RegisterConsoleVDM API of ReactOS/Windows, or an emulated one.
svn path=/trunk/; revision=63844
2014-08-09 13:22:50 +00:00
Hermès Bélusca-Maïto
3a6aa828e4 Fix a typo.
svn path=/trunk/; revision=63843
2014-08-09 10:51:22 +00:00
Aleksandar Andrejevic
9065679ba7 [NTVDM]
Start implementing mouse support.


svn path=/trunk/; revision=63842
2014-08-09 01:39:28 +00:00
Hermès Bélusca-Maïto
636d4cf0ce [KERNEL32][CONSRV]
For WriteConsoleOutput API only!! Diagnosed with ApiMonitor from Rohitab.

If one tries to write a too large buffer (>= 80*198 CHAR_INFO cells), the CsrAllocateCaptureBuffer API helper fails, because it uses the non-growable CSR port heap of fixed size 64kB.
Since many applications use the API with large buffers (for example, Far Manager <= 1.70, the Windows XTree app http://textmode.netne.net/Extreme.html , ...) and maybe NTVDM,
Windows (and hence ReactOS for compatibility reasons) allocates a buffer in the process' heap (and not in the CSR port heap via the CSR capture API), so that the big buffer allocation
should work. Then, to be able to access it, CSR needs to call NtReadVirtualMemory for capturing the buffer.

CORE-5006 CORE-6397 CORE-8424 #resolve

svn path=/branches/condrv_restructure/; revision=63841
2014-08-08 17:06:28 +00:00
Sylvain Petreolle
8a230af1a7 [WIN32SS]
Fix new cursoricon implementation build.
Dedicated to Jim and Jérome.


svn path=/trunk/; revision=63840
2014-08-08 16:14:38 +00:00
Sylvain Petreolle
2a1a26424e [WIN32SS]
Fix trace.

svn path=/trunk/; revision=63839
2014-08-08 16:12:23 +00:00
Sylvain Petreolle
5db0452e0a [WIN32K]
Formatting only.

svn path=/trunk/; revision=63838
2014-08-08 16:04:08 +00:00
Jérôme Gardou
b51defb8ad [CMAKE]
- separate the custom target and the custom command generating reactos.cab, so that it isn't regenerated each time a bootcd is built
Note to make user: I tried a hack so that the sequence 'make module/fast reactos_cab/fast bootcd/fast' still works, but this is untested. Please use ninja if you really want fast dependency resolution.

svn path=/trunk/; revision=63837
2014-08-07 18:20:46 +00:00
Jérôme Gardou
16623e02fa [CHARMAP]
- Correctly include local header

svn path=/trunk/; revision=63835
2014-08-07 15:19:32 +00:00
Hermès Bélusca-Maïto
fe54ef7132 Second partial merge of the condrv_restructure branch, including additions from revisions 63818, 63819, 63820 and 63831.
CORE-7931 #comment Second partial merge of the condrv_restructure branch in revision 63834.

svn path=/trunk/; revision=63834
2014-08-07 13:16:49 +00:00
Thomas Faber
9665943699 [NTOS:OB]
- Mark object types as not having ObjectCreateInfo on creation. Otherwise ObpObjectType's TypeList gets corrupted when a handle to an object type is created (as kmtest:ObTypes does) and ObpIncrementHandleCount tries to insert the list entry a second time.
CORE-8423 #resolve

svn path=/trunk/; revision=63833
2014-08-07 13:02:59 +00:00
Hermès Bélusca-Maïto
277e3473c4 Sync with trunk r63831.
svn path=/branches/condrv_restructure/; revision=63832
2014-08-07 12:54:03 +00:00
Hermès Bélusca-Maïto
18897fd933 [CONSRV]: Add a DPRINT for diagnostics purposes...
svn path=/branches/condrv_restructure/; revision=63831
2014-08-07 12:36:40 +00:00
Jérôme Gardou
f401f23683 [WIN32K]
- Among a thousand ways to screw a commit, choose dysxelia

svn path=/trunk/; revision=63830
2014-08-07 11:08:06 +00:00
Jérôme Gardou
807552142f [WIN32K]
- Among a thousand ways to loop over a list, choose the simple one.

svn path=/trunk/; revision=63829
2014-08-07 10:59:54 +00:00
Jérôme Gardou
ca61361ff8 [NDK]
- Correct definition of SECTION_OBJECT

svn path=/trunk/; revision=63828
2014-08-07 10:59:48 +00:00
Thomas Faber
9ae009c260 [NPFS]
- Avoid magic values, remove a few casts and don't name an IO_STATUS_BLOCK Status. No code changes.

svn path=/trunk/; revision=63827
2014-08-07 10:24:07 +00:00
Thomas Faber
beb99d9992 [NPFS]
- Base data queue entry on the right struct member in NpCompleteStalledWrites. Fixes list entry corruption found in CORE-8419.

svn path=/trunk/; revision=63826
2014-08-07 10:10:02 +00:00
Thomas Faber
6d3abb68c2 [NTOS:OB]
- Use ObpTypeObjectType's lock when modifying object type global properties, not the new object type's
- Correctly free string returned by RtlUnicodeStringToAnsiString

svn path=/trunk/; revision=63825
2014-08-07 00:16:21 +00:00
Dmitry Gorbachev
1f60ce121c [EXPLORER]
Use -Wno-error option when building with link-time optimization.

[BROWSEUI]
"Fix" multiple definition of (non-virtual thunk to) QueryInterface errors. 
Binutils linker bug.

svn path=/trunk/; revision=63824
2014-08-06 23:10:17 +00:00
Dmitry Gorbachev
ddf5ed131e [NTOSKRNL][PSEH3]
- Add inline asm dependencies to fix undefined reference errors when 
building with link-time optimization.
- Improve formatting.
- No functional changes.

svn path=/trunk/; revision=63823
2014-08-06 23:10:08 +00:00
Jérôme Gardou
9b201b7180 [NTOS/MM]
- Call the right delete routine for ARM3 section object
 - Properly free the pages of pagefile-backed segments when those are deleted
 - Put the right assert at the right place in MmUnlinkPageFromList
 - Remove DPRINT from previous commit which is interesting but noisy

svn path=/trunk/; revision=63822
2014-08-06 21:53:57 +00:00
Jérôme Gardou
9aec0d47eb [NTOS/MM]
- Implement MiResolvePageFileFault
 - Add a debug print showing how many ARM3 pages could be used by the balancer

svn path=/trunk/; revision=63821
2014-08-06 21:53:09 +00:00
Hermès Bélusca-Maïto
7a1f204af1 [KERNEL32][CONSRV]
- Fix FreeConsole API.
- Implement undocumented GetConsoleKeyboardLayoutNameA/W API (same usage as GetKeyboardLayoutName), needed for ConEmu.
  See some examples here: http://www.opensource.apple.com/source/vim/vim-44/src/os_win32.c , and there: 700bab23f2/lswitch.c

CORE-7931 #comment ConsolepFree fixed in revision 63820.

svn path=/branches/condrv_restructure/; revision=63820
2014-08-06 21:01:23 +00:00
Hermès Bélusca-Maïto
e4f44047b6 [CONSOLE][CONSRV]
- Implement the undocumented WM_SETCONSOLEINFO window message (the equivalent of our PM_APPLY_CONSOLE_INFO), sent
  by the Windows' console control panel applet console.dll, when applying new console settings to the current opened console
  (and its associated data structure CONSOLE_STATE_INFO).
  This is used by the FAR plugin MinCE by Andrew Grechkin (see http://code.google.com/p/andrew-grechkin/source/browse/trunk/MinCE/src/setconsoleinfo.cpp for example)
- Convert GUI_CONSOLE_INFO::FontSize to COORD, as it should be.

See: http://www.catch22.net/sites/default/source/files/setconsoleinfo.c and http://www.scn.rain.com/~neighorn/PDF/MSBugPaper.pdf for more information.

svn path=/branches/condrv_restructure/; revision=63819
2014-08-06 20:49:10 +00:00
Hermès Bélusca-Maïto
04934ee092 [KENREL32]: Silent few DPRINTs.
svn path=/branches/condrv_restructure/; revision=63818
2014-08-06 20:30:24 +00:00
Daniel Reimer
3cfcb20668 [SPIDER]
CORE-8409 #resolve #comment Solution in the middle makes Spider look nice in ROS and not like a stamp AND it fits on 800x600. 640x480 won't be fixed, because having overlapped cards is NO fix, it's plain ugly.

svn path=/trunk/; revision=63817
2014-08-06 12:13:45 +00:00
Daniel Reimer
c0824cc55a [SPIDER]
Optimize borders and space to the window frame even more. Hopefully fixes spider being too big for 800x600 problem.
CORE-8409 #comment Committed a "fix", please retest.

svn path=/trunk/; revision=63816
2014-08-06 11:24:31 +00:00
Daniel Reimer
ef62eee2fb [WINED3DCFG]
PATCH: dialog resource correction for wined3dcfg by Stefan Fuela
CORE-8386 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63815
2014-08-06 10:09:46 +00:00
Daniel Reimer
5f620cc135 [RAPPS]
(for database) Many Improvements and Many Fixes by Erdem Ersoy
+ USETUP translation from Bug 7861.
CORE-7710 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63814
2014-08-06 10:05:38 +00:00
Daniel Reimer
37e845d0dd [TRANSLATION]
Turkish Translation Update by Erdem Ersoy
CORE-7861 #resolve #comment You are crazy fast in translating... Commited, thx ^^

svn path=/trunk/; revision=63813
2014-08-06 09:54:57 +00:00
Thomas Faber
bd99a30a5c [NTOS:IO]
- Fail with the correct status code if MDL allocation fails
CORE-8410

svn path=/trunk/; revision=63812
2014-08-05 18:47:25 +00:00
Hermès Bélusca-Maïto
d772498800 Partial merge of the condrv_restructure branch, including:
- some consrv/condrv code refactoring for a better code separation,
- make kernel32 / winsrv console CSR structures Win2k3-compliant (see CORE-7931); only Alloc/Attach/FreeConsole APIs are still not Win2k3-compliant.
- fixes for CsrCaptureMessageString and implementation of CsrCaptureMessageMultiUnicodeStringsInPlace .

CORE-7931 #comment Partial merge of the condrv_restructure branch in revision 63810.

svn path=/trunk/; revision=63810
2014-08-04 21:33:20 +00:00
Hermès Bélusca-Maïto
58f976d27f [CONDRV]: Quick fix for ASCII strings for ConDrvWriteConsoleOutputString.
[CONSRV]: Commit something forgotten from previous revision.

svn path=/branches/condrv_restructure/; revision=63808
2014-08-04 21:09:46 +00:00
Hermès Bélusca-Maïto
549abbaf91 [KERNEL32]: Remove some FASTCALL.
svn path=/branches/condrv_restructure/; revision=63807
2014-08-04 20:25:34 +00:00
Hermès Bélusca-Maïto
2c404d180a [CONSRV]
- Few code reshuffling before more restructuration.
- Some type fixes.

svn path=/branches/condrv_restructure/; revision=63806
2014-08-04 20:23:33 +00:00
Hermès Bélusca-Maïto
d3043d040d [CONSRV]: Cosmetic changes only.
svn path=/branches/condrv_restructure/; revision=63805
2014-08-04 17:53:00 +00:00
Hermès Bélusca-Maïto
e3a5ed0e2b [KERNEL32][CONSRV]
Fix few MSVC dword -> short warnings (basically). Thanks GCC for not having noticed them...

svn path=/branches/condrv_restructure/; revision=63804
2014-08-04 17:13:43 +00:00
Hermès Bélusca-Maïto
9fd5cfb5f8 [KERNEL32]
Add a bunch of missing _SEH_YIELD in 'return' clues in _SEH_TRY clauses.

[KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant for Read/WriteConsoleOutput functions.
The last missing ones are Alloc/Attach/FreeConsole APIs!!

Part 9/10

CORE-7931

svn path=/branches/condrv_restructure/; revision=63803
2014-08-04 16:25:12 +00:00
Jérôme Gardou
86bb7a74ca [WIN32K]
- Properly mark the DC as containing direty region when copying a new clip region

svn path=/trunk/; revision=63802
2014-08-04 15:58:53 +00:00
Hermès Bélusca-Maïto
e9c6ccbd0f [CONSRV]
Fix memory section protection flag, that made console settings application fail since some recent work on virtual memory...

svn path=/branches/condrv_restructure/; revision=63801
2014-08-04 14:36:26 +00:00
Daniel Reimer
211b116ae5 [CARDS]
Added the first results of my odyssey finding out where the original french cards are from + the known facts regarding the bavarian ones.
Bavarian:
Add the ReactOS Logo into the Bavarian Layout, too.
Remove ugly scanned background 11 and put the former Nr 1 there.
Added a frame around background 12.
French:
Added a frame around background 6.

svn path=/trunk/; revision=63800
2014-08-04 14:26:51 +00:00
Jérôme Gardou
cbb6d64036 [CMAKE]
- Use cache to decide whether we use precompiled headers or not.

svn path=/trunk/; revision=63799
2014-08-04 11:05:09 +00:00
Christoph von Wittich
7a985425b0 [ntoskrnl]
handle the case where the cpu does not support returning the brand name
CORE-7952
 

svn path=/trunk/; revision=63798
2014-08-03 19:05:14 +00:00
Daniel Reimer
ab6a6d658b [CARDS]
Add borders to the new cards to make some card games look better than ours does. P.S. License stuff is not forgotten, I just have my problems to reach the authors.
CORE-8401 #comment Please retest now again.

svn path=/trunk/; revision=63797
2014-08-03 14:04:20 +00:00
Christoph von Wittich
45e950d75c user32: Make GetRegisteredRawInputDevices hotpatchable.
Steam tries to hook this function and crashes without DECLSPEC_HOTPATCH.
See http://bugs.winehq.org/show_bug.cgi?id=35361#c48 
patch by Stefan Dösinger stefan@codeweavers.com

svn path=/trunk/; revision=63796
2014-08-03 05:38:37 +00:00
Hermès Bélusca-Maïto
43ee1612b1 [KERNEL32]
Hack buffer protection check for pInputControl and lpBuffer user buffers.

svn path=/branches/condrv_restructure/; revision=63795
2014-08-01 19:03:50 +00:00
Hermès Bélusca-Maïto
bf136052c0 Sync with trunk r63793.
svn path=/branches/condrv_restructure/; revision=63794
2014-08-01 18:39:52 +00:00
Hermès Bélusca-Maïto
22c9e139a1 [KERNEL32][CONSRV]
- Make kernel32 / winsrv console CSR structures Win2k3-compliant for Read/WriteConsole functions.
  An attentive code reader will see that there are structure members in CONSOLE_WRITECONSOLE that are
  indeed unused by kernel32 that can be used in ReactOS for undocumented extensions of WriteConsole...
  (for instance, adding a parameter for ANSI codes support, who knows!... :P)
- Fix a bit the support for the CONSOLE_READCONSOLE_CONTROL parameter in ReadConsole (for unicode only).
- Use the actual exe name for command history management, given via a hackish way by ReadConsole:
  the exe name is passed via the 80-byte-length limited static buffer, and is of course retrieved before
  actually using the static buffer (if needed).

[CONSRV]
- Fix writing input events in the console, but first preprocessing them for pausing commands (we treat them separately and remove them),
  then, in case we write many single events, we merge them in case they are mouse moves or repeated key down presses. This helps in not
  overflowing too quickly the input buffer, and that fixes all the remaining kernel32:console winetests!! (see CORE-8256)
- Use the actual exe name for command history management, given via a hackish way by ReadConsole (blame MS!)

Part 8/X

CORE-7931
CORE-8256 #resolve #comment Fixed in the condrv_restructure branch in revision .

svn path=/branches/condrv_restructure/; revision=63793
2014-08-01 18:08:29 +00:00
Hermès Bélusca-Maïto
ac51557c0a [CONSRV]
- Start a better fix for the mouse event problem described in r62739.
- Add a hack for the problem described in CORE-8394, that fixes some Far Manager mouse issues.
CORE-8394

svn path=/branches/condrv_restructure/; revision=63792
2014-08-01 13:36:44 +00:00
Eric Kohl
8ff6c2d1c6 [SAMLIB]
SampCheckPassword: Implement the character class check.

svn path=/trunk/; revision=63786
2014-07-30 20:59:53 +00:00
Daniel Reimer
599b47acb0 [CARDS]
Replace the old ugly 16 color cards with better looking ones. (From: http://www.united3dartists.com/forum/viewtopic.php?f=31&t=954)
Remove 10 of 12 backgrounds and add some CARD backgrounds, no ugly bubble images and stuff. 8 of 10 from my own card decks. 2 others are from deviantart image search.
Modify the ReactOS card background to look way better.
Now both, Bavarian and French cards look nicely and make our Solitaire and Spider look way more modern.

svn path=/trunk/; revision=63785
2014-07-30 14:42:29 +00:00
Jérôme Gardou
b8a5316184 [NDK]
- Make the MMWSLE structure multi-arch aware

svn path=/trunk/; revision=63784
2014-07-30 13:11:55 +00:00
Daniel Reimer
22c4f629fb [GAMES]
I was asked why we do that resize at all in the background selection. It looks sorta ugly. So... Now it's full size. Dialogues modified accordingly.

svn path=/trunk/; revision=63783
2014-07-30 13:07:49 +00:00
Daniel Reimer
1837d8d069 [SOLITAIRE]
My bad, I forgot to move the whole cards drawn centralized a bit higher to have the missing frame below, but not additional space above making the frame waaay bigger.

svn path=/trunk/; revision=63782
2014-07-30 12:00:40 +00:00
Daniel Reimer
bb04b17cfd [GAMES]
Add some borders in Spider and Solitaire around the location the cards will be drawn in. Now cards don't touch the frame anymore.
Increase the size of the card background previews. Now you will even see some details of them. Increase the selection dialog size accordingly. 

svn path=/trunk/; revision=63781
2014-07-30 11:41:45 +00:00
Thomas Faber
5aefebbb44 [OLE32]
- Stub CoGetStdMarshalEx, needed by Google Updater
CORE-8385

svn path=/trunk/; revision=63780
2014-07-30 10:21:16 +00:00
Thomas Faber
4a5e1b6f4e [NTOS:CM]
- Improve the hack from r63777 to return an allow-Everyone DACL. Fixes crash in advapi32:security.
CORE-8383 #resolve

svn path=/trunk/; revision=63779
2014-07-30 10:08:30 +00:00
Thomas Faber
fd1986de3a [KS]
- Use correct buffer size in KspStartBusDevice. Spotted by Víctor Martínez
- Avoid wcscpy in kernel mode while we're at it

svn path=/trunk/; revision=63778
2014-07-30 07:50:28 +00:00
Thomas Faber
602fd06fa1 [NTOS:CM]
- Return a valid security descriptor for keys, even though it's hacked. Based on code removed in r26704.
CORE-8382 #resolve #comment Fixed, now we fail with E_FAIL instead. Hurray.

svn path=/trunk/; revision=63777
2014-07-29 22:21:37 +00:00
Thomas Faber
0e1dff05eb [ADVAPI32]
- Fix RegQueryInfoKeyW as per CORE-1136

svn path=/trunk/; revision=63776
2014-07-29 21:24:24 +00:00
Thomas Faber
0f63f7e80c [ADVAPI32]
- Don't skip NtQuerySecurityObject calls. The kernel can handle then just fine.

svn path=/trunk/; revision=63775
2014-07-29 21:00:30 +00:00
Thomas Faber
bbe1e6a3ae [RTL]
- Fix copypasta in RtlValidSecurityDescriptor

svn path=/trunk/; revision=63774
2014-07-29 20:29:14 +00:00
Thomas Faber
4944a87c1b [CRT]
- Make some unicode printf functions actually unicode
CORE-7691

svn path=/trunk/; revision=63773
2014-07-29 16:02:55 +00:00
Hermès Bélusca-Maïto
d06d5833ea [KERNEL32]
- It is supposed that user buffers are valid, and if not, access to them is protected with SEH. This fixes almost all of the kernel32_winetest:console tests.
- Add parameter annotations.

svn path=/branches/condrv_restructure/; revision=63772
2014-07-29 15:59:17 +00:00
Daniel Reimer
ed834ebfdf [RAPPS]
Add NirLauncher to ReactOS downloader by Alex (jedi-to-be)
CORE-7984 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63771
2014-07-29 15:54:58 +00:00
Hermès Bélusca-Maïto
2ae25e18a8 [CONSRV]
Fix returned number of read/write codes.

svn path=/branches/condrv_restructure/; revision=63770
2014-07-29 15:54:03 +00:00
Hermès Bélusca-Maïto
4a285f0633 [CONSRV]
Add the optional "number of things read/written" parameters back.

svn path=/branches/condrv_restructure/; revision=63769
2014-07-29 14:00:46 +00:00
Hermès Bélusca-Maïto
5ce6a6c12b Simplify code.
svn path=/branches/condrv_restructure/; revision=63768
2014-07-29 13:49:03 +00:00
Daniel Reimer
056928a4b1 [TRANSLATION]
rapps: (for database) Many Improvements and Many Fixes by Erdem Ersoy
CORE-7710 #resolve #comment Committed and hopefully worked around all conflicts I generated today, thx.

svn path=/trunk/; revision=63767
2014-07-29 13:38:27 +00:00
Hermès Bélusca-Maïto
2d9a888371 [KERNEL32][CONSRV]
- Use a CODE_ELEMENT structure in order to simplify the code.
- Do not do an on-place ansi to unicode conversion.

svn path=/branches/condrv_restructure/; revision=63766
2014-07-29 13:18:59 +00:00
Daniel Reimer
a503bdba07 [TRANSLATION]
general maintenance of Romanian resources by Stefan Fuela
CORE-8334 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63765
2014-07-29 13:17:00 +00:00
Hermès Bélusca-Maïto
6f772ac651 [CONSRV]
Add diagnostics ASSERTs for MultiByteToWideChar & its companion (the source and target pointers must not be the same, otherwise it doesn't work).

svn path=/branches/condrv_restructure/; revision=63764
2014-07-29 12:54:01 +00:00
Daniel Reimer
c3db4c4f79 Remove a billion BOMs from the files...
@ Translators: We use UTF-8 without ANY BOM. Thx

svn path=/trunk/; revision=63763
2014-07-29 11:57:27 +00:00
Daniel Reimer
8f17c3145b [RAPPS]
Due to popular demand, add MikTEX, Ghostscript and GSview to RAPPS.
CORE-8315 #resolve #comment As you wish, added.
CORE-8316 #resolve #comment As you wish, added.

svn path=/trunk/; revision=63762
2014-07-29 11:56:38 +00:00
Daniel Reimer
00f9d13810 [RAPPS]
Database update:
Update to most recent Versions.
Change 7-zip to the MSI Installer.
Remove all those "(FIXME)" added by Erdem.

svn path=/trunk/; revision=63761
2014-07-29 11:30:52 +00:00
Daniel Reimer
279b802d17 [TRANSLATION]
system: German translation fixes + new translation of SUBST by zehnvor
Subst translation added to application by me.
CORE-8268 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63760
2014-07-29 10:29:37 +00:00
Thomas Faber
f5ce4355d6 [NTDLL:LDR]
- Fix a DPRINT

svn path=/trunk/; revision=63759
2014-07-29 10:29:22 +00:00
Thomas Faber
cea117cf74 [AMSTREAM_WINETEST][QUARTZ_WINETEST]
- Enable skipped tests
ROSTESTS-116 #resolve
ROSTESTS-123

svn path=/trunk/; revision=63758
2014-07-29 07:56:08 +00:00
Thomas Faber
da7e9b8445 [QUARTZ][STRMBASE]
- Fix use-after-free on critical sections, which caused test hangs. Also fix some memory leaks. More fixes coming with the next Wine-sync, but this should be enough to get tests working.
ROSTESTS-116

svn path=/trunk/; revision=63757
2014-07-29 07:49:06 +00:00
Thomas Faber
bfbe72017a [DSOUND]
- Do not call CoUninitialize if CoInitialize failed.
ROSTESTS-123

svn path=/trunk/; revision=63756
2014-07-29 07:32:47 +00:00
Hermès Bélusca-Maïto
19e30db97b [KERNEL32][CONSRV]
- Make kernel32 / winsrv console CSR structures Win2k3-compliant for Read/WriteConsoleCharacter/Attribute and FillConsoleOutputCharacter/Attribute functions.
  The underlying CONSOLE_READOUTPUTCODE and CONSOLE_WRITEOUTPUTCODE structures are the same.
  It should be noticed, as for the Read/WriteConsoleInput functions of r63754 and the other Read/WriteConsole*** functions, that for performance purposes Windows uses a local buffer for "small" sizes;
  we should do the same too because both the client and the server use the number of elements to actually read/write in order to determine which buffer one should use (local or some shared buffer).
- Some memcpy --> RtlCopyMemory.

Part 7/X

CORE-7931

svn path=/branches/condrv_restructure/; revision=63755
2014-07-29 00:00:21 +00:00
Hermès Bélusca-Maïto
e9c7111b66 [KERNEL32][CONSRV]
- Make kernel32 / winsrv console CSR structures Win2k3-compliant for Read/WriteConsoleInput functions.
- Really fix some ASSERTS from r63108.

Part 6/X

CORE-7931

svn path=/branches/condrv_restructure/; revision=63754
2014-07-28 21:20:36 +00:00
Hermès Bélusca-Maïto
dd733c2951 [KERNEL32]
- No need to use another NTSTATUS variable, since all of the information is already contained in ApiMessage.Status.
- Do not hardcode the type of the request variables in the sizeofs used in the CsrClientCallServer calls.

svn path=/branches/condrv_restructure/; revision=63753
2014-07-28 13:37:54 +00:00
Hermès Bélusca-Maïto
b06a89c070 [KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant.

- Fix UNICODE and ANSI versions of the Alias and History APIs. Tested with unicode and ansi version of our doskey.exe
- Implement GetNumberOfConsoleMouseButtons.

Part 5/X

CORE-7931

svn path=/branches/condrv_restructure/; revision=63751
2014-07-28 13:20:54 +00:00
Jérôme Gardou
775b9bc1ed [WIN32K]
- Properly send WOC_RGN_CLIENT to the GDI driver when window client region changes
 - Increment CLIPOBJ::iUniq so that drivers know that something changed
 - Some improvements in win32k side of opengl pixel format selection
 - Hack around atom collision between the kernel atom table and the win32k one
Now vmware ICD does something decent, even if you can use it only once per ReactOS session (!)

svn path=/trunk/; revision=63749
2014-07-28 13:03:25 +00:00
Jérôme Gardou
addf99a079 [WIN32K]
- Pass the right arguments to the driver-supplied function when deleting a DRIVEROBJ

svn path=/trunk/; revision=63748
2014-07-28 13:03:19 +00:00
Jérôme Gardou
b6f852e3a4 [OPENGL32]
- Free resources when unloading the DLL
 - avoid potential crash in wglDescribePixelFormat
 - Prefer HW accelerated pixel formats in wglChoosePixelFormat
 - Try forwarding ICD functions to win32k when relevant (untested!)

svn path=/trunk/; revision=63747
2014-07-28 13:03:10 +00:00
Thomas Faber
84fa6f66f3 [LIBUSB]
- Don't output spurious failure message "There was no pending IRP for SCE" if everything is fine.

svn path=/trunk/; revision=63746
2014-07-28 12:22:35 +00:00
Eric Kohl
b665986eb6 [MSGINA]
- Implement the legal notice dialog.
- Rename ReadRegSzKey to ReadRegSzValue.
- Rename ReadRegDwordKey to ReadRegDwordValue.

svn path=/trunk/; revision=63745
2014-07-27 21:05:42 +00:00
Hermès Bélusca-Maïto
9ed2e0b5bc Sync with trunk r63743.
svn path=/branches/condrv_restructure/; revision=63744
2014-07-27 20:52:13 +00:00
Jérôme Gardou
f637c9716a [WIN32K]
- Hack around a bug (tm)

svn path=/trunk/; revision=63743
2014-07-26 15:53:20 +00:00
Jérôme Gardou
2d6704f615 [WIN32K]
- Avoid useless casts
 - Add a few debug prints
 - Add sanity check

svn path=/trunk/; revision=63742
2014-07-26 15:41:33 +00:00
Jérôme Gardou
6d7085f177 [WIN32K]
- Explicitly initialize PropListItems

svn path=/trunk/; revision=63741
2014-07-26 15:41:25 +00:00
Jérôme Gardou
bbaddbe80c [WIN32K]
- Some more DPRINT -> DEBUGCHANNEL

svn path=/trunk/; revision=63740
2014-07-26 15:41:21 +00:00
Jérôme Gardou
4069d63c30 [WIN32K]
- Improve the WNDOBJ/CLIPOBJ hack by using the same internal structure for both object.
This way a driver can enumerate WNDOBJ::coClient safely.
Also take this as an opportunity to get rid of DC::ros_dc.

svn path=/trunk/; revision=63739
2014-07-26 15:41:08 +00:00
Jérôme Gardou
f00899b378 [WIN32K]
- Do not offset the window visible region when creating the WNDOBJ, it's already fine

svn path=/trunk/; revision=63738
2014-07-26 15:40:57 +00:00
Jérôme Gardou
5398dcffe8 [WIN32K]
- Use debug channel for debug outputs

svn path=/trunk/; revision=63737
2014-07-26 15:40:44 +00:00
Jérôme Gardou
0e90ca943e [NTOS/MM]
- First implementation of NtProtectVirtualMemory with Transition PTE
 - Release PTE frame page after erasing the PTE to avoid useless page fault

svn path=/trunk/; revision=63736
2014-07-25 22:13:35 +00:00
Jérôme Gardou
f3b4339291 [WIN32K]
- Improve parameter checking in NtGdiExtSelectClipRgn
 - Update the DC clipping regions before getting the clipbox

svn path=/trunk/; revision=63735
2014-07-25 10:56:50 +00:00
Thomas Faber
dca53f8c00 [NTOS:CC]
- Remove useless list entry from ROS_VACB

svn path=/trunk/; revision=63734
2014-07-24 08:40:51 +00:00
Thomas Faber
304292d17e [WBEMPROX]
- Don't omit lpBytesReturned in DeviceIoControl call
ROSTESTS-120 #resolve

svn path=/trunk/; revision=63733
2014-07-23 18:50:09 +00:00
Jérôme Gardou
df7f9319c2 [WIN32K]
- Correctly use the Clip, Meta, Rao, API and Vis Regions in DCs
     - Update the DC clipping object on demand each time a blt is performed
     - Reduce the number of region allocated with handles when it's not needed
This commit fixes numerous bugs regarding clipping, most notably SetDIBitsToDevice overlapping foreground windows
CORE-8353 #resolve #comment There are still a few quirks in winetests which will get fixed in a next commit
CORE-7628 #comment should be fixed in rev 63731, please confirm.

svn path=/trunk/; revision=63731
2014-07-23 16:05:47 +00:00
Thomas Faber
022f198f1e [FORREALTHISTIME]
- Apparently we got that typo from Wine. Fix build. Will send upstream.

svn path=/trunk/; revision=63730
2014-07-23 12:46:47 +00:00
Thomas Faber
73304fbcaa [PSDK]
- Fix a typo in ntstatus.h

svn path=/trunk/; revision=63726
2014-07-23 12:23:31 +00:00
Thomas Faber
ca688e6e46 [WININET_WINETEST]
- Add back work-around for testbot hang lost in winesync.
ROSTESTS-73

svn path=/trunk/; revision=63725
2014-07-20 11:19:44 +00:00
Thomas Faber
18ad0bd565 [WININET]
- Apply Wine commit 8fd44a3d (wininet: Fix invalid memory access in HTTP_QUERY_RAW_HEADERS (Valgrind).) by Sebastian Lackner. Fixes crash in wininet:http InternetReadFile_test

svn path=/trunk/; revision=63724
2014-07-20 08:30:21 +00:00
Eric Kohl
737295142c [SCSIPORT]
ScsiPortLogError: Print the information that is to be logged.

svn path=/trunk/; revision=63723
2014-07-20 07:19:42 +00:00
Thomas Faber
5a8c0d9fc1 [NTOS:FSTUB]
- Make sure to NULL the return pointer in the failure case of xHalIoReadPartitionTable.
CORE-8359

svn path=/trunk/; revision=63722
2014-07-19 17:50:56 +00:00
Thomas Faber
5884949d32 [DISK]
- Fix memory leak in CreatePartitionDeviceObjects

svn path=/trunk/; revision=63721
2014-07-19 17:48:46 +00:00
Thomas Faber
6be6b3b4d4 [SERVICES]
- Silence some debug prints

svn path=/trunk/; revision=63720
2014-07-18 17:47:43 +00:00
Thomas Faber
16e23a8b75 [SERVICES]
- Use asynchronous I/O to correctly catch timeouts -- we have a reliable NPFS now.
This makes the timeout test in advapi32_winetest:service succeed, however I'm leaving it disabled because it takes two minutes to run (due to... timeouts).
ROSTESTS-56

svn path=/trunk/; revision=63719
2014-07-18 16:44:16 +00:00
Thomas Faber
2fd11216b0 [MSHTML_WINETEST]
- Enable htmllocation test again
ROSTESTS-81

svn path=/trunk/; revision=63718
2014-07-18 10:59:32 +00:00
Eric Kohl
80c4c0200f [BOOTDATA]
Create additional install directories.
Patch by Lee Schroeder. Thank you for updating the directory list!
CORE-8365 #resolve

svn path=/trunk/; revision=63717
2014-07-18 04:09:24 +00:00
Eric Kohl
7a9eb48cd8 [USETUP]
Create additional install directories. Patch by Lee Schroeder. Thanks a lot!

CORE-7987 #resolve #comment Fixed in r63716.

svn path=/trunk/; revision=63716
2014-07-16 19:43:23 +00:00
Eric Kohl
32e6eed760 [USETUP]
Reimplement SetupCreateDirectory in such a way, that a full directory path will be created, if needed. This enables us to install ReactOS in a sub-directory like for example '\OS\Test\Alpha\ReactOS'.

svn path=/trunk/; revision=63715
2014-07-15 21:34:12 +00:00
Eric Kohl
404855f50a [BOOTDATA]
Revert accidentially committed changes from r63713.

svn path=/trunk/; revision=63714
2014-07-13 18:33:40 +00:00
Eric Kohl
3a88ebcae3 [BOOTDATA]
Add / enable NLS settings for Arabic, Azeri, Kyrgyz, Latvian, Tatar and Uzbek.

CORE-8348 #resolve

svn path=/trunk/; revision=63713
2014-07-13 16:40:44 +00:00
Eric Kohl
f6cabeaa54 [NETSHELL]
Add code to rename network conections.

svn path=/trunk/; revision=63712
2014-07-13 07:38:49 +00:00
Jérôme Gardou
970a537191 [NTOS/CM]
- Fix overzealous check

svn path=/trunk/; revision=63707
2014-07-10 09:43:30 +00:00
Jérôme Gardou
642d03e08b [APPWIZ]
- Expand the registry entry when installing gecko package from disk.
Now unattended setup can really be unattended.

svn path=/trunk/; revision=63706
2014-07-10 09:05:43 +00:00
Jérôme Gardou
62ae426e15 [NTOSKRNL]
- Partial revert of r63700 on Alex's request
 - This cancels the "Use ZwSetValueKey" instead of NtSetValueKey" part
Oddly enough, it doesn't cause a problem anymore. I must have messed up in my initial testings

svn path=/trunk/; revision=63705
2014-07-10 09:05:37 +00:00
Jérôme Gardou
92e130d1cc [SETUPAPI_APITEST]
- Try restoring UTF8 character which got lost in translation.

svn path=/trunk/; revision=63701
2014-07-08 22:44:44 +00:00
Jérôme Gardou
3eaff9c2bc [NTOSKRNL]
- Use ZwSetValueKey instead of NtSetValueKey
 - Properly probe and copy parameters when NtSetValueKey is called from UMode
CORE-7738 #resolve #comment fixed in r63700

svn path=/trunk/; revision=63700
2014-07-08 18:42:20 +00:00
Jérôme Gardou
d331e1725b [NTDLL_APITEST]
- Add tests for NtDeleteKey

svn path=/trunk/; revision=63699
2014-07-07 14:46:04 +00:00
Sylvain Petreolle
d21dde849e [DBGPRINT]
--winetest mode: Use --list to get the tests list.
Dedicated to Christoph :)

svn path=/trunk/; revision=63698
2014-07-06 18:09:58 +00:00
Sylvain Petreolle
e3f91f127c [DBGPRINT]
Convert TABs to spaces.

svn path=/trunk/; revision=63697
2014-07-06 17:36:56 +00:00
Eric Kohl
d3be6e62e8 [FMIFS]
Add Format prototype.

svn path=/trunk/; revision=63696
2014-07-06 16:13:49 +00:00
Eric Kohl
03119a10c1 [FORMAT]
Rename variables in order to avoid conflicts with the FMIFS.Format function.

svn path=/trunk/; revision=63695
2014-07-06 15:57:16 +00:00
Eric Kohl
6fe19b5048 [FMIFS]
Fix indentation and codig style. No code changes!

svn path=/trunk/; revision=63694
2014-07-06 14:03:04 +00:00
Eric Kohl
e6a306946d [VFATLIB]
Add full format (wipe) support to the fat32 code.

svn path=/trunk/; revision=63693
2014-07-06 13:12:28 +00:00
Eric Kohl
8baf5990ef [USETUP]
Swap quick and full format entries in the file system list, so that quick format will be the default.

svn path=/trunk/; revision=63692
2014-07-06 12:33:11 +00:00
Hermès Bélusca-Maïto
97cbf95b0d [SACDRV]
ASSERT takes a condition, not a string.
[NTOS]
Use ASSERTMSG instead of a weird ASSERT construction.

svn path=/trunk/; revision=63691
2014-07-06 11:23:22 +00:00
Hermès Bélusca-Maïto
c5b0f1eb96 [NTOS:PS]
Remove that deprecated NtW32Call function that doesn't exist on windows since NT 4.0 SP3.
Alex, do you want to keep its prototype in the NDK too?

svn path=/trunk/; revision=63690
2014-07-06 00:00:07 +00:00
Timo Kreuzer
ab9b6a4251 [PSEH/RTL/CRT]
Some ARM related compilation fixes, plus remove a useless define

svn path=/trunk/; revision=63689
2014-07-05 19:17:16 +00:00
Timo Kreuzer
867be3b13e [FREELDR]
Add ARM files to build, avoid a redefinition in osloader.h, use new autogenerated ksarm.h in arm/boot.s

svn path=/trunk/; revision=63688
2014-07-05 19:02:41 +00:00
Thomas Faber
9dc1dcc32b [USBEHCI]
- Fix a type-limits warning
- Remove unnecessary casts and asserts
- Use NULL for pointer comparison
- Fix IN vs OUT annotation

svn path=/trunk/; revision=63687
2014-07-05 16:32:43 +00:00
Thomas Faber
a2e82498a2 [USBEHCI]
- Initialize the new queue head before inserting it into the asynchronous schedule list, and add a memory barrier to ensure this order. The list can be read by the host controller at any time, so the new item must be valid when inserted. See EHCI spec section 4.8.1.

svn path=/trunk/; revision=63686
2014-07-05 15:30:22 +00:00
Amine Khaldi
3166e6a066 [URLMON]
* Add HlinkGoBack stub. Needed by *cough* certain apps.
CORE-8174

svn path=/trunk/; revision=63682
2014-07-02 00:11:19 +00:00
Hermès Bélusca-Maïto
413950767e [CSRDLL]: Avoid a potential null pointer dereference.
svn path=/trunk/; revision=63681
2014-07-01 17:17:43 +00:00
Hermès Bélusca-Maïto
73d7ba1daf [WINLOGON]
- Do not shutdown the computer if winlogon cannot register itself to user32 (eg. the user double-clicks on winlogon.exe when ReactOS is already launched :P ).
- Add a note about a possible improvement of the error dialog if msgina cannot be loaded correctly.
- Fix french translation.

svn path=/trunk/; revision=63680
2014-06-30 21:08:32 +00:00
Hermès Bélusca-Maïto
291c34f5c7 [WINLOGON]
Add a suitable icon, from the "Farm-Fresh Icon Set" pack of "FatCow Web Hosting" (http://www.fatcow.com/), under a Creative Commons Attribution 3.0 License. See the COPYING file for more details.

svn path=/trunk/; revision=63679
2014-06-30 20:26:03 +00:00
Jérôme Gardou
265497886f [NTDLL_APITEST]
- Add a test showing that memory content is still available after changing protection to PAGE_NOACCESS

svn path=/trunk/; revision=63678
2014-06-30 19:50:28 +00:00
Jérôme Gardou
0f7a53e999 [WIN32K/NTGDI]
- Better semi-implementation of CreateHalftonePalette

svn path=/trunk/; revision=63677
2014-06-30 18:27:44 +00:00
Amine Khaldi
2bfabe5522 [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=63675
2014-06-30 12:00:07 +00:00
Hermès Bélusca-Maïto
84a819ad64 [NDK]: Certainly that this member exists only in Vista+. See r63673.
svn path=/trunk/; revision=63674
2014-06-29 18:30:12 +00:00
Hermès Bélusca-Maïto
b0100b94ab [NDK]
- Add PsGetThreadProcess prototype.
- Remove Win32DataCollectionProcedure member in WIN32_CALLOUTS_FPNS structure that doesn't exist in Win2k3 SP1 and SP2.

svn path=/trunk/; revision=63673
2014-06-29 17:54:59 +00:00
Amine Khaldi
ccd4c4e5e7 [SAL]
* Add _Field_size_bytes_part_ annotation.

svn path=/trunk/; revision=63672
2014-06-29 16:37:18 +00:00
Hermès Bélusca-Maïto
05e3584260 [USERSRV]: Convert remaining language files into UTF-8.
svn path=/trunk/; revision=63670
2014-06-29 15:00:22 +00:00
Thomas Faber
07644dbb39 {USBEHCI][USBOHCI][USBUHCI]
- Let libusb handle IRP_MJ_POWER and IRP_MJ_SYSTEM_CONTROL requests

svn path=/trunk/; revision=63668
2014-06-29 12:53:11 +00:00
Thomas Faber
6916c31c9e [LIBUSB]
- Fix a typo'd function name

svn path=/trunk/; revision=63667
2014-06-29 12:47:17 +00:00
Thomas Faber
23b20f6a50 [LIBUSB]
- Fix stack corruption due to incorrect StatusChangeEndpointCallBack calling convention

svn path=/trunk/; revision=63666
2014-06-29 12:43:06 +00:00
Thomas Faber
75c0ba4cf3 [LIBUSB]
- Correctly stub IRP_MJ_POWER handling
- Stub handlers for the (mandatory!) IRP_MJ_SYSTEM_CONTROL

svn path=/trunk/; revision=63665
2014-06-29 12:39:10 +00:00
Thomas Faber
420285a3c0 [SPEC2DEF]
- Do not include an export's ordinal in the .def file for the import lib unless import by ordinal is intended (via -noname or -ordinal). MSVC will always import by ordinal if it finds one in the def file, which would break apps on different versions of Windows if applied to the wrong functions.

svn path=/trunk/; revision=63664
2014-06-29 11:32:49 +00:00
Amine Khaldi
aa3b023aa4 [COMCTL32]
* Remove some exports that do not exist in native.
* Fix some existing exports.
* Reorder some exports.
* Comment out some stubs.
* Add some missing exports.
CORE-8174

svn path=/trunk/; revision=63663
2014-06-29 10:18:36 +00:00
Amine Khaldi
433665c006 [URLMON]
* Remove some exports that do not exist in native.
* Reorder some exports.
* Comment out some stubs.
* Add some missing exports.
CORE-8174

svn path=/trunk/; revision=63662
2014-06-28 23:23:50 +00:00
Amine Khaldi
71b3927caa [SHLWAPI]
* Remove some exports that do not exist in native.
* Reorder some exports.
* Comment out some stubs.
* Add some missing exports.
CORE-8174
CORE-8264

svn path=/trunk/; revision=63661
2014-06-28 22:42:19 +00:00
Hermès Bélusca-Maïto
b45ed87bd3 [SMSS][CSRSRV]: Typo fix.
[CSRSRV]: Fix an assertion.

svn path=/trunk/; revision=63660
2014-06-28 21:40:34 +00:00
Amine Khaldi
35e137f5c9 [SHLWAPI]
* Export some APIs by ordinals without names.
CORE-8174
CORE-8264

svn path=/trunk/; revision=63657
2014-06-28 14:03:22 +00:00
Amine Khaldi
62e20c7114 [USER32]
* Fix uninitialized cases. CID 1223182. Jim please review.
CORE-7975

svn path=/trunk/; revision=63656
2014-06-28 13:40:52 +00:00
Amine Khaldi
06c5c37b0a [NTVDM]
* Fix uninitialized scalar variable. CID 1223183.
CORE-7975

svn path=/trunk/; revision=63655
2014-06-28 13:19:39 +00:00
Amine Khaldi
8a6f50e496 [NTOS:CM]
* Fix uninitialized pointer read. CID 1223184.
CORE-7975

svn path=/trunk/; revision=63654
2014-06-28 13:15:05 +00:00
Amine Khaldi
7b04835c8b [CMD]
* Plug a leak. CID 1102398.
CORE-7975

svn path=/trunk/; revision=63653
2014-06-28 09:59:58 +00:00
Amine Khaldi
efbd5b7a32 [SHELL32]
* Plug a leak. CID 1206904.
CORE-7975

svn path=/trunk/; revision=63652
2014-06-28 09:57:09 +00:00
Amine Khaldi
b4ccb18968 [DEVMGR]
* Plug a leak. CID 1206903.
CORE-7975

svn path=/trunk/; revision=63651
2014-06-28 09:52:56 +00:00
Christoph von Wittich
f4ec38eedf [shlwapi]
fix buffer overflow

svn path=/trunk/; revision=63649
2014-06-27 18:08:00 +00:00
Hermès Bélusca-Maïto
8a3822c4ea Sync with trunk r63647.
svn path=/branches/condrv_restructure/; revision=63648
2014-06-27 18:05:20 +00:00
Amine Khaldi
2c9a27ae40 [NTOS:CM]
* Plug some leaks. Inspired by CID 1206912 and fixed by Timo.
CORE-7975

svn path=/trunk/; revision=63647
2014-06-26 19:35:48 +00:00
Amine Khaldi
2925773710 [DESK]
* Plug a leak. CID 1206913.

svn path=/trunk/; revision=63646
2014-06-26 19:15:51 +00:00
Amine Khaldi
9685ee29f2 [KERNEL32]
* Apply Wine commit bdc0099e (kernel32: Add DECLSPEC_HOTPATCH to SetFilePointer.) by Austin English.
CORE-7959

svn path=/trunk/; revision=63645
2014-06-26 18:27:43 +00:00
Jérôme Gardou
d11edd7453 [SETUPAPI]
- Do not fail on non-existing GUIDs in SetupDiGetClassDevsExW
WinCDemu portable now goes a bit further and permits to load CD images, but no new drive letters are affected.

svn path=/trunk/; revision=63643
2014-06-24 22:19:20 +00:00
Jérôme Gardou
58edad6809 [SETUPAPI_APITEST]
- Add a test that shows that SetupDiGetClassDevsExW doesn't fail on non-existing GUID

svn path=/trunk/; revision=63642
2014-06-24 22:18:49 +00:00
Sylvain Petreolle
c19093060f [KERNEL32]
Use actual codepage numbers for ANSI and OEM codepages.
CORE-7568 #resolve #comment Committed.

svn path=/trunk/; revision=63641
2014-06-24 19:36:22 +00:00
Hermès Bélusca-Maïto
6e592c35e9 [NTDLL]: Addendum to r63635.
svn path=/trunk/; revision=63637
2014-06-23 22:07:33 +00:00
Thomas Faber
f5c9dd0ad6 [RPCRT4][CRT]
- Do not omit the last argument to VirtualProtect, it will cause the function to fail

svn path=/trunk/; revision=63636
2014-06-23 20:39:49 +00:00
Thomas Faber
63861e09a4 [NTDLL:LDR]
- Actually use DPFLTR_LDR_ID in debug prints instead of a magic value and a comment
- Use RtlInitEmptyUnicodeString where appropriate

svn path=/trunk/; revision=63635
2014-06-23 20:30:54 +00:00
Thomas Faber
9e0c44c18d [ADVAPI32]
- Do not use the upper byte of RtlRandom's result in RtlGenRandom, since the function only generates 31 bits. Should fix UuidCreate test in rpcrt4:rpc.

svn path=/trunk/; revision=63633
2014-06-23 15:21:13 +00:00
Thomas Faber
1fd39b3a08 [WS2_32]
- Correctly handle port 0 in getaddrinfo
- Stub numeric port case of getnameinfo

svn path=/trunk/; revision=63632
2014-06-22 18:51:11 +00:00
Thomas Faber
6582b51c46 [UNIATA]
- Fix page length calculation in IdeSendCommand/SCSIOP_MODE_SENSE case. Should be pushed upstream(TM).
- Remove outdated file

svn path=/trunk/; revision=63631
2014-06-22 18:48:15 +00:00
Thomas Faber
1da67b8fcd [RTL]
- Apply Wine commit 5b0fcb06 (ntdll: Avoid crashing on an empty resource directory.) by Alexandre Julliard

svn path=/trunk/; revision=63630
2014-06-22 18:44:21 +00:00
Thomas Faber
ce303598e9 [NTDLL:LDR]
- Fix buffer size calculation in LdrpSearchPath

svn path=/trunk/; revision=63629
2014-06-22 18:40:21 +00:00
Thomas Faber
faa29d8704 [CMAKE]
- Correctly include the license for CMakeParseArguments.cmake

svn path=/trunk/; revision=63628
2014-06-22 18:35:17 +00:00
Thomas Faber
f48241c5b8 [APPLICATIONS][NEWDEV]
- Remove broken function pointer casts

svn path=/trunk/; revision=63627
2014-06-22 18:33:18 +00:00
Hermès Bélusca-Maïto
ecdfc31590 [ODBCCP32]: Whitespace fixes only.
svn path=/trunk/; revision=63626
2014-06-22 09:37:55 +00:00
Hermès Bélusca-Maïto
adc64f21ca [ODBCCP32]
The control panel automatically runs this applet without clicking on it, fix this wrong behaviour.
Patch by Lee Schröder
CORE-8323 #resolve #comment Thanks :)

svn path=/trunk/; revision=63625
2014-06-22 09:33:46 +00:00
Thomas Faber
73f4d1ff00 [WIN32K]
- Pass a boolean argument to RtlEqualUnicodeString

svn path=/trunk/; revision=63624
2014-06-21 11:07:51 +00:00
Jérôme Gardou
988dbfce59 [KSECDD]
- Really export symbols
 - Properly stub InitSecurityInterfaceW
 - Install the driver

svn path=/trunk/; revision=63619
2014-06-19 11:24:48 +00:00
Jérôme Gardou
7fade28911 [NTOS/MM]
- Do not mark VAD as private memory when creating a MEMORY_AREA, as this is never the case (only used for sections)
 - Add a few DPRINTS.
CORE-8140 #resolve fixed with r63618

svn path=/trunk/; revision=63618
2014-06-19 10:50:47 +00:00
Jérôme Gardou
36de38c3a6 [OPENGL32/MESA]
- Report OpenGL version 1.1

svn path=/trunk/; revision=63617
2014-06-19 08:18:25 +00:00
Jérôme Gardou
c75e046831 [NTOS/MM]
- When freeing virtual memory, correctly set the ending address of the shrunk memory area.
CORE-7467

svn path=/trunk/; revision=63616
2014-06-18 18:32:46 +00:00
Jérôme Gardou
aa7c4d673d [OPENGL32]
- fix an off-by-one error

svn path=/trunk/; revision=63615
2014-06-18 17:28:14 +00:00
Jérôme Gardou
b6f7dca618 [OPENGL32]
- Fix bitfields for 16-bits pixel format

svn path=/trunk/; revision=63614
2014-06-18 17:24:18 +00:00
Jérôme Gardou
dfb4d747d4 [OPENGL32/MESA]
- Get rid of EXT_secondary_color, ARB_imaging and a few others support
CORE-7499

svn path=/trunk/; revision=63613
2014-06-18 15:58:59 +00:00
Hermès Bélusca-Maïto
ecf5e374ef [WIN32K]
The winstation spinlock is a leftover of some old code. It can be removed.
<+smiley1_> hbelusca: yeah the spinlock should be removed
<@hbelusca> smiley1_ - was it from old code?
<+smiley1_> hbelusca: go on

svn path=/trunk/; revision=63612
2014-06-17 20:51:04 +00:00
Hermès Bélusca-Maïto
df0cd9c93d [WIN32K]: TWOPARAM_ROUTINE_SETCARETPOS does exist in windows, and we also have it in our SimpleCallRoutines enumeration.
svn path=/trunk/; revision=63611
2014-06-17 20:47:55 +00:00
Hermès Bélusca-Maïto
340e8ae45f [WIN32K]
There is a bug in win32k (who would have thought that?) that consists in holding a winstation spinlock while running PAGED_CODE MmCopyToCaller function, when building the list of desktops of a given window station (the bug is easily triggerable when calling EnumDesktopsW). Since this lock is never used in anyplace but in this function, which, by the way, is just a reader function that fills user buffer, I consider that it is safe to remove this lock. However I want approval from win32k specialists. Hence I just disable the code with a define USE_WINSTA_LOCK. If this lock is really needed, please rewrite the BuildDesktopNameList function !! Otherwise remove this lock and the associated code !!
This is a blocker for the shutdown code.

svn path=/trunk/; revision=63610
2014-06-17 20:01:23 +00:00
Jérôme Gardou
55f8bd0cd2 [OPENGL32/MESA]
- Some more cleanup from previous commits
CORE-7499

svn path=/trunk/; revision=63609
2014-06-17 14:48:39 +00:00
Jérôme Gardou
07b02cbbe9 [OPENGL32/MESA]
- Get rid of APPLE_vertex_array_object, ARB_vertex_array_object and APPLE_object_purgeable
CORE-7499

svn path=/trunk/; revision=63608
2014-06-17 09:02:19 +00:00
Jérôme Gardou
f2e556cc0a [OPENGL32/MESA]
- Get rid of non-power-of-two and 3D textures
 - Some cleanup of previous work
CORE-7499

svn path=/trunk/; revision=63607
2014-06-16 19:16:37 +00:00
Jérôme Gardou
00f730ca44 [OPENGL32/MESA]
- Get rid of support for ARB_texture_float, ARB_half_float_vertex and ARB_half_float_pixel

svn path=/trunk/; revision=63606
2014-06-16 18:18:40 +00:00
Jérôme Gardou
c1b41411c2 [RPCRT4]
- Free parameters allocated by application before anything else.
See CORE-8200 #comment committed in r63605, waiting for wine to accept it before closing.

svn path=/trunk/; revision=63605
2014-06-16 16:31:06 +00:00
Hermès Bélusca-Maïto
f5d1d7e5b1 [SERVICES]
The SCM also sets a shutdown level, lower than the default value for programs (this was cross-checked with Windows 2k3, the value chosen is for compatibility purposes).

svn path=/trunk/; revision=63604
2014-06-16 00:49:28 +00:00
James Tabor
fc8ed44177 - Update wine test to 1.7.20.
svn path=/trunk/; revision=63603
2014-06-15 21:54:12 +00:00
James Tabor
d81aed45c9 [User32]
- Patch by Henri Verbeet : Ensure at least one character is used in TEXT_WordBreak().

svn path=/trunk/; revision=63602
2014-06-15 21:53:23 +00:00
Hermès Bélusca-Maïto
09fe96f361 [EXPLORER][EXPLORER_NEW]
[TASKMGR]
Set a proper shutdown level (with SetProcessShutdownParameters) so that explorer and taskmgr are terminated the very last when one shutdowns ReactOS.
See Windows Internals 4th page 286 (section "Shutdown") which gives the values (that I've cross-checked on Windows 2k3 too).

svn path=/trunk/; revision=63601
2014-06-15 20:02:26 +00:00
Hermès Bélusca-Maïto
8c1cde9a6a [CSRSRV]
- Cleanup CSRSRV from the very last remnants of CsrEnumProcesses i.e. the old & buggy way of shutdowning process (lots of work must be done in winsrv side).
- Fixup FindProcessForShutdown (reenable commented code in it, and set a proper status error code if CsrImpersonateClient call fails).

svn path=/trunk/; revision=63600
2014-06-15 19:28:41 +00:00
Hermès Bélusca-Maïto
6d276265c1 [TASKMGR]: Use the EndTask API to kill tasks.
svn path=/trunk/; revision=63599
2014-06-15 17:47:40 +00:00
Hermès Bélusca-Maïto
422d0d9ca3 [CONSRV]: Add information info for the changes of r63595.
svn path=/trunk/; revision=63598
2014-06-15 14:59:26 +00:00
Eric Kohl
9955f52225 [USETUP]
Re-enable scrolling through multiple disks and support logical partitions.

svn path=/trunk/; revision=63597
2014-06-15 12:02:08 +00:00
Hermès Bélusca-Maïto
5e52a82ae0 [EXPLORER]: Remove some painting hack from revision 36668 .
svn path=/trunk/; revision=63596
2014-06-13 23:36:29 +00:00
James Tabor
50e8eb2f87 [ConSrv]
- Move CreateSysMenu after creating the main window. This is a hax fix for CORE-8129.

svn path=/trunk/; revision=63595
2014-06-13 01:49:29 +00:00
James Tabor
a9746d12cb - fix the fix.
svn path=/trunk/; revision=63594
2014-06-13 01:45:44 +00:00
James Tabor
6798413bf5 [Win32k]
- Test for disabled windows, fix CORE-8089 and see CORE-6651.

svn path=/trunk/; revision=63593
2014-06-13 01:40:59 +00:00
James Tabor
fa15740904 [Win32k]
- Apply patch from r63350. Modified so the WM_ACTIVATEAPP before the WM_NC/ACTIVATE call not after.

svn path=/trunk/; revision=63592
2014-06-11 19:48:43 +00:00
Eric Kohl
9a92cc636a [NET]
Add the /help option to the helpmsg command too.

svn path=/trunk/; revision=63591
2014-06-10 22:36:31 +00:00
Jérôme Gardou
bd4dce67d1 [HIDPARSE]
- Use cdecl for variadic function prototype
See CORE-6447

svn path=/trunk/; revision=63590
2014-06-10 22:17:58 +00:00
Jérôme Gardou
e1149127bf Revert "[CMAKE/RPC]"
This reverts commit a8356056cb870090a1fb39921e469b8410d36962.

svn path=/trunk/; revision=63589
2014-06-10 22:17:47 +00:00
Jérôme Gardou
afd824501a [CMAKE/RPC]
- Disable -Oif flags for generating client/server stubs with widl, except for advapi32 which needs it
See CORE-8200 for details

svn path=/trunk/; revision=63588
2014-06-10 22:15:57 +00:00
Eric Kohl
12fae91ffc [NET]
Implement the /help option for the pause, start and stop commands.

svn path=/trunk/; revision=63587
2014-06-10 21:35:39 +00:00
Hermès Bélusca-Maïto
9d7a2a09db [CONSRV]: Fix erroneous X-offset when copying text lines.
svn path=/trunk/; revision=63586
2014-06-10 19:49:22 +00:00
Amine Khaldi
01a82ca2fc [OLEAUT32]
* Reorder some exports and remove the ones that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63585
2014-06-10 16:36:51 +00:00
Amine Khaldi
b8480056d0 [SETUPAPI]
* Remove exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63584
2014-06-10 16:14:12 +00:00
Aleksandar Andrejevic
7d49f9ccaa [NTOS:NEWCC]
In _MiMapViewOfSegment, if no base address was specified, the granularity should be 64K.


svn path=/trunk/; revision=63583
2014-06-09 23:35:16 +00:00
Daniel Reimer
492bfe5967 [TRANSLATION]
Polish translation of a few INF files by Adam Stachowicz
CORE-8218 #comment INF files committed. Thx for help.

svn path=/trunk/; revision=63582
2014-06-09 21:37:52 +00:00
Ziliang Guo
1cf26dd5ff [TRANSLATIONS]
Add polish translations for various applications, control panel applets, and modules.
CORE-8218 #resolve #comment

svn path=/trunk/; revision=63581
2014-06-09 21:33:59 +00:00
Aleksandar Andrejevic
ed3c1868ad [NTOS:MM]
MmUnmapViewOfCacheSegment expects DeleteInProgress to be FALSE and the address space to be unlocked.
Allow unmapping memory areas which belong to the cache.


svn path=/trunk/; revision=63580
2014-06-09 18:21:03 +00:00
Pierre Schweitzer
9bf52b7156 [KERNEL32]
- Move CopyFileExW() implementation to BasepCopyFileExW()
- Call BasepCopyFileExW() from CopyFileExW()
- Implement PrivCopyFileExW() using BasepCopyFileExW()

TODO: Fix BasepCopyFileExW() implementation

svn path=/trunk/; revision=63579
2014-06-09 16:53:39 +00:00
Pierre Schweitzer
b1847abb77 [KERNEL32]
- Add defines for internal flags for BasepCopyFileExW().
- Add prototype for BasepCopyFileExW().

Based on documentation by Alex.

svn path=/trunk/; revision=63578
2014-06-09 16:48:59 +00:00
Amine Khaldi
3d43dcc6cd [WIN32K]
* Improve FLOATOBJ_Set{0,1}. By Timo.

svn path=/trunk/; revision=63577
2014-06-09 13:36:20 +00:00
Amine Khaldi
3629ad50aa [WIN32K/FREETYPE]
* Consider current WorldTransform in ExtTextOutW.
* Brought to you by Manuel "Tarnyko" Bachmann. Fix improved by Timo Kreuzer and me.
CORE-8306 #resolve #comment Fixed in r63576. Thanks!

svn path=/trunk/; revision=63576
2014-06-09 13:31:38 +00:00
Eric Kohl
87b791fd9e [NET]
Convert help and usage texts to string resources.

svn path=/trunk/; revision=63575
2014-06-09 12:56:05 +00:00
Eric Kohl
4e31cd6e0c [USETUP]
Add the create logical partition page.

svn path=/trunk/; revision=63574
2014-06-09 01:49:24 +00:00
Hermès Bélusca-Maïto
55c189531f [CONSRV]: Use InterlockedExchange16 to exchange Begin and End COORD structure members.
svn path=/trunk/; revision=63573
2014-06-08 23:02:40 +00:00
Hermès Bélusca-Maïto
5ed8d5d62e [CRT/INTRIN_X86]
Add InterlockedExchange8/16 for GCC. Reviewed by Timo.

svn path=/trunk/; revision=63572
2014-06-08 22:28:35 +00:00
Amine Khaldi
7c0657fdac [OLE32]
* Reorder some exports, add some missing ones and remove the ones that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63571
2014-06-08 19:25:14 +00:00
Eric Kohl
5d627ea750 [USETUP]
- Add status text for logical partition entries in the partition list.
- Add logical partition creation page dummy.

svn path=/trunk/; revision=63570
2014-06-08 19:05:03 +00:00
Amine Khaldi
870ba03619 [RPCRT4]
* Reorder some exports, remove some commented out ones, add some missing ones and remove the ones that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63569
2014-06-08 18:46:01 +00:00
Amine Khaldi
6efa325a8e [ATL][ATL80][ATL100]
* Do not rely on RegDeleteTreeW which is no longer exported.
* We no longer need to define _WIN32_WINNT as 0x600.
CORE-8174

svn path=/trunk/; revision=63568
2014-06-08 18:27:21 +00:00
Amine Khaldi
983a3ff5ca [ADVAPI32]
* Reorder some exports, remove some commented out ones, add some missing ones and remove the ones that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63567
2014-06-08 18:13:10 +00:00
Amine Khaldi
d443d916e6 [UMPNPMGR]
* Do not rely on RegDeleteTreeW which shouldn't be exported.
* We no longer need to define _WIN32_WINNT as 0x600.
CORE-8174

svn path=/trunk/; revision=63566
2014-06-08 18:10:04 +00:00
Amine Khaldi
70c282c0a9 [REACTOS/IDL]
* Unfortunately widl seems to generate declarations for functions even when they're wrapped with version related cpp quotes, so hand this block to SVN for now.
CORE-8174

svn path=/trunk/; revision=63565
2014-06-08 18:08:50 +00:00
Hermès Bélusca-Maïto
53581dcf0b [CONSRV]
- Silence a DPRINT.
- Properly initialize the selection.

svn path=/trunk/; revision=63564
2014-06-08 18:06:14 +00:00
James Tabor
a40b302a03 [Win32k]
- Fix functions. Old patch from 2009.

svn path=/trunk/; revision=63563
2014-06-08 17:56:28 +00:00
Amine Khaldi
fa8ca9750f [WINDOWSCODECS]
* Do not rely on RegDeleteTreeW which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63562
2014-06-08 17:56:18 +00:00
Amine Khaldi
3004134b74 [SHELL32]
* Introduce vista.c to copy RegLoadMUIString related functions. If you think you're having a deja-vu, you are (r58809).
* Use SHCopyKeyW instead of RegCopyTreeW and mark that it doesn't copy the security attributes of the keys.
CORE-8174

svn path=/trunk/; revision=63561
2014-06-08 17:51:38 +00:00
Hermès Bélusca-Maïto
cd934cf648 Simplify the math.
svn path=/trunk/; revision=63560
2014-06-08 17:36:12 +00:00
Hermès Bélusca-Maïto
1476e535cf [CONSRV]
Have you ever dreamt of doing per-line text selection in a windows-like console, instead of only being able to select rectangular blocks of text? Even if it is still not possible on Windows (unless you use one of those hackish hooking libraries on the Internet to do that), it now becomes possible on ReactOS!! Just press Ctrl while you're selecting text, and enjoy! Also, you need to keep Ctrl key pressed while you release the mouse (if you select text via the mouse), to be (afterwards) able to copy the text in line-mode, otherwise it will switch back to block-mode selection.
Enjoy!

svn path=/trunk/; revision=63559
2014-06-08 17:26:07 +00:00
Amine Khaldi
b3282a3440 [RPCRT4]
* Do not rely on RegDeleteTreeW which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63558
2014-06-08 17:11:47 +00:00
Amine Khaldi
ce53530645 [MSI]
* Do not rely on RegDeleteTreeW which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63557
2014-06-08 17:05:26 +00:00
Amine Khaldi
8db88e6145 [NTMARTA]
* {Set,Query}SecurityAccessMask should not be exported.
* We no longer need to define _WIN32_WINNT as 0x600.
CORE-8174

svn path=/trunk/; revision=63556
2014-06-08 17:01:26 +00:00
Amine Khaldi
f55a509638 [MSCTF]
* Do not rely on RegDeleteTreeW which shouldn't be exported.
* We no longer need to define _WIN32_WINNT as 0x600.
CORE-8174

svn path=/trunk/; revision=63555
2014-06-08 15:00:51 +00:00
Amine Khaldi
5814ee76b3 [LOCALSPL]
* Do not rely on RegDeleteTreeW which shouldn't be exported.
* We no longer need to define _WIN32_WINNT as 0x600.
CORE-8174

svn path=/trunk/; revision=63554
2014-06-08 14:51:07 +00:00
Amine Khaldi
74e0de1a68 [CRYPT32]
* Do not rely on RegDeleteTreeW which shouldn't be exported.
* We no longer need to define _WIN32_WINNT as 0x600.
CORE-8174

svn path=/trunk/; revision=63553
2014-06-08 12:45:39 +00:00
Amine Khaldi
bf89f9e6bb [QUARTZ]
* Do not rely on RegDeleteTree{A,W} which shouldn't be exported.
* Move shlwapi.h inclusion to the PCH.
* We no longer need to define _WIN32_WINNT as 0x600.
CORE-8174

svn path=/trunk/; revision=63552
2014-06-08 12:14:06 +00:00
Amine Khaldi
60de098b28 * Use SHDeleteKeyW explicitly here.
svn path=/trunk/; revision=63551
2014-06-08 12:08:16 +00:00
Amine Khaldi
ee29688b8d [DEVENUM]
* Do not rely on RegDeleteTreeW which shouldn't be exported.
* We no longer need to define _WIN32_WINNT as 0x600.
CORE-8174

svn path=/trunk/; revision=63550
2014-06-08 12:02:59 +00:00
Amine Khaldi
d742698726 [REG]
* Do not rely on RegDeleteTreeW which shouldn't be exported.
* We no longer need to define _WIN32_WINNT as 0x600.
CORE-8174

svn path=/trunk/; revision=63549
2014-06-08 11:56:30 +00:00
Eric Kohl
39465487a9 [USETUP]
Implement scolling through the list of logical partitions. Multiple disks are not supported yet.

svn path=/trunk/; revision=63547
2014-06-07 20:02:26 +00:00
Hermès Bélusca-Maïto
a06ec7042e [CONSRV]
- Rename a macro to something meaningful.
- Localize selection type strings.

svn path=/trunk/; revision=63545
2014-06-06 21:05:59 +00:00
Amine Khaldi
0c2a513314 * Forgot this file.
svn path=/trunk/; revision=63544
2014-06-06 13:54:42 +00:00
Amine Khaldi
3f570d5173 [NEWDEV]
* Fix a nasty stack corruption that was caused by a mismatching prototype.
* Brought to you by MSVC Run-Time Error Checks (/RTC1)
* Fixed by Christoph von Wittich.

svn path=/trunk/; revision=63543
2014-06-06 13:49:47 +00:00
Hermès Bélusca-Maïto
40d538d6b1 [RAPPS][USETUP][SYSDM]
"Licence" --> "License" in USA english.
Patch by middings contributor.
CORE-8288 #resolve #comment Thanks :)

svn path=/trunk/; revision=63542
2014-06-05 19:38:44 +00:00
Jérôme Gardou
5ed72773b9 [NTOS/PS]
- ULONG --> ULONG_PTR

svn path=/trunk/; revision=63540
2014-06-04 17:12:09 +00:00
Aleksandar Andrejevic
36d73c2c62 [NTVDM]
Fix the command line NULL-termination.


svn path=/trunk/; revision=63538
2014-06-03 22:34:49 +00:00
Aleksandar Andrejevic
a579b9e6b6 [NTVDM]
Initialize the VGA-related BDA data fields.


svn path=/trunk/; revision=63534
2014-06-02 18:24:58 +00:00
Kamil Hornicek
ec72c98352 [KBDCZ][KBDCZ1]
- add support for VK_OEM_102 and Shift+AltGr combinations in kbdcz1
- fix left arrow in kbdcz
- reduce diff between the layouts 
- misc cleanup
- Patch by Radek Liska
CORE-8283

svn path=/trunk/; revision=63532
2014-06-02 10:41:52 +00:00
James Tabor
958cc23088 [User32]
- Fix recursive loops during Alt+Esc and Tab. Dedicated to Hermès Bélusca-Maïto.

svn path=/trunk/; revision=63531
2014-06-01 22:32:24 +00:00
Timo Kreuzer
ac7d530c44 [INCLUDE]
- Move definition of va_list to crtdefs.h
- Remove useless definitions from vadefs.h
- Cleanup the mess in stdarg.h
- Add memmove prototype to intrin_x86.h, since it's used there
- basetyps.h: guard STDMETHODCALLTYPE & friends from redefinition
- guiddef.h: define FAR, include string.h
- ntdef.h: don't include stdarg.h and string anymore, enable STRICT, remove FAR, add STDMETHODCALLTYPE & friends

svn path=/trunk/; revision=63530
2014-06-01 21:47:51 +00:00
Timo Kreuzer
1591c79743 [KS] Fix to compile with STRICT enabled
[CMAKE] Enable rostests in x64 build

svn path=/trunk/; revision=63529
2014-06-01 17:07:09 +00:00
Daniel Reimer
f927f702e6 Revert that... sorry
svn path=/trunk/; revision=63528
2014-06-01 12:00:32 +00:00
Daniel Reimer
a1545a1c31 [RAPPS]
- Database update and some missed sourceforge mirror fixes by me and myself.
- rapps: (for database) Many Improvements and Many Fixes by Erdem Ersoy
CORE-7710 #resolve #comment Committed, thx for your help.

svn path=/trunk/; revision=63527
2014-06-01 11:58:21 +00:00
Kamil Hornicek
94f5ab6df4 [EVENTVWR]
- sync and translate the czech resources

svn path=/trunk/; revision=63526
2014-06-01 11:11:07 +00:00
Timo Kreuzer
5085010531 [EVENTEVWR]
* when displaying message boxes, set the parent to the main window/details dialog instead of using NULL.
*add a function for showing the last Win32 error and replace two message boxes with a call to it.
*add the ability to save event logs to a file.
*add the ability to clear event logs.
*In QueryEventMessages(), assign lpSourceLogName and lpComputerName after the call to OpenEventLog, not before.
Patch by Ricardo Hanke
CORE-7863 #comment Comitted in r63525, thanks

svn path=/trunk/; revision=63525
2014-06-01 11:00:09 +00:00
Timo Kreuzer
2d2cae039d [INCLUDE]
- ntdef.h: add missing RTL_NUMBER_OF_FIELD, RTL_PADDING_BETWEEN_FIELDS, RotateLeft*, PRODUCT_*, SUBLANG_*, SORT_*, LANG_SYSTEM_DEFAULT, LANG_USER_DEFAULT, a few LOCALE_*
- winnt.h: add missing LOCALE_SYSTEM_DEFAULT, LOCALE_USER_DEFAULT
- winnls.h: remove definitions that don't belong there, add some missing ones, remove wineisms
- intrin.h Implement _rotl64 for GCC
- basetyps.h: add #pragma once, move include to the top

svn path=/trunk/; revision=63524
2014-06-01 10:15:07 +00:00
Eric Kohl
dad73c35fe [RPCTR4]
Skip the optional leading backslashes in server names for the ncacn_np protocol.
This will fix at least one failure in the advapi32 registry winetest.

svn path=/trunk/; revision=63523
2014-05-31 22:03:41 +00:00
Timo Kreuzer
b6cc5b5b59 [PSDK]
Add annotation to HRESULT typedef, add a number of missing typedefs and defines, make RTL_CONSTANT_STRING and RTL_NUMBER_OF_V2 more secure by adding compiler checks for common errors, make use of intrinsics for some 64 bit shift macros.

svn path=/trunk/; revision=63522
2014-05-31 21:52:30 +00:00
Timo Kreuzer
629a0fd9c0 {CRT]
- Treat ARM like x64 in excpt.h
- Give Clang the right __CRT_INLINE definition

svn path=/trunk/; revision=63521
2014-05-31 21:39:36 +00:00
Timo Kreuzer
a5cffd2542 [MCISEQ] Silence a warning
[CMAKE] Get rid of -Wtype-limits, it's noisy, it doesn't provide any reasonable benefit and it's almost impossible to "fix" these warnings without huge haxxory.

svn path=/trunk/; revision=63520
2014-05-31 21:26:26 +00:00
Timo Kreuzer
6cfa5d2e25 [W32KDLL]
Update ros syscall list from trunk, remove obsolete files

svn path=/trunk/; revision=63519
2014-05-31 20:43:41 +00:00
Timo Kreuzer
9bda7700ff [SETUP16/EXPLORER/LIBTIFF/DESK/ADVAPI32/MCIWAVE/SAMSRV/SHELL32/WINMM/LIBMPG123]
Fix / silence warnings

svn path=/trunk/; revision=63518
2014-05-31 16:58:03 +00:00
Timo Kreuzer
35767099ce [BROWSEUI] Silence warnings about unused but set variables
[MESA] Silence warnings about unused but set variables and type limits
[GENINC] Remove obsolete file
[OBJ2BIN] Fix a typo

svn path=/trunk/; revision=63517
2014-05-31 16:19:36 +00:00
Amine Khaldi
9c9a481d33 [CRT]
* Update scanf.h.
CORE-8080

svn path=/trunk/; revision=63516
2014-05-31 16:08:41 +00:00
Timo Kreuzer
10a264845d [ROSTESTS]
Silence some warnings, fix compilation of w32kdll with MSVC, give dllexport_test dlls a base address.

svn path=/trunk/; revision=63515
2014-05-31 16:00:05 +00:00
Timo Kreuzer
461f47c1d1 [WINE]
Try to fix some warnings in wine tests

svn path=/trunk/; revision=63514
2014-05-31 15:44:45 +00:00
Timo Kreuzer
4a7d9e2a5c [CMLIB]
Fix build (and warnings)

svn path=/trunk/; revision=63513
2014-05-31 15:34:21 +00:00
Timo Kreuzer
4289bcee64 [HOST]
Try to fix some host warnings.

svn path=/trunk/; revision=63512
2014-05-31 15:29:10 +00:00
Amine Khaldi
96f0120d3a [GECKO]
* Introduce a faster and smaller build without dependency on exports that do not exist in native.
[MSVCRT]
* Get rid of some exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63511
2014-05-31 14:51:36 +00:00
Amine Khaldi
bf476c3c1a [NET]
* Fix MSVC build.

svn path=/trunk/; revision=63510
2014-05-31 14:24:26 +00:00
Eric Kohl
6f830f27bb [NET]
- Fix an off-by-one bug in the ACCOUNTS command.
- Improve input validation for the ACCOUNTS command.
- Add the /help option to the CONTINUE command.
- Add version resource and start to move texts into resources.

svn path=/trunk/; revision=63509
2014-05-31 08:32:54 +00:00
Aleksandar Andrejevic
a31b680c53 [NTOSKRNL]
Don't allow saving keys which are located directly in the master hive.


svn path=/trunk/; revision=63508
2014-05-31 01:17:00 +00:00
Aleksandar Andrejevic
2996e28ecd [NTDLL_APITESTS]
Add tests for NtSaveKey.


svn path=/trunk/; revision=63507
2014-05-31 01:14:02 +00:00
Hermès Bélusca-Maïto
a5a69f46e6 [NTOS:CM]
Replace a hardcoded value with something more readable.

svn path=/trunk/; revision=63506
2014-05-30 21:47:22 +00:00
Hermès Bélusca-Maïto
64fcc42ee5 [NTOS:CM]
- Add a DPRINT1 in CmCheckRegistry because it is unimplemented, and give the CheckFlags value to CmCheckRegistry, when it is called in CmpInitializeHive.
- Give the CheckFlags value to CmpInitializeHive, when it is called in CmpInitHiveFromFile.
- Really mention that the CmCreateRootNode call is a HACK for ROS.

svn path=/trunk/; revision=63505
2014-05-30 20:40:02 +00:00
James Tabor
4dc4711006 [Win32k]
- Fix removing menus and submenus. Dedicated to David Quintana and the New Explorer and Shell team.

svn path=/trunk/; revision=63502
2014-05-30 12:38:04 +00:00
Timo Kreuzer
137dc25b64 [ASM]
- Fix geninc and spec2def to support the MS ARM assembler
- Add an MSVC compatible version of kxarm.h
- autogenerate ksarm.h with geninc.c
- Move some ARM definitions to NDK

svn path=/trunk/; revision=63501
2014-05-30 00:30:38 +00:00
Timo Kreuzer
717f8cb0e9 [INCLUDE]
- ntdef.h: Add #pragma once, include guiddef.h and kernelspecs.h, slightly cleanup the nameless struct/union stuff, fix PVOID64 definition, fix definition of UNALIGNED on ARM, stop checking for too outdated MSVC versions (< 1300), start using ULONG32 instead of ULONG at some places (this is to be able to share the code with winnt.h later), add missing PROBE_ALIGNMENT32, DECLSPEC_NOTHROW, DECLSPEC_UUID, DECLSPEC_NOVTABLE, DECLSPEC_DEPRECATED, DECLSPEC_DEPRECATED_DDK, simpify HANDLE definition.

svn path=/trunk/; revision=63500
2014-05-30 00:09:55 +00:00
Timo Kreuzer
aaff11172a [INCLUDE]
- rewrite msvctarget.h to define all native MSVC architecture macros and do not define x86 sub-architecture numbers, they are deprecated
- basetsd.h: Fix header guard, include msvctarget.h instead of adding some custom defines, add missing FIRMWARE_PTR definition, fix POINTER_64 definition

svn path=/trunk/; revision=63499
2014-05-29 23:43:19 +00:00
Hermès Bélusca-Maïto
87026354cb [USERINIT]
- Remove two unuseful imports.
- Rewrite StrToColorref to not use shell functions, and increase a bit the size of the szColor buffer in SetUserSysColors to match the capabilities of windows.

svn path=/trunk/; revision=63498
2014-05-29 23:20:31 +00:00
Hermès Bélusca-Maïto
63f0cf2a3a [PSDK]
- Fix the CMYK macro which was totally broken.
- Code formatting around RGB macro.

svn path=/trunk/; revision=63497
2014-05-29 22:37:43 +00:00
Hermès Bélusca-Maïto
cb2c49a1ea [LSASRV]
- Just run again the loop if LsarOpenAccount call failed (that also avoids a call to LsarClose on a NULL handle, that is trapped by the kdbg if one enabled "set condition * first always").
- Free the memory and the opened handles before returning in case of failure of LsapAddPrivilegeToTokenPrivileges. Maybe this cleaning step can be done more elegantly.
Eric, can you please review that? It should be good I think.

svn path=/trunk/; revision=63496
2014-05-29 21:34:35 +00:00
Aleksandar Andrejevic
0d6c552a9d [NTOSKRNL]
Implement NtSaveKey/NtSaveKeyEx and its backend CmSaveKey.
CORE-8259 #resolve #comment Committed in revision r63495.


svn path=/trunk/; revision=63495
2014-05-29 19:44:36 +00:00
Eric Kohl
836f7cd6d3 [ADVAPI32][MSGINA]
Fix overflow of TokenSource.SourceName.
CORE-8272 #resolve

svn path=/trunk/; revision=63494
2014-05-29 15:19:30 +00:00
James Tabor
d3a1610c4b [Win32k]
- Turn on MDI system menus.

svn path=/trunk/; revision=63493
2014-05-28 22:52:38 +00:00
James Tabor
86da1bfa04 [User32]
- Add MDI system menu. If this is inaccurate please open a Jira report.

svn path=/trunk/; revision=63492
2014-05-28 22:48:50 +00:00
Pierre Schweitzer
6e7d12ef45 [KERNEL32]
- Directly call CopyFileExW() from CopyFileA()
- ReactOSify CopyFileW()

svn path=/trunk/; revision=63491
2014-05-28 18:39:51 +00:00
Eric Kohl
0184d61735 [NET]
Implement NET ACCOUNTS command.

svn path=/trunk/; revision=63490
2014-05-28 08:06:10 +00:00
Timo Kreuzer
68fcd6e10b [CRT]
Do not mark inp* and outp* as dllimport.

svn path=/trunk/; revision=63489
2014-05-27 22:58:53 +00:00
Timo Kreuzer
6f249c3833 [CRT]
Hopefully fix build, by specifying minimum MSC versions for some intrinsics

svn path=/trunk/; revision=63488
2014-05-27 22:12:15 +00:00
Timo Kreuzer
2d1042daa5 [CRT]
remove __readfsqword, it does not exist.

svn path=/trunk/; revision=63487
2014-05-27 22:07:29 +00:00
Timo Kreuzer
9bb3ac5d2e [CRT]
Add many missing intrinsics to the MSVC intrin.h, including x86, x64 and ARM

svn path=/trunk/; revision=63486
2014-05-27 22:01:55 +00:00
Timo Kreuzer
c0931f28b6 [CMAKE]
Revert r63470 and add a comment, that this is not a typo.

svn path=/trunk/; revision=63485
2014-05-27 21:32:42 +00:00
Aleksandar Andrejevic
0f0db19784 [NTVDM]
Fix the previous fix. Use LOBYTE/HIBYTE not LOWORD/HIWORD.


svn path=/trunk/; revision=63484
2014-05-27 21:29:36 +00:00
Christoph von Wittich
dad0af61d4 [atl]
atl: memory leak on failure path (copy pasta?)
spotted by Samuel Serapion
CORE-8212
 

svn path=/trunk/; revision=63483
2014-05-27 21:20:39 +00:00
Aleksandar Andrejevic
af35d7f046 [FAST486][NTVDM]
Several fixes in fast486 and ntvdm:
DosCopyEnvironmentBlock - prepend the program name tag (0x0001) to the program name.
Fast486OpcodePushByteImm, Fast486OpcodePushImm - sign-extend instead of zero-extending.
Fast486InterruptInternal - The parameter is supposed to be the type of the gate, not a boolean.
GET_SEGMENT_RPL will not work on real-mode selectors, use a special field for the RPL.
Loading a data segment with the NULL selector should never generate an exception.
Mask out the highest-order byte of the physical address when loading a descriptor table in 16-bit mode.
Fast486InterruptInternal - The interrupt gate type determines the size.
CORE-8257 #resolve #comment Fixed in revision r63482.


svn path=/trunk/; revision=63482
2014-05-27 21:10:45 +00:00
Christoph von Wittich
58b39a1ecf [setupapi]
sync setupapi\dirid.c with wine 
patch by Samuel Serapion
CORE-7663
 

svn path=/trunk/; revision=63481
2014-05-27 20:33:21 +00:00
Amine Khaldi
a3b5088597 [CMAKE]
* Convert the hives from UTF-8 to UTF16 as part of the build process.
CORE-7703
CORE-8221

svn path=/trunk/; revision=63480
2014-05-27 19:42:15 +00:00
Eric Kohl
86b416b410 [SETUP]
Formatting. No code changes!

svn path=/trunk/; revision=63478
2014-05-27 11:49:14 +00:00
James Tabor
10a9a8e0a3 [Win32k]
- More tweaks for MDI drawing. Tested our explorer, winefile and Vide2 from http://vgui.sourceforge.net/. Help is needed to fix MDI icon system menu loading, updating and moving.

svn path=/trunk/; revision=63477
2014-05-26 19:53:25 +00:00
Amine Khaldi
21d9569e72 [NTDLL]
* Zap some exports that do not exist in native.
* Reorder some exports.
* Add the missing ones. They are commented out and will be added on-demand.
CORE-8174

svn path=/trunk/; revision=63476
2014-05-26 19:17:48 +00:00
Kamil Hornicek
49da4d9dc4 [GDI32]
- return the correct flags in DdGetDriverInfo
CORE-7070

svn path=/trunk/; revision=63475
2014-05-26 18:59:56 +00:00
Amine Khaldi
87a2f62053 [MSVCRT]
* Zap some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=63474
2014-05-26 18:18:51 +00:00
Amine Khaldi
b1cf7ccf19 [STLPORT]
* Don't use _fseeki64 which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63473
2014-05-26 18:04:49 +00:00
Amine Khaldi
ca9594dadf [MSVCRT]
* Zap some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=63472
2014-05-26 16:10:49 +00:00
Amine Khaldi
eebbc5e6b4 [MSTSC]
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63471
2014-05-26 15:39:58 +00:00
Amine Khaldi
643b00912f [CMAKE]
* Fix what seems to be a typo in the definition.

svn path=/trunk/; revision=63470
2014-05-26 15:32:48 +00:00
Amine Khaldi
f7e65fe136 [CMAKE/ARM]
* Do not handle hotpatchable images in MSVC ARM builds (the flag is unknown to the compiler).

svn path=/trunk/; revision=63469
2014-05-26 15:31:07 +00:00
Amine Khaldi
5d6f7e30d2 [CMAKE/ARM]
* Add armasm assembler support. Inspired by Yuntian Zhang's patch.
CORE-7439

svn path=/trunk/; revision=63468
2014-05-26 15:28:12 +00:00
Christoph von Wittich
9d2d8d8d7d [bootdata]
Polish translation by Olaf Siejka

svn path=/trunk/; revision=63467
2014-05-26 14:33:26 +00:00
Christoph von Wittich
6ae309b0a1 [bootdata]
set encoding to UTF-16 instead of UTF-16LE to make viewvc happy

svn path=/trunk/; revision=63466
2014-05-26 14:29:11 +00:00
Amine Khaldi
e8a5e5820e [APPWIZ]
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63465
2014-05-26 14:24:06 +00:00
Amine Khaldi
9cee13244a [TCPSVCS]
* Use swprintf instead of _swprintf which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63464
2014-05-26 14:03:24 +00:00
Amine Khaldi
61651b63ee [HELP][SHUTDOWN]
* Use vfwprintf instead of _vcwprintf which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63463
2014-05-26 13:48:49 +00:00
Christoph von Wittich
29fe434f7d [hivecls.inf]
French translation by Pierre Schweitzer

svn path=/trunk/; revision=63462
2014-05-26 13:23:48 +00:00
Amine Khaldi
6f47e1f36f [MSVCRT]
* Zap some exports that do not exist in native.
* Group the ones that we're forced to keep (only temporarily right now) for Gecko.
CORE-8174

svn path=/trunk/; revision=63460
2014-05-26 09:57:36 +00:00
Amine Khaldi
ad3d77394a [INCLUDE/CRT]
* Do not define __STDC_SECURE_LIB__ and co, our msvcrt won't provide the related exports.
CORE-8174

svn path=/trunk/; revision=63459
2014-05-26 09:55:29 +00:00
Amine Khaldi
0841e6c36d [SERVMAN]
* Use StringCchCopy instead of {_t,w}cscpy_s as these shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63458
2014-05-26 09:53:49 +00:00
James Tabor
6215b105d6 [Win32k]
- Make minimizing windows in MDI application usable, more fixing is needed. ReactOS suffers from wine poisoning. Need more Vodka! See wine Bug 1719.


svn path=/trunk/; revision=63457
2014-05-26 04:36:58 +00:00
James Tabor
1498265bfc [Win32k]
- Use desktop system menu.

svn path=/trunk/; revision=63456
2014-05-26 03:08:06 +00:00
James Tabor
db241f482b [Win32k]
- Fix G/SetSystemMenu. Move code into menu.c.
- Add loading for MDI system menu.

svn path=/trunk/; revision=63455
2014-05-26 01:26:45 +00:00
James Tabor
8c89bad6d0 [Win32k]
- Code cleanup.

svn path=/trunk/; revision=63454
2014-05-25 21:30:52 +00:00
Timo Kreuzer
0339d4e1a5 [ROSTESTS]
disable some tests on x64, since they don't build. Disable some exports from dllexport_test on non-x86 build, since decorations are x86 specific.

svn path=/trunk/; revision=63453
2014-05-25 20:21:02 +00:00
Christoph von Wittich
c51c0ec1b4 [bootdata]
convert hivecls.inf and hivedef.inf to UTF16LE
fixes CORE-7614

svn path=/trunk/; revision=63452
2014-05-25 20:17:25 +00:00
Timo Kreuzer
dd982c4a66 [NTOSKRNL]
Revert unwanted white space changes

svn path=/trunk/; revision=63451
2014-05-25 20:10:31 +00:00
Amine Khaldi
c53ac2a20b [PSDK]
* Fix an ARM ifdef.

svn path=/trunk/; revision=63450
2014-05-25 19:28:14 +00:00
Timo Kreuzer
158661ce31 [NTOSKRNL]
Implement prototype PTE support in MiGetPageProtection. Should hopefully fix crashes with OllyDbg.

svn path=/trunk/; revision=63449
2014-05-25 19:13:32 +00:00
Amine Khaldi
b7ad4ef800 [CMAKE]
* Include the dummy source file for the PSEH ARM build too.

svn path=/trunk/; revision=63448
2014-05-25 19:04:21 +00:00
Amine Khaldi
47d4598769 [MSVCRT]
* Zap some commented out exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63447
2014-05-25 17:55:48 +00:00
Amine Khaldi
db48c57de3 [MSVCRT]
* Zap some commented out exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63446
2014-05-25 17:04:44 +00:00
Amine Khaldi
53d3cc1111 [CRT]
* Partial update of scanf routines (MS ABI varargs).
CORE-8080

svn path=/trunk/; revision=63445
2014-05-25 16:09:32 +00:00
Timo Kreuzer
1c28feb238 [WIN32K]
Remove obsolete patblt.c (all the code is in bitblt.c)

svn path=/trunk/; revision=63444
2014-05-25 14:41:33 +00:00
Amine Khaldi
ccc118bbe5 [CRT]
* Partial update of scanf routines. Focus was on the case of reading a float.
* Don't inline float processing, introduce _internal_handle_float() and co to take care of this. Brought to you by Timo.
* Msvcrt scanf tests are now green.
CORE-7005 #resolve #comment Should be fixed in r63443. Thanks Dmitry ;)
CORE-8080

svn path=/trunk/; revision=63443
2014-05-25 14:30:54 +00:00
Timo Kreuzer
f01e92424a [WIN32K]
Make sure to check for invalid NULL handles before passing them to GDIOBJ_bLockMultipleObjects, which skips NULL handles. This is a design limitation, since otherwise we either need to pass a bitfield of valid handles, or duplicate  code in certain functions, where different combinations of dest, source and mask dc are allowed.

svn path=/trunk/; revision=63442
2014-05-25 12:59:17 +00:00
Amine Khaldi
aaedf937d2 [CMAKE]
* Force the C++ compiler in the ARM case.

svn path=/trunk/; revision=63441
2014-05-25 12:29:49 +00:00
Daniel Reimer
118cceaf95 [LAUTUS]
Change the used font from Segoe UI (MS ONLY) to the very close looking OpenSans family. Same parameters though.

svn path=/trunk/; revision=63440
2014-05-25 11:40:30 +00:00
Daniel Reimer
3052ad7ec8 [FONTS]
Add Open Sans Font Family as Segoe UI like font for Lautus.
Add Ubuntu Font Family which is used by Lautus.

svn path=/trunk/; revision=63439
2014-05-25 11:39:12 +00:00
Amine Khaldi
704c97f422 [CRT]
* Use lconv and define MSVCRT_lconv to it.

svn path=/trunk/; revision=63438
2014-05-25 10:47:48 +00:00
Timo Kreuzer
84baf8d20a [RTL]
Fix warnings and a bug in 64bit bitmap code

svn path=/trunk/; revision=63437
2014-05-25 10:36:47 +00:00
Timo Kreuzer
ce1a5160ec [NTOSKRNL]
Add SEH to LpcpCreatePort and NtAcceptConnectPort. Based on patches by Aleksander Andrejevic ([TheFlash])
CORE-7156 #resolve
CORE-7371 #comment SEH still missing in NtSecureConnectPort, NtReplyPort, NtReplyWaitReceivePortEx, NtRequestPort

svn path=/trunk/; revision=63436
2014-05-25 10:21:08 +00:00
Christoph von Wittich
59af32287d [powerprof]
fix some typos in comments

svn path=/trunk/; revision=63435
2014-05-25 08:28:51 +00:00
Christoph von Wittich
12bcab448a [shell32]
revert the revert, my wine version was outdated

svn path=/trunk/; revision=63430
2014-05-24 16:39:55 +00:00
Timo Kreuzer
bc9a62248c [MAGNIFY]
Update display even when mouse does not move. Patch by Andrea Faulds. 
CORE-4739 #comment Committed in r63429, thanks. #resolve

svn path=/trunk/; revision=63429
2014-05-24 10:19:01 +00:00
Timo Kreuzer
229b404fde [DDRAW]
Avoid buffer overrun in IDirectDraw::GetCaps. Patch by Jérôme Gardou.
CORE-4623 #resolve

svn path=/trunk/; revision=63428
2014-05-24 09:53:24 +00:00
Christoph von Wittich
a850037725 [shell32]
sync _SHGetUserProfilePath with wine

svn path=/trunk/; revision=63427
2014-05-24 06:44:22 +00:00
Sylvain Petreolle
dd379d872b [TXTSETUP]
Install wmilib.
Dedicated to Timo. ;)

svn path=/trunk/; revision=63425
2014-05-23 19:31:23 +00:00
Christoph von Wittich
a65891147d [shell32]
set first verb as default
fixes opening control panel applets by double click

svn path=/trunk/; revision=63424
2014-05-23 17:28:39 +00:00
Christoph von Wittich
b3a2dbfc9a [shell32]
revert one line of r63414

svn path=/trunk/; revision=63423
2014-05-23 17:14:39 +00:00
Eric Kohl
15accf6c00 [USETUP]
- ScanForUnpartitionedDiskSpace: Scan the list of logical partitions for unpartitioned space too.
- Fix a little typo.

svn path=/trunk/; revision=63421
2014-05-22 23:31:39 +00:00
Timo Kreuzer
df7e3fde89 [NTOSKRNL]
When a user mode debugger has single stepping enabled and steps over a sysenter instruction, you are obviously not supposed to enter the kernel debugger on the syscall entry handler. But exactly this happened on reactos. This was because the sysenter instruction doesn't disable single stepping, so we need to handle this special case manually in the single stepping handler (which we didn't). We now check if the single step comes from KiFastCallEntry and when it does, disable single stepping in the current (nested) trap frame and return back to a secondary fast call entry. The 2nd entrypoint will make sure to re-enable the single step flag in EFLAGS before returning to usermode.
To make this actually work, the asm entry stub itself needs to handle saving of eflags, so some trap frame modification from KiFastCallEntryHandler was moved into the asm stub. Since the amount of asm instructions is rather small (10 instructions, pretty straight forward) I moved everything from KiSystemServiceHandler to the asm stub and killed KiFastCallEntryHandler entirely, calling KiSystemServiceHandler instead.
Now stepping over a sysenter instruction works with OllyDbg without breaking into the kernel debugger. CORE-8057 #resolve

svn path=/trunk/; revision=63420
2014-05-22 22:28:57 +00:00
Amine Khaldi
ccd49a5b8a [CRT]
* Update ungetwc().
CORE-8080

svn path=/trunk/; revision=63418
2014-05-22 21:10:16 +00:00
Amine Khaldi
6314cbc84d [CRT]
* Update _wtmpnam() and tmpnam().
CORE-8080

svn path=/trunk/; revision=63417
2014-05-22 20:59:46 +00:00
Timo Kreuzer
ea89346b76 [WIN32K]
Amendment to r63409.
Zap remaining kernel object header access from win32k. Noticed by Hermes.

svn path=/trunk/; revision=63416
2014-05-22 19:15:40 +00:00
Christoph von Wittich
ce7e55def9 [shell32]
Import some changes from Wine to shlexec.cpp 
patch by Ivan Rodionov see CORE-8196

svn path=/trunk/; revision=63414
2014-05-22 18:53:44 +00:00
Timo Kreuzer
1f5094f9a8 [BMFD]
Fix inverted use of scaling factors. Patch by Victor Martinez. CORE-8165 #resolve

svn path=/trunk/; revision=63413
2014-05-22 16:15:48 +00:00
Amine Khaldi
292420e2af [CRT]
* Update fputs().
CORE-8080

svn path=/trunk/; revision=63412
2014-05-22 16:13:44 +00:00
Eric Kohl
f537d6e8e4 [USETUP]
- Fix a failed partition type assignment, when unpartitioned disk space is converted to an extended partition.
- Rename the extended partition list to logical partition list. 
- Add a pointer to an extended partition to the disk entries. And keep it up-to-date when the primary partition list is built or modified.
- Add the 'Unpartitioned space' partiton entry to the logical partition list when an extended partition has been created.
- Remove all logical partition entries when the coresponding extended partition will be deleted.

svn path=/trunk/; revision=63411
2014-05-22 14:55:04 +00:00
Amine Khaldi
e849ca97bc [CRT]
* Update fgetpos().
CORE-8080

svn path=/trunk/; revision=63410
2014-05-22 14:10:49 +00:00
Timo Kreuzer
17be1062a2 [WIN32K]
Don't access the object header of a kernel object from win32k. Instead get the desktop name from the desktop info structure. CORE-6818 #resolve

svn path=/trunk/; revision=63409
2014-05-22 13:40:23 +00:00
Timo Kreuzer
02851fb0e2 [WIN32K]
Make all GDI object cleanup functions return VOID instead of BOOL.
CORE-6870 #resolve

svn path=/trunk/; revision=63408
2014-05-22 11:45:53 +00:00
Amine Khaldi
c52bfa77a8 [MSVCRT]
* Don't export wcstombs_s().
CORE-8174

svn path=/trunk/; revision=63407
2014-05-22 11:42:45 +00:00
Timo Kreuzer
3369bd4f94 [NTOSKRNL]
Pass process id to DbgUnLoadImageSymbols instead of ZwCurrentProcess() or a PEPROCESS.
Patch by Jérôme Gardou <jerome.gardou at reactos dot org>
CORE-8253 #resolve

svn path=/trunk/; revision=63406
2014-05-22 10:18:22 +00:00
Timo Kreuzer
bbbef82de9 [NTOSKRNL]
- Do not align the size of a memory area to the allocation granularity, but to PAGE_SIZE. Fixes OllyDbg regression from r61108. CORE-8168 #resolve
- Clarify the size calculation in MmCreateMemoryArea 
- Silence a few DPRINTs

svn path=/trunk/; revision=63405
2014-05-22 10:08:44 +00:00
Kamil Hornicek
16a52a9e08 [WIN32K]
- make DIB_XXBPP_StretchBlt work with top down bitmaps
- fixes missing icons in the taskbar in explorer new (32bpp)

svn path=/trunk/; revision=63404
2014-05-22 09:33:29 +00:00
Eric Kohl
a5b59586d3 [USETUP]
Display logical partitions. They cannot be selected or modified yet.

svn path=/trunk/; revision=63403
2014-05-21 20:20:18 +00:00
Amine Khaldi
10af5eafdf [MSVCRT]
* Don't export mbstowcs_s().
CORE-7889

svn path=/trunk/; revision=63402
2014-05-21 18:02:48 +00:00
Amine Khaldi
934a5546ea [MSVCRT_CRT_APITEST]
* Don't enable wcstombs_s() tests (it shouldn't be exported).
CORE-7889

svn path=/trunk/; revision=63401
2014-05-21 14:26:20 +00:00
Amine Khaldi
b5adad7bfa [MSVCRT_CRT_APITEST]
* Don't enable mbstowcs_s() tests (it shouldn't be exported).
CORE-7889

svn path=/trunk/; revision=63400
2014-05-21 13:30:26 +00:00
Amine Khaldi
be8085bec0 [MSVCRT_CRT_APITEST]
* Don't reply on _set_errno() which shouldn't be exported.

svn path=/trunk/; revision=63399
2014-05-21 13:20:38 +00:00
Hermès Bélusca-Maïto
666f21e88f [USETUP]
- Fix a bit the translation of yesterday;
- Use TEXT_PADDING_BIG instead of hardcoding 3 spaces in the status messages.

svn path=/trunk/; revision=63398
2014-05-21 12:23:04 +00:00
Eric Kohl
be2afdedf6 [USETUP]
Display the proper partition type 'Extended Partiton' when an extended partition is going to be deleted.

svn path=/trunk/; revision=63396
2014-05-21 11:01:17 +00:00
Timo Kreuzer
110e942a46 [NTOSKRNL]
Do not ASSERT, when an unimplemented, yet legal flag (MEM_RESERVE) is passed to NtMapViewOfSection. Instead fail gracefully.

svn path=/trunk/; revision=63395
2014-05-21 09:44:41 +00:00
Hermès Bélusca-Maïto
4da2490a2d Forgot this...
svn path=/trunk/; revision=63394
2014-05-21 00:22:05 +00:00
Hermès Bélusca-Maïto
456a955d0b [USETUP]: French translation for extended partitions feature, see r63392.
svn path=/trunk/; revision=63393
2014-05-21 00:18:50 +00:00
Eric Kohl
8cbded8053 [USETUP]
- Implement creation of extended partitions.
- Add creation checks for primary and extended partitions.

svn path=/trunk/; revision=63392
2014-05-20 23:48:36 +00:00
David Quintana
6a96b1732b I was noted that I forgot to also apply the same fix to the KeRestoreFloatingPointState function.
Also, for reference: r23894 contained working implemnentations in fpu.c. In r23895 ion "moved" it to cpu.c, killing the MSVC implementation in the process. In 23972, ion added new MSVC code for it, but this new version had the bug. It has remained undiscovered until very recently.

svn path=/trunk/; revision=63391
2014-05-20 22:51:38 +00:00
David Quintana
c71be46956 Fix KeSaveFloatingPointState. It was working once upon a time, but the fix was lost on some refactoring. I was told to blame it on Arch.
svn path=/trunk/; revision=63390
2014-05-20 22:33:26 +00:00
Christoph von Wittich
aede864303 [urlmon_winetest]
-Fixed some occasionally failing tests. Patch by Jacek Caban (sync to wine head)

svn path=/trunk/; revision=63389
2014-05-20 21:29:27 +00:00
Timo Kreuzer
590447888e [NTOSKRNL]
Fix ending address calculation for the commit path in NtAllocateVirtualMemory like done for the reserve path in r63356. Add a comment about a Windows kernel bug, which we will keep for now, until the implications are better determined.

svn path=/trunk/; revision=63388
2014-05-20 21:11:43 +00:00
Hermès Bélusca-Maïto
b1623c7976 [CONSRV]: Remove unused (anymore) ProcessKeyCallback support for terminal frontends.
svn path=/branches/condrv_restructure/; revision=63387
2014-05-20 19:56:47 +00:00
James Tabor
e387cb4358 [User32]
- Update and sync DDE code with wine. Make name space close to what it should be.


svn path=/trunk/; revision=63386
2014-05-20 19:39:34 +00:00
Aleksandar Andrejevic
4c4205442e [NTVDM]
Use a separate palette for text mode. Previously the text mode palette was equal to the
first 16 entries of the graphical palette, which is wrong since the AC registers can be
used to select arbitrary colors from the DAC.


svn path=/trunk/; revision=63385
2014-05-20 18:46:50 +00:00
Hermès Bélusca-Maïto
e4155c95c7 Sync with trunk r63383 .
svn path=/branches/condrv_restructure/; revision=63384
2014-05-20 17:04:19 +00:00
James Tabor
8546e5f645 [Win32k]
- Fix load menu callback. Use it for loading system menus.
- Sync in more wine code, fix sub-menu arrow drawing. See WinMerge.
- Miscellaneous code changes.

svn path=/trunk/; revision=63380
2014-05-20 03:40:42 +00:00
Aleksandar Andrejevic
a3fe90d0d0 [NTVDM]
Properly repeat the GetNextVDMCommand request. Using "continue" there will not work
if the application has been started by a double click, since in that case AcceptCommands
is FALSE.


svn path=/trunk/; revision=63379
2014-05-19 22:40:36 +00:00
Hermès Bélusca-Maïto
74f8d131ac [NTVDM]: Fix INT 15h, AH=C0h.
svn path=/trunk/; revision=63377
2014-05-19 21:12:35 +00:00
Kamil Hornicek
9e5dfae220 [CMAKE/MSVC]
- define _ALLOW_KEYWORD_MACROS for VS11 too

svn path=/trunk/; revision=63376
2014-05-19 20:28:35 +00:00
Daniel Reimer
ffbeaececb [WINED3DCFG]
Fixed two errors in the RCs.
Shortened a String of ... my ... translation.

svn path=/trunk/; revision=63375
2014-05-19 18:26:26 +00:00
Daniel Reimer
25007a6e57 [BROWSEUI]
Russian Translation by Akhlamov Petr
CORE-7981 #resolve #comment Committed after some build fixes, thx.
P.S. Former commit was made by Alex Gorgurov

svn path=/trunk/; revision=63374
2014-05-19 18:14:30 +00:00
Daniel Reimer
c12f161a1b [TRANSLATION]
Small improvement of Russian translation
CORE-7994 #resolve #comment Committed, thanks for help.

svn path=/trunk/; revision=63373
2014-05-19 18:00:47 +00:00
Daniel Reimer
db2a4e0e50 [WINED3DCFG]
German translation by ... me.

svn path=/trunk/; revision=63372
2014-05-19 17:33:24 +00:00
Kamil Hornicek
ebb1a6ec86 [WINED3DCFG]
- rewrite the wined3d config cpl to make it work with the current version of wined3d
- add a "default" option so it's easier to revert changes done to the configuration
- I apologize for the "lost" translations but there were too many changes

svn path=/trunk/; revision=63368
2014-05-19 09:58:26 +00:00
Hermès Bélusca-Maïto
02bef19b58 [NTVDM]
- Initialize the BIOS Configuration Table, see http://www.ctyme.com/intr/rb-1594.htm for more information.
- Implement INT 15h, AH=C0h "GET CONFIGURATION".

svn path=/trunk/; revision=63367
2014-05-19 02:21:49 +00:00
Hermès Bélusca-Maïto
de36490031 [NTVDM]
Since the BIOS registers the whole range of possible interrupts, we register their stubs in an array-form so that the BIOS always registers INT n at the same place. We save 561 bytes of memory.

svn path=/trunk/; revision=63366
2014-05-19 01:12:25 +00:00
Hermès Bélusca-Maïto
65a58c440e [NTVDM]
Correctly NULL-terminate the command-lines when needed (and avoid buffer overruns).

svn path=/trunk/; revision=63365
2014-05-18 23:45:43 +00:00
Hermès Bélusca-Maïto
3e159aa702 [KERNEL32]: Remove temporary DPRINTs and fix comments.
svn path=/trunk/; revision=63364
2014-05-18 23:17:25 +00:00
Hermès Bélusca-Maïto
3384092338 [KERNEL32]: Fix the newline adding (see r63361).
svn path=/trunk/; revision=63363
2014-05-18 23:13:12 +00:00
Hermès Bélusca-Maïto
ab209b91b5 [KERNEL32] Improve a dprint (needed when studying spaces in command lines).
svn path=/trunk/; revision=63362
2014-05-18 23:12:24 +00:00
Hermès Bélusca-Maïto
6dead6f19c [KERNEL32]
Usually the command line is made of the application name and its parameters. When launching a DOS program, BaseCheckVDM builds suitable ApplicationName and CommandLine strings "DOS-compatible". ApplicationName is left-trimmed for whitespace and then converted to short-path format, and CommandLine sees the application name part (its first token) removed. We didn't do it before, we do it now. Care is taken when quotes are present in ApplicationName. Finally DOS command lines usually receive a newline character, so we also add it there. This is how behave Windows: just put our ntvdm in Windows, and observe what it receives...

svn path=/trunk/; revision=63361
2014-05-18 22:10:45 +00:00
Cameron Gutman
0e26222a74 [NTOSKRNL]
- Fail device initialization if a filter fails to load so the PnP manager can try again later
- Fix some handle leaks
- Reset device node flags after a remove IRP is sent
[I8042PRT|MOUCLASS|KBDCLASS]
- Implement proper support for PnP remove IRPs
See issue #8238 for more details.

svn path=/trunk/; revision=63360
2014-05-18 20:39:54 +00:00
Christoph von Wittich
05f75e278b [bootdata]
add entries for optional broadcom 57xx drivers (used by the official ReactOS test laptop)

svn path=/trunk/; revision=63359
2014-05-18 18:40:02 +00:00
Amine Khaldi
8926b7a72e [CRT]
* Import _isleadbyte_l().
* Import _mbtowc_l().
* Import mbtowc() instead of our own.
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63358
2014-05-18 18:35:45 +00:00
Timo Kreuzer
8d02368e52 [NTOSKRNL]
- Fix a bug in MiQueryAddressState that prevented it from returning a valid protection
- Add support for PAE and x64 to MiQueryAddressState
- Acquire the working set lock in MiQueryMemoryBasicInformation before MiQueryAddressState
- Fix RegionSize calculation in MiQueryMemoryBasicInformation
- Handle ZeroBits and Process->VmTopDown in NtAllocateVirtualMemory
- Fix a bug in calculating the ending address of a virtual allocation
- Gracefully handle Vad allocation failure
- Free Vad allocation on failure
- Write values back to usermode only in case of success

svn path=/trunk/; revision=63356
2014-05-18 16:25:40 +00:00
Eric Kohl
005d881ce1 [USETUP]
First part of the partition management code rewrite. This part fixes the handling of primary partitions. Extended partitions and logical drives are not handled yet. Safety checks and warnings are still missing! Partitions created by the new code are accepted by gparted and Windows.


svn path=/trunk/; revision=63355
2014-05-18 15:14:24 +00:00
Timo Kreuzer
9e6083e5c2 [NTOSKRNL]
- Do not ASSERT that a page fault im MmArmAccessFault happens on an invalid page. Instead handle write-on-readonly-PTE faults (Copy-on-write still unhandled). This ASSERT was not triggered so far, since ARM3 mapped all pages as read/write regardless of protection! So all (page file backed) sections mapped into user space were writable and could be happily modified from user mode!
- Fix MI_MAKE_HARDWARE_PTE_USER, so that it respects the actual protection.

svn path=/trunk/; revision=63354
2014-05-18 14:59:31 +00:00
Amine Khaldi
ac454fae84 [CMAKE/MSVC]
* Define _ALLOW_KEYWORD_MACROS to get the news MSVC toolchain to allow us to redefine inline (it became a keyword). Reported by David Quintana.

svn path=/trunk/; revision=63353
2014-05-18 14:39:03 +00:00
Cameron Gutman
abcd548308 [ACPI]
- Handle IRP_MN_CANCEL_REMOVE_DEVICE, IRP_MN_QUERY_REMOVE_DEVICE, and IRP_MN_REMOVE_DEVICE for child devices
- Fixes issues loading new drivers for ACPI-enumerated devices

svn path=/trunk/; revision=63349
2014-05-18 08:54:32 +00:00
Cameron Gutman
0a83347ad4 [NDIS]
- Restore the pending NDIS request before calling the completion routine
- Fixes crash with Broadcom 57xx drivers (link detection still not working)

svn path=/trunk/; revision=63348
2014-05-18 08:43:31 +00:00
Cameron Gutman
9c10a292db [HIVESYS]
- Add PS/2 input devices to the critical device database

svn path=/trunk/; revision=63347
2014-05-18 07:21:58 +00:00
Cameron Gutman
a59063a064 [ACPI]
- Fix 2nd stage boot

svn path=/trunk/; revision=63346
2014-05-18 06:58:51 +00:00
Cameron Gutman
ae4a8102df [ACPI]
- Start reporting compatible IDs for ACPI-enumerated devices other than processors
- Not sure how this was overlooked for so long...

svn path=/trunk/; revision=63345
2014-05-18 06:19:05 +00:00
Cameron Gutman
689159fedc [ACPI]
- Fix a buffer overrun that caused a BSOD with ACPI enabled on Hyper-V
- Dynamically allocate the hardware ID buffer to prevent another HID overrun
- Switched sprintf to snprintf to prevent this from happening to another ID

svn path=/trunk/; revision=63344
2014-05-18 05:52:09 +00:00
Hermès Bélusca-Maïto
2736ab0dca [NTVDM]: Improve the dumper a bit.
svn path=/trunk/; revision=63343
2014-05-17 23:55:14 +00:00
Hermès Bélusca-Maïto
ad69b4a3c0 [NTVDM]
Add a memory dump facility.

svn path=/trunk/; revision=63342
2014-05-17 23:49:35 +00:00
Timo Kreuzer
7c2c3d6d1f [USER32]
Fix sizeof(WCHAR) vs sizeof(CHAR) problem. Patch by Victor Martinez.
CORE-8166 #resolve #comment Committed in r63341, thanks.

svn path=/trunk/; revision=63341
2014-05-17 23:00:34 +00:00
Timo Kreuzer
34ea0a3ea7 [VGA_NEW]
Improve order of check against NULL and assignement. Patch by Victor Martinez.
CORE-8121 #resolve #comment Committed in r63340, thanks

svn path=/trunk/; revision=63340
2014-05-17 22:55:22 +00:00
Timo Kreuzer
1a918ac33b [WIN32K]
Revert r56462. Should fix some win32k crashes. See CORE-7965

svn path=/trunk/; revision=63339
2014-05-17 22:33:42 +00:00
Timo Kreuzer
5e5f4c1d14 [NTOSKRNL]
Fix Mm

svn path=/trunk/; revision=63338
2014-05-17 22:30:43 +00:00
Aleksandar Andrejevic
22679f9a7c [NTVDM][KERNEL32][BASESRV]
Modify BaseSrvFillCommandInfo to always return the correct lengths of the parameters.
In BaseSrvGetNextVDMCommand, check if BaseSrvFillCommandInfo failed.
In CommandThreadProc, expand the size of the environment if necessary.
Add a useful DPRINT1 in BiosKbdBufferPush.
Finish implementing BaseCreateVDMEnvironment.
In GetNextVDMCommand, return the correct lengths of parameters if BaseSrvGetNextVDMCommand
failed.


svn path=/trunk/; revision=63337
2014-05-17 22:26:37 +00:00
Timo Kreuzer
bef68d6f6c [NTOSKRNL]
Modify the VAD node code to return a TABLE_SEARCH_RESULT instead of an NTSTATUS, this allows us to avoid a 2nd tree iteration when inserting VADs. Fix several bugs in MiFindEmptyAddressRangeDownBasedTree. This code now contains a compatibility hack, that emulates a bug in the Windows 2003 kernel. Note that this bug is also present in MiFindEmptyAddressRangeDownTree on Windows 2003, but will not be exposed to the user, since it only affects the region above the top-most VAD, which will always be occupied by the PEB or TEB. Implement MEM_TOPDOWN in NtAllocateVirtualMemory. See CORE-6392

svn path=/trunk/; revision=63336
2014-05-17 20:34:11 +00:00
Amine Khaldi
f88752ba0e [FREETYPE]
* Update to 2.5.3. Based on the sync done by Ivan Di Francesco.
CORE-8033

svn path=/trunk/; revision=63335
2014-05-17 18:52:24 +00:00
Timo Kreuzer
aa3d15ae6c [TESTDATA]
Fix test.dll

svn path=/trunk/; revision=63334
2014-05-17 18:36:22 +00:00
Timo Kreuzer
9f835ff3ff [NTDLL_APITEST]
Add more tests for NtMapViewOfSection. Fix some tests, so that everything works on windows 2003.

svn path=/trunk/; revision=63333
2014-05-17 18:35:39 +00:00
Amine Khaldi
a17de02b71 [LIBJPEG]
* Update to release 9a. Based on the sync done by Ivan Di Francesco.
CORE-8033

svn path=/trunk/; revision=63332
2014-05-17 18:14:51 +00:00
Aleksandar Andrejevic
9de7dafcc9 [NTVDM]
DosResizeMemory shouldn't succeed unless the memory block has been resized to the specified amount.


svn path=/trunk/; revision=63331
2014-05-17 15:29:07 +00:00
Eric Kohl
a47b155648 [NTOSKRNL]
Partial revert of r63326! The correct partition numbers cause boot failures.

svn path=/trunk/; revision=63330
2014-05-17 14:42:28 +00:00
Amine Khaldi
1a4036b369 [WINSCARD]
* Import from Wine 1.7.17.
* Properly stub some exports thanks to our previous code.
* Add to build.
CORE-8224 #resolve #comment Added in r63328. Thanks for reporting!
CORE-8080

svn path=/trunk/; revision=63329
2014-05-17 14:06:12 +00:00
Amine Khaldi
b0f91e882d [PSDK]
* Add some missing definitions.
* Fix SCardReleaseStartedEvent().

svn path=/trunk/; revision=63328
2014-05-17 14:00:54 +00:00
Hermès Bélusca-Maïto
9ef81cf038 [GREEN]: Fix 2nd parameter of ObOpenObjectByName.
svn path=/trunk/; revision=63327
2014-05-17 13:26:32 +00:00
Eric Kohl
7a4fd32957 [NTOSKRNL]
xHalIoReadPartitionTable: Only used non-container partition entries have a non-zero partition number.

svn path=/trunk/; revision=63326
2014-05-17 12:55:06 +00:00
Amine Khaldi
1d4476db48 [FONTS]
* Update tahoma.ttf and tahomabd.ttf.
CORE-7909 #resolve #comment Committed in r63325. Thanks Ștefan!
CORE-8080

svn path=/trunk/; revision=63325
2014-05-17 11:40:54 +00:00
Amine Khaldi
dd17546bfe [RAPPS]
* Some list entries fixes.
* Mention that Turkish translations were done by Erdem Ersoy.
CORE-7710 #resolve #comment Committed in r63324.

svn path=/trunk/; revision=63324
2014-05-17 11:25:50 +00:00
Timo Kreuzer
c64645fd66 [SPEC2DEF]
Fix def file generation on non-86

svn path=/trunk/; revision=63323
2014-05-17 10:58:10 +00:00
Amine Khaldi
778c8e998c [CRT]
* Update _sopen_s().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63322
2014-05-17 10:41:36 +00:00
Amine Khaldi
fa9bf9ef6e [CRT]
* Import _chsize_s().
* Update _chsize().
CORE-8080

svn path=/trunk/; revision=63321
2014-05-17 10:35:35 +00:00
Amine Khaldi
9273fa01fa [CRT]
* Update _fseeki64().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63320
2014-05-17 10:28:57 +00:00
James Tabor
ef2221fd12 [ConSrv]
- Move Alt-Escape, Space and Tab to ConWndProc, disable GuiProcessKeyCallback.
- Alt-Space was not getting launched out of GuiProcessKeyCallback. The key needed translated.
- Reduce code for system menus.

svn path=/trunk/; revision=63319
2014-05-17 02:15:50 +00:00
James Tabor
fdc93df98f [ConSrv]
- Readjust the bytes to wide character size.

svn path=/trunk/; revision=63318
2014-05-16 21:05:37 +00:00
James Tabor
d5880674f2 [NtUser|User32]
- Fully strip the Atl-F4 from the Pop Up System Menu.
- Fix menu.c:1418: Test failed: InsertMenuItem should have failed. Both A/W...
- Fix menu key by Item when cloning menus.

svn path=/trunk/; revision=63317
2014-05-16 20:43:23 +00:00
James Tabor
a61decb1c0 [ConSrv]
- Strip the Atl-F4 from the Pop Up System Menu since we do not support it.


svn path=/trunk/; revision=63315
2014-05-16 18:26:00 +00:00
Kamil Hornicek
07c315c504 [OPENGL32]
- don't try to free an invalid address

svn path=/trunk/; revision=63314
2014-05-16 15:52:15 +00:00
Hermès Bélusca-Maïto
2d601a6dfc [NTVDM]
Implement INT 21h, AH=5Ch "Lock/Unlock Region of File".

svn path=/trunk/; revision=63311
2014-05-16 00:56:46 +00:00
Hermès Bélusca-Maïto
a242a67b73 [NTVDM]
Partially implement INT 21h, AH=60h -- "Canonicalize File Name or Path".

svn path=/trunk/; revision=63310
2014-05-16 00:34:54 +00:00
Hermès Bélusca-Maïto
325729ca4a [NTVDM]
- Add some diagnostic DPRINTs (they are off by default), and fix few of them.
- Fix/complete few comments.
- Implement INT 21h, AH=56h (rename file), 5Ah (create temporary file), 5Bh (create new file), 68h and 6Ah ("commit" aka. flush file; they are the same function).
- Stubplement INT 21h, AH=60h (canonicalize file name or path) and 6Ch (extended open or create file). For this latest one I will merge DosCreateFile and DosOpenFile into the same function (in fact a wrapper around CreateFileA, that is used both for creating and opening files).

svn path=/trunk/; revision=63309
2014-05-15 23:13:06 +00:00
Aleksandar Andrejevic
480e3ae350 [NTVDM]
Fix dead code.


svn path=/trunk/; revision=63308
2014-05-15 23:00:01 +00:00
Eric Kohl
ac2f92611e [FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=63305
2014-05-15 16:32:30 +00:00
Hermès Bélusca-Maïto
8afc11c2e4 [NTVDM]: Code formatting and DPRINT fix.
svn path=/trunk/; revision=63303
2014-05-15 01:13:44 +00:00
Aleksandar Andrejevic
5f6ac9ac39 [NTVDM]
Don't calculate NextElement twice.
Properly initialize the keyboard buffer head and tail.


svn path=/trunk/; revision=63302
2014-05-14 20:56:21 +00:00
Timo Kreuzer
3ed2e2a095 [NTDLL_APITEST]
Revert unwanted changes

svn path=/trunk/; revision=63301
2014-05-14 20:46:47 +00:00
Timo Kreuzer
e44bf54b10 [NTOSKRNL]
Fix NtReleaseMutant, which was expecting MUTANT_QUERY_STATE right on the mutant handle, which is not required, probably a copypasta. Fixes a test.

svn path=/trunk/; revision=63300
2014-05-14 20:27:18 +00:00
Timo Kreuzer
a1b89faa39 [NTDLL_APITEST]
Add a test for NtReleaseMutant

svn path=/trunk/; revision=63299
2014-05-14 20:23:38 +00:00
Hermès Bélusca-Maïto
f75a2aec51 [NTVDM]
For diagnostic/debugging purposes, prefill the keyboard buffer with invalid values.

svn path=/trunk/; revision=63298
2014-05-14 19:19:57 +00:00
Hermès Bélusca-Maïto
dea92c0361 [NTVDM]: Introduce a echo state for INT 21h, AH=01h and AH=3Fh.
svn path=/trunk/; revision=63297
2014-05-14 18:50:29 +00:00
Amine Khaldi
3396b21b26 [CRT]
* Update _wsopen().
CORE-8080

svn path=/trunk/; revision=63296
2014-05-14 18:24:38 +00:00
Amine Khaldi
49d0927079 [CRT]
* Update fopen_s().
CORE-8080

svn path=/trunk/; revision=63295
2014-05-14 17:14:46 +00:00
Amine Khaldi
721fc08b87 [BZIP2]
* Cleanup this folder.

svn path=/trunk/; revision=63294
2014-05-14 17:05:42 +00:00
Amine Khaldi
74d68f4624 [CRT]
* Update ungetc().
CORE-8080

svn path=/trunk/; revision=63293
2014-05-14 14:55:37 +00:00
Amine Khaldi
05ef5aeeed [CRT]
* Update fread().
CORE-8080

svn path=/trunk/; revision=63292
2014-05-14 14:52:00 +00:00
Amine Khaldi
e5361e27bd [CRT]
* Update alloc_buffer().
CORE-8080

svn path=/trunk/; revision=63291
2014-05-14 14:45:08 +00:00
Amine Khaldi
41b9a3a556 [CRT]
* Update read_i().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63290
2014-05-14 14:35:13 +00:00
Amine Khaldi
b697a1d7ea [CRT]
* Update msvcrt_{init,free}_io().
CORE-8080

svn path=/trunk/; revision=63289
2014-05-14 11:03:21 +00:00
Aleksandar Andrejevic
3284022bfc [NTVDM]
Implement INT 21h function AH = 67h (Set Handle Count).


svn path=/trunk/; revision=63288
2014-05-14 03:29:58 +00:00
Aleksandar Andrejevic
a2e7e58fcc [NTVDM]
The value of USER_MEMORY_SIZE depends on FIRST_MCB_SEGMENT.


svn path=/trunk/; revision=63287
2014-05-14 02:35:26 +00:00
Aleksandar Andrejevic
b748bf5dc8 [FAST486]
Fix a BOP-related stack corruption.
CORE-8199 #resolve #comment Fixed in revision r63286.


svn path=/trunk/; revision=63286
2014-05-13 23:22:49 +00:00
Hermès Bélusca-Maïto
07b314c140 Sync with trunk r63283
svn path=/branches/condrv_restructure/; revision=63285
2014-05-13 22:15:21 +00:00
Hermès Bélusca-Maïto
32604108f4 [ROSAPPS]
Add/update Romanian translation, by Stefan Fulea.
ROSAPPS-231 #resolve #comment Thanks for your patch!

svn path=/trunk/; revision=63283
2014-05-13 21:39:36 +00:00
Hermès Bélusca-Maïto
2bdc85867d [ROSAPPS] Name copying the *nix way (in uppercases), just for fun.
svn path=/trunk/; revision=63282
2014-05-13 21:21:34 +00:00
Hermès Bélusca-Maïto
5cbfb61a5a [ROSAPPS]
Remove almost all remnants of RBuild Dark Age; RBuild, we won't miss you :P

svn path=/trunk/; revision=63281
2014-05-13 21:19:04 +00:00
Hermès Bélusca-Maïto
0dc9aa5b13 [ROSAPPS]
- Fix some newlines,
- Fireball == Aleksey, not Aleasky :P (ahh, GreatLord, we miss you ^^),
- Fix rosddt (ROS Device Detection Tool) readme file (convert into UTF-8 without BOM).

svn path=/trunk/; revision=63280
2014-05-13 21:07:49 +00:00
Hermès Bélusca-Maïto
c35341fd7c [PS] Fix whitespace.
svn path=/trunk/; revision=63279
2014-05-13 21:04:23 +00:00
Thomas Faber
9a02edda36 [UTF16LE]
- Add to build
CORE-8221

svn path=/trunk/; revision=63278
2014-05-13 20:00:51 +00:00
Daniel Reimer
de380ecfd2 DLL: Many improvements to German translations by zehnvor
CORE-8216 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63276
2014-05-13 18:28:47 +00:00
Daniel Reimer
433b9ce3ba [TRANSLATIONS]
Applications: some corrections and improvements to German translations by zehnvor
CORE-8130 #resolve #comment Committed, thx.
usetup: German translation revamp by zehnvor
CORE-8179 #resolve #comment Committed, thx.
DLL: Many improvements to German translations by zehnvor (without the dll patch yet, Wine syncs need no ROS only tranlation IMO)
CORE-8216 #comment Committed without the dll patch yet, Wine syncs need no ROS only tranlation IMO

svn path=/trunk/; revision=63275
2014-05-13 18:11:07 +00:00
Amine Khaldi
5ddc0c6c38 [CRT]
* Update _isatty().
CORE-8080

svn path=/trunk/; revision=63274
2014-05-13 16:00:25 +00:00
Amine Khaldi
065ed0c860 [CRT]
* Update fgetwc().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63273
2014-05-13 13:11:22 +00:00
Amine Khaldi
3904749e7d [CRT]
* Update split_oflags().
CORE-8080

svn path=/trunk/; revision=63272
2014-05-13 12:58:54 +00:00
Timo Kreuzer
3ffbea35b3 [DDK]
- Remove NTKERNELAPI from Rtl String routines
- Remove obsolete hack definition
- Fix a typo, spotted by Thomas

svn path=/trunk/; revision=63269
2014-05-12 23:40:14 +00:00
Timo Kreuzer
bccd8b7aea [KMTEST]
Revert the DDK compatibility hack and apply a real fix. I kept the hack for NDK exports, we should consider changing them as well for consistency reasons.

svn path=/trunk/; revision=63268
2014-05-12 23:36:05 +00:00
Amine Khaldi
cc990618b3 [CRT]
* Reorder some functions. No code changes!
CORE-8080

svn path=/trunk/; revision=63267
2014-05-12 20:10:38 +00:00
Amine Khaldi
be0a8904ea [CRT]
* Update _wsopen_s().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63266
2014-05-12 20:02:52 +00:00
Christoph von Wittich
a7308b4d2f [shell32]
partial SHELL_FindExecutable sync to wine

svn path=/trunk/; revision=63265
2014-05-12 19:55:25 +00:00
Amine Khaldi
b8780863c0 [CRT]
* Update _write().
CORE-8080

svn path=/trunk/; revision=63264
2014-05-12 19:54:29 +00:00
Amine Khaldi
19d92fec00 [CRT]
* _set_errno() returns an errno_t.
* error => value
CORE-8080

svn path=/trunk/; revision=63263
2014-05-12 19:44:41 +00:00
Amine Khaldi
a30699ae01 [CRT]
* Update get_flags().
CORE-8080

svn path=/trunk/; revision=63262
2014-05-12 19:42:29 +00:00
Amine Khaldi
5d0809917f [CRT]
* Rename alloc_fd_from() to set_fd() and update it.
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63261
2014-05-12 18:12:07 +00:00
Amine Khaldi
d8d54df1f6 [CRT]
* Update _setmode().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63260
2014-05-12 16:51:40 +00:00
Eric Kohl
3def58e0ff [FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=63259
2014-05-12 16:14:19 +00:00
Amine Khaldi
5da1f1a63b [CRT]
* Update ioinfo structure.
CORE-8080

svn path=/trunk/; revision=63258
2014-05-12 16:01:49 +00:00
Amine Khaldi
e68148f878 [CRT]
* Update fwrite().
CORE-8080

svn path=/trunk/; revision=63257
2014-05-12 15:32:43 +00:00
Kamil Hornicek
c36bab312a [SERVMAN][EVENTVWR]
- add czech translations

svn path=/trunk/; revision=63256
2014-05-12 14:35:30 +00:00
Amine Khaldi
ca543abe1e [CRT]
* Update ferror().
CORE-8080

svn path=/trunk/; revision=63255
2014-05-12 14:25:53 +00:00
Eric Kohl
a4061f41e7 [FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=63254
2014-05-12 14:17:37 +00:00
Amine Khaldi
e34ff107cd [CRT]
* Update feof().
CORE-8080

svn path=/trunk/; revision=63253
2014-05-12 13:17:31 +00:00
Amine Khaldi
83e1917b77 [CRT]
* Reduce difference to Wine. No code changes.
CORE-8080

svn path=/trunk/; revision=63252
2014-05-12 12:52:40 +00:00
Amine Khaldi
e444ff08e2 [CRT]
* Update tmpfile().
CORE-8080

svn path=/trunk/; revision=63251
2014-05-12 12:50:55 +00:00
Thomas Faber
233ba85cfe [ICMP]
- Fix socket leak. Spotted by Samuel & cppcheck
Note: Wine has this in iphlpapi these days. Should probably sync.
CORE-8208 #resolve

svn path=/trunk/; revision=63250
2014-05-12 06:44:01 +00:00
Thomas Faber
dbe30dfb59 [CMD]
- Fix mismatched allocation/free. Spotted by Samuel & cppcheck
CORE-8207 #resolve

svn path=/trunk/; revision=63249
2014-05-12 06:19:07 +00:00
Hermès Bélusca-Maïto
76f9d532f2 [NTVDM]
Improve int32 callback stub (and sync int32.c too).

svn path=/trunk/; revision=63248
2014-05-12 00:26:48 +00:00
Timo Kreuzer
df0efd5556 [DDK/XDK/NTOSKRNL/DRIVERS]
Fix incompatible definition of a number of NTOSKRNL data imports. These imports are declared in MS DDK in a way that is usually not how you would declare data imports. The proper way of doing it is using _DECLSPEC_INTRIN_TYPE(dllimport) or in this case NTKERNELAPI, which will cause the compiler to directly dereference the __imp__FooBar symbol. MS has declared some of these variables directly as pointers without using dllimport. This works with MS DDK, since it's import libraries contain aliases (like _FooBar) to the import symbols (__imp__FooBar). Neither MS LINK nor DLLTOOL create these aliases in the import libs, which is good, since hacks like these are dangerous. To make the original declarations work without using macros (which can conflict with other things, like for example the KdDebuggerEnabled member in KUSER_SHARED_DATA) these aliases have to be generated differently. Luckily both MSVC and GCC support a pragma that does exactly this. Fix the incompatible use in our drivers and the broen(!) use of KdDebuggerEnabled in kdcom (which was writing a PBOOLEAN value (FALSE == 0 == NULL, so no warning) into the location that is really a BOOLEAN, possibly overwriting other data. Finally get rid of a number of hacks in ntoskrnl, where prefixed versions were used to not conflict with the DDK definitions.

svn path=/trunk/; revision=63247
2014-05-11 23:11:16 +00:00
Timo Kreuzer
bbfd5abfca [CRT]
Fix build

svn path=/trunk/; revision=63246
2014-05-11 22:28:54 +00:00
Timo Kreuzer
1147b7f948 [CRT]
Fix handling of multibyte strings in _splitpath. Fixes 2 winetests.

svn path=/trunk/; revision=63245
2014-05-11 22:25:46 +00:00
Sylvain Petreolle
109185f9de [INF]
Fix line endings (LF=> CRLF,CR)

svn path=/trunk/; revision=63244
2014-05-11 20:59:17 +00:00
Sylvain Petreolle
c5688a4a32 [INF]
Set the mimetype property on the 2 remaining inf files.

svn path=/trunk/; revision=63243
2014-05-11 20:35:26 +00:00
Kamil Hornicek
606b742bf9 [TRANSLATIONS]
- fix the floppy.inf file which got somehow completely fubared in the previous revision

svn path=/trunk/; revision=63242
2014-05-11 20:03:30 +00:00
Kamil Hornicek
5ecc57aff5 [TRANSLATIONS]
- czech translation update by Radek Liska (with some minor modifications by me)

CORE-8092 #resolve #comment Committed in  r63241. Thanks!

svn path=/trunk/; revision=63241
2014-05-11 19:54:14 +00:00
Christoph von Wittich
a3675e98fc [setupapi]
-sync pSetupInstallCatalog to wine
-only return RequiredSize in SetupCopyOEMInfA on failure

svn path=/trunk/; revision=63240
2014-05-11 19:44:50 +00:00
Hermès Bélusca-Maïto
ec9727816d Forgot to redisable STANDALONE mode.
svn path=/trunk/; revision=63239
2014-05-11 19:26:17 +00:00
Hermès Bélusca-Maïto
cdfa735cd1 [NTVDM]
- Continue to work on VGA attach/detach from console;
- Stick more #if(n)def STANDALONE to portions of code that are useful (or not) in standalone (i.e. not in OS-integrated) mode;
- Isolate the Dos***File functions in a new source file;
- Get rid of STACK_COUNTER, STACK_VAR_A and STACK_VAR_B since we now use 32-->16 bit callbacks (and therefore adjust the callback/INT32 trampoline stubs accordingly).

svn path=/trunk/; revision=63238
2014-05-11 19:25:09 +00:00
Kamil Hornicek
5c08d6b6c5 [SHELL32]
- attempt to resolve an widechar/multibyte mismatch in the applet name
- fixes opening the mouse applet if the translated name contains a non ASCII character

svn path=/trunk/; revision=63237
2014-05-11 18:43:51 +00:00
Amine Khaldi
ad9936c218 [RAPPS]
* Lose the BOM.

svn path=/trunk/; revision=63236
2014-05-11 17:58:25 +00:00
Hermès Bélusca-Maïto
4cc030e477 [RAPPS]
- Turkish translation by Erdem Ersoy;
- Italian translation by Marco Maria Emanuele Bartucci;
- Polish translation by wojo664.
CORE-7493 #close #comment Committed in revision 63235, thanks! Please create a new report for translation updates.

svn path=/trunk/; revision=63235
2014-05-11 17:48:25 +00:00
Amine Khaldi
1adaa3117e [CRT]
* Update _filbuf().
CORE-8080

svn path=/trunk/; revision=63234
2014-05-11 17:45:26 +00:00
Amine Khaldi
330869f298 [CRT]
* Update _mktemp().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63233
2014-05-11 16:47:56 +00:00
Amine Khaldi
5da6e57577 [ATL]
* Zap atl_atliface_header dependency.

svn path=/trunk/; revision=63232
2014-05-11 14:16:27 +00:00
Amine Khaldi
c34bd28ce8 * Fix a typo.
svn path=/trunk/; revision=63231
2014-05-11 14:12:21 +00:00
Amine Khaldi
6b76e0f40b [CRT]
* Update _tstat64()
* Fixes several msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63230
2014-05-11 13:41:35 +00:00
Amine Khaldi
bd3aa41c29 [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861 #comment Committed in r63229. Thanks!

svn path=/trunk/; revision=63229
2014-05-11 13:10:44 +00:00
Amine Khaldi
da76ed637b [RAPPS]
* Italian translation update by Marco Maria Emanuele Bartucci.
* A small Polish translation update from wojo664.
CORE-8086 #resolve #Committed in r63228. Thanks!

svn path=/trunk/; revision=63228
2014-05-11 13:02:16 +00:00
Amine Khaldi
83effd53af [CRT]
* Update _open_osfhandle()
* Fixes a couple msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63227
2014-05-11 11:32:19 +00:00
Amine Khaldi
bef8de14c4 [CRT]
* Update _ftelli64()
* Fixes a couple msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63226
2014-05-11 10:45:02 +00:00
Christoph von Wittich
c93f8e51f0 [comctl32]
Notify the parent on a return key press.
fixes return key in device manager

svn path=/trunk/; revision=63225
2014-05-11 05:04:56 +00:00
Eric Kohl
94f60baa09 [VIDEOPRT]
Fix buggy monitor device id decode routine.
This patch is dedicated to Christoph von Wittlich.

svn path=/trunk/; revision=63224
2014-05-10 21:15:36 +00:00
Amine Khaldi
8ce24812f8 [CRT]
* Update MSVCRT_CHECK_PMT and co.
* Update the use of MSVCRT_INVALID_PMT throughout our code.
* Fix the return of _ltoa_s() in some case. Fixes a couple msvcrt:string tests.
CORE-8080

svn path=/trunk/; revision=63223
2014-05-10 20:38:26 +00:00
Timo Kreuzer
be359827c5 [KMTEST]
Add a temp hack that allows to compile kmtest_drv with either the current incompatible object type data imports or with the fixed ones

svn path=/trunk/; revision=63222
2014-05-10 17:19:53 +00:00
Timo Kreuzer
5a330ec787 [WIN32K]
Fix comments for some systemcalls, noticed by Giannis

svn path=/trunk/; revision=63221
2014-05-10 16:43:13 +00:00
Timo Kreuzer
2b89f1925e [KS/NTOSKRNL/WIN32K] Fix MSVC warnings
[WMILIB] Don't put it in a cab file, so we can use it in first stage
[DDK/VDDSVC.H] use the 16 bit interface only on MIPS
[WINE/PORT.H] WIN32 -> _WIN32
[NTOSKRNL] KfAcquire/ReleaseSpinLock -> KeAcquire/ReleaseSpinLock
[NTOSKRNL] Make sure KeUpdateSystemTime returns properly on non-x86 builds

svn path=/trunk/; revision=63220
2014-05-10 14:33:37 +00:00
Timo Kreuzer
a74ecc13fd [MSVCRT] Fix export of __uncaught_exception
[MSHTML] Add x64 asm wrappers

svn path=/trunk/; revision=63219
2014-05-10 14:16:11 +00:00
Timo Kreuzer
2e1ac56d1c [SPEC2DEF]
Improve the previous fix.

svn path=/trunk/; revision=63218
2014-05-10 14:12:20 +00:00
Timo Kreuzer
fda4b225f8 [SPEC2DEF]
Add support for adding aliases when exporting data by specifying the -withalias switch. This will cause MS LINK to generate _FooVar as an alias alias for _imp__FooVar. While this looks wrong and is not the way you usually handle data imports, this is what we have in the DDK for a number of data exports like KdDebuggerNotPresent, IoFileObjectType, ..., which we currently define in an incompatible way. Remove stdcall decorations on non-x86 builds

svn path=/trunk/; revision=63217
2014-05-10 13:55:09 +00:00
Timo Kreuzer
6c9afdb590 [CPPRT]
Add an alias for __CxxFrameHandler3 on x64 builds

svn path=/trunk/; revision=63216
2014-05-10 12:01:17 +00:00
James Tabor
9f8fa2af13 [Win32k]
- Patch by Huw Campbell : Fixes maximizing Explorer window, the horizontal scroll bar is not painted correctly. See CORE-6249.

svn path=/trunk/; revision=63215
2014-05-10 11:38:52 +00:00
Timo Kreuzer
5984090c7b [KS]
Fix some prototypes and some MSVC/x64 warnings

svn path=/trunk/; revision=63214
2014-05-10 10:02:09 +00:00
Amine Khaldi
97ab95bca6 [RPCRT4]
* Fix the ros_diff.

svn path=/trunk/; revision=63213
2014-05-10 09:37:38 +00:00
Timo Kreuzer
7c33407e96 [KSECDD]
Fix 64 bit compilation

svn path=/trunk/; revision=63212
2014-05-10 09:16:50 +00:00
Timo Kreuzer
4857a9216f [KERNEL32] Fix GetTickCount on 64 bit architecture
[RTL] Implement RtlGetTickCount (currently a copy of GetTickCount from kernel32)
[NTDLL] Export RtlGetTickCount as NtGetTickCount and ZwGetTickCount

svn path=/trunk/; revision=63211
2014-05-10 08:37:45 +00:00
James Tabor
d68dcedf68 - Fix API see CORE-8107.
svn path=/trunk/; revision=63210
2014-05-09 23:08:56 +00:00
Hermès Bélusca-Maïto
b9cff19fca [NTVDM]
Factor the shift of the interlaced high bit out of the for(...) loop (since the interlaced high bit is not modified anymore after), and add extra parentheses.

svn path=/trunk/; revision=63209
2014-05-09 22:07:49 +00:00
Aleksandar Andrejevic
d34fb08d13 [NTVDM]
Replace the temporary CGA hack with a working solution.
CORE-8177 #comment CGA should work as of r63208.


svn path=/trunk/; revision=63208
2014-05-09 21:56:40 +00:00
Hermès Bélusca-Maïto
60f07d8133 [NTVDM]
Fix logic. Caught by Victor Martinez (private communication).

svn path=/trunk/; revision=63207
2014-05-09 20:47:31 +00:00
Hermès Bélusca-Maïto
7090d796f6 [CABMAN]
In any case, we are returning the (!= success) status in case we failed to perform the file copy, so just test for != success just one time.
Patch by Victor Martinez.
CORE-8189 #resolve

svn path=/trunk/; revision=63206
2014-05-09 20:25:41 +00:00
Hermès Bélusca-Maïto
c86f110ca5 [CDMAKE]
Simplify the conditional checks; pointed by Victor Martinez.
CORE-8190 #resolve

svn path=/trunk/; revision=63205
2014-05-09 19:58:27 +00:00
Christoph von Wittich
0223435eb2 [ntdll]
fix parameter check in RtlFindActivationContextSectionString

svn path=/trunk/; revision=63204
2014-05-09 05:07:51 +00:00
Christoph von Wittich
392953e09d [kernel32_winetest]
don't skip test_typelib_section anymore

svn path=/trunk/; revision=63203
2014-05-09 04:46:18 +00:00
Hermès Bélusca-Maïto
71bcf04d1f [RPCRT4]
Detect whether we are connecting to a pipe on the local machine and use the \\.\ prefix instead of the full machine name.
This patch modifies ReactOS-specific code (that was introduced by Eric in revision 53630) (Wine still supports only local pipes), so I also update our rpcrt4_ros.diff file accordingly, r63201 with respect to the latest Wine 1.7.17 rpcrt4 code.

CORE-6561 #resolve
CORE-6562 #resolve
CORE-7562 #comment Partly solved in revision 63202. Please retest.

svn path=/trunk/; revision=63202
2014-05-09 01:57:43 +00:00
Aleksandar Andrejevic
9c0d390343 [NTVDM]
Fix the previous two fixes. Tests show that the first line is actually treated
as an even-numbered line.


svn path=/trunk/; revision=63201
2014-05-09 00:34:10 +00:00
Aleksandar Andrejevic
67bc39db31 [NTVDM]
Add a comment which explains the weird check for odd-numbered lines.


svn path=/trunk/; revision=63200
2014-05-09 00:23:19 +00:00
Aleksandar Andrejevic
ef8bb583c9 [NTVDM]
Fix CGA emulation in shift interleave mode.
CORE-8177 #comment Possibly fixed. Can you redo your tests with r63199?


svn path=/trunk/; revision=63199
2014-05-09 00:15:40 +00:00
Hermès Bélusca-Maïto
d639063cc3 [KERNEL32]
No need to precalculate the string lengths before calling the helper functions. They can do it instead.

svn path=/branches/condrv_restructure/; revision=63198
2014-05-08 22:24:38 +00:00
Thomas Faber
0ef1e2610a [IEFRAME]
- Fix IID comparison in ShellUIHelper2_QueryInterface. Patch by Víctor Martínez
CORE-8158 #resolve

svn path=/trunk/; revision=63197
2014-05-08 21:40:58 +00:00
Thomas Faber
2a247900b0 [QUARTZ]
- Fix a trace check. Patch by Víctor Martínez
CORE-8152 #resolve

svn path=/trunk/; revision=63195
2014-05-08 19:58:21 +00:00
Hermès Bélusca-Maïto
c26bc793ac [KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant.
The aim is to be able to put our kernel32.dll or winsrv.dll on win2k3, and vice-versa.

- Fix almost all the alias APIs and the history APIs. Unicode versions is OK, ANSI ones need correct fixes in server-side (see CORE-7931 for more details).
- Half-plement SetConsoleCommandHistoryMode (client-side OK, server-side unimplemented).

Part 4/X

CORE-7931

svn path=/branches/condrv_restructure/; revision=63194
2014-05-08 18:08:07 +00:00
Hermès Bélusca-Maïto
7a0c3bde06 Sync with trunk r63192.
svn path=/branches/condrv_restructure/; revision=63193
2014-05-08 14:40:52 +00:00
Amine Khaldi
ce79cc8f0a [KERNEL32][NTDLL]
* Sync ActCtx related code with Wine 1.7.17.
* I'll let you find out how many tests that fixes ;)
* Dedicated to Christoph von Wittich.
CORE-8080

svn path=/trunk/; revision=63192
2014-05-08 14:14:01 +00:00
Amine Khaldi
7fcec220f7 [NDK]
* Add RtlFindActivationContextSectionGuid().

svn path=/trunk/; revision=63191
2014-05-08 14:09:06 +00:00
Amine Khaldi
2ce68e3d24 [WINE/PORT]
* Fix interlocked_cmpxchg_ptr and interlocked_xchg_ptr.

svn path=/trunk/; revision=63190
2014-05-08 14:08:20 +00:00
Amine Khaldi
0b67325762 [NTDLL]
* Export NtGetTickCount().
CORE-8174

svn path=/trunk/; revision=63189
2014-05-08 14:07:36 +00:00
Thomas Faber
426a4f1ef2 [MSDMO]
- Actually copy output string in IEnumDMO_fnNext. Patch by Víctor Martínez
CORE-8151 #resolve

svn path=/trunk/; revision=63188
2014-05-08 13:24:09 +00:00
Thomas Faber
99da81e080 [SHLWAPI]
- Revert 24342314 unintended changes

svn path=/trunk/; revision=63187
2014-05-08 12:54:22 +00:00
James Tabor
40dc9fc1c8 [User32]
- Fixed regression from r63183. See CORE-7967.

svn path=/trunk/; revision=63186
2014-05-08 12:46:01 +00:00
Thomas Faber
0f635ea514 [SHLWAPI]
- Fix copypasta in PathRelativePathToW. Patch by Víctor Martínez
CORE-8162 #resolve

svn path=/trunk/; revision=63185
2014-05-08 12:43:10 +00:00
Hermès Bélusca-Maïto
b04972e79e [NTDLL]
- Fix potential bug in CsrCaptureMessageString, in case StringLength > MaximumLength, and also do not copy too much data into the captured buffer. Then always NULL-terminate the captured strings if possible.
- Implement CsrCaptureMessageMultiUnicodeStringsInPlace, used by Win2k3 kernel32.dll in CreateProcess and for SxS thingies.

svn path=/branches/condrv_restructure/; revision=63184
2014-05-07 23:00:03 +00:00
James Tabor
4cef95b542 [User32]
- Fixed more wine tests. WM_UNINITMENUPOPUP is called before destroying pop up menu window.

svn path=/trunk/; revision=63183
2014-05-07 22:25:16 +00:00
Aleksandar Andrejevic
26c219947c [BASESRV]
Don't set the process handle in BaseSrvCheckVDM.
Close the process handle when removing the console record.


svn path=/trunk/; revision=63182
2014-05-06 22:17:26 +00:00
James Tabor
d8070eb1ed - Silence traces.
svn path=/trunk/; revision=63181
2014-05-06 18:58:08 +00:00
James Tabor
feb7d786a6 - Enable last of the menu tests.
svn path=/trunk/; revision=63180
2014-05-06 18:10:10 +00:00
James Tabor
5e23122314 [Win32k]
- Utilize the new menu structures and use item array instead of the list method. Make sure your applications Appends are in order (reference Mdi.c). Sync ported more wine code too.
- See CORE-5605, CORE-7447, CORE-7967 (Main Bug), CORE-8098 and CORE-8107

svn path=/trunk/; revision=63179
2014-05-06 18:09:07 +00:00
Aleksandar Andrejevic
268e540974 Fix build.
svn path=/trunk/; revision=63178
2014-05-06 17:11:45 +00:00
Aleksandar Andrejevic
c32b8d2f39 [BRANCHES]
Merge the NTVDM branch back to trunk. New/changed components are: ntvdm, fast486, basesrv,
ntdll, kernel32 and csrsrv.


svn path=/trunk/; revision=63177
2014-05-06 17:06:47 +00:00
Aleksandar Andrejevic
8eb1b03462 Sync up to trunk head before merging.
svn path=/branches/ntvdm/; revision=63176
2014-05-06 16:07:19 +00:00
Pierre Schweitzer
c77fa2a73b [CMAKE]
Fix unwanted change brought with r62933.
This disables ccache build by default on Unix plateforms.

CORE-8176

svn path=/trunk/; revision=63174
2014-05-06 15:42:54 +00:00
James Tabor
79913690b0 - Update test to 1.7.18.
svn path=/trunk/; revision=63173
2014-05-06 15:42:03 +00:00
James Tabor
988572ad7d [User32]
- Patch by Andrew Eikum : Allow setting horizontal extent even without WS_HSCROLL. Only update listbox horizontal scroll info if WS_HSCROLL is set.

svn path=/trunk/; revision=63172
2014-05-06 15:41:01 +00:00
Pierre Schweitzer
108e081fe5 [CMAKE]
This was not meant to be committed. Sorry.

svn path=/trunk/; revision=63171
2014-05-05 21:06:13 +00:00
Pierre Schweitzer
c6b63983da [CMAKE]
Don't activate specific warnings for release builds

svn path=/trunk/; revision=63170
2014-05-05 21:03:20 +00:00
Christoph von Wittich
262f1bc203 [rtl/actctx]
reduce some more differences to wine

svn path=/trunk/; revision=63169
2014-05-05 18:28:01 +00:00
Eric Kohl
921ed79298 [FORMATTING]
No code changes!

svn path=/trunk/; revision=63168
2014-05-04 22:03:00 +00:00
Pierre Schweitzer
2ed05c2f8f [PSEH3]
And while we're at it, disable -Wshadow where it's required

svn path=/trunk/; revision=63167
2014-05-04 21:18:05 +00:00
Pierre Schweitzer
6c45081356 [PSEH3]
Actually, in previous patch, wrong diagnostic context was being saved (and thus, restored).
Properly save and restore it now.
The drawback of this is that we have to let it run over finally and except blocks to have proper builds with -Wdeclaration-after-statement.

Spotted by Thomas.

CORE-8172

svn path=/trunk/; revision=63166
2014-05-04 21:01:41 +00:00
Amine Khaldi
497ebdc5d6 [GDI32]
* Actually this is the order of exports.
CORE-8174

svn path=/trunk/; revision=63165
2014-05-04 19:17:52 +00:00
Amine Khaldi
ff57034622 [GDI32]
* Improve some param types.
* Remove some redundant commented out exports.
* Do not export GdiGetBitmapBitsSize().
* Fix the order of some exports.
CORE-8174

svn path=/trunk/; revision=63164
2014-05-04 18:56:37 +00:00
Amine Khaldi
e23708bf6a [USER32]
* Export IsProcess16Bit() and IsWow64Message().
CORE-8174

svn path=/trunk/; revision=63163
2014-05-04 18:29:59 +00:00
Pierre Schweitzer
aba903d969 [CMAKE]
Enable -Wdeclaration-after-statement for C builds

svn path=/trunk/; revision=63162
2014-05-04 18:11:11 +00:00
Pierre Schweitzer
4a228e1b4c [PSEH3]
Kill -Wdeclaration-after-statement when it's required.

PSEH tests are still green

svn path=/trunk/; revision=63161
2014-05-04 18:10:08 +00:00
Amine Khaldi
265daca71e [USER32]
* Zap WindowFromPhysicalPoint().
[WIN32K]
* Zap NtUserWindowFromPhysicalPoint().
CORE-8174

svn path=/trunk/; revision=63160
2014-05-04 18:06:06 +00:00
Amine Khaldi
a35a9ecc7e [USER32]
* Zap SetProcessDPIAware().
CORE-8174

svn path=/trunk/; revision=63159
2014-05-04 18:02:07 +00:00
Amine Khaldi
4486511926 * Fix a copy pasta. Spotted by Erdem Ersoy.
svn path=/trunk/; revision=63158
2014-05-04 17:02:07 +00:00
Amine Khaldi
23cb3e6822 [CRT]
* Sync __pxcptinfoptrs() with Wine 1.7.17.
* Update __thread_data structure.
CORE-8108 #resolve
CORE-8080

svn path=/trunk/; revision=63157
2014-05-04 16:58:49 +00:00
Pierre Schweitzer
a9cd01c98b [CMAKE]
Enable -Wold-style-declaration for C builds

svn path=/trunk/; revision=63155
2014-05-04 09:49:21 +00:00
Pierre Schweitzer
bd2145a2e8 [REACTOS]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63154
2014-05-04 09:47:52 +00:00
Pierre Schweitzer
d04225ceac [UXTHEME]
Properly declare with static

svn path=/trunk/; revision=63153
2014-05-04 09:46:57 +00:00
Pierre Schweitzer
da4a5b626a [WIN32SS]
Properly declare with FORCEINLINE
Properly declare with static

svn path=/trunk/; revision=63152
2014-05-04 09:45:42 +00:00
Pierre Schweitzer
9c0ff4b952 [PSEH2]
Properly declare with register

svn path=/trunk/; revision=63151
2014-05-04 09:43:38 +00:00
Pierre Schweitzer
984e312a11 [NMIDEBUG]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63150
2014-05-04 09:42:28 +00:00
Pierre Schweitzer
43c58abe03 [BOOTVID]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63149
2014-05-04 09:41:58 +00:00
Pierre Schweitzer
48cbcaeb2c [NTDLL]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63148
2014-05-04 09:41:01 +00:00
Pierre Schweitzer
9c67c46e09 [HALX86]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63147
2014-05-04 09:39:44 +00:00
Pierre Schweitzer
580d1cb2bb [NPFS]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63146
2014-05-04 09:38:36 +00:00
Pierre Schweitzer
a41d6ad06b [WS2HELP]
Properly declare with static and __inline

svn path=/trunk/; revision=63145
2014-05-04 09:16:11 +00:00
Pierre Schweitzer
9bfb45693d [MSAFD]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63144
2014-05-04 09:15:06 +00:00
Thomas Faber
dedd67967c [NTOS:KE]
- Unconditionally perform APC and IRQL checks on user call exit

svn path=/trunk/; revision=63143
2014-05-04 08:42:02 +00:00
Thomas Faber
56be505cae [WIN32K:NTGDI]
- Release device context semaphores in failure cases of GreExtTextOutW
CORE-8169 #resolve

svn path=/trunk/; revision=63142
2014-05-04 08:38:44 +00:00
Hermès Bélusca-Maïto
500db72171 [CONSRV]
- Move aliases & history management structures & initialization into the console server part.
- Maintain two different console lists, the first one for all the consoles (that are managed by the console driver) and the other for the consoles that are also owned by the console server.
- Simplify few function prototypes.

svn path=/branches/condrv_restructure/; revision=63141
2014-05-04 00:01:48 +00:00
Hermès Bélusca-Maïto
e399b920c2 [EXPLORER]
Do not hide file extensions by default.
A side effect is that it will make zz_word_viewer_2003:2.copy_text test going further.

svn path=/trunk/; revision=63140
2014-05-03 21:16:19 +00:00
Pierre Schweitzer
76e0ccc2b9 [PIPEREAD]
Prevent null buffer dereference

svn path=/trunk/; revision=63139
2014-05-03 18:52:00 +00:00
Hermès Bélusca-Maïto
82df6707ba [CMD]
Fix _tcsncat usage. Patch by Victor Martinez.
CORE-8149 #resolve

svn path=/trunk/; revision=63138
2014-05-03 18:07:07 +00:00
Hermès Bélusca-Maïto
9749e1cadf [IPCONFIG]
Fix lines inversion, based on a patch by Victor Martinez.
CORE-8146 #resolve

svn path=/trunk/; revision=63137
2014-05-03 17:58:26 +00:00
Hermès Bélusca-Maïto
89edba0174 ... and also, please open your eyes (upper vs. lowercase letters).
svn path=/trunk/; revision=63136
2014-05-03 17:25:52 +00:00
Hermès Bélusca-Maïto
cbb1745661 Arch, please do not mix up ANSI vs. UNICODE string functions, do you?
svn path=/trunk/; revision=63135
2014-05-03 17:24:22 +00:00
Hermès Bélusca-Maïto
6a206e692a [FTP]
Fix some strncat usage.
Patch by Victor Martinez.
CORE-8145 #resolve

svn path=/trunk/; revision=63134
2014-05-03 17:22:35 +00:00
Hermès Bélusca-Maïto
ea3f9d6c6e [APITEST:USER32]
Fix problematic for() loops.
Patch by Victor Martinez Calvo, thanks :)
ROSTESTS-136 #resolve

svn path=/trunk/; revision=63133
2014-05-03 17:08:39 +00:00
Aleksandar Andrejevic
6015e6ba30 [NTOSKRNL]
Remove the e_lfarlc check. It fails on perfectly valid executables.


svn path=/branches/ntvdm/; revision=63132
2014-05-03 16:39:21 +00:00
Thomas Faber
5e26b1988c [TELNET]
- Use correct string length when reporting cursor position. Patch by Víctor Martínez
CORE-8147 #resolve

svn path=/trunk/; revision=63131
2014-05-03 13:58:02 +00:00
Thomas Faber
2c84548327 [BEEPMIDI]
- Write MIDIOUTCAPSW::szPname in a type-safe manner. By Víctor Martínez
CORE-8154 #resolve

svn path=/trunk/; revision=63130
2014-05-03 13:18:27 +00:00
Hermès Bélusca-Maïto
5124294dd4 Sync with trunk revision 63128.
svn path=/branches/ntvdm/; revision=63129
2014-05-03 12:58:22 +00:00
Thomas Faber
c9f63f57b9 [NETAPI32]
- Import recent fixes and new stubs from Wine
- Note that Wine is using Samba's libnetapi to implement many functions these days (not included here), so it may be worth having a look at porting that work to ROS.
CORE-8160 #resolve

svn path=/trunk/; revision=63128
2014-05-03 12:53:58 +00:00
Thomas Faber
0896926c21 [I8042PRT]
- Do not prematurely complete IRP_MN_FILTER_RESOURCE_REQUIREMENTS or IRP_MN_QUERY_PNP_DEVICE_STATE
- Do not handle IRP_MN_QUERY_DEVICE_RELATIONS.BusRelations. We're not the bus driver!
- Correctly stub the (mandatory!) dispatch functions for IRP_MJ_POWER and IRP_MJ_SYSTEM_CONTROL
CORE-8142 #resolve

svn path=/trunk/; revision=63127
2014-05-03 11:17:57 +00:00
Timo Kreuzer
8eff9cd26a [I8042PRT]
Apply a workaround by hto to fix mouse / touchpad on some notebooks.
CORE-6901

svn path=/trunk/; revision=63126
2014-05-03 11:04:52 +00:00
Aleksandar Andrejevic
c098b6e833 [KERNEL32][BASESRV]
Move the console/ID checking code from kernel32 to basesrv.


svn path=/branches/ntvdm/; revision=63125
2014-05-03 02:34:40 +00:00
Aleksandar Andrejevic
263f3da77d [KERNEL32][NTVDM]
In BaseCheckVDM, return a task ID of 0 if there is a console.
In CommandThreadProc, make sure the loop executes at least once.
Also, if a session ID is given, there is no parent console, so there is no need to wait
for further commands.


svn path=/branches/ntvdm/; revision=63124
2014-05-03 02:13:51 +00:00
Hermès Bélusca-Maïto
9b17c1b99d [CONSRV]
Terminals are for consoles, and frontends for a given win32 terminal.
Start to clarify this situation in the code. Work in progress.

svn path=/branches/condrv_restructure/; revision=63123
2014-05-03 01:59:28 +00:00
Aleksandar Andrejevic
9eeef92b34 [BASESRV]
Don't accept NULL as a valid console handle.


svn path=/branches/ntvdm/; revision=63122
2014-05-02 23:00:10 +00:00
Aleksandar Andrejevic
9b7d069e2e [NTVDM][KERNEL32]
Send the specified task ID to CSRSS in GetNextVDMCommand.
In ntvdm, parse the command line parameters to find the session ID, and pass it in
every call to GetNextVDMCommand.


svn path=/branches/ntvdm/; revision=63121
2014-05-02 22:23:34 +00:00
Aleksandar Andrejevic
9c142126d3 [BASESRV]
In BaseSrvGetConsoleRecord and GetConsoleRecordBySessionId, check if the console record was not found instead
of returning the last one in the list.
In BaseSrvCheckVDM, return the session ID to the caller.


svn path=/branches/ntvdm/; revision=63120
2014-05-02 21:45:16 +00:00
Aleksandar Andrejevic
fdf472cb6e [NTVDM]
Restore the console to normal size while no DOS task is running and keep track
of the cursor position.
Adapted from a patch by Hermès Bélusca-Maïto.


svn path=/branches/ntvdm/; revision=63119
2014-05-02 21:17:05 +00:00
Aleksandar Andrejevic
accafb817a [NTVDM]
Initialize the reference counts of the DOS console handles.


svn path=/branches/ntvdm/; revision=63118
2014-05-02 18:49:15 +00:00
Hermès Bélusca-Maïto
e26a117d1f [CONSRV]
- Move some functions where they belong.
- Start to differentiate frontends for consrv terminal, and terminals.

svn path=/branches/condrv_restructure/; revision=63117
2014-05-02 18:44:26 +00:00
Aleksandar Andrejevic
e53148d3f5 [NTVDM]
Use VdmRunning to keep the state of the whole VDM, not a VDM task.
Add an event whose signaled state determines the state of the VDM task.
Use FILE_SHARE_READ when opening executables.


svn path=/branches/ntvdm/; revision=63116
2014-05-02 18:24:40 +00:00
Hermès Bélusca-Maïto
0679e307e5 [KERNEL32]
Compare against "NE", not "N" only. Caught by Victor Martinez, thanks ;)
CORE-8159 #resolve

svn path=/branches/ntvdm/; revision=63113
2014-05-02 17:11:13 +00:00
Hermès Bélusca-Maïto
dc4ef8e972 [CONSRV]
Start refactoring:
- remove FASTCALL
- Add WINSRV_CONSOLE for keeping what makes sense only in Win32 consoles and not in consoles in general (keep in mind that the condrv part of this should go into kernel mode later on...)
  therefore: move the wait queues into it, the pause flags (that are frontend-specific).
- Move process control from condrv.

svn path=/branches/condrv_restructure/; revision=63112
2014-05-02 16:46:13 +00:00
Thomas Faber
49b2551b4d [DEVMGMT]
- Fix an operator precedence issue. Patch by Víctor Martínez
CORE-8144 #resolve

svn path=/trunk/; revision=63111
2014-05-02 16:04:29 +00:00
Thomas Faber
041d2d0406 [COMP]
- Remove broken/unnecessary assignments. Patch by Víctor Martínez
CORE-8143 #resolve

svn path=/trunk/; revision=63110
2014-05-02 15:46:23 +00:00
Aleksandar Andrejevic
880d3c125f [NTVDM]
Set VdmRunning to TRUE in EmulatorSimulate.


svn path=/branches/ntvdm/; revision=63109
2014-05-02 15:44:47 +00:00
Hermès Bélusca-Maïto
6e2c6eb7de [CONDRV]: Remove compilation warnings.
svn path=/branches/condrv_restructure/; revision=63108
2014-05-02 15:09:26 +00:00
Aleksandar Andrejevic
de02e868fc [NTOSKRNL]
Fix the previous fix. We must use STATUS_ROS_EXEFMT_UNKNOWN_FORMAT.


svn path=/branches/ntvdm/; revision=63107
2014-05-02 15:00:38 +00:00
Aleksandar Andrejevic
a31666e4e2 [NTOSKRNL]
If we cannot read the file at offset e_lfanew, it means that the value of e_lfanew is invalid.


svn path=/branches/ntvdm/; revision=63105
2014-05-02 14:38:36 +00:00
Hermès Bélusca-Maïto
b819608ed8 Create a branch for console restructuration work.
svn path=/branches/condrv_restructure/; revision=63104
2014-05-02 14:13:40 +00:00
Thomas Faber
8a31b75da2 [NTOS:IO]
- Don't bugcheck if quota allocation fails in IoAllocateIrp

svn path=/trunk/; revision=63102
2014-05-02 09:17:36 +00:00
Hermès Bélusca-Maïto
8af6d0d4da [MSGINA][SHELL32]
- Resize the logon graphics logo to windows standard size: 413x72.
- Use this very same logo for ShellAbout. Adapted from a proposition by Lee Schroeder. The real fix for this would be to do like Windows, that means, since (you can double-check) shell32 takes the picture from msgina.dll .
CORE-7940 #resolve #comment Fixed, thanks ;)

svn path=/trunk/; revision=63101
2014-05-02 02:52:15 +00:00
Aleksandar Andrejevic
3a94de4a0e [BASESRV]
Fix the previous fix. It's not necessary to use a different status value from the one that was returned.


svn path=/branches/ntvdm/; revision=63100
2014-05-02 01:20:40 +00:00
Aleksandar Andrejevic
8be11a5989 [BASESRV]
Make sure that the console record exists before continuing.


svn path=/branches/ntvdm/; revision=63099
2014-05-02 01:18:46 +00:00
Aleksandar Andrejevic
47c1283bd2 [BASESRV][KERNEL32][NTVDM]
Make our BaseSrvGetNextVDMCommand and GetNextVDMCommand a bit more Windows-compatible,
and modify NTVDM accordingly.


svn path=/branches/ntvdm/; revision=63098
2014-05-01 23:52:36 +00:00
Thomas Faber
0da41488e9 [QMGR][BOOTDATA]
- Properly register qmgr classes and create the BITS service. See https://source.winehq.org/git/wine.git/commitdiff/c1fce745
CORE-8135 #resolve

svn path=/trunk/; revision=63097
2014-05-01 19:50:37 +00:00
Thomas Faber
4847c9ec64 [USP10]
- Fix buffer overflow in _ItemizeInternal
CORE-8133 #resolve

svn path=/trunk/; revision=63096
2014-05-01 19:44:30 +00:00
Hermès Bélusca-Maïto
554ed501cb [WINVER]: Remove wine'isms and add a resource file.
svn path=/trunk/; revision=63095
2014-05-01 17:49:23 +00:00
Timo Kreuzer
7c4ed8f966 [FORMATTING]
No code change

svn path=/trunk/; revision=63094
2014-05-01 13:37:08 +00:00
Timo Kreuzer
589bd6abe0 [WIN32K]
Fix possible NULL pointer dereference in GreSetStretchBltMode. CID 1206825

svn path=/trunk/; revision=63093
2014-05-01 10:51:19 +00:00
Timo Kreuzer
011d8212a2 [PSEH]
When we use the dummy PSEH, use an if (ExternalVariable) around the except block. This is to make Coverity check the except handler as well and take into account that it could be executed.

svn path=/trunk/; revision=63092
2014-05-01 10:27:38 +00:00
Timo Kreuzer
b1e9d59ae3 [WIN32K]
When no clip object is passed to EngGradientFill, use the global trivial one instead of creating a new one. Fixes memory leak. CID 716615

svn path=/trunk/; revision=63091
2014-05-01 09:59:01 +00:00
Timo Kreuzer
a45e440cac [FORMATTING]
Fix indentation, no code change

svn path=/trunk/; revision=63090
2014-05-01 09:48:40 +00:00
Timo Kreuzer
779f0311f1 [WIN32K]
Fix DPRINT, noticed by Thomas

svn path=/trunk/; revision=63089
2014-05-01 08:57:11 +00:00
Timo Kreuzer
305c6b4fcc [WIN32K]
Check return value of NtQuerySystemInformation in EngQuerySystemAttribute
CID 513027

svn path=/trunk/; revision=63088
2014-05-01 08:55:04 +00:00
Timo Kreuzer
fc4372b2b8 [WIN32K]
Don't check a pointer for being NULL after it has been dereferenced.
CID 1102416

svn path=/trunk/; revision=63087
2014-05-01 08:30:41 +00:00
Thomas Faber
9741b0dd35 [WBEMPROX]
- Fix order of operations for assignment in class_object_Next. Patch by Víctor Martínez
CORE-8116 #resolve

svn path=/trunk/; revision=63086
2014-05-01 04:22:06 +00:00
Pierre Schweitzer
9282f9855e [RAPPS]
Close downloaded application before attempting to execute it.

CORE-8134 #resolve

svn path=/trunk/; revision=63085
2014-04-30 22:03:49 +00:00
Amine Khaldi
3d22f7e832 [BASE][BOOT][WIN32SS]
* Fix some format string / argument mismatches. By Andre Guibert de Bruet.
CORE-7995 #resolve #comment Thanks!

svn path=/trunk/; revision=63084
2014-04-30 19:05:42 +00:00
Thomas Faber
174da99a46 [CRT]
- Fix potential null dereference in TRACE in _wfreopen. Patch by Víctor Martínez
CORE-8120 #resolve

svn path=/trunk/; revision=63083
2014-04-30 19:05:38 +00:00
Thomas Faber
2f0e570ea6 [DBGHELP]
- Fix order of operations for assignment in symt_fill_sym_info. Patch by Víctor Martínez
CORE-8114 #resolve

svn path=/trunk/; revision=63082
2014-04-30 18:59:39 +00:00
Pierre Schweitzer
ae707e1952 [FASTFAT]
Disable SL_OPEN_TARGET_DIRECTORY for the moment.

CORE-8128 #resolve

svn path=/trunk/; revision=63081
2014-04-30 18:48:03 +00:00
Amine Khaldi
ba0be89b7a [MPLAY32][MSPAINT][NOTEPAD][REGEDIT][WINHLP32]
* Fix some format string / argument mismatches. By Andre Guibert de Bruet.
CORE-7995

svn path=/trunk/; revision=63080
2014-04-30 18:41:39 +00:00
Amine Khaldi
bd123371a8 [README.WINE]
* Mark some modules as up to date.
CORE-8080

svn path=/trunk/; revision=63079
2014-04-30 13:19:57 +00:00
Amine Khaldi
ec91270312 [STI]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63078
2014-04-30 13:07:53 +00:00
Amine Khaldi
ad02cdb9e8 [STDOLE2.TLB][STDOLE32.TLB]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63077
2014-04-30 13:05:05 +00:00
Amine Khaldi
ce405bc753 [SNMPAPI_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63076
2014-04-30 13:01:50 +00:00
Amine Khaldi
ac2575d193 [SHDOCVW]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63075
2014-04-30 13:00:35 +00:00
Amine Khaldi
34cd5e455a [RICHED32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63074
2014-04-30 12:57:41 +00:00
Amine Khaldi
40ecb173db [RASAPI32_WINETEST]
* Improve header inclusions.
* Speedup build.
* Remove redundant definitions.

svn path=/trunk/; revision=63073
2014-04-30 12:56:17 +00:00
Amine Khaldi
bd8d28d322 [PSTOREC]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63072
2014-04-30 12:54:17 +00:00
Amine Khaldi
49345d645b [PDH_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63071
2014-04-30 12:50:57 +00:00
Amine Khaldi
8df2aa0ed1 [ODBCCP32_WINETEST]
* Improve header inclusions.
* Speedup build.
* Remove redundant definitions.

svn path=/trunk/; revision=63070
2014-04-30 12:47:25 +00:00
Amine Khaldi
78bb2d304d [OBJSEL]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63069
2014-04-30 12:45:57 +00:00
Amine Khaldi
515b241df5 [NTPRINT_WINETEST]
* Sync with Wine 1.7.17.
* Improve header inclusions.
* Speedup build.
* Remove redundant definitions.
CORE-8080

svn path=/trunk/; revision=63068
2014-04-30 12:44:28 +00:00
Amine Khaldi
ae78c69135 [NTDSAPI_WINETEST]
* Improve header inclusions.
* Speedup build.
* Remove redundant definitions.

svn path=/trunk/; revision=63067
2014-04-30 12:42:30 +00:00
Amine Khaldi
2417a6593c [MSXML][MSXML2][MSXML4][MSXML6]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63066
2014-04-30 12:39:01 +00:00
Amine Khaldi
ac427aa770 [MSTASK_WINETEST]
* Improve header inclusions.

svn path=/trunk/; revision=63065
2014-04-30 12:33:05 +00:00
Amine Khaldi
b0515fcf8c [MSTASK]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63064
2014-04-30 12:32:16 +00:00
Amine Khaldi
3dc8dc8149 [MSIMTF]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63063
2014-04-30 12:29:51 +00:00
Amine Khaldi
e6d7517236 [LZ32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63062
2014-04-30 12:24:15 +00:00
Amine Khaldi
8b3a1ce99d [LOCALUI_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63061
2014-04-30 12:23:12 +00:00
Amine Khaldi
5f9ea33d77 [INSENG]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63060
2014-04-30 12:20:21 +00:00
Amine Khaldi
450dbf0203 [IMM32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63059
2014-04-30 12:16:47 +00:00
Amine Khaldi
45d0525013 [HNETCFG]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63058
2014-04-30 12:13:25 +00:00
Amine Khaldi
417582681c [FUSION_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63057
2014-04-30 12:10:17 +00:00
Amine Khaldi
62d546bf95 [FAULTREP_WINETEST]
* Remove redundant definition.

svn path=/trunk/; revision=63056
2014-04-30 12:08:33 +00:00
Amine Khaldi
3ff49fc66d [CRYPTUI_WINETEST]
* Remove redundant definition.

svn path=/trunk/; revision=63055
2014-04-30 12:08:17 +00:00
Amine Khaldi
4601190c2e [CREDUI_WINETEST]
* Remove redundant definition.

svn path=/trunk/; revision=63054
2014-04-30 12:03:06 +00:00
Amine Khaldi
3bcaa79636 [COMCAT_WINETEST]
* Sync with Wine 1.7.17.
* Remove redundant definition.
CORE-8080

svn path=/trunk/; revision=63053
2014-04-30 12:01:03 +00:00
Amine Khaldi
ec28e1a056 [ADVPACK_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63052
2014-04-30 11:59:11 +00:00
Amine Khaldi
168a36ef59 [DPLAY][MSDMO][WPP]
* Mark as up to date.
CORE-8080

svn path=/trunk/; revision=63051
2014-04-30 11:57:36 +00:00
Aleksey Bragin
dc69e208a6 [MSGINA]
- Report errors in StartupWindowThread as they are critical (the caller will wait infinitely).

svn path=/trunk/; revision=63050
2014-04-29 22:19:57 +00:00
Pierre Schweitzer
09a8dc268a [FASTFAT]
Fix the most stupid bug ever in ReactOS history (at least!).

Dear Pierre, you pretend you're modifying the FileObject->FileName field, but, as you were told in the early when you learnt C, you're at that point in your code dealing with a local copy of the unicode string. So, if modifying the Buffer field is fine, because it's a pointer to memory zone, containing the wchar string, modifying the Length field is totally pointless because it won't magically modify the unicode string in the file object, and will just be forgotten as long the function will be unstacked.

So REALLY modify the file object. VfatSetRenameInformation receives less garbage information now...

svn path=/trunk/; revision=63049
2014-04-29 20:50:51 +00:00
Christoph von Wittich
65113f23e7 [rtl/actctx]
reduce diff to wine (not a full sync)

svn path=/trunk/; revision=63048
2014-04-29 19:37:02 +00:00
Kamil Hornicek
21fc125126 [KERNEL32_WINETEST]
- fix msvc build (?)

svn path=/trunk/; revision=63047
2014-04-29 19:15:28 +00:00
Christoph von Wittich
e396f9689a [kernel32_winetest]
skip test_typelib_section

svn path=/trunk/; revision=63046
2014-04-29 18:30:54 +00:00
Pierre Schweitzer
4d286e5a49 [FASTFAT]
Properly handle files at root.

CORE-8125 #resolve

svn path=/trunk/; revision=63045
2014-04-29 18:25:02 +00:00
Thomas Faber
6a1f297a19 [FIND]
- Fix missing explicit -A.... by using -W functions instead. Spotted by Christoph and Timo.

svn path=/trunk/; revision=63043
2014-04-29 08:51:17 +00:00
Aleksandar Andrejevic
d0fad5273f [BASESRV]
Implement BaseSrvDisconnect and BaseSrvCleanupVdmRecords, which will remove VDM console and DOS records
which have been left behind by a terminated ntvdm process.
Implement the "VDM voodoo" in BaseSrvCreateProcess. It's supposed to store the process ID of the VDM
in the VDM console record.
Fix minor bugs.
Add function declarations to the header file.


svn path=/branches/ntvdm/; revision=63042
2014-04-29 00:41:48 +00:00
Hermès Bélusca-Maïto
487d3f80bf [CSRSRV]
When the CsrProcessCreateNewGroup (~= CREATE_NEW_PROCESS_GROUP) flag is set, it means that we are creating a new process group leader, and not the reverse :P

svn path=/branches/ntvdm/; revision=63041
2014-04-28 23:09:09 +00:00
Aleksandar Andrejevic
dd049f9da3 [BASESRV]
Don't update the state of the old DOS records if the DOS program executed another program.


svn path=/branches/ntvdm/; revision=63039
2014-04-28 20:51:59 +00:00
Pierre Schweitzer
336b78eeba [FASTFAT]
Fix typo.

svn path=/trunk/; revision=63038
2014-04-28 20:33:57 +00:00
Hermès Bélusca-Maïto
94f8fdd00f [CMD]
GetConsoleAliasesLength returns a DWORD (and the len variable *is* a DWORD). Do not check for negative values.
Patch by André Guibert de Bruet.
CORE-7964 #resolve #comment Fixed in revision 63037, cheers!

svn path=/trunk/; revision=63037
2014-04-28 20:12:07 +00:00
Hermès Bélusca-Maïto
fe7035f7a7 [CARDLIB]
Use the proper Highlight pen to highlight the cards (for any cards game using the cardlib library).
Patch by Victor Martinez Calvo.
CORE-8118 #resolve #comment Committed in revision 63036, thanks!

svn path=/trunk/; revision=63036
2014-04-28 20:00:02 +00:00
Hermès Bélusca-Maïto
32096ac27a [CONSRV]
- Fix dereferencing potential NULL pointers in ConDrvReadConsole() and ConDrvChangeScreenBufferAttributes();
- Fix a wcsncat in ConSrvOpenUserSettings()
Patches by Victor Martinez Calvo
CORE-8122 CORE-8123 #resolve #comment Fixed in revision 63035, cheers ;)

svn path=/trunk/; revision=63035
2014-04-28 19:50:27 +00:00
Pierre Schweitzer
56a5ebef81 [FASTFAT]
Implement part 2/3 (first part was in ntoskrnl, remember ;-)) of renaming support in ReactOS.

Here, we implement support for SL_OPEN_TARGET_DIRECTORY for IRP_MJ_CREATE in fastfat. The code is not the best ever, but we can't do miracles with fastfat.
This fixes a few tests in KmTests:IoCreateFile and also shows failures I still don't get and that will require deeper attention.

Last part will be to effectively bring support of FileRenameInformation in IRP_MJ_SET_INFORMATION. But this is yet another story.

svn path=/trunk/; revision=63034
2014-04-28 19:40:26 +00:00
Thomas Faber
c06ae88245 [NETCFGX]
- Use correct parent key instead of an uninitialized handle in INetCfgComponentControl_fnApplyRegistryChanges
CORE-8115 #resolve

svn path=/trunk/; revision=63032
2014-04-28 08:27:57 +00:00
Thomas Faber
2e56e4ba43 [EVENTVWR]
- Remove dead code in GetEventCategory
- Fix buffer overflows in DisplayEvent
- Patch by Víctor Martínez
CORE-8111 #resolve

svn path=/trunk/; revision=63031
2014-04-28 08:15:28 +00:00
Thomas Faber
14acdd1318 [FIND]
- Avoid printf on a non-format string. Spotted by Víctor
- Remove broken pseudo-TCHAR usage
CORE-8112 #resolve

svn path=/trunk/; revision=63030
2014-04-28 08:06:52 +00:00
Thomas Faber
f07603fa39 [DWNL]
- Fix a format specifier. Patch by Víctor Martínez
CORE-8113 #resolve

svn path=/trunk/; revision=63029
2014-04-28 08:04:14 +00:00
James Tabor
ce150eca7b [Win32k]
- Goodbye to menu ntuser bad functions.

svn path=/trunk/; revision=63028
2014-04-28 05:54:43 +00:00
James Tabor
9e6fb311ed [Win32k]
- Moved to new menu structures, synced in wine code and started first phase to server side. Resulting that more tests are running and failing less. Unplugged ntuser bad functions.
- See CORE-5605, CORE-7447, CORE-7967, CORE-8098 and CORE-8107

svn path=/trunk/; revision=63027
2014-04-28 03:55:23 +00:00
James Tabor
2a6fbc8f80 - Disable insert menu test for now. Part II.
svn path=/trunk/; revision=63026
2014-04-28 03:51:52 +00:00
James Tabor
c81047d3ed - Disable insert menu test for now.
svn path=/trunk/; revision=63025
2014-04-28 03:46:21 +00:00
Aleksandar Andrejevic
3031b351e8 [NTVDM]
Don't define STANDALONE by default.
Don't quit ntvdm after it becomes the last process on the console if a DOS app is still running.


svn path=/branches/ntvdm/; revision=63024
2014-04-27 22:38:54 +00:00
Pierre Schweitzer
5cabd6269f [NTOSKRNL]
Fix potential overflows

CID #701302
CID #1206856

svn path=/trunk/; revision=63023
2014-04-27 18:46:26 +00:00
Pierre Schweitzer
4bf9c9fbab [PSAPI]
Fix pointer arithmetic

CID #1206924

svn path=/trunk/; revision=63022
2014-04-27 18:35:46 +00:00
Pierre Schweitzer
55c6df28a8 [RAPPS]
- Fix memory leaks
- Fix null-pointer dereference
- Fix user-after-free

CID #1206908
CID #1206915
CID #1206921
CID #1207022

svn path=/trunk/; revision=63021
2014-04-27 18:29:06 +00:00
Pierre Schweitzer
2f3b278836 [NTOSKRNL]
Init event before passing it to the IRP.
Fixes issues on IRP completion

svn path=/trunk/; revision=63020
2014-04-27 13:46:21 +00:00
Thomas Faber
1a4b004293 [I8042PRT]
- Fix WDK warnings and remove some unnecessary casts

svn path=/trunk/; revision=63019
2014-04-27 13:33:42 +00:00
Pierre Schweitzer
47a5380c70 [PSDK]
Properly declare with __inline

svn path=/trunk/; revision=63018
2014-04-27 13:11:19 +00:00
Pierre Schweitzer
5d7445aec0 [FREELDR]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63017
2014-04-27 12:59:37 +00:00
Pierre Schweitzer
6c54a61b58 [RTL]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63016
2014-04-27 12:45:51 +00:00
Pierre Schweitzer
a1b1ed5592 [RTL]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63015
2014-04-27 12:34:39 +00:00
Pierre Schweitzer
f9db642103 [NTOSKRNL]
Few fixes to IopGetBasicInformationFile() and NtSetInformationFile().
Spotted by Thomas

svn path=/trunk/; revision=63014
2014-04-27 11:14:16 +00:00
Christoph von Wittich
eaf1d4a782 [devmgmt]
improve keyboard navigation

svn path=/trunk/; revision=63013
2014-04-27 08:15:59 +00:00
Thomas Faber
07772cfcc1 [USP10]
- Silence an excessively noisy DPRINT to make testman happier

svn path=/trunk/; revision=63012
2014-04-27 04:52:36 +00:00
Pierre Schweitzer
fc16a98b4a [NTOSKRNL]
Implement IopOpenLinkOrRenameTarget(), IopGetBasicInformationFile(), IopGetFileInformation().

This implements renaming support in kernel via Nt/ZwSetInformationFile, FileRenameInformation class.
This is only the first part to get renaming properly work in ReactOS.
As exposed by IopOpenLinkOrRenameTarget(), as second step, it's mandatory to implement support for parent directory open in FSDs (FastFAT at first). See tests for IoCreateFile in kmtests. I've some kind of patch for that purpose.
Finally, as third step, it's required to implement support for FileRenameInformation in the FSDs. That part is likely to require way much more work (thanks fastfat <3).

Regarding commented out code, I invite you to read as reference: http://fsfilters.blogspot.fr/2012/07/flags-of-fileobjects-part-v.html

R. Nagar's book is still a good reference regarding since (if we forget bugs in code examples and stuff that got renamed).

svn path=/trunk/; revision=63011
2014-04-26 19:36:51 +00:00
Amine Khaldi
84390b0bdc [ATL100_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63010
2014-04-26 18:52:15 +00:00
Amine Khaldi
bcdfc4d78e [ATL80_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63009
2014-04-26 18:52:02 +00:00
Amine Khaldi
de38ba40d3 [ATL_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63008
2014-04-26 18:50:38 +00:00
Amine Khaldi
c152cc4698 [ATL][ATL80][ATL100]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63007
2014-04-26 18:49:54 +00:00
Amine Khaldi
530239d488 [IEFRAME]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63006
2014-04-26 18:39:56 +00:00
Amine Khaldi
f550748eed [MSHTML_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63005
2014-04-26 18:34:51 +00:00
Amine Khaldi
874b7e16f9 [MSHTML]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63004
2014-04-26 18:30:09 +00:00
Amine Khaldi
6b13145060 [VERSION_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63003
2014-04-26 18:16:00 +00:00
Amine Khaldi
4c8d114899 [VERSION]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63002
2014-04-26 18:15:32 +00:00
Amine Khaldi
283f51f64b [MSRLE32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63001
2014-04-26 18:13:05 +00:00
Amine Khaldi
9fbe0e17f1 [QMGRPRXY]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63000
2014-04-26 18:07:23 +00:00
Amine Khaldi
d6dcc30fc0 [QMGR_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62999
2014-04-26 18:06:03 +00:00
Amine Khaldi
654ba0eca0 [QMGR]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62998
2014-04-26 18:04:41 +00:00
Amine Khaldi
a97c2c224d [PSDK]
* Import bits3_0.idl from Wine 1.7.17.
* Add missing BG_NOTIFY_FILE_TRANSFERRED definition.
CORE-8080

svn path=/trunk/; revision=62997
2014-04-26 18:03:42 +00:00
Amine Khaldi
5e2046a6b9 [PROPSYS_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62996
2014-04-26 17:57:07 +00:00
Amine Khaldi
e124247fdd [PROPSYS]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62995
2014-04-26 17:56:51 +00:00
Amine Khaldi
d4ce7ec2a8 [WININET_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62994
2014-04-26 17:50:30 +00:00
Amine Khaldi
698bb7c11c [WININET]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62993
2014-04-26 17:50:05 +00:00
Amine Khaldi
6e47994153 [CRT]
* Add missing EWOULDBLOCK define.
[ADNS]
* Make sure we get the intended EWOULDBLOCK here.

svn path=/trunk/; revision=62992
2014-04-26 17:46:43 +00:00
Amine Khaldi
1bf5033020 [WINHTTP_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62991
2014-04-26 17:36:17 +00:00
Amine Khaldi
ab45abcfb2 [WINHTTP]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62990
2014-04-26 17:34:51 +00:00
Amine Khaldi
b58e1624b4 [WUAPI]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62989
2014-04-26 17:23:51 +00:00
Amine Khaldi
79c010a732 [README.WINE]
* Fix some inconsistencies. Spotted by Radek Liska.

svn path=/trunk/; revision=62988
2014-04-26 17:15:50 +00:00
Amine Khaldi
1139650dea [WBEMPROX_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62987
2014-04-26 17:13:09 +00:00
Amine Khaldi
85dd82c9c8 [WBEMPROX]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62986
2014-04-26 17:12:58 +00:00
Amine Khaldi
a6e17f6bca [RPCRT4_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62985
2014-04-26 16:58:32 +00:00
Amine Khaldi
03a79f2692 [RPCRT4]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62984
2014-04-26 16:58:18 +00:00
Amine Khaldi
4d0266dc20 [RICHED20_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62983
2014-04-26 16:55:35 +00:00
Amine Khaldi
8552a1297e [RICHED20]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62982
2014-04-26 16:54:06 +00:00
Thomas Faber
e0a2fe4bd2 [PSDK]
- Fix some annotation dummies

svn path=/trunk/; revision=62981
2014-04-26 16:53:15 +00:00
Amine Khaldi
9958654917 [WTSAPI32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62980
2014-04-26 16:43:13 +00:00
Amine Khaldi
47c34fa0c3 [DBGHELP]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62979
2014-04-26 16:41:51 +00:00
Thomas Faber
b0bdd6c8c8 [FS_REC]
- Remove a meaningless DPRINT

svn path=/trunk/; revision=62978
2014-04-26 16:31:14 +00:00
Hermès Bélusca-Maïto
1927ed6577 [NTDLL]: Fix 2 DPRINTs.
svn path=/trunk/; revision=62977
2014-04-26 16:00:10 +00:00
Thomas Faber
7538d3e725 [SETUPAPI_WINETEST]
- Move the devclass test to apitests, since it is not a Wine test

svn path=/trunk/; revision=62975
2014-04-26 10:58:40 +00:00
Thomas Faber
26aca689ea [NTDLL_WINETEST]
- Skip LdrAddRefDll test to avoid crashing.
CORE-8102

svn path=/trunk/; revision=62974
2014-04-26 10:36:24 +00:00
Aleksandar Andrejevic
2e1e346378 [NTVDM]
DPRINT1 the error code returned by DosLoadExecutable.


svn path=/branches/ntvdm/; revision=62973
2014-04-26 09:40:55 +00:00
Aleksandar Andrejevic
e5df0c4dfe [NTVDM]
Rewrite DosCreateProcess, separating the loading code into DosLoadExecutable.
Implement INT 21h function AH = 0x4B (Create Process).


svn path=/branches/ntvdm/; revision=62972
2014-04-26 08:57:17 +00:00
Thomas Faber
f48d45d73c [CRT]
- Import commit 638c8e38 (Don't overwrite unmatched string in scanf) from Wine. Fixes crash in msvcrt_winetest:scanf

svn path=/trunk/; revision=62971
2014-04-25 22:02:26 +00:00
Thomas Faber
4e9db02236 [SHELL32]
- Import SHCreateQueryCancelAutoPlayMoniker from Wine. Fixes crash in shell32_winetest:shellole

svn path=/trunk/; revision=62968
2014-04-25 21:24:53 +00:00
Thomas Faber
7a0f2c7ffb [CRT]
- Sync get_this_pointer with Wine. Fixes crash in msvcrt_winetest:cpp
- Sync undname.c with Wine. Fixes assertion failure in msvcrt_winetest:cpp

svn path=/trunk/; revision=62967
2014-04-25 20:01:08 +00:00
Christoph von Wittich
0373d3643b [fastfat]
fix typo in comment

svn path=/trunk/; revision=62966
2014-04-25 17:09:37 +00:00
Thomas Faber
b2231ae220 [WIN32K]
- Avoid assigning a nonvolatile variable inside a try block. Spotted by Timo.
CORE-8094

svn path=/trunk/; revision=62965
2014-04-25 12:34:17 +00:00
Thomas Faber
a21f22e98d [USER32_APITEST]
- Add parameter checks for GetUserObjectInformationW
CORE-8094

svn path=/trunk/; revision=62964
2014-04-25 11:24:41 +00:00
Thomas Faber
49be9c0033 [WIN32K]
- Correctly treat nLengthNeeded as optional in NtUserGetObjectInformation, and access it only within SEH. Fixes crash in user32_winetest:winstation
CORE-8094

svn path=/trunk/; revision=62963
2014-04-25 11:23:16 +00:00
Pierre Schweitzer
ebd14e9811 [KMTESTS:IO]
Complete a bit more IoCreateFile tests, taking into account relatives.

A side note (related to first commit - actually to these test as a whole):
It's pretty unfortunate that they work (on my Windows 2K3). They just expose
a totally different behavior than expected reading R. Nagar (pp 478 - 479).
The experimental behavior also being different from behavior expected from IFS
samples provided by MS.
Perhaps some magic in the callpath between IopParseDevice return and IoCreateFile return?

svn path=/trunk/; revision=62960
2014-04-24 20:50:32 +00:00
Thomas Faber
3eff9e0536 [WIN32K]
- Reinstate ProbeForWrite call in MmCopyToCaller
CORE-8095 #resolve

svn path=/trunk/; revision=62958
2014-04-24 17:19:20 +00:00
Amine Khaldi
2ad472f039 [SHLWAPI_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62956
2014-04-24 16:07:42 +00:00
Amine Khaldi
8570c6c927 [SHLWAPI]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62955
2014-04-24 16:07:14 +00:00
Amine Khaldi
b03020e807 [SCRRUN_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62954
2014-04-24 16:00:38 +00:00
Amine Khaldi
d99b39c779 [SCRRUN]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62953
2014-04-24 16:00:09 +00:00
Amine Khaldi
76c6533451 [WLDAP32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62952
2014-04-24 15:53:26 +00:00
Amine Khaldi
28603830c4 [WLDAP32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62951
2014-04-24 15:53:15 +00:00
Amine Khaldi
d61a213f66 [WMI]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62950
2014-04-24 15:49:21 +00:00
Amine Khaldi
3b56021579 [WINTRUST_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62949
2014-04-24 15:48:16 +00:00
Amine Khaldi
b6ab23258c [WINTRUST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62948
2014-04-24 15:47:48 +00:00
Amine Khaldi
91311347ce [MSXML3_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62947
2014-04-24 15:44:13 +00:00
Amine Khaldi
d81af057a8 [MSXML3]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62946
2014-04-24 15:40:52 +00:00
Amine Khaldi
87ad295d8e [LIBXSLT]
* Move imports.h to the appropriate folder.

svn path=/trunk/; revision=62945
2014-04-24 15:37:18 +00:00
Amine Khaldi
07c28802ff [OLE32]
* Add ole32_ros.diff.
CORE-8080

svn path=/trunk/; revision=62944
2014-04-24 15:13:55 +00:00
Amine Khaldi
559ca8b24e [OLEAUT32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62943
2014-04-24 15:13:22 +00:00
Amine Khaldi
3d27a0b5ac [OLEAUT32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62942
2014-04-24 15:12:07 +00:00
Amine Khaldi
3cafdfbe25 [OLEACC]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62941
2014-04-24 15:10:29 +00:00
Amine Khaldi
fc89beb896 [MSHTML.TLB]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62940
2014-04-24 12:15:27 +00:00
Amine Khaldi
00433a512c [OLE32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62939
2014-04-24 12:14:32 +00:00
Amine Khaldi
f38983022a [OLE32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62938
2014-04-24 12:14:13 +00:00
Amine Khaldi
31f99bf377 [WINDOWSCODECS_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62937
2014-04-24 12:13:18 +00:00
Amine Khaldi
d235a6b915 [WINDOWSCODECS]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62936
2014-04-24 12:12:56 +00:00
Pierre Schweitzer
e620c729eb [KMTESTS:IO]
Add tests for IoCreateFile for target directory open.
They will fail on ReactOS.

svn path=/trunk/; revision=62934
2014-04-23 19:44:03 +00:00
Sylvain Petreolle
274ee3388d [CMAKE]
Set types for variables we pass to cmake.
Specifying no type makes them UNINITIALIZED and can cause values to be ignored.
See https://www.mail-archive.com/cmake@cmake.org/msg17305.html for details.


svn path=/trunk/; revision=62933
2014-04-23 18:59:30 +00:00
Amine Khaldi
dcfa6bd484 [VBSCRIPT_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62932
2014-04-23 18:06:48 +00:00
Amine Khaldi
f4142dbec2 [VBSCRIPT]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62931
2014-04-23 18:05:58 +00:00
Amine Khaldi
16aa38a9f9 [URLMON_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62930
2014-04-23 17:36:51 +00:00
Amine Khaldi
6cd097f7e5 [URLMON]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62929
2014-04-23 17:35:17 +00:00
Amine Khaldi
926fd03c31 [WBEMDISP]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62928
2014-04-23 15:06:09 +00:00
Amine Khaldi
a44595abda [USP10_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62927
2014-04-23 15:03:45 +00:00
Amine Khaldi
2a9d643eeb [USP10]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62926
2014-04-23 15:03:26 +00:00
Amine Khaldi
3291fa7253 [URL]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62925
2014-04-23 15:00:16 +00:00
Amine Khaldi
b6102b8d1d [TWAIN_32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62924
2014-04-23 14:59:06 +00:00
Amine Khaldi
c15271be09 [TWAIN_32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62923
2014-04-23 14:58:49 +00:00
Amine Khaldi
8c07ca6d42 [TAPI32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62922
2014-04-23 14:56:11 +00:00
Amine Khaldi
47cb6b64a1 [ODBC32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62921
2014-04-23 14:53:41 +00:00
Amine Khaldi
00454e6aba [MSVIDC32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62920
2014-04-23 14:51:47 +00:00
Amine Khaldi
eb60a4d16e [MSI_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62919
2014-04-23 14:49:34 +00:00
Amine Khaldi
a80d96dbae [MSI]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62918
2014-04-23 14:48:52 +00:00
Amine Khaldi
d321a31575 [MSGSM32.ACM]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62917
2014-04-23 14:34:13 +00:00
Amine Khaldi
57c7d8140b [MSCTF_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62916
2014-04-23 14:32:47 +00:00
Amine Khaldi
c786664e29 [MSCTF]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62915
2014-04-23 14:32:35 +00:00
Amine Khaldi
369724daea [MSCMS_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62914
2014-04-23 14:27:54 +00:00
Amine Khaldi
b6667022ee [MSCMS]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62913
2014-04-23 14:27:40 +00:00
Amine Khaldi
fe981b7eec [MSADP32.ACM]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62912
2014-04-23 14:24:59 +00:00
Amine Khaldi
7cffade5c4 [MSACM32.DRV]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62911
2014-04-23 14:22:56 +00:00
Amine Khaldi
96a2a137ae [MSACM32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62910
2014-04-23 14:16:25 +00:00
Amine Khaldi
d39cd27367 [MSACM32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62909
2014-04-23 14:15:25 +00:00
Amine Khaldi
28d6b8206a [MLANG]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62908
2014-04-23 14:10:33 +00:00
Amine Khaldi
93eaaf69ea [MCIQTZ32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62907
2014-04-23 14:06:15 +00:00
Amine Khaldi
e160b5bdfd [MAPI32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62906
2014-04-23 14:03:16 +00:00
Amine Khaldi
55dc9ac8c0 [MAPI32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62905
2014-04-23 14:03:02 +00:00
Amine Khaldi
1fbe72faae [LOCALSPL_WINETEST]
* Sync with Wine 1.7.17.
* Speedup build.
CORE-8080

svn path=/trunk/; revision=62904
2014-04-23 14:00:45 +00:00
Amine Khaldi
a03a35e55b [LOCALSPL]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62903
2014-04-23 14:00:15 +00:00
Amine Khaldi
f683079258 [IMAGEHLP_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62902
2014-04-23 13:56:32 +00:00
Amine Khaldi
1b484446f3 [IMAGEHLP]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62901
2014-04-23 13:55:49 +00:00
Amine Khaldi
2fcd9693a8 [JSCRIPT_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62900
2014-04-23 13:44:00 +00:00
Amine Khaldi
31907202aa [JSCRIPT]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62899
2014-04-23 13:43:40 +00:00
Amine Khaldi
80b2a3b9af [PSDK]
* Add missing MAXLONGLONG definition.

svn path=/trunk/; revision=62898
2014-04-22 21:43:39 +00:00
Amine Khaldi
0712807181 [ITSS]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62897
2014-04-22 21:30:00 +00:00
Amine Khaldi
5da624e0b6 [INETCOMM_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62896
2014-04-22 21:23:39 +00:00
Amine Khaldi
34299456e6 [INETCOMM]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62895
2014-04-22 21:23:22 +00:00
Amine Khaldi
07a67f6087 [HLINK_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62894
2014-04-22 21:18:59 +00:00
Amine Khaldi
25025776b7 [HLINK]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62893
2014-04-22 21:18:44 +00:00
Aleksandar Andrejevic
a8caf51cd0 [NTVDM]
Quit when ntvdm becomes the last process attached to the console.


svn path=/branches/ntvdm/; revision=62892
2014-04-22 20:46:50 +00:00
Amine Khaldi
ced9742b29 [HHCTRL.OCX]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62890
2014-04-22 16:12:47 +00:00
Amine Khaldi
f201819ae8 [GDIPLUS_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62889
2014-04-22 15:43:03 +00:00
Amine Khaldi
86c5b8463d [GDIPLUS]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62888
2014-04-22 15:42:03 +00:00
Amine Khaldi
cceb6b9f47 [DWMAPI]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62887
2014-04-22 15:28:25 +00:00
Amine Khaldi
c5099821fd [CRYPTNET_WINETEST]
* Remove redundant define.

svn path=/trunk/; revision=62886
2014-04-22 15:25:37 +00:00
Amine Khaldi
afd0889185 [CRYPTNET]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62885
2014-04-22 15:25:04 +00:00
Amine Khaldi
e0cf48f17f [CRYPT32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62884
2014-04-22 15:11:03 +00:00
Amine Khaldi
a5a8dd531d [CRYPT32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62883
2014-04-22 15:10:43 +00:00
Amine Khaldi
22b7b59d5a [COMDLG32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62882
2014-04-22 14:40:38 +00:00
Amine Khaldi
54e6209bc1 [COMDLG32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62881
2014-04-22 14:40:19 +00:00
Amine Khaldi
03535e5b35 [COMCTL32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62880
2014-04-22 14:05:48 +00:00
Amine Khaldi
9bf892c309 [COMCTL32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62879
2014-04-22 14:04:22 +00:00
Amine Khaldi
908e5a4898 [INCLUDE/WINE]
* Add some missing definitions.

svn path=/trunk/; revision=62878
2014-04-22 13:25:20 +00:00
Amine Khaldi
52b7f2d8b1 [ACPICA]
* Enable PCH again.
CORE-7716

svn path=/trunk/; revision=62877
2014-04-22 13:13:45 +00:00
Amine Khaldi
f12e78fb55 [RPCRT4_WINETEST]
* Don't define NTSTATUS here.

svn path=/trunk/; revision=62876
2014-04-22 12:00:14 +00:00
Amine Khaldi
25b97799b4 [CABINET_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62875
2014-04-22 11:40:41 +00:00
Amine Khaldi
866bbd4f5b [CABINET]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62874
2014-04-22 11:40:28 +00:00
Amine Khaldi
6a788d3104 [BCRYPT_WINETEST]
* Import from Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62873
2014-04-22 11:36:32 +00:00
Amine Khaldi
94b0b8778e [BCRYPT]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62872
2014-04-22 11:36:10 +00:00
Amine Khaldi
f9bca2bec5 [AVIFIL32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62871
2014-04-22 11:32:05 +00:00
Amine Khaldi
2faa199f45 [AVIFIL32]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62870
2014-04-22 11:31:44 +00:00
Amine Khaldi
2fb5717723 [XMLLITE_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62869
2014-04-22 11:25:33 +00:00
Amine Khaldi
83e4c1e179 [XMLLITE]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62868
2014-04-22 11:25:12 +00:00
Amine Khaldi
7188e0d7c6 [OPENGL32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62867
2014-04-22 11:16:47 +00:00
Amine Khaldi
ebd5925af6 [SECUR32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62866
2014-04-22 11:12:43 +00:00
Hermès Bélusca-Maïto
66bad13542 [CONSRV]
- Selection info is per-terminal.
- Lock the console only when needed.

svn path=/trunk/; revision=62864
2014-04-22 03:44:13 +00:00
Hermès Bélusca-Maïto
fefde4e142 [CONSRV]... and fix comments (forgotten in revision 62861).
svn path=/trunk/; revision=62863
2014-04-22 00:55:03 +00:00
Hermès Bélusca-Maïto
1aeb9b9ddd Code formatting.
svn path=/trunk/; revision=62862
2014-04-22 00:47:24 +00:00
Hermès Bélusca-Maïto
561cbbb117 [CONSRV]
- Introduce a helper function to query the console leader process (instead of using duplicated code).
- Fix the algorithm of the last close notification, as demonstrated by the tests I did on windows 2003 (test app is provided in CORE-7250):
  a console app that registered for the last close notification, closes only if the process that was the console leader process at the time the app registered for the notification, is killed.
  In this case, we notify the app, and we clear some flags. On the contrary, if we close the app that registered for the notification, we just clear the flags without doing extra operations.

svn path=/trunk/; revision=62861
2014-04-22 00:46:49 +00:00
Amine Khaldi
94466379c8 [WS2_32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62860
2014-04-21 20:07:13 +00:00
Amine Khaldi
0f6e460e1d [PSDK]
* Import wsnwlink.h from Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62859
2014-04-21 20:05:34 +00:00
Amine Khaldi
d8aa8fa2ab [PSDK]
* Fix WSAID_WSASENDMSG definition.

svn path=/trunk/; revision=62858
2014-04-21 19:52:53 +00:00
Kamil Hornicek
2ce559e1de [SYSDM]
- formatting
- remove BOM from the Russian resource
- update the Czech translation
- add myself to the credits because vanity~

svn path=/trunk/; revision=62857
2014-04-21 19:04:32 +00:00
Kamil Hornicek
5c1e3b6489 [SYSDM]
- use alpha blend when drawing the ros logo on the general page
- misc code cleanup
CORE-8071

svn path=/trunk/; revision=62856
2014-04-21 18:27:40 +00:00
Timo Kreuzer
a794e3f2d0 [WIN32K]
Do not ignore failure when calling DrvEnablePDEV and properly handle a failure in PDEVOBJ_bEnablePDEV instead of ASSERTing. Properly cleanup the PDEV after failure, check if the PDEV was enabled before calling DrvDisablePDEV. Fixes some crashes with VBox driver.

svn path=/trunk/; revision=62855
2014-04-21 17:09:27 +00:00
Timo Kreuzer
e67aa1e2ca [NTDDRAW]
Fix buffer overflow

svn path=/trunk/; revision=62854
2014-04-21 14:12:06 +00:00
Amine Khaldi
363e1e7787 [MSVC]
* Don't error on C4603 now that the PCH setup is well tested.
CORE-7716

svn path=/trunk/; revision=62852
2014-04-21 11:06:42 +00:00
Aleksandar Andrejevic
5b74bbc251 Fix broken merge.
svn path=/branches/ntvdm/; revision=62850
2014-04-21 01:51:27 +00:00
Aleksandar Andrejevic
e2dbefc310 Sync with trunk.
svn path=/branches/ntvdm/; revision=62849
2014-04-21 01:45:58 +00:00
Hermès Bélusca-Maïto
6e8dcec9f7 [KERNEL32]
- Add a debug output to the default console dispatcher for the CTRL_LAST_CLOSE_EVENT code;
- hardcoded_value--;
Addendum to revision 62847.

svn path=/trunk/; revision=62848
2014-04-21 01:36:00 +00:00
Hermès Bélusca-Maïto
286ee4b8b1 [KERNEL32][CONSRV]
Implement (undocumented) SetLastConsoleEventActive API.
Patch by Alexander Andrejevic, with a minor modification by me concerning the addition of a NotifiedLastCloseProcess member to the CONSOLE structure and a check that makes sure that only the app that asked for the notification, receives it (and so that we don't call the console control dispatcher for nothing).
This API is used by ntvdm to be sure that it gets killed when all other console apps attached to the ntvdm's console are away.
CORE-7250

svn path=/trunk/; revision=62847
2014-04-21 01:22:17 +00:00
Hermès Bélusca-Maïto
38be5bceff [KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant for CreateConsoleScreenBuffer.
The aim is to be able to put our kernel32.dll or winsrv.dll on win2k3, and vice-versa.

Because of that, we need to introduce and use the redundant hMutex and lpBitMap in the CONSOLE_CREATESCREENBUFFER structure, instead of the ones that are already present in its CONSOLE_GRAPHICS_BUFFER_INFO member ...
Isn't MS dumb sometimes?

I also homogeneize some variable names wrt. equivalent ones that I use elsewhere, and I fix a broken return value in the case the API fails.

Part 3/X

CORE-7931

svn path=/trunk/; revision=62846
2014-04-20 22:40:39 +00:00
Thomas Faber
0238322066 [NTDLL_APITEST]
- Add test for NtQueryVolumeInformationFile. Patch by Víctor Martínez.
ROSTESTS-134 #resolve

svn path=/trunk/; revision=62844
2014-04-20 18:15:41 +00:00
Hermès Bélusca-Maïto
9a08d0b7dc [KERNEL32][CONSRV]
Implement console part of Get/SetHandleInformation, needed by msvcrt / cmd.exe (at least the windows version) and other console apps...

svn path=/trunk/; revision=62843
2014-04-20 14:39:38 +00:00
Amine Khaldi
cd9c73cf39 [NTDLL_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62842
2014-04-20 13:44:55 +00:00
Amine Khaldi
05557a4614 [PSDK]
* Add some missing LDR_ADDREF_DLL_PIN definition.

svn path=/trunk/; revision=62841
2014-04-20 13:42:12 +00:00
Amine Khaldi
1ba0dbbee8 [PSDK]
* Add some missing definitions.

svn path=/trunk/; revision=62840
2014-04-20 13:34:54 +00:00
Kamil Hornicek
cc3fcbf96f [WIN32K]
- apply r61265 for win32k, for consistency

svn path=/trunk/; revision=62839
2014-04-20 13:29:53 +00:00
Amine Khaldi
aa2170e490 [SHELL32_WINETEST]
* Sync with Wine 1.7.17.
* Speedup build.
CORE-8080

svn path=/trunk/; revision=62838
2014-04-20 13:19:24 +00:00
Amine Khaldi
842c3e00d0 [MSVCRT_WINETEST]
* Fix *nix build.

svn path=/trunk/; revision=62837
2014-04-20 13:14:11 +00:00
Amine Khaldi
6937da105c [MSVCRT_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62836
2014-04-20 13:10:24 +00:00
Amine Khaldi
52a7f09dd3 [GDI32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62835
2014-04-20 13:01:01 +00:00
Amine Khaldi
ca20207552 [SETUPAPI_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62834
2014-04-20 12:37:05 +00:00
Hermès Bélusca-Maïto
5188874df0 [KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant.
The aim is to be able to put our kernel32.dll or winsrv.dll on win2k3, and vice-versa.

Part 2/X

CORE-7931

svn path=/trunk/; revision=62833
2014-04-20 11:25:38 +00:00
Amine Khaldi
53976acc22 [ACTXPRXY]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62832
2014-04-20 00:25:16 +00:00
Amine Khaldi
b84bae0819 [DXDIAGN_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62831
2014-04-20 00:20:32 +00:00
Amine Khaldi
56f1ee3f9a [DXDIAGN]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62830
2014-04-20 00:20:21 +00:00
Amine Khaldi
ccad9a3981 [DPLAYX_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62829
2014-04-20 00:08:29 +00:00
Amine Khaldi
28f0d85f48 [DPLAYX]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62828
2014-04-20 00:08:13 +00:00
Amine Khaldi
98bf344a4b [DMUSIC]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62827
2014-04-20 00:00:52 +00:00
Amine Khaldi
70cf88624c [DINPUT8]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62826
2014-04-19 23:50:01 +00:00
Amine Khaldi
d9b7959228 [DINPUT_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62825
2014-04-19 23:44:04 +00:00
Amine Khaldi
66d0027638 [DINPUT]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62824
2014-04-19 23:43:51 +00:00
Hermès Bélusca-Maïto
a5b446bbaa [SOLITAIRE][RAPPS][MSGINA]
Polish translation of solitaire, rapps and msgina
Patch by Wojciech Kozłowski and Adam Stachowicz. Thanks a lot!
CORE-8068 #resolve #comment Second patch committed in revision 62823, thanks ;)

svn path=/trunk/; revision=62823
2014-04-19 23:18:29 +00:00
Amine Khaldi
117d0c43e7 [DEVENUM_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62822
2014-04-19 19:30:34 +00:00
Amine Khaldi
c5a095eadb [DEVENUM]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62821
2014-04-19 19:30:15 +00:00
Amine Khaldi
67996b30a4 [D3DXOF]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62820
2014-04-19 19:13:01 +00:00
Amine Khaldi
b47789c216 [D3DX9_36]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62819
2014-04-19 18:58:53 +00:00
Amine Khaldi
482c3d3d9b [D3DX9_37] => [D3DX9_43]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62818
2014-04-19 18:55:57 +00:00
Amine Khaldi
61411ec7fd [DXSDK]
* Sync the d3dx9 headers with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62817
2014-04-19 18:48:40 +00:00
Amine Khaldi
7df8e0d061 [D3DX9_24] => [D3DX9_35]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62816
2014-04-19 18:35:05 +00:00
Amine Khaldi
4dd28abbe5 [D3DCOMPILER_43]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62815
2014-04-19 18:26:34 +00:00
Amine Khaldi
b25de4f582 [RSAENH_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62814
2014-04-19 18:12:06 +00:00
Amine Khaldi
bb00a030bb [RSAENH]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62813
2014-04-19 18:11:58 +00:00
Amine Khaldi
8462bb2dd8 [PSDK]
* Add missing CRYPT_USERDATA definition.

svn path=/trunk/; revision=62812
2014-04-19 18:06:05 +00:00
Amine Khaldi
fecdf105f7 [D3D8][D3D9][DDRAW][DXGI][QEDIT][WINED3D]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62811
2014-04-19 17:30:00 +00:00
Amine Khaldi
fa2c5bdeb0 [QUARTZ_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62810
2014-04-19 16:28:22 +00:00
Amine Khaldi
6069c46a4d [AMSTREAM][QUARTZ][STRMBASE]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62809
2014-04-19 16:26:49 +00:00
Amine Khaldi
4b97514e49 [DXSDK]
* Add missing CLSID_VideoMixingRenderer.

svn path=/trunk/; revision=62808
2014-04-19 15:24:56 +00:00
Hermès Bélusca-Maïto
f4dcf7950b [CDFS]: Fix typo spotted by Alexander and confirmed by Pierre (see rev 62779).
svn path=/trunk/; revision=62807
2014-04-19 15:17:28 +00:00
Daniel Reimer
9e1f355c66 Adding New Apps for Rapps by Erdem Ersoy
German translations, version updates and mirror fixes by me.
CORE-7493 #resolve #comment Committed. Thx for helping.

svn path=/trunk/; revision=62806
2014-04-19 15:16:25 +00:00
Daniel Reimer
52610eed26 Rapps - Polish Translation for multiple description files + a small translation in the program itself. By wojo664
Rapps entries were integrated into the previous update. SF mirrors were kept as they were instead of using the freesoft.ru ones of the patch.
CORE-7882 #resolve #comment Committed. Thx for helping.

svn path=/trunk/; revision=62805
2014-04-19 14:46:57 +00:00
Eric Kohl
5c64f9b039 [TASKMGR][MSGINA]
msgina and taskmgr: correction Russian translation
Patch by petr akhlamov. Thanks a lot!
CORE-7996 #resolve

svn path=/trunk/; revision=62804
2014-04-19 14:29:27 +00:00
Eric Kohl
276ab2e979 [MSGINA][SOLITAIRE]
Italian translation updates
Patches by Marco Maria Emanuele Bartucci. Thanks a lot!
CORE-8086 #resolve

svn path=/trunk/; revision=62803
2014-04-19 14:16:55 +00:00
Amine Khaldi
9f009100c6 [PSDK]
* Remove a __WINESRC__ case.
CORE-5743

svn path=/trunk/; revision=62802
2014-04-19 12:14:16 +00:00
Eric Kohl
8a5720ba41 [SOLITAIRE]
Solitaire: Timed games and scoring.
Patch by Ricardo Hanke. Thanks a lot!
CORE-8031 #resolve

svn path=/trunk/; revision=62801
2014-04-19 12:12:44 +00:00
Amine Khaldi
f5406f85f2 [DXSDK]
* Update axextend.idl.

svn path=/trunk/; revision=62800
2014-04-19 11:19:14 +00:00
Pierre Schweitzer
ad56db3061 [CDFS]
Rely on RTL when possible. Spotted by Thomas.

svn path=/trunk/; revision=62799
2014-04-19 11:03:26 +00:00
Amine Khaldi
4684054570 * A BOM sneaked in ;)
svn path=/trunk/; revision=62798
2014-04-19 10:47:47 +00:00
Amine Khaldi
99101a3534 [MSGINA]
* Italian translation update. By Marco Maria Emanuele Bartucci.
CORE-8085 #resolve #comment Committed in r62797. Thanks!

svn path=/trunk/; revision=62797
2014-04-19 10:46:27 +00:00
Amine Khaldi
c67395ad8d [PSDK]
* Add some missing definitions.

svn path=/trunk/; revision=62796
2014-04-19 10:40:15 +00:00
Daniel Reimer
e17914e7c0 Rapps DB Update (1/2)
svn path=/trunk/; revision=62795
2014-04-19 10:27:52 +00:00
Eric Kohl
f3f734fbdd [SYSDM][USRMGR][MSGINA]
Polish translation of msgina, sysdm and usrmgr.
Patch by Wojciech Kozłowski and Adam Stachowicz. Thanks a lot!
CORE-8068 #resolve

svn path=/trunk/; revision=62794
2014-04-19 09:40:15 +00:00
Eric Kohl
5888821aa4 [MSGINA]
- Allways add the computer name to the domain list.
- Notify the user about required password changes and repeat the logon using the new password.

svn path=/trunk/; revision=62793
2014-04-19 09:09:12 +00:00
Pierre Schweitzer
c023028768 [CDFS]
Fix MSVC build

svn path=/trunk/; revision=62792
2014-04-19 06:38:25 +00:00
Pierre Schweitzer
4c86c611f1 [CDFS]
Don't attempt anything during the cleanup of stream file (or of an unopened file).
Fix crash on boot.

svn path=/trunk/; revision=62791
2014-04-19 06:32:58 +00:00
Amine Khaldi
bc61ac0dc5 [PSDK]
* Add some missing definitions from Wine 1.7.17
CORE-8080

svn path=/trunk/; revision=62790
2014-04-18 23:05:43 +00:00
Amine Khaldi
35550fac67 [PSDK]
* Add some missing definition from Wine 1.7.17
CORE-8080

svn path=/trunk/; revision=62789
2014-04-18 22:57:46 +00:00
Amine Khaldi
8f27232d24 [PSDK]
* Import delayloadhandler.h and fileapi.h from Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62788
2014-04-18 22:54:06 +00:00
Amine Khaldi
eeb0d2ad78 [KERNEL32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62787
2014-04-18 22:50:27 +00:00
Amine Khaldi
b3c122ba2c [PSDK]
* Add missing LINGUISTIC_IGNORECASE and NORM_LINGUISTIC_CASING definitions.

svn path=/trunk/; revision=62786
2014-04-18 22:39:12 +00:00
Amine Khaldi
5f7347300b [USER32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62785
2014-04-18 22:26:13 +00:00
Amine Khaldi
4498108070 [UNICODE]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62784
2014-04-18 22:15:54 +00:00
Amine Khaldi
c951aa0ebc * Addendum to r62773 (I don't know how did this file escape earlier).
svn path=/trunk/; revision=62783
2014-04-18 22:10:41 +00:00
Amine Khaldi
b9ecc0ff3f [WINE/TEST.H]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62782
2014-04-18 22:07:22 +00:00
Amine Khaldi
7417488583 [ADVAPI32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62781
2014-04-18 21:58:58 +00:00
Pierre Schweitzer
8b86c3ee99 [CDFS]
Allow registering notifications.
None implemented yet.

svn path=/trunk/; revision=62780
2014-04-18 21:49:12 +00:00
Pierre Schweitzer
81f368964f [CDFS]
Convert FCB pathname from simple buffer to unicode string.
Please carefully review if I missed something

svn path=/trunk/; revision=62779
2014-04-18 21:40:02 +00:00
Amine Khaldi
bf1641e9b8 [PSDK]
* Fix netioapi.h inclusion.
* Fix extern "C" placement.
CORE-7685

svn path=/trunk/; revision=62778
2014-04-18 21:32:49 +00:00
Amine Khaldi
4dbdbdbce8 [IPHLPAPI]
* Zap GetIf{Entry,Table}2().
CORE-8081 #resolve

svn path=/trunk/; revision=62777
2014-04-18 21:26:31 +00:00
Amine Khaldi
16106afe91 [LIBXSLT]
* Move a couple headers to the appropriate folder.

svn path=/trunk/; revision=62776
2014-04-18 20:44:26 +00:00
Amine Khaldi
b29ae7f186 [REGEDIT]
* Sync regproc.c with Wine 1.7.17. Formatting is overrated ;)
* Inspired by CORE-7916 (thanks Edijs Kolesnikovics!)
* Fixes all regedit test failures.
CORE-8080

svn path=/trunk/; revision=62775
2014-04-18 20:24:51 +00:00
Amine Khaldi
16e97786ec [WIDL]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=62774
2014-04-18 20:22:07 +00:00
Amine Khaldi
d6098a47bf [LIBXML2]
* Update to 2.9.1
* Make use of our iconvc and zlib libs.
[LIBXSLT][MSXML3]
* Make use of our iconvc and zlib libs.
CORE-8079 #resolve

svn path=/trunk/; revision=62773
2014-04-18 19:33:35 +00:00
Eric Kohl
15ceab25f8 [FASTFAT]
Add file and directory removal notification.

svn path=/trunk/; revision=62772
2014-04-18 12:07:55 +00:00
James Tabor
cfbe5a5693 - Add support to scrolls too.
svn path=/trunk/; revision=62771
2014-04-17 23:09:50 +00:00
James Tabor
f398c22dbe [User32]
- Fixed right click on title bar. See CORE-7054.

svn path=/trunk/; revision=62770
2014-04-17 22:48:14 +00:00
Kamil Hornicek
8f32653a21 [USETUP]
- add a default page file entry to the registry also during unattended setup
CORE-8074

svn path=/trunk/; revision=62769
2014-04-17 21:32:35 +00:00
Hermès Bélusca-Maïto
f9f5063b79 [BOOTDATA]
In the same vein as in revision 62766:
CORE-1697 CORE-7915 #comment Disable Multiprocessor choices at installation because it *DOESN'T correctly WORK* and cause problems to newcomers. Please reenable it *ONLY WHEN* you know it *REALLY* works !!! (revision 62768).

svn path=/trunk/; revision=62768
2014-04-17 20:58:30 +00:00
Eric Kohl
402905a031 [SYSDM]
Bugfix: Enable the user to set a system managed paging file size if no paging file was set before. The user does not need to set a custom paging file size before setting the system managed paging file size.

svn path=/trunk/; revision=62767
2014-04-17 20:56:12 +00:00
Hermès Bélusca-Maïto
3a0cc85009 [USETUP]
Disable EXT2 formatting because it *DOESN'T WORK* and cause problems to newcomers. Please reenable it *ONLY WHEN* you know it *REALLY* works !!!!!!!!!!
CORE-3091 CORE-3073 CORE-4003 #comment EXT2 formatting disabled in USETUP in revision 62766. Please reenable ONLY when you know it works.

svn path=/trunk/; revision=62766
2014-04-17 20:43:41 +00:00
Eric Kohl
4698314274 [SYSDM]
Delete a paging file on the next boot after the user selected the "no paging file" option for a disk drive.

svn path=/trunk/; revision=62765
2014-04-17 19:03:49 +00:00
Amine Khaldi
6687753892 [CMAKE]
* Enable the PCH related warnings globally.

svn path=/trunk/; revision=62764
2014-04-17 13:49:49 +00:00
Hermès Bélusca-Maïto
ace39a5f06 [CONSRV]
Code "symmetrization" (see the upper helper function).

svn path=/trunk/; revision=62763
2014-04-17 00:46:43 +00:00
Kamil Hornicek
252f2b2f4b [LIBWINE]
- apply r61265 and use relative paths

svn path=/trunk/; revision=62762
2014-04-16 23:17:59 +00:00
Kamil Hornicek
e8b645bc30 [LIBWINE]
- bring back the old debug output format ie class:(file:line), Testman depends on this

svn path=/trunk/; revision=62761
2014-04-16 22:47:40 +00:00
Hermès Bélusca-Maïto
2d3fe65c24 [KERNEL32]
Fix a DPRINT.

[CONSRV]
Some code reorganization and few fixes.

svn path=/trunk/; revision=62760
2014-04-16 22:25:29 +00:00
Hermès Bélusca-Maïto
259f3d86e3 [NTVDM]
Fix few DPRINTs. The DOS program starting code (common for STANDALONE and OS-integrated modes) can be moved into a helper function later on.

svn path=/branches/ntvdm/; revision=62688
2014-04-08 14:57:24 +00:00
Hermès Bélusca-Maïto
67c46a3b02 [NTVDM]
- Just define GetNextVDMCommand and ExitVDM at their correct places.
- Code cleaning.

svn path=/branches/ntvdm/; revision=62687
2014-04-08 14:35:35 +00:00
Aleksandar Andrejevic
e5a9861dc9 [NTVDM]
Start implementing the BaseVDM interface.


svn path=/branches/ntvdm/; revision=62686
2014-04-08 00:28:49 +00:00
Aleksandar Andrejevic
bd153df890 [BASESRV]
Fix BaseSrvCheckVDM - DOS records should be initialized with a state of VDM_NOT_LOADED.
Fix BaseSrvFillCommandInfo - Check the size of the buffers.
Start implementing BaseSrvGetNextVDMCommand.


svn path=/branches/ntvdm/; revision=62683
2014-04-07 23:16:22 +00:00
Aleksandar Andrejevic
6c0fe9b984 [BASESRV]
Implement BaseSrvFillCommandInfo, a function that fills a BASE_GET_NEXT_VDM_COMMAND
structure with command information.


svn path=/branches/ntvdm/; revision=62602
2014-04-02 21:29:44 +00:00
Aleksandar Andrejevic
0e0f35fea9 [BASESRV]
Add a pair of event handles to the console record.
Implement BaseSrvSetReenterCount.


svn path=/branches/ntvdm/; revision=62600
2014-04-02 01:29:50 +00:00
Aleksandar Andrejevic
37d5c52cdc Forgot to commit this file.
svn path=/branches/ntvdm/; revision=62597
2014-04-01 02:59:00 +00:00
Aleksandar Andrejevic
4b8a4d96df [KERNEL32]
Improve, clarify and fix bugs in GetNextVDMCommand.


svn path=/branches/ntvdm/; revision=62596
2014-04-01 02:57:49 +00:00
Aleksandar Andrejevic
49f1aa9bdc [KERNEL32]
Implement GetNextVDMCommand.


svn path=/branches/ntvdm/; revision=62574
2014-03-29 04:05:09 +00:00
Aleksandar Andrejevic
4c68eccd0a [NTVDM]
Set the base address to a high address, so that BaseVDM can allocate 16 MB at address 0.


svn path=/branches/ntvdm/; revision=62453
2014-03-08 01:40:08 +00:00
Aleksandar Andrejevic
c59cd18e04 [KERNEL32]
Separate the buffers for the two CSR messages (CreateProcessMsg and CheckVdmMsg).


svn path=/branches/ntvdm/; revision=62452
2014-03-08 01:17:45 +00:00
Aleksandar Andrejevic
9c283d7508 [BASESRV]
- Move more constants to the global header.
- Implement GetConsoleRecordBySessionId.
- Implement BaseSrvUpdateVDMEntry.
- Improve and fix bugs in the cleanup code.


svn path=/branches/ntvdm/; revision=62451
2014-03-07 23:46:43 +00:00
Aleksandar Andrejevic
fd0de4552b [KERNEL32]
Fix another bug in CreateProcessInternalW.


svn path=/branches/ntvdm/; revision=62440
2014-03-07 17:42:56 +00:00
Aleksandar Andrejevic
bdd88c2413 [BASESRV]
BaseSrvCopyCommand should return TRUE if it was successful.


svn path=/branches/ntvdm/; revision=62435
2014-03-05 20:01:57 +00:00
Hermès Bélusca-Maïto
7a52bcd33a [NTVDM]: Add a common helper to sync the BIOS cursor for the active display page, with VGA.
svn path=/branches/ntvdm/; revision=62409
2014-03-03 00:09:22 +00:00
Hermès Bélusca-Maïto
667b254535 [NTVDM]: Improve some DPRINTs.
svn path=/branches/ntvdm/; revision=62407
2014-03-02 23:37:42 +00:00
Hermès Bélusca-Maïto
b9b4ce1df4 [NTVDM]
Refactor more code to move common BIOS code from our bios32 into /bios/ .

svn path=/branches/ntvdm/; revision=62406
2014-03-02 22:50:31 +00:00
Hermès Bélusca-Maïto
b960a23921 [NTVDM]: Fix INT 10h, AH=8h,9h,Ah ; remove AH=12h because it corresponds to video "alternate function select" (and not scroll window). Stubplement INT 10h, AH=13h.
svn path=/branches/ntvdm/; revision=62381
2014-03-02 18:41:22 +00:00
Hermès Bélusca-Maïto
cab63e90c0 [NTVDM]
Definitively fix console resizing when exiting the VDM.

svn path=/branches/ntvdm/; revision=62379
2014-03-02 15:04:56 +00:00
Hermès Bélusca-Maïto
e53f7b173c [NTVDM]
Use a helper function for stopping the VDM (in case we add other steps for that), instead of just setting the flag to TRUE.

svn path=/branches/ntvdm/; revision=62378
2014-03-02 14:37:51 +00:00
Aleksandar Andrejevic
8656d3a5f6 [BASESRV]
Move the GET_NEXT_VDM_COMMAND_DATA structure to a global header, and
rename it to VDM_COMMAND_INFO.
Implement BaseSrvCopyCommand, which moves the BASE_CHECK_VDM structure data
into a new VDM_COMMAND_INFO structure.
Implement BaseSrvFreeVDMInfo which frees a VDM_COMMAND_INFO structure and
everything in it.


svn path=/branches/ntvdm/; revision=62374
2014-03-02 02:50:40 +00:00
Hermès Bélusca-Maïto
ab9978f190 [NTVDM]
- Finally get rid of console output handles in the BIOS.
- Move console text buffer copy from BIOS back into VGA memory (~= revert part of r61542), but do it ONLY when attaching the VGA emulation to the console.
- Fix cursor positioning in BIOS & VGA (work in progress).

- Initialize PS/2 after having setting basic console modes.
- Showing/hiding mouse cursor (see the option in the console menu) is done in while() loops to be sure the cursor is really shown/hidden (based on the return value of ShowConsoleCursor).

svn path=/branches/ntvdm/; revision=62373
2014-03-02 01:45:57 +00:00
Hermès Bélusca-Maïto
b152f5cf43 [NTVDM]
The RegisterConsoleVDM API (undocumented) allows NTVDM to get a VGA-like text framebuffer hold by the console server. This text framebuffer is unique, per-console (so that changing the active text screen buffer doesn't change the text framebuffer) and exists even if you use a graphics screen buffer.
NTVDM can write in this framebuffer, and when a call to InvalidateConsoleDIBits is done, it is painted on the screen.

Since RegisterConsoleVDM is unimplemented on ReactOS, I start an implementation of this API *inside* NTVDM (that will then be moved to kernel32/winsrv when it will work correctly).

I adapt the code of the VGA emulation to support RegisterConsoleVDM.

svn path=/branches/ntvdm/; revision=62371
2014-03-01 20:58:42 +00:00
Hermès Bélusca-Maïto
129e5d0305 [NTVDM]: Rework the code template to be used when we will support mice in ntvdm.
svn path=/branches/ntvdm/; revision=62370
2014-03-01 20:52:46 +00:00
Aleksandar Andrejevic
d01148ac9b [BASESRV]
Implement a function that creates a pair of event handles - BaseSrvCreatePairWaitHandles.
As already explained in the comments of BaseCheckForVDM (in kernel32), the hParent parameter
is actually an event handle (or more precisely, the client event handle), not a process handle.


svn path=/branches/ntvdm/; revision=62367
2014-03-01 15:13:54 +00:00
Aleksandar Andrejevic
f488f7003e [BASESRV]
Continue implementing BaseSrvCheckVDM.


svn path=/branches/ntvdm/; revision=62363
2014-03-01 04:37:01 +00:00
Hermès Bélusca-Maïto
9e1ba5c534 [NTVDM]
Get rid of ConsoleInput handles in the BIOS; setting input console modes should be done in the emulator.c module itself (when setting user interface modes), and if a mouse is present, handle it in the ps2.c module.
Next step will be to get rid of ConsoleOutput handle in the BIOS.

svn path=/branches/ntvdm/; revision=62359
2014-02-28 21:21:41 +00:00
Aleksandar Andrejevic
bde24e0bb4 [BASESRV]
Implement BaseSrvIsVdmAllowed.


svn path=/branches/ntvdm/; revision=62349
2014-02-27 22:44:56 +00:00
Aleksandar Andrejevic
931a83808f [FAST486]
The FPU function number is actually just the REG component of a mod-reg-r/m byte.


svn path=/branches/ntvdm/; revision=62346
2014-02-27 06:11:05 +00:00
Aleksandar Andrejevic
2d9fbc6954 [FAST486]
Fix the previous commit. FPU_CHECK should be called after the fetch.


svn path=/branches/ntvdm/; revision=62345
2014-02-27 03:57:20 +00:00
Aleksandar Andrejevic
935289b5bc [FAST486]
All of the FPU opcodes fetch another byte which is the function number.
This is done by the CPU and it occurs even if there is no FPU attached.


svn path=/branches/ntvdm/; revision=62344
2014-02-27 03:54:43 +00:00
Hermès Bélusca-Maïto
e29c05a3d5 [NTVDM]
Be able to load an external DOS BIOS file (at 70:0000) and, in case it is the DOS BIOS file of the NT VDM, load the DOS kernel file ntdos.sys when the ntio.sys calls BOP DOS function 0x11 (and put the kernel at DI:0000).
Work in progress...

svn path=/branches/ntvdm/; revision=62343
2014-02-27 03:08:23 +00:00
Hermès Bélusca-Maïto
cb45ae15fa [NTVDM]
- Add BOP 0x12 "BiosGetMemorySize" (same number as the corresponding INTerrupt). Needed by ntio.sys when initializing (see next commit).
- Use ASCII names for bios image and dos kernel files names.
- Use the file helper functions committed before for implementing ROM image file loading.

svn path=/branches/ntvdm/; revision=62342
2014-02-27 03:05:42 +00:00
Hermès Bélusca-Maïto
7c73e239b0 [NTVDM]
Add some utility functions (only file-oriented for now :) ). Will be used in the next commit.

svn path=/branches/ntvdm/; revision=62341
2014-02-27 03:02:11 +00:00
Hermès Bélusca-Maïto
ae22dab753 [NTVDM]
- BIOS32: As a demonstration, load a BIOS expansion ROM (the one I've tested is the "OS in PCI expansion ROM" from: https://sites.google.com/site/pinczakko/building-a-kernel-in-pci-expansion-rom ; we don't support PCI thingies at all, but the bootstrap code works correctly).
- Initialize the BIOS32 stack for the callbacks.
- In the common BIOS functions, if we try to load the Windows NTVDM (SoftPC) BIOS (file: bios4.rom), we immediately hit a BOP 0x00 followed by INT 0x19 (bootstrap to run an OS). The BOP 0x00 is the function used by the BIOS to ask NTVDM to initialize the hardware, the IVT with data and so on. Also we finish to load the low part of the NTVDM BIOS in it (file: bios1.rom).
It's work-in-progress, nothing is done, there are lots of debugging code...

Have fun!

(to load a custom bios you need to put its filename as the first parameter of the BiosInitialize call, in the main() function in ntvdm.c).

svn path=/branches/ntvdm/; revision=62333
2014-02-26 01:16:56 +00:00
Hermès Bélusca-Maïto
e03a6d7ebb [NTVDM]
- Add utility functions for loading ROM images from files, and running them.
- Add a missing PVOID in the MEM_ALIGN_DOWN macro.

svn path=/branches/ntvdm/; revision=62332
2014-02-26 01:07:09 +00:00
Hermès Bélusca-Maïto
4179d7890c [NTVDM]
- Reduce the size of the trampoline needed to perform 32 ---> 16 bit callbacks.
- Fix some comments, improve DPRINTs.

svn path=/branches/ntvdm/; revision=62331
2014-02-26 01:03:14 +00:00
Aleksandar Andrejevic
c3e55a625c [FAST486]
Actually, we should return FALSE if any exception occurred...


svn path=/branches/ntvdm/; revision=62325
2014-02-25 00:26:00 +00:00
Aleksandar Andrejevic
8abb2bdad6 [FAST486]
Return TRUE if nothing unexpected occurred.


svn path=/branches/ntvdm/; revision=62324
2014-02-25 00:02:54 +00:00
Aleksandar Andrejevic
e61c05c35c [FAST486]
Add missing returns after calls to Fast486Exception.


svn path=/branches/ntvdm/; revision=62316
2014-02-24 03:53:02 +00:00
Aleksandar Andrejevic
5036028dd4 [BASESRV]
Implement BaseSrvExitVDM.


svn path=/branches/ntvdm/; revision=62315
2014-02-24 03:51:49 +00:00
Hermès Bélusca-Maïto
9542b86934 [NTVDM]
- Move an "enable interrupts" command to where it belongs (i.e. in the BIOS32 initialization code; we do it at the very end). Otherwise some problems appears when trying to load 16-bit bios images.
- Use the new macro REAL_TO_PHYS to convert "real-mode" pointers (valid inside the VM only) into "physical" ones (valid in ROS/Windows/whatever).
- Add BIG HACKs (thanks Aleksander ;) ) in EmulatorRead/WriteMemory for wrapping up high memory addresses to low ones, so that we can load bios images (when you start running code at F000:FFF0).

To test 16-bit bios images: in ntvdm.c, put a valid bios file name in the BiosInitialize(...) call, and disable all DOS calls that happen before EmulatorSimulate().

svn path=/branches/ntvdm/; revision=62314
2014-02-24 00:33:21 +00:00
Hermès Bélusca-Maïto
ec52f30bc5 [FAST486]
- Fix return values of Fast486OpcodeSahf and Fast486OpcodeLahf handlers.
- [TheFlash], can you please see what we should return after calling Fast486ExceptionWithErrorCode in Fast486OpcodePopFlags ?

svn path=/branches/ntvdm/; revision=62313
2014-02-23 21:02:02 +00:00
Hermès Bélusca-Maïto
679980a06c [NTVDM]
- BIOS location must be aligned on 32bit boundaries (or 16, I have to check). This fixes BIOS images loading when they miss a (null) byte to make them (e.g.) 8192 bytes long (example: the BIOS image of windows ntvdm).
- Add useful alignment (and others) macros.

svn path=/branches/ntvdm/; revision=62312
2014-02-23 20:40:09 +00:00
Hermès Bélusca-Maïto
6f5166457c [NTVDM]: We can call now directly the interrupts instead of the internal functions BiosPeekCharacter and VidBiosPrintCharacter (so that if some program hooks them, we behave correctly).
svn path=/branches/ntvdm/; revision=62311
2014-02-23 19:43:31 +00:00
Hermès Bélusca-Maïto
b33a34bec1 [NTVDM]
- Use callbacks in BIOS/DOS (and disable int32.c)
- Move DOS bops to dem.c

svn path=/branches/ntvdm/; revision=62306
2014-02-23 16:09:35 +00:00
Hermès Bélusca-Maïto
0c3c1170ab [NTVDM]: Limit the number of CPU recursion calls (not more than 32).
svn path=/branches/ntvdm/; revision=62305
2014-02-23 15:54:20 +00:00
Amine Khaldi
121bde3b83 * Sync up to trunk HEAD (r62286).
svn path=/branches/ntvdm/; revision=62287
2014-02-22 10:50:51 +00:00
Hermès Bélusca-Maïto
4489198537 [NTVDM]
** WARNING! WARNING! WORK IN PROGRESS!! **
**    MEGA HUGE IRC SPAM IN SIGHT!!     **

Commit a starting point implementation for 16-bit callbacks from 32-bit code that work together with the EmulatorSimulate / EmulatorUnsimulate functions.
That needs HUUUGE reviewing (go to the END to skip details and going to the current drawbacks of the implementation) <-- [TheFlash], Vampyre, others...

How it is intended to work:

1- Add callback.c to the CMakeLists.txt file, and remove int32.c from it.
2- In some 32-bit module that will get called by 16-bit code sooner or later (e.g. bios32 or dos32), include callback.h instead of int23.h.
3- Add a CALLBACK16 MyContext; // definition
4- In some initialization code for this module, call: InitializeContext(&MyContext, custom_segment, custom_offset);
   This allows you to define a zone of memory custom_segment:custom_offset that will be used as a trampoline zone. FIXME/TODO: we can return from this call the size of this zone (not implemented at the moment), so that we can know the zone that will be reserved for calls (it will be used in the following steps).

5- Now you can register e.g. 32-bit interrupt handlers with calls like:
   MyContext.NextOffset += RegisterInt32(MAKELONG(MyContext.NextOffset,
                                                  MyContext.Segment),
                                         IntNumber, Int32Handler, NULL);
Now comes the tricky part: since we want to be able to give precise memory addresses to where to put interrupt stubs (whose addresses will be stored in the IVT) (it's because it happens that some programs expect some few code interrupts to be placed at given places in memory; or one can argue that it is "for IBM bios compatibility"....), we pass a far pointer instead of the context structure as the first parameter. Then, currently the function returns the size of the written code (and it returns too via its last optional parameter).

6- You can do almost the same with RegisterInt16, where now instead of giving a 32-bit interrupt handler, you give the code of a 16-bit interrupt. What changes here is that in the 32-bit case, the 16-bit interrupt code was generated (to call back the 32-bit handler) whereas here you control it fully. For 16-bit interrupt code you need to use IRETs operands.

7- There is a RegisterCallback16 function, which registers at a given place in memory a chunk of 16-bit code. This code is expected to return with RETs. Its accompanying function RunCallback16 is untested at the moment.

8- Now the magic: Calling this code: an example is given in the following (from DosFastConOut fucntion of Dos32):
<code_snip>
   /* Save AX and BX */
   USHORT AX = getAX();
   USHORT BX = getBX();

   setBL(DOS_CHAR_ATTRIBUTE);
   setBH(Bda->VideoPage);
   setAH(0x0E);
   Int32Call(&DosContext, 0x10);

   /* Restore AX and BX */
   setAX(AX);
   setBX(BX);
</code_snip>

   Here (after saving some registers and setting some parameters for the INT 10h being called), we call interrupt 10h with Int32Call(&DosContext, 0x10); // where DosContext is a CALLBACK16 context.
   The call is done "synchronously", i.e. we restart here CPU simulation. The simulation then stops because the generated trampoline code has a suitable BOP_UNSIMULATE instruction.

CURRENT DRAWBACKS:
==================
1- The module which is going to use those callbacks need to know where in memory the code will be placed. Nothing is done "automatically". Otherwise we would have to:
   * maintain a (gobal, and finite) table of callbacks (in some way or another), and/or
   * be able to place the code in some "shadowed" memory zone of the emulator that gets hidden for all the programs emulated BUT the emulator.
2- Linked to the previous second point comes the problem of trampoline code. It is needed because we need to put a BOP_UNSIMULATE operand after the code to stop the 16-bit code simulation and go back to 32-bit. We need also to call e.g. INT 0x10 from 16-bit to be able to run the interrupt that could be hooked by some program. Some may argue that one can first call EmulatorInterrupt(0x10); but then we would have to find a means of stopping the simulation as soon as the interrupt exits...
3- For calling "regular" 16-bit code (with RunCallback16) we need a suitable callback: "call far_pointer; BOP_UNSIMULATE" .
4- Currently we build the trampolines on-the-fly when calling either RunCallback16 or Int32Call, at the memory location given when initializing CALLBACK16 context. If a given 32-bit module calls some 16-bit code that calls in turn a 32-bit function from the SAME module which calls also a 16-bit callback, then the trampoline will be overwritten. In RunCallback16 (and Int32Call) we save it, push a new one and then call the 16-bit code, and then restore the old one after the call. It seems to work fine currently, but I've found a problem, I think, which is the following:
   * Suppose that a 16-bit program calls some VDD function,
   * this VDD function creates a thread,
   * the two running VDD functions then call back the 16-bit program, or trigger an interrupt from whatever nature which both call 32-bit functions from a given 32-bit module (bios, dos). In this situation many problems arise:
     a. Our current implementation of the emulator doesn't support that since you are going to play concurrently with the unique CONTEXT of the emulated CPU... (i.e. flags / registers corruption in sight)
     b. If the 32-bit functions (called concurrently, and which are from the same 32-bit module) call some 16-bit code / interrupt, then they are going to use the same memory zone for the trampoline stub and there are very high risks of corruption. A solution for that would be to generate the trampolines once and for all for each registered 16-bit interrupt stub / 16-bit generic callback, retrieve their addresses and store them in some place (that also get shared amongst all of the 32-bit modules of the NTVDM emulator), so that each (possible concurrent) call go to the trampoline and just make the CPU point at it...

Voilà !

svn path=/branches/ntvdm/; revision=62283
2014-02-21 20:31:56 +00:00
Hermès Bélusca-Maïto
5a3cc5df3c [NTVDM]
Start to implement EmulatorSimulate / EmulatorUnsimulate (used by VDDSimulate16 and VDDUnsimualte16). This piece of code can be better written, but it works for what I'm going to commit next.

svn path=/branches/ntvdm/; revision=62282
2014-02-21 19:27:27 +00:00
Aleksandar Andrejevic
0b434e7c6c [FAST486]
Add a macro ALIGNMENT_CHECK that checks for unaligned pointers and generates an exception.


svn path=/branches/ntvdm/; revision=62279
2014-02-21 01:29:13 +00:00
Aleksandar Andrejevic
011259b78f [FAST486]
Update the AC flag in the POPF instruction.


svn path=/branches/ntvdm/; revision=62278
2014-02-21 01:15:03 +00:00
Aleksandar Andrejevic
b9dd7fc5fc [FAST486]
Enable the Alignment Check flag. Apparently the 486 supports it.


svn path=/branches/ntvdm/; revision=62277
2014-02-21 01:05:47 +00:00
Hermès Bélusca-Maïto
a4f4c415ac [FAST486]
- When pushing 16-bit value, check only low word of ESP (i.e. SP).
- Don't forget to clear high word of EIP, for the Jump instruction of group 4 (0xFF).

svn path=/branches/ntvdm/; revision=62258
2014-02-19 20:24:53 +00:00
Hermès Bélusca-Maïto
87ac13a950 [FAST486]: Hardcoded_values--;
svn path=/branches/ntvdm/; revision=62256
2014-02-19 19:27:05 +00:00
Hermès Bélusca-Maïto
852cd2db79 [FAST486]: Fix argument type.
svn path=/branches/ntvdm/; revision=62255
2014-02-19 19:23:36 +00:00
Aleksandar Andrejevic
60dd86e7ac [BASESRV]
Implement BaseSrvGetVDMExitCode.


svn path=/branches/ntvdm/; revision=62237
2014-02-18 02:15:33 +00:00
Hermès Bélusca-Maïto
9b24de4f64 [NTVDM]: Load a BIOS image in case its name is given in BiosInitialize.
svn path=/branches/ntvdm/; revision=62236
2014-02-17 22:50:41 +00:00
Hermès Bélusca-Maïto
574f922049 [NTVDM]
- Remove an unneeded assignment (cmos.c)
- Reorganize BIOS code: put our 32-bit bios in a dedicated directory; start to introduce a way to load other bioses (WIP).

svn path=/branches/ntvdm/; revision=62235
2014-02-17 22:20:03 +00:00
Aleksandar Andrejevic
c64a03a80f [BASESRV]
Move the VDM states and binary types to a public header file.
Implement GetNextDosSesId.
Continue implementing BaseSrvCheckVDM.


svn path=/branches/ntvdm/; revision=62200
2014-02-16 00:09:27 +00:00
Aleksandar Andrejevic
522f29b775 [KERNEL32]
SetVDMCurrentDirectories should use BasepSetVDMCurDirs, not BasepGetVDMCurDirs.


svn path=/branches/ntvdm/; revision=62099
2014-02-10 14:26:41 +00:00
Aleksandar Andrejevic
24d5936eb9 [KERNEL32]
Implement SetVDMCurrentDirectories.


svn path=/branches/ntvdm/; revision=62098
2014-02-10 14:24:36 +00:00
Aleksandar Andrejevic
5a678ff4e0 [KERNEL32]
Implement GetVDMCurrentDirectories.
[BASESRV]
Fix a bug in BaseSrvGetVDMCurDirs.


svn path=/branches/ntvdm/; revision=62097
2014-02-10 13:56:55 +00:00
Aleksandar Andrejevic
158d2645a5 [BASESRV]
Implement BaseSrvSetVDMCurDirs.


svn path=/branches/ntvdm/; revision=62091
2014-02-10 00:37:06 +00:00
Aleksandar Andrejevic
d0176d9ee8 [BASESRV]
Implement BaseSrvGetVDMCurDirs.
The current directory information is stored in the console record,
and it applies to all DOS records within it.


svn path=/branches/ntvdm/; revision=62086
2014-02-09 22:26:13 +00:00
Aleksandar Andrejevic
884d0853f8 [BASESRV]
Add an (incomplete) definition for VDM console records and VDM DOS records.
Implement BaseSrvIsFirstVDM.
Start implementing BaseSrvCheckVDM.


svn path=/branches/ntvdm/; revision=62078
2014-02-09 17:37:35 +00:00
Hermès Bélusca-Maïto
ac8e7f981c [NTVDM]: Silent few DPRINTs.
svn path=/branches/ntvdm/; revision=62018
2014-02-06 20:28:33 +00:00
Aleksandar Andrejevic
36226433cb [KERNEL32]
Halfplement BaseCheckVDM.


svn path=/branches/ntvdm/; revision=61964
2014-02-03 19:00:58 +00:00
Aleksandar Andrejevic
02acc76770 [NTDLL]
Allocate enough space to hold the alignment padding of arguments in
CsrAllocateCaptureBuffer.


svn path=/branches/ntvdm/; revision=61961
2014-02-03 17:25:55 +00:00
Hermès Bélusca-Maïto
6a287dfdfe [NTVDM]: German translation by Robert Naumann, thanks!
CORE-7250

svn path=/branches/ntvdm/; revision=61920
2014-02-02 14:01:21 +00:00
Hermès Bélusca-Maïto
3c5b236b5a [NTVDM]
- Sorry !!!!!! The previous translation (Polish, revision 61916 ) was by Wojtek Kozlowski aka. wojo664!! Sorry for having mistaken you with Radek Liska!
- Czesh translation by Radek Liska :D, thanks!
CORE-7250

svn path=/branches/ntvdm/; revision=61917
2014-02-02 00:43:52 +00:00
Hermès Bélusca-Maïto
97eee1dd69 [NTVDM]: Polish translation by Radek Liska, thanks!
CORE-7835 #resolve
CORE-7250

svn path=/branches/ntvdm/; revision=61916
2014-02-02 00:34:48 +00:00
Hermès Bélusca-Maïto
b429303250 Sync with trunk rev.61914 for BaseVdm fixes.
svn path=/branches/ntvdm/; revision=61915
2014-02-02 00:25:25 +00:00
Aleksandar Andrejevic
90df0b6d52 [KERNEL32]
CreateProcessInternalW expects BaseCheckVDM to return a NTSTATUS, not a BOOL.


svn path=/branches/ntvdm/; revision=61912
2014-02-01 23:24:06 +00:00
Hermès Bélusca-Maïto
5380113016 Sync with trunk rev.61910 to get latest improvements and bugfixes.
svn path=/branches/ntvdm/; revision=61911
2014-02-01 22:56:13 +00:00
Aleksandar Andrejevic
0d13dbf572 [KERNEL32]
Fix an infinite loop bug in CreateProcessInternalW.


svn path=/branches/ntvdm/; revision=61909
2014-02-01 22:24:46 +00:00
Hermès Bélusca-Maïto
8eb145a87c [NTVDM]: Comment out what-appears-to-be a broken test. Fixes some LIFE.COM program. Need to investigate further...
svn path=/branches/ntvdm/; revision=61908
2014-02-01 22:13:31 +00:00
Hermès Bélusca-Maïto
285d283861 [NTVDM]: Okay, let's clear the VGA memory everytime we change modes... (fixes VGA-->EGA transition in Dave).
svn path=/branches/ntvdm/; revision=61907
2014-02-01 20:55:57 +00:00
Hermès Bélusca-Maïto
6e7f995863 [NTVDM]: Italian translation by Ivan di Francesco, thanks!
CORE-7250

svn path=/branches/ntvdm/; revision=61905
2014-02-01 19:42:49 +00:00
Aleksandar Andrejevic
5a012c39f1 [KERNEL32]
Enable the BaseVDM functions, even though they're not yet implemented in basesrv.
Implement ExitVDM.


svn path=/branches/ntvdm/; revision=61904
2014-02-01 19:05:54 +00:00
Hermès Bélusca-Maïto
d028bd7690 [NTVDM]: Spanish translation by Javier Fernandez, thanks!
svn path=/branches/ntvdm/; revision=61903
2014-02-01 17:22:30 +00:00
Hermès Bélusca-Maïto
105aff1c51 [NTVDM]
- Define and export VDDSimulate16 and host_simulate.
- Move the big emulation loop from ntvdm.c to clock.c, and the console input pump thread from ps2.c to ntvdm.c.
  Indeed:
  * Moving the emulation loop out of the main initialization function will be helpful if one wants to modify how emulation is done,
  * The console input pump thread deals also with console UI bits that have nothing to do with keyboard/mouse/ps-2. Instead, the pump thread will dispatch keyboard and mouse events to the ps/2 controller.
- Implement a custom menu in the console's system menu to be able to parametrize ROS VDM (work-in-progress); at the moment only a menu item to show/hide mouse pointer, and another one allowing us to quit properly the VDM are implemented. The menu code was taken from the GUI frontend in winsrv.dll. Only english and french translations available at the moment.

svn path=/branches/ntvdm/; revision=61902
2014-02-01 16:32:20 +00:00
Aleksandar Andrejevic
80b0d263d2 [KERNEL32]
Add the definition for the structure used by GetNextVDMCommand.


svn path=/branches/ntvdm/; revision=61897
2014-02-01 02:49:02 +00:00
Hermès Bélusca-Maïto
d25d9ea618 [NTVDM]
- Enable experimental sound support (only PC speaker for the moment, aka. uses beep.sys).
- Introduce a #define WORKING_TIMER which aim is to disable the currently problematic approximate performance counter value calculation done in order not to call QueryPerformanceCounter each time.
  The problem is that we then compute a number of clock ticks for the PIT, which becomes negative, and therefore everything starts to hang.
  Disabling this code and calling each time QueryPerformanceCounter, fixes everything; we gain in precision but we loose in performance...
  A definitive fix must be found, [TheFlash] !!

This fixes sound (and hangs) in Advanced NetWars, Dangerous Dave, ElitePlus and Rescue Rover (the games that I've tested so far).

svn path=/branches/ntvdm/; revision=61875
2014-01-29 00:25:43 +00:00
Hermès Bélusca-Maïto
f2a98176d6 [NTVDM]: Add debug print for timer ticks to try to find why the emulator sometimes hangs...
svn path=/branches/ntvdm/; revision=61867
2014-01-28 20:39:16 +00:00
Hermès Bélusca-Maïto
03d8479401 [NTVDM]
Part 2 of PIT + sound fix.
- Move port 61h management from speaker.c to the emulator.c module;
- Add PIT OUT callbacks support;
- Add (unimplemented) PitSetGate function (will be used later on).
Still WIP.

svn path=/branches/ntvdm/; revision=61866
2014-01-28 20:24:24 +00:00
Hermès Bélusca-Maïto
5dafb169e0 [NTVDM]: Replace my #if 0 by #ifdef IPS_DISPLAY for DPRINTing (or not) the no. of instructions per seconds.
svn path=/branches/ntvdm/; revision=61865
2014-01-28 20:18:52 +00:00
Hermès Bélusca-Maïto
951276a7d8 [NTVDM]: Remove erroneous comments.
svn path=/branches/ntvdm/; revision=61861
2014-01-28 17:26:26 +00:00
Hermès Bélusca-Maïto
0a46ec7a18 [NTVDM]
- Break the DOS source file into the "DOS BIOS" (also known in other places as ibmbio or io or...), which is in fact some kind of hardware abstraction layer, and the "DOS BDOS" kernel (also known in other places as ibmdos.com or msdos.sys or...).
- Add in DEM the possibility of loading the DOS from another files (WIP).

svn path=/branches/ntvdm/; revision=61846
2014-01-26 21:51:27 +00:00
Hermès Bélusca-Maïto
c98977184f [NTVDM]
- Start to refactor the DOS sources:
  Introduce the DEM (DOS Emulation) support library that is used by our built-in DOS, and that is used (via BOPs) by windows NT DOS (files: ntio.sys and ntdos.sys).
- Export some of DEM functions; stub most of them and implement the remaining ones (with existing code that we had in dos.c before).

svn path=/branches/ntvdm/; revision=61838
2014-01-26 18:25:59 +00:00
Hermès Bélusca-Maïto
1608c84d72 [NTVDM]: Implement a basic BIOS Wait interrupt INT 15h, AH=86h.
svn path=/branches/ntvdm/; revision=61821
2014-01-25 22:29:54 +00:00
Hermès Bélusca-Maïto
298e47dbaf [NTVDM]
- Shut up some DPRINTs in io.c and ntvdm.c
- I forgot to update the call to PitClock in the previous revision...

svn path=/branches/ntvdm/; revision=61816
2014-01-25 18:57:17 +00:00
Hermès Bélusca-Maïto
4bbed217b6 [NTVDM]: Each PIT channel is decreased by the same amount of "Count".
svn path=/branches/ntvdm/; revision=61815
2014-01-25 18:56:12 +00:00
Hermès Bélusca-Maïto
2bbb94f82b [NTVDM]
Big PIT fix Part 1/X
Currently, sound frequency is fixed (in Advanced NetWars, Rover, Dave)

svn path=/branches/ntvdm/; revision=61810
2014-01-25 17:00:09 +00:00
Hermès Bélusca-Maïto
f878b8abae [NTVDM]
Welcome sound in Advanced NetWars!
However it won't work totally due to problems in the PIT or in the sound emulation (and as a result, the emulator will "hang").

svn path=/branches/ntvdm/; revision=61809
2014-01-25 16:23:27 +00:00
Aleksandar Andrejevic
a3a28181c2 [NTVDM]
Add two general-purpose variables to the interrupt handler stub stack.
Fix INT 29h so that it works correctly when the INT 10h, AH = 0Eh call is hooked.


svn path=/branches/ntvdm/; revision=61797
2014-01-25 00:53:10 +00:00
Hermès Bélusca-Maïto
6ddfa7d2b8 [NTVDM]
- Move all the hardware initialization to EmulatorInitialize (since emulator.c can be viewed as support functions for emulating a PC motherboard) --> PS2 and VGA go there.
- Break bios.c into bios.c and kbdbios.c (the keyboard bios module) (according to the IBM documentation as well as other emulator sources or SeaBIOS or...).
- Move Exception handling from int32.c to emulator.c, because it's something tight to the emulator, not to the interrupt system by itself (yet it happens that INT 00h to 07h are commonly set to some exception handlers). In the bios.c, initialize those vectors with the default exception handler.
- Handling IRQs is done fully in bios.c now: introduce PicSetIRQMask and EnableHwIRQ helper functions (adapted from their equivalents from SeaBIOS) that allows the bios to set (and activate in the PIC) a given IRQ with its corresponding handler. Also introduce PicIRQComplete that serves as a PIC IRQ completer (i.e. sends the EOI to the right PIC(s)).
- Continuing on that, at the moment I set dumb default PIC IRQ handlers for IRQ 08h - 0Fh and IRQ 70h - 77h).
- By default I disable all the IRQs; there are then set on-demand with EnableHwIRQ.
- Rework the POST (aka. BiosInitialize function):
  * the memory size is now get from the CMOS (as well as the extended memory size via INT 12h, AH=88h),
  * then we initialize the interrupts,
  * then platform hardware (ie. the chips) are initialized,
  * and finally the keyboard and video bioses.
- As said before, move memory sizes into the CMOS.
- Simplify video bios initialization.

svn path=/branches/ntvdm/; revision=61796
2014-01-25 00:21:51 +00:00
Hermès Bélusca-Maïto
3c273ca1a9 [NTVDM]: Register functions are already declared via the inclusion of ddk/vddsvc.h. However still keep their definitions also in registers.h (yet #if 0'ed out) for reference.
svn path=/branches/ntvdm/; revision=61795
2014-01-24 20:37:40 +00:00
Hermès Bélusca-Maïto
ba97a8f567 [NTVDM]: Clean ConsoleFramebuffer after leaving graphics mode.
svn path=/branches/ntvdm/; revision=61794
2014-01-24 20:36:17 +00:00
Hermès Bélusca-Maïto
1d9208e0a3 [NTVDM]: Use EmulatorRead/WriteMemory instead of directly use the VgaXXXMemory helpers.
svn path=/branches/ntvdm/; revision=61786
2014-01-24 00:41:26 +00:00
Hermès Bélusca-Maïto
b393d6bbc4 [NTVDM]: Improve the icon, and add 16x16 format.
svn path=/branches/ntvdm/; revision=61785
2014-01-23 23:46:10 +00:00
Hermès Bélusca-Maïto
3224e67cfc Sync to trunk revision 61757.
svn path=/branches/ntvdm/; revision=61758
2014-01-22 22:56:41 +00:00
Aleksandar Andrejevic
6e741d3856 [FAST486]
Implement the LAR instruction.


svn path=/branches/ntvdm/; revision=61650
2014-01-17 03:15:27 +00:00
Hermès Bélusca-Maïto
f0466501fc [NTVDM]
- Do not export (for the PIC/PIT/Speaker) the port functions but use instead the common port interface.
- In bios.c : IOWriteB(PIC_MASTER_DATA, PIC_ICW4_8086 /* | PIC_ICW4_AEOI */); (line 377) : in NXVM they add PIC_ICW4_AEOI; [TheFlash], can you have a look at this and see whether it is required for the master PIC only, otherwise remove this comment.

svn path=/branches/ntvdm/; revision=61590
2014-01-11 21:45:01 +00:00
Hermès Bélusca-Maïto
40f773b96b [DDK:NT_VDD]
Declare some VDM memory services.

[NTVDM]
- Almost all of the XXXInitialize functions just return TRUE always, so VOIDify them instead (since they always succeed).
- Move almost all of the hardware initialization inside EmulatorInitialize.
- Move pure console initialization/mode-saving/cleanup code into ConsoleInit/Cleanup functions in ntvdm.c instead of in bios.c.

svn path=/branches/ntvdm/; revision=61588
2014-01-11 20:59:27 +00:00
Hermès Bélusca-Maïto
25105f6bec [NTVDM]: Break the BIOS into the BIOS and the video BIOS.
svn path=/branches/ntvdm/; revision=61586
2014-01-11 17:05:25 +00:00
Hermès Bélusca-Maïto
3d36bf4451 [NTVDM]: Start to organize the code...
svn path=/branches/ntvdm/; revision=61583
2014-01-11 15:27:18 +00:00
Hermès Bélusca-Maïto
af24ac79df [NTVDM]
- Export and use IORead/WriteXX (instead of PicRead/WriteXX or VgaRead/WritePort)
- static'ify some functions.

svn path=/branches/ntvdm/; revision=61580
2014-01-11 14:40:03 +00:00
Hermès Bélusca-Maïto
49ab546ac3 Sync up with trunk r61578.
svn path=/branches/ntvdm/; revision=61579
2014-01-11 00:00:10 +00:00
Hermès Bélusca-Maïto
0042be70fb [NTVDM]
Fix few problems in BiosCopyTextConsoleToVgaMemory (copied screen region and temp buffer freeing).

svn path=/branches/ntvdm/; revision=61544
2014-01-06 00:17:59 +00:00
Hermès Bélusca-Maïto
98e367f291 [NTVDM]
Save console in/out modes and cursor shape, and restore them at cleanup.

svn path=/branches/ntvdm/; revision=61543
2014-01-05 22:21:57 +00:00
Hermès Bélusca-Maïto
425717c483 [NTVDM]
- Move console text buffer copy into VGA memory, to the BIOS (function BiosCopyTextConsoleToVgaMemory), and do it just after the BIOS sets its default display mode.
- Try to resize "correctly" the console to its original size when cleaning BIOS (Part 2/2, see revision 61538). Still WIP.
- Code cleaning in vga.c

svn path=/branches/ntvdm/; revision=61542
2014-01-05 21:26:33 +00:00
Hermès Bélusca-Maïto
2a053222a7 [NTVDM]
Fix changing console size when entering a given text-mode. Inspired from our telnet console tconsole.cpp!SetWindowSize function.
Part 1/2

svn path=/branches/ntvdm/; revision=61538
2014-01-05 14:14:26 +00:00
Aleksandar Andrejevic
08b3bef080 [NTVDM]
Fix the interleaved shift mode.
Don't halve the vertical resolution twice.


svn path=/branches/ntvdm/; revision=61535
2014-01-04 22:33:05 +00:00
Aleksandar Andrejevic
4d933b0747 [NTVDM]
Implement DOS functions 0x4E (Find First File) and 0x4F (Find Next File). Not tested yet.


svn path=/branches/ntvdm/; revision=61507
2014-01-03 23:41:40 +00:00
Hermès Bélusca-Maïto
2b13376ad5 [NTVDM]
Rework the resource files, and add a nice old-ish IBM PC AT icon (C) myself :) (only 32x32 256 colors for now).

svn path=/branches/ntvdm/; revision=61462
2013-12-29 22:38:10 +00:00
Hermès Bélusca-Maïto
e8d3c3e4bd [NTVDM]: Don't display an error message if the VDD registry key (or value) just doesn't exist: it significates we just don't have any VDD to load...
Thanks to Lee Schroeder and oldman on the forum for having detected this :)

svn path=/branches/ntvdm/; revision=61459
2013-12-28 22:22:12 +00:00
Hermès Bélusca-Maïto
d944afa5c7 [NTVDM]
Shut up few DPRINT1s, and demote some DPRINT1s to DPRINTs but disable NDEBUG for now (enable it and you'll shut up the DPRINTs).

svn path=/branches/ntvdm/; revision=61451
2013-12-27 19:51:43 +00:00
Hermès Bélusca-Maïto
cc98f9be4f [NTVDM]
Make colors appearing in CGA mode 4, but still buggy concerning the computation of the resolution (either the X-dimension is twice big or the Y-dimension is twice small), and the position of the pixels...
However the VGA registers are (almost) similar to http://www.brokenthorn.com/Resources/OSDevVid2.html and putting them equal to the settings given there don't change anything new...

svn path=/branches/ntvdm/; revision=61435
2013-12-26 21:40:20 +00:00
Hermès Bélusca-Maïto
2752c69839 [NTVDM]: Code "formatting" + fix types.
svn path=/branches/ntvdm/; revision=61434
2013-12-26 21:37:06 +00:00
Hermès Bélusca-Maïto
0cf85b9296 [NTVDM]
- Fix palette setting for EGA modes, fixes Rescue-Rover menu colors amongst others.
  Some of the palettes were adapted (read: translated from DAC registers settings) from DOSBox;
  and I've also used http://www.brokenthorn.com/Resources/OSDevVid2.html for some settings.
  This should be reviewed to fix / remove redundancies or errors.
- Attempt to implement basic palette enablig/disabling flag (via AC palette regs).
- I've introduced (commented) DbgPrint's for testing AC regs setting. I will remove them when everything is ok.

svn path=/branches/ntvdm/; revision=61419
2013-12-25 21:40:18 +00:00
Hermès Bélusca-Maïto
1a873828b6 [NTVDM]
- BIOS: Fix setting video page parameters when setting mode, and effectively fix setting of video page (fix the involved CRTC registers !!).
  Now Advanced NetWars works without flickering.
- VGA: Fix code presentation.

svn path=/branches/ntvdm/; revision=61390
2013-12-24 22:40:15 +00:00
Hermès Bélusca-Maïto
5c45aa50d1 [NTVDM]: DOS: Add some description / fix a comment.
svn path=/branches/ntvdm/; revision=61389
2013-12-24 22:33:16 +00:00
Hermès Bélusca-Maïto
ec409b401e [NTVDM]: We know that .h files are header files ;)
svn path=/branches/ntvdm/; revision=61375
2013-12-24 15:53:30 +00:00
Hermès Bélusca-Maïto
8331d27b2b [NTVDM]: Implement and export VDDTerminateVDM.
svn path=/branches/ntvdm/; revision=61374
2013-12-24 15:52:31 +00:00
Hermès Bélusca-Maïto
91a882c036 [DDK] - Code formatting only.
svn path=/branches/ntvdm/; revision=61373
2013-12-24 15:50:31 +00:00
Hermès Bélusca-Maïto
4f99547f7d [NTVDM]
Implement and export (and define in vddsvc.h) call_ica_hw_interrupt and VDDSimulateInterrupt macro.
ICA = Interrupt Controller Adapter (in windows terminology)

svn path=/branches/ntvdm/; revision=61372
2013-12-24 15:30:59 +00:00
Hermès Bélusca-Maïto
81c28dca92 Oups, forgot to link against advapi32 too (for registry functions) xD
svn path=/branches/ntvdm/; revision=61371
2013-12-24 13:48:39 +00:00
Hermès Bélusca-Maïto
f29962099c [NTVDM]
Load VDDs registered in HKLM\SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers key, value "VDD" (of type REG_MULTI_SZ).
I still don't call FreeLibrary to unload them at the end of NTVDM's lifetime (otherwise we would have to store their handles in an array).

svn path=/branches/ntvdm/; revision=61370
2013-12-24 13:33:51 +00:00
Hermès Bélusca-Maïto
5005df3ef3 [NTVDM]: Fix VDDInstallIOHook.
svn path=/branches/ntvdm/; revision=61369
2013-12-24 13:03:04 +00:00
Hermès Bélusca-Maïto
bd4f41283c [NTVDM]: IO ports: put our internal handlers and Windows' ones for compatiblity into a union.
svn path=/branches/ntvdm/; revision=61368
2013-12-24 12:15:27 +00:00
Hermès Bélusca-Maïto
d1398349c9 [NTVDM]: DOS: Implement INT 29h: DOS 2+ Fast Console Output.
svn path=/branches/ntvdm/; revision=61365
2013-12-23 22:01:17 +00:00
Hermès Bélusca-Maïto
936b30b601 [NTVDM]: Add support for Windows' VDD_IO_HANDLERS in our I/O ports emulation.
svn path=/branches/ntvdm/; revision=61364
2013-12-23 21:16:57 +00:00
Hermès Bélusca-Maïto
137d02967b [DDK]: Define registry manipulation APIs.
svn path=/branches/ntvdm/; revision=61360
2013-12-23 18:34:30 +00:00
Hermès Bélusca-Maïto
da6f99a13c [NTVDM]
- Implement and export VDDInstallIOHook and VDDDeInstallIOHook; rework EmulatorRead/WriteIo to take into account for different port handlers' sizes (byte, word, dword). Still WIP and may be subject to renamings... RegisterIoPort needs to be converted.
- Stubplement and export getIntelRegistersPointer.
- Export c_get/setXX functions which are aliases to get/setXX functions, for MIPS NTVDM compatibility.

svn path=/branches/ntvdm/; revision=61358
2013-12-23 18:17:29 +00:00
Hermès Bélusca-Maïto
8e9d50c603 [NTVDM]
- Simplify EmulatorReadMemory (first MMIO-mapped devices copy their memory image back to the VM' memory area, then data is read via RtlCopyMemory), and EmulatorWriteMemory (simplify VgaBuffer computation and rename this variable accordingly, for readability purposes).
- Fix Sim32pGetVDMPointer and MGetVdmPointer prototypes.

svn path=/branches/ntvdm/; revision=61356
2013-12-23 18:09:18 +00:00
Hermès Bélusca-Maïto
64091a6600 [NTVDM]: Remove unneeded WINAPI convention calls.
svn path=/branches/ntvdm/; revision=61355
2013-12-23 18:04:32 +00:00
Hermès Bélusca-Maïto
3cad6a80cf [DDK]
Introduce DDK headers needed for Virtual Device Drivers development. nt_vdd.h and vddsvc.h will get populated with functions as soon as they will be implemented in NTVDM.
isvbop.h/.inc is fully implemented. isvbop.inc defines 3rd-party VDD bops and "function"-calls for 16-bit apps (in assembler), and isvbop.h defines the same in C-language.
They are both MSVC and GCC-compatible.

svn path=/branches/ntvdm/; revision=61352
2013-12-23 17:40:50 +00:00
Aleksandar Andrejevic
d07be4e31b [FAST486]: Fix a comment.
svn path=/branches/ntvdm/; revision=61310
2013-12-21 03:50:19 +00:00
Aleksandar Andrejevic
3dd500ab28 [FAST486]
Implement the LSL instruction.
Remove instructions that don't exist on a 486 from the TODO list.


svn path=/branches/ntvdm/; revision=61309
2013-12-21 03:48:46 +00:00
Hermès Bélusca-Maïto
2a6c5d51be [NTVDM]
Hackplement BOP_CMD function 0x08: "Launch external command". Still WIP.
Explanation: Launching a command from command.com starts (under certain conditions not implemented there) "cmd.exe /c <the_command>"

See https://groups.google.com/forum/#!topic/microsoft.public.win2000.cmdprompt.admin/n5KbegKJuE0
and http://technet.microsoft.com/en-us/library/cc723564.aspx#XSLTsection123121120120
subsection "CMD.EXE and COMMAND.COM":
"Be aware that a command shell is not an MS-DOS command prompt, even though it shares the same icon.
The Windows NT command shell is a full 32-bit Windows NT console application that resides in the CMD.EXE executable file.
The MS-DOS command prompt is a 16-bit DOS application that resides in the COMMAND.COM executable file.
Because COMMAND.COM is a 16-bit DOS executable, Windows NT executes this shell within a Windows NT virtual DOS machine (VDM).
COMMAND.COM is supplied primarily for compatibility with MS-DOS.
[...]
This behavior reveals a quite subtle feature of Windows NT that is very important. The 16-bit MS-DOS shell (COMMAND.COM)
that ships with Windows NT is specially designed for Windows NT. When a command is entered for execution by this shell,
it does not actually execute it. Instead, it packages the command text and sends it to a 32-bit CMD.EXE command shell for
execution. Because all commands are actually executed by CMD.EXE (the Windows NT command shell), the 16-bit shell inherits
all the features and facilities of the full Windows NT shell."


svn path=/branches/ntvdm/; revision=61290
2013-12-18 01:16:54 +00:00
Hermès Bélusca-Maïto
610ee54a1a VDD really means "Virtual Device Drivers".
svn path=/branches/ntvdm/; revision=61289
2013-12-17 23:13:11 +00:00
Hermès Bélusca-Maïto
a27abed335 [NTVDM]
- Halfplement and export VdmMapFlat
- Make mention of the existence of VdmFlushCache and VdmUnmapFlat, which are not exported in x86 builds (macros are therefore defined to just return TRUE) but are exported in MIPS... builds...
See VDDSVC.H and NT_VDD.H in the DDK
(those headers don't exist in ROS; we'll have to create them later on).

svn path=/branches/ntvdm/; revision=61288
2013-12-17 23:03:23 +00:00
Hermès Bélusca-Maïto
1241dffa09 [NTVDM]
Studying the "vddtest" example mentioned in revision 61283 allowed me to see that valid VDD DLL "handles" start at 1 and cannot be equal to zero.
Add helper macros to convert from indices to handles. Fixes "vddtest" example.

Have fun at running it :)

svn path=/branches/ntvdm/; revision=61287
2013-12-17 22:34:08 +00:00
Hermès Bélusca-Maïto
90ab15cf66 [NTVDM]
- Thanks Thomas for having pointed me towards the fact that the NTVDM exports were really STDCALL and not CDECL (as I've thought first, because originally I was checking whether the getXX() functions were stdcall or not, and distinguishing VOID stdcall or cdecl functions without the symbols was hopeless).
- Halfplement and export Sim32pGetVDMPointer and MGetVdmPointer, needed to run correctly the RageStorm "galaxy" sample mentioned yesterday (see revision 61283). Now it loads and the dispatch call works \o/
- VDD_INIT_PROC and VDD_DISPATCH_PROC have the same signature --> rename them to VDD_PROC.

Have fun at testing!

svn path=/branches/ntvdm/; revision=61286
2013-12-17 22:10:58 +00:00
Hermès Bélusca-Maïto
ed874b41fc [NTVDM]
Implement basic VDD support:
implement the (un)register & dispatch call BOP (called BOP_3RDPARTY): see "Undocumented DOS" by Schulman et al. page 267 (as always ;) ), as well as:
http://www.ragestorm.net/tutorial?id=27 - "Tutorial - Calling Win32 from DOS"
http://www.airborn.com.au/layout/vddtest.html - "DOS to 32 bit DLL under XP - an example" (almost the same explanations as the previous article)
http://sta.c64.org/blog/dosvddaccess.html - "Accessing Windows device drivers from DOS programs"
and...
... your lovely Win2k / Win2k3 DDK section: "Device Technologies/Other Devices/Devices Requiring VDDs" !!

Ready to test? :D

svn path=/branches/ntvdm/; revision=61283
2013-12-17 02:19:52 +00:00
Hermès Bélusca-Maïto
49b672d829 [NTVDM]: Implement BOP_DEBUGGER (see: "Undocumented DOS" by Schulman et al., page 267) which allows you to break into a debugger from a 16-bit app (Vampyre, it can be useful for you ;) ).
svn path=/branches/ntvdm/; revision=61282
2013-12-16 23:57:35 +00:00
Hermès Bélusca-Maïto
085fe5e31a [NTVDM]
- As already done for interrupts and I/O ports, add a registering system for BOPs.
- INT32: Move ControlBop to the 32-bit interrupts module where it is used only.
- DOS: Add (un)documented BOP_DOS (0x50) and BOP_CMD(0x54) used respectively by NTIO.SYS/NTDOS.SYS and by COMMAND.COM.
  It appears that they take an extra parameter (so, skip 1 byte-instruction after the BOP instruction as we do for the Control BOP 0xFF).
  See "Undocumented DOS 2nd edition" by Schulman et al., page 267.

svn path=/branches/ntvdm/; revision=61278
2013-12-15 16:30:28 +00:00
Hermès Bélusca-Maïto
61fac982d5 [NTVDM]: Report the "correct" DOS version: 5.00 (or 5.50 depending on which DOS function you call) for NT+ compatibility (allows us to test windows' command.com, debug.com and so on... and therefore to know which BOPs they call).
svn path=/branches/ntvdm/; revision=61277
2013-12-15 15:35:38 +00:00
Aleksandar Andrejevic
f8861a562a [FAST486]
Remove the waiting code for the HLT instruction until I figure out how to do it properly.


svn path=/branches/ntvdm/; revision=61276
2013-12-15 05:08:57 +00:00
Aleksandar Andrejevic
ec32b3ef34 [FAST486]
Fix the calculation of PageLength for the last page.


svn path=/branches/ntvdm/; revision=61275
2013-12-15 05:02:59 +00:00
Aleksandar Andrejevic
4c80791d47 [FAST486]
Fix linear memory access when paging is enabled.


svn path=/branches/ntvdm/; revision=61274
2013-12-15 04:15:03 +00:00
Aleksandar Andrejevic
efcf73c467 [FAST486]
The LDT can be loaded with a NULL descriptor. That invalidates the LDT but doesn't cause
any exception.


svn path=/branches/ntvdm/; revision=61269
2013-12-14 02:30:42 +00:00
Aleksandar Andrejevic
18b844dffa [FAST486]
Fix the emulation of the Local Descriptor Table.


svn path=/branches/ntvdm/; revision=61268
2013-12-14 02:13:01 +00:00
Hermès Bélusca-Maïto
aac5c65456 [NTVDM]: VGA: Fix VGA_DAC_TO_COLOR macro (/me looks at [TheFlash]... :) )
svn path=/branches/ntvdm/; revision=61267
2013-12-13 23:14:33 +00:00
Aleksandar Andrejevic
5303c91efa [FAST486]
Implement the extended opcode group 0x0F, 0x00 (SLDT, STR, LLDT, LTR, VERR, VERW).


svn path=/branches/ntvdm/; revision=61264
2013-12-13 03:32:41 +00:00
Hermès Bélusca-Maïto
de64fe5965 [NTVDM]
- Add/fix few comments;
- Don't forget to redisable access to AC registers after modifying them in int 10h. Usurp, please retest Rescue Rover 2 :)
- Make EmulatorGet/Set/ClearFlag internal functions only and use set/get<FLAG> instead.

svn path=/branches/ntvdm/; revision=61263
2013-12-12 20:09:24 +00:00
Aleksandar Andrejevic
7e07cd3ec5 [NTVDM]
Add echo to INT 21h, function AH = 3Fh.


svn path=/branches/ntvdm/; revision=61257
2013-12-10 02:56:42 +00:00
Aleksandar Andrejevic
76f1085bdc [NTVDM]
Fix the file reading subfunction (AH = 3Fh) of INT 21h.
When reading from the console, it always stops on a carriage return.


svn path=/branches/ntvdm/; revision=61256
2013-12-10 01:30:53 +00:00
Hermès Bélusca-Maïto
b20613401f [NTVDM]
Rewrite the VGA emulation.


Nah, it's a joke!
- Store VGA registers setup in VGA_REGISTERS structure.
- Improve BiosSetVideoMode and introduce a VgaSetRegisters function for setting VGA regs.
- Initialize Bda->CrtBasePort: it is used to determine the address of some I/O ports which depend on whether we are in color or monochrome mode.
- Add UnregisterIoPort in io.c (and fix some DPRINTs) (needed for VGA).
- When setting the misc. VGA register, check whether we're going to monochrome emulation, and reset some port addresses in that case.

svn path=/branches/ntvdm/; revision=61246
2013-12-08 14:22:27 +00:00
Aleksandar Andrejevic
1c9756782c [NTVDM]
Use the EGA palette for EGA modes.


svn path=/branches/ntvdm/; revision=61242
2013-12-07 03:47:58 +00:00
Hermès Bélusca-Maïto
5a126500d4 Fix my Engrish :)
svn path=/branches/ntvdm/; revision=61240
2013-12-07 00:03:39 +00:00
Hermès Bélusca-Maïto
9b2dbb0b62 [NTVDM]
- Last race condition fix (see revision 61230).
- Add a comment why we do twice the same emptiness check (one before holding the mutex and one just after).

svn path=/branches/ntvdm/; revision=61239
2013-12-07 00:01:24 +00:00
Aleksandar Andrejevic
0f83939238 [NTVDM]
Fix race conditions.


svn path=/branches/ntvdm/; revision=61230
2013-12-06 04:51:47 +00:00
Aleksandar Andrejevic
1b784a5b7b [NTVDM]
Improve the keyboard event handling.
Clean up the PS/2 code a bit.


svn path=/branches/ntvdm/; revision=61229
2013-12-06 04:35:58 +00:00
Aleksandar Andrejevic
6dde554aa8 [NTVDM]
Also serialize access to KeyboardQueueEmpty.


svn path=/branches/ntvdm/; revision=61215
2013-12-04 00:43:11 +00:00
Aleksandar Andrejevic
73186a64bd [NTVDM]
Fix the VGA refresh rate.
Serialize access to the PS/2 keyboard queue.


svn path=/branches/ntvdm/; revision=61214
2013-12-04 00:38:52 +00:00
Hermès Bélusca-Maïto
a2bd742ecd [FAST486]
- Call Fast486GetCurrentPrivLevel only when needed.
- Fix a type.

svn path=/branches/ntvdm/; revision=61211
2013-12-03 23:51:51 +00:00
Hermès Bélusca-Maïto
aad49cc77c [NTVDM]: Code formatting only.
svn path=/branches/ntvdm/; revision=61210
2013-12-03 23:50:33 +00:00
Aleksandar Andrejevic
978c08c15c [FAST486]
Implement the BOUND instruction.


svn path=/branches/ntvdm/; revision=61205
2013-12-03 01:30:15 +00:00
Aleksandar Andrejevic
2064d10bad [FAST486]
Check for division by zero, and generate the appropriate exception.


svn path=/branches/ntvdm/; revision=61204
2013-12-03 00:56:47 +00:00
Aleksandar Andrejevic
e7a6deb93f [FAST486]
The current "fast" method used in MOVS gives incorrect results. It has been temporarily
replaced with a slow method that works correctly.
The string functions do nothing when CX is 0 on entry, fix CMPS and SCAS.


svn path=/branches/ntvdm/; revision=61203
2013-12-03 00:12:55 +00:00
Aleksandar Andrejevic
84662d3de9 [NTVDM]
Compile NTVDM even on non-i386 architectures.


svn path=/branches/ntvdm/; revision=61194
2013-12-02 01:02:17 +00:00
Aleksandar Andrejevic
03ecfdff3f [FAST486]
Fix MOVS and STOS when DF = 1. The starting position in the block was off by 1.


svn path=/branches/ntvdm/; revision=61163
2013-12-01 03:16:49 +00:00
Aleksandar Andrejevic
e765c894f0 [NTVDM]
Set AL to 0 for unimplemented functions in INT 21h.


svn path=/branches/ntvdm/; revision=61161
2013-12-01 00:17:46 +00:00
Aleksandar Andrejevic
ba237b0251 [FAST486]
Revert r61158, and fix the prefix issue correctly, but resetting the flags
again after the call to Fast486InterruptInternal.


svn path=/branches/ntvdm/; revision=61160
2013-11-30 23:45:59 +00:00
Aleksandar Andrejevic
7393337fcf [FAST486]
Use the size of CS, and not SS, in Fast486OpcodePopReg.


svn path=/branches/ntvdm/; revision=61159
2013-11-30 23:14:54 +00:00
Aleksandar Andrejevic
2cbcfd75c5 [FAST486]
Move the prefix reset below the interrupt check, because Fast486InterruptInternal
might set OPSIZE in some circumstances.


svn path=/branches/ntvdm/; revision=61158
2013-11-30 22:17:18 +00:00
Hermès Bélusca-Maïto
aadb980c95 [NTVDM]
- Remove some DPRINTs.
- Fix a bug in VgaEnterGraphicsMode (erroneous change of the real saved resolution when going into DoubleVision(TM) mode).
- Do not update the text cursor when being in graphics mode (otherwise I've already hit some ScanlineSize==0 problems) <-- [TheFlash], can you recheck that, please?
- Little optimisation: do not do anything in VgaRefreshDisplay if nothing has to be done.

svn path=/branches/ntvdm/; revision=61157
2013-11-30 22:01:44 +00:00
Aleksandar Andrejevic
d49a1c16b2 [NTVDM]
Fix the PIT square wave generator.


svn path=/branches/ntvdm/; revision=61151
2013-11-30 03:59:26 +00:00
Aleksandar Andrejevic
9c6b9c9bab [FAST486]
FPU instructions never generate #UD. If CR0.EM is set, they generate #NM.
If there is no FPU and CR0.EM is cleared, they do nothing.
Add a helper macro FPU_ST for accessing FPU registers.
Add a compile-time option to disable the FPU.


svn path=/branches/ntvdm/; revision=61150
2013-11-30 02:03:51 +00:00
Aleksandar Andrejevic
81c27b5b19 [FAST486]
Start implementing the FPU. Stubplement the FPU opcode handlers.


svn path=/branches/ntvdm/; revision=61141
2013-11-29 03:00:59 +00:00
Hermès Bélusca-Maïto
4fb7f6e1d7 [NTVDM]
- Move some PS/2 initialization from bios.c to ps2.c
- NULLify interrupt entries which are in fact pointers to data tables.
- Add a framework for adding I/O port handlers.

svn path=/branches/ntvdm/; revision=61107
2013-11-26 20:20:51 +00:00
Aleksandar Andrejevic
d358641f7c [FAST486]
Fix the order of operations.


svn path=/branches/ntvdm/; revision=61106
2013-11-26 18:11:53 +00:00
Aleksandar Andrejevic
556bace69f [FAST486]
Complete the previous commit with a fix for Fast486WriteLinearMemory too.


svn path=/branches/ntvdm/; revision=61105
2013-11-26 17:56:18 +00:00
Aleksandar Andrejevic
f45361126f [FAST486]
Handle the case when the last page is also the first page in Fast486ReadLinearMemory ( when paging is enabled).


svn path=/branches/ntvdm/; revision=61104
2013-11-26 17:55:07 +00:00
Aleksandar Andrejevic
8e356f7a95 [FAST486]
The 486 doesn't have AC, VIF, VIP or ID.
Fix and simplify POPF.
[NTVDM]
Fix the count in the XMS copy function (INT 15h, AH = 87h).


svn path=/branches/ntvdm/; revision=61082
2013-11-23 01:34:03 +00:00
Aleksandar Andrejevic
9a8c7e2a04 [FAST486]
Fix CF calculation in SHRD/SHLD.


svn path=/branches/ntvdm/; revision=61070
2013-11-22 02:47:48 +00:00
Aleksandar Andrejevic
24954c9d07 [FAST486]
DAA, DAS: Update the flags.
AAA, AAS: Subtract from AX instead of AL. The specification says AL, but
so far in all known CPUs and emulators, AX is subtracted.
AAD: Clear AH.


svn path=/branches/ntvdm/; revision=61069
2013-11-22 02:02:05 +00:00
Aleksandar Andrejevic
363543b325 [FAST486]
Fix the calculation of AF in ADC and the calculation of AF and CF in SBB.


svn path=/branches/ntvdm/; revision=61068
2013-11-22 01:22:00 +00:00
Aleksandar Andrejevic
c0d571c92a [FAST486]
In the string functions, use ADSIZE and not OPSIZE.
In SCAS and CMPS, fix the "(1 << 32) - 1" bug.


svn path=/branches/ntvdm/; revision=61067
2013-11-22 00:46:28 +00:00
Aleksandar Andrejevic
9c999826e1 [FAST486]
Put the conditional expression in parenthesis so that the addition happens after it.


svn path=/branches/ntvdm/; revision=61063
2013-11-21 04:07:15 +00:00
Aleksandar Andrejevic
37b16fec31 [FAST486]
Fix a bug in Fast486LoadSegment.


svn path=/branches/ntvdm/; revision=61062
2013-11-21 03:18:34 +00:00
Aleksandar Andrejevic
f90a1db2b7 [FAST486]
The top half of EIP is cleared after a 16-bit jump.


svn path=/branches/ntvdm/; revision=61058
2013-11-20 14:21:47 +00:00
Aleksandar Andrejevic
459e3a6f48 [FAST486]
Read the LDT instead of the GDT when the table indicator is set.


svn path=/branches/ntvdm/; revision=61057
2013-11-20 10:48:26 +00:00
Aleksandar Andrejevic
e2fb91925e [FAST486]
Implement privilege checks when loading the code selector.


svn path=/branches/ntvdm/; revision=61056
2013-11-20 10:43:12 +00:00
Aleksandar Andrejevic
b456a8b355 [FAST486]
Make the parameters to Fast486ReadModrm*Operands optional, so that
unnecessary extra reads aren't performed. This also eliminates the
need for dummy variables.


svn path=/branches/ntvdm/; revision=61055
2013-11-20 08:01:10 +00:00
Hermès Bélusca-Maïto
8998a96d56 [NTVDM] : Implement getMSW and setMSW for getting and setting the Machine Status Word (lower word of CR0).
[FAST486]: MSW = Machine Status Word

svn path=/branches/ntvdm/; revision=61044
2013-11-18 20:25:10 +00:00
Hermès Bélusca-Maïto
74933952b5 [NTVDM]
- Get rid of EmulatorGetRegister and EmulatorSetRegister and replace their calls with the proper definitions.
- Get rid of the enums EMULATOR_REG_* and use the FAST486_REG_* definitions instead.

svn path=/branches/ntvdm/; revision=61034
2013-11-18 01:16:19 +00:00
Hermès Bélusca-Maïto
c519c1610e [NTVDM]
- Implement and export getEFLAGS and setEFLAGS.
- Do some code reorganization (move all registers-related functions into "registers.c").

svn path=/branches/ntvdm/; revision=61033
2013-11-18 00:45:00 +00:00
Hermès Bélusca-Maïto
fb031ba118 [NTVDM]
Initialize LastClockUpdate, LastVerticalRefresh and LastCyclePrintout with the value of StartTickCount.

svn path=/branches/ntvdm/; revision=61021
2013-11-17 20:44:23 +00:00
Hermès Bélusca-Maïto
da7d643e51 [NTVDM]
- Use MAX/MINSHORT instead of CRT macros.
- Include only the relevant headers.

svn path=/branches/ntvdm/; revision=61014
2013-11-16 23:11:54 +00:00
Aleksandar Andrejevic
4b005f11bf [FAST486]
- When accessing memory using ESP, make the SS segment default.
- The INT instructions always pushes 16-bit values in real mode, regardless
  of the operand/address size attributes.


svn path=/branches/ntvdm/; revision=61000
2013-11-15 20:49:48 +00:00
Aleksandar Andrejevic
f5d0d3e784 [FAST486]
The CS cached descriptor has the default operand size, even for stack
operations.


svn path=/branches/ntvdm/; revision=60996
2013-11-15 04:16:25 +00:00
Aleksandar Andrejevic
bbc9efd2d9 [FAST486]
- Fix the privilege checks.
- Store the CPL in a special field, so that it doesn't get mixed up
  with the lowest 2 bits of real mode selectors while switching
  into protected mode.
- Reset the exception count after a successful ISR call.
- In Fast486OpcodeGroup0F01, check for prefix overrides after parsing
  the Mod-Reg-R/M, which might add a SS: prefix override in some cases.


svn path=/branches/ntvdm/; revision=60995
2013-11-15 02:32:08 +00:00
Aleksandar Andrejevic
5e54387a9c [FAST486]
Fix the previous fix. ESI was already updated earlier in the function.


svn path=/branches/ntvdm/; revision=60990
2013-11-14 03:11:33 +00:00
Aleksandar Andrejevic
14a31007fc [FAST486]
Fix previous fix.


svn path=/branches/ntvdm/; revision=60989
2013-11-14 03:03:23 +00:00
Aleksandar Andrejevic
9c66549845 [FAST486]
Update the register values in REP LODS.


svn path=/branches/ntvdm/; revision=60988
2013-11-14 02:54:20 +00:00
Aleksandar Andrejevic
cdf876ead9 [FAST486]
Fix the BSF and BSR instructions. Partially fix SHLD and SHRD.


svn path=/branches/ntvdm/; revision=60987
2013-11-14 02:39:54 +00:00
Aleksandar Andrejevic
a3513c8f18 [FAST486]
Fix previous fix.


svn path=/branches/ntvdm/; revision=60985
2013-11-13 22:34:38 +00:00
Aleksandar Andrejevic
cd496c8e21 [FAST486]
XADD: Fix the order of operations.
POP <modrm>: The value must be popped from the stack before parsing the
Mod-Reg-R/M, because of the "POP DWORD [ESP]" case.


svn path=/branches/ntvdm/; revision=60984
2013-11-13 22:33:37 +00:00
Aleksandar Andrejevic
53dfb7da48 [FAST486]
LOOP and JECXZ use the ADSIZE attribute, not OPSIZE.


svn path=/branches/ntvdm/; revision=60977
2013-11-13 19:20:04 +00:00
Aleksandar Andrejevic
ace025dca9 [FAST486]
The bit number should be normalized to [0, DataSize- 1], not [0, 2 ^ DataSize - 1].


svn path=/branches/ntvdm/; revision=60975
2013-11-13 18:14:01 +00:00
Aleksandar Andrejevic
acccaf3a90 [FAST486]
Fix a bug in the ROL and ROR instructions.


svn path=/branches/ntvdm/; revision=60972
2013-11-13 13:32:00 +00:00
Aleksandar Andrejevic
c7de214d81 [FAST486]
Fix several bugs in Fast486RotateOperation.


svn path=/branches/ntvdm/; revision=60969
2013-11-13 02:38:36 +00:00
Aleksandar Andrejevic
677810ea95 [FAST486]
Don't return uninitialized variables.


svn path=/branches/ntvdm/; revision=60967
2013-11-12 21:55:05 +00:00
Aleksandar Andrejevic
2da0e38fbc [FAST486]
In rotate operations, the count is always masked with 0x1F, regardless
of the operand size.


svn path=/branches/ntvdm/; revision=60966
2013-11-12 19:25:50 +00:00
Aleksandar Andrejevic
ac9f8a81e3 [FAST486]
Don't forget to check for the operand/address size prefix.


svn path=/branches/ntvdm/; revision=60964
2013-11-12 18:40:13 +00:00
Aleksandar Andrejevic
0aed89f779 [FAST486]
Fix the 3-byte IMUL instruction. If the operand size is 16-bit, the
result should be written in 16-bit too.


svn path=/branches/ntvdm/; revision=60963
2013-11-12 18:21:30 +00:00
Aleksandar Andrejevic
cf559336a1 [NTVDM]
The command line in the PSP consists only of the parameters, the program
name is omitted.


svn path=/branches/ntvdm/; revision=60959
2013-11-12 01:56:18 +00:00
Aleksandar Andrejevic
1ff6bc0f8f [NTVDM]
Report the correct number of paragraphs in the PSP of a COM program.


svn path=/branches/ntvdm/; revision=60958
2013-11-12 00:49:02 +00:00
Aleksandar Andrejevic
92d4dd2b64 [FAST486]
Check for interrupts at the end of a cycle, to avoid confusing
debug output.


svn path=/branches/ntvdm/; revision=60956
2013-11-11 20:55:33 +00:00
Aleksandar Andrejevic
b781febbfe [NTVDM]
Implement vertical scrolling in BiosScrollWindow.


svn path=/branches/ntvdm/; revision=60955
2013-11-11 20:41:55 +00:00
Aleksandar Andrejevic
c7a7dbe7e2 [FAST486]
Fix the previous fix in the Mod-Reg-R/M parser. EBP is still used
if the mode is 1 or 2.


svn path=/branches/ntvdm/; revision=60948
2013-11-11 19:08:28 +00:00
Aleksandar Andrejevic
eaf248fe87 [NTVDM]
Implement CMOS registers 15h, 16h, 17h and 18h.


svn path=/branches/ntvdm/; revision=60946
2013-11-11 17:59:04 +00:00
Aleksandar Andrejevic
1d21bb125f [FAST486]
Fix the Mod-Reg-R/M parser. EBP cannot be used as a SIB byte base,
instead it's used to mark that the base is an immediate operand.


svn path=/branches/ntvdm/; revision=60944
2013-11-11 17:24:22 +00:00
Hermès Bélusca-Maïto
0d174d717c [NTVDM]: Display more detailed information about which unknown interruption was called.
svn path=/branches/ntvdm/; revision=60943
2013-11-11 17:05:02 +00:00
Aleksandar Andrejevic
9ccaa9f1c4 [NTVDM]
Implement INT 15h, AH = 87h, "Copy Extended Memory".


svn path=/branches/ntvdm/; revision=60942
2013-11-11 16:47:10 +00:00
Hermès Bélusca-Maïto
77930f2a21 [FAST486]: Put the inlined function in its proper file. No code changes.
svn path=/branches/ntvdm/; revision=60940
2013-11-11 15:34:18 +00:00
Aleksandar Andrejevic
8389b692ea [FAST486]
Fix Fast486GetCurrentPrivLevel.


svn path=/branches/ntvdm/; revision=60939
2013-11-11 15:27:54 +00:00
Aleksandar Andrejevic
e53821aed0 [NTVDM]
Implement the miscellaneous BIOS system service (INT 15h) handler.
Implement INT 15h, AH = 88h, "Get Extended Memory Size".


svn path=/branches/ntvdm/; revision=60938
2013-11-11 04:00:10 +00:00
Aleksandar Andrejevic
442302eeb3 [NTVDM]
Give the virtual machine 16 MB of memory, for DOS extenders,
protected mode programs, etc...
EMS is still not implemented.


svn path=/branches/ntvdm/; revision=60937
2013-11-11 03:45:39 +00:00
Aleksandar Andrejevic
e3c68b1796 [FAST486]
Fix a bug in the LDS and LES instructions.


svn path=/branches/ntvdm/; revision=60936
2013-11-11 03:16:07 +00:00
Aleksandar Andrejevic
f3df799dc2 [FAST486]
Implement the LSS instruction.
Fix a bug in LFS and LGS.


svn path=/branches/ntvdm/; revision=60935
2013-11-11 03:14:18 +00:00
Hermès Bélusca-Maïto
ff2d706fb5 [NTVDM]: Fix CMOS file sharing access (so that we allow multiple ntvdm running with the same cmos data).
svn path=/branches/ntvdm/; revision=60934
2013-11-11 02:35:06 +00:00
Aleksandar Andrejevic
cc1f7c6985 [NTVDM]
To make debugging easier, put the interrupt handlers at offset 0x1000,
and reserve 16 bytes for each. Also, move the common stub to offset
0x2000. That way the entry point of, for example, INT 0x21 is at
F000:1210.


svn path=/branches/ntvdm/; revision=60933
2013-11-11 02:27:29 +00:00
Aleksandar Andrejevic
153e815f93 [FAST486]
We don't support in-circuit emulation opcodes such as USERMOV.
The 486 does not have the JMPE or POPCNT instructions.


svn path=/branches/ntvdm/; revision=60932
2013-11-11 01:14:24 +00:00
Hermès Bélusca-Maïto
045f939e5c [FAST486]: Remove an extra "return TRUE;"
svn path=/branches/ntvdm/; revision=60931
2013-11-11 01:02:48 +00:00
Aleksandar Andrejevic
83b597be5a [FAST486]
Implement SHLD and SHRD.


svn path=/branches/ntvdm/; revision=60930
2013-11-11 00:57:59 +00:00
Aleksandar Andrejevic
43bbc0afb4 [FAST486]
Implement the two operand version of IMUL.


svn path=/branches/ntvdm/; revision=60929
2013-11-11 00:10:46 +00:00
Aleksandar Andrejevic
9677ec13ad [FAST486]
Don't mix up ADSIZE and OPSIZE (continued).


svn path=/branches/ntvdm/; revision=60927
2013-11-10 23:42:57 +00:00
Aleksandar Andrejevic
a2f3c339f4 [FAST486]
Don't mix up ADSIZE and OPSIZE.


svn path=/branches/ntvdm/; revision=60926
2013-11-10 23:34:34 +00:00
Aleksandar Andrejevic
7ec93e81ff [FAST486]
Increment SP, not ESP for 16-bit stacks.


svn path=/branches/ntvdm/; revision=60925
2013-11-10 22:49:19 +00:00
Aleksandar Andrejevic
c3c7bb89c1 [FAST486]
Modularize linear memory access by adding two new functions:
Fast486ReadLinearMemory and Fast486WriteLinearMemory.
Implement Fast486GetPageTableEntry.


svn path=/branches/ntvdm/; revision=60923
2013-11-10 22:27:24 +00:00
Aleksandar Andrejevic
7c036fd0f7 [NTVDM]
Remove unnecessary indentation and clarify the code a bit.


svn path=/branches/ntvdm/; revision=60919
2013-11-10 18:14:40 +00:00
Hermès Bélusca-Maïto
e4946e8b85 [NTVDM]
Instead of reassembling each time the very same common stub code for each interrupt, do it once, and then assemble just a little part for each interrupt and jump to the common stub.
Now the 4DOS Ctrl-C exception bug changes, but I have an idea what's happening in there...

svn path=/branches/ntvdm/; revision=60917
2013-11-10 16:22:33 +00:00
Hermès Bélusca-Maïto
bf2731fb9f [NTVDM]
- BIOS: Reorganize a bit the header, and close the input thread before closing the input handle (and not after).
- INT32: Fix a comment.
- CMOS: Put CMOS data into a structure called CMOS_MEMORY, introduce READ/WRITE_CMOS_DATA macros for simplifying code. Save CMOS memory into a file (à la Windows' NTVDM), which is loaded at startup.

svn path=/branches/ntvdm/; revision=60913
2013-11-10 13:12:02 +00:00
Aleksandar Andrejevic
fda5745543 [FAST486]
The number of bit places in a shift operation is ANDed by the width of the type
when it is in a register, so (1 << c), when c is 32, is actually 1, and not 0.
Fix the calculation of MaxValue by using SignFlag | (SignFlag - 1) instead.


svn path=/branches/ntvdm/; revision=60912
2013-11-10 03:11:56 +00:00
Aleksandar Andrejevic
e62c987917 [NTVDM]
Fix the jump instruction offset. Spotted by Hermes Belusca-Maito.


svn path=/branches/ntvdm/; revision=60911
2013-11-10 01:19:50 +00:00
Aleksandar Andrejevic
cc89902e00 [NTVDM]
Don't enable interrupts unless it's necessary in the interrupt handler.
[FAST486]
When handling interrupt signals, make sure at least one instruction is executed,
to prevent the CPU from being completely blocked by interrupt signals.


svn path=/branches/ntvdm/; revision=60910
2013-11-10 00:53:05 +00:00
Hermès Bélusca-Maïto
dd9dafc7ff [NTVDM]
Finish my Interruption revamp.
- Move interrupt-related code from bop.c to int32.c
- Introduce InitializeInt32 helper so that one can initialize all the needed 16-bit stubs for the 32-bit interrupts.
- Remove unneeded defines in emulator.h and an exported variable in ntvdm.h.

svn path=/branches/ntvdm/; revision=60908
2013-11-09 23:01:11 +00:00
Hermès Bélusca-Maïto
6da6a5ce56 [NTVDM]
Start my work on modularizing registration of "32-bit" interrupts, i.e.
interrupts that are implemented in 32-bit mode, but are stubbed with 16-bit
code (so that 16-bit apps can call them).
The 16-bit stub code uses a BOP call to our Control BOP function (BOP 0xFF) which
can handle in theory many sub-functions (as the BOP 0x58 documented here: http://www.ragestorm.net/tutorial?id=27)
specified as an additional BYTE in the call:
0xC4 0xC4 bop_code <optional_bop_subfunction>
Here, for calling 32-bit interrupts we use our BOP 0xFF, subfunction 0xFF.
The final aim would be to generate the 16-bit stub code when one calls the RegisterInt32 helper function
(contrary to what's happening now, that is, the 16-bit stub code is generated for all of the interrupts
at BIOS initialization time, and we use it for BIOS and DOS interrupts).

svn path=/branches/ntvdm/; revision=60907
2013-11-09 22:15:40 +00:00
Hermès Bélusca-Maïto
bf61aa1278 [NTVDM]
- Make usage of MAKEWORD;
- Introduce BiosGetCursorPosition and use it in BiosPrintCharacter;
- Use EmulatorWriteMemory instead of VgaWriteMemory somewhere in BiosPrintCharacter;
- Add support for tabs in BiosPrintCharacter (taken from DosBox).

svn path=/branches/ntvdm/; revision=60906
2013-11-09 19:55:04 +00:00
Aleksandar Andrejevic
81a5adf885 [NTVDM]
Allow COM programs to exit with a simple near return to PSP:0000. Spotted by Thomas Faber.


svn path=/branches/ntvdm/; revision=60904
2013-11-09 18:10:21 +00:00
Aleksandar Andrejevic
f4f6809d67 [NTVDM]
Make the emulator callbacks non-static.
In BiosPrintCallback, use EmulatorWriteMemory instead of VgaWriteMemory, because
VgaWriteMemory does not do any input validation.
Improve EmulatorWriteMemory input validation and bound checking.


svn path=/branches/ntvdm/; revision=60903
2013-11-09 17:16:04 +00:00
Hermès Bélusca-Maïto
53d6212640 [NTVDM]: Fix informative comment.
svn path=/branches/ntvdm/; revision=60901
2013-11-09 16:19:14 +00:00
Aleksandar Andrejevic
c6b2a6efc7 [NTVDM]
Instead of repeating the BOP, simply handle both 0x51 and 0x62 as the same function.


svn path=/branches/ntvdm/; revision=60900
2013-11-09 16:15:24 +00:00
Hermès Bélusca-Maïto
fa940c2075 [NTVDM]
DOS: Implement INT 21h, AH 62h as a call to INT 21h, AH 51h.

svn path=/branches/ntvdm/; revision=60899
2013-11-09 16:11:52 +00:00
Hermès Bélusca-Maïto
592a3383e5 [NTVDM]: Improve DisplayMessage by also displaying the message in the debug log.
svn path=/branches/ntvdm/; revision=60898
2013-11-09 15:53:52 +00:00
Aleksandar Andrejevic
e801e2f0ea [NTVDM]
Display the opcode when an unhandled exception occurs.


svn path=/branches/ntvdm/; revision=60897
2013-11-09 15:48:07 +00:00
Hermès Bélusca-Maïto
ecd0b33743 [FAST486][NTVDM]: Rename the last two IO functions parameters in the same way as some CSR functions (ElementCount == DataCount; ElementSize == DataSize).
svn path=/branches/ntvdm/; revision=60896
2013-11-09 15:00:19 +00:00
Hermès Bélusca-Maïto
a106a3b21e [FAST486]: Code formatting only (remove endlines spaces).
svn path=/branches/ntvdm/; revision=60894
2013-11-09 14:23:40 +00:00
Hermès Bélusca-Maïto
aab2a03dc2 [FAST486]: Fix OUT instruction (IoWrite instead of IoRead).
svn path=/branches/ntvdm/; revision=60893
2013-11-09 14:15:39 +00:00
Aleksandar Andrejevic
43ee57f2f7 [FAST486][NTVDM]
The behavior of the I/O port bus depends on the data width. In the case
of 16-bit/32-bit access, two/four adjacent ports will be accessed.


svn path=/branches/ntvdm/; revision=60891
2013-11-09 03:30:27 +00:00
Hermès Bélusca-Maïto
e971f67673 [NTVDM]: Add offset information to the BIOS Data Area, and add missing fields. See the provided links in the patch for more information.
svn path=/branches/ntvdm/; revision=60890
2013-11-09 00:28:26 +00:00
Hermès Bélusca-Maïto
860c121da8 [NTVDM]
- BIOS: Implement INT 12h (BiosGetMemorySize)
- BOP/DOS: Add some DPRINTs for INT 25h, 2Fh and for unimplemented functions of INT 21h. It's for helping in testing 4DOS.COM

svn path=/branches/ntvdm/; revision=60889
2013-11-08 23:15:58 +00:00
Aleksandar Andrejevic
da4af40329 [NTVDM]
For better visibility, double the screen size if the resolution is too low.


svn path=/branches/ntvdm/; revision=60888
2013-11-08 21:56:30 +00:00
Hermès Bélusca-Maïto
3a1ae6ee3b [NTVDM]: Further modularize initialization/resetting of the VGA palette code.
svn path=/branches/ntvdm/; revision=60887
2013-11-08 20:06:10 +00:00
Aleksandar Andrejevic
fd61c2cba3 [NTVDM]
Implement the use of palettes for text mode. Adapted from a patch by Hermes Belusca-Maito.
Reset the palette during every BIOS video mode switch.


svn path=/branches/ntvdm/; revision=60886
2013-11-08 19:30:58 +00:00
Aleksandar Andrejevic
4f4d9fe5d2 [FAST486]
Implement LFS, LGS and MOVZX.


svn path=/branches/ntvdm/; revision=60878
2013-11-07 01:06:39 +00:00
Aleksandar Andrejevic
01c10ef5aa [FAST486]
Implement BSF, BSR and MOVSX.


svn path=/branches/ntvdm/; revision=60877
2013-11-07 00:57:08 +00:00
Hermès Bélusca-Maïto
248dda401d [NTVDM]: Code formatting only.
svn path=/branches/ntvdm/; revision=60876
2013-11-06 22:43:40 +00:00
Hermès Bélusca-Maïto
b41ec9f332 [NTVDM]
- Add a missing "goto Cleanup;"
- Add DPRINT1s at the beginning and the end of ntvdm, so that one can easily localize in debug logs where one started it. Suggested by Vampyre ;)

svn path=/branches/ntvdm/; revision=60860
2013-11-04 00:22:29 +00:00
Hermès Bélusca-Maïto
92ce0174ac [FAST486]: Code formatting only.
svn path=/branches/ntvdm/; revision=60857
2013-11-03 23:13:53 +00:00
Hermès Bélusca-Maïto
3b6b1a7f37 [FAST486]: Replace (boolean_condition) ? TRUE : FALSE; by: (boolean_condition) .
svn path=/branches/ntvdm/; revision=60856
2013-11-03 22:44:55 +00:00
Aleksandar Andrejevic
3fbe4cb107 [NTVDM]
Use BiosConsoleInput instead of calling GetStdHandle in the keyboard input thread.


svn path=/branches/ntvdm/; revision=60855
2013-11-03 21:52:58 +00:00
Aleksandar Andrejevic
36afa0ea12 [NTVDM]
Implement the CMOS and Real Time Clock (RTC).
Improve the performance of the PIT and RTC (correctly this time).


svn path=/branches/ntvdm/; revision=60854
2013-11-03 21:33:22 +00:00
Hermès Bélusca-Maïto
e9f8b230a6 [NTVDM]
Start to implement a basic emulated PC speaker, using the Beep driver.

svn path=/branches/ntvdm/; revision=60853
2013-11-03 20:31:19 +00:00
Aleksandar Andrejevic
6ecc2dfd24 [FAST486]
BP is certainly not the same register as BX.


svn path=/branches/ntvdm/; revision=60851
2013-11-03 18:31:00 +00:00
Aleksandar Andrejevic
a0587b741a [NTVDM]
Improve the I/O read/write callbacks to allow multiple reads or writes
at once.


svn path=/branches/ntvdm/; revision=60849
2013-11-03 14:37:30 +00:00
Hermès Bélusca-Maïto
c0a85cdfce [NTVDM]
Implement INT 10h, AH 10h, AL 10h, 12h, 15h and 17h (set/get individual or block of DAC registers).

svn path=/branches/ntvdm/; revision=60846
2013-11-03 13:25:01 +00:00
Aleksandar Andrejevic
67d77ecebe [NTVDM]
Halfplement the BIOS palette control command (INT 10h, AH = 10h).


svn path=/branches/ntvdm/; revision=60842
2013-11-03 03:22:36 +00:00
Aleksandar Andrejevic
6e6e0bac08 [FAST486]
The RCL, RCR, ROL and ROR instructions do not update SF, ZF or PF.


svn path=/branches/ntvdm/; revision=60841
2013-11-03 01:05:40 +00:00
Aleksandar Andrejevic
fde9609542 [NTVDM]
Fix resolution calculation when scanline doubling is enabled.


svn path=/branches/ntvdm/; revision=60827
2013-11-02 01:51:27 +00:00
Hermès Bélusca-Maïto
e9a30e1068 [NTVDM]: Add a DPRINT1 that can be useful later on...
svn path=/branches/ntvdm/; revision=60826
2013-11-02 01:24:27 +00:00
Aleksandar Andrejevic
d80b788ff4 [FAST486]
Fix segment initialization. The cached descriptors must have valid values
during the switch to protected mode.
For some odd reason, GCC makes the FAST486_GDT_ENTRY structure 12 bytes
instead of 8 if there is a bit field with more than 16 bits, so split
the Base field into Base and BaseMid.
Add size checks below important structure declarations.


svn path=/branches/ntvdm/; revision=60825
2013-11-02 00:47:43 +00:00
Aleksandar Andrejevic
dcbdbb7d9f [FAST486]
Implement opcode group 0x0F, 0x01 (SGDT, SIDT, LGDT, LIDT, SMSW and LMSW).
Only INVLPG is not implemented yet.


svn path=/branches/ntvdm/; revision=60824
2013-11-01 22:39:43 +00:00
Aleksandar Andrejevic
20c0db9f08 [FAST486]
Implement the XADD instruction.


svn path=/branches/ntvdm/; revision=60819
2013-11-01 02:48:28 +00:00
Hermès Bélusca-Maïto
5c220ef022 [FAST486]
Fix the type of a variable.

[NTVDM]
Introduce a BOP handler table for the 256 possible BOP functions and use it.

svn path=/branches/ntvdm/; revision=60818
2013-11-01 02:28:47 +00:00
Aleksandar Andrejevic
13b771ac15 [FAST486]
Fix a bug in the IRET instruction.


svn path=/branches/ntvdm/; revision=60817
2013-11-01 02:08:34 +00:00
Aleksandar Andrejevic
90d7fbd4a8 [NTVDM]
Revert a previous incorrect fix for the PIT.
Modify the PitDecrementCount function to take a parameter instead
of it being called multiple times (which is slower).


svn path=/branches/ntvdm/; revision=60816
2013-11-01 01:57:40 +00:00
Hermès Bélusca-Maïto
f62b9a81d4 Fix a comment...
svn path=/branches/ntvdm/; revision=60815
2013-11-01 01:51:15 +00:00
Hermès Bélusca-Maïto
861776bd7e [FAST486][NTVDM]
- Introduce a Fast486Initialize which is used to set up the CPU callbacks (and use default ones if some of the given callbacks are NULL), and to reset it the first time. Now Fast486Reset is meant to be used for only resetting the CPU to a safe state.
- Hence we are now sure that State->WhateverCallback is never NULL (and is theoretically valid), so don't do NULL-checks when calling them, but call them directly. The default cases for those checks become the default calls for the default callbacks.
- Remove the now-unneeded EmulatorIdle function.

svn path=/branches/ntvdm/; revision=60814
2013-11-01 01:46:58 +00:00
Aleksandar Andrejevic
1c12c6fe0d [FAST486]
In real mode, the value in the IVT is a far pointer, not an IDT entry.
Fix the case when MemReadCallback is NULL.


svn path=/branches/ntvdm/; revision=60813
2013-11-01 00:30:26 +00:00
Hermès Bélusca-Maïto
39a527a21e [FAST486][NTVDM]
BOP numbers are 1 byte and map to a function (over 255). But one can pass additional "parameters" to those functions by adding extra bytes, however such functions must advance "by hand" the instruction pointer.

[NTVDM]
- Take into account our previous remark for the BIOS interrupt stubs, and comment them.
- Rework EmulatorBiosOperation (move almost all of its existing code into subfunctions in bop.c) so that one can call many other BOP functions in the future (WIP). The BOP number (still called) EMULATOR_INT_BOP (of value 0xFF) is used for internal 16 --> 32 bit switching for our 32bit bios.
- It appears that the IoRead/WriteCallback and IdleCallback must not be NULL for using fast486. I'm committing a temporary fix that I will definitely fix in a subsequent commit.

svn path=/branches/ntvdm/; revision=60812
2013-11-01 00:01:07 +00:00
Aleksandar Andrejevic
b7ac8cf58e [NTVDM]
Fix an EOI condition in the BIOS IRQ handler.


svn path=/branches/ntvdm/; revision=60801
2013-10-30 22:42:32 +00:00
Hermès Bélusca-Maïto
da33c5532e Fix a comment.
svn path=/branches/ntvdm/; revision=60791
2013-10-29 21:46:47 +00:00
Hermès Bélusca-Maïto
4784c22d50 [NTVDM]: DOS:
- The DosErrorLevel is stored as a WORD: its LOWORD is the return code and the HIWORD is the termination code.
- When copying CurrentDirectories[...], be sure that we copy maximum DOS_DIR_LENGTH chars.
- Implement (or stubplement) bunch of INT 21h functions: 0x03, 0x04, 0x05, 0x0C, 0x0D, 0x26, 0x37, 0x47, 0x4D and 0x50. Functions 0x18, 0x1D, 0x1E and 0x20 are NULL functions present in DOS for CP/M compatibility only.
- Fix DOS version querying.
- Use set/getAX() instead of EmulatorSet/GetRegister, and use setCF instead of EmulatorSetFlag.

svn path=/branches/ntvdm/; revision=60790
2013-10-29 01:55:54 +00:00
Aleksandar Andrejevic
1c1febed17 [NTVDM]
Save the error code returned by applications.


svn path=/branches/ntvdm/; revision=60789
2013-10-29 00:10:14 +00:00
Aleksandar Andrejevic
97acc35c7c [NTVDM]
Improve performance by computing the resolution required by the PIT,
and then using the standard tick count instead of performance counters
when that resolution is low.


svn path=/branches/ntvdm/; revision=60783
2013-10-28 02:25:54 +00:00
Hermès Bélusca-Maïto
b8d8b21ebd Code formatting only.
svn path=/branches/ntvdm/; revision=60782
2013-10-27 23:42:16 +00:00
Hermès Bélusca-Maïto
76708ef246 [NTVDM]
- DOS: the DOS file attributes are one byte.
- BIOS: don't use hardcoded values; use the SEG_OFF_TO_PTR macro introduced earlier; use get/setAX instead of EmulatorGet/SetRegister.

svn path=/branches/ntvdm/; revision=60781
2013-10-27 23:39:52 +00:00
Hermès Bélusca-Maïto
09d991b838 [NTVDM]
DOS: Make use of get/setAX and consorts instead of EmulatorGet/SetRegister(EMULATOR_REG_AX, ...).
Start to implement real (but undocumented?) behaviour according to http://www.delorie.com/djgpp/doc/rbinter/
and http://www.datadoctor.biz/fr/data_recovery_programming_book_chapter6-pageXX.html (change XX by a valid page number)
and http://spike.scu.edu.au/~barry/interrupts.html

svn path=/branches/ntvdm/; revision=60778
2013-10-27 22:31:53 +00:00
Hermès Bélusca-Maïto
d35b972d75 [NTVDM]: Use SEG_OFF_TO_PTR ( $+ \epsilon * code _eorganization$ ).
svn path=/branches/ntvdm/; revision=60776
2013-10-27 22:13:18 +00:00
Hermès Bélusca-Maïto
720ab73ec3 [NTVDM]: DPRINT1 ReadConsoleInput failures (for debugging purposes) and remove an unneeded comment.
svn path=/branches/ntvdm/; revision=60775
2013-10-27 22:10:51 +00:00
Hermès Bélusca-Maïto
b8fa6d1de4 [NTVDM]: Introduce the SEG_OFF_TO_PTR macro for code simplification purposes.
svn path=/branches/ntvdm/; revision=60774
2013-10-27 22:08:41 +00:00
Aleksandar Andrejevic
7e0285b710 [NTVDM]
The PS/2 should latch the last value that was read in the case of multiple reads.
Modify the BIOS keyboard IRQ handler to support hooks.


svn path=/branches/ntvdm/; revision=60773
2013-10-27 19:08:58 +00:00
Aleksandar Andrejevic
37430c188b [NTVDM]
Simplify BiosPeekCharacter.
Implement DOS direct console I/O functions.


svn path=/branches/ntvdm/; revision=60772
2013-10-27 16:34:27 +00:00
Aleksandar Andrejevic
161fc791e4 [NTVDM]
Implement the BIOS keyboard shift flags.


svn path=/branches/ntvdm/; revision=60771
2013-10-27 14:57:12 +00:00
Hermès Bélusca-Maïto
d9c072aba2 [NTVDM]
Implement all the missing INT 16h functions but 03h. Also, for simplification purposes (should be fixed later on) act exactly the same for INT 00h and 10h, and for INT 01h and 11h.
Finally, one has to implement setting the BIOS KeybdShiftFlags flag.

svn path=/branches/ntvdm/; revision=60770
2013-10-27 14:17:34 +00:00
Hermès Bélusca-Maïto
4d28af9bb5 [NTVDM]: Fix the callback prototypes.
svn path=/branches/ntvdm/; revision=60769
2013-10-27 12:17:06 +00:00
Hermès Bélusca-Maïto
2c8e8ba5d3 [FAST486]
- Remove an unneeded inclusion to the CRT header: limits.h (and use instead NDK definitions for max/min long values).
- Remove unneeded comments...
[NTVDM]
Remove an unneeded add_dependencies(...) command.

svn path=/branches/ntvdm/; revision=60767
2013-10-27 11:42:44 +00:00
Aleksandar Andrejevic
62da9a9deb [FAST486]
Physical memory read/write callbacks don't need to return a value.


svn path=/branches/ntvdm/; revision=60765
2013-10-27 01:38:24 +00:00
Aleksandar Andrejevic
8800ea89d1 [NTVDM]
Push scancodes on to the BIOS keyboard queue even if they're not ASCII.


svn path=/branches/ntvdm/; revision=60764
2013-10-27 01:33:15 +00:00
Aleksandar Andrejevic
f5d3c9254c [FAST486]
Separate external interrupts from interrupt signals (which are
interrupts whose number is not known until they can be serviced,
just like hardware interrupts on a real CPU).
[NTVDM]
Improve the PIC emulation code (IRQ priorities, etc...).
Instead of checking for interrupts in the main loop, move the
PS/2 input parsing to a different thread.
Improve BIOS keyboard IRQ handling.


svn path=/branches/ntvdm/; revision=60761
2013-10-27 00:37:01 +00:00
Hermès Bélusca-Maïto
fcbe98e6b6 [SOFTX86]
Remove the now-unneeded headers. Bye-bye SoftX86 !

svn path=/branches/ntvdm/; revision=60758
2013-10-26 21:26:28 +00:00
Aleksandar Andrejevic
e954b0db71 [SOFTX86]
Remove softx86, as it is no longer used by anything.


svn path=/branches/ntvdm/; revision=60757
2013-10-26 20:53:33 +00:00
Aleksandar Andrejevic
0981b0859f [NTVDM]
Remove softx86 support, and use only fast486, since it is now
sufficiently functional.


svn path=/branches/ntvdm/; revision=60755
2013-10-26 20:48:31 +00:00
Aleksandar Andrejevic
68de967fb2 [NTVDM]
Fix the "Read Buffered Input" command and implement "Get STDIN Status".


svn path=/branches/ntvdm/; revision=60753
2013-10-26 18:01:40 +00:00
Aleksandar Andrejevic
dfd1c031d6 [FAST486]
Implement the CLTS instruction.


svn path=/branches/ntvdm/; revision=60752
2013-10-26 17:33:10 +00:00
Aleksandar Andrejevic
1525a235a2 [FAST486]
Implement the MOV instruction for control and debug registers.
Remove definitions for non-existant registers CR1, CR4, CR5, CR6 and CR7.
The standard 80486 doesn't have a CR4 register (although some implementations
of the 80486 had large page support and CR4, it was not reliable).
As for the debug registers, DR4 is the same as DR6, and DR5 is the same as DR7.


svn path=/branches/ntvdm/; revision=60747
2013-10-26 00:56:11 +00:00
Aleksandar Andrejevic
87f5903d48 [FAST486]
Implement extended opcode groups 0xB9 (UD2) and 0xBA (BT/BTS/BTR/BTC).


svn path=/branches/ntvdm/; revision=60745
2013-10-25 18:15:24 +00:00
Aleksandar Andrejevic
01d5a36cf5 [NTVDM]
Remove the code that performs waiting in 32-bit mode since that blocks the emulator
and prevents interrupts from working.
Implement a 16-bit waiting system in the interrupt handlers.
Fix the PS/2 interrupt code.


svn path=/branches/ntvdm/; revision=60739
2013-10-24 01:01:49 +00:00
Aleksandar Andrejevic
5eb7c07bb8 Sync with trunk for console graphics palettes.
svn path=/branches/ntvdm/; revision=60735
2013-10-23 00:26:50 +00:00
Aleksandar Andrejevic
ba466dbba3 [NTVDM]
Implement the "Get Default Drive" DOS command.


svn path=/branches/ntvdm/; revision=60724
2013-10-20 15:01:28 +00:00
Aleksandar Andrejevic
67b093f38c [FAST486]
Create a macro SWAP (swaps two variables) to shorten the code.
Implement the BSWAP instruction.


svn path=/branches/ntvdm/; revision=60717
2013-10-20 00:55:31 +00:00
Aleksandar Andrejevic
a93095e678 [FAST486]
Implement BT, BTS, BTR and BTC.


svn path=/branches/ntvdm/; revision=60716
2013-10-20 00:25:41 +00:00
Aleksandar Andrejevic
1a968e6f61 [FAST486]
Fix more prefix handling.
Create the macros TOGGLE_ADSIZE and TOGGLE_OPSIZE to shorten the code.


svn path=/branches/ntvdm/; revision=60715
2013-10-19 23:43:53 +00:00
Aleksandar Andrejevic
97c51f53c4 [FAST486]
Fix prefix handling.
Create a macro NO_LOCK_PREFIX to shorten the code.


svn path=/branches/ntvdm/; revision=60714
2013-10-19 23:03:40 +00:00
Aleksandar Andrejevic
75a0ca07a1 [FAST486]
Implement CMPXCHG.


svn path=/branches/ntvdm/; revision=60712
2013-10-19 18:56:58 +00:00
Aleksandar Andrejevic
a98544e517 [FAST486]
Implement PUSH/POP FS/GS.


svn path=/branches/ntvdm/; revision=60711
2013-10-19 18:36:04 +00:00
Aleksandar Andrejevic
ca7d21eff4 [FAST486]
The 80486 doesn't have any time stamp counter (TSC) at all.


svn path=/branches/ntvdm/; revision=60710
2013-10-19 18:28:27 +00:00
Aleksandar Andrejevic
d3bc33ee5d [FAST486]
And add those newly implemented opcodes into the table...


svn path=/branches/ntvdm/; revision=60708
2013-10-19 18:00:19 +00:00
Aleksandar Andrejevic
7105c52d86 [FAST486]
Implement SETO, SETNO, SETC, SETNC, SETZ, SETNZ, SETBE, SETNBE, SETS, SETNS, SETP
SETNP, SETL, SETNL, SETLE and SETNLE.


svn path=/branches/ntvdm/; revision=60706
2013-10-19 17:57:26 +00:00
Aleksandar Andrejevic
2583e4f51e [FAST486]
Remove TODOs for instructions that don't exist on the 80486.


svn path=/branches/ntvdm/; revision=60704
2013-10-19 17:29:44 +00:00
Hermès Bélusca-Maïto
51040fc61e Bye bye Soft386, welcome Fast486, courtesy Aleksandar Andrejevic.
[NTVDM]: Define by default NEW_EMULATOR, i.e. use Fast486 instead of softx86.

svn path=/branches/ntvdm/; revision=60703
2013-10-19 16:55:51 +00:00
Aleksandar Andrejevic
9b02129308 [SOFT386]
Implement extended conditional jumps.


svn path=/branches/ntvdm/; revision=60699
2013-10-19 00:35:06 +00:00
Aleksandar Andrejevic
2095b2a844 [SOFT386]
Number the opcodes in the TODO list.


svn path=/branches/ntvdm/; revision=60698
2013-10-19 00:19:57 +00:00
Aleksandar Andrejevic
2462a558df [NTVDM]
Add a hack to fix screen updates while waiting for a keypress.


svn path=/branches/ntvdm/; revision=60697
2013-10-19 00:04:11 +00:00
Aleksandar Andrejevic
0e8be812b0 [SOFT386]
Implement the hardware interrupt system.
Modify Soft386Interrupt to assume hardware interrupts, because
software interrupts from outside the emulator may cause race conditions.


svn path=/branches/ntvdm/; revision=60696
2013-10-18 22:50:00 +00:00
Aleksandar Andrejevic
3041ad0330 [SOFT386]
Fix previous fix.


svn path=/branches/ntvdm/; revision=60695
2013-10-18 22:01:35 +00:00
Aleksandar Andrejevic
fb5036618e [SOFT386]
Fix typecasts to make sure the value is sign-extended.


svn path=/branches/ntvdm/; revision=60694
2013-10-18 21:45:10 +00:00
Amine Khaldi
25445ea35f * Sync up to trunk head (r60691).
svn path=/branches/ntvdm/; revision=60692
2013-10-17 11:19:05 +00:00
Aleksandar Andrejevic
6bbc6fef9a [SOFT386]
Allow the DS segment to overriden in LODS, MOVS and CMPS.


svn path=/branches/ntvdm/; revision=60689
2013-10-16 03:44:06 +00:00
Aleksandar Andrejevic
40ed113494 [SOFT386]
Implement the far absolute indirect JMP/CALL instructions in group 0xFF.


svn path=/branches/ntvdm/; revision=60688
2013-10-16 03:14:12 +00:00
Aleksandar Andrejevic
489dfb314e [SOFT386]
Fix bugs in SF calculation.


svn path=/branches/ntvdm/; revision=60687
2013-10-16 02:22:40 +00:00
Aleksandar Andrejevic
1df88c9d1d [SOFT386]
Implement the near absolute indirect JMP/CALL in opcode group 0xFF.


svn path=/branches/ntvdm/; revision=60686
2013-10-16 01:44:39 +00:00
Aleksandar Andrejevic
4b14d9a672 [SOFT386]
Start implementing call gate support.
Implement the direct far call opcode (0x9A).


svn path=/branches/ntvdm/; revision=60685
2013-10-16 00:41:24 +00:00
Aleksandar Andrejevic
2f4594cf30 [SOFT386]
Implement the PUSH instruction in opcode group 0xFF.


svn path=/branches/ntvdm/; revision=60681
2013-10-15 19:03:40 +00:00
Aleksandar Andrejevic
151db5ddd0 [SOFT386]
Implement far returns (both versions in Soft386OpcodeRetFar).


svn path=/branches/ntvdm/; revision=60680
2013-10-15 18:54:11 +00:00
Aleksandar Andrejevic
8d2a19ae5d [SOFT386]
Implement far jumps.


svn path=/branches/ntvdm/; revision=60679
2013-10-15 17:27:23 +00:00
Aleksandar Andrejevic
642b52c4e1 [SOFT386]
Halfplement REPZ/REPNZ for CMPS and SCAS.


svn path=/branches/ntvdm/; revision=60658
2013-10-13 23:59:52 +00:00
Aleksandar Andrejevic
4ad8a401ef [SOFT386]
Implement the REP prefix for MOVS.
Fix the REP prefix in INS, OUTS and STOS to simulate the DI
wrap-around even if DF is set.


svn path=/branches/ntvdm/; revision=60645
2013-10-13 21:15:01 +00:00
Aleksandar Andrejevic
c425bbc689 [SOFT386]
Implement Soft386Interrupt.
[NTVDM]
Implement EmulatorInterrupt and EmulatorExternalInterrupt for NEW_EMULATOR.


svn path=/branches/ntvdm/; revision=60628
2013-10-12 13:58:34 +00:00
Aleksandar Andrejevic
a2e0e03ee6 [SOFT386]
- Fix calculation of the AF flag in opcode groups 0xFE and 0xFF (INC/DEC).
- Fix a bug in the REP prefix by simulating the wrap-around of DI which
  can occur when the current address size is 16-bit.
- Exception error codes are only pushed on the stack in protected mode.


svn path=/branches/ntvdm/; revision=60625
2013-10-11 23:45:42 +00:00
Aleksandar Andrejevic
8dff09c37a [SOFT386]
Improve the performance of Soft386CalculateParity.


svn path=/branches/ntvdm/; revision=60621
2013-10-11 20:54:46 +00:00
Aleksandar Andrejevic
da5b8fc439 [SOFT386]
Fix prefix handling.


svn path=/branches/ntvdm/; revision=60620
2013-10-11 20:48:19 +00:00
Aleksandar Andrejevic
47390630ed [SOFT386]
Fix a bad call to RtlFillMemory.


svn path=/branches/ntvdm/; revision=60618
2013-10-11 19:24:58 +00:00
Aleksandar Andrejevic
37059f6dfc [SOFT386]
Fix incorrect (reverse) handling of the DF flag.


svn path=/branches/ntvdm/; revision=60617
2013-10-11 19:02:06 +00:00
Aleksandar Andrejevic
caf9a0a671 [SOFT386]
Implement the REP prefix for OUTS, LODS and STOS.


svn path=/branches/ntvdm/; revision=60616
2013-10-11 18:34:31 +00:00
Aleksandar Andrejevic
20486fd1b7 [SOFT386]
Clear the memory block before it's used.


svn path=/branches/ntvdm/; revision=60612
2013-10-11 16:31:35 +00:00
Aleksandar Andrejevic
800969b126 [SOFT386]
Fix a bug in Soft386ExceptionWithErrorCode. The instruction pointer exceptions can
return to should point to the instruction that caused the exception.


svn path=/branches/ntvdm/; revision=60603
2013-10-11 12:24:05 +00:00
Aleksandar Andrejevic
b22da55f8f [SOFT386]
Implement the REP prefix for the INS instruction.


svn path=/branches/ntvdm/; revision=60600
2013-10-10 19:01:41 +00:00
Aleksandar Andrejevic
aef0bf1635 [SOFT386]
Implement an API for external segment modification.
[NTVDM]
Implement EmulatorSetRegister for NEW_EMULATOR.


svn path=/branches/ntvdm/; revision=60591
2013-10-09 21:48:52 +00:00
Aleksandar Andrejevic
e9829f1830 [SOFT386]
Fix the carry flag in the SAR instruction.


svn path=/branches/ntvdm/; revision=60589
2013-10-09 19:49:41 +00:00
Aleksandar Andrejevic
10523b910e [SOFT386]
Don't single-step on a prefix. Single-step should execute one whole instruction.


svn path=/branches/ntvdm/; revision=60588
2013-10-09 19:11:42 +00:00
Aleksandar Andrejevic
182d7c8725 [SOFT386]
Fix more prefix handling code.
Implement the XLAT instruction.


svn path=/branches/ntvdm/; revision=60586
2013-10-09 00:36:37 +00:00
Aleksandar Andrejevic
9339e12e69 [SOFT386]
Fix prefix handling.


svn path=/branches/ntvdm/; revision=60585
2013-10-08 23:03:56 +00:00
Aleksandar Andrejevic
7078f183fb [SOFT386]
Fix a bug in the CMP instruction.
Implement the SBB instruction.


svn path=/branches/ntvdm/; revision=60584
2013-10-08 22:27:48 +00:00
Aleksandar Andrejevic
f25d1a9f2a [SOFT386]
Implement opcode group 0xF7.


svn path=/branches/ntvdm/; revision=60582
2013-10-07 20:38:01 +00:00
Aleksandar Andrejevic
95b0bb7b60 [SOFT386]
Implement opcode group 0xF6.


svn path=/branches/ntvdm/; revision=60568
2013-10-06 23:57:41 +00:00
Aleksandar Andrejevic
f10f82d938 [SOFT386]
Start implementing extended opcodes.


svn path=/branches/ntvdm/; revision=60562
2013-10-06 15:22:52 +00:00
Aleksandar Andrejevic
15a8cc4515 [SOFT386]
Set the opcode handler for the INS and OUTS instructions to be
Soft386OpcodeIns and Soft386OpcodeOuts, respectively.


svn path=/branches/ntvdm/; revision=60543
2013-10-05 20:12:08 +00:00
Aleksandar Andrejevic
fbcc4ad158 [SOFT386]
Halfplement INS and OUTS.


svn path=/branches/ntvdm/; revision=60540
2013-10-05 20:06:19 +00:00
Aleksandar Andrejevic
0043c2f377 [NTVDM]
Properly handle the case when the console framebuffer could not be created.


svn path=/branches/ntvdm/; revision=60526
2013-10-04 21:16:58 +00:00
Aleksandar Andrejevic
3593b8c8ef [SOFT386]
Fix bugs in STOS and LODS (only one register is incremented).
Implement CMPS and SCAS.


svn path=/branches/ntvdm/; revision=60525
2013-10-04 19:51:11 +00:00
Aleksandar Andrejevic
c190ca817c [SOFT386]
Halfplement MOVS, STOS and LODS.
Stubplement CMPS and SCAS.


svn path=/branches/ntvdm/; revision=60515
2013-10-03 20:56:36 +00:00
Aleksandar Andrejevic
c2e98bca7f [SOFT386]
Implement the (undocumented) opcode SALC.


svn path=/branches/ntvdm/; revision=60492
2013-10-01 15:02:07 +00:00
Aleksandar Andrejevic
49616f8975 [SOFT386]
Halfplement group 0xFF (Only INC/DEC).


svn path=/branches/ntvdm/; revision=60487
2013-10-01 01:31:36 +00:00
Aleksandar Andrejevic
5ef6274619 [SOFT386]
Fix the header in soft386.h.


svn path=/branches/ntvdm/; revision=60486
2013-09-30 22:13:51 +00:00
Aleksandar Andrejevic
17a32f3b2a [SOFT386]
Change the license of Soft386 to GPLv2. The previous license was also
GPLv2, but it had a runtime linking exception. The new license is the
original GPLv2 with no exceptions.


svn path=/branches/ntvdm/; revision=60485
2013-09-30 22:01:38 +00:00
Aleksandar Andrejevic
1294b156ea [SOFT386]
Fix previous fix.


svn path=/branches/ntvdm/; revision=60468
2013-09-30 03:10:38 +00:00
Aleksandar Andrejevic
d4d6e6eca9 [SOFT386]
Fix limit check.


svn path=/branches/ntvdm/; revision=60467
2013-09-30 03:05:08 +00:00
Aleksandar Andrejevic
6bde6a89b7 [SOFT386]
Fix previous fix.


svn path=/branches/ntvdm/; revision=60466
2013-09-30 02:28:17 +00:00
Aleksandar Andrejevic
462be21fd0 [SOFT386]
Remove whitespace from empty line.
Fix addressing bug.


svn path=/branches/ntvdm/; revision=60465
2013-09-30 02:06:55 +00:00
Aleksandar Andrejevic
79355ae971 [SOFT386]
Fix prefix handling.


svn path=/branches/ntvdm/; revision=60464
2013-09-30 00:27:56 +00:00
Aleksandar Andrejevic
b9a1962978 [SOFT386]
Fix the LOOP instruction. LOOP should loop while ECX is not zero, not otherwise.


svn path=/branches/ntvdm/; revision=60463
2013-09-30 00:02:53 +00:00
Aleksandar Andrejevic
ed24b5ee8e [SOFT386]
Fetching the immediate operand once is sufficient.


svn path=/branches/ntvdm/; revision=60462
2013-09-29 23:45:06 +00:00
Aleksandar Andrejevic
747864f105 [SOFT386]
Move the code for ADD/OR/ADC/SBB/AND/SUB/XOR/CMP to Soft386ArithmeticOperation,
and use that function to implement groups 0x80, 0x81, 0x82 and 0x83.


svn path=/branches/ntvdm/; revision=60461
2013-09-29 23:38:31 +00:00
Aleksandar Andrejevic
fce8b3f276 [SOFT386]
The immediate operand should be fetched before attempting to read the
MOD-REG-R/M byte operands.


svn path=/branches/ntvdm/; revision=60460
2013-09-29 22:24:46 +00:00
Aleksandar Andrejevic
6605a6f215 [SOFT386]
Implement opcode groups 0xC0 and 0xC1, also using Soft386RotateOperation.
Remove two unnecessary blank lines.


svn path=/branches/ntvdm/; revision=60459
2013-09-29 22:23:01 +00:00
Aleksandar Andrejevic
e365b99113 [SOFT386]
Move the ROL/ROR/RCL/RCR/SHL/SHR/SAL/SAR handling code to Soft386RotateOperation,
then use that to implement opcode groups 0xD0, 0xD1, 0xD2 and 0xD3.


svn path=/branches/ntvdm/; revision=60458
2013-09-29 22:15:32 +00:00
Aleksandar Andrejevic
4490103840 [SOFT386]
Implement opcode group 0xD0 (instructions ROL, ROR, RCL, RCR, SHL, SHR, SAL, SAR).


svn path=/branches/ntvdm/; revision=60455
2013-09-29 18:39:59 +00:00
Aleksandar Andrejevic
9328c2226b [SOFT386]
Implement opcode group 0xFE.


svn path=/branches/ntvdm/; revision=60453
2013-09-29 16:07:06 +00:00
Aleksandar Andrejevic
f7a2f36dd0 [SOFT386]
Implement opcode groups 0xC6 and 0xC7.


svn path=/branches/ntvdm/; revision=60452
2013-09-29 16:01:10 +00:00
Aleksandar Andrejevic
87a7896249 [SOFT386]
Implement opcode group 0x8F.


svn path=/branches/ntvdm/; revision=60451
2013-09-29 15:52:20 +00:00
Aleksandar Andrejevic
9331ef28b9 [SOFT386]
Implement opcode group 0x80. Group 0x82 is just an alias to group 0x80.


svn path=/branches/ntvdm/; revision=60450
2013-09-29 15:04:43 +00:00
Aleksandar Andrejevic
abf9647dd9 [SOFT386]
Stubplement opcode group handlers.


svn path=/branches/ntvdm/; revision=60441
2013-09-28 18:56:58 +00:00
Aleksandar Andrejevic
2812f2f8a5 [SOFT386]
Disallow direct writing to CS. Changing CS must be done with a far jump.


svn path=/branches/ntvdm/; revision=60399
2013-09-28 03:15:48 +00:00
Aleksandar Andrejevic
6db4f4e558 [SOFT386]
Implement MOV for segment registers.


svn path=/branches/ntvdm/; revision=60398
2013-09-28 03:01:07 +00:00
Aleksandar Andrejevic
0c91026f75 [NTVDM]
Change the instruction in the interrupt handlers to "INC SP" twice
instead of one "ADD SP, 2". It's shorter and supported by soft386 already.


svn path=/branches/ntvdm/; revision=60397
2013-09-28 00:55:28 +00:00
Aleksandar Andrejevic
cad18120fa [SOFT386]
Fix the BOP opcode. It's LES AX, SP not LES AX, BP.


svn path=/branches/ntvdm/; revision=60396
2013-09-28 00:46:04 +00:00
Aleksandar Andrejevic
7e119cf40b [SOFT386]
Implement the LES and LDS instructions.
Add optional support for BOPs (NTVDM-specific).
Fix prefix handling in some functions.
[NTVDM]
Enable BOPs for Soft386 (when NEW_EMULATOR is defined).
Fix the calling convention issue (softx86 uses cdecl, soft386 uses stdcall).


svn path=/branches/ntvdm/; revision=60395
2013-09-28 00:29:16 +00:00
Aleksandar Andrejevic
dc29fa9ab1 [SOFT386]
Fix the return to VM86 mode. The VM flag must be set before the call to Soft386LoadSegment.


svn path=/branches/ntvdm/; revision=60393
2013-09-27 21:23:34 +00:00
Aleksandar Andrejevic
78e8653765 [SOFT386]
Halfplement the IRET instruction (everything except task switching).


svn path=/branches/ntvdm/; revision=60392
2013-09-27 21:18:09 +00:00
Aleksandar Andrejevic
e05e583e56 [SOFT386]
Implement the ENTER instruction.


svn path=/branches/ntvdm/; revision=60350
2013-09-25 18:34:57 +00:00
Aleksandar Andrejevic
597a77ed3c [SOFT386]
Implement the IMUL instruction. Both versions have been implemented in Soft386OpcodeImulModrm.


svn path=/branches/ntvdm/; revision=60344
2013-09-23 17:29:42 +00:00
Aleksandar Andrejevic
442b56b45b [SOFT386]
Implement the AAM and AAD instructions.


svn path=/branches/ntvdm/; revision=60342
2013-09-23 16:03:23 +00:00
Aleksandar Andrejevic
b5a9d7490a [SOFT386]
Implement the POPF instruction.


svn path=/branches/ntvdm/; revision=60341
2013-09-23 14:10:14 +00:00
Aleksandar Andrejevic
432372c3b6 [SOFT386]
Implement the MOV AL/AX/EAX, off16/32 and MOV off16/32, AL/AX/EAX instructions.


svn path=/branches/ntvdm/; revision=60289
2013-09-21 18:44:59 +00:00
Aleksandar Andrejevic
60a7ff2e92 [SOFT386]
Implement the PUSHF instruction.


svn path=/branches/ntvdm/; revision=60261
2013-09-21 02:33:01 +00:00
Aleksandar Andrejevic
6a2d76ab68 [SOFT386]
Fix prefix handling.


svn path=/branches/ntvdm/; revision=60260
2013-09-21 02:18:41 +00:00
Aleksandar Andrejevic
9d7137b757 [SOFT386]
Fix the CALL instruction. The offset must be fetched before EIP is pushed.


svn path=/branches/ntvdm/; revision=60259
2013-09-21 01:00:36 +00:00
Aleksandar Andrejevic
56948f4801 [SOFT386]
Remove whitespace from empty line.


svn path=/branches/ntvdm/; revision=60258
2013-09-21 00:45:28 +00:00
Aleksandar Andrejevic
7328873681 [SOFT386]
Implement external stack modification.
[NTVDM]
Implement EmulatorSetStack for NEW_EMULATOR.


svn path=/branches/ntvdm/; revision=60257
2013-09-21 00:41:41 +00:00
Aleksandar Andrejevic
34157419d7 [SOFT386]
Implement the INT, INT3 and INTO instructions (all 3 in Soft386OpcodeInt).


svn path=/branches/ntvdm/; revision=60256
2013-09-21 00:18:59 +00:00
Aleksandar Andrejevic
1d3d2fc07a [SOFT386]
Implement the RET instruction.


svn path=/branches/ntvdm/; revision=60229
2013-09-19 23:24:05 +00:00
Aleksandar Andrejevic
d3a6556ea5 [SOFT386]
Implement JECXZ, LOOP, LOOPZ and LOOPNZ.


svn path=/branches/ntvdm/; revision=60226
2013-09-19 22:48:45 +00:00
Aleksandar Andrejevic
3dc329ae81 [SOFT386]
Implement the LEAVE instruction.


svn path=/branches/ntvdm/; revision=60201
2013-09-18 21:13:40 +00:00
Hermès Bélusca-Maïto
9620dafb0c [SOFT386]
Use SOFT386_EXCEPTIONS instead of INT for the ExceptionCode parameter in Soft386ExceptionWithErrorCode and Soft386Exception.

svn path=/branches/ntvdm/; revision=60196
2013-09-17 23:17:50 +00:00
Aleksandar Andrejevic
f9dd2776ab [SOFT386]
Fix the ARPL instruction.
Use "inline" instead of FORCEINLINE for static functions.


svn path=/branches/ntvdm/; revision=60195
2013-09-17 23:12:25 +00:00
Hermès Bélusca-Maïto
9e913c05f5 Fix a compilation error.
svn path=/branches/ntvdm/; revision=60194
2013-09-17 23:10:26 +00:00
Hermès Bélusca-Maïto
85f05060e4 [SOFT386]
- Put inlined functions in a .inl file, which gets included by the corresponding header file (i.e. fix MSVC builds).
- Use enums types instead of "only" INTs...

svn path=/branches/ntvdm/; revision=60193
2013-09-17 23:02:22 +00:00
Hermès Bélusca-Maïto
c27ff5b52f [SOFT386]
- Code formatting (align on 4-space)
- Fix union / struct problem in _SOFT386_PAGE_TABLE.

svn path=/branches/ntvdm/; revision=60189
2013-09-17 21:47:38 +00:00
Hermès Bélusca-Maïto
7588e8cb68 Add a fictitious (commented) field to help the reader to know that indeed, the high bits are indeed reserved.
svn path=/branches/ntvdm/; revision=60188
2013-09-17 21:27:29 +00:00
Aleksandar Andrejevic
375bcfd674 [SOFT386]
Fix hypothetical bug.


svn path=/branches/ntvdm/; revision=60187
2013-09-17 21:15:52 +00:00
Aleksandar Andrejevic
593f4baf1a [SOFT386]
Fix struct/union mixup.


svn path=/branches/ntvdm/; revision=60186
2013-09-17 20:57:35 +00:00
Hermès Bélusca-Maïto
1baee6b6b5 [SOFT386]: Fix compilation with MSVC.
svn path=/branches/ntvdm/; revision=60185
2013-09-17 20:41:26 +00:00
Aleksandar Andrejevic
bbb37c9152 [SOFT386]
Implement Soft386OpcodeTestAl and Soft386OpcodeTestEax.
These functions were declared and referenced, but never defined.
Why the compiler allowed that without even a warning remains a mystery.


svn path=/branches/ntvdm/; revision=60183
2013-09-17 20:28:26 +00:00
Aleksandar Andrejevic
b78a6cb212 [SOFT386]
Implement the direct relative near call (CALL rel16/32) instruction.


svn path=/branches/ntvdm/; revision=60147
2013-09-15 18:26:25 +00:00
Aleksandar Andrejevic
429d182d64 [SOFT386]
Implement JMP rel16/32


svn path=/branches/ntvdm/; revision=60146
2013-09-15 18:18:58 +00:00
Aleksandar Andrejevic
99dd92ffa0 [SOFT386]
Implement LAHF, SAHF, LEA and PUSH imm16/32


svn path=/branches/ntvdm/; revision=60144
2013-09-15 18:02:41 +00:00
Aleksandar Andrejevic
e1e34dc171 [SOFT386]
Implement MOV (mod-reg-r/m).


svn path=/branches/ntvdm/; revision=60136
2013-09-15 15:30:55 +00:00
Aleksandar Andrejevic
5439ace9d6 [SOFT386]
Start implementing paging support.
Add support for exception error codes.


svn path=/branches/ntvdm/; revision=60089
2013-09-13 23:01:18 +00:00
Aleksandar Andrejevic
a8c1104f57 [SOFT386]
Implement ARPL.


svn path=/branches/ntvdm/; revision=60050
2013-09-12 00:05:23 +00:00
Aleksandar Andrejevic
76b87315a8 [SOFT386]
Implement PUSHA and POPA.


svn path=/branches/ntvdm/; revision=60049
2013-09-11 23:31:35 +00:00
Aleksandar Andrejevic
f092154985 [SOFT386]
Implement many instructions (including ADC, SUB, CDQ, CWDE, ...), and "stubplement" even more of them.


svn path=/branches/ntvdm/; revision=60011
2013-09-10 20:41:43 +00:00
Aleksandar Andrejevic
333e29b35d [SOFT386]
Add the instructions implemented in the previous commit to the opcode table.


svn path=/branches/ntvdm/; revision=59995
2013-09-05 23:50:42 +00:00
Aleksandar Andrejevic
ddcbb9ee92 [SOFT386]
Implement the TEST instruction, and the XCHG instruction which uses MOD-REG-R/M for operands.


svn path=/branches/ntvdm/; revision=59994
2013-09-05 23:48:07 +00:00
Hermès Bélusca-Maïto
a25c3f44b6 [SOFT386]: Fix build (addendum to revision 59990).
svn path=/branches/ntvdm/; revision=59993
2013-09-04 20:40:43 +00:00
Aleksandar Andrejevic
f0040c12e8 [SOFT386]
Implement the OR, AND and XOR instructions.


svn path=/branches/ntvdm/; revision=59991
2013-09-04 18:28:58 +00:00
Aleksandar Andrejevic
9fd42c0f7d [SOFT386]
Fix a typo.
Use a macro (SOFT386_OPCODE_HANDLER) for function definitions of opcode handlers.
Implement the rest of the ADD opcodes.


svn path=/branches/ntvdm/; revision=59990
2013-09-04 16:36:39 +00:00
Aleksandar Andrejevic
5f874178e7 [SOFT386]
Implement helper functions for reading/writing operands of instructions that use
the MOD-REG-R/M byte.
Implement the MOD-REG-R/M ADD instruction for bytes.


svn path=/branches/ntvdm/; revision=59981
2013-09-04 01:11:12 +00:00
Aleksandar Andrejevic
6f2f5335c2 [SOFT386]
Implement "MOD-REG-R/M" byte decoding.


svn path=/branches/ntvdm/; revision=59959
2013-09-01 23:49:57 +00:00
Aleksandar Andrejevic
b61bbb9d66 [SOFT386]
Implement the "MOV reg8, imm8" instruction.


svn path=/branches/ntvdm/; revision=59952
2013-09-01 17:54:51 +00:00
Aleksandar Andrejevic
179627bf40 [SOFT386]
Implement the opcodes for MOV reg16/32, imm16/32


svn path=/branches/ntvdm/; revision=59949
2013-09-01 16:19:29 +00:00
Aleksandar Andrejevic
50e90be14b [SOFT386]
Implement the short unconditional jump instruction (JMP imm8).


svn path=/branches/ntvdm/; revision=59932
2013-08-31 21:23:31 +00:00
Aleksandar Andrejevic
c6c282fd70 [SOFT386]
Increment the TSC on every instruction cycle.


svn path=/branches/ntvdm/; revision=59931
2013-08-31 19:26:13 +00:00
Aleksandar Andrejevic
758bdf41d9 [SOFT386]
Fix the "persistant prefix" bug.
Fix the conditional jump bug.
Implement Soft386ExecuteAt.
[NTVDM]
Add Soft386 support to ntvdm.


svn path=/branches/ntvdm/; revision=59929
2013-08-31 19:18:12 +00:00
Aleksandar Andrejevic
e8aa2372b7 [SOFT386]
Implement port I/O instructions.


svn path=/branches/ntvdm/; revision=59911
2013-08-31 02:13:58 +00:00
Aleksandar Andrejevic
7ecbd63471 [SOFT386]
Implement CMC instruction.


svn path=/branches/ntvdm/; revision=59892
2013-08-29 22:18:28 +00:00
Aleksandar Andrejevic
3925c4a3d8 [SOFT386]
Add Soft386OpcodeHalt to the opcode table.


svn path=/branches/ntvdm/; revision=59891
2013-08-29 22:11:33 +00:00
Aleksandar Andrejevic
c0a39279ae [SOFT386]
Add checks for illegal prefixes.
Implement HLT and PAUSE.


svn path=/branches/ntvdm/; revision=59890
2013-08-29 22:07:53 +00:00
Aleksandar Andrejevic
5a14da958f [SOFT386]
Implement the CLC, STC, CLI, STI, CLD and STD instructions.


svn path=/branches/ntvdm/; revision=59876
2013-08-29 17:48:32 +00:00
Aleksandar Andrejevic
1143eab8a5 [SOFT386]
Implement short conditional jump opcodes.


svn path=/branches/ntvdm/; revision=59856
2013-08-28 17:52:21 +00:00
Aleksandar Andrejevic
3ad78aac17 [SOFT386]
Implement the following opcodes:
NOP
XCHG (E)AX, reg16/reg32


svn path=/branches/ntvdm/; revision=59819
2013-08-25 14:53:58 +00:00
Aleksandar Andrejevic
5a86737e91 [SOFT386]
Implement the following instructions:
PUSH reg16/reg32
POP reg16/reg32


svn path=/branches/ntvdm/; revision=59816
2013-08-25 12:17:24 +00:00
Aleksandar Andrejevic
fffdba9eb5 [SOFT386]
Implement the following opcodes:
INC reg16/reg32
DEC reg16/reg32


svn path=/branches/ntvdm/; revision=59814
2013-08-24 21:32:45 +00:00
Aleksandar Andrejevic
610999cb63 [SOFT386]
Implement prefix support.


svn path=/branches/ntvdm/; revision=59810
2013-08-24 11:48:38 +00:00
Aleksandar Andrejevic
675c38e1b9 [SOFT386]
Halfplement Soft386ExecutionControl.


svn path=/branches/ntvdm/; revision=59795
2013-08-22 22:54:59 +00:00
Hermès Bélusca-Maïto
8e37700e5c Synchronize with trunk revision 59781.
svn path=/branches/ntvdm/; revision=59784
2013-08-19 18:55:28 +00:00
Aleksandar Andrejevic
23fbc3204c [SOFT386]
Fix minor bug.


svn path=/branches/ntvdm/; revision=59783
2013-08-19 18:52:53 +00:00
Aleksandar Andrejevic
6f769d6314 [SOFT386]
Implement instruction fetch functions.
Implement CPU exception system.


svn path=/branches/ntvdm/; revision=59782
2013-08-19 18:23:39 +00:00
Hermès Bélusca-Maïto
2672ec8ee5 [SOFT386]
- In the interface header soft386.h, do not include other particular headers (windows.h and debug.h). Those must be included by the different applications which also will include soft386.h.
- LPVOID --> PVOID (do it general, not just à-la Win32).
- The .c files include the headers, and each .c files must have its "#define NDEBUG\n#include <debug.h>" lines, to activate (or deactivate here in the example) debugging output.
- In the .c files, include the header windef.h for having the basic types, and temporarily comment out the needed #defines which will be needed if one needs to include other win***.h files. Those will be deleted if they aren't needed at the end.

svn path=/branches/ntvdm/; revision=59766
2013-08-17 21:15:55 +00:00
Aleksandar Andrejevic
99302b9d00 [SOFT386]
Implement Soft386LoadSegment.
[NTVDM]
Fix BiosPrintCharacter (Adapted from a patch by Hermes Belusca-Maito).


svn path=/branches/ntvdm/; revision=59764
2013-08-17 18:44:16 +00:00
Aleksandar Andrejevic
c7b66d26f6 [SOFT386]
Implement Soft386ReadMemory, Soft386WriteMemory, Soft386StackPush and Soft386StackPop.


svn path=/branches/ntvdm/; revision=59760
2013-08-17 15:20:47 +00:00
Aleksandar Andrejevic
fb158ecbe1 [SOFT386]
Add definition for Soft386Interrupt.
Implement Soft386DumpState.


svn path=/branches/ntvdm/; revision=59757
2013-08-17 01:41:22 +00:00
Aleksandar Andrejevic
e1c4d780c1 [NTVDM]
Fix the INT 12h handler to call the correct function (DosOpenFile not DosCreateFile).


svn path=/branches/ntvdm/; revision=59754
2013-08-16 19:40:02 +00:00
Aleksandar Andrejevic
5ffc6554be [NTVDM]
Remove the "new emulator" started in emulator.c in favor of Soft386.


svn path=/branches/ntvdm/; revision=59753
2013-08-16 19:33:04 +00:00
Aleksandar Andrejevic
005e1f0559 [SOFT386]
Start implementing a new emulator library to provide 386/486 emulation support to NTVDM
and perhaps other components aswell.


svn path=/branches/ntvdm/; revision=59752
2013-08-16 19:21:02 +00:00
Sylvain Petreolle
ec58bdeae3 [NTVDM]
Report VGA card as present.

svn path=/branches/ntvdm/; revision=59751
2013-08-16 18:33:24 +00:00
Hermès Bélusca-Maïto
e3345a32fb [NTVDM]
Do not rely on the internal format for console handles. Instead, use a more reliable way, by checking for success when calling a simple console function acting on in/out console handles.

svn path=/branches/ntvdm/; revision=59746
2013-08-15 21:10:09 +00:00
Aleksandar Andrejevic
08dc1d3e16 [NTVDM]
Make the BIOS Data Area accessible to other parts of ntvdm.
Properly redirect read/write access to the console to the keyboard and VGA systems, respectively.


svn path=/branches/ntvdm/; revision=59741
2013-08-15 01:40:50 +00:00
Aleksandar Andrejevic
a9fdfb3371 [NTVDM]
Fix bug in DosTerminateProcess.


svn path=/branches/ntvdm/; revision=59740
2013-08-14 23:28:45 +00:00
Aleksandar Andrejevic
58931acc6a [NTVDM]
Fix VGA interleaved mode.


svn path=/branches/ntvdm/; revision=59739
2013-08-14 21:55:50 +00:00
Aleksandar Andrejevic
516653f447 [NTVDM]
Fix 16 color modes.
Implement 4-bit interleaved shift mode.


svn path=/branches/ntvdm/; revision=59738
2013-08-14 17:17:43 +00:00
Aleksandar Andrejevic
05b8a9a86c [NTVDM]
Use the correct values for AC registers.


svn path=/branches/ntvdm/; revision=59734
2013-08-14 12:25:43 +00:00
Hermès Bélusca-Maïto
738d02adf2 [NTVDM]
Simplify the code

svn path=/branches/ntvdm/; revision=59730
2013-08-13 20:15:24 +00:00
Aleksandar Andrejevic
0c3e20ab89 [NTVDM]
Fix bug with VGA DAC register access.


svn path=/branches/ntvdm/; revision=59729
2013-08-13 19:00:02 +00:00
Aleksandar Andrejevic
409b1ee254 [NTVDM]
Fix VGA register constants.


svn path=/branches/ntvdm/; revision=59728
2013-08-13 18:41:35 +00:00
Aleksandar Andrejevic
a88f650367 [SOFTX86]
Fix carry/overflow flag computation for ADD instructions.


svn path=/branches/ntvdm/; revision=59725
2013-08-13 17:06:15 +00:00
Hermès Bélusca-Maïto
e387f7f1cd [NTVDM]
- Add new BIOS video modes (obtained from DosBox with the help of Aleksander)
- Remove an unneeded comment.

svn path=/branches/ntvdm/; revision=59724
2013-08-13 16:49:54 +00:00
Aleksandar Andrejevic
6646ea182c [NTVDM]
Use RGB() macro instead of defining the hexadecimal values manually, which were incorrect.


svn path=/branches/ntvdm/; revision=59721
2013-08-13 11:57:10 +00:00
Hermès Bélusca-Maïto
8a6a428ccc [NTVDM]
- Simplify code (flags resetting)
- Fix console palette initialization (use version 3) and palette change.

svn path=/branches/ntvdm/; revision=59720
2013-08-13 11:09:10 +00:00
Hermès Bélusca-Maïto
53fa8a9cdd Formatting fix only.
svn path=/branches/ntvdm/; revision=59719
2013-08-13 11:06:02 +00:00
Aleksandar Andrejevic
5a7a26d750 [NTVDM]
Synchronize with trunk again for SetConsolePalette.
Implement VGA palettes for graphics mode and DAC register access.


svn path=/branches/ntvdm/; revision=59713
2013-08-12 19:31:54 +00:00
Aleksandar Andrejevic
f86c0161e0 [NTVDM]
Fix bug in DosChangeDirectory.


svn path=/branches/ntvdm/; revision=59701
2013-08-11 21:07:09 +00:00
Aleksandar Andrejevic
5921c465db [NTVDM]
Keep a list of current directories for all drives.
Implement functions that change the default drive and current directory.


svn path=/branches/ntvdm/; revision=59700
2013-08-11 20:54:07 +00:00
Aleksandar Andrejevic
b60ee76f22 [NTVDM]
Use DOS_CMDLINE_LENGTH instead of MAX_PATH.
Fix bug in DosInitializePsp which allowed writing past the end of the Program Segment Prefix (PSP).


svn path=/branches/ntvdm/; revision=59693
2013-08-10 21:41:20 +00:00
Hermès Bélusca-Maïto
2288b2c576 [NTVDM]
- Use up to 256 parameters for programs (as suggested by the parsing while loop), but don't hardcode this values in many other places.
- The passed command line to ntvdm should be as long as MAX_PATH.

svn path=/branches/ntvdm/; revision=59691
2013-08-10 20:50:37 +00:00
Aleksandar Andrejevic
b34e5646dd [NTVDM]
Optimize screen clearing by implementing it as a helper function in vga.c.


svn path=/branches/ntvdm/; revision=59690
2013-08-10 19:30:14 +00:00
Aleksandar Andrejevic
acf127fe24 [NTVDM]
Clear the screen when switching video modes.


svn path=/branches/ntvdm/; revision=59688
2013-08-10 19:24:00 +00:00
Aleksandar Andrejevic
7b2978c43f Synchronize with trunk to fix spec2def issue.
[NTVDM]
Implement write modes and latch register for VGA.


svn path=/branches/ntvdm/; revision=59687
2013-08-10 17:06:04 +00:00
Aleksandar Andrejevic
022895e518 [NTVDM]
Synchronize with trunk again to fix important bugs in the build system.
Implement register control functions which should be exported (Adapted from a patch by Hermes Belusca-Maito).
The actual export is temporarily disabled because a bug in the build system compiles ntvdm as a DLL instead of an EXE.


svn path=/branches/ntvdm/; revision=59684
2013-08-09 23:52:08 +00:00
Hermès Bélusca-Maïto
6a2534345c Fix formatting, no code changes.
svn path=/branches/ntvdm/; revision=59682
2013-08-09 18:55:35 +00:00
Hermès Bélusca-Maïto
2f3827d040 [NTVDM]
Simplify code.

svn path=/branches/ntvdm/; revision=59681
2013-08-09 14:01:43 +00:00
Aleksandar Andrejevic
431f16ab22 Fix one file that wasn't merged correctly.
svn path=/branches/ntvdm/; revision=59680
2013-08-09 13:33:17 +00:00
Aleksandar Andrejevic
ed55d73cfd Sync with trunk.
svn path=/branches/ntvdm/; revision=59679
2013-08-09 13:26:07 +00:00
Aleksandar Andrejevic
b62ad02740 [NTVDM]
- Enable TESTING by default until the correct way to load ntvdm is found.
- Calculate the character height instead of hardcoding in the BDA.


svn path=/branches/ntvdm/; revision=59678
2013-08-09 13:14:56 +00:00
Hermès Bélusca-Maïto
d497b99734 [NTVDM]
Implement INT 10h, function 04h (Query Light Pen) (deprecated)

svn path=/branches/ntvdm/; revision=59677
2013-08-09 13:06:01 +00:00
Hermès Bélusca-Maïto
5670c032a9 Fix the fix.
svn path=/branches/ntvdm/; revision=59676
2013-08-09 11:55:31 +00:00
Hermès Bélusca-Maïto
fda0b22ee8 [NTVDM]
Fix cursor position.

svn path=/branches/ntvdm/; revision=59675
2013-08-09 11:41:13 +00:00
Aleksandar Andrejevic
2f908ec723 [NTVDM]
Calculate the text height instead of using a hardcoded value.


svn path=/branches/ntvdm/; revision=59674
2013-08-09 09:24:40 +00:00
Hermès Bélusca-Maïto
bd75425efd [NTVDM]
- Fix usage of the console framebuffer mutex (used only with graphics screen buffers).
- Do not check for text/graphics mode when updating each scan line, in VgaUpdateFramebuffer.

svn path=/branches/ntvdm/; revision=59673
2013-08-09 00:13:54 +00:00
Aleksandar Andrejevic
12b2347206 [NTVDM]
Fix the default cursor size and cursor size calculation.


svn path=/branches/ntvdm/; revision=59672
2013-08-07 21:57:07 +00:00
Aleksandar Andrejevic
94b6893a01 [NTVDM]
Clear the VGA memory during initialization.
Clear the graphics framebuffer when switching to graphics mode.


svn path=/branches/ntvdm/; revision=59671
2013-08-07 21:15:02 +00:00
Aleksandar Andrejevic
b4ed87bb3a [NTVDM]
Fix coding style.
Fix initial cursor position bug.
Fix memory limit constant for VGA memory modes 0 and 1 (64 KB not 32 KB).


svn path=/branches/ntvdm/; revision=59669
2013-08-07 19:56:28 +00:00
Hermès Bélusca-Maïto
58c1653592 [NTVDM]
- Check return value of VgaEnterGraphicsMode (because CreateConsoleScreenBuffer can fail), and create VgaEnterTextMode and VgaLeaveTextMode helpers.
- Don't declare variables inside loops.

svn path=/branches/ntvdm/; revision=59668
2013-08-07 17:41:54 +00:00
Aleksandar Andrejevic
bcdc670ae9 [NTVDM]
Fix more MSVC warnings.


svn path=/branches/ntvdm/; revision=59667
2013-08-07 15:42:32 +00:00
Aleksandar Andrejevic
5e69cb4dcb [NTVDM]
Fix MSVC warnings.


svn path=/branches/ntvdm/; revision=59666
2013-08-07 15:01:38 +00:00
Hermès Bélusca-Maïto
f66525ee02 Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
svn path=/branches/ntvdm/; revision=59665
2013-08-07 14:57:30 +00:00
Aleksandar Andrejevic
a989736ead [NTVDM]
Remove unnecessary call to UNREFERENCED_PARAMETER, as the parameter is used later in the function.


svn path=/branches/ntvdm/; revision=59662
2013-08-07 12:06:39 +00:00
Hermès Bélusca-Maïto
454fade2ac [NTVDM]
Code formatting only.

svn path=/branches/ntvdm/; revision=59660
2013-08-06 21:06:00 +00:00
Hermès Bélusca-Maïto
5bc19fdbfb [NTVDM]
- Don't leak console input/output handles when opening them in BiosInitialize.
- Deinitialize the emulator in the reverse order it was initialized.
- Simplify VgaGetVideoBaseAddress and VgaGetVideoLimitAddress and use the former one in VgaTranslate[Read-Write]Address.
- Use only unicode Win32 APIs where it's needed.

svn path=/branches/ntvdm/; revision=59659
2013-08-06 20:01:05 +00:00
Aleksandar Andrejevic
455deb3bde [NTVDM]
Implement Video Graphics Array (VGA) support.
Replace the old BIOS video code with new code that uses the VGA.


svn path=/branches/ntvdm/; revision=59648
2013-08-05 23:20:25 +00:00
Aleksandar Andrejevic
b49476f20c [NTVDM]
Modify the flags on the stack instead of the flags register directly.
The flags register is restored during IRET so changing it directly does nothing.


svn path=/branches/ntvdm/; revision=59566
2013-07-23 21:43:57 +00:00
Aleksandar Andrejevic
6be35ef0bb [NTVDM]
Remove the old "INT 0xFF" hack and instead use an invalid opcode sequence for emulator operations.
Fix the flags register update bug.


svn path=/branches/ntvdm/; revision=59565
2013-07-23 19:31:00 +00:00
Aleksandar Andrejevic
7bcfe7b2a8 [NTVDM]
Implement several INT 21h functions.


svn path=/branches/ntvdm/; revision=59563
2013-07-23 14:43:03 +00:00
Aleksandar Andrejevic
be2e1f0907 [NTVDM]
Add the program name after the environment block.


svn path=/branches/ntvdm/; revision=59559
2013-07-22 20:21:46 +00:00
Aleksandar Andrejevic
87fc3759e3 [NTVDM]
Fix bug while initializing and copying the environment strings.


svn path=/branches/ntvdm/; revision=59557
2013-07-22 16:36:05 +00:00
Aleksandar Andrejevic
c04b008f1f [NTVDM]
Add debug output.


svn path=/branches/ntvdm/; revision=59555
2013-07-22 13:51:26 +00:00
Aleksandar Andrejevic
f603441db9 [NTVDM]
Implement multiple allocation strategies.


svn path=/branches/ntvdm/; revision=59530
2013-07-20 06:14:13 +00:00
Aleksandar Andrejevic
bac747f151 [NTVDM]
Fix several bugs.


svn path=/branches/ntvdm/; revision=59502
2013-07-18 12:31:11 +00:00
Aleksandar Andrejevic
495320af6e [NTVDM]
Implement Upper Memory Blocks (UMB) support.


svn path=/branches/ntvdm/; revision=59501
2013-07-18 11:44:06 +00:00
Aleksandar Andrejevic
09e7fede48 Fix broken build after trunk merge.
svn path=/branches/ntvdm/; revision=59500
2013-07-18 05:46:06 +00:00
Aleksandar Andrejevic
fb7355f834 Synchronize with trunk.
svn path=/branches/ntvdm/; revision=59499
2013-07-18 00:46:28 +00:00
Hermès Bélusca-Maïto
c5dad7aefe [NTVDM]
Fix the TESTING case, in case you run ntvdm without other parameters.

svn path=/branches/ntvdm/; revision=59498
2013-07-18 00:17:04 +00:00
Aleksandar Andrejevic
bebaf9e812 [NTVDM]
Add a compile-time option (not default) to run ntvdm manually with the target executable as a parameter.
Fix screen clearing bug.
Rewrite several INT 10h functions to work for all video pages.


svn path=/branches/ntvdm/; revision=59497
2013-07-18 00:01:18 +00:00
Aleksandar Andrejevic
f82876686a [SOFTX86]
Fix carry/overflow condition for the SUB instruction.


svn path=/branches/ntvdm/; revision=59490
2013-07-15 02:34:45 +00:00
Aleksandar Andrejevic
40d639e7ff [NTVDM]
Implement the Bios Data Area (BDA).
Fix keyboard character translation bug.


svn path=/branches/ntvdm/; revision=59489
2013-07-15 01:37:38 +00:00
Aleksandar Andrejevic
7ba3013923 [NTVDM]
Implement the IOCTL command in VDM DOS.
Rewrite the BIOS video pages support to use only one console buffer (not yet complete).
Fix the BIOS video mode table and several bugs in video functions.


svn path=/branches/ntvdm/; revision=59460
2013-07-13 01:56:36 +00:00
Aleksandar Andrejevic
be1d88e4b7 [NTVDM]
Add video pages support to INT 10h functions and memory access.
[SOFTX86]
Fix the opcode check for XLAT.


svn path=/branches/ntvdm/; revision=59454
2013-07-10 19:41:43 +00:00
Aleksandar Andrejevic
25cbe37d30 [NTVDM]
Fix bugs in the VDM DOS executable loader.


svn path=/branches/ntvdm/; revision=59452
2013-07-09 17:28:16 +00:00
Aleksandar Andrejevic
59e28c4f15 [SOFTX86]
Fix jump conditions.
[NTVDM]
Implement BIOS teletype output command.
Start implementation of a new CPU emulator to replace softx86.


svn path=/branches/ntvdm/; revision=59450
2013-07-07 20:53:23 +00:00
Aleksandar Andrejevic
1f4d89e7d7 [NTVDM]
Improve vertical refresh performance.
Properly synchronize access to the framebuffer.


svn path=/branches/ntvdm/; revision=59425
2013-07-05 01:31:50 +00:00
Aleksandar Andrejevic
01fd2f9aa3 [NTVDM]
Implement BIOS video mode setting.
Fix bugs in video memory access emulation.


svn path=/branches/ntvdm/; revision=59424
2013-07-05 00:08:18 +00:00
Aleksandar Andrejevic
988c4490a8 [NTVDM]
Fix bugs in video memory access emulation.
Implement several missing INT 10h functions.
Resize the console screen buffer on startup.


svn path=/branches/ntvdm/; revision=59421
2013-07-03 23:38:51 +00:00
Aleksandar Andrejevic
c4ef9b6f44 [NTVDM]
Add more debug output.
[SOFTX86]
Properly set the carry and overflow flags.


svn path=/branches/ntvdm/; revision=59410
2013-07-02 21:40:11 +00:00
Aleksandar Andrejevic
36f251eca0 [NTVDM]
Fix several bugs:
The file was not entirely read due to an integer overflow.
The second WORD of the Program Segment Prefix (PSP) is not the number of allocated
paragraphs, but the segment of the last paragraph.
Fix the order of registers (SI and DI were mixed up with SP and BP).
Implement interrupt 0x11.
Implement redirection for reading/writing characters.


svn path=/branches/ntvdm/; revision=59409
2013-07-02 02:08:30 +00:00
Aleksandar Andrejevic
40e7d3a9fb [NTVDM]
Implement file creation, opening, reading and writing.


svn path=/branches/ntvdm/; revision=59406
2013-07-01 02:29:29 +00:00
Aleksandar Andrejevic
ed9f26ccca [NTVDM]
Fix several bugs.
Implement some interrupt 1Ah services in the BIOS.


svn path=/branches/ntvdm/; revision=59374
2013-06-29 21:37:44 +00:00
Aleksandar Andrejevic
944d6e8b5a [NTVDM]
Implement "Get DOS Version" API call.
Implement BIOS keyboard IRQ handler and some "INT 16h" functions.


svn path=/branches/ntvdm/; revision=59350
2013-06-28 20:52:40 +00:00
Aleksandar Andrejevic
4c4c69fc37 [NTVDM]
Clean up the code and properly separate different modules into different files.


svn path=/branches/ntvdm/; revision=59344
2013-06-26 22:58:41 +00:00
Aleksandar Andrejevic
44f2787b1f [NTVDM]
Use 286 mode in softx86.
Implement "Get / Set Disk Transfer Area".
Start implementation of PS/2 controller.
Improve hardware interrupts. Fix CLI / STI / HLT instruction support.


svn path=/branches/ntvdm/; revision=59343
2013-06-26 17:15:45 +00:00
Aleksandar Andrejevic
53fbdf6bc9 [NTVDM]
Implement the "Get Interrupt Vector" and "Set Interrupt Vector" DOS API functions.


svn path=/branches/ntvdm/; revision=59340
2013-06-25 17:56:05 +00:00
Aleksandar Andrejevic
2ea7dab9a6 [NTVDM]
Fix more bugs in DosResizeMemory().


svn path=/branches/ntvdm/; revision=59339
2013-06-25 17:18:34 +00:00
Aleksandar Andrejevic
6d45f4e6e3 [NTVDM]
Fix the VDM DOS memory manager to use the segment of the data portion of the block, rather than the MCB itself.


svn path=/branches/ntvdm/; revision=59338
2013-06-25 16:46:35 +00:00
Aleksandar Andrejevic
5db2a4a6dd [NTVDM]
Fix many VDM DOS memory manager bugs.


svn path=/branches/ntvdm/; revision=59336
2013-06-24 23:10:31 +00:00
Aleksandar Andrejevic
07928d50d4 [NTVDM]
Implement several directory operations.


svn path=/branches/ntvdm/; revision=59331
2013-06-24 18:15:53 +00:00
Aleksandar Andrejevic
ca06374c9f [NTOSKRNL]
Check for old-style MZ executable in PeFmtCreateSection.
[NTVDM]
Fix bugs.
Implement MZ executable loading.


svn path=/branches/ntvdm/; revision=59328
2013-06-24 01:59:09 +00:00
Aleksandar Andrejevic
13a004a57d [KERNEL32]
Use the already implemented BaseIsDosApplication instead of BasepCheckDosApp.


svn path=/branches/ntvdm/; revision=59316
2013-06-23 13:17:06 +00:00
Hermès Bélusca-Maïto
4c66e672da [KERNEL32]
Never EVER process instructions INSIDE a debug macro (e.g. ASSERT) because when compiling in Release Mode, the code isn't executed at all.
Fix that. See revision r59310 for more details.

svn path=/branches/ntvdm/; revision=59314
2013-06-23 12:55:17 +00:00
Aleksandar Andrejevic
4c459af487 [KERNEL32]
Implement BasepCheckDosApp.
Enable NTVDM in CreateProcessInternalW.
[NTVDM]
Remove the old command line parser code. The entire command line is for the DOS application now.


svn path=/branches/ntvdm/; revision=59310
2013-06-23 12:33:13 +00:00
Aleksandar Andrejevic
7befc34a4f [NTOSKRNL]
Fix NtQueryTimerResolution and NtSetTimerResolution to work in kernel mode.


svn path=/branches/ntvdm/; revision=59305
2013-06-23 08:44:46 +00:00
Aleksandar Andrejevic
4ffafc388d [NTVDM]
Implement NtQueryTimerResolution.


svn path=/branches/ntvdm/; revision=59300
2013-06-23 00:56:38 +00:00
Aleksandar Andrejevic
355faf5706 [NTOSKRNL]
Implement NtSetTimerResolution.


svn path=/branches/ntvdm/; revision=59299
2013-06-23 00:47:47 +00:00
Aleksandar Andrejevic
e7ce79fc05 [NTVDM]
Perform multiple CPU instructions in one emulator cycle.


svn path=/branches/ntvdm/; revision=59298
2013-06-23 00:20:24 +00:00
Aleksandar Andrejevic
030a935096 [NTVDM]
Remove whitespace from empty lines.


svn path=/branches/ntvdm/; revision=59296
2013-06-23 00:11:45 +00:00
Hermès Bélusca-Maïto
2bd695b42e [NTVDM]
Use correctly NDEBUG, and use ReactOS macro: ASSERT, instead of the assert() CRT function.

svn path=/branches/ntvdm/; revision=59280
2013-06-22 01:48:28 +00:00
Aleksandar Andrejevic
6a3d90cf53 [NTVDM]
Improve keyboard IRQ performance.
Add debug output to measure number of instructions per second.


svn path=/branches/ntvdm/; revision=59279
2013-06-22 01:41:51 +00:00
Aleksandar Andrejevic
b040791380 [NTVDM]
Use local time instead of system time for the clock.
Implement the "set system date" and "set system time" DOS functions.


svn path=/branches/ntvdm/; revision=59277
2013-06-21 22:14:07 +00:00
Aleksandar Andrejevic
fe6988cbdd [NTVDM]
Implement the keyboard IRQ.


svn path=/branches/ntvdm/; revision=59276
2013-06-21 21:25:01 +00:00
Aleksandar Andrejevic
f3aa7c7145 [NTVDM]
Change the PIT code to use only one thread, to avoid race conditions.
Implement PIT counter reading and latch command.


svn path=/branches/ntvdm/; revision=59273
2013-06-21 13:55:31 +00:00
Aleksandar Andrejevic
03b2c06c97 [NTVDM]
Fix the PIC IRQ code. Interrupt requests only occur when no higher-priority IRQ is busy.


svn path=/branches/ntvdm/; revision=59272
2013-06-21 01:44:56 +00:00
Aleksandar Andrejevic
da877e495e [NTVDM]
Implement Programmable Interval Timer (PIT) emulation. Fix bugs in interrupts and PIC emulation.


svn path=/branches/ntvdm/; revision=59271
2013-06-21 00:47:07 +00:00
Aleksandar Andrejevic
7765319949 [NTVDM]
Make sure bit 2 in the ISR of the master PIC is set when an IRQ in the slave PIC occurs.


svn path=/branches/ntvdm/; revision=59269
2013-06-20 19:43:29 +00:00
Aleksandar Andrejevic
b44c5d3a6f [NTVDM]
Implement 8259 Programmable Interrupt Controller emulation.


svn path=/branches/ntvdm/; revision=59268
2013-06-20 19:00:07 +00:00
Aleksandar Andrejevic
c1bb00076e [NTVDM]
Implement the "get system time" and "get system date" functions in the virtual DOS kernel.


svn path=/branches/ntvdm/; revision=59264
2013-06-20 02:10:42 +00:00
Aleksandar Andrejevic
6c73fd8066 [SOFTX86]
Fix warnings in softx87 (the FPU emulator).


svn path=/branches/ntvdm/; revision=59262
2013-06-19 23:12:54 +00:00
Aleksandar Andrejevic
cde3f9547b [NTVDM]
Implement up/down scrolling function in interrupt 0x10.


svn path=/branches/ntvdm/; revision=59261
2013-06-19 22:53:16 +00:00
Aleksandar Andrejevic
f7714ef9c1 [SOFTX86]
Fix warnings in softx86.


svn path=/branches/ntvdm/; revision=59260
2013-06-19 21:13:43 +00:00
Hermès Bélusca-Maïto
f1e0b70d39 [NTVDM]
Start of an implementation of a software DOS emulator.
Brought to you by Aleksandar Andrejevic. Good luck ;)

Remove the old language files. They will be recreated when the time comes.

svn path=/branches/ntvdm/; revision=59249
2013-06-17 00:00:36 +00:00
Hermès Bélusca-Maïto
dfd4fed945 [SOFTX86]
Fix some bugs of softx86, see CORE-7250 for more information.
All diffs from the original softx86 code should also be put in softx86_ros.diff.

svn path=/branches/ntvdm/; revision=59248
2013-06-16 23:54:30 +00:00
Hermès Bélusca-Maïto
c8317ea346 Integrate softx86-v0.00.0033 library.
Allow compilation warnings (the downsides are that it generates LOTS of warnings...)

svn path=/branches/ntvdm/; revision=59247
2013-06-16 23:33:04 +00:00
Hermès Bélusca-Maïto
4f0b8d3db0 Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
2013-06-16 22:01:41 +00:00
4754 changed files with 370545 additions and 418241 deletions

View File

@@ -63,6 +63,9 @@ if(NOT CMAKE_CROSSCOMPILING)
if(ARCH STREQUAL "i386")
add_definitions(/D_X86_ /DWIN32 /D_WINDOWS)
endif()
if(MSVC_VERSION GREATER 1699)
add_definitions(/D_ALLOW_KEYWORD_MACROS)
endif()
add_definitions(/Dinline=__inline)
else()
add_compile_flags("-fshort-wchar -Wno-multichar")
@@ -77,9 +80,9 @@ if(NOT CMAKE_CROSSCOMPILING)
add_subdirectory(lib)
if(NOT MSVC)
export(TARGETS bin2c widl gendib cabman cdmake mkhive obj2bin spec2def geninc rsym mkshelllink FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
export(TARGETS bin2c widl gendib cabman cdmake mkhive obj2bin spec2def geninc rsym mkshelllink utf16le FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
else()
export(TARGETS bin2c widl gendib cabman cdmake mkhive obj2bin spec2def geninc mkshelllink FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
export(TARGETS bin2c widl gendib cabman cdmake mkhive obj2bin spec2def geninc mkshelllink utf16le FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
endif()
else()
@@ -134,10 +137,10 @@ else()
add_definitions(-D_WINKD_=1)
endif()
if((NOT DEFINED PCH) AND (CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS") AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
set(PCH 1)
if(CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS")
set(PCH 1 CACHE BOOL "Whether to use precompiled headers")
else()
set(PCH 0)
set(PCH 0 CACHE BOOL "Whether to use precompiled headers")
endif()
# Version Options
@@ -218,7 +221,11 @@ else()
add_subdirectory(include/reactos/mc)
add_subdirectory(include/asm)
include(cmake/baseaddress.cmake)
if(NO_ROSSYM)
include(cmake/baseaddress_dwarf.cmake)
else()
include(cmake/baseaddress.cmake)
endif()
# For MSVC builds, this puts all debug symbols file in the same directory.
set(CMAKE_PDB_OUTPUT_DIRECTORY "${REACTOS_BINARY_DIR}/msvc_pdb")

View File

@@ -2,7 +2,7 @@
* Translated by TestamenT
* testament@users.sourceforge.net
* https://sourceforge.net/projects/reactospl
* Updated by Saibamen - Adam Stachowicz (saibamenppl@gmail.com) (Apr, 2011)
* Updated by Saibamen - Adam Stachowicz (saibamenppl@gmail.com) (May, 2014)
* UTF-8 conversion by Caemyr (May, 2011)
*/
@@ -51,8 +51,8 @@ Skróty:\n\
IDS_ABBR_CHANGE "C"
IDS_ABBR_NONE "N"
IDS_ALLOW ""
IDS_DENY "(DENY)"
IDS_SPECIAL_ACCESS "(special access:)"
IDS_DENY "(ODMÓW)"
IDS_SPECIAL_ACCESS "(dostęp specjalny:)"
IDS_GENERIC_READ "GENERIC_READ"
IDS_GENERIC_WRITE "GENERIC_WRITE"
IDS_GENERIC_EXECUTE "GENERIC_EXECUTE"

View File

@@ -2,7 +2,7 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_HELP "Отображает или изменяет списки доступа (ACLs) к файлам\n\n\
IDS_HELP "Отображает или изменяет списки доступа (Access Control Lists, ACLs) к файлам\n\n\
CACLS имя_Файла [/T] [/E] [/C] [/G имя:право [...]] [/R имя [...]]\n\
[/P имя:право[...]] [/D имя [...]]\n\
имя_файла Вывод списков ACL.\n\
@@ -27,11 +27,11 @@ CACLS имя_Файла [/T] [/E] [/C] [/G имя:право [...]] [/R имя [
В команде можно использовать шаблоны для обработки более одного файла.\n\
В команде можно указывать более одного пользователя.\n\n\
Сокращения:\n\
CI - Наследование контейнерами.\n\
CI - Наследование контейнерами (Container Inherit).\n\
ACE будет унаследован папками.\n\
OI - Наследование объектами.\n\
OI - Наследование объектами (Object Inherit).\n\
ACE будет унаследован файлами.\n\
IO - Только наследованное.\n\
IO - Только наследованное (Inherit Only).\n\
ACE не будет применён к данному файлу/папке.\n"
IDS_ABBR_CI "(CI)"
IDS_ABBR_OI "(OI)"

View File

@@ -13,8 +13,12 @@ list(APPEND SOURCE
add_executable(calc ${SOURCE} resource.rc)
set_module_type(calc win32gui UNICODE)
add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
if(MSVC)
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
target_link_libraries(calc mingwex)
elseif(MSVC)
add_importlibs(calc ntdll)
endif()
add_pch(calc calc.h SOURCE)
add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)

View File

@@ -1,4 +1,4 @@
/* TRANSLATOR: 2013 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
/* TRANSLATOR: 2013, 2014 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
@@ -310,7 +310,7 @@ END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Sayımlama Kutusu"
CAPTION "Sayımlama Penceresi"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX IDC_LIST_STAT, 4, 4, 156, 40, LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
@@ -325,7 +325,7 @@ END
IDR_MENU_SCIENTIFIC_1 MENU
BEGIN
POPUP "&Düzenleme"
POPUP "&Düzen"
BEGIN
MENUITEM "&Çoğalt\tCtrl+C", IDM_EDIT_COPY
MENUITEM "&Yapıştır\tCtrl+V", IDM_EDIT_PASTE
@@ -357,7 +357,7 @@ END
IDR_MENU_SCIENTIFIC_2 MENU
BEGIN
POPUP "&Düzenleme"
POPUP "&Düzen"
BEGIN
MENUITEM "&Çoğalt\tCtrl+C", IDM_EDIT_COPY
MENUITEM "&Yapıştır\tCtrl+V", IDM_EDIT_PASTE
@@ -390,7 +390,7 @@ END
IDR_MENU_STANDARD MENU
BEGIN
POPUP "&Düzenleme"
POPUP "&Düzen"
BEGIN
MENUITEM "&Çoğalt\tCtrl+C", IDM_EDIT_COPY
MENUITEM "&Yapıştır\tCtrl+V", IDM_EDIT_PASTE
@@ -415,7 +415,7 @@ END
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "Hesap Makinesi, GNU GPL ruhsatıyla yayımlanan bir özgür yazılımdır.\r\n\r\nGNU GPL ruhsatının bir kopyasını buradan elde edebilirsiniz:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nBir de GNU GPL ruhsatının bir çevirisini buradan elde edebilirsiniz:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_STRING_LICENSE "Hesap Makinesi, GNU GPL ruhsatıyla yayımlanan bir özgür yazılımdır.\r\n\r\nGNU GPL ruhsatının bir kopyasını şuradan elde edebilirsiniz:\r\nhttp://www.gnu.org/licenses/gpl.html\r\n\r\nBir de GNU GPL ruhsatının bir çevirisini şuradan elde edebilirsiniz:\r\nhttp://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Yanlışlık"
IDS_QUICKHELP "Hızlı Yardım"
END
@@ -490,7 +490,7 @@ STRINGTABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "Kilometre/Litre"
IDS_CONSUMPTION_L_PER_100_KM "Litre/100 Kilometre"
IDS_CONSUMPTION_MILES_GALLON_UK "Mil/Galon (BB)"
IDS_CONSUMPTION_MILES_GALLON_UK "Mil/Galon (BK)"
IDS_CONSUMPTION_MILES_GALLON_US "Mil/Galon (ABD)"
END
@@ -541,7 +541,7 @@ BEGIN
IDS_LENGTH_ASTRONOMICAL_UNITS "Astronomi birimi"
IDS_LENGTH_BARLEYCORNS "Arpa tânesi"
IDS_LENGTH_CENTIMETERS "Santimetre"
IDS_LENGTH_CHAINS_UK "Zincir (BB)"
IDS_LENGTH_CHAINS_UK "Zincir (BK)"
IDS_LENGTH_CHI "Çi"
IDS_LENGTH_CHOU "Çou"
IDS_LENGTH_CHR "Çır"
@@ -562,7 +562,7 @@ BEGIN
IDS_LENGTH_KILOMETERS "Kilometre"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Işık yılı"
IDS_LENGTH_LINKS_UK "Zincir bağlantısı (BB)"
IDS_LENGTH_LINKS_UK "Zincir bağlantısı (BK)"
IDS_LENGTH_METERS "Metre"
IDS_LENGTH_MICRONS "Mikron"
IDS_LENGTH_MILES "Mil"
@@ -648,10 +648,10 @@ END
/* Volumes */
STRINGTABLE
BEGIN
IDS_VOLUME_BARRELS_UK "Fıçı (BB)"
IDS_VOLUME_BARRELS_UK "Fıçı (BK)"
IDS_VOLUME_BARRELS_OIL "Yağ Fıçısı"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "Ölçek (BB)"
IDS_VOLUME_BUSHELS_UK "Ölçek (BK)"
IDS_VOLUME_BUSHELS_US "Ölçek (ABD)"
IDS_VOLUME_CUBIC_CENTIMETERS "Santimetreküp"
IDS_VOLUME_CUBIC_FEET "Ayakküp"
@@ -659,9 +659,9 @@ BEGIN
IDS_VOLUME_CUBIC_METERS "Metreküp"
IDS_VOLUME_CUBIC_YARDS "Yardaküp"
IDS_VOLUME_DOE "Do"
IDS_VOLUME_FLUID_OUNCES_UK "Sıvı onsu (BB)"
IDS_VOLUME_FLUID_OUNCES_UK "Sıvı onsu (BK)"
IDS_VOLUME_FLUID_OUNCES_US "Sıvı onsu (ABD)"
IDS_VOLUME_GALLONS_UK "Galon (BB)"
IDS_VOLUME_GALLONS_UK "Galon (BK)"
IDS_VOLUME_GALLONS_DRY_US "Galon, kuru (ABD)"
IDS_VOLUME_GALLONS_LIQUID_US "Galon, sıvı (ABD)"
IDS_VOLUME_GOU "Go"
@@ -671,10 +671,10 @@ BEGIN
IDS_VOLUME_LITERS "Litre"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "Mililitre"
IDS_VOLUME_PINTS_UK "Bira bardağı (BB)"
IDS_VOLUME_PINTS_UK "Bira bardağı (BK)"
IDS_VOLUME_PINTS_DRY_US "Bira bardağı, katı (ABD)"
IDS_VOLUME_PINTS_LIQUID_US "Bira bardağı, sıvı (ABD)"
IDS_VOLUME_QUARTS_UK "Kuart (BB)"
IDS_VOLUME_QUARTS_UK "Kuart (BK)"
IDS_VOLUME_QUARTS_DRY_US "Kuart, katı (ABD)"
IDS_VOLUME_QUARTS_LIQUID_US "Kuart, sıvı (ABD)"
IDS_VOLUME_SEKI "Seki"
@@ -711,6 +711,6 @@ BEGIN
IDS_WEIGHT_STONES "Taş"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "Ton"
IDS_WEIGHT_TONS_UK "Ton (BB)"
IDS_WEIGHT_TONS_UK "Ton (BK)"
IDS_WEIGHT_TONS_US "Ton (ABD)"
END

View File

@@ -1626,7 +1626,7 @@ static INT_PTR CALLBACK DlgMainProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
if (IsWindow(calc.hStatWnd))
break;
calc.hStatWnd = CreateDialog(calc.hInstance,
MAKEINTRESOURCE(IDD_DIALOG_STAT), hWnd, (DLGPROC)DlgStatProc);
MAKEINTRESOURCE(IDD_DIALOG_STAT), hWnd, DlgStatProc);
if (calc.hStatWnd != NULL) {
enable_allowed_controls(hWnd, calc.base);
SendMessage(calc.hStatWnd, WM_SETFOCUS, 0, 0);
@@ -1722,7 +1722,7 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdL
dwLayout = IDD_DIALOG_STANDARD;
/* This call will always fail if UNICODE for Win9x */
if (NULL == CreateDialog(hInstance, MAKEINTRESOURCE(dwLayout), NULL, (DLGPROC)DlgMainProc))
if (NULL == CreateDialog(hInstance, MAKEINTRESOURCE(dwLayout), NULL, DlgMainProc))
break;
while (GetMessage(&msg, NULL, 0, 0)) {

View File

@@ -7,7 +7,7 @@
*
*/
#include <precomp.h>
#include "precomp.h"
static
INT_PTR

View File

@@ -7,7 +7,7 @@
*
*/
#include <precomp.h>
#include "precomp.h"
#include <commctrl.h>
#include <richedit.h>

View File

@@ -1,4 +1,4 @@
/* TRANSLATOR: 2013 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
/* TRANSLATOR: 2013, 2014 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
@@ -50,7 +50,7 @@ END
STRINGTABLE
BEGIN
IDS_LICENSE "ÖNEMLİ: Aşağıdaki metin, özgün metnin resmî olmayan çevirisidir. Çeviri metniyle özgün metin arasında ayrım olabilir. Özgün metin, çeviri metninin altındadır.\r\n\r\n***\r\n\r\nBu izlence özgür yazılımdır; bunu, Özgür Yazılım Vakfı'nın yayımladığı GNU Umûmî Kamu Ruhsatı'nın, 2. sürümünün ya da daha sonraki herhangi bir sürümünün (Orası size bağlı.) koşulları altında yeniden dağıtabilir veyâ değiştirebilirsiniz.\r\n\r\nBu izlence, kullanışlı olabileceği beklentisiyle dağıtılmıştır ancak bu izlencenin HİÇBİR GÜVENCESİ YOKTUR, SATILABİLİRLİĞİN ve BELİRLİ BİR AMACA UYGUNLUĞUN demek istenilen güvencesi bile. Daha çok bilgi için GNU Umûmî Kamu Ruhsatı'na bakınız.\r\n\r\nBu izlenceyle birlikte GNU Umûmî Kamu Ruhsatı'nın bir kopyasını almış olmalısınız, eğer yoksa Özgür Yazılım Vakfı AŞ'ye (51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 ABD) yazınız.\r\n\r\n***\r\n\r\nThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_LICENSE "ÖNEMLİ: Aşağıdaki metin, özgün metnin resmî olmayan çevirisidir. Çeviri metniyle özgün metin arasında ayrım olabilir. Özgün metin, çeviri metninin altındadır.\r\n\r\n***\r\n\r\nBu izlence özgür yazılımdır; bunu, Özgür Yazılım Vakfı'nın yayımladığı GNU Umûmî Kamu Ruhsatı'nın, 2. sürümünün ya da daha sonraki bir sürümünün (Orası size bağlı.) koşulları altında yeniden dağıtabilir veyâ değiştirebilirsiniz.\r\n\r\nBu izlence, kullanışlı olabileceği beklentisiyle dağıtılmıştır ancak bu izlencenin HİÇBİR GÜVENCESİ YOKTUR, SATILABİLİRLİĞİN ve BELİRLİ BİR AMACA UYGUNLUĞUN demek istenilen güvencesi bile. Daha çok bilgi için GNU Umûmî Kamu Ruhsatı'na bakınız.\r\n\r\nBu izlenceyle birlikte GNU Umûmî Kamu Ruhsatı'nın bir kopyasını almış olmalısınız, eğer yoksa Özgür Yazılım Vakfı AŞ'ye (51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 ABD) yazınız.\r\n\r\n***\r\n\r\nThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "&Üzerine..."
IDS_TITLE "Damga Eşlemi"
END

View File

@@ -7,7 +7,7 @@
*
*/
#include <precomp.h>
#include "precomp.h"
static
HFONT

View File

@@ -7,7 +7,7 @@
*
*/
#include <precomp.h>
#include "precomp.h"
#include <stdlib.h>

View File

@@ -7,7 +7,7 @@
*
*/
#include <precomp.h>
#include "precomp.h"
#include <winreg.h>
#include <windowsx.h>
@@ -90,8 +90,9 @@ extern void LoadSettings(void)
}
RegQueryValueEx(hKey, _T("Advanced"), NULL, &type, (LPBYTE)&dwAdvanChecked, &size);
if(dwAdvanChecked == TRUE)
SendDlgItemMessage(hCharmapDlg, IDC_CHECK_ADVANCED, BM_CLICK, (dwAdvanChecked ? MF_CHECKED : MF_UNCHECKED), 0);
SendDlgItemMessage(hCharmapDlg, IDC_CHECK_ADVANCED, BM_CLICK, MF_CHECKED, 0);
RegCloseKey(hKey);
}

View File

@@ -58,7 +58,6 @@ VOID Usage(VOID)
int _tmain (int argc, TCHAR *argv[])
{
INT i;
INT LineLen1, LineLen2;
FILE *fp1, *fp2; // file pointers
PTCHAR Line1 = (TCHAR *)malloc(STRBUF * sizeof(TCHAR));
PTCHAR Line2 = (TCHAR *)malloc(STRBUF * sizeof(TCHAR));
@@ -156,8 +155,8 @@ int _tmain (int argc, TCHAR *argv[])
_tprintf(_T("Comparing %s and %s...\n"), File1, File2);
while ((LineLen1 = GetLine(Line1, fp1) != 0) &&
(LineLen2 = GetLine(Line2, fp2) != 0))
while ((GetLine(Line1, fp1) != 0) &&
(GetLine(Line2, fp2) != 0))
{
// LineCount++;
while ((*Line1 != '\0') && (*Line2 != '\0'))

View File

@@ -16,109 +16,111 @@
int _tmain(int argc, TCHAR ** argv)
{
TCHAR * buf;
int bufsize;
int i;
int offset;
TCHAR * buf;
int bufsize;
int i;
int offset;
bufsize = 0;
for(i = 1; i < argc; i++)
{
bufsize += _tcslen(argv[i]) + 1;
}
bufsize = 0;
for(i = 1; i < argc; i++)
{
bufsize += _tcslen(argv[i]) + 1;
}
if (!bufsize)
{
return -1;
}
if (!bufsize)
{
return -1;
}
if (_tcsstr(argv[1], "--winetest") && (argc == 3))
{
char psBuffer[128];
char psBuffer2[128];
char *nlptr2;
char cmd[255];
char test[300];
FILE *pPipe;
FILE *pPipe2;
if (_tcsstr(argv[1], "--winetest") && (argc == 3))
{
char psBuffer[128];
char psBuffer2[128];
char *nlptr2;
char cmd[255];
char test[300];
FILE *pPipe;
FILE *pPipe2;
/* get available tests */
pPipe = _tpopen(argv[2], "r");
if (pPipe != NULL)
{
while(fgets(psBuffer, 128, pPipe))
{
if (psBuffer[0] == ' ')
{
strcpy(cmd, argv[2]);
strcat(cmd, " ");
strcat(cmd, psBuffer+4);
/* run the current test */
strcpy(test, "\n\nRunning ");
strcat(test, cmd);
OutputDebugStringA(test);
pPipe2 = _popen(cmd, "r");
if (pPipe2 != NULL)
{
while(fgets(psBuffer2, 128, pPipe2))
{
nlptr2 = strchr(psBuffer2, '\n');
if (nlptr2)
*nlptr2 = '\0';
puts(psBuffer2);
OutputDebugStringA(psBuffer2);
}
_pclose(pPipe2);
}
}
}
_pclose(pPipe);
}
}
else if (_tcsstr(argv[1], "--process") && (argc == 3))
{
char psBuffer[128];
FILE *pPipe;
/* get available tests */
strcpy(cmd, argv[2]);
strcat(cmd, " --list");
pPipe = _tpopen(cmd, "r");
if (pPipe != NULL)
{
while(fgets(psBuffer, 128, pPipe))
{
if (psBuffer[0] == ' ')
{
strcpy(cmd, argv[2]);
strcat(cmd, " ");
strcat(cmd, psBuffer+4);
/* run the current test */
strcpy(test, "\n\nRunning ");
strcat(test, cmd);
OutputDebugStringA(test);
pPipe2 = _popen(cmd, "r");
if (pPipe2 != NULL)
{
while(fgets(psBuffer2, 128, pPipe2))
{
nlptr2 = strchr(psBuffer2, '\n');
if (nlptr2)
*nlptr2 = '\0';
puts(psBuffer2);
OutputDebugStringA(psBuffer2);
}
_pclose(pPipe2);
}
}
}
_pclose(pPipe);
}
}
else if (_tcsstr(argv[1], "--process") && (argc == 3))
{
char psBuffer[128];
FILE *pPipe;
pPipe = _tpopen(argv[2], "r");
if (pPipe != NULL)
{
while(fgets(psBuffer, 128, pPipe))
{
puts(psBuffer);
OutputDebugStringA(psBuffer);
}
_pclose(pPipe);
}
}
else
{
buf = HeapAlloc(GetProcessHeap(), 0, (bufsize+1) * sizeof(TCHAR));
if (!buf)
{
return -1;
}
pPipe = _tpopen(argv[2], "r");
if (pPipe != NULL)
{
while(fgets(psBuffer, 128, pPipe))
{
puts(psBuffer);
OutputDebugStringA(psBuffer);
}
_pclose(pPipe);
}
}
else
{
buf = HeapAlloc(GetProcessHeap(), 0, (bufsize+1) * sizeof(TCHAR));
if (!buf)
{
return -1;
}
offset = 0;
for(i = 1; i < argc; i++)
{
int length = _tcslen(argv[i]);
_tcsncpy(&buf[offset], argv[i], length);
offset += length;
if (i + 1 < argc)
{
buf[offset] = _T(' ');
}
else
{
buf[offset] = _T('\n');
buf[offset+1] = _T('\0');
}
offset++;
}
_putts(buf);
OutputDebugString(buf);
HeapFree(GetProcessHeap(), 0, buf);
}
return 0;
offset = 0;
for(i = 1; i < argc; i++)
{
int length = _tcslen(argv[i]);
_tcsncpy(&buf[offset], argv[i], length);
offset += length;
if (i + 1 < argc)
{
buf[offset] = _T(' ');
}
else
{
buf[offset] = _T('\n');
buf[offset+1] = _T('\0');
}
offset++;
}
_putts(buf);
OutputDebugString(buf);
HeapFree(GetProcessHeap(), 0, buf);
}
return 0;
}

View File

@@ -34,6 +34,9 @@
#ifdef LANGUAGE_RO_RO
#include "lang/ro-RO.rc"
#endif
#ifdef LANGUAGE_RU_RU
#include "lang/ru-RU.rc"
#endif
#ifdef LANGUAGE_SV_SE
#include "lang/sv-SE.rc"
#endif

View File

@@ -9,9 +9,9 @@ DOSKEY [/INSERT | /OVERSTRIKE] [/EXENAME=exe] [/HISTORY] [/LISTSIZE=size]\n\
\n\
/INSERT Aktiviert den Einfügemodus.\n\
/OVERSTRIKE Deaktiviert den Einfügemodus.\n\
/EXENAME=exename Legt den Namen der Anwendung, auf die die Einstel-\n\
lungen angewendet werden sollen, fest. Der Standard-\n\
wert ist cmd.exe.\n\
/EXENAME=exename Gibt den Namen der Anwendung an, deren Einstellungen\n\
angezeigt oder geändert werden sollen.\n\
Der Standardwert ist cmd.exe.\n\
/HISTORY Zeigt den Befehlsverlauf an.\n\
/LISTSIZE=size Legt die Anzahl der Befehle per Verlaufspuffer fest.\n\
/REINSTALL Leert den Befehlsverlauf.\n\

View File

@@ -0,0 +1,26 @@
/* Russian translation by Kudratov Olimjon (olim98@bk.ru) */
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_HELP "Редактирование и повторный вызов команд ReactOS; создание макросов DOSKey.\n\
\n\
DOSKEY [/REINSTALL] [/LISTSIZE=размер] [/MACROS[:ALL | :модуль]]\n\
[/HISTORY] [/INSERT | /OVERSTRIKE] [/EXENAME=модуль] [/MACROFILE=файл]\n\
[макрос=[текст]]\n\n\
/REINSTALL Установка новой копии DOSKey.\n\
/LISTSIZE=размер Размер буфера журнала команд.\n\
/MACROS Вывод всех макросов DOSKey.\n\
/MACROS:ALL Вывод всех макросов DOSKey для всех исполняемых\n\
модулей, содержащих макросы DOSKey.\n\
/MACROS:модуль Вывод всех макросов DOSKey для указанного модуля.\n\
/HISTORY Вывод всех команд, хранящихся в памяти.\n\
/INSERT Включение режима вставки.\n\
/OVERSTRIKE Включение режима замены.\n\
/EXENAME=модуль Исполняемый модуль.\n\
/MACROFILE=файл Файл макросов, который следует установить.\n\
макрос Имя нового макроса.\n\
текст Команды, которые следует включить в макрос."
IDS_INVALID_MACRO_DEF "Неверный макрос: %s\n"
END

View File

@@ -125,11 +125,12 @@ find_str (char *sz, FILE *p, int invert_search,
void
usage (void)
{
TCHAR lpUsage[4096];
WCHAR wszUsage[4096];
char oemUsage[4096];
LoadString( GetModuleHandle(NULL), IDS_USAGE, (LPTSTR)lpUsage, 4096);
CharToOem(lpUsage, lpUsage);
printf( lpUsage );
LoadStringW (GetModuleHandleW (NULL), IDS_USAGE, wszUsage, sizeof(wszUsage) / sizeof(wszUsage[0]));
CharToOemW (wszUsage, oemUsage);
fputs (oemUsage, stdout);
}
@@ -139,7 +140,8 @@ main (int argc, char **argv)
{
char *opt, *needle = NULL;
int ret = 0;
TCHAR lpMessage[4096];
WCHAR wszMessage[4096];
char oemMessage[4096];
int invert_search = 0; /* flag to invert the search */
int count_lines = 0; /* flag to whether/not count lines */
@@ -216,9 +218,9 @@ main (int argc, char **argv)
{
/* 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);//
LoadStringW (GetModuleHandleW (NULL), IDS_NO_SUCH_FILE, wszMessage, sizeof(wszMessage) / sizeof(wszMessage[0]));
CharToOemW (wszMessage, oemMessage);
fprintf (stderr, oemMessage, *argv);
}
else
{
@@ -235,9 +237,9 @@ main (int argc, char **argv)
}
else
{
LoadString(GetModuleHandle(NULL), IDS_CANNOT_OPEN, (LPTSTR)lpMessage, 4096);
CharToOem(lpMessage, lpMessage);
fprintf (stderr, lpMessage,
LoadStringW (GetModuleHandleW (NULL), IDS_CANNOT_OPEN, wszMessage, sizeof(wszMessage) / sizeof(wszMessage[0]));
CharToOemW (wszMessage, oemMessage);
fprintf (stderr, oemMessage,
finddata.name);
}
}

View File

@@ -3,7 +3,8 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
IDS_USAGE "Sucht in einer Datei nach einer Zeichenfolge.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] ""string"" [ file... ]\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] ""Zeichenfolge""\n\
[[Laufwerk:][Pfad]Dateiname]]\n\
/C Zeigt nur die Anzahl der die Zeichenfolge enthaltenen Zeilen an.\n\
/I Ignoriert Groß-/Kleinbuchstaben bei der Suche.\n\
/N Zeigt die Zeilen mit ihren Zeilennummern an.\n\

View File

@@ -2,12 +2,15 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_USAGE "FIND: Поиск текстовой строки в одном или нескольких файлах.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] ""строка"" [ файл... ]\n\
/C Вывод только общего числа строк, содержащих заданную строку.\n\
/I Поиск без учета регистра символов.\n\
/N Вывод номеров отображаемых строк (начиная с 1).\n\
/V Вывод всех строк, НЕ содержащих заданную строку."
IDS_USAGE "Поиск текстовой строки в одном или нескольких файлах.\n\n\
FIND [/V] [/C] [/N] [/I] ""строка"" [[диск:][путь]имя_файла[ ...]]\n\
/V Вывод всех строк, НЕ содержащих заданную строку.\n\
/C Вывод только общего числа строк, содержащих заданную строку.\n\
/N Вывод номеров отображаемых строк.\n\
/I Поиск без учета регистра символов.\n\
""строка"" Искомая строка.\n\
[диск:][путь]имя_файла\n\
Один или несколько файлов, в которых выполняется поиск."
IDS_NO_SUCH_FILE "FIND: %s: Файл не существует.\n"
IDS_CANNOT_OPEN "FIND: %s: Невозможно открыть файл.\n"
END

View File

@@ -56,7 +56,7 @@ VOID PrintResourceString(INT resID, ...)
// FIXME: Optimize by using Win32 console functions.
if (IsConsoleHandle(OutputHandle))
{
_vcwprintf(tmpBuffer, arg_ptr);
vfwprintf(stdout, tmpBuffer, arg_ptr);
}
else
{

View File

@@ -9,7 +9,7 @@ END
STRINGTABLE
BEGIN
IDS_USAGE "Liefert Informationen über ReactOS Befehle.\n\n\
IDS_USAGE "Zeigt die Hilfe für Kommandozeilenbefehle an.\n\n\
HELP [Befehl]\n\n\
Befehl - Zeige Informationen über diesen Befehl.\n"
IDS_HELP1 "Übersicht aller verfügbaren Befehle und deren Kurzbeschreibungen\n\n\
@@ -19,12 +19,11 @@ HELP [Befehl]\n\n\
? Listet alle Befehle auf (ohne Erklärung).\n\
ALIAS Setzt, löscht oder zeigt den Alias.\n\
ATTRIB Zeigt Dateiattribute an bzw. ändert sie.\n\
BEEP Gibt einen Piepton durch den PC-Speaker aus.\n\
CALL Ruft eine Batchdatei aus einer anderen Batchdatei heraus auf.\n\
BEEP Gibt einen Piepton durch den Systemlautsprecher aus.\n\
CALL Ruft eine Batchdatei aus einer anderen heraus auf.\n\
CD Zeigt den Namen des aktuellen Verzeichnisses an bzw. ändert diesen.\n\
CHCP Zeigt die aktive Codepagenummer an bzw. legt diese fest.\n\
CHOICE Wartet auf den Benutzer, welcher aus einer Auswahl eine Option\n\
wählen muss.\n\
CHOICE Lässt den Benutzer eine Auswahl aus vorgegebenen Optionen treffen.\n\
CLS Löscht den Bildschirminhalt.\n\
CMD Startet eine neue Instanz des ReactOS-Befehlsinterpreters.\n\
COLOR Legt die Farben für Hinter- und Vordergrund der Konsole fest.\n\
@@ -37,10 +36,10 @@ ERASE Löscht eine oder mehrere Dateien.\n\
EXIT Beendet das Programm CMD.EXE (Befehlsinterpreter).\n\
FOR Führt einen angegebenen Befehl für jede Datei in einem Dateiensatz\n\
aus.\n\
FREE Zeigt den (freien) Speicherplatz an.\n\
FREE Zeigt die aktuelle Speicherausnutzung für Laufwerke an.\n\
GOTO Setzt den ReactOS-Befehlsinterpreter auf eine markierte Zeile in\n\
einem Batchprogramm.\n\
HELP Zeigt Hilfeinformationen zu ReactOS-Befehlen an.\n\
HELP Zeigt die Hilfe für Kommandozeilenbefehle an.\n\
HISTORY Listet alle Befehle auf, welche sich im Speicher befinden.\n\
IF Verarbeitet Ausdrücke in einer Batchdatei abhängig von Bedingungen.\n\
LABEL Erstellt, ändert oder löscht die Bezeichnung eines Volumes.\n\
@@ -56,22 +55,22 @@ PROMPT Ändert die Eingabeaufforderung.\n\
PUSHD Speichert das aktuelle Verzeichnis, und wechselt dann zu einem\n\
anderen Verzeichnis.\n\
RD Entfernt ein Verzeichnis.\n\
REM Leitet Kommentare in einer Batchdatei.\n\
REN Benennt eine od. mehrere Dateien um.\n\
RENAME Benennt eine od. mehrere Dateien um.\n\
REM Leitet Kommentare in einer Batchdatei ein.\n\
REN Benennt eine oder mehrere Dateien um.\n\
RENAME Benennt eine oder mehrere Dateien um.\n\
REPLACE Ersetzt Dateien.\n\
RMDIR Löscht ein Verzeichnis.\n\
SCREEN Bewegt den Cursor und optional die Ausgabe.\n\
SCREEN Bewegt den Eingabezeiger und gibt optional Text aus.\n\
SET Setzt oder löscht die Umgebungsvariablen bzw. zeigt sie an.\n\
SHIFT Verändert die Position ersetzbarer Parameter in Batchdateien.\n\
START Startet ein eigenes Fenster, um ein bestimmtes Programm oder einen\n\
Befehl auszuführen.\n\
TIME Zeigt die Systemzeit an bzw. legt sie fest.\n\
TIMER Erlaubt die Benutzung von bis zu 10 Stoppuhren\n\
TIMER Erlaubt die Benutzung von bis zu 10 Stoppuhren.\n\
TITLE Legt den Fenstertitel für das Eingabeaufforderungsfenster fest.\n\
TYPE Zeigt den Inhalt einer Textdatei an.\n\
VER Zeigt die ReactOS-Version an.\n\
VERIFY Legt fest, ob überwacht werden soll, ob Dateien korrekt auf den\n\
Datenträger geschrieben werden.\n\
VERIFY Legt fest, ob das ordnungsgemäße Schreiben von Dateien auf den\n\
Datenträger überprüft werden soll.\n\
VOL Zeigt die Datenträgervolumebezeichnung und die Seriennummer an.\n"
END

View File

@@ -1,5 +1,5 @@
/*
* FILE: base/shell/cmd/lang/ro-RO.rc
* FILE: base/applications/cmdutils/help/lang/ro-RO.rc
* ReactOS Project (http://www.reactos.org)
* AUTHOR: Magnus Olsen, 2005
* TRANSLATOR: Ștefan Fulea (stefan dot fulea at mail dot md)

View File

@@ -1,4 +1,4 @@
/*
/*
* Russian language file by Andrey Korotaev (unC0Rr@inbox.ru) and Aleksey Bragin (aleksey@reactos.com)
* Copyright 2005
*/
@@ -7,68 +7,69 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_NO_ENTRY "This command is not supported by the help utility.\nTry ""%s /?""\n."
IDS_NO_ENTRY "Данная команда не поддерживается. Воспользуйтесь параметром ""%s /?""\n."
END
STRINGTABLE
BEGIN
IDS_USAGE "Provides Help information for ReactOS commands.\n\n\
HELP [command]\n\n\
command - Display help information for this command.\n"
IDS_USAGE "Предоставляет информацию для команд ReactOS.\n\n\
HELP [команда]\n\n\
команда - Отображает информацию для этой команды.\n"
IDS_HELP1 "Список всех доступных команд с коротким описанием\n\n\
help команда\n\
команда /? Выводит подробную информацию о команде\n\n\
HELP [команда]\n\
команда /? Выводит подробную информацию о команде\n\n\
? Список всех доступных команд без описания.\n\
ALIAS Вывод, установка или удаление псевдонимов.\n\
ATTRIB Вывод и изменение атрибутов файлов.\n\
ATTRIB Отображение и изменение атрибутов файлов.\n\
BEEP Звуковой сигнал.\n\
CALL Вызов одного пакетного файла из другого.\n\
CD Вывод имени либо смена текущего каталога.\n\
CHCP Вывод или смена текущего номера кодовой страницы.\n\
CHOICE Ждет, пока пользователь не выберет один из указанных в списке символов.\n\
CD Вывод имени либо смена текущей папки.\n\
CHCP Вывод либо установка активной кодовой страницы.\n\
CHOICE Ждет, пока пользователь не выберет один из указанных\n\
в списке символов.\n\
CLS Очистка экрана.\n\
CMD Запуск новой копии интерпретатора команд.\n\
COLOR Установка цветов по умолчанию для текста и фона.\n\
CMD Запуск еще одного интерпретатора командных строк ReactOS.\n\
COLOR Установка цветов переднего плана и фона, используемых по умолчанию.\n\
COPY Копирование одного или нескольких файлов в другое место.\n\
DATE Вывод или изменение даты.\n\
DATE Вывод либо установка текущей даты.\n\
DELETE Удаление одного или нескольких файлов.\n\
DIR Вывод списка файлов и подкаталогов каталога.\n\
DIR Вывод списка файлов и подпапок из указанной папки.\n\
ECHO Вывод сообщений и переключение режима отображения команд на экране.\n\
ERASE Удаление одного или нескольких файлов.\n\
EXIT Завершает интерпретатор команд.\n\
FOR Запускает указанную команду для каждого файла из набора файлов.\n\
EXIT Завершение работы программы CMD.EXE (интерпретатора командных строк).\n\
FOR Запуск указанной команды для каждого из файлов в наборе.\n\
FREE (Свободное) дисковое пространство.\n\
GOTO Передача управления содержащей метку строке пакетного файла\n\
HELP Предоставляет справочную информацию о командах ReactOS.\n\
GOTO Передача управления в отмеченную строку пакетного файла.\n\
HELP Выводит справочную информацию о командах ReactOS.\n\
HISTORY Список запущенных команд\n\
IF Оператор условного выполнения команд в пакетном файле.\n\
LABEL Создание, изменение и удаление меток тома.\n\
MD Создание каталога.\n\
MKDIR Создание каталога.\n\
MKLINK Creates a filesystem link object.\n\
MOVE Перемещение файлов и переименование файлов и каталогов\n\
PATH Вывод или задание пути поиска исполняемых файлов.\n\
PAUSE Приостановка выполнения пакетного файла.\n\
POPD Восттанавливает предыдущее значение текущей директории сохраненное командой\n\
PUSHD.\n\
PROMPT Изменение приглашения командной строки.\n\
PUSHD Сохраняет текущую директорию, а потом меняет ее.\n\
RD Удаление каталога.\n\
REM Записывает комментарии (замечения) в пакетных файлах.\n\
REN Переименование одного или нескольких файлов или каталогов.\n\
RENAME Переименование одного или нескольких файлов или каталогов.\n\
RMDIR Удаление каталога.\n\
LABEL Создание, изменение и удаление меток тома для дисков.\n\
MD Создание папки.\n\
MKDIR Создание папки.\n\
MKLINK Создание символических и жестких ссылок.\n\
MOVE Перемещение одного или нескольких файлов из одной папки в другую.\n\
PATH Отображает или устанавливает путь поиска исполняемых файлов.\n\
PAUSE Приостанавливает выполнение пакетного файла и выводит сообщение.\n\
POPD Восстанавливает предыдущее значение активной папки,\n\
сохраненное с помощью команды PUSHD.\n\
PROMPT Изменяет приглашение в командной строке ReactOS.\n\
PUSHD Сохраняет значение активной папки и переходит к другой папке.\n\
RD Удаляет папку.\n\
REM Помещает комментарии в пакетные файлы.\n\
REN Переименовывает файлы или папки.\n\
RENAME Переименовывает файлы или папки.\n\
RMDIR Удаляет папку.\n\
SCREEN Перемещение курсора и вывод текста.\n\
SET Вывод, задание и удаление переменных среды.\n\
SHIFT Изменение содержимого (сдвиг) подставляемых параметров для пакетного файла\n"
IDS_HELP2 "START Открывает отдельное окно для запуска указанных команд или программ.\n\
Выполняет команду.\n\
TIME Вывод или изменение времени.\n\
SET Показывает, устанавливает и удаляет переменные среды ReactOS.\n\
SHIFT Изменение положения (сдвиг) подставляемых параметров для\n\
пакетного файла.\n"
IDS_HELP2 "START Выполнение программы или команды в отдельном окне.\n\
TIME Вывод и установка системного времени.\n\
TIMER Секундомер.\n\
TITLE Изменение заголовка окна командной строки.\n\
TYPE Вывод содержимого одного или нескольких текстовых файлов.\n\
VER Вывод версии ОС.\n\
VERIFY Включение или отключение режима проверки правильности записи файлов\n\
на диск.\n\
VOL Выводит метку тома и серийный номер.\n"
TITLE Назначение заголовка окна для текущего сеанса интерпретатора\n\
командных строк CMD.EXE.\n\
TYPE Вывод на экран содержимого текстовых файлов.\n\
VER Вывод сведений о версии ReactOS.\n\
VERIFY ВУстановка режима проверки правильности записи файлов на диск.\n\
VOL Вывод метки и серийного номера тома для диска.\n"
END

View File

@@ -1,7 +1,7 @@
/*
* PROJECT: Command-line interface
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/shell/cmd/lang/uk-UA.rc
* FILE: base/applications/cmdutils/help/lang/uk-UA.rc
* PURPOSE: Ukraianian Language File for Command-line interface
* TRANSLATORS: Artem Reznikov, Igor Paliychuk
*/

View File

@@ -33,6 +33,9 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#ifdef LANGUAGE_RO_RO
#include "lang/ro-RO.rc"
#endif
#ifdef LANGUAGE_RU_RU
#include "lang/ru-RU.rc"
#endif
#ifdef LANGUAGE_SQ_AL
#include "lang/sq-AL.rc"
#endif

View File

@@ -4,5 +4,5 @@ STRINGTABLE
BEGIN
IDS_USAGE "Zeigt den Computernamen an.\n\nhostname"
IDS_NOSET "Der Befehl hostname -s wird nicht unterstützt."
IDS_ERROR "Win32 Fehler"
IDS_ERROR "Win32-Fehler"
END

View File

@@ -0,0 +1,8 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_USAGE "Печать имени текущего узла.\n\nhostname"
IDS_NOSET "hostname -s не поддерживается."
IDS_ERROR "Ошибка Win32"
END

View File

@@ -11,11 +11,11 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_USAGE "Показывать данные постранично заполняя экран.\n\n\
MORE < [Том:][Путь]Имя файла\n\
Command | MORE \n\
MORE [Том:][Путь]Имя файла\n\n\
[Том:][Путь]Имя Файла Имя файла содержимое которого будет отображено.\n\
Command\t\t Команда, результат работы которой требуется выводить на экран.\n\n\
MORE < [диск:][путь]имя_файла\n\
имя_команды | MORE \n\
MORE [диск:][путь]имя_файла\n\n\
[диск:][путь]имяайла Файл, отображаемый по фрагментам.\n\
имя_команды Команда, вывод которой отображается на экране.\n\n\
При запросе ""-- Продолжить --"" вы можете нажать любую клавишу для отображения следующего экрана.\n"
IDS_CONTINUE " -- Продолжить (100%) -- "
IDS_FILE_ACCESS "Нет доступа к файлу %s."

View File

@@ -1,8 +1,5 @@
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
add_executable(reg reg.c reg.rc)
set_module_type(reg win32cui UNICODE)
add_importlibs(reg advapi32 user32 msvcrt kernel32)
add_importlibs(reg advapi32 user32 shlwapi msvcrt kernel32)
add_cd_file(TARGET reg DESTINATION reactos/system32 FOR all)

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
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"
STRING_NO_REMOTE "Грешка: Неуспешно добавяне на ключове в отдалечената машина\n"
STRING_CANNOT_FIND "Грешка: Уредбата не откри указания регистърен ключ или стойност\n"
END
{
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"
STRING_NO_REMOTE, "Грешка: Неуспешно добавяне на ключове в отдалечената машина\n"
STRING_CANNOT_FIND, "Грешка: Уредбата не откри указания регистърен ключ или стойност\n"
}

View File

@@ -6,14 +6,14 @@
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_USAGE "Syntaxe tohoto příkazu:\n\nREG [ ADD | DELETE | QUERY ]\nREG operace /?\n"
STRING_ADD_USAGE "REG ADD název_klíče [/v název_hodnoty | /ve] [/t type] [/s oddělovač] [/d data] [/f]\n"
STRING_DELETE_USAGE "REG DELETE název_klíče [/v název_hodnoty | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY název_klíče [/v název_hodnoty | /ve] [/s]\n"
STRING_SUCCESS "Operace byla úspěšně dokončena\n"
STRING_INVALID_KEY "Chyba: Neplatný název klíče\n"
STRING_INVALID_CMDLINE "Chyba: Neplatné parametry příkazové řádky\n"
STRING_NO_REMOTE "Chyba: Nelze přidat klíče na vzdálený stroj\n"
STRING_CANNOT_FIND "Chyba: Systém nenalezl zadaný klíč nebo hodnotu registru\n"
END
{
STRING_USAGE, "Syntaxe tohoto příkazu:\n\nREG [ ADD | DELETE | QUERY ]\nREG operace /?\n"
STRING_ADD_USAGE, "REG ADD název_klíče [/v název_hodnoty | /ve] [/t type] [/s oddělovač] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE název_klíče [/v název_hodnoty | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY název_klíče [/v název_hodnoty | /ve] [/s]\n"
STRING_SUCCESS, "Operace byla úspěšně dokončena\n"
STRING_INVALID_KEY, "Chyba: Neplatný název klíče\n"
STRING_INVALID_CMDLINE, "Chyba: Neplatné parametry příkazové řádky\n"
STRING_NO_REMOTE, "Chyba: Nelze přidat klíče na vzdálený stroj\n"
STRING_CANNOT_FIND, "Chyba: Systém nenalezl zadaný klíč nebo hodnotu registru\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_USAGE "Syntaksen for dette kommando er:\n\nREG [ ADD | DELETE | QUERY ]\nREG kommando /?\n"
STRING_ADD_USAGE "REG ADD nøgle_navn [/v værdi | /ve] [/t type] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE "REG DELETE nøgle_navn [/v værdi | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY nøgle_navn [/v værdi | /ve] [/s]\n"
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"
END
{
STRING_USAGE, "Syntaksen for dette kommando er:\n\nREG [ ADD | DELETE | QUERY ]\nREG kommando /?\n"
STRING_ADD_USAGE, "REG ADD nøgle_navn [/v værdi | /ve] [/t type] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nøgle_navn [/v værdi | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nøgle_navn [/v værdi | /ve] [/s]\n"
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

@@ -1,14 +1,14 @@
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_USAGE "Die Syntax von diesem Befehl ist:\n\nREG [ ADD | DELETE | QUERY ]\nREG Befehl /?\n"
STRING_ADD_USAGE "REG ADD Schlüssel [/v Wert | /ve] [/t Typ] [/s Trenner] [/d Daten] [/f]\n"
STRING_DELETE_USAGE "REG DELETE Schlüssel [/v Wert | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY Schlüssel [/v Wert | /ve] [/s]\n"
STRING_SUCCESS "Der Vorgang wurde erfolgreich abgeschlossen\n"
STRING_INVALID_KEY "Fehler: Ungültiger Schlüssel\n"
STRING_INVALID_CMDLINE "Fehler: Ungültige Befehlszeilenargumente\n"
STRING_NO_REMOTE "Fehler: Konnte Schlüssel nicht zum remote Rechner hinzufügen\n"
STRING_CANNOT_FIND "Fehler: Der angegebene Schlüssel oder Wert konnte nicht gefunden werden\n"
END
{
STRING_USAGE, "Syntax:\n\nREG [ ADD | DELETE | QUERY ]\nREG Befehl /?\n"
STRING_ADD_USAGE, "REG ADD Schlüssel [/v Wert | /ve] [/t Typ] [/s Trenner] [/d Daten] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE Schlüssel [/v Wert | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY Schlüssel [/v Wert | /ve] [/s]\n"
STRING_SUCCESS, "Der Vorgang wurde erfolgreich abgeschlossen\n"
STRING_INVALID_KEY, "Fehler: Ungültiger Schlüssel\n"
STRING_INVALID_CMDLINE, "Fehler: Ungültige Befehlszeilenargumente\n"
STRING_NO_REMOTE, "Fehler: Konnte Schlüssel nicht zum entfernten Rechner hinzufügen\n"
STRING_CANNOT_FIND, "Fehler: Der angegebene Schlüssel oder Wert konnte nicht gefunden werden\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_USAGE "The syntax of this command is:\n\nREG [ ADD | DELETE | QUERY ]\nREG command /?\n"
STRING_ADD_USAGE "REG ADD key_name [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE "REG DELETE key_name [/v value_name | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY key_name [/v value_name | /ve] [/s]\n"
STRING_SUCCESS "The operation completed successfully\n"
STRING_INVALID_KEY "Error: Invalid key name\n"
STRING_INVALID_CMDLINE "Error: Invalid command line parameters\n"
STRING_NO_REMOTE "Error: Unable to add keys to remote machine\n"
STRING_CANNOT_FIND "Error: The system was unable to find the specified registry key or value\n"
END
{
STRING_USAGE, "The syntax of this command is:\n\nREG [ ADD | DELETE | QUERY ]\nREG command /?\n"
STRING_ADD_USAGE, "REG ADD key_name [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE key_name [/v value_name | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY key_name [/v value_name | /ve] [/s]\n"
STRING_SUCCESS, "The operation completed successfully\n"
STRING_INVALID_KEY, "Error: Invalid key name\n"
STRING_INVALID_CMDLINE, "Error: Invalid command line parameters\n"
STRING_NO_REMOTE, "Error: Unable to add keys to remote machine\n"
STRING_CANNOT_FIND, "Error: The system was unable to find the specified registry key or value\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
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"
END
{
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

@@ -1,14 +1,14 @@
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_USAGE "La syntaxe de cette commande est :\n\nREG [ ADD | DELETE | QUERY ]\nREG commande /?\n"
STRING_ADD_USAGE "REG ADD nom_de_clé [/v nom_de_valeur | /ve] [/t type] [/s séparateur] [/d données] [/f]\n"
STRING_DELETE_USAGE "REG DELETE nom_de_clé [/v nom_de_valeur | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY nom_de_clé [/v nom_de_valeur | /ve] [/s]\n"
STRING_SUCCESS "L'opération s'est terminée avec succès\n"
STRING_INVALID_KEY "Erreur : nom de clé non valable\n"
STRING_INVALID_CMDLINE "Erreur : paramètre de ligne de commande non valable\n"
STRING_NO_REMOTE "Erreur : impossible d'ajouter des clés à une machine distante\n"
STRING_CANNOT_FIND "Erreur : le système n'a pas pu trouver la clé ou la valeur de registre spécifiée\n"
END
{
STRING_USAGE, "La syntaxe de cette commande est :\n\nREG [ ADD | DELETE | QUERY ]\nREG commande /?\n"
STRING_ADD_USAGE, "REG ADD nom_de_clé [/v nom_de_valeur | /ve] [/t type] [/s séparateur] [/d données] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nom_de_clé [/v nom_de_valeur | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nom_de_clé [/v nom_de_valeur | /ve] [/s]\n"
STRING_SUCCESS, "L'opération s'est terminée avec succès\n"
STRING_INVALID_KEY, "Erreur : nom de clé non valable\n"
STRING_INVALID_CMDLINE, "Erreur : paramètre de ligne de commande non valable\n"
STRING_NO_REMOTE, "Erreur : impossible d'ajouter des clés à une machine distante\n"
STRING_CANNOT_FIND, "Erreur : le système n'a pas pu trouver la clé ou la valeur de registre spécifiée\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_USAGE "La sintassi di questo comando è:\n\nREG [ ADD | DELETE | QUERY ]\nREG comando /?\n"
STRING_ADD_USAGE "REG ADD nome_della_chiave [/v nome_del_valore | /ve] [/t tipo] [/s separatore] [/d dati] [/f]\n"
STRING_DELETE_USAGE "REG DELETE nome_della_chiave [/v nome_del_valore | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY nome_della_chiave [/v nome_del_valore | /ve] [/s]\n"
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"
END
{
STRING_USAGE, "La sintassi di questo comando è:\n\nREG [ ADD | DELETE | QUERY ]\nREG comando /?\n"
STRING_ADD_USAGE, "REG ADD nome_della_chiave [/v nome_del_valore | /ve] [/t tipo] [/s separatore] [/d dati] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nome_della_chiave [/v nome_del_valore | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nome_della_chiave [/v nome_del_valore | /ve] [/s]\n"
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"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_USAGE "このコマンドの構文は次のとおりです:\n\nREG [ ADD | DELETE | QUERY ]\nREG コマンド /?\n"
STRING_ADD_USAGE "REG ADD キー名 [/v 値名 | /ve] [/t type] [/s セパレータ] [/d データ] [/f]\n"
STRING_DELETE_USAGE "REG DELETE キー名 [/v 値名 | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY キー名 [/v 値名 | /ve] [/s]\n"
STRING_SUCCESS "操作は正常に完了しました\n"
STRING_INVALID_KEY "エラー: キー名が無効です\n"
STRING_INVALID_CMDLINE "エラー: コマンド ライン引数が無効です\n"
STRING_NO_REMOTE "エラー: リモート マシンにキーを追加できませんでした\n"
STRING_CANNOT_FIND "エラー: システムは指定されたキーまたは値を見つけられませんでした\n"
END
{
STRING_USAGE, "このコマンドの構文は次のとおりです:\n\nREG [ ADD | DELETE | QUERY ]\nREG コマンド /?\n"
STRING_ADD_USAGE, "REG ADD キー名 [/v 値名 | /ve] [/t type] [/s セパレータ] [/d データ] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE キー名 [/v 値名 | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY キー名 [/v 値名 | /ve] [/s]\n"
STRING_SUCCESS, "操作は正常に完了しました\n"
STRING_INVALID_KEY, "エラー: キー名が無効です\n"
STRING_INVALID_CMDLINE, "エラー: コマンド ライン引数が無効です\n"
STRING_NO_REMOTE, "エラー: リモート マシンにキーを追加できませんでした\n"
STRING_CANNOT_FIND, "エラー: システムは指定されたキーまたは値を見つけられませんでした\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
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"
STRING_NO_REMOTE "에러: 원격 머신에 키를 더하는 것은 가능하지 않습니다\n"
STRING_CANNOT_FIND "에러: 이 시스템에서 지정된 레지스트리 키나 값을 찾을수 없습니다\n"
END
{
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"
STRING_NO_REMOTE, "에러: 원격 머신에 키를 더하는 것은 가능하지 않습니다\n"
STRING_CANNOT_FIND, "에러: 이 시스템에서 지정된 레지스트리 키나 값을 찾을수 없습니다\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_LITHUANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_USAGE "Šios komandos sintaksė yra:\n\nREG [ ADD | DELETE | QUERY ]\nREG komanda /?\n"
STRING_ADD_USAGE "REG ADD rakto_vardas [/v reikšmės_vardas | /ve] [/t tipas] [/s skirtukas] [/d duomenys] [/f]\n"
STRING_DELETE_USAGE "REG DELETE rakto_vardas [/v reikšmės_vardas | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY rakto_vardas [/v reikšmės_vardas | /ve] [/s]\n"
STRING_SUCCESS "Operacija sėkmingai įvykdyta\n"
STRING_INVALID_KEY "Klaida: Netinkamas rakto vardas\n"
STRING_INVALID_CMDLINE "Klaida: Netinkami komandos eilutės parametrai\n"
STRING_NO_REMOTE "Klaida: Negalima pridėti raktų nuotoliniame kompiuteryje\n"
STRING_CANNOT_FIND "Klaida: Sistemai nepavyko rasti nurodyto registro rakto ar reikšmės\n"
END
{
STRING_USAGE, "Šios komandos sintaksė yra:\n\nREG [ ADD | DELETE | QUERY ]\nREG komanda /?\n"
STRING_ADD_USAGE, "REG ADD rakto_vardas [/v reikšmės_vardas | /ve] [/t tipas] [/s skirtukas] [/d duomenys] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE rakto_vardas [/v reikšmės_vardas | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY rakto_vardas [/v reikšmės_vardas | /ve] [/s]\n"
STRING_SUCCESS, "Operacija sėkmingai įvykdyta\n"
STRING_INVALID_KEY, "Klaida: Netinkamas rakto vardas\n"
STRING_INVALID_CMDLINE, "Klaida: Netinkami komandos eilutės parametrai\n"
STRING_NO_REMOTE, "Klaida: Negalima pridėti raktų nuotoliniame kompiuteryje\n"
STRING_CANNOT_FIND, "Klaida: Sistemai nepavyko rasti nurodyto registro rakto ar reikšmės\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_USAGE "Gebruik van dit commando is:\n\nREG [ ADD | DELETE | QUERY ]\nREG commando /?\n"
STRING_ADD_USAGE "REG ADD sleutel_naam [/v waarde_naam | /ve] [/t type] [/s scheidingsteken] [/d data] [/f]\n"
STRING_DELETE_USAGE "REG DELETE sleutel_naam [/v waarde_naam | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY sleutel_naam [/v waarde_naam | /ve] [/s]\n"
STRING_SUCCESS "De bewerking is succesvol voltooid\n"
STRING_INVALID_KEY "Fout: Foutieve 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 registersleutel of waarde niet vinden\n"
END
{
STRING_USAGE, "Gebruik van dit commando is:\n\nREG [ ADD | DELETE | QUERY ]\nREG commando /?\n"
STRING_ADD_USAGE, "REG ADD sleutel_naam [/v waarde_naam | /ve] [/t type] [/s scheidingsteken] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE sleutel_naam [/v waarde_naam | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY sleutel_naam [/v waarde_naam | /ve] [/s]\n"
STRING_SUCCESS, "De bewerking is succesvol voltooid\n"
STRING_INVALID_KEY, "Fout: Foutieve 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 registersleutel of waarde niet vinden\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
STRINGTABLE
BEGIN
STRING_USAGE "Programmer kjøres som følger:\n\nREG [ ADD | DELETE | QUERY ]\nREG kommando /?\n"
STRING_ADD_USAGE "REG ADD nøkkelnavn [/v verdi | /ve] [/t type] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE "REG DELETE nøkkelnavn [/v verdi | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY nøkkelnavn [/v verdi | /ve] [/s]\n"
STRING_SUCCESS "Operasjonen ble utført\n"
STRING_INVALID_KEY "Feil: Ugyldig nøkkelnavn\n"
STRING_INVALID_CMDLINE "Feil: Ugyldige parametere på kommandolinjen\n"
STRING_NO_REMOTE "Feil: Kan ikke legge til nøkler på ekstern maskin\n"
STRING_CANNOT_FIND "Feil: Systemet klarte ikke finne den angitte registernøkkelen eller -verdien\n"
END
{
STRING_USAGE, "Programmer kjøres som følger:\n\nREG [ ADD | DELETE | QUERY ]\nREG kommando /?\n"
STRING_ADD_USAGE, "REG ADD nøkkelnavn [/v verdi | /ve] [/t type] [/s separator] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nøkkelnavn [/v verdi | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nøkkelnavn [/v verdi | /ve] [/s]\n"
STRING_SUCCESS, "Operasjonen ble utført\n"
STRING_INVALID_KEY, "Feil: Ugyldig nøkkelnavn\n"
STRING_INVALID_CMDLINE, "Feil: Ugyldige parametere på kommandolinjen\n"
STRING_NO_REMOTE, "Feil: Kan ikke legge til nøkler på ekstern maskin\n"
STRING_CANNOT_FIND, "Feil: Systemet klarte ikke finne den angitte registernøkkelen eller -verdien\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_USAGE "Składnia tego polecenia:\n\nREG [ ADD | DELETE | QUERY ]\nREG polecenie /?\n"
STRING_ADD_USAGE "REG ADD nazwa_klucza [/v nazwa_wartości | /ve] [/t typ] [/s separator] [/d dane] [/f]\n"
STRING_DELETE_USAGE "REG DELETE nazwa_klucza [/v nazwa_wartości | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY nazwa_klucza [/v nazwa_wartości | /ve] [/s]\n"
STRING_SUCCESS "Operacja zakończona pomyślnie\n"
STRING_INVALID_KEY "Błąd: Niewłaściwa nazwa klucza\n"
STRING_INVALID_CMDLINE "Błąd: Niewłaściwe parametry wiersza poleceń\n"
STRING_NO_REMOTE "Błąd: Nie można dodać kluczy do zdalnej maszyny\n"
STRING_CANNOT_FIND "Błąd: System nie mógł znaleźć podanej wartości lub klucza rejestru\n"
END
{
STRING_USAGE, "Składnia tego polecenia:\n\nREG [ ADD | DELETE | QUERY ]\nREG polecenie /?\n"
STRING_ADD_USAGE, "REG ADD nazwa_klucza [/v nazwa_wartości | /ve] [/t typ] [/s separator] [/d dane] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nazwa_klucza [/v nazwa_wartości | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nazwa_klucza [/v nazwa_wartości | /ve] [/s]\n"
STRING_SUCCESS, "Operacja zakończona pomyślnie\n"
STRING_INVALID_KEY, "Błąd: Niewłaściwa nazwa klucza\n"
STRING_INVALID_CMDLINE, "Błąd: Niewłaściwe parametry wiersza poleceń\n"
STRING_NO_REMOTE, "Błąd: Nie można dodać kluczy do zdalnej maszyny\n"
STRING_CANNOT_FIND, "Błąd: System nie mógł znaleźć podanej wartości lub klucza rejestru\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_USAGE "A sintaxe deste comando é:\n\nREG [ ADD | DELETE | QUERY ]\nREG comando /?\n"
STRING_ADD_USAGE "REG ADD nome_chave [/v nome_valor | /ve] [/t tipo] [/s separador] [/d dados] [/f]\n"
STRING_DELETE_USAGE "REG DELETE nome_chave [/v nome_valor | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY nome_chave [/v nome_valor | /ve] [/s]\n"
STRING_SUCCESS "A operação foi completada com sucesso\n"
STRING_INVALID_KEY "Erro: Nome de chave inválido\n"
STRING_INVALID_CMDLINE "Erro: Parâmetros da linha de comandos inválidos\n"
STRING_NO_REMOTE "Erro: Incapaz de adicionar chaves à máquina remota\n"
STRING_CANNOT_FIND "Erro: O sistema foi incapaz de encontrar a chave de registo ou valor especificado\n"
END
{
STRING_USAGE, "A sintaxe deste comando é:\n\nREG [ ADD | DELETE | QUERY ]\nREG comando /?\n"
STRING_ADD_USAGE, "REG ADD nome_chave [/v nome_valor | /ve] [/t tipo] [/s separador] [/d dados] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE nome_chave [/v nome_valor | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY nome_chave [/v nome_valor | /ve] [/s]\n"
STRING_SUCCESS, "A operação foi completada com sucesso\n"
STRING_INVALID_KEY, "Erro: Nome de chave inválido\n"
STRING_INVALID_CMDLINE, "Erro: Parâmetros da linha de comandos inválidos\n"
STRING_NO_REMOTE, "Erro: Incapaz de adicionar chaves à máquina remota\n"
STRING_CANNOT_FIND, "Erro: O sistema foi incapaz de encontrar a chave de registo ou valor especificado\n"
}

View File

@@ -1,14 +1,20 @@
/*
Translators: Claudia Cotună
Michael Stefaniuc
Ștefan Fulea (stefan dot fulea at mail dot md)
*/
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
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"
END
{
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ția a fost îndeplinită 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

@@ -1,14 +1,14 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
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"
STRING_NO_REMOTE "Ошибка: невозможно добавить ключи на удаленной машине\n"
STRING_CANNOT_FIND "Ошибка: не удалось найти указанный ключ реестра или значение\n"
END
{
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"
STRING_NO_REMOTE, "Ошибка: невозможно добавить ключи на удаленной машине\n"
STRING_CANNOT_FIND, "Ошибка: не удалось найти указанный ключ реестра или значение\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_USAGE "Sintaksa ukaza:\n\nREG [ ADD | DELETE | QUERY ]\nREG ukaz /?\n"
STRING_ADD_USAGE "REG ADD ime_ključa [/v ime_vrednosti | /ve] [/t vrsta] [/s ločilo] [/d podatki] [/f]\n"
STRING_DELETE_USAGE "REG DELETE ime_ključa [/v ime_vrednosti | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY ime_ključa [/v ime_vrednosti | /ve] [/s]\n"
STRING_SUCCESS "Operacija se je uspešno izvedla\n"
STRING_INVALID_KEY "Napaka: Napačno ime ključa\n"
STRING_INVALID_CMDLINE "Napaka: Napačen parameter v ukazni vrstici\n"
STRING_NO_REMOTE "Napaka: Na morem dodati ključa na oddaljen računalnik\n"
STRING_CANNOT_FIND "Napaka: Sistem ni našel zahtevanega ključa ali vrednosti\n"
END
{
STRING_USAGE, "Sintaksa ukaza:\n\nREG [ ADD | DELETE | QUERY ]\nREG ukaz /?\n"
STRING_ADD_USAGE, "REG ADD ime_ključa [/v ime_vrednosti | /ve] [/t vrsta] [/s ločilo] [/d podatki] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE ime_ključa [/v ime_vrednosti | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY ime_ključa [/v ime_vrednosti | /ve] [/s]\n"
STRING_SUCCESS, "Operacija se je uspešno izvedla\n"
STRING_INVALID_KEY, "Napaka: Napačno ime ključa\n"
STRING_INVALID_CMDLINE, "Napaka: Napačen parameter v ukazni vrstici\n"
STRING_NO_REMOTE, "Napaka: Na morem dodati ključa na oddaljen računalnik\n"
STRING_CANNOT_FIND, "Napaka: Sistem ni našel zahtevanega ključa ali vrednosti\n"
}

View File

@@ -5,14 +5,14 @@
LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_USAGE "Sintaksa e kësaj komande është:\n\nREG [ ADD | DELETE | QUERY ]\nREG Komandë /?\n"
STRING_ADD_USAGE "REG ADD emri_çelsit [/v value_name | /ve] [/t tipi] [/s ndares] [/d data] [/f]\n"
STRING_DELETE_USAGE "REG DELETE emri_çelsit [/v value_name | /ve | /va] [/f]\n"
STRING_QUERY_USAGE "REG QUERY emri_çelsit [/v value_name | /ve] [/s]\n"
STRING_SUCCESS "Operacioni përfundoi me sukses\n"
STRING_INVALID_KEY "Error: Çelsi i pavlerfshem i emrit\n"
STRING_INVALID_CMDLINE "Error: Parametrat e pavlefshme ne vijën komanduse\n"
STRING_NO_REMOTE "Error: Në pamundësi për të shtuar çelësat në makinë në distancë\n"
STRING_CANNOT_FIND "Error: Sistemi nuk ishte në gjendje për të gjetur çelësat të caktuar të regjistrit ose vlerës\n"
END
{
STRING_USAGE, "Sintaksa e kësaj komande është:\n\nREG [ ADD | DELETE | QUERY ]\nREG Komandë /?\n"
STRING_ADD_USAGE, "REG ADD emri_çelsit [/v value_name | /ve] [/t tipi] [/s ndares] [/d data] [/f]\n"
STRING_DELETE_USAGE, "REG DELETE emri_çelsit [/v value_name | /ve | /va] [/f]\n"
STRING_QUERY_USAGE, "REG QUERY emri_çelsit [/v value_name | /ve] [/s]\n"
STRING_SUCCESS, "Operacioni përfundoi me sukses\n"
STRING_INVALID_KEY, "Error: Çelsi i pavlerfshem i emrit\n"
STRING_INVALID_CMDLINE, "Error: Parametrat e pavlefshme ne vijën komanduse\n"
STRING_NO_REMOTE, "Error: Në pamundësi për të shtuar çelësat në makinë në distancë\n"
STRING_CANNOT_FIND, "Error: Sistemi nuk ishte në gjendje për të gjetur çelësat të caktuar të regjistrit ose vlerës\n"
}

View File

@@ -1,14 +1,14 @@
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
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"
END
{
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

@@ -1,14 +1,14 @@
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
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"
STRING_NO_REMOTE "Помилка: неможливо додати ключі на віддаленій машині\n"
STRING_CANNOT_FIND "Помилка: не вдалось знайти вказаний ключ реєстру чи значення\n"
END
{
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"
STRING_NO_REMOTE, "Помилка: неможливо додати ключі на віддаленій машині\n"
STRING_CANNOT_FIND, "Помилка: не вдалось знайти вказаний ключ реєстру чи значення\n"
}

View File

@@ -22,6 +22,7 @@
#include <winuser.h>
#include <winreg.h>
#include <wincon.h>
#include <shlwapi.h>
#include <wine/unicode.h>
#include "reg.h"
@@ -34,7 +35,7 @@ static int reg_printfW(const WCHAR *msg, ...)
WCHAR msg_buffer[8192];
va_start(va_args, msg);
vsprintfW(msg_buffer, msg, va_args);
vsnprintfW(msg_buffer, 8192, msg, va_args);
va_end(va_args);
wlen = lstrlenW(msg_buffer);
@@ -293,7 +294,7 @@ static int reg_delete(WCHAR *key_name, WCHAR *value_name, BOOL value_empty,
/* Delete subtree only if no /v* option is given */
if (!value_name && !value_empty && !value_all)
{
if (RegDeleteTreeW(root,p)!=ERROR_SUCCESS)
if (SHDeleteKeyW(root, p) != ERROR_SUCCESS)
{
reg_message(STRING_CANNOT_FIND);
return 1;

View File

@@ -23,12 +23,12 @@
//#include <windef.h>
/* Translation IDs. */
#define STRING_USAGE 101
#define STRING_ADD_USAGE 102
#define STRING_DELETE_USAGE 103
#define STRING_QUERY_USAGE 104
#define STRING_SUCCESS 105
#define STRING_INVALID_KEY 106
#define STRING_INVALID_CMDLINE 107
#define STRING_NO_REMOTE 108
#define STRING_CANNOT_FIND 109
#define STRING_USAGE 101
#define STRING_ADD_USAGE 102
#define STRING_DELETE_USAGE 103
#define STRING_QUERY_USAGE 104
#define STRING_SUCCESS 105
#define STRING_INVALID_KEY 106
#define STRING_INVALID_CMDLINE 107
#define STRING_NO_REMOTE 108
#define STRING_CANNOT_FIND 109

View File

@@ -1,19 +1,19 @@
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_USAGE "taskkill [/?] [/f] [/im Prozess Name | /pid Prozess ID]\n"
STRING_INVALID_OPTION "Fehler: Unbekannte oder ungülige Kommandozeilenoption angegeben.\n"
STRING_INVALID_PARAM "Fehler: Ungültiger Kommandozeilenparameter angegeben.\n"
STRING_MISSING_OPTION "Fehler: Eine der Optionen /im oder /pid muss angegeben werden.\n"
STRING_MISSING_PARAM "Fehler: Option %1 erwartet einen Kommandozeilenparameter.\n"
STRING_MUTUAL_EXCLUSIVE "Fehler: Optionen /im und /pid schließen sich gegenseitig aus.\n"
STRING_CLOSE_PID_SEARCH "Schließen Nachricht an Top-Level Fenster des Prozesses mit PID %1!u! gesendet.\n"
STRING_CLOSE_PROC_SRCH "Schließen Nachricht an Top-Level Fenster des Prozesses ""%1"" mit PID %2!u! gesendet.\n"
STRING_TERM_PID_SEARCH "Prozess mit PID %1!u! wurde erzwungenermaßen beendet.\n"
STRING_TERM_PROC_SEARCH "Prozess ""%1"" mit PID %2!u! wurde erzwungenermaßen beendet.\n"
STRING_SEARCH_FAILED "Fehler: Konnte Prozess ""%1"" nicht finden.\n"
STRING_ENUM_FAILED "Fehler: Prozessliste kann nicht aufgebaut werden.\n"
STRING_TERMINATE_FAILED "Fehler: Prozess ""%1"" kann nicht beendet werden.\n"
STRING_SELF_TERMINATION "Fehler: Prozess Selbstterminierung ist nicht gestattet.\n"
END
{
STRING_USAGE, "Usage: taskkill [/?] [/f] [/im Prozess Name | /pid Prozess ID]\n"
STRING_INVALID_OPTION, "Fehler: Unbekannte oder ungülige Kommandozeilenoption angegeben.\n"
STRING_INVALID_PARAM, "Fehler: Ungültiger Kommandozeilenparameter angegeben.\n"
STRING_MISSING_OPTION, "Fehler: Eine der Optionen /im oder /pid muss angegeben werden.\n"
STRING_MISSING_PARAM, "Fehler: Option %1 erwartet einen Kommandozeilenparameter.\n"
STRING_MUTUAL_EXCLUSIVE, "Fehler: Optionen /im und /pid schließen sich gegenseitig aus.\n"
STRING_CLOSE_PID_SEARCH, "Schließen-Befehl an oberstes Fenster des Prozesses mit PID %1!u! gesendet.\n"
STRING_CLOSE_PROC_SRCH, "Schließen-Befehl an oberstes Fenster des Prozesses ""%1"" mit PID %2!u! gesendet.\n"
STRING_TERM_PID_SEARCH, "Prozess mit PID %1!u! wurde erzwungenermaßen beendet.\n"
STRING_TERM_PROC_SEARCH, "Prozess ""%1"" mit PID %2!u! wurde erzwungenermaßen beendet.\n"
STRING_SEARCH_FAILED, "Fehler: Konnte Prozess ""%1"" nicht finden.\n"
STRING_ENUM_FAILED, "Fehler: Prozessliste kann nicht aufgebaut werden.\n"
STRING_TERMINATE_FAILED, "Fehler: Prozess ""%1"" kann nicht beendet werden.\n"
STRING_SELF_TERMINATION, "Fehler: Der Prozess kann sich nicht selbst beenden.\n"
}

View File

@@ -1,19 +1,19 @@
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_USAGE "taskkill [/?] [/f] [/im ProcessName | /pid ProcessID]\n"
STRING_INVALID_OPTION "Error: Unknown or invalid command line option specified.\n"
STRING_INVALID_PARAM "Error: Invalid command line parameter specified.\n"
STRING_MISSING_OPTION "Error: One of options /im or /pid must be specified.\n"
STRING_MISSING_PARAM "Error: Option %1 expects a command line parameter.\n"
STRING_MUTUAL_EXCLUSIVE "Error: Options /im and /pid are mutually exclusive.\n"
STRING_CLOSE_PID_SEARCH "Close message sent to top-level windows of process with PID %1!u!.\n"
STRING_CLOSE_PROC_SRCH "Close message sent to top-level windows of process ""%1"" with PID %2!u!.\n"
STRING_TERM_PID_SEARCH "Process with PID %1!u! was forcibly terminated.\n"
STRING_TERM_PROC_SEARCH "Process ""%1"" with PID %2!u! was forcibly terminated.\n"
STRING_SEARCH_FAILED "Error: Could not find process ""%1"".\n"
STRING_ENUM_FAILED "Error: Unable to enumerate the process list.\n"
STRING_TERMINATE_FAILED "Error: Unable to terminate process ""%1"".\n"
STRING_SELF_TERMINATION "Error: Process self-termination is not permitted.\n"
END
{
STRING_USAGE, "Usage: taskkill [/?] [/f] [/im ProcessName | /pid ProcessID]\n"
STRING_INVALID_OPTION, "Error: Unknown or invalid command line option specified.\n"
STRING_INVALID_PARAM, "Error: Invalid command line parameter specified.\n"
STRING_MISSING_OPTION, "Error: One of options /im or /pid must be specified.\n"
STRING_MISSING_PARAM, "Error: Option %1 expects a command line parameter.\n"
STRING_MUTUAL_EXCLUSIVE, "Error: Options /im and /pid are mutually exclusive.\n"
STRING_CLOSE_PID_SEARCH, "Close message sent to top-level windows of process with PID %1!u!.\n"
STRING_CLOSE_PROC_SRCH, "Close message sent to top-level windows of process ""%1"" with PID %2!u!.\n"
STRING_TERM_PID_SEARCH, "Process with PID %1!u! was forcibly terminated.\n"
STRING_TERM_PROC_SEARCH, "Process ""%1"" with PID %2!u! was forcibly terminated.\n"
STRING_SEARCH_FAILED, "Error: Could not find process ""%1"".\n"
STRING_ENUM_FAILED, "Error: Unable to enumerate the process list.\n"
STRING_TERMINATE_FAILED, "Error: Unable to terminate process ""%1"".\n"
STRING_SELF_TERMINATION, "Error: Process self-termination is not permitted.\n"
}

View File

@@ -3,19 +3,19 @@
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_USAGE "taskkill [/?] [/f] [/im NumeProces | /pid IdProces]\n"
STRING_INVALID_OPTION "Eroare: Opțiune specificată nevalidă sau necunoscută.\n"
STRING_INVALID_PARAM "Eroare: Parametrul de comandă specificat este nevalid.\n"
STRING_MISSING_OPTION "Eroare: Trebuie specificată una dintre opțiunile /im sau /pid.\n"
STRING_MISSING_PARAM "Eroare: Opțiunea %1 necesită un parametru.\n"
STRING_MUTUAL_EXCLUSIVE "Eroare: Opțiunile /im și /pid sunt reciproc exclusive.\n"
STRING_CLOSE_PID_SEARCH "Către fereastra procesului cu PID %1!u! a fost emis un mesaj de închidere.\n"
STRING_CLOSE_PROC_SRCH "Către fereastra procesului «%1» cu PID %2!u! a fost emis un mesaj de închidere.\n"
STRING_TERM_PID_SEARCH "Procesul cu PID %1!u! a fost oprit în mod forțat.\n"
STRING_TERM_PROC_SEARCH "Procesul «%1» cu PID %2!u! a fost oprit în mod forțat.\n"
STRING_SEARCH_FAILED "Eroare: Nu se poate găsi procesul «%1».\n"
STRING_ENUM_FAILED "Eroare: Nu se poate enumera lista de procese.\n"
STRING_TERMINATE_FAILED "Eroare: Procesul «%1» nu poate fi oprit.\n"
STRING_SELF_TERMINATION "Eroare: Auto-terminarea nu este permisă.\n"
END
{
STRING_USAGE, "Utilizare: taskkill [/?] [/f] [/im NumeProces | /pid IdProces]\n"
STRING_INVALID_OPTION, "Eroare: Opțiune specificată nevalidă sau necunoscută.\n"
STRING_INVALID_PARAM, "Eroare: Parametrul de comandă specificat este nevalid.\n"
STRING_MISSING_OPTION, "Eroare: Trebuie specificată una dintre opțiunile /im sau /pid.\n"
STRING_MISSING_PARAM, "Eroare: Opțiunea %1 necesită un parametru.\n"
STRING_MUTUAL_EXCLUSIVE, "Eroare: Opțiunile /im și /pid sunt reciproc exclusive.\n"
STRING_CLOSE_PID_SEARCH, "Către fereastra procesului cu PID %1!u! a fost emis un mesaj de închidere.\n"
STRING_CLOSE_PROC_SRCH, "Către fereastra procesului «%1» cu PID %2!u! a fost emis un mesaj de închidere.\n"
STRING_TERM_PID_SEARCH, "Procesul cu PID %1!u! a fost oprit în mod forțat.\n"
STRING_TERM_PROC_SEARCH, "Procesul «%1» cu PID %2!u! a fost oprit în mod forțat.\n"
STRING_SEARCH_FAILED, "Eroare: Nu se poate găsi procesul «%1».\n"
STRING_ENUM_FAILED, "Eroare: Nu se poate enumera lista de procese.\n"
STRING_TERMINATE_FAILED, "Eroare: Procesul «%1» nu poate fi oprit.\n"
STRING_SELF_TERMINATION, "Eroare: Auto-terminarea nu este permisă.\n"
}

View File

@@ -0,0 +1,19 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_USAGE, "Usage: TASKKILL [/F] [/IM <образ> | /PID <процесс>]\n"
STRING_INVALID_OPTION, "Error: Unknown or invalid command line option specified.\n"
STRING_INVALID_PARAM, "Error: Invalid command line parameter specified.\n"
STRING_MISSING_OPTION, "Error: One of options /im or /pid must be specified.\n"
STRING_MISSING_PARAM, "Error: Option %1 expects a command line parameter.\n"
STRING_MUTUAL_EXCLUSIVE, "Error: Options /im and /pid are mutually exclusive.\n"
STRING_CLOSE_PID_SEARCH, "Close message sent to top-level windows of process with PID %1!u!.\n"
STRING_CLOSE_PROC_SRCH, "Close message sent to top-level windows of process ""%1"" with PID %2!u!.\n"
STRING_TERM_PID_SEARCH, "Process with PID %1!u! was forcibly terminated.\n"
STRING_TERM_PROC_SEARCH, "Process ""%1"" with PID %2!u! was forcibly terminated.\n"
STRING_SEARCH_FAILED, "Error: Could not find process ""%1"".\n"
STRING_ENUM_FAILED, "Error: Unable to enumerate the process list.\n"
STRING_TERMINATE_FAILED, "Error: Unable to terminate process ""%1"".\n"
STRING_SELF_TERMINATION, "Error: Process self-termination is not permitted.\n"
}

View File

@@ -5,19 +5,19 @@
LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_USAGE "taskkill [/?] [/f] [/im ProcessName | /pid ProcessID]\n"
STRING_INVALID_OPTION "Gabim: Panjohur ose i pavlefshëm opsioni linjes komandes i specifikuar.\n"
STRING_INVALID_PARAM "Gabim: Pavlefshëm parametri i specifikuar ne linjen e komandes.\n"
STRING_MISSING_OPTION "Gabim: Njera nga opsionet /im ose /pid duhet te specifikohet.\n"
STRING_MISSING_PARAM "Gabim: Opsioni %1 kalon parametrin i linjes se komandes.\n"
STRING_MUTUAL_EXCLUSIVE "Gabim: Opsioni /im dhe /pid janë exclusiv reciprokisht.\n"
STRING_CLOSE_PID_SEARCH "Mbyll mesazhin e derguar ne dritaren e nivelin-lart te proceseve me PID %1!u!.\n"
STRING_CLOSE_PROC_SRCH "Mbyll mesazhin e derguar ne dritaren e nivelin-lart te proceseve ""%1"" me PID %2!u!.\n"
STRING_TERM_PID_SEARCH "Proceso me PID %1!u! u mbyll me force.\n"
STRING_TERM_PROC_SEARCH "Proces ""%1"" me PID %2!u! u mbyll me force.\n"
STRING_SEARCH_FAILED "Gabim: Nuk u gjend procesi ""%1"".\n"
STRING_ENUM_FAILED "Gabim: Në pamundësi për të numëruar listën proceseve.\n"
STRING_TERMINATE_FAILED "Gabim: Pamundur mbyllja e proceseve ""%1"".\n"
STRING_SELF_TERMINATION "Gabim: Procesi vetë-përfundimi nuk është i lejuar.\n"
END
{
STRING_USAGE, "Usage: taskkill [/?] [/f] [/im ProcessName | /pid ProcessID]\n"
STRING_INVALID_OPTION, "Gabim: Panjohur ose i pavlefshëm opsioni linjes komandes i specifikuar.\n"
STRING_INVALID_PARAM, "Gabim: Pavlefshëm parametri i specifikuar ne linjen e komandes.\n"
STRING_MISSING_OPTION, "Gabim: Njera nga opsionet /im ose /pid duhet te specifikohet.\n"
STRING_MISSING_PARAM, "Gabim: Opsioni %1 kalon parametrin i linjes se komandes.\n"
STRING_MUTUAL_EXCLUSIVE, "Gabim: Opsioni /im dhe /pid janë exclusiv reciprokisht.\n"
STRING_CLOSE_PID_SEARCH, "Mbyll mesazhin e derguar ne dritaren e nivelin-lart te proceseve me PID %1!u!.\n"
STRING_CLOSE_PROC_SRCH, "Mbyll mesazhin e derguar ne dritaren e nivelin-lart te proceseve ""%1"" me PID %2!u!.\n"
STRING_TERM_PID_SEARCH, "Proceso me PID %1!u! u mbyll me force.\n"
STRING_TERM_PROC_SEARCH, "Proces ""%1"" me PID %2!u! u mbyll me force.\n"
STRING_SEARCH_FAILED, "Gabim: Nuk u gjend procesi ""%1"".\n"
STRING_ENUM_FAILED, "Gabim: Në pamundësi për të numëruar listën proceseve.\n"
STRING_TERMINATE_FAILED, "Gabim: Pamundur mbyllja e proceseve ""%1"".\n"
STRING_SELF_TERMINATION, "Gabim: Procesi vetë-përfundimi nuk është i lejuar.\n"
}

View File

@@ -32,7 +32,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(taskkill);
static int force_termination;
static BOOL force_termination = FALSE;
static WCHAR **task_list;
static unsigned int task_count;
@@ -450,36 +450,46 @@ static BOOL add_to_task_list(WCHAR *name)
* options are detected as parameters when placed after options that accept one. */
static BOOL process_arguments(int argc, WCHAR *argv[])
{
static const WCHAR slashForceTerminate[] = {'/','f',0};
static const WCHAR slashImage[] = {'/','i','m',0};
static const WCHAR slashPID[] = {'/','p','i','d',0};
static const WCHAR slashHelp[] = {'/','?',0};
static const WCHAR slashTerminateChildren[] = {'/','t',0};
static const WCHAR opForceTerminate[] = {'f',0};
static const WCHAR opImage[] = {'i','m',0};
static const WCHAR opPID[] = {'p','i','d',0};
static const WCHAR opHelp[] = {'?',0};
static const WCHAR opTerminateChildren[] = {'t',0};
if (argc > 1)
{
int i;
BOOL has_im = 0, has_pid = 0;
WCHAR *argdata;
BOOL has_im = FALSE, has_pid = FALSE;
/* Only the lone help option is recognized. */
if (argc == 2 && !strcmpW(slashHelp, argv[1]))
if (argc == 2)
{
taskkill_message(STRING_USAGE);
exit(0);
argdata = argv[1];
if ((*argdata == '/' || *argdata == '-') && !strcmpW(opHelp, argdata + 1))
{
taskkill_message(STRING_USAGE);
exit(0);
}
}
for (i = 1; i < argc; i++)
{
int got_im = 0, got_pid = 0;
BOOL got_im = FALSE, got_pid = FALSE;
if (!strcmpiW(slashTerminateChildren, argv[i]))
WINE_FIXME("/T not supported\n");
if (!strcmpiW(slashForceTerminate, argv[i]))
force_termination = 1;
argdata = argv[i];
if (*argdata != '/' && *argdata != '-')
goto invalid;
argdata++;
if (!strcmpiW(opTerminateChildren, argdata))
WINE_FIXME("argument T not supported\n");
if (!strcmpiW(opForceTerminate, argdata))
force_termination = TRUE;
/* Options /IM and /PID appear to behave identically, except for
* the fact that they cannot be specified at the same time. */
else if ((got_im = !strcmpiW(slashImage, argv[i])) ||
(got_pid = !strcmpiW(slashPID, argv[i])))
else if ((got_im = !strcmpiW(opImage, argdata)) ||
(got_pid = !strcmpiW(opPID, argdata)))
{
if (!argv[i + 1])
{
@@ -488,8 +498,8 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
return FALSE;
}
if (got_im) has_im = 1;
if (got_pid) has_pid = 1;
if (got_im) has_im = TRUE;
if (got_pid) has_pid = TRUE;
if (has_im && has_pid)
{
@@ -504,6 +514,7 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
}
else
{
invalid:
taskkill_message(STRING_INVALID_OPTION);
taskkill_message(STRING_USAGE);
return FALSE;

View File

@@ -39,6 +39,9 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#ifdef LANGUAGE_RO_RO
#include "lang/ro-RO.rc"
#endif
#ifdef LANGUAGE_RU_RU
#include "lang/ru-RU.rc"
#endif
#ifdef LANGAUGE_SQ_AL
#include "lang/sq-AL.rc"
#endif

View File

@@ -1,8 +1,8 @@
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_CMDLINE_NOT_SUPPORTED "Fehler: Befehlszeile nicht unterstützt\n"
STRING_ALIAS_NOT_FOUND "Fehler: Alias nicht gefunden\n"
STRING_INVALID_QUERY "Fehler: Ungültige Abfrage\n"
END
{
STRING_CMDLINE_NOT_SUPPORTED, "Fehler: Befehlszeile nicht unterstützt\n"
STRING_ALIAS_NOT_FOUND, "Fehler: Alias nicht gefunden\n"
STRING_INVALID_QUERY, "Fehler: Ungültige Abfrage\n"
}

View File

@@ -1,8 +1,8 @@
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_CMDLINE_NOT_SUPPORTED "Error: Command line not supported\n"
STRING_ALIAS_NOT_FOUND "Error: Alias not found\n"
STRING_INVALID_QUERY "Error: Invalid query\n"
END
{
STRING_CMDLINE_NOT_SUPPORTED, "Error: Command line not supported\n"
STRING_ALIAS_NOT_FOUND, "Error: Alias not found\n"
STRING_INVALID_QUERY, "Error: Invalid query\n"
}

View File

@@ -3,8 +3,8 @@
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_CMDLINE_NOT_SUPPORTED "Eroare: Comandă nerecunoscută.\n"
STRING_ALIAS_NOT_FOUND "Eroare: Nu se poate găsi alias.\n"
STRING_INVALID_QUERY "Eroare: Cerere nevalidă.\n"
END
{
STRING_CMDLINE_NOT_SUPPORTED, "Eroare: Comandă nerecunoscută.\n"
STRING_ALIAS_NOT_FOUND, "Eroare: Nu se poate găsi alias.\n"
STRING_INVALID_QUERY, "Eroare: Cerere nevalidă.\n"
}

View File

@@ -0,0 +1,8 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_CMDLINE_NOT_SUPPORTED, "Ошибка: коммандная строка не поддерживается\n"
STRING_ALIAS_NOT_FOUND, "Ошибка: псевдоним не найден\n"
STRING_INVALID_QUERY, "Ошибка: неврный запрос\n"
}

View File

@@ -5,8 +5,8 @@
LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_CMDLINE_NOT_SUPPORTED "Gabim: Linja e komandave jo e mbështetur\n"
STRING_ALIAS_NOT_FOUND "Gabim: Pseudonimi nuk u gjend\n"
STRING_INVALID_QUERY "Gabim: Kërkim pa vlere\n"
END
{
STRING_CMDLINE_NOT_SUPPORTED, "Gabim: Linja e komandave jo e mbështetur\n"
STRING_ALIAS_NOT_FOUND, "Gabim: Pseudonimi nuk u gjend\n"
STRING_INVALID_QUERY, "Gabim: Kërkim pa vlere\n"
}

View File

@@ -229,6 +229,7 @@ static int query_prop( const WCHAR *alias, const WCHAR *propname )
}
if (IWbemClassObject_Get( obj, prop, 0, &v, NULL, NULL ) == WBEM_S_NO_ERROR)
{
VariantChangeType( &v, &v, 0, VT_BSTR );
output_string( fmtW, V_BSTR( &v ) );
VariantClear( &v );
}

View File

@@ -37,6 +37,9 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#ifdef LANGUAGE_RO_RO
#include "lang/ro-RO.rc"
#endif
#ifdef LANGUAGE_RU_RU
#include "lang/ru-RU.rc"
#endif
#ifdef LANGUAGE_SQ_AL
#include "lang/sq-AL.rc"
#endif

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS "Ugyldigt antal parametere; brug <20>xcopy /?<3F> for hjelp\n"
STRING_INVPARM "Ugyldigt parameter <20>%1<>; brug <20>xcopy /?<3F> for hjelp\n"
STRING_PAUSE "Tryk Enter for at begynde at kopiere\n"
STRING_SIMCOPY "%1!d! fil(er) vil blive kopieret\n"
STRING_COPY "%1!d! fil(er) kopieret\n"
STRING_QISDIR "Er <20>%1<> et filnavn eller katalog\n\
{
STRING_INVPARMS, "Ugyldigt antal parametere; brug <20>xcopy /?<3F> for hjelp\n"
STRING_INVPARM, "Ugyldigt parameter <20>%1<>; brug <20>xcopy /?<3F> for hjelp\n"
STRING_PAUSE, "Tryk Enter for at begynde at kopiere\n"
STRING_SIMCOPY, "%1!d! fil(er) vil blive kopieret\n"
STRING_COPY, "%1!d! fil(er) kopieret\n"
STRING_QISDIR, "Er <20>%1<> et filnavn eller katalog\n\
p<> destinationen?\n\
(F - Fil, K - Katalog)\n"
STRING_SRCPROMPT "%1? (Ja|Nei)\n"
STRING_OVERWRITE "Overskrive <20>%1<>? (Ja|Nei|Alle)\n"
STRING_COPYFAIL "Kunne ikke kopiere <20>%1<> til <20>%2<>; fejlet med r/c %3!d!\n"
STRING_OPENFAIL "Kunne ikke <20>bne <20>%1<>\n"
STRING_READFAIL "Kunne ikke l<>se <20>%1<>\n"
STRING_YES_CHAR "J"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "K"
STRING_HELP
STRING_SRCPROMPT, "%1? (Ja|Nei)\n"
STRING_OVERWRITE, "Overskrive <20>%1<>? (Ja|Nei|Alle)\n"
STRING_COPYFAIL, "Kunne ikke kopiere <20>%1<> til <20>%2<>; fejlet med r/c %3!d!\n"
STRING_OPENFAIL, "Kunne ikke <20>bne <20>%1<>\n"
STRING_READFAIL, "Kunne ikke l<>se <20>%1<>\n"
STRING_YES_CHAR, "J"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "K"
STRING_HELP,
"XCOPY - Kopierer filer eller katalogtre til en m<>lplassering\n\
\n\
Syntaks:\n\
@@ -28,8 +29,9 @@ XCOPY kilde [m
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
hvor:\n\
\n\
[/I] Antag at destinationen er et katalog hvis destinationen ikke\n\
\tfindes og 2 eller flere filer bliver kopieret\n\
\tfindes og 2 eller flere filer bliver kopieret\n\
[/S] Kopier kataloger og underkataloger\n\
[/E] Kopier kataloger og underkataloger, ogs<67> tomme kataloger\n\
[/Q] V<>r stille : vis ikke filnavne under kopiering\n\
@@ -48,7 +50,8 @@ hvor:\n\
[/A] Kopier ikke filer som er markeret som arkiv\n\
[/M] Kopier kun filer som er markeret som akriv; fjerner denne markering\n\
[/D | /D:m-d-<2D>] Kopier kun nye filer eller dem som er <20>ndret efter\n\
\t\tden opgivne dato.\n\
\t\tHvis ingen dato opgives kopieres kun de filer hvor\n\
\t\tdestinationen er <20>ldre end kilden\n\n"
END
\t\tden opgivne dato.\n\
\t\tHvis ingen dato opgives kopieres kun de filer hvor\n\
\t\tdestinationen er <20>ldre end kilden\n\n"
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_INVPARMS "Falsche Parameteranzahl - xcopy /? zeigt Hilfe an\n"
STRING_INVPARM "Unbekannter Parameter '%1' - xcopy /? zeigt Hilfe an\n"
STRING_PAUSE "Eingabetaste betätigen, um mit dem Kopieren zu beginnen\n"
STRING_SIMCOPY "%1!d! Datei(en) würden kopiert\n"
STRING_COPY "%1!d! Datei(en) kopiert\n"
STRING_QISDIR "Ist '%1' eine Datei oder ein Verzeichnis\n\
{
STRING_INVPARMS, "Falsche Parameteranzahl - xcopy /? zeigt Hilfe an\n"
STRING_INVPARM, "Unbekannter Parameter '%1' - xcopy /? zeigt Hilfe an\n"
STRING_PAUSE, "Eingabetaste betätigen, um mit dem Kopieren zu beginnen\n"
STRING_SIMCOPY, "%1!d! Datei(en) würden kopiert\n"
STRING_COPY, "%1!d! Datei(en) kopiert\n"
STRING_QISDIR, "Ist '%1' eine Datei oder ein Verzeichnis\n\
am Zielsort?\n\
(D - Datei, V - Verzeichnis)\n"
STRING_SRCPROMPT "%1? (Ja|Nein)\n"
STRING_OVERWRITE "%1 überschreiben? (Ja|Nein|Alle)\n"
STRING_COPYFAIL "Kopieren von '%1' nach '%2' fehlgeschlagen. Fehlernummer: %3!d!\n"
STRING_OPENFAIL "Fehler beim Öffnen von '%1'\n"
STRING_READFAIL "Fehler beim Lesen von '%1'\n"
STRING_YES_CHAR "J"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "D"
STRING_DIR_CHAR "V"
STRING_HELP
STRING_SRCPROMPT,"%1? (Ja|Nein)\n"
STRING_OVERWRITE,"%1 überschreiben? (Ja|Nein|Alle)\n"
STRING_COPYFAIL, "Kopieren von '%1' nach '%2' fehlgeschlagen. Fehlernummer: %3!d!\n"
STRING_OPENFAIL, "Fehler beim Öffnen von '%1'\n"
STRING_READFAIL, "Fehler beim Lesen von '%1'\n"
STRING_YES_CHAR, "J"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"D"
STRING_DIR_CHAR, "V"
STRING_HELP,
"XCOPY - Kopiert Dateien oder Verzeichnisse an einen Zielort\n\
\n\
Syntax:\n\
@@ -51,4 +52,5 @@ Mit:\n\
[/D | /D:M-T-J] Kopiere neue Dateien und Dateien, die neuer als das\n\
\t\tangegebene Datum sind. Wird kein Datum angegegebn, werden nur\n\
\t\tQuelldateien kopiert, die neuer sind als die Zieldatei\n\n"
END
}

View File

@@ -1,27 +1,28 @@
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS "Invalid number of parameters - Use xcopy /? for help\n"
STRING_INVPARM "Invalid parameter '%1' - Use xcopy /? for help\n"
STRING_PAUSE "Press <Enter> to begin copying\n"
STRING_SIMCOPY "%1!d! file(s) would be copied\n"
STRING_COPY "%1!d! file(s) copied\n"
STRING_QISDIR "Is '%1' a filename or directory\n\
{
STRING_INVPARMS, "Invalid number of parameters - Use xcopy /? for help\n"
STRING_INVPARM, "Invalid parameter '%1' - Use xcopy /? for help\n"
STRING_PAUSE, "Press <Enter> to begin copying\n"
STRING_SIMCOPY, "%1!d! file(s) would be copied\n"
STRING_COPY, "%1!d! file(s) copied\n"
STRING_QISDIR, "Is '%1' a filename or directory\n\
on the target?\n\
(F - File, D - Directory)\n"
STRING_SRCPROMPT "%1? (Yes|No)\n"
STRING_OVERWRITE "Overwrite %1? (Yes|No|All)\n"
STRING_COPYFAIL "Copying of '%1' to '%2' failed with r/c %3!d!\n"
STRING_OPENFAIL "Failed to open '%1'\n"
STRING_READFAIL "Failed during reading of '%1'\n"
STRING_YES_CHAR "Y"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "D"
STRING_HELP
"XCOPY - Copies source files or directory trees to a destination\n\
STRING_SRCPROMPT,"%1? (Yes|No)\n"
STRING_OVERWRITE,"Overwrite %1? (Yes|No|All)\n"
STRING_COPYFAIL, "Copying of '%1' to '%2' failed with r/c %3!d!\n"
STRING_OPENFAIL, "Failed to open '%1'\n"
STRING_READFAIL, "Failed during reading of '%1'\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - Copies source files or directory trees to a destination.\n\
\n\
Syntax:\n\
XCOPY source [destination] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
@@ -30,26 +31,27 @@ XCOPY source [destination] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
Where:\n\
\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\
\tmore files.\n\
[/S] Copy directories and subdirectories.\n\
[/E] Copy directories and subdirectories, including any empty ones.\n\
[/Q] Do not list names during copy, that is be quiet.\n\
[/F] Show full source and destination names during copy\n\
[/L] Simulate operation, showing names which would be copied\n\
[/W] Prompts before beginning the copy operation\n\
[/T] Creates empty directory structure but does not copy files\n\
[/Y] Suppress prompting when overwriting files\n\
[/-Y] Enable prompting when overwriting files\n\
[/P] Prompts on each source file before copying\n\
[/N] Copy using short names\n\
[/U] Copy only files which already exist in destination\n\
[/R] Overwrite any read only files\n\
[/H] Include hidden and system files in the copy\n\
[/C] Continue even if an error occurs during the copy\n\
[/A] Only copy files with archive attribute set\n\
[/F] Show full source and destination names during copy.\n\
[/L] Simulate operation, showing names which would be copied.\n\
[/W] Prompts before beginning the copy operation.\n\
[/T] Creates empty directory structure but does not copy files.\n\
[/Y] Suppress prompting when overwriting files.\n\
[/-Y] Enable prompting when overwriting files.\n\
[/P] Prompts on each source file before copying.\n\
[/N] Copy using short names.\n\
[/U] Copy only files which already exist in destination.\n\
[/R] Overwrite any read only files.\n\
[/H] Include hidden and system files in the copy.\n\
[/C] Continue even if an error occurs during the copy.\n\
[/A] Only copy files with archive attribute set.\n\
[/M] Only copy files with archive attribute set, removes the\n\
\tarchive attribute.\n\
[/D | /D:m-d-y] Copy new files or those modified after the supplied date.\n\
\t\tIf no date is supplied, only copy if destination is older\n\
\t\tthan source\n\n"
END
\t\tthan source.\n\n"
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS "Cantidad invalido de parametros - Use xcopy /? para obtener ayuda\n"
STRING_INVPARM "Parametro invalido '%1' - Use xcopy /? para obtener ayuda\n"
STRING_PAUSE "Unde <enter> para iniciar la copia\n"
STRING_SIMCOPY "%1!d! archivo(s) seran copiado(s)\n"
STRING_COPY "%1!d! archivo(s) copiado(s)\n"
STRING_QISDIR "Es '%1' un nombre de archivo o de directorio\n\
{
STRING_INVPARMS, "Cantidad invalido de parametros - Use xcopy /? para obtener ayuda\n"
STRING_INVPARM, "Parametro invalido '%1' - Use xcopy /? para obtener ayuda\n"
STRING_PAUSE, "Unde <enter> para iniciar la copia\n"
STRING_SIMCOPY, "%1!d! archivo(s) seran copiado(s)\n"
STRING_COPY, "%1!d! archivo(s) copiado(s)\n"
STRING_QISDIR, "Es '%1' un nombre de archivo o de directorio\n\
en el punto de destino?\n\
(F - Archivo, D - Directorio)\n"
STRING_SRCPROMPT "%1? (Si|No)\n"
STRING_OVERWRITE "Destruir y escribir encima %1? (Si|No|Todo)\n"
STRING_COPYFAIL "La copia de '%1' a '%2' ha faillecido con r/c %3!d!\n"
STRING_OPENFAIL "Impossible de abrir '%1'\n"
STRING_READFAIL "Hubo un error durante la lectura de '%1'\n"
STRING_YES_CHAR "S"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "T"
STRING_FILE_CHAR "A"
STRING_DIR_CHAR "D"
STRING_HELP
STRING_SRCPROMPT,"%1? (Si|No)\n"
STRING_OVERWRITE,"Destruir y escribir encima %1? (Si|No|Todo)\n"
STRING_COPYFAIL, "La copia de '%1' a '%2' ha faillecido con r/c %3!d!\n"
STRING_OPENFAIL, "Impossible de abrir '%1'\n"
STRING_READFAIL, "Hubo un error durante la lectura de '%1'\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 los archivos o directorios fuentes a un destino\n\
\n\
Sintaxis:\n\
@@ -52,4 +53,5 @@ En la cual:\n\
[/D | /D:m-d-y] Copia los nuevos archivos or los que fueront modificado despues la fecha especificada.\n\
\t\tSi la fecha no esta especificada, copia unicamente cuando el archivo de destino est mas viejo\n\
\t\tque el archivo fuente\n\n"
END
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_INVPARMS "Nombre invalide de paramètres - Utilisez xcopy /? pour obtenir de l'aide\n"
STRING_INVPARM "Paramètre invalide « %1 » - Utilisez xcopy /? pour obtenir de l'aide\n"
STRING_PAUSE "Appuyez sur ENTRÉE pour démarrer la copie\n"
STRING_SIMCOPY "%1!d! fichier(s) seront copiés\n"
STRING_COPY "%1!d! fichier(s) copiés\n"
STRING_QISDIR "« %1 » est-il un fichier ou un répertoire\n\
{
STRING_INVPARMS, "Nombre invalide de paramètres - Utilisez xcopy /? pour obtenir de l'aide\n"
STRING_INVPARM, "Paramètre invalide « %1 » - Utilisez xcopy /? pour obtenir de l'aide\n"
STRING_PAUSE, "Appuyez sur ENTRÉE pour démarrer la copie\n"
STRING_SIMCOPY, "%1!d! fichier(s) seront copiés\n"
STRING_COPY, "%1!d! fichier(s) copiés\n"
STRING_QISDIR, "« %1 » est-il un fichier ou un répertoire\n\
dans la destination ?\n\
(F - Fichier, R - Répertoire)\n"
STRING_SRCPROMPT "%1 ? (Oui|Non)\n"
STRING_OVERWRITE "Écraser %1 ? (Oui|Non|Tous)\n"
STRING_COPYFAIL "La copie de « %1 » vers « %2 » a échoué avec le code de retour %3!d!\n"
STRING_OPENFAIL "Impossible d'ouvrir « %1 »\n"
STRING_READFAIL "Impossible de lire « %1 »\n"
STRING_YES_CHAR "O"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "T"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "R"
STRING_HELP
STRING_SRCPROMPT,"%1 ? (Oui|Non)\n"
STRING_OVERWRITE,"Écraser %1 ? (Oui|Non|Tous)\n"
STRING_COPYFAIL, "La copie de « %1 » vers « %2 » a échoué avec le code de retour %3!d!\n"
STRING_OPENFAIL, "Impossible d'ouvrir « %1 »\n"
STRING_READFAIL, "Impossible de lire « %1 »\n"
STRING_YES_CHAR, "O"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "T"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "R"
STRING_HELP,
"XCOPY - Copie les fichiers ou répertoires sources vers une destination\n\
\n\
Syntaxe :\n\
@@ -52,4 +53,5 @@ où :\n\
[/D | /D:m-d-y] Copie uniquement les nouveaux fichiers, ou ceux modifiés après la date spécifiée.\n\
\t\tSi aucune date n'est spécifiée, copie uniquement lorsque le fichier de destination est plus ancien\n\
\t\tque le fichier source\n\n"
END
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_INVPARMS "Numero non valido di parametri - Digita xcopy /? per l'aiuto\n"
STRING_INVPARM "Parametro '%1' non valido - Digita xcopy /? per l'aiuto\n"
STRING_PAUSE "Premi Invio per iniziare a copiare\n"
STRING_SIMCOPY "%1!d! file saranno copiati\n"
STRING_COPY "%1!d! file copiato/i\n"
STRING_QISDIR "'%1' è il nome di un file o una cartella\n\
{
STRING_INVPARMS, "Numero non valido di parametri - Digita xcopy /? per l'aiuto\n"
STRING_INVPARM, "Parametro '%1' non valido - Digita xcopy /? per l'aiuto\n"
STRING_PAUSE, "Premi Invio per iniziare a copiare\n"
STRING_SIMCOPY, "%1!d! file saranno copiati\n"
STRING_COPY, "%1!d! file copiato/i\n"
STRING_QISDIR, "'%1' è il nome di un file o una cartella\n\
nella destinazione?\n\
(F - File, C - Cartella)\n"
STRING_SRCPROMPT "%1? (Sì|No)\n"
STRING_OVERWRITE "Sovrascrivere %1? (Sì|No|Tutti)\n"
STRING_COPYFAIL "La copia di '%1' in '%2' è fallita con r/c %3!d!\n"
STRING_OPENFAIL "Impossibile aprire '%1'\n"
STRING_READFAIL "Errore durante la lettura di '%1'\n"
STRING_YES_CHAR "S"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "T"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "C"
STRING_HELP
STRING_SRCPROMPT,"%1? (Sì|No)\n"
STRING_OVERWRITE,"Sovrascrivere %1? (Sì|No|Tutti)\n"
STRING_COPYFAIL, "La copia di '%1' in '%2' è fallita con r/c %3!d!\n"
STRING_OPENFAIL, "Impossibile aprire '%1'\n"
STRING_READFAIL, "Errore durante la lettura di '%1'\n"
STRING_YES_CHAR, "S"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "T"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "C"
STRING_HELP,
"XCOPY - Copia file e alberi di cartelle sorgenti in una destinazione\n\
\n\
Sintassi:\n\
@@ -52,4 +53,5 @@ Dove:\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"
END
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS "パラメータの数が違います。xcopy /? で使い方を表示します\n"
STRING_INVPARM "無効なパラメータ '%1' です。xcopy /? で使い方を表示します\n"
STRING_PAUSE "コピーを開始するには <enter> を押してください\n"
STRING_SIMCOPY "%1!d! ファイルがコピーされる見込みです。\n"
STRING_COPY "%1!d! ファイルをコピーしました\n"
STRING_QISDIR "送り先の '%1' はファイル名ですか、\n\
{
STRING_INVPARMS, "パラメータの数が違います。xcopy /? で使い方を表示します\n"
STRING_INVPARM, "無効なパラメータ '%1' です。xcopy /? で使い方を表示します\n"
STRING_PAUSE, "コピーを開始するには <enter> を押してください\n"
STRING_SIMCOPY, "%1!d! ファイルがコピーされる見込みです。\n"
STRING_COPY, "%1!d! ファイルをコピーしました\n"
STRING_QISDIR, "送り先の '%1' はファイル名ですか、\n\
ディレクトリですか?\n\
(F - ファイル、D - ディレクトリ)\n"
STRING_SRCPROMPT "%1? (Yes|No)\n"
STRING_OVERWRITE "%1 を上書きしますか? (Yes|No|All)\n"
STRING_COPYFAIL "'%1' から '%2' へのコピーは失敗しました。戻り値 %3!d!\n"
STRING_OPENFAIL "'%1' を開けません\n"
STRING_READFAIL "'%1' の読み込み中に失敗しました\n"
STRING_YES_CHAR "Y"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "D"
STRING_HELP
STRING_SRCPROMPT,"%1? (Yes|No)\n"
STRING_OVERWRITE,"%1 を上書きしますか? (Yes|No|All)\n"
STRING_COPYFAIL, "'%1' から '%2' へのコピーは失敗しました。戻り値 %3!d!\n"
STRING_OPENFAIL, "'%1' を開けません\n"
STRING_READFAIL, "'%1' の読み込み中に失敗しました\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - 送り元のファイルやディレクトリを送り先にコピーします\n\
\n\
構文:\n\
@@ -52,4 +53,5 @@ XCOPY 送り元 [送り先] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
[/D | /D:月-日-年] 新しいファイルや指定された日付以降に変更された\n\
\t\tファイルをコピーします。日付が指定されない場合は、\n\
\t\tコピー先がコピー元より古いファイルだけコピーします。\n\n"
END
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS "올바르지 않은 매개변수의 갯수 - xcopy /?로 도움말을 보시오\n"
STRING_INVPARM "올바르지 않은 매개변수 '%1' - xcopy /?로 도움말을 보시오\n"
STRING_PAUSE "<enter> 를 누르면 복사가 시작될 것입니다\n"
STRING_SIMCOPY "%1!d! 파일이 복사될 것입니다\n"
STRING_COPY "%1!d! 파일이 복사되었습니다\n"
STRING_QISDIR "'%1'이 복사할 파일이나 디렉토리?\n\
{
STRING_INVPARMS, "올바르지 않은 매개변수의 갯수 - xcopy /?로 도움말을 보시오\n"
STRING_INVPARM, "올바르지 않은 매개변수 '%1' - xcopy /?로 도움말을 보시오\n"
STRING_PAUSE, "<enter> 를 누르면 복사가 시작될 것입니다\n"
STRING_SIMCOPY, "%1!d! 파일이 복사될 것입니다\n"
STRING_COPY, "%1!d! 파일이 복사되었습니다\n"
STRING_QISDIR, "'%1'이 복사할 파일이나 디렉토리?\n\
입니까?\n\
(F - 파일, D - 디렉토리)\n"
STRING_SRCPROMPT "%1? (예|아니오)\n"
STRING_OVERWRITE "%1를 덮어쓰겠습니까? (예|아니오|모두)\n"
STRING_COPYFAIL "Copying of '%1' to '%2' failed with r/c %3!d!\n"
STRING_OPENFAIL "'%1' 열기 실패\n"
STRING_READFAIL "'%1를 읽지 못했습니다'\n"
STRING_YES_CHAR "Y"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "D"
STRING_HELP
STRING_SRCPROMPT,"%1? (예|아니오)\n"
STRING_OVERWRITE,"%1를 덮어쓰겠습니까? (예|아니오|모두)\n"
STRING_COPYFAIL, "Copying of '%1' to '%2' failed with r/c %3!d!\n"
STRING_OPENFAIL, "'%1' 열기 실패\n"
STRING_READFAIL, "'%1를 읽지 못했습니다'\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - 원본 파일이나 디렉토리 구조를 목적지로 복사\n\
\n\
문법:\n\
@@ -52,4 +53,5 @@ Where:\n\
[/D | /D:m-d-y] 지정된 날짜 후에 수정되거나 새로운 파일 복사.\n\
\t\tI만약 어떠한 날짜도 지정되지 않으면,오직 원본보다\n\
\t\t대상이 오래된 것만 복사\n\n"
END
}

View File

@@ -1,25 +1,26 @@
LANGUAGE LANG_LITHUANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_INVPARMS "Neteisingas parametrų skaičius - pagalba: xcopy /?\n"
STRING_INVPARM "Neteisingas parametras „%1“ - pagalba: xcopy /?\n"
STRING_PAUSE "Spauskite <enter> kopijavimui pradėti\n"
STRING_SIMCOPY "bus nukopijuota failų: %1!d!\n"
STRING_COPY "nukopijuota failų: %1!d!\n"
STRING_QISDIR "Ar „%1“ yra failas, ar katalogas,\n\
{
STRING_INVPARMS, "Neteisingas parametrų skaičius - pagalba: xcopy /?\n"
STRING_INVPARM, "Neteisingas parametras „%1“ - pagalba: xcopy /?\n"
STRING_PAUSE, "Spauskite <enter> kopijavimui pradėti\n"
STRING_SIMCOPY, "bus nukopijuota failų: %1!d!\n"
STRING_COPY, "nukopijuota failų: %1!d!\n"
STRING_QISDIR, "Ar „%1“ yra failas, ar katalogas,\n\
ar paskirtis?\n\
(F - failas, K - katalogas)\n"
STRING_SRCPROMPT "%1? (Taip|Ne)\n"
STRING_OVERWRITE "Perrašyti %1? (Taip|Ne|Visus)\n"
STRING_COPYFAIL "„%1“ kopijavimas į „%2“ nepavyko su r/c %3!d!\n"
STRING_OPENFAIL "Nepavyko atverti „%1“\n"
STRING_READFAIL "Klaida skaitant „%1“\n"
STRING_YES_CHAR "T"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "V"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "K"
STRING_SRCPROMPT,"%1? (Taip|Ne)\n"
STRING_OVERWRITE,"Perrašyti %1? (Taip|Ne|Visus)\n"
STRING_COPYFAIL, "„%1“ kopijavimas į „%2“ nepavyko su r/c %3!d!\n"
STRING_OPENFAIL, "Nepavyko atverti „%1“\n"
STRING_READFAIL, "Klaida skaitant „%1“\n"
STRING_YES_CHAR, "T"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "V"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "K"
STRING_HELP
"XCOPY - Kopijuoja šaltinio failus ir katalogų medžius į paskirties vietą\n\
\n\
@@ -52,4 +53,5 @@ Kur:\n\
[/D | /D:m-d-y] Kopijuoti naujus failus arba modifikuotos po nurodytos datos.\n\
\t\tJei data nenurodyta, kopijuoti tik jei paskirties failas yra\n\
\t\tsenesnis už šaltinio failą\n\n"
END
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_INVPARMS "Onjuist aantal parameters - Gebruik xcopy /? om hulp te krijgen\n"
STRING_INVPARM "Onjuiste parameter '%1' - Gebruik xcopy /? om hulp te krijgen\n"
STRING_PAUSE "Druk op <enter> om te beginnen met kopiëren\n"
STRING_SIMCOPY "%1!d! bestand(en) zouden worden gekopieerd\n"
STRING_COPY "%1!d! bestand(en) gekopieerd\n"
STRING_QISDIR "Is '%1' een bestand of een map\n\
{
STRING_INVPARMS, "Onjuist aantal parameters - Gebruik xcopy /? om hulp te krijgen\n"
STRING_INVPARM, "Onjuiste parameter '%1' - Gebruik xcopy /? om hulp te krijgen\n"
STRING_PAUSE, "Druk op <enter> om te beginnen met kopiëren\n"
STRING_SIMCOPY, "%1!d! bestand(en) zouden worden gekopieerd\n"
STRING_COPY, "%1!d! bestand(en) gekopieerd\n"
STRING_QISDIR, "Is '%1' een bestand of een map\n\
op de bestemming?\n\
(B - Bestand, D - Directory)\n"
STRING_SRCPROMPT "%1? (Ja|Nee)\n"
STRING_OVERWRITE "Overschrijven %1? (Ja|Nee|Alles)\n"
STRING_COPYFAIL "Kopiëren van '%1' naar '%2' mislukt met r/c %3!d!\n"
STRING_OPENFAIL "Fout tijdens openen van '%1'\n"
STRING_READFAIL "Fout tijdens lezen van '%1'\n"
STRING_YES_CHAR "J"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "B"
STRING_DIR_CHAR "D"
STRING_HELP
STRING_SRCPROMPT,"%1? (Ja|Nee)\n"
STRING_OVERWRITE,"Overschrijven %1? (Ja|Nee|Alles)\n"
STRING_COPYFAIL, "Kopiëren van '%1' naar '%2' mislukt met r/c %3!d!\n"
STRING_OPENFAIL, "Fout tijdens openen van '%1'\n"
STRING_READFAIL, "Fout tijdens lezen van '%1'\n"
STRING_YES_CHAR, "J"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"B"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - Kopieert bronbestanden of -mappen naar een bestemming\n\
\n\
Gebruik:\n\
@@ -51,4 +52,5 @@ Parameters:\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"
END
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
STRINGTABLE
BEGIN
STRING_INVPARMS "Ugyldig antall parametere; bruk <20>xcopy /?<3F> for hjelp\n"
STRING_INVPARM "Ugyldig parameter <20>%1<>; bruk <20>xcopy /?<3F> for hjelp\n"
STRING_PAUSE "Trykk Enter for <20> begynne <20> kopiere\n"
STRING_SIMCOPY "%1!d! fil(er) ville blitt kopiert\n"
STRING_COPY "%1!d! fil(er) kopiert\n"
STRING_QISDIR "Eer <20>%1<> et filnevn eller katalog\n\
{
STRING_INVPARMS, "Ugyldig antall parametere; bruk <20>xcopy /?<3F> for hjelp\n"
STRING_INVPARM, "Ugyldig parameter <20>%1<>; bruk <20>xcopy /?<3F> for hjelp\n"
STRING_PAUSE, "Trykk Enter for <20> begynne <20> kopiere\n"
STRING_SIMCOPY, "%1!d! fil(er) ville blitt kopiert\n"
STRING_COPY, "%1!d! fil(er) kopiert\n"
STRING_QISDIR, "Eer <20>%1<> et filnevn eller katalog\n\
i m<>let?\n\
(F - Fil, K - Katalog)\n"
STRING_SRCPROMPT "%1? (Ja|Nei)\n"
STRING_OVERWRITE "Skrive over <20>%1<>? (Ja|Nei|Alle)\n"
STRING_COPYFAIL "Klarte ikke kopiere <20>%1<> til <20>%2<>; feilet med r/c %3!d!\n"
STRING_OPENFAIL "Klarte ikke <20>pne <20>%1<>\n"
STRING_READFAIL "Klarte ikke lese <20>%1<>\n"
STRING_YES_CHAR "J"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "K"
STRING_HELP
STRING_SRCPROMPT,"%1? (Ja|Nei)\n"
STRING_OVERWRITE,"Skrive over <20>%1<>? (Ja|Nei|Alle)\n"
STRING_COPYFAIL, "Klarte ikke kopiere <20>%1<> til <20>%2<>; feilet med r/c %3!d!\n"
STRING_OPENFAIL, "Klarte ikke <20>pne <20>%1<>\n"
STRING_READFAIL, "Klarte ikke lese <20>%1<>\n"
STRING_YES_CHAR, "J"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "K"
STRING_HELP,
"XCOPY - Kopierer filer eller katalogtre til en m<>lplassering\n\
\n\
Syntax:\n\
@@ -30,7 +31,7 @@ XCOPY kilde [m
Where:\n\
\n\
[/I] Anta at m<>let er en katalog hvis m<>let ikke finnes og 2 eller\n\
\tflere filer blir kopiert\n\
\tflere filer blir kopiert\n\
[/S] Kopier kataloger og underkataloger\n\
[/E] Kopier kataloger og underkataloger, ta med tomme kataloger\n\
[/Q] Stille modus: ikke vis filnavn under kopiering\n\
@@ -49,7 +50,8 @@ Where:\n\
[/A] Ikke kopier filer som er markert som arkiv\n\
[/M] Bare kopier filer som er markert som akriv; fjerner denne merkingen\n\
[/D | /D:m-d-<2D>] Kopier nye filer eller de som er endret etter\n\
\t\tden oppgitte datoen.\n\
\t\tHvis ingen dato oppgis kopieres bare de filene som er\n\
\t\teldre i m<>let enn i kilden\n\n"
END
\t\tden oppgitte datoen.\n\
\t\tHvis ingen dato oppgis kopieres bare de filene som er\n\
\t\teldre i m<>let enn i kilden\n\n"
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS "Niew<65>a<EFBFBD>ciwa liczba parametr<74>w - uruchom xcopy /? aby wy<77>wietli<6C> pomoc\n"
STRING_INVPARM "Nieznany parameter '%1' - uruchom xcopy /? aby wy<77>wietli<6C> pomoc\n"
STRING_PAUSE "Naci<63>nij <enter> aby rozpocz<63><7A> kopiowanie\n"
STRING_SIMCOPY "%1!d! plik(<28>w) zosta<74>oby skopiowanych\n"
STRING_COPY "%1!d! plik(<28>w) skopiowanych\n"
STRING_QISDIR "Czy '%1' jest nazw<7A> pliku czy katalogu\n\
{
STRING_INVPARMS, "Niew<65>a<EFBFBD>ciwa liczba parametr<74>w - uruchom xcopy /? aby wy<77>wietli<6C> pomoc\n"
STRING_INVPARM, "Nieznany parameter '%1' - uruchom xcopy /? aby wy<77>wietli<6C> pomoc\n"
STRING_PAUSE, "Naci<63>nij <enter> aby rozpocz<63><7A> kopiowanie\n"
STRING_SIMCOPY, "%1!d! plik(<28>w) zosta<74>oby skopiowanych\n"
STRING_COPY, "%1!d! plik(<28>w) skopiowanych\n"
STRING_QISDIR, "Czy '%1' jest nazw<7A> pliku czy katalogu\n\
docelowego?\n\
(P - plik, K - katalog)\n"
STRING_SRCPROMPT "%1? (Tak|Nie)\n"
STRING_OVERWRITE "Zast<73>pi<70> %1? (Tak|Nie|Wszystkie)\n"
STRING_COPYFAIL "Kopiowanie '%1' do '%2' nie powiod<6F>o si<73> - kod b<><62>du %3!d!\n"
STRING_OPENFAIL "Nie uda<64>o si<73> otworzy<7A> '%1'\n"
STRING_READFAIL "B<><42>d podczas czytania '%1'\n"
STRING_YES_CHAR "T"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "W"
STRING_FILE_CHAR "P"
STRING_DIR_CHAR "K"
STRING_HELP
STRING_SRCPROMPT,"%1? (Tak|Nie)\n"
STRING_OVERWRITE,"Zast<73>pi<70> %1? (Tak|Nie|Wszystkie)\n"
STRING_COPYFAIL, "Kopiowanie '%1' do '%2' nie powiod<6F>o si<73> - kod b<><62>du %3!d!\n"
STRING_OPENFAIL, "Nie uda<64>o si<73> otworzy<7A> '%1'\n"
STRING_READFAIL, "B<><42>d podczas czytania '%1'\n"
STRING_YES_CHAR, "T"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "W"
STRING_FILE_CHAR,"P"
STRING_DIR_CHAR, "K"
STRING_HELP,
"XCOPY - kopiuje pliki lub drzewa katalog<6F>w\n\
\n\
Sk<EFBFBD>adnia:\n\
@@ -51,4 +52,5 @@ Gdzie:\n\
[/D | /D:m-d-y] Kopiuje tylko nowe pliki lub te zmodifikowane po podanej dacie.\n\
\t\tJe<4A>eli nie podano <20>adnej daty, to kopiowane s<> pliki, kt<6B>re s<>\n\
\t\tnowsze ni<6E> w katalogu docelowym\n\n"
END
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE
BEGIN
STRING_INVPARMS "Número de parâmetros inválido - Use xcopy /? para ajuda\n"
STRING_INVPARM "Parâmetro inválido '%1' - Use xcopy /? para ajuda\n"
STRING_PAUSE "Pressione <Enter> para iniciar a cópia\n"
STRING_SIMCOPY "%1!d! arquivo(s) seriam copiado(s)\n"
STRING_COPY "%1!d! arquivo(s) copiado(s)\n"
STRING_QISDIR "'%1' é um arquivo ou diretório\n\
{
STRING_INVPARMS, "Número de parâmetros inválido - Use xcopy /? para ajuda\n"
STRING_INVPARM, "Parâmetro inválido '%1' - Use xcopy /? para ajuda\n"
STRING_PAUSE, "Pressione <Enter> para iniciar a cópia\n"
STRING_SIMCOPY, "%1!d! arquivo(s) seriam copiado(s)\n"
STRING_COPY, "%1!d! arquivo(s) copiado(s)\n"
STRING_QISDIR, "'%1' é um arquivo ou diretório\n\
no alvo?\n\
(A - Arquivo, D - Directório)\n"
STRING_SRCPROMPT "%1? (Sim|Não)\n"
STRING_OVERWRITE "Reescrever %1? (Sim|Não|Tudo)\n"
STRING_COPYFAIL "Falha ao copiar '%1' para '%2' com r/c %3!d!\n"
STRING_OPENFAIL "Falha ao abrir '%1'\n"
STRING_READFAIL "Falha a ler '%1'\n"
STRING_YES_CHAR "S"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "T"
STRING_FILE_CHAR "A"
STRING_DIR_CHAR "D"
STRING_HELP
STRING_SRCPROMPT,"%1? (Sim|Não)\n"
STRING_OVERWRITE,"Reescrever %1? (Sim|Não|Tudo)\n"
STRING_COPYFAIL, "Falha ao copiar '%1' para '%2' com r/c %3!d!\n"
STRING_OPENFAIL, "Falha ao abrir '%1'\n"
STRING_READFAIL, "Falha a ler '%1'\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\
@@ -59,25 +60,26 @@ 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 '%1' - Use xcopy /? para ajuda\n"
STRING_PAUSE "Carregue <Enter> para iniciar cópia\n"
STRING_SIMCOPY "%1!d! ficheiro(s) seriam copiado(s)\n"
STRING_COPY "%1!d! ficheiro(s) copiado(s)\n"
STRING_QISDIR "'%1' é um ficheiro ou directório\n\
STRING_INVPARMS, "Número de parâmetros inválido - Use xcopy /? para ajuda\n"
STRING_INVPARM, "Parâmetro inválido '%1' - Use xcopy /? para ajuda\n"
STRING_PAUSE, "Carregue <Enter> para iniciar cópia\n"
STRING_SIMCOPY, "%1!d! ficheiro(s) seriam copiado(s)\n"
STRING_COPY, "%1!d! ficheiro(s) copiado(s)\n"
STRING_QISDIR, "'%1' é um ficheiro ou directório\n\
no alvo?\n\
(F - Ficheiro, D - Directório)\n"
STRING_SRCPROMPT "%1? (Yes|No)\n"
STRING_OVERWRITE "Reescrever %1? (Yes|No|All)\n"
STRING_COPYFAIL "Cópia de '%1' para '%2' falhou com r/c %3!d!\n"
STRING_OPENFAIL "Falhou ao abrir '%1'\n"
STRING_READFAIL "Falhou a ler '%1'\n"
STRING_YES_CHAR "Y"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "D"
STRING_HELP
STRING_SRCPROMPT,"%1? (Yes|No)\n"
STRING_OVERWRITE,"Reescrever %1? (Yes|No|All)\n"
STRING_COPYFAIL, "Cópia de '%1' para '%2' falhou com r/c %3!d!\n"
STRING_OPENFAIL, "Falhou ao abrir '%1'\n"
STRING_READFAIL, "Falhou a ler '%1'\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - Copia ficheiros ou directórios para um destino\n\
\n\
Sintaxe:\n\
@@ -109,4 +111,5 @@ Onde:\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"
END
}

View File

@@ -2,25 +2,26 @@
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_INVPARMS "Număr de parametri nevalid - Utilizați xcopy /? pentru manual\n"
STRING_INVPARM "Parametru nevalid «%1» - Utilizați xcopy /? pentru manual\n"
STRING_PAUSE "Apăsați pe «Enter» pentru a începe copierea\n"
STRING_SIMCOPY "%1!d! fișier(e) ar fi copiat(e)\n"
STRING_COPY "%1!d! fișier(e) copiat(e)\n"
STRING_QISDIR "«%1» este un nume de fișier sau un director\ndin destinație?\n(F - Fișier, D - Director)\n"
STRING_SRCPROMPT "%1? (Da|Nu)\n"
STRING_OVERWRITE "Se suprascrie %1? (Da|Nu|Toate)\n"
STRING_COPYFAIL "Copierea «%1» în «%2» a eșuat cu cod de retur %3!d!\n"
STRING_OPENFAIL "Deschiderea «%1» a eșuat\n"
STRING_READFAIL "Citirea «%1» 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\
{
STRING_INVPARMS, "Număr de parametri nevalid - Utilizați xcopy /? pentru manual\n"
STRING_INVPARM, "Parametru nevalid «%1» - Utilizați xcopy /? pentru manual\n"
STRING_PAUSE, "Apăsați pe «Enter» pentru a începe copierea\n"
STRING_SIMCOPY, "%1!d! fișier(e) ar fi copiat(e)\n"
STRING_COPY, "%1!d! fișier(e) copiat(e)\n"
STRING_QISDIR, "«%1» este un nume de fișier sau un director\ndin destinație?\n(F - Fișier, D - Director)\n"
STRING_SRCPROMPT,"%1? (Da|Nu)\n"
STRING_OVERWRITE,"Se suprascrie %1? (Da|Nu|Toate)\n"
STRING_COPYFAIL, "Copierea «%1» în «%2» a eșuat cu cod de retur %3!d!\n"
STRING_OPENFAIL, "Deschiderea «%1» a eșuat\n"
STRING_READFAIL, "Citirea «%1» 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\
@@ -28,27 +29,28 @@ XCOPY sursă [destinație] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\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\
\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\
[/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\
\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"
END
\t\tsursă.\n\n"
}

View File

@@ -1,56 +1,59 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS "Недопустимое число параметров - попробуйте 'xcopy /?' для получения\n\
{
STRING_INVPARMS, "Недопустимое число параметров - попробуйте 'xcopy /?' для получения\n\
подробного описания.\n"
STRING_INVPARM "Недопустимый параметр '%1' - попробуйте 'xcopy /?' для получения подробного\n\
STRING_INVPARM, "Недопустимый параметр '%1' - попробуйте 'xcopy /?' для получения подробного\n\
описания.\n"
STRING_PAUSE "Нажмите клавишу <Enter>, чтобы начать копирование.\n"
STRING_SIMCOPY "%1!d! файл(ов) было бы скопировано.\n"
STRING_COPY "%1!d! файл(ов) скопировано.\n"
STRING_QISDIR "'%1' является файлом или папкой?\n\
STRING_PAUSE, "Нажмите на клавишу <Enter>, чтобы начать копирование.\n"
STRING_SIMCOPY, "%1!d! файл(ов) было бы скопировано.\n"
STRING_COPY, "%1!d! файл(ов) скопировано.\n"
STRING_QISDIR, "'%1' является файлом или папкой?\n\
(F - Файл, D - Папка)\n"
STRING_SRCPROMPT "%1? (Yes|No)\n"
STRING_OVERWRITE "Переписать %1? (Yes|No|All)\n"
STRING_COPYFAIL "При копировании '%1' в '%2' произошла ошибка: %3!d!\n"
STRING_OPENFAIL "Невозможно открыть '%1'\n"
STRING_READFAIL "При чтении '%1' произошла ошибка\n"
STRING_YES_CHAR "Y"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "D"
STRING_HELP
"XCOPY - Копирует файлы и деревья папок\n\
STRING_SRCPROMPT,"%1? (Yes|No)\n"
STRING_OVERWRITE,"Переписать %1? (Yes|No|All)\n"
STRING_COPYFAIL, "При копировании '%1' в '%2' произошла ошибка: %3!d!\n"
STRING_OPENFAIL, "Невозможно открыть '%1'\n"
STRING_READFAIL, "При чтении '%1' произошла ошибка\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"Копирование файлов и структур каталогов.\n\
\n\
Синтаксис:\n\
XCOPY source [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
XCOPY источник [целевой_объект] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\
\n\
Где:\n\
\n\
[/I] Если конечная папка отсутствует и копируется более одного файла,\n\
то предполагается папка в качестве места назначения.\n\
[/S] Копирует папки и подпапки.\n\
[/E] Копирует папки и подпапки, включая пустые.\n\
[/Q] Не отображает имена копируемых файлов.\n\
[/F] Отображает полные имена исходных и конечных файлов.\n\
[/L] Выводит список файлов, которые будут скопированы.\n\
[/W] Запрашивает подтверждение перед началом копирования.\n\
[/T] Создает структуру папок, но не копирует файлы.\n\
[/Y] Подавляет запрос на подтверждение перезаписи файлов.\n\
[/-Y] Запрашивает подтверждение на перезапись файлов.\n\
[/P] Запрашивает подтверждение для каждого копируемого файла.\n\
[/N] Использует короткие имена файлов при копировании.\n\
[/U] Копирует только те файлы, которые уже существуют в конечной папке.\n\
[/R] Перезаписывает файлы, доступные только для чтения.\n\
[/H] Копирует скрытые и системные файлы.\n\
[/C] Продолжает работу, даже если произошла ошибка.\n\
[/A] Копирует только те файлы, для которых установлен атрибут ""архивный"".\n\
[/M] Копирует только те файлы, для которых установлен атрибут ""архивный"",\n\
источник Копируемые файлы.\n\
целевой_объект Расположение или имена новых файлов.\n\
/I Если целевой объект не существует и копируется несколько\n\
файлов, считается, что целевой объект задает каталог.\n\
/S Копирование только не пустых каталогов с подкаталогами.\n\
/E Копирование каталогов с подкаталогами, включая пустые.\n\
/Q Запрет вывода имен копируемых файлов.\n\
/F Вывод полных имен исходных и целевых файлов.\n\
/L Вывод имен копируемых файлов.\n\
/W Вывод запроса на нажатие клавиши перед копированием.\n\
/T Создание структуры каталогов без копирования файлов.\n\
/Y Подавление запроса подтверждения на перезапись существующего целевого файла.\n\
/-Y Запрос подтверждения на перезапись существующего целевого файла.\n\
/P Вывод запросов перед созданием каждого нового файла.\n\
/N Использование коротких имен при копировании.\n\
/U Копирование только файлов, уже имеющихся в целевом каталоге.\n\
/R Перезапись файлов, предназначенных только для чтения.\n\
/H Копирование, среди прочих, скрытых и системных файлов.\n\
/C Продолжение копирования вне зависимости от наличия ошибок.\n\
/A Копирует только те файлы, для которых установлен атрибут ""архивный"".\n\
/M Копирует только те файлы, для которых установлен атрибут ""архивный"",\n\
при этом атрибут удаляется.\n\
[/D | /D:m-d-y] Копирует только новые файлы или те, которые были изменены\n\
после указанной даты. Если дата не указана, копирует только\n\
те файлы, которые новее в исходной папке.\n"
END
/D | /D:m-d-y Копирование файлов, измененных не ранее указанной даты.\n\
Если дата не указана, заменяются только конечные файлы,\n\
более старые, чем исходные.\n"
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS "Neveljavno število parametrov - za pomoč uporabite xcopy /?\n"
STRING_INVPARM "Neveljaven parameter '%1' - za pomoč uporabite xcopy /?\n"
STRING_PAUSE "Za začetek kopiranja pritisnite <enter>\n"
STRING_SIMCOPY "Prekopiral bom %1!d! datotek\n"
STRING_COPY "Prekopiral sem %1!d! datotek\n"
STRING_QISDIR "Ali je '%1' ime ciljne datoteke\n\
{
STRING_INVPARMS, "Neveljavno število parametrov - za pomoč uporabite xcopy /?\n"
STRING_INVPARM, "Neveljaven parameter '%1' - za pomoč uporabite xcopy /?\n"
STRING_PAUSE, "Za začetek kopiranja pritisnite <enter>\n"
STRING_SIMCOPY, "Prekopiral bom %1!d! datotek\n"
STRING_COPY, "Prekopiral sem %1!d! datotek\n"
STRING_QISDIR, "Ali je '%1' ime ciljne datoteke\n\
ali mape?\n\
(D - Datoteka, M - Mapa)\n"
STRING_SRCPROMPT "%1? (Da|Ne)\n"
STRING_OVERWRITE "Ali naj prepišem %1? (Da|Ne|Vse)\n"
STRING_COPYFAIL "Kopiranje '%1' v '%2' ni uspelo (koda napake: %3!d!)\n"
STRING_OPENFAIL "Napaka pri odpiranju '%1'\n"
STRING_READFAIL "Napaka pri branju '%1'\n"
STRING_YES_CHAR "D"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "V"
STRING_FILE_CHAR "D"
STRING_DIR_CHAR "M"
STRING_HELP
STRING_SRCPROMPT,"%1? (Da|Ne)\n"
STRING_OVERWRITE,"Ali naj prepišem %1? (Da|Ne|Vse)\n"
STRING_COPYFAIL, "Kopiranje '%1' v '%2' ni uspelo (koda napake: %3!d!)\n"
STRING_OPENFAIL, "Napaka pri odpiranju '%1'\n"
STRING_READFAIL, "Napaka pri branju '%1'\n"
STRING_YES_CHAR, "D"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "V"
STRING_FILE_CHAR,"D"
STRING_DIR_CHAR, "M"
STRING_HELP,
"XCOPY - kopira navedene izvorne datoteke oz. mape v naveden cilj\n\
\n\
Sintaksa:\n\
@@ -52,4 +53,5 @@ Where:\n\
[/D | /D:m-d-y] Kopiraj datoteke, ustvarjene ali spremenjene po navedenem datumu.\n\
\t\tČe datum ni podan, gre za kopiranje datotek, katerih obstoječi cilj je\n\
\t\tod izvora\n\n"
END
}

View File

@@ -5,26 +5,27 @@
LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_INVPARMS "I pavlershem numri i parametrave - perdor xcopy /? per ndihmë\n"
STRING_INVPARM "Parametra te pavlershme '%1' - perdor xcopy /? per ndihmë\n"
STRING_PAUSE "Shtyp <enter> per të kopjuar\n"
STRING_SIMCOPY "%1!d! dokumenta(t) do të kopjohen\n"
STRING_COPY "%1!d! dokumenta(t) u kopjuan\n"
STRING_QISDIR "është '%1' një dokument ose skedare\n\
{
STRING_INVPARMS, "I pavlershem numri i parametrave - perdor xcopy /? per ndihmë\n"
STRING_INVPARM, "Parametra te pavlershme '%1' - perdor xcopy /? per ndihmë\n"
STRING_PAUSE, "Shtyp <enter> per të kopjuar\n"
STRING_SIMCOPY, "%1!d! dokumenta(t) do të kopjohen\n"
STRING_COPY, "%1!d! dokumenta(t) u kopjuan\n"
STRING_QISDIR, "është '%1' një dokument ose skedare\n\
në ogjekt?\n\
(F - Dokument, D - Skedë)\n"
STRING_SRCPROMPT "%1? (Po|Jo)\n"
STRING_OVERWRITE "Overwrite %1? (Po|Jo|Të gjith)\n"
STRING_COPYFAIL "Kopje e '%1' në '%2' dështuar me r/c %3!d!\n"
STRING_OPENFAIL "Dështuar per tu hapur '%1'\n"
STRING_READFAIL "Dështuar duke lexuar në '%1'\n"
STRING_YES_CHAR "P"
STRING_NO_CHAR "J"
STRING_ALL_CHAR "T"
STRING_FILE_CHAR "D"
STRING_DIR_CHAR "S"
STRING_HELP
STRING_SRCPROMPT,"%1? (Po|Jo)\n"
STRING_OVERWRITE,"Overwrite %1? (Po|Jo|Të gjith)\n"
STRING_COPYFAIL, "Kopje e '%1' në '%2' dështuar me r/c %3!d!\n"
STRING_OPENFAIL, "Dështuar per tu hapur '%1'\n"
STRING_READFAIL, "Dështuar duke lexuar në '%1'\n"
STRING_YES_CHAR, "P"
STRING_NO_CHAR, "J"
STRING_ALL_CHAR, "T"
STRING_FILE_CHAR,"D"
STRING_DIR_CHAR, "S"
STRING_HELP,
"XCOPY - Copies source files or directory trees to a destination\n\
\n\
Syntax:\n\
@@ -56,4 +57,5 @@ Where:\n\
[/D | /D:m-d-y] Kopjo dokumentët e ri ose modifiko ato pas datës së furnizuar.\n\
\t\tNëse asnjë datë është paraqitur, vetëm kopjoni nëse destinacioni është i vjetër\n\
\t\tse burimi\n\n"
END
}

View File

@@ -1,26 +1,27 @@
LANGUAGE LANG_SERBIAN, SUBLANG_SERBIAN_CYRILLIC
STRINGTABLE
BEGIN
STRING_INVPARMS "Неисправан број параметара. Користите xcopy /? за помоћ\n"
STRING_INVPARM "Неисправан параметар „%1“. Користите xcopy /? за помоћ\n"
STRING_PAUSE "Притисните <enter> да започнете умножавање\n"
STRING_SIMCOPY "%1!d! датотека/е ће бити уможено\n"
STRING_COPY "%1!d! датотека/е је умножено\n"
STRING_QISDIR "Да ли је „%1“ назив датотеке или фасцикла\n\
{
STRING_INVPARMS, "Неисправан број параметара. Користите xcopy /? за помоћ\n"
STRING_INVPARM, "Неисправан параметар „%1“. Користите xcopy /? за помоћ\n"
STRING_PAUSE, "Притисните <enter> да започнете умножавање\n"
STRING_SIMCOPY, "%1!d! датотека/е ће бити уможено\n"
STRING_COPY, "%1!d! датотека/е је умножено\n"
STRING_QISDIR, "Да ли је „%1“ назив датотеке или фасцикла\n\
на одредишту?\n\
(Д - датотека, Ф - фасцикла)\n"
STRING_SRCPROMPT "%1? (Да|Не)\n"
STRING_OVERWRITE "Заменити %1? (Да|Не|Све)\n"
STRING_COPYFAIL "Умножавање „%1“ у „%2“ није успело са r/c %3!d!\n"
STRING_OPENFAIL "Отварање „%1“ датотеке није успело\n"
STRING_READFAIL "Читање „%1“ датотеке није успело\n"
STRING_YES_CHAR "Д"
STRING_NO_CHAR "Н"
STRING_ALL_CHAR "С"
STRING_FILE_CHAR "Д"
STRING_DIR_CHAR "Ф"
STRING_HELP
STRING_SRCPROMPT,"%1? (Да|Не)\n"
STRING_OVERWRITE,"Заменити %1? (Да|Не|Све)\n"
STRING_COPYFAIL, "Умножавање „%1“ у „%2“ није успело са r/c %3!d!\n"
STRING_OPENFAIL, "Отварање „%1“ датотеке није успело\n"
STRING_READFAIL, "Читање „%1“ датотеке није успело\n"
STRING_YES_CHAR, "Д"
STRING_NO_CHAR, "Н"
STRING_ALL_CHAR, "С"
STRING_FILE_CHAR,"Д"
STRING_DIR_CHAR, "Ф"
STRING_HELP,
"XCOPY — умножава изворне датотеке или гране фасцикли у одредиште\n\
\n\
Синтакса:\n\
@@ -52,31 +53,33 @@ XCOPY извор [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
[/D | /D:m-d-y] Умножи нове или измењене датотеке након одређеног датума.\n\
\t\tАко датум није унесен, умножи само ако је одредиште старије\n\
\t\tод извора\n\n"
END
}
LANGUAGE LANG_SERBIAN, SUBLANG_SERBIAN_LATIN
STRINGTABLE
BEGIN
STRING_INVPARMS "Neispravan broj parametara. Koristite xcopy /? za pomoć\n"
STRING_INVPARM "Neispravan parametar „%1“. Koristite xcopy /? za pomoć\n"
STRING_PAUSE "Pritisnite <enter> da započnete umnožavanje\n"
STRING_SIMCOPY "%1!d! datoteka/e će biti umoženo\n"
STRING_COPY "%1!d! datoteka/e je umnoženo\n"
STRING_QISDIR "Da li je „%1“ naziv datoteke ili fascikla\n\
{
STRING_INVPARMS, "Neispravan broj parametara. Koristite xcopy /? za pomoć\n"
STRING_INVPARM, "Neispravan parametar „%1“. Koristite xcopy /? za pomoć\n"
STRING_PAUSE, "Pritisnite <enter> da započnete umnožavanje\n"
STRING_SIMCOPY, "%1!d! datoteka/e će biti umoženo\n"
STRING_COPY, "%1!d! datoteka/e je umnoženo\n"
STRING_QISDIR, "Da li je „%1“ naziv datoteke ili fascikla\n\
na odredištu?\n\
(D - datoteka, F - fascikla)\n"
STRING_SRCPROMPT "%1? (Da|Ne)\n"
STRING_OVERWRITE "Zameniti %1? (Da|Ne|Sve)\n"
STRING_COPYFAIL "Umnožavanje „%1“ u „%2“ nije uspelo sa r/c %3!d!\n"
STRING_OPENFAIL "Otvaranje „%1“ datoteke nije uspelo\n"
STRING_READFAIL "Čitanje „%1“ datoteke nije uspelo\n"
STRING_YES_CHAR "D"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "S"
STRING_FILE_CHAR "D"
STRING_DIR_CHAR "F"
STRING_HELP
STRING_SRCPROMPT,"%1? (Da|Ne)\n"
STRING_OVERWRITE,"Zameniti %1? (Da|Ne|Sve)\n"
STRING_COPYFAIL, "Umnožavanje „%1“ u „%2“ nije uspelo sa r/c %3!d!\n"
STRING_OPENFAIL, "Otvaranje „%1“ datoteke nije uspelo\n"
STRING_READFAIL, "Čitanje „%1“ datoteke nije uspelo\n"
STRING_YES_CHAR, "D"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "S"
STRING_FILE_CHAR,"D"
STRING_DIR_CHAR, "F"
STRING_HELP,
"XCOPY — umnožava izvorne datoteke ili grane fascikli u odredište\n\
\n\
Sintaksa:\n\
@@ -108,4 +111,5 @@ Gde:\n\
[/D | /D:m-d-y] Umnoži nove ili izmenjene datoteke nakon određenog datuma.\n\
\t\tAko datum nije unesen, umnoži samo ako je odredište starije\n\
\t\tod izvora\n\n"
END
}

View File

@@ -1,24 +1,25 @@
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
STRING_INVPARMS "Ogiltigt antal parametrar - Använd xcopy /? för hjälp\n"
STRING_INVPARM "Ogiltig parameter '%1' - Använd xcopy /? för hjälp\n"
STRING_PAUSE "Tryck <enter> för att börja kopiera\n"
STRING_SIMCOPY "%1!d! fil(er) skulle kopieras\n"
STRING_COPY "%1!d! fil(er) kopierade\n"
STRING_QISDIR "Är '%1' ett filnamn eller en katalog\npå målet?\n(F - Fil, K - Katalog)\n"
STRING_SRCPROMPT "%1? (Ja|Nej)\n"
STRING_OVERWRITE "Skriv över %1? (Ja|Nej|Alla)\n"
STRING_COPYFAIL "Kunde inte kopiera '%1' till '%2'; misslyckades med r/c %3!d!\n"
STRING_OPENFAIL "Kunde inte öppna '%1'\n"
STRING_READFAIL "Kunde inte läsa '%1'\n"
STRING_YES_CHAR "J"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "K"
STRING_HELP
{
STRING_INVPARMS, "Ogiltigt antal parametrar - Använd xcopy /? för hjälp\n"
STRING_INVPARM, "Ogiltig parameter '%1' - Använd xcopy /? för hjälp\n"
STRING_PAUSE, "Tryck <enter> för att börja kopiera\n"
STRING_SIMCOPY, "%1!d! fil(er) skulle kopieras\n"
STRING_COPY, "%1!d! fil(er) kopierade\n"
STRING_QISDIR, "Är '%1' ett filnamn eller en katalog\npå målet?\n(F - Fil, K - Katalog)\n"
STRING_SRCPROMPT,"%1? (Ja|Nej)\n"
STRING_OVERWRITE,"Skriv över %1? (Ja|Nej|Alla)\n"
STRING_COPYFAIL, "Kunde inte kopiera '%1' till '%2'; misslyckades med r/c %3!d!\n"
STRING_OPENFAIL, "Kunde inte öppna '%1'\n"
STRING_READFAIL, "Kunde inte läsa '%1'\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\
@@ -50,4 +51,5 @@ Där:\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"
END
}

View File

@@ -1,25 +1,26 @@
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
STRING_INVPARMS "Невірна кількість параметрів - Введіть xcopy /? для довідки\n"
STRING_INVPARM "Невірний параметр '%1' - Введіть xcopy /? для довідки\n"
STRING_PAUSE "Натисніть <enter> щоб почати копіювання\n"
STRING_SIMCOPY "%1!d! файл(ів) буде скопійовано\n"
STRING_COPY "%1!d! файл(ів) скопійовано\n"
STRING_QISDIR "'%1' є файлом чи директорією?\n\
{
STRING_INVPARMS, "Невірна кількість параметрів - Введіть xcopy /? для довідки\n"
STRING_INVPARM, "Невірний параметр '%1' - Введіть xcopy /? для довідки\n"
STRING_PAUSE, "Натисніть <enter> щоб почати копіювання\n"
STRING_SIMCOPY, "%1!d! файл(ів) буде скопійовано\n"
STRING_COPY, "%1!d! файл(ів) скопійовано\n"
STRING_QISDIR, "'%1' є файлом чи директорією?\n\
(F - Файл, D - Директорія)\n"
STRING_SRCPROMPT "%1? (Yes|No)\n"
STRING_OVERWRITE "Переписати %1? (Yes|No|All)\n"
STRING_COPYFAIL "Під час копіювання '%1' в '%2' сталась помилка r/c %3!d!\n"
STRING_OPENFAIL "Не вдалось відкрити '%1'\n"
STRING_READFAIL "Помилка читання '%1'\n"
STRING_YES_CHAR "Y"
STRING_NO_CHAR "N"
STRING_ALL_CHAR "A"
STRING_FILE_CHAR "F"
STRING_DIR_CHAR "D"
STRING_HELP
STRING_SRCPROMPT,"%1? (Yes|No)\n"
STRING_OVERWRITE,"Переписати %1? (Yes|No|All)\n"
STRING_COPYFAIL, "Під час копіювання '%1' в '%2' сталась помилка r/c %3!d!\n"
STRING_OPENFAIL, "Не вдалось відкрити '%1'\n"
STRING_READFAIL, "Помилка читання '%1'\n"
STRING_YES_CHAR, "Y"
STRING_NO_CHAR, "N"
STRING_ALL_CHAR, "A"
STRING_FILE_CHAR,"F"
STRING_DIR_CHAR, "D"
STRING_HELP,
"XCOPY - Копіює файли та дерева директорій за призначенням\n\
\n\
Синтаксис:\n\
@@ -51,4 +52,5 @@ XCOPY source [dest] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n\
[/D | /D:m-d-y] Копіює лише нові файли або ті, які були змінені після вказаної\n\
дати. Якщо дата не вказана, копіює лише ті файли, які новіші\n\
в початковій папці\n\n"
END
}

View File

@@ -119,7 +119,7 @@ static int __cdecl XCOPY_wprintf(const WCHAR *format, ...) {
*/
if (!output_bufW) output_bufW = HeapAlloc(GetProcessHeap(), 0,
MAX_WRITECONSOLE_SIZE);
MAX_WRITECONSOLE_SIZE*sizeof(WCHAR));
if (!output_bufW) {
WINE_FIXME("Out of memory - could not allocate 2 x 64K buffers\n");
return 0;
@@ -667,7 +667,7 @@ static WCHAR *skip_whitespace(WCHAR *p)
Example: 'XCOPY "c:\DIR A" "c:DIR B\"' is OK. */
static int find_end_of_word(const WCHAR *word, WCHAR **end)
{
BOOL in_quotes = 0;
BOOL in_quotes = FALSE;
const WCHAR *ptr = word;
for (;;) {
for (; *ptr != '\0' && *ptr != '"' &&
@@ -783,19 +783,20 @@ static int XCOPY_ParseCommandLine(WCHAR *suppliedsource,
BOOL isError = FALSE;
memset(&st, 0x00, sizeof(st));
/* Parse the arg : Month */
/* Microsoft xcopy's usage message implies that the date
* format depends on the locale, but that is false.
* It is hardcoded to month-day-year.
*/
st.wMonth = _wtol(pos);
while (*pos && isdigit(*pos)) pos++;
if (*pos++ != '-') isError = TRUE;
/* Parse the arg : Day */
if (!isError) {
st.wDay = _wtol(pos);
while (*pos && isdigit(*pos)) pos++;
if (*pos++ != '-') isError = TRUE;
}
/* Parse the arg : Year */
if (!isError) {
st.wYear = _wtol(pos);
while (*pos && isdigit(*pos)) pos++;

View File

@@ -54,20 +54,20 @@
#define MAXSTRING 8192
/* Translation ids */
#define STRING_INVPARMS 101
#define STRING_INVPARM 102
#define STRING_PAUSE 103
#define STRING_SIMCOPY 104
#define STRING_COPY 105
#define STRING_QISDIR 106
#define STRING_SRCPROMPT 107
#define STRING_OVERWRITE 108
#define STRING_COPYFAIL 109
#define STRING_OPENFAIL 110
#define STRING_READFAIL 111
#define STRING_YES_CHAR 112
#define STRING_NO_CHAR 113
#define STRING_ALL_CHAR 114
#define STRING_FILE_CHAR 115
#define STRING_DIR_CHAR 116
#define STRING_HELP 117
#define STRING_INVPARMS 101
#define STRING_INVPARM 102
#define STRING_PAUSE 103
#define STRING_SIMCOPY 104
#define STRING_COPY 105
#define STRING_QISDIR 106
#define STRING_SRCPROMPT 107
#define STRING_OVERWRITE 108
#define STRING_COPYFAIL 109
#define STRING_OPENFAIL 110
#define STRING_READFAIL 111
#define STRING_YES_CHAR 112
#define STRING_NO_CHAR 113
#define STRING_ALL_CHAR 114
#define STRING_FILE_CHAR 115
#define STRING_DIR_CHAR 116
#define STRING_HELP 117

View File

@@ -207,15 +207,15 @@ BEGIN
IDS_REG_FAIL "Ошибка"
IDS_DDTEST_ERROR "Сбой в проверке!"
IDS_DDTEST_DESCRIPTION "Будет произведена проверка DirecDraw на этом устройстве. Продолжить?"
IDS_DDPRIMARY_DESCRIPTION "This test will use DirectDraw to draw on primary surface. Black and white rectangles should be drawn. Продолжить?"
IDS_DDPRIMARY_DESCRIPTION "В этом тесте будет проверена возможность рисования DirectDraw на основной поверхности экрана. Должны быть видны черные и белые прямоугольники. Продолжить?"
IDS_DDPRIMARY_RESULT "Вы видели черные и белые прямоугольники?"
IDS_DDOFFSCREEN_DESCRIPTION "This test will use DirectDraw to draw in an offscreen buffer. Moving white rectangle should be drawn. Продолжить?"
IDS_DDOFFSCREEN_RESULT "Вы видели перемещающийся белый прямоугольник?"
IDS_DDFULLSCREEN_DESCRIPTION "This test will use DirectDraw to draw in a fullscreen mode. Moving white rectangle should be drawn. Продолжить?"
IDS_DDFULLSCREEN_RESULT "Вы видели белый перемешающийся прямоугольник в полноэкранном режиме?"
IDS_DDOFFSCREEN_DESCRIPTION "В этом тесте будет проверена возможность рисования DirectDraw на закадровой поверхности экрана. Должен быть виден двигающийся белый квадратик. Продолжить?"
IDS_DDOFFSCREEN_RESULT "Вы видели двигающийся белый квадратик?"
IDS_DDFULLSCREEN_DESCRIPTION "В этом тесте будет проверена возможность рисования DirectDraw в полноэкранном режиме. Должен быть виден двигающийся белый квадратик. Продолжить?"
IDS_DDFULLSCREEN_RESULT "Вы видели белый двигающийся квадратик в полноэкранном режиме?"
IDS_FORMAT_ADAPTER_MEM "%u Мб"
IDS_FORMAT_ADAPTER_MODE "%04u x %04u (%u бит)(%uГц)"
IDS_OPTION_NO "Нет"
IDS_D3DTEST_DESCRIPTION "This will start Direct3D interface test. Continue?"
IDS_D3DTEST_D3Dx "This test will use hardware-accelerated Direct3D %u interface."
IDS_D3DTEST_DESCRIPTION "Будет произведена проверка Direct3D на этом устройстве. Продолжить?"
IDS_D3DTEST_D3Dx "Этот тест будет использовать интерфейс Direct3D %u с аппаратным ускорением."
END

View File

@@ -11,7 +11,7 @@ BEGIN
CONTROL "Tab1", IDC_TAB_CONTROL, "SysTabControl32", WS_TABSTOP, 2, 2, 474, 250
PUSHBUTTON "&Yardım", IDC_BUTTON_HELP, 2, 261, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&Sonraki Bölüm", IDC_BUTTON_NEXT, 257, 261, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Tüm Bilgileri Kaydet...", IDC_BUTTON_SAVE_INFO, 311, 261, 110, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Tüm Bilgileri Sakla...", IDC_BUTTON_SAVE_INFO, 311, 261, 110, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Çıkış", IDC_BUTTON_EXIT, 425, 261, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
@@ -20,7 +20,7 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Bu araç, dizgenizdeki yüklü ReactX bileşenleri ve sürücüleri üzerine ayrıntılı bilgi raporlar.", -1, 10, 10, 443, 17
LTEXT "Soruna neden olan bölümü biliyorsanız yukarıdaki uygun sekmeyi tıklayınız. Yoksa sırayla her bir bölüme gitmek için aşağıdaki ""Sonraki Bölüm"" düğmesini kullanabilirsiniz.", -1, 10, 30, 443, 25
LTEXT "Soruna neden olan bölümü biliyorsanız yukarıdaki uygun sekmeyi tıklayınız. Yoksa diziyle tüm bölümlere gitmek için aşağıdaki ""Sonraki Bölüm"" düğmesini kullanabilirsiniz.", -1, 10, 30, 443, 25
GROUPBOX "Dizge Bilgisi", -1, 10, 55, 443, 130, SS_RIGHT
LTEXT "Geçerli Zaman:", -1, 70, 70, 80, 10, SS_RIGHT
LTEXT "Bilgisayar Adı:", -1, 70, 80, 80, 10, SS_RIGHT
@@ -118,7 +118,7 @@ BEGIN
RTEXT "Sürüm:", -1, 275, 35, 55, 10
RTEXT "Zaman:", -1, 275, 45, 55, 10
RTEXT "WHQL İmleği:", -1, 275, 55, 55, 10
RTEXT "Diğer Kütükler:", -1, 275, 65, 55, 10
RTEXT "Başka Kütükler:", -1, 275, 65, 55, 10
RTEXT "Sağlayıcı:", -1, 275, 75, 55, 10
LTEXT "", IDC_STATIC_DSOUND_DRIVER, 335, 25, 100, 10
LTEXT "", IDC_STATIC_DSOUND_VERSION, 335, 35, 100, 10

View File

@@ -2,12 +2,12 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_USAGE "FIND: Поиск текстовой строки в одном или нескольких файлах.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] ""строка"" [ файл... ]\n\
IDS_USAGE "FINDSTR: Поиск строк в файлах.\n\n\
FINDSTR [/V] [/C] [/N] [/I] ""строка"" [[диск:][путь]имя_файла[ ...]]\n\
/V Вывод всех строк, НЕ содержащих заданную строку.\n\
/C Вывод только общего числа строк, содержащих заданную строку.\n\
/I Поиск без учета регистра символов.\n\
/N Вывод номеров отображаемых строк (начиная с 1).\n\
/V Вывод всех строк, НЕ содержащих заданную строку."
IDS_NO_SUCH_FILE "FIND: %s: Файл не существует.\n"
IDS_CANNOT_OPEN "FIND: %s: Невозможно открыть файл.\n"
/N Вывод номеров отображаемых строк.\n\
/I Поиск без учета регистра символов."
IDS_NO_SUCH_FILE "FINDSTR: %s: Файл не существует.\n"
IDS_CANNOT_OPEN "FINDSTR: %s: Невозможно открыть файл.\n"
END

View File

@@ -4,10 +4,10 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_INSTALL "Install"
IDS_INSTALL "Установить"
IDS_PRINT "Печать"
IDS_STRING "В чащах юга жил бы цитрус? Да, но фальшивый экземпляр! 1234567890"
IDS_OPEN "Open Font..."
IDS_OPEN "Открыть шрифт..."
IDS_ERROR "Ошибка"
IDS_ERROR_NOMEM "Недостаточно памяти, чтобы завершить операцию."
IDS_ERROR_NOFONT "%1 не является корректным файлом шрифта."

View File

@@ -1,4 +1,4 @@
/* TRANSLATOR: 2013 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
/* TRANSLATOR: 2013, 2014 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE

View File

@@ -18,31 +18,36 @@ BEGIN
GROUPBOX "Карти", -1, 7, 7, 90, 40
AUTORADIOBUTTON "Изтегли &една", IDC_OPT_DRAWONE, 14, 19, 70, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "Изтегли &три", IDC_OPT_DRAWTHREE, 14, 32, 70, 10
AUTOCHECKBOX "&Показване на времето", IDC_OPT_SHOWTIME, 7 ,51 ,100 ,10, WS_TABSTOP | WS_DISABLED
GROUPBOX "Scoring", -1, 100, 7, 75, 53
AUTORADIOBUTTON "&Standard", IDC_OPT_STANDARD, 107, 19, 60, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "&Vegas", IDC_OPT_VEGAS, 107, 32, 60, 10
AUTORADIOBUTTON "&None", IDC_OPT_NOSCORE, 107, 45, 60, 10
AUTOCHECKBOX "&Показване на времето", IDC_OPT_SHOWTIME, 7 ,51 ,100 ,10, WS_TABSTOP
AUTOCHECKBOX "Лента &състояние", IDC_OPT_STATUSBAR, 7, 66, 100, 10, WS_TABSTOP
AUTOCHECKBOX "&Keep Score", IDC_OPT_KEEPSCORE, 100, 66, 65, 10, WS_TABSTOP
DEFPUSHBUTTON "Добре", IDOK, 35, 97, 50, 14
PUSHBUTTON "Отказ", IDCANCEL, 101, 97, 50, 14
END
IDD_CARDBACK DIALOGEX 6, 6, 186, 104
IDD_CARDBACK DIALOGEX 6, 6, 345, 185
CAPTION "Избор на гръб за картите"
FONT 8, "MS Shell Dlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
BEGIN
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 26, 32
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 34, 7, 26, 32
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 64, 7, 26, 32
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 94, 7, 26, 32
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 124, 7, 26, 32
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 154, 7, 26, 32
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 46, 26, 32
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 34, 46, 26, 32
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 64, 46, 26, 32
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 94, 46, 26, 32
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 124, 46, 26, 32
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 154, 46, 26, 32
DEFPUSHBUTTON "Добре", IDOK, 66, 84, 54, 13
PUSHBUTTON "Отказ", IDCANCEL, 126, 84, 54, 13
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 50, 71
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 61, 7, 50, 71
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 118, 7, 50, 71
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 175, 7, 50, 71
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 232, 7, 50, 71
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 289, 7, 50, 71
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 89, 50, 71
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 61, 89, 50, 71
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 118, 89, 50, 71
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 175, 89, 50, 71
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 232, 89, 50, 71
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 289, 89, 50, 71
DEFPUSHBUTTON "Добре", IDOK, 114, 165, 54, 14
PUSHBUTTON "Отказ", IDCANCEL, 176, 165, 54, 14
END
/* Strings */
@@ -54,6 +59,8 @@ BEGIN
IDS_SOL_QUIT "Да прекратя ли играта?"
IDS_SOL_WIN "Поздравления, победихте!!"
IDS_SOL_DEAL "Ново раздаване?"
IDS_SOL_SCORE "Score: %d"
IDS_SOL_TIME "Time: %d"
END
/* Menus */

View File

@@ -18,31 +18,36 @@ BEGIN
GROUPBOX "Cartes", -1, 7, 7, 90, 40
AUTORADIOBUTTON "Treu-ne &Una", IDC_OPT_DRAWONE, 14, 19, 70, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "Treu-ne &Tres", IDC_OPT_DRAWTHREE, 14, 32, 70, 10
AUTOCHECKBOX "&Mostra el temps", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP | WS_DISABLED
GROUPBOX "Scoring", -1, 100, 7, 75, 53
AUTORADIOBUTTON "&Standard", IDC_OPT_STANDARD, 107, 19, 60, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "&Vegas", IDC_OPT_VEGAS, 107, 32, 60, 10
AUTORADIOBUTTON "&None", IDC_OPT_NOSCORE, 107, 45, 60, 10
AUTOCHECKBOX "&Mostra el temps", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP
AUTOCHECKBOX "&Barra d'estat", IDC_OPT_STATUSBAR, 7, 66, 64, 10, WS_TABSTOP
AUTOCHECKBOX "&Keep Score", IDC_OPT_KEEPSCORE, 100, 66, 65, 10, WS_TABSTOP
DEFPUSHBUTTON "Acceptar", IDOK, 35, 97, 50, 14
PUSHBUTTON "Cancel·lar", IDCANCEL, 101, 97, 50, 14
END
IDD_CARDBACK DIALOGEX 6, 6, 186, 104
IDD_CARDBACK DIALOGEX 6, 6, 345, 185
CAPTION "Seleccioneu l'anvers"
FONT 8, "MS Shell Dlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
BEGIN
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 26, 32
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 34, 7, 26, 32
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 64, 7, 26, 32
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 94, 7, 26, 32
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 124, 7, 26, 32
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 154, 7, 26, 32
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 46, 26, 32
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 34, 46, 26, 32
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 64, 46, 26, 32
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 94, 46, 26, 32
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 124, 46, 26, 32
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 154, 46, 26, 32
DEFPUSHBUTTON "Acceptar", IDOK, 66, 84, 54, 13
PUSHBUTTON "Cancel·lar", IDCANCEL, 126, 84, 54, 13
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 50, 71
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 61, 7, 50, 71
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 118, 7, 50, 71
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 175, 7, 50, 71
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 232, 7, 50, 71
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 289, 7, 50, 71
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 89, 50, 71
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 61, 89, 50, 71
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 118, 89, 50, 71
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 175, 89, 50, 71
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 232, 89, 50, 71
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 289, 89, 50, 71
DEFPUSHBUTTON "Acceptar", IDOK, 114, 165, 54, 14
PUSHBUTTON "Cancel·lar", IDCANCEL, 176, 165, 54, 14
END
/* Strings */
@@ -54,6 +59,8 @@ BEGIN
IDS_SOL_QUIT "Voleu sortir del joc actual?"
IDS_SOL_WIN "Felicitats, heu guanyat!!"
IDS_SOL_DEAL "Deal again?"
IDS_SOL_SCORE "Score: %d"
IDS_SOL_TIME "Time: %d"
END
/* Menus */

View File

@@ -16,31 +16,36 @@ BEGIN
GROUPBOX "Karty", -1, 7, 7, 90, 40
AUTORADIOBUTTON "Sejmout &jednu", IDC_OPT_DRAWONE, 14, 19, 70, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "Sejmout &tři", IDC_OPT_DRAWTHREE, 14, 32, 70, 10
AUTOCHECKBOX "Zobrazit č&as", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP | WS_DISABLED
GROUPBOX "Scoring", -1, 100, 7, 75, 53
AUTORADIOBUTTON "&Standard", IDC_OPT_STANDARD, 107, 19, 60, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "&Vegas", IDC_OPT_VEGAS, 107, 32, 60, 10
AUTORADIOBUTTON "&None", IDC_OPT_NOSCORE, 107, 45, 60, 10
AUTOCHECKBOX "Zobrazit č&as", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP
AUTOCHECKBOX "Stavový řád&ek", IDC_OPT_STATUSBAR, 7, 66, 64, 10, WS_TABSTOP
AUTOCHECKBOX "&Keep Score", IDC_OPT_KEEPSCORE, 100, 66, 65, 10, WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 35, 97, 50, 14
PUSHBUTTON "Storno", IDCANCEL, 101, 97, 50, 14
END
IDD_CARDBACK DIALOGEX 6, 6, 186, 104
IDD_CARDBACK DIALOGEX 6, 6, 345, 185
CAPTION "Vybrat rub karet"
FONT 8, "MS Shell Dlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
BEGIN
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 26, 32
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 34, 7, 26, 32
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 64, 7, 26, 32
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 94, 7, 26, 32
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 124, 7, 26, 32
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 154, 7, 26, 32
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 46, 26, 32
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 34, 46, 26, 32
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 64, 46, 26, 32
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 94, 46, 26, 32
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 124, 46, 26, 32
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 154, 46, 26, 32
DEFPUSHBUTTON "OK", IDOK, 66, 84, 54, 13
PUSHBUTTON "Storno", IDCANCEL, 126, 84, 54, 13
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 50, 71
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 61, 7, 50, 71
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 118, 7, 50, 71
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 175, 7, 50, 71
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 232, 7, 50, 71
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 289, 7, 50, 71
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 89, 50, 71
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 61, 89, 50, 71
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 118, 89, 50, 71
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 175, 89, 50, 71
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 232, 89, 50, 71
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 289, 89, 50, 71
DEFPUSHBUTTON "OK", IDOK, 114, 165, 54, 14
PUSHBUTTON "Storno", IDCANCEL, 176, 165, 54, 14
END
/* Strings */
@@ -52,6 +57,8 @@ BEGIN
IDS_SOL_QUIT "Ukončit rozehranou hru?"
IDS_SOL_WIN "Gratulujeme, zvítězili jste!!"
IDS_SOL_DEAL "Rozdat znova?"
IDS_SOL_SCORE "Score: %d"
IDS_SOL_TIME "Time: %d"
END
/* Menus */

View File

@@ -18,31 +18,36 @@ BEGIN
GROUPBOX "Karten", -1, 7, 7, 90, 40
AUTORADIOBUTTON "&Eine ziehen", IDC_OPT_DRAWONE, 14, 19, 70, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "&Drei ziehen", IDC_OPT_DRAWTHREE, 14, 32, 70, 10
AUTOCHECKBOX "&Zeit anzeigen", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP | WS_DISABLED
GROUPBOX "Punkte zählen", -1, 100, 7, 75, 53
AUTORADIOBUTTON "&Standard", IDC_OPT_STANDARD, 107, 19, 60, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "&Vegas", IDC_OPT_VEGAS, 107, 32, 60, 10
AUTORADIOBUTTON "Ke&ine", IDC_OPT_NOSCORE, 107, 45, 60, 10
AUTOCHECKBOX "&Zeit anzeigen", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP
AUTOCHECKBOX "S&tatusleiste", IDC_OPT_STATUSBAR, 7, 66, 64, 10, WS_TABSTOP
AUTOCHECKBOX "P&unkte behalten", IDC_OPT_KEEPSCORE, 100, 66, 65, 10, WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 35, 97, 50, 14
PUSHBUTTON "Abbrechen",IDCANCEL,101,97,50,14
END
IDD_CARDBACK DIALOGEX 6, 6, 186, 104
IDD_CARDBACK DIALOGEX 6, 6, 345, 185
CAPTION "Kartenhintergrund wählen"
FONT 8, "MS Shell Dlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
BEGIN
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 26, 32
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 34, 7, 26, 32
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 64, 7, 26, 32
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 94, 7, 26, 32
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 124, 7, 26, 32
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 154, 7, 26, 32
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 46, 26, 32
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 34, 46, 26, 32
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 64, 46, 26, 32
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 94, 46, 26, 32
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 124, 46, 26, 32
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 154, 46, 26, 32
DEFPUSHBUTTON "OK", IDOK, 66, 84, 54, 13
PUSHBUTTON "Abbrechen", IDCANCEL, 126, 84, 54, 13
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 50, 71
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 61, 7, 50, 71
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 118, 7, 50, 71
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 175, 7, 50, 71
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 232, 7, 50, 71
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 289, 7, 50, 71
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 89, 50, 71
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 61, 89, 50, 71
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 118, 89, 50, 71
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 175, 89, 50, 71
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 232, 89, 50, 71
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 289, 89, 50, 71
DEFPUSHBUTTON "OK", IDOK, 114, 165, 54, 14
PUSHBUTTON "Abbrechen", IDCANCEL, 176, 165, 54, 14
END
/* Strings */
@@ -54,6 +59,8 @@ BEGIN
IDS_SOL_QUIT "Laufendes Spiel beenden?"
IDS_SOL_WIN "Glückwunsch, Sie haben gewonnen!"
IDS_SOL_DEAL "Neu geben?"
IDS_SOL_SCORE "Punkte: %d"
IDS_SOL_TIME "Zeit: %d"
END
/* Menus */

View File

@@ -18,31 +18,36 @@ BEGIN
GROUPBOX "Κάρτες", -1, 7, 7, 90, 40
AUTORADIOBUTTON "Ρίξε Έ&να", IDC_OPT_DRAWONE, 14, 19, 70, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "Ρίξε &Τρία", IDC_OPT_DRAWTHREE, 14, 32, 70, 10
AUTOCHECKBOX "&Εμφάνιση Ώρας", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP | WS_DISABLED
GROUPBOX "Scoring", -1, 100, 7, 75, 53
AUTORADIOBUTTON "&Standard", IDC_OPT_STANDARD, 107, 19, 60, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "&Vegas", IDC_OPT_VEGAS, 107, 32, 60, 10
AUTORADIOBUTTON "&None", IDC_OPT_NOSCORE, 107, 45, 60, 10
AUTOCHECKBOX "&Εμφάνιση Ώρας", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP
AUTOCHECKBOX "Γ&ραμμή κατάστασης", IDC_OPT_STATUSBAR, 7, 66, 64, 10, WS_TABSTOP
AUTOCHECKBOX "&Keep Score", IDC_OPT_KEEPSCORE, 100, 66, 65, 10, WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 35, 97, 50, 14
PUSHBUTTON "Ακύρωση", IDCANCEL, 101, 97, 50, 14
END
IDD_CARDBACK DIALOGEX 6, 6, 186, 104
IDD_CARDBACK DIALOGEX 6, 6, 345, 185
CAPTION "Select Card Back"
FONT 8, "MS Shell Dlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
BEGIN
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 26, 32
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 34, 7, 26, 32
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 64, 7, 26, 32
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 94, 7, 26, 32
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 124, 7, 26, 32
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 154, 7, 26, 32
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 46, 26, 32
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 34, 46, 26, 32
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 64, 46, 26, 32
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 94, 46, 26, 32
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 124, 46, 26, 32
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 154, 46, 26, 32
DEFPUSHBUTTON "OK", IDOK, 66, 84, 54, 13
PUSHBUTTON "Cancel", IDCANCEL, 126, 84, 54, 13
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 50, 71
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 61, 7, 50, 71
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 118, 7, 50, 71
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 175, 7, 50, 71
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 232, 7, 50, 71
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 289, 7, 50, 71
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 89, 50, 71
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 61, 89, 50, 71
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 118, 89, 50, 71
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 175, 89, 50, 71
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 232, 89, 50, 71
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 289, 89, 50, 71
DEFPUSHBUTTON "OK", IDOK, 114, 165, 54, 14
PUSHBUTTON "Cancel", IDCANCEL, 176, 165, 54, 14
END
/* Strings */
@@ -54,6 +59,8 @@ BEGIN
IDS_SOL_QUIT "Τερματισμός του πιαχνιδιού αυτού;"
IDS_SOL_WIN "Συγχαρητήρια, κερδίσατε!!"
IDS_SOL_DEAL "Deal again?"
IDS_SOL_SCORE "Score: %d"
IDS_SOL_TIME "Time: %d"
END
/* Menus */

View File

@@ -18,31 +18,36 @@ BEGIN
GROUPBOX "Cards", -1, 7, 7, 90, 40
AUTORADIOBUTTON "Draw &One", IDC_OPT_DRAWONE, 14, 19, 70, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "Draw &Three", IDC_OPT_DRAWTHREE, 14, 32, 70, 10
AUTOCHECKBOX "&Show Time", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP | WS_DISABLED
GROUPBOX "Scoring", -1, 100, 7, 75, 53
AUTORADIOBUTTON "&Standard", IDC_OPT_STANDARD, 107, 19, 60, 10, WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "&Vegas", IDC_OPT_VEGAS, 107, 32, 60, 10
AUTORADIOBUTTON "&None", IDC_OPT_NOSCORE, 107, 45, 60, 10
AUTOCHECKBOX "&Show Time", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10, WS_TABSTOP
AUTOCHECKBOX "S&tatus bar", IDC_OPT_STATUSBAR, 7, 66, 64, 10, WS_TABSTOP
AUTOCHECKBOX "&Keep Score", IDC_OPT_KEEPSCORE, 100, 66, 65, 10, WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 35, 97, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 101, 97, 50, 14
END
IDD_CARDBACK DIALOGEX 6, 6, 186, 104
IDD_CARDBACK DIALOGEX 6, 6, 345, 185
CAPTION "Select Card Back"
FONT 8, "MS Shell Dlg"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
BEGIN
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 26, 32
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 34, 7, 26, 32
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 64, 7, 26, 32
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 94, 7, 26, 32
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 124, 7, 26, 32
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 154, 7, 26, 32
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 46, 26, 32
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 34, 46, 26, 32
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 64, 46, 26, 32
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 94, 46, 26, 32
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 124, 46, 26, 32
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 154, 46, 26, 32
DEFPUSHBUTTON "OK", IDOK, 66, 84, 54, 13
PUSHBUTTON "Cancel", IDCANCEL, 126, 84, 54, 13
CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 50, 71
CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 61, 7, 50, 71
CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 118, 7, 50, 71
CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 175, 7, 50, 71
CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 232, 7, 50, 71
CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 289, 7, 50, 71
CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 89, 50, 71
CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 61, 89, 50, 71
CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 118, 89, 50, 71
CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 175, 89, 50, 71
CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 232, 89, 50, 71
CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 289, 89, 50, 71
DEFPUSHBUTTON "OK", IDOK, 114, 165, 54, 14
PUSHBUTTON "Cancel", IDCANCEL, 176, 165, 54, 14
END
/* Strings */
@@ -54,6 +59,8 @@ BEGIN
IDS_SOL_QUIT "Quit the current game?"
IDS_SOL_WIN "Congratulations, you win!"
IDS_SOL_DEAL "Deal again?"
IDS_SOL_SCORE "Score: %d"
IDS_SOL_TIME "Time: %d"
END
/* Menus */

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