Sebastien Helleu
9fdeef247e
core: add signals and hsignals for nicklist events
...
New signals: nicklist_group_removing and nicklist_nick_removing.
New hsignals: nicklist_group_added, nicklist_nick_added, nicklist_group_removing,
nicklist_nick_removing, nicklist_group_changed, nicklist_nick_changed.
2013-03-08 23:13:58 +01:00
Sebastien Helleu
8b925baa3c
core: add count for groups, nicks, and total in nicklist
2013-03-03 11:30:58 +01:00
Sebastien Helleu
844ba9e1c0
core: optimize function nicklist_remove_all (don't remove and create again "root" group)
2013-03-02 09:35:02 +01:00
Sebastien Helleu
4e4fd3f54d
core: remove Gtk interface (obsolete sources not working)
2013-02-17 15:47:52 +01:00
Sebastien Helleu
10820c7336
core: add signal "window_opened" (task #12464 )
2013-02-12 12:14:22 +01:00
Sebastien Helleu
d4b1b50311
core: fix structures before buffer data when a buffer is closed
...
This was causing a bug in relay plugin (weechat protocol): when a buffer was
closed, local variables were removed after buffer name, and when signal is sent
to client, the buffer name was wrong (already freed).
2013-02-07 22:11:25 +01:00
Sebastien Helleu
1cdbc27abf
core: fix refresh of line after changes with hdata_update (update flag "displayed" according to filters)
2013-02-04 08:29:57 +01:00
Sebastien Helleu
cb617d8b23
core: fix hidden lines for messages without date when option weechat.history.max_buffer_lines_minutes is set (bug #38197 )
2013-01-29 19:31:04 +01:00
Sebastien Helleu
25eaec3864
core: use size of 32 for hashtables (instead of 4, 8 or 16)
...
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-26 19:26:43 +01:00
Sebastien Helleu
e0deceb366
core: fix click in item "buffer_nicklist" when nicklist is a root bar (bug #38080 )
...
Argument "*" is now silently ignored in command /window.
When item "buffer_nicklist" is in a root bar, we use current window/buffer to
find which nick has been clicked (same behaviour as callback used to display bar
item "buffer_nicklist").
2013-01-14 12:16:25 +01:00
Sebastien Helleu
f14f34e9af
core: fix display bugs with non-printable chars like tabs (part of messages not displayed) (bug #38076 )
...
This bug was introduced by commit 70ce7fe3b6 .
2013-01-14 11:35:52 +01:00
Sebastien Helleu
6fdee3aa9f
core: fix crash in display of chat area when the ncurses chat window is not initialized
...
This can happen when a window becomes too small for display: then we set the
ncurses chat window to NULL.
So when displaying buffer, we'll skip it if the ncurses chat window is NULL.
Steps to reproduce crash:
1. /window splith
2. /window resize -1 (many times, until chat area is less than one line)
3. /window balance
2013-01-12 19:40:04 +01:00
Sebastien Helleu
1b56e084dc
core: fix typo in comment
2013-01-12 09:35:21 +01:00
Sebastien Helleu
1e20dd16e5
core: fix line returned when clicking on a bar (according to position and filling) (bug #38069 )
2013-01-12 09:31:57 +01:00
Sebastien Helleu
a421d330bf
core: fix refresh of bars when applying layout (bug #37944 , bug #37952 )
2013-01-05 11:00:30 +01:00
Sebastien Helleu
a543404428
core: add buffer pointer in arguments for signals "input_search", "input_text_changed" and "input_text_cursor_moved"
2013-01-04 23:22:27 +01:00
Sebastien Helleu
77afab57ed
core: fix scroll to bottom of window (default key: alt+end) when line displayed is bigger than chat area
2013-01-01 13:29:29 +01:00
Sebastien Helleu
632e2c1eae
core: fix scroll in buffer after enabling/disabling some filters (if scroll is on a hidden line) (bug #37885 )
2013-01-01 13:24:19 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
9a024f3aba
core: fix memory leak in case of error when building content of bar item for display
2012-12-25 16:57:14 +01:00
Sebastien Helleu
fa1665ef81
core: search for a fallback template when a no template is matching command arguments
2012-12-20 19:23:52 +01:00
Sebastien Helleu
0e726b43ef
core: fix another bug with horizontal separator displayed at bottom after split of windows (bug #37874 )
2012-12-20 16:26:41 +01:00
Sebastien Helleu
dd96e6daef
core: fix refresh of windows after split (fix bug with horizontal separator between windows) (bug #37874 )
2012-12-19 12:19:21 +01:00
Sebastien Helleu
3fcb00bfc5
core: fix stuck mouse (patch from Nei) (bug #36533 )
2012-12-19 09:10:16 +01:00
Sebastien Helleu
0faf58a287
core: fix default mouse buttons actions for script buffer (focus the window before executing action)
2012-12-19 09:00:59 +01:00
Sebastien Helleu
2b78673aa9
core: add git version in build, display it in "weechat-curses --help" and /version
2012-12-16 23:07:33 +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
9db5682186
core: fix compilation warning
2012-12-09 00:47:07 +01:00
Sebastien Helleu
641de51bdb
api: allow creation of structure with hdata_update (allowed for hdata "history")
2012-12-08 23:54:07 +01:00
Sebastien Helleu
f7c47a8644
core: fix scroll of one page down when weechat.look.scroll_page_percent is less than 100 (bug #37875 )
2012-12-07 13:45:41 +01:00
Nils Görs
03cbb1c8f6
core: disable paste detection and confirmation if bar item "input_paste" is not used in a visible bar (task #12327 )
2012-12-05 19:04:07 +01:00
Nils Görs
2ae8d81b1f
core: add color support in options weechat.look.prefix_{action|error|join|network|quit} (task #9555 )
2012-12-01 16:03:20 +01:00
Sebastien Helleu
638b2e3f1c
core: fix typo in comment
2012-12-01 12:34:22 +01:00
Sebastien Helleu
72959d1d8b
core: fix display of combining chars (patch from Nei) (bug #37775 )
2012-11-30 18:16:49 +01:00
Sebastien Helleu
777f977ea5
core: remove obsolete externs gui_color_init_pair and gui_color_init_pairs
2012-11-23 07:40:27 +01:00
Ailin Nemui
8b52fc90d5
core: add incomplete mouse events "event-down" and "event-drag" (task #11840 )
2012-11-02 17:26:52 +01:00
Sebastien Helleu
32c93b5c0a
core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API
2012-11-02 09:37:15 +01:00
Sebastien Helleu
93d3198b70
core: fix display of zoomed/merged buffer (with number >= 2) after switching to it (bug #37593 )
2012-10-18 10:25:34 +02: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
70ce7fe3b6
core: fix wrapping of words with wide chars (the break was made before the correct position)
2012-10-12 14:05:48 +02:00
Sebastien Helleu
bfaed2bec6
core: move the set of cmake policy CMP0003 in directory src (so it applies to all plugins) (bug #37311 )
2012-09-17 13:15:05 +02:00
Sebastien Helleu
e1a54d49eb
core: add default key alt+"x" (zoom on merged buffer) (task #11029 )
2012-08-30 10:46:42 +02:00
Sebastien Helleu
c5daee28cf
core: fix display bug when end of a line is displayed on top of chat (last line truncated and MORE(0) in status bar) (bug #37203 )
2012-08-27 12:30:56 +02:00
Sebastien Helleu
df80aa5fc9
api: allow update for some variables of hdata, add new functions hdata_update and hdata_set
2012-08-27 09:47:46 +02:00
Sebastien Helleu
d8d0d6e4c6
core: display spaces at the end of messages in chat area (bug #37024 )
2012-08-22 14:07:01 +02:00
Sebastien Helleu
d81d5c09d1
core: fix infinite loop in display when chat area has width of 1 with a bar displayed on the right (nicklist by default) (bug #37089 )
2012-08-22 10:14:24 +02:00
Sebastien Helleu
129f32ce8e
script: add option script.look.quiet_actions (no messages when installing/removing/loading/unloading scripts on script buffer)
2012-08-21 18:57:49 +02:00
Sebastien Helleu
2944adc954
script: add focus info for mouse on script buffer, add two default mouse bindings: left button = select line, right button = install/remove script
2012-08-20 13:36:29 +02:00
Nils Görs
5a24709f35
core: fix display of "bar more down" char when text is truncated by size_max in bars with vertical filling (bug #37054 )
2012-08-17 19:26:44 +02:00