Stefan Ginsberg [Tue, 14 Jul 2009 18:47:15 +0000 (18:47 +0000)]
- Don't use KfRaiseIrql in portable code
svn path=/trunk/; revision=41954
Ged Murphy [Tue, 14 Jul 2009 13:02:23 +0000 (13:02 +0000)]
- Update polish resources
- Patch by Maciej Bialas (bjauy at o2 dot pl)
svn path=/trunk/; revision=41952
Ged Murphy [Mon, 13 Jul 2009 22:24:16 +0000 (22:24 +0000)]
Fix a syntax error which VS strangely missed
svn path=/trunk/; revision=41945
Ged Murphy [Mon, 13 Jul 2009 21:38:08 +0000 (21:38 +0000)]
Fix a double definition
svn path=/trunk/; revision=41944
Ged Murphy [Mon, 13 Jul 2009 21:31:56 +0000 (21:31 +0000)]
Add the resources for the tray property dialog, based on the Vista dialog look and feel
svn path=/trunk/; revision=41943
Jeffrey Morlan [Mon, 13 Jul 2009 18:55:33 +0000 (18:55 +0000)]
Make IF EXIST directory\ (with trailing backslash) work
svn path=/trunk/; revision=41942
Cameron Gutman [Mon, 13 Jul 2009 17:16:19 +0000 (17:16 +0000)]
- Stop reporting that we are NDIS 5.1 until S/G DMA is implemented in HAL so unified 2K/XP drivers don't try to use it
- Enable a debug print to notify that attempting to use S/G is about to crash ROS
- Thanks to niski for testing
svn path=/trunk/; revision=41941
Aleksey Bragin [Mon, 13 Jul 2009 12:50:08 +0000 (12:50 +0000)]
- Fix formatting.
svn path=/trunk/; revision=41940
James Tabor [Mon, 13 Jul 2009 05:00:17 +0000 (05:00 +0000)]
- Half-implement MmPageEntireDriver and use it to set the module instance for win32k. ATM, it does not set the entry pageable.
- I mean no disrespect to the Arm developers, I'm an admire of your great work with ReactOS! By my commits you can see the need for the offset address when calling internal procs in win32k.
- References: MmPageEntireDriver, http://www.osronline.com/ddkx/kmarch/k106_7os2.htm
svn path=/trunk/; revision=41939
James Tabor [Mon, 13 Jul 2009 03:55:03 +0000 (03:55 +0000)]
- Fix build.
svn path=/trunk/; revision=41938
James Tabor [Mon, 13 Jul 2009 03:49:58 +0000 (03:49 +0000)]
- Add initialization of system atoms and fix build.
svn path=/trunk/; revision=41937
James Tabor [Mon, 13 Jul 2009 03:37:00 +0000 (03:37 +0000)]
- Implement NtUserInitializeClientPfnArrays, tested and will be needed in later commits.
svn path=/trunk/; revision=41936
Johannes Anderwald [Sun, 12 Jul 2009 15:44:33 +0000 (15:44 +0000)]
[WDMAUD_KERNEL]
-? Hey Arch, don't be so picky when something goes wrong.
- Fix enumeration of wave out / in devices for Vmware adapter
- Playback still hangs
svn path=/trunk/; revision=41935
ReactOS Portable Systems Group [Sun, 12 Jul 2009 13:06:41 +0000 (13:06 +0000)]
- Fix several problems with the System PTE implementation, including the lack of locks.
- I also didn't fully like the idea of sticking "-1" into a 5-bit wide bitfield -- instead just stuff it as 0xFFFFF with a typecast.
- This seems to be NT's MM_EMPTY_LIST that shows up in a couple of ASSERTs on the checked build.
- This fixes several random crashes seen on my test boxes when mapping MDLs and using NP expansion VA.
- Dedicated to BrĂ¼no.
svn path=/trunk/; revision=41934
ReactOS Portable Systems Group [Sun, 12 Jul 2009 13:02:05 +0000 (13:02 +0000)]
- Implement the rest of the nonpaged pool allocator, now with support for allocating pages in the nonpaged pool expansion area.
- This uses System PTEs, so if you're still not sick of the same old mantra -- optimizations to the former will help the latter.
- Additionally, we should eventually implement a single-page SLIST for nonpaged pool pages, which will greately improve allocate/free of 1 page.
- As a reminder, this code isn't being used yet.
svn path=/trunk/; revision=41933
ReactOS Portable Systems Group [Sun, 12 Jul 2009 13:00:19 +0000 (13:00 +0000)]
- Stop excercising the nonpaged pool allocator since there have been no complaints and internal testing has revealed no faults.
svn path=/trunk/; revision=41932
ReactOS Portable Systems Group [Sun, 12 Jul 2009 12:59:21 +0000 (12:59 +0000)]
- Fix incomplete comment due to accidental early-merge.
svn path=/trunk/; revision=41931
Dmitry Chapyshev [Sun, 12 Jul 2009 12:21:20 +0000 (12:21 +0000)]
- Implement QueryFullProcessImageNameA/W (based on Wine code). +35 passed tests
svn path=/trunk/; revision=41930
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:52:13 +0000 (10:52 +0000)]
Header fixes for ARM to deal with the header cleanup that was performed earlier this year...
* ARMDDK is now rationed between user-mode and kernel-mode definitions and imported by WINNT and WINDDK both (Since these don't include each others anymore)
Make the MDL flags crossarch instead of x86 only
The ARM tree now builds completely, except for the new ARM3 code in ntos... good job guys. 10/10. wasn't this supposed to make things --portable--?
svn path=/trunk/; revision=41929
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:49:47 +0000 (10:49 +0000)]
Add some more intrinsics, and change _enable and _disable to use the new ARMv6 instructions instead... we'll have to make similar changes to the routines that use SWP
svn path=/trunk/; revision=41928
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:48:23 +0000 (10:48 +0000)]
Define all the other PROCESSOR_ARCHITECTURE values too
svn path=/trunk/; revision=41927
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:47:45 +0000 (10:47 +0000)]
Deal with the fact that DirectoryTableBase in EPROCESS has now been defined as PULONG instead of LARGE_INTEGER
Remove ARM-specific hyperspace functions since these are portable now
svn path=/trunk/; revision=41926
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:45:59 +0000 (10:45 +0000)]
Fix some interlock routine definitions on platforms that use it (not x86)
svn path=/trunk/; revision=41925
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:45:33 +0000 (10:45 +0000)]
Use portable ExInterlockedWhatever instead of non-portable Exf* function... the headers will do the right thing based on the arch
svn path=/trunk/; revision=41924
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:44:53 +0000 (10:44 +0000)]
Don't try to write to "EAX" register on anything else but x86. Please write portable code in crossarch sources.
svn path=/trunk/; revision=41923
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:44:22 +0000 (10:44 +0000)]
Move HYPER_SPACE definition to x86 header, since ARM already defines it (and it's somewhere else). Thi sis an arch-specific define
svn path=/trunk/; revision=41922
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:43:29 +0000 (10:43 +0000)]
These fields don't exist on ARM, so only C_ASSERT them on x86
svn path=/trunk/; revision=41921
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:43:06 +0000 (10:43 +0000)]
Fix accidental exclusion of _get_environ functions on ARM, and exclude them only on x86-64 as it seemed to have been intented
svn path=/trunk/; revision=41920
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:42:04 +0000 (10:42 +0000)]
More properly neuter PSEH2 on ARM
svn path=/trunk/; revision=41919
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:41:50 +0000 (10:41 +0000)]
Define the base addresses as ULONG_PTR since pointer math on void* is illegal
svn path=/trunk/; revision=41918
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:41:23 +0000 (10:41 +0000)]
Do not build some floating point math functions on ARM right now, since they seem to call x86 inline assembly
Investigate this later...
svn path=/trunk/; revision=41917
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:40:39 +0000 (10:40 +0000)]
Revert the change to tcsrchr, it should be a XINT not a TCHAR
svn path=/trunk/; revision=41916
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:40:16 +0000 (10:40 +0000)]
KEBUGCHECK was deprecated, so use KeBugCheck
svn path=/trunk/; revision=41915
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:39:58 +0000 (10:39 +0000)]
Don't export the HAL drive letter assignment functions on ARM
The fast mutex functions are in the HAL on non-x86 builds, so don't forward them back to ntos
svn path=/trunk/; revision=41914
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:39:04 +0000 (10:39 +0000)]
The Halp* drive assignment stuff doesn't exist on ARM, AFAIK
svn path=/trunk/; revision=41913
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:38:26 +0000 (10:38 +0000)]
Use the pspec, there's no hal_arm.def anymore
svn path=/trunk/; revision=41912
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:38:05 +0000 (10:38 +0000)]
Only build winsetupldr for x86, since there's no NT for ARM
svn path=/trunk/; revision=41911
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:37:38 +0000 (10:37 +0000)]
Only call WinLDR for x86 since there is no NT for ARM
svn path=/trunk/; revision=41910
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:36:36 +0000 (10:36 +0000)]
Add minimal support for ARM to winebuild, just enough to get it to build and spew out spec files.
Hopefully it's not used for anything more cpu-specific thank that...
svn path=/trunk/; revision=41909
ReactOS Portable Systems Group [Sun, 12 Jul 2009 10:35:46 +0000 (10:35 +0000)]
Add back support for WINEBUILD_FLAGS which someone removed when going from modulehandler.cpp to rules.mak... thanks.
svn path=/trunk/; revision=41908
Cameron Gutman [Sun, 12 Jul 2009 05:21:52 +0000 (05:21 +0000)]
- Store the static default gateway forward entry in DHCP_ADAPTER
- Loop the adapter list backward so DhclientInfo gets linked properly
svn path=/trunk/; revision=41907
James Tabor [Sun, 12 Jul 2009 02:59:59 +0000 (02:59 +0000)]
- If any dib sections was created, set the flag.
svn path=/trunk/; revision=41906
James Tabor [Sun, 12 Jul 2009 02:09:49 +0000 (02:09 +0000)]
- Start initializing client pfn arrays so that they can be loaded into the server information structure and help register class atoms in win32k.
svn path=/trunk/; revision=41905
Johannes Anderwald [Sun, 12 Jul 2009 00:37:48 +0000 (00:37 +0000)]
- Fix build (2/X)
svn path=/trunk/; revision=41904
Johannes Anderwald [Sun, 12 Jul 2009 00:23:09 +0000 (00:23 +0000)]
[AUDIO_TEST]
- Fix build
svn path=/trunk/; revision=41903
Johannes Anderwald [Sat, 11 Jul 2009 23:49:24 +0000 (23:49 +0000)]
[MMEBUDDY]
- Pass DeviceId to GetDeviceCapabilities function
[WDMAUD.DRV]
- Use DeviceId to determine the capabilities of the requested device, not just always the first one
svn path=/trunk/; revision=41902
Johannes Anderwald [Sat, 11 Jul 2009 23:23:40 +0000 (23:23 +0000)]
- Use free index directly
- Update interface
svn path=/trunk/; revision=41901
Johannes Anderwald [Sat, 11 Jul 2009 23:21:41 +0000 (23:21 +0000)]
- Implement retrieving position
svn path=/trunk/; revision=41900
Johannes Anderwald [Sat, 11 Jul 2009 23:21:09 +0000 (23:21 +0000)]
- Implement retrieving position
svn path=/trunk/; revision=41899
Johannes Anderwald [Sat, 11 Jul 2009 23:20:22 +0000 (23:20 +0000)]
- Add function for retrieving current position
svn path=/trunk/; revision=41898
James Tabor [Sat, 11 Jul 2009 22:52:36 +0000 (22:52 +0000)]
- Global/LocalFlags, now checking the right bit for discared heap and not doing it the wine way.
svn path=/trunk/; revision=41896
James Tabor [Sat, 11 Jul 2009 22:14:19 +0000 (22:14 +0000)]
- Fix Global/LocalFlags returns. Now pass all kernel32 heap tests.
svn path=/trunk/; revision=41895
Johannes Anderwald [Sat, 11 Jul 2009 22:02:30 +0000 (22:02 +0000)]
[WDMAUD.DRV]
- The wave / mixer / midi handles are kernel handles, consequently wdmaud_kernel must close them
svn path=/trunk/; revision=41894
Dmitry Chapyshev [Sat, 11 Jul 2009 20:34:33 +0000 (20:34 +0000)]
- Set status to STATUS_OBJECT_NAME_INVALID if NtCreateMailslotFile returned STATUS_NOT_SUPPORTED
svn path=/trunk/; revision=41893
Timo Kreuzer [Sat, 11 Jul 2009 20:15:37 +0000 (20:15 +0000)]
[win32k] Implement brush realization part 2 / 2
Use EBRUSHOBJ_pvGetEngBrush to get a handle to the realized (color translated) brush and use this instead of the original pattern when doing patblts. We don't use any XLATEOBJ anymore. I'll leave it to the interested reader to cleanup the DIB code from remnants of pattern to dest color translation.
svn path=/trunk/; revision=41892
Johannes Anderwald [Sat, 11 Jul 2009 19:01:18 +0000 (19:01 +0000)]
- Implement dynamic unregistration of physical connections
- Implement IUnregisterPhysicalConnection interface for all port drivers
svn path=/trunk/; revision=41891
Johannes Anderwald [Sat, 11 Jul 2009 17:44:41 +0000 (17:44 +0000)]
- Implement dynamic unregistration of audio devices
- IoGetDeviceProperty expects the PDO, not FDO
- Implement IUnregisterSubdevice interface for all port drivers
svn path=/trunk/; revision=41890
Jeffrey Morlan [Sat, 11 Jul 2009 16:16:39 +0000 (16:16 +0000)]
Don't use non-portable %zd format. Instead, use %d and cast the variable to an int to ensure printf can read the argument properly
svn path=/trunk/; revision=41889
Matthias Kupfer [Sat, 11 Jul 2009 15:59:46 +0000 (15:59 +0000)]
make status window parts more flexible in size
svn path=/trunk/; revision=41888
Dmitry Chapyshev [Sat, 11 Jul 2009 14:18:06 +0000 (14:18 +0000)]
- Fix 3 "kernel32_winetest environ" tests. All environ tests passed now
svn path=/trunk/; revision=41887
Johannes Anderwald [Sat, 11 Jul 2009 13:52:36 +0000 (13:52 +0000)]
[KMIXER]
- Set KSCREATE_ITEM_WILDCARD flag to receive all requests in one handler
--
Kmixer is now back accessible
svn path=/trunk/; revision=41886
Michael Martin [Sat, 11 Jul 2009 13:40:56 +0000 (13:40 +0000)]
- NtMapViewOfSection: When referencing the section object by handle, don't assume access mask of SECTION_MAP_READ. Access mask must be determined from page protection attributes passed in Protect parameter. Fixes 5 winetests for kernel32 virtual.
svn path=/trunk/; revision=41885
Dmitry Chapyshev [Sat, 11 Jul 2009 13:35:38 +0000 (13:35 +0000)]
- Fix one "kernel32_winetest time" test. All time tests passed now
svn path=/trunk/; revision=41884
Matthias Kupfer [Sat, 11 Jul 2009 13:34:18 +0000 (13:34 +0000)]
use application icon for about dialog
svn path=/trunk/; revision=41883
ReactOS Portable Systems Group [Sat, 11 Jul 2009 13:12:09 +0000 (13:12 +0000)]
Fix the signature of tcsrchr. The last prameter is a TCHAR, not a XINT.
svn path=/trunk/; revision=41882
ReactOS Portable Systems Group [Sat, 11 Jul 2009 13:11:44 +0000 (13:11 +0000)]
Don't build stack-based WINE exception handling on ARM -- we have .pdata
svn path=/trunk/; revision=41881
ReactOS Portable Systems Group [Sat, 11 Jul 2009 13:04:46 +0000 (13:04 +0000)]
*** WE WILL NOW BE FOCUSING AND BUILDING FOR ARM CORTEX-A8 (ARMv7) ***
*** SUPPORT FOR ARMv6 WILL ALSO BE ENFORCED, BUT NOTHING LOWER ***
*** THE TARGET PLATFORM IS TI OMAP3-35xx and OMAP3-34xx ***
svn path=/trunk/; revision=41880
ReactOS Portable Systems Group [Sat, 11 Jul 2009 13:02:22 +0000 (13:02 +0000)]
Fix PSEH2 ARM neutering
svn path=/trunk/; revision=41879
ReactOS Portable Systems Group [Sat, 11 Jul 2009 13:00:09 +0000 (13:00 +0000)]
Also define PAGE_SIZE in armddk.h if it isn't already defined (allows cmlib to compile, amongst others)
svn path=/trunk/; revision=41878
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:57:41 +0000 (12:57 +0000)]
GAS should also receive the -march flag, not just the compiler... otherwise, gcc won't let you use things like "cmov" on x86, or anything beyond the armv4 instruction set on ARM
svn path=/trunk/; revision=41877
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:36:20 +0000 (12:36 +0000)]
WINNT.H already defines CONTEXT so avoid a double-definition if ARMDDK is included
svn path=/trunk/; revision=41876
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:35:29 +0000 (12:35 +0000)]
Define PAGE_SIZE in winnt.h for now, for modules that don't include the NDK, and then make the NDK and WINNT.H safe to use combined
svn path=/trunk/; revision=41875
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:34:25 +0000 (12:34 +0000)]
How was this code even supposed to compile???
svn path=/trunk/; revision=41874
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:33:10 +0000 (12:33 +0000)]
Make rotl what the headers expect
svn path=/trunk/; revision=41873
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:32:38 +0000 (12:32 +0000)]
Neuter PSEH2 on ARM
svn path=/trunk/; revision=41872
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:32:09 +0000 (12:32 +0000)]
Define ALLOCA_S_MARKER_SIZE for arm
svn path=/trunk/; revision=41871
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:04:26 +0000 (12:04 +0000)]
Just cause it ain't AMD64 ain't meaning it's just x86... so make the macro x86-inclusive instead of x64-exclusive (since we don't want those definitions on ARM either)
svn path=/trunk/; revision=41870
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:03:28 +0000 (12:03 +0000)]
Fix incorrect use of PVOID for pointer math, hidden by bad typecasts...
svn path=/trunk/; revision=41869
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:02:47 +0000 (12:02 +0000)]
Fix lack of casts in certain intrinsic functions, and add others that were being called but not yet implemented... hopefully 4.4 handles built-in intrinsics for ARM now (remains to be seen)
svn path=/trunk/; revision=41868
ReactOS Portable Systems Group [Sat, 11 Jul 2009 12:02:05 +0000 (12:02 +0000)]
KeGetDCacheFillSize is arch-specific, so define it in the x86 region only
svn path=/trunk/; revision=41867
ReactOS Portable Systems Group [Sat, 11 Jul 2009 11:52:22 +0000 (11:52 +0000)]
Import the generic template and comment out _M_ARM since the toolchain already defines it.
THE ARM BUILD STARTS UP AGAIN (all host tools and makefiles are generated correctly).
NEW TARGET TOOLCHAIN IS NOW CEGCC 0.55 (GCC-4.4.0).
svn path=/trunk/; revision=41866
Dmitry Chapyshev [Sat, 11 Jul 2009 11:50:42 +0000 (11:50 +0000)]
- Return ERROR_NOT_SUPPORTED error code instead ERROR_CALL_NOT_IMPLEMENTED (in BackupRead, BackupSeek, BackupWrite)
- Direct call for Set(Get)LastError
- Add RemoveVectoredContinueHandler, InterlockedCompareExchange64, GetCurrentProcessorNumber, BaseCheckRunApp, AddVectoredContinueHandler to export list
svn path=/trunk/; revision=41865
ReactOS Portable Systems Group [Sat, 11 Jul 2009 11:47:21 +0000 (11:47 +0000)]
Too many things in -i386 were still "generic" and had to be duplicated accross plat-specific rbuild files, so moved a whole bunch of them into the generic rbuild.
Ironically, the one thing that isn't generic -- which files get built -- was in the generic file, blocking the arm rbuild from ever being able to use it, so I split this out now.
Cleaned up the i386 and arm rbuild files to use the new generic rbuild.
Brought the arm rbuild file up to spec to use the new compilerset/linkerset and msvc-compliant options.
svn path=/trunk/; revision=41864
ReactOS Portable Systems Group [Sat, 11 Jul 2009 11:43:49 +0000 (11:43 +0000)]
stop building ntdll as a win32dll so we can fucking stop auto-importing mingw_common and kernel32 into it... it's supposed to be built as a /SUBSYSTEM:WINDOWS dll but since rbuild has now decided to fuck around with these DLLs, it's safer to build it as native so it can be left the fuck alone and not auto-import half the tree
svn path=/trunk/; revision=41863
ReactOS Portable Systems Group [Sat, 11 Jul 2009 11:42:29 +0000 (11:42 +0000)]
__gnu__inline is not supported for a long time in gcc anymore, so remove this to fix a bunch of warnings
svn path=/trunk/; revision=41862
ReactOS Portable Systems Group [Sat, 11 Jul 2009 11:41:42 +0000 (11:41 +0000)]
use %zd for SIZE_T, not just %d
svn path=/trunk/; revision=41861
ReactOS Portable Systems Group [Sat, 11 Jul 2009 09:36:18 +0000 (09:36 +0000)]
Fix a braindead bug that killed my system (512MB) since the loop goes on past 4096 pages if you have enough non paged pool... do you even test this?
svn path=/trunk/; revision=41860
ReactOS Portable Systems Group [Sat, 11 Jul 2009 06:46:39 +0000 (06:46 +0000)]
- Implement a simple nonpaged pool page allocator and deallocator:
- Not actually used yet!
- No support for expansion nonpaged pool yet.
- No major optimizations.
- We simply do the sane thing of trying to combine the next free allocation with the one we're about to make, on free.
- If possible, we'll also check if the previous allocation was a free block, and we'll merge ourselves (and in the best case, whoever is following us) into that block instead.
- No debug checks/validation.
- Write a couple lines of code to allocate and free up to 4096 pages (it will stop when it runs out).
- This is to properly excercise this code on everyone's machines to make sure it works fine (it adds a little delay to booting, but only temporary).
svn path=/trunk/; revision=41859
Cameron Gutman [Sat, 11 Jul 2009 04:54:44 +0000 (04:54 +0000)]
- Initialize remote address to 0 if the caller didn't specify one
svn path=/trunk/; revision=41858
Timo Kreuzer [Sat, 11 Jul 2009 01:19:39 +0000 (01:19 +0000)]
Only call the drivers DrvRealizeBrush when called from BRUSHOBJ_pbGetRbrush. The driver might punt back to GDI and gdi might want to realize the brush although the surface is driver managed. Shuffle functions.
svn path=/trunk/; revision=41857
Timo Kreuzer [Sat, 11 Jul 2009 01:05:05 +0000 (01:05 +0000)]
Fix cleanup in EBRUSHOBJ_vUpdate, that I commented out for testing purposes.
svn path=/trunk/; revision=41856
Timo Kreuzer [Fri, 10 Jul 2009 23:44:05 +0000 (23:44 +0000)]
[win32k] Implement brush realization part 1 / 2
- Fix BRUSHOBJ_pvGetRbrush, it's supposed to provide a realization, when there is none. For this reason call ENRUSHOBJ_bRealizeBrush, that will call Eng/DrvRealizeBrush to create a realisation. The old implementation never did this and I wonder how 3rd party display drivers were expected to work correctly without this.
- Implement EBRUSHOBJ_pvGetEngBrush working similar to BRUSHOBJ_pvGetRbrush, but providing the engbrush as GDI's realization. It's currently implemented as a handle to a translated pattern and not used anywhere yet.
- Rename EBRUSHOBJ_vUnrealizeBrus to EBRUSHOBJ_vCleanup. This function now needs to be called to free the resources for a BRUSHOBJECT that GDI or a driver might have allocated. This is done in DC_Cleanup before deleting the DC and in EBRUSHOBJ_vUpdate before newly initializing it.
- Get rid of the EBRUSHOBJ's XlateObject, instead for now create new XLATEOBJ's whenever needed. Don't worry these will be gone, as soon as we make use of the engbrush.
- Pass a pointer to the DC to EBRUSHOBJ_vInit, as this allows us to save stuff like the back and fore color.
- Fix a bitmap leak: CallDibStretchBlt returned before releasing the reference to the pattern surface.
- Some FASTCALL -> NTAPI changes
- tested with VBE, VMWare-Tools and VBox driver
- I hope I didn't forget anything
svn path=/trunk/; revision=41855
Stefan Ginsberg [Fri, 10 Jul 2009 23:13:13 +0000 (23:13 +0000)]
- Don't link portcls and kmixer to the static version rtl -- those routines are exported by ntoskrnl (and all imports were resolved there anyway).
svn path=/trunk/; revision=41854
Jeffrey Morlan [Fri, 10 Jul 2009 22:33:18 +0000 (22:33 +0000)]
Rearrange some code in cmd parser, avoiding excessive stack space usage (Bug 4536)
svn path=/trunk/; revision=41853
Cameron Gutman [Fri, 10 Jul 2009 21:32:02 +0000 (21:32 +0000)]
- Fix more global variable abuse
- Fix some inaccurate cur_time values
svn path=/trunk/; revision=41852
Benedikt Freisen [Fri, 10 Jul 2009 18:21:27 +0000 (18:21 +0000)]
- During resizing the future size is shown in the status bar
- Rubber works as color replacer when used with right mouse button
(mouse handling code reorganized)
- Bug occuring when painting to neg. coordinates finally fixed
- Polygon-tool added
- Bezier-tool added
svn path=/trunk/; revision=41851
Daniel Reimer [Fri, 10 Jul 2009 17:25:11 +0000 (17:25 +0000)]
Revert the sync, it breaks build. further investigation will be made next week. 2/2
Sry for the 4 stolen rev numbers ;-)
svn path=/trunk/; revision=41850
Daniel Reimer [Fri, 10 Jul 2009 17:17:43 +0000 (17:17 +0000)]
Revert the sync, it breaks build. further investigation will be made next week. 1/2
svn path=/trunk/; revision=41849
Ged Murphy [Fri, 10 Jul 2009 17:10:20 +0000 (17:10 +0000)]
- Add the task manager to the tray context menu
- Add a bit of code for the tray properties dialog
svn path=/trunk/; revision=41848
Timo Kreuzer [Fri, 10 Jul 2009 17:01:12 +0000 (17:01 +0000)]
- Move XLATEOBJ_hGetColorTransform to xlate.c
- Implement InitXlateImpl(), that currently does ... nothing :)
- Don't pass a palette type to IntEngCreateXlate, when already passing a valid palette.
svn path=/trunk/; revision=41847