Permalink
Browse files

Merge remote-tracking branch 'origin/master' into guns

* origin/master: (180 commits)
  irc: set non-blocking socket before connecting to server (fix freeze with SSL after connection error)
  core: fix connection to host in child process when socket is non-blocking (with or without proxy)
  scripts: add signals for scripts loaded/unloaded/installed/removed
  doc: add japanese user's guide (patch #7827)
  doc: fix name of lists in hdata with scripts (plugin API reference)
  core: return error string to callback of hook_connect if getaddrinfo fails in child process
  core: fix crash if key of hashtable_get(_item) is NULL (just return NULL)
  scripts: fix name of lists in hdata with scripts (remove leading "*")
  api: add new function util_version_number
  doc: fix gnutls dependency in user guide
  doc: update dependencies in user guide (add zlib, gnutls is used in irc and relay plugins)
  core: rename type t_script_callback to t_plugin_script_cb
  doc: update german translations, FAQ and user guide
  doc: fix typo in FAQ
  scripts: add hdata with list of scripts for each language
  doc: fix typo in FAQ
  fifo: ignore read failing with error EAGAIN (bug #37019) (patch from Matt Robinson)
  doc: fix C example of weechat_charset_set and weechat_iconv_to_internal (plugin API reference)
  core: remove directory "src/plugins/scripts", move script plugins in "src/plugins"
  core: update description of plugins and translate them in output of /plugin
  ...
  • Loading branch information...
2 parents 265718c + 3c615a9 commit a51858b643024e22d1dbec4e2c58bbfecb3b2e8c @guns committed Aug 10, 2012
Showing 308 changed files with 28,546 additions and 11,349 deletions.
View
@@ -33,7 +33,7 @@ ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
-SET(VERSION_PATCH "8-dev")
+SET(VERSION_PATCH "9-dev")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
@@ -49,6 +49,10 @@ IF(NOT DEFINED SHAREDIR)
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
ENDIF(NOT DEFINED SHAREDIR)
+IF(NOT DEFINED MANDIR)
+ SET(MANDIR ${SHAREDIR}/man)
+ENDIF(NOT DEFINED MANDIR)
+
IF(NOT DEFINED LOCALEDIR)
SET(LOCALEDIR ${SHAREDIR}/locale)
ENDIF(NOT DEFINED LOCALEDIR)
View
109 ChangeLog
@@ -1,12 +1,95 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
-v0.3.8-dev, 2012-04-07
+v0.3.9-dev, 2012-08-08
-Version 0.3.8 (under dev!)
+Version 0.3.9 (under dev!)
--------------------------
+* core: return error string to callback of hook_connect if getaddrinfo fails in
+ child process
+* core: add option weechat.startup.sys_rlimit to set system resource limits for
+ WeeChat process
+* core: add option "swap" for command /buffer (task #11373)
+* core: fix names of cache variables in configure.in (bug #36971)
+* core: scroll to bottom of window after reaching first or last highlight with
+ keys alt+"p" / alt+"n"
+* core: add hdata "hotlist"
+* core: add support of arrays in hdata variables
+* core: add command line option "-r" (or "--run-command") to run command(s)
+ after startup of WeeChat
+* core: fix refresh of bar items when switching window
+* core: fix refresh of bar items "buffer_filter" and "scroll" in root bars
+ (bug #36816)
+* core: add function "hook_set" in plugin API, add "subplugin" in hooks (set by
+ script plugins), display subplugin in /help on commands (task #12049)
+* core: add option weechat.look.jump_smart_back_to_buffer (jump back to initial
+ buffer after reaching end of hotlist, on by default, which is old behaviour)
+* core: add default key alt+"s" (toggle aspell)
+* core: add cmake option "MANDIR" (bug #36776)
+* core: add callback "nickcmp" in buffers
+* core: add horizontal separator between windows, new options
+ weechat.look.window_separator_{horizontal|vertical}
+* core: add options weechat.look.color_nick_offline and
+ weechat.color.chat_nick_offline{_highlight|_highlight_bg} to use different
+ color for offline nicks in prefix (task #11109)
+* core: reallow names beginning with "#" for bars, proxies and filters
+* core: escape special chars (`#[\`) in configuration files for name of options
+ (bug #36584)
+* doc: add japanese user's guide (patch #7827)
+* api: add new function util_version_number
+* aspell: add option aspell.check.enabled, add options enable/disable/toggle for
+ command /aspell (rename options enable/disable/dictlist to
+ setdict/deldict/listdict), display aspell status with /aspell (task #11988)
+* aspell: add missing dictionaries (ast/grc/hus/kn/ky)
+* charset: do not allow "UTF-8" in charset options (useless because UTF-8 is the
+ internal WeeChat charset)
+* fifo: ignore read failing with error EAGAIN (bug #37019)
+* guile: fix crash when unloading a script without pointer to interpreter
+* guile: fix path of guile include dirs in cmake build (patch #7790)
+* irc: fix bug with prefix chars which are in chanmodes with a type different
+ from "B" (bug #36996)
+* irc: fix format of message "USER" (according to RFC 2812) (bug #36825)
+* irc: add bar item "buffer_modes", remove option irc.look.item_channel_modes
+ (task #12022)
+* irc: fix parsing of user modes (ignore everything after first space)
+ (bug #36756)
+* irc: add option irc.look.ctcp_time_format to customize reply to CTCP TIME
+ (task #12150)
+* irc: fix freeze when reading on socket with SSL enabled (use non-blocking
+ sockets) (bug #35097)
+* irc: reallow names beginning with "#" for servers
+* logger: add messages "Day changed to" in backlog (task #12187)
+* lua: support of lua 5.2
+* lua: fix crash when unloading a script without pointer to interpreter
+* python: fix detection of python (first try "python2.x" and then "python")
+ (bug #36835)
+* python: fix crash when unloading a script without pointer to interpreter
+* relay: add support of SSL (for irc and weechat protocols), new option
+ relay.network.ssl_cert_key (task #12044)
+* relay: add option relay.color.client
+* relay: add object type "arr" (array) in WeeChat protocol
+* relay: fix freeze when writing on relay socket (use non-blocking sockets in
+ relay for irc and weechat protocols) (bug #36655)
+* ruby: detect ruby version 1.9.3 in cmake and autotools
+* scripts: add signals for scripts loaded/unloaded/installed/removed
+* scripts: add hdata with list of scripts for each language
+* scripts: fix deletion of configuration files when script is unloaded
+ (bug #36977)
+* scripts: fix function unhook_all: delete only callbacks of hooks and add
+ missing call to unhook
+* scripts: ignore call to "register" (with a warning) if script is already
+ registered
+
+Version 0.3.8 (2012-06-03)
+--------------------------
+
+* core: support lines of 16 Kb long in configuration files (instead of 1 Kb)
+* core: fix crash in focus hook for nicklist (bug #36271)
+* core: fix truncated configuration files (zero-length) after system crash
+ (bug #36383)
+* core: fix display bugs and crashs with small windows (bug #36107)
* core: convert options weechat.look.prefix_align_more and
weechat.look.prefix_buffer_align_more from boolean to string (task #11197)
* core: fix display bug with prefix when length is greater than max and prefix
@@ -22,10 +105,22 @@ Version 0.3.8 (under dev!)
weechat.look.paste_bracketed and weechat.look.paste_bracketed_timer_delay
(task #11316)
* core: fix display of wide chars on last column of chat area (patch #7733)
+* doc: add japanese FAQ (patch #7781)
* api: display warning in scripts when invalid pointers (malformed strings) are
given to plugin API functions (warning displayed if debug for plugin is >= 1)
* api: add list "gui_buffer_last_displayed" in hdata "buffer"
+* scripts: fix type of argument "rc" in callback of hook_process (from string to
+ integer)
+* guile: fix crash on ARM when loading guile plugin (bug #36479)
* guile: add missing function "hook_process_hashtable" in API
+* irc: update channel modes by using chanmodes from message 005 (do not send
+ extra command "MODE" to server), fix parsing of modes (bug #36215)
+* irc: add option "fakerecv" for command /server to simulate a received IRC
+ message (not documented, for debug only)
+* irc: hide everything after "identify" or "register" in messages to nickserv
+ when option irc.look.hide_nickserv_pwd is on (bug #36362)
+* irc: add option "-pending" for command /disconnect (cancel auto-reconnection
+ on servers currently reconnecting) (task #11985)
* irc: set user modes only if target nick is self nick in message 221
(patch #7754)
* irc: force the clear of nicklist when joining a channel (nicklist was not sync
@@ -48,14 +143,24 @@ Version 0.3.8 (under dev!)
* irc: add support of "external" SASL mechanism (task #11864)
* irc: close server buffer when server is deleted
* irc: add search for lower case nicks in option irc.look.nick_color_force
+* logger: fix charset of lines displayed in backlog when terminal charset is
+ different from UTF-8 (bug #36379)
* logger: add colors for backlog lines and end of backlog, new options:
logger.color.backlog_line and logger.color.backlog_end (task #11966)
* perl: fix compilation on OS X (bug #30701)
* perl: fix crash on quit on OS X
+* relay: keep spaces in beginning of "input" received from client (WeeChat
+ protocol)
+* relay: add signals "upgrade" and "upgrade_ended" in WeeChat protocol
+* relay: fix crash on /upgrade when client is connected using WeeChat protocol
* relay: redirect some irc messages from clients to hide output (messages: mode,
ison, list, names, topic, who, whois, whowas, time, userhost) (bug #33516)
* relay: add "date_printed" and "highlight" in signal "_buffer_line_added"
(WeeChat protocol)
+* rmodifier: add default rmodifier "quote_pass" to hide password in command
+ "/quote pass" (bug #36250)
+* rmodifier: add default rmodifier "server" to hide passwords in commands
+ /server and /connect (task #11993)
* rmodifier: add option "release" in default rmodifier "nickserv" (used to hide
passwords in command "/msg nickserv") (bug #35705)
* tcl: add missing function "hdata_char" in API
View
52 NEWS
@@ -1,24 +1,50 @@
WeeChat Release Notes
=====================
Sébastien Helleu <flashcode@flashtux.org>
-v0.3.8-dev, 2012-04-07
+v0.3.9-dev, 2012-07-07
-Version 0.3.8 (under dev!)
+Version 0.3.9 (under dev!)
--------------------------
Important release notes:
-* options weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more
- have been converted from type boolean to string:
+* new bar item has been added: 'buffer_modes' and irc option
+ 'irc.look.item_channel_modes' has been removed; to display irc channel modes
+ in status bar (after channel name), you have to manually add the new item
+ 'buffer_modes' (this is now used by default in status bar items), default
+ value for status bar items becomes:
+** `/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"`
+* changes in options for command `/aspell`:
+** new option `enable`: enable aspell
+** new option `disable`: disable aspell
+** new option `toggle`: toggle aspell (new default key: alt+"s")
+** option `enable` renamed to `setdict` (set dictionary for current buffer)
+** option `disable` renamed to `deldict` (delete dictionary used on current buffer)
+** option `dictlist` renamed to `listdict` (show installed dictionaries)
+* an horizontal separator has been added between split windows, and two options
+ have been added to toggle separators (both are enabled by default):
+** 'weechat.look.window_separator_horizontal'
+** 'weechat.look.window_separator_vertical'
+* new keys were added, use command `/key missing` to add them or `/key listdiff`
+ to see differences between your current keys and WeeChat default keys
+
+Version 0.3.8 (2012-06-03)
+--------------------------
+
+Important release notes:
+
+* options 'weechat.look.prefix_align_more' and
+ 'weechat.look.prefix_buffer_align_more' have been converted from type boolean
+ to string:
** if the value was on (default), new value is "+" and you can now customize
this char
** if the value was off, you have to set " " (string with one space)
-* option weechat.look.paste_max_lines can now be used with value 0 to detect
+* option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
paste with one line (only if terminal "bracketed paste mode" is enabled when
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used
to disable paste detection: if your value was 0, you should set it to -1:
-** `weechat.look.paste_max_lines -1`
+** `/set weechat.look.paste_max_lines -1`
* rmodifier "nickserv" has a new default regex which includes option "release"
for command "/msg nickserv". If you never added/changed rmodifiers, you can
just reset all rmodifiers (command: `/rmodifier default -yes`).
@@ -32,8 +58,8 @@ Version 0.3.7 (2012-02-26)
Important release notes:
* option `scroll_unread` has been moved from command `/input` to `/window`,
- therefore default command of key alt-u has been updated. To bind key with new
- default value:
+ therefore default command of key alt+"u" has been updated. To bind key with
+ new default value:
** `/key bind meta-u /window scroll_unread`
* extended regex is used in filters and irc ignore, so some chars that
needed escape in past do not need any more (for example `[0-9]\+` becomes
@@ -133,7 +159,7 @@ Version 0.3.1.1 (2010-01-31)
This version fixes crashs with SSL connection and purge of old DCC chats.
-All users of version 0.2.2 should upgrade to this version.
+All users of version 0.3.1 should upgrade to this version.
Version 0.3.1 (2010-01-23)
--------------------------
@@ -211,7 +237,7 @@ Important release notes:
** new keys for scrolling topic: F9/F10
** key F10 was used for `infobar_clear` in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
-*** `/key <press alt-k then F10> scroll_topic_right` (which gives something
+*** `/key <press alt+"k" then F10> scroll_topic_right` (which gives something
like: `/key meta2-21~ scroll_topic_right`).
Version 0.2.1 (2006-10-01)
@@ -254,12 +280,12 @@ Important release notes:
'%h' is replaced by WeeChat home (default: '~/.weechat', may be overriden
by new command line arg `--dir`).
* after installing 0.1.8 (or with `/upgrade`), issue both commands (if you
- didn't redefine these keys (alt-home/end):
+ didn't redefine these keys (alt+{home|end}):
** `/key unbind meta-meta2-1~`
** `/key unbind meta-meta2-4~`
** then launch again WeeChat (or issue `/upgrade`).
-* Keys alt-home/end were used for nicklist scroll, they're now replaced by
- alt-F11/F12.
+* Keys alt+{home|end} were used for nicklist scroll, they're now replaced by
+ alt+{F11|F12}.
Version 0.1.7 (2006-01-14)
--------------------------
View
@@ -23,8 +23,6 @@
###
### common stuff
###
-OK="\\033[70G[\\033[1;32mOK\\033[1;00m]"
-FAIL="\\033[70G[\\033[1;31mFAILED\\033[1;00m]"
AUTOGEN_LOG=autogen.log
@@ -40,12 +38,12 @@ err ()
run ()
{
- echo -n "Running \"$@\""
+ echo -n "Running \"$@\"..."
eval $@ >$AUTOGEN_LOG 2>&1
if [ $? = 0 ] ; then
- echo -e $OK
+ echo " OK"
else
- echo -e $FAIL
+ echo " FAILED"
err
fi
}
View
@@ -24,7 +24,7 @@ ENDIF(NCURSES_FOUND)
FIND_PATH(NCURSES_INCLUDE_PATH
NAMES ncurses.h curses.h
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
- /usr/local/include/ncursesw /usr/local/include/ncuses /usr/local/include
+ /usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
)
View
@@ -34,7 +34,7 @@ IF(PYTHON_FOUND)
ENDIF(PYTHON_FOUND)
FIND_PROGRAM(PYTHON_EXECUTABLE
- NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
+ NAMES python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
@@ -65,7 +65,7 @@ IF(PYTHON_EXECUTABLE)
)
FIND_LIBRARY(PYTHON_LIBRARY
- NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
+ NAMES python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
View
@@ -32,43 +32,36 @@ IF(RUBY_FOUND)
ENDIF(RUBY_FOUND)
FIND_PROGRAM(RUBY_EXECUTABLE
- NAMES ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
+ NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(RUBY_EXECUTABLE)
EXECUTE_PROCESS(
- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
+ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
OUTPUT_VARIABLE RUBY_ARCH_DIR
)
EXECUTE_PROCESS(
- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts RbConfig::CONFIG['arch']"
+ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
OUTPUT_VARIABLE RUBY_ARCH
)
EXECUTE_PROCESS(
- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts RbConfig::CONFIG['libdir']"
+ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
)
EXECUTE_PROCESS(
- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts RbConfig::CONFIG['rubylibdir']"
+ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
)
EXECUTE_PROCESS(
- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts RbConfig::CONFIG['ruby_version']"
+ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['ruby_version']"
OUTPUT_VARIABLE RUBY_VERSION
)
- # remove the new lines from the output by replacing them with empty strings
- STRING(REPLACE "\n" "" RUBY_ARCH_DIR "${RUBY_ARCH_DIR}")
- STRING(REPLACE "\n" "" RUBY_POSSIBLE_LIB_PATH "${RUBY_POSSIBLE_LIB_PATH}")
- STRING(REPLACE "\n" "" RUBY_RUBY_LIB_PATH "${RUBY_RUBY_LIB_PATH}")
- STRING(REPLACE "\n" "" RUBY_ARCH "${RUBY_ARCH}")
- STRING(REPLACE "\n" "" RUBY_VERSION "${RUBY_VERSION}")
-
FIND_PATH(RUBY_INCLUDE_PATH
NAMES ruby.h
PATHS ${RUBY_ARCH_DIR}
@@ -78,7 +71,7 @@ IF(RUBY_EXECUTABLE)
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
FIND_LIBRARY(RUBY_LIBRARY
- NAMES ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
+ NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
)
View
@@ -15,6 +15,7 @@
#cmakedefine HAVE_REGEX_H
#cmakedefine HAVE_WCHAR_H
#cmakedefine HAVE_SYS_FILE_H
+#cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_FLOCK
#cmakedefine HAVE_LANGINFO_CODESET
#cmakedefine HAVE_STRNDUP
Oops, something went wrong.

0 comments on commit a51858b

Please sign in to comment.