Commit graph

44419 commits

Author SHA1 Message Date
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
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
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
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
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