Commit graph

35474 commits

Author SHA1 Message Date
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
Dmitry Chapyshev 64455e3b04 - Fix exceptions in some cases (if CriticalSection->DebugInfo = NULL)
svn path=/trunk/; revision=39891
2009-03-06 18:03:04 +00:00
Jeffrey Morlan 79c11338fa - Ignore special characters in a REM line.
- Make the \n-printing in batch files with ECHO on more consistant with how Windows does it.

svn path=/trunk/; revision=39890
2009-03-06 17:27:42 +00:00
Jeffrey Morlan 58e2d39f21 FAT(X)IsDirectoryEmpty: When done with one page, go to the next one instead of reading the same page over again. Fixes inability to remove directories that previously had many files in them.
svn path=/trunk/; revision=39889
2009-03-06 17:23:29 +00:00
Matthias Kupfer 1839fc66f1 - more improved version, reduced calls, allocate ressources if needed only
svn path=/trunk/; revision=39888
2009-03-06 16:47:44 +00:00
Ged Murphy 953536f72d Don't leak font objects
svn path=/trunk/; revision=39887
2009-03-05 22:31:11 +00:00
Johannes Anderwald ab3175b141 - Setup winmm entries for wdmaud.drv if they dont exist yet
svn path=/trunk/; revision=39886
2009-03-05 14:40:14 +00:00
Johannes Anderwald fed8d4f74d - Add wdmaud.drv to bootcd
svn path=/trunk/; revision=39885
2009-03-05 14:35:10 +00:00
Johannes Anderwald 92a0cd07ae - Implement Pin object functions
- Remove test sample function, as silverblade will implement those

svn path=/trunk/; revision=39884
2009-03-05 13:50:54 +00:00
Dmitry Chapyshev 0302c8f272 - Add more check of parametres in GetDIBits
svn path=/trunk/; revision=39882
2009-03-05 12:22:35 +00:00
Matthias Kupfer 31c097e8b6 - Change menu symbols drawing to marlett font.
svn path=/trunk/; revision=39881
2009-03-05 11:48:20 +00:00
Jeffrey Morlan 39d2af2432 Make CALL command do another round of %-variable substitutions.
svn path=/trunk/; revision=39879
2009-03-05 05:10:10 +00:00
Matthias Kupfer ee68df6943 - Draw bullet for menu radio group with ellipse instead of pie.
- This is a better solution for issue #4193.
- The pie problem remains.

svn path=/trunk/; revision=39878
2009-03-04 22:16:25 +00:00
Johannes Anderwald 1ad6ef9eec - Start implementing kmixer
svn path=/trunk/; revision=39877
2009-03-04 21:13:10 +00:00