1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00
Commit Graph

92 Commits

Author SHA1 Message Date
Sebastien Helleu 1fa4701ed0 core: free secured data on exit 2013-11-23 16:29:51 +01:00
Sebastien Helleu 90774b73d8 core: rename option weechat.look.set_title to weechat.look.window_title (evaluated string) 2013-11-09 17:07:02 +01:00
Sebastien Helleu 46c26922aa core: do not exit if read of sec.conf/weechat.conf fails 2013-11-09 09:59:37 +01:00
Sebastien Helleu cce23613a7 core: display lines waiting for buffer on exit (in case of early exit) 2013-11-09 08:55:57 +01:00
Sebastien Helleu 49aacc853c core: add shared strings to reduce memory usage
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-08-10 18:20:49 +02:00
Sebastien Helleu 390443112c core: optimize creation of hashtable "pointers" in eval_expression if argument is NULL
The hashtable is created on first call to eval_expression with pointers == NULL.
On next calls, the hashtable is cleared, then used again.
The hashtable is freed on exit.
2013-08-04 12:42:29 +02:00
Sebastien Helleu 663de42284 Merge branch 'secured-data' 2013-08-02 19:19:25 +02:00
Sebastien Helleu 996da2f662 core: rename binary and man page from "weechat-curses" to "weechat" (task #11027)
A symbolic link weechat-curses -> weechat is now created (by both cmake and
configure), so that the /upgrade will work from an old version.

However, if you upgrade from an old version, it is recommended to force the use
of the new binary name with the command: `/upgrade /path/to/weechat` (replace
the path accordingly).
2013-08-02 08:54:16 +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 018e5c69ae core: remove obsolete command line option -k/--keys
The user's guide is better to view WeeChat default keys.
2013-06-28 20:38:08 +02:00
Sebastien Helleu 1cadbdf6a9 core: update man page and add translations (in french, german, italian, and japanese) 2013-06-28 20:08:16 +02:00
Sebastien Helleu 149c77decd core: fix typos in many comments and some strings 2013-03-17 12:55:20 +01:00
Sebastien Helleu 30e6acb00d core: add support of multiple layouts (task #11274) 2013-03-17 08:28:41 +01:00
Sebastien Helleu df2867ac27 core: add git version in backtrace and log file 2013-01-17 20:25:00 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +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 3a245686ca core: free some variables used for weechat.conf when quitting WeeChat 2012-08-14 11:53:53 +02:00
Sebastien Helleu 5164bab407 core: add hidden command line options --no-gnutls and --no-gcrypt (no init/deinit of gnutls/crypt, useful for valgrind/electric-fence) 2012-08-14 11:05:35 +02:00
Peter Boström 4eb8013fd3 core: add command line option "-r" (or "--run-command") to run command(s) after startup of WeeChat 2012-07-13 12:57:14 +02:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu 663616fa07 core: fix syntax of option "irc://" in "weechat-curses --help" 2011-11-01 19:40:46 +01:00
Sebastien Helleu 34e0226ee0 core: add WEECHAT_HOME option in cmake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266)
Syntax for cmake:     cmake <dir> -DWEECHAT_HOME="~/.weechat"
Syntax for configure: ./configure WEECHAT_HOME="~/.weechat"
2011-10-29 16:52:19 +02:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu 53b339fb35 core: bufferize lines displayed before core buffer is created, to display them in buffer when it is created 2011-10-07 15:30:54 +02:00
Sebastien Helleu 8d2c23209f core: save and restore layout for buffers and windows on /upgrade 2011-08-05 23:15:23 +02:00
Sebastien Helleu 3bea55b2f0 core: add context "search" for keys (to define keys used during search in buffer with ctrl+"r") 2011-07-05 15:36:42 +02:00
Sebastien Helleu 19bc95b961 core: many improvements on hdata
New features:
- add optional hdata name for variables in hdata
- add plugin API functions: hdata_get_var_hdata
- use hashtable to store hdata (created by WeeChat and plugins)
- free hdata and infolists created by plugin on plugin unload
- free all hdata on exit
- add "free" option to command /debug hdata
- remove hdata for hooks
2011-06-26 18:15:42 +02:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 391ca47674 Add info "weechat_upgrading", signal "upgrade_ended", display duration of upgrade 2010-12-26 12:16:47 +01:00
Sebastien Helleu e80d6b93a5 Add command line option "-c" (or "--colors") to display default colors in terminal 2010-12-17 12:27:51 +01:00
Sebastien Helleu 25879ca189 Move WeeChat core completions from gui-completion.c to wee-completion.c 2010-11-09 15:03:07 +01:00
Sebastien Helleu 06b48ccf83 Add 2 "return" to make C static analyzer happy 2010-10-31 18:22:10 +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 9def214c11 Add some notes for translators in gettext files 2010-06-10 12:41:28 +02:00
Sebastien Helleu c33f0e60ea Define WeeChat license as macro for C compiler, used in plugins to set license 2010-04-09 15:39:52 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 03d01f4234 Remove WeeChat slogan 2010-03-23 10:23:26 +01:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +01:00
Sebastien Helleu 873bcfc9f0 Add command line option "-s" (or "--no-script") to start WeeChat without loading any script 2010-02-26 11:36:41 +01:00
Sebastien Helleu 7850668327 Add new option weechat.look.time_format to customize default format for date/time displayed (localized date by default), add function weechat_util_get_time_string in plugin API (patch #6914) 2010-02-09 17:19:14 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu f5ec9a6167 Fix display of default keys with "weechat-curses --keys" 2009-11-12 12:05:30 +01:00
Sebastien Helleu e561ab1ae3 Check SSL certificates and use self-signed certificate to auto identify on IRC server (CertFP) (task #7492) (patch from kolter) 2009-11-07 19:27:59 +01:00
Sebastien Helleu 2bf4163617 Use new WeeChat site, weechat.org 2009-09-05 16:33:01 +02:00
Sebastien Helleu 369d329f4f Remove *.upgrade files in weechat dir after /upgrade 2009-04-15 23:46:22 +02:00
Sebastien Helleu acb5772334 Add support of many templates for completion of command arguments, rename default completion items 2009-04-11 14:49:34 +02:00
Sebastien Helleu 8ac00cdac6 Some improvements on key bindings
List of changes:
- do not automatically create default keys if they do not exist, when reading
  weechat.conf (let user do that if needed)
- add "/key missing": add missing keys using default keys (do not update or
  remove user keys),
- key "meta-s" moved from irc/jabber plugins to core
- improved output of /key (display number of keys)
2009-04-07 18:22:09 +02:00
Sebastien Helleu 7d53e28034 Use of brackets {} around nicklist count in default status bar 2009-03-21 16:21:55 +01:00