Commit graph

35947 commits

Author SHA1 Message Date
Cameron Gutman 2bcf7007bd - Report to drivers that we are NDIS 5.0
svn path=/trunk/; revision=40384
2009-04-06 02:06:33 +00:00
Timo Kreuzer 468227f96a DDK update
- Add devioctl.h
- miniport.h: fix include guard and add more stuff
- video.h: fix include guard, remove VideoDebugprint prototype
- videoagp.h: fix include guard
-winddi.h: fix include guard, add some defines and some function pointer types
- guiddef.h: add definition of EXTERN_C

svn path=/trunk/; revision=40383
2009-04-06 01:21:04 +00:00
Timo Kreuzer 3a3b09ba86 Remove a bunch of useless funtion pointer types
svn path=/trunk/; revision=40382
2009-04-06 00:12:48 +00:00
Timo Kreuzer 421f167b4e - Update the EBRUSHOBJ independent of changing the brush/pen handle in DC_vUpdateFill/LineBrush
- Mark the brushes as dirty after change of surface, palette and DIB colot table
- Update the EBURHOBJs on demand in IntGdiPolygon and IntRectangle
- Fixes bug 4340
See issue #4340 for more details.

svn path=/trunk/; revision=40381
2009-04-05 23:51:27 +00:00
Gregor Schneider 07a533fe02 - Evgeny Boltik, <BSTSoft AT narod DOT ru>: Add stretching support to TransparentBlt
- This should improve themes support & probably show some bitmaps that were hidden before in certain applications
- See bug #4337 for more information

svn path=/trunk/; revision=40380
2009-04-05 23:13:09 +00:00
Gregor Schneider feca367754 - 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
2009-04-05 21:34:27 +00:00
Gregor Schneider d730317b41 - 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
2009-04-05 21:27:39 +00:00
Michael Martin 43bbef89b5 - 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
2009-04-05 20:05:40 +00:00
Cameron Gutman 4d50892aaa - Revert r40367
- Fixes abyss server startup after installing

svn path=/trunk/; revision=40376
2009-04-05 18:11:24 +00:00
Johannes Anderwald a3e2c4bb4f - 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
2009-04-05 16:39:51 +00:00
Kamil Hornicek 0ae0d6a95c - add a stub for D3DParseUnknownCommand
svn path=/trunk/; revision=40374
2009-04-05 16:29:45 +00:00
Johannes Anderwald d8ae8a179f - Fix leaking of work item for each detected audio device
svn path=/trunk/; revision=40373
2009-04-05 16:05:54 +00:00
Kamil Hornicek b9a7dffffa - IntEnumDisplaySettings returns NTSTATUS, fix the check accordingly
svn path=/trunk/; revision=40372
2009-04-05 15:15:16 +00:00
Kamil Hornicek 787e608129 - leftover from the previous commit
svn path=/trunk/; revision=40371
2009-04-05 14:41:53 +00:00
Kamil Hornicek e3ff52440d - import ddraw from Wine and use it for now
- sync wined3d, d3d8, d3d9 with Wine HEAD

svn path=/trunk/; revision=40370
2009-04-05 13:52:15 +00:00
Aleksey Bragin de830bd4c5 - Compile UniATA with stdcall default calling convention instead of cdecl.
svn path=/trunk/; revision=40368
2009-04-05 11:46:53 +00:00
Cameron Gutman 4c4d83fa6e - 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
2009-04-05 07:23:25 +00:00
Cameron Gutman a2e1f4928f - Implement a DispatchCleanup routine and properly separate cleanup from close
svn path=/trunk/; revision=40366
2009-04-05 07:08:47 +00:00
Jeffrey Morlan 9f0ebd0b54 - Simplified code for CD, PUSHD, and POPD commands and also fixed some bugs.
svn path=/trunk/; revision=40365
2009-04-05 01:50:24 +00:00
Aleksey Bragin 47325e09c4 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
2009-04-04 18:52:14 +00:00
Aleksey Bragin fe2cbf3735 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
2009-04-04 18:24:24 +00:00
Jeffrey Morlan c0fd81e39e - 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
2009-04-04 17:51:55 +00:00
Johannes Anderwald edb9b66280 - Re-use WorkItem
- Fixes leaking a workitem for each pin creation request

svn path=/trunk/; revision=40360
2009-04-04 16:04:25 +00:00
Cameron Gutman 8d5edefc0e - 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
2009-04-04 01:22:33 +00:00
Cameron Gutman 7d73a8c6e8 - Validate the buffer size before copying to it
svn path=/trunk/; revision=40358
2009-04-04 00:41:42 +00:00
Cameron Gutman 8f9cc82b53 - Remove the rest of the code that sets the wrong IRP's status
svn path=/trunk/; revision=40357
2009-04-04 00:36:43 +00:00
Cameron Gutman 36f48eb147 - Initialize packets before using them
- Part 2 of 2

svn path=/trunk/; revision=40356
2009-04-04 00:24:20 +00:00
Cameron Gutman 48a474fded - 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
2009-04-04 00:23:09 +00:00
Cameron Gutman 485b36d2f8 - 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
2009-04-03 21:05:22 +00:00
Aleksey Bragin 0a7decc6fd - Add a leftover from commit 40334.
svn path=/trunk/; revision=40352
2009-04-03 17:14:24 +00:00
Johannes Anderwald 345900effc - 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
2009-04-03 17:06:16 +00:00
Aleksey Bragin 3147006bd2 - Delete regtests framework by Casper. It's useless.
svn path=/trunk/; revision=40349
2009-04-03 10:33:41 +00:00
Aleksey Bragin 86cfbadb1f - Get reactos.dff in sync with rosapps cleanup.
svn path=/trunk/; revision=40348
2009-04-03 10:06:36 +00:00
Aleksey Bragin 069eab936a - 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
2009-04-03 10:04:06 +00:00
Aleksey Bragin 238cd262d0 - 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
2009-04-03 09:41:09 +00:00
Aleksey Bragin f3b33304fe - 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
2009-04-03 09:29:39 +00:00
Aleksey Bragin 81b0e18658 - 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
2009-04-03 09:16:09 +00:00
Aleksey Bragin 1f6ff5aeae - Remove roswebparser.exe from installable modules list.
svn path=/trunk/; revision=40343
2009-04-03 09:08:58 +00:00
Cameron Gutman 258f1161f3 - 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
2009-04-03 05:31:00 +00:00
Cameron Gutman 97332db7ed - 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
2009-04-03 05:29:49 +00:00
James Tabor 15c0d86086 - Replaced fix pi and enabled test for window processes with the proper signing. Yes regedit works.
svn path=/trunk/; revision=40340
2009-04-03 05:26:53 +00:00
Cameron Gutman 9f2a6c263e - 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
2009-04-03 01:45:32 +00:00
Aleksey Bragin 0666bda0bc - 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
2009-04-02 19:00:09 +00:00
James Tabor c993561d5d - 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
2009-04-02 18:52:34 +00:00
Aleksey Bragin 35e7c09e4b - 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
2009-04-02 17:43:24 +00:00
Aleksey Bragin b9451c3494 - 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
2009-04-02 17:25:56 +00:00
Aleksey Bragin ba802c2e4a - Simplify code. Inspired by Evgeniy Boltik's patch.
See issue #4326 for more details.

svn path=/trunk/; revision=40329
2009-04-02 16:34:11 +00:00
Ged Murphy 6e1bf38578 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
2009-04-02 15:06:04 +00:00
Ged Murphy 990c6414f3 Stop mithering me and just open the MDI shell browser by default.
svn path=/trunk/; revision=40327
2009-04-02 14:59:18 +00:00
Dmitry Gorbachev fda957e5f8 Japanese translations by Tomoya Kitagawa. Bug #4328.
svn path=/trunk/; revision=40325
2009-04-02 06:20:50 +00:00