Commit graph

49669 commits

Author SHA1 Message Date
Cameron Gutman cc334002e9 [NTOSKRNL]
- Only return the dirty bit if the PTE is actually valid
- Avoid an unneeded TLB flush when setting the dirty bit

svn path=/trunk/; revision=54993
2012-01-17 18:06:53 +00:00
Rafal Harabien 292cd6d2b7 [WININET]
- Don't use shell32 functions when processing DLL_PROCESS_ATTACH because shell32.dll can be initialized later. Fixes shell32+wininet debug spam at boot.

svn path=/trunk/; revision=54992
2012-01-17 17:59:26 +00:00
Rafal Harabien a058f2e9f9 [SHELL32]
- Improve formatting in shelllink.cpp
- Load shortcut icon in property page

svn path=/trunk/; revision=54991
2012-01-17 17:57:23 +00:00
Alex Ionescu 3735acec50 Fix boot. The fact this fixes it should worry about the state of CSRSS...
svn path=/trunk/; revision=54990
2012-01-17 17:42:47 +00:00
Rafal Harabien 3ea87d4d2b [SHELL32]
- Remove useless function

svn path=/trunk/; revision=54989
2012-01-17 16:49:39 +00:00
Cameron Gutman 5bed4995b4 [NTOSKRNL]
- Deallocate the process page directory when destroying its address space (removed in r48233 and now resurrected in a version compatible with ARM3)
- Fixes leaking system pages on each process exit (868 MC_SYSTEM pages were allocated just sitting at the desktop on livecd without the patch, only 187 with the patch)

svn path=/trunk/; revision=54988
2012-01-17 07:03:46 +00:00
Eric Kohl c114281942 [EVENTLOG]
- LogfCreate: Use NtCreateFile instead of CreateFile
- Implement ElfCreateBackupLogHandle

svn path=/trunk/; revision=54987
2012-01-16 23:23:29 +00:00
Alex Ionescu 3b7a2e8b40 [KERNEL32]: Reimplement BasePushProcessParameters for future extensibility, also cleanup some code paths and fix a few bugs.
[KERNEL32]: Add some more SXS and CSRSS structures.

svn path=/trunk/; revision=54986
2012-01-16 21:27:50 +00:00
Rafal Harabien e7f2a28453 [SHELL32]
- Load shell extensions from Directory key only for file system directories. Fixes New menu being added to special folders context menu (for example My Computer or Control Panel)
- Load shell extensions from AllFilesystemObjects only for files and directories
- Hardcode special folders attributes in proper place

svn path=/trunk/; revision=54985
2012-01-16 19:54:24 +00:00
Amine Khaldi 1c69ba02dd [DDK]
* Add fltuser.h

svn path=/trunk/; revision=54983
2012-01-15 20:29:11 +00:00
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