1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00
Commit Graph

90 Commits

Author SHA1 Message Date
Sébastien Helleu feb6258910 core: update copyright dates 2020-01-04 10:41:26 +01:00
Sébastien Helleu 90f711a965 core: add function to convert WeeChat colors to ANSI colors (issue #528) 2019-10-01 18:31:41 +02:00
Simmo Saan 980d26956f gui: fix wide ncurses header on FreeBSD (issue #1343) 2019-05-13 13:48:39 +00: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 805717e9ec core: add binary weechat-headless to run WeeChat without interface (closes #1120)
The optional command line option "--daemon" runs WeeChat like a daemon
(fork, new process group, file descriptors closed).
2018-03-11 09:59:39 +01:00
Sébastien Helleu ed4837b2f6 core: update copyright dates 2018-01-05 00:54:18 +01:00
Sébastien Helleu 9bad3f44db core: remove value for first #define in headers, add "PLUGIN" in plugin headers 2017-08-10 20:05:16 +02: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 71dd64678c core: add comments after some #endif 2015-04-30 21:15:30 +02:00
Sébastien Helleu a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sébastien Helleu 9935b336ed core: move main() function into Curses GUI 2014-07-14 20:03:39 +02:00
Sebastien Helleu 0cfbae1512 core: fix reset of attributes in bars when "resetcolor" is used (closes #41) 2014-03-30 08:34:32 +02:00
Sebastien Helleu 9b380a935b core: fix use of reserved C identifiers in headers (closes #31) 2014-03-19 10:39:13 +01:00
Sebastien Helleu e38f437ad7 core: add modifier and infos to decode ANSI colors
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-15 11:06:30 +01:00
Sebastien Helleu 39be4e3387 core: add bare display mode (for easy text selection and click on URLs)
New key: alt+"!", to swith to bare display (same key to come back to
standard display).

New options:
- weechat.look.bare_display_exit_on_input (default: on): by default
  any changes in input will return to standard display
- weechat.look.bare_display_time_format (default: "%H:%M"): the format
  of time used in bare display.
2014-02-16 11:29:03 +01:00
Sebastien Helleu 6c47428e78 core: fix compilation on Android (replace include of sys/termios.h by termios.h) (bug #41434) 2014-02-02 15:12:37 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu d7f29995fd core: add support of UTF-8 chars in horizontal/vertical separators 2013-12-18 16:38:20 +01:00
Sebastien Helleu 70ed2a8189 core: apply color attributes when clearing a window (patch #8236) (patch from Tom Alsberg) 2013-11-14 19:41:28 +01:00
Sebastien Helleu dd32052fec core: add support of italic text (requires ncurses >= 5.9 patch 20130831) 2013-11-02 10:58:38 +01:00
Sebastien Helleu c624960336 core: add text emphasis in messages when searching text in buffer
New options:
- weechat.look.emphasized_attributes
- weechat.color.emphasized
- weechat.color.emphasized_bg
2013-08-16 16:16:37 +02:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu f42b3d382f core: fix display problem when option weechat.look.prefix_same_nick is set (problem with nick displayed in first line of screen) (bug #37556)
To fix this bug, a feature has been removed: the first message with a nick has
the prefix forced (to not display the value of weechat.look.prefix_same_nick on
top of screen), commit was: 04e98c3f29
This feature may be reintroduced in a future commit.
2012-10-17 16:34:21 +02:00
Sebastien Helleu 25c795a26f core: add horizontal separator between windows, two new options to toggle horizontal/vertical separators between windows
New boolean options, enabled by default:
- weechat.look.window_separator_horizontal
- weechat.look.window_separator_vertical
2012-06-10 09:51:03 +02:00
Sebastien Helleu 04e98c3f29 core: force display of prefix on first line displayed in window (even if it should be hidden by option weechat.look.prefix_same_nick) 2012-05-22 07:59:59 +02:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01: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 fb5d40951c core: add new option weechat.look.color_basic_force_bold, off by default: bold is used only if terminal has less than 16 colors (patch #7621) 2011-09-24 11:28:33 +02:00
Sebastien Helleu 3bea55b2f0 core: add context "search" for keys (to define keys used during search in buffer with ctrl+"r") 2011-07-05 15:36:42 +02:00
Sebastien Helleu 00ab6400b8 core: add option weechat.look.eat_newline_glitch (disabled by default, can cause display bugs) 2011-06-13 13:01:16 +02:00
Sebastien Helleu 4126187574 core: fix bug with new line inserted at end of each line displayed (set eat_newline_glitch to 0 if available) 2011-06-01 12:10:03 +02:00
Sebastien Helleu 7c6723f255 core: add automatic reset of color pairs, new option weechat.look.color_pairs_auto_reset 2011-04-17 11:02:45 +02:00
Sebastien Helleu 65a609e33e Add attributes for colors ("*": bold, "%": reverse, "_": underline) 2011-02-17 14:51:21 +01:00
Sebastien Helleu d8248f3f68 Rename some color constants and functions for attributes 2011-02-09 16:26:58 +01:00
Sebastien Helleu 12879e9138 Factorize code used to apply color codes in strings (for chat and bars) 2011-02-09 16:14:53 +01:00
Sebastien Helleu b1c8989835 Add option weechat.look.read_marker_string, use option hline_char for horizontal bar separators only 2011-02-05 15:29:51 +01: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 ccb08945a1 Dynamically allocate color pairs
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-31 19:03:30 +01:00
Sebastien Helleu 68ee325e65 Rename some variables and functions about weechat colors 2011-01-19 19:29:48 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 4043ca3d38 Allow use of color pair number in color options and in API function "weechat_color" 2010-12-17 09:54:46 +01:00
Sebastien Helleu f11549f654 Fix display bug with special chars (ascii value below 32) (bug #30602) 2010-08-06 19:02:25 +02:00
Sebastien Helleu dcdba08f8a Update comments after #endif in C headers 2010-06-25 15:03:39 +02:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu d4b0b98933 Add color "darkgray", add support for background with light color, fix color "black" (bug #23882) 2009-12-13 23:29:08 +01:00
Sebastien Helleu a08842bbad Fix bug with URL selection in some terminals (caused by horizontal lines) (bug #27700) 2009-10-14 18:21:46 +02:00