Sebastien Helleu
1cdbc27abf
core: fix refresh of line after changes with hdata_update (update flag "displayed" according to filters)
2013-02-04 08:29:57 +01:00
Sebastien Helleu
7a1f9a1d7f
relay: fix commands sync/desync in weechat protocol (bug #38215 )
...
Fix:
- use proper arguments in commands sync/desync (use argv[0] instead of argv[1])
- when searching if a buffer is synchronized, its name has higher priority on "*"
(so first check if buffer is synchronized, and if not found, search if "*" is
synchronized)
- when receiving a "nicklist_*" signal, check if the buffer is synchronized with
flag "RELAY_WEECHAT_PROTOCOL_SYNC_NICKLIST"
2013-02-03 09:51:15 +01:00
Sebastien Helleu
afe729435a
relay: fix typo in comment
2013-02-03 08:38:41 +01:00
Sebastien Helleu
3306c0f3b5
core: add info about doc and function to read in /help weechat.completion.default_template
2013-02-01 11:14:27 +01:00
Sebastien Helleu
ac94f68b59
relay: add return of a NULL pointer in command "test"
2013-02-01 09:58:30 +01:00
Sebastien Helleu
08f360692d
relay: add comments with example of messages in weechat protocol
2013-02-01 08:53:37 +01:00
Sebastien Helleu
6983d34e88
aspell: optimization on spellers to improve speed (save state by buffer), add info "aspell_dict", add completion "aspell_dicts"
...
Two hashtables have been added to store the spellers currently used (in all
buffers) and info for each buffer: array with pointers to spellers and state of
aspell for this buffer.
Therefore the spellers are not destroyed and created again on each buffer switch,
or each time screen is refreshed when window is split.
2013-01-31 19:40:41 +01:00
Sebastien Helleu
ad60321843
irc: fix typo in comment
2013-01-31 08:57:09 +01:00
Nils Görs
792d607027
core: add "/debug tags" in /help filter
2013-01-29 20:20:22 +01:00
Sebastien Helleu
cb617d8b23
core: fix hidden lines for messages without date when option weechat.history.max_buffer_lines_minutes is set (bug #38197 )
2013-01-29 19:31:04 +01:00
Sebastien Helleu
25eaec3864
core: use size of 32 for hashtables (instead of 4, 8 or 16)
...
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu
f4dce04723
core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable
2013-01-26 18:48:26 +01:00
Sebastien Helleu
05390016c0
irc: add color in output of /names when result is on server buffer (channel not joined) (bug #38070 )
2013-01-25 19:05:23 +01:00
Sebastien Helleu
27b539affe
core: display error number and string in some network errors
...
Error number and string is now displayed when an error is returned by one of
these functions: socket, setsockopt, fcntl, pipe, accept, bind, listen, mkfifo.
2013-01-24 08:55:04 +01:00
Sebastien Helleu
0e3bec6d2e
scripts: do now allow empty script name in function "register"
2013-01-22 09:26:11 +01:00
Sebastien Helleu
1edabb98f5
core: remove obsolete/unneeded check of headers and functions in cmake and configure
2013-01-21 19:51:45 +01:00
Sebastien Helleu
3a782b017f
Merge branch 'guile2'
2013-01-20 15:06:46 +01:00
Sebastien Helleu
d5e546f2c6
Merge branch 'perl-script-load'
2013-01-20 15:04:25 +01:00
Sebastien Helleu
0ad8866d6b
core: fix infinite loop when a regex gives an empty match (bug #38112 )
2013-01-18 09:03:57 +01:00
Sebastien Helleu
df2867ac27
core: add git version in backtrace and log file
2013-01-17 20:25:00 +01:00
Sebastien Helleu
0f143da012
guile: fix compilation with guile 2.0
2013-01-16 22:37:31 +01:00
Sebastien Helleu
8e587f7093
core: fix typo in comment
2013-01-14 16:26:56 +01:00
Sebastien Helleu
e0deceb366
core: fix click in item "buffer_nicklist" when nicklist is a root bar (bug #38080 )
...
Argument "*" is now silently ignored in command /window.
When item "buffer_nicklist" is in a root bar, we use current window/buffer to
find which nick has been clicked (same behaviour as callback used to display bar
item "buffer_nicklist").
2013-01-14 12:16:25 +01:00
Sebastien Helleu
f14f34e9af
core: fix display bugs with non-printable chars like tabs (part of messages not displayed) (bug #38076 )
...
This bug was introduced by commit 70ce7fe3b6 .
2013-01-14 11:35:52 +01:00
Sebastien Helleu
6fdee3aa9f
core: fix crash in display of chat area when the ncurses chat window is not initialized
...
This can happen when a window becomes too small for display: then we set the
ncurses chat window to NULL.
So when displaying buffer, we'll skip it if the ncurses chat window is NULL.
Steps to reproduce crash:
1. /window splith
2. /window resize -1 (many times, until chat area is less than one line)
3. /window balance
2013-01-12 19:40:04 +01:00
Sebastien Helleu
4123263b8c
guile: fix bad conversion of shared strings (replace calls to scm_i_string_chars by scm_to_locale_string) (bug #38067 )
2013-01-12 19:27:00 +01:00
Sebastien Helleu
1b56e084dc
core: fix typo in comment
2013-01-12 09:35:21 +01:00
Sebastien Helleu
1e20dd16e5
core: fix line returned when clicking on a bar (according to position and filling) (bug #38069 )
2013-01-12 09:31:57 +01:00
Sebastien Helleu
a6bc15e69d
aspell: fix spellers used when switching buffer
...
The bug happened when two buffers have different number of dictionaries and start
with same dictionaries. For example buffer #1 with [en,fr] and buffer #2 with [en].
When switching from buffer #1 to buffer #2 , aspell does not use only [en], but [en,fr].
2013-01-11 17:25:53 +01:00
Sebastien Helleu
db62b272b5
Revert "aspell: store dictionaries in buffer local variable "aspell_dict""
...
This reverts commit 8b61a55764 .
The local variable in buffers introduced new display bugs and would need
some extra code and optimizations to fix.
This will be reintroduced after the release of version 0.4.0.
2013-01-11 16:07:45 +01:00
Sebastien Helleu
4a554d48d2
perl: fix compilation when multiplicity is disabled
2013-01-11 13:27:14 +01:00
Sebastien Helleu
57024ab1e4
relay: fix duplicated messages sent to irc clients (when messages are redirected) (bug #37870 )
2013-01-11 10:30:44 +01:00
Sebastien Helleu
ca205ccb8c
relay: fix typo in comment
2013-01-11 10:28:28 +01:00
Sebastien Helleu
f1580f5276
relay: add debug message for signal "irc_disconnected"
2013-01-11 10:27:26 +01:00
Sebastien Helleu
3c782bd905
relay: fix name of signal in debug message (replace "irc_out" by "irc_outtags")
2013-01-11 09:28:58 +01:00
Sebastien Helleu
8b61a55764
aspell: store dictionaries in buffer local variable "aspell_dict"
2013-01-10 23:30:14 +01:00
Sebastien Helleu
53c6b62ae3
core: fix some copyright dates
2013-01-10 23:14:33 +01:00
Nei
0b1550afe1
perl: simplify code to load scripts
2013-01-10 23:10:04 +01:00
Sebastien Helleu
6d636b6118
Revert "perl: simplify code to load scripts"
...
This reverts commit 793a3cb1ba .
This commit was causing crash on Linux when loading scripts like buffers.pl.
2013-01-10 09:32:19 +01:00
Nei
793a3cb1ba
perl: simplify code to load scripts
2013-01-09 18:15:51 +01:00
Nei
224a0f0afa
perl: display script filename in error messages
2013-01-08 22:09:03 +01:00
Nei
2ca30ed7a9
perl: fix calls to callbacks during load of script when multiplicity is disabled (bug #38044 )
2013-01-08 22:02:30 +01:00
Sebastien Helleu
7d1ad59dde
relay: add message when address family is not supported by protocol (on socket creation)
2013-01-08 08:14:07 +01:00
Sebastien Helleu
1a646d5dbf
relay: add error number and string when socket creation fails
2013-01-07 21:34:05 +01:00
Sebastien Helleu
cd37f12059
core: fix memory leak in evaluation of expression when a logical operator ("&&" or "||") is found
2013-01-07 08:24:40 +01:00
Sebastien Helleu
bd21daebd1
api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately)
2013-01-06 19:38:38 +01:00
Sebastien Helleu
faccb87a10
irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027 )
2013-01-06 12:25:34 +01:00
Sebastien Helleu
a421d330bf
core: fix refresh of bars when applying layout (bug #37944 , bug #37952 )
2013-01-05 11:00:30 +01:00
Sebastien Helleu
a543404428
core: add buffer pointer in arguments for signals "input_search", "input_text_changed" and "input_text_cursor_moved"
2013-01-04 23:22:27 +01:00
Sebastien Helleu
fec8a1d122
aspell: ignore self and remote nicks in private buffers
2013-01-04 18:41:27 +01:00