Commit graph

35610 commits

Author SHA1 Message Date
Jeffrey Morlan
6db382c056 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
2009-03-04 04:23:40 +00:00
Timo Kreuzer
d7f6c74d76 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
2009-03-04 00:46:32 +00:00
Aleksey Bragin
c712fa746c - 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
2009-03-03 20:24:10 +00:00
Jeffrey Morlan
516e7fa09c 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
2009-03-03 20:06:54 +00:00
Aleksey Bragin
c933e1c643 - 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
2009-03-03 12:55:58 +00:00
Aleksey Bragin
b988d2bd3d - 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
2009-03-03 12:06:57 +00:00
Dmitry Chapyshev
35ad8f5e49 - Comment all actctx functions. They are not implemented also programs can work without them
svn path=/trunk/; revision=39855
2009-03-03 11:27:52 +00:00
Dmitry Chapyshev
a7aaab1dbd - Fix build
svn path=/trunk/; revision=39854
2009-03-03 11:05:42 +00:00
Dmitry Chapyshev
472ec17a2f - Sync ole32 and oleaut32 with Wine head
svn path=/trunk/; revision=39853
2009-03-03 09:12:43 +00:00
Dmitry Chapyshev
3909c139ee - Sync header
svn path=/trunk/; revision=39852
2009-03-03 09:12:03 +00:00
Dmitry Chapyshev
576b4e9bfd - Sync comdlg32 with Wine head
svn path=/trunk/; revision=39851
2009-03-03 09:10:25 +00:00
Dmitry Chapyshev
a7bbe6d2ec - Sync comctl32 with Wine head
svn path=/trunk/; revision=39850
2009-03-03 09:09:59 +00:00
Timo Kreuzer
f1aeddb982 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
2009-03-03 02:42:00 +00:00
Jeffrey Morlan
eff51218fb Speed up batch file execution by reading a line at a time instead of a byte at a time.
svn path=/trunk/; revision=39848
2009-03-02 20:00:26 +00:00
Aleksey Bragin
642a549191 - Add privileges check to SystemTimeAdjustmentInformation SSI routine. Spotted by Dmitry Chapyshev.
svn path=/trunk/; revision=39847
2009-03-02 19:57:27 +00:00
Jeffrey Morlan
484ee2fa7e 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
2009-03-02 19:08:25 +00:00
Dmitry Chapyshev
6b888f2d5b - Fix typo
svn path=/trunk/; revision=39844
2009-03-02 16:21:24 +00:00
Dmitry Chapyshev
bd718d68df - Add check of returned value for EnumDisplaySettings
svn path=/trunk/; revision=39843
2009-03-02 14:08:46 +00:00
Dmitry Chapyshev
8d143da0d2 - Add more known dlls
- Add to Path variable a directory wbem

svn path=/trunk/; revision=39842
2009-03-02 13:30:10 +00:00
Dmitry Chapyshev
8cbf61f0d3 - Get system color depth for application list
svn path=/trunk/; revision=39841
2009-03-02 12:46:53 +00:00
Dmitry Chapyshev
3ccbacec4d - Change themes fonts to Tahoma
svn path=/trunk/; revision=39840
2009-03-02 12:23:07 +00:00
James Tabor
7f9d753a27 - Add LanguagePack support to GetFontLanguageInfo.
svn path=/trunk/; revision=39839
2009-03-02 01:54:37 +00:00
Matthias Kupfer
78b88e1063 - 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
2009-03-01 22:55:02 +00:00
James Tabor
3c959e9093 - Implement GdiIsPlayMetafileDC.
svn path=/trunk/; revision=39837
2009-03-01 21:22:53 +00:00
Jeffrey Morlan
9ea64ffebb Fix BatchParams to handle unconventional spacing/quoting properly.
svn path=/trunk/; revision=39836
2009-03-01 20:25:13 +00:00
James Tabor
a784e30920 - Implement GdiIsMetaFileDC and GdiIsMetaPrintDC.
svn path=/trunk/; revision=39835
2009-03-01 19:37:52 +00:00
Jeffrey Morlan
e81627a11d In the DOSKEY command:
- Fix handling of spaces
- When reading from file, remove ending '\n'
- Don't convert macro name to lower case
- Disallow empty macro name or macro names containing spaces

svn path=/trunk/; revision=39834
2009-03-01 19:11:55 +00:00
Dmitry Chapyshev
7f9c2e8970 - Fix pictures icons
- Add data for .avi files

svn path=/trunk/; revision=39833
2009-03-01 18:05:07 +00:00
Andrew Greenwood
96037bb17d Don't enable sndblst.sys yet
svn path=/trunk/; revision=39832
2009-03-01 17:34:03 +00:00
Dmitry Chapyshev
337dbdadf1 - Fix dmo.h and mediaerr.h
svn path=/trunk/; revision=39831
2009-03-01 17:15:00 +00:00
Matthias Kupfer
6a5097f0bb Sascha Clausen <r4v3r AT hotmail DOT de>
- Set menu ID.
- See issue #2144 for details.

svn path=/trunk/; revision=39830
2009-03-01 16:12:34 +00:00
Stefan Ginsberg
6a56dca9a3 - Fix 37825 -- Yes, we shouldn't check if an unsigned value is larger than or equal to zero, so just fix the check instead of...commenting out the assertion.
svn path=/trunk/; revision=39829
2009-03-01 15:35:31 +00:00
Dmitry Chapyshev
d61a6ea982 - Remove duplicates
svn path=/trunk/; revision=39828
2009-03-01 14:31:31 +00:00
Johannes Anderwald
4b4d95da9c - Fix compilation of cmidriver
- Does not yet link

svn path=/trunk/; revision=39827
2009-03-01 14:29:57 +00:00
Dmitry Chapyshev
2eba686398 - Full path to mci*.dll is unneeded
- Add system.ini

svn path=/trunk/; revision=39826
2009-03-01 14:16:14 +00:00
Dmitry Chapyshev
9f32d9e704 - Add iccvid, imaadp32.acm, msadp32.acm, msg711.acm, msvidc32 from Wine
svn path=/trunk/; revision=39825
2009-03-01 13:42:09 +00:00
Johannes Anderwald
35c0dcde31 - Disable ASSERTMSG macro to fix compilation
- Fix definition of PCPROPERTY_REQUEST

svn path=/trunk/; revision=39824
2009-03-01 13:10:33 +00:00
Sylvain Petreolle
36586bfb83 Recode rosapps French files from UTF-8 to CP-1252.
svn path=/trunk/; revision=39823
2009-03-01 12:47:18 +00:00
Johannes Anderwald
730cfa49a0 - Add missing guids, interfaces, structs to get CMIDriver compile
svn path=/trunk/; revision=39822
2009-03-01 12:45:32 +00:00
Dmitry Chapyshev
832f03d77d - Add mciavi32, mcicda, mciqtz32, mciseq, mciwave from Wine
svn path=/trunk/; revision=39821
2009-03-01 11:54:06 +00:00
Dmitry Gorbachev
835d718621 Recode French files from UTF-8 to CP-1252.
svn path=/trunk/; revision=39820
2009-03-01 11:20:29 +00:00
Dmitry Gorbachev
f9ad0355df - Add missing strings to RC files, fix formatting. Mario Kacmar, bug #4211.
- Fix other translations in the same spirit.

svn path=/trunk/; revision=39819
2009-03-01 10:59:10 +00:00
Jeffrey Morlan
ba3e9218c7 - FileGetString: Only end line on '\n', not on '\r'.
- Various improvements to ExpandAlias

svn path=/trunk/; revision=39817
2009-02-28 18:00:38 +00:00
Johannes Anderwald
69f81beb13 - Cleanup code a bit
svn path=/trunk/; revision=39816
2009-02-28 12:04:00 +00:00
Aleksey Bragin
09ce3c6e91 - If a driver has no Tag specified it should be defaulted to the max ULONG value, so it gets loaded after all drivers with correct tags. This fixes a problem of null.sys and beep.sys loading up to TagCount (20 for Base group) times during each boot.
svn path=/trunk/; revision=39815
2009-02-28 10:29:06 +00:00
James Tabor
fde70551ec - No code change, adding notes to header.
svn path=/trunk/; revision=39798
2009-02-28 04:41:52 +00:00
Andrew Greenwood
60a7be44dc Started new implementation of Sound Blaster driver (kernel mode), which
at present just looks at the settings in the registry (actual sound
blaster code to go in a dedicated library elsewhere for later reuse in
portcls.) Also updated wdmaud.drv - it can only identify how many devices
have been reported by janderwald's code at present.


svn path=/trunk/; revision=39797
2009-02-27 22:50:58 +00:00
Dmitry Gorbachev
36bf174662 Fix warning: implicit declaration of function 'VALID_SOUND_DEVICE_TYPE'
svn path=/trunk/; revision=39796
2009-02-27 21:46:59 +00:00
Jeffrey Morlan
9ed19ef909 Handle quotes in a CMD /C or CMD /K argument properly.
svn path=/trunk/; revision=39795
2009-02-27 18:09:33 +00:00
Dmitry Chapyshev
83f58a9337 - Add winetests for mscms, msvcrtd, quartz, secur32
svn path=/trunk/; revision=39794
2009-02-27 17:57:06 +00:00