Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
0b2be21f1f
core: fully evaluate commands bound to keys in cursor and mouse contexts
2014-12-20 08:07:13 +01:00
Sébastien Helleu
1ef3237b6b
api: return value in function command(), remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR
2014-11-22 08:14:29 +01:00
Sébastien Helleu
3aadfc6765
core: fix insert of mouse code in input line after a partial key combo ( closes #130 )
2014-07-21 21:29:44 +02:00
Sébastien Helleu
1f65f80db4
core: send signal key_combo_xxx even for unknown combos
2014-07-14 20:02:26 +02:00
Sébastien Helleu
7aaf3be15b
api: add argument "flags" in function hdata_new_list
2014-05-24 18:03:14 +02:00
Sebastien Helleu
6a5f0fbc07
core: fix crash on /reload weechat
...
The problem was introduced in commit eef3b57075
which was storing split commands inside keys themselves (for optimization).
This causes a problem when weechat.conf is reloaded, because all keys are
then deleted and created again, which removes the array of commands which
is currently used. And then it leads to a crash of WeeChat.
This commit reverts this behavior and the key commands are split when they
are executed.
2014-03-27 07:53:01 +01:00
Sebastien Helleu
a0651e11bd
core: fix memory leak in function gui_key_add_to_infolist (in case of insufficient memory)
2014-02-22 15:22:27 +01:00
Sebastien Helleu
b8f07e935a
core: remove dead assignment in function gui_key_pressed
2014-02-22 15:16:31 +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
f324a1589d
core: add signals "key_combo_{default|search|cursor}"
2014-02-11 20:09:02 +01:00
Sebastien Helleu
eef3b57075
core: split key command when the key is created (improve speed when executing commands of a key)
2014-02-10 21:10:45 +01:00
Sebastien Helleu
437767c0ca
api: add integer return code for functions hook_{signal|hsignal}_send
2014-02-10 17:42:53 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
b47af3c61e
core: fix buffer returned in focus info for bar items with a forced buffer
2013-08-20 11:42:12 +02:00
Sebastien Helleu
a490195032
core: add secured data with optional encryption in file sec.conf
2013-07-27 12:57:08 +02:00
Sebastien Helleu
7389514c09
core: add option weechat.look.key_bind_safe
2013-07-15 19:04:00 +02:00
Sebastien Helleu
92609e3cd6
core: remove obsolete reference to "key functions" in comments
2013-07-15 18:28:01 +02:00
Sebastien Helleu
3e1d811761
core: fix refresh of item "completion" (bug #38214 ) (patch from Nils Görs)
...
The item is now cleared after any action that is changing content of command
line and after switch of buffer.
2013-03-17 19:44:39 +01:00
Sebastien Helleu
30e6acb00d
core: add support of multiple layouts (task #11274 )
2013-03-17 08:28:41 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +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
641de51bdb
api: allow creation of structure with hdata_update (allowed for hdata "history")
2012-12-08 23:54:07 +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
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
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
eab0110732
core: add support of arrays in hdata variables
2012-07-20 18:12:07 +02:00
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
b867c69477
core: convert tabs to spaces in text pasted (bug #25028 )
2012-03-24 13:22:41 +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
152394689a
core: add support of terminal "bracketed paste mode" (task #11316 )
2012-03-04 10:32:55 +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
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +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
6f6e1569cd
core: add "full_name" in buffer structure
2011-11-21 17:55:30 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
d0f41efeb7
core: fix paste detection (problem with end of lines)
2011-09-27 21:35:13 +02:00
Sebastien Helleu
f843f904bc
core: fix bugs with calls to realloc
2011-08-28 15:25:30 +02:00
Sebastien Helleu
44f2b7caf4
core: add functions "key_bind" and "key_unbind" in plugin API
2011-08-20 10:52:27 +02:00
Sebastien Helleu
9070021a54
core: allow a second area for keys in context "mouse" (for drag & drop between two areas)
2011-08-15 21:49:20 +02:00
Sebastien Helleu
1cb7c6a6c5
core: return info about line/word for chat area in focus hashtable, add keys m/q/Q to quote line in cursor mode, sort mouse keys by priority
2011-08-14 11:30:08 +02:00
Sebastien Helleu
f841333609
core: allow mix of commands and hsignals for keys in context "mouse"
2011-08-10 12:24:23 +02:00
Sebastien Helleu
fe9aee25a5
core: allow send of hsignal instead of command for keys in context "mouse"
2011-08-09 14:56:15 +02:00
Sebastien Helleu
ede9a96eb9
core: add optional buffer name for area "chat" in keys of mouse context
2011-08-08 11:24:26 +02:00
Sebastien Helleu
217e9683d2
core: add info about position where mouse button is released in hook_focus (for mouse gestures)
2011-08-01 18:33:13 +02:00
Sebastien Helleu
95b179dd08
core: add "/input grab_mouse" and "/input grab_mouse_area" (default: right click on input bar)
2011-07-30 15:44:55 +02:00
Sebastien Helleu
51ef22c284
core: improve mouse support: process utf-8 codes, add option weechat.look.mouse_timer_delay, remove key meta2-M, fix problem with iso chars when grabbing mouse codes
2011-07-28 15:36:39 +02:00
Sebastien Helleu
6bbe3be63f
core: fix message with new key added (displayed on current buffer instead of core)
2011-07-27 09:50:35 +02:00