Commit graph

44650 commits

Author SHA1 Message Date
Eric Kohl 856e0d9b91 [SETUPAPI]
Add resource descriptor function stubs.

svn path=/trunk/; revision=50678
2011-02-12 23:59:12 +00:00
Pierre Schweitzer 90ece09e2c Remove some artifact from ARM build.
Would it fix build?

svn path=/trunk/; revision=50677
2011-02-12 20:32:49 +00:00
Timo Kreuzer f1debffcda [WIN32K]
Handle BITMAPV4HEADER and BITMAPV5HEADER, when creating a DIB palette. Detect PAL_RGB like done with PAL_BGR in PALETTE_AllocPalette (optimization).
Fixes pink icons.

svn path=/trunk/; revision=50676
2011-02-12 20:30:09 +00:00
Eric Kohl f0395ac74a [ADVAPI32]
Move file encryption functions from crypt/crypt.c to misc/efs.c.

svn path=/trunk/; revision=50675
2011-02-12 20:23:16 +00:00
Johannes Anderwald db2351ec56 - Fix a bug where a spinlock was acquired on not initialized local variable
svn path=/trunk/; revision=50673
2011-02-12 18:55:52 +00:00
Pierre Schweitzer 641cb1f0f0 [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
2011-02-12 18:39:17 +00:00
Johannes Anderwald 334455fcf0 - Revert 45676
- It appears that the definitions for IID_IUnknown differ for kernel mode COM and user mode COM

svn path=/trunk/; revision=50669
2011-02-12 17:40:51 +00:00
Timo Kreuzer 14dadc9591 [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
2011-02-12 16:55:08 +00:00
Aleksey Bragin 04bef099e6 [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
2011-02-12 16:38:00 +00:00
Aleksey Bragin 6dddb1823b [NDK]
- Add RTL_TRACE_BLOCK structure definition.

svn path=/trunk/; revision=50665
2011-02-12 09:28:41 +00:00
Timo Kreuzer eaf8e05a46 [NTDLL_APITEST]
some printf tests

svn path=/trunk/; revision=50663
2011-02-11 21:22:18 +00:00
Timo Kreuzer 1fdb5b918f try to fix build
svn path=/trunk/; revision=50662
2011-02-11 18:05:48 +00:00
Timo Kreuzer 8ce4c3ffdb Add missing stubs.h
svn path=/trunk/; revision=50661
2011-02-11 17:41:05 +00:00
Timo Kreuzer f45c49b9d3 add stub files to build
svn path=/trunk/; revision=50659
2011-02-11 17:27:43 +00:00
Timo Kreuzer 2c1be143a4 merge most spec file changes from cmake branch
svn path=/trunk/; revision=50657
2011-02-11 17:01:40 +00:00
Amine Khaldi 57e4ff4b2b Reduce difference with the cmake branch, mostly msvc and amd64 fixes.
svn path=/trunk/; revision=50656
2011-02-11 13:48:41 +00:00
Timo Kreuzer dca0c91ecc [FREELDR]
Fix broken release version

svn path=/trunk/; revision=50655
2011-02-10 20:26:41 +00:00
Aleksey Bragin 92677eb087 - 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
2011-02-10 18:21:53 +00:00
Amine Khaldi 54917c852b [XCOPY]
- Spanish translation by JasonGenie at gmail dot com
See issue #5889 for more details.

svn path=/trunk/; revision=50653
2011-02-10 17:13:53 +00:00
Aleksey Bragin bd7f92508e [RTL]
- Move page heap related code to heappage.c.

svn path=/trunk/; revision=50652
2011-02-10 13:24:39 +00:00
Timo Kreuzer b8cf5f8653 Merge MSVC fixes from cmake branch
svn path=/trunk/; revision=50650
2011-02-10 13:01:39 +00:00
Timo Kreuzer 0d149baf29 [RTL]
Merge changes to rtl from cmake branch. Mostly use portable interlocked functions

svn path=/trunk/; revision=50648
2011-02-10 11:47:17 +00:00
Timo Kreuzer f24d76dc84 Merge CRT changes from cmake branch (mainly MSVC compilation fixes)
svn path=/trunk/; revision=50647
2011-02-10 11:35:05 +00:00
Aleksey Bragin 5c40e3e852 - Edijs: Properly load window size and position.
See issue #5872 for more details.

svn path=/trunk/; revision=50646
2011-02-10 11:18:00 +00:00
Timo Kreuzer 9468f98ffd Fix build of shlwapi
svn path=/trunk/; revision=50645
2011-02-10 11:03:43 +00:00
Timo Kreuzer 3c08a32f63 fix taskmgr build
svn path=/trunk/; revision=50644
2011-02-10 10:51:26 +00:00
Timo Kreuzer fcfdd9aa80 Merge resource file related changes from cmake branch part 2
svn path=/trunk/; revision=50643
2011-02-10 10:45:45 +00:00
Timo Kreuzer 7f8eeb4321 Merge resource file related changes from cmake branch part 1
svn path=/trunk/; revision=50641
2011-02-10 10:39:34 +00:00
Timo Kreuzer fee844b6ff Merge all amd64 related changes from cmake branch
svn path=/trunk/; revision=50640
2011-02-10 10:30:43 +00:00
Aleksey Bragin 7c7511301a - 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
2011-02-09 21:22:47 +00:00
Aleksey Bragin c7208c0053 - 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
2011-02-09 20:50:28 +00:00
Aleksey Bragin 05de74702a - 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
2011-02-09 20:42:44 +00:00
Aleksey Bragin 50df1352e9 - Enable simple FontSmoothing by default. It matters for arwinss, trunk just ignores this value and always smoothes the fonts.
svn path=/trunk/; revision=50634
2011-02-09 14:07:10 +00:00
Aleksey Bragin 5fc327fd57 - Add GetTransform declaration. (until we have undocgdi.h).
svn path=/trunk/; revision=50633
2011-02-09 13:31:31 +00:00
Timo Kreuzer ebe0662d8c [WIN32K]
add missing file

svn path=/trunk/; revision=50626
2011-02-09 09:31:37 +00:00
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