Changeset 21501
- Timestamp:
- 10/17/08 17:52:26 (5 years ago)
- Location:
- lang/vb2005/Tween/Tween
- Files:
-
- 7 modified
-
My Project/AssemblyInfo.vb (modified) (1 diff)
-
MySocket.vb (modified) (1 diff)
-
Resources/ChangeLog.txt (modified) (1 diff)
-
Setting.Designer.vb (modified) (22 diffs)
-
Setting.vb (modified) (4 diffs)
-
TwConfig.vb (modified) (1 diff)
-
Tween.vb (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/vb2005/Tween/Tween/My Project/AssemblyInfo.vb
r21408 r21501 32 32 ' <Assembly: AssemblyVersion("1.0.*")> 33 33 34 <Assembly: AssemblyVersion("0.0.9. 8")>35 <Assembly: AssemblyFileVersion("0.0.9. 8")>34 <Assembly: AssemblyVersion("0.0.9.9")> 35 <Assembly: AssemblyFileVersion("0.0.9.9")> 36 36 -
lang/vb2005/Tween/Tween/MySocket.vb
r21380 r21501 61 61 Optional ByVal data As String = "", _ 62 62 Optional ByVal referer As String = "", _ 63 Optional ByVal timeout As Integer = 100000) As Object63 Optional ByVal timeout As Integer = 30000) As Object 64 64 Dim webReq As HttpWebRequest 65 65 Dim dataB As Byte() -
lang/vb2005/Tween/Tween/Resources/ChangeLog.txt
r21408 r21501 1 1 更新履歴 2 2 3 ***Ver0.0.9.9(Unreleased) 4 -TinyUrl展開オプションが機能していなかった問題を修正 5 -更新間隔自動調整が機能していなかった問題を修正 6 -更新間隔自動調整の有効・無効オプションを設定画面に追加(デフォルト有効) 7 -ステータス欄のPOST制限表示を時速表示に変更(自発言/取得発言) 8 -ステータス欄にタイムライン更新間隔表示を追加 3 9 ***Ver0.0.9.8(2008/10/16) 4 10 -wedata変更分の取り込み -
lang/vb2005/Tween/Tween/Setting.Designer.vb
r21380 r21501 136 136 Me.TabControl1 = New System.Windows.Forms.TabControl 137 137 Me.TabPage1 = New System.Windows.Forms.TabPage 138 Me.MaxPost = New System.Windows.Forms.TextBox 139 Me.Label52 = New System.Windows.Forms.Label 138 140 Me.TabPage2 = New System.Windows.Forms.TabPage 139 141 Me.CheckTinyURL = New System.Windows.Forms.CheckBox … … 144 146 Me.TabPage5 = New System.Windows.Forms.TabPage 145 147 Me.GroupBox2 = New System.Windows.Forms.GroupBox 148 Me.Label55 = New System.Windows.Forms.Label 149 Me.TextProxyPassword = New System.Windows.Forms.TextBox 150 Me.LabelProxyPassword = New System.Windows.Forms.Label 151 Me.TextProxyUser = New System.Windows.Forms.TextBox 152 Me.LabelProxyUser = New System.Windows.Forms.Label 153 Me.TextProxyPort = New System.Windows.Forms.TextBox 154 Me.LabelProxyPort = New System.Windows.Forms.Label 155 Me.TextProxyAddress = New System.Windows.Forms.TextBox 156 Me.LabelProxyAddress = New System.Windows.Forms.Label 157 Me.RadioProxySpecified = New System.Windows.Forms.RadioButton 158 Me.RadioProxyIE = New System.Windows.Forms.RadioButton 146 159 Me.RadioProxyNone = New System.Windows.Forms.RadioButton 147 Me.RadioProxyIE = New System.Windows.Forms.RadioButton 148 Me.RadioProxySpecified = New System.Windows.Forms.RadioButton 149 Me.LabelProxyAddress = New System.Windows.Forms.Label 150 Me.TextProxyAddress = New System.Windows.Forms.TextBox 151 Me.LabelProxyPort = New System.Windows.Forms.Label 152 Me.TextProxyPort = New System.Windows.Forms.TextBox 153 Me.LabelProxyUser = New System.Windows.Forms.Label 154 Me.TextProxyUser = New System.Windows.Forms.TextBox 155 Me.LabelProxyPassword = New System.Windows.Forms.Label 156 Me.TextProxyPassword = New System.Windows.Forms.TextBox 157 Me.Label55 = New System.Windows.Forms.Label 158 Me.Label52 = New System.Windows.Forms.Label 159 Me.MaxPost = New System.Windows.Forms.TextBox 160 Me.CheckPeriodAdjust = New System.Windows.Forms.CheckBox 160 161 Me.GroupBox1.SuspendLayout() 161 162 Me.TabControl1.SuspendLayout() … … 241 242 ' 242 243 Me.Label4.AutoSize = True 243 Me.Label4.Location = New System.Drawing.Point(14, 1 26)244 Me.Label4.Location = New System.Drawing.Point(14, 150) 244 245 Me.Label4.Name = "Label4" 245 246 Me.Label4.Size = New System.Drawing.Size(139, 12) 246 Me.Label4.TabIndex = 9247 Me.Label4.TabIndex = 10 247 248 Me.Label4.Text = "次頁取得件数閾値(1~20)" 248 249 ' 249 250 'NextThreshold 250 251 ' 251 Me.NextThreshold.Location = New System.Drawing.Point(183, 1 23)252 Me.NextThreshold.Location = New System.Drawing.Point(183, 147) 252 253 Me.NextThreshold.Name = "NextThreshold" 253 254 Me.NextThreshold.Size = New System.Drawing.Size(65, 19) 254 Me.NextThreshold.TabIndex = 1 0255 Me.NextThreshold.TabIndex = 11 255 256 ' 256 257 'DMPeriod 257 258 ' 258 Me.DMPeriod.Location = New System.Drawing.Point(183, 82)259 Me.DMPeriod.Location = New System.Drawing.Point(183, 103) 259 260 Me.DMPeriod.Name = "DMPeriod" 260 261 Me.DMPeriod.Size = New System.Drawing.Size(65, 19) 261 Me.DMPeriod.TabIndex = 8262 Me.DMPeriod.TabIndex = 9 262 263 ' 263 264 'Label5 264 265 ' 265 266 Me.Label5.AutoSize = True 266 Me.Label5.Location = New System.Drawing.Point(14, 85)267 Me.Label5.Location = New System.Drawing.Point(14, 106) 267 268 Me.Label5.Name = "Label5" 268 269 Me.Label5.Size = New System.Drawing.Size(94, 12) 269 Me.Label5.TabIndex = 7270 Me.Label5.TabIndex = 8 270 271 Me.Label5.Text = "DM更新間隔(秒)" 271 272 ' 272 273 'NextPages 273 274 ' 274 Me.NextPages.Location = New System.Drawing.Point(183, 1 48)275 Me.NextPages.Location = New System.Drawing.Point(183, 172) 275 276 Me.NextPages.Name = "NextPages" 276 277 Me.NextPages.Size = New System.Drawing.Size(65, 19) 277 Me.NextPages.TabIndex = 1 2278 Me.NextPages.TabIndex = 13 278 279 ' 279 280 'Label6 280 281 ' 281 282 Me.Label6.AutoSize = True 282 Me.Label6.Location = New System.Drawing.Point(14, 1 51)283 Me.Label6.Location = New System.Drawing.Point(14, 175) 283 284 Me.Label6.Name = "Label6" 284 285 Me.Label6.Size = New System.Drawing.Size(144, 12) 285 Me.Label6.TabIndex = 1 1286 Me.Label6.TabIndex = 12 286 287 Me.Label6.Text = "閾値オーバー時の取得ページ" 287 288 ' … … 289 290 ' 290 291 Me.ReadLogDays.Enabled = False 291 Me.ReadLogDays.Location = New System.Drawing.Point(183, 1 73)292 Me.ReadLogDays.Location = New System.Drawing.Point(183, 197) 292 293 Me.ReadLogDays.Name = "ReadLogDays" 293 294 Me.ReadLogDays.Size = New System.Drawing.Size(51, 19) 294 Me.ReadLogDays.TabIndex = 1 4295 Me.ReadLogDays.TabIndex = 15 295 296 Me.ReadLogDays.Visible = False 296 297 ' … … 299 300 Me.Label7.AutoSize = True 300 301 Me.Label7.Enabled = False 301 Me.Label7.Location = New System.Drawing.Point(14, 176)302 Me.Label7.Location = New System.Drawing.Point(14, 200) 302 303 Me.Label7.Name = "Label7" 303 304 Me.Label7.Size = New System.Drawing.Size(163, 12) 304 Me.Label7.TabIndex = 1 3305 Me.Label7.TabIndex = 14 305 306 Me.Label7.Text = "ログ読み込み 起動時刻から過去" 306 307 Me.Label7.Visible = False … … 308 309 'StartupReadPages 309 310 ' 310 Me.StartupReadPages.Location = New System.Drawing.Point(74, 2 16)311 Me.StartupReadPages.Location = New System.Drawing.Point(74, 240) 311 312 Me.StartupReadPages.Name = "StartupReadPages" 312 313 Me.StartupReadPages.Size = New System.Drawing.Size(34, 19) 313 Me.StartupReadPages.TabIndex = 1 8314 Me.StartupReadPages.TabIndex = 19 314 315 ' 315 316 'Label8 316 317 ' 317 318 Me.Label8.AutoSize = True 318 Me.Label8.Location = New System.Drawing.Point(14, 2 01)319 Me.Label8.Location = New System.Drawing.Point(14, 225) 319 320 Me.Label8.Name = "Label8" 320 321 Me.Label8.Size = New System.Drawing.Size(129, 12) 321 Me.Label8.TabIndex = 1 6322 Me.Label8.TabIndex = 17 322 323 Me.Label8.Text = "起動時読み込みページ数" 323 324 ' … … 325 326 ' 326 327 Me.Label9.AutoSize = True 327 Me.Label9.Location = New System.Drawing.Point(14, 2 47)328 Me.Label9.Location = New System.Drawing.Point(14, 271) 328 329 Me.Label9.Name = "Label9" 329 330 Me.Label9.Size = New System.Drawing.Size(114, 12) 330 Me.Label9.TabIndex = 2 3331 Me.Label9.TabIndex = 24 331 332 Me.Label9.Text = "起動時読み込みポスト" 332 333 ' … … 334 335 ' 335 336 Me.StartupReaded.AutoSize = True 336 Me.StartupReaded.Location = New System.Drawing.Point(183, 2 46)337 Me.StartupReaded.Location = New System.Drawing.Point(183, 270) 337 338 Me.StartupReaded.Name = "StartupReaded" 338 339 Me.StartupReaded.Size = New System.Drawing.Size(76, 16) 339 Me.StartupReaded.TabIndex = 2 4340 Me.StartupReaded.TabIndex = 25 340 341 Me.StartupReaded.Text = "既読にする" 341 342 Me.StartupReaded.UseVisualStyleBackColor = True … … 346 347 Me.ReadLogUnit.FormattingEnabled = True 347 348 Me.ReadLogUnit.Items.AddRange(New Object() {"分間", "時間", "日間"}) 348 Me.ReadLogUnit.Location = New System.Drawing.Point(235, 1 73)349 Me.ReadLogUnit.Location = New System.Drawing.Point(235, 197) 349 350 Me.ReadLogUnit.Name = "ReadLogUnit" 350 351 Me.ReadLogUnit.Size = New System.Drawing.Size(61, 20) 351 Me.ReadLogUnit.TabIndex = 1 5352 Me.ReadLogUnit.TabIndex = 16 352 353 Me.ReadLogUnit.Visible = False 353 354 ' … … 977 978 ' 978 979 Me.Label31.AutoSize = True 979 Me.Label31.Location = New System.Drawing.Point(27, 2 19)980 Me.Label31.Location = New System.Drawing.Point(27, 243) 980 981 Me.Label31.Name = "Label31" 981 982 Me.Label31.Size = New System.Drawing.Size(41, 12) 982 Me.Label31.TabIndex = 1 7983 Me.Label31.TabIndex = 18 983 984 Me.Label31.Text = "Recent" 984 985 ' … … 986 987 ' 987 988 Me.Label33.AutoSize = True 988 Me.Label33.Location = New System.Drawing.Point(114, 2 19)989 Me.Label33.Location = New System.Drawing.Point(114, 243) 989 990 Me.Label33.Name = "Label33" 990 991 Me.Label33.Size = New System.Drawing.Size(34, 12) 991 Me.Label33.TabIndex = 19992 Me.Label33.TabIndex = 20 992 993 Me.Label33.Text = "Reply" 993 994 ' … … 995 996 ' 996 997 Me.Label35.AutoSize = True 997 Me.Label35.Location = New System.Drawing.Point(194, 2 19)998 Me.Label35.Location = New System.Drawing.Point(194, 243) 998 999 Me.Label35.Name = "Label35" 999 1000 Me.Label35.Size = New System.Drawing.Size(22, 12) 1000 Me.Label35.TabIndex = 2 11001 Me.Label35.TabIndex = 22 1001 1002 Me.Label35.Text = "DM" 1002 1003 ' 1003 1004 'StartupReadReply 1004 1005 ' 1005 Me.StartupReadReply.Location = New System.Drawing.Point(154, 2 16)1006 Me.StartupReadReply.Location = New System.Drawing.Point(154, 240) 1006 1007 Me.StartupReadReply.Name = "StartupReadReply" 1007 1008 Me.StartupReadReply.Size = New System.Drawing.Size(34, 19) 1008 Me.StartupReadReply.TabIndex = 2 01009 Me.StartupReadReply.TabIndex = 21 1009 1010 ' 1010 1011 'StartupReadDM 1011 1012 ' 1012 Me.StartupReadDM.Location = New System.Drawing.Point(222, 2 16)1013 Me.StartupReadDM.Location = New System.Drawing.Point(222, 240) 1013 1014 Me.StartupReadDM.Name = "StartupReadDM" 1014 1015 Me.StartupReadDM.Size = New System.Drawing.Size(34, 19) 1015 Me.StartupReadDM.TabIndex = 2 21016 Me.StartupReadDM.TabIndex = 23 1016 1017 ' 1017 1018 'TextBox3 … … 1171 1172 ' 1172 1173 Me.CheckboxReply.AutoSize = True 1173 Me.CheckboxReply.Location = New System.Drawing.Point( 254, 59)1174 Me.CheckboxReply.Location = New System.Drawing.Point(77, 82) 1174 1175 Me.CheckboxReply.Name = "CheckboxReply" 1175 1176 Me.CheckboxReply.Size = New System.Drawing.Size(101, 16) … … 1240 1241 'TabPage1 1241 1242 ' 1243 Me.TabPage1.Controls.Add(Me.CheckPeriodAdjust) 1242 1244 Me.TabPage1.Controls.Add(Me.MaxPost) 1243 1245 Me.TabPage1.Controls.Add(Me.Label52) … … 1267 1269 Me.TabPage1.Controls.Add(Me.StartupReadReply) 1268 1270 Me.TabPage1.Controls.Add(Me.StartupReadDM) 1269 Me.TabPage1.Location = New System.Drawing.Point(4, 2 2)1271 Me.TabPage1.Location = New System.Drawing.Point(4, 21) 1270 1272 Me.TabPage1.Name = "TabPage1" 1271 1273 Me.TabPage1.Padding = New System.Windows.Forms.Padding(3) 1272 Me.TabPage1.Size = New System.Drawing.Size(372, 43 6)1274 Me.TabPage1.Size = New System.Drawing.Size(372, 437) 1273 1275 Me.TabPage1.TabIndex = 0 1274 1276 Me.TabPage1.Text = "基本" 1275 1277 Me.TabPage1.UseVisualStyleBackColor = True 1278 ' 1279 'MaxPost 1280 ' 1281 Me.MaxPost.Location = New System.Drawing.Point(186, 293) 1282 Me.MaxPost.Name = "MaxPost" 1283 Me.MaxPost.Size = New System.Drawing.Size(62, 19) 1284 Me.MaxPost.TabIndex = 27 1285 Me.MaxPost.Visible = False 1286 ' 1287 'Label52 1288 ' 1289 Me.Label52.AutoSize = True 1290 Me.Label52.Location = New System.Drawing.Point(14, 296) 1291 Me.Label52.Name = "Label52" 1292 Me.Label52.Size = New System.Drawing.Size(149, 12) 1293 Me.Label52.TabIndex = 26 1294 Me.Label52.Text = "1時間あたりの最大POST回数" 1295 Me.Label52.Visible = False 1276 1296 ' 1277 1297 'TabPage2 … … 1306 1326 Me.TabPage2.Controls.Add(Me.StatusText) 1307 1327 Me.TabPage2.Controls.Add(Me.CheckUseRecommendStatus) 1308 Me.TabPage2.Location = New System.Drawing.Point(4, 2 2)1328 Me.TabPage2.Location = New System.Drawing.Point(4, 21) 1309 1329 Me.TabPage2.Name = "TabPage2" 1310 1330 Me.TabPage2.Padding = New System.Windows.Forms.Padding(3) 1311 Me.TabPage2.Size = New System.Drawing.Size(372, 43 6)1331 Me.TabPage2.Size = New System.Drawing.Size(372, 437) 1312 1332 Me.TabPage2.TabIndex = 1 1313 1333 Me.TabPage2.Text = "動作" … … 1360 1380 Me.TabPage3.Controls.Add(Me.CheckBox3) 1361 1381 Me.TabPage3.Controls.Add(Me.TextBox3) 1362 Me.TabPage3.Location = New System.Drawing.Point(4, 2 2)1382 Me.TabPage3.Location = New System.Drawing.Point(4, 21) 1363 1383 Me.TabPage3.Name = "TabPage3" 1364 1384 Me.TabPage3.Padding = New System.Windows.Forms.Padding(3) 1365 Me.TabPage3.Size = New System.Drawing.Size(372, 43 6)1385 Me.TabPage3.Size = New System.Drawing.Size(372, 437) 1366 1386 Me.TabPage3.TabIndex = 2 1367 1387 Me.TabPage3.Text = "表示" … … 1371 1391 ' 1372 1392 Me.TabPage4.Controls.Add(Me.GroupBox1) 1373 Me.TabPage4.Location = New System.Drawing.Point(4, 2 2)1393 Me.TabPage4.Location = New System.Drawing.Point(4, 21) 1374 1394 Me.TabPage4.Name = "TabPage4" 1375 1395 Me.TabPage4.Padding = New System.Windows.Forms.Padding(3) 1376 Me.TabPage4.Size = New System.Drawing.Size(372, 43 6)1396 Me.TabPage4.Size = New System.Drawing.Size(372, 437) 1377 1397 Me.TabPage4.TabIndex = 3 1378 1398 Me.TabPage4.Text = "フォント&色" … … 1389 1409 Me.TabPage5.Text = "通信" 1390 1410 Me.TabPage5.UseVisualStyleBackColor = True 1391 '1392 'Label521393 '1394 Me.Label52.AutoSize = True1395 Me.Label52.Location = New System.Drawing.Point(14, 272)1396 Me.Label52.Name = "Label52"1397 Me.Label52.Size = New System.Drawing.Size(149, 12)1398 Me.Label52.TabIndex = 251399 Me.Label52.Text = "1時間あたりの最大POST回数"1400 1411 ' 1401 1412 'GroupBox2 … … 1420 1431 Me.GroupBox2.Text = "プロキシの設定" 1421 1432 ' 1422 'MaxPost 1423 ' 1424 Me.MaxPost.Location = New System.Drawing.Point(186, 269) 1425 Me.MaxPost.Name = "MaxPost" 1426 Me.MaxPost.Size = New System.Drawing.Size(62, 19) 1427 Me.MaxPost.TabIndex = 26 1428 ' 1429 'RadioProxyNone 1430 ' 1431 Me.RadioProxyNone.AutoSize = True 1432 Me.RadioProxyNone.Location = New System.Drawing.Point(6, 18) 1433 Me.RadioProxyNone.Name = "RadioProxyNone" 1434 Me.RadioProxyNone.Size = New System.Drawing.Size(76, 16) 1435 Me.RadioProxyNone.TabIndex = 0 1436 Me.RadioProxyNone.Text = "使用しない" 1437 Me.RadioProxyNone.UseVisualStyleBackColor = True 1433 'Label55 1434 ' 1435 Me.Label55.AutoSize = True 1436 Me.Label55.ForeColor = System.Drawing.SystemColors.ActiveCaption 1437 Me.Label55.Location = New System.Drawing.Point(28, 134) 1438 Me.Label55.Name = "Label55" 1439 Me.Label55.Size = New System.Drawing.Size(314, 12) 1440 Me.Label55.TabIndex = 11 1441 Me.Label55.Text = "※認証が不要な場合は、ユーザ名とパスワードは空にしてください。" 1442 ' 1443 'TextProxyPassword 1444 ' 1445 Me.TextProxyPassword.Location = New System.Drawing.Point(274, 103) 1446 Me.TextProxyPassword.Name = "TextProxyPassword" 1447 Me.TextProxyPassword.Size = New System.Drawing.Size(68, 19) 1448 Me.TextProxyPassword.TabIndex = 10 1449 Me.TextProxyPassword.UseSystemPasswordChar = True 1450 ' 1451 'LabelProxyPassword 1452 ' 1453 Me.LabelProxyPassword.AutoSize = True 1454 Me.LabelProxyPassword.Location = New System.Drawing.Point(205, 106) 1455 Me.LabelProxyPassword.Name = "LabelProxyPassword" 1456 Me.LabelProxyPassword.Size = New System.Drawing.Size(69, 12) 1457 Me.LabelProxyPassword.TabIndex = 9 1458 Me.LabelProxyPassword.Text = "パスワード(&W)" 1459 ' 1460 'TextProxyUser 1461 ' 1462 Me.TextProxyUser.Location = New System.Drawing.Point(131, 103) 1463 Me.TextProxyUser.Name = "TextProxyUser" 1464 Me.TextProxyUser.Size = New System.Drawing.Size(68, 19) 1465 Me.TextProxyUser.TabIndex = 8 1466 ' 1467 'LabelProxyUser 1468 ' 1469 Me.LabelProxyUser.AutoSize = True 1470 Me.LabelProxyUser.Location = New System.Drawing.Point(62, 106) 1471 Me.LabelProxyUser.Name = "LabelProxyUser" 1472 Me.LabelProxyUser.Size = New System.Drawing.Size(63, 12) 1473 Me.LabelProxyUser.TabIndex = 7 1474 Me.LabelProxyUser.Text = "ユーザ名(&U)" 1475 ' 1476 'TextProxyPort 1477 ' 1478 Me.TextProxyPort.Location = New System.Drawing.Point(297, 78) 1479 Me.TextProxyPort.Name = "TextProxyPort" 1480 Me.TextProxyPort.Size = New System.Drawing.Size(45, 19) 1481 Me.TextProxyPort.TabIndex = 6 1482 ' 1483 'LabelProxyPort 1484 ' 1485 Me.LabelProxyPort.AutoSize = True 1486 Me.LabelProxyPort.Location = New System.Drawing.Point(243, 81) 1487 Me.LabelProxyPort.Name = "LabelProxyPort" 1488 Me.LabelProxyPort.Size = New System.Drawing.Size(48, 12) 1489 Me.LabelProxyPort.TabIndex = 5 1490 Me.LabelProxyPort.Text = "ポート(&P)" 1491 ' 1492 'TextProxyAddress 1493 ' 1494 Me.TextProxyAddress.Location = New System.Drawing.Point(102, 78) 1495 Me.TextProxyAddress.Name = "TextProxyAddress" 1496 Me.TextProxyAddress.Size = New System.Drawing.Size(135, 19) 1497 Me.TextProxyAddress.TabIndex = 4 1498 ' 1499 'LabelProxyAddress 1500 ' 1501 Me.LabelProxyAddress.AutoSize = True 1502 Me.LabelProxyAddress.Location = New System.Drawing.Point(38, 81) 1503 Me.LabelProxyAddress.Name = "LabelProxyAddress" 1504 Me.LabelProxyAddress.Size = New System.Drawing.Size(58, 12) 1505 Me.LabelProxyAddress.TabIndex = 3 1506 Me.LabelProxyAddress.Text = "プロキシ(&X)" 1507 ' 1508 'RadioProxySpecified 1509 ' 1510 Me.RadioProxySpecified.AutoSize = True 1511 Me.RadioProxySpecified.Location = New System.Drawing.Point(6, 62) 1512 Me.RadioProxySpecified.Name = "RadioProxySpecified" 1513 Me.RadioProxySpecified.Size = New System.Drawing.Size(66, 16) 1514 Me.RadioProxySpecified.TabIndex = 2 1515 Me.RadioProxySpecified.Text = "指定する" 1516 Me.RadioProxySpecified.UseVisualStyleBackColor = True 1438 1517 ' 1439 1518 'RadioProxyIE … … 1449 1528 Me.RadioProxyIE.UseVisualStyleBackColor = True 1450 1529 ' 1451 'RadioProxySpecified 1452 ' 1453 Me.RadioProxySpecified.AutoSize = True 1454 Me.RadioProxySpecified.Location = New System.Drawing.Point(6, 62) 1455 Me.RadioProxySpecified.Name = "RadioProxySpecified" 1456 Me.RadioProxySpecified.Size = New System.Drawing.Size(66, 16) 1457 Me.RadioProxySpecified.TabIndex = 2 1458 Me.RadioProxySpecified.Text = "指定する" 1459 Me.RadioProxySpecified.UseVisualStyleBackColor = True 1460 ' 1461 'LabelProxyAddress 1462 ' 1463 Me.LabelProxyAddress.AutoSize = True 1464 Me.LabelProxyAddress.Location = New System.Drawing.Point(38, 81) 1465 Me.LabelProxyAddress.Name = "LabelProxyAddress" 1466 Me.LabelProxyAddress.Size = New System.Drawing.Size(58, 12) 1467 Me.LabelProxyAddress.TabIndex = 3 1468 Me.LabelProxyAddress.Text = "プロキシ(&X)" 1469 ' 1470 'TextProxyAddress 1471 ' 1472 Me.TextProxyAddress.Location = New System.Drawing.Point(102, 78) 1473 Me.TextProxyAddress.Name = "TextProxyAddress" 1474 Me.TextProxyAddress.Size = New System.Drawing.Size(135, 19) 1475 Me.TextProxyAddress.TabIndex = 4 1476 ' 1477 'LabelProxyPort 1478 ' 1479 Me.LabelProxyPort.AutoSize = True 1480 Me.LabelProxyPort.Location = New System.Drawing.Point(243, 81) 1481 Me.LabelProxyPort.Name = "LabelProxyPort" 1482 Me.LabelProxyPort.Size = New System.Drawing.Size(48, 12) 1483 Me.LabelProxyPort.TabIndex = 5 1484 Me.LabelProxyPort.Text = "ポート(&P)" 1485 ' 1486 'TextProxyPort 1487 ' 1488 Me.TextProxyPort.Location = New System.Drawing.Point(297, 78) 1489 Me.TextProxyPort.Name = "TextProxyPort" 1490 Me.TextProxyPort.Size = New System.Drawing.Size(45, 19) 1491 Me.TextProxyPort.TabIndex = 6 1492 ' 1493 'LabelProxyUser 1494 ' 1495 Me.LabelProxyUser.AutoSize = True 1496 Me.LabelProxyUser.Location = New System.Drawing.Point(62, 106) 1497 Me.LabelProxyUser.Name = "LabelProxyUser" 1498 Me.LabelProxyUser.Size = New System.Drawing.Size(63, 12) 1499 Me.LabelProxyUser.TabIndex = 7 1500 Me.LabelProxyUser.Text = "ユーザ名(&U)" 1501 ' 1502 'TextProxyUser 1503 ' 1504 Me.TextProxyUser.Location = New System.Drawing.Point(131, 103) 1505 Me.TextProxyUser.Name = "TextProxyUser" 1506 Me.TextProxyUser.Size = New System.Drawing.Size(68, 19) 1507 Me.TextProxyUser.TabIndex = 8 1508 ' 1509 'LabelProxyPassword 1510 ' 1511 Me.LabelProxyPassword.AutoSize = True 1512 Me.LabelProxyPassword.Location = New System.Drawing.Point(205, 106) 1513 Me.LabelProxyPassword.Name = "LabelProxyPassword" 1514 Me.LabelProxyPassword.Size = New System.Drawing.Size(69, 12) 1515 Me.LabelProxyPassword.TabIndex = 9 1516 Me.LabelProxyPassword.Text = "パスワード(&W)" 1517 ' 1518 'TextProxyPassword 1519 ' 1520 Me.TextProxyPassword.Location = New System.Drawing.Point(274, 103) 1521 Me.TextProxyPassword.Name = "TextProxyPassword" 1522 Me.TextProxyPassword.Size = New System.Drawing.Size(68, 19) 1523 Me.TextProxyPassword.TabIndex = 10 1524 Me.TextProxyPassword.UseSystemPasswordChar = True 1525 ' 1526 'Label55 1527 ' 1528 Me.Label55.AutoSize = True 1529 Me.Label55.ForeColor = System.Drawing.SystemColors.ActiveCaption 1530 Me.Label55.Location = New System.Drawing.Point(28, 134) 1531 Me.Label55.Name = "Label55" 1532 Me.Label55.Size = New System.Drawing.Size(314, 12) 1533 Me.Label55.TabIndex = 11 1534 Me.Label55.Text = "※認証が不要な場合は、ユーザ名とパスワードは空にしてください。" 1530 'RadioProxyNone 1531 ' 1532 Me.RadioProxyNone.AutoSize = True 1533 Me.RadioProxyNone.Location = New System.Drawing.Point(6, 18) 1534 Me.RadioProxyNone.Name = "RadioProxyNone" 1535 Me.RadioProxyNone.Size = New System.Drawing.Size(76, 16) 1536 Me.RadioProxyNone.TabIndex = 0 1537 Me.RadioProxyNone.Text = "使用しない" 1538 Me.RadioProxyNone.UseVisualStyleBackColor = True 1539 ' 1540 'CheckPeriodAdjust 1541 ' 1542 Me.CheckPeriodAdjust.AutoSize = True 1543 Me.CheckPeriodAdjust.Location = New System.Drawing.Point(186, 82) 1544 Me.CheckPeriodAdjust.Name = "CheckPeriodAdjust" 1545 Me.CheckPeriodAdjust.Size = New System.Drawing.Size(91, 16) 1546 Me.CheckPeriodAdjust.TabIndex = 7 1547 Me.CheckPeriodAdjust.Text = "自動調整する" 1548 Me.CheckPeriodAdjust.UseVisualStyleBackColor = True 1535 1549 ' 1536 1550 'Setting … … 1702 1716 Friend WithEvents MaxPost As System.Windows.Forms.TextBox 1703 1717 Friend WithEvents Label52 As System.Windows.Forms.Label 1718 Friend WithEvents CheckPeriodAdjust As System.Windows.Forms.CheckBox 1704 1719 End Class -
lang/vb2005/Tween/Tween/Setting.vb
r21380 r21501 49 49 Private _MyProxyPassword As String 50 50 Private _MyMaxPostNum As Integer 51 Private _MyPeriodAdjust As Boolean 51 52 52 53 'Public Enum LogUnitEnum … … 192 193 _MyProxyUser = TextProxyUser.Text.Trim() 193 194 _MyProxyPassword = TextProxyPassword.Text.Trim() 195 _MyPeriodAdjust = CheckPeriodAdjust.Checked 194 196 195 197 'TweenMain.SetMainWindowTitle() … … 319 321 TextProxyPassword.Text = _MyProxyPassword 320 322 323 CheckPeriodAdjust.Checked = _MyPeriodAdjust 324 321 325 'TweenMain.SetMainWindowTitle() 322 326 'TweenMain.SetNotifyIconText() … … 1009 1013 End Property 1010 1014 1015 Public Property PeriodAdjust() As Boolean 1016 Get 1017 Return _MyPeriodAdjust 1018 End Get 1019 Set(ByVal value As Boolean) 1020 _MyPeriodAdjust = value 1021 End Set 1022 End Property 1023 1011 1024 Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click 1012 1025 Dim filedlg As New OpenFileDialog() -
lang/vb2005/Tween/Tween/TwConfig.vb
r21380 r21501 1535 1535 Me("proxypassword") = "" 1536 1536 End If 1537 End Set 1538 End Property 1539 1540 <ConfigurationProperty("periodadjust", DefaultValue:=True)> _ 1541 Public Property PeriodAdjust() As Boolean 1542 Get 1543 Return CBool(Me("periodadjust")) 1544 End Get 1545 Set(ByVal value As Boolean) 1546 Me("periodadjust") = value 1537 1547 End Set 1538 1548 End Property -
lang/vb2005/Tween/Tween/Tween.vb
r21382 r21501 60 60 Private RemainPostNum As Integer ' POST残り回数 61 61 Private __PostCounter As Integer = 59 '割り込みカウンタ タイマ割り込みでカウントダウン 62 Private _postTimestamps As New List(Of Date) 63 Private _tlTimestamps As New Dictionary(Of Date, Integer) 64 Private _tlCount As Integer 62 65 63 66 Friend Class Win32Api … … 316 319 SettingDialog.ProxyUser = _section.ProxyUser 317 320 SettingDialog.ProxyPassword = _section.ProxyPassword 321 SettingDialog.PeriodAdjust = _section.PeriodAdjust 318 322 319 323 'ユーザー名、パスワードが未設定なら設定画面を表示(初回起動時など) … … 1604 1608 Case WORKERTYPE.Timeline 1605 1609 StatusLabel.Text = "Recent更新完了" 1610 Dim statusCount As Integer = rslt.TLine.Count 1606 1611 If rslt.TLine.Count > 0 Then 1607 1612 RefreshTimeline(rslt.TLine) 1608 1613 End If 1614 TimerTimeline.Enabled = False 1609 1615 If rslt.retMsg <> "" Then 1610 1616 If My.Computer.Network.IsAvailable Then … … 1679 1685 End If 1680 1686 Else 1687 _tlTimestamps.Add(Now, statusCount) 1688 Dim oneHour As Date = Now.Subtract(New TimeSpan(1, 0, 0)) 1689 Dim keys As New List(Of Date) 1690 _tlCount = 0 1691 For Each key As Date In _tlTimestamps.Keys 1692 If key.CompareTo(oneHour) < 0 Then 1693 keys.Add(key) 1694 Else 1695 _tlCount += _tlTimestamps(key) 1696 End If 1697 Next 1698 For Each key As Date In keys 1699 _tlTimestamps.Remove(key) 1700 Next 1701 keys.Clear() 1681 1702 If rslt.page + 1 <= rslt.endPage Then 1682 If rslt.TLine.Count = 20 Then TimerTimeline.Interval -= 1000 1703 If statusCount = 20 And rslt.page = 1 And SettingDialog.PeriodAdjust Then 1704 Dim itv As Integer = TimerTimeline.Interval 1705 itv -= 5000 1706 If itv < 15000 Then itv = 15000 1707 TimerTimeline.Interval = itv 1708 End If 1683 1709 args.page = rslt.page + 1 1684 1710 args.endPage = rslt.endPage … … 1695 1721 GetTimelineWorker.RunWorkerAsync(args) 1696 1722 Else 1697 If rslt.page = 1 And rslt.TLine.Count < 18Then1723 If rslt.page = 1 And statusCount < 18 And SettingDialog.PeriodAdjust Then 1698 1724 TimerTimeline.Interval += 1000 1699 1725 If TimerTimeline.Interval > SettingDialog.TimelinePeriodInt * 1000 Then TimerTimeline.Interval = SettingDialog.TimelinePeriodInt * 1000 … … 1737 1763 RefreshTimeline(rslt.TLine) 1738 1764 End If 1765 TimerTimeline.Enabled = False 1739 1766 If My.Computer.Network.IsAvailable Then 1740 1767 If SettingDialog.TimelinePeriodInt > 0 Then TimerTimeline.Enabled = True … … 1798 1825 RefreshDirectMessage(rslt.TLine, True) 1799 1826 End If 1827 TimerDM.Enabled = False 1800 1828 If rslt.retMsg <> "" Then 1801 1829 StatusLabel.Text = rslt.retMsg … … 1844 1872 RefreshDirectMessage(rslt.TLine, False) 1845 1873 End If 1874 TimerDM.Enabled = False 1846 1875 If rslt.retMsg <> "" Then 1847 1876 StatusLabel.Text = rslt.retMsg … … 3035 3064 clsTwPost.Username = _username 3036 3065 clsTwPost.Password = _password 3037 TimerTimeline.Interval = IIf(SettingDialog.TimelinePeriodInt > 0, SettingDialog.TimelinePeriodInt * 1000, 600000) 3038 TimerDM.Interval = IIf(SettingDialog.DMPeriodInt > 0, SettingDialog.DMPeriodInt * 1000, 600000) 3066 'TimerTimeline.Interval = IIf(SettingDialog.TimelinePeriodInt > 0, SettingDialog.TimelinePeriodInt * 1000, 600000) 3067 If SettingDialog.TimelinePeriodInt > 0 Then 3068 If SettingDialog.PeriodAdjust Then 3069 If SettingDialog.TimelinePeriodInt * 1000 < TimerTimeline.Interval Then 3070 TimerTimeline.Interval = SettingDialog.TimelinePeriodInt * 1000 3071 End If 3072 Else 3073 TimerTimeline.Interval = SettingDialog.TimelinePeriodInt * 1000 3074 End If 3075 Else 3076 TimerTimeline.Interval = 600000 3077 TimerTimeline.Enabled = False 3078 End If 3079 If SettingDialog.DMPeriodInt > 0 Then 3080 TimerDM.Interval = SettingDialog.DMPeriodInt * 1000 3081 Else 3082 TimerDM.Interval = 600000 3083 TimerDM.Enabled = False 3084 End If 3039 3085 clsTw.NextThreshold = SettingDialog.NextPageThreshold 3040 3086 clsTw.NextPages = SettingDialog.NextPagesInt … … 3042 3088 clsTw.HubServer = SettingDialog.HubServer 3043 3089 clsTwPost.HubServer = SettingDialog.HubServer 3090 clsTw.TinyUrlResolve = SettingDialog.TinyUrlResolve 3044 3091 clsTw.ProxyType = SettingDialog.ProxyType 3045 3092 clsTw.ProxyAddress = SettingDialog.ProxyAddress … … 5910 5957 NotifyIcon1.Icon = NIconAtRed 5911 5958 Else 5959 _postTimestamps.Add(Now) 5960 Dim oneHour As Date = Now.Subtract(New TimeSpan(1, 0, 0)) 5961 For i As Integer = 0 To _postTimestamps.Count - 1 5962 If _postTimestamps(i).CompareTo(oneHour) < 0 Then 5963 _postTimestamps.RemoveAt(i) 5964 Else 5965 Exit For 5966 End If 5967 Next 5912 5968 If RemainPostNum > 1 Then RemainPostNum -= 1 5913 5969 If TimerPostCounter.Enabled = False Then TimerPostCounter.Enabled = True … … 6326 6382 End If 6327 6383 Next 6328 StatusLabelUrl.Text = "タブ: " + tur.ToString() + "/" + tal.ToString() + " 全体:" + ur.ToString() + "/" + al.ToString() + _ 6329 " (返信: " + urat.ToString() + ") POST残り " + RemainPostNum.ToString() + "回/最大 " + SettingDialog.MaxPostNum.ToString() + "回" 6384 'StatusLabelUrl.Text = "タブ: " + tur.ToString() + "/" + tal.ToString() + " 全体:" + ur.ToString() + "/" + al.ToString() + _ 6385 ' " (返信: " + urat.ToString() + ") POST残り " + RemainPostNum.ToString() + "回/最大 " + SettingDialog.MaxPostNum.ToString() + "回 更新間隔:" + (TimerTimeline.Interval / 1000).ToString 6386 StatusLabelUrl.Text = "[タブ: " + tur.ToString() + "/" + tal.ToString() + " 全体: " + ur.ToString() + "/" + al.ToString() + _ 6387 " (返信: " + urat.ToString() + ")] [時速: " + _postTimestamps.Count.ToString() + "/" + _tlCount.ToString + "] [間隔: " + IIf(SettingDialog.TimelinePeriodInt = 0, "-", (TimerTimeline.Interval / 1000).ToString) + "]" 6330 6388 End Sub 6331 6389
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)