Changeset 24542
- Timestamp:
- 11/21/08 09:14:29 (7 weeks ago)
- Location:
- lang/vb2005/Tween/Tween
- Files:
-
- 5 modified
-
AnalyzeKey.vb (modified) (1 diff)
-
My Project/AssemblyInfo.vb (modified) (1 diff)
-
Resources/ChangeLog.txt (modified) (1 diff)
-
Tween.vb (modified) (3 diffs)
-
Twitter.vb (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/vb2005/Tween/Tween/AnalyzeKey.vb
r23634 r24542 16 16 Public _parseDM1 As String = "<span class=""entry-content"">" 17 17 Public _parseDM2 As String = "</span>" 18 Public _parseDM11 As String = "<span class=""protected"">" 18 19 Public _parseDate As String = "<span class=""published"" title=""" 19 20 Public _parseDateTo As String = """" -
lang/vb2005/Tween/Tween/My Project/AssemblyInfo.vb
r24358 r24542 55 55 ' <Assembly: AssemblyVersion("1.0.*")> 56 56 57 <Assembly: AssemblyVersion("0.1.3. 0")>58 <Assembly: AssemblyFileVersion("0.1.3. 0")>57 <Assembly: AssemblyVersion("0.1.3.1")> 58 <Assembly: AssemblyFileVersion("0.1.3.1")> 59 59 -
lang/vb2005/Tween/Tween/Resources/ChangeLog.txt
r24358 r24542 1 1 更新履歴 2 2 3 ***Ver0.1.3.1(Trunk) 4 -DMが取れないケースに対応 5 -DMで、プロテクト状態取得、スクリーンネーム取得に対応 3 6 ***Ver0.1.3.0(2008/11/20) 4 7 -詳細欄のID/日時部で、余白があるにもかかわらず、ID表示が折り返されてしまう問題を改善 -
lang/vb2005/Tween/Tween/Tween.vb
r24226 r24542 2472 2472 Dim _onewaylove As Boolean 2473 2473 Dim nm As String = "" 2474 Dim Protect As String 2474 2475 2475 2476 Dim _item As ListViewItem … … 2516 2517 _onewaylove = Not IsReceive 2517 2518 lItem = tlList(cnt) 2518 Dim sItem() As String = {"", lItem.Nick, lItem.Data, lItem.PDate.ToString("yy-MM-dd HH:mm:ss"), lItem.Name, lItem.Id, lItem.ImageUrl, lItem.OrgData, _readed.ToString, _fav.ToString, _onewaylove.ToString, "False"} 2519 If lItem.Protect = True Then 2520 Protect = "Ю" 2521 Else 2522 Protect = "" 2523 End If 2524 Dim sItem() As String = {Protect, lItem.Nick, lItem.Data, lItem.PDate.ToString("yy-MM-dd HH:mm:ss"), lItem.Name, lItem.Id, lItem.ImageUrl, lItem.OrgData, _readed.ToString, _fav.ToString, _onewaylove.ToString, "False"} 2519 2525 Dim lvItem As New ListViewItem(sItem) 2520 2526 lvItem.Font = _fntReaded … … 4703 4709 NameLabel.Text = _item.SubItems(1).Text + "/" + _item.SubItems(4).Text 4704 4710 UserPicture.Image = TIconList.Images(_item.SubItems(6).Text) 4705 If ListTab.SelectedTab.Text = "Direct" Then 4706 NameLabel.Text = _item.SubItems(1).Text 4707 Else 4708 NameLabel.Text = _item.SubItems(1).Text + "/" + _item.SubItems(4).Text 4709 End If 4711 NameLabel.Text = _item.SubItems(1).Text + "/" + _item.SubItems(4).Text 4710 4712 4711 4713 NameLabel.ForeColor = System.Drawing.SystemColors.ControlText -
lang/vb2005/Tween/Tween/Twitter.vb
r24358 r24542 834 834 835 835 'Get Nick 836 'pos1 = strPost.IndexOf(_parseNick, pos2) 837 'pos2 = strPost.IndexOf("""", pos1 + _parseNick.Length) 838 'lItem.Nick = HttpUtility.HtmlDecode(strPost.Substring(pos1 + _parseNick.Length, pos2 - pos1 - _parseNick.Length)) 839 lItem.Nick = lItem.Name 836 Try 837 pos1 = strPost.IndexOf(_parseNick, pos2) 838 pos2 = strPost.IndexOf(_parseNickTo, pos1 + _parseNick.Length) 839 lItem.Nick = HttpUtility.HtmlDecode(strPost.Substring(pos1 + _parseNick.Length, pos2 - pos1 - _parseNick.Length)) 840 Catch ex As Exception 841 _signed = False 842 Return "GetDirectMessage -> Err: Can't get Nick." 843 End Try 840 844 841 845 If links.Contains(lItem.Id) Then … … 854 858 End Try 855 859 860 'Get Protect 861 Try 862 pos1 = strPost.IndexOf(_isProtect, pos2) 863 If pos1 > -1 Then lItem.Protect = True 864 Catch ex As Exception 865 _signed = False 866 Return "GetDirectMessage -> Err: Can't get Protect" 867 End Try 868 856 869 'Get Message 857 870 Try 858 871 pos1 = strPost.IndexOf(_parseDM1, pos2) 859 pos2 = strPost.IndexOf(_parseDM2, pos1) 860 orgData = strPost.Substring(pos1 + _parseDM1.Length, pos2 - pos1 - _parseDM1.Length).Trim() 872 If pos1 > -1 Then 873 pos2 = strPost.IndexOf(_parseDM2, pos1) 874 orgData = strPost.Substring(pos1 + _parseDM1.Length, pos2 - pos1 - _parseDM1.Length).Trim() 875 Else 876 pos1 = strPost.IndexOf(_parseDM11, pos2) 877 orgData = strPost.Substring(pos1 + _parseDM11.Length, pos2 - pos1 - _parseDM11.Length).Trim() 878 End If 861 879 orgData = orgData.Replace("<3", "♡") 862 880 Catch ex As Exception … … 1662 1680 _parseDM1 = ln.Substring(18, ln.Length - 1 - 18).Replace("\", "") 1663 1681 End If 1682 If ln.StartsWith(" ""tagfrom2"": """) Then 1683 _parseDM11 = ln.Substring(19, ln.Length - 1 - 19).Replace("\", "") 1684 End If 1664 1685 If ln.StartsWith(" ""tagto"": """) Then 1665 1686 _parseDM2 = ln.Substring(16, ln.Length - 1 - 16).Replace("\", "") … … 1900 1921 sw.WriteLine(" Public _parseMsg2 As String = " + Chr(34) + _parseMsg2.Replace(Chr(34), Chr(34) + Chr(34)) + Chr(34)) 1901 1922 sw.WriteLine(" Public _parseDM1 As String = " + Chr(34) + _parseDM1.Replace(Chr(34), Chr(34) + Chr(34)) + Chr(34)) 1923 sw.WriteLine(" Public _parseDM11 As String = " + Chr(34) + _parseDM11.Replace(Chr(34), Chr(34) + Chr(34)) + Chr(34)) 1902 1924 sw.WriteLine(" Public _parseDM2 As String = " + Chr(34) + _parseDM2.Replace(Chr(34), Chr(34) + Chr(34)) + Chr(34)) 1903 1925 sw.WriteLine(" Public _parseDate As String = " + Chr(34) + _parseDate.Replace(Chr(34), Chr(34) + Chr(34)) + Chr(34))
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)