reactos.git
13 years ago[FREELDR]
Amine Khaldi [Thu, 2 Sep 2010 17:39:45 +0000 (17:39 +0000)]
[FREELDR]
- Convert fat12/16 boot sector helper code to gas syntax. Brought to you by the Arty.
[CMAKE]
- Add freeldr and setupldr to build.

svn path=/branches/cmake-bringup/; revision=48687

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 23:48:26 +0000 (23:48 +0000)]
[CMAKE]
- Add mini_hal to build.

svn path=/branches/cmake-bringup/; revision=48672

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 21:24:12 +0000 (21:24 +0000)]
[CMAKE]
- libcntpr needs buildno.h

svn path=/branches/cmake-bringup/; revision=48671

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 18:40:19 +0000 (18:40 +0000)]
[CMAKE]
- Add boot sectors to build.

svn path=/branches/cmake-bringup/; revision=48669

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 17:55:28 +0000 (17:55 +0000)]
[CMAKE]
- Add scsiport to build.

svn path=/branches/cmake-bringup/; revision=48668

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 16:30:02 +0000 (16:30 +0000)]
[CMAKE]
- Add bootvid, kddll, kdcom, nmidebug and null drivers to build.

svn path=/branches/cmake-bringup/; revision=48666

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 14:05:07 +0000 (14:05 +0000)]
[CMAKE]
- Add input drivers (i8042prt, kbdclass, mouclass and sermouse) to build.

svn path=/branches/cmake-bringup/; revision=48664

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 13:25:10 +0000 (13:25 +0000)]
[CMAKE]
- Improve handling buildno.h

svn path=/branches/cmake-bringup/; revision=48663

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 11:11:11 +0000 (11:11 +0000)]
[CMAKE]
- Add placeholders for the remaining dlls.

svn path=/branches/cmake-bringup/; revision=48662

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 10:34:15 +0000 (10:34 +0000)]
[CMAKE]
- Add beep driver to build.

svn path=/branches/cmake-bringup/; revision=48661

13 years ago[CMAKE]
Amine Khaldi [Mon, 30 Aug 2010 14:31:44 +0000 (14:31 +0000)]
[CMAKE]
- Add ze kirnel to build.

svn path=/branches/cmake-bringup/; revision=48659

13 years ago[CMAKE]
Amine Khaldi [Mon, 30 Aug 2010 14:30:09 +0000 (14:30 +0000)]
[CMAKE]
- Improve rossym lib.

svn path=/branches/cmake-bringup/; revision=48658

13 years ago[CMAKE]
Amine Khaldi [Mon, 30 Aug 2010 13:00:41 +0000 (13:00 +0000)]
[CMAKE]
- Improve pseh.

svn path=/branches/cmake-bringup/; revision=48656

13 years ago[CMAKE]
Amine Khaldi [Mon, 30 Aug 2010 12:37:44 +0000 (12:37 +0000)]
[CMAKE]
- Improve rtl.

svn path=/branches/cmake-bringup/; revision=48655

13 years ago[CMAKE]
Amine Khaldi [Sun, 29 Aug 2010 21:32:32 +0000 (21:32 +0000)]
[CMAKE]
- Improve ntdll.

svn path=/branches/cmake-bringup/; revision=48652

13 years ago[CMAKE]
Amine Khaldi [Sun, 29 Aug 2010 18:32:17 +0000 (18:32 +0000)]
[CMAKE]
- Improve kernel32.

svn path=/branches/cmake-bringup/; revision=48647

13 years ago[CMAKE]
Amine Khaldi [Sun, 29 Aug 2010 17:30:24 +0000 (17:30 +0000)]
[CMAKE]
- Add hal (yes, hal) to build.

svn path=/branches/cmake-bringup/; revision=48645

13 years ago[CMAKE]
Amine Khaldi [Sun, 29 Aug 2010 14:13:38 +0000 (14:13 +0000)]
[CMAKE]
- Add samsrv, sccbase, schannel, sensapi, serialui, shdoclc, shfolder, shlwapi, slbcsp, smdll, sndblst, snmpapi, spoolss, srclient, sxs, t2embed, tapi32, tapiui, traffic, updspapi, url, usp10 and uxtheme to build.
- Add mlang, mpr, and shell32 import libs.
- Fix shdoclc and shlwapi translations (patches will be sent upstream).
- Improve mmebuddy.

svn path=/branches/cmake-bringup/; revision=48644

13 years ago[CMAKE]
Amine Khaldi [Sun, 29 Aug 2010 11:07:31 +0000 (11:07 +0000)]
[CMAKE]
- Rewrite crt and libcntpr targets, with support for other than i386.
- Bring-in logf.c from trunk.

svn path=/branches/cmake-bringup/; revision=48643

13 years ago[CMAKE]
Amine Khaldi [Sat, 28 Aug 2010 17:41:06 +0000 (17:41 +0000)]
[CMAKE]
- Include crt headers when compiling RC files.

svn path=/branches/cmake-bringup/; revision=48634

13 years ago[CMAKE]
Amine Khaldi [Sat, 28 Aug 2010 13:20:03 +0000 (13:20 +0000)]
[CMAKE]
- Add mscoree, msg711.acm, msgina, msgsm32.acm, msimg32, msnet32, mssign32, mssip32, msvcrt20, msvcrt40, msvfw32, msvidc32, mswsock, nddeapi, netapi32, newdev, ntdsapi, ntlanman, ntprint, olecli32, oledlg, olesvr32, olethk32, pidgen, powrprof, printui, query, rasapi32, rasdlg, rasman, resutils and samlib to build.

svn path=/branches/cmake-bringup/; revision=48633

13 years ago[CMAKE]
Amine Khaldi [Mon, 23 Aug 2010 22:23:02 +0000 (22:23 +0000)]
[CMAKE]
- Add mciseq, mciwave, mmdrv, modemui, mpr, mprapi, msadp32.acm, msafd and mscms to build.
- Fixed mpr resource files (should be submitted upstream).

svn path=/branches/cmake-bringup/; revision=48613

13 years ago[CMAKE]
Amine Khaldi [Mon, 23 Aug 2010 15:23:35 +0000 (15:23 +0000)]
[CMAKE]
- Update user32 now that we have a target named imm32.

svn path=/branches/cmake-bringup/; revision=48609

13 years ago[CMAKE]
Amine Khaldi [Mon, 23 Aug 2010 14:40:47 +0000 (14:40 +0000)]
[CMAKE]
- Add fmifs, fusion, getuname, hid, httpapi, iccvid, icmp, imaadp32.acm, imagehlp, imm32, initpki, iphlpapi, itircl, loadperf, lpk, lz32, mapi32, mciavi32, mcicda and mciqtz32 to build.

svn path=/branches/cmake-bringup/; revision=48608

13 years ago[CMAKE]
Amine Khaldi [Mon, 23 Aug 2010 14:34:34 +0000 (14:34 +0000)]
[CMAKE]
- Temporarily add libdbghelp.a and libdhcpcsvc.a

svn path=/branches/cmake-bringup/; revision=48607

13 years ago[CMAKE]
Amine Khaldi [Sun, 22 Aug 2010 23:59:45 +0000 (23:59 +0000)]
[CMAKE]
- Add dciman32, dhcpcsvc, dnsapi, dwmapi and faultrep to build.

svn path=/branches/cmake-bringup/; revision=48599

13 years ago[CMAKE]
Amine Khaldi [Sun, 22 Aug 2010 23:46:10 +0000 (23:46 +0000)]
[CMAKE]
- Fix adns lib.

svn path=/branches/cmake-bringup/; revision=48598

13 years ago[CMAKE]
Amine Khaldi [Sun, 22 Aug 2010 22:52:07 +0000 (22:52 +0000)]
[CMAKE]
- Add compstui, credui, crtdll, crypt32, cryptdll and dbghelp to build.

svn path=/branches/cmake-bringup/; revision=48596

13 years ago[CMAKE]
Amine Khaldi [Sun, 22 Aug 2010 22:43:43 +0000 (22:43 +0000)]
[CMAKE]
- Guard pseh2.h against RC_INVOKED.

svn path=/branches/cmake-bringup/; revision=48594

13 years ago[CMAKE]
Amine Khaldi [Sun, 22 Aug 2010 13:40:53 +0000 (13:40 +0000)]
[CMAKE]
- Manually add source file (as suggested by Colin).
- I've filed a feature request to have the same effect when still using GLOB/GLOB_RECURSE : http://public.kitware.com/Bug/view.php?id=11156

svn path=/branches/cmake-bringup/; revision=48592

13 years ago[CMAKE]
Amine Khaldi [Sun, 22 Aug 2010 13:38:36 +0000 (13:38 +0000)]
[CMAKE]
- Cache the mingw32 prefix.
- Improve the RC compiler invocation.

svn path=/branches/cmake-bringup/; revision=48591

13 years ago[CMAKE]
Amine Khaldi [Sun, 22 Aug 2010 01:17:53 +0000 (01:17 +0000)]
[CMAKE]
- Add cabinet, cards, cfgmgr32 and clusapi to build.

svn path=/branches/cmake-bringup/; revision=48589

13 years ago[CMAKE]
Amine Khaldi [Sun, 22 Aug 2010 00:52:26 +0000 (00:52 +0000)]
[CMAKE]
- Add avicap32, batt and beepmidi to build.
- Fix a typo.

svn path=/branches/cmake-bringup/; revision=48588

13 years ago[CMAKE]
Amine Khaldi [Sat, 21 Aug 2010 23:52:17 +0000 (23:52 +0000)]
[CMAKE]
- Add activeds, advpack and authz to build.

svn path=/branches/cmake-bringup/; revision=48587

13 years ago[CMAKE]
Amine Khaldi [Sat, 21 Aug 2010 23:35:57 +0000 (23:35 +0000)]
[CMAKE]
- Add acledit to build.

svn path=/branches/cmake-bringup/; revision=48586

13 years ago[CMAKE]
Amine Khaldi [Sat, 21 Aug 2010 23:25:35 +0000 (23:25 +0000)]
[CMAKE]
- Add aclui to build.

svn path=/branches/cmake-bringup/; revision=48585

13 years ago[CMAKE]
Amine Khaldi [Sat, 21 Aug 2010 23:23:46 +0000 (23:23 +0000)]
[CMAKE]
- Add a macro to handle generating definition files from spec files (for Wine dlls)

svn path=/branches/cmake-bringup/; revision=48584

13 years ago[NTOSKRNL]
Cameron Gutman [Sat, 21 Aug 2010 22:08:00 +0000 (22:08 +0000)]
[NTOSKRNL]
- Fix a typo that broke handling of DevicePropertyEnumeratorName inside IoGetDeviceProperty

svn path=/trunk/; revision=48583

13 years ago[WIN32K]
Timo Kreuzer [Sat, 21 Aug 2010 22:00:50 +0000 (22:00 +0000)]
[WIN32K]
Use the object type index, not the shifted full object type to decide what to do with an object in NtGdiDeleteObjectApp. Fixes leaking derived types such as pens.

svn path=/trunk/; revision=48582

13 years ago[NTOSKRNL]
Cameron Gutman [Sat, 21 Aug 2010 21:39:53 +0000 (21:39 +0000)]
[NTOSKRNL]
- Don't overwrite the ACPI hardware key on every boot

svn path=/trunk/; revision=48581

13 years ago[NTOSKRNL]
Cameron Gutman [Sat, 21 Aug 2010 21:25:07 +0000 (21:25 +0000)]
[NTOSKRNL]
- Append the DLL name and NULL terminate the string more nicely

svn path=/trunk/; revision=48580

13 years ago[WIN32K]
Timo Kreuzer [Sat, 21 Aug 2010 19:55:09 +0000 (19:55 +0000)]
[WIN32K]
- Allocate the DCs prgnVis in DC_AllocDC, instead of "on demand" in GdiSelectVisRgn and properly handle failure case. This fixes a possible crash, when running out of gdi handles.

svn path=/trunk/; revision=48579

13 years ago[WIN32K]
Timo Kreuzer [Fri, 20 Aug 2010 19:24:48 +0000 (19:24 +0000)]
[WIN32K]
- co_IntTranslateMouseMessage: properly initialize *HitTest and only send WM_NCHITTEST when the message is going to be removed
- co_IntPeekMessage: Prevent possible use of uninitialized HitTest by ProcessMouseMessage()
- Patch by Jan Roeloffzen [jroeloffzen at hotmail dot com]
- Fixes bug 2139

svn path=/trunk/; revision=48576

13 years ago[PSDK]
Amine Khaldi [Fri, 20 Aug 2010 16:55:33 +0000 (16:55 +0000)]
[PSDK]
- Add missing DISPLAY_BRIGHTNESS and some related definitions.

svn path=/trunk/; revision=48575

13 years ago[NTOSKRNL]
Cameron Gutman [Fri, 20 Aug 2010 04:45:25 +0000 (04:45 +0000)]
[NTOSKRNL]
- The trailing NULL is NOT included in the string length
- IopNotifyPlugPlayNotification needs a pointer to an actual GUID not a UNICODE_STRING
- The Power Manager can now see ACPI power devices again
- ROS will now do a graceful shutdown and power off if the power button is pressed and ACPI is enabled

svn path=/trunk/; revision=48574

13 years ago[ACPI]
Cameron Gutman [Fri, 20 Aug 2010 03:08:50 +0000 (03:08 +0000)]
[ACPI]
- Do all of the work inside the DPC so we don't have IRQL issues when entering the memory manager
- This is a slight hack but we can be assured that data won't be over 24 bits unless somebody wants to push the power/sleep button over 16 million times

svn path=/trunk/; revision=48573

13 years ago[NTOSKRNL]
Cameron Gutman [Fri, 20 Aug 2010 02:27:05 +0000 (02:27 +0000)]
[NTOSKRNL]
- Shutdown the system if we receive a SYS_BUTTON_POWER event
- Register for GUID_DEVICE_LID arrival events so we can receive lid events

svn path=/trunk/; revision=48572

13 years ago[NTOSKRNL]
Cameron Gutman [Thu, 19 Aug 2010 23:26:44 +0000 (23:26 +0000)]
[NTOSKRNL]
- Add a special case to IopInitializeDevice for raw devices
- Call IopInitializeDevice to set up our device node and ready it to start
- Fixes assertions hit by ACPI and PCIX

svn path=/trunk/; revision=48570

13 years ago[OSKITTCP]
Cameron Gutman [Thu, 19 Aug 2010 22:15:58 +0000 (22:15 +0000)]
[OSKITTCP]
- Disable routing because oskit needs to let our code do that
- Comment out the ACK hack and restore the default BSD behavior

svn path=/trunk/; revision=48569

13 years ago[Win32k]
Michael Martin [Thu, 19 Aug 2010 10:52:36 +0000 (10:52 +0000)]
[Win32k]
- For SetTimer nIDEvent can be 0 in which case return 1. Zero still needs to be used for nIDEvent when killing the timer. Fixes bug 5553.
- Modify windowless timers to use IDEvent values decrementing from the max number of windowless timers vice incrementing from 1. Done to match windows behavior.

svn path=/trunk/; revision=48568

13 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 19 Aug 2010 10:03:03 +0000 (10:03 +0000)]
[NTOSKRNL]
- Add missing parentheses. Fixes "cont"

svn path=/trunk/; revision=48567

13 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 19 Aug 2010 09:03:36 +0000 (09:03 +0000)]
[NTOSKRNL]
Fix handling of next instruction in kdbg.
Patch by Daniel Zimmermann, modified by Aleksey Bragin

See issue #4457 for more details.

svn path=/trunk/; revision=48566

13 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 19 Aug 2010 08:50:23 +0000 (08:50 +0000)]
[NTOSKRNL]
- Implement support for /BURNMEMORY option.
- Don't stop boot on bad memory type
Patch by Jay Smith, modified by Aleksey, even more modified by me.

See issue #4957 for more details.

svn path=/trunk/; revision=48565

13 years ago[NETSTAT]
Cameron Gutman [Thu, 19 Aug 2010 06:25:20 +0000 (06:25 +0000)]
[NETSTAT]
- Allocate memory for the TCP table properly
- Only netstat -a should show UDP connections
- Patch by Jan Roeloffzen [jroeloffzen at hotmail dot com]

svn path=/trunk/; revision=48564

13 years ago[IPHLPAPI]
Cameron Gutman [Thu, 19 Aug 2010 06:05:35 +0000 (06:05 +0000)]
[IPHLPAPI]
- Copy our TCP table into the caller's buffer if we actually get one (not yet!)
- Return ERROR_NO_DATA if we fail to get anything from TCP/IP
- Fixes bug #4185

svn path=/trunk/; revision=48563

13 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 19 Aug 2010 05:10:16 +0000 (05:10 +0000)]
[NTOSKRNL]
- Initialize the Parent member of the new Vad to NULL. This also initializes the Balance to 0 aka RtlBalancedAvlTree
Should fix the failed assertion that randomly occurs.

svn path=/trunk/; revision=48562

13 years ago[IP]
Cameron Gutman [Thu, 19 Aug 2010 02:41:54 +0000 (02:41 +0000)]
[IP]
- Fix a major bug in socket closure. Prior to this, a socket with pending IRPs that could not be satisfied when the socket was closed would be destroyed without completing the pending requests. Now, we check all of our IRP queues if we get a SEL_FIN signal and kill all the requests that cannot be satisfied immediately.
- Maybe it's just me but Firefox 2 seems much more responsive after this fix (like actually usable!)

svn path=/trunk/; revision=48561

13 years ago[FASTFAT]
Timo Kreuzer [Wed, 18 Aug 2010 23:21:15 +0000 (23:21 +0000)]
[FASTFAT]
Make our FAT driver PNP aware.
On PNP requests it should handle, it will return STATUS_NOT_IMPLEMENTED.
On the others, it will pass them to lower driver.
This is the first step outside the kernel into getting IoGetRelatedTargetDevice (and so notifications) working.
It doesn't work at the moment, as class2 doesn't handle PNP.

[NTOSKRNL]
Some fixes to IRP cancelation process:
- Renamed IopRemoveThreadIrp() to IopDisassociateThreadIrp() to match Windows 2k3
- Made dead IRP global, to make its debug easier.
- IopDisassociateThreadIrp(), Handle dead IRP at dispatch level, using IoCompletionLock.
- IopDisassociateThreadIrp(), Use the proper error code to write the entry to logs.
- IoCancelIrp(), removed non needed ASSERT, which is even not present on Windows, removed corresponding var as well.
- IoCancelIrp(), fixed parameters to KeBugCheckEx() call.
- IoCancelThreadIo() is pageable.
- IoCancelThreadIo() under Windows isn't using given thread, but using current. Do the same here.
All that stuff doesn't fix bug #5550, it comes from outside.

Patch by Pierre Schweitzer, modified by me to make it compile. If it breaks anything, don't blame me!

svn path=/trunk/; revision=48560

13 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 17 Aug 2010 16:04:46 +0000 (16:04 +0000)]
[NTOSKRNL]
- Simplified IopGetRelatedTargetDevice implementation
- Added notification in case of success in NtSetVolumeInformationFile()
Patch by Pierre Schweitzer

svn path=/trunk/; revision=48559

13 years ago[NTOSKRNL]
Timo Kreuzer [Mon, 16 Aug 2010 20:18:25 +0000 (20:18 +0000)]
[NTOSKRNL]
- Fixed IoGetRequestorProcess, IoGetRequestorProcessId, IoGetRequestorSessionId
- Pass user buffer in NtNotifyChangeDirectoryFile
- Fixed magic value in IoGetPagingIoPriority
Patch by Pierre Schweitzer

svn path=/trunk/; revision=48557

13 years ago[NTDLL]
Timo Kreuzer [Mon, 16 Aug 2010 01:57:09 +0000 (01:57 +0000)]
[NTDLL]
LdrPerformRelocations: Delta is a LONG_PTR rather than ULONG_PTR

See issue #5577 for more details.

svn path=/trunk/; revision=48556

13 years ago[WIN32K]
Timo Kreuzer [Mon, 16 Aug 2010 01:29:13 +0000 (01:29 +0000)]
[WIN32K]
- Remove IntEngExtEscape stub. This function is completely useless. If the driver doesn't provide a DrvEscape, the function should simply fail and must return 0, not -1.
- If a NULL surface is passed, pass on NULL pso to the driver function

See issue #4563 for more details.

svn path=/trunk/; revision=48555

13 years ago[user32_winetest]
Timo Kreuzer [Mon, 16 Aug 2010 00:06:55 +0000 (00:06 +0000)]
[user32_winetest]
Skip 2 tests that hang on reactos. Patch by Giannis Adamopoulos

svn path=/trunk/; revision=48554

13 years ago[NTOSKRNL]
Aleksey Bragin [Sun, 15 Aug 2010 08:48:03 +0000 (08:48 +0000)]
[NTOSKRNL]
- Revert 48546. The code was correct, and there is more of same code in other places which firstly cancels the IRP and then moves to the next entry. The actual bug is somewhere else.
See issue #5550 for more details.

svn path=/trunk/; revision=48551

13 years ago- IRP_MN_QUERY_RESOURCE_REQUIREMENTS half support now, PciQueryRequirements, PciAlloc...
evb [Sat, 14 Aug 2010 18:06:19 +0000 (18:06 +0000)]
- IRP_MN_QUERY_RESOURCE_REQUIREMENTS half support now, PciQueryRequirements, PciAllocateIoRequrementsList, full implement, but PciBuildRequirementsList return 0 always for now
- Debug helpers: PciDebugPrintIoResReqList, PciDebugPrintIoResource, PciDebugCmResourceTypeToText
Now hit assert Assertion '(DeviceNode->Flags & DNF_ADDED)' failed at ntoskrnl/io/pnpmgr/pnpmgr.c line 201, too night to debug, maybe tomorow

svn path=/trunk/; revision=48550

13 years ago- IRP_MN_QUERY_RESOURCES support for PDO (PciQueryResources, PciAllocateCmResourceLis...
evb [Sat, 14 Aug 2010 17:33:10 +0000 (17:33 +0000)]
- IRP_MN_QUERY_RESOURCES support for PDO (PciQueryResources, PciAllocateCmResourceList), now remain IRP_MN_QUERY_RESOURCE_REQUIREMENTS to last device stack interogration from PNPMGR

svn path=/trunk/; revision=48549

13 years ago- Add support for PnP IRP to PDO: IRP_MN_QUERY_BUS_INFORMATION (PciQueryBusInformatio...
evb [Sat, 14 Aug 2010 17:09:20 +0000 (17:09 +0000)]
- Add support for PnP IRP to PDO: IRP_MN_QUERY_BUS_INFORMATION (PciQueryBusInformation), IRP_MN_QUERY_ID (PciQueryId), IRP_MN_QUERY_DEVICE_TEXT (PciQueryDeviceText), IRP_MN_QUERY_CAPABILITIES (PciQueryCapabilities), IRP_MN_QUERY_DEVICE_RELATIONS (PciQueryTargetDeviceRelations implement, PciQueryEjectionRelations, stub)
- Stub support for PnP IRP to PDO: IRP_MN_QUERY_RESOURCE_REQUIREMENTS (PciQueryRequirements), IRP_MN_QUERY_RESOURCES(PciQueryResources)
- Add support for PnP IRP to FDO: IRP_MN_QUERY_CAPABILITIES (handle in PciFdoIrpQueryDeviceCapabilities)
- Build device capability UI number (PciDetermineSlotNumber), use PIR$ (seem support broken, need to check loader) or device property for bus not root
- Use parent attachee device and this PDO for build device/system wake states, latency, device/system power mappings
- PCI-ID manage support: PciInitIdBuffer, PciIdPrintf, PciIdPrintfAppend
- Debug helper: PciDebugDumpQueryCapabilities
- Thanks richard for advise + beer
PCI-X driver now pass 10000 codes lines!

svn path=/trunk/; revision=48548

13 years ago[NTOSKRNL]
Cameron Gutman [Sat, 14 Aug 2010 14:55:12 +0000 (14:55 +0000)]
[NTOSKRNL]
- Move to the next entry in the thread IRP list before calling IoCancelIrp because if everything works as expected and IoCompleteRequest is called, we could end up with the IRP ripped out from under us before can move to the next element
- See issue #5550 for details.

svn path=/trunk/; revision=48546

13 years ago[WS2_32]
Cameron Gutman [Sat, 14 Aug 2010 13:48:31 +0000 (13:48 +0000)]
[WS2_32]
- Create a temporary variable and pass that to WSAIoctl for the bytes returned value instead of passing argp and corrupting the value we just retrieved

svn path=/trunk/; revision=48545

13 years ago[CMAKE]
Amine Khaldi [Sat, 14 Aug 2010 10:49:27 +0000 (10:49 +0000)]
[CMAKE]
- mc : Make the generated bin file names prefixed by the base name of the source file.

svn path=/branches/cmake-bringup/; revision=48544

13 years ago[CMAKE]
Amine Khaldi [Sat, 14 Aug 2010 10:47:57 +0000 (10:47 +0000)]
[CMAKE]
- Now that we have c++ flags set globally, no need to mention them on the respective targets.
- debug.h : leftover from the kernel32 sync.

svn path=/branches/cmake-bringup/; revision=48543

13 years ago[CMAKE]
Amine Khaldi [Sat, 14 Aug 2010 10:44:46 +0000 (10:44 +0000)]
[CMAKE]
- Link mingw_common to kernel32 and ntdll.
- Fix mingw_wmain.
- Improve the paths use.

svn path=/branches/cmake-bringup/; revision=48542

13 years ago[CMAKE]
Amine Khaldi [Sat, 14 Aug 2010 10:41:24 +0000 (10:41 +0000)]
[CMAKE]
- Sync the recent crt changes from trunk.
- Improve crt build.

svn path=/branches/cmake-bringup/; revision=48541

13 years ago[CMAKE]
Amine Khaldi [Sat, 14 Aug 2010 10:34:01 +0000 (10:34 +0000)]
[CMAKE]
- I forgot to link to the wine lib instead of its compiled lib (I have it locally to avoid recompiling it).

svn path=/branches/cmake-bringup/; revision=48540

13 years ago[CMAKE]
Amine Khaldi [Sat, 14 Aug 2010 10:32:00 +0000 (10:32 +0000)]
[CMAKE]
- Improve advapi32 build.

svn path=/branches/cmake-bringup/; revision=48539

13 years ago[CMAKE]
Amine Khaldi [Sat, 14 Aug 2010 10:11:52 +0000 (10:11 +0000)]
[CMAKE]
- Don't include debug.c in libwine.

svn path=/branches/cmake-bringup/; revision=48538

13 years ago[CMAKE]
Amine Khaldi [Sat, 14 Aug 2010 10:10:21 +0000 (10:10 +0000)]
[CMAKE]
- Add an MSVC compatible definition file for msvcrt.
- Temporarily add the msvcrt import library (until RosBE ships with one).
- Group msvcrt wine stubs into msvcrt_stubs.c
- Add msvcrt to build.

svn path=/branches/cmake-bringup/; revision=48537

13 years ago[WINLOGON]
Aleksey Bragin [Fri, 13 Aug 2010 22:02:17 +0000 (22:02 +0000)]
[WINLOGON]
- NtInitializeRegistry expects not just CM_BOOT_FLAG_ACCEPTED, but a number of the accepted control set to be added to it. After fixing this, NtInitializeRegistry won't fail with STATUS_INVALID_PARAMETER (someone should check return status for errors...) anymore. As a result lazy flushing is enabled.

svn path=/trunk/; revision=48536

13 years ago[CMAKE]
Amine Khaldi [Fri, 13 Aug 2010 16:55:07 +0000 (16:55 +0000)]
[CMAKE]
- Add calc to build.

svn path=/branches/cmake-bringup/; revision=48535

13 years ago[CMAKE]
Amine Khaldi [Fri, 13 Aug 2010 16:36:38 +0000 (16:36 +0000)]
[CMAKE]
- Add an MSVC compatible definition file for user32.
- Temporarily add the user32 import library (until RosBE ships with one).
- Group user32 wine stubs into user32_stubs.c
- Add user32 to build.

svn path=/branches/cmake-bringup/; revision=48534

13 years ago[CMAKE]
Amine Khaldi [Fri, 13 Aug 2010 16:27:15 +0000 (16:27 +0000)]
[CMAKE]
- Add an MSVC compatible definition file for gdi32.
- Temporarily add the gdi32 import library (until RosBE ships with one).
- Add gdi32 to build.

svn path=/branches/cmake-bringup/; revision=48533

13 years ago[CMAKE]
Amine Khaldi [Fri, 13 Aug 2010 15:41:14 +0000 (15:41 +0000)]
[CMAKE]
- Add an MSVC compatible definition file for advapi32.
- Temporarily add the advapi32 import library (until RosBE ships with one).
- Group advapi32 wine stubs into advapi32_stubs.c
- Add advapi32 to build.

svn path=/branches/cmake-bringup/; revision=48532

13 years ago[CMAKE]
Amine Khaldi [Fri, 13 Aug 2010 14:56:34 +0000 (14:56 +0000)]
[CMAKE]
- Add an MSVC compatible definition file.
- Temporarily add the kernel32 import library (until RosBE ships with one).
- Group kernel32 wine stubs into kernel32_stubs.c
- Add kernel32 to build.

svn path=/branches/cmake-bringup/; revision=48531

13 years ago[CMAKE]
Amine Khaldi [Fri, 13 Aug 2010 14:47:01 +0000 (14:47 +0000)]
[CMAKE]
- Sync kernel32 with trunk.

svn path=/branches/cmake-bringup/; revision=48530

13 years ago[NDK]
Amine Khaldi [Fri, 13 Aug 2010 14:12:45 +0000 (14:12 +0000)]
[NDK]
- Mark DbgUiWaitStateChange as NTSYSAPI.
[CMAKE]
- Don't create an import library for ntdll, we'll ship with one.
- Temporarily add the ntdll import library (until RosBE ships with one).
- Make the definition file MSVC compatible.
- Include every object file in librtl when linking.
- NTDLL now compiles successfully with the MSVC compatible definition file.

svn path=/branches/cmake-bringup/; revision=48529

13 years ago[CMAKE]
Amine Khaldi [Fri, 13 Aug 2010 14:02:58 +0000 (14:02 +0000)]
[CMAKE]
- Automatically choose the image base for DLLs.
- Improve RC compiler invocation.
- Add and apply the global linker script.

svn path=/branches/cmake-bringup/; revision=48528

13 years ago[CMAKE]
Amine Khaldi [Fri, 13 Aug 2010 13:54:13 +0000 (13:54 +0000)]
[CMAKE]
- Skip creating makefile rules for pre-processed files (object.i) and assembly files (object.s).
- Improve inclusions.
- Add -fno-set-stack-executable.
- Add C++ Flags.

svn path=/branches/cmake-bringup/; revision=48527

13 years ago[FASTFAT_NEW]
Aleksey Bragin [Thu, 12 Aug 2010 21:59:22 +0000 (21:59 +0000)]
[FASTFAT_NEW]
- Implement asynchronous and delayed close operations.
- Fix a logical bug in FatiClose code, which led to always closing the file object (and freeing respective FCB/VCB/CCB), and then checking flags and queuing a delayed close. Instead, it should only try to close if it's not marked as a delayed close.
- Support stuff added (queues, mutex for closing lists, etc).
- Misc cleanup, debug silencing.

svn path=/trunk/; revision=48525

13 years ago- I hate catching these things as the commit is going out
Cameron Gutman [Thu, 12 Aug 2010 13:15:35 +0000 (13:15 +0000)]
- I hate catching these things as the commit is going out

svn path=/trunk/; revision=48523

13 years ago[MSAFD]
Cameron Gutman [Thu, 12 Aug 2010 13:13:19 +0000 (13:13 +0000)]
[MSAFD]
- Update lpcbBytesReturned when FIONREAD is called
- Fix the value inside lpErrno when XxxSocketInformation() fails
- Pass the unrecognized IOCTLs to the winsock helper (no behavior change for this yet because wshtcpip's WSHIoctl is unimplemented)

svn path=/trunk/; revision=48522

13 years ago[FASTFAT_NEW]
Aleksey Bragin [Wed, 11 Aug 2010 12:18:24 +0000 (12:18 +0000)]
[FASTFAT_NEW]
- Plug in a commented out notification call in case of cleanup.
- Implement a case of device info query.
- Implement lock control.

svn path=/trunk/; revision=48518

13 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 11 Aug 2010 01:22:06 +0000 (01:22 +0000)]
[NTOSKRNL]
Stop using the new paged pool code, before ExpLoadInitialProcess is called. For so far unknown reasons, it causes evil things to happen. Fixes "Assertion NewSize < pool->UserSize failed"
See issue #5551 for more details.

svn path=/trunk/; revision=48517

13 years ago[DDK]
Amine Khaldi [Tue, 10 Aug 2010 20:50:55 +0000 (20:50 +0000)]
[DDK]
- De-duplicate __GNU_EXTENSION.
- Apply a consistent formatting.

svn path=/trunk/; revision=48514

13 years ago[FASTFAT]
Aleksey Bragin [Tue, 10 Aug 2010 20:08:31 +0000 (20:08 +0000)]
[FASTFAT]
Pierre Schweitzer
- Fix volume opening on FAT volume. Commented out a directory check as it doesn't match realized tests, in spite of what's in WDK.

svn path=/trunk/; revision=48513

13 years ago[XDK]
Amine Khaldi [Tue, 10 Aug 2010 13:53:10 +0000 (13:53 +0000)]
[XDK]
- Introduce some _ANONYMOUS_STRUCT and NONAMELESSUNION based definitions.
[DDK]
- Update XDK generated headers to reflect the recent changes.
- Update some header guards.
- Add some missing new lines at the end of files.
- Fix PUSB_DEVICE_HANDLE guard.
- Introduce some _ANONYMOUS_STRUCT and NONAMELESSUNION based definitions.
[PSDK]
- Update some header guards.
- Add missing new line at the end of driverspecs.h
[NDIS]
- Update the ndis header guard.

svn path=/trunk/; revision=48511

13 years ago[PSDK]
Amine Khaldi [Tue, 10 Aug 2010 11:27:27 +0000 (11:27 +0000)]
[PSDK]
- Add some missing headers' headers.

svn path=/trunk/; revision=48510

13 years ago[PSDK]
Amine Khaldi [Tue, 10 Aug 2010 10:25:10 +0000 (10:25 +0000)]
[PSDK]
- Add WINELIB_NAME_AW and DECL_WINELIB_TYPE_AW to the wine specific imm.h.

svn path=/trunk/; revision=48509

13 years ago[WS2_32]
Cameron Gutman [Tue, 10 Aug 2010 07:14:42 +0000 (07:14 +0000)]
[WS2_32]
- Fix a crash when running with ws2_32 debugging on

svn path=/trunk/; revision=48507

13 years agoAdd include guards in wine/ddk/imm.h and inlude it from wine/imm.h
Timo Kreuzer [Tue, 10 Aug 2010 01:08:03 +0000 (01:08 +0000)]
Add include guards in wine/ddk/imm.h and inlude it from wine/imm.h

svn path=/trunk/; revision=48503

13 years ago[PSDK]
Amine Khaldi [Tue, 10 Aug 2010 00:46:27 +0000 (00:46 +0000)]
[PSDK]
- Move INPUTCONTEXT and ImmLockIMC to the wine imm.h
- Add wingdi.h inclusion.

svn path=/trunk/; revision=48502