Commit graph

44586 commits

Author SHA1 Message Date
Aleksey Bragin 0858e66dd1 [FASTFAT_NEW]
- Substantially improve FatiCreate routine, to handle previously unhandled cases, fix wrong code structure in some places, add a stub for further implementation of a new file creation branch.
- Hackskip setting delay-on-close for a file for now (with a debug print reminder!)

svn path=/trunk/; revision=50164
2010-12-27 16:49:21 +00:00
Jérôme Gardou c7c2a79d5b [GDI32]
- Consistent formatting, no code change.

svn path=/trunk/; revision=50163
2010-12-27 16:23:59 +00:00
Aleksey Bragin f7ab02f22e [PSDK]
- Add missing definitions.

svn path=/trunk/; revision=50161
2010-12-27 15:32:47 +00:00
Christoph von Wittich fdea91b64c [CRT]
import strtoi64 from wine 1.3.10

svn path=/trunk/; revision=50159
2010-12-27 12:45:03 +00:00
Roel Messiant cd7f6a4a36 [SCSIPORT]
- ScsiPortDeviceControl: Slight improvement to buffer length validation. Return failure status on a handful of failure cases. Prevents buffer overruns in user code.

svn path=/trunk/; revision=50158
2010-12-27 10:15:36 +00:00
Christoph von Wittich 17d7d4c15e [FUSION]
use crt="msvcrt" instead of <library>msvcrt</library>

svn path=/trunk/; revision=50157
2010-12-27 09:54:01 +00:00
Christoph von Wittich 9e86562b37 [FUSION]
sync to wine 1.3.10

svn path=/trunk/; revision=50156
2010-12-27 09:50:02 +00:00
Timo Kreuzer 4c3e53b5a2 [NSLOOKUP]
Use memcpy with sizeof instead of strncpy with strlen to make sure the destination string will be zero terminated.
CID 1649

svn path=/trunk/; revision=50155
2010-12-27 09:18:00 +00:00
James Tabor 9f634e70cf [Win32k]
- Use SendNotifyMessage for broadcasting these messages and SendMessageNoWait when not broadcasting.

svn path=/trunk/; revision=50154
2010-12-27 09:08:01 +00:00
Christoph von Wittich 7785b6ca52 [CRT]
import MSVCRT_I10_OUTPUT from wine

svn path=/trunk/; revision=50153
2010-12-27 09:07:27 +00:00
Timo Kreuzer e8fc5482a0 [NTOSKRNL]
Make definitions of ExpChangeRundown, ExpChangePushlock and ExpSetRundown 64 bit safe (have one portable definition and use it accordingly)

svn path=/trunk/; revision=50152
2010-12-26 22:25:47 +00:00
Daniel Reimer 0093430c81 Update Winefile to 1.3.10 too
svn path=/trunk/; revision=50151
2010-12-26 16:28:51 +00:00
Daniel Reimer 8354381c8b Sync xcopy, iexplore, winhlp32, wordpad and write to wine 1.3.10
svn path=/trunk/; revision=50150
2010-12-26 16:25:30 +00:00
Timo Kreuzer 07bf61809e [NTOSKRNL]
Remove all #line 15 "ARM³::BLA"
Reasons:
- It doesn't provide any benefits, its only purpose was to "look cool"
- It never looked cool, instead a character mess appeared
- It makes finding the related file harder, especially when the file is named differently then the description or when multiple files have the same tag
- It effectively breaks Coverity scans

svn path=/trunk/; revision=50149
2010-12-26 15:23:03 +00:00
Timo Kreuzer 9db755b143 [VMX_SVGA]
Convert a pointer to a WCHAR string to an array of WCHARs to fix sizeof calculation. CID 10404

svn path=/trunk/; revision=50148
2010-12-26 15:04:02 +00:00
Timo Kreuzer 08d8df3975 [VGA_NEW]
Use strlen() istead of sizeof() to get the string length from a pointer. CID 10403.

svn path=/trunk/; revision=50147
2010-12-26 14:54:57 +00:00
Daniel Reimer 7e4bfb42f2 Fix for Fox Audio Player. Newest Version and leading to a Setup with libmpg
svn path=/trunk/; revision=50146
2010-12-26 14:37:41 +00:00
Daniel Reimer e0da68cf95 Update rapps database.
svn path=/trunk/; revision=50145
2010-12-26 13:54:57 +00:00
Daniel Reimer f75ed5ac15 Bug 5756: TRANSLATION: multiple modules: Bulgarian by CCTAHEB
Bug 5761: TRANSLATION: Czech translation update by Radek Liska

svn path=/trunk/; revision=50144
2010-12-26 13:28:51 +00:00
Aleksey Bragin eee450c6e0 [PSDK]
- Oleg Baikalow: Don't call TDIEntityID structure and type with the same name.

svn path=/trunk/; revision=50143
2010-12-26 12:56:51 +00:00
Johannes Anderwald 1ff1757719 [AUDIO-BRINGUP]
- Hack-register software bus driver

svn path=/branches/audio-bringup/; revision=50142
2010-12-26 11:35:05 +00:00
James Tabor 2062df62ca [Win32k]
- Fixes bug 5792 and Get/PeekMessage tests. I noticed co_IntPostOrSendMessage to co_IntSendMessageNoWait changes when it should have been changed to co_IntSendMessage. Same as co_IntSendMessage to co_IntSendMessageNoWait when it should have not changed.... I'm sorting it out. ATM win test locks up and the system shutdown box is not present only the text message.

svn path=/trunk/; revision=50141
2010-12-26 11:11:27 +00:00
Timo Kreuzer 866846bf8c [CALC]
Initialize next field. Fixes CID 11063

svn path=/trunk/; revision=50140
2010-12-26 09:39:31 +00:00
Timo Kreuzer 4d40fbf685 [WIN32K]
Remove SetLastWin32Error and use EngSetLastError instead

svn path=/trunk/; revision=50139
2010-12-25 11:01:14 +00:00
Timo Kreuzer 54ee99abdb [WIN32K]
Fix EngGetLastError and EngSetLastError

svn path=/trunk/; revision=50138
2010-12-25 10:37:55 +00:00
Johannes Anderwald b0d8c894e8 [AUDIO-BRINGUP]
- Fix pci / swenum group key
- Remove swenum from reactos.dff
- Put swenum in bootstrap base

svn path=/branches/audio-bringup/; revision=50137
2010-12-25 09:12:20 +00:00
Johannes Anderwald 184b70c1de [INF]
- Fix PCI group key

svn path=/trunk/; revision=50136
2010-12-25 09:08:44 +00:00
Roel Messiant cbd14f3708 [WIN32K]
- IntCreateWindow: Fill out MaximumLength field of the window name. Fixes potential buffer overflow in at least NtUserDefSetText.

svn path=/trunk/; revision=50135
2010-12-25 05:27:01 +00:00
Art Yerkes 9e8a4109b0 Make sure to initialize our page operation mutex.
Scan the whole range of the MemoryArea for pages to evict.
This fixes cache section page eviction.

svn path=/trunk/; revision=50134
2010-12-24 22:54:24 +00:00
Jérôme Gardou 1513741845 [GDI32]
- remove useless memory reallocation : the buffer size must be dword aligned, we have no way to guarantee the buffer location will be.
  - pass BITMAPINFO pointer size to NtGdiGetDIBitsInternal
[WIN32K]
  - Improve "not enough memory" check when creating a bitmap
  - use correct function to set the last error.

svn path=/trunk/; revision=50133
2010-12-24 20:29:25 +00:00
Giannis Adamopoulos 23499a2d4d [win32k]
- Remove co_IntPostOrSendMessage and use co_IntSendMessageNoWait where possible

svn path=/trunk/; revision=50121
2010-12-24 12:11:10 +00:00
Amine Khaldi 91f7232df7 [CMAKE]
- Add the remaining winetests to build. We compile them all now.

svn path=/trunk/; revision=50120
2010-12-24 12:09:01 +00:00
Dmitry Gorbachev f8d20cdb33 Marco Radossevich <fwdprojects=at=email=dot=it>, a.k.a. forart:
"Just two important examples that involved my contributions: UniATA & FullFAT."

No code changes.
See thread <http://www.reactos.org/forum/viewtopic.php?f=14&t=8809> for more details.

svn path=/trunk/; revision=50117
2010-12-24 01:59:13 +00:00
Timo Kreuzer e7f8fba710 [RTL}
Replace RtlMoveMemory x86 asm code with the code from CRT's memmove, which is better. Now we can close bug #1941

svn path=/trunk/; revision=50116
2010-12-23 19:11:19 +00:00
Aleksey Bragin c884962fb3 [UNIATA]
- Update uniata to 0.40a1. Prepared by Samuel Serapion, edited by me.
See issue #5762 for more details.

svn path=/trunk/; revision=50115
2010-12-23 16:59:55 +00:00
Roel Messiant 3bb6178e68 [SHELL32]
- Add NULL checks in IShellView and IDropTarget implementations. Should fix bug #5780.

svn path=/trunk/; revision=50114
2010-12-23 15:38:14 +00:00
Roel Messiant aa62a1a2a6 [WIN32K]
- NtGdiGetDIBitsInternal: Copy the requested amount of scanlines into the return buffer, not the whole bitmap. Should fix bug #5766.

svn path=/trunk/; revision=50113
2010-12-23 14:10:59 +00:00
Timo Kreuzer ac56cac80c [VBEMP]
Fix rounding error when calculating display size
Loosely based on patch by neoman.
Fixes gdi32_winetest:mapping

See issue #5790 for more details.

svn path=/trunk/; revision=50112
2010-12-23 12:11:19 +00:00
Aleksey Bragin 7ea8c55b57 [NTOS]
- Fix copypasta, thanks Victor!

svn path=/trunk/; revision=50111
2010-12-23 09:14:42 +00:00
Art Yerkes d758597cd4 Do the required flush when the last reference to a cache stripe is released.
The installer now completes given enough ram in NEWCC=1, and writes an
understandable FS.  There's at least one more problem preventing the 
resulting installation from booting however.
Fix a bug in rmap where we were checking the next (unfortunately named
current) rmap for a segment membership.
Fix a mistake in cache trim.
#ifdef detection of DirectMapping in section in NEWCC mode in page out.

svn path=/trunk/; revision=50110
2010-12-23 08:42:51 +00:00
Aleksey Bragin ad1b414a31 [NTOS]
- Fix a typo in region size calculation of special memory areas, which unbreaks OllyDbg & co. Thanks Michael Martin for the hint.
See issue #5692 for more details.

svn path=/trunk/; revision=50109
2010-12-22 22:18:32 +00:00
Aleksey Bragin d1d1894231 [NTOS]
- Fix memory region size calculation in MemoryBasicInformation in certain cases. Spotted by Michael Martin.

svn path=/trunk/; revision=50108
2010-12-22 21:59:27 +00:00
Aleksey Bragin 70f0698953 [NTOS]
- Fix incompatibility with newer KiEnterTrap implementation. Should fix spontaneous issues I possibly introduced with my previous commit, and finally fixes that VirtualBox issue.

svn path=/trunk/; revision=50107
2010-12-22 21:27:31 +00:00
Timo Kreuzer 27a2217c5b [NTDLL]
Fix harderror status on machine type mismatch and pass file name.

svn path=/trunk/; revision=50106
2010-12-22 20:20:52 +00:00
Roel Messiant 96d2fe3970 [I8042PRT]
- Calculate packet type according to PS/2++ spec (CID 1810).
- Fix technical detail in comment to match spec.

svn path=/trunk/; revision=50105
2010-12-22 19:09:25 +00:00
Johannes Anderwald b546b6d0b2 [KS]
- Add sanity checks
- Acquire device entry lock before dealing with device entries
- Fix acquiring bus device extension for parent bus device object
- Store result in irp io status block
- get install interface from assoicated system buffer
- Fixes install of new audio devices with ros ks in windows
- Tested with VBOX 3.2.10+WINXP+SP3

svn path=/branches/audio-bringup/; revision=50104
2010-12-22 18:53:08 +00:00
Timo Kreuzer ccc082914c [WIN32K]
Silence 3 DPRINTs

svn path=/trunk/; revision=50103
2010-12-22 18:30:59 +00:00
Amine Khaldi f5ce699517 [CMAKE]
- Add the apitests to build.
- Improve some winetests.

svn path=/trunk/; revision=50100
2010-12-22 16:33:37 +00:00
Timo Kreuzer 7f1fb18031 [NTDLL]
Raise harderror and terminate process when the image is of a foreign architecture.

svn path=/trunk/; revision=50099
2010-12-22 16:19:40 +00:00
Timo Kreuzer b1730a09db [NDK] Add IMAGE_FILE_MACHINE_NATIVE
[NTOS] Remove IMAGE_FILE_MACHINE_NATIVE and IMAGE_FILE_MACHINE_ARCHITECTURE definitions, use only the former

svn path=/trunk/; revision=50098
2010-12-22 16:14:58 +00:00