[/trunk] Changeset 127 by mikael
* Add a "hooks" layer.
Hooks are used when multiples operations should be done when an event
araises. For example message in/out, status change...
2 more files; Makefile updated.
* Logging is ready.
* Add 2 options:
- "logging" (bool): enable/disable history logging
- "logging_dir" (char): root dir for logging files
* Document pinginterval (keepalive) in the sample config file.
* Send keepalive only when online.
BUGS:
* Should not stay on buddy buffer when one moves to a group
* Pending message not displayed if buddy outside Contact window
TODO:
* Display status
* show (how?) we can scroll in roster if not all buddies are displayed
* Commands! :-)
- /roster <hide_offline|show_offline|top|bottom>
- /group <expand|shrink>
- /say blabla
- /say_to <jid> blabla
- /add <jid> [Name]
- /del [jid]
- /move [\<jid\>] <group>
- /nick (== rename <me> $@)
- /rename [\<jid\>] Name
- /info [jid]
- /request_auth [jid]
- /send_auth [jid]
- /status [online|avail|invisible|free|dnd|busy|notavail|away]
(and common shortcuts: /away, /online, /busy, /dnd)
- /rawxml...
- /search <\<jid\>|name>
- /clear
- /help
* Command line history (^P/^N)
* External commands for events
* Multi-lines
* Handle window resize
* Save history
* Shortcut to jump to next message received (shift-tab?)
* File transfer? :)
* Conferences :))
* Show status changes in buddy window (if open)? Could be great!
* Auto away