Commit graph

44928 commits

Author SHA1 Message Date
Giannis Adamopoulos bc92849c38 [win32k]
- Fix a bug that caused problems when the user clicks in the caption of a window to activate it

svn path=/trunk/; revision=50807
2011-02-18 16:28:52 +00:00
Timo Kreuzer dda9fb952c [NTOSKRNL]
Alex messed up.
Fix by Patch by Rafal Harabien, <rafalh1992 AT o2 DOT pl>

svn path=/trunk/; revision=50806
2011-02-18 15:59:32 +00:00
Timo Kreuzer 5e45b1eb7a [WIN32K]
Fix a bug in GDIOBJ_LockObj, that would cause a deadlock, when an object was deleted while another thread was waiting to acquire the handle lock.

svn path=/trunk/; revision=50804
2011-02-18 15:08:50 +00:00
Timo Kreuzer 269bbf1328 [CSRSRV]
Dereference all threads, when a process is terminated. Fixes ghost processes in taskmgr! Patch by Rafal Harabien, <rafalh1992 AT o2 DOT pl>

See issue #1567 for more details.

svn path=/trunk/; revision=50803
2011-02-18 15:01:00 +00:00
Aleksey Bragin da4ba71aee [RTL/DPH]
- Zero-initialize VM allocation base.
- Don't reserve VM, just commit it right away. This was a premature optimisation. Instead, retry committing a smaller amount of memory if committing all memory fails.

svn path=/trunk/; revision=50800
2011-02-18 14:45:13 +00:00
Timo Kreuzer b58bdd0a99 [WIN32K]
compile gdidebug code as a seperate file and give it a seperate header

svn path=/trunk/; revision=50799
2011-02-18 14:35:44 +00:00
Giannis Adamopoulos a33a1f21db [explorer]
- Fix some visual problems in the toolbar

svn path=/trunk/; revision=50798
2011-02-18 14:28:58 +00:00
Giannis Adamopoulos 20ec135208 [win32k]
- Check if CombinedClip is NULL before accesing it

Should fix a crash with Download Master

svn path=/trunk/; revision=50797
2011-02-18 14:26:11 +00:00
Aleksey Bragin 6e305f0615 [RTL/AVL]
- Fix an inverted condition which resulted in incorrect assignment of NewElement var in RtlInsertElementGenericTableAvl().

svn path=/trunk/; revision=50784
2011-02-18 09:48:13 +00:00
Aleksey Bragin 708dbb878c [RTL/DPH]
- Various fixes: set NodeToAllocate member of the heap root so it could be used lated in AVL allocation routine, initialize the AvailableAllocation list.
- Comment out biased pointer checks for now, and fix biasing the AdjacencyEntry pointer (spotted by rafalh).

svn path=/trunk/; revision=50773
2011-02-17 22:29:49 +00:00
Aleksey Bragin 02ad384a40 [NTOS/MM]
- An accompanying change to r50768. Fixes boot.

svn path=/trunk/; revision=50770
2011-02-17 21:58:08 +00:00
Aleksey Bragin 85e4bbe4f5 [RTL/AVL]
- Remove unnecessary field from TABLE_ENTRY_HEADER. Spotted by (the only in ReactOS?) user of RTL AVL tables - page heap.

svn path=/trunk/; revision=50768
2011-02-17 16:52:06 +00:00
Aleksey Bragin f333f561b4 - Fix build.
svn path=/trunk/; revision=50767
2011-02-17 15:31:19 +00:00
Aleksey Bragin 9d4ba43f0b [RTL/DPH]
- Implement allocating from the page heap along with all necessary helper routines. Some minor things are left though, so it doesn't work yet.
- Change some defines names to more meaningful/readable.

svn path=/trunk/; revision=50766
2011-02-17 14:46:30 +00:00
Timo Kreuzer bc8d008551 [WIN32K]
In IntEngGradientFillRect, take the translate value into account, that we need when drawing happens on an intermediate surface. Patch by Thomas Faber (ThFabba at gmx dot de)

See issue #5805 for more details.

svn path=/trunk/; revision=50764
2011-02-16 23:29:50 +00:00
Aleksey Bragin 8e49b79826 [RTL/DPH]
- Connect debug page heap routines in the debug heap implementation, so they are going to be actually called now.
- Implement delayed free queue initialization and freeing.

svn path=/trunk/; revision=50734
2011-02-16 13:09:18 +00:00
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