Commit graph

49797 commits

Author SHA1 Message Date
Rafal Harabien cb74343620 [SYSSETUP]
- Fix GetRosInstallCD - GetLogicalDriveStringsW returns drive paths, not letters.
- When building intl.cpl command line for unattended setup don't use %S - swprint interprets it as multi-byte string. Use "%s" instead. This bug caused yesterdays KVM problems.

svn path=/trunk/; revision=54971
2012-01-15 13:24:26 +00:00
Amine Khaldi e94b30cdf1 [DDK]
* Add fltuserstructures.h

svn path=/trunk/; revision=54970
2012-01-15 10:11:22 +00:00
Amine Khaldi 6c47d1fade [PORTCLS]
* Initializes object attributes with correct handle attributes.
* Use the provided access rights and create options.
See issue #5934 for more details.

svn path=/trunk/; revision=54969
2012-01-15 10:10:54 +00:00
Alex Ionescu 4a76b4fbe8 [NTDLL]: Add, export, and stubplement RtlComputeImportTableHash and document in NDK.
[NTDLL]: Use HANDLE instead of Win32 HKEY.
[NDK]: Add missing NtCreateProcessEx flags and some missing Ldr functions + missing RtlGetFullPathName_UstrEx.
[CSRSS]: Define two new CSRSS messages (not implemented): UpdateVdmEntry and GetVdmExitCode.

svn path=/trunk/; revision=54968
2012-01-15 03:16:00 +00:00
Rafal Harabien 4902210307 - Try to fix KVM
svn path=/trunk/; revision=54967
2012-01-15 00:59:29 +00:00
Cameron Gutman f679ffe173 - Merge 54929, 54930, 54932, 54933, 54934, 54939, 54941, 54942, 54944, 54945, 54946, and 54947
- The DHCP service now recognizes adapter configuration and media state changes without manual intervention
- Multiple bugs with a static IP configuration are fixed
- IpRenewAddress (ipconfig /renew) and IpReleaseAddress (ipconfig /release) no longer corrupt internal DHCP state
- Routes that cannot currently be resolved by ARP no longer become corrupted by the neighbor timeout

svn path=/trunk/; revision=54966
2012-01-14 19:42:58 +00:00
Eric Kohl c673f85060 [EVENTLOG]
- Fix a non-initialized variable.

svn path=/trunk/; revision=54965
2012-01-14 18:56:55 +00:00
Rafal Harabien fa989547b6 [SHELL32]
- If there is no default menu item, make Open With menu item the default, rename it to Open and disallow it to be submenu.
See issue #6801 for more details.

svn path=/trunk/; revision=54964
2012-01-14 17:50:33 +00:00
Amine Khaldi ac19035f70 [CMAKE]
* Set DBG to false in Release build type.
* Set _WINKD_ to false in Release build type for MSVC builds.

svn path=/trunk/; revision=54963
2012-01-14 17:31:20 +00:00
Amine Khaldi 17801390f6 [CMAKE/MSVC]
* Improve the way we set the debugging flags for debug and release build types.
* Don't generate debug info when we're in prefast mode and don't prefix with prefast when linking executables.
* We don't need to alter the c/c++ compiler variables in prefast mode anymore.

svn path=/trunk/; revision=54962
2012-01-14 17:27:17 +00:00
Amine Khaldi 9cc4152eb3 [XDK/DDK]
* Remove unneeded declarations.

svn path=/trunk/; revision=54961
2012-01-14 17:19:04 +00:00
Rafal Harabien c254d1b61b [SHELL32]
- Rewrite Control_DoLaunch. Now if cpl has only one applet, applet name/id is ignored
- When launching control panel applets always execute rundll32 instead of using static handlers from registry

svn path=/trunk/; revision=54960
2012-01-14 17:14:54 +00:00
Amine Khaldi 6b49e8c209 [SHELL32]
* Remove the loading new item service hack.
* Implement proper loading of dynamic background item context.

svn path=/trunk/; revision=54959
2012-01-14 17:03:40 +00:00
Amine Khaldi 654ebc6892 [SETUPAPI]
* Apply a default date of 00/00/0000 when DriverVer is missing. Should fix installation of drivers which do not provide a DriverVer directive.
See issue #6676 for more details.

svn path=/trunk/; revision=54958
2012-01-14 15:47:59 +00:00
Rafal Harabien 35da3cbf00 [SHELL32]
- Fix exception in shortcut properties dialog

svn path=/trunk/; revision=54957
2012-01-14 13:46:33 +00:00
Rafal Harabien d55ddcd563 [SHELL32]
- Implement changing filename in file properties dialog
- Fix changing volume label in drive properties dialog
- Remove WS_TABSTOP style from some read-only controls

svn path=/trunk/; revision=54956
2012-01-14 13:20:38 +00:00
Amine Khaldi 1629830cd9 [PSDK/PRFAST]
* Suppress warnings about duplicated model and inconsistent annotations.

svn path=/trunk/; revision=54955
2012-01-14 12:48:14 +00:00
Amine Khaldi 28c0503514 [CMAKE]
* Improve handling of linking executables in prefast mode.

svn path=/trunk/; revision=54954
2012-01-14 12:44:00 +00:00
Rafal Harabien a79949498a [FASTFAT]
- Fix DOSDATE struct declaration. Fixes invalid creation, last modified and accessed times on FAT volumes

svn path=/trunk/; revision=54953
2012-01-14 12:02:39 +00:00
Amine Khaldi 68df282e69 [PSDK]
* Stub _Kernel_acquires_resource_ and _Maybe_raises_SEH_exception_ annotations and add __maybenull_impl.

svn path=/trunk/; revision=54952
2012-01-14 11:27:20 +00:00
Amine Khaldi 8b47b1ead8 [DDK]
* Add fltwinerror.h

svn path=/trunk/; revision=54951
2012-01-14 11:16:50 +00:00
Amine Khaldi 370d6aadf7 [CMAKE]
* CreateBootSectorTarget2: Properly set the C compiler for both normal and prefast modes.

svn path=/trunk/; revision=54950
2012-01-14 11:15:33 +00:00
Amine Khaldi 4a3a3231c2 [NTOSKRNL]
* Use a different variable for the inside loop.

svn path=/trunk/; revision=54949
2012-01-14 11:14:40 +00:00
Rafal Harabien e33ae91647 [SHELL32]
- Move folder properties to CFileDefExt class and share as much code as possible. Now changing file attributes is implemented.
- Fix a warning (patch by EDIJS - #6821)
- Load property sheet handlers from "Directory" key

svn path=/trunk/; revision=54948
2012-01-13 23:41:09 +00:00
Cameron Gutman 36be6f512a [NETCFGX]
- Always flush default gateways because pOldConfig->Gw may be NULL if the adapter was DHCP configured

svn path=/branches/wlan-bringup/; revision=54947
2012-01-13 23:39:44 +00:00
Cameron Gutman 390f44b3f9 [TCPIP]
- Fix adding a static interface route

svn path=/branches/wlan-bringup/; revision=54946
2012-01-13 23:23:58 +00:00
Cameron Gutman 5335d1ce21 [DHCPCSVC]
- Adapt the reconnect hack to also enable DHCP when transitioning from static configuration to DHCP enabled via netcfgx

svn path=/branches/wlan-bringup/; revision=54945
2012-01-13 22:56:22 +00:00
Cameron Gutman ee49cc8fca [TCPIP]
- Queue a work item from the ProtocolStatus handler so we can refresh the state from the registry instead relying on hacks to track our state

svn path=/branches/wlan-bringup/; revision=54944
2012-01-13 22:38:28 +00:00
Kamil Hornicek fa7cafe95d [SERVMAN]
Improve the button bitmaps so they look consistent in both enabled and disabled state.

svn path=/trunk/; revision=54943
2012-01-13 21:47:22 +00:00
Cameron Gutman 456e73d4f5 [IPHLPAPI]
- Store the NTEContext in the IP address list so netcfgx can remove IP addresses
- Fixes routing after manually setting an IP address

svn path=/branches/wlan-bringup/; revision=54942
2012-01-13 20:55:26 +00:00
Cameron Gutman e1eb1ebd07 [IPHLPAPI]
- Fix incorrect interface indexes in the routing table returned from GetIpForwardTable

svn path=/branches/wlan-bringup/; revision=54941
2012-01-13 19:57:20 +00:00
Timo Kreuzer 67e4d0dc93 [PSDK]
- add missing stubs to driverspecs.h
- Add concurrencysal.h
- add some missing definitions to sal.h and specstrings.h

svn path=/trunk/; revision=54940
2012-01-13 19:01:47 +00:00
Cameron Gutman 1e5b7c244a [TCPIP]
- Configure route NCEs to never timeout to prevent them from falling out from under the routing code
- Fix a typo
- Fix detection of duplicate routes
[NETCFGX]
- Don't delete all routes for an interface when adding a default gateway

svn path=/branches/wlan-bringup/; revision=54939
2012-01-13 18:32:30 +00:00
Timo Kreuzer 6d4cdfa8a6 [XDK]
Fix build

svn path=/trunk/; revision=54938
2012-01-13 17:49:40 +00:00
Timo Kreuzer 717a730361 [XDK]
- Add some missing NTAPI
- move some types into appropriate headers
- make sure $endif is followed by (...)

svn path=/trunk/; revision=54937
2012-01-13 17:45:26 +00:00
Rafal Harabien 6041e7f0e9 [SHELL32]
- Display free and used space and capacity in bytes and gigabytes for all drives in drive properties dialog
- Format date and time in file properties according to system locale
- Initialize checkboxes in file properties dialog
- Improve polish translation

svn path=/trunk/; revision=54936
2012-01-13 17:42:27 +00:00
Amine Khaldi c5c4832280 [USBDRV]
* Mark dev_mgr_cancel_irp as NTAPI.

svn path=/trunk/; revision=54935
2012-01-13 14:34:28 +00:00
Cameron Gutman 8b3125261d [TCPIP]
- Fix a bug where a static IP configuration was not properly restored after a media state change

svn path=/branches/wlan-bringup/; revision=54934
2012-01-13 10:47:44 +00:00
Cameron Gutman e8b08a9dd8 [DHCPCSVC]
- Fix an issue assigning a private address after the IpReleaseAddress API was used prior to IpRenewAddress
- Move the IP refresh hack into dhcpcsvc so it now properly refresh IP information after an adapter is disconnected and reconnected (wired and wireless)
- When a state change occurs (connecting to a different wireless network or unplugging and plugging in the Ethernet cable), TCP/IP will flush routes and the neighbor cache then set the IP address to 0.0.0.0. DHCP will detect that IP address (that part is the hack since we do it via polling instead of events) then send a DHCP discover packet out via the new network connection. No more ipconfig /renew to get a new DHCP lease after network changes. It's all seamless now :D

svn path=/branches/wlan-bringup/; revision=54933
2012-01-13 10:03:38 +00:00
Cameron Gutman a8c61ab6c0 [TCPIP]
- Missed this file in r54930

svn path=/branches/wlan-bringup/; revision=54932
2012-01-13 09:45:17 +00:00
Cameron Gutman 0552bdfef6 [WLANCONF]
- Don't manually refresh IP information when connecting to a network

svn path=/branches/wlan-bringup/; revision=54931
2012-01-13 09:43:16 +00:00
Cameron Gutman a7427b3bde [TCPIP]
- Fix crash during status indication

svn path=/branches/wlan-bringup/; revision=54930
2012-01-13 09:05:53 +00:00
Cameron Gutman 1ac7212b37 [TCPIP]
- Support media state changes properly

svn path=/branches/wlan-bringup/; revision=54929
2012-01-13 07:28:16 +00:00
Rafal Harabien 1888ec14b8 [SHELL32]
- Update file icon after rename operation
See issue #6815 for more details.

svn path=/trunk/; revision=54928
2012-01-12 22:26:50 +00:00
Rafal Harabien 4715b94b0c [SHELL32]
- Add "Description" string to resources. Don't show application file extension in Description field (for applications without version info). Patch by Edijs Kolesnikovis (#6819)
- Implement associated application icon loading in File Properties dialog
- Implement "Change" button in File Properties dialog

svn path=/trunk/; revision=54927
2012-01-12 21:43:46 +00:00
Rafal Harabien 665fe8fcb7 [SHELL32]
- Show drive icon in properties dialog
- Show nice pie chart for space usage

svn path=/trunk/; revision=54926
2012-01-12 20:10:35 +00:00
Rafal Harabien a55d842965 [SHELL32]
- Fix first chance exception if application has no strings in version info
- If Lang is not set use US English version info. Fixes WinRAR version info.
- Applications has Description filed instead of Opens With
- Load language in file version info

svn path=/trunk/; revision=54925
2012-01-12 16:32:02 +00:00
Timo Kreuzer 6fa29d2d3a [WIN32K]
Try to fix boot

svn path=/trunk/; revision=54924
2012-01-12 15:41:56 +00:00
Rafal Harabien 41a8364f1c [SHELL32]
- Fix copying files in New menu. Fixes WinRAR new items.
- Don't show message if copying file failed because empty file is already created

svn path=/trunk/; revision=54923
2012-01-12 14:47:26 +00:00
Timo Kreuzer dc8fff1c5a [WIN32K]
- Simplify BITMAP_CopyBitmap, by using the SURFOBJ members directly instead of calling BITMAP_GetObject.
- Use RtlCopyMemory directly in BITMAP_CopyBitmap and remove IntSetBitmapBits
- Improve prototype of GreCreateBitmap(Ex) by using ULONG instead of INT for the bitmap dimensions (negative values are invalid)
- remove a duplicated type definition

svn path=/trunk/; revision=54922
2012-01-12 14:42:59 +00:00