pyrook:pyrook.git
5 years agoBump version and docs for 0.3.1 0.3.1
Sam Lade [Mon, 2 Jan 2012 02:27:39 +0000 (02:27 +0000)]
Bump version and docs for 0.3.1

5 years agoAllow inlining purged data
Sam Lade [Mon, 2 Jan 2012 02:09:27 +0000 (02:09 +0000)]
Allow inlining purged data

Drops the purged data into the chatstream at the correct time, overwriting
later items, without clearing the whole backlog. This obviously will not clean
out system messages from older sections of the backlog, but this is an unlikely
use case.

5 years agoCommented out code--
Sam Lade [Sun, 1 Jan 2012 18:36:44 +0000 (18:36 +0000)]
Commented out code--

5 years agoFix msg target left user logic
Sam Lade [Sat, 31 Dec 2011 23:11:08 +0000 (23:11 +0000)]
Fix msg target left user logic

A left user is removed from the list immediately upon a different user being
selected.
If a user leaves and rejoins while targeted, they are correctly returned to the
sorted section of the list, and no longer break and get stuck in wrong target
mode.

5 years agoFix height of input box
Sam Lade [Sat, 31 Dec 2011 22:53:20 +0000 (22:53 +0000)]
Fix height of input box

Steals the height from the QComboBox. Tested on Oxygen, Windows Classic and
Windows 7 and found to behave sanely.

5 years agoFix except statements for GeoIP
Sam Lade [Sat, 31 Dec 2011 21:06:58 +0000 (21:06 +0000)]
Fix except statements for GeoIP

5 years agoAdd link to region code -> name map for geoIP to docs
Sam Lade [Sat, 31 Dec 2011 20:56:46 +0000 (20:56 +0000)]
Add link to region code -> name map for geoIP to docs

5 years agoFix and improve l10n support for userlist away detect
Sam Lade [Sat, 31 Dec 2011 20:55:20 +0000 (20:55 +0000)]
Fix and improve l10n support for userlist away detect

5 years agoCopy link location to selection clipboard if available
Sam Lade [Sat, 31 Dec 2011 11:16:57 +0000 (11:16 +0000)]
Copy link location to selection clipboard if available

5 years agoFix pasting multiline data into input box
Sam Lade [Sat, 31 Dec 2011 10:52:27 +0000 (10:52 +0000)]
Fix pasting multiline data into input box

5 years agoFix file copy logic when dest doesn't exist
Sam Lade [Sat, 31 Dec 2011 02:51:37 +0000 (02:51 +0000)]
Fix file copy logic when dest doesn't exist

5 years agoDocs formatting fail--
Sam Lade [Sat, 31 Dec 2011 02:21:48 +0000 (02:21 +0000)]
Docs formatting fail--

5 years agoBump version and docs for 0.3.0 0.3.0
Sam Lade [Sat, 31 Dec 2011 02:13:21 +0000 (02:13 +0000)]
Bump version and docs for 0.3.0

5 years agoImprove regexes for highlights
Sam Lade [Sat, 31 Dec 2011 02:07:17 +0000 (02:07 +0000)]
Improve regexes for highlights

Never highlight a line spoken by the user. Catch remote /msgs too.

5 years agodocs for geoip
Sam Lade [Sat, 31 Dec 2011 01:37:51 +0000 (01:37 +0000)]
docs for geoip

5 years agoAdd geoIP tooltips on userlist IPs
Sam Lade [Sat, 31 Dec 2011 01:27:15 +0000 (01:27 +0000)]
Add geoIP tooltips on userlist IPs

5 years agoMake data file copying algorithm more intelligent
Sam Lade [Sat, 31 Dec 2011 01:27:04 +0000 (01:27 +0000)]
Make data file copying algorithm more intelligent

5 years agopygeoip support only
Sam Lade [Sat, 31 Dec 2011 01:25:45 +0000 (01:25 +0000)]
pygeoip support only

The C GeoIP library segfaulted in testing, and will therefore not be supported.

5 years agoImport, data copy and settings for geoIP
Sam Lade [Sat, 31 Dec 2011 00:14:52 +0000 (00:14 +0000)]
Import, data copy and settings for geoIP

5 years agoTidy settings dialogue
Sam Lade [Sat, 31 Dec 2011 00:14:13 +0000 (00:14 +0000)]
Tidy settings dialogue

5 years agoDocs for enchant
Sam Lade [Fri, 30 Dec 2011 22:43:22 +0000 (22:43 +0000)]
Docs for enchant

5 years agoAdd spelling suggestions and replacement
Sam Lade [Fri, 30 Dec 2011 22:32:47 +0000 (22:32 +0000)]
Add spelling suggestions and replacement

5 years agoHighlight misspelled words
Sam Lade [Fri, 30 Dec 2011 20:55:50 +0000 (20:55 +0000)]
Highlight misspelled words

5 years agoSettings for spellcheck
Sam Lade [Fri, 30 Dec 2011 19:13:55 +0000 (19:13 +0000)]
Settings for spellcheck

5 years agoMake input box a QPlainTextEdit
Sam Lade [Fri, 30 Dec 2011 18:19:17 +0000 (18:19 +0000)]
Make input box a QPlainTextEdit

Set up to as far as possible behave like the old LineEdit, but it enables
a SyntaxHighlighter for spellcheck purposes.

5 years agoFix WebTab ctrl+c on Windows
Sam Lade [Fri, 30 Dec 2011 15:18:51 +0000 (15:18 +0000)]
Fix WebTab ctrl+c on Windows

5 years agoDon't detach tabs if there's <2 tabs
Sam Lade [Fri, 30 Dec 2011 15:02:52 +0000 (15:02 +0000)]
Don't detach tabs if there's <2 tabs

5 years agoUse correct URL for right click -> copy link location
Sam Lade [Fri, 30 Dec 2011 14:57:50 +0000 (14:57 +0000)]
Use correct URL for right click -> copy link location

Creates a QTextBrowser subclass which overrides the necessary methods to divert
handling of this action and parse the URL correctly before copying.

5 years agoAdd highlighting on /msg event
Sam Lade [Fri, 30 Dec 2011 04:07:37 +0000 (04:07 +0000)]
Add highlighting on /msg event

5 years agoAlerts obey new config settings.
Sam Lade [Fri, 30 Dec 2011 03:57:20 +0000 (03:57 +0000)]
Alerts obey new config settings.

5 years agoMake away input box colour optional
Sam Lade [Fri, 30 Dec 2011 03:08:46 +0000 (03:08 +0000)]
Make away input box colour optional

5 years agoColour input box when /away
Sam Lade [Fri, 30 Dec 2011 03:03:07 +0000 (03:03 +0000)]
Colour input box when /away

5 years agoFix handling of room list request error
Sam Lade [Fri, 30 Dec 2011 02:34:45 +0000 (02:34 +0000)]
Fix handling of room list request error

5 years agoTrack away state
Sam Lade [Fri, 30 Dec 2011 02:30:31 +0000 (02:30 +0000)]
Track away state

5 years agoUse a regex for word highlight detection
Sam Lade [Fri, 30 Dec 2011 01:34:15 +0000 (01:34 +0000)]
Use a regex for word highlight detection

Now will only capture full, rather than partial, words, to prevent false
positives. Also allows a manually specified regex starting with the ~
character.

5 years agoFix line loss issue on Windows.
Sam Lade [Fri, 30 Dec 2011 00:39:20 +0000 (00:39 +0000)]
Fix line loss issue on Windows.

Due to an intermittent IOError trying to print when running with no console.

5 years agoWebTabs: implement refresh
Sam Lade [Thu, 29 Dec 2011 23:11:09 +0000 (23:11 +0000)]
WebTabs: implement refresh

(Also tweaks an outdated docstring)

5 years agoFix empty message send if target selected
Sam Lade [Thu, 29 Dec 2011 23:06:00 +0000 (23:06 +0000)]
Fix empty message send if target selected

5 years agoSave new settings dialog options
Sam Lade [Thu, 29 Dec 2011 22:36:29 +0000 (22:36 +0000)]
Save new settings dialog options

5 years agoSettings dialog: add widgets for new features
Sam Lade [Thu, 29 Dec 2011 21:43:18 +0000 (21:43 +0000)]
Settings dialog: add widgets for new features

5 years agoStrip passwords from raw HTML
Sam Lade [Thu, 29 Dec 2011 13:17:14 +0000 (13:17 +0000)]
Strip passwords from raw HTML

5 years agoBump version and docs for 0.2.6 0.2.6
Sam Lade [Thu, 29 Dec 2011 03:13:45 +0000 (03:13 +0000)]
Bump version and docs for 0.2.6

5 years agoRemove static webpage, add fields for Django page instead
Sam Lade [Thu, 29 Dec 2011 03:05:34 +0000 (03:05 +0000)]
Remove static webpage, add fields for Django page instead

5 years agoInclude exceptions in the debug log
Sam Lade [Thu, 29 Dec 2011 02:49:35 +0000 (02:49 +0000)]
Include exceptions in the debug log

5 years agoParse chatstream data line-by-line
Sam Lade [Thu, 29 Dec 2011 01:48:16 +0000 (01:48 +0000)]
Parse chatstream data line-by-line

5 years agoAlter chatstream open to always cut off <head>
Sam Lade [Thu, 29 Dec 2011 02:04:21 +0000 (02:04 +0000)]
Alter chatstream open to always cut off <head>

5 years agoRework chatstream refresh parsing
Sam Lade [Thu, 29 Dec 2011 01:11:34 +0000 (01:11 +0000)]
Rework chatstream refresh parsing

Buffer complete lines as in regular parsing and clean up.

5 years agoClear incomplete line buffer on new chatstream
Sam Lade [Thu, 29 Dec 2011 00:27:49 +0000 (00:27 +0000)]
Clear incomplete line buffer on new chatstream

Shouldn't cause issues, but just might cause the parser to trip over on rare
occasions, so fixing just in case.

5 years agoAdd raw HTML view widget a la debug log
Sam Lade [Thu, 29 Dec 2011 00:10:38 +0000 (00:10 +0000)]
Add raw HTML view widget a la debug log

5 years agoHopefully improve purge handling with connectivity issues
Sam Lade [Wed, 28 Dec 2011 23:49:47 +0000 (23:49 +0000)]
Hopefully improve purge handling with connectivity issues

5 years agoReverse ctrl+pgup/down shortcuts
Sam Lade [Fri, 9 Dec 2011 00:55:44 +0000 (00:55 +0000)]
Reverse ctrl+pgup/down shortcuts

5 years agoPrevious commit: also prevent exception on WebTabs
Sam Lade [Sun, 4 Dec 2011 20:53:23 +0000 (20:53 +0000)]
Previous commit: also prevent exception on WebTabs

5 years agoHandle currentChanged signal parameter inconsistency
Sam Lade [Sat, 3 Dec 2011 20:02:31 +0000 (20:02 +0000)]
Handle currentChanged signal parameter inconsistency

5 years agoTweak logo to avoid clipping edges of circle
Sam Lade [Thu, 1 Dec 2011 05:19:20 +0000 (05:19 +0000)]
Tweak logo to avoid clipping edges of circle

5 years agoHopefully workaround for Windows chatstream death issue
Sam Lade [Sun, 27 Nov 2011 00:29:04 +0000 (00:29 +0000)]
Hopefully workaround for Windows chatstream death issue

5 years agoEven more chatstream debug
Sam Lade [Fri, 25 Nov 2011 19:06:15 +0000 (19:06 +0000)]
Even more chatstream debug

6 years agoFix webpage title
Sam Lade [Thu, 24 Nov 2011 22:13:47 +0000 (22:13 +0000)]
Fix webpage title

Apparently this has been wrong since the first Qt versions in April. OOPS

6 years agoUse PyRook icon for menu->about
Sam Lade [Thu, 24 Nov 2011 16:07:49 +0000 (16:07 +0000)]
Use PyRook icon for menu->about

6 years agoLots of extra chatstream debug
Sam Lade [Tue, 22 Nov 2011 01:24:08 +0000 (01:24 +0000)]
Lots of extra chatstream debug

Trying to track down a Windows-specific issue with the chatstream occasionally
dying.

6 years agoTone down userlist debug
Sam Lade [Tue, 22 Nov 2011 00:53:00 +0000 (00:53 +0000)]
Tone down userlist debug

6 years agoFocus input box on room join
Sam Lade [Mon, 21 Nov 2011 03:04:07 +0000 (03:04 +0000)]
Focus input box on room join

6 years agoAllow empty message posts to deidle
Sam Lade [Mon, 21 Nov 2011 03:01:18 +0000 (03:01 +0000)]
Allow empty message posts to deidle

Also fixes exception on whitespace-only messages.

6 years agoBump version and docs for 0.2.5 0.2.5
Sam Lade [Sun, 20 Nov 2011 15:38:29 +0000 (15:38 +0000)]
Bump version and docs for 0.2.5

6 years agoUse Windows-1252, not ISO-8859-1
Sam Lade [Sun, 20 Nov 2011 15:18:26 +0000 (15:18 +0000)]
Use Windows-1252, not ISO-8859-1

Windows-1252 is a superset, and used by most browsers in place of 'real'
ISO-8859-1 anyway, so keep compatibility. This fixes issues with smart quotes
and other characters being sent in UTF8 by PyRook and Windows-1252 by other
browsers.

6 years agoDon't format strings of unknown encoding into ASCII strings
Sam Lade [Sun, 20 Nov 2011 13:10:43 +0000 (13:10 +0000)]
Don't format strings of unknown encoding into ASCII strings

Use unicode instead. Fixes broken join dialogue on topics with non-ASCII
characters in.

6 years agoLogo: tweak positioning
Sam Lade [Sun, 20 Nov 2011 03:09:05 +0000 (03:09 +0000)]
Logo: tweak positioning

6 years agoBump version and docs for 0.2.4 0.2.4
Sam Lade [Sat, 19 Nov 2011 18:19:29 +0000 (18:19 +0000)]
Bump version and docs for 0.2.4

6 years agoFix external links from WebTabs
Sam Lade [Sat, 19 Nov 2011 00:18:15 +0000 (00:18 +0000)]
Fix external links from WebTabs

6 years agoLogo changes
Sam Lade [Fri, 18 Nov 2011 22:38:11 +0000 (22:38 +0000)]
Logo changes

Add a background to the image to improve clarity against different backgrounds
when displayed.

6 years agoDon't use PNG logos if SVG is available
Sam Lade [Fri, 18 Nov 2011 22:21:56 +0000 (22:21 +0000)]
Don't use PNG logos if SVG is available

6 years agoBump version and docs for 0.2.3 0.2.3
Sam Lade [Fri, 18 Nov 2011 04:06:19 +0000 (04:06 +0000)]
Bump version and docs for 0.2.3

6 years agoOption to save geometry for the join dialog
Sam Lade [Fri, 18 Nov 2011 03:56:27 +0000 (03:56 +0000)]
Option to save geometry for the join dialog

(Also sets a window title for it, which had been missed)

6 years agoAdd convenience handlers for QSettings bools
Sam Lade [Fri, 18 Nov 2011 03:49:48 +0000 (03:49 +0000)]
Add convenience handlers for QSettings bools

The behaviour is a bit inconsistent between cached values and values read from
the file (cached as True or False, but read as "true" or "false"), which can
cause some exciting issues. Use wrappers to handle it, rather than a separate
conditional assignment for every config bool read/write.

6 years agoImprove login handling
Sam Lade [Fri, 18 Nov 2011 02:48:35 +0000 (02:48 +0000)]
Improve login handling

If a username and password are remembered or supplied as command line args,
don't ask for them, just go straight to logging in.
Also, don't save them unless we've logged in successfully with them.

6 years agoCommented out code--
Sam Lade [Fri, 18 Nov 2011 02:17:45 +0000 (02:17 +0000)]
Commented out code--

6 years agoFix crash with command line server URL
Sam Lade [Sat, 12 Nov 2011 05:18:48 +0000 (05:18 +0000)]
Fix crash with command line server URL

6 years agoBump version and docs for 0.2.2 0.2.2
Sam Lade [Fri, 11 Nov 2011 05:38:13 +0000 (05:38 +0000)]
Bump version and docs for 0.2.2

6 years agoFix icon on Windows
Sam Lade [Fri, 11 Nov 2011 05:13:26 +0000 (05:13 +0000)]
Fix icon on Windows

Windows PySide doesn't seem to have SVG support, so generate and package PNGs
with the build script, and load both SVGs and PNGs in the code.

Updates .gitignore to reflect new packaging tool outputs.

6 years agoFix command line arg parsing on Windows
Sam Lade [Fri, 11 Nov 2011 04:26:45 +0000 (04:26 +0000)]
Fix command line arg parsing on Windows

Uses a parser that ignores unknown arguments instead

6 years agoAutomatically return focus to input box
Sam Lade [Fri, 11 Nov 2011 03:56:34 +0000 (03:56 +0000)]
Automatically return focus to input box

After clicking links or selecting from the /msg target box

6 years agoDebug log window
Sam Lade [Fri, 11 Nov 2011 03:39:23 +0000 (03:39 +0000)]
Debug log window

Can now be run without the console visible and still have access to debug
information.

6 years agoUpdate build script to package logo
Sam Lade [Fri, 11 Nov 2011 03:06:59 +0000 (03:06 +0000)]
Update build script to package logo

Outputs zipped file for Windows and .tar.gz'd file for Linux.
Also uses the .pyw extension for Windows to avoid the console window.

6 years agoAdd logo/window icon.
Sam Lade [Fri, 11 Nov 2011 02:46:27 +0000 (02:46 +0000)]
Add logo/window icon.

6 years agoCatch links to rooms and handle correctly.
Sam Lade [Fri, 11 Nov 2011 00:04:24 +0000 (00:04 +0000)]
Catch links to rooms and handle correctly.

6 years agoDon't close automatically with no tabs left
Sam Lade [Thu, 10 Nov 2011 23:28:26 +0000 (23:28 +0000)]
Don't close automatically with no tabs left

Allows users to join a new room.
Also fixes waiting 20 seconds to exit if closed with no open tabs.

6 years agoShow tab close buttons
Sam Lade [Thu, 10 Nov 2011 22:56:11 +0000 (22:56 +0000)]
Show tab close buttons

6 years agoMake web tabs optional
Sam Lade [Thu, 10 Nov 2011 22:52:01 +0000 (22:52 +0000)]
Make web tabs optional

6 years agoAllow userlist pane to wrap
Sam Lade [Thu, 10 Nov 2011 22:13:49 +0000 (22:13 +0000)]
Allow userlist pane to wrap

Long user lines might wrap, but this is on balance less annoying than side-
scrolling for long topic lines etc.

6 years agoFont sizes: px -> pt
Sam Lade [Thu, 10 Nov 2011 21:43:07 +0000 (21:43 +0000)]
Font sizes: px -> pt

6 years agoOpen internal RookChat URLs as tabs
Sam Lade [Thu, 10 Nov 2011 19:49:38 +0000 (19:49 +0000)]
Open internal RookChat URLs as tabs

Uses QtWebKit if available to open internal URLs. If not, opens in external web
browser as before.

6 years agoRemember username/password options in login box
Sam Lade [Thu, 10 Nov 2011 18:29:08 +0000 (18:29 +0000)]
Remember username/password options in login box

6 years agoCommand line arguments
Sam Lade [Thu, 10 Nov 2011 16:01:35 +0000 (16:01 +0000)]
Command line arguments

Allows the username, password, server address and server name to be set.

6 years agoFix font size config
Sam Lade [Thu, 10 Nov 2011 04:39:46 +0000 (04:39 +0000)]
Fix font size config

* Applies to the userlist as well as chatstream
* Handles size deltas properly by replacing font tags with span tags.

6 years agotypo--
Sam Lade [Thu, 10 Nov 2011 03:39:14 +0000 (03:39 +0000)]
typo--

6 years agoBump version and docs for 0.2.1 0.2.1
Sam Lade [Thu, 10 Nov 2011 03:37:04 +0000 (03:37 +0000)]
Bump version and docs for 0.2.1

6 years agoWindow titles for settings and login dialogs
Sam Lade [Thu, 10 Nov 2011 03:34:40 +0000 (03:34 +0000)]
Window titles for settings and login dialogs

6 years agoRookChat options, memos, help etc available in menus
Sam Lade [Thu, 10 Nov 2011 03:27:57 +0000 (03:27 +0000)]
RookChat options, memos, help etc available in menus

6 years agoOption to prevent highlights immediately after posting
Sam Lade [Thu, 10 Nov 2011 02:22:44 +0000 (02:22 +0000)]
Option to prevent highlights immediately after posting

Prevents spurious alerts if you post and immediately change focus, but may
cause messages to be missed if they're posted during the grace period

6 years agoBetter detection of new messages for highlighting
Sam Lade [Thu, 10 Nov 2011 02:22:27 +0000 (02:22 +0000)]
Better detection of new messages for highlighting

6 years agoConfigurable default font size
Sam Lade [Thu, 10 Nov 2011 01:40:16 +0000 (01:40 +0000)]
Configurable default font size