Stefan Ginsberg [Sat, 25 Jul 2009 16:53:25 +0000 (16:53 +0000)]
- Fix a critical bug in ExAllocatePoolWithQuota spotted by msvc. Because of the current POOL_TAGGING mess in wdm.h, ExAllocatePoolWithQuotaTag is defined to ExAllocatePoolWithQuota, so when ExAllocatePoolWithQuota called the with-tag version, it ended up calling _itself_. Fix this by undefining the broken macro.
svn path=/trunk/; revision=42215
Dmitry Chapyshev [Sat, 25 Jul 2009 15:57:18 +0000 (15:57 +0000)]
- Add stubs for AppCleanup and videoThunk32
- Partially implement capCreateCaptureWindowW and capGetDriverDescriptionW
svn path=/trunk/; revision=42214
Stefan Ginsberg [Sat, 25 Jul 2009 15:31:57 +0000 (15:31 +0000)]
- Fix incorrect definition of ZwCreateDebugObject after revision 41969 -- spotted by BugBoy
svn path=/trunk/; revision=42213
Stefan Ginsberg [Sat, 25 Jul 2009 14:55:52 +0000 (14:55 +0000)]
- Leftover 2 from 42210
svn path=/trunk/; revision=42212
Stefan Ginsberg [Sat, 25 Jul 2009 14:54:31 +0000 (14:54 +0000)]
- Leftover from previous commit
svn path=/trunk/; revision=42211
Stefan Ginsberg [Sat, 25 Jul 2009 14:51:56 +0000 (14:51 +0000)]
- Fix most of the network stack for msvc (except tcpip and oskittcp)
- Fix calling convention definitions for ntdd8042.h
- Fix msfs' calling convention
svn path=/trunk/; revision=42210
Stefan Ginsberg [Sat, 25 Jul 2009 14:32:06 +0000 (14:32 +0000)]
- Revert 42206 change to ddraw.h as it breaks dxapi
svn path=/trunk/; revision=42209
Stefan Ginsberg [Sat, 25 Jul 2009 14:06:06 +0000 (14:06 +0000)]
- Make ks and portcls compile under msvc
svn path=/trunk/; revision=42208
Stefan Ginsberg [Sat, 25 Jul 2009 13:15:22 +0000 (13:15 +0000)]
- Make most of the the video stack compile with msvc
svn path=/trunk/; revision=42206
Stefan Ginsberg [Sat, 25 Jul 2009 11:44:27 +0000 (11:44 +0000)]
- Make mp HAL MSC compatible
svn path=/trunk/; revision=42205
Stefan Ginsberg [Sat, 25 Jul 2009 11:43:48 +0000 (11:43 +0000)]
- Fix some kernel MSC compilation issues:
- ShutdownThreadMain: Define SMP-only variables compatibly
- MmArmInitSystem: Define MiNonPagedPoolStart and MiNonPagedPoolLength externs compatibly
- KdbpCallMainLoop: Add VOID to parameter list
svn path=/trunk/; revision=42204
Aleksey Bragin [Sat, 25 Jul 2009 10:24:41 +0000 (10:24 +0000)]
- Create a solid black brush for background color of a ConsoleWindowClass.
svn path=/trunk/; revision=42202
Dmitry Chapyshev [Sat, 25 Jul 2009 09:41:17 +0000 (09:41 +0000)]
- Implement capCreateCaptureWindowA and capGetDriverDescriptionA (based on Wine code)
svn path=/trunk/; revision=42198
Dmitry Chapyshev [Sat, 25 Jul 2009 09:28:18 +0000 (09:28 +0000)]
- Add avicap32 (stubs only)
- Add mfc42u.dll, msvbvm50.dll, msvbvm60.dll, msvcirt.dll optional entries to reactos.dff
svn path=/trunk/; revision=42197
Dmitry Gorbachev [Sat, 25 Jul 2009 09:24:30 +0000 (09:24 +0000)]
Do not fail when compiling with GCC 4.4.1
svn path=/trunk/; revision=42196
Dmitry Gorbachev [Sat, 25 Jul 2009 09:18:52 +0000 (09:18 +0000)]
Add / update Czech translations. Radek Liska. Bugs #4707 and #4708.
svn path=/trunk/; revision=42195
Dmitry Gorbachev [Sat, 25 Jul 2009 07:59:18 +0000 (07:59 +0000)]
Undo part of r42190. Sorry.
svn path=/trunk/; revision=42194
Dmitry Gorbachev [Sat, 25 Jul 2009 07:42:15 +0000 (07:42 +0000)]
Fix some bugs, reported by GCC.
svn path=/trunk/; revision=42193
Dmitry Gorbachev [Sat, 25 Jul 2009 07:41:42 +0000 (07:41 +0000)]
Silence GCC warnings.
svn path=/trunk/; revision=42192
Dmitry Gorbachev [Sat, 25 Jul 2009 07:41:14 +0000 (07:41 +0000)]
- Declare iswblank() in wctype.h, not isblank().
- Add iswblank() to wchar.h, too.
svn path=/trunk/; revision=42191
Dmitry Gorbachev [Sat, 25 Jul 2009 07:40:39 +0000 (07:40 +0000)]
Fix "misrepresented license in FreeLDR", Robert Millan (rmh.reactos at aybabtu.com), bug #4673.
svn path=/trunk/; revision=42190
Dmitry Gorbachev [Sat, 25 Jul 2009 07:40:35 +0000 (07:40 +0000)]
Do not fail with 'l' type modifier. Bug #4438.
svn path=/trunk/; revision=42189
Cameron Gutman [Sat, 25 Jul 2009 02:28:11 +0000 (02:28 +0000)]
ws2_32_new compatibility fixes
- Fix the rest of the code which was using errno instead of WSAGetLastError()
- Remove some dead code
svn path=/trunk/; revision=42188
Cameron Gutman [Sat, 25 Jul 2009 02:01:13 +0000 (02:01 +0000)]
ws2_32_new compatibility fixes
- Use Sleep() to wait when we have no interfaces because select() will fail and return without waiting
- Use WSAGetLastError() instead of errno
svn path=/trunk/; revision=42187
James Tabor [Sat, 25 Jul 2009 01:42:04 +0000 (01:42 +0000)]
- Removed unused ppi pointer.
svn path=/trunk/; revision=42186
James Tabor [Sat, 25 Jul 2009 00:41:22 +0000 (00:41 +0000)]
- [Win32k] More work on classes. ReactOS seems to return the opposite WinProc and sometimes it is a CallProcData handle. This is confusing the class wine tests. The last thing it should do is return CallProcData handle after attempting to find the right proc. Fixed message class bits. Moved CallProc to CallProcData and updated related code. Started alternate function to replace NtUserGetClassLong and NtUserGetWindowLong.
- Tested wine, Firefox 1.15.xx and AbiWord 2.6.8.
svn path=/trunk/; revision=42185
Cameron Gutman [Fri, 24 Jul 2009 21:06:20 +0000 (21:06 +0000)]
- Add support for adapters added after DHCP is started
- Automatically request an IP address after an interface becomes ready (needed for DHCP support on WLAN adapters)
svn path=/trunk/; revision=42182
Cameron Gutman [Fri, 24 Jul 2009 20:49:39 +0000 (20:49 +0000)]
- Implement OID_GEN_HARDWARE_STATUS
svn path=/trunk/; revision=42180
Dmitry Gorbachev [Fri, 24 Jul 2009 19:52:05 +0000 (19:52 +0000)]
- Turn a macro into an inline function to avoid a warning.
- Remove a stray acute accent.
svn path=/trunk/; revision=42179
Stefan Ginsberg [Fri, 24 Jul 2009 19:39:07 +0000 (19:39 +0000)]
- Leftover from 42176
svn path=/trunk/; revision=42178
Stefan Ginsberg [Fri, 24 Jul 2009 19:09:39 +0000 (19:09 +0000)]
- Kill off diskdump too
svn path=/trunk/; revision=42177
Stefan Ginsberg [Fri, 24 Jul 2009 17:35:28 +0000 (17:35 +0000)]
- Get rid of ccros.h, deprecated by revision 42175
svn path=/trunk/; revision=42176
ReactOS Portable Systems Group [Fri, 24 Jul 2009 15:49:27 +0000 (15:49 +0000)]
- Remove deprecated/old/buggy/unused code.
- Make MxGetNextPage return the lowest free physical page, not the highest.
- This way we fragment the address space less.
- Also makes calculation of "forgotten" pages when we build the PFN database earlier.
- Remove MmAllocEarlyPage and use MxGetNextPage instead.
svn path=/trunk/; revision=42175
Timo Kreuzer [Fri, 24 Jul 2009 11:29:54 +0000 (11:29 +0000)]
- move delayimp.h to psdk
svn path=/trunk/; revision=42174
Dmitry Gorbachev [Fri, 24 Jul 2009 10:52:49 +0000 (10:52 +0000)]
Add missing license.
svn path=/trunk/; revision=42173
Timo Kreuzer [Fri, 24 Jul 2009 10:25:53 +0000 (10:25 +0000)]
[delayimp]
- move IndexFromPImgThunkData and PFromRva to delayimp.h
- use __ImageBase insetad of _image_base__
- fix include guard
- RVA is a DWORD, not a PVOID
svn path=/trunk/; revision=42172
Ged Murphy [Fri, 24 Jul 2009 07:44:51 +0000 (07:44 +0000)]
Add a missing mockup image
svn path=/trunk/; revision=42171
Timo Kreuzer [Fri, 24 Jul 2009 04:30:09 +0000 (04:30 +0000)]
Add license header (LGPL)
svn path=/trunk/; revision=42170
Timo Kreuzer [Fri, 24 Jul 2009 04:24:36 +0000 (04:24 +0000)]
Implement delayimp lib
This library will allow to delay import from dlls, if used together with the corresponding delayimport lib for that dll. An initial patch for dlltool can be found in bug #4730.
Based on Matt Pietrek's "Under the Hood" article: http://www.microsoft.com/msj/1298/hood/hood1298.aspx and msdn documentation.
svn path=/trunk/; revision=42169
James Tabor [Fri, 24 Jul 2009 01:03:11 +0000 (01:03 +0000)]
- [Win32k] More work on classes. Fixed SEH abuse and implemented NtUserGetWOWClass. Minor bug fixes and modifications that help function compatibility based on wine.
- Tested wine (some improvements and losses): Msi seems to be fixed, did not test before these changes. My guess is Jeffrey Morlan fixed it in 42163, so a Big Thank You!!! Tested Firefox 1.15.xx and AbiWord 2.6.8.
svn path=/trunk/; revision=42168
Ged Murphy [Thu, 23 Jul 2009 22:11:06 +0000 (22:11 +0000)]
I always forget about RosBE ....
svn path=/trunk/; revision=42167
Johannes Anderwald [Thu, 23 Jul 2009 21:48:47 +0000 (21:48 +0000)]
- fix clobering of stack in the event, property, method and start device routine
svn path=/trunk/; revision=42166
Ged Murphy [Thu, 23 Jul 2009 21:35:52 +0000 (21:35 +0000)]
Draw the appropriate taskbar mockup image in the dialog when the user clicks the checkboxes
svn path=/trunk/; revision=42165
Johannes Anderwald [Thu, 23 Jul 2009 21:32:39 +0000 (21:32 +0000)]
- Add calling convention for callback typedefs
- Ros needs msvc!
svn path=/trunk/; revision=42164
Jeffrey Morlan [Thu, 23 Jul 2009 20:48:43 +0000 (20:48 +0000)]
LoadLibraryExW: After loading a library as a datafile, clean up properly (don't leak SearchPath, and don't free DllName if we didn't allocate it)
svn path=/trunk/; revision=42163
Stefan Ginsberg [Thu, 23 Jul 2009 19:37:09 +0000 (19:37 +0000)]
- Use the KiProcessorBlock array to loop the PRCBs in a portable way
svn path=/trunk/; revision=42162
Johannes Anderwald [Thu, 23 Jul 2009 19:27:53 +0000 (19:27 +0000)]
- Don't blame Arch, it was ks.h
svn path=/trunk/; revision=42161
Johannes Anderwald [Thu, 23 Jul 2009 15:19:46 +0000 (15:19 +0000)]
[KS]
- Implement KsAcquireDevice, KsReleaseDevice, KsTerminateDevice
- Fix unimplemented tags
- Use double in spec for functions taking longlong arguments [[Colin Finck]]
svn path=/trunk/; revision=42156
Johannes Anderwald [Thu, 23 Jul 2009 14:18:22 +0000 (14:18 +0000)]
- Add types to unbreak build
- thanks dreimer
svn path=/trunk/; revision=42155
Johannes Anderwald [Thu, 23 Jul 2009 13:13:45 +0000 (13:13 +0000)]
- Add tons of stubs
- Add (existing) exported functions
- Ks mostly has now WinXP' ks exported functions
svn path=/trunk/; revision=42153
Cameron Gutman [Thu, 23 Jul 2009 04:21:06 +0000 (04:21 +0000)]
- Implement link speed and duplex detection
- Fix LED programming (we didn't set LEDPE so all our programming was ignored)
- Add some other LED programming
- Fixes bug 4703
svn path=/trunk/; revision=42152
James Tabor [Thu, 23 Jul 2009 01:34:31 +0000 (01:34 +0000)]
- [Win32k] More work on classes. Wine test drop to 35 failures from 52, now with the system class rewrite it is up to 42 failures. There is one User32 loaded so there is one User client Instance for this system. One System class per system not including Public (Global) or Private (Local) classes per process. Sorting continues.
- Tested wine (some improvements and losses), Firefox 1.15.xx and AbiWord 2.6.8.
svn path=/trunk/; revision=42151
Johannes Anderwald [Thu, 23 Jul 2009 00:47:21 +0000 (00:47 +0000)]
- Implement KsQueryObjectAccessMask, KsQueryObjectCreateItem
- Use KSQUEUE_SPINLOCK_IRP_STORAGE macro for access the stored spin lock
svn path=/trunk/; revision=42150
Johannes Anderwald [Thu, 23 Jul 2009 00:13:04 +0000 (00:13 +0000)]
- Remove old irp queue implementation
- Implement KsCancelIo, KsReleaseIrpOnCancelableQueue, KsRemoveIrpFromCancelableQueue, KsRemoveSpecificIrpFromCancelableQueue, KsAddIrpToCancelableQueue, KsCancelRoutine
svn path=/trunk/; revision=42149
ReactOS Portable Systems Group [Wed, 22 Jul 2009 22:46:29 +0000 (22:46 +0000)]
- Initialize the value of MmBootImageSize in ARM3 now.
- Also fix its value such that it's PDE aligned -- this makes sure that we don't step on any of the boot loader's PDE mappings and can blow everything away later.
- Initialize the MmSystem/User/Probe Addresses in ARM3 as well (no functional change).
- Print out a lot more of the VA ranges in ARM3's Phase 2 initialization. Most of the VA space is now dumped out.
- Write out the code to initialize session space VA ranges
- Image space, view space, working set space and pool space values are all calculated properly.
- NT default sizes are used, without support for registry overrides (yet).
- Also system view space is initialized and sized.
- Code is heavily commented and explained for inquisitive minds.
- Define the paged pool start address, minimum/default size, and add some extra pool header asserts/definitions.
- Define MmPagedPoolInfo to keep track of all paged pool related information (start/end PTEs, VA ranges, allocation/free bitmaps, etc).
- Fixed a lot of comments and added some new ones to provide extra clarity.
- Implement MiBuildPagedPool. It has two jobs:
- Build and create the shadow system page directory, which double-maps the System process' PDE.
- More explenations are in the comments.
- Define the paged pool region and size, and initialize MmPagedPoolInfo accordingly.
- Create and setup the paged pool allocation and free bitmaps (again explained in the comments).
- There shouldn't be any real functional change yet due to this commit.
- We need to create memory areas for session space and system view space otherwise the VA regions could get used by ReactOS instead.
svn path=/trunk/; revision=42148
Johannes Anderwald [Wed, 22 Jul 2009 21:27:44 +0000 (21:27 +0000)]
- Fix totally broken KSWORKER implementation (it may have worked, but it didnt do what it should have)
- Re-Implement KsQueueWorkItem, KsIncrementCountedWorker, KsDecrementCountedWorker, KsRegisterCountedWorker, KsUnregisterWorker, KsRegisterWorker
svn path=/trunk/; revision=42147
Johannes Anderwald [Wed, 22 Jul 2009 19:08:57 +0000 (19:08 +0000)]
- Use KSSTRING instead of hardcoding object class
- Implement KsValidateAllocatorCreateRequest, KsValidateClockCreateRequest, KsValidateTopologyNodeCreateRequest
svn path=/trunk/; revision=42146
Johannes Anderwald [Wed, 22 Jul 2009 19:05:58 +0000 (19:05 +0000)]
- Add flags
- Revert 42107
svn path=/trunk/; revision=42145
Johannes Anderwald [Wed, 22 Jul 2009 14:42:51 +0000 (14:42 +0000)]
[KS]
- Rewrite KSCREATE_ITEM handling to support clocks, nodes, allocators.
- Store create items in list instead of an array. Consequently, the code can be re-used for KSDEVICE_HEADER / KSOBJECT_HEADER functions.
- Implement KsAddObjectCreateItemToObjectHeader
- Implement now KspCreate and IKsDevice_Create properly
- Implement KsGetDevice by using KSBASIC_HEADER struct which must be positioned before its object specific (PKSFILTER, PKSFILTERFACTOR, PKSPIN)
- Remove a hack from KspCreateObjectType
[PORTCLS]
- Store real dispatched object in FsContext2
- Implement a fast device i/o handler
- Increase minimum data threshold when a stream stops prematurely by 10 audio frames (port driver WaveCyclic)
- Remove the hack of checking wether pin create request is passed. Since create items now work nicely, use a different function and handle pin creation requests seperately.
[KMIXER]
- Remove the hack of checking wether pin create request is passed. Since create items now work nicely, use a different function and handle pin creation requests seperately.
[SYSAUDIO]
- Remove the hack of checking wether pin create request is passed. Since create items now work nicely, use a different function and handle pin creation requests seperately.
svn path=/trunk/; revision=42143
Matthias Kupfer [Wed, 22 Jul 2009 12:11:56 +0000 (12:11 +0000)]
fix a minor translation mistake
svn path=/trunk/; revision=42140
Aleksey Bragin [Wed, 22 Jul 2009 11:15:34 +0000 (11:15 +0000)]
- Add missing braces to prevent PVOID pointer arithmetic.
svn path=/trunk/; revision=42138
ReactOS Portable Systems Group [Wed, 22 Jul 2009 07:52:47 +0000 (07:52 +0000)]
- Prettify PFN dump output (add totals for each consumer and page type).
svn path=/trunk/; revision=42132
ReactOS Portable Systems Group [Wed, 22 Jul 2009 07:33:22 +0000 (07:33 +0000)]
- Separe ARM3 Init into 3 defined phases:
- 1: No PFN Database exists
- 2: PFN Database exists
- 3: ReactOS NP Pool exists (deprecated)
- Cleanup ReactOS Mm init to work with this.
- ARM3 Phase 1 Init now uses pages directly from the physical memory descriptor.
- This similar to how "MmAllocEarlyPage" used to work.
- A new function MxGetNextPage now does this.
- MxGetNextPage can allocate more than just one page however (making it possible to get contiguous physical memory without going through the PFN-based MmAllocateContiguousMemory beast)
- Also MxGetNextPage will bugcheck with INSTALL_MORE_MEMORY if it runs out of pages.
- Renamed the physical memory descriptor variables to MxFreeDescriptor, MxOldFreeDescriptor instead of MiFreeDescriptor and MiOrgFreeDescriptor (based on NT symbols)
- Nonpaged pool PDEs, PFN database PDEs, and initial nonpaged pool PTEs are now allocated through MxGetNextPage.
- Fix an off by one error in the sizing of MxPfnAllocation.
- The PFN database is now fully "owned" by ARM3 in terms of its PDE mappings and VA location at 0xB0000000.
- ie. MmArmPfnDatabase is now MmPfnDatabase.
- The actual PFN database entries and setup are still done by the ReactOS Mm.
- Got rid of ARM nonpaged pool allocator test.
- Repositioned ReactOS nonpaged pool (deprecated) after the boot image (used to be after the PFN database).
- Paged pool follows.
svn path=/trunk/; revision=42131
James Tabor [Wed, 22 Jul 2009 05:23:08 +0000 (05:23 +0000)]
- [Win32k] Rename class and window structures.
svn path=/trunk/; revision=42130
James Tabor [Wed, 22 Jul 2009 04:26:35 +0000 (04:26 +0000)]
- Fix crash in wine test.
svn path=/trunk/; revision=42129
James Tabor [Wed, 22 Jul 2009 04:11:06 +0000 (04:11 +0000)]
- [Win32k] Update class and window structures.
- Rewritten Set/GetWindowContextHelpId.
- Removed NtUserRegisterClassEx, replaced it with NtUserRegisterClassExWOW.
- Updated all related files and functions.
svn path=/trunk/; revision=42128
Cameron Gutman [Wed, 22 Jul 2009 02:20:24 +0000 (02:20 +0000)]
- Don't fail the entire probe if something goes wrong when allocating a controller (this is what we do if _MULTI_UHCI is not defined also)
svn path=/trunk/; revision=42127
Cameron Gutman [Wed, 22 Jul 2009 02:06:50 +0000 (02:06 +0000)]
- Return the DEVICE_OBJECT we got instead of NULL
svn path=/trunk/; revision=42126
Cameron Gutman [Wed, 22 Jul 2009 01:47:27 +0000 (01:47 +0000)]
- Fix compilation of usbdriver with _MULTI_UHCI defined
svn path=/trunk/; revision=42125
ReactOS Portable Systems Group [Tue, 21 Jul 2009 20:04:17 +0000 (20:04 +0000)]
- Get rid of debug spew used during testing.
svn path=/trunk/; revision=42124
Aleksey Bragin [Tue, 21 Jul 2009 19:00:08 +0000 (19:00 +0000)]
- Add cryptdlg as autosynced.
svn path=/trunk/; revision=42123
Dmitry Chapyshev [Tue, 21 Jul 2009 16:38:50 +0000 (16:38 +0000)]
- Revert my previous changes in QueueUserWorkItem
svn path=/trunk/; revision=42122
Sylvain Petreolle [Tue, 21 Jul 2009 15:51:27 +0000 (15:51 +0000)]
Fix svn repository address
svn path=/trunk/; revision=42121
Sylvain Petreolle [Tue, 21 Jul 2009 14:58:11 +0000 (14:58 +0000)]
- Update Module List
- Fix arguments check
svn path=/trunk/; revision=42120
Johannes Anderwald [Tue, 21 Jul 2009 13:53:20 +0000 (13:53 +0000)]
- Update Module List
svn path=/trunk/; revision=42119
Sylvain Petreolle [Tue, 21 Jul 2009 13:44:45 +0000 (13:44 +0000)]
fix includes case
svn path=/trunk/; revision=42118
Johannes Anderwald [Tue, 21 Jul 2009 13:32:28 +0000 (13:32 +0000)]
- Rewrite KsDefaultDispatchPnp to make it actually work
- Implement KsDefaultDispatchPower, KsDefaultForwardIrp
- Return the correct device object in KsQueryDevicePnpObject
- Implement KsReadFile, KsSetInformationFile and partly KsQueryInformationFile
- Remove KspClose, KspRead, KspWrite, KspFlushBuffers, KspQuerySecurity, KspSetSecurity and all these IOCTL in KspDispatchIrp
- Rewrite KsDispatchIrp to handle IRP_MJ_CREATE & IRP_MJ_POWER, IRP_MJ_PNP for AV Stream minidrivers and forward IRP_MJ_SYSTEM_CONTROL requests to the registered pnp base object
- Unsupported IOCTLs are now completed with KsDispatchInvalidDeviceRequest (previously leaked)
svn path=/trunk/; revision=42117
ReactOS Portable Systems Group [Tue, 21 Jul 2009 09:44:36 +0000 (09:44 +0000)]
- Do not set the non-x86 file system and disk read buffers to some random static variable that isn't even initialized on time.
- As a temporary hack, hard-code them to 0x80000000, a valid RAM address on OMAP3.
- This code path is only used on ARM anyway, so it's not such a big deal, but a better fix should be done later.
- OmapLDR can now boot FreeLDR, which attempts to load NTOSKRNL.EXE and dies.
- Need to revisit significant parts of the MMU code before attempting to go further; this won't likely be done for a good couple of months.
svn path=/trunk/; revision=42116
Dmitry Chapyshev [Tue, 21 Jul 2009 09:16:26 +0000 (09:16 +0000)]
- Add ws2help from alex-network-branch
svn path=/trunk/; revision=42115
Dmitry Chapyshev [Tue, 21 Jul 2009 09:10:28 +0000 (09:10 +0000)]
- Fix some warnings
svn path=/trunk/; revision=42114
Dmitry Chapyshev [Tue, 21 Jul 2009 09:06:25 +0000 (09:06 +0000)]
- .def -> .spec
- Fix .rbuild
svn path=/trunk/; revision=42113
Dmitry Chapyshev [Tue, 21 Jul 2009 09:03:03 +0000 (09:03 +0000)]
- Add some defines, prototypes. It fixes compilation ws2_32_new
svn path=/trunk/; revision=42112
Dmitry Chapyshev [Tue, 21 Jul 2009 08:59:30 +0000 (08:59 +0000)]
- Fix types of parameters for WPUFDIsSet, WSCInstallProvider
svn path=/trunk/; revision=42111
James Tabor [Tue, 21 Jul 2009 02:56:24 +0000 (02:56 +0000)]
- [Win32k] Update class structure and fixed on class wine test.
svn path=/trunk/; revision=42110
Johannes Anderwald [Mon, 20 Jul 2009 23:26:57 +0000 (23:26 +0000)]
allocators.c
- Implement IKsAllocator interface and use it in new implemented KsCreateAllocator, KsCreateDefaultAllocatorEx, KsValidateAllocatorFramingEx
api.c
- Implement KsSetDevicePnpAndBaseObject, KsQueryDevicePnpObject, KsSetTargetState, KsSetTargetDeviceObject, KsSetPowerDispatch, KsFreeDeviceHeader, KsFreeObjectHeader, KsAllocateObjectCreateItem, KsFreeObjectCreateItem, KsFreeObjectCreateItemsByContext, KsCreateDefaultSecurity
clocks.c
- Implement KsCreateClock, KsCreateDefaultClock, partly implement KsAllocateDefaultClockEx, KsFreeDefaultClock, KsGetDefaultClockState, KsSetDefaultClockState, KsGetDefaultClockTime, KsSetDefaultClockTime
device.c
- Partly implement IKsDevice interface in order to let AVStream client devices initialize
- Implement KsInitializeDevice
- Implement registering of device interface for AVStream drivers
driver.c
- Implement KsGetDeviceForDeviceObject
- Set device flags for ks
- Store Address for client drivers device extension
filter.c
- Implement IKsFilter & IKsControl interface
- Handle KSPROPERTY requests
filterfactory.c
- Implement IKsFilterFactory interface
- Implement KsCreateFilterFactory, KsFilterFactorySetDeviceClassesState, KsFilterFactoryGetSymbolicLink, KsFilterFactoryAddCreateItem
- Add KsFilterFactoryUpdateCacheData
image.c
- Implement KsLoadResource
irp.c
- Implement KsDispatchQuerySecurity, KsDispatchSetSecurity, KsWriteFile, KsDefaultIoCompletion
svn path=/trunk/; revision=42109
James Tabor [Mon, 20 Jul 2009 23:18:16 +0000 (23:18 +0000)]
- [Win32k] Update window structure.
svn path=/trunk/; revision=42108
Dmitry Gorbachev [Mon, 20 Jul 2009 23:04:01 +0000 (23:04 +0000)]
Fix compilation of drmk.sys
svn path=/trunk/; revision=42107
Cameron Gutman [Mon, 20 Jul 2009 19:46:54 +0000 (19:46 +0000)]
- Update TotalLength based on the fragment size
- Make fragment offset into 8-byte units
- Don't perform a useless checksum calculation
- Fixes datagram fragmentation (tested using ping with a packet size of 16000)
- This also seems to fix DHCP over a bridged NIC in vbox
svn path=/trunk/; revision=42104
Dmitry Chapyshev [Mon, 20 Jul 2009 19:45:06 +0000 (19:45 +0000)]
- Add some defines
svn path=/trunk/; revision=42103
Dmitry Chapyshev [Mon, 20 Jul 2009 18:30:30 +0000 (18:30 +0000)]
- Implement WSAHtons, WSANtohs
- Add some cases to MsafdReturnWithErrno, SockAsyncSelectCompletionRoutine
Opera loads pages now, but the keyboard does not work.
Patch by Mikhail Denisenko (denisenkom@gmail.com)
See issue #4151 for more details.
svn path=/trunk/; revision=42102
Dmitry Chapyshev [Mon, 20 Jul 2009 18:03:16 +0000 (18:03 +0000)]
- Add debug print to MiQueryVirtualMemory
svn path=/trunk/; revision=42101
Johannes Anderwald [Mon, 20 Jul 2009 17:14:21 +0000 (17:14 +0000)]
- A few updates from the Ninja-Arch
svn path=/trunk/; revision=42100
James Tabor [Sun, 19 Jul 2009 21:18:08 +0000 (21:18 +0000)]
- [Win32k] Make co_IntCreateWindowEx return pointer to public window structure.
svn path=/trunk/; revision=42092
Hervé Poussineau [Sun, 19 Jul 2009 18:37:58 +0000 (18:37 +0000)]
Fix bug introduced in r1514, where memory was freed once in DLL_THREAD_DETACH and once more in DLL_PROCESS_DETACH
svn path=/trunk/; revision=42089
Cameron Gutman [Sun, 19 Jul 2009 17:40:36 +0000 (17:40 +0000)]
- Generate a random ID for use during datagram reassembly
svn path=/trunk/; revision=42088
Cameron Gutman [Sun, 19 Jul 2009 14:48:48 +0000 (14:48 +0000)]
- Properly implement ICMP
- Now Raw IP works correctly because it isn't being hacked to handle ICMP packets
svn path=/trunk/; revision=42087
Hervé Poussineau [Sun, 19 Jul 2009 14:03:10 +0000 (14:03 +0000)]
Add missing SetWindowsHookW prototype
svn path=/trunk/; revision=42086
Cameron Gutman [Sun, 19 Jul 2009 07:06:08 +0000 (07:06 +0000)]
- Send all waiting packets instead of only the first one to prevent a buildup of queued packets on a non-sendable NCE which becomes sendable later
svn path=/trunk/; revision=42076
Daniel Reimer [Sat, 18 Jul 2009 22:17:34 +0000 (22:17 +0000)]
Sync Christoph Style. It builds, but only uses the first RC file in the rbuild file. Seems like a bug to me. Needs more investigation.
svn path=/trunk/; revision=42073
Daniel Reimer [Sat, 18 Jul 2009 22:01:42 +0000 (22:01 +0000)]
Sync Christoph Style. It builds, but only uses the first RC file in the rbuild file. Seems like a bug to me. Needs more investigation.
svn path=/trunk/; revision=42071