reactos.git
15 years agoFix bug where wcscspn could return non-zero value on an empty string.
Jeffrey Morlan [Wed, 11 Mar 2009 03:35:29 +0000 (03:35 +0000)]
Fix bug where wcscspn could return non-zero value on an empty string.

svn path=/trunk/; revision=39945

15 years agoGive an error message when trying to DEL a file that doesn't exist (Bug 4244). Patch...
Jeffrey Morlan [Wed, 11 Mar 2009 02:17:53 +0000 (02:17 +0000)]
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

15 years ago- fix the bitmap and memdc issue for menu items (popup arrow, check and radio symbols)
Matthias Kupfer [Tue, 10 Mar 2009 23:48:21 +0000 (23:48 +0000)]
- fix the bitmap and memdc issue for menu items (popup arrow, check and radio symbols)

svn path=/trunk/; revision=39942

15 years ago- due to minor differences (marletting related) combine drawing routines for check...
Matthias Kupfer [Tue, 10 Mar 2009 21:39:22 +0000 (21:39 +0000)]
- 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

15 years ago- Rework Hyperspace Mapping Interface for Page zeroing. It is now more efficient...
ReactOS Portable Systems Group [Tue, 10 Mar 2009 20:52:39 +0000 (20:52 +0000)]
- 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

15 years ago- Fix a typo: set a value, not a bit.
Aleksey Bragin [Tue, 10 Mar 2009 20:33:18 +0000 (20:33 +0000)]
- Fix a typo: set a value, not a bit.

svn path=/trunk/; revision=39937

15 years ago- Initialize hyperspace before page lists. Fixes boot problem (spotted by Alex).
Aleksey Bragin [Tue, 10 Mar 2009 20:26:46 +0000 (20:26 +0000)]
- Initialize hyperspace before page lists. Fixes boot problem (spotted by Alex).

svn path=/trunk/; revision=39936

15 years agoFix bug #4249 and crash in QEMU. Alex Ionescu, bug #4249.
Dmitry Gorbachev [Tue, 10 Mar 2009 17:47:11 +0000 (17:47 +0000)]
Fix bug #4249 and crash in QEMU. Alex Ionescu, bug #4249.

svn path=/trunk/; revision=39934

15 years agoSilence compiler warning.
Dmitry Gorbachev [Tue, 10 Mar 2009 12:41:23 +0000 (12:41 +0000)]
Silence compiler warning.

svn path=/trunk/; revision=39933

15 years agoOnly warn when trying to free a NULL pointer with ExFreePoolWithTag
Timo Kreuzer [Tue, 10 Mar 2009 05:22:38 +0000 (05:22 +0000)]
Only warn when trying to free a NULL pointer with ExFreePoolWithTag

svn path=/trunk/; revision=39932

15 years agoDon't free a NULL pointer.
Timo Kreuzer [Tue, 10 Mar 2009 04:34:33 +0000 (04:34 +0000)]
Don't free a NULL pointer.

svn path=/trunk/; revision=39931

15 years agoInitial code for freetype font driver
Timo Kreuzer [Tue, 10 Mar 2009 04:12:27 +0000 (04:12 +0000)]
Initial code for freetype font driver

svn path=/trunk/; revision=39930

15 years agoAdd sprintf.c for as long as our libcntpr doesn't have it.
Timo Kreuzer [Tue, 10 Mar 2009 03:45:44 +0000 (03:45 +0000)]
Add sprintf.c for as long as our libcntpr doesn't have it.

svn path=/trunk/; revision=39929

15 years agoMake freetype ddi compliant, by linking to win32k only. Clean up excessive header...
Timo Kreuzer [Tue, 10 Mar 2009 02:49:45 +0000 (02:49 +0000)]
Make freetype ddi compliant, by linking to win32k only. Clean up excessive header usage in rosglue.c

svn path=/trunk/; revision=39928

15 years agoCall ExFreePoolWithTag with 0 tag from ExFreePool instead of vice versa, bugcheck...
Timo Kreuzer [Tue, 10 Mar 2009 02:16:38 +0000 (02:16 +0000)]
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

15 years ago- Implement KSPROPERTY_PIN_PROPOSEDATAFORMAT
Johannes Anderwald [Tue, 10 Mar 2009 01:52:51 +0000 (01:52 +0000)]
- Implement KSPROPERTY_PIN_PROPOSEDATAFORMAT
- Add KSPROPERTY_PIN_PROPOSEDATAFORMAT handler to IPortWaveCyclic

svn path=/trunk/; revision=39926

15 years ago- Implement a new Hyperspace Mapping Interface:
ReactOS Portable Systems Group [Tue, 10 Mar 2009 00:31:14 +0000 (00:31 +0000)]
- 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

15 years ago- fix glEdgeFlagPointe prototype
Kamil Hornicek [Mon, 9 Mar 2009 19:55:00 +0000 (19:55 +0000)]
- fix glEdgeFlagPointe prototype
- clean up opengl32.h a bit

svn path=/trunk/; revision=39922

15 years ago- fix some prototypes, remove dxroslayer from dsound
Kamil Hornicek [Mon, 9 Mar 2009 19:46:37 +0000 (19:46 +0000)]
- 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

15 years ago- fix the class name, vbox guest additions installer proceeds a bit further now
Kamil Hornicek [Mon, 9 Mar 2009 19:34:37 +0000 (19:34 +0000)]
- fix the class name, vbox guest additions installer proceeds a bit further now

svn path=/trunk/; revision=39920

15 years ago- fix logic, global mouse and keyboard hooks are supported, dinput now works again
Kamil Hornicek [Mon, 9 Mar 2009 19:01:11 +0000 (19:01 +0000)]
- fix logic, global mouse and keyboard hooks are supported, dinput now works again

svn path=/trunk/; revision=39919

15 years ago- Fix wrong placement of KEYBOARD_DEVICE_EXTENSION structure.
Aleksey Bragin [Mon, 9 Mar 2009 18:49:47 +0000 (18:49 +0000)]
- Fix wrong placement of KEYBOARD_DEVICE_EXTENSION structure.
- Fix wrong include order.
- Fixes build.

svn path=/trunk/; revision=39918

15 years ago- Disable message flood when playing audio files as it is very time critical and...
Johannes Anderwald [Mon, 9 Mar 2009 18:05:56 +0000 (18:05 +0000)]
- 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

15 years ago- Register default sound schemes when an new audio adapter is installed
Johannes Anderwald [Mon, 9 Mar 2009 11:51:28 +0000 (11:51 +0000)]
- 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

15 years ago- Move USB keyboard LEDs managing code into an own function.
Aleksey Bragin [Mon, 9 Mar 2009 10:11:24 +0000 (10:11 +0000)]
- Move USB keyboard LEDs managing code into an own function.

svn path=/trunk/; revision=39914

15 years ago- Major cleanup of USB keyboard driver:
Aleksey Bragin [Mon, 9 Mar 2009 10:04:40 +0000 (10:04 +0000)]
- 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

15 years ago- Fix an incorrect assumption that endpoint descriptors must immediately follow an...
Aleksey Bragin [Mon, 9 Mar 2009 09:40:43 +0000 (09:40 +0000)]
- 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

15 years agoadd ConPrintf and ConPrintfPaging prototypes to cmd.h
Jeffrey Morlan [Sun, 8 Mar 2009 19:21:07 +0000 (19:21 +0000)]
add ConPrintf and ConPrintfPaging prototypes to cmd.h

svn path=/trunk/; revision=39911

15 years ago- Clean up code for DIR command
Jeffrey Morlan [Sun, 8 Mar 2009 17:37:11 +0000 (17:37 +0000)]
- 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

15 years ago- Fix typo
Dmitry Chapyshev [Sun, 8 Mar 2009 17:35:12 +0000 (17:35 +0000)]
- Fix typo

svn path=/trunk/; revision=39909

15 years ago- continue "marletting"
Matthias Kupfer [Sun, 8 Mar 2009 16:32:35 +0000 (16:32 +0000)]
- continue "marletting"
- use marlett font for checkbox

svn path=/trunk/; revision=39908

15 years ago- Wait for the APC in wdmaud.drv
Johannes Anderwald [Sun, 8 Mar 2009 16:25:28 +0000 (16:25 +0000)]
- 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

15 years ago- continue "marletting"
Matthias Kupfer [Sun, 8 Mar 2009 14:08:28 +0000 (14:08 +0000)]
- continue "marletting"
- use marlett font for caption buttons

svn path=/trunk/; revision=39906

15 years agoBmfd: Rework code for BmfdQueryFontData, rename some structs, add BMFD_FONT struct...
Timo Kreuzer [Sun, 8 Mar 2009 03:09:10 +0000 (03:09 +0000)]
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

15 years ago- Document the mega-haxxx
Johannes Anderwald [Sat, 7 Mar 2009 20:50:38 +0000 (20:50 +0000)]
- Document the mega-haxxx

svn path=/trunk/; revision=39904

15 years ago- Fix UsbBuildGetStatusRequest macro.
Aleksey Bragin [Sat, 7 Mar 2009 20:15:29 +0000 (20:15 +0000)]
- Fix UsbBuildGetStatusRequest macro.

svn path=/trunk/; revision=39903

15 years ago- Rewrite writing to common buffer to fix stuttering sound
Johannes Anderwald [Sat, 7 Mar 2009 19:59:57 +0000 (19:59 +0000)]
- Rewrite writing to common buffer to fix stuttering sound

svn path=/trunk/; revision=39902

15 years ago- Free queued audio buffers and complete irps
Johannes Anderwald [Sat, 7 Mar 2009 17:41:03 +0000 (17:41 +0000)]
- Free queued audio buffers and complete irps

svn path=/trunk/; revision=39901

15 years ago- Sync comctl32, cryptui, mlang, msctf, netapi32, ole32, urlmon with Wine head
Dmitry Chapyshev [Sat, 7 Mar 2009 08:34:55 +0000 (08:34 +0000)]
- Sync comctl32, cryptui, mlang, msctf, netapi32, ole32, urlmon with Wine head

svn path=/trunk/; revision=39900

15 years agoFix remaining issues in this neglected imported code. It's my fault it was
Art Yerkes [Sat, 7 Mar 2009 00:18:06 +0000 (00:18 +0000)]
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

15 years ago- translate remaining items to native language (German)
Matthias Kupfer [Fri, 6 Mar 2009 22:33:54 +0000 (22:33 +0000)]
- translate remaining items to native language (German)

svn path=/trunk/; revision=39898

15 years ago- temporary fix to show current time format setting in control panel
Matthias Kupfer [Fri, 6 Mar 2009 22:25:34 +0000 (22:25 +0000)]
- temporary fix to show current time format setting in control panel

svn path=/trunk/; revision=39897

15 years ago - Merge aicom-network-fixes up to r39293
Cameron Gutman [Fri, 6 Mar 2009 20:32:17 +0000 (20:32 +0000)]
 - Merge aicom-network-fixes up to r39293

svn path=/trunk/; revision=39896

15 years ago- Sorry broke build
Johannes Anderwald [Fri, 6 Mar 2009 19:22:56 +0000 (19:22 +0000)]
- Sorry broke build

svn path=/trunk/; revision=39895

15 years ago- Fix a few issues to open wdmaud / write to
Johannes Anderwald [Fri, 6 Mar 2009 19:14:56 +0000 (19:14 +0000)]
- 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

15 years ago- Implement a fast read / fast write path with KsStreamIo
Johannes Anderwald [Fri, 6 Mar 2009 19:06:21 +0000 (19:06 +0000)]
- 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

15 years agoImplement SETLOCAL and ENDLOCAL commands. Make delayed expansion optional (disabled...
Jeffrey Morlan [Fri, 6 Mar 2009 18:05:45 +0000 (18:05 +0000)]
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

15 years ago- Fix exceptions in some cases (if CriticalSection->DebugInfo = NULL)
Dmitry Chapyshev [Fri, 6 Mar 2009 18:03:04 +0000 (18:03 +0000)]
- Fix exceptions in some cases (if CriticalSection->DebugInfo = NULL)

svn path=/trunk/; revision=39891

15 years ago- Ignore special characters in a REM line.
Jeffrey Morlan [Fri, 6 Mar 2009 17:27:42 +0000 (17:27 +0000)]
- 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

15 years agoFAT(X)IsDirectoryEmpty: When done with one page, go to the next one instead of readin...
Jeffrey Morlan [Fri, 6 Mar 2009 17:23:29 +0000 (17:23 +0000)]
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

15 years ago- more improved version, reduced calls, allocate ressources if needed only
Matthias Kupfer [Fri, 6 Mar 2009 16:47:44 +0000 (16:47 +0000)]
- more improved version, reduced calls, allocate ressources if needed only

svn path=/trunk/; revision=39888

15 years agoDon't leak font objects
Ged Murphy [Thu, 5 Mar 2009 22:31:11 +0000 (22:31 +0000)]
Don't leak font objects

svn path=/trunk/; revision=39887

15 years ago- Setup winmm entries for wdmaud.drv if they dont exist yet
Johannes Anderwald [Thu, 5 Mar 2009 14:40:14 +0000 (14:40 +0000)]
- Setup winmm entries for wdmaud.drv if they dont exist yet

svn path=/trunk/; revision=39886

15 years ago- Add wdmaud.drv to bootcd
Johannes Anderwald [Thu, 5 Mar 2009 14:35:10 +0000 (14:35 +0000)]
- Add wdmaud.drv to bootcd

svn path=/trunk/; revision=39885

15 years ago- Implement Pin object functions
Johannes Anderwald [Thu, 5 Mar 2009 13:50:54 +0000 (13:50 +0000)]
- Implement Pin object functions
- Remove test sample function, as silverblade will implement those

svn path=/trunk/; revision=39884

15 years ago- Add more check of parametres in GetDIBits
Dmitry Chapyshev [Thu, 5 Mar 2009 12:22:35 +0000 (12:22 +0000)]
- Add more check of parametres in GetDIBits

svn path=/trunk/; revision=39882

15 years ago- Change menu symbols drawing to marlett font.
Matthias Kupfer [Thu, 5 Mar 2009 11:48:20 +0000 (11:48 +0000)]
- Change menu symbols drawing to marlett font.

svn path=/trunk/; revision=39881

15 years agoMake CALL command do another round of %-variable substitutions.
Jeffrey Morlan [Thu, 5 Mar 2009 05:10:10 +0000 (05:10 +0000)]
Make CALL command do another round of %-variable substitutions.

svn path=/trunk/; revision=39879

15 years ago- Draw bullet for menu radio group with ellipse instead of pie.
Matthias Kupfer [Wed, 4 Mar 2009 22:16:25 +0000 (22:16 +0000)]
- 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

15 years ago- Start implementing kmixer
Johannes Anderwald [Wed, 4 Mar 2009 21:13:10 +0000 (21:13 +0000)]
- Start implementing kmixer

svn path=/trunk/; revision=39877

15 years ago- Make TOKEN pointer in OBJECT_HEADER a fast reference, just like on Windows.
Aleksey Bragin [Wed, 4 Mar 2009 20:58:32 +0000 (20:58 +0000)]
- Make TOKEN pointer in OBJECT_HEADER a fast reference, just like on Windows.
- Update SD cache code to treat it as such.
- Improves performance by 500% during security checks - noticeable impact during large file or registry transfer operations.

svn path=/trunk/; revision=39876

15 years agoAdded stubs for Direct3D 7, 8 and 9 tests in dxdiag.
Gregor Brunmar [Wed, 4 Mar 2009 20:34:17 +0000 (20:34 +0000)]
Added stubs for Direct3D 7, 8 and 9 tests in dxdiag.

svn path=/trunk/; revision=39875

15 years ago- modify hackfix DrawMenuBar function use user32 function instead of sending messages
Matthias Kupfer [Wed, 4 Mar 2009 19:35:58 +0000 (19:35 +0000)]
- modify hackfix DrawMenuBar function use user32 function instead of sending messages
- DefWndNCPaint needs to split up and some parts have to move to subsystems to provide the menu functions independent of window non-client drawing

svn path=/trunk/; revision=39874

15 years agoUsing a lock inside a slab of memory to lock against moving the same memory
Art Yerkes [Wed, 4 Mar 2009 17:03:06 +0000 (17:03 +0000)]
Using a lock inside a slab of memory to lock against moving the same memory
is definitely a bug.  This fixes it, but the intention of the previous code
might not be what I thought it was.  I won't be sad if this fix is reverted
and something else takes its place.

svn path=/trunk/; revision=39873

15 years agoEvgeniy Boltik <bstsoft AT narod DOT ru>
Matthias Kupfer [Wed, 4 Mar 2009 16:34:33 +0000 (16:34 +0000)]
Evgeniy Boltik <bstsoft AT narod DOT ru>
- Fix crash in Eng function
- See issue #4173 for details.

svn path=/trunk/; revision=39872

15 years agoSascha Clausen <r4v3r AT hotmail DOT de>
Matthias Kupfer [Wed, 4 Mar 2009 16:29:57 +0000 (16:29 +0000)]
Sascha Clausen <r4v3r AT hotmail DOT de>
- Draw bullet for menu radio group.
- See issue #4193 for details.

svn path=/trunk/; revision=39871

15 years agoEvgeniy Boltik <bstsoft AT narod DOT ru>
Matthias Kupfer [Wed, 4 Mar 2009 16:25:22 +0000 (16:25 +0000)]
Evgeniy Boltik <bstsoft AT narod DOT ru>
- Fix if param Brush == NULL.
- See issue #4220 for details.

svn path=/trunk/; revision=39870

15 years ago- Add GUIDs for msctf
Dmitry Chapyshev [Wed, 4 Mar 2009 15:32:21 +0000 (15:32 +0000)]
- Add GUIDs for msctf

svn path=/trunk/; revision=39869

15 years ago- Sync crypt32, jscript, mapi32, mlang, msctf, msvcrt20, msvcrt40, msxml3, snmpapi...
Dmitry Chapyshev [Wed, 4 Mar 2009 15:29:32 +0000 (15:29 +0000)]
- Sync crypt32, jscript, mapi32, mlang, msctf, msvcrt20, msvcrt40, msxml3, snmpapi, urlmon with Wine head

svn path=/trunk/; revision=39867

15 years ago- Sync spoolss with Wine head
Dmitry Chapyshev [Wed, 4 Mar 2009 15:24:06 +0000 (15:24 +0000)]
- Sync spoolss with Wine head
- Fix winspool stubs

svn path=/trunk/; revision=39866

15 years ago- Fix header
Dmitry Chapyshev [Wed, 4 Mar 2009 15:22:48 +0000 (15:22 +0000)]
- Fix header

svn path=/trunk/; revision=39865

15 years ago- Import libsamplerate from http://www.mega-nerd.com/SRC/download.html
Johannes Anderwald [Wed, 4 Mar 2009 14:58:14 +0000 (14:58 +0000)]
- Import libsamplerate from mega-nerd.com/SRC/download.html
- It will be used for samplerate conversion in kmixer
- Thanks to blight for helping with asm
- Do not import medium / high quality coeffs (600KB / 8MB file size)

svn path=/trunk/; revision=39864

15 years ago- Add first version of USB keyboard driver (limitations: no keyboard LEDs support...
Aleksey Bragin [Wed, 4 Mar 2009 13:40:22 +0000 (13:40 +0000)]
- Add first version of USB keyboard driver (limitations: no keyboard LEDs support, no repeated keypress support, right-side modifier keys not supported).
- Cleanup source code of USB mouse driver.

svn path=/trunk/; revision=39863

15 years agoIn the CRT, replaced __set_errno calls having Win32 error codes as their argument...
Jeffrey Morlan [Wed, 4 Mar 2009 07:39:44 +0000 (07:39 +0000)]
In the CRT, replaced __set_errno calls having Win32 error codes as their argument with _dosmaperr.

svn path=/trunk/; revision=39862

15 years agoA little cleanup of cmd.c:
Jeffrey Morlan [Wed, 4 Mar 2009 04:23:40 +0000 (04:23 +0000)]
A little cleanup of cmd.c:
- Remove bIsBatch variable, and just check for bc != NULL instead.
- Since Batch doesn't return until the batch file is finished, CMD /C no longer needs to call ProcessInput.
- Don't bother loading ntdll.dll on Windows 98; it doesn't export the functions we want to use from it.

svn path=/trunk/; revision=39861

15 years agoBmfd: The cjGlyphMax field of the PFD_DEVICEMETRICS, the cjSize parameter of BmfdQuer...
Timo Kreuzer [Wed, 4 Mar 2009 00:46:32 +0000 (00:46 +0000)]
Bmfd: The cjGlyphMax field of the PFD_DEVICEMETRICS, the cjSize parameter of BmfdQueryFontData and it's return value all specify the size of the full GLYPHBITS structure, not only the glyph bitmap. Fixes problem of truncated Glyphs. Fix calculation of glyph handles. TODO: 90° rotation and integral scaling.

svn path=/trunk/; revision=39860

15 years ago- Refactor Fast Reference implementation into a generic module with init/acquire...
Aleksey Bragin [Tue, 3 Mar 2009 20:24:10 +0000 (20:24 +0000)]
- Refactor Fast Reference implementation into a generic module with init/acquire/release/compare/insert interfaces, and update the executive callback & object manager referencing code to use it.
- Always capture fast reference values on the stack since a fast reference is by nature volatile.
- Based off earlier work from Alex to fix callback implementation.

svn path=/trunk/; revision=39859

15 years agoRework batch-file processing so that 'call file.bat' doesn't return until the file...
Jeffrey Morlan [Tue, 3 Mar 2009 20:06:54 +0000 (20:06 +0000)]
Rework batch-file processing so that 'call file.bat' doesn't return until the file has finished, allowing constructs like 'call file.bat & somethingelse' to work properly.

svn path=/trunk/; revision=39858

15 years ago- Consider Pnp initialized after system drivers finished loading.
Aleksey Bragin [Tue, 3 Mar 2009 12:55:58 +0000 (12:55 +0000)]
- Consider Pnp initialized after system drivers finished loading.
- Fix reinitialization routines callbacks: processing reinit callbacks after EVERY driver load, including boot drivers is wrong. The sequence should be init boot drivers, call boot drivers reinit routines, load pnp drivers, load system drivers, call reinit routines. And then, when Pnp is initialized, call reinit routines after every driver module load event.

svn path=/trunk/; revision=39857

15 years ago- Move part of the 1st stage pnp hacks to kbdclass driver. Previously, the driver...
Aleksey Bragin [Tue, 3 Mar 2009 12:06:57 +0000 (12:06 +0000)]
- Move part of the 1st stage pnp hacks to kbdclass driver. Previously, the driver (i8042prt) relied on kbdclass's normal reinit routine being called BEFORE a registered boot reinit routine, which is certainly wrong on a real NT system.
- Now, the correct order is ensured, and it is not relying on a broken reinit calling order in ReactOS anymore.

svn path=/trunk/; revision=39856

15 years ago- Comment all actctx functions. They are not implemented also programs can work witho...
Dmitry Chapyshev [Tue, 3 Mar 2009 11:27:52 +0000 (11:27 +0000)]
- Comment all actctx functions. They are not implemented also programs can work without them

svn path=/trunk/; revision=39855

15 years ago- Fix build
Dmitry Chapyshev [Tue, 3 Mar 2009 11:05:42 +0000 (11:05 +0000)]
- Fix build

svn path=/trunk/; revision=39854

15 years ago- Sync ole32 and oleaut32 with Wine head
Dmitry Chapyshev [Tue, 3 Mar 2009 09:12:43 +0000 (09:12 +0000)]
- Sync ole32 and oleaut32 with Wine head

svn path=/trunk/; revision=39853

15 years ago- Sync header
Dmitry Chapyshev [Tue, 3 Mar 2009 09:12:03 +0000 (09:12 +0000)]
- Sync header

svn path=/trunk/; revision=39852

15 years ago- Sync comdlg32 with Wine head
Dmitry Chapyshev [Tue, 3 Mar 2009 09:10:25 +0000 (09:10 +0000)]
- Sync comdlg32 with Wine head

svn path=/trunk/; revision=39851

15 years ago- Sync comctl32 with Wine head
Dmitry Chapyshev [Tue, 3 Mar 2009 09:09:59 +0000 (09:09 +0000)]
- Sync comctl32 with Wine head

svn path=/trunk/; revision=39850

15 years agoInitial version of a gdi font driver for bitmap fonts (.fon / .fnt). It starts to...
Timo Kreuzer [Tue, 3 Mar 2009 02:42:00 +0000 (02:42 +0000)]
Initial version of a gdi font driver for bitmap fonts (.fon / .fnt). It starts to work, but not yet correctly. Glyphs are truncated. Developed on Windows XP.

svn path=/trunk/; revision=39849

15 years agoSpeed up batch file execution by reading a line at a time instead of a byte at a...
Jeffrey Morlan [Mon, 2 Mar 2009 20:00:26 +0000 (20:00 +0000)]
Speed up batch file execution by reading a line at a time instead of a byte at a time.

svn path=/trunk/; revision=39848

15 years ago- Add privileges check to SystemTimeAdjustmentInformation SSI routine. Spotted by...
Aleksey Bragin [Mon, 2 Mar 2009 19:57:27 +0000 (19:57 +0000)]
- Add privileges check to SystemTimeAdjustmentInformation SSI routine. Spotted by Dmitry Chapyshev.

svn path=/trunk/; revision=39847

15 years agoSeparate batch file contexts and FOR contexts into two different structs, since they...
Jeffrey Morlan [Mon, 2 Mar 2009 19:08:25 +0000 (19:08 +0000)]
Separate batch file contexts and FOR contexts into two different structs, since they don't actually have anything in common any more

svn path=/trunk/; revision=39846

15 years ago- Fix typo
Dmitry Chapyshev [Mon, 2 Mar 2009 16:21:24 +0000 (16:21 +0000)]
- Fix typo

svn path=/trunk/; revision=39844

15 years ago- Add check of returned value for EnumDisplaySettings
Dmitry Chapyshev [Mon, 2 Mar 2009 14:08:46 +0000 (14:08 +0000)]
- Add check of returned value for EnumDisplaySettings

svn path=/trunk/; revision=39843

15 years ago- Add more known dlls
Dmitry Chapyshev [Mon, 2 Mar 2009 13:30:10 +0000 (13:30 +0000)]
- Add more known dlls
- Add to Path variable a directory wbem

svn path=/trunk/; revision=39842

15 years ago- Get system color depth for application list
Dmitry Chapyshev [Mon, 2 Mar 2009 12:46:53 +0000 (12:46 +0000)]
- Get system color depth for application list

svn path=/trunk/; revision=39841

15 years ago- Change themes fonts to Tahoma
Dmitry Chapyshev [Mon, 2 Mar 2009 12:23:07 +0000 (12:23 +0000)]
- Change themes fonts to Tahoma

svn path=/trunk/; revision=39840

15 years ago- Add LanguagePack support to GetFontLanguageInfo.
James Tabor [Mon, 2 Mar 2009 01:54:37 +0000 (01:54 +0000)]
- Add LanguagePack support to GetFontLanguageInfo.

svn path=/trunk/; revision=39839

15 years ago- Show the currently selected color scheme in combo box instead of default "Reactos...
Matthias Kupfer [Sun, 1 Mar 2009 22:55:02 +0000 (22:55 +0000)]
- Show the currently selected color scheme in combo box instead of default "Reactos Standard".
- The value HKCU\Control Panel\Apperance\(New)Current isn't used yet.
- See issue #4164 for details.

svn path=/trunk/; revision=39838

15 years ago- Implement GdiIsPlayMetafileDC.
James Tabor [Sun, 1 Mar 2009 21:22:53 +0000 (21:22 +0000)]
- Implement GdiIsPlayMetafileDC.

svn path=/trunk/; revision=39837

15 years agoFix BatchParams to handle unconventional spacing/quoting properly.
Jeffrey Morlan [Sun, 1 Mar 2009 20:25:13 +0000 (20:25 +0000)]
Fix BatchParams to handle unconventional spacing/quoting properly.

svn path=/trunk/; revision=39836

15 years ago- Implement GdiIsMetaFileDC and GdiIsMetaPrintDC.
James Tabor [Sun, 1 Mar 2009 19:37:52 +0000 (19:37 +0000)]
- Implement GdiIsMetaFileDC and GdiIsMetaPrintDC.

svn path=/trunk/; revision=39835