Commit graph

35487 commits

Author SHA1 Message Date
Dmitry Chapyshev 689f247b95 - Add mplay32 to bootcd
- Opening .wav, .cda, .avi, .mid files with mplay32

svn path=/trunk/; revision=39948
2009-03-11 10:57:05 +00:00
Dmitry Chapyshev edc8b4e894 - Add simple multimedia player
svn path=/trunk/; revision=39947
2009-03-11 10:22:15 +00:00
Johannes Anderwald 0a23e307a1 - Add kmixer to bootcd
- Check if device supports a specified format. When the device doesnt support a format, query its datarange and create a format which it supports and create a kmixer pin which is used to convert the format
- Load kmixer.sys when sysaudio starts
- Call kmixer when there is work to do. 
- Bitrate increasing / decreasing is not working at all. (Need to find a working algorithm, volunteers?)
- Install kmixer service when an audio adapter is installed

svn path=/trunk/; revision=39946
2009-03-11 09:30:33 +00:00
Jeffrey Morlan acdae19a65 Fix bug where wcscspn could return non-zero value on an empty string.
svn path=/trunk/; revision=39945
2009-03-11 03:35:29 +00:00
Jeffrey Morlan db0b0ba158 Give an error message when trying to DEL a file that doesn't exist (Bug 4244). Patch by Victor Martinez <vicmarcal at hotmail.com>.
svn path=/trunk/; revision=39944
2009-03-11 02:17:53 +00:00
Matthias Kupfer 947cbd765b - fix the bitmap and memdc issue for menu items (popup arrow, check and radio symbols)
svn path=/trunk/; revision=39942
2009-03-10 23:48:21 +00:00
Matthias Kupfer 9c5d76e1bf - due to minor differences (marletting related) combine drawing routines for check box and radio button
- initial version for popup arrows, maybe someone know how to remove the bitmap and memory-dc stuff properly

svn path=/trunk/; revision=39940
2009-03-10 21:39:22 +00:00
ReactOS Portable Systems Group 83c3b848b3 - Rework Hyperspace Mapping Interface for Page zeroing. It is now more efficient and adapted to ReactOS.
- This also fixes some race conditions.
- There was a lot of difficulty getting this patch through because of everyone else adding their 2 cents to the code. Next time, wait. 


svn path=/trunk/; revision=39938
2009-03-10 20:52:39 +00:00
Aleksey Bragin 6965eb3bd8 - Fix a typo: set a value, not a bit.
svn path=/trunk/; revision=39937
2009-03-10 20:33:18 +00:00
Aleksey Bragin 084068b86a - Initialize hyperspace before page lists. Fixes boot problem (spotted by Alex).
svn path=/trunk/; revision=39936
2009-03-10 20:26:46 +00:00
Dmitry Gorbachev df00880ca7 Fix bug #4249 and crash in QEMU. Alex Ionescu, bug #4249.
svn path=/trunk/; revision=39934
2009-03-10 17:47:11 +00:00
Dmitry Gorbachev 02a00d8520 Silence compiler warning.
svn path=/trunk/; revision=39933
2009-03-10 12:41:23 +00:00
Timo Kreuzer 01213b0fed Only warn when trying to free a NULL pointer with ExFreePoolWithTag
svn path=/trunk/; revision=39932
2009-03-10 05:22:38 +00:00
Timo Kreuzer 83b90e9547 Don't free a NULL pointer.
svn path=/trunk/; revision=39931
2009-03-10 04:34:33 +00:00
Timo Kreuzer b60241301b Initial code for freetype font driver
svn path=/trunk/; revision=39930
2009-03-10 04:12:27 +00:00
Timo Kreuzer 974b832c83 Add sprintf.c for as long as our libcntpr doesn't have it.
svn path=/trunk/; revision=39929
2009-03-10 03:45:44 +00:00
Timo Kreuzer c3586e7347 Make freetype ddi compliant, by linking to win32k only. Clean up excessive header usage in rosglue.c
svn path=/trunk/; revision=39928
2009-03-10 02:49:45 +00:00
Timo Kreuzer 26593d0ac7 Call ExFreePoolWithTag with 0 tag from ExFreePool instead of vice versa, bugcheck system, when Block is not inside any pool.
svn path=/trunk/; revision=39927
2009-03-10 02:16:38 +00:00
Johannes Anderwald 0533a9d290 - Implement KSPROPERTY_PIN_PROPOSEDATAFORMAT
- Add KSPROPERTY_PIN_PROPOSEDATAFORMAT handler to IPortWaveCyclic 


svn path=/trunk/; revision=39926
2009-03-10 01:52:51 +00:00
ReactOS Portable Systems Group 115377a581 - Implement a new Hyperspace Mapping Interface:
- The new interface is portable and much faster than before. For example, unmapping a hyperpage is almost a one-line operation.
    - The new interface is also thread-safe and uses the EPROCESS hyperspace spinlock.
    - However, in order to isolate from React Mm internals, the Hyper IRQL and Process are stored as globals, so this will not work on SMP.
    - For now, mapping vs. zero PTEs are not treated differently, but the two interfaces have been separated pending future work.
    - Performance tests with _rdtsc resulted in an improvement of over 300% compared to the old interface.
    - Hyperspace mappings are frequent, so the improvement is noticeable during startup (3/10ths of a second).
    - This also fixes incorrect initializtion of hyperspace -- pages were zeroed out (which requires hyperspace) before hyperspace was created.


svn path=/trunk/; revision=39925
2009-03-10 00:31:14 +00:00
Kamil Hornicek 468100e628 - fix glEdgeFlagPointe prototype
- clean up opengl32.h a bit

svn path=/trunk/; revision=39922
2009-03-09 19:55:00 +00:00
Kamil Hornicek 3ec78e9525 - fix some prototypes, remove dxroslayer from dsound
- sync dsound with wine head, it now works again (tested on win xp and reactos)

svn path=/trunk/; revision=39921
2009-03-09 19:46:37 +00:00
Kamil Hornicek 2c38f28ad1 - fix the class name, vbox guest additions installer proceeds a bit further now
svn path=/trunk/; revision=39920
2009-03-09 19:34:37 +00:00
Kamil Hornicek 599cdf24dd - fix logic, global mouse and keyboard hooks are supported, dinput now works again
svn path=/trunk/; revision=39919
2009-03-09 19:01:11 +00:00
Aleksey Bragin 86bdd2b0e0 - Fix wrong placement of KEYBOARD_DEVICE_EXTENSION structure.
- Fix wrong include order.
- Fixes build.

svn path=/trunk/; revision=39918
2009-03-09 18:49:47 +00:00
Johannes Anderwald 0ea44d711f - Disable message flood when playing audio files as it is very time critical and makes audio stutter
- Free remaining irps and make sure that the dpc finished before stopping the audio stream. This fixing stuttering when there are too few audio buffers available.
- Complete the IRPs when they are actually have played. This should make audio playback position become more accurate and prevents application to feed in too much audio buffers
- VLC 0.9.8a can now playback audio files (no window is shown -> different issue)

svn path=/trunk/; revision=39917
2009-03-09 18:05:56 +00:00
Johannes Anderwald b27721cbe6 - Register default sound schemes when an new audio adapter is installed
- Pass the full filename to PlaySound as the sound might not be in standard location

svn path=/trunk/; revision=39915
2009-03-09 11:51:28 +00:00
Aleksey Bragin c5a305d2a5 - Move USB keyboard LEDs managing code into an own function.
svn path=/trunk/; revision=39914
2009-03-09 10:11:24 +00:00
Aleksey Bragin 5b630715c1 - Major cleanup of USB keyboard driver:
* Remove huge hack, which is not needed anymore since 39912.
 * Put all global variables into device extension, allowing support for more than one USB keyboard.
 * Cleanup driver extension structure.
 * Remove unneeded endpoint finding code.
- Add test code for LEDs support (now puts three of them into ON state).

svn path=/trunk/; revision=39913
2009-03-09 10:04:40 +00:00
Aleksey Bragin 9b878bfeb9 - Fix an incorrect assumption that endpoint descriptors must immediately follow an interface descriptor (there may be generic descriptors in between too, as it is for e.g. USB HID devices). Thanks to Michael Lotz from Haiku for his help with this issue.
- Fix incorrect handling of alternate interface settings, which resulted in reading uninitialized memory.

svn path=/trunk/; revision=39912
2009-03-09 09:40:43 +00:00
Jeffrey Morlan eb94cff07d add ConPrintf and ConPrintfPaging prototypes to cmd.h
svn path=/trunk/; revision=39911
2009-03-08 19:21:07 +00:00
Jeffrey Morlan be7941b485 - Clean up code for DIR command
- Fix bug where "DIR directoryname /S" wouldn't list subdirectories (you needed to do directoryname\*.*)
- Get rid of extra * that appeared in DIR /B /S output

svn path=/trunk/; revision=39910
2009-03-08 17:37:11 +00:00
Dmitry Chapyshev 357903327b - Fix typo
svn path=/trunk/; revision=39909
2009-03-08 17:35:12 +00:00
Matthias Kupfer f467c0a203 - continue "marletting"
- use marlett font for checkbox

svn path=/trunk/; revision=39908
2009-03-08 16:32:35 +00:00
Johannes Anderwald 2babefdc42 - Wait for the APC in wdmaud.drv
- Queue ~ one second of audio data before starting to stream
- Check if an audio pin is already open and re-use it in that case

svn path=/trunk/; revision=39907
2009-03-08 16:25:28 +00:00
Matthias Kupfer 74c6572ab1 - continue "marletting"
- use marlett font for caption buttons

svn path=/trunk/; revision=39906
2009-03-08 14:08:28 +00:00
Timo Kreuzer ce78c454eb Bmfd: Rework code for BmfdQueryFontData, rename some structs, add BMFD_FONT struct, which is associated with a FONTOBJ, rewrite copying bits, so it can do scaling and rotation. Scaled fonts work now. Rotation is not yet finished.
svn path=/trunk/; revision=39905
2009-03-08 03:09:10 +00:00
Johannes Anderwald 52ccdffece - Document the mega-haxxx
svn path=/trunk/; revision=39904
2009-03-07 20:50:38 +00:00
Aleksey Bragin 179386fce6 - Fix UsbBuildGetStatusRequest macro.
svn path=/trunk/; revision=39903
2009-03-07 20:15:29 +00:00
Johannes Anderwald 4dd44cb8cd - Rewrite writing to common buffer to fix stuttering sound
svn path=/trunk/; revision=39902
2009-03-07 19:59:57 +00:00
Johannes Anderwald 0da1e6e5e9 - Free queued audio buffers and complete irps
svn path=/trunk/; revision=39901
2009-03-07 17:41:03 +00:00
Dmitry Chapyshev b69eed875d - Sync comctl32, cryptui, mlang, msctf, netapi32, ole32, urlmon with Wine head
svn path=/trunk/; revision=39900
2009-03-07 08:34:55 +00:00
Art Yerkes 7db98868de Fix remaining issues in this neglected imported code. It's my fault it was
in a poor state for so long.

svn path=/trunk/; revision=39899
2009-03-07 00:18:06 +00:00
Matthias Kupfer 56de5c087f - translate remaining items to native language (German)
svn path=/trunk/; revision=39898
2009-03-06 22:33:54 +00:00
Matthias Kupfer 0a9c2d05f4 - temporary fix to show current time format setting in control panel
svn path=/trunk/; revision=39897
2009-03-06 22:25:34 +00:00
Cameron Gutman afe9844e8b - Merge aicom-network-fixes up to r39293
svn path=/trunk/; revision=39896
2009-03-06 20:32:17 +00:00
Johannes Anderwald 6a947146d8 - Sorry broke build
svn path=/trunk/; revision=39895
2009-03-06 19:22:56 +00:00
Johannes Anderwald 4ced7e9c28 - Fix a few issues to open wdmaud / write to
- Under lucky circunstances, you might be able to now to play an mp3 with winamp ;)
- Dedicated to all people helping to achieve this

svn path=/trunk/; revision=39894
2009-03-06 19:14:56 +00:00
Johannes Anderwald 587e95a112 - Implement a fast read / fast write path with KsStreamIo
- Fix 2 bugs in KsRegister*Worker code
- Implement fast write support for the general purpose dispatcher in portcls
- Implement a IIrpQueue object will queue pending irp requests
- Refactor IPinWaveCyclic interrupt handling code to work with IIrpQueue
- Handle wave out request in IRP_MJ_WRITE and submit them using KsStreamIo
- 

svn path=/trunk/; revision=39893
2009-03-06 19:06:21 +00:00
Jeffrey Morlan fff257c059 Implement SETLOCAL and ENDLOCAL commands. Make delayed expansion optional (disabled by default, enabled by CMD /V switch or with SETLOCAL)
svn path=/trunk/; revision=39892
2009-03-06 18:05:45 +00:00