Commit graph

37584 commits

Author SHA1 Message Date
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
ReactOS Portable Systems Group
a8fd19398a - Define portable flags for touching fields in the MMPTE structure, which might have different names/not exist on other architectures.
- Define PTE_BASE and PDE_BASE since these are the correct cross-platform definitions.


svn path=/trunk/; revision=41978
2009-07-15 17:52:32 +00:00
ReactOS Portable Systems Group
a58fa89df3 - Don't use "static" in the kernel.
- Also prevents from getting a warning on ARM and other platforms that don't do PSEH2 since they have native exception support.


svn path=/trunk/; revision=41977
2009-07-15 17:50:50 +00:00
ReactOS Portable Systems Group
e9b1e01407 - Remove FreeLDR linker hack on ARM.
svn path=/trunk/; revision=41976
2009-07-15 17:49:38 +00:00
ReactOS Portable Systems Group
92c0f0afef - Hackfix floating point call in rtl's printf until the compiler guys get their shit together.
svn path=/trunk/; revision=41975
2009-07-15 17:49:05 +00:00
ReactOS Portable Systems Group
17fcd0b411 - Make platform specific directory to please the ARM folks.
svn path=/trunk/; revision=41974
2009-07-15 17:28:23 +00:00
Stefan Ginsberg
2b3f6a29ae - Remove the object body zeroing hack from ObpAllocateObject now that callers that relied on this have been fixed. Fixes ~4000 unnecessary buffer zeroing operations just for boot!
svn path=/trunk/; revision=41973
2009-07-15 16:52:47 +00:00
Stefan Ginsberg
ddbfcbae40 - Don't assume the object body allocated by ObCreateObject (through ObpAllocateObject) is zero-initialized (it shouldn't be).
svn path=/trunk/; revision=41972
2009-07-15 16:13:08 +00:00
Dmitry Chapyshev
bfb7dae4a2 - Currently, SearchPathW fails with path such as subdir\binary.exe. This patch is there to address it. It permits VBoxService to launch, and probably others.
Patch by zefklop (jerome.gardou@laposte.net)
See issue #4697 for more details.

svn path=/trunk/; revision=41971
2009-07-15 15:27:59 +00:00
Johannes Anderwald
179d9487dd - Interrupt is only shareable if the type is latched
- Only transfer as maximum the FrameSize which was obtained by IMiniportWaveCyclicStream::SetNotficationFreq
- Remove the pin service group member before queing the workitem to close the stream

svn path=/trunk/; revision=41970
2009-07-15 14:11:00 +00:00
Stefan Ginsberg
1996b84fae - The 4th parameter of NtCreateDebugObject is not a BOOLEAN -- it is a ULONG, meaning it could contain several flags (but only 0x1 seems to be valid). Add DBGK_KILL_PROCESS_ON_EXIT as this flag and use it.
svn path=/trunk/; revision=41969
2009-07-15 14:01:15 +00:00
Dmitry Gorbachev
9044027a2d Update Romanian translations. Petru Dimitriu, bug #4692.
svn path=/trunk/; revision=41968
2009-07-15 13:04:16 +00:00
Dmitry Gorbachev
c2ba17c1c2 Update Norwegian translation. Patch by LMH1, bug #4695.
svn path=/trunk/; revision=41967
2009-07-15 10:54:37 +00:00
Johannes Anderwald
ea930be882 - ReactOS only supports WAVE_FORMAT_PCM
- Helps apps like Adobe Flash Player to output the supported format

svn path=/trunk/; revision=41966
2009-07-15 10:49:17 +00:00
Stefan Ginsberg
bee032b26c - Don't use Kf* and Kef* in portable code.
svn path=/trunk/; revision=41965
2009-07-15 10:22:05 +00:00
Dmitry Chapyshev
163b140789 - Update Russian translation
svn path=/trunk/; revision=41964
2009-07-15 05:49:29 +00:00
James Tabor
b96f3f2222 - Implement support for HWND_MESSAGE. Need full testing!
svn path=/trunk/; revision=41963
2009-07-15 05:33:21 +00:00
Cameron Gutman
202957e751 - Start reporting packet statistics
- We currently only report received bytes, sent bytes, discarded packets due to unknown protocol, send errors, and receive errors
 - The network adapter properties window now shows correct send/receive bytes info

svn path=/trunk/; revision=41962
2009-07-15 03:14:13 +00:00
Ged Murphy
09fbbfac10 - Add resources to all remaining languages
- Patch by Gabriel Ilardi

svn path=/trunk/; revision=41961
2009-07-14 20:40:13 +00:00
Ged Murphy
ef5fe6d814 - Update Russian resources
- Patch by tower

svn path=/trunk/; revision=41960
2009-07-14 20:32:31 +00:00
Cameron Gutman
77264a99fe - Release all adapter IP addresses when using /release
svn path=/trunk/; revision=41959
2009-07-14 20:14:32 +00:00
Cameron Gutman
2ac1ae299f - Fix build
svn path=/trunk/; revision=41958
2009-07-14 19:55:41 +00:00