Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #2023

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified bin/ControlzEx.dll
Binary file not shown.
Binary file modified bin/IxMilia.Dxf.dll
Binary file not shown.
Binary file modified bin/Microsoft.WindowsAPICodePack.Shell.dll
Binary file not shown.
Binary file modified bin/Microsoft.WindowsAPICodePack.dll
Binary file not shown.
Binary file added bin/Microsoft.Xaml.Behaviors.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.Common.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.CommonCLI.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.CommonWPF.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.DeffrelDB.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.Emojis.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.Json.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.Language.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.MahAppsMetro.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.NLog.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.PyRevit.Runtime.Shared.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.PyRevit.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.TargetApps.AutoCAD.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.TargetApps.Navisworks.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.TargetApps.Revit.dll
Binary file not shown.
Binary file modified bin/pyRevitLabs.UnitTests.dll
Binary file not shown.
Binary file modified bin/pyrevit-doctor.exe
Binary file not shown.
Binary file modified bin/pyrevit.exe
Binary file not shown.
Binary file modified dev/libs/ControlzEx.dll
Binary file not shown.
450 changes: 450 additions & 0 deletions dev/libs/FileFormatWavefront.XML

Large diffs are not rendered by default.

Binary file modified dev/libs/IxMilia.Dxf.dll
Binary file not shown.
2,884 changes: 2,884 additions & 0 deletions dev/libs/IxMilia.Dxf.xml

Large diffs are not rendered by default.

Binary file modified dev/libs/Microsoft.WindowsAPICodePack.Shell.dll
Binary file not shown.
22,602 changes: 22,602 additions & 0 deletions dev/libs/Microsoft.WindowsAPICodePack.Shell.xml

Large diffs are not rendered by default.

Binary file modified dev/libs/Microsoft.WindowsAPICodePack.dll
Binary file not shown.
2,097 changes: 2,097 additions & 0 deletions dev/libs/Microsoft.WindowsAPICodePack.xml

Large diffs are not rendered by default.

Binary file added dev/libs/Microsoft.Xaml.Behaviors.dll
Binary file not shown.
Binary file added dev/libs/Revit/2024/AdWindows.dll
Binary file not shown.
Binary file added dev/libs/Revit/2024/RevitAPI.dll
Binary file not shown.
Binary file added dev/libs/Revit/2024/RevitAPIUI.dll
Binary file not shown.
Binary file added dev/libs/Revit/2024/UIFramework.dll
Binary file not shown.
Binary file added dev/libs/Revit/2024/Xceed.Wpf.AvalonDock.dll
Binary file not shown.
Binary file modified dev/libs/pyRevitLabs.Json.dll
Binary file not shown.
11,363 changes: 11,363 additions & 0 deletions dev/libs/pyRevitLabs.Json.xml

Large diffs are not rendered by default.

Binary file modified dev/libs/pyRevitLabs.MahAppsMetro.dll
Binary file not shown.
9,707 changes: 9,707 additions & 0 deletions dev/libs/pyRevitLabs.MahAppsMetro.xml

Large diffs are not rendered by default.

Binary file modified dev/libs/pyRevitLabs.NLog.dll
Binary file not shown.
28,749 changes: 28,749 additions & 0 deletions dev/libs/pyRevitLabs.NLog.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<ItemGroup>
<PackageReference Include="Expression.Blend.Sdk" Version="1.0.2" />
<PackageReference Include="LibGit2Sharp" Version="0.26.2" />
<PackageReference Include="LibGit2Sharp" Version="0.29.0" />
<PackageReference Include="MadMilkman.Ini" Version="1.0.6" />
<PackageReference Include="Nett" Version="0.15.0" />
<Reference Include="PresentationCore" />
Expand Down
30 changes: 11 additions & 19 deletions pyrevitlib/pyrevit/runtime/ScriptConsole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,32 +123,24 @@ private void SetupDynamicResources() {
});

Resources.MergedDictionaries.Add(new ResourceDictionary() {
Source = new Uri("pack://application:,,,/pyRevitLabs.MahAppsMetro;component/Styles/Colors.xaml")
Source = new Uri("pack://application:,,,/pyRevitLabs.MahAppsMetro;component/Styles/Themes/Light.Blue.xaml")
});

Resources.MergedDictionaries.Add(new ResourceDictionary() {
Source = new Uri("pack://application:,,,/pyRevitLabs.MahAppsMetro;component/Styles/FlatButton.xaml")
});

var accentResDict = new ResourceDictionary() {
Source = new Uri("pack://application:,,,/pyRevitLabs.MahAppsMetro;component/Styles/Accents/Steel.xaml")
};
var accentResDict = Resources;

var pyrevitHighlightColor = Color.FromArgb(0xFF, 0xf3, 0x9c, 0x12);
var pyrevitBackground = new SolidColorBrush() { Color = Color.FromArgb(0xFF, 0x2c, 0x3e, 0x50) };
var pyrevitHighlight = new SolidColorBrush() { Color = pyrevitHighlightColor };
accentResDict["AccentColorBrush"] = pyrevitBackground;
accentResDict["WindowTitleColorBrush"] = pyrevitBackground;
accentResDict["MahApps.Brushes.Accent"] = pyrevitBackground;
accentResDict["MahApps.Brushes.WindowTitle"] = pyrevitBackground;

// overriding colors on the progressbar control
var progressBarOverlay = Color.FromArgb(0x66, 0xFF, 0xFF, 0xFF);
accentResDict["ProgressBrush"] = pyrevitHighlight;
accentResDict["ProgressIndeterminateColor1"] = progressBarOverlay;
accentResDict["ProgressIndeterminateColor2"] = progressBarOverlay;
accentResDict["ProgressIndeterminateColor3"] = pyrevitHighlightColor;
accentResDict["ProgressIndeterminateColor4"] = pyrevitHighlightColor;

Resources.MergedDictionaries.Add(accentResDict);
accentResDict["MahApps.Brushes.Progress"] = pyrevitHighlight;
accentResDict["MahApps.Colors.ProgressIndeterminate1"] = progressBarOverlay;
accentResDict["MahApps.Colors.ProgressIndeterminate2"] = progressBarOverlay;
accentResDict["MahApps.Colors.ProgressIndeterminate3"] = pyrevitHighlightColor;
accentResDict["MahApps.Colors.ProgressIndeterminate4"] = pyrevitHighlightColor;
}

private void ScriptOutput_SizeChanged(object sender, SizeChangedEventArgs e) {
Expand Down Expand Up @@ -346,7 +338,7 @@ public void InitializeComponent() {
#endregion

this.Width = 900; this.MinWidth = 700;
this.Height = 600; this.MinHeight = this.TitlebarHeight;
this.Height = 600; this.MinHeight = this.TitleBarHeight;
this.ResizeMode = ResizeMode.CanResize;

// setup auto-collapse
Expand Down Expand Up @@ -926,7 +918,7 @@ private void CopyButton_Click(object sender, RoutedEventArgs e) {

private void CollapseWindow() {
prevHeight = Height;
Height = TitlebarHeight;
Height = TitleBarHeight;
//ResizeBorderThickness = new Thickness(0);
IsCollapsed = true;
}
Expand Down