Skip to content

Commit 7f57a42

Browse files
author
grammarian
committed
- Prepare v2.9
git-svn-id: https://svn.code.sf.net/p/objectlistview/code/cs/trunk@801 0bec5ed8-b53f-49e6-9885-ce7bc93af311
1 parent 2be1ef8 commit 7f57a42

21 files changed

+73
-75
lines changed

Demo/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[assembly: AssemblyConfiguration("")]
1414
[assembly: AssemblyCompany("Bright Ideas Software")]
1515
[assembly: AssemblyProduct("ObjectListViewDemo")]
16-
[assembly: AssemblyCopyright("Copyright 2006-2014 All Rights Reserved")]
16+
[assembly: AssemblyCopyright("Copyright 2006-2015 All Rights Reserved")]
1717
[assembly: AssemblyTrademark("")]
1818
[assembly: AssemblyCulture("")]
1919

@@ -28,6 +28,6 @@
2828
// You can specify all values by your own or you can build default build and revision
2929
// numbers with the '*' character (the default):
3030

31-
[assembly: AssemblyVersion("2.8.1.*")]
32-
[assembly: AssemblyFileVersionAttribute("2.8.1")]
31+
[assembly: AssemblyVersion("2.9.0.*")]
32+
[assembly: AssemblyFileVersionAttribute("2.9.0")]
3333
[assembly: System.CLSCompliant(true)]

Demo/TabTreeListView.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Collections;
3+
using System.Diagnostics;
34
using System.Drawing;
45
using System.Drawing.Drawing2D;
56
using System.IO;
@@ -16,6 +17,7 @@ public TabTreeListView()
1617
{
1718
InitializeComponent();
1819
this.ListView = treeListView;
20+
this.ListView.CellClick += (sender, args) => Debug.WriteLine("CellClicked: {0}", args);
1921
}
2022

2123
protected override void InitializeTab() {

ObjectListView/FastObjectListView.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@ public override void UpdateObject(int index, object modelObject) {
324324
if (i < 0)
325325
return;
326326

327+
if (ReferenceEquals(this.fullObjectList[i], modelObject))
328+
return;
329+
327330
this.fullObjectList[i] = modelObject;
328331
this.filteredObjectList[index] = modelObject;
329332
this.objectsToIndexMap[modelObject] = index;

ObjectListView/Implementation/DataSourceAdapter.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Date: 20/09/2010 7:42 AM
66
*
77
* Change log:
8+
* v2.9
9+
* 2015-10-31 JPP - Put back sanity check on upper limit of source items
810
* 2015-02-02 JPP - Made CreateColumnsFromSource() only rebuild columns when new ones were added
911
* v2.8.1
1012
* 2014-11-23 JPP - Honour initial CurrencyManager.Position when setting DataSource.
@@ -525,7 +527,7 @@ protected virtual void HandleCurrencyManagerPositionChanged(object sender, Event
525527
int index = this.CurrencyManager.Position;
526528

527529
// Make sure the index is sane (-1 pops up from time to time)
528-
if (index < 0)
530+
if (index < 0 || index >= this.ListView.GetItemCount())
529531
return;
530532

531533
// Avoid recursion. If we are currently changing the index, don't

ObjectListView/ObjectListView.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* The last strategy (fake right click) worked, but had nasty side effects. This one works
2424
* by intercepting a HITTEST message so that it fails. It no longer creates fake right mouse events.
2525
* - Trigger SelectionChanged when filter is changed
26-
* 2015-06-23 JPP - Added support for Buttons
26+
* 2015-06-23 JPP - [BIG] Added support for Buttons
2727
* 2015-06-22 JPP - Added OLVColumn.SearchValueGetter to allow the text used when text filtering to be customised
2828
* - The default DefaultRenderer is now a HighlightTextRenderer, since that seems more generally useful
2929
* 2015-06-17 JPP - Added FocusedObject property
@@ -7367,7 +7367,7 @@ public virtual void CheckHeaderCheckBox(OLVColumn column)
73677367
if (column == null)
73687368
return;
73697369

7370-
ChangeHeaderCheckBoxState(column, CheckState.Unchecked);
7370+
ChangeHeaderCheckBoxState(column, CheckState.Checked);
73717371
}
73727372

73737373
/// <summary>

ObjectListView/ObjectListView.shfb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<Language>en-US</Language>
3232
<CopyrightHref />
3333
<CopyrightText>(c) Copyright 2006-2008 Phillip Piper All Rights Reserved</CopyrightText>
34-
<FeedbackEMailAddress>phillip_piper@bigfoot.com</FeedbackEMailAddress>
34+
<FeedbackEMailAddress>phillip.piper@gmail.com</FeedbackEMailAddress>
3535
<HeaderText />
3636
<FooterText />
3737
<ProjectLinkType>Local</ProjectLinkType>

ObjectListView/ObjectListView2005.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@
147147
</ItemGroup>
148148
<ItemGroup>
149149
<Content Include="CustomDictionary.xml" />
150+
<None Include="FullClassDiagram.cd" />
151+
<None Include="ObjectListView2012.nuspec">
152+
<SubType>Designer</SubType>
153+
</None>
150154
<None Include="Resources\sort-descending.png" />
151155
<None Include="Resources\sort-ascending.png" />
152156
<None Include="Resources\filter.png" />

ObjectListView/ObjectListView2012.csproj

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,10 @@
1919
<SignAssembly>true</SignAssembly>
2020
<AssemblyOriginatorKeyFile>olv-keyfile.snk</AssemblyOriginatorKeyFile>
2121
<TargetFrameworkProfile />
22-
<SccProjectName>
23-
</SccProjectName>
24-
<SccLocalPath>
25-
</SccLocalPath>
26-
<SccAuxPath>
27-
</SccAuxPath>
28-
<SccProvider>
29-
</SccProvider>
22+
<SccProjectName>%24/ObjectListView/trunk/ObjectListView</SccProjectName>
23+
<SccLocalPath>.</SccLocalPath>
24+
<SccAuxPath>https://grammarian.visualstudio.com/defaultcollection</SccAuxPath>
25+
<SccProvider>{4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}</SccProvider>
3026
</PropertyGroup>
3127
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3228
<DebugSymbols>true</DebugSymbols>

ObjectListView/ObjectListView2012.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>ObjectListView.Official</id>
55
<title>ObjectListView (Official)</title>
6-
<version>2.9.0-beta1</version>
6+
<version>2.9.0</version>
77
<authors>Phillip Piper</authors>
88
<owners>Phillip Piper</owners>
99
<licenseUrl>http://www.gnu.org/licenses/gpl.html</licenseUrl>

ObjectListView/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// by using the '*' as shown below:
3333
[assembly: AssemblyVersion("2.9.0.*")]
3434
[assembly: AssemblyFileVersion("2.9.0.0")]
35-
[assembly: AssemblyInformationalVersion("2.9.0-beta1")]
35+
[assembly: AssemblyInformationalVersion("2.9.0")]
3636
[assembly: System.CLSCompliant(true)]

0 commit comments

Comments
 (0)