Commit graph

139 commits

Author SHA1 Message Date
nia
2759ad6ccc weechat: Update to 2.7
Among the new features:

- add option logger.file.color_lines (support of ANSI color codes in log files)
- add filters on IRC raw buffer
- add IRC server option "ssl_password"
- add option irc.look.display_pv_warning_address
- add options irc.color.message_kick and irc.color.reason_kick
- add option xfer.file.download_temporary_suffix
- add option weechat.look.nick_color_hash_salt
- add different WeeChat icons sizes
- add calculation of expression in evaluation of expressions with "calc:xxx"
- add optional default path (evaluated) in completion "filename"
- add modifier "color_encode_ansi"
- add support of Guile 2.2
- add support of Python 3.8
- many bugs fixed.
2019-12-10 13:04:05 +00:00
jperkin
053276c028 weechat: Spell Python_EXECUTABLE correctly. 2019-12-06 15:39:06 +00:00
rillig
6b386e81af chat: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-02 22:18:22 +00:00
nia
a2b92fb1ad weechat: Fix trailing whitespace 2019-09-22 17:13:24 +00:00
nia
bfe7f30e6c weechat: Fix loading the Python plugin after the build system change.
Bump PKGREVISION.
2019-09-21 14:57:46 +00:00
nia
8df4c96f7d weechat: ... typo 2019-09-21 10:09:25 +00:00
nia
a3e7a566c0 weechat: USE_PKGLOCALDIR (not documented) 2019-09-21 09:56:07 +00:00
nia
c142f699ac weechat: update to 2.6
== Version 2.6 (2019-09-08)

New features::

  * core: add support of 32767 color pairs (issue #1343, issue #1345)
  * core: add option "close" in command /window (issue #853)
  * api: add infos "term_colors" and "term_color_pairs"
  * api: add function list_user_data (issue #666)
  * api: add argument "strip_items" in function string_split
  * buflist: add infolist "buflist" with list of buffer pointers (issue #1375)
  * exec: evaluate option exec.command.shell, change default value to "${env:SHELL}" (issue #1356)
  * fset: add filters "h=xxx" and "he=xxx" to filter options by description (translated or in English)
  * irc: make command char optional in server option "command" (issue #615)
  * irc: add variables "user_max_length" and "host_max_length" in server structure (issue #1387)

Bug fixes::

  * core: use fixed-width integer for computing nick and hashtable DJB2 key hashes, add values "djb2_32" and "sum_32" for option weechat.look.nick_color_hash (issue #1394)
  * core: create or update option weechat.notify.xxx when function buffer_set is called with "notify" property (issue #1390)
  * core: fix memory leak in case of error when building content of bar item for display (issue #1384)
  * core: send command line parameter to plugins only if the name starts with the plugin name followed by a colon
  * core: auto disable upgrade process (command line option "--upgrade") if the file weechat.upgrade is not found
  * core: replace newlines by spaces in argument "completion" of function hook_command (issue #538)
  * core: replace char "," by "~" in color codes to separate foreground from background (issue #1264)
  * alias: remove default aliases /AME and /AMSG (issue #1355)
  * buflist: use extra variables in option buflist.look.display_conditions (issue #1393)
  * irc: fix parsing of messages 346 (invite list), 348 (exception list), 367 (ban list) and 728 (quiet list) when there is a colon before the timestamp (issue #1396)
  * irc: fix memory leak when removing a server
  * irc: fix length of user/nick/host in split of messages (issue #1387)
  * irc: quote NICK command argument sent to the server only if there's a ":" in the nick (issue #1376, issue #1319)
  * irc: return all arguments in the PONG response to a PING (issue #1369)
  * irc: disable server reconnection when the server buffer is closed (issue #236)
  * irc: strip spaces at beginning/end of addresses in server option "addresses" (issue #195)
  * irc: fix display of enabled/disabled client capabilities received in command CAP ACK (issue #151)
  * ruby: fix conversion of big integers on 32bit architecture (issue #1395)

Tests::

  * unit: add tests on IRC ignore, message and nick functions

Build::

  * core: fix compilation with autotools on FreeBSD 12.0
  * debian: disable Javascript plugin on Debian Buster/Bullseye (issue #1374)
  * python: compile with Python 3 by default
  * python: use pkg-config to detect Python (issue #1382)
2019-09-17 11:30:27 +00:00
ryoon
edacf2bbcb Recursive revbump from boost-1.71.0 2019-08-22 12:22:48 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
nia
bc5eda53ba weechat: Stop the perl plugin from segfaulting on exit on NetBSD.
just apply the same workaround as upstream is using for FreeBSD.

bump PKGREVISION
2019-07-31 10:33:08 +00:00
nia
6c584e535e weechat: Remove libidn dependency.
Doesn't seem to actually be used. curl pulls in libidn2, but that's all.
2019-07-31 10:27:55 +00:00
leot
5e09a446da weechat: Adjust path for the default gnutls_ca_file
Previously CA_FILE was undefined and lead to using
`/etc/ssl/certs/ca-certificates.crt'.  Pass the gnutls default trust store file
that - at least if `gnutls' option is enabled - should be always present.

Bump PKGREVISION.
2019-07-20 12:08:01 +00:00
nia
0136b01345 weechat: Remove -Werror-implicit-function-declaration
This should help out older NetBSD versions.
2019-07-17 12:10:32 +00:00
nia
bce0264483 weechat: Turn on "python lua wide-curses perl ruby" by default.
Should enable users to run most scripts available on weechat.org.

If you're using pkgsrc you probably have python/perl/lua installed already,
and ruby apparently even works on VAX, so this shouldn't be much of a hard
requirement.

joyent has been building with these settings for a while.
2019-07-09 16:23:04 +00:00
ryoon
57d0806c39 Recursive revbump from boost-1.70.0 2019-07-01 04:07:44 +00:00
nia
a9b5b86705 weechat: Update to 2.5
Among the new features:

- add support of UNIX domain sockets in relay plugin
- add option relay.weechat.commands
- add trigger hooks "info" and "info_hashtable"
- add option xfer.network.speed_limit_recv
- add option weechat.look.buffer_time_same
- add option weechat.look.prefix_same_nick_middle
- add option "addreplace" in command /filter
- add bar items "irc_nick", "irc_host" and "irc_nick_host"
- add functions command_options and string_match_list in plugin API
- rename aspell plugin to spell
- use getopt to parse command line arguments
- many bugs fixed.
2019-06-10 15:24:45 +00:00
nia
1bf09b7efb chat/weechat: Search for libcurses when attempting to find a value for
NCURSES_LIBRARY. Seems to help problems when configuring against netbsd
curses.
2019-03-23 14:54:13 +00:00
jperkin
6c3cc5883b weechat: Need unistd.h for mkdtemp(3) 2019-03-07 18:09:24 +00:00
nia
1935e36c0f chat/weechat: Update to 2.4
New features

        core: do not automatically add a space when completing "nick:" at the beginning of command line (the space can be added in option weechat.completion.nick_completer)
        core: add default keys Ctrl+F11/Ctrl+F12 to scroll up/down one page in nicklist (same action as F11/F12)
        core: add command line option "-t" (or "--temp-dir") to create a temporary WeeChat home (deleted on exit)
        api: add functions string_base_encode and string_base_decode, remove functions string_encode_base64 and string_decode_base64
        api: add support of Time-based One-Time Password (TOTP), add infos "totp_generate" and "totp_validate"
        buflist: add default keys Ctrl+F1/Ctrl+F2 to scroll up/down one page in buflist (same action as F1/F2)
        buflist: add variable ${number2}, always set with the indented buffer number
        exec: add option exec.command.shell to customize the shell used with /exec -sh
        relay: add support of close frame in websocket connection (issue #1281)
        relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol

Bug fixes

        core: fix compilation of empty regular expression (not allowed on FreeBSD)
        core: fix forced highlight on messages sent to other buffers (issue #1277)
        aspell: look for suggestions only if the misspelled word has changed (issue #1175)
        buflist: add alternate key codes for F1/F2 and Alt+F1/Alt+F2 (compatibility with terminals)
        buflist: fix warning displayed when script buffers.pl is loaded (issue #1274)
        irc: fix parsing of whois messages in notify
        irc: fix parsing of MODE, 341 (invite) and CHGHOST commands when there are colons (issue #1296)
        irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence
        irc: fix encoding of italic attribute when colors are removed
        irc: fix parsing of "time" message tag on FreeBSD (issue #1289)
        relay: fix crash on /upgrade when the real IP is not set (issue #1294)
        relay: fix memory leak in connection of client

Tests

        unit: fix UTF-8 and evaluation tests on FreeBSD
        unit: add tests on IRC configuration and protocol functions

Build

        core: add C compiler flag "-fsigned—​char" to force "char" data type to be always signed (issue #1277)
2019-02-24 15:47:20 +00:00
nia
144167ad82 chat/weechat: Update to 2.3.
Changes:

in version 2.3:

- add hook "line"
- add option "-P" (or "--plugins") to customize the plugins to load at startup
- allow multiple options "-r" ("--run-command") in command line arguments
- allow allow partial buffer name and multiple arguments in command /buffer close
- allow specifying buffer number/name for /buffer localvar
- allow creation of temporary variables with the regex in trigger plugin
- add real IP in client description in relay plugin
- add repeat of string in evaluation of expressions with "repeat:count,string"
- many bugs fixed.

in version 2.2:

- add support of list options in curl
- allow merge of buffers by name in command /buffer
- add reverse of string in evaluation of expressions with "rev:"
- add indexed ban list and completion for /unban and /unquiet (IRC plugin)
- add support for IRCv3.2 Client Capability Negotiation
- add support for IRCv3.2 invite-notify
- add support for IRCv3.2 chghost, add options irc.look.smart_filter_chghost and irc.color.message_chghost
- add option xfer.network.send_ack
- add support of Python 3.7
- fix memory leaks scripting plugins
- many bugs fixed.
2018-12-16 00:24:07 +00:00
adam
5b12b7b592 revbump for boost 1.69.0 2018-12-13 19:51:31 +00:00
wiz
9bd737fe76 Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
adam
9d06c0a472 revbump after boost-libs update 2018-08-16 18:54:26 +00:00
maya
f741fc325e weechat: minimal patch to allow using netbsd curses.
Now uses fake ncurses.

less likely to cause problems to people who try to hide their base curses.
bump pkgrevision (again).
2018-07-23 22:57:22 +00:00
maya
2038a12e71 weechat: make curses detection logic handle netbsd curses, at the possible
expense of causing problems due to pkgsrc infrastructure not hiding a base
curses well enough.

We now search in the following order:
ncursesw, curses, ncurses.

With cmake under pkgsrc, it will search your /usr/lib, so I don't have a
way to hide a base curses if requested to do so.

if you're trying to use pkgsrc ncurses and have a base curses, this
will use your base curses.

bump pkgrevision.
2018-07-22 21:32:34 +00:00
maya
7687bcf1f2 weechat: disable php. bump PKGREVISION.
It's not listed as a dependency so it is failing in builds.
heads up by nia, thanks.
2018-07-22 19:58:05 +00:00
maya
529398d3b5 weechat: update to 2.1
Note that if the perl option is used, weechat segfaults at exit.
Not sure the wide-curses option does anything.
Remove conflicting patches that don't seem necessary.

Highlights:
Option to check license of scripts loaded
Completion for /set and /help commands
2018-05-25 10:16:03 +00:00
zafer
97fa4e26ee update MASTER_SITES and HOMEPAGE 2018-05-20 10:56:23 +00:00
adam
35aa3efc12 revbump for boost-libs update 2018-04-29 21:31:17 +00:00
wiz
e5209a786e Add p11-kit to gnutls/bl3.mk and bump dependencies. 2018-04-17 22:29:31 +00:00
tonio
0467995d70 Update chat/weechat to 2.0.1
Version 2.0.1 (2017-12-20):
- python: fix arguments status/gnutls_rc/sock in hook_connect() callback
- python: fix argument fd in hook_fd() callback

Version 2.0 (2017-12-03):
- new plugin "fset" (fast set of WeeChat and plugins options)
- add option buflist.look.add_newline
- add two new bar items "buflist2" and "buflist3" using the same format configuration options
- add flag "input_get_empty" in buffer
- add signals "buffer_filters_enabled" and "buffer_filters_disabled"
- support loading of plugins from path in environment variable "WEECHAT_EXTRA_LIBDIR"
- add infolist "alias_default" (list of default aliases)
- make value optional in command /buffer set
- support of floating point and hexadecimal numbers in comparison of evaluated values
- add option weechat.look.save_config_with_fsync
- add support of prefix "quiet:" in function key_unbind() to quietly remove keys
- add argument "recurse_subdirs" in function exec_on_files()
- add local variable "filter" in the script buffer
- remove recursive evaluation of extra variables in buflist
- change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripting API)
- change type of argument fd in hook_fd() callback from string to integer (in scripting API)
- fix display bugs with filtered lines
- fix display of nicks in nicklist when they are in a group with sub-groups
- call the config hook when options are renamed or removed
- fix parsing of CAP command in relay/irc
- many bugs fixed.
2018-01-20 17:20:15 +00:00
rillig
b381c6e2f3 Sort PLIST files.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2018-01-01 22:29:15 +00:00
adam
983847f667 Revbump after boost update 2018-01-01 21:18:06 +00:00
maya
8740b527a1 weechat: ...and don't expand unrelated things in CMakeLists.txt 2017-11-04 17:23:20 +00:00
maya
1e013636a8 weechat: add configure check that eat_newline_glitch can be assigned to
Fixes netbsd-7 build.
2017-11-04 17:16:58 +00:00
maya
5698d8dc7e nvm previous 2017-09-25 18:29:05 +00:00
maya
6563638add work around pkgsrc bugs. 2017-09-25 17:53:18 +00:00
maya
3b3c1b67bd weechat: delete forgotten commented distinfo entry. 2017-09-25 12:14:28 +00:00
maya
d82394c930 weechat: update to 1.9.1
Fixes CVE-2017-14727, CVE-2017-8073

version 1.9.1:
a crash can happen in logger plugin when converting date/time specifiers in file mask.
Two other bugs are fixed as well in buflist and relay plugins.

version 1.9:
- improve speed of nicklist bar item callback
- add auto scroll of buflist bar with new option buflist.look.auto_scroll
- add option buflist.format.name
- add variables ${format_name}, ${current_buffer} and ${merged} in buflist
- display a warning in buflist when the script buffers.pl is loaded
- add server/channel pointers in trigger IRC callbacks
- add API functions config_option_get_string and hdata_compare
- fix bind of Space key

version 1.8:
- add option weechat.completion.nick_case_sensitive
- add wilcard matching operator, cut of string and ternary operator in evaluation of expressions
- add resize of window parents with /window resize [h/v]size
- add plugin "buflist" (bar with list of buffers)
- add arraylist and dynamic string functions in API
- add option "open" in command /server
- add signal "irc_server_lag_changed" and store the lag in the server buffer (local variable)
- add aspell options to control delimiters in suggestions
- add option "-include" in commands /allchan, /allpv and /allserv

For a complete changelog, see:
https://weechat.org/files/changelog/ChangeLog-1.9.1.html
2017-09-25 12:09:24 +00:00
adam
62d3f1ac1b Revbump for boost update 2017-08-24 20:02:56 +00:00
ryoon
1344d8d8e3 Recursive revbump from lang/perl5 5.26.0 2017-06-05 14:22:16 +00:00
ryoon
76884737ca Recursive revbump from boost update 2017-04-30 01:21:19 +00:00
maya
ed2a1ce5f6 weechat: update to 1.7.1.
bugfix release fixing CVE-2017-8073: Buffer overflow when removing quotes
in DCC filename.
2017-04-25 19:50:21 +00:00
fhajny
2cb827effa SunOS also needs -lresolve. Fixes joyent/pkgsrc/issues/464. Fix misspelling of PKGREVISION. 2017-02-13 13:02:11 +00:00
roy
369241b3ae Add a patch from upstream to improve screen refresh times when resized. 2017-02-07 12:30:29 +00:00
jperkin
d27030b7a7 Darwin needs -lresolv. 2017-01-22 15:31:28 +00:00
ryoon
eeef42cf3c Update to 1.7
Changelog:
[[v1.7]]
== Version 1.7 (2017-01-15)

New features::

  * core: add option weechat.look.align_multiline_words (issue #411, issue #802)
  * core: add optional command prefix in completion templates "commands", "plugins_commands" and "weechat_commands"
  * core: add optional arguments in completion template, sent to the callback
  * core: add option "time" in command /debug
  * api: add info "uptime" (WeeChat uptime)
  * api: add info "pid" (WeeChat PID) (issue #850)
  * fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (issue #850)
  * irc: add server option "usermode" (issue #377, issue #820)
  * irc: add tag "self_msg" on self messages (issue #840)

Improvements::

  * core, xfer: display more information on fork errors (issue #573)
  * core: add a slash before commands completed in arguments of /command, /debug time, /key bind, /key bindctxt, /mute, /repeat, /wait
  * core: add a warning in header of configuration files to not edit by hand (issue #851)
  * alias: add a slash before commands completed in arguments of /alias
  * exec: add option "-oc" in command /exec to execute commands in process output, don't execute commands by default with "-o" (issue #877)
  * irc: evaluate content of server option "ssl_fingerprint" (issue #858)
  * irc: change default value of option irc.network.lag_reconnect from 0 to 300 (issue #818)
  * trigger: do not hide email in command "/msg nickserv register password email" (issue #849)

Bug fixes::

  * core: fix deadlock when quitting after a signal SIGHUP/SIGQUIT/SIGTERM is received (issue #32)
  * core: fix display of empty lines in search mode (issue #829)
  * api: fix crash in function string_expand_home() when the HOME environment variable is not set (issue #827)
  * exec: fix memory leak in display of process output
  * irc: fix option "-temp" in command /server (issue #880)
  * irc: fix close of server channels which are waiting for the JOIN when the server buffer is closed (issue #873)
  * irc: fix buffer switching on manual join for forwarded channels (issue #876)
  * irc: add missing tags on CTCP message sent
  * lua: fix integers returned in Lua >= 5.3 (issue #834)
  * relay: make HTTP headers case-insensitive for WebSocket connections (issue #888)
  * relay: set status to "authentication failed" and close immediately connection in case of authentication failure in weechat and irc protocols (issue #825)
  * script: reload a script after upgrade only if it was loaded, set autoload only if the script was auto-loaded (issue #855)

Build::

  * core, irc, xfer: fix compilation on Mac OS X (add link with resolv) (issue #276)
  * core: add build of xz package with make dist (cmake)
  * tests: fix compilation of tests on FreeBSD 11.0
2017-01-22 01:32:53 +00:00
roy
c15fdf82ba Import weechat-1.6:
Due to the documenation change below, man pages are no longer supplied in pkgsrc.

New features
        core: add optional argument "lowest", "highest" or level mask in command /input hotlist_clear
        core: add option "cycle" in command /buffer
        api: add "extra" argument to evaluate extra variables in function string_eval_expression() (issue #534)
        relay: add option relay.network.allow_empty_password (issue #735)
        trigger: add support for one-time triggers (issue #399, issue #509)

Improvements
        core, irc, xfer: display more information in memory allocation errors (issue #573)
        api: remove functions printf_date() and printf_tags()
        irc: rename server options "default_msg_{kick|part|quit}" to "msg_{kick|part|quit}", evaluate them
        relay: allow escape of comma in command "init" (weechat protocol) (issue #730)

Bug fixes
        core, irc, xfer: refresh domain name and name server addresses before connection to servers (fix connection to servers after suspend mode) (issue #771)
        api: fix return of function string_match() when there are multiple masks in the string (issue #812)
        api: fix crash in function network_connect_to() if address is NULL
        api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (issue #770)
        api: fix crash in function string_split_command() when the separator is not a semicolon (issue #731)
        irc: fix socket leak in connection to server (issue #358, issue #801)
        irc: fix display of service notice mask (message 008) (issue #429)
        irc: fix NULL pointer dereference in 734 command callback (issue #738)
        relay: return an empty hdata when the requested hdata or pointer is not found (issue #767)
        xfer: fix crash on DCC send if option xfer.file.auto_accept_nicks is set (issue #781)

Documentation
        switch to asciidoctor to build docs and man page

Build
        python: add detection of Python 3.5
2017-01-05 12:30:39 +00:00
roy
a3634e697a Typo 2017-01-03 20:54:22 +00:00