Commit graph

42119 commits

Author SHA1 Message Date
Jérôme Gardou 1e00973f21 grotesque copy-paste mistake
svn path=/branches/reactos-yarotows/; revision=46926
2010-04-18 17:36:11 +00:00
Jérôme Gardou 4cc8e60093 [WIN32K]
- The last DC_vPrepareForBlit/DC_vFinishBlit commit

svn path=/branches/reactos-yarotows/; revision=46925
2010-04-18 17:33:03 +00:00
Jérôme Gardou 11131896db [WIN32K]
- More DC_vPrepareDCsForBlit/DC_vFinishBlit with assorted MouseSafetyOnDrawEnd removals

svn path=/branches/reactos-yarotows/; revision=46923
2010-04-18 17:19:36 +00:00
Jérôme Gardou 62473c84e9 Sync to trunk (r46918)
svn path=/branches/reactos-yarotows/; revision=46920
2010-04-18 14:06:07 +00:00
Aleksey Bragin e5a3966fdd [USER32]
- Fix SetSysColorTemps prototype and implementation for 64 bit compatibility, part 2/2.

svn path=/trunk/; revision=46918
2010-04-18 12:46:53 +00:00
Aleksey Bragin f272498345 [USER32]
- Fix SetSysColorTemps prototype and implementation for 64 bit compatibility.

svn path=/trunk/; revision=46917
2010-04-18 12:42:28 +00:00
Michael Martin 78db5f0d71 [NTMARTA]
- AccRewriteSetEntriesInAcl: Fix a bug that caused the for loop never to complete due to reuse of same variable.

svn path=/trunk/; revision=46916
2010-04-18 12:06:29 +00:00
Cameron Gutman b3be7aba54 [PCMCIA]
- Check if the IOCTL interface should be enabled (not used yet)

svn path=/trunk/; revision=46913
2010-04-17 23:32:29 +00:00
Cameron Gutman 9ce679f7cf [NTOSKRNL]
- Hackfix the device manager issue

svn path=/trunk/; revision=46912
2010-04-17 23:13:07 +00:00
Jérôme Gardou 53222b46da [WIN32K]
- Use DC_vPrepareForBlit, DC_vFinishBlit in GreTextOutputW
  - So we can get rid of MouseSafetyOnDraw{Start,End} in IntEngMaskBlt

svn path=/branches/reactos-yarotows/; revision=46911
2010-04-17 22:48:44 +00:00
Gregor Schneider cb8592ebd4 [GDI32] GetFontUnicodeRanges was introduced in Windows 2000, patch by Love Nystrom
See issue #5031 for more details.

svn path=/trunk/; revision=46910
2010-04-17 20:59:59 +00:00
Jérôme Gardou fa0a6275a9 [WIN32K]
- apply policy into DC_vPrepareDCsForBlit as in GDIOBJ_LockMultipleObjects before Physicus sees this :-D
  - GDIOBJ_LockObj : return NULL when handle is NULL : more speed, less debug output

svn path=/branches/reactos-yarotows/; revision=46909
2010-04-17 20:51:42 +00:00
Jérôme Gardou d2655f9e72 [WIN32K]
- Now we welcome GreStretchBltMask into the fabulous world of GDIOBJ_LockMultipleObjects, DC_vPrepareDCsForBlit and DC_vFinishBlit
  - With the assorted MouseSafetyOnDraw{Start,End} removal

svn path=/branches/reactos-yarotows/; revision=46908
2010-04-17 20:27:32 +00:00
Gregor Schneider 22fbcbfd91 [SHELL32]
- Simplify checks for success of ShellExecuteEx, field hInst may be an unreliable indicator according to http://msdn.microsoft.com/en-us/library/bb759784%28v=VS.85%29.aspx
- Fixes folder options control panel opening twice
See issue #4910 for more details.

svn path=/trunk/; revision=46907
2010-04-17 20:02:12 +00:00
Jérôme Gardou 663acbc064 [WIN32K]
- For now, limit DC_UnlockDc to a simple GDIOBJ_LockObj
  - More GDIOBJ_LockMultipleObj, DC_vPrepareDCsForBlit and DC_vFinishBlit fun

svn path=/branches/reactos-yarotows/; revision=46906
2010-04-17 15:24:10 +00:00
Jérôme Gardou 42073050d4 [WIN32K]
-Use GDIOBJ_LockMultipleObjs, DC_vPrepareDCsForBlit and DC_vFinishBlit in NtGdiTransparentBlt
  -Get rid of MouseSafetyOnDraw{End,Start} in IntEngTransparentBlt

svn path=/branches/reactos-yarotows/; revision=46905
2010-04-17 14:46:05 +00:00
Sir Richard 03eaad9b13 [NTOS]: 1MB is not 1000 * 1KB...
svn path=/trunk/; revision=46904
2010-04-17 14:28:15 +00:00
Jérôme Gardou 859f9c2a13 Fix typo...
svn path=/branches/reactos-yarotows/; revision=46903
2010-04-17 14:24:50 +00:00
Jérôme Gardou 0cdfd4399d [WIN32K]
- Introduce DC_vPrepareDCsForBlit and DC_vFinishBlit and use them in NtGdiAlphaBlend
  - Get rid of now unnecessary call for MouseSafetyOnDraw{Start,End} in IntEngAlphaBlend
  - Yet Another Rewrite of GDIOBJ_LockMultipleObjs :-/ and use it in NtGdiAlphaBlend

svn path=/branches/reactos-yarotows/; revision=46902
2010-04-17 14:20:48 +00:00
Gregor Schneider a40f637b41 [SHELL32]
- Add support for deleting multiple files from the context menu
- Fix error debug print
See issue #4383 for more details.

svn path=/trunk/; revision=46900
2010-04-16 21:22:06 +00:00
Jérôme Gardou 4ec4675b9e [WIN32K]
- There is currently no need to lock more than three objects at a time, this permits code simplification/speed
  - Keep the handles order in GDIOBJ_LockMultipleObjs
Still unused...

svn path=/branches/reactos-yarotows/; revision=46899
2010-04-16 16:55:52 +00:00
Gregor Schneider 76e18f2271 [PING]
- Skip the last unnecessary wait in a series of pings
- Patch by Rafal Harabien, <rafalh1992 AT o2 DOT pl>
See issue #5300 for more details.

svn path=/trunk/; revision=46898
2010-04-16 14:47:46 +00:00
Gregor Schneider 2dba0d9347 [NOTEPAD]
- Create a font even if no registry settings were loaded
- Patch by Rafal Harabien, <rafalh1992 AT o2 DOT pl>
See issue #4066 for more details.

svn path=/trunk/; revision=46897
2010-04-16 14:30:40 +00:00
Ged Murphy d6c85206c0 Fix the make path.
Should fix building using the RosBuild config in Visual Studio

svn path=/trunk/; revision=46893
2010-04-16 10:48:02 +00:00
Jérôme Gardou 6a8d2ef675 revert the DC list stuff, it's not worth it (tm). Things will be done differently
svn path=/branches/reactos-yarotows/; revision=46892
2010-04-16 09:49:05 +00:00
Jérôme Gardou a4e83efd83 [WIN32K]
- Introduce deadlocks killer GDIOBJ_LockMultipleObjs, unused for now
  - Make the PDEVOBJ DCs list a sorted list
Didicated to Physicus

svn path=/branches/reactos-yarotows/; revision=46891
2010-04-15 22:38:04 +00:00
Gregor Schneider 3e8240e837 [DESK]
- Don't autoequip listview item selections upon item creation
- Handle selections via SetItemState, select newly added items that way
- Fixes current background wallpaper item not being selected initially and selection being ignored later
See issue #5030,5116 for more details.

svn path=/trunk/; revision=46887
2010-04-15 21:01:12 +00:00
Timo Kreuzer 1bb3aa8239 [MSIMTF]
Silence debug flood

svn path=/trunk/; revision=46886
2010-04-15 20:07:18 +00:00
Jérôme Gardou 2a6301401d [WIN32K]
- Maintain a list of DC attached to a PDEVOBJ
No functional change for now, stay tuned!

svn path=/branches/reactos-yarotows/; revision=46885
2010-04-15 19:07:07 +00:00
Timo Kreuzer 2899a12647 [RBUILD]
- Link C++ apps to libsupc++.a, needed for recent versions of gcc
- remove amd64 hack

svn path=/trunk/; revision=46884
2010-04-15 18:47:44 +00:00
Timo Kreuzer cf40c11ad3 [GENINC]
Add some more constants

svn path=/trunk/; revision=46883
2010-04-15 18:42:48 +00:00
Gregor Schneider e44ad6135e [SHELL32]
- Use the default action when starting processes from the run dialog (r29143, lost due to a sync)
- Control panels can be launched from run again
- Display localized error text as messagebox caption instead of "Nix"
See issue #4026 for more details.

svn path=/trunk/; revision=46882
2010-04-15 16:33:25 +00:00
Johannes Anderwald 602b920bdd [BDASUP]
- Fix build

svn path=/trunk/; revision=46881
2010-04-15 14:09:38 +00:00
Johannes Anderwald 1aa1aee11c [PSDK]
- Add KS_DATARANGE_BDA_TRANSPORT Type
- Fix build

svn path=/trunk/; revision=46880
2010-04-15 12:54:04 +00:00
Johannes Anderwald 8b9a3d51b9 [MSDVBNP]
- Fix category description
[KSPROXY]
- Create pin handle when other pin is connecting to the output pin
- Defer loading proxy plugins when the pin is about to connect

svn path=/trunk/; revision=46879
2010-04-15 11:08:19 +00:00
Johannes Anderwald 99db21ebb0 [KS]
- Fix typo
- Store object interface functions in KSBASIC_HEADER OuterUnknown
- Implement KsDeviceRegisterAdapterObject, KsRegisterAggregatedClientUnknown, KsGetOuterUnknown
- Partly implement clock property functions
- Rewrite KsValidateConnectRequest, KsPinPropertyHandler to handle KSPIN_DESCRIPTOR_EX, which is used by IKsFilter implementation
- Dispatch unsupported interface requests to the clients registered inner aggregate (device / filter factory / filter / pin)
- Rewrite filter functions which deal with KSPIN_DESCRIPTO, as the client can dynamically modify the PinDescriptors array
- Handle matching create requests which differentiate in case
- Implement pin allocator framing property handler


svn path=/trunk/; revision=46878
2010-04-15 10:07:38 +00:00
Johannes Anderwald cfe909e6a4 [PSDK]
- Add clock property handler prototypes

svn path=/trunk/; revision=46877
2010-04-15 09:44:03 +00:00
Cameron Gutman 6654252a3d [PCMCIA]
- Add a mostly stubbed PCMCIA driver
- pcmcia.c is complete but fdo.c and pdo.c are completely unimplemented

svn path=/trunk/; revision=46876
2010-04-15 01:59:15 +00:00
Jeffrey Morlan 8886915477 [WIN32K] Since r43772 we now normalize VK_LCONTROL/VK_RCONTROL to VK_CONTROL rather than VK_LCONTROL (and ditto for shift/alt), so update SetKeyState to handle this. Fixes bug 4945.
svn path=/trunk/; revision=46875
2010-04-15 00:25:30 +00:00
Gregor Schneider 76a82f0995 [NOTEPAD] Convert NULL characters to spaces when reading binary files
See issue #3573 for more details.

svn path=/trunk/; revision=46873
2010-04-14 20:43:23 +00:00
Gregor Schneider 640fb7d222 [DESK]
- Create a function for updating the currently selected theme id
- Call this function before saving theme data to the registry, fixes saving invalid theme indexes
- Remove unnecessary header tags
See issue #5016 for more details.

svn path=/trunk/; revision=46870
2010-04-14 19:08:27 +00:00
Michael Martin cebadab3ab [usb/usbehci]
- Remove WorkItem code yet again as its not needed.
- Set Ports PortChange to STATUS_CONNECTED when detecting insertion of new usb device.
- Change UrbWorkerThread to use timer and wait so we dont waste cpu cycles.
- Implement IOCTL_INTERNAL_USB_SUBMIT_IDLE_NOTIFICATION.
- Upon receiving the IRP_MN_QUERY_DEVICE_RELATIONS with type BusRelation, stop processing the root hub IRPs, 
as at this point the hub driver has been informed of everything it needs to know about the device.
The next SCE request will remain pending until another devices is connected.
- Implement ExecuteControlRequest for all control related communications to/from usb devices.
- Remove GetDeviceDescriptor and GetDeviceStringDescriptor as no longer needed. 
- Fix implementation of Direct Call function CreateUsbDevice.
- Implement Direct Call functions InitializeUsbDevice and GetUsbDescriptors.
- Misc rearranging and clean up.




svn path=/trunk/; revision=46867
2010-04-14 14:46:10 +00:00
Timo Kreuzer 4c7d318d09 [TDI]
Convert to spec. Taken from amd64 branch (by Samuel Serapión)

svn path=/trunk/; revision=46864
2010-04-14 00:03:21 +00:00
Timo Kreuzer e47129e41e [NDIS]
Convert to spec

svn path=/trunk/; revision=46863
2010-04-13 23:48:25 +00:00
Marc Piulachs 9032acdcf8 My first commit in a very long time. I'm releasing the source code of my C# implementation of Rbuild by popular demand :) I would have preferred to release the code under a BSD licence but there is a small portion of ancient Nant GPL code that would have been to be rewritten first.
There are two executables (SysGen.Designer) and (SysGen.Make)

SysGen.Designer is a windows forms tool that allows to generate customized reactos images, it is similar in concept to Windows CE Platfom Builder. SysGen.Make is the actual Rbuild clone, It has three main parts, the .rbuild file parser + in-memory tree representation, the backends , and the auto generated files. The Mingw backend used to work 1'5 years ago and produced a 100% valid makefile.auto but have to be updated to be able to build a recent revision. Rewriting parts of it to take advantage of C# 3.5 extension methods would probably reduce the code by 50%. The other two parts are quite stable.

This code was only a proof of concept and was never intended to be released so there is a ton of unpolished code and hacks required by the current C++ implementation that should be removed.

How to test it:

Select SysGen.Make as the Start-up Project in Visual Studio and edit Program.cs to point to the correct path to ReactOS-i386.rbuild Edit SysGenEngine.cs:639 to enable/disable specific backends, The HtmlBackend in \SysGen.BuildEngine\Backends\Html\HtmlBackend.cs is a very simple illustration of how powerful this framework is.

Happy hacking!

svn path=/trunk/; revision=46862
2010-04-13 21:59:21 +00:00
Timo Kreuzer c100c972c1 [HAL]
- Give mini-hal it's own rbuild file
- fix amd64 rbuild

svn path=/trunk/; revision=46860
2010-04-13 16:26:48 +00:00
Timo Kreuzer f6c641bb39 [NTOSKRNL]
Add back FASTCALL macro in the pspec file for amd64 builds

svn path=/trunk/; revision=46859
2010-04-13 15:19:35 +00:00
Timo Kreuzer e24364da67 [NDK]
- Fix KGDT64 selector names

svn path=/trunk/; revision=46857
2010-04-12 22:31:42 +00:00
Timo Kreuzer de40f8d7d7 [FREELDR]
- Don't prefix amd64 symbol names with underscores
- Cleanup unused amd64 functions
- Fix amd64 GDT entries
- Fix amd64 APIC_BASE

svn path=/trunk/; revision=46856
2010-04-12 22:28:22 +00:00
Gregor Schneider 31515fdd20 [RTL] Revert s(w)printf changes of r44970
See issue #5125 for more details.

svn path=/trunk/; revision=46855
2010-04-12 20:45:38 +00:00