Changeset 29394

Show
Ignore:
Timestamp:
02/01/09 21:47:30 (4 years ago)
Author:
syo68k
Message:

0235リリース Timeline取得タイマでReplyタブの取得が動いていなかった致命的バグを修正。描画処理を戻し

Location:
lang/vb2005/Tween/Tween
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lang/vb2005/Tween/Tween/My Project/AssemblyInfo.vb

    r29331 r29394  
    5555' <Assembly: AssemblyVersion("1.0.*")>  
    5656 
    57 <Assembly: AssemblyVersion("0.2.3.4")>  
    58 <Assembly: AssemblyFileVersion("0.2.3.4")>  
     57<Assembly: AssemblyVersion("0.2.3.5")>  
     58<Assembly: AssemblyFileVersion("0.2.3.5")>  
    5959 
  • lang/vb2005/Tween/Tween/Resources/ChangeLog.txt

    r29331 r29394  
    11更新履歴 
    22 
    3 ***Ver0.2.3.4(trunk) 
     3***Ver0.2.3.5(2009/2/1 trunk) 
     4-起動時読み込みモードとReplyタブで更新したとき以外のタイミングでReplyタブを取得していなかったバグ修正 
     5-ちらつきが激しくなるようなので描画処理を元に戻した 
     6***Ver0.2.3.4(2009/2/1 trunk) 
    47-未読管理しないタブでもフォントが未読になるバグ修正 
    58-CTRL+B/CTRL+SHIFT+Bでフォントを即時切り替えるようにした 
  • lang/vb2005/Tween/Tween/Tween.vb

    r29361 r29394  
    760760        Dim topId As Long = -1 
    761761        Dim befCnt As Integer = _curList.VirtualListSize 
    762         _curList.BeginUpdate() 
    763762        If _curList.VirtualListSize > 0 Then 
    764763            If _statuses.SortMode = IdComparerClass.ComparerMode.Id Then 
     
    860859            End Select 
    861860        End If 
    862  
    863         _curList.EndUpdate() 
    864861 
    865862        '新着通知 
     
    15311528 
    15321529        RunAsync(args) 
     1530         'Timeline取得モードの場合はReplyも同時に取得 
     1531        If Not _initial AndAlso WkType = WORKERTYPE.Timeline Then 
     1532            Dim _args As New GetWorkerArg 
     1533            _args.page = fromPage 
     1534            _args.endPage = toPage 
     1535            _args.type = WORKERTYPE.Reply 
     1536            RunAsync(_args) 
     1537        End If 
    15331538    End Sub 
    15341539 
     
    26102615        Dim lst As DetailsListView = _curList 
    26112616        Dim idx As Integer = 0 
    2612         lst.BeginUpdate() 
    26132617RETRY: 
    26142618        If tb.OldestUnreadId > -1 AndAlso tb.Contains(tb.OldestUnreadId) AndAlso tb.UnreadCount > 0 Then 
     
    26542658        lst.Focus() 
    26552659        lst.Update() 
    2656         lst.EndUpdate() 
    26572660    End Sub 
    26582661 
     
    29962999        End If 
    29973000 
    2998         _curList.BeginUpdate() 
    29993001        For idx As Integer = fIdx To toIdx Step stp 
    30003002            If _statuses.Item(_curTab.Text, idx).IsFav Then 
     
    30043006            End If 
    30053007        Next 
    3006         _curList.EndUpdate() 
    30073008    End Sub 
    30083009#If 0 Then 
     
    30373038        End If 
    30383039 
    3039         _curList.BeginUpdate() 
    30403040    Dim found As Boolean = False 
    30413041        For tabidx As Integer = fIdx To toIdx Step stp 
     
    30563056        _itemCache = Nothing 
    30573057        _postCache = Nothing 
    3058         _curList.EndUpdate() 
    30593058    End Sub 
    30603059#End If 
     
    30773076        End If 
    30783077 
    3079         _curList.BeginUpdate() 
    30803078        For idx As Integer = fIdx To toIdx Step stp 
    30813079            If _statuses.Item(_curTab.Text, idx).Name = _curPost.Name Then 
     
    30853083            End If 
    30863084        Next 
    3087         _curList.EndUpdate() 
    30883085    End Sub 
    30893086 
     
    31113108        End If 
    31123109 
    3113         _curList.BeginUpdate() 
    31143110        For idx As Integer = fIdx To toIdx Step stp 
    31153111            Dim post As PostClass = _statuses.Item(_curTab.Text, idx) 
     
    31223118            End If 
    31233119        Next 
    3124         _curList.EndUpdate() 
    31253120    End Sub 
    31263121 
     
    31303125        If idx = -1 Then Exit Sub 
    31313126 
    3132         _curList.BeginUpdate() 
    31333127        SelectListItem(_curList, idx) 
    31343128        _curList.EnsureVisible(idx) 
    3135         _curList.EndUpdate() 
    31363129    End Sub 
    31373130 
     
    31403133        Dim idx As Integer 
    31413134 
    3142         _curList.BeginUpdate() 
    31433135        If GoTop Then 
    31443136            _item = _curList.GetItemAt(0, 25) 
     
    31573149        End If 
    31583150        SelectListItem(_curList, idx) 
    3159         _curList.EndUpdate() 
    31603151    End Sub 
    31613152 
     
    31663157        Dim idx3 As Integer 
    31673158 
    3168         _curList.BeginUpdate() 
    31693159        _item = _curList.GetItemAt(0, 0) 
    31703160        If _item Is Nothing Then 
     
    31823172 
    31833173        SelectListItem(_curList, idx3) 
    3184         _curList.EndUpdate() 
    31853174    End Sub 
    31863175 
     
    31883177        If _curList.VirtualListSize = 0 Then Exit Sub 
    31893178 
    3190         _curList.BeginUpdate() 
    31913179        If _statuses.SortOrder = SortOrder.Ascending Then 
    31923180            SelectListItem(_curList, _curList.VirtualListSize - 1) 
     
    31963184            _curList.EnsureVisible(0) 
    31973185        End If 
    3198         _curList.EndUpdate() 
    31993186    End Sub 
    32003187 
    32013188    Private Sub MoveTop() 
    32023189        If _curList.SelectedIndices.Count = 0 Then Exit Sub 
    3203         _curList.BeginUpdate() 
    32043190        Dim idx As Integer = _curList.SelectedIndices(0) 
    32053191        If _statuses.SortOrder = SortOrder.Ascending Then 
     
    32093195        End If 
    32103196        _curList.EnsureVisible(idx) 
    3211         _curList.EndUpdate() 
    32123197    End Sub 
    32133198 
     
    37343719        If _rclickTabName = "" Then Exit Sub 
    37353720 
    3736         _curList.BeginUpdate() 
    37373721        _statuses.SetTabUnreadManage(_rclickTabName, UreadManageMenuItem.Checked) 
    37383722        If _curTab.Text = _rclickTabName Then 
     
    37463730            _curList.Refresh() 
    37473731        End If 
    3748         _curList.EndUpdate() 
    37493732        SetMainWindowTitle() 
    37503733        SetStatusLabel() 
     
    40163999 
    40174000    Private Sub SelectAllMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SelectAllMenuItem.Click 
    4018         _curList.BeginUpdate() 
    40194001        If StatusText.Focused Then 
    40204002            StatusText.SelectAll() 
     
    40284010            Next 
    40294011        End If 
    4030         _curList.EndUpdate() 
    40314012    End Sub 
    40324013 
     
    40384019        If _curList.SelectedIndices.Count = 0 Then Exit Sub 
    40394020 
    4040         _curList.BeginUpdate() 
    40414021        Dim idx As Integer = _curList.SelectedIndices(0) 
    40424022 
     
    40594039        _curList.EnsureVisible(_curList.VirtualListSize - 1) 
    40604040        _curList.EnsureVisible(idx) 
    4061         _curList.EndUpdate() 
    40624041    End Sub 
    40634042