Commit graph

36905 commits

Author SHA1 Message Date
Stefan Ginsberg 7aa1c0b641 - Disable debugging traces for dbgk/io/lpc/ob/ps by default, removing mostly unused debug code from frequently used routines and decreasing image size by about 32 KB. Also fix the way some macros are defined so we don't end up with double semicolons after the preprocessor.
svn path=/trunk/; revision=41233
2009-06-01 06:21:12 +00:00
Cameron Gutman 6d2f233002 - Implement and export NdisCompareAnsiString, NdisCompareUnicodeString, and NdisInterlockedAddLargeInteger
svn path=/trunk/; revision=41232
2009-05-31 23:20:55 +00:00
Cameron Gutman d6dda55c2d - Export the stubs for NdisRegisterTdiCallBack, NdisSetProtocolFilter, and NdisClGetProtocolVcContextFromTapiCallId
- Remove some extra stuff
 - Move implemented stuff to misc.c
 - Add some debug prints

svn path=/trunk/; revision=41231
2009-05-31 23:00:32 +00:00
Kamil Hornicek a10701f6ac - driverName can be null, display info.DriverName instead
svn path=/trunk/; revision=41230
2009-05-31 21:54:34 +00:00
Stefan Ginsberg ca5fe53784 Patch from Olaf Siejka <olaf_siejka AT o2 DOT pl>
Stub out more IRP type cases instead of printing "Unknown IOCTL"

svn path=/trunk/; revision=41229
2009-05-31 20:53:49 +00:00
Cameron Gutman 9d9267a4fb - Add TDI_REGISTER_CALLBACK and TDI_PNP_HANDLER
svn path=/trunk/; revision=41228
2009-05-31 17:42:56 +00:00
James Tabor a149107372 - dmDriverExtra is zeroed before the call to ChangeDisplaySettingsEx.
svn path=/trunk/; revision=41227
2009-05-31 17:33:27 +00:00
Sylvain Petreolle 6f6a9fe1c5 Return NDIS 5.1 in NdisGetVersion (its XP+)
svn path=/trunk/; revision=41226
2009-05-31 16:14:27 +00:00
Cameron Gutman 67f8c6d15c - Implement and export NdisOverrideBusNumber
svn path=/trunk/; revision=41225
2009-05-31 16:04:43 +00:00
Dmitry Chapyshev e258863e18 - Implement NdisGetSharedDataAlignment and NdisGetVersion
svn path=/trunk/; revision=41224
2009-05-31 15:24:56 +00:00
Cameron Gutman 9ee18c1c89 - Fix build
svn path=/trunk/; revision=41223
2009-05-31 14:59:56 +00:00
Cameron Gutman c57e5460f5 - Export and stub NdisAllocateFromBlockPool, NdisCancelSendPackets, NdisCoAssignInstanceName, NdisCoGetTapiCallId, NdisCreateBlockPool, NdisDestroyBlockPool, NdisGeneratePartialCancelId, NdisGetRoutineAddress, NdisGetSharedDataAlignment, NdisGetVersion, NdisIMGetCurrentPacketStack, NdisIMNotifyPnPEvent, NdisQueryPendingIOCount, and NdisSetPacketStatus
svn path=/trunk/; revision=41222
2009-05-31 14:47:06 +00:00
Cameron Gutman b8460aa949 - Add NDIS_PACKET_STACK and NDIS_BLOCK_INITIALIZER
svn path=/trunk/; revision=41221
2009-05-31 14:42:17 +00:00
Cameron Gutman b917a5c401 - Fix a typo
- Found by Fireball

svn path=/trunk/; revision=41219
2009-05-31 13:17:42 +00:00
Sylvain Petreolle 70806391db Sync GetNamedSecurityInfoA with Wine.
RtlCreateUnicodeStringFromAsciiz is unwanted since the call to GetNamedSecurityInfoW checks for NULL
and in this case sets ERROR_INVALID_PARAMETER.

svn path=/trunk/; revision=41216
2009-05-31 12:39:45 +00:00
Dmitry Gorbachev f3dc5e09e4 Sync Dutch translation with English original.
svn path=/trunk/; revision=41215
2009-05-31 12:25:05 +00:00
Cameron Gutman 2c542da5fb - Export and hackplement NdisSetTimerEx
- Implementation is #ifed out currently but I may enable it later
 - Hopefully somebody can think of a better way to do it than the current code

svn path=/trunk/; revision=41213
2009-05-30 23:07:13 +00:00
Cameron Gutman f52414693c - Fix line breaks
- Patch by Olaf Siejka

svn path=/trunk/; revision=41212
2009-05-30 22:54:38 +00:00
Cameron Gutman 7d457b6fd5 - Export stubs for NdisQueryBindInstanceName and NdisSetPacketPoolProtocolId
svn path=/trunk/; revision=41211
2009-05-30 22:50:33 +00:00
Cameron Gutman 4b7dc042c1 - Export NdisGetFirstBufferFromPacketSafe, NdisGetPacketCancelId, NdisGetPoolFromPacket, NdisPacketSize, and NdisSetPacketCancelId
svn path=/trunk/; revision=41210
2009-05-30 22:18:10 +00:00
Sylvain Petreolle e1bafda4d6 Export NdisCopyFromPacketToPacketSafe
svn path=/trunk/; revision=41208
2009-05-30 21:50:49 +00:00
Cameron Gutman a9826865bc - Fix handling of nonpaged contiguous memory in NdisAllocateMemory and NdisFreeMemory
svn path=/trunk/; revision=41207
2009-05-30 17:12:45 +00:00
Dmitry Chapyshev c52c28e739 - Set default kb layout for Russian language to English
svn path=/trunk/; revision=41206
2009-05-30 13:47:48 +00:00
Sylvain Petreolle 2099bbb8bd Implement CDS_TEST flag for IntChangeDisplaySettings.
Set ERROR_CALL_NOT_IMPLEMENTED where needed.

svn path=/trunk/; revision=41205
2009-05-30 12:26:59 +00:00
Sylvain Petreolle 2b5b6243ba ChangeDisplaySettingsA and ChangeDisplaySettingsW should reset dmDriverExtra to 0.
svn path=/trunk/; revision=41204
2009-05-30 12:23:20 +00:00
Aleksey Bragin 0a2ab85168 - Add missing parameters probing.
svn path=/trunk/; revision=41203
2009-05-30 10:57:31 +00:00
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