Commit graph

45130 commits

Author SHA1 Message Date
Amine Khaldi
24511aea48 [CMAKE]
- Restructure hal build.

svn path=/branches/cmake-bringup/; revision=50305
2011-01-06 18:59:49 +00:00
Amine Khaldi
0d77e58cf9 [CMAKE]
- Fix formatting.

svn path=/branches/cmake-bringup/; revision=50301
2011-01-06 17:08:38 +00:00
Amine Khaldi
166360a829 [CMAKE]
- Initial support of the arm toolchain/build.

svn path=/branches/cmake-bringup/; revision=50300
2011-01-06 16:57:56 +00:00
Amine Khaldi
6c0c23cb53 [CMAKE]
- Sync with trunk head (r50270)
- This also reverts r49298.

svn path=/branches/cmake-bringup/; revision=50271
2011-01-03 00:33:31 +00:00
Aleksey Bragin
ebef3b756c [NTOS]
- Temporary bring back the old boot image until I or sir_richard commit a proper fix.

svn path=/trunk/; revision=50259
2011-01-02 09:30:24 +00:00
Johannes Anderwald
cbc098ed88 [NETCFGX]
- Fix case where there is only one static dns server set

svn path=/trunk/; revision=50258
2011-01-01 21:34:17 +00:00
Johannes Anderwald
3f0d2fffb3 [IPHLPAPI]
- Rewrite name server enumeration routines
- Check if static dns entries are present before checking for dynamic dns entries
- Fixes static dns entries
[NETCFGX]
- GetPerAdapterInfo requires IP_PER_ADAPTER_INFO struct
- Fix reading static dns entries
- Delete static name server key, when changing dns servers to automatic (dhcp)
- Don't delete DhcpNameServer key yet, as more interaction is needed with dhcp service when changing from static dns to dynamic dhcp
- Should finally fix static dns when dhcp is active

svn path=/trunk/; revision=50257
2011-01-01 21:13:07 +00:00
Sir Richard
3062a63e47 [VIDEOPRT/WIN32K]: Synchronize and share PEVENT/ENG_EVENT/VIDEO_PORT_EVENT implementation, as these objects are actually the same (and VideoPrt Event* APIs can be used on GRE Event Objects). Use ENG_EVENT structure from ntddvdeo.h instead of re-creating our own. Drivers using these interfaces will no longer explode.
[VIDEOPRT]: Add parameter checks to DeleteEvent and WaitForSingleObject.
[VIDEOPRT]: Fix WaitForSingleObject. It was waiting on the Object paramter itself -- which is the VideoPrt/ENG Event, not a real object, we have to wait on ->pKEvent instead.
[VIDEOPRT]: Fix WaitForSingleObject round two, it was returning the NT_STATUS, while VideoPrt should return VP_STATUS/Win32 error codes.
[WIN32K]: Allocate/free GRE events directly from pool, instead of using Eng APIs. Use documented tag for GRE Events (Dfsm), found in pooltag.txt
[WIN32K]: Implement EngMapEvent and EngUnmapEvent.


svn path=/trunk/; revision=50256
2011-01-01 18:15:25 +00:00
Colin Finck
05721dae3e Proper fix for r50248 ;-)
Happy New Year from my side as well!

svn path=/trunk/; revision=50254
2011-01-01 15:54:31 +00:00
Timo Kreuzer
d50bc6057e [CRT]
Fix bugs in new printf implementation: use buffer size in _snprintf and check for the right failure return value of streamout_char.

svn path=/trunk/; revision=50251
2011-01-01 13:50:07 +00:00
Eric Kohl
90ac7fad2f [NPFS]
- Add NpfsDirectoryControl routine in order to enumerate pipes.
- Use NpfsGetFcb and NpfsGetCcb to retrieve the FCB or CCB and use SEH to protect these routines.

svn path=/trunk/; revision=50250
2011-01-01 12:40:24 +00:00
Michael Martin
7996ddf5cc [usb/usbehci]:
- Remove all hardware related routines from fdo.c as they are now in hardware.c
- Replace ExecuteControlRequest with new SubmitControlTransfer.
- For internal control requests (originating from ehci driver) use an event to signal request completion.
- When submitting non internal control request save the Irp in the software part of the QueueHead.
For these requests check for errors and complete the Irp with the appropriate URB Status when the QueueHead is complete.
- Misc code cleanup and dead code removal.
- UsbEhci now works as before and should be ready for some forward progress.

svn path=/trunk/; revision=50249
2011-01-01 12:20:19 +00:00
Aleksey Bragin
46fe11727a Happy New Year!
Dear ReactOS team, you're the best.

svn path=/trunk/; revision=50248
2010-12-31 23:06:19 +00:00
James Tabor
1f1bdb7dd4 [User32]
- Start creeping in more Left to Right support, readying up for the next wine User32 controls port and test sync. Code is based on wine, credit them for any breakages. 8^P Our positions are off by 103 x 122 in some test cases, anyone having an idea please chime in.

svn path=/trunk/; revision=50247
2010-12-31 21:10:29 +00:00
Amine Khaldi
617f2dab5b [CMAKE]
- Don't link ks to msvcrt either.

svn path=/branches/cmake-bringup/; revision=50246
2010-12-31 18:51:00 +00:00
Amine Khaldi
8e1cf24706 [CMAKE]
- Don't link portcls to msvcrt (?!) Spotted using the dependency graph added recently by Timo.

svn path=/branches/cmake-bringup/; revision=50245
2010-12-31 18:48:26 +00:00
Timo Kreuzer
161033b429 [CMAKE]
Fix conflict artifacts.

svn path=/branches/cmake-bringup/; revision=50244
2010-12-31 16:54:37 +00:00
Timo Kreuzer
8c14a1744a [CMAKE]
Add generation of a depencency graph for shared libraries.
The output is a graphml file. Can be enabled with GENERATE_DEPENDENCY_GRAPH switch.

svn path=/branches/cmake-bringup/; revision=50243
2010-12-31 16:49:49 +00:00
Roel Messiant
f9a750c9c0 [UMPNPMGR]
- Start using XP- and Vista-compatible pipe names for the RPC endpoint. Kick out the ROS-specific \pipe\umpnpmgr one.
- Use only the Vista pipe name for now, using the XP one makes device installation fail..
- Use the correct PNP interface UUID
[SETUPAPI]
- Bind to the PNP service using the Vista-compatible pipe.
 

svn path=/trunk/; revision=50242
2010-12-31 16:27:01 +00:00
Timo Kreuzer
6ebba3e6a5 [CMAKE]
Go back to DllMain entrypoints. Fixes cardgames.

svn path=/branches/cmake-bringup/; revision=50241
2010-12-31 15:53:55 +00:00
Timo Kreuzer
14ab9898c2 [CMAKE]
Delete hal_i386.def

svn path=/branches/cmake-bringup/; revision=50240
2010-12-31 15:43:06 +00:00
Timo Kreuzer
dca822d5db [CMAKE]
Delete ks.def

svn path=/branches/cmake-bringup/; revision=50239
2010-12-31 15:42:03 +00:00
Timo Kreuzer
43993833da [CMAKE]
Delete scsiport_i386.def

svn path=/branches/cmake-bringup/; revision=50238
2010-12-31 15:35:59 +00:00
Timo Kreuzer
922971f3c0 [CMAKE]
Fix ftfd.spec

svn path=/branches/cmake-bringup/; revision=50237
2010-12-31 15:35:13 +00:00
Timo Kreuzer
9c55eb1528 [CMAKE]
Delete msacm.spec.def

svn path=/branches/cmake-bringup/; revision=50236
2010-12-31 15:17:11 +00:00
Timo Kreuzer
40f51f077f [CMAKE]
Delete ntdll.def

svn path=/branches/cmake-bringup/; revision=50235
2010-12-31 15:15:09 +00:00
Timo Kreuzer
93ad7973a8 [CMAKE]
Remove def file for the kernel

svn path=/branches/cmake-bringup/; revision=50234
2010-12-31 15:12:58 +00:00
Timo Kreuzer
bf9290d80d [CMAKE]
Some amd64 compilation fixes

svn path=/branches/cmake-bringup/; revision=50233
2010-12-31 15:12:00 +00:00
Timo Kreuzer
288c48c7ad [CMAKE]
remove a def file

svn path=/branches/cmake-bringup/; revision=50232
2010-12-31 15:11:06 +00:00
Michael Martin
0d6bdbec51 [usb/usbehci]:
- Remove all hardware related structs from usbehci.h as they are now in hardware.h.
- Add debugging routines for usb descriptors, queue heads and transfer descriptors.
- This will break building usbehci, but not a problem as it is not included in the default build. Will be fixed with later commit.

svn path=/trunk/; revision=50231
2010-12-31 12:26:12 +00:00
Michael Martin
61f99c89a6 [usb/usbehci]:
- Implement creating and deleting Queue Heads and Transfer Descriptors from common buffer.
- Implement linking/unlinking QueueHeads to create a linked list for Asynchronous Schedule traversal.
- Implement BuildSetupPacketFromURB for creating a setup packet from a URB. 
- Implement SubmitControlTransfer.

svn path=/trunk/; revision=50230
2010-12-31 12:01:21 +00:00
James Tabor
cb0b5d3b3a [Win32k|User32]
- Add hack to mark desktop window as a desktop window and notes for creating a desktop with tips in win32k. Move user position code from window to winpos.

svn path=/trunk/; revision=50229
2010-12-31 04:43:35 +00:00
Sylvain Petreolle
37fdeb8a46 [CMAKE]
Add all winetests to bootcd, thanks to unix find :)

svn path=/trunk/; revision=50228
2010-12-30 22:17:33 +00:00
Sylvain Petreolle
ab2048a22f [CMAKE]
Add rosautotest and kernel32_winetest to bootcdregtest.
cmake bootcdregtest lives.

svn path=/trunk/; revision=50227
2010-12-30 21:49:36 +00:00
Amine Khaldi
e26b7f9a66 [CMAKE]
- Wine lib isn't needed for rosautotest.

svn path=/trunk/; revision=50226
2010-12-30 17:58:18 +00:00
Amine Khaldi
078e5c0a31 [CMAKE]
- Update oleaut32 winetest.
- Add rosautotest to build.

svn path=/trunk/; revision=50225
2010-12-30 17:55:25 +00:00
Amine Khaldi
fce639e14b [CMAKE]
- Disable some resource files (mostly japanese ones) with a FIXME. They prevent us from compiling in unix due to an iconv issue.
- Lower the minimum required cmake version to 2.6
- Fix browseui resource paths.

svn path=/branches/cmake-bringup/; revision=50224
2010-12-30 15:39:10 +00:00
Michael Martin
4eef1c1925 [usb/usbehci]:
- Reorganization code to put hardware related structures and routines in own source files. 
- Modify ResetPort to correctly reset the port instead of the controller.
- Implement allocating chunks of memory from the Common Buffer for use with the rest of source code.


svn path=/trunk/; revision=50223
2010-12-30 15:12:46 +00:00
James Tabor
c1d677d16a - Fix copy paste error, which means this code is not used, should have pop up during testing.
svn path=/trunk/; revision=50222
2010-12-30 05:56:50 +00:00
James Tabor
f888c0c7b1 [Win32k|User32]
- Fix most of the user32 wine win test_mdi tests. Leaving 6 failures dealing with rect size. Start A2U and U2A support.

svn path=/trunk/; revision=50221
2010-12-30 05:52:06 +00:00
James Tabor
88e4ef1d91 [Win32k]
- NtUserSetWindowFNID, sets user client side window function Ids, expands to ghost.

svn path=/trunk/; revision=50220
2010-12-30 03:03:45 +00:00
James Tabor
a7d5cdfa3b [User32]
- Controls: Set fnids for the user client controls.

svn path=/trunk/; revision=50219
2010-12-30 02:32:50 +00:00
James Tabor
c2a558dbb7 [Win32k|User32]
- Fix mdi class window function Id, now msi message tests do not assert.


svn path=/trunk/; revision=50218
2010-12-30 00:59:10 +00:00
Timo Kreuzer
5351f44808 [CMAKE]
LD is stupid and doesn't handle stdcall decoration as proper as dlltool does (after we provided a patch). Passing --kill-at, also kills C++ mangled names and exports with stdcall decoration are imposible. In trunk we use dlltool to generate an exp file that we link with LD, but in the cmake branch we pass the def file to LD directly. Luckily we have a tool called spec2def that can handle these things. We now generate 2 different .def files, one for LD, containing the undecorated export name forwarded to the decorated symbol name (FooFunc=FooFunc@12), while the 2nd def file which is passed to dlltool for exportlib generation has full stdcall decorations. --kill-at is now passed to dlltool only. This commit might break msvc, but should be pretty easy to fix.

svn path=/branches/cmake-bringup/; revision=50217
2010-12-29 23:58:17 +00:00
Amine Khaldi
6e719f7d6f [CMAKE]
- Remove an unintended change.

svn path=/branches/cmake-bringup/; revision=50216
2010-12-29 19:11:17 +00:00
Jérôme Gardou
061f46d608 [CMAKE]
Improve rpcproxy macro
split boot/CMakeLists.txt into smaller and clearer CMakeLists.txt

svn path=/branches/cmake-bringup/; revision=50215
2010-12-29 18:28:34 +00:00
Sylvain Petreolle
a1d29e9435 [CMAKE]
Fix rpcrt4_winetest build.

svn path=/trunk/; revision=50214
2010-12-29 16:12:56 +00:00
Timo Kreuzer
0c36281490 [STLPORT]
- Only use #pragma intrinsics on MSVC
- Don't add function prototypes for _InterlockedXxx

svn path=/branches/cmake-bringup/; revision=50213
2010-12-29 13:35:40 +00:00
Timo Kreuzer
9871a03861 [STLPORT]
- Fix compilation with 64 bit gcc

svn path=/branches/cmake-bringup/; revision=50212
2010-12-29 11:45:57 +00:00
Timo Kreuzer
88614730f8 [STLPORT]
- Add some additional definitions for amd64 compilation with gcc

svn path=/branches/cmake-bringup/; revision=50211
2010-12-29 11:42:10 +00:00