Commit graph

37605 commits

Author SHA1 Message Date
James Tabor 928ed84e9f - [Win32k] Update window structure.
svn path=/trunk/; revision=42108
2009-07-20 23:18:16 +00:00
Dmitry Gorbachev 04dbe9d46f Fix compilation of drmk.sys
svn path=/trunk/; revision=42107
2009-07-20 23:04:01 +00:00
Cameron Gutman 985618d74e - 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
2009-07-20 19:46:54 +00:00
Dmitry Chapyshev 207b294387 - Add some defines
svn path=/trunk/; revision=42103
2009-07-20 19:45:06 +00:00
Dmitry Chapyshev 9545bd7992 - 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
2009-07-20 18:30:30 +00:00
Dmitry Chapyshev b46f7e4773 - Add debug print to MiQueryVirtualMemory
svn path=/trunk/; revision=42101
2009-07-20 18:03:16 +00:00
Johannes Anderwald 3cf7214094 - A few updates from the Ninja-Arch
svn path=/trunk/; revision=42100
2009-07-20 17:14:21 +00:00
James Tabor 95d1d17ba9 - [Win32k] Make co_IntCreateWindowEx return pointer to public window structure.
svn path=/trunk/; revision=42092
2009-07-19 21:18:08 +00:00
Hervé Poussineau 6a16259ee6 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
2009-07-19 18:37:58 +00:00
Cameron Gutman 54b3d22e33 - Generate a random ID for use during datagram reassembly
svn path=/trunk/; revision=42088
2009-07-19 17:40:36 +00:00
Cameron Gutman b43fbb516b - Properly implement ICMP
- Now Raw IP works correctly because it isn't being hacked to handle ICMP packets

svn path=/trunk/; revision=42087
2009-07-19 14:48:48 +00:00
Hervé Poussineau a86419a500 Add missing SetWindowsHookW prototype
svn path=/trunk/; revision=42086
2009-07-19 14:03:10 +00:00
Cameron Gutman 2fe1aab7fe - 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
2009-07-19 07:06:08 +00:00
Daniel Reimer 9c61a1e9ae 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
2009-07-18 22:17:34 +00:00
Daniel Reimer 3732a01a8a 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
2009-07-18 22:01:42 +00:00
Daniel Reimer 2c069c546e Sync to winfile to Wine 1.1.26
svn path=/trunk/; revision=42069
2009-07-18 19:48:17 +00:00
Daniel Reimer 5e9aac5f3d Sync to winhlp32, xcopy to Wine 1.1.26
wordpad sync does not generate a valid win32 resource
Out of no reason wine changed the way they include theirs rc files.
rsrc.rc is no more and all rcs are added as headers with own includes into the makefile. I have no idea if we plan to do it that way, so I changed this back to the old behavior.

svn path=/trunk/; revision=42068
2009-07-18 19:47:54 +00:00
Dmitry Chapyshev 0183a1cc69 - Partially sync with Wine 1.1.26
svn path=/trunk/; revision=42065
2009-07-18 19:25:33 +00:00
Dmitry Chapyshev 2794a2eba0 - Add SEH protection at memory copying. Fixes crash at "setupapi_winetest devinst"
svn path=/trunk/; revision=42064
2009-07-18 19:22:12 +00:00
Dmitry Chapyshev 100a69c0f3 - Sync SHDefExtractIconW with Wine. Fixes crash at shelllink test
svn path=/trunk/; revision=42058
2009-07-18 18:47:40 +00:00
Cameron Gutman 91f79593a7 - Don't change the lock's OldIrql value until we actually have the lock because we need this value to unlock correctly
- This should fix bug 4704

svn path=/trunk/; revision=42054
2009-07-18 17:57:38 +00:00
Johannes Anderwald ab1fc18975 - Fix wait condition
svn path=/trunk/; revision=42052
2009-07-18 15:20:53 +00:00
Johannes Anderwald 2b9d1b809c [USERINIT]
- Move code for playing logon sound to winlogon where it should belong
[WINLOGON]
- Create a thread for playing the logon sound
- Query the status of sysaudio. If sysaudio isnt running yet, wait a second.
- Wait for max 20 seconds to get sysaudio running
- Finally logon sound should work

svn path=/trunk/; revision=42051
2009-07-18 15:19:57 +00:00
Johannes Anderwald dac78ab19a [WDMAUD.DRV]
- Implement retrieving the preferred frame size
- Set Maximum buffer limit to one second
[PORTCLS]
- Implement a dynamic buffer enlarging. In case a audio stream stops prematurely, increase the audio buffer limit by 1/3
- Implement KSPROPERTY_CONNECTION_ALLOCATORFRAMING for IPortPinWaveCyclic + IPortPinWavePci
- Move IPortWavePciStream object to IPortPinWavePci, as IPrefetchOffset needs a tight integration (TBD)
- Define pin property handler for IPortDMus (some audio devices may now show more than one waveout device)
- Implement IPortEvents_fnAddEventToEventList for IPortWavePci
[WDMAUD_KERNEL]
- Implement IOCTL_GETFRAMESIZE
[SYSAUDIO]
- Fix a bug in the Pin_fnWrite, though code isnt used yet
-?
- Adobe Flash Player & Vlc may now have a better playback because the audio stream is now updated more often (because audio packet now use the preferred frame size which is in most cases 10ms).


svn path=/trunk/; revision=42016
2009-07-17 19:15:52 +00:00
Dmitry Gorbachev 6d59a5cfa7 Change the order in which file systems are recognized, do not mistake FAT32 for Ext2.
svn path=/trunk/; revision=42015
2009-07-17 19:14:08 +00:00
Dmitry Chapyshev 3b39cbc701 - Samplify SwitchToThread and QueueUserWorkItem
- Remove unneeded InternalWorkItemTrampoline function and QUEUE_USER_WORKITEM_CONTEXT structure
- Other small changes

svn path=/trunk/; revision=42012
2009-07-17 18:42:12 +00:00
James Tabor c0db0a0a0b - Cleanup and minor changes.
- The use of CSRSS for creating the desktop window is a cleverly written hack. Real genius! The down side, this is a good example of thread coding, I do hate having to remove it. We could just leave it in there unused to keep it as an example. Let me know.

svn path=/trunk/; revision=42011
2009-07-17 18:41:29 +00:00
Dmitry Chapyshev 1f53c74091 - Remove unneeded check and cycle
svn path=/trunk/; revision=42006
2009-07-17 17:53:37 +00:00
Dmitry Chapyshev 91cae70e59 - Re-implement FreeLibrary (for support LOAD_LIBRARY_AS_DATAFILE)
- HeapAlloc -> RtlAllocateHeap, GetProcessHeap -> RtlGetProcessHeap, HeapFree -> RtlFreeHeap, CloseHandle -> NtClose
- Remove FIXME in LoadModule

svn path=/trunk/; revision=42005
2009-07-17 17:15:17 +00:00
Dmitry Chapyshev 0e63dbb11d - Implement LOAD_LIBRARY_AS_DATAFILE flag for LoadLibraryExW (based on Wine code).
svn path=/trunk/; revision=42004
2009-07-17 15:53:15 +00:00
Dmitry Chapyshev f86de98c40 - Rewrite SearchPathW (based on Wine code). It fixes regression in mysql
svn path=/trunk/; revision=42003
2009-07-17 13:24:07 +00:00
Johannes Anderwald 6324272e80 - Fix build
svn path=/trunk/; revision=41997
2009-07-17 10:19:47 +00:00
Johannes Anderwald 3e07d5777f - Don't hardcode the sound kernel buffersize and maximum buffer count and make it possible to override it because kernel streaming pins have specific frame size requirements.
- See KSALLOCATOR_FRAMING struct

svn path=/trunk/; revision=41996
2009-07-17 09:24:11 +00:00
Timo Kreuzer 4e4807dd53 Add Accessibility registry key
svn path=/trunk/; revision=41995
2009-07-16 22:51:43 +00:00
James Tabor 7502481918 - Fix fixed math, thanks Lentin.
svn path=/trunk/; revision=41994
2009-07-16 19:34:42 +00:00
James Tabor bcbeefce98 - Implementation of registering system atom listings with table references. Se bug 4705.
svn path=/trunk/; revision=41993
2009-07-16 19:07:04 +00:00
James Tabor 6e038baa16 - Hax Fix: Edit control atom support, see bug 4705.
svn path=/trunk/; revision=41992
2009-07-16 17:56:19 +00:00
Johannes Anderwald 3be8b1374b - Dont try allocate a error log packet as IoAllocateErrorLogEntry appears to be broken
svn path=/trunk/; revision=41991
2009-07-16 14:42:43 +00:00
Stefan Ginsberg 5e0347a52b Fix definition of KeInitializeSpinLock for x86 - it never inlined the operation. It should check if WIN9X_COMPAT_SPINLOCK is defined and don't inline it if so. Also, don't define this flag when building ntoskrnl (MS DDK/WDK compilation fix) so we get the inline. Instead, make the implementation "internal" to fix compilation.
svn path=/trunk/; revision=41990
2009-07-16 11:42:09 +00:00
Aleksey Bragin c825c5dc02 Maciej Bialas <bjauy@o2.pl>
- Don't check boot partition during unattended setup if MBR installation is skipped anyway.

svn path=/trunk/; revision=41989
2009-07-16 09:09:26 +00:00
Timo Kreuzer fe5c1a52ce [WIN32K] Keep a shared lock on palettes selected into DCs.
This allows us to get rid of a large number of lock and unlock operations and checks.

svn path=/trunk/; revision=41988
2009-07-15 21:06:40 +00:00
Timo Kreuzer 6255ce1380 Remove unused struct ColorShifts
svn path=/trunk/; revision=41987
2009-07-15 20:02:33 +00:00
Stefan Ginsberg a06a2ab53c - What's the deal with using Iof* and Obf*, Arch?
svn path=/trunk/; revision=41986
2009-07-15 19:40:44 +00:00
Stefan Ginsberg 29fa9f1dd8 - Hey Arch, did you know MmpDeleteSection can be called for a Section Object before it is fully set up (when ObDereferenceObject is called before all fields are initialized), and it will now crash due to a bogus, nonintialized Segment/ImageSection pointer? Always zero out the whole buffer to prevent this. Fixes the kernel32 loader Winetest.
svn path=/trunk/; revision=41985
2009-07-15 18:35:31 +00:00
ReactOS Portable Systems Group 3989bd4e3c - NEVER TELL ME THE ODDS (of breaking the build).
svn path=/trunk/; revision=41984
2009-07-15 18:31:53 +00:00
ReactOS Portable Systems Group cc98ebfe87 - Add initial support for TI OMAP3530 (last commit said OMAP3450, this was incorrect), an ARM Cortex-A8 based SoC.
- This gets us booting to FreeLDR with some serial output.
  - The entire MMU code needs a rewrite.

svn path=/trunk/; revision=41983
2009-07-15 18:30:04 +00:00
ReactOS Portable Systems Group 4c1ac0d33e - Build freeldr_arch first -- otherwise the fact you specific a file as "first = true" won't do anything, since it will only be the "first" in its sub-build.
- This is required because freeldr is a binary file, and so the first function must be the start routine.
  - Freeldr_startup ironically does not contain the startup code, since startup code is arch-specific, it actually lives in freeldr_arch.
- Also get rid of another ARM linker hack, and define the correct base address for FreeLDR on OMAP3450.
  - Need a platform-specific way of specifying this.

svn path=/trunk/; revision=41982
2009-07-15 18:25:26 +00:00
ReactOS Portable Systems Group f5af0cd513 - Start re-defining the PTE and PDE structures for:
- ARMv6 support.
  - Support of new ARM3 and overall portability.
    - Still have to find a better way to deal with the fact that PDE/PTE types are different on ARM.
- Fix the current arm low-level mm implementation to use the new structures.
  - However parts of the code will now be totaly obsoleted by the new ARMv6 MMU support.
- The ARM port now builds again.

svn path=/trunk/; revision=41981
2009-07-15 18:20:53 +00:00
ReactOS Portable Systems Group 5ca7892171 - Move ARM3's init.c to i386-specific directory.
svn path=/trunk/; revision=41980
2009-07-15 17:55:13 +00:00
ReactOS Portable Systems Group dc3d103e78 - Use the new portable flag definitions.
svn path=/trunk/; revision=41979
2009-07-15 17:53:45 +00:00