Commit graph

36879 commits

Author SHA1 Message Date
Michael Martin 145292bd14 - eventlog.h: Add LIST_ENTRY to EVENTSOURCE structure to track handles.
- ElfCreateEventLogHandle: Modify return type to PEVENTSOURCE and add BOOL parameter to determine whether handle is being created or opened as behavior differs between the two.
- Added ElfGetEventLogSourceEntryByHandle for looking up the handle.
- Implement EventLog api's ElfrOpenELW, ElfrRegisterEventSourceW, ElfrReadELW, ElfrReportEventW, ElfrOldestRecord, ElfrCloseEL and ElfrDeregisterEventSource.
- LogfWriteData: Remove unnecessary debugging.

svn path=/trunk/; revision=41202
2009-05-30 01:08:56 +00:00
Michael Martin 63cf252981 - ElfrOpenBELW/ElfrOpenELW/ElfrRegisterEventSourceW: MajorVersion and MinorVersion must be 1 as documented on MSDN.
- ReportEventW: Use RtlInitUnicodeString for ComputerName.

svn path=/trunk/; revision=41201
2009-05-30 00:38:46 +00:00
Benedikt Freisen f60cf40016 Paint: Added cropping via attributes dialog and setting desktop wallpaper (both not yet working)
svn path=/trunk/; revision=41200
2009-05-29 19:36:35 +00:00
Dmitry Chapyshev a67875884f - Implement IOCTL_KEYBOARD_QUERY_ATTRIBUTES (not used yet, see FIXME comment)
- Add KeyboardAttributes to I8042_KEYBOARD_EXTENSION

svn path=/trunk/; revision=41199
2009-05-29 17:25:03 +00:00
Dmitry Chapyshev fb2d7417a0 - Add IOCTL_KEYBOARD_QUERY_ATTRIBUTES / IOCTL_KEYBOARD_QUERY_TYPEMATIC / IOCTL_KEYBOARD_SET_TYPEMATIC (unimplemented)
svn path=/trunk/; revision=41198
2009-05-29 17:11:46 +00:00
Dmitry Chapyshev d14c9bfc5e - Implement IOCTL_MOUSE_QUERY_ATTRIBUTES (untested)
svn path=/trunk/; revision=41197
2009-05-29 16:36:39 +00:00
Daniel Reimer 8564d5d7b0 Bug 4555: slovak translation update by Mario Kacmar
Bug 4562: Romanian translation patch by Dimitriu Petru

svn path=/trunk/; revision=41196
2009-05-29 12:43:43 +00:00
Johannes Anderwald 6a2637c2d0 - Use a reference name when registering audio subdevices (bug 4566)
- Release subdevice interface when it is no longer needed
- Fix a memory leak
- Audio support is on hold untill bug 4566 is resolved

svn path=/trunk/; revision=41195
2009-05-29 12:40:09 +00:00
James Tabor 76ebb1bce7 - Hack around the system start up Dll Initialization, this time we moved it to User32.
svn path=/trunk/; revision=41192
2009-05-29 08:16:16 +00:00
James Tabor 9fdb3933ab - Hack around the system start up Dll Initialization Bug for GdiHandleTable.
svn path=/trunk/; revision=41191
2009-05-29 07:13:43 +00:00
Michael Martin add725ffb4 - ProcessMouseInputData: Mouse pointer shown on window was slightly off. Fix calculation in conversion to screen position.
svn path=/trunk/; revision=41190
2009-05-29 04:35:07 +00:00
Dmitry Gorbachev ee5f7d6175 Show CDROM as CDROM in "Properties for Local Disk" dialog. Marcus Boillat, bug #4552.
svn path=/trunk/; revision=41188
2009-05-28 19:13:59 +00:00
Aleksey Bragin fbb5ecf591 - Add missing AVL tree initialization.
svn path=/trunk/; revision=41186
2009-05-28 18:59:26 +00:00
Dmitry Gorbachev 65c1e96e4f Fix bug #4552, introduced in r40826 by me.
Patch by Marcus Boillat (ka6602-280*at*online*dot*de).

svn path=/trunk/; revision=41185
2009-05-28 18:50:40 +00:00
Aleksey Bragin b961004731 - Delete entries for removed modules (os2, posix, rosky and vms).
svn path=/trunk/; revision=41177
2009-05-28 12:53:29 +00:00
Aleksey Bragin eb8acc3f14 - Add missing c_424.nls.
svn path=/trunk/; revision=41176
2009-05-28 12:50:52 +00:00
Aleksey Bragin 9a45fd4d52 - Switch to using UniATA as a default storage driver. Makes it possible to use some SerialATA controllers/harddisks and overcome 8Gb HDD limitation.
See issue #1262 for more details.

svn path=/trunk/; revision=41175
2009-05-28 12:48:22 +00:00
Aleksey Bragin 0c845ee731 - Report 5.2 as a version in UniATA rather than 4.1. It doesn't seem to introduce incompatibility, but is more realistic for the rest of the driver.
svn path=/trunk/; revision=41174
2009-05-28 12:26:10 +00:00
Aleksey Bragin b5000fe04d - Increase waiting time for DRQ removal inside AtapiInterrupt twice.
- Don't disable/enable IDE controller interrupts in AtapiSendCommand. This confuses Virtual Box's controller (it consumes one interrupt without ever emitting it) and thus sending any ATAPI command fails.
- Turn off ATAPI DMA raw read support by default. It seems to be incompatible with (at least) Virtual Box IDE controller.
See issue #3645 for more details.

svn path=/trunk/; revision=41173
2009-05-28 12:13:17 +00:00
Michael Martin b231782314 - i8042MouInternalDeviceControl: Forgotten from last commit. Partially implement internal IOCTLs IOCTL_INTERNAL_I8042_MOUSE_WRITE_BUFFER, IOCTL_INTERNAL_I8042_MOUSE_START_INFORMATION and IOCTL_MOUSE_QUERY_ATTRIBUTES.
svn path=/trunk/; revision=41167
2009-05-28 07:08:47 +00:00
Michael Martin 80a1ad6299 - MouseThreadMain: Send IOCTL_MOUSE_QUERY_ATTRIBUTES to mouse driver. MSDN reads that this IOCTL is sent from the subsystem. Filter drivers can depend on this behavior. (VirtualBox guest addition drivers)
Does the subsystem need the returned mouse attributes for anything?
- ProcessMouseInputData: Handle flag MOUSE_MOVE_ABSOLUTE and change absolute mouse position to screen coordinates.
Fixes VirtualBox mouse integration.

svn path=/trunk/; revision=41166
2009-05-28 03:47:41 +00:00
Cameron Gutman cabc0627ac - Only register a shutdown handler if adapter initialization has succeeded
svn path=/trunk/; revision=41161
2009-05-27 21:45:01 +00:00
Johannes Anderwald 92d38ba763 - Register shutdown notification
- Close file objects / handles on shutdown

svn path=/trunk/; revision=41157
2009-05-27 20:33:00 +00:00
Dmitry Gorbachev a3e6255be2 Clear up debugger prompt from "mouse excrements". Tested in QEMU, Bochs, VirtualBox.
svn path=/trunk/; revision=41156
2009-05-27 20:27:35 +00:00
Dmitry Gorbachev a7780a5fda Use a constant of the right type.
svn path=/trunk/; revision=41155
2009-05-27 20:27:27 +00:00
Dmitry Gorbachev 4ce41c57f5 Remove an unused variable that survived the Marletting.
svn path=/trunk/; revision=41154
2009-05-27 20:27:18 +00:00
Dmitry Gorbachev 8e9da0a8f0 Do not assign twice to the same variable.
svn path=/trunk/; revision=41153
2009-05-27 20:27:09 +00:00
Colin Finck d3f761e829 Don't use a dereferencing operator when incrementing the pointer here.
Doesn't change the actual logic, but should avoid confusions ;-)

See issue #4557 for more details.

svn path=/trunk/; revision=41152
2009-05-27 20:13:36 +00:00
Matthias Kupfer 5907aba3f0 new rosdbg icon
svn path=/trunk/; revision=41151
2009-05-27 19:12:41 +00:00
Johannes Anderwald e57f479b22 - return error code when there is a timeout
- improve error check in PcNewInterruptSync
- write an error log entry when a device fails to start

svn path=/trunk/; revision=41149
2009-05-27 18:42:56 +00:00
Johannes Anderwald 7e126c8427 - define PORT_MAXIMUM_MESSAGE_LENGTH
svn path=/trunk/; revision=41148
2009-05-27 18:32:39 +00:00
Dmitry Gorbachev 2d3b058e33 Change Paint to use Unicode
svn path=/trunk/; revision=41147
2009-05-27 17:56:50 +00:00
Aleksey Bragin 73bb488c7a Mikhail Denisenko <denisenkom@gmail.com>
- Destroy proper windows, fixes one more memory leak.

See issue #2012 for more details.

svn path=/trunk/; revision=41146
2009-05-27 17:37:35 +00:00
Aleksey Bragin bc373b83fc Mikhail Denisenko <denisenkom@gmail.com>
- RegisterDragDrop should be coupled with a RevokeDragDrop, so add that.
- Remove _pDropTarget from class members, it's a var local to DesktopShellView::InitDragDrop() method.
See issue #2012 for more details.

svn path=/trunk/; revision=41145
2009-05-27 17:35:02 +00:00
Aleksey Bragin b943ea64cf Mikhail Denisenko <denisenkom@gmail.com>
- Free subentries in Entry destructor. Fixes QuickLaunch entries leak.
See issue #2012 for more details.

svn path=/trunk/; revision=41144
2009-05-27 17:28:59 +00:00
Stefan Ginsberg e6b91f9ede - IntEmptyClipboardData: Check before freeing a potential null pointer
svn path=/trunk/; revision=41143
2009-05-27 16:39:24 +00:00
Dmitry Gorbachev acf1233799 Fix some bugs in Paint.
svn path=/trunk/; revision=41141
2009-05-27 12:03:18 +00:00
Dmitry Gorbachev 1692e98b17 Fix build, part 2.
svn path=/trunk/; revision=41140
2009-05-27 11:50:52 +00:00
Dmitry Gorbachev 1acfeeec78 Trying to fix build.
svn path=/trunk/; revision=41139
2009-05-27 11:42:18 +00:00
Dmitry Gorbachev db320e7765 Fix warnings that are issued by new GCC versions.
svn path=/trunk/; revision=41138
2009-05-27 10:55:41 +00:00
James Tabor 718fea97dd - Add more missing structures to winddiui.h.
svn path=/trunk/; revision=41136
2009-05-27 07:19:31 +00:00
James Tabor d343246821 - Implementation of gdi printing support. Work in progress. Added StartDocW plus others and fixed some defines. Found the initialization bug again, yes it was never fixed, but worked around. The debug spam has a purpose, just read it.
svn path=/trunk/; revision=41135
2009-05-27 04:49:29 +00:00
Cameron Gutman 623370604d - Add definition of NDIS_TASK_OFFLOAD_HEADER
svn path=/trunk/; revision=41134
2009-05-27 00:33:55 +00:00
Johannes Anderwald 0b648bb995 - Don't release resource list
- May fix 4551

svn path=/trunk/; revision=41131
2009-05-26 21:18:28 +00:00
Aleksey Bragin d41ad9a51b - Make memcpy a duplicate of a memmove (confirmed by testing), there is a dependency on this behaviour. One less "msvcrt_winetest.exe string" failure.
svn path=/trunk/; revision=41126
2009-05-26 16:35:01 +00:00
Christoph von Wittich 878b219c0c sync LISTBOX_DeleteItem and LISTBOX_RemoveItem with wine 1.1.22
svn path=/trunk/; revision=41125
2009-05-26 15:57:17 +00:00
Daniel Reimer b74916cb57 Bug 4535: Dutch translation for userinit by wouterdevlieger@gmail.com
Bug 4539: slovak translation update by Mario Kacmar
Bug 4540: Romanian translation patch by Petru Dimitriu

svn path=/trunk/; revision=41124
2009-05-26 12:10:58 +00:00
James Tabor 4d5af8524b - restore missing functions, fix build.
svn path=/trunk/; revision=41123
2009-05-26 06:36:57 +00:00
James Tabor bac0137f97 - Implementation of gdi printing support. Work in progress. Losts of updates, including missing functions in the winspool spec file.
svn path=/trunk/; revision=41122
2009-05-26 05:50:15 +00:00
Timo Kreuzer 6ec8db72ea MmGrowKernelStack: go back to the ASSERT and add a fixed check
svn path=/trunk/; revision=41121
2009-05-25 22:38:00 +00:00