reactos.git
8 years ago[SHELL32] [INF]
Daniel Reimer [Mon, 10 Aug 2015 14:18:40 +0000 (14:18 +0000)]
[SHELL32] [INF]
Improvements to winhlp32 by Jared Smudde
CORE-10002 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=68666

8 years ago[SHELL32]
Daniel Reimer [Mon, 10 Aug 2015 13:25:16 +0000 (13:25 +0000)]
[SHELL32]
New Programs Folder Icon by Jared Smudde
CORE-9948 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=68665

8 years ago[EXPLORER]
Daniel Reimer [Mon, 10 Aug 2015 13:18:03 +0000 (13:18 +0000)]
[EXPLORER]
Improve taskbar properties bitmaps by Jared Smudde
CORE-9949 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=68664

8 years ago[EVENTVWR]
Daniel Reimer [Mon, 10 Aug 2015 13:14:40 +0000 (13:14 +0000)]
[EVENTVWR]
.... sorry, forgot this...

svn path=/trunk/; revision=68663

8 years ago[MSCUTILS]
Daniel Reimer [Mon, 10 Aug 2015 13:12:58 +0000 (13:12 +0000)]
[MSCUTILS]
Image improvements by Jared Smudde
CORE-9966 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=68662

8 years ago[ROSTESTS]
Christoph von Wittich [Mon, 10 Aug 2015 11:42:19 +0000 (11:42 +0000)]
[ROSTESTS]
move test.dll back to testdata folder

svn path=/trunk/; revision=68661

8 years ago[NTOS:MM]
Thomas Faber [Mon, 10 Aug 2015 10:57:24 +0000 (10:57 +0000)]
[NTOS:MM]
- Fix broken typing/FIXMEs in ExeFmtpCreateImageSection

svn path=/trunk/; revision=68660

8 years ago[SETUPAPI] add support for LZ compressed files. fixes ATI Radeon driver installation...
Christoph von Wittich [Mon, 10 Aug 2015 10:52:21 +0000 (10:52 +0000)]
[SETUPAPI] add support for LZ compressed files. fixes ATI Radeon driver installation by inf CORE-10000

svn path=/trunk/; revision=68659

8 years ago[SHIMGVW]
Daniel Reimer [Mon, 10 Aug 2015 10:23:55 +0000 (10:23 +0000)]
[SHIMGVW]
File navigation with left and right keys by Carlo Bramini
CORE-9608 #resolve #comment Committed, thx for help. ^^

svn path=/trunk/; revision=68658

8 years ago[RAPPS]
Daniel Reimer [Mon, 10 Aug 2015 10:12:20 +0000 (10:12 +0000)]
[RAPPS]
New programs for rapps by Petr Akhlamov
CORE-9152 #comment Partial sync skipping DFend and QBittorrent AND WinFF because there is no direct link mirror. Additionally I updated the stuff to more recent versions AND fixed the D/L links....

svn path=/trunk/; revision=68657

8 years ago[RAPPS]
Daniel Reimer [Mon, 10 Aug 2015 09:10:12 +0000 (09:10 +0000)]
[RAPPS]
Update Java to fix important security holes ^^
Move VBA to games section where it belongs

svn path=/trunk/; revision=68656

8 years ago[RAPPS]
Daniel Reimer [Mon, 10 Aug 2015 09:02:36 +0000 (09:02 +0000)]
[RAPPS]
Adding New Apps for rapps and Removing Some Unneedful Spaces in aklepad.txt by Henry Tang Ih
CORE-9953 #comment, Patch committed incl. German translation and some fixes. Still missing: Unlocker and GNU Octave

svn path=/trunk/; revision=68655

8 years ago[LDR]
Aleksey Bragin [Sun, 9 Aug 2015 14:54:45 +0000 (14:54 +0000)]
[LDR]
- Use newer implementation of RtlActivateActivationContextUnsafeFast(): its time finally has come (see r52615 and r52612). It returns proper return value instead of pushing STATUS_SUCCESS into PRTL_ACTIVATION_CONTEXT_STACK_FRAME type and its "Trying to activate improper activation context" warning pops up all the time (its disabled in trunk to prevent debug log spam).

svn path=/trunk/; revision=68654

8 years ago[LDR]
Aleksey Bragin [Sun, 9 Aug 2015 14:20:40 +0000 (14:20 +0000)]
[LDR]
- Add debug prints to aid tracing the activation context stuff problems. Turned off by default.

svn path=/trunk/; revision=68653

8 years agoShow a warning page, when a user tries to delete an active partition.
Eric Kohl [Sun, 9 Aug 2015 13:14:00 +0000 (13:14 +0000)]
Show a warning page, when a user tries to delete an active partition.
CORE-9996 #resolve

svn path=/trunk/; revision=68652

8 years ago[FUSION] store the PDB files in a different directory to avoid name collisions. Patch...
Christoph von Wittich [Sun, 9 Aug 2015 13:10:17 +0000 (13:10 +0000)]
[FUSION] store the PDB files in a different directory to avoid name collisions. Patch by Amine

svn path=/trunk/; revision=68651

8 years ago[FUSION] Use a static library instead of an objects one. Fix MSVC build. Brought...
Daniel Reimer [Sun, 9 Aug 2015 10:24:37 +0000 (10:24 +0000)]
[FUSION] Use a static library instead of an objects one. Fix MSVC build. Brought to you by Amine!

svn path=/trunk/; revision=68650

8 years ago[CMAKE] Include TARGET_OBJECTS expressions in SOURCES target property output. Patch...
Daniel Reimer [Sun, 9 Aug 2015 09:50:46 +0000 (09:50 +0000)]
[CMAKE] Include TARGET_OBJECTS expressions in SOURCES target property output. Patch by Amine Khaldi

svn path=/trunk/; revision=68649

8 years ago[RAPPS]
Daniel Reimer [Sun, 9 Aug 2015 09:31:12 +0000 (09:31 +0000)]
[RAPPS]
Adding New Apps for rapps and Removing Some Unneedful Spaces in aklepad.txt by Erdem Ersoy
CORE-9953 #comment Added Agat, Audacity, Gens, HexEdit, Shed, UltraISO and VBA-SDL because of the prove in image form that it works. Rest ist still not committed.
+ Removed the UTF BOMs again!
+ Added German Translations
+ Corrected the Coding to UTF-8

svn path=/trunk/; revision=68648

8 years ago[FUSION] Use different base addresses for the fusion dlls to prevent relocations...
Christoph von Wittich [Sun, 9 Aug 2015 09:27:30 +0000 (09:27 +0000)]
[FUSION] Use different base addresses for the fusion dlls to prevent relocations. Brought to you by Amine! CORE-9992

svn path=/trunk/; revision=68647

8 years ago[RAPPS]
Daniel Reimer [Sun, 9 Aug 2015 08:27:45 +0000 (08:27 +0000)]
[RAPPS]
Add pack of themes Watercolor 4.3 by Alexander Rechitskiy
CORE-9814 #resolve #comment Added to RAPPS

svn path=/trunk/; revision=68646

8 years ago[shell32]
Daniel Reimer [Sun, 9 Aug 2015 07:56:47 +0000 (07:56 +0000)]
[shell32]
Change Trash to Recycle Bin by Lee Schroeder
CORE-8391 #resolve #comment Committed the big one with changes to all RC files, because it's the right way to do that. All these strings are originated from the english resource and NEVER were translated up to now, so we keep these strings in sync. Second argument. Trash is not the right word here (YES, a non native dares to say this ^^) We use the Windows way here, unless someone gives me a REALLY good reason not to ^^

svn path=/trunk/; revision=68645

8 years ago[TRANSLATION]
Daniel Reimer [Sun, 9 Aug 2015 07:44:57 +0000 (07:44 +0000)]
[TRANSLATION]
Updating Turkish Translation by Erdem Ersoy
CORE-9873 #resolve #comment Committed 01.08 patch + USETUP and INF file, thx for help.

svn path=/trunk/; revision=68644

8 years ago[TRANSLATION]
Daniel Reimer [Sun, 9 Aug 2015 07:39:29 +0000 (07:39 +0000)]
[TRANSLATION]
New File For Turkish Translation Notes by Erdem Ersoy
CORE-9894 #resolve #comment Committed.

svn path=/trunk/; revision=68643

8 years ago[SYSDM]
Daniel Reimer [Sun, 9 Aug 2015 07:34:07 +0000 (07:34 +0000)]
[SYSDM]
Translation fix dll/cpl/sysdm/lang/nl by learn_more
CORE-9905 #resolve #comment Committed, thx for help ^^

svn path=/trunk/; revision=68642

8 years ago[TRANSLATION]
Daniel Reimer [Sun, 9 Aug 2015 07:28:19 +0000 (07:28 +0000)]
[TRANSLATION]
Polish translation update by Adam Stachowicz
CORE-9964 #resolve #comment Committed, thx for help ^^

svn path=/trunk/; revision=68641

8 years ago[VMWINST]
Daniel Reimer [Sat, 8 Aug 2015 17:34:51 +0000 (17:34 +0000)]
[VMWINST]
Goodbye VMWInst, you served us well in a time loooooong ago ^^

svn path=/trunk/; revision=68640

8 years ago[user32]
Daniel Reimer [Sat, 8 Aug 2015 17:28:56 +0000 (17:28 +0000)]
[user32]
Improve OIC_SAMPLE icon by Jared Smudde
CORE-9896 #resolve #comment Committed, thx for help ^^

svn path=/trunk/; revision=68639

8 years ago[NTVDM]: Addendum to r68609 (explicitely mention that the CS segment is the one of...
Hermès Bélusca-Maïto [Sat, 8 Aug 2015 17:27:23 +0000 (17:27 +0000)]
[NTVDM]: Addendum to r68609 (explicitely mention that the CS segment is the one of the caller). Add a debug print.

svn path=/trunk/; revision=68638

8 years ago[shimgvw]
Daniel Reimer [Sat, 8 Aug 2015 16:46:46 +0000 (16:46 +0000)]
[shimgvw]
Add icons for different images by Jared Smudde
CORE-9926 #resolve #comment Committed, thx for help ^^

svn path=/trunk/; revision=68637

8 years ago[NTMARTA]
Thomas Faber [Sat, 8 Aug 2015 16:37:55 +0000 (16:37 +0000)]
[NTMARTA]
- In AccpOpenNamedObject, immediately save the last error in case of OpenService failure instead of calling another function in between.
CORE-9990 #resolve

svn path=/trunk/; revision=68636

8 years ago[RAPPS]
Daniel Reimer [Sat, 8 Aug 2015 15:59:39 +0000 (15:59 +0000)]
[RAPPS]
Add winspy++ to rapps by Stefano Toncich
CORE-9659 #resolve #comment Committed with swyter's suggestions and a german translation included.

svn path=/trunk/; revision=68635

8 years ago[TRANSLATION]
Daniel Reimer [Sat, 8 Aug 2015 15:48:10 +0000 (15:48 +0000)]
[TRANSLATION]
Add/Update Chinese (zh-CN) translation by Henry Tang Ih
CORE-9003 #comment All v6 patches committed. Thx for help. ^^

svn path=/trunk/; revision=68634

8 years ago[BROWSEUI]
Daniel Reimer [Sat, 8 Aug 2015 15:39:43 +0000 (15:39 +0000)]
[BROWSEUI]
Missing italian translations in ReactOS by Carlo Bramini
CORE-9725 #comment browseui patch committed.

svn path=/trunk/; revision=68633

8 years ago[RAPPS]
Daniel Reimer [Sat, 8 Aug 2015 15:32:41 +0000 (15:32 +0000)]
[RAPPS]
Add winmerge to rapps
CORE-9954 #resolve #comment Added to rapps.

svn path=/trunk/; revision=68632

8 years ago[RAPPS]
Daniel Reimer [Sat, 8 Aug 2015 15:27:41 +0000 (15:27 +0000)]
[RAPPS]
Add Scribus 1.4.5 to rapps by Henry Tang Ih
CORE-9751 #resolve #comment Added to rapps.

svn path=/trunk/; revision=68631

8 years ago[WIN32K:NTGDI]
Thomas Faber [Sat, 8 Aug 2015 14:57:47 +0000 (14:57 +0000)]
[WIN32K:NTGDI]
- Improve invalid parameter handling in IntGdiExtCreatePen. Patch by Benedikt Freisen.
CORE-9740 #resolve

svn path=/trunk/; revision=68630

8 years ago[SETUPAPI]
Christoph von Wittich [Sat, 8 Aug 2015 13:20:39 +0000 (13:20 +0000)]
[SETUPAPI]
RequiredSize must be in characters in SetupGetInfFileListW

svn path=/trunk/; revision=68629

8 years ago[SETUPAPI]
Christoph von Wittich [Sat, 8 Aug 2015 12:53:32 +0000 (12:53 +0000)]
[SETUPAPI]
set the correct LastError in case of failure

svn path=/trunk/; revision=68628

8 years ago[WSCRIPT]
Thomas Faber [Sat, 8 Aug 2015 11:36:49 +0000 (11:36 +0000)]
[WSCRIPT]
- Fix missing include that's required by midl

svn path=/trunk/; revision=68627

8 years ago[NTDLL:LDR]
Thomas Faber [Sat, 8 Aug 2015 11:32:43 +0000 (11:32 +0000)]
[NTDLL:LDR]
- Enable relocation debug prints again. While it's not a critical error anymore when they happen it's still critical for debugging issues.

svn path=/trunk/; revision=68626

8 years ago[RAPPS]
Daniel Reimer [Sat, 8 Aug 2015 10:23:41 +0000 (10:23 +0000)]
[RAPPS]
Database update

svn path=/trunk/; revision=68625

8 years ago[USERENV]
Thomas Faber [Sat, 8 Aug 2015 09:50:19 +0000 (09:50 +0000)]
[USERENV]
- Complain if GetUserProfileDirectoryW failed

svn path=/trunk/; revision=68624

8 years ago[GDI32_APITEST]
Christoph von Wittich [Sat, 8 Aug 2015 08:31:49 +0000 (08:31 +0000)]
[GDI32_APITEST]
-include the testdata in all targets
-load it from the correct path even when the application is using a different working directory

svn path=/trunk/; revision=68623

8 years ago[Win32k]
James Tabor [Sat, 8 Aug 2015 06:48:53 +0000 (06:48 +0000)]
[Win32k]
- Fix typo, see CORE-9989.
- Add caption text is truncated flag support.

svn path=/trunk/; revision=68622

8 years ago[Win32k]
James Tabor [Sat, 8 Aug 2015 00:25:04 +0000 (00:25 +0000)]
[Win32k]
- Move menu related functions. Support more system commands. Add a thread based menu structure.

svn path=/trunk/; revision=68621

8 years ago[FASTFAT]
Aleksandar Andrejevic [Fri, 7 Aug 2015 23:48:54 +0000 (23:48 +0000)]
[FASTFAT]
VfatWrite (but not VfatRead) is supposed to return STATUS_INVALID_USER_BUFFER
if an error occurred while locking the buffer.
[KERNEL32]
Reading 0 bytes using ReadFile doesn't always succeed on Windows.

svn path=/trunk/; revision=68620

8 years ago[NTOS:CC]
Aleksandar Andrejevic [Fri, 7 Aug 2015 19:17:40 +0000 (19:17 +0000)]
[NTOS:CC]
In CcCopyData, Buffer can be NULL during read/write operations.
[FASTFAT]
Use SEH to catch exceptions thrown by MmProbeAndLockPages.
Lock the user buffer before changing the file allocation size.

svn path=/trunk/; revision=68619

8 years ago[GDI32_APITEST]
Christoph von Wittich [Fri, 7 Aug 2015 17:40:55 +0000 (17:40 +0000)]
[GDI32_APITEST]
use correct testdata path

svn path=/trunk/; revision=68618

8 years ago[USER32]
Thomas Faber [Fri, 7 Aug 2015 17:30:12 +0000 (17:30 +0000)]
[USER32]
- Make a debug print less useless

svn path=/trunk/; revision=68617

8 years ago[BOOTDATA]
Christoph von Wittich [Fri, 7 Aug 2015 17:22:00 +0000 (17:22 +0000)]
[BOOTDATA]
rename data folder to testdata

svn path=/trunk/; revision=68616

8 years ago[WINLOGON]
Thomas Faber [Fri, 7 Aug 2015 16:28:49 +0000 (16:28 +0000)]
[WINLOGON]
- Load sfc_os.dll because applications have a tendency to create remote threads in winlogon with sfc_os function pointers, assuming that it is loaded. See https://bitsum.com/aboutwfp.asp
CORE-9598 #resolve

svn path=/trunk/; revision=68615

8 years agoAdjust file header according to the previous commit.
Hermès Bélusca-Maïto [Fri, 7 Aug 2015 16:12:06 +0000 (16:12 +0000)]
Adjust file header according to the previous commit.

svn path=/trunk/; revision=68614

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Fri, 7 Aug 2015 16:10:18 +0000 (16:10 +0000)]
[NTVDM]

PS2:
- By default all the PS/2 ports are disabled. They become enabled by the BIOS at the POST step.
- Similarly it is the BIOS POST that sets up the PS/2 controller configuration byte.
- Synchronize the value of bit 2 "System flag" and bit 4 "Keyboard enable flag" in the status register, according to what is set in the controller configuration register. What is the "keyboard enable flag" ? See http://www.os2museum.com/wp/the-dos-4-0-shell-mouse-mystery/ for more details...

HW MOUSE:
- Resetting the mouse sends also an ACKnowledge byte too...

BIOS32:
- Fix the reported number of bytes in the BIOS configuration table.
- Enable the PS/2 ports in the POST.
- Implement the "Pointing Device BIOS Interface" INT 15h, AH=C2h, AL=00h...09h based on VBox OSE & SeaBIOS; we should make our PS/2 mouse driver use it.

The real call to INT 15h, AH=C2h function is still disabled because our mouse driver doesn't react well with it, when we run some applications like MS Diagnostics.

PS2 MOUSE DRV:
- Update copyright notice;
- Remove 2 useless functions;
- I've put in comments in the code the places where calls to the BIOS ps/2 mouse interface are needed.

svn path=/trunk/; revision=68613

8 years ago[NTOS:MM]
Thomas Faber [Fri, 7 Aug 2015 16:09:02 +0000 (16:09 +0000)]
[NTOS:MM]
- Arch, don't remove all the page protections
CORE-9808

svn path=/trunk/; revision=68612

8 years ago[NTOS:MM]
Thomas Faber [Fri, 7 Aug 2015 15:52:04 +0000 (15:52 +0000)]
[NTOS:MM]
- Allow (and then ignore) PAGE_NOCACHE in the protection flags for MmMapViewOfSection
CORE-9808

svn path=/trunk/; revision=68611

8 years ago[NTVDM]: Fix few file headers.
Hermès Bélusca-Maïto [Fri, 7 Aug 2015 15:50:09 +0000 (15:50 +0000)]
[NTVDM]: Fix few file headers.

svn path=/trunk/; revision=68610

8 years ago[NTVDM]: DOS: When we create a new PSP, or terminate a TSR, we *must* use the code...
Hermès Bélusca-Maïto [Fri, 7 Aug 2015 15:14:19 +0000 (15:14 +0000)]
[NTVDM]: DOS: When we create a new PSP, or terminate a TSR, we *must* use the code segment value of the CALLER!! and not the current one (DOS code segment). Should fix a lot of stuff...

svn path=/trunk/; revision=68609

8 years ago[NtGdi]
James Tabor [Fri, 7 Aug 2015 05:56:01 +0000 (05:56 +0000)]
[NtGdi]
- Add more function for NtUser.

svn path=/trunk/; revision=68608

8 years ago[FASTFAT]
Aleksandar Andrejevic [Fri, 7 Aug 2015 03:30:05 +0000 (03:30 +0000)]
[FASTFAT]
Irp->UserBuffer being NULL doesn't indicate any error. It could be that the
caller really wants the result stored at address NULL (which can be valid,
and is valid by default for programs like NTVDM).

svn path=/trunk/; revision=68607

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Thu, 6 Aug 2015 23:00:17 +0000 (23:00 +0000)]
[NTVDM]
- Copy-paste error fix in the initialization of the collating table.
- Fix DosCombineFreeBlocks so that it doesn't say "DOS memory arena corrupted" because while combining blocks, the current block became the last one and we tried to merge it with a next block which, by definition, cannot exist (see comment in the code).
- Remove a spurious call to DosCombineFreeBlocks in DosResizeMemory which was forgotten in r68596.
- Check the validity of the encountered MCBs during the loop for linking or unlinking the UMB chain to the main arena chain.
- Fix the size of the created UMB blocks.

svn path=/trunk/; revision=68606

8 years ago[User32]
James Tabor [Thu, 6 Aug 2015 13:17:27 +0000 (13:17 +0000)]
[User32]
- Fix a old code port that was missed from the last menu rewrite.

svn path=/trunk/; revision=68605

8 years ago[NTVDM]:
Hermès Bélusca-Maïto [Thu, 6 Aug 2015 01:32:38 +0000 (01:32 +0000)]
[NTVDM]:
- Use a static buffer for read or writes of "few" bytes (and allocate one for larger operations).
- Writes of zero length, in DOS, truncates or extends the file to the current position of the file pointer. This fixes some "corruption" in some files (so far, only .INI files) in Windows 3.11 installation.

svn path=/trunk/; revision=68604

8 years ago[Win32SS]
James Tabor [Thu, 6 Aug 2015 00:56:01 +0000 (00:56 +0000)]
[Win32SS]
- Implement OEM bitmaps sizes for server information. If more is need, it will be added. This will be plugged in later.

svn path=/trunk/; revision=68603

8 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 5 Aug 2015 20:46:42 +0000 (20:46 +0000)]
[NTVDM]
Make our VGA DAC behave like the cirrus one: palette changes do not apply
until all 3 color components have been set.

svn path=/trunk/; revision=68602

8 years ago[NTVDM]: EMS functions.
Hermès Bélusca-Maïto [Wed, 5 Aug 2015 19:06:58 +0000 (19:06 +0000)]
[NTVDM]: EMS functions.
- Implement function 4Dh "Get All Handles Number of Pages", 54h "Get Handle Directory / Search for Named Handle / Get Total Number of Handles"
- Fix the return error of few functions.
- Start handling the "system handle" (special handle 0; see the specs for more details); WIP.

svn path=/trunk/; revision=68601

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Wed, 5 Aug 2015 15:12:46 +0000 (15:12 +0000)]
[NTVDM]
- Increase the maximum number of EMS handles to the maximum permitted by the specification (ie. 255 handles)
- Zero out EMS handles names.
- EMS status are always returned in the AH register!
- Implement functions 4Bh "Get Number of Opened Handles" and 4Ch "Get Handle Number of Pages"
- Remove an hardcoded value.
- Cosmetic change: rename EMS_STATUS_OK to EMS_STATUS_SUCCESS to comply with the name convention used also in XMS, etc...

svn path=/trunk/; revision=68600

8 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 5 Aug 2015 03:57:28 +0000 (03:57 +0000)]
[NTVDM]
Implement EMS function AH = 58h "Get Mappable Physical Physical Address Array".

svn path=/trunk/; revision=68599

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 4 Aug 2015 20:17:05 +0000 (20:17 +0000)]
[NTVDM]

- Add some level of "Advanced debugging" (see ntvdm.h) which one can adjust to enable/disable debugging features inside NTVDM (this can be useful as long as NTVDM is under heavy bugfixing. When it will be more perfect, this stuff will be removed).
- Add the possibility to load option ROMs at a given segment. Currently their list should be specified from inside ntvdm.c (in the BiosInitialize call), but I plan to make it available from a registry option (or via command-line for NTVDM-standalone mode).
- Start to separate the initialization of "static" BIOS data (stuff that lives in ROM space) and initialization of "dynamic" BIOS data (eg. initializing the interrupt vector table, the BIOS data area at segment 40h, ...) so that we may be able to reuse part of our code to be able to more-or-less run external (16-bit) BIOSes, or the Windows NTVDM BIOS that uses BOPs to run some of its stuff in ntvdm in 32-bit (as we do for our 32-bit BIOS, except that *all* of our bios is 32-bit, not just some parts). Also, some file reorganization will be in order there soon...

- Add video BIOS version information in memory so that tools such as Microsoft Diagnostics can correctly recognize our video BIOS (btw, we try to emulate the functionality of Cirrus' CL-GD5434).
- Correctly put video BIOS ROM header (+ checksum) in memory so that it is recognized as such by diagnostics tools.
- During BIOS POST, scan for ROMs starting segment 0xC000 (where video ROMs reside).
- Store statically the BIOS configuration table.

- Fix INT 16h, AH=12h "Get extended shift states" so that it correctly returns the state of right Ctrl and Alt keys.
- Fix bit-setting state; report that our keyboard is 101/102 enhanced keyboard.
- Correctly set the error return values (AH=86h and CF set) when a function of INT 15h is unsupported.
- Implement INT 15h, AH=C9h "Get CPU Type and Mask Revision"; INT 1Ah, AH=02h "Get Real-Time Clock Time" and Ah=04h "Get Real-Time Clock Date" by reading the CMOS.
- Implement CMOS century register support.

svn path=/trunk/; revision=68598

8 years agoRemove a useless check.
Hermès Bélusca-Maïto [Tue, 4 Aug 2015 19:47:50 +0000 (19:47 +0000)]
Remove a useless check.

svn path=/trunk/; revision=68597

8 years ago[NTVDM]: By default, disable run-time DOS memory arena integrity checks (which was...
Hermès Bélusca-Maïto [Tue, 4 Aug 2015 19:46:52 +0000 (19:46 +0000)]
[NTVDM]: By default, disable run-time DOS memory arena integrity checks (which was introduced along with UMB stuff in r68586).

svn path=/trunk/; revision=68596

8 years ago[CDFS]
Pierre Schweitzer [Sun, 2 Aug 2015 12:29:59 +0000 (12:29 +0000)]
[CDFS]
Remove broken check. Broken cases are already handled by upper if case.
This fixes the regression that leaded some valid ISOs not to be read anymore by ReactOS

CORE-9254

svn path=/trunk/; revision=68595

8 years ago[NTOS:SE]
Thomas Faber [Sun, 2 Aug 2015 12:17:10 +0000 (12:17 +0000)]
[NTOS:SE]
- Allow any valid ACE revision in SepPropagateAcl
CORE-9955 #resolve

svn path=/trunk/; revision=68594

8 years ago[NTOS:MM]
Thomas Faber [Sun, 2 Aug 2015 09:15:39 +0000 (09:15 +0000)]
[NTOS:MM]
- Don't accept 64 bit PE files on x86 (will cause use of uninitialized variable ImageBase). CORE-9955
- Remove a pointless check in MmMapViewOfSection

svn path=/trunk/; revision=68593

8 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 1 Aug 2015 21:48:06 +0000 (21:48 +0000)]
[NTVDM]
Implement XMS function 0Fh (Reallocate Extended Memory Block).

svn path=/trunk/; revision=68592

8 years ago[NTVDM]: Fix the return code of 2 functions.
Hermès Bélusca-Maïto [Sat, 1 Aug 2015 21:40:58 +0000 (21:40 +0000)]
[NTVDM]: Fix the return code of 2 functions.

svn path=/trunk/; revision=68591

8 years ago[PARPORT]
Eric Kohl [Sat, 1 Aug 2015 19:41:24 +0000 (19:41 +0000)]
[PARPORT]
Remove DPRINTs from PdoWrite.
CORE-9942 #resolve

svn path=/trunk/; revision=68590

8 years ago[NTVDM]: Use the while() construct for looping into doubly-linked lists where we...
Hermès Bélusca-Maïto [Sat, 1 Aug 2015 18:56:44 +0000 (18:56 +0000)]
[NTVDM]: Use the while() construct for looping into doubly-linked lists where we can remove items from it in the middle of the loop code.

svn path=/trunk/; revision=68589

8 years ago[PARPORT]
Eric Kohl [Sat, 1 Aug 2015 18:02:45 +0000 (18:02 +0000)]
[PARPORT]
- Add support for IRP_MJ_READ.
- IRP_MJ_READ and IRP_MJ_WRITE return STATUS_NOT_SUPPORTED for FDO devices.

svn path=/trunk/; revision=68588

8 years ago[MSPAINT_NEW]
Hermès Bélusca-Maïto [Sat, 1 Aug 2015 17:30:17 +0000 (17:30 +0000)]
[MSPAINT_NEW]
Fix build on MSVC by rewriting the code in *STANDARD* C++ !! (and not into some strange idiom called "GCC-C++"). I suggest also to write a proper class for dynamically-allocated (resource) strings instead of either having the static arrays of hardcoded sizes, or being tempted to use non-standard constructs as the one I just saw.
(and btw, instead of defining a new "SIZEOF()" macro, there is one which already exists in the PSDK called "ARRAYSIZE()" which just does the correct job).

svn path=/trunk/; revision=68587

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 1 Aug 2015 17:07:07 +0000 (17:07 +0000)]
[NTVDM]

EMS:
- Introduce (and use) helpers for checking validity of EMS handles.
- Do not hardcode the EMS page frame segment, but instead allow it to be changed (for now, it is still set to a default value; in the future, via some configuration file or via the registry). This is done by acquiring a UMB block (see after).

XMS:
- Implement functions 0x01 "Request HMA" and 0x02 "Release HMA".
- Fix the return value of functions 0x04 "Global disable A20" and 0x08 "Query free Extended Memory"; simplify code of function 0x0B "Move EMB".
- Halfplement function 0x0F "Reallocate Extended Memory Block" in the simple case of size reduction (size expansion is left to the programmer as an exercise :PP )
- Rewrite the UMB provider support (functions 0x10, 0x11, 0x12) by calling the Upper Memory Area manager helpers (see after) (this is closer to reality: UMBs are either provided by XMS driver itself, or by an EMS driver which hooks into the XMS driver chain -- as it is done with MS' himem+EMM386; sometimes all that stuff is contained inside one driver only --) instead of calling back into DOS. This is the DOS which calls XMS for getting the UMB blocks and initializing them! (and not the other way around as it was done in r68001!).

NTVDM:
- Introduce an "Upper Memory Area manager" which maintains a list of areas of upper memory (>= A000:0000 and <= FFFF:000F) that can be used as RAM blocks. It is intended to work closely with the NTVDM memory manager and be used by XMS for getting possible free UMBs, and by VDDs for implementing the VDDInclude/ExcludeMem APIs (which adds/remove blocks in/from the UMB pool; those are unaccessible to DOS if those APIs are called after NTVDM have been started, but are accessible by XMS).

DOS:
- Add a helper function for detecting early DOS arena corruptions (for debugging purposes only).
- Make the DOS memory manager really UMB-compatible. This means:
  * not hardcoding the start of the UMB chain;
  * getting all the available UMB blocks from XMS and initializing them, marking the reserved blocks as read-only (with a correct header; reserved blocks are eg. VGA memory area, ROM blocks...).

There is room for improvements obviously (see the FIXMEs in the code). Used documentation is mentioned in comments in the code.

This commit should fix quite some apps, as well as it fixes corruptions of loaded ROMs in upper memory: that's how I came into working on fixing the UMB support. In other words, during those two last weeks, I was like in: http://i.imgur.com/zoWpqEB.gifv

CORE-9969 #resolve

svn path=/trunk/; revision=68586

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 1 Aug 2015 12:41:22 +0000 (12:41 +0000)]
[NTVDM]
- Remove some hardcoded values.
- Reshuffle again DOS initialization to better reflect how it is done in the real world (see "Advanced MS-DOS Programming" by Ray Duncan, Chapter 2 "MS-DOS in Operation"): split DOS data stuff into DOS BIOS data, and DOS kernel data areas.

In preparation for an upcoming commit.

svn path=/trunk/; revision=68585

8 years ago[MSPAINT_NEW]
Benedikt Freisen [Fri, 31 Jul 2015 17:33:21 +0000 (17:33 +0000)]
[MSPAINT_NEW]
- use optimal buffer size to load null terminated strings using LoadString
- add printing-related menu entries and dialogs (no printing functionality yet)

svn path=/trunk/; revision=68584

8 years ago[NtGdi]
James Tabor [Fri, 31 Jul 2015 06:55:22 +0000 (06:55 +0000)]
[NtGdi]
- Fix locking.

svn path=/trunk/; revision=68583

8 years ago[Win32SS]
James Tabor [Thu, 30 Jul 2015 07:49:09 +0000 (07:49 +0000)]
[Win32SS]
- Start ordering functions into separate files.

svn path=/trunk/; revision=68582

8 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 29 Jul 2015 02:03:48 +0000 (02:03 +0000)]
[NTVDM]
- Combine free blocks after resizing.
- Fix the LastParagraph value in the PSP.

svn path=/trunk/; revision=68581

8 years ago[EXPLORER]
David Quintana [Wed, 29 Jul 2015 01:29:29 +0000 (01:29 +0000)]
[EXPLORER]
* Rework the WIN7_COMPAT_MODE into actually just disabling the incompatible functions, and introduce WIN7_DEBUG_MODE which does the rest of the "hacks" I used to ease development.

svn path=/trunk/; revision=68580

8 years ago[PARPORT]
Eric Kohl [Sun, 26 Jul 2015 19:30:21 +0000 (19:30 +0000)]
[PARPORT]
Reduce the minimum I/O-Range size for parallel ports to 4. This fixes port detection on VMware.
Found by Colin Finck.

svn path=/trunk/; revision=68579

8 years ago[ROSAUTOTEST]
Thomas Faber [Sun, 26 Jul 2015 10:02:03 +0000 (10:02 +0000)]
[ROSAUTOTEST]
- When directly submitting the results to the web service, make sure to URL-encode the test log, or & signs will terminate the log and make Testman see the test as crashed (and have all other kinds of possible consequences)

svn path=/trunk/; revision=68578

8 years ago[WS2_32_APITEST]
Thomas Faber [Sun, 26 Jul 2015 09:26:29 +0000 (09:26 +0000)]
[WS2_32_APITEST]
- Apparently doesntexist.reactos.org... exists

svn path=/trunk/; revision=68577

8 years ago[USER32_WINETEST]
Thomas Faber [Sun, 26 Jul 2015 09:11:08 +0000 (09:11 +0000)]
[USER32_WINETEST]
- Skip test_paintingloop instead of test_paint_messages? Grml
ROSTESTS-18

svn path=/trunk/; revision=68576

8 years ago[USER32_WINETEST]
Thomas Faber [Sun, 26 Jul 2015 08:41:13 +0000 (08:41 +0000)]
[USER32_WINETEST]
- Skip user32:msg_paint test_paint_messages if running on Windows in non-interactive mode. This should allow WHS-Testbot to get a bit further
ROSTESTS-185
ONLINE-441 ROSTESTS-184

svn path=/trunk/; revision=68575

8 years ago[KMTESTS:RTL]
Thomas Faber [Sun, 26 Jul 2015 08:05:07 +0000 (08:05 +0000)]
[KMTESTS:RTL]
- Fix build
CORE-9947

svn path=/trunk/; revision=68574

8 years ago[PSDK]
Thomas Faber [Sun, 26 Jul 2015 08:03:02 +0000 (08:03 +0000)]
[PSDK]
- Add support for intsafe signed Add functions
- Guard signed math in ENABLE_INTSAFE_SIGNED_FUNCTIONS
CORE-9947 #resolve

svn path=/trunk/; revision=68573

8 years ago[PSDK]
Thomas Faber [Sun, 26 Jul 2015 07:48:24 +0000 (07:48 +0000)]
[PSDK]
- intsafe: use the correct type to check overflow in DEFINE_SAFE_ADD
CORE-9946 #resolve

svn path=/trunk/; revision=68572

8 years ago[NTOSKRNL]
Eric Kohl [Sat, 25 Jul 2015 11:53:16 +0000 (11:53 +0000)]
[NTOSKRNL]
NtQuerySystemInformation:
- Windows Vista and later: Check the information class before probing the buffer.
- Pre-Vista Windows: Check the information class after probing the buffer.
- Pre-Vista Windows: Fixed the aligment check for invalid information classes.
- Pre-Vista Windows: The SystemFlagsInformation and SystemKernelDebuggerInformation classes return no required length in case of an error.
This fixes all ntdll_apitest:NtSystemInformation fails.

svn path=/trunk/; revision=68571

8 years ago[NTOSKRNL]
Eric Kohl [Sat, 25 Jul 2015 10:21:18 +0000 (10:21 +0000)]
[NTOSKRNL]
Revert r68346.
CORE-9933 #resolve

svn path=/trunk/; revision=68570

8 years ago[DIKPART]
Eric Kohl [Fri, 24 Jul 2015 20:02:56 +0000 (20:02 +0000)]
[DIKPART]
Implement the RESCAN command.

svn path=/trunk/; revision=68569

8 years ago[User32]
James Tabor [Fri, 24 Jul 2015 10:16:53 +0000 (10:16 +0000)]
[User32]
- Fix check menu item and preserve the calling ID. See CORE-9884.

svn path=/trunk/; revision=68568

8 years ago[MSPAINT_NEW] move hDrawingDC and mirror/rotate stuff to ImageModel
Benedikt Freisen [Thu, 23 Jul 2015 13:52:02 +0000 (13:52 +0000)]
[MSPAINT_NEW] move hDrawingDC and mirror/rotate stuff to ImageModel

svn path=/trunk/; revision=68566