summary refs log tree commit diff stats
AgeCommit message (Expand)Author
2010-08-14update xchat to r1454berkeviktor@aol.com
2010-08-14update perl info in the installer tooberkeviktor@aol.com
2010-08-14update perl version in build scripts as wellberkeviktor@aol.com
2010-08-14typofixberkeviktor@aol.com
2010-08-14update xchat to r1452berkeviktor@aol.com
2010-08-14update warnings for perlberkeviktor@aol.com
2010-08-14fix for taskbar alerts, thanks for the unknown author and for Khisanth for po...berkeviktor@aol.com
2010-08-13upgrade perl to 5.12berkeviktor@aol.com
2010-08-13skip network list by default, as it's the default in the official build tooberkeviktor@aol.com
2010-08-13make ctcp version info more informativeberkeviktor@aol.com
2010-08-13skeleton for adding spell supportberkeviktor@aol.com
2010-08-12fancier lua version stringberkeviktor@aol.com
2010-08-12add lua-wdk to the installerberkeviktor@aol.com
2010-08-12even more cosmeticsberkeviktor@aol.com
2010-08-12some cleanupberkeviktor@aol.com
2010-08-12installer cosmeticsberkeviktor@aol.com
2010-08-12update version numberberkeviktor@aol.com
2010-08-12add normal install type which excludes scripting pluginsberkeviktor@aol.com
2010-08-12enable luaberkeviktor@aol.com
2010-08-12add innosetup filesberkeviktor@aol.com
2010-08-12lua support for x64 as well, and use own lua buildberkeviktor@aol.com
2010-08-12add support for xchat-lua, but don't build by defaultberkeviktor@aol.com
2010-08-12remove duplicate entryberkeviktor@aol.com
2010-08-12some cleanup related to winsockberkeviktor@aol.com
2010-08-11forgot to rename this one...berkeviktor@aol.com
2010-08-11enable the XDCC pluginberkeviktor@aol.com
2010-08-11remove unused stuffberkeviktor@aol.com
2010-08-11update version numberberkeviktor@aol.com
2010-08-11enable the python interfaceberkeviktor@aol.com
2010-08-11copy openssl license filesberkeviktor@aol.com
2010-08-11enable opensslberkeviktor@aol.com
2010-08-11re-enable identd by default and fix simultaneous connectionsberkeviktor@aol.com
2010-08-10disable identd by defaultberkeviktor@aol.com
2010-08-10don't build DNS plugin coz it's hardly useful for anythingberkeviktor@aol.com
2010-08-10update xchat to r1451berkeviktor@aol.com
2010-08-10remove unused header file for identdberkeviktor@aol.com
2010-08-10no identd.obj builtberkeviktor@aol.com
2010-08-10revert identd separationberkeviktor@aol.com
2010-07-30update tcl lib and copy tcl interface for x64 tooberkeviktor@aol.com
2010-07-30enable x64 Tcl, downgrade to 8.5 and update messagesberkeviktor@aol.com
2010-07-30update xchat to 1444berkeviktor@aol.com
2010-06-15update xchat to 1441 and enable dcc64berkeviktor@aol.com
2010-06-02make plugin messages consistent with perl and tcl interface messagesberkeviktor@aol.com
2010-05-30add info about xchat base versionberkeviktor@aol.com
2010-05-30update XChat to r1439berkeviktor@aol.com
2010-05-30update plugin-tray messagesberkeviktor@aol.com
2010-05-30re-enable the transparent background option since it works with gtk+ 2.16berkeviktor@aol.com
2010-05-29remove comment for an obvious thingberkeviktor@aol.com
2010-05-29add notification messages for DNS pluginberkeviktor@aol.com
2010-05-26missing endifberkeviktor@aol.com
*/
For more help you can see the xchat plugin interface documentation.
http://www.xchat.org/docs/plugin20.html
WARNING: The dbus interface may change in the future.

You can use the "/org/xchat/Remote" object with interface "org.xchat.plugin",
but his context can be changed by other clients at any moment and
you may receive signal asked by other clients. So for more complex usage it's
better to get your own remote object. Using "Connect" method on interface
"org.xchat.connection"

Available methods on org.xchat.connection interface:

"Connect"
  - Parameters:
    - gchar*: filename
    - gchar*: name
    - gchar*: description
    - gchar*: version
  - Returns:
    - gchar*: Your own object's path.

"Disconnect"
  No parameter, no return value. It frees your remote object.

Available methods on org.xchat.plugin interface:

"Command"
  - Parameters:
    - gchar*: the command name without the "/". (e.g. "nick pseudo")

"Print"
  - Parameters:
    - gchar*: text to print on the xchat window.

"FindContext"
  - Parameters:
    - gchar*: the server name. Can be NULL.
    - gchar*: the channel name. Can be NULL.
  - Returns:
    - guint: context ID

"GetContext"
  - Returns:
    - guint: current context's ID

"SetContext"
  - Parameters:
    - guint: context ID to switch, returned by "FindContext" or "GetContext"
  - Returns:
    - gboolean: 1 for success, 0 for failure.

"GetInfo"
  - Parameters:
    - gchar*: ID of the information you want.
  - Returns:
    - gchar*: information you requested.

"GetPrefs"
  - Parameters:
    - gchar*: Setting name required.
  - Returns:
    - int: 0-Failed 1-Returned a string 2-Returned an Integer
           3-Returned a Boolean.
    - gchar*: the information requested if it's a string.
    - int: the information requested if it's a integer or boolean.

"HookCommand"
  - Parameters:
    - gchar*: Name of the command (without the forward slash).
    - int: Priority of this command.
    - gchar*: String of text to display when the user executes /help
              for this command. May be NULL if you're lazy.
    - int: Value to returns when the command is catched. See XCHAT_EAT_*.
  - Returns:
    - guint: The ID of the hook.

"HookServer"
  - Parameters:
    - gchar*: Name of the server event.
    - int: Priority of this command.
    - int: Value to returns when the command is catched. See XCHAT_EAT_*.
  - Returns:
    - guint: The ID of the hook.

"HookPrint"
  - Parameters:
    - gchar*: Name of the print event.
    - int: Priority of this command.
    - int: Value to returns when the command is catched. See XCHAT_EAT_*.
  - Returns:
    - guint: The ID of the hook.

"Unhook"
  - Parameters:
    - guint: ID of the hook to unhook.
      (the return value of "HookCommand", "HookServer" or "HookPrint")

"ListGet"
  - Parameters:
    - gchar*: The list name.
  - Returns:
    - guint: List ID.

"ListNext"
  - Parameters:
    - guint: List ID returned by "ListGet".
  - Returns:
    - gboolean: says if there is no more item in the list.

"ListStr"
  - Parameters:
    - guint: List ID returned by "ListGet".
    - gchar*: Name of the information needed.
  - Returns:
    - gchar*: The information requested.
Warning: "context" attribut of "channels" list should be get with "ListInt"

"ListInt"
  - Parameters:
    - guint: List ID returned by "ListGet".
    - gchar*: Name of the information needed.
  - Returns:
    - guint: The information requested.

"ListTime"
  - Parameters:
    - guint: List ID returned by "ListGet".
    - gchar*: Name of the information needed.
  - Returns:
    - guint64: The information requested.

"ListFields"
  - Parameters:
    - gchar*: The list name.
  - Returns:
    - gchar**: information names in this list.

"ListFree"
  - Parameters:
    - guint: List ID returned by "ListGet".

"EmitPrint"
  - Parameters:
    - gchar*: Text event to print.
    - gchar**: NULL terminated array of string.
  - Returns:
    - gboolean: 1-Success 0-Failure.

"Nickcmp"
  - Parameters:
    - gchar*: String to compare.
    - gchar*: String to compare.
  - Returns:
    - int: An integer less than, equal to, or greater than zero if s1 is found,
           respectively, to be less than, to match, or be greater than s2. 

"Strip"
  - Parameters:
    - gchar*: String to strip.
    - int: Length of the string (or -1 for NULL terminated).
    - int: Bit-field of flags: 0-Strip mIRC colors, 1-Strip text attributes. 
  - Returns:
    - gchar*: striped string.

"SendModes"
  - Parameters:
    - gchar**: NULL terminated array of targets (strings). The names of people
               whom the action will be performed on.
    - int: Maximum modes to send per line.
    - gchar: Mode sign, '-' or '+'.
    - gchar: Mode char, e.g. 'o' for Ops.


Available signals:

"ServerSignal"
  - Parameters:
    - gchar**: word returned by xchat.
    - gchar**: word_eol returned bu xchat.
    - guint: the ID of the hook. (the return value of "HookServer").
    - guint: the ID of the context where the event come from.

"CommandSignal"
  - Parameters:
    - gchar**: word returned by xchat.
    - gchar**: word_eol returned bu xchat.
    - guint: the ID of the hook. (the return value of "HookCommand").
    - guint: the ID of the context where the event come from.

"PrintSignal"
  - Parameters:
    - gchar**: word returned by xchat.
    - guint: the ID of the hook. (the return value of "HookPrint").
    - guint: the ID of the context where the event come from.

"UnloadSignal"
  emited when the user asks to unload your program.
  Please exit(0); when received !