Compare commits

...

483 Commits

Author SHA1 Message Date
Jérôme Gardou
b7057baa32 [TCPIP]
- Comment out an optimisation which doesn't work.
Reviews of why would be most appreciated.

svn path=/branches/tcpip_revolution/; revision=65388
2014-11-12 11:39:13 +00:00
Jérôme Gardou
ca2ddf6bfd [LWIP]
- Do not pad ethernet headers.
Now the DHCP server properly receives our DHCP requests

svn path=/branches/tcpip_revolution/; revision=65387
2014-11-12 11:39:07 +00:00
Jérôme Gardou
c4c8327420 [TCPIP]
- Silence a useless DPRINT

svn path=/branches/tcpip_revolution/; revision=65386
2014-11-12 11:39:01 +00:00
Jérôme Gardou
61a80d18a4 [TCPIP]
- We receive the port number in network byte order. Act accordingly.

svn path=/branches/tcpip_revolution/; revision=65385
2014-11-12 11:38:57 +00:00
Jérôme Gardou
624aeb1098 [TCPIP]
- Implement sending data to the NIC from what lwip passes to us.

svn path=/branches/tcpip_revolution/; revision=65384
2014-11-12 11:38:53 +00:00
Jérôme Gardou
f598697258 [TCPIP]
- Add special handling case for UDP packet on DHCP server port.
lwip refuses to send packets to addresses on which no interface is bound. Of course, DHCP packets are sent before any address is given to an interface, so we have to handle this case here.
lwip DHCP discovery code does the same thing.

svn path=/branches/tcpip_revolution/; revision=65383
2014-11-12 11:38:48 +00:00
Jérôme Gardou
4451bc2537 [TCPIP]
- Properly return STATUS_BUFFER_OVERFLOW if the provided buffer is too small when receiving a datagram.
 - Do not skip the IP header for raw IP packets (application do in fact require it)
 - Only pass ICMP echo reply packets to callers, the rest is processed by lwip.
'ping 127.0.0.1' now properly works.

svn path=/branches/tcpip_revolution/; revision=65376
2014-11-11 10:41:23 +00:00
Jérôme Gardou
10c5b3681a [TCPIP]
- Implement setting the TTL for a socket.
 - Stubplement setting the IP_DONTFRAGMENT flag.
 - Properly set IoStatus.Information when receiving datagram.
 - Properly skip the IP header when we're not receiving UDP datagrams

svn path=/branches/tcpip_revolution/; revision=65371
2014-11-10 21:37:55 +00:00
Jérôme Gardou
1d5ec2c670 [TCPIP]
- Add skeleton code to handle IOCTL_TCP_SET_INFORMATION_EX

svn path=/branches/tcpip_revolution/; revision=65370
2014-11-10 21:37:25 +00:00
Jérôme Gardou
cf0bf8222a [LWIP]
- Remove last bits of old tcpip implementation

svn path=/branches/tcpip_revolution/; revision=65366
2014-11-10 18:06:30 +00:00
Jérôme Gardou
405c1c289d [LWIP]
- In a last surge of violence, fix build.

svn path=/branches/tcpip_revolution/; revision=65365
2014-11-10 18:00:28 +00:00
Jérôme Gardou
efe8f0fd2c [IP]
- Violently rip off this too.

svn path=/branches/tcpip_revolution/; revision=65364
2014-11-10 18:00:24 +00:00
Jérôme Gardou
ba911f9250 [LWIP]
- enable SNMP, UDP, ICMP and loopback interface support.

svn path=/branches/tcpip_revolution/; revision=65363
2014-11-10 18:00:13 +00:00
Jérôme Gardou
edbbcaf538 [TCPIP]
Start a new implementation using lwip *for real*.
The goal being to let lwip do all the dirty work for us, taking the full power of it, including TCP, ICMP, SNMP, UDP, raw IP, etc.
Commmit what I got so far, including:
 - registering the tcp/ip protocol to NDIS
 - Creating the loopback/adapter interface as wrappers around lwip_netif structures.
 - Querying a few pieces of information from the said interface.
 - Sending and receiving raw/UDP diagrams through lwip (not quite working yet, but soon).
 - Registering entities "instances".

svn path=/branches/tcpip_revolution/; revision=65362
2014-11-10 18:00:09 +00:00
Jérôme Gardou
c0478c4056 [TCPIP]
- Violently rip off the whole thing.

svn path=/branches/tcpip_revolution/; revision=65360
2014-11-10 17:40:55 +00:00
Amine Khaldi
8ca32f8fc8 * Create a branch for the ongoing tcpip rev^H^H^H rewrite.
svn path=/branches/tcpip_revolution/; revision=65359
2014-11-10 17:23:07 +00:00
Amine Khaldi
0343b8c5b5 [NPPTOOLS]
* Import from Wine 1.7.27.
CORE-8789 #resolve #comment Imported in r65358.
CORE-8540

svn path=/trunk/; revision=65358
2014-11-10 16:41:42 +00:00
Amine Khaldi
f57a299104 [CMAKE][NTOS]
* Improve some inclusions (avoid ../ types).
* The answer is 42.

svn path=/trunk/; revision=65357
2014-11-10 16:26:55 +00:00
Kamil Hornicek
d65a3b59a3 [WIN32K]
- fix up icon size before calculating the destination rectangle
CORE-8782

svn path=/trunk/; revision=65356
2014-11-10 14:00:02 +00:00
Jérôme Gardou
2b4ca7374b [MSAFD]
- Use wine debug output routines instead of blunt DbgPrint
This avoids the horrid "MSAFD: STATUS_XXX" which doesn't help.

svn path=/trunk/; revision=65355
2014-11-10 13:06:48 +00:00
Pierre Schweitzer
da318dabea [FASTFAT]
Properly flush volume on dismount

svn path=/trunk/; revision=65353
2014-11-10 10:18:29 +00:00
Pierre Schweitzer
411da63870 [NTOSKRNL]
So... Because actual ReactOS mood is to worship hacks instead of looking for proper fixes to have decent behavior: reenable the IopParseDevice hack.

But, so far, only reenable it for the 1st stage: the most intensive storage stack stage (unless you start playing with partitions & formating in 3rd stage).

CORE-8732 #resolve #comment Bug is now properly hidden with r65352

svn path=/trunk/; revision=65352
2014-11-10 09:45:43 +00:00
Kamil Hornicek
e2ae551d1b [REGEDIT]
- initialize ExportKeyPath so that parseKeyName is not fed garbage if exporting all
CORE-8771

svn path=/trunk/; revision=65351
2014-11-09 23:31:26 +00:00
Eric Kohl
3c5de6a8aa [NET]
Add missing resources to the spanisch translation.

svn path=/trunk/; revision=65350
2014-11-09 21:22:46 +00:00
Sylvain Petreolle
5653be740f [NTVDM]
Verbosity--;


svn path=/trunk/; revision=65349
2014-11-09 21:07:59 +00:00
Timo Kreuzer
d85969ddd5 [GDI32_APITEST]
Fix GCC build

svn path=/trunk/; revision=65348
2014-11-09 17:19:16 +00:00
Timo Kreuzer
9165518e88 [GDI32_APITEST]
Add test for rect regions

svn path=/trunk/; revision=65347
2014-11-09 17:14:17 +00:00
Amine Khaldi
d86a0ae50f [TRANSLATIONS]
* Spanish translation update by Ismael Ferreras Morezuelas (IRC name swyter).
CORE-8767 #resolve #comment Committed in r65346. Gracias ;)

svn path=/trunk/; revision=65346
2014-11-09 17:05:20 +00:00
Amine Khaldi
83c7d4b77e [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=65345
2014-11-09 16:58:28 +00:00
Hermès Bélusca-Maïto
494c79f6af [NET]: Forgot this change, lost in replacements ;)
svn path=/trunk/; revision=65344
2014-11-09 13:43:23 +00:00
Eric Kohl
cb2d2566b1 [NET]
Fix indentation. No code changes!

svn path=/trunk/; revision=65343
2014-11-09 13:41:38 +00:00
Eric Kohl
e05c2fc9d3 [NET]
Replace remaining hardcoded strings by resource strings.

svn path=/trunk/; revision=65342
2014-11-09 13:39:20 +00:00
Hermès Bélusca-Maïto
9108b0107b [DESK.CPL]
Do string case-insensitive comparisons when adding wallpaper file names to the list.
Patch by Ricardo Hanke.
CORE-8775 #resolve #comment Fixed in r65341, thanks!

svn path=/trunk/; revision=65341
2014-11-09 12:00:28 +00:00
Hermès Bélusca-Maïto
9789eed844 Fix variable type ;)
svn path=/trunk/; revision=65340
2014-11-09 11:50:33 +00:00
Hermès Bélusca-Maïto
05790cd38d [TASKMGR]
Displays the current user name in the TaskMgr shutdown menu.
Patch by Ismael Ferreras Morezuelas (swyter) with minor modifications by me.
CORE-8536 #resolve #comment Committed in r65339, thanks!

svn path=/trunk/; revision=65339
2014-11-09 11:48:18 +00:00
Johannes Anderwald
20f7791d4b [NTOS:PNPMGR]
- Implement IoGetDeviceInterfaces with PhysicalDeviceObject support

svn path=/trunk/; revision=65338
2014-11-09 08:22:43 +00:00
Hermès Bélusca-Maïto
951a7e2106 [NTOS:PNPMGR]
- Remove an unneeded ExFreePool(DeviceInstance.Buffer); call in IopGetInterfaceDeviceList because at this point DeviceInstance is not yet initialized. Fixes MSVC build.
- No need to check for DeviceInstance.Buffer being NULL or not (in IopDeviceStatus), because in case it was NULL the IopCaptureUnicodeString call already failed.
- Add some brackets to conform to code style.

svn path=/trunk/; revision=65337
2014-11-09 02:26:49 +00:00
Hermès Bélusca-Maïto
a36ff01e00 [NTVDM]: Use variable-length buffers in DisplayMessage, in case we display a very long message (uses the _vscwprintf CRT function, not available on Win2k. You need to recompile NTVDM with WIN2K_COMPLIANT define if you want to be able to run it on win2k. In that case DisplayMessage uses a quite large enough buffer for its needs). If somebody knows an alternative to _vscwprintf that does the very same job, and which exists on Win2k, I would be happy to use it instead.
svn path=/trunk/; revision=65336
2014-11-09 01:46:31 +00:00
Hermès Bélusca-Maïto
0a21e7b198 [NTVDM:DOS]
- Use the correct environment strings block when starting DOS programs.
- When building the DOS master env block, remove the current directory env strings (they start with '='), upcase the environment names (not their values) and remove the WINDIR environment that we inherited when we started NTVDM DOS.

svn path=/trunk/; revision=65335
2014-11-09 00:49:17 +00:00
Timo Kreuzer
612333a5c0 [DPRINT12345]
Silence more annoying DPRINTs, and add one that hopefully helps to debug a problem.

svn path=/trunk/; revision=65334
2014-11-08 22:19:07 +00:00
Hermès Bélusca-Maïto
6990cd2172 [NTVDM]
- For the BIOS wait hack, use the NT API instead of the Win32 one.
- Remove unneeded DOS-exported functions.
- Use a PitGetReloadValue function for retrieving the reload value of a given PIT channel, instead of directly reading the reload value member, for functions *outside* of the PIT module.
- Implement basic Pulse-Width Modulation code for the PC speaker emulation.

svn path=/trunk/; revision=65333
2014-11-08 21:45:20 +00:00
Eric Kohl
7cfea2fbb6 [NET]
USER command:
- Replace stings by resource strings.
- Add a function to print padded resource strings.
- Fix the password input routine. Repeat if the passwords don't match.

svn path=/trunk/; revision=65332
2014-11-08 21:44:32 +00:00
Johannes Anderwald
5c1937b443 [USBHUB]
- it makes sense to also activate the device interface

svn path=/trunk/; revision=65331
2014-11-08 21:00:37 +00:00
Johannes Anderwald
e713fbca92 [NTOS]
- implement PlugPlayControlGetInterfaceDeviceList class for NtPlugPlayControl

svn path=/trunk/; revision=65330
2014-11-08 20:58:57 +00:00
Johannes Anderwald
038c71e251 [UMPNPMGR]
- pass flags to NtPlugPlayControl

svn path=/trunk/; revision=65329
2014-11-08 20:54:40 +00:00
Johannes Anderwald
df7f13199b [NDK]
- add flags member

svn path=/trunk/; revision=65328
2014-11-08 20:51:57 +00:00
Timo Kreuzer
b5339379bc [FREELDR]
Tabs -> spaces!

svn path=/trunk/; revision=65327
2014-11-08 19:11:47 +00:00
Timo Kreuzer
dc9b7a0dbe [FREELDR]
Check for CPU compatibility early and bugcheck if the CPU is too old.
Based on patch by winocm.
CORE-6427

svn path=/trunk/; revision=65326
2014-11-08 19:05:22 +00:00
Hermès Bélusca-Maïto
1b2bbd97fa [KERNEL32][BEEP]
Int32x32To64 used with unsigned input values will cause unintentional sign extension. There is a lot of code in ROS that is still not fixed!!
Fixes BEEP sound. See also r64020, CORE-8502 and CORE-8505 for more details.
CORE-8505 #comment CsrCaptureTimeout and BEEP code fixed.

svn path=/trunk/; revision=65325
2014-11-08 16:35:05 +00:00
Timo Kreuzer
b461fd27f1 [GDI32]
- Add annotations for text function
- Improve formatting and some variable names
- No code change

svn path=/trunk/; revision=65324
2014-11-08 15:34:47 +00:00
Eric Kohl
34353069cc [NET]
- Convert error messages to resource strings.
- ACCOUNTS: Add some padding to display strings.
- USER: Support interactive password input.

svn path=/trunk/; revision=65323
2014-11-08 14:35:27 +00:00
Johannes Anderwald
3c80eb5dc2 [NDK]
- adjust PLUGPLAY_CONTROL_INTERFACE_DEVICE_LIST_DATA
[UMPNPMGR]
- implement PNP_GetInterfaceDeviceList, PNP_GetInterfaceDeviceListSize
- currently not yet working PlugPlayControlGetInterfaceDeviceList class in NtPlugPlayControl is not implemented

svn path=/trunk/; revision=65322
2014-11-08 13:28:01 +00:00
Johannes Anderwald
8670de06d4 [NDK]
- add type for retrieving device interface list
- please review

svn path=/trunk/; revision=65321
2014-11-08 13:13:03 +00:00
Timo Kreuzer
b52f449aca [GDI32]
Use GdiGetDcAttr() where appropriate, improve SetLastError() situation.

svn path=/trunk/; revision=65320
2014-11-08 13:12:07 +00:00
Amine Khaldi
583ff26215 [CSCRIPT]
* Import from Wine 1.7.27.
CORE-8770 #resolve #comment Imported in r65317.
CORE-8540

svn path=/trunk/; revision=65319
2014-11-08 11:41:13 +00:00
Amine Khaldi
c7de5a4234 [WSCRIPT_WINETEST]
* Import from Wine 1.7.27.
CORE-8769 CORE-8540

svn path=/trunk/; revision=65318
2014-11-08 11:26:28 +00:00
Amine Khaldi
fc7bb9d4d4 [WSCRIPT]
* Import from Wine 1.7.27.
CORE-8769 #resolve #comment Imported in r65317.
CORE-8540

svn path=/trunk/; revision=65317
2014-11-08 11:23:02 +00:00
Amine Khaldi
b1eff474af [WSHOM_WINETEST]
* Import from Wine 1.7.27.
CORE-8768 CORE-8540

svn path=/trunk/; revision=65316
2014-11-08 10:27:05 +00:00
Amine Khaldi
5c37fe1739 [WSHOM.OCX]
* Import from Wine 1.7.27.
CORE-8768 #resolve #comment Imported in r65315.
CORE-8540

svn path=/trunk/; revision=65315
2014-11-08 10:22:22 +00:00
Johannes Anderwald
32019a9b0f [USBHUB]
- register device interface GUID_DEVINTERFACE_USB_DEVICE for usb devices

svn path=/trunk/; revision=65314
2014-11-08 09:26:21 +00:00
Aleksandar Andrejevic
02f61a837b [FAST486]
Clear the prefix flags when an exception occurs.
Add another missing return after a call to Fast486Exception.


svn path=/trunk/; revision=65313
2014-11-08 05:56:49 +00:00
Aleksandar Andrejevic
3117e70e36 [FAST486]
- Fix the FPU_CHECK() macro.
- Make sure pages are marked dirty even if they have been accessed before.
- Always return after calling Fast486Exception.


svn path=/trunk/; revision=65312
2014-11-08 02:56:54 +00:00
Hermès Bélusca-Maïto
ca31e1569d [HALx86]: Display the invalid opcodes when HalpOpcodeInvalid is called.
svn path=/trunk/; revision=65311
2014-11-07 21:19:27 +00:00
Aleksandar Andrejevic
ed11c3a778 [FAST486]
Fix BT, BTC, BTS and BTR.


svn path=/trunk/; revision=65310
2014-11-07 19:20:38 +00:00
Pierre Schweitzer
0ca2bff44e [FASTFAT]
Properly check for volume open on lock request

svn path=/trunk/; revision=65309
2014-11-07 15:38:31 +00:00
Amine Khaldi
86e82138e7 [TRANSLATIONS]
* Russian translation update by Kudratov Olimjon.
CORE-8701 #resolve #comment Committed in r65308. Thanks!

svn path=/trunk/; revision=65308
2014-11-07 15:08:59 +00:00
Aleksandar Andrejevic
572d2d2a26 [FAST486]
Store the faulting address in CR2 (PFLA) when a page fault occurs.


svn path=/trunk/; revision=65304
2014-11-07 00:00:17 +00:00
Kamil Hornicek
a25ff6fb7e [USER32]
- use get_best_icon_file_entry's magic to find the correct icon in ICO_ExtractIconExW - thanks Jérôme!
- add cursor files support for PrivateExtractIcon(Ex)

svn path=/trunk/; revision=65303
2014-11-06 23:28:28 +00:00
Pierre Schweitzer
fad60e6ee8 [NTFS]
MagicValues--;

svn path=/trunk/; revision=65302
2014-11-06 21:12:54 +00:00
Pierre Schweitzer
c24acbfdc2 [NTFS]
Add a sanity check in NtfsFindMftRecord()

svn path=/trunk/; revision=65301
2014-11-06 20:54:27 +00:00
Aleksandar Andrejevic
3e9aa4c71d [FAST486]
Update the CPL when performing an interrupt.


svn path=/trunk/; revision=65300
2014-11-06 20:47:31 +00:00
Kamil Hornicek
5b5d036b35 [USER32]
- add ICO files support for PrivateExtractIcons(Ex)
- fixes Juice and ICO files now show their icons in explorer
CORE-4021

svn path=/trunk/; revision=65297
2014-11-06 19:11:03 +00:00
Kamil Hornicek
5eaf6cc648 [USER32]
- partially sync exticon.c with Wine 1.7.30

svn path=/trunk/; revision=65295
2014-11-06 18:33:42 +00:00
Aleksandar Andrejevic
d7897ca1e5 [FAST486]
We can't load the stack segment until after we've updated the CPL.


svn path=/trunk/; revision=65281
2014-11-06 05:37:50 +00:00
Aleksandar Andrejevic
e42640b500 [FAST486]
Fix the limit calculation when using page granularity.
RETF can also perform inter-privilege returns.
Fix the privilege checks when loading CS. DPL != CPL is only a #GP
when we're doing a jump or a call.


svn path=/trunk/; revision=65280
2014-11-06 05:16:14 +00:00
Thomas Faber
453e370737 [FASTFAT]
- Fix failure case handling in vfatUpdateFCB
- NULL output parameters on failure in vfatGetFCBForFile
- Fix a few typos

svn path=/trunk/; revision=65278
2014-11-06 00:07:01 +00:00
Thomas Faber
468b64c679 [NTOS:IO]
- Silence super noisy debug print in IopQueryAttributesFile

svn path=/trunk/; revision=65277
2014-11-05 23:27:04 +00:00
Thomas Faber
0e9ce28f2c [FASTFAT]
- Fix incorrect referencing in VfatCreateFile. vfatGetFCBForFile expects a reference on ParentFcb (and may release it), and also returns a referenced parent FCB.
CORE-8756 #resolve

svn path=/trunk/; revision=65276
2014-11-05 23:23:52 +00:00
Kamil Hornicek
46f478ab95 [WIN32K]
- don't create a rect with a zero area in NtGdiExtFloodFill
CORE-8755

svn path=/trunk/; revision=65273
2014-11-05 22:01:08 +00:00
Aleksandar Andrejevic
6eb52f4986 [FAST486]
Make sure the corrected prefetch address contains the block we're trying to read.


svn path=/trunk/; revision=65272
2014-11-05 20:21:32 +00:00
Thomas Faber
a66700e316 [FASTFAT]
- Assert that we never reference or dereference an FCB with RefCount 0
CORE-8733

svn path=/trunk/; revision=65270
2014-11-05 19:06:19 +00:00
Thomas Faber
b708ab01e9 [FASTFAT]
- VfatCleanupFile: do not dereference the FCB when closing the volume file object. ObDereferenceObject already causes an IRP_MJ_CLOSE request to be sent, which dereferences the FCB.
CORE-8733 #resolve

svn path=/trunk/; revision=65269
2014-11-05 18:52:11 +00:00
Thomas Faber
b637c49e6a [REGEDIT]
- Avoid unicode character literal. Fixes weird looking address bar button on MSVC build.

svn path=/trunk/; revision=65266
2014-11-05 16:51:16 +00:00
Thomas Faber
1cfc7939e6 [IPHLPAPI]
- Fix MSVC build

svn path=/trunk/; revision=65265
2014-11-05 16:31:13 +00:00
Hermès Bélusca-Maïto
895a44acc9 [FAST486]
- Fix another typo (addendum to r65263).
- Whitespace fixes.

svn path=/trunk/; revision=65264
2014-11-05 12:45:47 +00:00
Aleksandar Andrejevic
254daee831 [FAST486]
Fix two typos.


svn path=/trunk/; revision=65263
2014-11-05 04:58:40 +00:00
Aleksandar Andrejevic
a57f40f992 [FAST486]
Allow direct calls/jumps to TSS selectors in Fast486ProcessGate.


svn path=/trunk/; revision=65262
2014-11-05 00:50:11 +00:00
Aleksandar Andrejevic
b452f14184 [FAST486]
Fix the paging exception code.


svn path=/trunk/; revision=65261
2014-11-05 00:27:43 +00:00
Aleksandar Andrejevic
b4648ec8fe [FAST486]
- Move the descriptor reading logic into a separate function.
- Implement hardware task switching and task gates.
- Flush the TLB when reloading CR3.


svn path=/trunk/; revision=65260
2014-11-04 22:58:02 +00:00
Thomas Faber
ca809b6cdc [NTOS:SE]
- Implement ACL inheritance for SeAssignSecurityEx
CORE-8745 #resolve

svn path=/trunk/; revision=65259
2014-11-04 22:44:50 +00:00
Thomas Faber
418629f6a9 [KMTESTS:SE]
- Add a test for SeAssignSecurity[Ex]
CORE-8745

svn path=/trunk/; revision=65258
2014-11-04 22:42:15 +00:00
Pierre Schweitzer
71606f1035 [NTFS]
Actually, we know how to read non resident attributes, so read a non resident attribute list if found.

svn path=/trunk/; revision=65257
2014-11-04 21:16:14 +00:00
Thomas Faber
902e8bb68e [KMTESTS]
- Move out definitions for user/kernel test utility functions into their own header (still not pretty, but at least the one header won't get as huge
- Make KmtStartThread/KmtFinishThread available to all tests

svn path=/trunk/; revision=65256
2014-11-04 20:55:16 +00:00
Timo Kreuzer
f1f1a19b03 Merged revision(s) 62353, 62531-62532, 62853, 64152, 64173-64174 from branches/kernel-fun/reactos:
[NTOSKRNL]
Implement SystemPrioritySeperation case in NtSetSystemInformation
........
[NTOSKRNL]
Fix an ASSERT in ExfReleasePushLockExclusive
........
[NTOSKRNL]
Fix KiCallbackReturnHandler
........
[NTOSKRNL]
Don't expect a fully sized LOADER_PARAMETER_EXTENSION, since the win2003 loader doesn't provide the full one.
........
[NTOSKRNL]
Implement a fake NtLockProductActivationKeys

........
[NTOSKRNL]
- Add some DPRINTs on errors
- Silence a DPRINT
- Only DPRINT on unimplemented affinity support on SMP builds

........
[NTOSKRNL]
- Remove an undocumented flag from the lpc request type in NtRequestWaitReplyPort. This is required for some windows modules that use this flag, otherwise the function fails.
........

svn path=/trunk/; revision=65255
2014-11-04 20:47:18 +00:00
Timo Kreuzer
afc42dae68 [NTOSKRNL]
Merge r62304 and r65253 from kernel-fun branch:
Fix logic in ObSetSecurityDescriptorInfo. To understand the change: it is not only style change! The old code modified SecurityDescriptor, which must always stay the same in the loop!

svn path=/trunk/; revision=65254
2014-11-04 20:41:10 +00:00
Timo Kreuzer
4e41ff66c0 [WIN32K]
- Fix completely broken REGION_CropAndOffsetRegion
- Make sure iType is correctly set in NtGdiGetRegionData

svn path=/trunk/; revision=65252
2014-11-04 20:20:45 +00:00
Thomas Faber
e9fc785372 [NTOS:SE]
- Simplify SeSetSecurityDescriptorInfoEx
- Don't dereference an object that was never referenced

svn path=/trunk/; revision=65248
2014-11-04 18:47:13 +00:00
Thomas Faber
8a98907e4c [NTOS:SE]
- Call SeSetSecurityDescriptorInfoEx from SeSetSecurityDescriptorInfo

svn path=/trunk/; revision=65247
2014-11-04 18:40:24 +00:00
Thomas Faber
9852daf344 [NTOS:SE]
Various minor behavior corrections & simplifications for SeAssignSecurityEx:
- Fail on missing subject context or invalid group
- Initialize NewDescriptor to NULL on failure
- Never set SE_*_DEFAULTED flags
- Assume a primary token exists
- Remove unnecessary variable initialization
- Remove unnecessary length alignment
CORE-8745

svn path=/trunk/; revision=65244
2014-11-04 12:35:22 +00:00
Jérôme Gardou
092c5ad023 [IPHLPAPI]
- Retrieve unicast addresses and prefixes in GetAdaptersAddresses.

svn path=/trunk/; revision=65242
2014-11-04 10:38:43 +00:00
Jérôme Gardou
5e4cc9a9c9 [TCPIP/AFD]
- Use less weird internal structures and more public headers.

svn path=/trunk/; revision=65241
2014-11-04 10:38:26 +00:00
Pierre Schweitzer
099910fd83 [NTFS]
- Move the ROUND_UP & ROUND_DOWN macro definition to header
- Make NtfsReadDisk() sector size aware so that it can properly align read on the disk (and thus prevent them from failing)
- If $ATTRIBUTE_LIST is non resident, then display a message and continue, don't assert on it. This is to be implemented later on.

This fixes directory enumeration on a Windows 7 NTFS volume.

svn path=/trunk/; revision=65240
2014-11-04 07:56:20 +00:00
Pierre Schweitzer
217a030519 [NTFS]
Try to read the names from the biggest name space to the smallest.
Only at the end assert we have to have a name.

This fixes name enumeration on Windows 7 NTFS volumes.

svn path=/trunk/; revision=65239
2014-11-04 07:52:14 +00:00
James Tabor
ef9b3e68e3 [NtUser]
- Capture is already set. Trouble shooting CORE-8299 and CORE-3247.
- Correct spellings and adding traces.

svn path=/trunk/; revision=65238
2014-11-04 05:21:41 +00:00
Hermès Bélusca-Maïto
c13514d480 [NTVDM]
- Fix the BIOS32 Wait hack (Sleep takes a duration in milliseconds, whereas the BIOS function takes the duration in microseconds).
- Initialize the PIT channels with realistic values (realistic == found on real BIOSes).
- Remove unneeded commented code.

svn path=/trunk/; revision=65237
2014-11-03 21:27:20 +00:00
Thomas Faber
053bc502bb [PCI]
- Addendum to r65181: fix a stray debug print

svn path=/trunk/; revision=65227
2014-11-03 16:16:26 +00:00
Jérôme Gardou
9c6ff49dd7 [IPHLPAPI]
- Start implementing GetAdaptersAddresses.
For now it noly gives interface names and DNS servers IP, but that's already more than 'UNIMPLEMENTED'.

svn path=/trunk/; revision=65220
2014-11-03 12:55:59 +00:00
Jérôme Gardou
9de8655c35 [PSDK]
- Add missing GAA_FLAG_* flags for GetAdaptersAddresses function

svn path=/trunk/; revision=65219
2014-11-03 12:55:54 +00:00
Jérôme Gardou
d4ca070d84 [TCPIP]
- Use the structure defined in the public headers instead of some strange internal thing.
Uppercase is not so fashionable after all.

svn path=/trunk/; revision=65218
2014-11-03 12:55:45 +00:00
Jérôme Gardou
0039187504 [NTOS/PS]
- Do not leak a reference to the process object when setting quotas.

svn path=/trunk/; revision=65210
2014-11-03 09:52:08 +00:00
Pierre Schweitzer
21cd59bc0f [DISK]
Add a hack to forcibly set sector size in case of weird input. This is noisy on purpose.
Also, be more informative in case of read rejection. Are we reading beyond partition or do we have invalid sector size?
With the hack, the invalid sector size should disappear.

This is to help debugging the recent errors with the removal of IopParseDevice() hack

svn path=/trunk/; revision=65205
2014-11-02 23:11:22 +00:00
Hervé Poussineau
3fc8b084e5 [NTFS] Implement IRP_MJ_QUERY_INFORMATION/FileNetworkOpenInformation:
We are now able to execute some binaries on a NTFS partition.

svn path=/trunk/; revision=65204
2014-11-02 22:56:53 +00:00
Hervé Poussineau
68487164df [NTFS] Fix IRP_MJ_QUERY_INFORMATION/FileNameInformation, which should handle buffers not big enough
svn path=/trunk/; revision=65203
2014-11-02 22:56:47 +00:00
Hervé Poussineau
bdbbb217d5 [NTFS] Update headers
svn path=/trunk/; revision=65202
2014-11-02 22:56:38 +00:00
Pierre Schweitzer
f2cbb4ac21 [NTFS]
Update headers.
Hervé, feel free to copy :-P

svn path=/trunk/; revision=65198
2014-11-02 21:50:40 +00:00
Hervé Poussineau
6a520d8fbe [NTFS] Hack fix duplicate directory entries for files having a short name and a long name
svn path=/trunk/; revision=65196
2014-11-02 20:18:34 +00:00
Hervé Poussineau
c554032df9 [NTFS] Optimize directory search initialization
svn path=/trunk/; revision=65195
2014-11-02 20:18:27 +00:00
Pierre Schweitzer
ffa40006ae [NTFS]
Quickly implement NtfsReadFile().

By quickly, I mean that it works but is under optimal in many ways, and also doesn't support any caching. So, don't expect breaking performances.

BUUUUUUT... This implements reading a file on a NTFS volume on ReactOS! And it works!
Here is a picture of all the achievements of ReactOS with NTFS lately: http://www.heisspiter.net/~Pierre/rostests/NTFS_all.png
-> Volume information
-> Displaying files in explorer
-> Moving across directories
-> Reading a file (with more here)

That's all folks! (for now ;-))

svn path=/trunk/; revision=65192
2014-11-02 19:55:22 +00:00
Pierre Schweitzer
6ea5fe3e43 [NTFS]
Don't attempt to uninitialize cache map with a spin lock held.

svn path=/trunk/; revision=65191
2014-11-02 19:27:58 +00:00
Hervé Poussineau
82f99f5e41 [NTFS] Fix directory listing with search pattern
This fixes name completion in command prompt.

svn path=/trunk/; revision=65190
2014-11-02 18:58:16 +00:00
Hervé Poussineau
3248b9e3b7 [NTOS:CM] Remove some debug prints
svn path=/trunk/; revision=65189
2014-11-02 18:58:09 +00:00
Hervé Poussineau
77e9b087e9 [FDC] Remove some debug prints
svn path=/trunk/; revision=65188
2014-11-02 18:58:04 +00:00
Hervé Poussineau
ad03599ffb [SYSSETUP] Disable debug prints (incidentally enabled in r65128)
svn path=/trunk/; revision=65187
2014-11-02 18:57:56 +00:00
Pierre Schweitzer
b304d6f14a [NTFS]
Fix a really nasty bug in NTFS: it was possible to perform a buffer overflow when reading the bitmap data.

svn path=/trunk/; revision=65186
2014-11-02 17:53:18 +00:00
Thomas Faber
760375811e [NTOS:SE]
- Call SeAssignSecurityEx from SeAssignSecurity
- Fix a FIXME

svn path=/trunk/; revision=65183
2014-11-02 15:41:20 +00:00
Timo Kreuzer
a841fadcaa [HAMMERTIMESTFU]
Silence "a few" DPRINTs

svn path=/trunk/; revision=65181
2014-11-02 11:30:14 +00:00
Eric Kohl
1087501706 [NET]
Net user command:
- Fix typos in the /ACTIVE option.
- Implement the /COUNTRYCODE, /PASSWORDCHG and /PASSWORDREQ options.

svn path=/trunk/; revision=65179
2014-11-02 09:56:18 +00:00
Thomas Faber
db79c779e8 [SACDRV]
- Silence debug prints
- Avoid magic numbers

svn path=/trunk/; revision=65178
2014-11-02 07:17:39 +00:00
Pierre Schweitzer
a899cf5bdd [USETUP]
Make commented out code build (if ever uncommented ;-))

svn path=/trunk/; revision=65175
2014-11-01 21:13:16 +00:00
Pierre Schweitzer
fc65ad4d5f [EXT2LIB]
Whatever happened during format, always unmount the volume.
This allows switching FS in usetup after formating an ext2 volume.

As a record, before (read, with the IopParseDevice) hack, this wasn't possible and if formating with ext2 was possible, kernel would have written with either RawFS or FastFAT driver. Which is not exactly what we want ;-).
But no joy guys... The Ext2Fsd needs to work in ReactOS first before we can effectively install ReactOS on ext2 volumes.

In any case, that's a clear step forward :-)

svn path=/trunk/; revision=65174
2014-11-01 21:09:10 +00:00
Pierre Schweitzer
c1bbc436cb [FASTFAT]
Implement some kind of volume dismount in FastFAT (ie, implement VfatDismountVolume())

This is not fully perfect situation, but it does most of the job (+ leaking a few things). So far, this is not dramatic as its main use is for 1st stage. This will have to be improved later on.

CORE-8732 #comment Can you retest please?

svn path=/trunk/; revision=65173
2014-11-01 20:19:52 +00:00
Eric Kohl
2f120e9e6d [NET]
Display user group memberships.

svn path=/trunk/; revision=65172
2014-11-01 19:24:44 +00:00
Thomas Faber
6f9a074461 [FASTFAT]
- The volume FCB is not reference counted, so don't dereference it on close.

svn path=/trunk/; revision=65171
2014-11-01 18:00:15 +00:00
Hermès Bélusca-Maïto
2420e2ff0d [BASESRV]
- Correctly set the VdmPower flag when the process being started is a NT VDM
- Return a correct status code if VDM access is forbidden.

svn path=/trunk/; revision=65170
2014-11-01 17:51:39 +00:00
Hermès Bélusca-Maïto
fec7f48782 [KERNEL32]
- Mark almost all of the exported console APIs hotpatchable (normally on windows 2k3, all the exports of kernel32 are hotpatchable...)
- Version check mismatch is not a ReactOS error by itself so adjust the DPRINT a bit.

svn path=/trunk/; revision=65169
2014-11-01 15:35:45 +00:00
Kamil Hornicek
fd0e046213 [RAPPS]
- don't resize the richedit window on minimize
CORE-6116

svn path=/trunk/; revision=65168
2014-11-01 12:43:45 +00:00
Eric Kohl
8031de0f5d [NET]
- Display workstations.
- Implement the /ACTIVATE option to enable/disable user accounts.

svn path=/trunk/; revision=65167
2014-11-01 12:32:01 +00:00
Pierre Schweitzer
7fbedc7a2a [NTFS]
Simplify buffer size management in GetNtfsFileRecord(). As tests shown, Windows doesn't care about the real size of the file record and expects the caller to pass the complete size of the record and returns it fully.

CORE-8725

svn path=/trunk/; revision=65166
2014-11-01 10:02:08 +00:00
Pierre Schweitzer
67656096bd [NTFS_TEST]
Add a simple application (à la NTFSInfo & nfi) to dump the data about a NTFS volume using the FSCTL control codes.
This is for both demonstrating how it works and to assess our driver behavior against Windows behavior of these FSCTL.

CORE-8725

svn path=/trunk/; revision=65165
2014-11-01 09:56:33 +00:00
Pierre Schweitzer
ce5999a8eb [PSDK]
Add yet another missing NTFS define

svn path=/trunk/; revision=65164
2014-11-01 08:58:41 +00:00
Pierre Schweitzer
139ec81ccb [PSDK]
Add missing NTFS defines

svn path=/trunk/; revision=65163
2014-11-01 08:03:57 +00:00
Kamil Hornicek
0cad6a3b91 [EVENTLOG]
- fix a possible null dereference

svn path=/trunk/; revision=65162
2014-10-31 22:39:19 +00:00
Amine Khaldi
46551d006f [SHELL32]
* Apply Wine commit a2c90524 by Aric Stewart: Improve the FO_MOVE operation.
* More shell32:shlfileop tests run, less fail.
CORE-8540

svn path=/trunk/; revision=65159
2014-10-31 18:46:27 +00:00
Kamil Hornicek
7a2c925aed [KERNEL32]
- rewrite the GEO_FRIENDLYNAME case of GetGeoInfoW which was completely wrong, intl.cpl now shows a valid list of locations
- note: The geo location resource strings have an arbitrary offset so that they don't collide with the nls resources (which shouldn't be there). Once these are moved out of kernel32 into locale.nls this offset alongside with the hack already present in GetLocalisedText can be removed.

svn path=/trunk/; revision=65157
2014-10-31 18:13:36 +00:00
Thomas Faber
52f76a303d [SHELL32]
- Fix a use after free in COpenWithMenu::Initialize. Powered by DPH.

svn path=/trunk/; revision=65156
2014-10-31 18:02:52 +00:00
Thomas Faber
e62a1d0299 [NEWDEV]
- Fix buffer overflow in PopulateCustomPathCombo. Powered by DPH.
- Fix a signed vs unsigned comparison

svn path=/trunk/; revision=65154
2014-10-31 17:35:38 +00:00
Thomas Faber
b5b1531e3e [MSGINA]
- pszEnvironment is a multi-sz string so make sure to double-null terminate it. Fixes a buffer overrun in winlogon; powered by DPH.

svn path=/trunk/; revision=65153
2014-10-31 17:05:30 +00:00
Kamil Hornicek
175d2a76b3 [KERNEL32]
- fall back to english if a localized resource is not found in GetLocalisedText
- this prevents debug spam and loss of functionality (see CORE-8720) for languages that don't have kernel32 translated

svn path=/trunk/; revision=65152
2014-10-31 16:32:23 +00:00
Kamil Hornicek
56f6fe0862 [WIN32K]
- don't access user mode buffers directly in the Freetype code

svn path=/trunk/; revision=65150
2014-10-31 15:57:09 +00:00
Amine Khaldi
80d683ac8d [SHELL32]
* Rename shellstring.cpp to shellstring.c and update it against Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=65147
2014-10-31 15:16:51 +00:00
Amine Khaldi
8a1d7dd1c0 [SHELL32]
* Move TRASH_CanTrashFile and TRASH_TrashFile declarations to recyclebin.h.
* Do not include xdg.h in shlfileop.cpp anymore.
* Remove the now unneeded xdg.h.

svn path=/trunk/; revision=65146
2014-10-31 14:29:26 +00:00
Pierre Schweitzer
c9d1d86d84 [NTFS]
- Move FSCTL_GET_NTFS_VOLUME_DATA implementation in its own function GetNfsVolumeData(), so remove it from NtfsUserFsRequest()
- Add support for FSCTL_GET_NTFS_FILE_RECORD in NtfsUserFsRequest()
- Implement GetNtfsFileRecord() which returns a file record. Not fully sure about its implementation, this is to be checked.

This does not really improve the nfi situation in any kind yet...

CORE-8725

svn path=/trunk/; revision=65145
2014-10-31 14:21:35 +00:00
Pierre Schweitzer
6635caf5c4 [NTOSKRNL]
Testman confirms that IopParseDevice() hack is no longer required.
So, this is the end of this 8y old hack.

Now ReactOS is able to properly use its storage stack (who said, amazing?)

Bisous IopParseDevice() hack :-)

svn path=/trunk/; revision=65144
2014-10-31 14:16:15 +00:00
Jérôme Gardou
da308db0af [OPENGL32]
- Do not crash if thread data was not allocated

svn path=/trunk/; revision=65143
2014-10-31 11:35:32 +00:00
Pierre Schweitzer
cfb13ee214 [NTOSKRNL]
Revert r65120...
Which was reverting r65119...
Which was reverting r65117...
Which was reverting r65110...
Which was reverting r65107...
Which was reverting r65104!

To make it short? Fuck you IopParseDevice() hack!
And this time, I hope this is the right one!
I couldn't reproduce any of the previous issues in my WC.

svn path=/trunk/; revision=65142
2014-10-31 11:22:26 +00:00
Pierre Schweitzer
afaa63a42c [NTOSKRNL]
Some fixes and missing implementations in RawFS:
- Remove some magic values for VCB state
- Add a local VPB in our VCB. This will allow diverting the IO VPB with ours in case of dismount (and thus, will fix dismount)
- Implement support for said VPB in both RawCheckForDismount() and RawInitializeVcb()
- Now, dismount is handled in RawCheckForDismount() directly, and not in functions calling it
- Handle streams in RawClose
- Handle VCB being dismounted in RawCreate()
- Handle dismount also in RawCleanup() (not only in RawClose())

This fixes volume locking and dismounting in RawFS. And thus, allows FS swap in case of raw volume formating in first stage :-).
More to follow!

svn path=/trunk/; revision=65141
2014-10-31 11:17:43 +00:00
Jérôme Gardou
3d37281ca2 [FASTFAT]
- Fix renaming files in case the target file already exists.
 - Plug a few reference count leaks on FCBs.
CORE-8660 #comment fixed in r65140 #resolve
CORE-8633 #comment fixed in r65140 #resolve
CORE-4758 #comment fixed in r65140 #resolve

svn path=/trunk/; revision=65140
2014-10-31 11:04:12 +00:00
Jérôme Gardou
f801abcacf [NTOS/SE]
- Allocate the new ACL for the token with the right pool.
Fixes google chrome BAD_POOL_CALLER bugcheck.

svn path=/trunk/; revision=65139
2014-10-31 11:03:56 +00:00
Amine Khaldi
d4eaa22e1f [FTP]
* Plug a leak. CID 513875.
CORE-7975

svn path=/trunk/; revision=65138
2014-10-31 10:40:48 +00:00
Amine Khaldi
7de7c827be [LOGOFF]
* LocalFree should only be executed if AllocAndLoadString() succeeds. Spotted by Thomas Faber.

svn path=/trunk/; revision=65137
2014-10-31 10:24:48 +00:00
Amine Khaldi
55f7571996 [IPCONFIG]
* Plug some leaks. CIDs 716301 => 716305.
CORE-7975

svn path=/trunk/; revision=65136
2014-10-31 10:20:55 +00:00
Amine Khaldi
614ee71e6d [FINGER]
* Addendum to r37084.
* Really fixes CIDs 500624 and 500625 which were marked as fixed.
CORE-7975

svn path=/trunk/; revision=65135
2014-10-31 09:53:18 +00:00
Amine Khaldi
c5095466a0 [FINGER]
* Plug a leak. CID 1102406.
CORE-7975

svn path=/trunk/; revision=65134
2014-10-31 09:43:48 +00:00
Amine Khaldi
b1626fe71e [LOGOFF]
* Plug some leaks. CIDs 716284 and 716285.
CORE-7975

svn path=/trunk/; revision=65133
2014-10-31 09:22:59 +00:00
Amine Khaldi
a7c09060d2 [SHELL32]
* Plug a leak. CID 716474.
CORE-7975

svn path=/trunk/; revision=65132
2014-10-31 09:08:43 +00:00
Kamil Hornicek
476cc79d1f [WIN32K]
- check for an attached surface a bit earlier in GreExtTextOutW
- fixes Foobar 2000
CORE-7425

svn path=/trunk/; revision=65131
2014-10-31 00:21:03 +00:00
Pierre Schweitzer
b3fd4ef2f0 [VFATLIB]
When we're done with formatting, attempt to umount the volume, so that it can be remounted properly by FastFAT.

svn path=/trunk/; revision=65130
2014-10-30 21:12:38 +00:00
Pierre Schweitzer
ab38eafc21 [FASTFAT]
On the road for getting rid of IopParseDevice() hack....

- Add support for FSCTL_LOCK_VOLUME, FSCTL_UNLOCK_VOLUME, FSCTL_DISMOUNT_VOLUME in VfatFileSystemControl()
- Implement VfatLockOrUnlockVolume(). This brings some kind of volume locking to FastFAT FSD. It's likely not fully accurate and welcome to race conditions. But, its main purpose is to be used in usetup. So, this is fine for now.
- Stubplement VfatDismountVolume(). This will be implemented later on, but should be relatively straightforward as it requires volume to be locked (so, we're the last ones on it :-)).

svn path=/trunk/; revision=65129
2014-10-30 20:56:40 +00:00
Sylvain Petreolle
00bc798da9 [APPWIZ][SYSSETUP]
Enforce focus of the Wine Gecko download prompt in second stage.
Patch by Ismael Ferreras Morezuelas (swyter)

svn path=/trunk/; revision=65128
2014-10-30 20:50:30 +00:00
Hervé Poussineau
a293927d33 [FREELDR] Move down the requirement of highest usable address
This fixes PXE boot in QEMU, where highest usable address is 0x9c400.

svn path=/trunk/; revision=65127
2014-10-30 20:22:57 +00:00
Amine Khaldi
d23ef58d9e [BOOTDATA]
* Romanian translation update by Ștefan Fulea.
CORE-8630 #resolve #comment Committed in r65123. Thanks!

svn path=/trunk/; revision=65123
2014-10-30 13:29:44 +00:00
Kamil Hornicek
535667ca32 [INTL]
- don't display garbage in the location combo box

svn path=/trunk/; revision=65122
2014-10-30 12:15:11 +00:00
Pierre Schweitzer
2fc51b27ef [NTOSKRNL]
Actually enable again the hack...
For whatever reason, it works with my WC but not with clean trunk...
Where are the you, magic and silent patch that fixes it? :-(

svn path=/trunk/; revision=65120
2014-10-30 08:39:03 +00:00
Pierre Schweitzer
1bc8e4320f [NTOSKRNL]
Finally, disable again the IopParseDevice hack.
Just for the record, opening a volume with FILE_READ_EA or FILE_READ_DATA is legal and works in Windows (NTFS Info for instance opens it with GENERIC_READ).

Let's hope we can rid of this hack forever now... It's been with us since 2006!

svn path=/trunk/; revision=65119
2014-10-30 07:49:37 +00:00
Pierre Schweitzer
2009765b6a [FASTFAT]
Don't over-reference our FCB in case of volume opening (vfatAttachFCBToFileObject() already references it).

This fixes 1st stage and beyond with IopParseDevice hack off

svn path=/trunk/; revision=65118
2014-10-30 07:46:25 +00:00
Pierre Schweitzer
9288b1ab76 [NTOSKRNL]
Reenable IopParseDevice hack for now.
Out of fixes for tonight.

svn path=/trunk/; revision=65117
2014-10-29 23:28:15 +00:00
Pierre Schweitzer
bedd8fa9be [FASTFAT]
Now that we start to honor the storage stack (ie, without the IopParseDevice hack ;-)), we have to let FSDs forward device IOCTLs.
This allows back copying files on 1st stage

svn path=/trunk/; revision=65116
2014-10-29 23:10:31 +00:00
Pierre Schweitzer
c9ec1555ad [FASTFAT]
Don't attempt to mount any partition just because we have a valid partition table...
Restrict this to them being marked as FAT or compatible.

svn path=/trunk/; revision=65115
2014-10-29 22:51:16 +00:00
Pierre Schweitzer
d22dd7da46 [NTFS]
Addendum to r65112

svn path=/trunk/; revision=65113
2014-10-29 22:40:16 +00:00
Pierre Schweitzer
7f1c752c3a [NTFS]
Implement support for the FSCTL_GET_NTFS_VOLUME_DATA user request in NtfsUserFsRequest().

This makes NTFSInfo capable of working in ReactOS :-). A picture to show it: http://www.heisspiter.net/~Pierre/rostests/NTFS_info.png
Yes, NTFS Zone isn't computed yet. I'll have a look at it later on.

This doesn't fix nfi.exe though. If it can get its data, it cannot continue. It loops forever on a FSCTL we don't handle yet.

CORE-8725

svn path=/trunk/; revision=65112
2014-10-29 22:36:55 +00:00
Sylvain Petreolle
d7565e93f7 [NTOSKRNL]
Reapply r65107.
We need fixes, not hacks.
Sorry for being popular^W pressure ;)


svn path=/trunk/; revision=65110
2014-10-29 22:22:24 +00:00
Eric Kohl
b87393f170 [NETAPI32]
NetUserModalsGet:
- Return the proper maximum password age.
- Remove dead code.

svn path=/trunk/; revision=65109
2014-10-29 22:17:23 +00:00
Sylvain Petreolle
a1baaa2225 [UNIATA]
Update to 0.45c1.

svn path=/trunk/; revision=65108
2014-10-29 21:34:01 +00:00
Pierre Schweitzer
a65c5549f9 [NTOSKRNL]
Reenable hack due to popular pressure.
Still better than fixing it, it seems...
So, break again volume opening.

svn path=/trunk/; revision=65107
2014-10-29 21:22:36 +00:00
Pierre Schweitzer
0872193d40 [NTFS]
Finally, move old stuff back from disk.sys to ntfs.sys now it can be properly reached on volume opening:
- Halfplement NtfsUserFsRequest() and add support for IRP_MN_USER_FS_REQUEST in NtfsFsdFileSystemControl()
- Also, use the proper FSCTL code: FSCTL_GET_NTFS_VOLUME_DATA which exists and is documented instead of FSCTL_GET_NTFS_VOLUME_DATA. Spotted by Christoph.

CORE-8725

svn path=/trunk/; revision=65106
2014-10-29 18:42:05 +00:00
Pierre Schweitzer
c009666393 [DISK]
Revert r65097 and r65090.
Thanks to r65104, now the FSCTLs go to the right place: the FSDs!

Thanks to Thomas for pointing out that NTFSinfo was really talking with the FSD on Windows and not to disk.sys

CORE-8725

svn path=/trunk/; revision=65105
2014-10-29 18:25:30 +00:00
Pierre Schweitzer
48cddc2fcc [NTOSKRNL]
Disable the IopParseDevice hack. It appears it was triggered on volume opening and thus was breaking volume opening which were then forwarded down to disk.sys.
Not sure how legit it is to have it anylonger.

At least, disabling it reenables volume opening in ReactOS and associated FSCTL!

Alex & Aleksey, can you review please?

CORE-8725

svn path=/trunk/; revision=65104
2014-10-29 18:20:43 +00:00
Kamil Hornicek
34147616fd [NLS]
- fix the code page value
- also fixes intl.cpl showing date format string in the code page list

svn path=/trunk/; revision=65103
2014-10-29 18:20:03 +00:00
Kamil Hornicek
c1c1e05803 [KERNEL32]
- remove bunch of stray pragmas
- add a czech translation to stop debug spam reported in CORE-8720

svn path=/trunk/; revision=65102
2014-10-29 16:59:44 +00:00
Kamil Hornicek
08e9098294 [BOOTDATA]
- add metrics to classic themes (the flag 0xb0001 will result in a kinda esoteric value of type REG_QWORD)
- fixes switching from Lautus back to a classic theme
CORE-8718

svn path=/trunk/; revision=65100
2014-10-29 14:27:09 +00:00
Pierre Schweitzer
88ea664a82 [DISK]
Actually, sysinternals used to release the source code of NTFSInfo (thanks Christoph!), so we know a bit more about the interface of the user FS request.
So, implement a bit more of the interface to validate it properly works (and so far, it does!)

CORE-8725

svn path=/trunk/; revision=65097
2014-10-29 11:31:19 +00:00
Timo Kreuzer
54d0920f7e [GDI32]
Improve functions in coord.c:
- Use GdiGetDcAttr() where appropriate
- Fix SetLastError() usage
- Add annotations
- improve variable naming
- Add some comments

svn path=/trunk/; revision=65093
2014-10-28 22:16:24 +00:00
Pierre Schweitzer
7a204076f6 [DISK]
Get ready to enter into the 10th dimension... So:
- Implement support for IRP_MJ_FILE_SYSTEM_CONTROL. Yes... You read well! So, implemented a ScsiDiskFileSystemControl() function. The way it is added to the DriverObject is a big hack, class2 is not supposed to have such requests, so, we do it in its back. Fear!
- Stubplement the NtfsRussinovichism() function. This is the only function we're supposed to call with IRP MJ FSCTRL and with IRP MN USRFSRQST. Its purpose (when its implemented) is to reply back to the M. Russinovich tools (NFI & NTFSInfo) so that they can directly dump NTFS information without going into NTFS driver. They kind of bypass it.
We do all agree this is a ugly hack. But it exists in Windows, as these tools work in Windows. And it would be useful they actually work in ReactOS.
Soon, we'll be able to publish a book "ReactOS Internals" where we speak about undocumented FS controls to dump NTFS information to show how well our NTFS works ;-).

svn path=/trunk/; revision=65090
2014-10-28 21:59:57 +00:00
Eric Kohl
70cb67436c [NET]
Display more password information in the NET USER command.

svn path=/trunk/; revision=65089
2014-10-28 21:57:41 +00:00
Kamil Hornicek
b71df11be9 [WIN32K]
- addendum to revision 64877 which slightly changed UserDrawCaption's logic
- fixes window title being drawn over the icon

svn path=/trunk/; revision=65087
2014-10-28 21:38:26 +00:00
Timo Kreuzer
6417d36a41 [GDI32]
- Move functions to the appropriate source files, zap hacks.c, stubs.c, stubsa.c and stubsw.c (sorry for the noise, but this mess had to be cleaned up)

svn path=/trunk/; revision=65086
2014-10-28 21:09:01 +00:00
Pierre Schweitzer
aaebdbf9d3 [FASTFAT]
For now, disable the VfatSetRenameInformation() asserts in trunk.
They can be reenabled for testing by commenting "#define NASSERTS_RENAME" out.

CORE-8721 #resolve #comment Fixed with r65085

svn path=/trunk/; revision=65085
2014-10-28 20:39:42 +00:00
Pierre Schweitzer
135e926315 [NTFS]
Finally, implement NtfsGetFreeClusters() which will just read the $Data stream from $BITMAP file record to get the amount of free clusters to allow estimating the free space on a volume.
The implementation is likely under-optimized... But wwell, the rest of the FSD is not better. Who talked about caching?! ;-)

Because pictures are more relevant than words in such case: http://www.heisspiter.net/~Pierre/rostests/NTFS_disksize.png

svn path=/trunk/; revision=65082
2014-10-28 19:17:59 +00:00
Giannis Adamopoulos
2c3bb20acb Merge r65001 from shell-experiments branch:
[user32]
- Properly notify the theme engine that the caption needs to be repainted on WM_SETICON
- Fixes a classic frame appearing when themes are enabled and we navigate to a different folder

svn path=/trunk/; revision=65077
2014-10-28 17:32:01 +00:00
Ged Murphy
f5ca079e13 [WINLOGON]
- Stop the log from being spammed when the session is idle and no screensaver is set
- Also checking if my login still works :)

svn path=/trunk/; revision=65076
2014-10-28 17:07:47 +00:00
Pierre Schweitzer
d6fa9e7094 [NTFS]
ReleaseAttributeContext() is to be used out of mft.c
I believe that at some point, we're leaking memory...

svn path=/trunk/; revision=65068
2014-10-28 10:26:47 +00:00
Timo Kreuzer
1bc1ae75f3 [GDI32]
Implement separate functions for all SelectObject cases.

svn path=/trunk/; revision=65067
2014-10-28 09:06:33 +00:00
Christoph von Wittich
27b8f91dbd [DRIVERS]
don't use uninitialized variables

svn path=/trunk/; revision=65066
2014-10-28 08:15:49 +00:00
Timo Kreuzer
c8e18b66a9 [GDI32]
- Use GdiGetDcAttr instead of GdiGetHandleUserData where appropriate
- Add a few missing SetLastError()
- Fix return failure return value of GetBkColor()
- Improve order of operations in SelectObject (needs more fixing)

svn path=/trunk/; revision=65063
2014-10-28 00:55:22 +00:00
Aleksandar Andrejevic
891d638347 [FAST486]
Fix a typo in r65061.


svn path=/trunk/; revision=65062
2014-10-28 00:53:02 +00:00
Aleksandar Andrejevic
f1a3c93e07 [FAST486][NTVDM]
Get rid of Fast486Interrupt, since it's not used anywhere. Also we can now remove
workarounds for all of the bugs that it caused.
Implement the "single-instruction interrupt delay" for instructions that load the
stack segment only.


svn path=/trunk/; revision=65061
2014-10-28 00:33:03 +00:00
James Tabor
14c0c3cbce [NtUser]
- Revert 64363. See CORE-7797.

svn path=/trunk/; revision=65060
2014-10-28 00:26:22 +00:00
Hermès Bélusca-Maïto
af80d3517d [FAST486]: We should invalidate the prefetch buffer *after* having fetched the BOP byte (but before calling its handler), not before fetching the byte :)
svn path=/trunk/; revision=65059
2014-10-28 00:19:48 +00:00
Timo Kreuzer
bd446bbb01 [GDI32]
- Handle GDILoObjType_LO_ALTDC_TYPE in GdiGetDcAttr
- Rewrite GdiGetLDC using GdiGetDcAttr
- Implement GdiSetLDC

svn path=/trunk/; revision=65058
2014-10-28 00:16:18 +00:00
Timo Kreuzer
a12507355a [GDI32]
Forgot to commit this...

svn path=/trunk/; revision=65056
2014-10-27 23:39:21 +00:00
Timo Kreuzer
2d1292ebbe [GDI32]
- Improve formatting
- Use more consistent variable names
- Remove unnecessary casts
- Add some annotations
- No intended code changes

svn path=/trunk/; revision=65055
2014-10-27 23:37:05 +00:00
Jérôme Gardou
207b88eaf1 [KERNEL32]
- Do not try to open memory events under the process object root directory.
CORE-8600 #resolve

svn path=/trunk/; revision=65054
2014-10-27 22:05:51 +00:00
Timo Kreuzer
18134c10db [GDI32]
Add Support routines for client objects. Will be used later. You might wonder why the code uses a lame hash table to link the client object handles to the user mode pointer, when it should be clear that a *client* object should have a user mode attribute, like other objects, that we can use, especially since that is the only real purpose of that object. Well, tell that the MS developer, who implemented client objects without a user mode attribute...

svn path=/trunk/; revision=65053
2014-10-27 20:53:59 +00:00
Timo Kreuzer
8ab78d931a [WIN32K]
- Fail in NtGdiCreateClientObj, when the object type is not valid.
This is based on Windows behavior, only more strict. Windows allows to set the stock bit and reuse count, which is probably not what we want.

svn path=/trunk/; revision=65052
2014-10-27 20:40:11 +00:00
Amine Khaldi
0593e15998 [ADVAPI32]
* Update GetTrusteeForm{A,W}().
CORE-8540

svn path=/trunk/; revision=65050
2014-10-27 17:23:05 +00:00
Amine Khaldi
b9febc1490 [ADVAPI32]
* Remove unused MAX_GUID_STRING_LEN and RECORD.
* Remove some unneeded forward declarations.
* Reorder ACEFLAG to reduce difference to Wine.
CORE-8540

svn path=/trunk/; revision=65045
2014-10-27 17:00:41 +00:00
Amine Khaldi
16c90ce222 [ADVAPI32]
* Zap SidTable.

svn path=/trunk/; revision=65044
2014-10-27 16:30:45 +00:00
Pierre Schweitzer
af8bee9d61 [FASTFAT]
Don't leak reference in case of share access failure.

svn path=/trunk/; revision=65043
2014-10-27 13:39:03 +00:00
Pierre Schweitzer
8c225a0e59 [FASTFAT]
Add sanity checks in VfatSetRenameInformation() to make sure we don't leak any FCB reference

svn path=/trunk/; revision=65042
2014-10-27 13:38:14 +00:00
Pierre Schweitzer
817dfb57e2 [NTFS]
Bugfixing... Part 10/X:
- Properly compute entry name length in CompareFileName()
- Also, in CompareFileName() properly handle the return of RtlCompareUnicodeString(); this is not RtlEqualUnicodeString()!
- In NtfsLookupFileAt(), don't return an error when we're done walking the path, it's a normal behavior

All these fixes allow our NTFS to go one step farther: it can open directory/files (reading files data remains untested so far) in root and in its subdirs. Which was broken previously.
The said bugfixes in action (and in image): http://www.heisspiter.net/~Pierre/rostests/NTFS_listing_subdir.png

svn path=/trunk/; revision=65041
2014-10-27 12:35:58 +00:00
Thomas Faber
6af614fb4a [ADVAPI32]
- Hackfix CORE-8717 to stop 2nd stage from failing. Proper fix will be submitted to Wine.

svn path=/trunk/; revision=65040
2014-10-27 11:52:44 +00:00
James Tabor
f1caf76d48 [NtUser]
- Fix default sizes for desktop resources. See CORE-8659.

svn path=/trunk/; revision=65039
2014-10-27 02:11:08 +00:00
Aleksandar Andrejevic
949c27964d [FAST486]
Don't leave the prefetch cache in a possibly invalid state if Fast486ReadLinearMemory
returns FALSE.


svn path=/trunk/; revision=65037
2014-10-27 00:21:06 +00:00
Aleksandar Andrejevic
bc64e37fd1 [FAST486]
Implement an (optional) instruction prefetch cache.
Implement the INVLPG instruction.


svn path=/trunk/; revision=65035
2014-10-26 23:37:54 +00:00
Pierre Schweitzer
dd58a72a8b [KERNEL32]
Prevent a use-after-free issue in GetVolumeNameForVolumeMountPointW()

svn path=/trunk/; revision=65034
2014-10-26 21:09:07 +00:00
Pierre Schweitzer
a71e1f3760 [FASTFAT]
Make sure the appropriate resource is exclusively acquired when playing with FCB references

svn path=/trunk/; revision=65033
2014-10-26 20:29:00 +00:00
Pierre Schweitzer
4a49b030de [FASTFAT]
s/DeviceObject/DeviceExt/g

svn path=/trunk/; revision=65032
2014-10-26 20:23:07 +00:00
Pierre Schweitzer
c9e616ea2b [FASTFAT]
Implement vfatGrabFCB() (which was defined but never implemented) for increasing the reference count on a FCB.
This will make debugging easier.

Dedicated to Thomas :-).

svn path=/trunk/; revision=65031
2014-10-26 20:20:42 +00:00
Amine Khaldi
531323417d [ADVAPI32]
* Update ConvertStringSidToSid{A,W}().
* Fixes some advapi32:security tests.
CORE-8540

svn path=/trunk/; revision=65030
2014-10-26 19:56:15 +00:00
Amine Khaldi
68f176a03b [RASDLG]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=65029
2014-10-26 19:43:01 +00:00
Hervé Poussineau
fa7836ce2a [NTFS] Also return the short file name to caller if available
svn path=/trunk/; revision=65028
2014-10-26 19:10:39 +00:00
Hervé Poussineau
beb81cc389 [NTFS] Prefer long file name when naming objects
We now always see the long file name of an object when browsing NTFS partitions.

svn path=/trunk/; revision=65027
2014-10-26 19:10:17 +00:00
Hervé Poussineau
0a8cd9075d [NTFS] Correctly read indexes
This fixes (at least) an infinite loop when trying to mount some partitions.

svn path=/trunk/; revision=65026
2014-10-26 19:10:04 +00:00
Hervé Poussineau
d345eefe9c [NTFS] Fix some debug prints
svn path=/trunk/; revision=65025
2014-10-26 19:09:52 +00:00
Pierre Schweitzer
d10c7decd5 [FASTFAT]
Acquire DirResource in DoQuery() before attempting to play with FCBs.

This is dedicated to Thomas ;-)

svn path=/trunk/; revision=65024
2014-10-26 18:48:30 +00:00
Eric Kohl
7491f794e3 [NTOS:SE]
Remove the old access check code in SepAccessCheckEx and use the new code instead. The new access check code is a lot better than the old code, but it makes the boot and install fail. This is caused by some kernel objects which are accessed using insufficient access rights. Therefore I added a little hack that shows a warning when insufficient rights are granted for an object and access is granted anyway. 

svn path=/trunk/; revision=65023
2014-10-26 18:39:58 +00:00
Amine Khaldi
f7a65d3155 [ADVAPI32]
* Update GetAclInformation().
CORE-8540

svn path=/trunk/; revision=65022
2014-10-26 17:51:59 +00:00
Thomas Faber
cc4ef02bd0 [CRT]
- Fix strlen/wcslen FPO specification. Spotted by Timo.
- Also add FPO info for memset, memchr, memmove/memcpy

svn path=/trunk/; revision=65021
2014-10-26 17:32:00 +00:00
Hermès Bélusca-Maïto
d07dc3a5c2 [NTVDM]: Temporarily fix for r65015 before a proper fix.
svn path=/trunk/; revision=65018
2014-10-26 16:56:14 +00:00
Amine Khaldi
b10d8f4686 [ADVAPI32]
* Update GetAce().
CORE-8540

svn path=/trunk/; revision=65017
2014-10-26 16:48:36 +00:00
Amine Khaldi
283d189dda [ADVAPI32]
* Update DeleteAce().
CORE-8540

svn path=/trunk/; revision=65016
2014-10-26 15:59:57 +00:00
Hermès Bélusca-Maïto
53adda2513 [NTVDM]: No need to re-change to a given video mode when it is already set. Fixes strange changes for e.g. some apps that find intelligent to switch 256 times to mode 13h (for example) before continuing to run.
svn path=/trunk/; revision=65015
2014-10-26 15:57:21 +00:00
Pierre Schweitzer
cb5688fcf0 [FASTFAT]
Make FATGetNextDirEntry() and vfatFindDirSpace() complain when they are given a cleaned up FCB (which shouldn't happen!).
They'll display full path, references count, open handles count.

Where are you little reference leak?

svn path=/trunk/; revision=65014
2014-10-26 15:56:20 +00:00
Pierre Schweitzer
caedf961bb [FASTFAT]
Don't leak reference on failure in vfatPrepareTargetForRename().

svn path=/trunk/; revision=65013
2014-10-26 15:35:18 +00:00
Hermès Bélusca-Maïto
454d38da22 [NTVDM]: Return the latched data for keyboard ps/2 port only. Also when starting an app put a ENTER key release into the keyboard buffer because some apps expect it.
svn path=/trunk/; revision=65012
2014-10-26 15:01:14 +00:00
Aleksandar Andrejevic
95928b831b [NTVDM]
Signal the next IRQ on EOI.


svn path=/trunk/; revision=65011
2014-10-26 14:57:44 +00:00
Amine Khaldi
439fa16903 [ADVAPI32]
* Import ADVAPI_GetComputerSid from Wine 1.7.27.
* Apply Wine commit f7a6c4c3 by Detlef Riekenberg: Allow string alias for common RID in sid strings.
CORE-8540

svn path=/trunk/; revision=65010
2014-10-26 11:55:05 +00:00
Hermès Bélusca-Maïto
0de95c0f94 [FAST486][NTVDM]: Do not compile some FPU functions when FAST486_NO_FPU is defined (fixes build).
svn path=/trunk/; revision=65009
2014-10-26 11:50:14 +00:00
Amine Khaldi
41f5ac7550 [ADVAPI32]
* Reorder AceRights to reduce difference to Wine.
CORE-8540

svn path=/trunk/; revision=65008
2014-10-26 11:47:29 +00:00
Amine Khaldi
6d8f72bf65 [ADVAPI32]
* Apply Wine commit e57edfea by Paul Vriens: Skip leading spaces when parsing.
* Update the related functions with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=65007
2014-10-26 10:59:11 +00:00
Amine Khaldi
7a1f0bac68 [ADVAPI32]
* Update CopySid().
CORE-8540

svn path=/trunk/; revision=65006
2014-10-26 10:34:40 +00:00
Hermès Bélusca-Maïto
fd83e0e04f [NTVDM]: Addendum to r64985: correctly display the IPS and the TimerTicks (both of them are *LONGLONG).
svn path=/trunk/; revision=65005
2014-10-26 02:38:07 +00:00
Aleksandar Andrejevic
0c4632c9e5 [NTVDM]
Make sure the offset doesn't exceed the VGA bank size.
Load the latch registers after the loop (optimization).


svn path=/trunk/; revision=65004
2014-10-26 02:29:31 +00:00
Hermès Bélusca-Maïto
1e491f4d40 [NTVDM]: Fix the validity check of the hVdd handle in the port structure so that we don't try to call an invalid VDD IO handler. That fixes stack corruption for example in the case of OUTSB/W operations, where we could call an invalid VDD handler taking 3 parameters that in fact calls (because VDD handlers and our internal ones are stored in a union, the choice of the handler is done via the hVdd value) an internal handler taking only 2 parameters... Bug triggered when testing MSVC-compiled NTVDM in speed-optimized mode. Diagnosed by V. and I, thanks V!
svn path=/trunk/; revision=65003
2014-10-26 02:27:11 +00:00
Hermès Bélusca-Maïto
6a9276ecb9 [DDK]: VDD IO handlers are WINAPI and not something undefined (CDECL ... ?). Double-checked by V.
svn path=/trunk/; revision=65002
2014-10-26 01:28:32 +00:00
Amine Khaldi
c9b98be5d3 [ADVAPI32]
* Update OpenThreadToken().
CORE-8540

svn path=/trunk/; revision=65000
2014-10-25 22:37:02 +00:00
James Tabor
f65a37a7d0 [NtUser]
- Do not block sending messages from a dying thread. See CORE-7447.

svn path=/trunk/; revision=64999
2014-10-25 22:06:13 +00:00
Eric Kohl
8caa060f52 [NET]
Implement and use console-aware print functions to print strings and resources.

svn path=/trunk/; revision=64998
2014-10-25 21:27:05 +00:00
Timo Kreuzer
75d471db4b [WIN32k]
Stop ASSERTing, that we always have all the resources we need in IntCreateCompatibleBitmap

svn path=/trunk/; revision=64997
2014-10-25 21:16:17 +00:00
Amine Khaldi
518b6188ec [WININET_WINETEST]
* ROSTESTS-73 is not fixed yet.

svn path=/trunk/; revision=64995
2014-10-25 18:35:58 +00:00
Amine Khaldi
8a0b31154d [ADVAPI32]
* Update ImpersonateNamedPipeClient().
CORE-8540

svn path=/trunk/; revision=64994
2014-10-25 18:30:05 +00:00
Jérôme Gardou
8680a1f138 [WIN32K]
- Use a palette created from the DIB infos for surface created through CreateDIBitmap(CBM_CREATEDIB)
CORE-8695 #comment Booting in 16bpp mode is now OK, but some problems remain when switching mode from 16bpp to 32bpp

svn path=/trunk/; revision=64993
2014-10-25 18:11:36 +00:00
Jérôme Gardou
35e122d62f [WIN32K]
- Always store alpha-aware cursors in a 32bpp RGB surface.
CORE-8695

svn path=/trunk/; revision=64992
2014-10-25 18:11:31 +00:00
Jérôme Gardou
5211c92255 [WIN32K]
- Avoid leaking handles when loading animated cursors.

svn path=/trunk/; revision=64991
2014-10-25 18:11:27 +00:00
Jérôme Gardou
34a323186d [USER32]
- Fix a stupid buffer overflow I introduced in r64967.
 - Take BITMAPCOREINFO into account when loading a cursor from file.

svn path=/trunk/; revision=64990
2014-10-25 18:11:11 +00:00
Amine Khaldi
147bfd92e5 [ADVAPI32]
* Move a couple functions from sec.c to security.c.
CORE-8540

svn path=/trunk/; revision=64989
2014-10-25 17:46:33 +00:00
Aleksandar Andrejevic
a037c16a5b [FAST486]
The opcode handlers don't need a return value, it's not used anywhere.


svn path=/trunk/; revision=64988
2014-10-25 17:16:37 +00:00
Amine Khaldi
9e3669b4fb [ADVAPI32]
* Update GetKernelObjectSecurity().
CORE-8540

svn path=/trunk/; revision=64987
2014-10-25 16:08:39 +00:00
Hermès Bélusca-Maïto
ab0736d95a [NTVDM]: So..... do not overflow the Cycles count, i.e. better estimate the number of instructions per second :)
svn path=/trunk/; revision=64985
2014-10-25 15:36:11 +00:00
Amine Khaldi
be62f3c6b3 [ADVAPI32]
* Update AllocateAndInitializeSid().
CORE-8540

svn path=/trunk/; revision=64984
2014-10-25 15:28:29 +00:00
Eric Kohl
c1e082a84a [NET]
Display local group properties and members.

svn path=/trunk/; revision=64983
2014-10-25 14:28:38 +00:00
Amine Khaldi
a3930ce68f [ADVAPI32]
* Update CreateRestrictedToken().
* More advapi32:security tests run now.
CORE-8540

svn path=/trunk/; revision=64982
2014-10-25 14:15:00 +00:00
Amine Khaldi
93ecff8e68 [ADVAPI32]
* Update ADVAPI_IsLocalComputer().
CORE-8540

svn path=/trunk/; revision=64981
2014-10-25 14:02:23 +00:00
Amine Khaldi
21ef917d3f [ADVAPI32]
* Fix set_ntstatus() to use NT_SUCCESS when performing the checks.
CORE-8540

svn path=/trunk/; revision=64980
2014-10-25 13:56:28 +00:00
Amine Khaldi
648ce226ac [ADVAPI32]
* Move some functions from trustee.c to security.c.
CORE-8540

svn path=/trunk/; revision=64979
2014-10-25 12:45:57 +00:00
Amine Khaldi
5781991967 [ADVAPI32]
* Move some functions from sec/misc.c to security.c.
CORE-8540

svn path=/trunk/; revision=64978
2014-10-25 12:30:01 +00:00
Amine Khaldi
2d07e343d6 [ADVAPI32]
* Move CreateProcessWithLogonW() from logon.c to security.c.
CORE-8540

svn path=/trunk/; revision=64977
2014-10-25 12:27:03 +00:00
James Tabor
e4cff1c66a [Win32k]
- Fix a copy paste error, see CORE-8667.
- Set top margin to 2.

svn path=/trunk/; revision=64976
2014-10-25 11:45:47 +00:00
Daniel Reimer
36c59fdf14 [RAPPS]
Updates for some softwares.
Fix several broken mirrors and replace the in theory working one for IrfanView.
Fix some sizes.

svn path=/trunk/; revision=64975
2014-10-25 11:43:51 +00:00
Thomas Faber
23c10d8d81 [CRT]
- Add frame pointer omission information to assembly string functions to fix debugging annoyances. Reviews appreciated

svn path=/trunk/; revision=64974
2014-10-25 00:08:23 +00:00
Christoph von Wittich
2c42dec0d7 [TASKMGR]
fix HMENU leak in TaskManager_OnTabWndSelChange
CORE-8705

svn path=/trunk/; revision=64972
2014-10-24 20:41:25 +00:00
Timo Kreuzer
40369c24e3 [CMAKE]
Improve configure script to allow passing multiple arguments, like "configure VSSolution RTC". Add a small help command ("help" or "/?"), allow passing CMake parameters like -DFOO:BOOL=TRUE after our custom parameters.

svn path=/trunk/; revision=64971
2014-10-24 19:17:58 +00:00
Thomas Faber
33e318ed91 [RTL]
- Implement RtlTryEnterHeapLock and use it to fix RtlpDphEnterCriticalSection

svn path=/trunk/; revision=64970
2014-10-24 19:05:54 +00:00
Jérôme Gardou
5acaa31a62 [WIN32K]
- Properly check for CBM_INIT bit in CreateDIBitmap.
 - Take into account the fact that we could be passed a BITMAPCOREHEADER
CORE-8695

svn path=/trunk/; revision=64969
2014-10-24 18:45:25 +00:00
Amine Khaldi
2252d516b0 [ADVAPI32]
* Move some functions from ac.c to security.c.
CORE-8540

svn path=/trunk/; revision=64968
2014-10-24 17:51:40 +00:00
Jérôme Gardou
954bd930d0 [USER32]
- Use CreateDIBitmap with the CDM_CREATEDIB undocumented flag to create alpha bitmaps. This permits to create display compatible yet 32bpp DDBs.
CORE-8695 #comment PLease retest, should be OK now.

svn path=/trunk/; revision=64967
2014-10-24 17:31:50 +00:00
Jérôme Gardou
a09a102a08 [WIN32K]
- First implementation of CreateDIBitmap with the undocumented CBM_CREATEDIB flag.
CORE-8695

svn path=/trunk/; revision=64966
2014-10-24 17:31:46 +00:00
Jérôme Gardou
de410717f3 [WIN32K]
- Differenciate 16bpp 565 from 16bpp 555 in alphablending code.
 - Fix RGB vs BGR mismatch
CORE-8695

svn path=/trunk/; revision=64965
2014-10-24 17:31:37 +00:00
Thomas Faber
2c1be02837 [WIN32K]
- Move call to UserRegisterClass out of SEH. All parameters are kernel pointers, so exceptions here are critical kernel bugs that shouldn't be hidden.
CORE-8702 #resolve

svn path=/trunk/; revision=64964
2014-10-24 17:28:21 +00:00
Amine Khaldi
f54eb842d6 [ADVAPI32]
* Reorder AllocateLocallyUniqueId() to reduce difference to Wine.
CORE-8540

svn path=/trunk/; revision=64963
2014-10-24 16:57:17 +00:00
Amine Khaldi
7ff75bbc92 [ADVAPI32]
* Move some functions from token.c to security.c.
CORE-8540

svn path=/trunk/; revision=64962
2014-10-24 16:52:57 +00:00
Amine Khaldi
598366a6cc [ADVAPI32]
* Move PrivilegeCheck() to security.c.
CORE-8540

svn path=/trunk/; revision=64959
2014-10-24 15:49:52 +00:00
Amine Khaldi
4423aa8bb2 [ADVAPI32]
* Reorder functions and definitions to reduce difference to the Wine source file.
CORE-8540

svn path=/trunk/; revision=64958
2014-10-24 15:40:29 +00:00
Amine Khaldi
51bb98a094 [ADVAPI32]
* Move sid.c to the wine folder as a starting point for security.c.
CORE-8540

svn path=/trunk/; revision=64957
2014-10-24 14:01:16 +00:00
Amine Khaldi
348778c75f [ADVAPI32]
* Move cred.c to the wine folder.
CORE-8540

svn path=/trunk/; revision=64956
2014-10-24 13:37:01 +00:00
Jérôme Gardou
6990f9e443 [WIN32K]
- Keep track of the PDEV which we create a compatible bitmap for.
 - Allow attaching a DDB to a DC if they are from the same PDEV
Fixes various problems after mode switching, including the infamous "Where is desk.cpl palette bitmap"

svn path=/trunk/; revision=64955
2014-10-24 11:35:07 +00:00
Jérôme Gardou
97fcf61354 [WIN32K]
- Do not dereference hook objects when it's not needed.
 - Avoid use after free.
CORE-8698 #resolve

svn path=/trunk/; revision=64954
2014-10-24 11:34:55 +00:00
Jérôme Gardou
7540c2ea36 [WIN32K]
- Add a proper Alpha blending implementation for 16bpp surfaces
CORE-8695

svn path=/trunk/; revision=64953
2014-10-24 11:34:45 +00:00
Thomas Faber
2b44442ffa [NTOS:IO]
- Serialize device enumeration requests
CORE-8697 #resolve

svn path=/trunk/; revision=64952
2014-10-24 10:03:42 +00:00
Thomas Faber
fcae57435c [NTOS:IO]
- Introduce IopDriverLoadResource to protect against concurrent driver loading
CORE-8696 #resolve

svn path=/trunk/; revision=64951
2014-10-24 10:02:14 +00:00
Thomas Faber
2c91c440f1 [NTOS:IO]
- Don't delete the device node for root enumerated device objects on failure. It's pointless, since IopEnumerateDevice will just recreate it, and more importantly it causes a use-after-free because IopFreeDeviceNode does not unset the DeviceNode member of the device object extension, so IopEnumerateDevice will try to access the freed node
- Set the device object's DeviceNode pointer to NULL in IopFreeDeviceNode
- Use consistent pool tagging for device nodes
CORE-8671 #resolve

svn path=/trunk/; revision=64950
2014-10-24 09:39:15 +00:00
Thomas Faber
274363e9df [USER32]
- Zero-initialize result in SendMessageTimeout
CORE-8699 #resolve

svn path=/trunk/; revision=64949
2014-10-24 09:26:03 +00:00
Thomas Faber
487818ab87 [USER32_APITEST]
- Add a test for SendMessageTimeout failure case
- Remove a pointless (and broken) memset (Coverity)
CORE-8699

svn path=/trunk/; revision=64948
2014-10-24 09:16:04 +00:00
Timo Kreuzer
02995bf1a1 [NTOSKRNL]
Do not try to dereference Irp->UserIosb if it is NULL, to avoid unnecessary exceptions (inside SEH).

svn path=/trunk/; revision=64947
2014-10-24 07:16:44 +00:00
Thomas Faber
08701eea3f [NTOS:IO]
- Normalize, er.. simplify IopNormalizeImagePath a bit and use pool tagging

svn path=/trunk/; revision=64946
2014-10-23 22:05:56 +00:00
Timo Kreuzer
3b3996b399 [FREELDR]
Move the BIOS call buffer to physical address 0x4000, making another page available at the top, moving the margin down to 0x9E000. Should fix boot with machines that have a large EBDA.
CORE-8692 #comment please retest.

svn path=/trunk/; revision=64945
2014-10-23 21:52:39 +00:00
Jérôme Gardou
9bc147ffd5 [WIN32K]
- Fix hook leaks.
User object manager creates object with 2 (two, deux, zwei, dos) reference counts.

svn path=/trunk/; revision=64942
2014-10-23 20:08:03 +00:00
Jérôme Gardou
3ef4731492 [WIN32K]
- Properly free classes small icon handles
 - Do not use LR_SHARED when copying them from the large icon. There's no reason for them to outlive the class.
Should fix remaining failures in user32:class that I introduced.

svn path=/trunk/; revision=64939
2014-10-23 19:41:52 +00:00
Jérôme Gardou
25c228cd3f [WIN32K/USER32]
- Simplify an overcomplicated way to get buffer size from win32k
 - Do not spaghettize between string length and buffer size.
 - Properly use GetModuleFileName.

svn path=/trunk/; revision=64938
2014-10-23 19:41:42 +00:00
Amine Khaldi
a8e3dcc9e1 [ADVAPI32]
* Introduce a wine folder to group the Wine synced source files.
* Use the crypt folder as a starting point. More will follow.
CORE-8540

svn path=/trunk/; revision=64937
2014-10-23 18:58:35 +00:00
Amine Khaldi
73e6ff1519 [PCIX]
* PciIdPrintfAppend is a vararg too.

svn path=/trunk/; revision=64936
2014-10-23 18:51:12 +00:00
Amine Khaldi
a0a95141dd [PCIX]
* PciIdPrintf is a vararg.

svn path=/trunk/; revision=64935
2014-10-23 18:42:39 +00:00
Eric Kohl
903f5b3e03 [NET]
Implement the first part of the NET USER command.

svn path=/trunk/; revision=64934
2014-10-23 18:36:11 +00:00
Amine Khaldi
26272f6095 [COMPBATT]
* Arch, don't return NTSTATUS instead of PCOMPBATT_BATTERY_DATA!

svn path=/trunk/; revision=64933
2014-10-23 18:33:21 +00:00
Amine Khaldi
36609d44e0 [DSOUND]
* ProjectVector is used in commented out code.

svn path=/trunk/; revision=64932
2014-10-23 18:07:43 +00:00
Thomas Faber
863c3c8c19 [NTOS:FORMATTING]
- Try to fix indentation in iomgr/driver.c. Whitespace changes only

svn path=/trunk/; revision=64931
2014-10-23 17:59:16 +00:00
Amine Khaldi
5892b26e03 [WINSPOOL.DRV]
* We're not using any debugging routines here.

svn path=/trunk/; revision=64930
2014-10-23 17:55:42 +00:00
Jérôme Gardou
532e8139c5 [USER32]
- Fix wrong size check.
Spotted by Thomas

svn path=/trunk/; revision=64926
2014-10-23 15:40:13 +00:00
Thomas Faber
d617e9abfc [NTOS:IO]
- Simplify how IopLoadUnloadDriver is called by making the function queue a work item instead of its caller

svn path=/trunk/; revision=64925
2014-10-23 14:37:51 +00:00
Amine Khaldi
cfb9b0f028 [USER32]
* Merge r64866 from the shell branch which had:

* Fix wrong array length passed to GetClassNameW. CID 716222
* Replace other instances of explicit array length to GetWindowTextW with _countof(x).
Based on a patch by Christoph von Wittich.

svn path=/trunk/; revision=64924
2014-10-23 12:24:07 +00:00
Hermès Bélusca-Maïto
19b3162442 [NTVDM]: Addendum to revision 64917: remove unnecessary casts.
svn path=/trunk/; revision=64923
2014-10-23 12:21:46 +00:00
Jérôme Gardou
8cbba79468 [WIN32SS]
- In an incredibly daring move, enable the long awaited new cursors & icons implementation, featuring:
   - Alpha channeled cursors
   - Animated cursors (only the first frame is displayed now)
   - Less leaks (tm)
   - Tests that pass(tm)
   - Copying icons and cursors from DLL resources, for beautifuler ReactOS, your turn gigaherz ;-)
   - A lot of other things which I am very proud of.
CORE-7575 #resolve

svn path=/trunk/; revision=64921
2014-10-23 11:46:06 +00:00
Jérôme Gardou
946d03c45b [WIN32K]
- Use shared icon handles when copying the small class icon from the larger one.
CORE-7575

svn path=/trunk/; revision=64920
2014-10-23 11:46:01 +00:00
Jérôme Gardou
f20e2e7a8f [USER32]
- Implement CopyImage(LR_SHARED) case.
CORE-7575

svn path=/trunk/; revision=64919
2014-10-23 11:45:55 +00:00
Jérôme Gardou
796aebbf35 [USER32]
- Cursoricon objects are allocated on the user heap, not the desktop heap.
CORE-7575

svn path=/trunk/; revision=64918
2014-10-23 11:45:50 +00:00
Aleksandar Andrejevic
f991665f09 [FAST486][NTVDM]
Arch, I/O port numbers should always be stored in USHORT variables!


svn path=/trunk/; revision=64917
2014-10-23 11:44:07 +00:00
Jérôme Gardou
03b386d0e0 [USER32_APITEST]
- Add a test showing that CopyImage accepts LR_SHARED flag.
CORE-7575

svn path=/trunk/; revision=64916
2014-10-23 11:19:21 +00:00
Jérôme Gardou
f0e276168d [WIN32K]
- Call IntDestroyCurIconObject instead of explicitly destroying the handle.
CORE-7575

svn path=/trunk/; revision=64915
2014-10-23 09:52:57 +00:00
Jérôme Gardou
6e51ca263b [WIN32K]
- Reference cursor and icon objects when copying a class from one heap to another.
CORE-7575

svn path=/trunk/; revision=64914
2014-10-23 09:32:46 +00:00
Jérôme Gardou
78c8971f65 [USER32]
- Return the right value in CopyImage when copying cursors/icons
CORE-7575

svn path=/trunk/; revision=64913
2014-10-23 09:32:43 +00:00
Jérôme Gardou
54592b1afb [WIN32K]
- Remove the cursor from the process cache when its handle is deleted, not after.
 - Do not return an invalid handle in NtUserSetCursor.
CORE-7575

svn path=/trunk/; revision=64912
2014-10-23 09:32:39 +00:00
Jérôme Gardou
797a6346f2 [USER32]
- Fix LookupIconIdFromDirectoryEx, returning 0 when no matching entry is found.
 - Fix error handling when opening a cursor file.
 - Various code beautification here and there
CORE-7575

svn path=/trunk/; revision=64911
2014-10-23 09:32:21 +00:00
Timo Kreuzer
8dc7d09ca1 [CRT/OLDNAMES]
Fix ARM build, patch by Yuntian Zhang with minor adjustment by me.
CORE-8666 #resolve #comment Committed in r64910, thanks!

svn path=/trunk/; revision=64910
2014-10-23 09:22:45 +00:00
Timo Kreuzer
70bd834afe [CRT]
Do not raise an exception in _invalid_parameter, which is only done in later MSVCRTs. Wine uses a symbolic constant (_MSVCR_VER) to handle this and other things and compiles their CRT code multiple times. As an alternative we could use a global version variable to avoid recompiling, once we implement other CRT dlls.
CORE-8670 #resolve

svn path=/trunk/; revision=64909
2014-10-23 09:05:32 +00:00
Kamil Hornicek
0f21d941ce [I8042PRT]
- check the right buffer's length
[WIN32K]
- simplify IntKeyboardUpdateLeds a bit and mind previous mode
- fixes keyboard indicators
CORE-8547

svn path=/trunk/; revision=64908
2014-10-22 20:05:32 +00:00
Thomas Faber
b990d9a4c9 [RTL]
- Address a review comment by Timo -- use more explicit comparison

svn path=/trunk/; revision=64907
2014-10-22 19:40:13 +00:00
Thomas Faber
d13df46fe4 [NTOS:FORMATTING]
- Trip trailing whitespace in Io/Pnp

svn path=/trunk/; revision=64906
2014-10-22 19:34:46 +00:00
Timo Kreuzer
5c0f6850a4 [XDK/DDK]
Improve debugprint in __assert_annotationA/W

svn path=/trunk/; revision=64905
2014-10-22 19:30:27 +00:00
Kamil Hornicek
93d7ffd181 [SERVMAN]
- better fix for CDI 513719, LVText might not be null terminated - spotted by Timo

svn path=/trunk/; revision=64904
2014-10-22 19:28:33 +00:00
Timo Kreuzer
86018d03c4 [NTOSKRNL]
- Fix potential use-after-free CID 732509
- Fix buffer size in call to ObQueryNameString

svn path=/trunk/; revision=64903
2014-10-22 19:20:03 +00:00
Hervé Poussineau
f42c9182f2 [NTOS:IO] Replace an error message by an assert
This was expected to be done soon after r32518.

svn path=/trunk/; revision=64902
2014-10-22 19:17:13 +00:00
Amine Khaldi
a1bc1edda7 [ADVAPI32/CRED]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64901
2014-10-22 18:41:40 +00:00
Amine Khaldi
3bfe9ee622 [ADVAPI32/CRYPT]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64900
2014-10-22 18:29:59 +00:00
Amine Khaldi
eabfb53a71 [PSDK]
* Add missing PFE_IMPORT_FUNC and WriteEncryptedFileRaw.

svn path=/trunk/; revision=64899
2014-10-22 18:26:47 +00:00
Amine Khaldi
d7530c0ea5 [KERNEL32]
* Zap szCountryListName.
* Comment out unused charset_names and strcpynAtoW.
CORE-8540

svn path=/trunk/; revision=64898
2014-10-22 18:05:36 +00:00
Amine Khaldi
5bc272dbc3 [KERNEL32]
* Sync GetStringTypeW with Wine 1.7.27.
* Allows more kernel32:locale tests to run.
CORE-8540

svn path=/trunk/; revision=64897
2014-10-22 17:58:58 +00:00
Amine Khaldi
1994661271 [KERNEL32]
* Sync LCMapString{A,W} with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64896
2014-10-22 17:52:18 +00:00
Amine Khaldi
c094a9b51f [CMAKE]
* Allow the use of the LOCATION property with new CMake versions.

svn path=/trunk/; revision=64894
2014-10-22 16:56:56 +00:00
Amine Khaldi
f47eeb21ab [TASKMGR]
* Minor style changes in wWinMain.

svn path=/trunk/; revision=64893
2014-10-22 16:51:25 +00:00
Amine Khaldi
4ef9ff28e2 [KERNEL32]
* Zap NLS_RegEnumSubKey.

svn path=/trunk/; revision=64892
2014-10-22 16:43:19 +00:00
Amine Khaldi
18ec4d369d [KERNEL32]
* Replace EnumSystemGeoID with the one from Wine 1.7.27.
* Fixes some kernel32:locale tests.
CORE-8540

svn path=/trunk/; revision=64891
2014-10-22 16:40:54 +00:00
Kamil Hornicek
6f16539c0c [TASKMGR]
- fix CIDs 731628 (unlikely buffer overrun), 500038 (dead code), 1101977 (unchecked return value)

svn path=/trunk/; revision=64890
2014-10-22 16:01:24 +00:00
Thomas Faber
6256673633 [NTOS:MM]
- Add a way to generate a pool tag from the calling driver name if none is specified. Disabled by default.

svn path=/trunk/; revision=64889
2014-10-22 13:26:50 +00:00
Thomas Faber
2e4b0e9661 [NTOS:MM]
- Add missing call to ExpSeedHotTags

svn path=/trunk/; revision=64888
2014-10-22 13:18:10 +00:00
Thomas Faber
5c565a4740 [NTOS:KE]
- Issue the appropriate bug check codes when faulting in special pool
CORE-8680

svn path=/trunk/; revision=64887
2014-10-22 13:13:31 +00:00
Thomas Faber
2c09a3d5af [NTOS:MM]
Make special pool usable:
- Invalidate PTEs on free to catch use-after-free situations (and not confuse Mm)
- Fix pattern check not to look for more than 8 bits in a byte
- Enable POOL_FLAG_SPECIAL_POOL if special pool has been initialized
- Implement MmExpandSpecialPool
- Issue the correct SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION bugcheck when problems are detected
- Magic values--
To enable special pool for a single tag, set a value for MmSpecialPoolTag in ntoskrnl/mm/ARM3/pool.c.
To enable it for more than one tag, set MmSpecialPoolTag and modify MmUseSpecialPool in ntoskrnl/mm/ARM3/special.c (e.g. to return TRUE independent of Tag).
CORE-8680 #resolve

svn path=/trunk/; revision=64886
2014-10-22 13:04:57 +00:00
Thomas Faber
f67ab25a16 [NTOS:MM]
- Generate PAGE_FAULT_IN_NONPAGED_AREA bugcheck for PTEs that have their protection set to zero. This gives a more useful error description than the infamous 'TempPte.u.Long != 0' assertion*.
CORE-8679 #resolve

* and is also What Windows Does(TM)

svn path=/trunk/; revision=64885
2014-10-22 12:29:31 +00:00
Kamil Hornicek
a48fe43631 [MSCONFIG]
- fix CID 503793 (unlikely NULL pointer dereference), 514558 (check return value)

svn path=/trunk/; revision=64884
2014-10-22 12:13:40 +00:00
Amine Khaldi
27938d24c5 [KERNEL32]
* Replace GetGeoInfo{A,W} with the ones from Wine 1.7.27.
* Fixes many kernel32:locale tests.
CORE-8540

svn path=/trunk/; revision=64883
2014-10-21 23:02:21 +00:00
Kamil Hornicek
2ee22c5764 [SERVMAN]
- fix resource leaks CID 716292, 716293, 716294
- fix CID 716772 (double free), 513719 (wrong NULL check), 1206739 (cosmetic)
- make line endings CR LF when exporting the services list

svn path=/trunk/; revision=64882
2014-10-21 22:58:23 +00:00
Hermès Bélusca-Maïto
c7f4cb10e3 [FAST486]: Rename some 0F0x opcodes to "ExtOpcode..." to clarify what they are and where they are used.
svn path=/trunk/; revision=64881
2014-10-21 21:18:23 +00:00
Kamil Hornicek
a90ae59c2a [USER32]
- fix CID 514402 (by Christoph)
[MMIXER]
- fix CID 503774, 715945, 511119
[WS2_32_NEW]
- fix a debug print

svn path=/trunk/; revision=64880
2014-10-21 21:08:51 +00:00
Jérôme Gardou
12faa73856 [WIN32K]
- Fix a few usages of UserSetCursor
 - Defer the actual freeing of cursor resources to when the object is freed for real.
CORE-7575

svn path=/trunk/; revision=64879
2014-10-21 19:57:03 +00:00
Jérôme Gardou
68fb2f6899 [I_KNEW_IT]
- InterlockedDecrement(JeromesBuildFailures)

svn path=/trunk/; revision=64878
2014-10-21 19:14:47 +00:00
Jérôme Gardou
1c19d25eb3 [WIN32K]
- "Convert" new cursor & icons implementation to the new user object handle manager.
 - Fix a few idiosyncracies in the way cursor handles are used (only with USE_NEW_CURSORICON_ENABLED)
[WIN32SS]
 - Storm out the flowers out of how classes use icon and cursor objects, with proper refcounting and all those joyous things.
Handles are for the powerless, kernel mode use pointers.
Only with USE_NEW_CURSORICON enabled (soon!)
CORE-7575

svn path=/trunk/; revision=64877
2014-10-21 18:59:44 +00:00
Jérôme Gardou
f696300a7a [WIN32K]
- Use the first frame of an animated cursor in case we're trying to use one.

svn path=/trunk/; revision=64876
2014-10-21 18:59:39 +00:00
Jérôme Gardou
19cf379c80 [WIN32K]
- Refcount++ the process info when we're adding it to a cursor process list.
CORE-8661

svn path=/trunk/; revision=64875
2014-10-21 18:59:34 +00:00
Amine Khaldi
359e6346cd [KERNEL32]
* Sync casemap.c with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64874
2014-10-21 18:42:12 +00:00
Amine Khaldi
d8fff8998e [IP]
* Zap tcp_state_str.

svn path=/trunk/; revision=64873
2014-10-21 18:39:22 +00:00
Amine Khaldi
3f32c3a15d [KERNEL32]
* Sync format_msg.c with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64872
2014-10-21 18:25:34 +00:00
Kamil Hornicek
cd1f57b5d4 [CMD]
- fix resource leaks CID 716324, 716323, 716322, 716321, 716320, 716319, 716318

svn path=/trunk/; revision=64871
2014-10-21 16:05:54 +00:00
Amine Khaldi
8d45f7ba25 [STRMBASE]
* Zap InputPin_Vtbl, OutputPin_Vtbl and impl_BaseInputPin_from_BasePin(). Already accepted upstream.

svn path=/trunk/; revision=64870
2014-10-21 15:52:51 +00:00
Amine Khaldi
931a7cbb25 [XCOPY_WINETEST]
* Import from Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64869
2014-10-21 15:50:16 +00:00
Thomas Faber
7b84cd051b [WIN32K]
- Fix DCE list entry handling
CORE-8669 #resolve

svn path=/trunk/; revision=64868
2014-10-21 14:28:16 +00:00
Thomas Faber
268d1c62fe [RTL]
- Fix a buffer overflow in RtlSetBits/RtlClearBits

svn path=/trunk/; revision=64867
2014-10-21 14:22:28 +00:00
Thomas Faber
dfde71668b [WIN32K]
- Remove bug-hiding list macros that accept NULL in LIST_ENTRYs.
CORE-8668 #resolve

svn path=/trunk/; revision=64865
2014-10-21 12:43:15 +00:00
Jérôme Gardou
2e2957d928 [WIN32K]
- reference the current process info structure while we're leaving win32k.
The process can die anytime while we're not looking.
CORE-8663 #resolve

svn path=/trunk/; revision=64863
2014-10-21 10:45:55 +00:00
Jérôme Gardou
84c07bcc10 [WIN32K]
- Avoid use after free in debug configuration
CORE-8661 #resolve

svn path=/trunk/; revision=64862
2014-10-21 10:45:49 +00:00
Jérôme Gardou
a336377ef4 [CMAKE]
- link keyboard layout modules to gcc_ssp if the stack protector is enabled.

svn path=/trunk/; revision=64861
2014-10-21 10:45:36 +00:00
James Tabor
64057f44f9 [User32]
- Remove code that breaks wine release 1.7.29 user32 input tests. Code was there since r2505.
- So due to this commit, over compensating hacks can break.

svn path=/trunk/; revision=64860
2014-10-21 03:13:21 +00:00
James Tabor
5c5affcc22 [Win32k]
- rpdeskParent can be NULL and should not be depended on! Fixes CORE-8665.

svn path=/trunk/; revision=64859
2014-10-21 03:02:07 +00:00
Sylvain Petreolle
ccf02b054c [UNIATA]
Update to 0.45b1.
CORE-8280 #resolve

svn path=/trunk/; revision=64856
2014-10-20 21:21:43 +00:00
Sylvain Petreolle
1a453ba5b6 [UNIATA]
Update to 0.45b.
CORE-8280

svn path=/trunk/; revision=64855
2014-10-20 21:20:35 +00:00
Pierre Schweitzer
8dfcb13a92 [KERNEL32]
Don't care for the return value (yet?) of StringCbPrintfW. This fixes release build.

svn path=/trunk/; revision=64853
2014-10-20 20:26:07 +00:00
Hermès Bélusca-Maïto
34aaa8fdf4 [NTVDM]: Now that HLT is implemented, use it in the INT32 handlers.
svn path=/trunk/; revision=64852
2014-10-20 19:45:37 +00:00
Hermès Bélusca-Maïto
705dcd2d05 [FAST486]
- Control register 0 is CR0: use FAST486_REG_CR0 instead of 0, as it is done in the rest of the code.
- Improve a if/else if control.
- Don't halt the processor in the middle of prefixes processing.

svn path=/trunk/; revision=64851
2014-10-20 19:42:52 +00:00
Amine Khaldi
e46ceff760 [STRMBASE]
* Zap TransformFilter_Vtbl. Already accepted upstream.

svn path=/trunk/; revision=64850
2014-10-20 17:38:06 +00:00
Amine Khaldi
2047c64c1f [CMAKE]
* Use the x86 toolchain for host tools if the targeting platform is ARM. Brought to you by Yuntian Zhang.
CORE-7407 #resolve #comment Committed in r64849. Thanks!

svn path=/trunk/; revision=64849
2014-10-20 17:35:22 +00:00
Kamil Hornicek
7d9706dd1f [WIN32K]
- add a missing break and reshuffle the code a tiny bit to fix CIDs 514466 and 513487
- don't skip the terminating debug print for ft_glyph_format_bitmap

svn path=/trunk/; revision=64847
2014-10-20 14:26:47 +00:00
Christoph von Wittich
923584ae2a [devmgr]
don't free stack memory with LocalFree
CID 1101901

svn path=/trunk/; revision=64846
2014-10-20 13:32:33 +00:00
Kamil Hornicek
6beb0e5668 [SETUPAPI]
- actually use the icon source we get from registry instead of loading all icons from setupapi itself
CORE-8614

svn path=/trunk/; revision=64845
2014-10-20 13:08:42 +00:00
Christoph von Wittich
df8c74d505 [explorer]
DragQueryFile expects size in characters

svn path=/trunk/; revision=64844
2014-10-20 10:05:30 +00:00
Thomas Faber
09f50240a3 [FASTFAT]
- Move FCB list removal to vfatDelFCBFromTable, since vfatAddFCBToTable does the insert. Fixes list corruption in vfatUpdateFCB.

svn path=/trunk/; revision=64843
2014-10-20 09:31:50 +00:00
Christoph von Wittich
bd73779966 [cmd/help]
do not call wcslen on uninitialized variable

svn path=/trunk/; revision=64842
2014-10-20 09:21:08 +00:00
Christoph von Wittich
c453a6b8d7 [cmd]
GetDateFormat expects size in characters

svn path=/trunk/; revision=64841
2014-10-20 08:47:57 +00:00
Thomas Faber
851df094ac [KERNEL32]
- Fix MSVC build

svn path=/trunk/; revision=64840
2014-10-20 08:30:55 +00:00
Thomas Faber
46c2db7796 [NPFS]
- Correctly interpret SeCreateClientSecurity return value in NpInitializeSecurity
- Always charge quota when allocating client context
- Specify explicit 0 tag when freeing allocations with unknown pool tag
- Misc readability fixes

svn path=/trunk/; revision=64839
2014-10-20 08:08:50 +00:00
Thomas Faber
00ee551726 [AFD]
- Do not pass IO_STATUS_BLOCKs when creating IRPs for asynchronous use. Fixes a use-after-free where AfdCloseSocket would cancel IRPs without actually waiting for their completion, and proceed to free the FCB, which contained these IO_STATUS_BLOCKs.
Note that using TdiBuildInternalDeviceControlIrp for these requests is broken in the first place, since it is intended for synchronous requests and requires a guarantee about the calling thread's lifetime. These functions (and their completion routines) should use IoAllocateIrp/IoReuseIrp/IoFreeIrp instead. However this can be fixed later; the incredibly annoying nonpaged pool corruption due to this that has been around for 10 years should be fixed with this commit.
CORE-8640 #resolve

svn path=/trunk/; revision=64838
2014-10-19 22:12:06 +00:00
Christoph von Wittich
d0697e4b3d [videoprt]
fix uninitialized variable usage in error case

svn path=/trunk/; revision=64837
2014-10-19 21:57:29 +00:00
Pierre Schweitzer
b70df35327 [FASTFAT]
- Implement vfatPrepareTargetForRename() that prepares for renaming. It tries to open target and deletes it if it exists and if allowed. And then, it opens the parent directory.
- Implement VfatSetRenameInformation() that actually does the renaming (call as SetInformationFile). It handles cases we we have (or we don't have) TargetDirectory provided. It sends notifications as appropriated on demands.
- Implement vfatRenameEntry() that renames an entry in place. So far, it only supports FATX entries renaming. FAT entries are a bit more complex. It falls back to vfatMoveEntry() in later cases.
- Implement VfatMoveEntry() that will move an entry accross directories (or in place for FAT). Its principles are simple: it deletes the entry in old parent, and recreate it in new parent, keeping file metadata & data.
- Modify VfatDelEntry() and VfatAddEntry() so that they can handle deleting an entry without touching its data and adding an entry with an already provided FCB and thus use the given metadata.
- Implement vfatDelFCBFromTable() which is just old code moved to new routine to allow reuse. It deletes a FCB entry from hash table. Doesn't deal with references!
- Implement vfatMakeFullName() which is mostly old code moved to new routine to allow reuse. It allocates buffer and copy data for FCB full name.
- Implement vfatUpdateFCB() that will update a FCB with new names and parent. It will remove anything related to old name and will recreate using new data. It will adjust references count.
- Modify vfatMakeFCBFromDirEntry() so that it calls vfatMakeFullName().
- Modify vfatReleaseFCB() so that it calls vfatDelFCBFromTable().
- Revert VfatOpenFile() to its previous features.
- Modify VfatCreateFile() to reimplement support for SL_OPEN_TARGET_DIRECTORY. It is way less hackish than previously. It also properly opens parent now, by incrementing its handle count and by setting appropriate access rights.

[KERNEL32]
- Rewritten MoveFileWithProgressW() to implement all the missing features that are used in Windows 2k3 including links and reparse points.
- Implemented BasepMoveFileDelayed() to replace deprecated add_boot_rename_entry(). This functions is matching the features implemented in SMSS.
- Implemented BasepMoveFileCopyProgress() which is used in MoveFileWithProgressW().
- Stubbed BasepNotifyTrackingService() which is not use at the moment (FastFAT, even in Windows doesn't provide such feature).
- Reimplemented ReplaceFileA(), MoveFileWithProgressA() to quit Winisms and use our internal helpers.
- Make MoveFileX() use MoveFileWithProgressX() directly.
- Fixed a few prototypes.

TL;DR:
This (huge) commit implements file and directory renaming in FastFAT driver. This allows getting rid of old implementation in kernel32 where files were force copied.

A feature is still missing, but Jérôme should implement it anytime soon (he prototyped it already): moving directories across volumes. This requires some work in BasepCopyFileExW().

Kudos to all the devs who helped me on this: Christoph, Hervé, Jérôme, Thomas.
This finally allows killing CR-52... It was about time!

svn path=/trunk/; revision=64836
2014-10-19 21:38:32 +00:00
Christoph von Wittich
39c0fb7d1f [regsrv32]
don't free hDll twice

svn path=/trunk/; revision=64835
2014-10-19 21:30:26 +00:00
Eric Kohl
7cd22fe762 [NET]
- Add the localgroup command. It does not work properly on ReactOS yet.
- Print a warning when the domain option of the accounts command is used. 

svn path=/trunk/; revision=64834
2014-10-19 20:12:19 +00:00
Pierre Schweitzer
a0149739ce [NTFS]
Bugfixing... Part 9/X:
- Return the appropriate size for file size.
- Round the allocation to cluster size (as requested by the API).

This fixes metadata display when enumerating a directory in CMD.
What you get now: http://www.heisspiter.net/~Pierre/rostests/NTFS_listing_fixed.png

Time to fix all the rest!
D'oh!

svn path=/trunk/; revision=64833
2014-10-19 20:12:14 +00:00
Pierre Schweitzer
3b8b4734d6 [NTFS]
Bugfixing... Part 8/X:
- Actually, the files timestamp are already stored in the correct format on-disk... I should have listened to Thomas...

This fixes incorrect dates display when enumerating a directory contents. My apologies Thomas :-(.
Last to fix: the file size which is broken.

svn path=/trunk/; revision=64832
2014-10-19 19:48:52 +00:00
Timo Kreuzer
211e68d9b1 [NTDLL_APITEST] Disable NtContinue test when runtime checks are enabled
[USER32_APITEST] Disable WndProc test when runtime checks are enabled
[KERNEL32_WINETEST] Zero initialize a buffer. This is necessary, since we fail all calls to GetVolumePathNamesForVolumeNameW and thus never get any data into the buffer, which can later result in a buffer-overrun, when doing a lstrlenW on it.

svn path=/trunk/; revision=64831
2014-10-19 19:37:55 +00:00
Pierre Schweitzer
064ac54c96 [NTFS]
Bugfixing... Part 6/X:
- Properly return the size of the NTFS volume (and not a buggy size)
- Properly return the characteristics of the NTFS volume

svn path=/trunk/; revision=64829
2014-10-19 17:43:37 +00:00
Hermès Bélusca-Maïto
aa15945793 [NTVDM]: fix MIPS count in cases display delays get longer than 1 sec...
svn path=/trunk/; revision=64828
2014-10-19 17:24:57 +00:00
Amine Khaldi
fabcc9ac05 [USER32]
* We're not using any debugging routines here.

svn path=/trunk/; revision=64827
2014-10-19 17:24:43 +00:00
Timo Kreuzer
be627c2e59 [WIN32K]
Fix uninitialized variable use.

svn path=/trunk/; revision=64826
2014-10-19 16:37:27 +00:00
Pierre Schweitzer
e0b6d85507 [NTFS]
Bugfixing... Part 6/X:
- Properly compute file name length.

This makes directory enumeration return complete file/directory names.
Note that it's also possible to enumerate the files in open dialog of notepad (for instance :-))

Opening a subdirectory/file is broken though. To be investigated.

svn path=/trunk/; revision=64825
2014-10-19 16:29:38 +00:00
Aleksandar Andrejevic
bff1bdafaf [FAST486]
The r64823 patch was not properly merged.


svn path=/trunk/; revision=64824
2014-10-19 15:02:37 +00:00
Aleksandar Andrejevic
c46f3aa372 [FAST486]
Implement the HLT instruction.
Remove the IdleCallback, since it's unused and probably won't be used.
(The load reduction will be implemented in NTVDM instead.)


svn path=/trunk/; revision=64823
2014-10-19 14:46:02 +00:00
Timo Kreuzer
50e22a432f [USER32]
Fix uninitialized variable use/warnings in
- RegisterClassExWOWW (found by MSVC runtime checks)
- IntDrawState (CID-514399)
- IntCallWindowProcA (CID-514389)
- IntCallWindowProcW (CID-414390)
- SendMessageA (CID-514392)
- SendMessageW (CID-514393)
- SendMessageTimeoutA (CID-514441)
- SendMessageCallbackA (CID-514442)
- SendNotifyMessageW (CID-514443)
- SendNotifyMessageA (CID-514444)
- User32CallWindowProcFromKernel (CID-514445)
- DesktopWndProcA (CID-716765)

svn path=/trunk/; revision=64822
2014-10-19 13:17:49 +00:00
Timo Kreuzer
74cb166477 [CRT]
Fix MSVC global constructor initialization.

svn path=/trunk/; revision=64821
2014-10-19 10:27:22 +00:00
Hermès Bélusca-Maïto
a4a867f83a Ok Arch, it's good to remove unuseful brackets, but don't exaggerate too much. Also check how the RtlInsertAsLeft/RightChild macros are defined. Since MS don't use the nice do { ... } while(0) for them, you cannot just use the if (blah) foo(); else bar(); to do the job, but you need the extra-brackets. And you cannot just change the macros definitions to not "break" headers compatibility (or... idiocies).
svn path=/trunk/; revision=64820
2014-10-19 00:05:18 +00:00
Hermès Bélusca-Maïto
b858c18208 Fix whitespace, and get rid of that sh*tty K&R style.
svn path=/trunk/; revision=64819
2014-10-18 23:59:25 +00:00
Hermès Bélusca-Maïto
eea6067270 [RTL]
Implement RtlDeleteNoSplay which is really just a copy/paste of RtlDelete, but without splaying the tree after deletion of the node. Needed by the filter driver fltmgr.sys. Dedicated to Mr. V ;)

svn path=/trunk/; revision=64818
2014-10-18 23:51:35 +00:00
Timo Kreuzer
2b55d972ca [CRT]
Implement __do_global_ctors for MSVC

svn path=/trunk/; revision=64817
2014-10-18 21:38:07 +00:00
Timo Kreuzer
400a2c65cf [RunTmChk]
- Implement _RTC_GetErrDesc, _RTC_SetErrorFuncW, add stubs for _RTC_NumErrors, _RTC_SetErrorType, _RTC_SetErrorFunc
- Implement _RTC_DefaultErrorFuncW which will be used, when no other error func was set
- Implement _RTC_InitBase, which will be called from _RTC_Initialize, and which in turn calls either _CRT_RTC_INITW, if CRT was linked, or a local _CRT_RTC_INITW0, which in turn will return the error function to use. This allows us to use a custom error function for all modules that link to (MSV)CRT. Only user32 does not really fit into here, since it uses the same startup code but does not link to MSVCRT.

[CRT]
- Call _RTC_Initialize from __main before initializing the global constructors, but fall back to a dummy _RTC_NoInitialize(), when RunTmChk.lib was not linked. Now we properly initialize both our own as well as MS RunTmChk lib.

svn path=/trunk/; revision=64816
2014-10-18 21:22:52 +00:00
Timo Kreuzer
91dd4cbea0 [FREELDR]
- Improve memory layout by moving the 32/64 bit stack to 0x7000-0xF000 and moving the BIOSCALLBUFFER up a bit. This gives us 56 KB additional space for freeldr itself. This allows to compile freeldr with /RTC1 (x86 only, the x64 version would get too big). And yes, it works.
- Implement FrLdrBugCheckWithMessage to get some useful messages on the screen and use it in MmCheckFreeldrImageFile
- Merge the .rtc section into the .text section, when we use RTC1
- Check the location of the Extended BIOS Data Area, add it to the memory descriptors and make sure we have enough space to put freeldr in. If the location of the EBDA is too low, print out a nice message on a blue screen :)

svn path=/trunk/; revision=64815
2014-10-18 21:12:12 +00:00
Hervé Poussineau
8325f695c5 [ACPI] Fix some traces
svn path=/trunk/; revision=64814
2014-10-18 21:09:31 +00:00
Hervé Poussineau
6cba55f89e [CMLIB] Add an assert to track potential registry corruptions
svn path=/trunk/; revision=64813
2014-10-18 21:08:40 +00:00
Timo Kreuzer
e1db75d329 [AMD64]
Fix build

svn path=/trunk/; revision=64812
2014-10-18 21:01:17 +00:00
Timo Kreuzer
e80c501cf4 [FREELDR]
Apply proper indentation, no code change.

svn path=/trunk/; revision=64811
2014-10-18 19:01:53 +00:00
Amine Khaldi
423388ab06 [USER32]
* WINEMessageTypeNames is only used in a case wrapped inside #ifndef __REACTOS__.

svn path=/trunk/; revision=64810
2014-10-18 18:41:15 +00:00
Amine Khaldi
02c5aaa0bd [USER32]
* We're not using any debugging routines here.

svn path=/trunk/; revision=64809
2014-10-18 18:37:28 +00:00
Amine Khaldi
2864422049 [CMAKE/MSVC]
* Rename the lib to runtmchk. Really.
CORE-8626

svn path=/trunk/; revision=64808
2014-10-18 14:45:02 +00:00
Amine Khaldi
df43f0f0a0 [CMAKE/MSVC]
* Use the runtime checks globally in ReactOS now, not just for user mode modules.
* We no longer need the MS support lib, as Timo kindly implemented one for ReactOS.
* Rename the lib to runtmchk.
[PSEH][CRT]
* Remove some constrictions to seh.s source files, we no longer need them.
[KERNEL32]
* We no longer need to explicitly link to the runtime checks lib.
[FREELDR][KEYBOARD][NTOS][SETUPLDR]
* Link to the runtime checks lib when this mode is enabled.
CORE-8626

svn path=/trunk/; revision=64807
2014-10-18 14:22:09 +00:00
Amine Khaldi
ee8be36736 [BMFD]
* Use set_module_type() instead of the combination of set_entrypoint(), set_subsystem() and set_image_base().
* Remove the now redundant bugcodes dependency.
[FRAMEBUF_NEW]
* Remove redundant bugcodes dependency.

svn path=/trunk/; revision=64806
2014-10-18 14:16:54 +00:00
Amine Khaldi
9b9d883909 [FRAMEBUF_NEW]
* Use set_module_type() instead of the combination of set_entrypoint(), set_subsystem() and set_image_base().

svn path=/trunk/; revision=64805
2014-10-18 14:12:41 +00:00
Amine Khaldi
9f58c0ec69 [CMAKE]
* Fix inconsistencies around kernel mode dlls handling.

svn path=/trunk/; revision=64804
2014-10-18 14:09:11 +00:00
Hermès Bélusca-Maïto
dcd0795cd0 [FAST486]: Implement a basic support for the Trap Flag.
svn path=/trunk/; revision=64803
2014-10-18 14:08:50 +00:00
Amine Khaldi
9333ffdf62 [APITESTS/W32KDLL_*]
* Use set_module_type() instead of set_entrypoint().

svn path=/trunk/; revision=64802
2014-10-18 14:00:20 +00:00
Amine Khaldi
2ebfae067a [CMAKE]
* Let the minimum required CMake version be 2.8.12 so that *cough* people with old RosBE would be warned to update it! (I'm looking at you, Arch).

svn path=/trunk/; revision=64801
2014-10-18 13:13:20 +00:00
Pierre Schweitzer
e2a846bea8 [NTFS]
Bugfixing... Part 5/X:
- Actually, we don't care about the name in the file index. We don't need it to read the data attribute, it's unnamed. And the returned name was buggy (this still needs work though)
- When we are getting a file record which is a directory, there is NO data attribute. Don't attempt to read it. This prevents failure on directory entry return.

These fixes enable NTFS directory listing in ReactOS!
Even though, more fixes are required. So far, the metadata of the files are kind of broken. Explorer seems to be unable to list files.
This keeps anyway being a major step forward, as this was totally impossible a month ago ;-).

For these willing to see NTFS in action in ReactOS: http://www.heisspiter.net/~Pierre/rostests/NTFS_listing.png

svn path=/trunk/; revision=64800
2014-10-18 12:18:37 +00:00
Kamil Hornicek
4a58f77497 [SHELL32]
- fix a copy paste error
CID 1101990

svn path=/trunk/; revision=64799
2014-10-18 10:33:49 +00:00
Thomas Faber
71451cf5dd [MOUNTMGR]
- Fix IsDriveLetter. CID 1206760.

svn path=/trunk/; revision=64798
2014-10-18 10:11:02 +00:00
Thomas Faber
e383d6c605 [CDROM]
- Remove invalid frees. CID 511759.

svn path=/trunk/; revision=64797
2014-10-18 09:52:14 +00:00
Amine Khaldi
c0e495f046 [CMAKE]
* Addendum to r64795.
* Also remove unneeded wine linking and ntdll importing.
* Remove redundant defines.

svn path=/trunk/; revision=64796
2014-10-17 23:29:24 +00:00
Amine Khaldi
2bdcf8789d [CMAKE]
* Make the minimum required version 2.8.
* Remove redundant psdk dependencies.
* Tidy up CMake files.

svn path=/trunk/; revision=64795
2014-10-17 23:28:29 +00:00
Hermès Bélusca-Maïto
fd8e3415c8 [NTVDM]: simplify code and add a reference link concerning the CrtColorPaletteMask mask.
svn path=/trunk/; revision=64794
2014-10-17 22:27:34 +00:00
Pierre Schweitzer
60d3d2c399 [NTFS]
Bugfixing... Part 4/X:
- Fix a nasty bug in NtfsLookupFileAt() (how did it work before?). The name parsing was wrong (no progress was being made) and thus was leading to an infinite loop in directory browsing.
- Fix a lovely bug coming from a non-documented feature in NTFS. To properly read the MFT index, you've to apply a mask. Do this to properly handles MFT record. This fixes returned MFT index which allows resuse.
- Do not allow returning MFT records < 0x10 for now. Not sure whether it should be allowed, but so far, these are MFT special records, so let's forget about it. IIRC, they are available on Windows. But trying to chase another bug for the moment.

This does not fix yet directory enumeration.

svn path=/trunk/; revision=64793
2014-10-17 22:17:59 +00:00
Hermès Bélusca-Maïto
f9ec8698fc [NTVDM]
- Use a helper function for copying little chunks of memory (1, 2, 4 and 8 bytes) because a profiling of ntvdm showed that especially 1 and 2 bytes of memory were read the most, and calling RtlCopy/MoveMemory for intensively copying 1 or 2 bytes was shown to be inefficient. We also don't use directly intrinsics/builtins because the compiler cannot know in advance the size of the memory to be copied, it cannot perform the required optimizations. It was checked that using the builtin-memcpy or memmove of GCC when compiling the program in release+full optimization mode just embedded a call to _memcpy, and naively using the movsX intrinsics of MSVC does not do the job of "moving" memory taking into account for the possible overlaps. Therefore, for small sizes (<= 8 bytes), we use copy assignments, whereas for large sizes (and for 3, 5, 7, 9+ bytes) we use the regular method of calling RtlMoveMemory. We gain ~=10% speed with this optimization.
- Also I use >> and & for dividing by 4 and 2 instead of the regular / and % operations because they are not optimized otherwise by default by MSVC (they are however, if you explicitely enable optimizations).

svn path=/trunk/; revision=64792
2014-10-17 22:08:51 +00:00
Amine Khaldi
44a73d10bc [CMAKE/KEYBOARD]
* Improve the way we handle keyboard layouts.

svn path=/trunk/; revision=64791
2014-10-17 20:41:58 +00:00
Sylvain Petreolle
cab7763783 [EXT2FS]
Properly fix warnings on MSVC, introduced in r38302.
"- 'allowwarnings=true' -- not anymore", they said.
Advice by ThFabba.

svn path=/trunk/; revision=64790
2014-10-17 19:27:29 +00:00
James Tabor
df36f5a015 [User32Test]
- Turn off tracking pop up menu tests. See CORE-8299.

svn path=/trunk/; revision=64789
2014-10-17 17:48:35 +00:00
James Tabor
1f5f256e01 [User32]
- Patch by Michael Müller : Also set cch member in GetMenuItemInfo when passing a null pointer.
- Fix two menu tests.

svn path=/trunk/; revision=64788
2014-10-17 16:43:46 +00:00
Kamil Hornicek
adf80f6d59 [CMD]
- prevent a buffer underrun (fixes stray quotes being appended on autocomplete in some cases)
- check if the input string is not empty (fixes first file in directory getting skipped on autocomplete)
- fix some typos
CORE-8623

svn path=/trunk/; revision=64787
2014-10-17 16:39:54 +00:00
Aleksandar Andrejevic
ec863ef510 [NTVDM]
Add an 8x14 font to the video BIOS.
Font data provided by Roy Tam.


svn path=/trunk/; revision=64786
2014-10-17 14:15:43 +00:00
Amine Khaldi
c47d138515 [USER32_WINETEST]
* Sync with Wine 1.7.27.
* Jim! help!
CORE-8540

svn path=/trunk/; revision=64785
2014-10-17 13:49:22 +00:00
Amine Khaldi
a0b621c3e4 [ADVAPI32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64784
2014-10-17 13:36:13 +00:00
Amine Khaldi
d38402977a [PSDK]
* Add missing PROCESS_SET_LIMITED_INFORMATION and THREAD_RESUME.

svn path=/trunk/; revision=64783
2014-10-17 13:35:59 +00:00
Thomas Faber
74ea894067 [PING]
- Remove a broken "optimization"
CORE-7509 #resolve

svn path=/trunk/; revision=64782
2014-10-17 13:21:06 +00:00
Amine Khaldi
0854129ae9 [KDCOM]
* Use set_module_type() instead of combining set_entrypoint() and set_image_base().

svn path=/trunk/; revision=64781
2014-10-17 11:12:03 +00:00
Amine Khaldi
2e2fd94fa3 [CMAKE]
* Fix IMAGEBASE handling.

svn path=/trunk/; revision=64780
2014-10-17 11:10:47 +00:00
Amine Khaldi
3331eff2ba [LIBXML2]
* Update to v2.9.2.
CORE-8642

svn path=/trunk/; revision=64779
2014-10-17 10:58:01 +00:00
Thomas Faber
e5a60cbf1b [NPFS]
- Arch, pool tags are specified in reverse order

svn path=/trunk/; revision=64778
2014-10-17 10:04:57 +00:00
Amine Khaldi
5a93a71d04 [WIN32K]
* Workaround for CORE-8525, CORE-6023, CORE-7735 and CORE-8635.
* Brought to you by V and Amine. Thanks to Timo and Jerome for the reviews.
CORE-8525 CORE-6023 CORE-7735 CORE-8635 #comment Please retest with r64777 or later.

svn path=/trunk/; revision=64777
2014-10-17 07:59:29 +00:00
Pierre Schweitzer
3fa669eddb [NTFS]
Bugfixing... Part 3/X:
- Really release the allocated memory in NtfsFindFileAt() and NtfsLookupFileAt(). Don't attempt to release caller pointer!

This fixes crashes on directory enumeration failure. Even though this latter still doesn't work.

svn path=/trunk/; revision=64776
2014-10-17 06:55:52 +00:00
Hermès Bélusca-Maïto
13b500f258 [FAST486]: Use psh/poppack.h here too.
svn path=/trunk/; revision=64775
2014-10-17 02:31:14 +00:00
Hermès Bélusca-Maïto
a12d0f001f [FAST486]: rename some structs and use #include <pshpack/poppack.h> for portability purposes.
svn path=/trunk/; revision=64774
2014-10-17 02:29:48 +00:00
Hermès Bélusca-Maïto
f9278312d9 [FAST486]: Do not call RtlCopyMemory for copying few bytes (2 and 4).
svn path=/trunk/; revision=64773
2014-10-16 21:48:18 +00:00
Thomas Faber
9bc2c3ba15 [NPFS]
- Don't return a canceled IRP from NpRemoveDataQueueEntry.

svn path=/trunk/; revision=64772
2014-10-16 21:43:03 +00:00
Pierre Schweitzer
104149a180 [NTFS]
Bugfixing... Part 2/X:
- Please welcome yet another structure in our NTFS driver... The INDX buffer which is used for non resident index entries. Doc (incomplete) here: http://bos.asmhackers.net/docs/filesystems/ntfs/INDX.html
- Make use of it in NtfsFindMftRecord() to replace some totally obscure code.
- Add some asserts to verify we read somehow what we expect. One of the assert is not working properly... Hum! Need to find out why.

We don't go any farther so far. Good news though: a FIXME has been replaced by another FIXME.
NB: This would deserve being ported to FreeLDR to fix the same FIXME.

svn path=/trunk/; revision=64771
2014-10-16 21:37:27 +00:00
Timo Kreuzer
08a4791b4a {NTOSKRNL]
Handle int 0x2c (assertion failure) in KDBG by breaking into the debugger instead of ignoring it and pretending it was handled. Now NT_ASSERT works on GCC builds as well. (As good as things work in KDBG...)

svn path=/trunk/; revision=64770
2014-10-16 21:33:32 +00:00
Jérôme Gardou
6b2a5b98f0 [TCPIP]
- Fix potential NULL pointer dereference

svn path=/trunk/; revision=64769
2014-10-16 20:15:33 +00:00
Jérôme Gardou
e9067c2bda [INCLUDE/IDL]
- Properly mark some arguments as [out] only for wlansvc interface.

svn path=/trunk/; revision=64768
2014-10-16 20:15:26 +00:00
Jérôme Gardou
cac835f291 [USERENV]
- Add proper stubs for GetAppliedGPOList[A,W]
CORE-8636

svn path=/trunk/; revision=64767
2014-10-16 20:15:13 +00:00
Jérôme Gardou
84ff0ecbd0 [PSDK]
- Add GetAppliedGPOList[A,W] declarations
CORE-8636

svn path=/trunk/; revision=64766
2014-10-16 20:14:25 +00:00
Pierre Schweitzer
682e176eca [NTFS]
Bugfixing... Part 1/X:
- FixupUpdateSequenceArray() returns a NTSTATUS, so properly handle it.
- Actually... Attributes name can be unicode in case of a file name, but it can also be ansi, for streams name... So, don't force UNICODE_STRING, it causes more troubles than it solves.

So, now, we really progress in reading directory. Instead of finding no files because we improperly read attributes, we now corrupt memory somewhere and crash ReactOS.

svn path=/trunk/; revision=64765
2014-10-16 20:05:36 +00:00
Amine Khaldi
b5e8d798e9 [WIN32K]
* Zap EGAColorsTriples and DefLogPaletteTriples.
* Remove extra () around a comparison.

svn path=/trunk/; revision=64764
2014-10-16 19:14:52 +00:00
Thomas Faber
e67bbc79a9 [NPFS]
- Don't truncate pipe name in the RootPipe case in NpCreateFcb. Found by Windows's RtlInsertUnicodePrefix implementation -- which might indicate that ours is broken.

svn path=/trunk/; revision=64763
2014-10-16 16:57:11 +00:00
Thomas Faber
32f8a44f8e [NPFS]
- Don't call RtlEqualUnicodeString (paged code) while holding a spin lock. Powered by Driver Verifier.

svn path=/trunk/; revision=64762
2014-10-16 16:40:13 +00:00
Thomas Faber
c38e07c128 [NPFS]
- Use NpAcquire*Vcb/NpReleaseVcb instead of using NpVcb directly
- CaseInsensitiveIndex is integer, not boolean
- Minor fixes involving unnecessary casts and magic numbers

svn path=/trunk/; revision=64761
2014-10-16 16:36:17 +00:00
Jérôme Gardou
a28fa3fdf0 [SPEC2DEF]
- Fix typo: PRix64 --> PRIx64
 - Use GUID to trace 'int128' arguments, as that's what they almost always are.

svn path=/trunk/; revision=64760
2014-10-16 09:23:33 +00:00
Aleksandar Andrejevic
66202b4312 [NTVDM]
Fix the IRQ priority and routing in PicGetInterrupt.


svn path=/trunk/; revision=64759
2014-10-16 01:41:24 +00:00
Timo Kreuzer
cb9e70d5f7 [RunTmChk]
Fix a typo, remove a spare int 3, add file headers with BSD license

svn path=/trunk/; revision=64758
2014-10-15 22:44:26 +00:00
Timo Kreuzer
75c6300b37 [NTOSKRNL]
Don't use an uninitialized variable in MmArmAccessFault (Alex, please review). Brought to you by MSVC runtime checks.

svn path=/trunk/; revision=64757
2014-10-15 22:03:50 +00:00
Timo Kreuzer
911faa3a6f [RunTmChk]
Implement a simple version of RunTmChk.lib for MSVC runtime check support, which can also be used in kernel mode. This one is good enough to compile ntoskrnl with it.

svn path=/trunk/; revision=64756
2014-10-15 21:54:12 +00:00
Hermès Bélusca-Maïto
e5e46c1db5 [NTVDM]: Arch, please do *not* reinitialize twice the keyboard and the video (first time before initializing the BDA, second time after), otherwise some programs won't display correct things!!
svn path=/trunk/; revision=64755
2014-10-15 21:31:51 +00:00
Pierre Schweitzer
a32e6674f9 [NTFS]
- Implement NtfsGetNameInformation()
- Implement NtfsGetDirectoryInformation()
- Implement NtfsGetFullDirectoryInformation()
- Implement NtfsGetBothDirectoryInformation()
- Implement NtfsQueryDirectory() which makes use of all the functions upper + all the previous fixes to make it able to look for a file using WC and file entry index

This is supposed to bring directory enumeration in line on NTFS volumes. BUT, there's a bug at some point which makes it fail (or my test volume is corrupted :-P (which is unlikely (Scheme, get out of this commit message!))). Will look into it later on. Committing so far because it's quite major work anyway.
More to follow~

svn path=/trunk/; revision=64754
2014-10-15 21:02:05 +00:00
Pierre Schweitzer
560d00e49b [NTFS]
Implement NtfsFileFlagsToAttributes() to fix some of the attributes of the MFT to make them usable by ReactOS.
Would deserve a double-check

svn path=/trunk/; revision=64753
2014-10-15 20:36:30 +00:00
Pierre Schweitzer
d71653b9cb [NTFS]
Implement NtfsDateTimeToFileTime() which convert epoch time (1970) to Windows time (1601) 

svn path=/trunk/; revision=64752
2014-10-15 20:23:47 +00:00
21280 changed files with 292766 additions and 1642800 deletions

258
CMakeLists.txt Normal file
View File

@@ -0,0 +1,258 @@
cmake_minimum_required(VERSION 2.8.12)
if(POLICY CMP0017)
# Shadow cmake provided modules
cmake_policy(SET CMP0017 OLD)
endif()
if(POLICY CMP0026)
# Allow use of the LOCATION property
cmake_policy(SET CMP0026 OLD)
endif()
project(REACTOS)
# Versioning
include(include/reactos/version.cmake)
# Don't escape preprocessor definition values added via add_definitions
cmake_policy(SET CMP0005 OLD)
cmake_policy(SET CMP0002 NEW)
if(POLICY CMP0018)
cmake_policy(SET CMP0018 OLD)
endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
set(CMAKE_SHARED_LIBRARY_PREFIX "")
set(CMAKE_SKIP_PREPROCESSED_SOURCE_RULES TRUE)
set(CMAKE_SKIP_ASSEMBLY_SOURCE_RULES TRUE)
set(CMAKE_COLOR_MAKEFILE OFF)
#set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)
set(CMAKE_SKIP_INSTALL_RULES ON)
if(NOT CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS")
set(CMAKE_DISABLE_NINJA_DEPSLOG TRUE)
endif()
if(NOT ARCH)
set(ARCH i386)
endif()
# Now the ARCH variable will be in lowercase.
# It is needed because STREQUAL comparison
# is case-sensitive.
# See http://cmake.3232098.n2.nabble.com/Case-insensitive-string-compare-td7580269.html
# for more information.
string(TOLOWER ${ARCH} ARCH)
# Compile options
if(ARCH STREQUAL "i386")
include(cmake/config.cmake)
elseif(ARCH STREQUAL "amd64")
include(cmake/config-amd64.cmake)
elseif(ARCH STREQUAL "arm")
include(cmake/config-arm.cmake)
endif()
# Compiler flags handling
include(cmake/compilerflags.cmake)
add_definitions(-D__REACTOS__)
if(NOT CMAKE_CROSSCOMPILING)
add_definitions(-DTARGET_${ARCH})
if(MSVC)
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")
endif()
include_directories(include/host)
if(NOT MSVC)
add_subdirectory(dll/win32/dbghelp)
endif()
add_subdirectory(tools)
add_subdirectory(lib)
if(NOT MSVC)
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 utf16le FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
endif()
else()
# adjust the default behaviour of the FIND_XXX() commands:
# search headers and libraries in the target environment, search
# programs in the host environment
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER)
#useful stuff!
include(CMakeParseArguments)
if(ENABLE_CCACHE)
set(CMAKE_C_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
endif()
# Default to Debug for the build type
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
# Do some cleanup
file(REMOVE
${REACTOS_BINARY_DIR}/dependencies.graphml
${REACTOS_BINARY_DIR}/boot/ros_livecd.txt
${REACTOS_BINARY_DIR}/boot/ros_livecd_target.txt
${REACTOS_BINARY_DIR}/boot/ros_minicd.txt
${REACTOS_BINARY_DIR}/boot/ros_minicd_target.txt
${REACTOS_BINARY_DIR}/boot/ros_cab.txt
${REACTOS_BINARY_DIR}/boot/ros_cab_target.txt)
if(NOT DEFINED REACTOS_BUILD_TOOLS_DIR)
set(REACTOS_BUILD_TOOLS_DIR ${REACTOS_SOURCE_DIR}/build)
endif()
set(IMPORT_EXECUTABLES "${REACTOS_BUILD_TOOLS_DIR}/ImportExecutables.cmake" CACHE FILEPATH "Host executables")
include(${IMPORT_EXECUTABLES})
if(DBG)
add_definitions(-DDBG=1 -D_SEH_ENABLE_TRACE)
else()
add_definitions(-DDBG=0)
endif()
if(KDBG)
add_definitions(-DKDBG=1)
endif()
if(_WINKD_)
add_definitions(-D_WINKD_=1)
endif()
if(CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS")
set(PCH 1 CACHE BOOL "Whether to use precompiled headers")
else()
set(PCH 0 CACHE BOOL "Whether to use precompiled headers")
endif()
# Version Options
add_definitions(-DWINVER=0x502
-D_WIN32_IE=0x600
-D_WIN32_WINNT=0x502
-D_WIN32_WINDOWS=0x502
-D_SETUPAPI_VER=0x502)
# Arch Options
if(ARCH STREQUAL "i386")
add_definitions(-D_M_IX86 -D_X86_ -D__i386__ -Di386)
elseif(ARCH STREQUAL "amd64")
add_definitions(-D_M_AMD64 -D_AMD64_ -D__x86_64__ -D_WIN64)
elseif(ARCH STREQUAL "arm")
# _M_ARM is already defined by toolchain
add_definitions(-D_ARM_ -D__arm__)
endif()
# Other
if(ARCH STREQUAL "i386")
add_definitions(-DUSE_COMPILER_EXCEPTIONS -D_USE_32BIT_TIME_T)
elseif(ARCH STREQUAL "amd64")
add_definitions(-DUSE_COMPILER_EXCEPTIONS -DNO_UNDERSCORE_PREFIX)
elseif(ARCH STREQUAL "arm")
add_definitions(-DUSE_COMPILER_EXCEPTIONS)
endif()
# Activate support for assembly source files
enable_language(ASM)
# Activate language support for resource files
enable_language(RC)
# Localization definitions
include(cmake/localization.cmake)
set(I18N_DEFS "")
# This will set I18N_DEFS for later use
set_i18n_language(${I18N_LANG})
# Compiler specific definitions and macros
if(MSVC)
include(cmake/msvc.cmake)
else()
include(cmake/gcc.cmake)
endif()
# Generic macros
include(cmake/CMakeMacros.cmake)
# IDL macros for widl/midl
# We're using widl now for both MSVC and GCC builds
include(cmake/widl-support.cmake)
include_directories(
include
include/psdk
include/dxsdk
${REACTOS_BINARY_DIR}/include
${REACTOS_BINARY_DIR}/include/psdk
${REACTOS_BINARY_DIR}/include/dxsdk
${REACTOS_BINARY_DIR}/include/reactos
include/crt
include/ddk
include/ndk
include/reactos
include/reactos/libs)
if(ARCH STREQUAL "arm")
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/arm)
endif()
add_dependency_header()
add_subdirectory(include/psdk)
add_subdirectory(include/dxsdk)
add_subdirectory(include/reactos/wine)
add_subdirectory(include/reactos/mc)
add_subdirectory(include/asm)
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")
#begin with boot so reactos_cab target is defined before all other modules
add_subdirectory(boot)
add_subdirectory(base)
add_subdirectory(dll)
add_subdirectory(drivers)
add_subdirectory(hal)
add_subdirectory(lib)
add_subdirectory(media)
add_subdirectory(modules)
add_subdirectory(ntoskrnl)
add_subdirectory(subsystems)
add_subdirectory(tools/wpp)
add_subdirectory(win32ss)
# Create {bootcd, livecd, bootcdregtest}.lst
create_iso_lists()
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/include/reactos)
add_dependency_footer()
endif()

View File

@@ -0,0 +1,8 @@
set_cpp()
add_definitions(-DUSER_MODE)
include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/ide/uniata)
add_executable(atactl atactl.cpp atactl.rc)
set_module_type(atactl win32cui)
add_importlibs(atactl advapi32 msvcrt kernel32 ntdll)
add_cd_file(TARGET atactl DESTINATION reactos/system32 FOR all)

View File

@@ -0,0 +1,75 @@
/* Spanish Language resource file.
* Translated by: ?? and Ismael Ferreras Morezuelas <2014-11-07> */
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
IDS_HELP "Muestra o modifica listas de control de acceso (ACL) de archivos\n\n\
CACLS archivo [/T] [/E] [/C] [/G user:perm [...]] [/R usuario [...]]\n\
[/P user:perm [...]] [/D usuario [...]]\n\
archivo Mostrar ACL.\n\
/T Cambia ACL de los archivos especificados en\n\
el directorio actual y todos sus subdirectorios.\n\
/E Edita la ACL en lugar de reemplazarla.\n\
/C Continúa en caso de errores de acceso.\n\
/G user:perm Da los derechos de acceso al usuario especificado.\n\
Perm puede ser: R Leer\n\
W Escribir\n\
C Cambiar (escribir)\n\
F Control total\n\
/R usuario Revoca los derechos de acceso al usuario especificado (unicamente válido con /E).\n\
/P user:perm Reemplaza los derechos de acceso del usuario especificado.\n\
Perm puede ser: N Ninguno\n\
R Leer\n\
W Escribir\n\
C Cambiar (escribir)\n\
F Control total\n\
/D usuario Revoca el acceso al usuario especificado.\n\
Es posible usar comodines para especificar más de un archivo por comando.\n\
Se puede especificar más de un usuario por comando.\n\n\
Abreviaturas:\n\
CI - Herencia del contenedor.\n\
ACE se heredará por directorios.\n\
OI - Herencia del objeto.\n\
ACE se heredará por archivos.\n\
IO - Sólo heredar.\n\
ACE no se aplicará al archivo o directorio actual.\n"
IDS_ABBR_CI "(CI)"
IDS_ABBR_OI "(OI)"
IDS_ABBR_IO "(IO)"
IDS_ABBR_FULL "F"
IDS_ABBR_READ "R"
IDS_ABBR_WRITE "W"
IDS_ABBR_CHANGE "C"
IDS_ABBR_NONE "N"
IDS_ALLOW ""
IDS_DENY "(DENEGA)"
IDS_SPECIAL_ACCESS "(acceso especial:)"
IDS_GENERIC_READ "GENERIC_READ"
IDS_GENERIC_WRITE "GENERIC_WRITE"
IDS_GENERIC_EXECUTE "GENERIC_EXECUTE"
IDS_GENERIC_ALL "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA "FILE_READ_DATA"
IDS_FILE_WRITE_DATA "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA "FILE_APPEND_DATA"
IDS_FILE_READ_EA "FILE_READ_EA"
IDS_FILE_WRITE_EA "FILE_WRITE_EA"
IDS_FILE_EXECUTE "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE "SYNCHRONIZE"
IDS_WRITE_OWNER "WRITE_OWNER"
IDS_WRITE_DAC "WRITE_DAC"
IDS_READ_CONTROL "READ_CONTROL"
IDS_DELETE "DELETE"
IDS_STANDARD_RIGHTS_ALL "STANDARD_RIGHTS_ALL"
END

View File

@@ -0,0 +1,74 @@
/* Russian language resource file by Kudratov Olimjon (olim98@bk.ru) */
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_HELP "Просмотр и изменение списков управления доступом (Access Control List, ACL) к файлам\n\n\
CACLS имя_файла [/T] [/E] [/C] [/G имя:доступ [...]] [/R имя [...]]\n\
[/P имя:доступ [...]] [/D имя [...]]\n\
имя_файла Просмотр списков управления доступом.\n\
/T Изменение списков управления доступом для указанных файлов\n\
в текущем и вложенных каталогах.\n\
/E Изменение списка управления доступом вместо его замены.\n\
/C Продолжение при ошибках отказа в доступе.\n\
/G имя:доступ Разрешения для указанных пользователей.\n\
Доступ: R чтение\n\
W запись\n\
C изменение (запись)\n\
F полный доступ\n\
/R имя Отзыв разрешений для пользователя (только вместе с /E).\n\
/P имя:доступ Замена разрешений указанного пользователя.\n\
Доступ: N нет доступа\n\
R чтение\n\
W запись\n\
C изменение (запись)\n\
F полный доступ\n\
/D имя Запрет доступа для указанного пользователя.\n\
Для выбора нескольких файлов используются подстановочные знаки.\n\
В команде можно указывать более одного пользователя.\n\n\
Сокращения:\n\
CI - наследование контейнерами.\n\
ACE наследуется каталогами.\n\
OI - наследование объектами.\n\
ACE наследуется файлами.\n\
IO - только наследование.\n\
ACE не применяется к текущему файлу или каталогу.\n"
IDS_ABBR_CI "(CI)"
IDS_ABBR_OI "(OI)"
IDS_ABBR_IO "(IO)"
IDS_ABBR_FULL "F"
IDS_ABBR_READ "R"
IDS_ABBR_WRITE "W"
IDS_ABBR_CHANGE "C"
IDS_ABBR_NONE "N"
IDS_ALLOW ""
IDS_DENY "(DENY)"
IDS_SPECIAL_ACCESS "(специальный доступ:)"
IDS_GENERIC_READ "GENERIC_READ"
IDS_GENERIC_WRITE "GENERIC_WRITE"
IDS_GENERIC_EXECUTE "GENERIC_EXECUTE"
IDS_GENERIC_ALL "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA "FILE_READ_DATA"
IDS_FILE_WRITE_DATA "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA "FILE_APPEND_DATA"
IDS_FILE_READ_EA "FILE_READ_EA"
IDS_FILE_WRITE_EA "FILE_WRITE_EA"
IDS_FILE_EXECUTE "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE "SYNCHRONIZE"
IDS_WRITE_OWNER "WRITE_OWNER"
IDS_WRITE_DAC "WRITE_DAC"
IDS_READ_CONTROL "READ_CONTROL"
IDS_DELETE "DELETE"
IDS_STANDARD_RIGHTS_ALL "STANDARD_RIGHTS_ALL"
END

View File

@@ -0,0 +1,727 @@
/*
* Spanish Language resource file
* Traducido por: Javier Remacha 2008
* Corregido por: Ismael Ferreras Morezuelas 2014
*/
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
/* Dialogs */
IDD_DIALOG_SCIENTIFIC DIALOGEX 0, 0, 316, 163
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Calculadora de ReactOS"
MENU IDR_MENU_SCIENTIFIC_1
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "", IDC_STATIC, 5 ,14, 141, 20
CONTROL "Hex", IDC_RADIO_HEX, "Button", BS_AUTORADIOBUTTON, 8, 21, 30, 10
CONTROL "Dec", IDC_RADIO_DEC, "Button", BS_AUTORADIOBUTTON, 41, 21, 30, 10
CONTROL "Oct", IDC_RADIO_OCT, "Button", BS_AUTORADIOBUTTON, 74, 21, 30, 10
CONTROL "Bin", IDC_RADIO_BIN, "Button", BS_AUTORADIOBUTTON, 107, 21, 30, 10
GROUPBOX "", IDC_STATIC, 5, 34, 84, 20
CONTROL "Inv", IDC_CHECK_INV, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 8, 41, 26, 10
CONTROL "Hipotenusa", IDC_CHECK_HYP, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 37, 41, 48, 10
CTEXT "", IDC_TEXT_PARENT, 93, 38, 18, 16, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
CTEXT "", IDC_TEXT_MEMORY, 126, 38, 18, 16, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
PUSHBUTTON "Sta", IDC_BUTTON_STA, 5, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Ave", IDC_BUTTON_AVE, 5, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sum", IDC_BUTTON_SUM, 5, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "s", IDC_BUTTON_S, 5, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Dat", IDC_BUTTON_DAT, 5, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | WS_DISABLED | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F-E", IDC_BUTTON_FE, 38, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "gms", IDC_BUTTON_DMS, 38, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "sin", IDC_BUTTON_SIN, 38, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "cos", IDC_BUTTON_COS, 38, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "tan", IDC_BUTTON_TAN, 38, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "(", IDC_BUTTON_LEFTPAR, 64, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Exp", IDC_BUTTON_EXP, 64, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^y", IDC_BUTTON_XeY, 64, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^2", IDC_BUTTON_Xe2, 64, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "x^3", IDC_BUTTON_Xe3, 64, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ")", IDC_BUTTON_RIGHTPAR, 90, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "ln", IDC_BUTTON_LN, 90, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "log", IDC_BUTTON_LOG, 90, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "n!", IDC_BUTTON_NF, 90, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x", IDC_BUTTON_RX, 90, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MC", IDC_BUTTON_MC, 123, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR", IDC_BUTTON_MR, 123, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS", IDC_BUTTON_MS, 123, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+", IDC_BUTTON_MP, 123, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "pi", IDC_BUTTON_PI, 123, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "7", IDC_BUTTON_7, 156, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4", IDC_BUTTON_4, 156, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1", IDC_BUTTON_1, 156, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0", IDC_BUTTON_0, 156, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "A", IDC_BUTTON_A, 156, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8", IDC_BUTTON_8, 182, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5", IDC_BUTTON_5, 182, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2", IDC_BUTTON_2, 182, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-", IDC_BUTTON_SIGN, 182, 120, 24, 18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "B", IDC_BUTTON_B, 182, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9", IDC_BUTTON_9, 208, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6", IDC_BUTTON_6, 208, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3", IDC_BUTTON_3, 208, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",", IDC_BUTTON_DOT, 208, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "C", IDC_BUTTON_C, 208, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/", IDC_BUTTON_DIV, 234, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*", IDC_BUTTON_MULT, 234, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-", IDC_BUTTON_SUB, 234, 100, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+", IDC_BUTTON_ADD, 234, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "D", IDC_BUTTON_D, 234, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Mod", IDC_BUTTON_MOD, 260, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Or", IDC_BUTTON_OR, 260, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Lsh", IDC_BUTTON_LSH, 260, 100, 24, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=", IDC_BUTTON_EQU, 260, 120, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "E", IDC_BUTTON_E, 260, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "And", IDC_BUTTON_AND, 286, 60, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Xor", IDC_BUTTON_XOR, 286, 80, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Not", IDC_BUTTON_NOT, 286, 100, 24, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Int", IDC_BUTTON_INT, 286, 120, 24, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "F", IDC_BUTTON_F, 286, 140, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
GROUPBOX "", IDC_STATIC, 147, 14, 163, 20
CONTROL "Qword", IDC_RADIO_QWORD, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 150, 21, 38, 10
CONTROL "Dword", IDC_RADIO_DWORD, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 190, 21, 38, 10
CONTROL "Word", IDC_RADIO_WORD, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 230, 21, 38, 10
CONTROL "Byte", IDC_RADIO_BYTE, "Button", BS_AUTORADIOBUTTON |
NOT WS_VISIBLE, 270, 21, 38, 10
CONTROL "Grados", IDC_RADIO_DEG, "Button", BS_AUTORADIOBUTTON, 151, 21, 45, 10
CONTROL "Radianes", IDC_RADIO_RAD, "Button", BS_AUTORADIOBUTTON, 198, 21, 45, 10
CONTROL "Gradianes", IDC_RADIO_GRAD, "Button", BS_AUTORADIOBUTTON, 248, 21, 45, 10
PUSHBUTTON "C", IDC_BUTTON_CANC, 267, 38, 43, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE", IDC_BUTTON_CE, 222, 38, 43, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Atrás", IDC_BUTTON_BACK, 177, 38, 43, 18, BS_CENTER |
BS_VCENTER | BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "", IDC_TEXT_OUTPUT, 5, 1, 305, 14, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_STANDARD DIALOGEX 0, 0, 169, 128
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Calculadora de ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "C", IDC_BUTTON_CANC, 123, 23, 41, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "CE", IDC_BUTTON_CE, 80, 23, 41, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Retroceso", IDC_BUTTON_BACK, 36, 23, 42, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
RTEXT "", IDC_TEXT_OUTPUT, 5, 1, 159, 14, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
PUSHBUTTON "7", IDC_BUTTON_7, 36, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "4", IDC_BUTTON_4, 36, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1", IDC_BUTTON_1, 36, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "0", IDC_BUTTON_0, 36, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "8", IDC_BUTTON_8, 62, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "5", IDC_BUTTON_5, 62, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "2", IDC_BUTTON_2, 62, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+/-", IDC_BUTTON_SIGN, 62, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "9", IDC_BUTTON_9, 88, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "6", IDC_BUTTON_6, 88, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "3", IDC_BUTTON_3, 88, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON ",", IDC_BUTTON_DOT, 88, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "/", IDC_BUTTON_DIV, 114, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "*", IDC_BUTTON_MULT, 114, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "-", IDC_BUTTON_SUB, 114, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "+", IDC_BUTTON_ADD, 114, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "Sqrt", IDC_BUTTON_SQRT, 140, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "%", IDC_BUTTON_PERCENT, 140, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "1/x", IDC_BUTTON_RX, 140, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "=", IDC_BUTTON_EQU, 140, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
CTEXT "", IDC_TEXT_MEMORY, 8, 24, 18, 16, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
PUSHBUTTON "MC", IDC_BUTTON_MC, 5, 45, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MR", IDC_BUTTON_MR, 5, 65, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "MS", IDC_BUTTON_MS, 5, 85, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
PUSHBUTTON "M+", IDC_BUTTON_MP, 5, 105, 24, 18, BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_OWNERDRAW | WS_TABSTOP
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_CONVERSION DIALOGEX 0, 0, 320, 130
STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Calculadora de ReactOS"
MENU IDR_MENU_STANDARD
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Convertir", IDC_BUTTON_CONVERT, 35, 105, 76, 17
COMBOBOX IDC_COMBO_CATEGORY, 5, 31, 140, 168, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Categoría:", IDC_STATIC, 5, 20, 56, 8
COMBOBOX IDC_COMBO_FROM, 5, 60, 140, 168, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Convertir de:", IDC_STATIC, 5, 49, 56, 8
COMBOBOX IDC_COMBO_TO, 5, 87, 140, 168, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP | CBS_SORT
LTEXT "Convertir a:", IDC_STATIC, 5, 76, 56, 8
CONTROL "C", IDC_BUTTON_CANC, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 276, 24, 40, 17
CONTROL "CE", IDC_BUTTON_CE, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 232, 24, 40, 17
CONTROL "Atrás", IDC_BUTTON_BACK, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 24, 40,17
RTEXT "", IDC_TEXT_OUTPUT, 5, 1, 312, 14, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
CONTROL "7", IDC_BUTTON_7, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 48, 24, 18
CONTROL "4", IDC_BUTTON_4, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 67, 24, 18
CONTROL "1", IDC_BUTTON_1, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 86, 24, 18
CONTROL "0", IDC_BUTTON_0, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 188, 105, 24, 18
CONTROL "8", IDC_BUTTON_8, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 48, 24, 18
CONTROL "5", IDC_BUTTON_5, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 67, 24, 18
CONTROL "2", IDC_BUTTON_2, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 86, 24, 18
CONTROL "+/-", IDC_BUTTON_SIGN, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 214, 105, 24, 18
CONTROL "9", IDC_BUTTON_9, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 48, 24, 18
CONTROL "6", IDC_BUTTON_6, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 67, 24, 18
CONTROL "3", IDC_BUTTON_3, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 86, 24, 18
CONTROL ",", IDC_BUTTON_DOT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 240, 105, 24, 18
CONTROL "/", IDC_BUTTON_DIV, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 48, 24, 18
CONTROL "*", IDC_BUTTON_MULT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 67, 24, 18
CONTROL "-", IDC_BUTTON_SUB, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 86, 24, 18
CONTROL "+", IDC_BUTTON_ADD, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 266, 105, 24, 18
CONTROL "Sqrt", IDC_BUTTON_SQRT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 48, 24, 18
CONTROL "%", IDC_BUTTON_PERCENT, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 67, 24, 18
CONTROL "1/x", IDC_BUTTON_RX, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 86, 24, 18
CONTROL "=", IDC_BUTTON_EQU, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 292, 105, 24, 18
CTEXT "", IDC_TEXT_MEMORY, 152, 24, 24, 18, SS_CENTERIMAGE, WS_EX_CLIENTEDGE
CONTROL "MC", IDC_BUTTON_MC, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 48, 24, 18
CONTROL "MR", IDC_BUTTON_MR, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 67, 24, 18
CONTROL "MS", IDC_BUTTON_MS, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 86, 24, 18
CONTROL "M+", IDC_BUTTON_MP, "Button", BS_OWNERDRAW | BS_CENTER |
BS_VCENTER | BS_NOTIFY | WS_TABSTOP, 152, 105, 24, 18
DEFPUSHBUTTON "", IDC_BUTTON_FOCUS, 0, 0, 5, 5, NOT WS_VISIBLE
END
IDD_DIALOG_ABOUT DIALOGEX 0, 0, 264, 169
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Acerca de la Calculadora de ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Aceptar", IDOK, 105, 148, 52, 16
CONTROL IDB_BITMAP_ROS, IDC_STATIC, "Static", SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER, 4, 4, 104, 48
LTEXT "Calculadora de ReactOS", IDC_STATIC, 120, 12, 132, 8, SS_CENTERIMAGE
LTEXT "Versión ", IDC_TEXT_VERSION, 120, 20, 132, 8, SS_CENTERIMAGE
LTEXT "Creada por Carlo Bramini", IDC_STATIC, 120, 32, 132, 8, SS_CENTERIMAGE
GROUPBOX "", IDC_STATIC, 112, 0, 148, 52
GROUPBOX "", IDC_STATIC, 5, 56, 256, 88
EDITTEXT IDC_EDIT_LICENSE, 12, 68, 240, 68, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END
IDD_DIALOG_STAT DIALOGEX 0, 0, 163, 85
STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Cuadro de estadísticas"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX IDC_LIST_STAT, 4, 4, 156, 40, LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "RET", IDC_BUTTON_RET, 4, 48, 36, 16
PUSHBUTTON "Cargar", IDC_BUTTON_LOAD, 44, 48, 36, 16
PUSHBUTTON "CD", IDC_BUTTON_CD, 84, 48, 36, 16
PUSHBUTTON "CAD", IDC_BUTTON_CAD, 124, 48, 36, 16
CTEXT "n=0", IDC_TEXT_NITEMS, 4, 68, 156, 12, SS_CENTERIMAGE | SS_SUNKEN
END
/* Menus */
IDR_MENU_SCIENTIFIC_1 MENU
BEGIN
POPUP "Edición"
BEGIN
MENUITEM "Copiar\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Pegar\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Ver"
BEGIN
MENUITEM "Estándar", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Científica", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversión", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hexadecimal\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Decimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binario\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Grados\tF2", IDM_VIEW_DEG, CHECKED
MENUITEM "Radianes\tF3", IDM_VIEW_RAD, CHECKED
MENUITEM "Gradianes\tF4", IDM_VIEW_GRAD, CHECKED
MENUITEM SEPARATOR
MENUITEM "Agrupar dígitos", IDM_VIEW_GROUP, CHECKED
END
POPUP "Ayuda"
BEGIN
MENUITEM "Temas de ayuda", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Acerca de la Calculadora de ReactOS", IDM_HELP_ABOUT
END
END
IDR_MENU_SCIENTIFIC_2 MENU
BEGIN
POPUP "Edición"
BEGIN
MENUITEM "Copiar\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Pegar\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Ver"
BEGIN
MENUITEM "Estándar", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Científica", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversión", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Hexadecimal\tF5", IDM_VIEW_HEX, CHECKED
MENUITEM "Decimal\tF6", IDM_VIEW_DEC, CHECKED
MENUITEM "Octal\tF7", IDM_VIEW_OCT, CHECKED
MENUITEM "Binario\tF8", IDM_VIEW_BIN, CHECKED
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", IDM_VIEW_QWORD, CHECKED
MENUITEM "Dword\tF2", IDM_VIEW_DWORD, CHECKED
MENUITEM "Word\tF3", IDM_VIEW_WORD, CHECKED
MENUITEM "Byte\tF4", IDM_VIEW_BYTE, CHECKED
MENUITEM SEPARATOR
MENUITEM "Agrupar dígitos", IDM_VIEW_GROUP, CHECKED
END
POPUP "Ayuda"
BEGIN
MENUITEM "Temas de ayuda", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Acerca de la Calculadora de ReactOS", IDM_HELP_ABOUT
END
END
IDR_MENU_STANDARD MENU
BEGIN
POPUP "Edición"
BEGIN
MENUITEM "Copiar\tCTRL-C", IDM_EDIT_COPY
MENUITEM "Pegar\tCTRL-V", IDM_EDIT_PASTE
END
POPUP "Ver"
BEGIN
MENUITEM "Estándar", IDM_VIEW_STANDARD, CHECKED
MENUITEM "Científica", IDM_VIEW_SCIENTIFIC, CHECKED
MENUITEM "Conversión", IDM_VIEW_CONVERSION
MENUITEM SEPARATOR
MENUITEM "Agrupar dígitos", IDM_VIEW_GROUP, CHECKED
END
POPUP "Ayuda"
BEGIN
MENUITEM "Temas de ayuda", IDM_HELP_HELP
MENUITEM SEPARATOR
MENUITEM "Acerca de la Calculadora de ReactOS", IDM_HELP_ABOUT
END
END
/* String Tables */
STRINGTABLE
BEGIN
IDS_STRING_LICENSE "La Calculadora de ReactOS es software libre realizado bajo licencia GNU GPL.\r\n\
\r\n\
Puedes obtener una copia de la licencia GNU GPL aquí:\r\n\
http://www.gnu.org/licenses/gpl.html\r\n\
\r\n\
También puedes obtener una traducción de la licencia GNU GPL aquí:\r\n\
http://www.gnu.org/licenses/translations.html"
IDS_MATH_ERROR "Error"
IDS_QUICKHELP "Ayuda rápida"
END
/* Types of conversion */
STRINGTABLE
BEGIN
IDS_CONV_ANGLE "Ángulo"
IDS_CONV_AREA "Área"
IDS_CONV_CONSUMPTION "Consumo (motores)"
IDS_CONV_CURRENCY "Monedas"
IDS_CONV_ENERGY "Energía"
IDS_CONV_LENGTH "Longitud"
IDS_CONV_POWER "Potencia"
IDS_CONV_PRESSURE "Presión"
IDS_CONV_TEMPERATURE "Temperatura"
IDS_CONV_TIME "Tiempo"
IDS_CONV_VELOCITY "Velocidad"
IDS_CONV_VOLUME "Volumen"
IDS_CONV_WEIGHT "Peso"
END
/* Angles */
STRINGTABLE
BEGIN
IDS_ANGLE_DEGREES "Grados"
IDS_ANGLE_GRADIANS "Gradianes"
IDS_ANGLE_RADIANS "Radianes"
END
/* Areas */
STRINGTABLE
BEGIN
IDS_AREA_ACRES "Acres"
IDS_AREA_ACRES_BRAZIL "Acres (Brasil)"
IDS_AREA_ACRES_FRANCE "Acres (Francia)"
IDS_AREA_ACRES_SCOTS "Acres (Escocia)"
IDS_AREA_ACRES_US "Acres (EE.UU.)"
IDS_AREA_ARES "Área"
IDS_AREA_CHOU "Chou"
IDS_AREA_DANBO "Danbo"
IDS_AREA_HECTARES "Hectárias"
IDS_AREA_JEONGBO "Jeongbo"
IDS_AREA_MORGEN_HUNGARY "Morgen (Hungría)"
IDS_AREA_MU "Mu"
IDS_AREA_PING "Ping"
IDS_AREA_PYEONG "Pyeong"
IDS_AREA_PYEONGBANGJA "Pyeongbangja"
IDS_AREA_RAI "Rai"
IDS_AREA_SE "Se"
IDS_AREA_SQUARE_CENTIMETERS "Centímetros cuadrados"
IDS_AREA_SQUARE_CHR "Square chr"
IDS_AREA_SQUARE_FATHOMS "Braza cuadrada"
IDS_AREA_SQUARE_FATHOMS_HUNGARY "Braza cuadrada (Hungría)"
IDS_AREA_SQUARE_FEET "Pies cuadrados"
IDS_AREA_SQUARE_INCHES "Pulgadas cuadradas"
IDS_AREA_SQUARE_KILOMETERS "Kilómetros cuadrados"
IDS_AREA_SQUARE_LAR "Square lar"
IDS_AREA_SQUARE_METER "Metros cuadrado"
IDS_AREA_SQUARE_MILES "Millas cuadradas"
IDS_AREA_SQUARE_MILLIMETERS "Milímetros cuadrados"
IDS_AREA_SQUARE_SHAKU "Square shaku"
IDS_AREA_SQUARE_TSUEN "Square tsuen"
IDS_AREA_SQUARE_VA "Square va" /* ??? (unused in the source code) */
IDS_AREA_SQUARE_YARD "Yarda cuadrada"
IDS_AREA_TAN "Tan"
IDS_AREA_TSUBO "Tsubo"
END
/* Consumptions */
STRINGTABLE
BEGIN
IDS_CONSUMPTION_KM_PER_L "Kilómetros/litro"
IDS_CONSUMPTION_L_PER_100_KM "Litros/100 kilómetros"
IDS_CONSUMPTION_MILES_GALLON_UK "Millas/galón (UK)"
IDS_CONSUMPTION_MILES_GALLON_US "Millas/galón (EE.UU.)"
END
/* Currencies */
STRINGTABLE
BEGIN
IDS_CURRENCY_AUSTRIAN_SCHILLING "Schilling austriaco"
IDS_CURRENCY_BELGIAN_FRANC "Franco belga"
IDS_CURRENCY_CYPRIOT_POUND "Libra chipriota"
IDS_CURRENCY_CZECH_KORUNA "Corona checa"
IDS_CURRENCY_DEUTSCHE_MARK "Marco alemán"
IDS_CURRENCY_DUTCH_GUILDER "Florín neerlandés"
IDS_CURRENCY_EURO "Euro"
IDS_CURRENCY_FINNISH_MARKKA "Marco finlandés"
IDS_CURRENCY_FRENCH_FRANC "Franco frances"
IDS_CURRENCY_GREEK_DRACHMA "Drachma griego"
IDS_CURRENCY_IRISH_POUND "Libra irlandesa"
IDS_CURRENCY_ITALIAN_LIRA "Lira italiana"
IDS_CURRENCY_LUXEMBOURG_FRANC "Franco luxemburgués"
IDS_CURRENCY_MALTESE_LIRA "Lira maltesa"
IDS_CURRENCY_PORTOGUESE_ESCUDO "Escudo portugués"
IDS_CURRENCY_SLOVAK_KORUNA "Corona eslovaca"
IDS_CURRENCY_SLOVENIAN_TOLAR "Tolar esloveno"
IDS_CURRENCY_SPANISH_PESETA "Peseta española"
END
/* Energies */
STRINGTABLE
BEGIN
IDS_ENERGY_15_C_CALORIES "Calorías a 15°C"
IDS_ENERGY_BTUS "BTU"
IDS_ENERGY_ERGS "Ergios"
IDS_ENERGY_EVS "Electronvoltio"
IDS_ENERGY_FOOT_POUNDS "Ft·Lbs"
IDS_ENERGY_IT_CALORIES "Tabla internacional de calorías"
IDS_ENERGY_IT_KILOCALORIES "Tabla internacional de kilocalorías"
IDS_ENERGY_JOULES "Julios"
IDS_ENERGY_KILOJOULES "Kilojulios"
IDS_ENERGY_KILOWATT_HOURS "Kilovatios hora"
IDS_ENERGY_NUTRITION_CALORIES "Calorías nutricionales"
IDS_ENERGY_TH_CALORIES "Calorías termoquímicas"
END
/* Lengths */
STRINGTABLE
BEGIN
IDS_LENGTH_ANGSTROMS "Ångströms"
IDS_LENGTH_ASTRONOMICAL_UNITS "Unidades astronómicas"
IDS_LENGTH_BARLEYCORNS "Granos de cebada"
IDS_LENGTH_CENTIMETERS "Centímetros"
IDS_LENGTH_CHAINS_UK "Cadenas (UK)"
IDS_LENGTH_CHI "Chi"
IDS_LENGTH_CHOU "Chou"
IDS_LENGTH_CHR "Chr"
IDS_LENGTH_CUN "Cun"
IDS_LENGTH_FATHOMS "Brazas"
IDS_LENGTH_FATHOMS_HUNGARY "Brazas (Hungría)"
IDS_LENGTH_FEET "Pies"
IDS_LENGTH_FURLONGS "Furlongs"
IDS_LENGTH_GAN "Gan"
IDS_LENGTH_HANDS "Hands"
IDS_LENGTH_HUNH "Hunh"
IDS_LENGTH_INCHES "Pulgadas"
IDS_LENGTH_JA "Ja"
IDS_LENGTH_JEONG "Jeong"
IDS_LENGTH_KABIET "Kabiet"
IDS_LENGTH_KEN "Ken"
IDS_LENGTH_KEUB "Keub"
IDS_LENGTH_KILOMETERS "Kilómetros"
IDS_LENGTH_LAR "Lar"
IDS_LENGTH_LIGHT_YEARS "Años luz"
IDS_LENGTH_LINKS_UK "Links (UK)"
IDS_LENGTH_METERS "Metros"
IDS_LENGTH_MICRONS "Micrómetros"
IDS_LENGTH_MILES "Millas"
IDS_LENGTH_MILLIMETERS "Milímetros"
IDS_LENGTH_NAUTICAL_MILES "Millas náuticas"
IDS_LENGTH_NIEU "Nieu"
IDS_LENGTH_PARSECS "Parsecs"
IDS_LENGTH_PICAS "Picas"
IDS_LENGTH_RI_JAPAN "Ri (Japan)"
IDS_LENGTH_RI_KOREA "Ri (Korea)"
IDS_LENGTH_RODS "Rods"
IDS_LENGTH_SAWK "Sawk"
IDS_LENGTH_SEN "Sen"
IDS_LENGTH_SHAKU "Shaku"
IDS_LENGTH_SPAN "Palmo"
IDS_LENGTH_SUN "Sun"
IDS_LENGTH_TSUEN "Tsuen"
IDS_LENGTH_VA "Va"
IDS_LENGTH_YARDS "Yardas"
IDS_LENGTH_YOTE "Yote"
IDS_LENGTH_ZHANG "Zhang"
END
/* Powers */
STRINGTABLE
BEGIN
IDS_POWER_BTUS_PER_MINUTE "BTU/Minuto"
IDS_POWER_FPS_PER_MINUTE "Ft·Lbs/Minuto"
IDS_POWER_HORSEPOWER "Caballos de vapor"
IDS_POWER_KILOWATTS "Kilovatios"
IDS_POWER_MEGAWATTS "Megavatios"
IDS_POWER_WATTS "Watios"
END
/* Pressures */
STRINGTABLE
BEGIN
IDS_PRESSURE_ATMOSPHERES "Atmósferas"
IDS_PRESSURE_BARS "Bares"
IDS_PRESSURE_HECTOPASCALS "Kilopascales"
IDS_PRESSURE_KILOPASCALS "Hectopascales"
IDS_PRESSURE_MM_OF_MERCURY "Milímetros de mercurio"
IDS_PRESSURE_PASCALS "Pascales"
IDS_PRESSURE_PSI "PSI"
END
/* Temperatures */
STRINGTABLE
BEGIN
IDS_TEMPERATURE_CELSIUS "Celsius"
IDS_TEMPERATURE_FAHRENHEIT "Fahrenheit"
IDS_TEMPERATURE_KELVIN "Kelvin"
IDS_TEMPERATURE_RANKINE "Rankine"
END
/* Time */
STRINGTABLE
BEGIN
IDS_TIME_DAYS "Días"
IDS_TIME_HOURS "Horas"
IDS_TIME_NANOSECONDS "Nanosegundos"
IDS_TIME_MICROSECONDS "Microsegundos"
IDS_TIME_MILLISECONDS "Milisegundos"
IDS_TIME_MINUTES "Minutos"
IDS_TIME_SECONDS "Segundos"
IDS_TIME_WEEKS "Semanas"
IDS_TIME_YEARS "Años"
END
/* Velocities */
STRINGTABLE
BEGIN
IDS_VELOCITY_CMS_SECOND "Centímetros/segundo"
IDS_VELOCITY_FEET_HOUR "Pies/hora"
IDS_VELOCITY_FEET_SECOND "Pies/segundo"
IDS_VELOCITY_KILOMETERS_HOUR "Kilómetros/hora"
IDS_VELOCITY_KNOTS "Nudos"
IDS_VELOCITY_MACH "Mach"
IDS_VELOCITY_METERS_SECOND "Metros/segundo"
IDS_VELOCITY_MILES_HOUR "Millas/hora"
END
/* Volumes */
STRINGTABLE
BEGIN
IDS_VOLUME_BARRELS_UK "Barriles (UK)"
IDS_VOLUME_BARRELS_OIL "Barriles de petróleo"
IDS_VOLUME_BUN "Bun"
IDS_VOLUME_BUSHELS_UK "Celemín (UK)"
IDS_VOLUME_BUSHELS_US "Celemín (EE.UU.)"
IDS_VOLUME_CUBIC_CENTIMETERS "Centímetros cúbicos"
IDS_VOLUME_CUBIC_FEET "Píes cúbicos"
IDS_VOLUME_CUBIC_INCHES "Pulgadas cúbicas"
IDS_VOLUME_CUBIC_METERS "Metros cúbicos"
IDS_VOLUME_CUBIC_YARDS "Yardas cúbicas"
IDS_VOLUME_DOE "Doe"
IDS_VOLUME_FLUID_OUNCES_UK "Onza líquida (UK)"
IDS_VOLUME_FLUID_OUNCES_US "Onza líquida (EE.UU.)"
IDS_VOLUME_GALLONS_UK "Galones (UK)"
IDS_VOLUME_GALLONS_DRY_US "Galones, secos (EE.UU.)"
IDS_VOLUME_GALLONS_LIQUID_US "Galones, líquidos (EE.UU.)"
IDS_VOLUME_GOU "Gou"
IDS_VOLUME_HOP "Hop"
IDS_VOLUME_ICCE "Icce"
IDS_VOLUME_KWIAN "Kwian"
IDS_VOLUME_LITERS "Litros"
IDS_VOLUME_MAL "Mal"
IDS_VOLUME_MILLILITERS "Mililitros"
IDS_VOLUME_PINTS_UK "Pintas (UK)"
IDS_VOLUME_PINTS_DRY_US "Pintas, secas (EE.UU.)"
IDS_VOLUME_PINTS_LIQUID_US "Pintas, líquidas (EE.UU.)"
IDS_VOLUME_QUARTS_UK "Cuartos (UK)"
IDS_VOLUME_QUARTS_DRY_US "Cuartos, secos (EE.UU.)"
IDS_VOLUME_QUARTS_LIQUID_US "Cuartos, líquidos (EE.UU.)"
IDS_VOLUME_SEKI "Seki"
IDS_VOLUME_SYOU "Syou"
IDS_VOLUME_TANANLOUNG "Tananloung"
IDS_VOLUME_TANG "Tang"
IDS_VOLUME_TO "To"
END
/* Weights */
STRINGTABLE
BEGIN
IDS_WEIGHT_BAHT "Baht"
IDS_WEIGHT_CARATS "Quilates"
IDS_WEIGHT_CHUNG "Chung"
IDS_WEIGHT_DON "Don"
IDS_WEIGHT_GEUN "Geun"
IDS_WEIGHT_GRAMS "Gramos"
IDS_WEIGHT_GWAN "Gwan"
IDS_WEIGHT_HARB "Harb"
IDS_WEIGHT_JIN_CHINA "Jin (China)"
IDS_WEIGHT_JIN_TAIWAN "Jin (Taiwan)"
IDS_WEIGHT_KAN "Kan"
IDS_WEIGHT_KILOGRAMS "Kilogramos"
IDS_WEIGHT_KIN "Kin"
IDS_WEIGHT_LIANG_CHINA "Liang (China)"
IDS_WEIGHT_LIANG_TAIWAN "Liang (Taiwan)"
IDS_WEIGHT_MONME "Monme"
IDS_WEIGHT_OUNCES_AVOIRDUPOIS "Onza, avoirdupois"
IDS_WEIGHT_OUNCES_TROY "Onza, troy"
IDS_WEIGHT_POUNDS "Libras"
IDS_WEIGHT_QUINTAL_METRIC "Quintal (métrico)"
IDS_WEIGHT_SALOUNG "Saloung"
IDS_WEIGHT_STONES "Stones"
IDS_WEIGHT_TAMLUNG "Tamlung"
IDS_WEIGHT_TONNES "Toneladas"
IDS_WEIGHT_TONS_UK "Toneladas (UK)"
IDS_WEIGHT_TONS_US "Toneladas (EE.UU.)"
END

View File

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

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