4689 Commits

Author SHA1 Message Date
Sebastien Helleu
c1bc23b052 irc: fix memory leak in purge of hashtables with joins (it was done only for the first server in the list) 2013-02-16 10:00:28 +01:00
Sebastien Helleu
47e1caa91f doc: update auto-generated files for commands 2013-02-16 09:57:40 +01:00
Sebastien Helleu
9da086b827 core: rename cmake targets xx.po/weechat.pot to update-xx.po/update-weechat.pot (for build with old cmake versions) 2013-02-15 08:32:38 +01:00
Sebastien Helleu
01153cd478 core: add option "dirs" for command /debug 2013-02-14 20:45:12 +01:00
Sebastien Helleu
eed0878231 core: fix header in weechat.pot (copyright, license and some default values in first string) 2013-02-14 18:31:21 +01:00
Sebastien Helleu
11bbf0a062 core: add cmake targets to update .po and .pot files (new targets: update-po, weechat.pot, xx.po) 2013-02-14 18:30:40 +01:00
Sebastien Helleu
c37016e5ea core: fix detection of iconv with cmake on OS X (bug #38321) 2013-02-14 14:41:43 +01:00
Sebastien Helleu
49043bf1b0 doc: fix prototype of function weechat_config_section_free in plugin API reference 2013-02-13 14:11:17 +01:00
Sebastien Helleu
f7811b0ae2 relay: fix crash when decoding a websocket frame 2013-02-12 14:14:40 +01:00
Sebastien Helleu
8d5dee9aa0 relay: add gcrypt include and link arguments to compile relay plugin 2013-02-12 12:51:26 +01:00
Sebastien Helleu
62ff697772 script: remove unneeded test on ZLIB_FOUND in CMakeLists.txt (zlib is mandatory) 2013-02-12 12:50:32 +01:00
Sebastien Helleu
10820c7336 core: add signal "window_opened" (task #12464) 2013-02-12 12:14:22 +01:00
Sebastien Helleu
0cb84638dc doc: fix typos in french translations and plugin API reference 2013-02-10 22:20:10 +01:00
Sebastien Helleu
c2aeb69c46 relay: add experimental websocket server support (RFC 6455) for irc and weechat protocols, new option relay.network.websocket_allowed_origins
It is a partial implementation of RFC 6455: fragmentation and control frames are
not yet supported.
Text and binary frames are supported.
2013-02-10 20:22:13 +01:00
Sebastien Helleu
eb11921f16 irc: add missing RFC 2813 in header 2013-02-10 15:57:38 +01:00
Sebastien Helleu
190c5dfcc2 doc: add IRC RFCs for file irc-protocol.c in developer's guide 2013-02-10 15:55:44 +01:00
Sebastien Helleu
96da9b91cf doc: use HTML pages for links to RFCs in user's guide 2013-02-10 15:50:30 +01:00
Sebastien Helleu
d406bed521 doc: fix typos in user's guide 2013-02-10 15:41:17 +01:00
Sebastien Helleu
7e0a675b62 doc: add missing signals in plugin API reference (buffer_merged/unmerged, key_bind/unbind, window_closing/closed) 2013-02-08 13:26:15 +01:00
Sebastien Helleu
d4b1b50311 core: fix structures before buffer data when a buffer is closed
This was causing a bug in relay plugin (weechat protocol): when a buffer was
closed, local variables were removed after buffer name, and when signal is sent
to client, the buffer name was wrong (already freed).
2013-02-07 22:11:25 +01:00
Sebastien Helleu
e4149b073d relay: add options "buffers" and "upgrade" for commands sync/desync in weechat protocol 2013-02-07 22:08:31 +01:00
Sebastien Helleu
3e2bf9be0a doc: remove list of scripts for URLs in FAQ 2013-02-07 22:06:58 +01:00
Nils Görs
de6bf18e47 doc: update german translations and scripting guide 2013-02-04 08:35:25 +01:00
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
Marco Paolone
95687e8057 core: update italian translations 2013-02-03 16:21:06 +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
7829b1ccba core: remove weechat.spec from EXTRA_DIST target 2013-02-02 15:51:02 +01:00
Sebastien Helleu
8796626ea2 core: add file .gitattributes to exclude some files from tarballs
Files excluded: .git* (.gitignore, .gitattributes), weechat.spec
Directory excluded: debian/
2013-02-02 15:37:10 +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
07c8063993 doc: add description of command "test" in relay protocol 2013-02-01 09:59:38 +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
5d2382caab core: fix detection of python on Ubuntu Raring 2013-01-31 17:14:34 +01:00
Sebastien Helleu
8b43151c85 doc: fix typo in user's guide 2013-01-31 12:16:39 +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
a5aaed89d2 doc: fix monospaced font used for literal and listing blocks in japanese 2013-01-26 11:49:11 +01:00
Sebastien Helleu
54a2067422 doc: use boxes/arrows chars for diagram in differences with C API (scripting guide) 2013-01-26 11:42:02 +01:00
Sebastien Helleu
95bcc49063 doc: add example of callback in each language (scripting guide) 2013-01-26 08:22:04 +01:00
Sebastien Helleu
3d9886f82e doc: add command "/script" in scripting guide 2013-01-26 07:48:20 +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
62e9a1715b core: sync debian files with debian git repository 2013-01-24 13:50:26 +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
1918bd1d4e core: fix typo in ChangeLog 2013-01-22 09:58:09 +01:00
Sebastien Helleu
0e3bec6d2e scripts: do now allow empty script name in function "register" 2013-01-22 09:26:11 +01:00