1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00
Commit Graph

1069 Commits

Author SHA1 Message Date
Sebastien Helleu 9335b07ff7 core: optimize load of keys (save score of keys to sort them faster) 2012-04-14 18:31:08 +02:00
Sebastien Helleu a317029955 core: fix display bugs and crashs with small windows (bug #36107) 2012-04-11 16:38:14 +02:00
Sebastien Helleu 902c0903d3 core: convert options weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more from boolean to string (task #11197) 2012-04-07 18:47:41 +02:00
Sebastien Helleu 5459e6595a core: fix bugs with option weechat.look.prefix_same_nick, use nick color for string used as replacement
Bugs fixed:
- hide/replace prefix only if prefix is a nick (do not do it for join/part/quit or action messages)
- hide/replace prefix only when displaying messages (do not cache value in lines)

The nick color used in replacement string comes from tag "prefix_nick_ccc", where "ccc" is the color of nick.
2012-04-03 21:22:53 +02:00
Sebastien Helleu 7038630b6d core: fix bug with option weechat.look.prefix_same_nick and filtered lines 2012-04-01 08:39:11 +02:00
Sebastien Helleu fc697d5998 core: fix bad computation of prefix length when simulating display (this caused one or more empty lines at bottom of chat area)
(bug was introduced in previous commit: 10df976e53)
2012-03-31 22:13:13 +02:00
Sebastien Helleu 10df976e53 core: fix display bug with prefix when length is greater than max and prefix is ending with a wide char (bug #36032) 2012-03-29 16:36:51 +02:00
Sebastien Helleu 67115edf3d core: add option weechat.look.prefix_same_nick (hide or change prefix on messages whose nick is the same as previous message) (task #11965) 2012-03-28 18:07:15 +02:00
Sebastien Helleu b867c69477 core: convert tabs to spaces in text pasted (bug #25028) 2012-03-24 13:22:41 +01:00
Sebastien Helleu c6b4f1917e core: fix lost scroll when switching to a buffer with a pending search (ctrl-r) 2012-03-10 16:12:41 +01:00
Sebastien Helleu 1c12f3a43f core: fix grab of key (alt-k) (bug introduced with bracketed paste mode) 2012-03-10 15:46:18 +01:00
Sebastien Helleu 077de9dc90 core: fix broken mouse (bug introduced by the previous commit) 2012-03-09 11:43:10 +01:00
Sebastien Helleu 35785a5e05 core: improve and fix bugs on standard paste and bracketed paste
Changes:
- wait control sequence for end of bracketed paste (and only after, check if
  we should ask confirmation to user)
- add option weechat.look.paste_bracketed_timer_delay to force the end of
  bracketed paste if the control sequence for end of bracketed paste was not
  received in time
- in bracketed paste mode, with paste_max_lines=1, do not ask confirmation for
  one line (ask for one line only if paste_max_lines=0)
- fix bugs with mintty: bracketed paste should be ok every time (even if some
  codes are sometimes partially received, WeeChat will now handle that properly);
  the standard paste often fails (due to bug in mintty, which sends paste very
  slowly to remote app); so the bracketed paste mode is highly recommended with
  mintty
- after paste in bracketed paste mode, the undo key (ctrl+"_" by default) will
  undo whole paste, not chars one by one
2012-03-09 10:41:13 +01:00
Sebastien Helleu 0552bdefa0 core: read data on stdin even when asking confirmation for paste (fix lost chars under mintty terminal) 2012-03-06 15:56:43 +01:00
Sebastien Helleu 39787d483a api: add list "gui_buffer_last_displayed" in hdata "buffer" 2012-03-05 08:02:55 +01:00
Sebastien Helleu d733a5bd62 core: rename option weechat.look.bracketed_paste_mode to weechat.look.paste_bracketed 2012-03-04 11:38:16 +01:00
Sebastien Helleu 152394689a core: add support of terminal "bracketed paste mode" (task #11316) 2012-03-04 10:32:55 +01:00
Ryuunosuke Ayanokouzi 5f11df74e3 core: fix display of wide chars on last column of chat area (patch #7733) 2012-03-03 10:03:13 +01:00
Sebastien Helleu 205a869598 core: fix memory leak when closing buffer 2012-02-19 19:15:14 +01:00
Sebastien Helleu a539dcbff8 core: automatically add newline char after last pasted line (when pasting many lines with confirmation) 2012-02-16 09:52:45 +01:00
Sebastien Helleu 3c338e59ed core: fix bug with layout: assign layout number in buffers when doing /layout save 2012-02-12 08:55:58 +01:00
Sebastien Helleu f8ef3c8f80 doc: add color codes in strings (developer's guide) 2012-02-10 18:02:06 +01:00
Sebastien Helleu e6736b544e core: do not auto add space after nick completer if option weechat.completion.nick_add_space is off 2012-02-01 17:19:04 +01:00
Sebastien Helleu 8ea2b93a28 core: add signal "window_switch" 2012-01-28 17:18:15 +01:00
Sebastien Helleu 3ecd3d7a26 core: fix signal "buffer_switch": send it only once when switching buffer (bug #31158) 2012-01-28 11:11:58 +01:00
Sebastien Helleu d242f30950 core: move option "scroll_unread" from command /input to /window 2012-01-24 21:20:52 +01:00
Sebastien Helleu 5f6df8021b core: add support of flags in regular expressions and highlight options, add irc options to customize/disable default nick highlight (task #11128)
New functions in C plugin API:
- string_regex_flags
- string_regcomp

New irc options:
- irc.look.highlight_server
- irc.look.highlight_channel
- irc.look.highlight_pv

Regex flags are supported in following options/commands:
- option weechat.look.highlight
- option weechat.look.highlight_regex
- options irc.look.highlight_{server|channel|pv}
- option relay.network.allowed_ips
- core command /filter
- irc command /list
- irc command /ignore
- rmodifier command /rmodifier
2012-01-22 13:48:42 +01:00
Sebastien Helleu b91c231096 core: add URL transfer (using libcurl), add function hook_process_hashtable in plugin API, add support of URL in hook_process/hook_process_hashtable (task #10247) 2012-01-16 19:52:08 +01:00
Sebastien Helleu b2dd992c0d core: add library "pthread" in cmake file for link on OpenBSD 2012-01-16 19:19:09 +01:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu 80d1a52304 core: use extended regex in filters (patch #7616) 2012-01-06 13:24:16 +01:00
Sebastien Helleu 68948f9747 core: change mouse state when option weechat.look.mouse is changed 2011-12-25 21:52:35 +01:00
Sebastien Helleu 3194a9b8e4 core: set option weechat.look.mouse when mouse state is changed with command /mouse 2011-12-25 21:22:33 +01:00
Sebastien Helleu 6f3fd239be core: add type "hashtable" for hdata, new api functions: hdata_hashtable and hashtable_map_string 2011-12-19 22:39:24 +01:00
Sebastien Helleu 7d52f85f55 core: display error on "/key bind meta- ..." (incomplete meta key) 2011-12-17 22:52:44 +01:00
Sebastien Helleu f0b8181395 core: add signal "buffer_line_added" 2011-12-17 17:34:45 +01:00
Sebastien Helleu dc8807a417 core: add default keys "meta2-1;5D" and "meta2-1;5C" (ctrl+left/right) for gnome-terminal 2011-12-16 12:36:28 +01:00
Sebastien Helleu 86489d4587 core: add option "weechat.look.scroll_bottom_after_switch" (if enabled, restore old behaviour before fix of bug #25555 in version 0.3.5) 2011-12-07 16:28:32 +01:00
Sebastien Helleu 018ea768af core: remove cmake warnings 2011-12-07 11:21:51 +01:00
Sebastien Helleu 23c70b013b core: fix sizeof of variable (struct content instead of its pointer) in function gui_hotlist_add 2011-12-04 09:08:03 +01:00
Sebastien Helleu 0765f113d0 core: replace some C++ comments by C comments 2011-12-01 17:09:23 +01:00
Sebastien Helleu 41b5ef1e4c core: check pointer returned by function localtime 2011-11-27 11:48:35 +01:00
Sebastien Helleu c40a281ce4 core: fix type of variables in hdata "line_data" (type integer -> char) 2011-11-25 15:23:28 +01:00
Sebastien Helleu 6f6e1569cd core: add "full_name" in buffer structure 2011-11-21 17:55:30 +01:00
Sebastien Helleu 61e5a4bcdb core: apply filters after full reload of configuration files (with /reload) (bug #31182) 2011-11-17 22:11:39 +01:00
Simon Kuhnle 07ed065ab7 core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) (bug #34727) 2011-11-12 16:57:49 +01:00
Sebastien Helleu c7a1a01d8f core: add new option weechat.completion.base_word_until_cursor: allow completion in middle of words (enabled by default) (task #9771) 2011-11-12 16:09:14 +01:00
Sebastien Helleu 2c6d525045 core: add option "jump_last_buffer_displayed" for command /input (key: alt+"/") (task #11553) 2011-11-08 18:51:15 +01:00
Sebastien Helleu f211a839f6 core: rename options weechat.history.{max_lines|max_minutes} to weechat.history.{max_buffer_lines_number|max_buffer_lines_minutes} 2011-11-05 12:53:29 +01:00
Sebastien Helleu 4b1bc5ff1b core: remove obsolete/empty sources for Qt and Wxwidgets 2011-11-03 16:06:15 +01:00