reactos.git
10 years ago[NTOSKRNL]
Pierre Schweitzer [Sat, 12 Feb 2011 18:39:17 +0000 (18:39 +0000)]
[NTOSKRNL]
For both FsRtlIsNameInExpression & FsRtlIsDbcsInExpression:
- Remove useless checks
- Move redundant sum before loop, so it's done only once
- Fix handling of * wildcard

This fixes failing kmtest tests added in r50614

svn path=/trunk/; revision=50670

10 years ago- Revert 45676
Johannes Anderwald [Sat, 12 Feb 2011 17:40:51 +0000 (17:40 +0000)]
- Revert 45676
- It appears that the definitions for IID_IUnknown differ for kernel mode COM and user mode COM

svn path=/trunk/; revision=50669

10 years ago[COMCTL32]
Timo Kreuzer [Sat, 12 Feb 2011 16:55:08 +0000 (16:55 +0000)]
[COMCTL32]
Fix bitmap resources. They were not very valid. Windows didn't even load them. Probably created with some linux tool *cough*
Fixes part of the broken icons. Not the pink ones though.

svn path=/trunk/; revision=50668

10 years ago[RTL/DPH]
Aleksey Bragin [Sat, 12 Feb 2011 16:38:00 +0000 (16:38 +0000)]
[RTL/DPH]
- Add core DPH (Debug Page Heap) structures based on Windows 2003/Vista.
- Add misc generic support routines.
- Implement DPH version of RtlCreateHeap().
- Debug prints match those printed by Windows 2003.

svn path=/trunk/; revision=50667

10 years ago[NDK]
Aleksey Bragin [Sat, 12 Feb 2011 09:28:41 +0000 (09:28 +0000)]
[NDK]
- Add RTL_TRACE_BLOCK structure definition.

svn path=/trunk/; revision=50665

10 years ago[NTDLL_APITEST]
Timo Kreuzer [Fri, 11 Feb 2011 21:22:18 +0000 (21:22 +0000)]
[NTDLL_APITEST]
some printf tests

svn path=/trunk/; revision=50663

10 years agotry to fix build
Timo Kreuzer [Fri, 11 Feb 2011 18:05:48 +0000 (18:05 +0000)]
try to fix build

svn path=/trunk/; revision=50662

10 years agoAdd missing stubs.h
Timo Kreuzer [Fri, 11 Feb 2011 17:41:05 +0000 (17:41 +0000)]
Add missing stubs.h

svn path=/trunk/; revision=50661

10 years agoadd stub files to build
Timo Kreuzer [Fri, 11 Feb 2011 17:27:43 +0000 (17:27 +0000)]
add stub files to build

svn path=/trunk/; revision=50659

10 years agomerge most spec file changes from cmake branch
Timo Kreuzer [Fri, 11 Feb 2011 17:01:40 +0000 (17:01 +0000)]
merge most spec file changes from cmake branch

svn path=/trunk/; revision=50657

10 years agoReduce difference with the cmake branch, mostly msvc and amd64 fixes.
Amine Khaldi [Fri, 11 Feb 2011 13:48:41 +0000 (13:48 +0000)]
Reduce difference with the cmake branch, mostly msvc and amd64 fixes.

svn path=/trunk/; revision=50656

10 years ago[FREELDR]
Timo Kreuzer [Thu, 10 Feb 2011 20:26:41 +0000 (20:26 +0000)]
[FREELDR]
Fix broken release version

svn path=/trunk/; revision=50655

10 years ago- Add stubs for all page heap API functions.
Aleksey Bragin [Thu, 10 Feb 2011 18:21:53 +0000 (18:21 +0000)]
- Add stubs for all page heap API functions.
- Enable call to RtlpPageHeapDestroy() when necessary.
- Reset Parameters==-1 hack after unsuccessful call to RtlpPageHeapCreate(), would be necessary when page heap is implemented..

svn path=/trunk/; revision=50654

10 years ago[XCOPY]
Amine Khaldi [Thu, 10 Feb 2011 17:13:53 +0000 (17:13 +0000)]
[XCOPY]
- Spanish translation by JasonGenie at gmail dot com
See issue #5889 for more details.

svn path=/trunk/; revision=50653

10 years ago[RTL]
Aleksey Bragin [Thu, 10 Feb 2011 13:24:39 +0000 (13:24 +0000)]
[RTL]
- Move page heap related code to heappage.c.

svn path=/trunk/; revision=50652

10 years agoMerge MSVC fixes from cmake branch
Timo Kreuzer [Thu, 10 Feb 2011 13:01:39 +0000 (13:01 +0000)]
Merge MSVC fixes from cmake branch

svn path=/trunk/; revision=50650

10 years ago[RTL]
Timo Kreuzer [Thu, 10 Feb 2011 11:47:17 +0000 (11:47 +0000)]
[RTL]
Merge changes to rtl from cmake branch. Mostly use portable interlocked functions

svn path=/trunk/; revision=50648

10 years agoMerge CRT changes from cmake branch (mainly MSVC compilation fixes)
Timo Kreuzer [Thu, 10 Feb 2011 11:35:05 +0000 (11:35 +0000)]
Merge CRT changes from cmake branch (mainly MSVC compilation fixes)

svn path=/trunk/; revision=50647

10 years ago- Edijs: Properly load window size and position.
Aleksey Bragin [Thu, 10 Feb 2011 11:18:00 +0000 (11:18 +0000)]
- Edijs: Properly load window size and position.
See issue #5872 for more details.

svn path=/trunk/; revision=50646

10 years agoFix build of shlwapi
Timo Kreuzer [Thu, 10 Feb 2011 11:03:43 +0000 (11:03 +0000)]
Fix build of shlwapi

svn path=/trunk/; revision=50645

10 years agofix taskmgr build
Timo Kreuzer [Thu, 10 Feb 2011 10:51:26 +0000 (10:51 +0000)]
fix taskmgr build

svn path=/trunk/; revision=50644

10 years agoMerge resource file related changes from cmake branch part 2
Timo Kreuzer [Thu, 10 Feb 2011 10:45:45 +0000 (10:45 +0000)]
Merge resource file related changes from cmake branch part 2

svn path=/trunk/; revision=50643

10 years agoMerge resource file related changes from cmake branch part 1
Timo Kreuzer [Thu, 10 Feb 2011 10:39:34 +0000 (10:39 +0000)]
Merge resource file related changes from cmake branch part 1

svn path=/trunk/; revision=50641

10 years agoMerge all amd64 related changes from cmake branch
Timo Kreuzer [Thu, 10 Feb 2011 10:30:43 +0000 (10:30 +0000)]
Merge all amd64 related changes from cmake branch

svn path=/trunk/; revision=50640

10 years ago- Add a missing ORing of the registry-loaded GlobalFlags value in ExpInitializeExecut...
Aleksey Bragin [Wed, 9 Feb 2011 21:22:47 +0000 (21:22 +0000)]
- Add a missing ORing of the registry-loaded GlobalFlags value in ExpInitializeExecutive. Thanks to Robert Horvath for spotting the issue.
See issue #5870 for more details.

svn path=/trunk/; revision=50639

10 years ago- Robert Horvath: Add GlobalFlag entry in hivesys_{arch}.inf with the default value...
Aleksey Bragin [Wed, 9 Feb 2011 20:50:28 +0000 (20:50 +0000)]
- Robert Horvath: Add GlobalFlag entry in hivesys_{arch}.inf with the default value 0x0.

See issue #5870 for more details.

svn path=/trunk/; revision=50638

10 years ago- Robert Horvath: LocalUnlock has to be different from GlobalUnlock. The subtle diffe...
Aleksey Bragin [Wed, 9 Feb 2011 20:42:44 +0000 (20:42 +0000)]
- Robert Horvath: LocalUnlock has to be different from GlobalUnlock. The subtle difference between LocalUnlock and GlobalUnlock, is, that the former will return FALSE and set ERROR_NOT_LOCKED on LMEM_FIXED allocations. Fixes 1 kernel32:heap failure.
See issue #5869 for more details.

svn path=/trunk/; revision=50637

10 years ago- Enable simple FontSmoothing by default. It matters for arwinss, trunk just ignores...
Aleksey Bragin [Wed, 9 Feb 2011 14:07:10 +0000 (14:07 +0000)]
- Enable simple FontSmoothing by default. It matters for arwinss, trunk just ignores this value and always smoothes the fonts.

svn path=/trunk/; revision=50634

10 years ago- Add GetTransform declaration. (until we have undocgdi.h).
Aleksey Bragin [Wed, 9 Feb 2011 13:31:31 +0000 (13:31 +0000)]
- Add GetTransform declaration. (until we have undocgdi.h).

svn path=/trunk/; revision=50633

10 years ago[WIN32K]
Timo Kreuzer [Wed, 9 Feb 2011 09:31:37 +0000 (09:31 +0000)]
[WIN32K]
add missing file

svn path=/trunk/; revision=50626

10 years ago[NCI]
Timo Kreuzer [Wed, 9 Feb 2011 01:07:30 +0000 (01:07 +0000)]
[NCI]
Ue macros for the other nci generated files, too and delete nci-tool.

svn path=/trunk/; revision=50625

10 years ago[FREELDR/NTFS]
Pierre Schweitzer [Tue, 8 Feb 2011 23:36:14 +0000 (23:36 +0000)]
[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

10 years agotry to fix build.
Timo Kreuzer [Tue, 8 Feb 2011 20:32:04 +0000 (20:32 +0000)]
try to fix build.
How did it work before? Probably by chance. "As usual"(tm)

svn path=/trunk/; revision=50623

10 years ago[ASM]
Timo Kreuzer [Tue, 8 Feb 2011 19:00:54 +0000 (19:00 +0000)]
[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

10 years ago[WIN32KSYS]
Timo Kreuzer [Tue, 8 Feb 2011 17:33:50 +0000 (17:33 +0000)]
[WIN32KSYS]
replace nci-generated stubs with a stub file using macros

svn path=/trunk/; revision=50621

10 years ago[ASM]
Timo Kreuzer [Tue, 8 Feb 2011 16:50:49 +0000 (16:50 +0000)]
[ASM]
Add syscalls.inc, containing assembler macros to generate syscall stubs (all supported architectures)

svn path=/trunk/; revision=50620

10 years ago- "FontSmoothing" system parameter registry key should be REG_SZ (as it is in Windows...
Aleksey Bragin [Tue, 8 Feb 2011 15:55:56 +0000 (15:55 +0000)]
- "FontSmoothing" system parameter registry key should be REG_SZ (as it is in Windows, and as other SPIs are).

svn path=/trunk/; revision=50619

10 years ago[HEAP]
Roel Messiant [Tue, 8 Feb 2011 06:06:33 +0000 (06:06 +0000)]
[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

10 years ago[RTL]
Pierre Schweitzer [Mon, 7 Feb 2011 23:23:33 +0000 (23:23 +0000)]
[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

10 years ago[USETUP]
Pierre Schweitzer [Mon, 7 Feb 2011 23:16:29 +0000 (23:16 +0000)]
[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

10 years ago[KMTEST]
Pierre Schweitzer [Mon, 7 Feb 2011 21:38:55 +0000 (21:38 +0000)]
[KMTEST]
Adding a new test for FsRtlIsNameInExpression(). Which is failing...
Will that end a day?!

svn path=/trunk/; revision=50614

10 years ago[NTOSKRNL/PPC]
Pierre Schweitzer [Sun, 6 Feb 2011 13:50:57 +0000 (13:50 +0000)]
[NTOSKRNL/PPC]
Fix the fix, spotted by "ThFabba" on IRC

svn path=/trunk/; revision=50612

10 years ago[NTOSKRNL/PPC]
Pierre Schweitzer [Sun, 6 Feb 2011 13:05:45 +0000 (13:05 +0000)]
[NTOSKRNL/PPC]
Fix sizeof() wrong usage

svn path=/trunk/; revision=50611

10 years ago[SETUPAPI]
Eric Kohl [Sat, 5 Feb 2011 21:58:19 +0000 (21:58 +0000)]
[SETUPAPI]
Implement CM_Is_Version_Available and CM_Is_Version_Available_Ex.

svn path=/trunk/; revision=50610

10 years ago[SYSSETUP]
Jérôme Gardou [Sat, 5 Feb 2011 16:00:11 +0000 (16:00 +0000)]
[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

10 years ago[NTOS]
Timo Kreuzer [Fri, 4 Feb 2011 23:19:00 +0000 (23:19 +0000)]
[NTOS]
Try to fix a winetst crash.

svn path=/trunk/; revision=50607

10 years ago[WIN32K]
Timo Kreuzer [Fri, 4 Feb 2011 13:53:49 +0000 (13:53 +0000)]
[WIN32K]
Fix a bug in calculation of the background color for 32bpp -> 1bpp color translations.
Fixes bug 2372

svn path=/trunk/; revision=50605

10 years ago[WIN32K]
Timo Kreuzer [Thu, 3 Feb 2011 19:25:09 +0000 (19:25 +0000)]
[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

10 years ago[PORTCLS]
Amine Khaldi [Thu, 3 Feb 2011 18:21:19 +0000 (18:21 +0000)]
[PORTCLS]
- Fix more msvc issues.

svn path=/trunk/; revision=50602

10 years ago[PORTCLS]
Johannes Anderwald [Thu, 3 Feb 2011 17:17:18 +0000 (17:17 +0000)]
[PORTCLS]
- Try fix msvc issues for cmake branch

svn path=/trunk/; revision=50601

10 years ago[AUDIO]
Johannes Anderwald [Thu, 3 Feb 2011 09:34:59 +0000 (09:34 +0000)]
[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

10 years ago[ROSTESTS]
Sylvain Petreolle [Mon, 31 Jan 2011 21:50:16 +0000 (21:50 +0000)]
[ROSTESTS]
Add mmixer_test to cmake build.

svn path=/trunk/; revision=50582

10 years ago[NPFS]
Eric Kohl [Sun, 30 Jan 2011 15:13:35 +0000 (15:13 +0000)]
[NPFS]
Return multiple file entries in a single request.

svn path=/trunk/; revision=50570

10 years ago[EXPLORER_NEW]
Michael Martin [Sun, 30 Jan 2011 03:56:40 +0000 (03:56 +0000)]
[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

10 years ago[LSALIB]
Eric Kohl [Sat, 29 Jan 2011 19:01:34 +0000 (19:01 +0000)]
[LSALIB]
Fix compiler warnings for AMD64 build.

svn path=/trunk/; revision=50566

10 years ago- Define M_PI_4 too.
Aleksey Bragin [Sat, 29 Jan 2011 19:00:15 +0000 (19:00 +0000)]
- Define M_PI_4 too.

svn path=/trunk/; revision=50565

10 years ago[NTDLL_APITEST]
Timo Kreuzer [Sat, 29 Jan 2011 14:47:29 +0000 (14:47 +0000)]
[NTDLL_APITEST]
Make syntax of ZwContinue.S ML compatible

svn path=/trunk/; revision=50555

10 years ago[CMAKE]
Timo Kreuzer [Sat, 29 Jan 2011 14:08:44 +0000 (14:08 +0000)]
[CMAKE]
Don't compile w32kdll and w32knapi test on MSVC

svn path=/trunk/; revision=50553

10 years ago[TDI]
Aleksey Bragin [Sat, 29 Jan 2011 14:03:41 +0000 (14:03 +0000)]
[TDI]
- Oleg Baikalow: Finish CTE timers. CTE implementation is complete now.

svn path=/trunk/; revision=50552

10 years ago[TDI]
Aleksey Bragin [Sat, 29 Jan 2011 13:07:06 +0000 (13:07 +0000)]
[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

10 years ago[TDI]
Aleksey Bragin [Sat, 29 Jan 2011 11:13:51 +0000 (11:13 +0000)]
[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

10 years ago[Win32k]
James Tabor [Sat, 29 Jan 2011 09:09:10 +0000 (09:09 +0000)]
[Win32k]
- Fix crash with standalone win test_hind_message test.

svn path=/trunk/; revision=50548

10 years ago[Win32k]
James Tabor [Sat, 29 Jan 2011 09:03:25 +0000 (09:03 +0000)]
[Win32k]
- Patch by rafalh <rafalh1992 at o2 dor pl>, see bug 5835. Fix timers implementation.

svn path=/trunk/; revision=50547

10 years ago- Oleg Baikalow: TDI exported function prototypes are documented in WDK 7, so use...
Aleksey Bragin [Fri, 28 Jan 2011 22:13:44 +0000 (22:13 +0000)]
- 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

10 years ago- Robert Horvath: Modify GetFullPathName to follow Windows behaviour more closely...
Aleksey Bragin [Fri, 28 Jan 2011 20:22:15 +0000 (20:22 +0000)]
- 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

10 years ago- Robert Horvath: Always limit destLen to MAX_PATH (modified to an if condition by...
Aleksey Bragin [Fri, 28 Jan 2011 20:18:07 +0000 (20:18 +0000)]
- 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

10 years ago[KS]
Johannes Anderwald [Fri, 28 Jan 2011 19:45:49 +0000 (19:45 +0000)]
[KS]
- Less spam, more information

svn path=/trunk/; revision=50542

10 years ago[WDMAUD.DRV]
Johannes Anderwald [Fri, 28 Jan 2011 11:23:37 +0000 (11:23 +0000)]
[WDMAUD.DRV]
- Merge from audio branch
- Fix build
[WDMAUD_KERNEL]
- Fix build
- Update to new mmixer library interface

svn path=/trunk/; revision=50532

10 years ago[KS]
Johannes Anderwald [Fri, 28 Jan 2011 10:37:27 +0000 (10:37 +0000)]
[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

10 years ago[PSDK]
Johannes Anderwald [Fri, 28 Jan 2011 10:25:07 +0000 (10:25 +0000)]
[PSDK]
- Merge from audio branch

svn path=/trunk/; revision=50529

10 years ago[MMEBUDDY]
Johannes Anderwald [Fri, 28 Jan 2011 10:17:01 +0000 (10:17 +0000)]
[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

10 years ago[WINLOGON]
Johannes Anderwald [Fri, 28 Jan 2011 09:58:44 +0000 (09:58 +0000)]
[WINLOGON]
- Add msg constants (by smiley)

svn path=/trunk/; revision=50527

10 years ago[MMIXER_TEST]
Johannes Anderwald [Fri, 28 Jan 2011 09:56:00 +0000 (09:56 +0000)]
[MMIXER_TEST]
- Update mmixer tests

svn path=/trunk/; revision=50526

10 years ago- save the KeyboardCues value correctly
Matthias Kupfer [Thu, 27 Jan 2011 23:53:57 +0000 (23:53 +0000)]
- save the KeyboardCues value correctly

svn path=/trunk/; revision=50524

10 years ago- effects dialog doesn't affect the color scheme (commented out until fixed finally)
Matthias Kupfer [Thu, 27 Jan 2011 22:00:22 +0000 (22:00 +0000)]
- effects dialog doesn't affect the color scheme (commented out until fixed finally)

svn path=/trunk/; revision=50521

10 years ago[ROSAUTOTEST]
Colin Finck [Wed, 26 Jan 2011 21:56:17 +0000 (21:56 +0000)]
[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

10 years agoFix build of wined3d
Timo Kreuzer [Wed, 26 Jan 2011 17:43:31 +0000 (17:43 +0000)]
Fix build of wined3d

svn path=/trunk/; revision=50501

10 years ago[CRT]
Timo Kreuzer [Wed, 26 Jan 2011 17:16:07 +0000 (17:16 +0000)]
[CRT]
Cleanup math.h from unixism. For now move everything that doesn't belong there into mingw_math.h.

svn path=/trunk/; revision=50500

10 years ago[CRT]
Timo Kreuzer [Wed, 26 Jan 2011 16:28:34 +0000 (16:28 +0000)]
[CRT]
- Replace isinf with !_finite and isnan with _isnan

svn path=/trunk/; revision=50499

10 years ago[AVIFIL32]
Timo Kreuzer [Wed, 26 Jan 2011 16:26:42 +0000 (16:26 +0000)]
[AVIFIL32]
Split utf8 resources into theit own file (MSVC compatibility)

svn path=/trunk/; revision=50498

10 years agocrt header compatibility update:
Timo Kreuzer [Wed, 26 Jan 2011 16:24:35 +0000 (16:24 +0000)]
crt header compatibility update:
- define _USE_MATH_DEFINES for dsound, gdiplus, jscript and some win32k files
- don't define HAVE_LRINT(F) in libsamplerate
- Remove M_PI constants from win32k

svn path=/trunk/; revision=50497

10 years ago[CMAKE]
Timo Kreuzer [Mon, 24 Jan 2011 21:20:04 +0000 (21:20 +0000)]
[CMAKE]
Fix rostests after changing macros

svn path=/trunk/; revision=50481

10 years ago- Remove undocumented defines from winuser.h and include undocuser.h when _WINE is...
Aleksey Bragin [Mon, 24 Jan 2011 12:58:51 +0000 (12:58 +0000)]
- Remove undocumented defines from winuser.h and include undocuser.h when _WINE is defined.

svn path=/trunk/; revision=50477

10 years ago[NTOS]
Roel Messiant [Sun, 23 Jan 2011 19:27:13 +0000 (19:27 +0000)]
[NTOS]
- Only update the System Page Directory when expanding the paged pool. Fixes the PointerPde asserts.
  On paged pool expansion, the system page directory and the process page directory of the calling process were updated.
  When updating the process page directory, an assert made sure the PDE that got written was invalid.

  In case of the System process, both page directories are located on the same physical page.
  So when this process expanded the paged pool, the system page directory update automagically
  updated the process page directory too.  The assert therefore triggered.

  Not explicitly updating the process page directory will result in a page fault later on, which is
  handled by copying the required PDE from the system page directory to the process page directory.

  Rumour has it this fix is incorrect because "something's wrong with the System PDE stuff".  The lack
  of any further info however leads to this change and explanation.

svn path=/trunk/; revision=50475

10 years ago[NPFS]
Eric Kohl [Sun, 23 Jan 2011 14:41:07 +0000 (14:41 +0000)]
[NPFS]
Check if the whole pipe name fits into the return buffer. Return STATUS_BUFFER_OVERFLOW if it does not fit and copy only a part of the file name in this case.

svn path=/trunk/; revision=50474

10 years ago[SETUPAPI]
Eric Kohl [Sat, 22 Jan 2011 18:16:12 +0000 (18:16 +0000)]
[SETUPAPI]
Fix a warning.

svn path=/trunk/; revision=50468

10 years ago[SETUPAPI]
Eric Kohl [Sat, 22 Jan 2011 15:43:57 +0000 (15:43 +0000)]
[SETUPAPI]
- Implement CMP_WaitServicesAvailable().
- CM_Get_First_Log_Conf_Ex(): Create a LOG_CONF_INFO struct only if plcLogConf is not NULL.

svn path=/trunk/; revision=50461

10 years ago[FREELDR]
Timo Kreuzer [Sat, 22 Jan 2011 09:47:20 +0000 (09:47 +0000)]
[FREELDR]
compile headless support only for x86

svn path=/trunk/; revision=50459

10 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 22 Jan 2011 09:43:52 +0000 (09:43 +0000)]
[NTOSKRNL]
MiAddressToPte translates a virtual address to the corresponding PTE, MiAddressToPde to the corresponding PDE. MiPteToAddress is the inverse of MiAddressToPte and translates from a PTE to the virtual address. MiPdeToAddress broke this scheme and didn't calculate the corresponding virtual adress, but the adress of the page table. Fix this inconsistency by renaming the macro to MiPdeToPte and adding a fixed MiPdeToAddress. All references fixed accordingly.

svn path=/trunk/; revision=50458

10 years ago[INTRIN]
Timo Kreuzer [Fri, 21 Jan 2011 20:56:36 +0000 (20:56 +0000)]
[INTRIN]
- Implement _mm_sfence, _mm_lfence, __faststorefence (for amd64)
- Don't use __sync_synchronize() for _ReadWriteBarrier, as it issues an mfence instruction and this is not what we want
- Remove "BUGBUG" comment, because the fact that _ReadBarrier and _WriteBarrier are full (compiler) barriers isn't critical.

svn path=/trunk/; revision=50456

10 years ago[NPFS]
Eric Kohl [Thu, 20 Jan 2011 21:48:06 +0000 (21:48 +0000)]
[NPFS]
Initialize only the required parts of the return buffer. This will enable the driver to return information about multiple pipes in a single request.

svn path=/trunk/; revision=50452

10 years ago[CMAKE]
Timo Kreuzer [Thu, 20 Jan 2011 12:52:41 +0000 (12:52 +0000)]
[CMAKE]
Define __ROS_LONG64__ for all winetests

svn path=/trunk/; revision=50447

10 years ago[CMAKE]
Amine Khaldi [Wed, 19 Jan 2011 19:01:37 +0000 (19:01 +0000)]
[CMAKE]
- Revert r50441. Please note that the recent revisions around this define are for testing.

svn path=/trunk/; revision=50444

10 years ago[GDI32]
Timo Kreuzer [Wed, 19 Jan 2011 18:10:50 +0000 (18:10 +0000)]
[GDI32]
Fix broken portable implementation of _lrintf, 2nd try :)

svn path=/trunk/; revision=50443

10 years ago[GDI32]
Timo Kreuzer [Wed, 19 Jan 2011 18:10:08 +0000 (18:10 +0000)]
[GDI32]
Fix broken portable implementation of _lrintf

svn path=/trunk/; revision=50442

10 years ago[CMAKE]
Amine Khaldi [Wed, 19 Jan 2011 17:51:43 +0000 (17:51 +0000)]
[CMAKE]
- Add __WINESRC__ definition to all winetests.

svn path=/trunk/; revision=50441

10 years ago[ASM]
Timo Kreuzer [Wed, 19 Jan 2011 16:58:58 +0000 (16:58 +0000)]
[ASM]
Add include guards to asm.inc and comment out broken ljmp macro

svn path=/trunk/; revision=50438

10 years ago[CMAKE]
Timo Kreuzer [Wed, 19 Jan 2011 16:26:49 +0000 (16:26 +0000)]
[CMAKE]
Revert part of 50435

svn path=/trunk/; revision=50437

10 years ago[CMAKE]
Timo Kreuzer [Wed, 19 Jan 2011 14:59:38 +0000 (14:59 +0000)]
[CMAKE]
Revert r50434. Insetad add __WINESRC__ definition to amstream and avifil32 winetests

svn path=/trunk/; revision=50435

10 years ago[CMAKE]
Timo Kreuzer [Wed, 19 Jan 2011 14:18:42 +0000 (14:18 +0000)]
[CMAKE]
Add __WINESRC__ definition to all winetests.

svn path=/trunk/; revision=50434