Commit graph

35947 commits

Author SHA1 Message Date
Art Yerkes a46ae9be03 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
2009-04-02 02:35:41 +00:00
Art Yerkes 3f6e1e7f65 FORMATTING only.
svn path=/trunk/; revision=40322
2009-04-02 01:04:07 +00:00
Art Yerkes db2bd1e444 FORMATTING only.
svn path=/trunk/; revision=40321
2009-04-02 01:02:56 +00:00
Timo Kreuzer f854838a2c 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
2009-04-01 17:32:06 +00:00
Art Yerkes 1b18546ca6 [FORMATTING] no code change yet.
svn path=/trunk/; revision=40318
2009-04-01 17:15:26 +00:00
Dmitry Chapyshev 45057d9595 - Ukrainian translation by Sakara Yevhen
svn path=/trunk/; revision=40317
2009-04-01 16:27:55 +00:00
Stefan Ginsberg 33301e7f0e - 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
2009-04-01 15:59:59 +00:00
Dmitry Gorbachev f9801061a9 Update Norwegian translations. Patches from LMH1, bug #2482, bug #4325.
svn path=/trunk/; revision=40315
2009-04-01 15:27:44 +00:00
Christoph von Wittich bf8f00bd1a fix include guard
See issue #4322 for more details.

svn path=/trunk/; revision=40314
2009-04-01 13:56:53 +00:00
Cameron Gutman 6a35d6b424 - Handle IRP_MN_FILTER_RESOURCE_REQUIREMENTS
- Now isapnp receives IRP_MN_START_DEVICE but it still doesn't work

svn path=/trunk/; revision=40313
2009-04-01 09:01:26 +00:00
Ged Murphy 79241af077 reapply the icon cache init code
svn path=/trunk/; revision=40312
2009-04-01 07:27:23 +00:00
Jeffrey Morlan dcb067a51f - 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
2009-04-01 03:54:45 +00:00
Cameron Gutman edf6d65008 - Don't shrink the ICMP packet that we receive
- Now we reply properly with large packets

svn path=/trunk/; revision=40310
2009-04-01 03:08:51 +00:00
Timo Kreuzer c9aae814df Skip kernel32 virtual tests again. sysreg isn't ready for that yet.
svn path=/trunk/; revision=40309
2009-04-01 02:49:32 +00:00
James Tabor 0aa159083b - Check the headers next time.
svn path=/trunk/; revision=40308
2009-04-01 02:25:28 +00:00
Timo Kreuzer 0bbce9519c Add one more test for SetDCPenColor
svn path=/trunk/; revision=40307
2009-04-01 02:02:21 +00:00
Timo Kreuzer 189fc82964 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
2009-04-01 01:49:18 +00:00
James Tabor d3c4569552 - 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
2009-03-31 22:02:29 +00:00
Johannes Anderwald 915b3f0c38 - Revert 40296
- This will not work for REG_DWORD

svn path=/trunk/; revision=40304
2009-03-31 16:38:52 +00:00
Jeffrey Morlan dcf22e1daf Fix some incorrect lengths in ConInString (Bug 4085); also make sure result is nul-terminated.
svn path=/trunk/; revision=40303
2009-03-31 04:06:47 +00:00
Ged Murphy ae5067a1ab partially revert to slightly broken Wine code for now
svn path=/trunk/; revision=40302
2009-03-30 22:41:53 +00:00
Cameron Gutman 6555a581af - Move the buffer size validation before writing to the buffer
- Change the status to STATUS_BUFFER_TOO_SMALL

svn path=/trunk/; revision=40301
2009-03-30 22:32:37 +00:00
Cameron Gutman e84bd02268 - Validate the output buffer size before writing to it
- Fix some potential memory leaks
 - Lock the FCB in AfdCloseSocket

svn path=/trunk/; revision=40300
2009-03-30 22:20:12 +00:00
Ged Murphy a23569ce50 - 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
2009-03-30 21:21:41 +00:00
Ged Murphy 569028fafb fix wine's code a little better
svn path=/trunk/; revision=40298
2009-03-30 19:28:39 +00:00
Ged Murphy 96c892841a Create the system and device imagelists with the correct bpp
Do the same with the explorer stuff

svn path=/trunk/; revision=40297
2009-03-30 19:08:16 +00:00
Johannes Anderwald 47bdeaf2b9 - Return correct byte size
- Fixes 3 wine test failures

svn path=/trunk/; revision=40296
2009-03-30 17:19:43 +00:00
Dmitry Gorbachev 63de8c6dce Do not crash with "Assertion 'Process == PsGetCurrentProcess()' failed" msg.
svn path=/trunk/; revision=40295
2009-03-30 09:12:25 +00:00
James Tabor c40699db49 - Move W32PROCESSINFO to PROCESSINFO.
svn path=/trunk/; revision=40294
2009-03-30 05:45:08 +00:00
James Tabor ea204363b7 - Update W32PROCESS and related code.
svn path=/trunk/; revision=40293
2009-03-30 03:56:53 +00:00
Daniel Reimer 4ff599ba79 Sync WinHLP32 and WordPad with Wine HEAD.
Bug 4306 by Paolo Devoti. Update for Italian Translations.

svn path=/trunk/; revision=40292
2009-03-29 23:28:29 +00:00
Daniel Reimer 7cd8a66013 Sync write with Wine HEAD
svn path=/trunk/; revision=40291
2009-03-29 23:17:43 +00:00
Aleksey Bragin 46689e8b55 [FORMATTING]
- Change comments to match kernel coding style
- Remove EOL spaces.

svn path=/trunk/; revision=40290
2009-03-29 19:32:37 +00:00
Jeffrey Morlan c1ff41171d Make cmd able to (sort of) work without a console.
svn path=/trunk/; revision=40289
2009-03-29 19:17:45 +00:00
James Tabor c233cfcaf8 - Fix W32PROCESS, replaced pointer with structure.
svn path=/trunk/; revision=40288
2009-03-29 16:31:27 +00:00
Kamil Hornicek 264b97f2c4 - return WSAEMSGSIZE on both STATUS_BUFFER_TOO_SMALL / STATUS_BUFFER_OVERFLOW:
svn path=/trunk/; revision=40287
2009-03-29 15:56:08 +00:00
Kamil Hornicek a83abb4f0e - fix possible memory leak (patch from Mesa3D by Daniel Zimmermann)
svn path=/trunk/; revision=40286
2009-03-29 13:39:18 +00:00
Aleksey Bragin df5b7d2582 - 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
2009-03-29 13:15:03 +00:00
Aleksey Bragin fea868eebc - Implement KeTestSpinLock.
svn path=/trunk/; revision=40284
2009-03-29 12:57:58 +00:00
Kamil Hornicek d32512662f update Mesa3D to version 7.4
svn path=/trunk/; revision=40283
2009-03-29 12:45:34 +00:00
Dmitry Gorbachev 379a32cc4b Shell32 translation patch from Tomoya Kitagawa, bug #4310.
svn path=/trunk/; revision=40282
2009-03-29 11:53:16 +00:00
Michael Martin 4ea62038a8 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
2009-03-29 11:15:10 +00:00
Jeffrey Morlan ad25b56ea8 Make command parsing in DoCommand/Execute more compatible with Windows
svn path=/trunk/; revision=40280
2009-03-29 05:13:35 +00:00
Timo Kreuzer 47bc28fa47 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
2009-03-29 02:15:37 +00:00
Timo Kreuzer c14d3364c7 Simple temporary implementation of EngRealizeBrush. Not tested, not used yet.
svn path=/trunk/; revision=40278
2009-03-29 01:43:09 +00:00
Timo Kreuzer d32f5cf257 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
2009-03-29 00:26:30 +00:00
Timo Kreuzer 77b12d6d18 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
2009-03-29 00:25:47 +00:00
Cameron Gutman 060ac4d373 - Fix some TDI flags
svn path=/trunk/; revision=40275
2009-03-29 00:22:31 +00:00
James Tabor 0142494290 - Add The rest to W32PROCESS.
svn path=/trunk/; revision=40274
2009-03-28 23:28:38 +00:00
James Tabor b2c76fa160 - Add Lock point and AVL table pointer to W32PROCESS. This is for EngAllocUserMem and friends.
svn path=/trunk/; revision=40273
2009-03-28 23:06:07 +00:00