Commit graph

62139 commits

Author SHA1 Message Date
Amine Khaldi 0c1f9d1e1a [COMCTL32][COMDLG32][EXPLORER][MPLAY32][NOTEPAD] Update/Add Chinese (Traditional) translations. By Alvin Wong. CORE-9637
svn path=/trunk/; revision=67758
2015-05-16 09:55:04 +00:00
Amine Khaldi 3456a302fa [MSPORTS] Improve the Port Settings page for parallel ports. Add "LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL" to the main RC file. By Jared Smudde with some changes by me. CORE-9653
svn path=/trunk/; revision=67757
2015-05-16 09:47:18 +00:00
Amine Khaldi 35a85dbcaf [SYSDM] Improve the custom pagefile size range limiting. By Radek Liska. CORE-9658
svn path=/trunk/; revision=67756
2015-05-16 09:40:46 +00:00
Amine Khaldi d617cfed60 [NTOSKRNL] Use the correct registry key name for ExpGetCurrentUserUILanguage. By Alvin Wong. CORE-9697
svn path=/trunk/; revision=67755
2015-05-16 09:22:10 +00:00
Amine Khaldi 52b8c4d4aa [SHELL32] Add "..." to the copying operation title. By Jared Smudde. CORE-9634
svn path=/trunk/; revision=67754
2015-05-16 09:11:23 +00:00
Amine Khaldi 24c8aa0916 [POWERCFG] Fix some clipping. By Jared Smudde. CORE-9700
svn path=/trunk/; revision=67753
2015-05-16 09:02:29 +00:00
Amine Khaldi 804810bf37 [APPWIZ] Remove rsrc.rc and move its content to appwiz.rc. Add a better bitmap to the create shortcut window. By Jared Smudde. CORE-9633
svn path=/trunk/; revision=67752
2015-05-16 08:59:21 +00:00
Hermès Bélusca-Maïto b7f9d7e14d Fix Mr.GCC
svn path=/trunk/; revision=67751
2015-05-15 23:16:58 +00:00
Hermès Bélusca-Maïto cecab82329 [NTVDM]
- Simplify CurrentDirectories array usage.
- We can directly use a pointer to a DOS_DATA structure stored in the guest memory.
- Use the DOS data structures for CurrentDrive (in DOS_DATA) and LastDrive (this is in fact NumLocalDrives in the SYSVARS list).
- Use ANSI versions of GetLocaleInfo where applicable.

svn path=/trunk/; revision=67750
2015-05-15 23:13:40 +00:00
Aleksandar Andrejevic 6020ed7ad1 [NTVDM]
Implement those IOCTLs (0x06 and 0x07) for files too, not just devices.


svn path=/trunk/; revision=67749
2015-05-15 22:29:07 +00:00
Aleksandar Andrejevic 2e894b43c1 [NTVDM]
Implement DOS IOCTLs 0x06 (Get Input Status) and 0x07 (Get Output Status).


svn path=/trunk/; revision=67748
2015-05-15 22:18:04 +00:00
Pierre Schweitzer 56472fe96e [NTOSKRNL]
Fix symbolic names list bound check in IopCreateArcNamesCd().
Spotted by "msuhanov"

CORE-9698 #resolve #comment Fixed in r67747. Thanks!

svn path=/trunk/; revision=67747
2015-05-15 21:08:06 +00:00
Aleksandar Andrejevic 08ec785c24 [NTVDM]
Reverse the HSYNC/VSYNC polarity when it should be reversed.


svn path=/trunk/; revision=67746
2015-05-15 19:51:40 +00:00
Amine Khaldi 9b1cceafb1 [SYSDM] Simplify loading usrmgr.cpl. By Jared Smudde. CORE-9694
svn path=/trunk/; revision=67745
2015-05-15 16:47:21 +00:00
Pierre Schweitzer 972e0e8125 [FASTFAT]
Hey Arch, if you simplify, do it completely!
Addendum to r67743: don't double free the context

svn path=/trunk/; revision=67744
2015-05-15 16:33:20 +00:00
Pierre Schweitzer 3b6a55716f [FASTFAT]
Bring in initiated work on IRPs in NTFS (and complete it).
This simplifies the way IRPs and their context are handled in the driver.
Only VfatDispatchRequest() is responsible of completing IRPs (if required), freeing the IRP context (if required), and queueing the IRP for later completion (if required).
This allows removing duplicated code, hacks, and so on. It might help reducing IRP leaks, or memory leaks.

By default, VfatDispatchRequest() will complete the IRP and delete the IRP context.
In case you don't want it to complete the IRP (because you passed it down, for instance), remove the IRPCONTEXT_COMPLETE flag. See for instance: VfatDeviceControl().
In case you want to queue the IRP (you previously called: VfatQueueRequest()), call the newly introduced VfatMarkIrpContextForQueue() function that will prepare it.

svn path=/trunk/; revision=67743
2015-05-15 16:03:29 +00:00
Aleksandar Andrejevic 45e50d10a0 [NTVDM]
- Properly initialize the current directories on startup.
- Add a missing colon after the drive letter.


svn path=/trunk/; revision=67742
2015-05-15 00:39:34 +00:00
Aleksandar Andrejevic d81d62d615 [NTVDM]
- Make the Sda pointer point to the right place.
- Fix a buffer overflow.


svn path=/trunk/; revision=67741
2015-05-15 00:20:54 +00:00
Timo Kreuzer e9f29e5951 [MSHTML/OLEAUT32]
Make msvc.S compile on ARM, too

svn path=/trunk/; revision=67740
2015-05-14 22:33:27 +00:00
Timo Kreuzer 80fec2464d [KS] "Fix" ARM build
svn path=/trunk/; revision=67739
2015-05-14 22:33:15 +00:00
Timo Kreuzer c8fa6a70c9 [VIDEOPRT]
Fix ARM build

svn path=/trunk/; revision=67738
2015-05-14 22:33:03 +00:00
Timo Kreuzer 6eae9fd0d8 [RPCRT4]
Fix ARM build

svn path=/trunk/; revision=67737
2015-05-14 22:32:49 +00:00
Timo Kreuzer 369786f126 [KERNEL32/KSECDD/GDI32/BMFD/DBGHELP/HALARM/SETUPLDR]
Fix ARM build

svn path=/trunk/; revision=67736
2015-05-14 22:32:35 +00:00
Timo Kreuzer adc234ba9c [NTOSKRNL]
Fix ARM build

svn path=/trunk/; revision=67735
2015-05-14 22:31:58 +00:00
Timo Kreuzer 014f5582c3 [FRAMEDYN]
Separate exports by architecture and add ARM exports

svn path=/trunk/; revision=67734
2015-05-14 22:31:25 +00:00
Timo Kreuzer 06165f05bd [CMAKE]
Exclude some modules from ARM build

svn path=/trunk/; revision=67733
2015-05-14 22:31:12 +00:00
Timo Kreuzer 9b8b564ef5 [CMAKE]
Make sure WIN32 is defined for ARM builds

svn path=/trunk/; revision=67732
2015-05-14 22:30:56 +00:00
Timo Kreuzer 350a7747d4 [CRT]
Rename __CxxFrameHandler to __CxxFrameHandler3

svn path=/trunk/; revision=67731
2015-05-14 22:30:48 +00:00
Timo Kreuzer c8a7258733 [MSVCRT]
- Separate C++ exports per architecture, add ARM exports (that again have different mangling)
- Add symbol aliases for ARM C++ exports
- Compile in/out functions only on x86
- Add some missing exports for non-x86

svn path=/trunk/; revision=67730
2015-05-14 21:53:15 +00:00
Timo Kreuzer febee0a7a2 [CRT]
setjmp is a macro expanding to _setjmp or _setjmpex. In soviet russia and on ARM builds, the compiler will convert invocation of _setjmp back into a call to setjmp. The compiler handles _setjmp and _setjmpex in the same way, generating code where r0 points to the jump_buf and r1 points to the current functions stack frame (sp on function entry). So make setjmp and _setjmp aliases to _setjmpex and make the latter use r1.

svn path=/trunk/; revision=67729
2015-05-14 21:52:45 +00:00
Timo Kreuzer 2f20d0b140 [CRT]
Don't use _control87 on ARM builds

svn path=/trunk/; revision=67728
2015-05-14 21:52:23 +00:00
Timo Kreuzer 7b2824f7ee [CRT]
add __va_copy for ARM

svn path=/trunk/; revision=67727
2015-05-14 21:52:09 +00:00
Hermès Bélusca-Maïto 6b9a175dfb [NTVDM]
- Add some early "return" after calls to EmulatorTerminate()
- Some VDDs rely on the fact that NTVDM calls ExitProcess on Windows when it is going to quit, so let's do the same.
- Put port 61h (and 62h) support in ppi.c (programmable-peripheral-interface).

svn path=/trunk/; revision=67726
2015-05-14 21:13:07 +00:00
Eric Kohl b4e859a232 [NTOSKRNL]
Create the "Hardware Profiles\0000" key as part of the registry setup. This must be done at this point because the "Hardware Profiles\Current" link will only be created, if the "Hardware Profiles\0000" key exists.

svn path=/trunk/; revision=67725
2015-05-14 21:08:42 +00:00
Timo Kreuzer 8bfb541424 [LIBSAMPLERATE]
Fix build

svn path=/trunk/; revision=67724
2015-05-14 20:58:41 +00:00
Timo Kreuzer 12ac6dabfb [D3DX9_36/WINED3D]
Partly revert previous changes, bringing back copysignf. Add global defines copysignf=_copysignf, since we have that now.

svn path=/trunk/; revision=67723
2015-05-14 20:45:56 +00:00
Timo Kreuzer b2135ede32 [CRT]
Update / improve math.h a bit

svn path=/trunk/; revision=67722
2015-05-14 20:21:14 +00:00
Timo Kreuzer 0c72efe8f1 [CRT]
Make sure to get no errors, when implementing functions that exist as intrinsics.

svn path=/trunk/; revision=67721
2015-05-14 20:20:59 +00:00
Timo Kreuzer c40efb1837 [CRT/CPPRT]
Add some files for non-x86 to build

svn path=/trunk/; revision=67720
2015-05-14 20:20:31 +00:00
Timo Kreuzer 03282ac383 [CRT]
Fix build

svn path=/trunk/; revision=67719
2015-05-14 19:51:12 +00:00
Timo Kreuzer d924c50bdf [CRT]
Add simple C implementations for acosf, ceilf, floorf, fmodf and fix sqrtf

svn path=/trunk/; revision=67718
2015-05-14 19:44:50 +00:00
Timo Kreuzer 6115da1a2a [CRT]
Add simple C implementations for _chgsignf, _copysignf, _hypotf, asinf, atan2f, atanf, coshf, expf, log10f, modff, sinhf, tanf, tanhf

svn path=/trunk/; revision=67717
2015-05-14 19:06:00 +00:00
Timo Kreuzer 81e0eb6b13 [NTOSKRNL]
Rewrite KiSwapContext for ARM

svn path=/trunk/; revision=67716
2015-05-14 14:50:19 +00:00
Timo Kreuzer 6212c824eb [NTOSKRNL] Fix compilation of some ARM assembler files
[NTDLL] Add missing ASM stubs for ARM

svn path=/trunk/; revision=67715
2015-05-14 14:50:07 +00:00
Timo Kreuzer 845ec2108d [NTOSKRNL] Fix some Interlocked exports for non-x86, export some ARM specific functions
[NTDLL] Export some ARM specific functions
[SCSIPORT] Fix ARM exports

svn path=/trunk/; revision=67714
2015-05-14 14:49:41 +00:00
Eric Kohl a84978c658 [PARPORT]
Implement basic funtions of the parallel port driver. It supports Centronics-Mode only.
You can print files using: copy <filename> lpt1:

svn path=/trunk/; revision=67713
2015-05-14 14:42:05 +00:00
Thomas Faber f1291bfaea [ADVAPI32_WINETEST]
- Replace test_reg_query_info with the upstream version as promised in r67424.
CORE-6976

svn path=/trunk/; revision=67712
2015-05-14 13:08:07 +00:00
Thomas Faber f94cb518bb [ADVAPI32]
- Add parameter check to RegQueryInfoKeyA
CORE-6976

svn path=/trunk/; revision=67711
2015-05-14 13:02:49 +00:00
Timo Kreuzer a4c81347b4 [CRT]
Add stubs for __stoi64 and __stou64

svn path=/trunk/; revision=67710
2015-05-14 10:20:08 +00:00
Timo Kreuzer c167f82226 [D3DX9_36/WINED3D]
- Remove useless copysignf invocation and the wrong defines for it
- BrokenHacksOnTopOfBrokenCode--;
- Should be sent upstream

svn path=/trunk/; revision=67709
2015-05-14 10:00:37 +00:00