This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
packages:psi [2005-01-24 19:58] jpc first version |
packages:psi [2008-09-20 16:10] grizz patches updated |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | |||
- | ====== Psi ====== | ||
- | Links: | ||
- | |||
- | |||
- | * [[http://psi.affinix.com/|project homepage]] | ||
- | * Fly''''Spray bug tracker [[http://psi.affinix.com/flyspray/|official english]] [[http://flyspray.patryk.one.pl/|unofficial polish]] | ||
- | There are several things that got patched and are not avaliable in the official builds (some of them may be only added on the DEVEL branch): | ||
- | |||
- | |||
- | * status indicator (small ,,i'''''' layered over the contacts' roster icon) showing if a contact set a status text | ||
- | * the "Online" default status text is removed | ||
- | * [[#status_history|status history]] | ||
- | * nicechats (allows setting arbitrary colors for the chat dialog) | ||
- | * [[#rich_roster|rich roster]] | ||
- | * [[#custom_os|custom os patch]] | ||
- | * [[http://www.cs.kuleuven.ac.be/~remko/psi/rc/|ad-hoc commands]] | ||
- | * [[http://article.gmane.org/gmane.linux.pld.user.polish/531|embedding LaTeX formulas in chat windows]] | ||
- | |||
- | |||
- | ===== Status history ===== | ||
- | /* UndefinedMacro: Anchor(status_history) */ | ||
- | |||
- | Taken from the patch announcement on the psi-devel mailing list: | ||
- | |||
- | <file>with this patch: | ||
- | - statusdlg - alt+up/down recent status history | ||
- | - config.xml - option to set history length and flag 'store presets' | ||
- | (should preset statuses be stored in 'recent' list) | ||
- | :o) | ||
- | J/S. | ||
- | </file> | ||
- | |||
- | |||
- | ===== Rich roster ===== | ||
- | /* UndefinedMacro: Anchor(rich_roster) */ | ||
- | |||
- | Also taken from the patch announcement on the psi-devel mailing list: | ||
- | |||
- | <file>Subject: [Psi-devel] [patch] roster item custom display | ||
- | From: Jacek Tomasiak <groups@skazi.prv.pl> | ||
- | To: psi-devel <psi-devel@lists.sourceforge.net> | ||
- | Date: Thu, 18 Mar 2004 13:44:58 +0100 | ||
- | |||
- | patch for flyspray task #157 | ||
- | http://psi.affinix.com/flyspray/index.php?do=details&id=157 | ||
- | |||
- | 1. class RichListViewItem - general RichText("html") support for list | ||
- | views. It is optimized for non-flicker display, but it's obvious | ||
- | that rendering RichText is more time consuming that normal | ||
- | DrawText. Multiline items are handled in "natural way" by <br> | ||
- | tags, it seems to be the most flexible solution. Text is "auto | ||
- | wrapped" to roster width by default. To avoid this use | ||
- | <nobr></nobr> tags (doesn't add "..." for long strings :o( ) | ||
- | |||
- | 2. changes in contactview: | ||
- | * custom "templates" are attached to contacts like custom iconsets, | ||
- | with regex matched against jid | ||
- | * at this moment available features are: | ||
- | - html formatting (you can change font, color, size... of selected | ||
- | contacts) | ||
- | - additional tags ("!" versions start newline if result of tag not | ||
- | empty, this way you won't have empty lines in roster, to force line | ||
- | break use simple <br> tag): | ||
- | -- <text>, <!text> - name of contact (default) | ||
- | -- <jid>, <!jid> - bare jid | ||
- | -- <status_msg>, <!status_msg> - text status message (if present) | ||
- | (need to add some trimming maybe) | ||
- | -- more to come... suggestions please (priority, resource, status | ||
- | as text ("online", "away", etc.), client version, auth state) | ||
- | * template interpretation can be extended easily by reimplementing | ||
- | expandTemplate() virtual function (done in contactview) | ||
- | * emoticons are supported, just like in tooltip | ||
- | |||
- | 3. configuration is done in config.xml at this point. Template strings | ||
- | have to be escaped (xml!) (I don't want to mess with current | ||
- | optionsdlg layout, waiting for decisions from the core-team :oD) | ||
- | EXAMPLE: | ||
- | ... | ||
- | <templates> | ||
- | <!-- agents/transports/servers -> "NAME (service)", service is in green --> | ||
- | <item regExp="^[^@]*$" template="<nobr><TEXT> (<font color="green">service</font>)</nobr>" /> | ||
- | <!-- selected contacts -> "NAME[<br>STATUS MESSAGE]", second line in -1 white font --> | ||
- | <item regExp="justin|mblsha|skazi" template="<nobr><TEXT></nobr><font size="-1" color="white"><!STATUS_MSG></font>" /> | ||
- | </templates> | ||
- | ... | ||
- | |||
- | some screenshots can be found at: http://skazi.jogger.pl | ||
- | any comments are welcome | ||
- | enjoy | ||
- | +SkaZi | ||
- | -- | ||
- | | PZDR Jacek aka SkaZi \\ | ||
- | | mail: skazi@skazi.prv.pl "Oset nie ma zadnego /O `----. | ||
- | | jabber: skazi@chrome.pl pozytku z tego, ze * (_.-. )\ | ||
- | | GG# 1699141 ICQ# 111926958 sie na nim siedzi..." *|* rs //--// X | ||
- | </file> | ||
- | |||
- | |||
- | <file>Subject: Re: [Psi-devel] [patch] roster item custom display | ||
- | From: Jacek Tomasiak <groups@skazi.prv.pl> | ||
- | To: Jacek Tomasiak <psi-devel@lists.sourceforge.net> | ||
- | Date: Fri, 19 Mar 2004 20:48:22 +0100 | ||
- | |||
- | update, some fixes, | ||
- | new fields: | ||
- | * subscription status | ||
- | * resource name | ||
- | * priority | ||
- | * client version (todo: trimming) | ||
- | (for max priority resource) | ||
- | J/S | ||
- | -- | ||
- | | PZDR Jacek aka SkaZi \\ | ||
- | | mail: skazi@skazi.prv.pl "Oset nie ma zadnego /O `----. | ||
- | | jabber: skazi@chrome.pl pozytku z tego, ze * (_.-. )\ | ||
- | | GG# 1699141 ICQ# 111926958 sie na nim siedzi..." *|* rs //--// X | ||
- | </file> | ||
- | |||
- | |||
- | ===== Custom OS ===== | ||
- | /* UndefinedMacro: Anchor(custom_os) */ | ||
- | |||
- | This patch allows you to set your own operating system string without recompiling Psi or modifying system files. | ||
- | |||
- | To change the OS string reported to other users create a file called ''~/.psi/custom-os'' with the desired string in the first (and only) line. For example: | ||
- | |||
- | <file>PLD Linux 2.6.10-0.37 w/ reiser4 fs | ||
- | </file> | ||
- | |||
- | |||
- | ===== TODO ===== | ||
- | |||
- | * make the instructions more user friendly | ||
- | |||
- | |||
- | |||
- | [[:CategoryPackages|CategoryPackages]] | ||
- | |||