summaryrefslogtreecommitdiff
path: root/src/gui/gui-color.c
AgeCommit message (Collapse)Author
2021-08-06core: fix decoding of attributes in basic ANSI colors (closes #1678)Sébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-11-19core: add missing cast to unsigned char on first argument to function isdigitSébastien Helleu
2020-08-23api: add argument "bytes" in function string_dyn_concatSébastien Helleu
2020-08-22api: add function string_color_code_size (issue #1547)Sébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-10-01core: add function to convert WeeChat colors to ANSI colors (issue #528)Sébastien Helleu
2019-10-01core: add support of reverse video in ANSI color codesSébastien Helleu
2019-10-01core: fix typos in commentsSébastien Helleu
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-06-07core: replace char "," by "~" in color codes to separate foreground from ↵Sébastien Helleu
background (closes #1264)
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-07-13core: fix compiler warnings on calls to snprintfSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-03-25core: check that pointers received in arguments are not NULL in "free" functionsSébastien Helleu
Functions: - hdata_free - infolist_var_free - infolist_item_free - infolist_free - string_shared_free - gui_window_objects_free - gui_color_free - gui_completion_free - gui_filter_free - gui_history_buffer_free - gui_hotlist_free - gui_key_free - gui_lines_free - gui_line_tags_free - gui_line_free - gui_window_tree_free - gui_window_scroll_free
2017-01-01core: update copyright datesSébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
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-01-01core: update copyright datesSébastien Helleu
2015-07-03api: fix type of value returned by function strcasestrSébastien Helleu
2015-04-26api: add support of full color option name in function color()Sébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-07-14core: move main() function into Curses GUISébastien Helleu
2014-03-25core: skip and ignore color attributes before special names like "reset" in ↵Sebastien Helleu
gui_color_get_custom
2014-03-15core: add decoding of bright ANSI colors (90-97, 100-107)Sebastien Helleu
2014-03-15core: add modifier and infos to decode ANSI colorsSebastien Helleu
New modifier: - color_decode_ansi: convert ANSI colors to WeeChat colors (or remove colors). New infos: - color_ansi_regex: regex used to parse ANSI colors in a string - color_term2rgb: convert a terminal color (0-255) to RGB - color_rgb2term: convert a RGB color to terminal color (0-255)
2014-03-14core: add functions to convert RGB to terminal color (and vice versa)Sebastien Helleu
2014-02-22core: fix potential NULL pointer in function gui_color_emphasizeSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-12-11core: fix text emphasis with wide chars on screen like japanese (patch ↵Sebastien Helleu
#8253) (patch from Ryuunosuke Ayanokouzi)
2013-08-17core: add search of regular expression in buffer, don't reset search type on ↵Sebastien Helleu
a new search, select where to search (messages/prefixes) Key changed in search context: - ctrl+"r": switch search type: string/regex New keys in search context: - alt+"c": case (in)sensitive search - tab: search in messages/prefixes/both
2013-08-16core: add text emphasis in messages when searching text in bufferSebastien Helleu
New options: - weechat.look.emphasized_attributes - weechat.color.emphasized - weechat.color.emphasized_bg
2013-08-09core: set "callback_free_value" directly in hashtable without calling ↵Sebastien Helleu
function hashtable_set_pointer
2013-08-04core: change color format for options from `${xxx}` to `${color:xxx}`Sebastien Helleu
Options affected: - weechat.look.buffer_time_format - weechat.look.prefix_action - weechat.look.prefix_error - weechat.look.prefix_join - weechat.look.prefix_network - weechat.look.prefix_quit
2013-01-26core: use size of 32 for hashtables (instead of 4, 8 or 16)Sebastien Helleu
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-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-01-08core: update copyright datesSebastien Helleu
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-10-15core: add color attribute "|" and value "resetcolor" for function ↵Sebastien Helleu
weechat_color in plugin API (bug #34550)
2011-08-28core: fix bugs with calls to reallocSebastien Helleu
2011-07-26core: add mouse support (task #5435), free cursor movement, hook_focus, fix ↵Sebastien Helleu
bugs with key "^" (bug #32072, bug #21381), fix bugs with bar windows, completion and /buffer New features and bugs fixed: - mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse" - free movement of cursor: new command /cursor, new key context "cursor" - new hook_focus (used by cursor and mouse) - info "cursor_mode" - bugs fixed with key "^" - allow plugin name in /buffer name - fix bugs with bar windows: do not create bar windows for hidden bars - fix completion bug when two words for completion are equal but with different case - automatic scroll direction in /bar scroll (x/y is now optional)
2011-02-22Replace char "/" by ":" to specify background in nick colorsSebastien Helleu
2011-02-17Add attributes for colors ("*": bold, "%": reverse, "_": underline)Sebastien Helleu
2011-02-09Rename some color constants and functions for attributesSebastien Helleu
2011-02-06Rename constants GUI_COLOR_PAIR_xxx to GUI_COLOR_EXTENDED_xxxSebastien Helleu
2011-01-31Dynamically allocate color pairsSebastien Helleu
This commit introduces major changes in 256 colors support: - extended colors can be used without being added with command "/color add" - background color is now allowed for nick colors (using slash separator)
2011-01-03Fix crash when changing or removing color palette optionsSebastien Helleu