reactos.git
11 years ago- GdiIsPlayMetafileDC: function GdiGetHandleUserData might fail
Gregor Schneider [Sun, 5 Apr 2009 21:34:27 +0000 (21:34 +0000)]
- GdiIsPlayMetafileDC: function GdiGetHandleUserData might fail
- Simplify code to use GdiGetLDC which takes this into consideration, fixes a umode crash in gdi32_winetest metafile

svn path=/trunk/; revision=40379

11 years ago- msvcrt's pow function does not set errno, so there is no need for a hard coded...
Gregor Schneider [Sun, 5 Apr 2009 21:27:39 +0000 (21:27 +0000)]
- msvcrt's pow function does not set errno, so there is no need for a hard coded breakpoint, jump labels adjusted accordingly
- Allows oleaut32_winetest vartest to finish

svn path=/trunk/; revision=40378

11 years ago- Create Common Files directory when creating Program Files to match windows fresh...
Michael Martin [Sun, 5 Apr 2009 20:05:40 +0000 (20:05 +0000)]
- Create Common Files directory when creating Program Files to match windows fresh install and add registry key for CommonFilesDir.
This prevents the key from being incorrectly set using an environment variable.

svn path=/trunk/; revision=40377

11 years ago - Revert r40367
Cameron Gutman [Sun, 5 Apr 2009 18:11:24 +0000 (18:11 +0000)]
 - Revert r40367
 - Fixes abyss server startup after installing

svn path=/trunk/; revision=40376

11 years ago- Check if allocation of work item succeeded - Thanks Ged, aicom
Johannes Anderwald [Sun, 5 Apr 2009 16:39:51 +0000 (16:39 +0000)]
- Check if allocation of work item succeeded - Thanks Ged, aicom
- Fix leaking of a work item on close event / irp stream run out

svn path=/trunk/; revision=40375

11 years ago- add a stub for D3DParseUnknownCommand
Kamil Hornicek [Sun, 5 Apr 2009 16:29:45 +0000 (16:29 +0000)]
- add a stub for D3DParseUnknownCommand

svn path=/trunk/; revision=40374

11 years ago- Fix leaking of work item for each detected audio device
Johannes Anderwald [Sun, 5 Apr 2009 16:05:54 +0000 (16:05 +0000)]
- Fix leaking of work item for each detected audio device

svn path=/trunk/; revision=40373

11 years ago- IntEnumDisplaySettings returns NTSTATUS, fix the check accordingly
Kamil Hornicek [Sun, 5 Apr 2009 15:15:16 +0000 (15:15 +0000)]
- IntEnumDisplaySettings returns NTSTATUS, fix the check accordingly

svn path=/trunk/; revision=40372

11 years ago- leftover from the previous commit
Kamil Hornicek [Sun, 5 Apr 2009 14:41:53 +0000 (14:41 +0000)]
- leftover from the previous commit

svn path=/trunk/; revision=40371

11 years ago- import ddraw from Wine and use it for now
Kamil Hornicek [Sun, 5 Apr 2009 13:52:15 +0000 (13:52 +0000)]
- import ddraw from Wine and use it for now
- sync wined3d, d3d8, d3d9 with Wine HEAD

svn path=/trunk/; revision=40370

11 years ago- Compile UniATA with stdcall default calling convention instead of cdecl.
Aleksey Bragin [Sun, 5 Apr 2009 11:46:53 +0000 (11:46 +0000)]
- Compile UniATA with stdcall default calling convention instead of cdecl.

svn path=/trunk/; revision=40368

11 years ago - Distinguish between cleanup and close properly
Cameron Gutman [Sun, 5 Apr 2009 07:23:25 +0000 (07:23 +0000)]
 - Distinguish between cleanup and close properly
 - On cleanup, we cancel all requests
 - On close, we remove the address file from the list, free the port and listener (if present), then free the address file itself

svn path=/trunk/; revision=40367

11 years ago - Implement a DispatchCleanup routine and properly separate cleanup from close
Cameron Gutman [Sun, 5 Apr 2009 07:08:47 +0000 (07:08 +0000)]
 - Implement a DispatchCleanup routine and properly separate cleanup from close

svn path=/trunk/; revision=40366

11 years ago- Simplified code for CD, PUSHD, and POPD commands and also fixed some bugs.
Jeffrey Morlan [Sun, 5 Apr 2009 01:50:24 +0000 (01:50 +0000)]
- Simplified code for CD, PUSHD, and POPD commands and also fixed some bugs.

svn path=/trunk/; revision=40365

11 years agoEvgeniy Boltik <bstsoft@narod.ru>
Aleksey Bragin [Sat, 4 Apr 2009 18:52:14 +0000 (18:52 +0000)]
Evgeniy Boltik <bstsoft@narod.ru>
- Enable and use mask support in UserDrawIconEx, fully compatible with Windows, based on tests in bug 4336.
- Remove IntSet[Text/Bk]Color hacks from UserDrawIconEx, no longer required due to fix in CreateCompatibleDC.
- Change a few comments in the code of UserDrawIconEx.
See issue #4336 for more details.

svn path=/trunk/; revision=40363

11 years agoEvgeniy Boltik <bstsoft@narod.ru>
Aleksey Bragin [Sat, 4 Apr 2009 18:24:24 +0000 (18:24 +0000)]
Evgeniy Boltik <bstsoft@narod.ru>
- Fix copypaste mistake in EngStretchBltROP.
- Fix check in EngStretchBltROP, it should check original InputRect, not the clipped one.
- Fix improper variable type in DIB_XXBPP_StretchBlt: PatternX and PatternY could be negative.
See issue #4336 for more details.

svn path=/trunk/; revision=40362

11 years ago- Check for cmd's AutoRun registry value in HKEY_CURRENT_USER as well as HKEY_LOCAL_M...
Jeffrey Morlan [Sat, 4 Apr 2009 17:51:55 +0000 (17:51 +0000)]
- Check for cmd's AutoRun registry value in HKEY_CURRENT_USER as well as HKEY_LOCAL_MACHINE.
- Allow AutoRun commands to be longer than MAX_PATH.

svn path=/trunk/; revision=40361

11 years ago- Re-use WorkItem
Johannes Anderwald [Sat, 4 Apr 2009 16:04:25 +0000 (16:04 +0000)]
- Re-use WorkItem
- Fixes leaking a workitem for each pin creation request

svn path=/trunk/; revision=40360

11 years ago - Don't pass the address type to IPInitializePacket because it is set later
Cameron Gutman [Sat, 4 Apr 2009 01:22:33 +0000 (01:22 +0000)]
 - Don't pass the address type to IPInitializePacket because it is set later
 - Fix packet corruption caused by using uninitialized data

svn path=/trunk/; revision=40359

11 years ago - Validate the buffer size before copying to it
Cameron Gutman [Sat, 4 Apr 2009 00:41:42 +0000 (00:41 +0000)]
 - Validate the buffer size before copying to it

svn path=/trunk/; revision=40358

11 years ago - Remove the rest of the code that sets the wrong IRP's status
Cameron Gutman [Sat, 4 Apr 2009 00:36:43 +0000 (00:36 +0000)]
 - Remove the rest of the code that sets the wrong IRP's status

svn path=/trunk/; revision=40357

11 years ago - Initialize packets before using them
Cameron Gutman [Sat, 4 Apr 2009 00:24:20 +0000 (00:24 +0000)]
 - Initialize packets before using them
 - Part 2 of 2

svn path=/trunk/; revision=40356

11 years ago - Initialize packets before using them
Cameron Gutman [Sat, 4 Apr 2009 00:23:09 +0000 (00:23 +0000)]
 - Initialize packets before using them
 - Make PrepareICMPPacket return BOOLEAN
 - Call the packet's free function to free it
 - Remove unnecessary NULL checks
 - Part 1 of 2

svn path=/trunk/; revision=40355

11 years ago - Loopback adapter rewrite
Cameron Gutman [Fri, 3 Apr 2009 21:05:22 +0000 (21:05 +0000)]
 - Loopback adapter rewrite
 - We don't need to queue a work item to receive so we don't now
 - This simplifies the code significantly
 - It also increases loopback throughput

svn path=/trunk/; revision=40354

11 years ago- Add a leftover from commit 40334.
Aleksey Bragin [Fri, 3 Apr 2009 17:14:24 +0000 (17:14 +0000)]
- Add a leftover from commit 40334.

svn path=/trunk/; revision=40352

11 years ago- Silence tons of debug messages
Johannes Anderwald [Fri, 3 Apr 2009 17:06:16 +0000 (17:06 +0000)]
- Silence tons of debug messages
- Add file headers for portcls
- Remove StringFromCLSID hack and replace it with RtlStringFromGUID
- Implement PcCompletePendingPropertyRequest, KsoGetIrpTargetFromIrp, KsoGetIrpTargetFromFileObject
- Re-use WorkItem  / WorkItem context in sysaudio

svn path=/trunk/; revision=40351

11 years ago- Delete regtests framework by Casper. It's useless.
Aleksey Bragin [Fri, 3 Apr 2009 10:33:41 +0000 (10:33 +0000)]
- Delete regtests framework by Casper. It's useless.

svn path=/trunk/; revision=40349

11 years ago- Get reactos.dff in sync with rosapps cleanup.
Aleksey Bragin [Fri, 3 Apr 2009 10:06:36 +0000 (10:06 +0000)]
- Get reactos.dff in sync with rosapps cleanup.

svn path=/trunk/; revision=40348

11 years ago- Delete qssi, it wasn't included in build since 2002.
Aleksey Bragin [Fri, 3 Apr 2009 10:04:06 +0000 (10:04 +0000)]
- Delete qssi, it wasn't included in build since 2002.
- Delete ddraw demo since it doesn't actually demo anything on my XP, but paints the screen to the rose color and hangs.
- Remove imagesoft entry from applications.rbuild.

svn path=/trunk/; revision=40347

11 years ago- Remove dflat32. It doesn't start up in Windows XP at all (when launching edit.exe...
Aleksey Bragin [Fri, 3 Apr 2009 09:41:09 +0000 (09:41 +0000)]
- Remove dflat32. It doesn't start up in Windows XP at all (when launching edit.exe nothing happens).
- Remove dflat32.dll, no active work on it since 2002.

<[Tycho]>: Fireball ustroil subbotnik.

svn path=/trunk/; revision=40346

11 years ago- Move imagesoft to templates.
Aleksey Bragin [Fri, 3 Apr 2009 09:29:39 +0000 (09:29 +0000)]
- Move imagesoft to templates.
- Exclude all templates from the build. They are templates, useful as a source code, not as a binary.
- Delete packmgr.

svn path=/trunk/; revision=40345

11 years ago- Delete cputointel and roswebparser as unfinished components which aren't going...
Aleksey Bragin [Fri, 3 Apr 2009 09:16:09 +0000 (09:16 +0000)]
- Delete cputointel and roswebparser as unfinished components which aren't going to be further developed.
- Delete zoomin because there is a nicely working magnify application, and zoomin development stopped in 2002.

svn path=/trunk/; revision=40344

11 years ago- Remove roswebparser.exe from installable modules list.
Aleksey Bragin [Fri, 3 Apr 2009 09:08:58 +0000 (09:08 +0000)]
- Remove roswebparser.exe from installable modules list.

svn path=/trunk/; revision=40343

11 years ago - RapidSVN doesn't figure out that when I right click afd that I want EVERYTHING...
Cameron Gutman [Fri, 3 Apr 2009 05:31:00 +0000 (05:31 +0000)]
 - RapidSVN doesn't figure out that when I right click afd that I want EVERYTHING changed in afd to be commited ;)

svn path=/trunk/; revision=40342

11 years ago - More leak fixes
Cameron Gutman [Fri, 3 Apr 2009 05:29:49 +0000 (05:29 +0000)]
 - More leak fixes
 - Free items in the datagram list and pending connections list
 - Free ConnectionCallInfo and ConnectionReturnInfo
 - Free the FCB context

svn path=/trunk/; revision=40341

11 years ago- Replaced fix pi and enabled test for window processes with the proper signing....
James Tabor [Fri, 3 Apr 2009 05:26:53 +0000 (05:26 +0000)]
- Replaced fix pi and enabled test for window processes with the proper signing. Yes regedit works.

svn path=/trunk/; revision=40340

11 years ago - Cancel all the IRPs in the pending IRP queue when the FCB is being destroyed
Cameron Gutman [Fri, 3 Apr 2009 01:45:32 +0000 (01:45 +0000)]
 - Cancel all the IRPs in the pending IRP queue when the FCB is being destroyed
 - Fixes IRP, MDL, and buffer leaks
 - ping and dwnl don't leak at all now

svn path=/trunk/; revision=40339

11 years ago- Rework NtGdiStretchBlt into GreStretchBltMask function, which provides stretch...
Aleksey Bragin [Thu, 2 Apr 2009 19:00:09 +0000 (19:00 +0000)]
- Rework NtGdiStretchBlt into GreStretchBltMask function, which provides stretch blitting with mask support.
- Add NtGdiStretchBlt as a simple forwarder to the internal GreStretchBltMask helper.
- Based on a patch by Evgeniy Boltik.
- Some optimisation issues could still be solved as Timo suggested.
See issue #4294 for more details.

svn path=/trunk/; revision=40334

11 years ago- Migration changes from PPROCESSINFO and PTHREADINFO to use ClientInfo from TEB...
James Tabor [Thu, 2 Apr 2009 18:52:34 +0000 (18:52 +0000)]
- Migration changes from PPROCESSINFO and PTHREADINFO to use ClientInfo from TEB. I moved kpi to ci->ppi, we still depend on it as a reference pointer.
- Added and changed structure types.
- Tested with old AbiWord, FireFox and explorer.
- Comment out TestWindowProcess until the rest is ready.

svn path=/trunk/; revision=40333

11 years ago- Apply a fix by Timo Kreuzer for the bug spotted by Evgeniy Boltik. 4 failures less...
Aleksey Bragin [Thu, 2 Apr 2009 17:43:24 +0000 (17:43 +0000)]
- Apply a fix by Timo Kreuzer for the bug spotted by Evgeniy Boltik. 4 failures less in "gdi32_winetest.exe bitmap" now.
See issue #4326 for more details.

svn path=/trunk/; revision=40332

11 years ago- NtGdiSetDIBitsToDeviceInternal: use bitmap's palette if it exists instead of always...
Aleksey Bragin [Thu, 2 Apr 2009 17:25:56 +0000 (17:25 +0000)]
- NtGdiSetDIBitsToDeviceInternal: use bitmap's palette if it exists instead of always using system palette. Based on a patch by Evgeniy Boltik from bug 4326.

See issue #4326 for more details.

svn path=/trunk/; revision=40331

11 years ago- Simplify code. Inspired by Evgeniy Boltik's patch.
Aleksey Bragin [Thu, 2 Apr 2009 16:34:11 +0000 (16:34 +0000)]
- Simplify code. Inspired by Evgeniy Boltik's patch.
See issue #4326 for more details.

svn path=/trunk/; revision=40329

11 years agoPretend to open folders in a new window...
Ged Murphy [Thu, 2 Apr 2009 15:06:04 +0000 (15:06 +0000)]
Pretend to open folders in a new window...
I say pretend because it doesn't actually work as it should it just maximizes them, but it gives the illusion that it does and that's good enough for now as it's not worth fixing.

svn path=/trunk/; revision=40328

11 years agoStop mithering me and just open the MDI shell browser by default.
Ged Murphy [Thu, 2 Apr 2009 14:59:18 +0000 (14:59 +0000)]
Stop mithering me and just open the MDI shell browser by default.

svn path=/trunk/; revision=40327

11 years agoJapanese translations by Tomoya Kitagawa. Bug #4328.
Dmitry Gorbachev [Thu, 2 Apr 2009 06:20:50 +0000 (06:20 +0000)]
Japanese translations by Tomoya Kitagawa. Bug #4328.

svn path=/trunk/; revision=40325

11 years agoWe don't need the user buffer after launching the TDI irp actually, so free it
Art Yerkes [Thu, 2 Apr 2009 02:35:41 +0000 (02:35 +0000)]
We don't need the user buffer after launching the TDI irp actually, so free it
immediately and fix the heap leak.
We also never pend datagram sends to userland.
Clean up some cruft where we erroneously set the wrong irp's status.

svn path=/trunk/; revision=40323

11 years agoFORMATTING only.
Art Yerkes [Thu, 2 Apr 2009 01:04:07 +0000 (01:04 +0000)]
FORMATTING only.

svn path=/trunk/; revision=40322

11 years agoFORMATTING only.
Art Yerkes [Thu, 2 Apr 2009 01:02:56 +0000 (01:02 +0000)]
FORMATTING only.

svn path=/trunk/; revision=40321

11 years agoImplement delayed deletion of gdi objects. This is quite hacky and not 100% correct...
Timo Kreuzer [Wed, 1 Apr 2009 17:32:06 +0000 (17:32 +0000)]
Implement delayed deletion of gdi objects. This is quite hacky and not 100% correct, but should hopefully fix the "Too many objects for process!!!" problem for now.

svn path=/trunk/; revision=40319

11 years ago[FORMATTING] no code change yet.
Art Yerkes [Wed, 1 Apr 2009 17:15:26 +0000 (17:15 +0000)]
[FORMATTING] no code change yet.

svn path=/trunk/; revision=40318

11 years ago- Ukrainian translation by Sakara Yevhen
Dmitry Chapyshev [Wed, 1 Apr 2009 16:27:55 +0000 (16:27 +0000)]
- Ukrainian translation by Sakara Yevhen

svn path=/trunk/; revision=40317

11 years ago- Fix build breakage from 40056, caused by a missing new line at the end of ntddndis.h
Stefan Ginsberg [Wed, 1 Apr 2009 15:59:59 +0000 (15:59 +0000)]
- Fix build breakage from 40056, caused by a missing new line at the end of ntddndis.h
- Also remove the unnecessary _NTDDNDIS_ check from windot11.h

svn path=/trunk/; revision=40316

11 years agoUpdate Norwegian translations. Patches from LMH1, bug #2482, bug #4325.
Dmitry Gorbachev [Wed, 1 Apr 2009 15:27:44 +0000 (15:27 +0000)]
Update Norwegian translations. Patches from LMH1, bug #2482, bug #4325.

svn path=/trunk/; revision=40315

11 years agofix include guard
Christoph von Wittich [Wed, 1 Apr 2009 13:56:53 +0000 (13:56 +0000)]
fix include guard
See issue #4322 for more details.

svn path=/trunk/; revision=40314

11 years ago - Handle IRP_MN_FILTER_RESOURCE_REQUIREMENTS
Cameron Gutman [Wed, 1 Apr 2009 09:01:26 +0000 (09:01 +0000)]
 - Handle IRP_MN_FILTER_RESOURCE_REQUIREMENTS
 - Now isapnp receives IRP_MN_START_DEVICE but it still doesn't work

svn path=/trunk/; revision=40313

11 years agoreapply the icon cache init code
Ged Murphy [Wed, 1 Apr 2009 07:27:23 +0000 (07:27 +0000)]
reapply the icon cache init code

svn path=/trunk/; revision=40312

11 years ago- Fix cmd's cgetchar() function so it only returns on a key being pressed, not released.
Jeffrey Morlan [Wed, 1 Apr 2009 03:54:45 +0000 (03:54 +0000)]
- Fix cmd's cgetchar() function so it only returns on a key being pressed, not released.
- Remove ConInDummy function that was called after a line is input. Presumably its purpose was to consume the event of Enter being released, so that that event wouldn't affect the command, but that didn't help when other keys were pressed as well. Anyway, it shouldn't be necessary any more.
- Use correct codepage for reading batch files.

svn path=/trunk/; revision=40311

11 years ago - Don't shrink the ICMP packet that we receive
Cameron Gutman [Wed, 1 Apr 2009 03:08:51 +0000 (03:08 +0000)]
 - Don't shrink the ICMP packet that we receive
 - Now we reply properly with large packets

svn path=/trunk/; revision=40310

11 years agoSkip kernel32 virtual tests again. sysreg isn't ready for that yet.
Timo Kreuzer [Wed, 1 Apr 2009 02:49:32 +0000 (02:49 +0000)]
Skip kernel32 virtual tests again. sysreg isn't ready for that yet.

svn path=/trunk/; revision=40309

11 years ago- Check the headers next time.
James Tabor [Wed, 1 Apr 2009 02:25:28 +0000 (02:25 +0000)]
- Check the headers next time.

svn path=/trunk/; revision=40308

11 years agoAdd one more test for SetDCPenColor
Timo Kreuzer [Wed, 1 Apr 2009 02:02:21 +0000 (02:02 +0000)]
Add one more test for SetDCPenColor

svn path=/trunk/; revision=40307

11 years agowin32k brush update:
Timo Kreuzer [Wed, 1 Apr 2009 01:49:18 +0000 (01:49 +0000)]
win32k brush update:
- fix EBRUSHOBJ_vSetSolidBrushColor
- Initialize text and background brush in DC_AllocDC
- Update the DCs EBRUSHOBJs on demand
- Use the DCs EBRUSHOBJs for drawing where appropriate
This makes things faster and finally adds support for DC_BRUSH and DC_PEN

svn path=/trunk/; revision=40306

11 years ago- Implement NtUserProcessConnect. Moving to client information format for User32...
James Tabor [Tue, 31 Mar 2009 22:02:29 +0000 (22:02 +0000)]
- Implement NtUserProcessConnect. Moving to client information format for User32. PPROCESSINFO and PTHREADINFO are references not user land structures.
- Added and removed structure types.
- Tested with old AbiWord, FireFox and explorer.

svn path=/trunk/; revision=40305

11 years ago- Revert 40296
Johannes Anderwald [Tue, 31 Mar 2009 16:38:52 +0000 (16:38 +0000)]
- Revert 40296
- This will not work for REG_DWORD

svn path=/trunk/; revision=40304

11 years agoFix some incorrect lengths in ConInString (Bug 4085); also make sure result is nul...
Jeffrey Morlan [Tue, 31 Mar 2009 04:06:47 +0000 (04:06 +0000)]
Fix some incorrect lengths in ConInString (Bug 4085); also make sure result is nul-terminated.

svn path=/trunk/; revision=40303

11 years agopartially revert to slightly broken Wine code for now
Ged Murphy [Mon, 30 Mar 2009 22:41:53 +0000 (22:41 +0000)]
partially revert to slightly broken Wine code for now

svn path=/trunk/; revision=40302

11 years ago - Move the buffer size validation before writing to the buffer
Cameron Gutman [Mon, 30 Mar 2009 22:32:37 +0000 (22:32 +0000)]
 - Move the buffer size validation before writing to the buffer
 - Change the status to STATUS_BUFFER_TOO_SMALL

svn path=/trunk/; revision=40301

11 years ago - Validate the output buffer size before writing to it
Cameron Gutman [Mon, 30 Mar 2009 22:20:12 +0000 (22:20 +0000)]
 - Validate the output buffer size before writing to it
 - Fix some potential memory leaks
 - Lock the FCB in AfdCloseSocket

svn path=/trunk/; revision=40300

11 years ago- Show the underline menu cues when pressing the alt key
Ged Murphy [Mon, 30 Mar 2009 21:21:41 +0000 (21:21 +0000)]
- Show the underline menu cues when pressing the alt key
- Load user preferences on userinit
- Add the effects dialog to desk.cpl
- Patch by Jan Roeloffzen (jroeloffzen[at]hotmail[dot]com)
- Quickly reviewed by Thomas and I, applied a few bug fixes to the patch
See issue #3901 for more details.

svn path=/trunk/; revision=40299

11 years agofix wine's code a little better
Ged Murphy [Mon, 30 Mar 2009 19:28:39 +0000 (19:28 +0000)]
fix wine's code a little better

svn path=/trunk/; revision=40298

11 years agoCreate the system and device imagelists with the correct bpp
Ged Murphy [Mon, 30 Mar 2009 19:08:16 +0000 (19:08 +0000)]
Create the system and device imagelists with the correct bpp
Do the same with the explorer stuff

svn path=/trunk/; revision=40297

11 years ago- Return correct byte size
Johannes Anderwald [Mon, 30 Mar 2009 17:19:43 +0000 (17:19 +0000)]
- Return correct byte size
- Fixes 3 wine test failures

svn path=/trunk/; revision=40296

11 years agoDo not crash with "Assertion 'Process == PsGetCurrentProcess()' failed" msg.
Dmitry Gorbachev [Mon, 30 Mar 2009 09:12:25 +0000 (09:12 +0000)]
Do not crash with "Assertion 'Process == PsGetCurrentProcess()' failed" msg.

svn path=/trunk/; revision=40295

11 years ago- Move W32PROCESSINFO to PROCESSINFO.
James Tabor [Mon, 30 Mar 2009 05:45:08 +0000 (05:45 +0000)]
- Move W32PROCESSINFO to PROCESSINFO.

svn path=/trunk/; revision=40294

11 years ago- Update W32PROCESS and related code.
James Tabor [Mon, 30 Mar 2009 03:56:53 +0000 (03:56 +0000)]
- Update W32PROCESS and related code.

svn path=/trunk/; revision=40293

11 years agoSync WinHLP32 and WordPad with Wine HEAD.
Daniel Reimer [Sun, 29 Mar 2009 23:28:29 +0000 (23:28 +0000)]
Sync WinHLP32 and WordPad with Wine HEAD.
Bug 4306 by Paolo Devoti. Update for Italian Translations.

svn path=/trunk/; revision=40292

11 years agoSync write with Wine HEAD
Daniel Reimer [Sun, 29 Mar 2009 23:17:43 +0000 (23:17 +0000)]
Sync write with Wine HEAD

svn path=/trunk/; revision=40291

11 years ago[FORMATTING]
Aleksey Bragin [Sun, 29 Mar 2009 19:32:37 +0000 (19:32 +0000)]
[FORMATTING]
- Change comments to match kernel coding style
- Remove EOL spaces.

svn path=/trunk/; revision=40290

11 years agoMake cmd able to (sort of) work without a console.
Jeffrey Morlan [Sun, 29 Mar 2009 19:17:45 +0000 (19:17 +0000)]
Make cmd able to (sort of) work without a console.

svn path=/trunk/; revision=40289

11 years ago- Fix W32PROCESS, replaced pointer with structure.
James Tabor [Sun, 29 Mar 2009 16:31:27 +0000 (16:31 +0000)]
- Fix W32PROCESS, replaced pointer with structure.

svn path=/trunk/; revision=40288

11 years ago- return WSAEMSGSIZE on both STATUS_BUFFER_TOO_SMALL / STATUS_BUFFER_OVERFLOW:
Kamil Hornicek [Sun, 29 Mar 2009 15:56:08 +0000 (15:56 +0000)]
- return WSAEMSGSIZE on both STATUS_BUFFER_TOO_SMALL / STATUS_BUFFER_OVERFLOW:

svn path=/trunk/; revision=40287

11 years ago- fix possible memory leak (patch from Mesa3D by Daniel Zimmermann)
Kamil Hornicek [Sun, 29 Mar 2009 13:39:18 +0000 (13:39 +0000)]
- fix possible memory leak (patch from Mesa3D by Daniel Zimmermann)

svn path=/trunk/; revision=40286

11 years ago- Synchronize debug messages output to the serial port. Now each line of a debug...
Aleksey Bragin [Sun, 29 Mar 2009 13:15:03 +0000 (13:15 +0000)]
- Synchronize debug messages output to the serial port. Now each line of a debug log is printed synchronously, as it is NT. In future, this should be converted to a generic spinlock for all registered KD handlers.

svn path=/trunk/; revision=40285

11 years ago- Implement KeTestSpinLock.
Aleksey Bragin [Sun, 29 Mar 2009 12:57:58 +0000 (12:57 +0000)]
- Implement KeTestSpinLock.

svn path=/trunk/; revision=40284

11 years agoupdate Mesa3D to version 7.4
Kamil Hornicek [Sun, 29 Mar 2009 12:45:34 +0000 (12:45 +0000)]
update Mesa3D to version 7.4

svn path=/trunk/; revision=40283

11 years agoShell32 translation patch from Tomoya Kitagawa, bug #4310.
Dmitry Gorbachev [Sun, 29 Mar 2009 11:53:16 +0000 (11:53 +0000)]
Shell32 translation patch from Tomoya Kitagawa, bug #4310.

svn path=/trunk/; revision=40282

11 years agocreate.c: NpfsCleanup - Do not set the pipe's state to FILE_PIPE_DISCONNECTED_STATE...
Michael Martin [Sun, 29 Mar 2009 11:15:10 +0000 (11:15 +0000)]
create.c: NpfsCleanup - Do not set the pipe's state to FILE_PIPE_DISCONNECTED_STATE, it is needed for determining broken pipes.
Only set pipes otherside to NULL if it is not NULL already.
fsctrl.c: NpfsDisconnectPipe - Set return status to STATUS_PIPE_DISCONNECTED if pipe is already disconnected.
Add code to handle cases where PipeState is connected and pipes otherside has been set to NULL.
rw.c: Set return status to STATUS_BROKEN_PIPE if the other side of pipe has been set to NULL, the data available in pipe is zero and pipe state is connected.
Check that pipes otherside is valid before attempting to set the othersides read/write event.

svn path=/trunk/; revision=40281

11 years agoMake command parsing in DoCommand/Execute more compatible with Windows
Jeffrey Morlan [Sun, 29 Mar 2009 05:13:35 +0000 (05:13 +0000)]
Make command parsing in DoCommand/Execute more compatible with Windows

svn path=/trunk/; revision=40280

11 years agoAdd the DC XlateBrush / XlatePen hack to DC_vUpdateFillBrush / DC_vUpdateLineBrush...
Timo Kreuzer [Sun, 29 Mar 2009 02:15:37 +0000 (02:15 +0000)]
Add the DC XlateBrush / XlatePen hack to DC_vUpdateFillBrush / DC_vUpdateLineBrush, so these should now be a full replacement for the current usage of IntGdiSelectPen/Brush + EBRUSHOBJ_vInit

svn path=/trunk/; revision=40279

11 years agoSimple temporary implementation of EngRealizeBrush. Not tested, not used yet.
Timo Kreuzer [Sun, 29 Mar 2009 01:43:09 +0000 (01:43 +0000)]
Simple temporary implementation of EngRealizeBrush. Not tested, not used yet.

svn path=/trunk/; revision=40278

11 years agoBltMask:
Timo Kreuzer [Sun, 29 Mar 2009 00:26:30 +0000 (00:26 +0000)]
BltMask:
by me: optimize by replacing the maskbit table with a byte containing the maskbit and rotating using _rotr8. Also move the comparison out of the loop, making 2 loops, one with pattern, one without.
By Evgeniy Boltik: Optimize by using function pointers. Fix calculation of brush position. By me again: optimize the fix by moving the calculation out of the outer loop.

svn path=/trunk/; revision=40277

11 years agoPatch by Evgeniy Boltik:
Timo Kreuzer [Sun, 29 Mar 2009 00:25:47 +0000 (00:25 +0000)]
Patch by Evgeniy Boltik:
Always calculate a palette for the DIB in NtGdiGetDIBitsInternal, when dealing with 15 or 16 bit depth. Fixes broken taskbar icons on 16bpp.

svn path=/trunk/; revision=40276

11 years ago - Fix some TDI flags
Cameron Gutman [Sun, 29 Mar 2009 00:22:31 +0000 (00:22 +0000)]
 - Fix some TDI flags

svn path=/trunk/; revision=40275

11 years ago- Add The rest to W32PROCESS.
James Tabor [Sat, 28 Mar 2009 23:28:38 +0000 (23:28 +0000)]
- Add The rest to W32PROCESS.

svn path=/trunk/; revision=40274

11 years ago- Add Lock point and AVL table pointer to W32PROCESS. This is for EngAllocUserMem...
James Tabor [Sat, 28 Mar 2009 23:06:07 +0000 (23:06 +0000)]
- Add Lock point and AVL table pointer to W32PROCESS. This is for EngAllocUserMem and friends.

svn path=/trunk/; revision=40273

11 years ago- Implement CMD /A and /U switches.
Jeffrey Morlan [Sat, 28 Mar 2009 19:36:22 +0000 (19:36 +0000)]
- Implement CMD /A and /U switches.
- CLS: Fill console with current color rather than original; if standard output is not a console, print a form-feed character.
- COLOR: If standard output is not a console, do nothing.

svn path=/trunk/; revision=40272

11 years ago - Fix a typo
Cameron Gutman [Sat, 28 Mar 2009 17:52:50 +0000 (17:52 +0000)]
 - Fix a typo

svn path=/trunk/; revision=40271

11 years ago - Implement NdisMAllocateSharedMemoryAsync
Cameron Gutman [Sat, 28 Mar 2009 17:49:27 +0000 (17:49 +0000)]
 - Implement NdisMAllocateSharedMemoryAsync
 - Zero the entire packet in NdisAllocatePacket

svn path=/trunk/; revision=40270

11 years ago- Remove a header structure from memory regions allocated with EngAllocUserMem. Moder...
Aleksey Bragin [Sat, 28 Mar 2009 17:06:17 +0000 (17:06 +0000)]
- Remove a header structure from memory regions allocated with EngAllocUserMem. Modern versions of Windows (at least XP and higher) don't do this and instead save this information elsewhere. Confirmed by Alexandre Julliard's test case for calling WriteFile with the DIB section bits as buffer (5 less failures now) and by arguing with Evgeniy Boltik.

svn path=/trunk/; revision=40269

11 years ago- Pass correct allocation flags to ZwAllocateVirtualMemory.
Aleksey Bragin [Sat, 28 Mar 2009 16:53:51 +0000 (16:53 +0000)]
- Pass correct allocation flags to ZwAllocateVirtualMemory.
- Don't provide region size when freeing virtual memory (spotted by Evgeniy Boltik, confirmed by MSDN).

svn path=/trunk/; revision=40268