Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
aac14f28dd
irc: add comments in functions irc_color_decode and irc_color_encode
2020-08-25 19:37:47 +02:00
Sébastien Helleu
cfd221014c
api: add argument "bytes" in function string_dyn_concat
2020-08-23 23:27:57 +02:00
Sébastien Helleu
4481b93d35
irc: add missing modifier "irc_color_decode_ansi" in comment on function irc_color_modifier_cb
2020-03-30 07:31:11 +02:00
Sébastien Helleu
2769989751
irc: remove nested switches in function irc_color_decode_ansi_cb
2020-02-07 21:29:46 +01:00
Sébastien Helleu
60f2734184
irc: use dynamic string in function irc_color_encode
2020-02-05 21:51:11 +01:00
Sébastien Helleu
5b902eb804
irc: replace realloc by dynamic string in function irc_color_decode
2020-02-05 21:50:39 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
daad558291
core: fix typos in comments
2019-10-01 18:31:41 +02:00
Sébastien Helleu
9178156354
api: add argument "strip_items" in function string_split
2019-06-15 20:47:14 +02:00
Sébastien Helleu
3d95217745
api: return allocated string in hook_info callback and function info_get
2019-04-13 08:42:45 +02:00
Sébastien Helleu
2b70d71aa1
core: replace argument "keep_eol" by "flags" in function string_split ( closes #1322 )
2019-03-10 18:29:16 +01:00
Sébastien Helleu
fec7d38e3d
irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence
2019-01-20 15:07:21 +01:00
Sébastien Helleu
85ee15d4e2
irc: fix encoding of italic attribute when colors are removed
2019-01-20 15:04:52 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.
With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.
Following functions are affected in the C API:
* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
6f5f6da0eb
irc: add infolist "irc_color_weechat"
2014-11-11 11:17:50 +01:00
Sébastien Helleu
9be4bc07b9
irc: add support for color codes 16-99 in IRC messages ( closes #228 ) (patch from Nei)
2014-11-11 11:16:56 +01:00
Sebastien Helleu
0bfbe8ef40
irc: add decoding of bright ANSI colors (90-97, 100-107)
2014-03-15 12:09:51 +01:00
Sebastien Helleu
d3c85c920c
irc: add modifier "irc_color_decode_ansi"
2014-03-15 11:12:49 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
57cda6a331
irc: remove function irc_color_decode_for_user_entry
...
Since commits d03eb52d49 and
0c48b7ab8b , the IRC color codes are the
same in input line and messages, so the function
irc_color_decode_for_user_entry is not needed any more.
It was used only to decode colors when completing the command /topic
(with the channel topic).
2013-12-04 07:51:59 +01:00
Sebastien Helleu
0c48b7ab8b
irc: use color code 0x1F (ctrl-_) for underlined text in input line (same code as messages) (bug #40756 )
2013-12-01 18:34:40 +01:00
Sebastien Helleu
d03eb52d49
irc: use color code 0x16 (ctrl-V) for reverse video in messages
...
Other clients are using 0x16, and not 0x12 that was the default in
WeeChat (which was able to decode both 0x12 and 0x16).
Now the 0x12 is not decoded and does not make reverse video any more.
2013-12-01 11:28:32 +01:00
Sebastien Helleu
b32ccca390
irc: check that string is not NULL in functions irc_color_{decode,decode_for_user_entry,encode}
2013-12-01 09:50:53 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
bb09670757
irc: add comments in function irc_color_decode
2012-11-14 20:16:12 +01:00
Sebastien Helleu
9453e81baa
irc: fix crash when decoding IRC colors in strings (bug #37704 )
2012-11-09 18:10:42 +01:00
Sebastien Helleu
93a77c39ba
irc: use tag "prefix_nick_ccc" (where "ccc" is color of nick) in messages displayed
...
This new tag is used by WeeChat to hide/replace same prefix (option weechat.look.prefix_same_nick).
2012-04-03 21:24:24 +02:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
8e5288ba27
irc: add option irc.color.mirc_remap to remap mirc colors in messages to WeeChat colors
2011-11-05 11:40:22 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
ac7c27949b
core: add color attribute "|" and value "resetcolor" for function weechat_color in plugin API (bug #34550 )
2011-10-15 13:54:53 +02:00
Sebastien Helleu
a6873b725f
irc: fix bug with comma in irc color code: do not strip comma if it is not followed by a digit (bug #33662 )
2011-06-28 13:38:55 +02:00
Sebastien Helleu
0a69df6c2c
Add color "gray", fix white background (use white instead of gray)
2011-02-05 13:12:41 +01:00
Sebastien Helleu
cc6bb607e0
Test return value of calls to sscanf function
2011-01-21 19:30:08 +01:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
6562d676fe
Update licenses and copyrights, add missing author names in sources
2010-06-22 19:46:28 +02:00
Sebastien Helleu
31bfcf96c7
Reformat and add comments for description of C sources
2010-04-08 18:15:00 +02:00
Sebastien Helleu
2133eb30ff
Update copyright dates
2010-01-03 19:31:55 +01:00
Sebastien Helleu
ec2b1e2895
Fix bug with modifier "irc_color_encode"
2009-04-16 12:05:56 +02:00
Sebastien Helleu
a745409e22
Add new IRC modifiers: irc_color_decode/irc_color_encode, add IRC color support in xfer DCC chat (bug #25974 )
2009-03-23 13:58:42 +01:00
Sebastien Helleu
55cbd9a76f
Fix bugs with color in IRC topics
2009-03-19 18:38:11 +01:00