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
b2f0cc30ff
core: fix type of value returned by function gui_bar_window_content_get
2015-07-05 08:32:43 +02:00
Sébastien Helleu
bd850398e8
core: add missing comments before functions when the result must be freed after use
2015-07-04 08:24:53 +02:00
Sébastien Helleu
ca5aa6695f
core: fix NULL pointer in free of bar window ( closes #293 ); add extra checks on bar window pointers
2015-01-03 19:18:09 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
27431e234d
core: check bar conditions in root bars and on each update of a bar item
2014-12-28 11:42:57 +01:00
Sebastien Helleu
47d89ce201
core: fix use of invalid pointer in function gui_bar_window_content_alloc (in case of insufficient memory)
2014-02-22 12:57:01 +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
c6fe4b18ef
core: fix malloc(0) when building content of a bar using a filling with columns
2013-07-13 07:31:51 +02: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
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
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
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
a317029955
core: fix display bugs and crashs with small windows (bug #36107 )
2012-04-11 16:38:14 +02:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
f843f904bc
core: fix bugs with calls to realloc
2011-08-28 15:25:30 +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
e0ef10ee47
core: fix typo in comment of function gui_bar_window_new
2011-07-29 09:56:39 +02:00
Sebastien Helleu
fd35bbeb72
core: add "refresh_needed" in dump of bar windows to log file
2011-07-29 09:51:16 +02:00
Sebastien Helleu
e0781f0390
core: add mouse support (task #5435 ), free cursor movement, hook_focus, fix bugs with key "^" (bug #32072 , bug #21381 ), fix bugs with bar windows, completion and /buffer
...
New features and bugs fixed:
- mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse"
- free movement of cursor: new command /cursor, new key context "cursor"
- new hook_focus (used by cursor and mouse)
- info "cursor_mode"
- bugs fixed with key "^"
- allow plugin name in /buffer name
- fix bugs with bar windows: do not create bar windows for hidden bars
- fix completion bug when two words for completion are equal but with different case
- automatic scroll direction in /bar scroll (x/y is now optional)
2011-07-26 18:50:29 +02:00
Sebastien Helleu
4680ae40b6
Fix crash when using column filling in bars with some empty items (bug #32565 )
2011-02-22 10:26:18 +01:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
fce371e22a
Remove unused variables
2010-10-31 18:10:51 +01:00
Sebastien Helleu
6562d676fe
Update licenses and copyrights, add missing author names in sources
2010-06-22 19:46:28 +02:00
Sebastien Helleu
b54af6af0b
Fix display bug with attributes like underlined in bars (bug #29889 )
2010-06-11 16:52:10 +02:00
Sebastien Helleu
31bfcf96c7
Reformat and add comments for description of C sources
2010-04-08 18:15:00 +02:00
Sebastien Helleu
96e6ae3fc3
Add new options for command /key (listdefault, listdiff and reset), add examples in /help key
...
Note: old option "reset" for /key has been renamed to "resetall".
2010-03-24 19:54:31 +01:00
Sebastien Helleu
2133eb30ff
Update copyright dates
2010-01-03 19:31:55 +01:00
Sebastien Helleu
2f7a5a4147
Rename function string_explode to string_split
2009-06-28 19:49:32 +02:00
Sebastien Helleu
e2497ff8bc
Fix typo: formated -> formatted
2009-05-17 16:00:35 +02:00
Sebastien Helleu
8130e6da8f
Remove unneeded space between two bar items (for items glued with "+")
2009-05-17 12:56:30 +02:00
Sebastien Helleu
cde8a69eda
Add missing space at beginning of bar item when first sub-item content is NULL
2009-05-08 13:00:11 +02:00
Sebastien Helleu
8d69edfa31
Use or '\r' in bar items to force new line with horizontal filling
2009-05-04 19:17:42 +02:00
Sebastien Helleu
e3d2728571
Fix typo: splited/splitted -> split
2009-04-24 17:24:56 +02:00
Sebastien Helleu
ce8100278b
Add missing refreshs when creating/deleting bars
2009-02-27 12:56:18 +01:00
Sebastien Helleu
8cc03f939d
Fix "/window refresh" (key ctrl+L): force curses refresh (was broken by previous commit for terminal resize)
2009-02-26 15:21:32 +01:00
Sebastien Helleu
426ab803cb
Test return code of some malloc/strdup
2009-02-23 13:45:30 +01:00
Sebastien Helleu
d7bec49b71
Fix crash with nicklist bar when position is top/bottom and filling is columns
2009-02-05 14:45:26 +01:00
Sebastien Helleu
7cc562be45
Fix 14 memory leaks (in core, gui, irc, jabber, logger, script plugins)
2009-02-04 14:12:46 +01:00
Sebastien Helleu
f6ebe7a991
Improve refreshs of windows/buffers/bars, fix refresh bug when some bars are hidden
2009-01-25 09:03:53 +01:00