summaryrefslogtreecommitdiff
path: root/src/core/wee-string.h
AgeCommit message (Collapse)Author
2014-07-29tests: add tests of function string_is_word_charSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-13api: add callback in function string_replace_regexSebastien Helleu
2014-02-09core: improve the string_replace_regex function (add reference char, change ↵Sebastien Helleu
syntax for match refs) The reference char is now an argument for the function. The references are now $0 .. $99 and $+ was added (last match, with highest number). The syntax to replace a match with one char is now: $.cN or $.c+ (for example: "$.*3").
2014-02-09core: replace "regex_t *" by "void *" in string functions (fix ruby ↵Sebastien Helleu
compilation error with autotools)
2014-02-09core: add argument "num_items" in function string_split_shellSebastien Helleu
2014-02-09trigger: add trigger pluginSebastien Helleu
2014-01-19core: add command /printSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-08-10core: add support of shared strings in split of strings (add functions ↵Sebastien Helleu
string_split_shared and string_free_split_shared)
2013-08-10core: add shared strings to reduce memory usageSebastien Helleu
Shared strings are stored in a hashtable with pointer for keys (values are not used). The key has a reference count + the string. The initial reference count is set to 1 and is incremented each time the same string is asked. When removing a shared string, the reference count is decremented. If it becomes 0, then the shared string is removed from the hashtable (and then the string is really destroyed).
2013-07-27core: add secured data with optional encryption in file sec.confSebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
2012-11-18core: do not call shell to execute command in hook_process (fix security ↵Sebastien Helleu
problem when a plugin/script gives untrusted command) (bug #37764)
2012-11-02core: add command /eval, use expression in conditions for bars, add function ↵Sebastien Helleu
"string_eval_expression" in plugin API
2012-01-26api: replace type "regex_t *" by "void *" in function string_regcomp (fix ↵Sebastien Helleu
ruby compilation with autotools)
2012-01-22core: add support of flags in regular expressions and highlight options, add ↵Sebastien Helleu
irc options to customize/disable default nick highlight (task #11128) New functions in C plugin API: - string_regex_flags - string_regcomp New irc options: - irc.look.highlight_server - irc.look.highlight_channel - irc.look.highlight_pv Regex flags are supported in following options/commands: - option weechat.look.highlight - option weechat.look.highlight_regex - options irc.look.highlight_{server|channel|pv} - option relay.network.allowed_ips - core command /filter - irc command /list - irc command /ignore - rmodifier command /rmodifier
2012-01-08core: update copyright datesSebastien Helleu
2011-11-12api: add new functions strcasecmp_range and strncasecmp_rangeSebastien Helleu
2011-07-26core: add mouse support (task #5435), free cursor movement, hook_focus, fix ↵Sebastien Helleu
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-01-01Update copyright datesSebastien Helleu
2010-11-25Add new option weechat.look.highlight_regex and function ↵Sebastien Helleu
string_has_highlight_regex in plugin API (task #10321)
2010-11-10Use type "unsigned long long" for API function string_format_sizeSebastien Helleu
2010-06-25Update comments after #endif in C headersSebastien Helleu
2010-06-22Update licenses and copyrights, add missing author names in sourcesSebastien Helleu
2010-05-02Add function "string_expand_home" in plugin API, fix bug with replacement of ↵Sebastien Helleu
home in paths
2010-03-26Fix bug with writing of configuration files when disk is full (bug #29331)Sebastien Helleu
2010-03-02Add new option weechat.look.command_chars, add functions ↵Sebastien Helleu
string_is_command_char and string_input_for_buffer in plugin and script API
2010-02-16Add function "string_decode_base64" in plugin APISebastien Helleu
2010-02-15Add SASL authentication in IRC plugin (task #8829), add function ↵Sebastien Helleu
"string_encode_base64" in plugin API, fix bug with base64 encoding New options for IRC servers: - sasl_mechanism (only "plain" for now) - sasl_username - sasl_password
2010-01-03Update copyright datesSebastien Helleu
2009-06-28Rename function string_explode to string_splitSebastien Helleu
2009-04-24Fix typo: splited/splitted -> splitSebastien Helleu
2009-03-18Add "replacement" argument for string_remove_color in plugin APISebastien Helleu
2009-02-08Add hook type "command_run", add new function "string_remove_color" in ↵Sebastien Helleu
plugin API (task #9089)
2009-01-03Update copyright datesSebastien Helleu
2008-12-10Add new plugin "relay", new function "string_format_size" in plugin APISebastien Helleu
2008-10-31Allow mask or regex for IRC command /ignore (mask is default)Sebastien Helleu
2008-10-30Add new features to logger plugin (command /logger, log level, level by ↵Sebastien Helleu
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-06-03Add "const" keyword for some "char *" function arguments (core and plugins API)Sebastien Helleu
2008-06-01Reintroduce highlight (move code from irc plugin to core)Sebastien Helleu
2008-03-22Added tags for lines and custom filtering by tags or regex (task #7674), ↵Sebastien Helleu
fixed many memory leaks
2008-03-15Fixed bug in string_explode function, new function string_stripSebastien Helleu
2008-01-24Add of "modifier" hook, migration of charset plugin to new API, SIGHUP ↵Sebastien Helleu
signal catched (reload all config files), better config files reloading
2008-01-11New arguments for function "register" in scripts (author, license), with ↵Sebastien Helleu
optional check of license when script is loaded
2008-01-02Update of year in some copyrightsSebastien Helleu
2007-12-17New backlog option in logger plugin, added variable names in .h files, ↵Sebastien Helleu
replaced "void *" pointers by structures
2007-12-03Added alias plugin, added missing config file functions in plugins APISebastien Helleu
2007-11-05Added string_remove_quotes() function, use of argv and argv_eol for WeeChat ↵Sebastien Helleu
commands arguments
2007-11-05Added keep_eol flag to string_explode(), updated hook command callback argumentsSebastien Helleu