1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +02:00
Commit Graph

397 Commits

Author SHA1 Message Date
Sebastien Helleu 6f442bbfc1 Add new features to logger plugin (command /logger, log level, level by buffer, mask by buffer, ..), fix some bugs
New features:
- new command /logger
- log level, to log only some messages, according to importance (task #8592)
- level by buffer: custom level for some buffers (or group of buffers)
- log filename mask by buffer (or group of buffers)
- marker line is added after display of backlog
- add "delete" callback for config file sections
- add "mkdir_parents" function to plugin API
- remove old log options in IRC plugin

Bug fix:
- marker line is set only when user switches buffer (not when a plugin force
  switch, like IRC plugin does when opening server or channel buffer)
- backlog fixed (sometimes lines were not properly displayed)
2008-10-30 17:18:28 +01:00
Sebastien Helleu f850bdd5e9 Fix display of special chars (< 32) in input bar (for exemple to send colors to IRC channel) 2008-10-19 13:22:14 +02:00
Sebastien Helleu 091c07d571 Free layout and chat buffer on exit 2008-10-18 17:54:16 +02:00
Sebastien Helleu 1bb38a732a Fix use of size_max value for bars, fix refresh problem when bar size is changed 2008-10-14 10:33:16 +02:00
Sebastien Helleu c83eef6e82 Remove old title/nicklist/status/input, use of new bars 2008-10-12 19:20:26 +02:00
Sebastien Helleu f6073c8076 Fix refresh of bars when switching active buffer 2008-10-11 16:17:43 +02:00
Sebastien Helleu 383401900e Add space before day changed message, fix refresh when setting unread marker for buffer(s) 2008-10-11 10:03:53 +02:00
Sebastien Helleu 8405b55a2e Fix refresh bugs with scroll keys (bug #21738) 2008-10-11 09:33:43 +02:00
Sebastien Helleu f86f306ce2 Fix some display bugs with read marker line, history, max prefix length, and chat refresh (bug #23153)
Some info about bugs fixed:
- when marker line (dotted) was on top of window (and not visible), this caused
  bug on last lines of buffer (not refreshed)
- marker line is not set for a buffer after a switch, only if buffer it not
  displayed in other window
- when we delete lines in a buffer (if lines > weechat.history.max_lines), we
  force a full refresh of chat if remaining lines is < to chat height
  and we compute again max prefix length for buffer (before max prefix length
  was always incremented, never decremented)
2008-10-11 08:55:26 +02:00
Sebastien Helleu 349371197c Add 2 new default bar items (input_paste and input_search), used by default input bar 2008-10-10 15:58:11 +02:00
Sebastien Helleu 5d07aa14ed Add function to get plugin name (return "core" for WeeChat core) 2008-10-08 19:04:05 +02:00
Sebastien Helleu dfaa43ff17 Add color for marker on lines where text sought is found 2008-10-03 17:18:25 +02:00
Sebastien Helleu e2b60e73c2 Do not write "--" or "++" indicators for bars with items where cursor is moved (like input_text) 2008-10-03 14:22:20 +02:00
Sebastien Helleu b389da832f Fix horitonzal scroll (X) in bars 2008-10-03 12:59:11 +02:00
Sebastien Helleu 239dd464d5 Add new option scroll_page_percent to choose percent of height to scroll with page_up and page_down keys (task #8702) 2008-10-02 18:54:06 +02:00
Sebastien Helleu 2ffd141cf4 Add new /layout command and save_layout_on_exit config option, to save/restore windows and buffers order (task #5453) 2008-10-02 18:03:27 +02:00
Sebastien Helleu 013e039241 Fill items in bars with spaces when filling is vertical 2008-10-01 12:25:40 +02:00
Sebastien Helleu 9fa560300f Fix some memory leaks 2008-09-30 12:13:00 +02:00
Sebastien Helleu 9c4f98e278 Replace french word "pourcentage" by percentage 2008-09-18 18:53:35 +02:00
Sebastien Helleu c572e393e7 Remove "category" for buffers (keep only name). 2008-09-18 18:44:03 +02:00
Sebastien Helleu 1b726d3c71 Fix refresh bug with bars when items are empty and size is zero (auto) 2008-09-02 10:38:06 +02:00
Sebastien Helleu 43029de8f5 Fix display bug with some weird UTF-8 chars (bugs #19687 and #23943) 2008-07-28 18:20:13 +02:00
Sebastien Helleu f93837d5c8 Split "filling" bar value into "filling_top_bottom" and "filling_left_right" to have a filling specific to top/bottom bars (vs left/right bars) 2008-07-10 17:53:22 +02:00
Sebastien Helleu 7907fee369 Fix display bug with prefix_align_max for highlighted lines 2008-07-06 11:40:23 +02:00
Sebastien Helleu 9d911f6c11 Display number of lines remaining after last line displayed screen in "-MORE-" indicator 2008-07-06 11:36:05 +02:00
Sebastien Helleu 28088484df Fix other bugs with prefix alignment 2008-07-06 10:52:58 +02:00
Julien Louis 1f787ddcba Fix some warnings with cmake 2.6
Signed-off-by: Julien Louis <ptitlouis@sysif.net>
2008-07-04 17:31:22 +02:00
Sebastien Helleu 44f57d35bc Fix "more" indicator when filters are enabled with some lines hidden (bug #23752) 2008-07-03 16:34:33 +02:00
Sebastien Helleu b97a979f61 Add "buffer_nicklist" bar item and scroll feature in bars with /bar scroll 2008-07-03 16:02:03 +02:00
Sebastien Helleu 50f8bf0043 Add input bar item, add "hidden" flag for bars, fix some display bugs with bars 2008-06-27 17:15:26 +02:00
Sebastien Helleu 6635c7d617 Add delimiter color for bars, fix some bugs with bars 2008-06-22 12:01:50 +02:00
Sebastien Helleu 9d05dcf175 Remove infobar 2008-06-21 11:49:11 +02:00
Sebastien Helleu 72f587df06 Fix display bug with marker line when there's some filtered lines (marker was not displayed inside hidden lines) 2008-06-19 12:21:11 +02:00
Sebastien Helleu 66e8d703bd Add new options for completion, optional stop instead of cycling with words found 2008-06-18 16:47:09 +02:00
Sebastien Helleu 860842240b Remove space before vertical bar (after prefix), if there's no prefix at all in buffer 2008-06-16 12:47:10 +02:00
Sebastien Helleu 18a59cf8aa Fix bug/crash when any color option is changed (bug #23566) 2008-06-15 08:56:40 +02:00
Sebastien Helleu 3a53257032 Add "const" keyword for some "char *" function arguments (core and plugins API) 2008-06-03 10:56:51 +02:00
Sebastien Helleu bd436db2bc Reintroduce highlight (move code from irc plugin to core) 2008-06-01 22:09:12 +02:00
Sebastien Helleu ede921cc4d Remove old dcc code, unused now 2008-05-20 17:29:44 +02:00
Sebastien Helleu 987234faf9 Add hook_connect (background connection to peer) 2008-05-20 11:00:22 +02:00
Sebastien Helleu 8b62667111 Fix crash on FreeBSD 7 with term title reset 2008-05-15 23:23:50 +02:00
Sebastien Helleu 673e4ad3be Disable auto-connect for plugins with command line option ("-a") 2008-05-13 14:27:33 +02:00
Sebastien Helleu 53ad9cddc1 Remove unused variables 2008-05-10 17:55:40 +02:00
Sebastien Helleu ff03d203a1 Fix color display bug on lines (when length of line is more than chat width) 2008-05-09 14:33:29 +02:00
Sebastien Helleu 72721d7205 Do not clean all GUI objects when crashing after SIGSEGV (this can cause crash inside crash!) 2008-05-06 17:30:13 +02:00
Sebastien Helleu e9603acb1a IRC DCC chat and file (without resume) reintroduced, via xfer plugin (called by /dcc command) 2008-05-06 16:51:30 +02:00
Sebastien Helleu e7a16efa0c Added new plugin "xfer" (used by irc plugin for DCC file and chat) (warning: initial commit, not working yet) 2008-05-04 20:24:20 +02:00
Sebastien Helleu d970784ec7 Fixed typo in default command for page_up key 2008-04-30 23:42:27 +02:00
Sebastien Helleu bbde23dec6 IRC colors reintroduced 2008-04-30 18:18:14 +02:00
Sebastien Helleu f8001cbb6e Added comment in source for SIGHUP signal 2008-04-30 15:51:19 +02:00