What's new in Perforce Visual Studio Plug-In (P4VS) 2015.1

Apr 7, 2015
  • New functionality:
  • Support 'leaveunchanged' option of the 'p4 shelve' command in the 'Shelve Files' and 'Create Review' dialog boxes.
  • Added a "Lazy Load" feature to cut down load time and general performance on large projects and/or slow connections.
  • The help file has been expanded to include a section on how to tune the performance when loading a solution into VS as follows:
  • Note: The Treat Solution/Projects as directories when selected, Preload file state, and Lazy load file state options are used to tune the performance of P4VS for your environment. If none of these options are selected, P4VS will load the metadata for each file individually. Unless you have a small project you should look to use one of these options.
  • Treat Solution/Projects as directories when selected: Select to treat solutions and projects as directories when P4VS runs Perforce commands.
  • Use this option to improve performance when working with solutions that contain a large number of projects or files. Do not use this option if the directories in the solution contain a large number of other Perforce controlled files that are not included in the solution.
  • This option does not require that all the files and directories referenced by the solution are under the solution directory.
  • Preload file state: Select to preload the metadata for all of the files in the perforce depot in or under the directory containing the solution file.
  • Use this option to improve performance when loading small to medium sized solutions where all the files that make up the solution are under the solution root. Only use this when there are few if any files under the solution root that are Perforce controlled that are not part of the solution.
  • This option tends to work best with solutions and projects created and managed by Visual Studio. Do not use this option if the files for the solution are intermixed in directories with large numbers of other Perforce controlled files. This option will provide little improvement in performance if most of the files composing the solution are outside of the solution root.
  • Lazy load file state: Select to only load the Perforce metadata files in the solution as they are operated on using P4VS.
  • With this option, Perforce metadata for a file is only retreived from the server when you select a P4VS operation on a file. At that point, the Perforce metadata will be obtained from the server, the operation performed, and the Perforce metadata updated to reflect the results of the operation. When this option is selected, the file will by badged in the solution explorer to indicate that its status is unknown (in Visual Studio 2010, this will be a blank badge). After a Perforce operation is performed on a file it will be badged to indicate its current state.
  • Use this option to improve performance loading large to very large sized solutions where you are interested in only working on a few select files. This is best for solutions and projects which include large amounts of code from libraries or frameworks, large numbers of asset files such as graphical elements for a game, or large numbers of files that are generated by another development system or plugin.
  • This option is also useful in situations where the connection to the Perforce server is over a slow network or VPN.
  • Full menu: Select to allow the full P4VS menu to be displayed on files that have not had their metadata loaded.
  • This option is displayed if the Lazy load file state option is enabled. This allows you to perform an operation on a file before P4VS loads its state. If this option is not selected, you are given the option to refresh the file which will load the metadata of the file from the server and then enable the appropriate P4VS operations on that file. Please note that if you choose this option and perform P4VS operations on a file that are not valid based on its current state, you are very likely to get error messages back from those operations.
  • Bugs fixed:
  • Checkout All in Solution and Submit do not work from context menu on solution object.
  • Mark for Add missing from context menu.

New in Perforce Visual Studio Plug-In (P4VS) 2014.3 (Feb 27, 2015)

  • New functionality:
  • Integrate Swarm functionality into P4VS. Includes the following new features:
  • Request a Swarm review for a changelist in the Pending changelist tool window or submitted changelist tool window
  • Update a Swarm review with a changelist in the Pending changelist tool window or submitted changelist tool window
  • Open a Swarm review in the Swarm browser from Pending changelist tool window or submitted changelist tool window
  • Badge changelist associated with a Swarm review in the lists in the Pending changelist tool window and submitted changelist tool windows. Add columns to display the Review ID and Review State.
  • A new option has been added to the depot browser to use Perforce environment variables to connect to the server.
  • Get Latest Revision and Remove from Workspace actions can now be performed on items in the depot browser.

New in Perforce Visual Studio Plug-In (P4VS) 2014.2 Patch 2 (Dec 20, 2014)

  • Extra white spaces on the end of P4CHARSET value resulted in an "Unknown or unsupported charset" error.

New in Perforce Visual Studio Plug-In (P4VS) 2014.2 Patch 1 (Dec 20, 2014)

  • A memory leak has been fixed which could previously cause Visual Studio to crash and connections are now properly closed on the server side after a command has run.

New in Perforce Visual Studio Plug-In (P4VS) 2014.2 (Sep 16, 2014)

  • New functionality:
  • New checkout options have been added for files about to be edited when they are not synced to the head revision. The prompt to get latest can now be turned on or off and if it is off, the user can choose to always sync or never sync files that are about to be edited but are out of date.
  • If a charset is in use it is displayed in the log pane with other connection information on connection to a Perforce server.
  • P4VS now sets the following environment variables for the current connection:
  • P4VS_USER
  • P4VS_CLIENT
  • P4VS_PORT
  • P4VS_ACTIVE_CHANGELIST
  • These are exposed for use in batch scripts or custom tools.
  • The "Treat Solution/Projects as directories" preference is now checked by default.
  • The dialog for moving files to another changelist now behaves the same as creating a new changelist - the Ok button is disabled until a description is entered and red notification text appears while a description is missing or left as the default.
  • Bugs fixed:
  • The password dialog should popup on same monitor as Visual Studio.
  • Password Prompt ( a.k.a. Perforce Login ) and Connection dialog do not retain size after expanding on secondary monitor.
  • A project modified outside of Visual Studio will no longer result in a continual checkout dialogs appearing on edit of a file.
  • After reverting a project file, the check out project option now correctly only includes the project file and not files under it.
  • Clicking the Browse button for user or workspace in the connection dialog will no longer result in a "Parameter "escapedValue" cannot be null." error.
  • In the Diff Against dialog, the Diff button is no longer enabled f either of the paths are empty, or if either of the revision specifiers are selected and have no value in the specifier text box.
  • If the current user is not the owner of a workspace the delete workspace menu item is no longer available.
  • P4VS will no longer save latest connection information if the connection was not successful.
  • Tab order has been correctly set in the Workspaces browser.
  • In the connection dialogs, the most recently used connections drop-down will expand to fit the widest saved connection text.
  • CTRL+A now selects all text in job text fields (i.e. the description field).

New in Perforce Visual Studio Plug-In (P4VS) 2014.1 (Apr 23, 2014)

  • New functionality:
  • P4VS now supports Greek encoding.
  • The copy dialog now has an auto-submit radio button.
  • Bugs fixed:
  • P4VS will no longer run an fstat on saves of a.file that is not opened for edit (this was causing Ctrl-S to perform slowly).
  • P4VS now correctly works with config files that reside in the workspace root.
  • The date time fields in the Labels tool window now respect the P4VS date format preference.
  • The modified and access fields in the Labels tool window are now consistent between the list and details.
  • Pending changelists now properly display updated times in server time.
  • Move to pending changelist dialog now accepts the text from a form-out trigger.

New in Perforce Visual Studio Plug-In (P4VS) 2013.3 (Oct 21, 2013)

  • Performance has been improved for solution load by only invoking SccGlyphChanges when in a separate thread from the UI.
  • The Add Files dialog now properly cancels on click of [X] rather than marking files for add.
  • In the Merge or Copy workflow, any edits to the select changelist dialog with a new changelist are now carried over to the saved changelist or the Submit dialog.
  • The Merge or Copy dialog will no longer appear if a stream is unloaded from outside of P4VS and MErge or Copy is clicked in the Streams tool window.
  • The Merge or Copy dialog will not longer launch if the only source stream is "none".
  • When a pending changelist is submitted, it is now removed from the list in the P4 Connection toolbar.
  • In the Merge or Copy dialog, the source stream drop down will change to a text box if there is only one available source.
  • The Pending Changelists tool window now correctly handles a resolve action on a changelist with shelved files and files needing resolve.
  • When a new changelist is created via "New..." in the P4 Connection toolbar, it is no longer assigned the number -1.
  • The resolve icon on files has improved visibility in the case where other file icon overlays are also present (checked out, checked out by other, locked).
  • The Submitted Changelists tool window now properly refreshes the list of changelists when clicking 'Refresh Submitted.
  • Changelist List' context menu item.
  • Diffing a shelved file against workspace version no longer results in an error: "Invalid changelist/client/label/date '@=-1'" when the file is not unshelved in the related changelist.
  • Diffing a shelved file against source revision no longer results in an error: "Invalid changelist/client/label/date '@=-1'" when the file is not unshelved in the related changelist.
  • Submit dialog now properly updates file resolve status when the Resolve dialog is launched from the Submit dialog.
  • When "Automatically update files status" is set in preferences P4VS will no longer crash due to an attempted update of file
  • status on a file that has been deleted.
  • The Submit dialog will no longer have display issues when the system text scaling has been changed..
  • The Integrations tab in the History Tool Window now properly clears revision entries on item click or change of selected item.
  • The spacing of items in the Workspace browser details pane has been improved.
  • The tabbing order in the Get Revision dialog has been improved.
  • P4VS no longer prompts for add of solution files when the [] Automatically add new files to Perforce is unchecked.
  • Choose Solution / Project in Depot dialog no longer displays folder names containing special characters @ # encoded as # @.
  • Preview in the Copy dialog now properly displays file data.
  • P4VS no longer displays Open Connection dialog when starting builds from a command line.
  • Deleting shelved files no longer fails when unshelving a C++ project file containing a .filters file.
  • Deleting multiple items from the solution explorer will no longer create multiple new changlists.
  • The S-filetype flag is no longer listed twice in reopen command.
  • On the Select Changelist dialog now has.Checkout as the default focused button, the tab ordering has been improved, and esc now correctly cancels the dialog.

New in Perforce Visual Studio Plug-In (P4VS) 2013.2 Patch 2 (Sep 23, 2013)

  • The resource file for the no diffs dialog is now correctly referenced in P4VS11.
  • The jobs list in the submit dialog no longer flickers or disappears on hovering over the list items.
  • The submit dialog now correctly initializes the file-selected checkbox image. They are no longer appear unchecked when the status of the list item is item.checked.

New in Perforce Visual Studio Plug-In (P4VS) 2013.2 Patch 1 (Sep 23, 2013)

  • The files list in the submit dialog can now be sorted by column.
  • The submit dialog now properly draws the all of its child controls without delay or flickering.
  • The submit dialog no longer has a long loading delay when a large number of files are in the related changelist.
  • P4VS now supports Integrated Shell versions of Visual Studio.
  • P4VS no longer crashes while unshelving a VC++ project that includes a filters file.
  • P4VS no longer refreshes file glyphs asynchronously as that could potentially cause performance issues with solutions containing a large number of projects and/or files.
  • P4VS now only checks for .ini file changes if the last check has been longer than .2 seconds ago.
  • P4VS now correctly picks up P4CHARSET.
  • P4VS now correctly handles users with non-ascii characters in their name.
  • P4VS no longer shows multiple "The files are identical" prompts for files that do not differ from have revision. It now displays a list of all files in a single dialog.
  • P4VS no longer shows the "Remove from Changelist" menu item on jobs listed under a default pending changelist.

New in Perforce Visual Studio Plug-In (P4VS) 2013.2 (Jul 24, 2013)

  • Bugs fixed:
  • In the check out, unshelve, and change filetype dialogs the changelist dropdowns now show full descriptions.
  • P4VS now correctly uses solution specific connections.
  • The Ignore commands are no longer listed in the context menus or shown in the toolbar if the server is older than 2012.1.
  • P4VS will now use P4VC, if it is installed, to launch Revision Graph, Time-lapse View, and Stream Graph so it will no longer fail with paths or depot names containing non-ascii characters.
  • P4VS will no longer show an out of range error when the user attempts to 'Get Revision by context clicking file(s) in the solution explorer and the related files cause the Get Revision dialog to be resized.
  • P4VS will no longer crash when the user attempts to 'Get Revision by context clicking on a changelist in the Submitted Changelists tool window and the related files cause the Get Revision dialog to be resized.
  • The select/unselect all checkbox in the shelve dialog now works correctly on successive clicks.
  • The Submitted Changelist dialog now shows icons in the file list.
  • When moving files to another changelist in the Pending Changelists tool window, if "new" is selected as the target changelist, that new numbered changelist is added to the list upon completion of the move.
  • The 'Clear changelist of previously shelved files' checkbox is now disabled if no shelved files exist in the related changelist.
  • Jobs and Workspaces tool windows no longer have the item icons indented in the list.
  • Tool windows will no longer show an "Index was outside the bounds of the array." error when entering numbers 0-9 in the Folder/file filter.
  • P4VS now saves blank filters for tool windows.
  • Tool window columns now correctly show data if there is a carriage return in the first line of the field.
  • The Select User dialog can now be sorted by columns.
  • In the Pending Changelist editor and Submit dialog, the OK, Save, and Submit buttons are now disabled when there is no text or the default text in the description field.
  • The red text in the Pending Changelist editor now reacts correctly to changes in the description field.
  • When an edit of the default pending changelist creates a new numbered changelist the new numbered changelist will now be added to the list of changes in the Pending Changelists tool window after successful creation and the default pending changelist will be refreshed.
  • Changelists and jobs can no longer be submitted with the default description.
  • When fetching additional data in Pending and Submitted Changelists tool windows, scroll position no longer moves to the top of the list.
  • In the Pending Changelists tool window, the 'Diff Against Have' menu option now uses the correct source files and is hidden when it should not be used for files opened for add, delete, and move [rename].
  • P4VS now properly handles files opened for branch or integrate, allowing them to be checked out if there is an attempt to edit them.
  • Multi line fields in the Jobs tool window now correctly show line breaks.
  • In the Workspaces tool window details pane, the Alt Roots field is no longer enabled.