Commit graph

44615 commits

Author SHA1 Message Date
Timo Kreuzer 014ff8c894 [NCI]
Ue macros for the other nci generated files, too and delete nci-tool.

svn path=/trunk/; revision=50625
2011-02-09 01:07:30 +00:00
Pierre Schweitzer 46610513c9 [FREELDR/NTFS]
Some fixes and addings to the NTFS header.
To be used later in order to fix NTFS driver in FreeLdr

svn path=/trunk/; revision=50624
2011-02-08 23:36:14 +00:00
Timo Kreuzer 4c9f7711b5 try to fix build.
How did it work before? Probably by chance. "As usual"(tm)

svn path=/trunk/; revision=50623
2011-02-08 20:32:04 +00:00
Timo Kreuzer 7fd2b87f3b [ASM]
- Change the macros to prefix the labels with Nt or Zw depending on whether we build usermode or kernel mode stubs
- Create zw.S using the macros

svn path=/trunk/; revision=50622
2011-02-08 19:00:54 +00:00
Timo Kreuzer e37056f9ec [WIN32KSYS]
replace nci-generated stubs with a stub file using macros

svn path=/trunk/; revision=50621
2011-02-08 17:33:50 +00:00
Timo Kreuzer 7b91620ccb [ASM]
Add syscalls.inc, containing assembler macros to generate syscall stubs (all supported architectures)

svn path=/trunk/; revision=50620
2011-02-08 16:50:49 +00:00
Aleksey Bragin eef9f90434 - "FontSmoothing" system parameter registry key should be REG_SZ (as it is in Windows, and as other SPIs are).
svn path=/trunk/; revision=50619
2011-02-08 15:55:56 +00:00
Roel Messiant 67f749a33b [HEAP]
- RtlpInsertFreeBlockHelper: Don't validate the Previous Size of the next Heap Entry when inserting a free Heap Entry into a free list. Should solve bug #5843 and may affect bug #5857.
  All callers of this function already perform this check, except for RtlpInsertFreeBlock, a function used during Heap Segment creation/expansion.
  RtlpInsertFreeBlock creates multiple free Heap Entries (using the helper function) if the free space is too big to be contained in a single Heap Entry.
  In such a case however, it creates a Heap Entry and calls the helper before creating the next Heap Entry, which triggers this assert.

svn path=/trunk/; revision=50617
2011-02-08 06:06:33 +00:00
Pierre Schweitzer 6b67a4985e [RTL]
Minor code changes to RTL (one would call them "optimisation"). Added some missing paged code.
Plus added useful asserts (used to catch r50615 bug!)

svn path=/trunk/; revision=50616
2011-02-07 23:23:33 +00:00
Pierre Schweitzer dab840147a [USETUP]
Fix a really mean bug: wcslen() returns the size in characters whereas MaximumLength has to be in bytes.
Now, this sets MaximumLength to its appropriate size and prevents some memory issues (and buffers having odd size, which is weird for an unicode string...).

svn path=/trunk/; revision=50615
2011-02-07 23:16:29 +00:00
Pierre Schweitzer ff11a09b02 [KMTEST]
Adding a new test for FsRtlIsNameInExpression(). Which is failing...
Will that end a day?!

svn path=/trunk/; revision=50614
2011-02-07 21:38:55 +00:00
Pierre Schweitzer 395793a7f2 [NTOSKRNL/PPC]
Fix the fix, spotted by "ThFabba" on IRC

svn path=/trunk/; revision=50612
2011-02-06 13:50:57 +00:00
Pierre Schweitzer 0b40557c13 [NTOSKRNL/PPC]
Fix sizeof() wrong usage

svn path=/trunk/; revision=50611
2011-02-06 13:05:45 +00:00
Eric Kohl d3bca39b11 [SETUPAPI]
Implement CM_Is_Version_Available and CM_Is_Version_Available_Ex.

svn path=/trunk/; revision=50610
2011-02-05 21:58:19 +00:00
Jérôme Gardou 0b0d97cc92 [SYSSETUP]
SC Manager needs SC_MANAGER_ENUMERATE_SERVICE access right to be able to open a service
Add debug prints to help tracking down the "EnableUserModePnpManager()" issue

svn path=/trunk/; revision=50609
2011-02-05 16:00:11 +00:00
Timo Kreuzer 32bd053438 [NTOS]
Try to fix a winetst crash.

svn path=/trunk/; revision=50607
2011-02-04 23:19:00 +00:00
Timo Kreuzer 92d036f574 [WIN32K]
Fix a bug in calculation of the background color for 32bpp -> 1bpp color translations.
Fixes bug 2372

svn path=/trunk/; revision=50605
2011-02-04 13:53:49 +00:00
Timo Kreuzer 66cff693af [WIN32K]
Fix buggy mechanism of pushing and popping free gdi handle slots. The old mechanism unneccessarily locked the entry and it was prone to the ABA problem as it didn't use a sequence number.

svn path=/trunk/; revision=50604
2011-02-03 19:25:09 +00:00
Amine Khaldi 81b68c76fc [PORTCLS]
- Fix more msvc issues.

svn path=/trunk/; revision=50602
2011-02-03 18:21:19 +00:00
Johannes Anderwald 8fc76c66ea [PORTCLS]
- Try fix msvc issues for cmake branch

svn path=/trunk/; revision=50601
2011-02-03 17:17:18 +00:00
Johannes Anderwald 960f350819 [AUDIO]
- Add i/o completion routine, which delivers the number of bytes written / read
- Close event handle, after the overlapped request has been handled.
- Audio stack no longer leaks ~ 50 event handles per second

svn path=/trunk/; revision=50600
2011-02-03 09:34:59 +00:00
Sylvain Petreolle 0c8a13f783 [ROSTESTS]
Add mmixer_test to cmake build.

svn path=/trunk/; revision=50582
2011-01-31 21:50:16 +00:00
Eric Kohl 83cdb8776c [NPFS]
Return multiple file entries in a single request.

svn path=/trunk/; revision=50570
2011-01-30 15:13:35 +00:00
Michael Martin 613f1bbf85 [EXPLORER_NEW]
Implement resizing the work area.
Patch by greenie (greenie__ at hotmail dot com)

See issue #5846 for more details.

svn path=/trunk/; revision=50568
2011-01-30 03:56:40 +00:00
Eric Kohl 72664fe2d6 [LSALIB]
Fix compiler warnings for AMD64 build.

svn path=/trunk/; revision=50566
2011-01-29 19:01:34 +00:00
Aleksey Bragin e7d3f44f6f - Define M_PI_4 too.
svn path=/trunk/; revision=50565
2011-01-29 19:00:15 +00:00
Timo Kreuzer dc0e8ba402 [NTDLL_APITEST]
Make syntax of ZwContinue.S ML compatible

svn path=/trunk/; revision=50555
2011-01-29 14:47:29 +00:00
Timo Kreuzer 2d462cd8b1 [CMAKE]
Don't compile w32kdll and w32knapi test on MSVC

svn path=/trunk/; revision=50553
2011-01-29 14:08:44 +00:00
Aleksey Bragin a5dcd02b08 [TDI]
- Oleg Baikalow: Finish CTE timers. CTE implementation is complete now.

svn path=/trunk/; revision=50552
2011-01-29 14:03:41 +00:00
Aleksey Bragin 10c56cc21a [TDI]
- Move CTE routines into corresponding events.c and timer.c source code files before further applying Oleg's patches.

svn path=/trunk/; revision=50551
2011-01-29 13:07:06 +00:00
Aleksey Bragin fa2a65b537 [TDI]
- Oleg Baikalow: Implement basic event and delayed event support functions for CTE. Structure names are made up, but their contents should be compatible with what Windows 2003 tdi.sys uses. Formatting and coding style fixes by the committer.

svn path=/trunk/; revision=50550
2011-01-29 11:13:51 +00:00
James Tabor e459daf68f [Win32k]
- Fix crash with standalone win test_hind_message test.

svn path=/trunk/; revision=50548
2011-01-29 09:09:10 +00:00
James Tabor ac10b13f14 [Win32k]
- Patch by rafalh <rafalh1992 at o2 dor pl>, see bug 5835. Fix timers implementation.


svn path=/trunk/; revision=50547
2011-01-29 09:03:25 +00:00
Aleksey Bragin 3ade810715 - Oleg Baikalow: TDI exported function prototypes are documented in WDK 7, so use them in our driver instead of old, probably NT4-aged stubs full of unknown variables.
- Oleg Baikalow: Don't use psdk's tdi.h but use a real tdikrnl.h (adding a _TDI_ global define so it's recognized as a tdi driver itself).

svn path=/trunk/; revision=50546
2011-01-28 22:13:44 +00:00
Aleksey Bragin 840ffb118a - Robert Horvath: Modify GetFullPathName to follow Windows behaviour more closely. Reduces kernel32:path winetests by 4, and fixes all GetFullPathName tests.
See issue #5865 for more details.

svn path=/trunk/; revision=50544
2011-01-28 20:22:15 +00:00
Aleksey Bragin 0c53866f7f - Robert Horvath: Always limit destLen to MAX_PATH (modified to an if condition by me).
See issue #5861 for more details.

svn path=/trunk/; revision=50543
2011-01-28 20:18:07 +00:00
Johannes Anderwald 2e9e41d857 [KS]
- Less spam, more information

svn path=/trunk/; revision=50542
2011-01-28 19:45:49 +00:00
Johannes Anderwald 2b27c4f0de [WDMAUD.DRV]
- Merge from audio branch
- Fix build 
[WDMAUD_KERNEL]
- Fix build 
- Update to new mmixer library interface

svn path=/trunk/; revision=50532
2011-01-28 11:23:37 +00:00
Johannes Anderwald c6b26fa452 [KS]
- Merge from audio branch
- Perform irp completion in dedicated function
- Move Software Bus function into own file
- Remove debugging code which caused crashes
- Partly implement IKsProcessingObject interface for filter
- Fix check in FindMatchingCreateItem function
- Implement software bus enumerator functions
[SWENUM]
- Implement SwDispatchPower, SwDispatchPower

svn path=/trunk/; revision=50531
2011-01-28 10:37:27 +00:00
Johannes Anderwald f53f16f839 [PSDK]
- Merge from audio branch

svn path=/trunk/; revision=50529
2011-01-28 10:25:07 +00:00
Johannes Anderwald 269e92c794 [MMEBUDDY]
- Merge from audio branch
- Handle mixers identified by id, not by handle
- Fix opening of mixer devices
- Waveformat struct is only provided when type is wave device
- Implement wave reset routine, fixes audio recording on ReactOS SndRec, AudaCity etc. Also fixes random hang in WinAmp when skipping audio bytes
- Implement wave pausing / restarting, should lead to smoother playback
[MMIXER]
- Merge from audio branch
- Tons of fixes to enumeration of mixerlines, controls / etc
- Fix mixer event notification callbacks
- For more info, read audio-bringup log


svn path=/trunk/; revision=50528
2011-01-28 10:17:01 +00:00
Johannes Anderwald 33f5660028 [WINLOGON]
- Add msg constants (by smiley)

svn path=/trunk/; revision=50527
2011-01-28 09:58:44 +00:00
Johannes Anderwald 9358c42c8f [MMIXER_TEST]
- Update mmixer tests

svn path=/trunk/; revision=50526
2011-01-28 09:56:00 +00:00
Matthias Kupfer 5bf7527edb - save the KeyboardCues value correctly
svn path=/trunk/; revision=50524
2011-01-27 23:53:57 +00:00
Matthias Kupfer 51cb31fbc9 - effects dialog doesn't affect the color scheme (commented out until fixed finally)
svn path=/trunk/; revision=50521
2011-01-27 22:00:22 +00:00
Colin Finck 736698d868 [ROSAUTOTEST]
- Fix direct submission to Testman after the recent changes and finally change the location to "reactos.org" instead of "localhost".
  Makes Rosautotest ready for running tests on our upcoming Windows Server instance.

svn path=/trunk/; revision=50502
2011-01-26 21:56:17 +00:00
Timo Kreuzer 3c0a0ad03b Fix build of wined3d
svn path=/trunk/; revision=50501
2011-01-26 17:43:31 +00:00
Timo Kreuzer 46ff706cc4 [CRT]
Cleanup math.h from unixism. For now move everything that doesn't belong there into mingw_math.h.

svn path=/trunk/; revision=50500
2011-01-26 17:16:07 +00:00
Timo Kreuzer 7cf49f4328 [CRT]
- Replace isinf with !_finite and isnan with _isnan

svn path=/trunk/; revision=50499
2011-01-26 16:28:34 +00:00
Timo Kreuzer 243ce74d82 [AVIFIL32]
Split utf8 resources into theit own file (MSVC compatibility)


svn path=/trunk/; revision=50498
2011-01-26 16:26:42 +00:00