Commit graph

49669 commits

Author SHA1 Message Date
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
Timo Kreuzer 90a6256ef8 [PSDK]
Remove a deprecated definition from winddi.h

svn path=/trunk/; revision=54921
2012-01-12 14:32:43 +00:00
Timo Kreuzer 7e9e5c272b [PSDK]
- Add some missing definitions (Vista+) to winddi.h
- Fix and improve annotations in winddi.h

svn path=/trunk/; revision=54920
2012-01-12 13:24:32 +00:00
Timo Kreuzer 10947637fa [PSDK]
Rewrite sal.h so that it actually works with __desclspec()

svn path=/trunk/; revision=54919
2012-01-12 12:52:33 +00:00
Cameron Gutman 0286bc6dc3 [PCNET]
- Remove an incorrect comment

svn path=/trunk/; revision=54918
2012-01-12 03:16:48 +00:00
Cameron Gutman 3a504014d4 - Merge 54895, 54896, 54899, 54912, 54913, 54915, and 54916 from wlan-bringup
svn path=/trunk/; revision=54917
2012-01-12 03:12:49 +00:00
Cameron Gutman ff8d0071db - Remove a forgotten debug print
svn path=/branches/wlan-bringup/; revision=54916
2012-01-12 02:25:56 +00:00
Cameron Gutman 8828d269af [DHCPCSVC]
- Remove timeouts associated with the protocol in remove_protocol()

svn path=/branches/wlan-bringup/; revision=54915
2012-01-12 02:11:02 +00:00
Cameron Gutman 6a5a77ea59 [WLANCONF]
- Release the current IP address before disconnecting from an AP
- Refresh the IP information after connecting to an AP

svn path=/branches/wlan-bringup/; revision=54914
2012-01-12 01:46:15 +00:00
Cameron Gutman c4fcda78d4 [DHCPCSVC]
- Delete the existing default gateway when releasing DHCP IP or transitioning to static IP
- Fixes bug #6205

svn path=/branches/wlan-bringup/; revision=54913
2012-01-11 23:38:48 +00:00
Cameron Gutman 12f1e92c72 [DHCPCSVC]
- Fix ipconfig hang with ipconfig /renew and ipconfig /release
- Fix duplicate protocol entries being added for the same adapter
- Use WSAEventSelect and WaitForMultipleObjects to manage waiting between timeouts, adapter state changes, and incoming packets

svn path=/branches/wlan-bringup/; revision=54912
2012-01-11 22:24:49 +00:00
Rafal Harabien b56fc432c1 [SHELL32]
- Register CDrvDefExt
- Add application icon and "Change..." button to file properties dialog. Patch by EDIJS (#6817)

svn path=/trunk/; revision=54911
2012-01-11 22:08:04 +00:00
Rafal Harabien 87f7c2cb47 [SHELL32]
- Move drive default property sheet pages to CDrvDefExt shell extension
- Read cleanup mgr path from registry
- Fix default extension being released in wrong moment

svn path=/trunk/; revision=54910
2012-01-11 21:58:47 +00:00
Rafal Harabien 68cdddaa2f [FMIFS]
- Make header C++ friendly

svn path=/trunk/; revision=54909
2012-01-11 21:31:52 +00:00
Rafal Harabien bc92eceb86 [SHELL32]
- Add CLSID_ShellFileDefExt, CLSID_ShellDrvDefExt, CLSID_ShellNetDefExt GUIDs
- Move File Properties default pages to CFileDefExt

svn path=/trunk/; revision=54908
2012-01-11 20:20:01 +00:00
Rafal Harabien d0b26386cd [SHELL32]
- Display application description in Opens With field of File Properties dialog
- Minor improvements

svn path=/trunk/; revision=54907
2012-01-11 14:13:14 +00:00
Rafal Harabien 64760a47a1 [SHELL32]
- Don't check exe files for Open With application
- If application is invalid display proper text
- Properly handle application parameters and quotes when parsing application command. Patch by EDIJS, improved by me.
See issue #6770 for more details.

svn path=/trunk/; revision=54906
2012-01-10 19:57:53 +00:00
Rafal Harabien d8433417af [SHELL32]
- Simplify and fix getting file type description and icon in File Properties dialog
- Apply EDIJS's patch for scrolling text in location field on File Properties dialog (#6807)

svn path=/trunk/; revision=54905
2012-01-10 17:56:43 +00:00
Rafal Harabien 822e0f32da [SHELL32]
- Make File Properties code safer and better
- Change version information when it user selects item in listbox (in previous version user had to double click)
- Show filename only in Open With dialog. Part of patch by EDIJS (#6772)

svn path=/trunk/; revision=54904
2012-01-10 16:53:46 +00:00
Rafal Harabien 95da52581a [SHELL32]
- Formatting + changed few declarations.

svn path=/trunk/; revision=54903
2012-01-10 16:01:13 +00:00
Rafal Harabien d35c3eedcb - Fix year in all files copyright info
- Replace tabs by spaces

svn path=/trunk/; revision=54902
2012-01-10 15:34:28 +00:00
Timo Kreuzer 9dd162b0ac [WIN32K]
- Fix parameter to DrvEnablePDEV
- improve DPRINTs

svn path=/trunk/; revision=54901
2012-01-10 14:59:23 +00:00
Timo Kreuzer dfc99f6701 [PSDK]
- add annotations to winddi.h
- use function types for Drv* declarations

svn path=/trunk/; revision=54900
2012-01-10 14:47:43 +00:00
Cameron Gutman 83a2fb2da4 [DHCPCSVC]
- Make AdapterDiscoveryThread run in its own thread (duh?)

svn path=/branches/wlan-bringup/; revision=54899
2012-01-10 02:18:04 +00:00
Cameron Gutman 715350ea7c [WLANCONF]
- Return to using OID_GEN_PHYSICAL_MEDIUM to determine if an adapter supports WLAN

svn path=/branches/wlan-bringup/; revision=54898
2012-01-10 02:09:56 +00:00
Cameron Gutman 8b006f72fd [NDISUIO]
- Store the correct length in Irp->IoStatus.Information so bytes don't get chopped off
- Fix multiple bugs in the receive path (which now works correctly)
[WLANCONF]
- Use the correct length for NDIS requests
- Indicate success to the console for -c or -d
- Print current association info if called with no parameters

svn path=/branches/wlan-bringup/; revision=54897
2012-01-10 01:52:18 +00:00
Cameron Gutman d8403c17ca [NDIS]
- NdisGetCurrentSystemTime can be called at any IRQL
- Fixes assertions running the RTL8185 driver

svn path=/branches/wlan-bringup/; revision=54896
2012-01-10 01:23:35 +00:00
Cameron Gutman 9f0044039b [PCNET]
- Apply the same hack for OID_GEN_MEDIA_CONNECT_STATUS as we did for OID_GEN_HARDWARE_STATUS (since media state detection is broken for certain adapters)
[DHCPCSVC]
- Keep the adapter thread running to handle media state changes
[TCPIP]
- Fix media state detection which was totally broken because it was using the wrong OID

svn path=/branches/wlan-bringup/; revision=54895
2012-01-10 00:44:16 +00:00
Rafal Harabien 0c953875b4 [SHELL32]
- Add item icons to New menu
- Fix some leaks in New menu
- Properly handle New Folder and New Link items

svn path=/trunk/; revision=54894
2012-01-09 23:01:01 +00:00
Sylvain Petreolle d788826576 [SVCHOST]
Convert to Unicode.
Fix buffer overruns and bad maths when UNICODE is defined.

Patch by Samuel Serapion.

svn path=/trunk/; revision=54893
2012-01-09 22:47:16 +00:00