Skip to content

Commit

Permalink
P4VS 2023.1 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
skardile-perforce committed Jun 23, 2023
1 parent b56fe66 commit 444153a
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 15 deletions.
4 changes: 2 additions & 2 deletions P4VS/P4ScmProvider/P4ScmCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -718,10 +718,10 @@ private void RefreshFilesThreadProc()
logger.Debug("Exiting refresh thread");
return;
}
if (DateTime.Now - file.LastUpdate > _refreshInterval)
if (file != null && DateTime.Now - file.LastUpdate > _refreshInterval)
{
batchCnt++;
if ((file != null) && (((P4.FileMetaData)file) != null) && (((P4.FileMetaData)file).LocalPath != null))
if ((((P4.FileMetaData)file) != null) && (((P4.FileMetaData)file).LocalPath != null))
{
filesToRefresh.Add(((P4.FileMetaData)file).LocalPath.Path);
}
Expand Down
6 changes: 3 additions & 3 deletions P4VS/P4VsProvider/Action.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ public string p4VSprefs()
prefs += "Number_specs: " + Preferences.LocalSettings.GetInt("Number_specs", 100).ToString() + "\n";
prefs += "AutoUpdateFileData: " + Preferences.LocalSettings.GetBool("AutoUpdateFileData", false).ToString() + "\n";

prefs += "TreatProjectsAsFolders: " + Preferences.LocalSettings.GetBool("TreatProjectsAsFolders", false).ToString() + "\n";
prefs += "TreatProjectsAsFolders: " + Preferences.LocalSettings.GetBool("TreatProjectsAsFolders", true).ToString() + "\n";
prefs += "PreloadScmCache: " + Preferences.LocalSettings.GetBool("PreloadScmCache", true).ToString() + "\n";
prefs += "LazyLoadStatus: " + Preferences.LocalSettings.GetBool("LazyLoadStatus", false).ToString() + "\n";
prefs += "LazyLoadFullMenu: " + Preferences.LocalSettings.GetBool("LazyLoadFullMenu", false).ToString() + "\n";
Expand Down Expand Up @@ -1467,7 +1467,7 @@ public void P4VsCheckoutEntireProjectOrSolution(object sender, EventArgs e)
// processing menu commands so obviously no longer loading solution
SccService.ScmProvider.LoadingSolution = false;

bool TreatProjectsAsFolders = Preferences.LocalSettings.GetBool("TreatProjectsAsFolders", false);
bool TreatProjectsAsFolders = Preferences.LocalSettings.GetBool("TreatProjectsAsFolders", true);
IList<string> files = null;
if (TreatProjectsAsFolders)
{
Expand Down Expand Up @@ -1503,7 +1503,7 @@ public void P4VsScmRefresh(object sender, EventArgs e)
}
else
{
bool TreatProjectsAsFolders = Preferences.LocalSettings.GetBool("TreatProjectsAsFolders", false);
bool TreatProjectsAsFolders = Preferences.LocalSettings.GetBool("TreatProjectsAsFolders", true);
if (TreatProjectsAsFolders && (SccService.IsSolutionSelected || SccService.IsaControlledProjectSelected))
{
IList<VSITEMSELECTION> selectedNodes = SccService.SelectedNodes;
Expand Down
8 changes: 4 additions & 4 deletions P4VS/UI/P4DataRetrievalPreferencesControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -713,13 +713,13 @@ private void P4DataRetrievalPreferencesControl_Load(object sender, EventArgs e)
updateTB.Text = Preferences.LocalSettings.GetInt("Update_status", 5).ToString();
}
numberFilesTB.Text = Preferences.LocalSettings.GetInt("Number_files",1000).ToString();
sizeTB.Text = Preferences.LocalSettings.GetInt("Size_files", 500).ToString();
sizeTB.Text = Preferences.LocalSettings.GetInt("Size_files", 500).ToString();

numberSpecsTB.Text = Preferences.LocalSettings.GetInt("Number_specs",100).ToString();

AutoUpdateStatudCB.Checked = Preferences.LocalSettings.GetBool("AutoUpdateFileData", false);

bool TreatProjectsAsDirs = Preferences.LocalSettings.GetBool("TreatProjectsAsFolders", false);
bool TreatProjectsAsDirs = Preferences.LocalSettings.GetBool("TreatProjectsAsFolders", true);
bool LazyLoad = Preferences.LocalSettings.GetBool("LazyLoadStatus", false);
bool PreloadCache = Preferences.LocalSettings.GetBool("PreloadScmCache", true);
bool LLFullMenu = Preferences.LocalSettings.GetBool("LazyLoadFullMenu", false);
Expand Down Expand Up @@ -834,9 +834,9 @@ private void numberFilesTB_KeyPress(object sender, KeyPressEventArgs e)
{
e.Handled = true;
}
}
}

private void sizeTB_KeyPress(object sender, KeyPressEventArgs e)
private void sizeTB_KeyPress(object sender, KeyPressEventArgs e)
{
if (!(char.IsDigit(e.KeyChar) || char.IsControl(e.KeyChar)))
{
Expand Down
76 changes: 70 additions & 6 deletions RELEASENOTES.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
Release Notes for
P4VS, the Helix Plugin for Visual Studio

Version 2021.2
Version 2023.1

Introduction

This document lists all user-visible changes in P4VS
release 2021.2
This document lists all user-visible changes in this P4VS release

Perforce numbers releases YYYY.R/CCCCC, e.g. 2002.2/30547.
YYYY is the year; R is the release of that year; CCCCC is the
Expand Down Expand Up @@ -67,9 +66,6 @@ Compatibility Statements

Known Limitations

When Using P4VS for VS2022, only the default overlay icons are present,
not the perforce specific.

When using File -> Move into -> <project> with a C++ project, if
the file selected is currently marked for add a dialog may appear
asking if the file should be deleted in the Depot (Files that are
Expand Down Expand Up @@ -155,6 +151,74 @@ Key to symbols used in change notes below.
* -- requires new P4VS
** -- requires new p4d server program

--------------------------------------------------------------------------

New Functionality in 2023.1 (2023.1/2456196) (2023/06/20)

(Job #115708) *
Rebuilt with the latest p4api.net API. (2023.1/2456134)

--------------------------------------------------------------------------

New Functionality in 2021.2 Patch 7 (2021.2/2413698) (2023/03/02)

(Job #114624) *
Rebuilt with the latest p4api.net API.

---------------------------------------------------------------------------

New functionality in 2021.2 Patch 6 (2021.2/2406440) (2023/02/10)

Important security note
This version addresses vulnerabilities in OpenSSL (CVE-2023-0286,
CVE-2023-0215, CVE-2022-4450, CVE-2022-4304) by linking in version
1.1.1t of the library.

--------------------------------------------------------------------------

Bugs fixed in 2021.2 Patch 5 (2021.2/2400843) (2023/02/02)

#2394641 (Job #113799, #108919, #111892) *
Perforce specific icon overylay are now supported in VS2022.
This enables 'mark for add', 'file checked-out by other
developers', etc. icons to be displayed in Solution Explorer.

--------------------------------------------------------------------------

New Functionality in 2021.2 Patch 4 (2021.2/2394148) (2023/01/18)
(Job #113519) *
Rebuilt with the latest p4api.net API.

---------------------------------------------------------------------------

New Functionality in 2021.2 Patch 3

(Job #113609) *
Rebuilt with the latest p4api.net API.

---------------------------------------------------------------------------

Bugs fixed in 2021.2 Patch 3

#2352032 (Job #101904) *
Fixed the issue where P4VS was invalidating pre-configured project
properties causing build failures

---------------------------------------------------------------------------

Bugs fixed in 2021.2 Patch 2

#2350293 (Job #112567) *
Fixed random opening of browser, when using HAS authentication,
and already logged in.

---------------------------------------------------------------------------

New Functionality in 2021.2 Patch 1

#2333090 (Job #112100) *
Rebuilt with latest the p4api.net API.

---------------------------------------------------------------------------

New Functionality in 2021.2
Expand Down

0 comments on commit 444153a

Please sign in to comment.