Commit graph

49562 commits

Author SHA1 Message Date
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
Timo Kreuzer cc92aa149f remove leftover spotted by Amine
svn path=/trunk/; revision=54892
2012-01-09 22:06:04 +00:00
Timo Kreuzer 6119fdaad4 [PSDK/DDK]
- Add MAX_NATURAL_ALIGNMENT, MEMORY_ALLOCATION_ALIGNMENT and PROBE_ALIGNMENT defintions to ntdef.h
- disable prefast warnings about banned api usage, dpc access and seh filter expression
- annotate string types (PSTR, etc) as _Null_terminated_

svn path=/trunk/; revision=54891
2012-01-09 21:55:56 +00:00
Cameron Gutman 82f59adac9 [WLANCONF]
- Display fractional rates correctly (5.5 Mbps for example)

svn path=/branches/wlan-bringup/; revision=54890
2012-01-09 20:19:33 +00:00
Cameron Gutman e1d32a01d0 [WLANCONF]
- Use a different method for determining if an adapter supports 802.11 networks so it works on drivers that don't implement OID_GEN_PHYSICAL_MEDIUM

svn path=/branches/wlan-bringup/; revision=54888
2012-01-09 03:17:23 +00:00
Cameron Gutman bb04662d80 [WLANCONF]
- Fix supported rate calculation

svn path=/branches/wlan-bringup/; revision=54887
2012-01-09 00:09:35 +00:00
Eric Kohl a3f9a8eb4c [EVENTLOG]
- Simplify ElfCreateEventLogHandle, ElfDeleteEventLogHandle and their callers.
- Implement ElfrOpenBELA and ElfrOpenBELW.
- Add ElfDeleteEventLogHandle stub.

svn path=/trunk/; revision=54886
2012-01-08 23:03:23 +00:00
Cameron Gutman acdfc26b00 [WLANCONF]
- Fix my bit shifting fail

svn path=/branches/wlan-bringup/; revision=54885
2012-01-08 22:48:08 +00:00