Sébastien Helleu
da184957b9
Merge remote-tracking branch 'origin/pr/391'
2015-04-25 12:34:29 +02:00
Sébastien Helleu
6c4c4a37fd
core: display the welcome message immediately after the startup message, move source code to weechat.c
2015-04-25 08:38:44 +02:00
Karthik K
1eaf0e36e8
core: Respect environment variable WEECHAT_HOME
...
If environment variable WEECHAT_HOME is set to a non-empty value, this
is taken as the path for Weechat home directory.
"--dir" command-line switch has higher precedence over this
environment variable.
2015-04-17 22:09:43 +05:30
Sébastien Helleu
32d165f1c4
core: add a welcome message on first WeeChat run ( closes #318 )
2015-04-17 07:57:31 +02:00
Sébastien Helleu
6d8f2d3e97
core: display a warning on startup if the locale can not be set ( closes #373 )
2015-03-30 19:16:28 +02:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
0cd2aff765
core: use https for WeeChat URLs
2014-12-13 09:16:09 +01:00
Sébastien Helleu
0a641bdf0b
core: add debug functions to measure time spent in code/functions
2014-08-30 16:07:37 +02:00
Sébastien Helleu
124b2668fe
core: display warning on $TERM only if it doesn't start with "screen" (under screen/tmux)
2014-08-03 14:11:58 +02:00
Sébastien Helleu
de7e7585dd
core: do not exit WeeChat in weechat_end() (let the caller do that)
...
This is needed for automated tests, to exit with return code of tests.
2014-07-14 20:03:39 +02:00
Sébastien Helleu
9935b336ed
core: move main() function into Curses GUI
2014-07-14 20:03:39 +02:00
Sébastien Helleu
eb4d1cf9e7
core: display a warning on startup if $TERM is not screen(-256color) under screen/tmux
...
The same warning is displayed with command "/debug term".
2014-07-14 19:00:23 +02:00
Sébastien Helleu
494d046594
core: remove "www" in weechat.org URLs
2014-07-01 21:27:29 +02:00
Sébastien Helleu
9957565680
core: fix first comment line in weechat.c
2014-06-07 16:14:17 +02:00
Sebastien Helleu
6fbba54bf0
core: fix recursive calls to function eval_expression
2014-03-06 18:23:20 +01:00
Sebastien Helleu
79f2f46dec
core: rename option weechat.look.save_layout_on_exit to weechat.look.store_layout_on_exit, replace "save" by "store" for layouts
2014-01-21 22:03:12 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
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