Commit graph

44662 commits

Author SHA1 Message Date
Aleksey Bragin ef2d957db7 [RTL/DPH]
- Use better names for validation information flags based on application verifier messages.
- Implement a simple RtlpDphReportCorruptedBlock routine which just prints the problem description for now, without any additional info.

svn path=/trunk/; revision=50730
2011-02-16 11:49:51 +00:00
Aleksey Bragin d0e56f53d1 [RTL/DPH]
- Implement other support locking/unlocking, handle-related routines.
- Fix RtlpDphFreeVm definition.
- Node lists related improvements: Add a function for removing a node from a free list, implement coalescing free nodes into an available list.
- Implement a non-implemented case in RtlpDphAllocateNode when there is a need to allocate more virtual memory, and fix incorrect size calculation too.
- Implement a function for validating the page heap block.
- Implement RtlpPageHeapDestroy. Now we have two exported APIs ready: heap create and heap destroy.

svn path=/trunk/; revision=50721
2011-02-15 22:02:28 +00:00
Aleksey Bragin a92739091b [RTL/DPH]
- Implement more support functions: coalescing a node into the list of available nodes, finding a best fitting node for a given size, growing available virtual memory amount.

svn path=/trunk/; revision=50698
2011-02-15 11:53:16 +00:00
Timo Kreuzer 0be0719111 [WIN32K]
- Remove gexloTrivial, it was never used
- Remove EXLATEOBJ_vInitTrivial and move the code into EXLATEOBJ_vInitialize
- Properly set XO_TABLE
- Set ppalDstDc in EXLATEOBJ_vInitXlateFromDCs

svn path=/trunk/; revision=50695
2011-02-14 17:23:58 +00:00
Timo Kreuzer c1f1c6ee41 [WIN32K]
Fix initialization of XLATEOBJ, when source and dest format are equal. Patch by Thomas Faber (thfabba at gmx de)

See issue #5828 for more details.

svn path=/trunk/; revision=50694
2011-02-14 16:04:01 +00:00
Aleksey Bragin f571cf32bd [RTL/DPH]
- Implement list manipulation routines: pool list, virtual list, unused list.
- Implement node removal from an available list.

svn path=/trunk/; revision=50686
2011-02-13 21:39:26 +00:00
Pierre Schweitzer 2ac5519cc7 [NTOSKRNL]
Improved * WC handling for both FsRtlIsNameInExpression & FsRtlIsDbcsInExpression

This fixes all failing tests in kmtest

svn path=/trunk/; revision=50685
2011-02-13 20:23:03 +00:00
Aleksey Bragin b607fcee93 [RTL/DPH]
- Implement adding a new pool and allocating a new node.
- Add a bunch of stubs.

svn path=/trunk/; revision=50683
2011-02-13 16:03:58 +00:00
Eric Kohl bdb4931234 [CFGMGR32]
- Add missing functions.
- Add forwarders to functions that are exported by setupapi.dll.
- Mark deprecated functions.

svn path=/trunk/; revision=50682
2011-02-13 10:02:31 +00:00
Pierre Schweitzer 506c3a2989 [KMTEST]
Some more tests to FsRtlIsNameInExpression & FsRtlIsDbcsInExpression. Some are failing.

svn path=/trunk/; revision=50681
2011-02-13 09:43:01 +00:00
Pierre Schweitzer d4e44f51ea [NTOSKRNL]
For both FsRtlIsNameInExpression & FsRtlIsDbcsInExpression:
- Get back "useless checks" (tests show they weren't that useless)
- Prevent code redundancy

This fixes 4 failing kmtest tests added in r50679

svn path=/trunk/; revision=50680
2011-02-13 08:43:48 +00:00
Pierre Schweitzer 05ec891399 [KMTEST]
Some more tests to FsRtlIsNameInExpression & FsRtlIsDbcsInExpression. Some are failing.

svn path=/trunk/; revision=50679
2011-02-13 08:19:16 +00:00
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