Commit graph

49609 commits

Author SHA1 Message Date
Amine Khaldi cb7b48735d [PORTCLS]
* Fix a bug which closed an already invalid handle.
* Allow only general registry keys to be deleted.
* Do not close a key twice in the error case.

svn path=/trunk/; revision=54982
2012-01-15 20:27:15 +00:00
Cameron Gutman 37e9364cdd - Merge r54980 from wlan-bringup
svn path=/trunk/; revision=54981
2012-01-15 19:53:52 +00:00
Cameron Gutman a2acf8b4b2 [NETCFGX]
- Notify the DHCP service when a static IP address is assigned to an adapter

svn path=/branches/wlan-bringup/; revision=54980
2012-01-15 19:46:14 +00:00
Rafal Harabien 99b2e3df40 [SHELL32]
- Improve code readability in defcontextmenu.cpp
- Fix few leaks
- Properly handle reference count when creating objects

svn path=/trunk/; revision=54979
2012-01-15 19:45:02 +00:00
Amine Khaldi 04acd45a57 [DDK]
* Don't include wdm.h twice in portcls.h.

svn path=/trunk/; revision=54978
2012-01-15 19:10:19 +00:00
Rafal Harabien 8f70e43420 [SHELL32]
- Don't load shell extensions from * key for background context menu. Fixes #6668 (background context menu not working after installing Notepad++)
- Properly set pidlFolder argument in extensions Initialize function call
- Fix openwithmenu.rgs file creating two keys instead of one

svn path=/trunk/; revision=54977
2012-01-15 16:45:36 +00:00
Pierre Schweitzer ea28cf9d0d [RAPPS]
Update FireFox links.
Convert CreateCabFile.bat to CreateCabFile.sh

svn path=/trunk/; revision=54976
2012-01-15 15:22:28 +00:00
Alex Ionescu a633ce1b38 Note, none of this code is being used/called yet.
[KERNEL32]: Implement BasepSxsCloseHandles, BasepReplaceProcessThreadTokens, BasepIsProcessAllowed, BasepCheckWebBladeHashes, BasepIsImageVersionOk which will be needed for the future CreateProcess re-implementation. These functions partly support SxS, Safer (Authz) and Application Certification features added in XP/2003. We also emulate support for Computer Server, Web Blade Server and Embedded ReactOS. The last function does correct image version checks to prevent invalid binaries from running.
[KERNEL32]: Implement BaseUpdateVDMEntry and BaseCheckForVDM using the new CSRSS messages (not implemented on the server-side yet). Stubplement BaseCheckVDM. These will be needed for future VDM-stub-support (primarly so we can run 16-bit installers).
[KERNEL32]: Implement BasepFreeAppCompatData, BasepCheckBadapp, and IsShimInfrastructureDisabled (exported as BaseIsAppcompatInfrastructureDisabled). These stub most of the required/exported application compatibility APIs, as long as someone sets DisableAppCompat in \\Registry\\MACHINE\\System\\CurrentControlSet\\Control\\Session Manager\\AppCompatibility.

svn path=/trunk/; revision=54975
2012-01-15 14:49:49 +00:00
Rafal Harabien d98246b122 [SHELL32]
- Add New menu to context menu handlers. Fixes regression introduced by r54959.
- Remove unwanted files
See issue #6823 for more details.

svn path=/trunk/; revision=54974
2012-01-15 14:25:11 +00:00
Rafal Harabien e09723d6ba [SHELL32]
- Revert r54967. Test bots should already work.

svn path=/trunk/; revision=54973
2012-01-15 13:38:59 +00:00
Rafal Harabien fedd178564 [INTL]
- Add DPRINTs to track possible unattended setup timeouts

svn path=/trunk/; revision=54972
2012-01-15 13:37:25 +00:00
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