├── Home_FSInfo.jpg ├── Shared ├── Splash.pdn ├── Splash.png ├── FolderSize.pfx ├── SplashWpf.txt └── NamedTuple.ttinclude ├── FolderSize.WPF ├── Application.ico ├── CustomCommand.cs ├── StoryboardHolder.cs ├── FolderTreeDisplayMode.cs ├── app.config ├── NamedTuple.tt ├── App.xaml ├── App.xaml.cs ├── BubbleContentControl.cs ├── Properties │ └── AssemblyInfo.cs ├── Themes │ └── Generic.xaml ├── FolderSize.WPF.csproj ├── MainForm.xaml ├── NamedTuple.cs ├── MainForm.xaml.cs ├── DependencyProperties.tt ├── DependencyProperties.cs └── FolderTree.cs ├── FolderSizeWin32 ├── External │ └── 7z.exe ├── FolderSize.Win32.reg ├── FolderSizeWin32 │ ├── bug.bmp │ ├── stdafx.h │ ├── folder.cpp │ ├── folder.hpp │ ├── linear.cpp │ ├── linear.hpp │ ├── stdafx.cpp │ ├── theme.cpp │ ├── theme.hpp │ ├── win32.cpp │ ├── win32.hpp │ ├── targetver.h │ ├── utility.cpp │ ├── utility.hpp │ ├── versioninfo.h │ ├── FolderSizeWin32.rc │ ├── view_transform.cpp │ ├── view_transform.hpp │ ├── FolderSizeWin32.cpp │ ├── FolderSizeWin32.ico │ ├── Painter │ │ ├── painter.cpp │ │ └── painter.hpp │ ├── Traverser │ │ ├── traverser.cpp │ │ └── traverser.hpp │ ├── MainWindow │ │ └── main_window.cpp │ ├── FolderSizeIconDefinition.txt │ ├── FolderSizeWin32.vcxproj.filters │ ├── resource.h │ └── FolderSizeWin32.vcxproj ├── FolderSize.Win32.Info.pdn ├── FolderSize.Console │ ├── stdafx.h │ ├── targetver.h │ ├── FolderSize.Console.cpp │ ├── stdafx.cpp │ ├── FolderSize.Console.vcxproj.filters │ └── FolderSize.Console.vcxproj ├── InnoSetup │ └── FolderSize.Win32.iss ├── ReleaseNotes.txt ├── SetupBuildEnvironment │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── SetupBuildEnvironment.csproj │ └── Program.cs ├── License.txt ├── license.md └── FolderSizeWin32.sln ├── FolderSize.Common ├── FolderTraverser.cs ├── FolderTraverserJob.cs ├── Internal │ ├── FileData.cs │ ├── FindFiles.cs │ ├── ThreadSafeFlag.cs │ └── ThreadSafeCounter.cs ├── app.config ├── FolderSize.Common.csproj.user ├── NamedTuple.tt ├── Properties │ └── AssemblyInfo.cs ├── Folder.cs └── FolderSize.Common.csproj ├── .hgignore ├── README.md ├── FolderSize.WPF.sln ├── license.md ├── License.html ├── BuildProcessTemplates └── UpgradeTemplate.xaml └── FolderSize.WPF.4.5.resharper /Home_FSInfo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/Home_FSInfo.jpg -------------------------------------------------------------------------------- /Shared/Splash.pdn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/Shared/Splash.pdn -------------------------------------------------------------------------------- /Shared/Splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/Shared/Splash.png -------------------------------------------------------------------------------- /Shared/FolderSize.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/Shared/FolderSize.pfx -------------------------------------------------------------------------------- /FolderSize.WPF/Application.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSize.WPF/Application.ico -------------------------------------------------------------------------------- /FolderSize.WPF/CustomCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSize.WPF/CustomCommand.cs -------------------------------------------------------------------------------- /FolderSizeWin32/External/7z.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/External/7z.exe -------------------------------------------------------------------------------- /FolderSize.WPF/StoryboardHolder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSize.WPF/StoryboardHolder.cs -------------------------------------------------------------------------------- /FolderSize.Common/FolderTraverser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSize.Common/FolderTraverser.cs -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSize.Win32.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSize.Win32.reg -------------------------------------------------------------------------------- /FolderSize.Common/FolderTraverserJob.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSize.Common/FolderTraverserJob.cs -------------------------------------------------------------------------------- /FolderSize.Common/Internal/FileData.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSize.Common/Internal/FileData.cs -------------------------------------------------------------------------------- /FolderSize.Common/Internal/FindFiles.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSize.Common/Internal/FindFiles.cs -------------------------------------------------------------------------------- /FolderSize.WPF/FolderTreeDisplayMode.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSize.WPF/FolderTreeDisplayMode.cs -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/bug.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/bug.bmp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/stdafx.h -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSize.Win32.Info.pdn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSize.Win32.Info.pdn -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/folder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/folder.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/folder.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/folder.hpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/linear.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/linear.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/linear.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/linear.hpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/stdafx.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/theme.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/theme.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/theme.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/theme.hpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/win32.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/win32.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/win32.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/win32.hpp -------------------------------------------------------------------------------- /FolderSize.Common/Internal/ThreadSafeFlag.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSize.Common/Internal/ThreadSafeFlag.cs -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSize.Console/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSize.Console/stdafx.h -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/targetver.h -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/utility.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/utility.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/utility.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/utility.hpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/versioninfo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/versioninfo.h -------------------------------------------------------------------------------- /FolderSize.Common/Internal/ThreadSafeCounter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSize.Common/Internal/ThreadSafeCounter.cs -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSize.Console/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSize.Console/targetver.h -------------------------------------------------------------------------------- /FolderSizeWin32/InnoSetup/FolderSize.Win32.iss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/InnoSetup/FolderSize.Win32.iss -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/FolderSizeWin32.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/FolderSizeWin32.rc -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/view_transform.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/view_transform.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/view_transform.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/view_transform.hpp -------------------------------------------------------------------------------- /FolderSize.Common/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/FolderSizeWin32.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/FolderSizeWin32.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/FolderSizeWin32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/FolderSizeWin32.ico -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/Painter/painter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/Painter/painter.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/Painter/painter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/Painter/painter.hpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/Traverser/traverser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/Traverser/traverser.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/Traverser/traverser.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/Traverser/traverser.hpp -------------------------------------------------------------------------------- /FolderSize.WPF/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSize.Console/FolderSize.Console.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSize.Console/FolderSize.Console.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/MainWindow/main_window.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrange/FolderSize/HEAD/FolderSizeWin32/FolderSizeWin32/MainWindow/main_window.cpp -------------------------------------------------------------------------------- /FolderSizeWin32/ReleaseNotes.txt: -------------------------------------------------------------------------------- 1 | 1.1.0.0 - 2 | . Added show Inaccessible files. 3 | Shows only folders which contains files or folders that couldn't be read. 4 | . Fixed bug that prevented zoom to work when combobox has focus. 5 | 6 | Facebook users: 7 | Please use http://www.facebook.com/groups/foldersize for feedback. -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSize.Console/stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // FolderSize.Console.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /.hgignore: -------------------------------------------------------------------------------- 1 | syntax: regexp 2 | ^FolderSizeWin32/_ReSharper\.FolderSizeWin32/ 3 | syntax: regexp 4 | ^FolderSizeWin32/External/boost_1_46_1 5 | syntax: regexp 6 | /Debug/ 7 | syntax: regexp 8 | /Release/ 9 | syntax: regexp 10 | \.suo$ 11 | syntax: regexp 12 | \.user$ 13 | syntax: regexp 14 | \.ipch$ 15 | syntax: regexp 16 | \.sdf$ 17 | syntax: regexp 18 | \.opensdf$ 19 | -------------------------------------------------------------------------------- /FolderSize.WPF/NamedTuple.tt: -------------------------------------------------------------------------------- 1 | <# 2 | var tupleDefinitions = new [] 3 | { 4 | new NamedTupleClass 5 | { 6 | Name = "JobProgress", 7 | IsPublic = false, 8 | IsStruct = true, 9 | Properties = new [] 10 | { 11 | S.P("Guid" , "Id" ), 12 | S.P("long" , "NumberOfJobs" ), 13 | S.P("long" , "NumberOfFinishedJobs" ), 14 | }, 15 | }, 16 | }; 17 | #> 18 | <#@ include file="..\Shared\NamedTuple.ttinclude" #> 19 | -------------------------------------------------------------------------------- /FolderSize.Common/FolderSize.Common.csproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | en-US 16 | false 17 | 18 | -------------------------------------------------------------------------------- /FolderSize.WPF/App.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /FolderSize.Common/NamedTuple.tt: -------------------------------------------------------------------------------- 1 | <# 2 | var tupleDefinitions = new [] 3 | { 4 | new NamedTupleClass 5 | { 6 | Name = "CountAndSize", 7 | IsPublic = true, 8 | IsStruct = true, 9 | Properties = new [] 10 | { 11 | S.P("long" , "Count" ), 12 | S.P("long" , "Size" ), 13 | }, 14 | }, 15 | new NamedTupleClass 16 | { 17 | Name = "FolderInfo", 18 | IsPublic = false, 19 | IsStruct = true, 20 | Properties = new [] 21 | { 22 | S.P("int" , "Depth" ), 23 | S.P("long" , "Count" ), 24 | S.P("long" , "Size" ), 25 | }, 26 | }, 27 | new NamedTupleClass 28 | { 29 | Name = "SizeIndex", 30 | IsPublic = true, 31 | IsStruct = true, 32 | Properties = new [] 33 | { 34 | S.P("int" , "Depth" ), 35 | S.P("System.Collections.Generic.Dictionary" , "CountsAndSizes" ), 36 | 37 | }, 38 | }, 39 | }; 40 | #> 41 | <#@ include file="..\Shared\NamedTuple.ttinclude" #> 42 | -------------------------------------------------------------------------------- /FolderSize.WPF/App.xaml.cs: -------------------------------------------------------------------------------- 1 | /* **************************************************************************** 2 | * 3 | * Copyright (c) Mårten Rånge. 4 | * 5 | * This source code is subject to terms and conditions of the Microsoft Public License. A 6 | * copy of the license can be found in the License.html file at the root of this distribution. If 7 | * you cannot locate the Microsoft Public License, please send an email to 8 | * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 9 | * by the terms of the Microsoft Public License. 10 | * 11 | * You must not remove this notice, or any other, from this software. 12 | * 13 | * 14 | * ***************************************************************************/ 15 | 16 | using System; 17 | using System.Windows; 18 | 19 | namespace FolderSize.WPF 20 | { 21 | public partial class App 22 | { 23 | 24 | // ---------------------------------------------------------------------- 25 | 26 | public App() 27 | { 28 | AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; 29 | } 30 | 31 | // ---------------------------------------------------------------------- 32 | 33 | static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) 34 | { 35 | MessageBox.Show ( 36 | string.Format ( 37 | "We are sorry but a program fault occurred while running FolderSize.WPF\r\n{0}", 38 | e.ExceptionObject)); 39 | } 40 | 41 | // ---------------------------------------------------------------------- 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | FolderSize is intended to be a simple application to determine what folders takes up place on your machine and to present it to you graphically. 2 | 3 | * FolderSize.Win32.1.1.0.0 : [http://foldersize.codeplex.com/releases/view/65123](http://foldersize.codeplex.com/releases/view/65123) 4 | * Beta release, contains minor bugfixes and enhancements 5 | * FolderSize.Win32.1.0.7.0 : [http://foldersize.codeplex.com/releases/view/41473](http://foldersize.codeplex.com/releases/view/41473) 6 | * The current stable release 7 | * FolderSize.Win32 should work on all Windows versions from Windows XP and up without any extra installations 8 | * FolderSize.WPF : [http://foldersize.codeplex.com/releases/view/34675](http://foldersize.codeplex.com/releases/view/34675) 9 | * FolderSize.WPF requires .NET 3.5: [http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7](http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7) 10 | 11 | ## FolderSize.Win32 - Snapshot 12 | ![FSInfo](Home_FSInfo.jpg) 13 | 14 | # Roadmap FolderSize 15 | 16 | ## FolderSize.Win32 17 | * Status: Mature 18 | * A foldersize application written in C++ with the explicit intent to reduce the system requirements to a minimum to further reduce deployment pain. 19 | * For those that are interested the source is of course available from codeplex although you need boost to compile it ([www.boost.org](www.boost.org)). I will arrange a setup environment subproject later on. 20 | 21 | ## FolderSize.Console 22 | * Status: Stalled 23 | * A foldersize application written in C++ with the explicit intent to reduce the system requirements to a minimum to further reduce deployment pain. 24 | * Console UI to be usuable on headless windows servers 25 | 26 | -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSize.Console/FolderSize.Console.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 7 | 8 | 9 | {4885bbc5-9361-46e9-9286-f7c2a102f040} 10 | 11 | 12 | {e164129c-d9b0-4067-9c6e-a8e7b0395d24} 13 | 14 | 15 | 16 | 17 | 18 | 19 | Imported From FolderSizeWin32 20 | 21 | 22 | Imported From FolderSizeWin32 23 | 24 | 25 | Imported From FolderSizeWin32 26 | 27 | 28 | 29 | 30 | 31 | 32 | Imported From FolderSizeWin32 33 | 34 | 35 | Imported From FolderSizeWin32 36 | 37 | 38 | Imported From FolderSizeWin32 39 | 40 | 41 | -------------------------------------------------------------------------------- /FolderSize.WPF.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual Studio 2008 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FolderSize.WPF", "FolderSize.WPF\FolderSize.WPF.csproj", "{C8BB4701-80F5-4C72-8D5C-2D55C03180C8}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FolderSize.Common", "FolderSize.Common\FolderSize.Common.csproj", "{E011970A-F528-4EEB-819F-1858B9555F63}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release - Signed|Any CPU = Release - Signed|Any CPU 12 | Release|Any CPU = Release|Any CPU 13 | EndGlobalSection 14 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 15 | {C8BB4701-80F5-4C72-8D5C-2D55C03180C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 16 | {C8BB4701-80F5-4C72-8D5C-2D55C03180C8}.Debug|Any CPU.Build.0 = Debug|Any CPU 17 | {C8BB4701-80F5-4C72-8D5C-2D55C03180C8}.Release - Signed|Any CPU.ActiveCfg = Release - Signed|Any CPU 18 | {C8BB4701-80F5-4C72-8D5C-2D55C03180C8}.Release - Signed|Any CPU.Build.0 = Release - Signed|Any CPU 19 | {C8BB4701-80F5-4C72-8D5C-2D55C03180C8}.Release|Any CPU.ActiveCfg = Release|Any CPU 20 | {C8BB4701-80F5-4C72-8D5C-2D55C03180C8}.Release|Any CPU.Build.0 = Release|Any CPU 21 | {E011970A-F528-4EEB-819F-1858B9555F63}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 22 | {E011970A-F528-4EEB-819F-1858B9555F63}.Debug|Any CPU.Build.0 = Debug|Any CPU 23 | {E011970A-F528-4EEB-819F-1858B9555F63}.Release - Signed|Any CPU.ActiveCfg = Release - Signed|Any CPU 24 | {E011970A-F528-4EEB-819F-1858B9555F63}.Release - Signed|Any CPU.Build.0 = Release - Signed|Any CPU 25 | {E011970A-F528-4EEB-819F-1858B9555F63}.Release|Any CPU.ActiveCfg = Release|Any CPU 26 | {E011970A-F528-4EEB-819F-1858B9555F63}.Release|Any CPU.Build.0 = Release|Any CPU 27 | EndGlobalSection 28 | GlobalSection(SolutionProperties) = preSolution 29 | HideSolutionNode = FALSE 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Shared/SplashWpf.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/FolderSizeIconDefinition.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /FolderSize.Common/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | /* **************************************************************************** 2 | * 3 | * Copyright (c) Mårten Rånge. 4 | * 5 | * This source code is subject to terms and conditions of the Microsoft Public License. A 6 | * copy of the license can be found in the License.html file at the root of this distribution. If 7 | * you cannot locate the Microsoft Public License, please send an email to 8 | * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 9 | * by the terms of the Microsoft Public License. 10 | * 11 | * You must not remove this notice, or any other, from this software. 12 | * 13 | * 14 | * ***************************************************************************/ 15 | 16 | using System.Reflection; 17 | using System.Runtime.InteropServices; 18 | 19 | // General Information about an assembly is controlled through the following 20 | // set of attributes. Change these attribute values to modify the information 21 | // associated with an assembly. 22 | [assembly: AssemblyTitle("FolderSize.Common")] 23 | [assembly: AssemblyDescription("FolderSize.Common contains common functionality for FolderSize application")] 24 | [assembly: AssemblyConfiguration("")] 25 | [assembly: AssemblyCompany("")] 26 | [assembly: AssemblyProduct("")] 27 | [assembly: AssemblyCopyright("Copyright © Mårten Rånge 2009")] 28 | [assembly: AssemblyTrademark("")] 29 | [assembly: AssemblyCulture("")] 30 | 31 | // Setting ComVisible to false makes the types in this assembly not visible 32 | // to COM components. If you need to access a type in this assembly from 33 | // COM, set the ComVisible attribute to true on that type. 34 | [assembly: ComVisible(false)] 35 | 36 | // The following GUID is for the ID of the typelib if this project is exposed to COM 37 | [assembly: Guid("22ab9972-37bb-4144-8904-ab0d00a365c7")] 38 | 39 | // Version information for an assembly consists of the following four values: 40 | // 41 | // Major Version 42 | // Minor Version 43 | // Build Number 44 | // Revision 45 | // 46 | // You can specify all the values or you can default the Revision and Build Numbers 47 | // by using the '*' as shown below: 48 | [assembly: AssemblyVersion("1.0.*")] 49 | [assembly: AssemblyFileVersion("1.0.*")] 50 | -------------------------------------------------------------------------------- /FolderSize.WPF/BubbleContentControl.cs: -------------------------------------------------------------------------------- 1 | /* **************************************************************************** 2 | * 3 | * Copyright (c) Mårten Rånge. 4 | * 5 | * This source code is subject to terms and conditions of the Microsoft Public License. A 6 | * copy of the license can be found in the License.html file at the root of this distribution. If 7 | * you cannot locate the Microsoft Public License, please send an email to 8 | * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 9 | * by the terms of the Microsoft Public License. 10 | * 11 | * You must not remove this notice, or any other, from this software. 12 | * 13 | * 14 | * ***************************************************************************/ 15 | 16 | using System.Windows; 17 | using System.Windows.Controls; 18 | 19 | namespace FolderSize.WPF 20 | { 21 | partial class BubbleContentControl : ContentControl 22 | { 23 | static BubbleContentControl() 24 | { 25 | DefaultStyleKeyProperty.OverrideMetadata(typeof(BubbleContentControl), new FrameworkPropertyMetadata(typeof(BubbleContentControl))); 26 | } 27 | 28 | public override void OnApplyTemplate() 29 | { 30 | base.OnApplyTemplate(); 31 | 32 | var contentGrid = (FrameworkElement)GetTemplateChild("ContentGrid"); 33 | contentGrid.SizeChanged += ContentGridSizeChanged; 34 | } 35 | 36 | void ContentGridSizeChanged(object sender, SizeChangedEventArgs e) 37 | { 38 | var margin = ContentRectMargin; 39 | 40 | ContentRect = new Rect( 41 | margin.Left, 42 | margin.Top, 43 | e.NewSize.Width - margin.Left - margin.Right, 44 | e.NewSize.Height - margin.Bottom - margin.Top); 45 | } 46 | 47 | partial void OnContentRectMarginPropertyChangedPartial(Thickness oldValue, Thickness newValue) 48 | { 49 | var contentRect = ContentRect; 50 | 51 | ContentRect = new Rect( 52 | newValue.Left, 53 | newValue.Right, 54 | contentRect.Width - newValue.Left - newValue.Right + oldValue.Left + oldValue.Right, 55 | contentRect.Height - newValue.Top - newValue.Bottom + oldValue.Top + oldValue.Bottom 56 | ); 57 | 58 | } 59 | 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /FolderSize.WPF/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | /* **************************************************************************** 2 | * 3 | * Copyright (c) Mårten Rånge. 4 | * 5 | * This source code is subject to terms and conditions of the Microsoft Public License. A 6 | * copy of the license can be found in the License.html file at the root of this distribution. If 7 | * you cannot locate the Microsoft Public License, please send an email to 8 | * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 9 | * by the terms of the Microsoft Public License. 10 | * 11 | * You must not remove this notice, or any other, from this software. 12 | * 13 | * 14 | * ***************************************************************************/ 15 | 16 | using System.Reflection; 17 | using System.Resources; 18 | using System.Runtime.InteropServices; 19 | 20 | [assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.MainAssembly)] 21 | 22 | // General Information about an assembly is controlled through the following 23 | // set of attributes. Change these attribute values to modify the information 24 | // associated with an assembly. 25 | [assembly: AssemblyTitle("FolderSize.WPF")] 26 | [assembly: AssemblyDescription("")] 27 | [assembly: AssemblyConfiguration("")] 28 | [assembly: AssemblyCompany("")] 29 | [assembly: AssemblyProduct("")] 30 | [assembly: AssemblyCopyright("Copyright © Mårten Rånge 2009")] 31 | [assembly: AssemblyTrademark("")] 32 | [assembly: AssemblyCulture("")] 33 | 34 | // Setting ComVisible to false makes the types in this assembly not visible 35 | // to COM components. If you need to access a type in this assembly from 36 | // COM, set the ComVisible attribute to true on that type. 37 | [assembly: ComVisible(false)] 38 | 39 | // The following GUID is for the ID of the typelib if this project is exposed to COM 40 | [assembly: Guid("218837d8-71fd-4928-92bc-b9f34647a87b")] 41 | 42 | // Version information for an assembly consists of the following four values: 43 | // 44 | // Major Version 45 | // Minor Version 46 | // Build Number 47 | // Revision 48 | // 49 | [assembly: AssemblyVersion("1.0.*")] 50 | [assembly: AssemblyFileVersion("1.0.*")] 51 | [assembly: System.Windows.ThemeInfo(System.Windows.ResourceDictionaryLocation.None, System.Windows.ResourceDictionaryLocation.SourceAssembly)] 52 | -------------------------------------------------------------------------------- /FolderSizeWin32/SetupBuildEnvironment/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | /* **************************************************************************** 2 | * 3 | * Copyright (c) Mårten Rånge. 4 | * 5 | * This source code is subject to terms and conditions of the Microsoft Public License. A 6 | * copy of the license can be found in the License.html file at the root of this distribution. If 7 | * you cannot locate the Microsoft Public License, please send an email to 8 | * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 9 | * by the terms of the Microsoft Public License. 10 | * 11 | * You must not remove this notice, or any other, from this software. 12 | * 13 | * 14 | * ***************************************************************************/ 15 | 16 | using System.Reflection; 17 | using System.Runtime.CompilerServices; 18 | using System.Runtime.InteropServices; 19 | 20 | // General Information about an assembly is controlled through the following 21 | // set of attributes. Change these attribute values to modify the information 22 | // associated with an assembly. 23 | [assembly: AssemblyTitle("SetupBuildEnvironment")] 24 | [assembly: AssemblyDescription("")] 25 | [assembly: AssemblyConfiguration("")] 26 | [assembly: AssemblyCompany("Microsoft")] 27 | [assembly: AssemblyProduct("SetupBuildEnvironment")] 28 | [assembly: AssemblyCopyright("Copyright © Microsoft 2010")] 29 | [assembly: AssemblyTrademark("")] 30 | [assembly: AssemblyCulture("")] 31 | 32 | // Setting ComVisible to false makes the types in this assembly not visible 33 | // to COM components. If you need to access a type in this assembly from 34 | // COM, set the ComVisible attribute to true on that type. 35 | [assembly: ComVisible(false)] 36 | 37 | // The following GUID is for the ID of the typelib if this project is exposed to COM 38 | [assembly: Guid("ba0023cf-a973-4d99-a798-8cc6f4667665")] 39 | 40 | // Version information for an assembly consists of the following four values: 41 | // 42 | // Major Version 43 | // Minor Version 44 | // Build Number 45 | // Revision 46 | // 47 | // You can specify all the values or you can default the Build and Revision Numbers 48 | // by using the '*' as shown below: 49 | // [assembly: AssemblyVersion("1.0.*")] 50 | [assembly: AssemblyVersion("1.0.0.0")] 51 | [assembly: AssemblyFileVersion("1.0.0.0")] 52 | -------------------------------------------------------------------------------- /FolderSize.Common/Folder.cs: -------------------------------------------------------------------------------- 1 | /* **************************************************************************** 2 | * 3 | * Copyright (c) Mårten Rånge. 4 | * 5 | * This source code is subject to terms and conditions of the Microsoft Public License. A 6 | * copy of the license can be found in the License.html file at the root of this distribution. If 7 | * you cannot locate the Microsoft Public License, please send an email to 8 | * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 9 | * by the terms of the Microsoft Public License. 10 | * 11 | * You must not remove this notice, or any other, from this software. 12 | * 13 | * 14 | * ***************************************************************************/ 15 | 16 | using System.Collections.Generic; 17 | 18 | namespace FolderSize.Common 19 | { 20 | public class Folder 21 | { 22 | 23 | // ---------------------------------------------------------------------- 24 | 25 | public readonly string Path; 26 | public readonly string Name; 27 | public readonly long Size; 28 | public readonly long Count; 29 | public readonly CountAndSize CountAndSize; 30 | 31 | // ---------------------------------------------------------------------- 32 | 33 | List m_folders = new List(); 34 | 35 | // ---------------------------------------------------------------------- 36 | 37 | public Folder( 38 | string path, 39 | string name, 40 | long size, 41 | long count) 42 | { 43 | Path = path; 44 | Name = name; 45 | Size = size; 46 | Count = count; 47 | CountAndSize = CountAndSize.Create(Count, Size); 48 | } 49 | 50 | // ---------------------------------------------------------------------- 51 | 52 | public void SetFolder(List folders) 53 | { 54 | m_folders = folders; 55 | } 56 | 57 | // ---------------------------------------------------------------------- 58 | 59 | public override string ToString() 60 | { 61 | return Path; 62 | } 63 | 64 | // ---------------------------------------------------------------------- 65 | 66 | public IEnumerable Children 67 | { 68 | get 69 | { 70 | return m_folders; 71 | } 72 | } 73 | 74 | // ---------------------------------------------------------------------- 75 | 76 | } 77 | } -------------------------------------------------------------------------------- /FolderSizeWin32/License.txt: -------------------------------------------------------------------------------- 1 | Microsoft Public License (Ms-PL) 2 | This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 3 | 4 | 1. Definitions 5 | The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. A "contribution" is the original software, or any additions or changes to the software. A "contributor" is any person that distributes its contribution under this license. "Licensed patents" are a contributor's patent claims that read directly on its contribution. 6 | 7 | 2. Grant of Rights 8 | (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. 9 | 10 | (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. 11 | 12 | 3. Conditions and Limitations 13 | (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. 14 | 15 | (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. 16 | 17 | (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. 18 | 19 | (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. 20 | 21 | (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. 22 | -------------------------------------------------------------------------------- /FolderSizeWin32/SetupBuildEnvironment/SetupBuildEnvironment.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | x86 6 | 8.0.30703 7 | 2.0 8 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1} 9 | Exe 10 | Properties 11 | SetupBuildEnvironment 12 | SetupBuildEnvironment 13 | v4.0 14 | Client 15 | 512 16 | 17 | 18 | x86 19 | true 20 | full 21 | false 22 | ..\Output\Debug\ 23 | DEBUG;TRACE 24 | prompt 25 | 4 26 | 27 | 28 | x86 29 | pdbonly 30 | true 31 | ..\Output\Release\ 32 | TRACE 33 | prompt 34 | 4 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 57 | -------------------------------------------------------------------------------- /license.md: -------------------------------------------------------------------------------- 1 | Ms-PL 2 | Microsoft Public License (Ms-PL) 3 | 4 | This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 5 | 6 | 1. Definitions 7 | 8 | The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. 9 | 10 | A "contribution" is the original software, or any additions or changes to the software. 11 | 12 | A "contributor" is any person that distributes its contribution under this license. 13 | 14 | "Licensed patents" are a contributor's patent claims that read directly on its contribution. 15 | 16 | 2. Grant of Rights 17 | 18 | (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. 19 | 20 | (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. 21 | 22 | 3. Conditions and Limitations 23 | 24 | (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. 25 | 26 | (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. 27 | 28 | (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. 29 | 30 | (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. 31 | 32 | (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. -------------------------------------------------------------------------------- /FolderSizeWin32/license.md: -------------------------------------------------------------------------------- 1 | Ms-PL 2 | Microsoft Public License (Ms-PL) 3 | 4 | This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 5 | 6 | 1. Definitions 7 | 8 | The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. 9 | 10 | A "contribution" is the original software, or any additions or changes to the software. 11 | 12 | A "contributor" is any person that distributes its contribution under this license. 13 | 14 | "Licensed patents" are a contributor's patent claims that read directly on its contribution. 15 | 16 | 2. Grant of Rights 17 | 18 | (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. 19 | 20 | (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. 21 | 22 | 3. Conditions and Limitations 23 | 24 | (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. 25 | 26 | (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. 27 | 28 | (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. 29 | 30 | (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. 31 | 32 | (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/FolderSizeWin32.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {f2c8fc28-4153-42a8-adb6-c62054255769} 6 | 7 | 8 | {df3868c1-36fe-4704-b55d-ff67b2ba5113} 9 | 10 | 11 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 12 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 13 | 14 | 15 | {c3fc74bc-eb26-459b-b76d-7cdb6976d459} 16 | 17 | 18 | 19 | 20 | Resource Files 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | Painter 29 | 30 | 31 | Resource Files 32 | 33 | 34 | 35 | 36 | 37 | Traverser 38 | 39 | 40 | 41 | 42 | 43 | Resource Files 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | MainWindow 52 | 53 | 54 | Painter 55 | 56 | 57 | 58 | 59 | Traverser 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | Resource Files 68 | 69 | 70 | -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by FolderSizeWin32.rc 4 | // 5 | #define IDC_MYICON 2 6 | #define IDC_FOLDERSIZEWIN32 100 7 | #define IDM_GO_PAUSE 110 8 | #define IDM_STOP 111 9 | #define IDM_PATH 112 10 | #define IDM_FOLDERTREE 113 11 | #define IDM_BROWSE 114 12 | #define IDM_INFO 115 13 | #define IDM_SELECTOR 116 14 | #define IDM_SELECT_AND_FOCUS_PATH 117 15 | #define IDM_NEXT_SELECTOR 118 16 | #define IDM_PREVIOUS_SELECTOR 119 17 | #define IDB_BRAND_BITMAP 130 18 | 19 | #define IDC_WELCOME_MSG 200 20 | #define IDC_SIZE_CHOICE 210 21 | #define IDC_PHYSICAL_SIZE_CHOICE 211 22 | #define IDC_COUNT_CHOICE 212 23 | #define IDC_INACCESSIBLE_CHOICE 213 24 | 25 | #define IDC_FOLDERTREE_PROGRESS 220 26 | #define IDC_FOLDERTREE_INFO 221 27 | #define IDC_FOLDERTREE_MERGED 222 28 | 29 | #define IDC_ACTIVITY_LAST_HOUR 230 30 | #define IDC_ACTIVITY_LAST_1DAY 231 31 | #define IDC_ACTIVITY_LAST_7DAY 232 32 | #define IDC_ACTIVITY_LAST_31DAY 233 33 | #define IDC_ACTIVITY_LAST_365DAY 234 34 | #define IDC_NO_ACTIVITY 235 35 | 36 | #define IDC_MANY_FOLDERS 240 37 | 38 | //#define AMIGA_BRAND 39 | //#define BUG_SQUASHER_BRAND 40 | //#define WCOM_BRAND 41 | //#define ITEEGO_BRAND 42 | //#define VIT_BRAND 43 | //#define BITFROST_BRAND 44 | 45 | #ifdef AMIGA_BRAND 46 | # define BRAND_INFO_MESSAGE "Meditative Guru - Marcus Rosell" 47 | # define BRAND_BITMAP_FILENAME "amiga1_3.bmp" 48 | #endif 49 | 50 | #ifdef BUG_SQUASHER_BRAND 51 | # define BRAND_TITLE_MESSAGE "PRERELEASE : FolderSize.Win32 (" FOLDERSIZE_VERSION_AS_STRING ") - foldersize.codeplex.com" 52 | # define BRAND_INFO_MESSAGE "Bug squasher - Mårten Rånge" 53 | # define BRAND_BITMAP_FILENAME "bug.bmp" 54 | #endif 55 | 56 | #ifdef WCOM_BRAND 57 | # define BRAND_BITMAP_FILENAME "wcom.bmp" 58 | # define BRAND_INFO_MESSAGE "www.ipfax.se - www.virtualpbx.se - www.wcom.se" 59 | //# define BRAND_TITLE_MESSAGE "" 60 | #endif 61 | 62 | #ifdef ITEEGO_BRAND 63 | # define BRAND_BITMAP_FILENAME "iteego.bmp" 64 | # define BRAND_INFO_MESSAGE "ATG && e-commerce expert - www.iteego.com" 65 | //# define BRAND_TITLE_MESSAGE "" 66 | #endif 67 | 68 | #ifdef VIT_BRAND 69 | # define BRAND_BITMAP_FILENAME "VismaIT.bmp" 70 | # define BRAND_INFO_MESSAGE "Visma IT - to protect and to serve" 71 | //# define BRAND_TITLE_MESSAGE "" 72 | #endif 73 | 74 | #ifdef BITFROST_BRAND 75 | # define BRAND_BITMAP_FILENAME "Bitfrost.bmp" 76 | # define BRAND_INFO_MESSAGE "white tea - yellow tea - green tea - oolong tea - black tea - pu-erh tea" 77 | //# define BRAND_TITLE_MESSAGE "" 78 | #endif 79 | 80 | // Next default values for new objects 81 | // 82 | #ifdef APSTUDIO_INVOKED 83 | #ifndef APSTUDIO_READONLY_SYMBOLS 84 | #define _APS_NO_MFC 1 85 | #define _APS_NEXT_RESOURCE_VALUE 131 86 | #define _APS_NEXT_COMMAND_VALUE 300 87 | #define _APS_NEXT_CONTROL_VALUE 1000 88 | #define _APS_NEXT_SYMED_VALUE 200 89 | #endif 90 | #endif 91 | -------------------------------------------------------------------------------- /FolderSize.WPF/Themes/Generic.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 70 | 71 | -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSizeWin32.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FolderSizeWin32", "FolderSizeWin32\FolderSizeWin32.vcxproj", "{36C10D08-E32C-488C-B684-CF6B2A81209A}" 5 | ProjectSection(ProjectDependencies) = postProject 6 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1} = {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1} 7 | EndProjectSection 8 | EndProject 9 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupBuildEnvironment", "SetupBuildEnvironment\SetupBuildEnvironment.csproj", "{EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}" 10 | EndProject 11 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D5B4BADE-9185-4BE5-84C8-BFD2ED622362}" 12 | ProjectSection(SolutionItems) = preProject 13 | InnoSetup\FolderSize.Win32.iss = InnoSetup\FolderSize.Win32.iss 14 | License.txt = License.txt 15 | ReleaseNotes.txt = ReleaseNotes.txt 16 | EndProjectSection 17 | EndProject 18 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FolderSize.Console", "FolderSize.Console\FolderSize.Console.vcxproj", "{C043297E-5705-437F-976B-B2A712A769E0}" 19 | EndProject 20 | Global 21 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 22 | Debug|Mixed Platforms = Debug|Mixed Platforms 23 | Debug|Win32 = Debug|Win32 24 | Debug|x86 = Debug|x86 25 | Release|Mixed Platforms = Release|Mixed Platforms 26 | Release|Win32 = Release|Win32 27 | Release|x86 = Release|x86 28 | EndGlobalSection 29 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 30 | {36C10D08-E32C-488C-B684-CF6B2A81209A}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 31 | {36C10D08-E32C-488C-B684-CF6B2A81209A}.Debug|Mixed Platforms.Build.0 = Debug|Win32 32 | {36C10D08-E32C-488C-B684-CF6B2A81209A}.Debug|Win32.ActiveCfg = Debug|Win32 33 | {36C10D08-E32C-488C-B684-CF6B2A81209A}.Debug|Win32.Build.0 = Debug|Win32 34 | {36C10D08-E32C-488C-B684-CF6B2A81209A}.Debug|x86.ActiveCfg = Debug|Win32 35 | {36C10D08-E32C-488C-B684-CF6B2A81209A}.Release|Mixed Platforms.ActiveCfg = Release|Win32 36 | {36C10D08-E32C-488C-B684-CF6B2A81209A}.Release|Mixed Platforms.Build.0 = Release|Win32 37 | {36C10D08-E32C-488C-B684-CF6B2A81209A}.Release|Win32.ActiveCfg = Release|Win32 38 | {36C10D08-E32C-488C-B684-CF6B2A81209A}.Release|Win32.Build.0 = Release|Win32 39 | {36C10D08-E32C-488C-B684-CF6B2A81209A}.Release|x86.ActiveCfg = Release|Win32 40 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 41 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}.Debug|Mixed Platforms.Build.0 = Debug|x86 42 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}.Debug|Win32.ActiveCfg = Debug|x86 43 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}.Debug|x86.ActiveCfg = Debug|x86 44 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}.Debug|x86.Build.0 = Debug|x86 45 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}.Release|Mixed Platforms.ActiveCfg = Release|x86 46 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}.Release|Mixed Platforms.Build.0 = Release|x86 47 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}.Release|Win32.ActiveCfg = Release|x86 48 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}.Release|x86.ActiveCfg = Release|x86 49 | {EF6D2438-1950-49BD-9A22-CCDDD2A30BC1}.Release|x86.Build.0 = Release|x86 50 | {C043297E-5705-437F-976B-B2A712A769E0}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 51 | {C043297E-5705-437F-976B-B2A712A769E0}.Debug|Mixed Platforms.Build.0 = Debug|Win32 52 | {C043297E-5705-437F-976B-B2A712A769E0}.Debug|Win32.ActiveCfg = Debug|Win32 53 | {C043297E-5705-437F-976B-B2A712A769E0}.Debug|Win32.Build.0 = Debug|Win32 54 | {C043297E-5705-437F-976B-B2A712A769E0}.Debug|x86.ActiveCfg = Debug|Win32 55 | {C043297E-5705-437F-976B-B2A712A769E0}.Release|Mixed Platforms.ActiveCfg = Release|Win32 56 | {C043297E-5705-437F-976B-B2A712A769E0}.Release|Mixed Platforms.Build.0 = Release|Win32 57 | {C043297E-5705-437F-976B-B2A712A769E0}.Release|Win32.ActiveCfg = Release|Win32 58 | {C043297E-5705-437F-976B-B2A712A769E0}.Release|Win32.Build.0 = Release|Win32 59 | {C043297E-5705-437F-976B-B2A712A769E0}.Release|x86.ActiveCfg = Release|Win32 60 | EndGlobalSection 61 | GlobalSection(SolutionProperties) = preSolution 62 | HideSolutionNode = FALSE 63 | EndGlobalSection 64 | EndGlobal 65 | -------------------------------------------------------------------------------- /License.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
9 | 10 | 11 | 75 | 76 |
12 |

13 | Microsoft Public License (Ms-PL) 14 |

15 |

16 | This license governs use of the accompanying software. If you use the software, 17 | you accept this license. If you do not accept the license, do not use the software.

18 |

19 | 1. Definitions 20 |

21 |

22 | The terms "reproduce," "reproduction," "derivative works," 23 | and "distribution" have the same meaning here as under U.S. copyright 24 | law. A "contribution" is the original software, or any additions or changes 25 | to the software. A "contributor" is any person that distributes its contribution 26 | under this license. "Licensed patents" are a contributor's patent claims 27 | that read directly on its contribution.

28 |

29 | 2. Grant of Rights 30 |

31 |

32 | (A) Copyright Grant- Subject to the terms of this license, including the license 33 | conditions and limitations in section 3, each contributor grants you a non-exclusive, 34 | worldwide, royalty-free copyright license to reproduce its contribution, prepare 35 | derivative works of its contribution, and distribute its contribution or any derivative 36 | works that you create. 37 |

38 |

39 | (B) Patent Grant- Subject to the terms of this license, including the license conditions 40 | and limitations in section 3, each contributor grants you a non-exclusive, worldwide, 41 | royalty-free license under its licensed patents to make, have made, use, sell, offer 42 | for sale, import, and/or otherwise dispose of its contribution in the software or 43 | derivative works of the contribution in the software. 44 |

45 |

46 | 3. Conditions and Limitations 47 |

48 |

49 | (A) No Trademark License- This license does not grant you rights to use any contributors' 50 | name, logo, or trademarks. 51 |

52 |

53 | (B) If you bring a patent claim against any contributor over patents that you claim 54 | are infringed by the software, your patent license from such contributor to the 55 | software ends automatically. 56 |

57 |

58 | (C) If you distribute any portion of the software, you must retain all copyright, 59 | patent, trademark, and attribution notices that are present in the software. 60 |

61 |

62 | (D) If you distribute any portion of the software in source code form, you may do 63 | so only under this license by including a complete copy of this license with your 64 | distribution. If you distribute any portion of the software in compiled or object 65 | code form, you may only do so under a license that complies with this license. 66 |

67 |

68 | (E) The software is licensed "as-is." You bear the risk of using it. The 69 | contributors give no express warranties, guarantees or conditions. You may have 70 | additional consumer rights under your local laws which this license cannot change. 71 | To the extent permitted under your local laws, the contributors exclude the implied 72 | warranties of merchantability, fitness for a particular purpose and non-infringement. 73 |

74 |
77 | 78 | 79 | -------------------------------------------------------------------------------- /FolderSizeWin32/FolderSize.Console/FolderSize.Console.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {C043297E-5705-437F-976B-B2A712A769E0} 15 | Win32Proj 16 | FolderSizeConsole 17 | 18 | 19 | 20 | Application 21 | true 22 | Unicode 23 | 24 | 25 | Application 26 | false 27 | true 28 | Unicode 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | true 42 | ..\External\boost_1_46_1;$(IncludePath) 43 | $(SolutionDir)Output\$(Configuration)\ 44 | 45 | 46 | false 47 | ..\External\boost_1_46_1;$(IncludePath) 48 | $(SolutionDir)Output\$(Configuration)\ 49 | 50 | 51 | 52 | Use 53 | Level3 54 | Disabled 55 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 56 | MultiThreadedDebug 57 | 58 | 59 | Console 60 | true 61 | 62 | 63 | 64 | 65 | Level3 66 | Use 67 | MinSpace 68 | true 69 | true 70 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 71 | Size 72 | MultiThreaded 73 | 74 | 75 | Console 76 | true 77 | true 78 | true 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | Create 95 | Create 96 | 97 | 98 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /FolderSize.Common/FolderSize.Common.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Debug 4 | AnyCPU 5 | 9.0.30729 6 | 2.0 7 | {E011970A-F528-4EEB-819F-1858B9555F63} 8 | Library 9 | Properties 10 | FolderSize.Common 11 | FolderSize.Common 12 | 13 | 14 | 15 | 16 | 2.0 17 | v2.0 18 | publish\ 19 | true 20 | Disk 21 | false 22 | Foreground 23 | 7 24 | Days 25 | false 26 | false 27 | true 28 | 0 29 | 1.0.0.%2a 30 | false 31 | false 32 | true 33 | 34 | 35 | ..\Shared\FolderSize.pfx 36 | 37 | 38 | true 39 | full 40 | false 41 | bin\Debug\ 42 | DEBUG;TRACE 43 | prompt 44 | 4 45 | 46 | 47 | pdbonly 48 | true 49 | bin\Release\ 50 | TRACE 51 | prompt 52 | 4 53 | 54 | 55 | bin\Release - Signed\ 56 | TRACE 57 | true 58 | pdbonly 59 | AnyCPU 60 | true 61 | GlobalSuppressions.cs 62 | prompt 63 | true 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | True 76 | True 77 | NamedTuple.tt 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | False 86 | .NET Framework 2.0 %28x86%29 87 | true 88 | 89 | 90 | False 91 | .NET Framework 3.0 %28x86%29 92 | false 93 | 94 | 95 | False 96 | .NET Framework 3.5 97 | false 98 | 99 | 100 | 101 | 102 | FolderSize.pfx 103 | 104 | 105 | 106 | TextTemplatingFileGenerator 107 | NamedTuple.cs 108 | 109 | 110 | 111 | 112 | 113 | 114 | 121 | -------------------------------------------------------------------------------- /FolderSize.WPF/FolderSize.WPF.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Debug 4 | Test2 5 | FolderSize.WPF 6 | bin\$(Configuration)\ 7 | 1.0.0.* 8 | 0 9 | false 10 | WinExe 11 | FolderSize.WPF 12 | Application.ico 13 | DEBUG;TRACE 14 | {C8BB4701-80F5-4C72-8D5C-2D55C03180C8} 15 | v3.5 16 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 17 | 18 | 19 | 20 | 21 | 2.0 22 | ..\Shared\FolderSize.pfx 23 | Client 24 | 25 | 26 | true 27 | bin\Release\ 28 | 29 | 30 | pdbonly 31 | AnyCPU 32 | true 33 | 34 | 35 | true 36 | bin\Release - Signed\ 37 | true 38 | pdbonly 39 | AnyCPU 40 | true 41 | GlobalSuppressions.cs 42 | true 43 | 44 | 45 | true 46 | bin\Debug\ 47 | false 48 | pdbonly 49 | AnyCPU 50 | true 51 | GlobalSuppressions.cs 52 | TRACE;DEBUG 53 | 54 | 55 | 56 | 57 | 3.0 58 | 59 | 60 | 3.0 61 | 62 | 63 | 64 | 3.5 65 | 66 | 67 | 68 | 69 | 3.0 70 | 71 | 72 | 3.0 73 | 74 | 75 | MSBuild:Compile 76 | Designer 77 | 78 | 79 | App.xaml 80 | 81 | 82 | 83 | 84 | True 85 | True 86 | DependencyProperties.tt 87 | 88 | 89 | 90 | 91 | 92 | MainForm.xaml 93 | 94 | 95 | NamedTuple.tt 96 | True 97 | True 98 | 99 | 100 | 101 | MSBuild:Compile 102 | Designer 103 | 104 | 105 | MSBuild:Compile 106 | Designer 107 | 108 | 109 | 110 | 111 | {E011970A-F528-4EEB-819F-1858B9555F63} 112 | FolderSize.Common 113 | 114 | 115 | 116 | 117 | FolderSize.pfx 118 | 119 | 120 | 121 | TextTemplatingFileGenerator 122 | DependencyProperties.cs 123 | 124 | 125 | TextTemplatingFileGenerator 126 | NamedTuple.cs 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | Splash.png 135 | 136 | 137 | -------------------------------------------------------------------------------- /FolderSize.WPF/MainForm.xaml: -------------------------------------------------------------------------------- 1 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 56 | 57 | 58 | 59 | 60 | 61 | 67 | 68 | 79 |