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

110 Commits

Author SHA1 Message Date
Sebastien Helleu 3c51c0e7c4 Remove argument "switch_to_another" for function gui_buffer_close() 2008-11-27 17:05:59 +01:00
Sebastien Helleu 09bed16dbd Save last read line (for marker) within /upgrade 2008-11-22 17:47:25 +01:00
Sebastien Helleu 8724fc18af Use of const for some functions returning "char *" 2008-11-15 22:35:12 +01:00
Sebastien Helleu da748fc653 Reintroduce option "irc.network.send_unknown_commands", save extra data for buffers with /upgrade (title, input data, text search) 2008-11-15 16:33:31 +01:00
Sebastien Helleu 0c68d46f3b Fix infinite loop when chat window is too small or not visible at all 2008-11-11 11:03:11 +01:00
Sebastien Helleu d32b22f76f Fix bug with pointer conversions on 64 bits architecture 2008-11-04 15:34:44 +01:00
Sebastien Helleu 6f65f647f8 Fix clear of buffers with free content (allowed, but not from user with /buffer clear) 2008-10-30 18:09:45 +01:00
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 1e3be56b5f Fix use of some uninitialized variables 2008-10-27 17:27:58 +01:00
Sebastien Helleu 66bb1fad2a Add name of plugins next to plugin pointers in dump (to log file) 2008-10-27 15:51:44 +01:00
Sebastien Helleu c1fc320025 Do not clear buffer content with /buffer clear for buffers with free content 2008-10-26 12:33:54 +01:00
Sebastien Helleu 77d90fc1bb Save/restore buffer local variables during upgrade 2008-10-24 17:33:54 +02:00
Sebastien Helleu 9e0052f35f Add free() for buffer local variables pointers when removing them 2008-10-24 16:07:05 +02:00
Sebastien Helleu e37f7fa2b2 Add local variables for buffers, fix alias creation, use of local variables $nick/$channel/$server in alias 2008-10-24 15:12:32 +02:00
Sebastien Helleu a965be6802 Add function buffer_set_pointer in plugin API 2008-10-22 12:58:05 +02:00
Sebastien Helleu a33e44c7e1 Add new property "short_name" for buffers 2008-10-20 11:01:51 +02:00
Sebastien Helleu 2bd4428f45 Remove unused option look.input_format, fix refresh bug with input prompt for IRC buffers 2008-10-18 22:36:18 +02:00
Sebastien Helleu ac107802fd Aspell plugin is born again 2008-10-18 16:03: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 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 5d07aa14ed Add function to get plugin name (return "core" for WeeChat core) 2008-10-08 19:04:05 +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 12421a67da Set unread marker for IRC server/channels/pv buffers when using /away command 2008-09-30 15:39:25 +02:00
Sebastien Helleu 9fa560300f Fix some memory leaks 2008-09-30 12:13:00 +02:00
Sebastien Helleu ace2d20e33 Fix /upgrade when there is one buffer for all IRC servers 2008-09-24 19:39:17 +02:00
Sebastien Helleu a8b12f2597 Add IRC bar items (buffer name, lag indicator), use bar items from plugins with callback to core items if not found 2008-09-21 19:32:41 +02:00
Sebastien Helleu c572e393e7 Remove "category" for buffers (keep only name). 2008-09-18 18:44:03 +02:00
Sebastien Helleu b76d7e4a5c Reintroduce /upgrade command, working only with core and IRC plugin today
Command will be improved in near future and other plugins like xfer
will be modified to manage upgrade process.
2008-08-19 23:22:52 +02:00
Sebastien Helleu 103b627c1d Fix bug with buffer_search function in scripts (with empty arguments, to find current buffer) 2008-07-18 18:33:50 +02:00
Sebastien Helleu 0e2fa128a6 Add "buffer_title" bar item, and create title bar when using /bar default 2008-06-28 12:59:58 +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 6bb860456c Fix hotlist bug: buffer were added to hotlist even if line is filtered (hidden) 2008-06-19 12:23:09 +02:00
Sebastien Helleu af87798455 New plugin "notify", new option for debug messages in plugins 2008-06-17 16:01:09 +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 5689970cb1 Fix bug when user closes buffer with free content: buffers with higher number were not decreased 2008-05-06 18:33:00 +02:00
Sebastien Helleu 886b81498f Fixed crash with scripts when WeeChat calls functions of many scripts at same time with callbacks (bug #23109) 2008-04-30 13:21:21 +02:00
Sebastien Helleu e349ae491a Added infolist "window", scroll in buffers with free content, fixed config hooks (use of string_match) 2008-04-17 17:59:27 +02:00
Sebastien Helleu b0ea4715ca Fixed crash when nicklist is top/bottom and that we open a new buffer with a nicklist 2008-04-17 12:30:21 +02:00
Sebastien Helleu ae98666bc6 Added "toggle" value for /set on boolean options, fixed refresh bugs, added option type for infolist "options" 2008-04-16 14:44:02 +02:00
Sebastien Helleu dae4068a0e Added keys by buffer (useful for buffers with free content that need own keys)
These keys can be set thru API function "buffer_set", for example:
weechat_buffer_set(my_buffer, "key_bind_meta2-A", "/mycommand up");
weechat_buffer_set(my_buffer, "key_bind_meta2-B", "/mycommand down");
weechat_buffer_set(my_buffer, "key_unbind_meta2-B", "");
weechat_buffer_set(my_buffer, "key_unbind_*", "");
These keys are volatile and not saved in any config file. So they must be set
when buffer is open.
2008-04-15 16:40:08 +02:00
Sebastien Helleu d975629686 Improved /set command, added /unset command, new name for config files (*.conf) 2008-04-11 18:36:06 +02:00
Sebastien Helleu 48bbd32f12 Bugs fixed with bars 2008-04-03 18:11:32 +02:00
Sebastien Helleu 8509f777b4 New features and bug fixes with bars 2008-04-03 15:54:21 +02:00
Sebastien Helleu 868bc6b63d Added preliminary support of new buffer type, with free content 2008-03-28 18:57:10 +01:00
Sebastien Helleu 57323fa71e Removed sizeof(char) and useless type casts from void* to another pointer type (patch from Leonid Evdokimov) 2008-03-23 23:00:04 +01:00
Sebastien Helleu 61ca929728 Added tags for lines and custom filtering by tags or regex (task #7674), fixed many memory leaks 2008-03-22 23:36:12 +01:00
Sebastien Helleu 14d393b11e Partial support of bars, with custom items.
Today only root bars are partially working (refresh is not always performed),
and bars are not saved in configuration file. To be continued...
2008-03-05 16:19:10 +01:00
Sebastien Helleu c5a30be877 New "irc/debug" buffer (replaces old IRC raw buffer), improved status bar display, fixed nick in input for IRC buffers
The "irc/debug" buffer is displayed when IRC debug is enabled (with "/debug irc" thru debug plugin).
If the buffer is closed, it is reopen when new messages are written, until debug is disabled by user (with "/debug irc").
2008-02-22 14:29:34 +01:00
Sebastien Helleu 28e811c09c Use of sizeof(char) in all malloc/realloc for strings 2008-02-02 21:12:16 +01:00