Commit graph

61971 commits

Author SHA1 Message Date
Christoph von Wittich 459dacc793 [NTOSKRNL]
fix a memory leak

svn path=/trunk/; revision=67378
2015-04-24 08:55:24 +00:00
Aleksandar Andrejevic 3a9b91f9d7 [NTVDM]
When the VGA memory map is A0000-BFFFF, mirror the bottom 64 KB into the top.
This should take care of all VGA addressing problems.


svn path=/trunk/; revision=67377
2015-04-24 01:05:50 +00:00
David Quintana 492d1e96d1 [RAPPS_NEW]
* Turn the files into .CPP, to ease future changes. All the code remains class-free for now, with one exception.
 * Adapt the download progress dialog implementation to ATL/C++, which is a best match for COM classes.
 * Add an ATL CModule class to the process, necessary for 
CORE-9593

svn path=/trunk/; revision=67376
2015-04-23 23:08:21 +00:00
Amine Khaldi 551a6399a2 [SHELL32][BROWSEUI] Implement SetAnimation so that AVIs from shell32 can be used when the progress dialog is in use. Brought to you by Robert Naumann. CORE-9327
svn path=/trunk/; revision=67375
2015-04-23 22:35:23 +00:00
Amine Khaldi 4cfa2fc11c [MSTSC] Make the combo box and text box equal sizes. Improve the save as dialog filter. By Jared Smudde. CORE-9596
svn path=/trunk/; revision=67374
2015-04-23 21:44:03 +00:00
Christoph von Wittich dc0ac57186 [TASKMGR]
fix process cpu time
CORE-9562

svn path=/trunk/; revision=67373
2015-04-23 20:18:38 +00:00
Thomas Faber 8492cfb611 [MSI]
- Apply Wine commit 55b678e1 (msi: Fix an invalid memory access (valgrind).) by Hans Leidekker

svn path=/trunk/; revision=67372
2015-04-23 19:56:02 +00:00
Amine Khaldi 25bb0d3a6f [BROWSEUI] Fix back and forward buttons so they work correctly. Brought to you by Fedor Zaytsev with an improvement suggested by Aleksey. CORE-8894
svn path=/trunk/; revision=67371
2015-04-23 18:54:56 +00:00
Thomas Faber bccac1a15b [NTDLL_APITEST]
- Gracefully handle failures in NtMapViewOfSection test. CORE-9189
- Correctly handle unterminated strings in NtQueryKey test. Powered by DPH.

svn path=/trunk/; revision=67370
2015-04-23 18:41:08 +00:00
Aleksandar Andrejevic e5533bb915 [NTVDM]
Store the return address in INT 22h as a far pointer.
The amount of memory stored in the Env variable is EnvSize, not sizeof(Env)
since Env is a pointer.


svn path=/trunk/; revision=67369
2015-04-23 15:19:48 +00:00
Christoph von Wittich a3d2dff6bc [CRT]
add ARM stub for chkstk_ms (Timo please review)

svn path=/trunk/; revision=67368
2015-04-23 12:27:08 +00:00
Christoph von Wittich 85567042ab [FREELDR]
rename boot.s to boot.S

svn path=/trunk/; revision=67367
2015-04-23 12:13:54 +00:00
Thomas Faber 4744fee712 [URLMON_WINETEST]
- Re-enable skipped protocol tests
ROSTESTS-165 #resolve

svn path=/trunk/; revision=67366
2015-04-23 11:32:20 +00:00
Thomas Faber d2d1f0f9fc [WININET]
- Add back our Winsock initialization ROS-diff. Wine has only partially fixed this at this point.
CORE-9588

svn path=/trunk/; revision=67365
2015-04-23 10:57:11 +00:00
Aleksandar Andrejevic 03c078dcc0 [BASESRV]
In BaseSrvGetNextVDMCommand, the VDM_FLAG_DONT_WAIT flag is enough to tell it not
to create a wait handle.


svn path=/trunk/; revision=67364
2015-04-23 02:53:08 +00:00
Aleksandar Andrejevic 60eacc928e [NTVDM][KERNEL32]
In DosCreateProcess, allocate space for the environment block dynamically and expand
it if needed, just like we do in CommandThreadProc.
In GetNextVDMCommand, remove the check that checks whether VDMState is one of
VDM_NOT_LOADED, VDM_NOT_READY or VDM_READY - that check makes no sense whatsoever,
since those aren't input values for that structure field. Their bit masks do correspond
to valid input fields, but even then the check makes no sense.


svn path=/trunk/; revision=67363
2015-04-23 02:30:53 +00:00
Aleksandar Andrejevic a8bc4cd508 [NTVDM]
Implement INT 21h, AH = 34h (Get Address of InDOS Flag).


svn path=/trunk/; revision=67362
2015-04-23 01:17:11 +00:00
Hermès Bélusca-Maïto 91dfded93d [NTVDM]
- Report A20 line status in the PS/2 controller output port.
- Properly implement XMS functions 3 and 5 (Global Enable/Disable A20 line), 4 and 6 (Local Enable/Disable A20 line) and 7 (Get A20 line status) using flag+counter and PS/2 I/O calls.
- Fix XMS driver version report.

svn path=/trunk/; revision=67361
2015-04-23 01:02:36 +00:00
Daniel Reimer 2273067742 [INF]
Add the recently added two font substitutes in livecd.inf either.

svn path=/trunk/; revision=67360
2015-04-22 22:52:32 +00:00
Amine Khaldi 526f31bf61 [SHELL32] Set default values for fields when volume information is not available. Fix drawing of free/used space pie chart when free space is 0 bytes. Disable editing of volume label for non-fixed disks. Brought to you by Barrett Karish. CORE-9595
svn path=/trunk/; revision=67359
2015-04-22 22:24:46 +00:00
Amine Khaldi 45816784bb [SHELL32] Fix improperly formatted or missing disk letter in disk Properties. By Barrett Karish. CORE-9532
svn path=/trunk/; revision=67358
2015-04-22 22:16:58 +00:00
Amine Khaldi cf73294f5a [GDI32] Add missing newline in a debug print.
svn path=/trunk/; revision=67357
2015-04-22 22:02:45 +00:00
Daniel Reimer d253af244e [NTVDM]
Add missing \n at DBGPRINT

svn path=/trunk/; revision=67356
2015-04-22 21:35:14 +00:00
Pierre Schweitzer 7576c6a523 [KERNEL32]
- Halfplement BasepGetComputerNameFromNtPath() which allows querying the computer name given a handle & an NT path
- Implement BasepNotifyTrackingService() which issues a FileTrackingInformation on file move

svn path=/trunk/; revision=67355
2015-04-22 21:20:35 +00:00
Amine Khaldi 4c58fa556c [URLMON_WINETEST] Skip test_ftp_protocol() because of timeouts. ROSTESTS-165
svn path=/trunk/; revision=67354
2015-04-22 20:48:13 +00:00
Thomas Faber a6840dcddd [GDI32][WIN32K:NTGDI]
- Correctly handle relative paths passed to AddFontResource*.
- Fix the user->kernel interface between GdiAddFontResourceW and NtGdiAddFontResourceW
Patch by Víctor Martínez Calvo.
CORE-9079

svn path=/trunk/; revision=67353
2015-04-22 20:24:29 +00:00
Aleksandar Andrejevic 0d91854d88 [NTVDM]
Implement the XMS functions AH = 03h and AH = 04h (global enable/disable A20).
Make the GetHandleRecord function in the EMS driver inline.
CORE-8277 #comment Please retest.


svn path=/trunk/; revision=67352
2015-04-22 19:56:50 +00:00
Hermès Bélusca-Maïto 82b6b75ea9 [NTVDM]
- Fix copy-paste error in the initialization of DriverHeader.
- Use BOP_... syntax for BOP #define names (to comply with the rest of the code).

svn path=/trunk/; revision=67351
2015-04-22 17:27:35 +00:00
Amine Khaldi cc6f5b085a [RAPPS_NEW] Use rapps as base for implementing the new Applications Manager for ReactOS CE. CORE-9593
svn path=/trunk/; revision=67350
2015-04-22 16:53:55 +00:00
Thomas Faber 1d58087ea8 [NTDLL_APITEST]
- Ensure 4-byte alignment for ATOM_BASIC_INFORMATION
CORE-6994 #resolve

svn path=/trunk/; revision=67349
2015-04-22 15:50:00 +00:00
Amine Khaldi 3c53bca528 [URLMON_WINETEST] Skip test_http_protocol() and test_https_protocol() because of timeouts. ROSTESTS-165
svn path=/trunk/; revision=67348
2015-04-22 12:44:36 +00:00
Aleksandar Andrejevic ffb82658c9 [NTVDM]
Avoid array indexing with invalid indexes, always.


svn path=/trunk/; revision=67347
2015-04-22 12:13:14 +00:00
Amine Khaldi f1c1d10824 [XDK] Partially revert r67338. We already have this in ntifs.h
svn path=/trunk/; revision=67346
2015-04-22 08:49:35 +00:00
Amine Khaldi 46aa5717e7 [PSDK] Add missing KF_FLAG_DEFAULT_PATH definition.
svn path=/trunk/; revision=67345
2015-04-22 08:44:41 +00:00
Amine Khaldi 4295aef9da [WININET_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67344
2015-04-22 08:38:32 +00:00
Amine Khaldi 4d912f865f [WININET] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67343
2015-04-22 08:30:31 +00:00
Thomas Faber c120a9cf67 [SHELL32]
- Add colon after driver letter in Check Disk dialog title. Patch by Barrett Karish
CORE-9583 #resolve

svn path=/trunk/; revision=67342
2015-04-22 07:23:49 +00:00
Aleksandar Andrejevic 3ced4390c5 [FAST486]
Fix compilation when FAST486_NO_PREFETCH is set.


svn path=/trunk/; revision=67341
2015-04-22 03:11:03 +00:00
Aleksandar Andrejevic 25840ba03f [NTVDM]
Implement basic XMS functions.


svn path=/trunk/; revision=67340
2015-04-22 03:10:11 +00:00
Aleksandar Andrejevic 274901555c [NTVDM]
- Move the EMS code from the BIOS to the DOS driver where it belongs.
- Expand the DOS device API with a new function, DosCreateDeviceEx, which
will allow 32-bit DOS driver to reserve private memory.
- For each DOS device, create an entry in guest memory so that 16-bit code
can call 32-bit DOS drivers directly.
- Implement an XMS driver stub that uses the above.
- Arch, that's not how the DOS driver strategy routine works, you need to
give it the request in ES:BX which it will store somewhere, and then call
the interrupt routine.


svn path=/trunk/; revision=67339
2015-04-21 22:48:28 +00:00
Pierre Schweitzer 6c48138b57 [NDK]
Add definition for FILE_TRACKING_INFORMATION

[XDK]
Add definition for FILE_TRACKING_INFORMATION

svn path=/trunk/; revision=67338
2015-04-21 19:47:49 +00:00
Pierre Schweitzer 8b0b3b93fb [KERNEL32]
Move BasepOpenFileForMove() in the Basep functions block.
No code change!

svn path=/trunk/; revision=67337
2015-04-21 19:44:16 +00:00
Amine Khaldi f14e04fb66 [SHELL32] Add missing colon in window title bar when formatting a disk. By Radek Liska. CORE-9531
svn path=/trunk/; revision=67336
2015-04-21 11:43:15 +00:00
Pierre Schweitzer 305e1f4c19 [KERNEL32]
- Implement BasepOpenFileForMove() used by PrivMoveFileIdentityW(), with its Windows bugs
- Implement PrivMoveFileIdentityW()

Not sure yet why Windows implementation exposes a sharing violation during our API test. Our absence of sharing violation looks more legit...
To be investigated.

svn path=/trunk/; revision=67335
2015-04-21 10:55:26 +00:00
Thomas Faber 95ebf88866 [NTDLL_APITEST]
- Add some more tests for RtlDoesFileExists_*, in particular passing NT paths
CORE-9523

svn path=/trunk/; revision=67334
2015-04-21 10:50:12 +00:00
Thomas Faber 45c2f87c87 [WIN32K:NTUSER]
- Fix some GetWindowPlacement tests
CORE-9578

svn path=/trunk/; revision=67333
2015-04-21 10:14:12 +00:00
Pierre Schweitzer c45bd159ff [KERNEL32_APITEST]
Force hexa output

svn path=/trunk/; revision=67332
2015-04-21 09:30:05 +00:00
Thomas Faber 842d5b87ea [USER32_APITEST]
- Use correct format specifiers aka fix GCC build

svn path=/trunk/; revision=67331
2015-04-21 09:25:51 +00:00
Thomas Faber ea06801805 [USER32_APITEST]
- Add a test for GetWindowPlacement
CORE-9578

svn path=/trunk/; revision=67330
2015-04-21 09:21:22 +00:00
James Tabor 5f0ebedf29 [Win32k]
- Passing GetDesktopWindow() to GetWindowPlacement() causes NULL pointer dereference, Bug found by Nathan Osman, Fix CORE-9578.

svn path=/trunk/; revision=67329
2015-04-21 04:45:09 +00:00