Patches item #1802012, was opened at 2007-09-25 14:38
Message generated for change (Comment added) made by wikipedian
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1802012&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Alleborgo (alleborgo)
Assigned to: Nobody/Anonymous (nobody)
Summary: family.py - fixed scn localisation
Initial Comment:
Scn namespaces changed, plase download the diff file and update. Thanks. Alleborgo
----------------------------------------------------------------------
>Comment By: Daniel Herding (wikipedian)
Date: 2007-09-25 15:29
Message:
Logged In: YES
user_id=880694
Originator: NO
Applied, thank you.
----------------------------------------------------------------------
Comment By: Alleborgo (alleborgo)
Date: 2007-09-25 14:52
Message:
Logged In: YES
user_id=1898409
Originator: YES
File Added: better_family.diff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1802012&group_…
Patches item #1802012, was opened at 2007-09-25 14:38
Message generated for change (Comment added) made by alleborgo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1802012&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alleborgo (alleborgo)
Assigned to: Nobody/Anonymous (nobody)
Summary: family.py - fixed scn localisation
Initial Comment:
Scn namespaces changed, plase download the diff file and update. Thanks. Alleborgo
----------------------------------------------------------------------
>Comment By: Alleborgo (alleborgo)
Date: 2007-09-25 14:52
Message:
Logged In: YES
user_id=1898409
Originator: YES
File Added: better_family.diff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1802012&group_…
Patches item #1802012, was opened at 2007-09-25 14:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1802012&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alleborgo (alleborgo)
Assigned to: Nobody/Anonymous (nobody)
Summary: family.py - fixed scn localisation
Initial Comment:
Scn namespaces changed, plase download the diff file and update. Thanks. Alleborgo
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1802012&group_…
Bugs item #1801423, was opened at 2007-09-24 20:44
Message generated for change (Settings changed) made by wikipedian
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1801423&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: warnfile.py generates syntax error
Initial Comment:
When running warnfile.py, I get:
File "D:\Work\pywikipediabot-HEAD\pywikipedia\warnfile.py", line 127
reader = WarnfileReader(filename)
^
SyntaxError: invalid syntax
I managed to find SVN commit of 17/09/2007 by russblau to be responsible for the code break.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2007-09-24 20:54
Message:
Logged In: YES
user_id=181280
Originator: NO
Fixed. Thank you.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1801423&group_…
Patches item #1801629, was opened at 2007-09-24 13:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1801629&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: list of languages update
Initial Comment:
Please, can anybody update language list? in last days (or weeks) were several languages closed (ii, ru-sib) but interwiki and bad links in this languages remains.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1801629&group_…
Revision: 4359
Author: russblau
Date: 2007-09-24 19:05:17 +0000 (Mon, 24 Sep 2007)
Log Message:
-----------
Text colorization.
Modified Paths:
--------------
trunk/pywikipedia/userinterfaces/tkinter_interface.py
Modified: trunk/pywikipedia/userinterfaces/tkinter_interface.py
===================================================================
--- trunk/pywikipedia/userinterfaces/tkinter_interface.py 2007-09-24 18:54:12 UTC (rev 4358)
+++ trunk/pywikipedia/userinterfaces/tkinter_interface.py 2007-09-24 19:05:17 UTC (rev 4359)
@@ -3,8 +3,11 @@
import time
import re, sys, threading
import tkMessageBox, tkSimpleDialog
+import config
from Tkinter import *
+color_pattern = re.compile(r"%s\{(?P<colorname>\w+)\}" % "\x03")
+
# we run the Tkinter mainloop in a separate thread so as not to block
# the main bot code; however, this means that all communication with
# the Tkinter interface has to be done through events that will be processed
@@ -12,6 +15,7 @@
# interface code to call any of the Tkinter objects directly, except to
# put events on their queue (e.g., .after_idle()).
+
class MainloopThread(threading.Thread):
def __init__(self, window):
threading.Thread.__init__(self)
@@ -73,7 +77,6 @@
# display the menu
# root.config(menu=menubar)
-
def edit(self):
return self.text
@@ -162,9 +165,31 @@
class OutputBox(Text):
def __init__(self, parent, *args, **kwargs):
Text.__init__(self, parent, *args, **kwargs)
+ # create color tags
+ # map Unix/ANSI color names to Tcl/Tk names
+ # because Tkinter background is white, we need darker colors
+ for ucolor, tcolor in (
+ ('default', 'Black'),
+ ('lightblue', 'Blue'),
+ ('lightgreen', 'Green'),
+ ('lightaqua', 'DarkSeaGreen'),
+ ('lightred', 'Red'),
+ ('lightpurple', 'Violet'),
+ ('lightyellow', 'DarkOrange')
+ ):
+ self.tag_config(ucolor, foreground=tcolor)
def show(self, text):
- self.insert(END, text)
+ global debugger
+ debugger = text
+ next_tag = 'default'
+ m = color_pattern.search(text)
+ while m:
+ self.insert(END, text[0:m.start()], next_tag)
+ next_tag = m.group("colorname")
+ text = text[m.end():]
+ m = color_pattern.search(text)
+ self.insert(END, text, next_tag)
self.yview(END)
@@ -186,15 +211,12 @@
# put textarea into top frame, using all available space
self.logBox.pack(anchor=CENTER, fill=BOTH)
self.top_frame.pack(side=TOP)
- self.logBox.tag_config(12, foreground='red')
- self.logBox.tag_config(10, foreground='green')
-# self.parent.mainloop()
MainloopThread(self.parent).start()
def output(self, text, urgency = 1, toStdout = False):
"""
- urgency levels:
+ urgency levels: (NOT IMPLEMENTED)
0 - Debug output. Won't be shown in normal mode.
1 - Will be shown in log window.
2 - Will be shown in error box.
Bugs item #1801423, was opened at 2007-09-24 20:44
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1801423&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: warnfile.py generates syntax error
Initial Comment:
When running warnfile.py, I get:
File "D:\Work\pywikipediabot-HEAD\pywikipedia\warnfile.py", line 127
reader = WarnfileReader(filename)
^
SyntaxError: invalid syntax
I managed to find SVN commit of 17/09/2007 by russblau to be responsible for the code break.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2007-09-24 20:54
Message:
Logged In: YES
user_id=181280
Originator: NO
Fixed. Thank you.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1801423&group_…
Bugs item #1801423, was opened at 2007-09-24 19:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1801423&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: warnfile.py generates syntax error
Initial Comment:
When running warnfile.py, I get:
File "D:\Work\pywikipediabot-HEAD\pywikipedia\warnfile.py", line 127
reader = WarnfileReader(filename)
^
SyntaxError: invalid syntax
I managed to find SVN commit of 17/09/2007 by russblau to be responsible for the code break.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1801423&group_…