Sebastien Helleu
b60aec975b
script: add control of autoload (enable/disable/toggle) (task #12393 )
...
New option script.scripts.autoload, new options autoload/noautoload/toggleautoload
for command /script, new action "A" (meta-A) on script buffer (toggle autoload).
2013-02-25 08:46:41 +01:00
Sebastien Helleu
62ff697772
script: remove unneeded test on ZLIB_FOUND in CMakeLists.txt (zlib is mandatory)
2013-02-12 12:50:32 +01:00
Sebastien Helleu
25eaec3864
core: use size of 32 for hashtables (instead of 4, 8 or 16)
...
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
302b0f2f65
script: add missing close of file in case of error when computing MD5 checksum of a file
2012-12-25 17:00:58 +01:00
Sebastien Helleu
c08cacd3c0
script: do not open script buffer when unknown arguments are given to command /script
2012-12-21 21:59:05 +01:00
Sebastien Helleu
e667b606a9
script: fix scroll with mouse when window with script buffer is not the current window (do not force a switch to script buffer in current window)
2012-12-19 09:02: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
485728a43f
script: fix compilation on OS X
2012-10-03 17:40:56 +02:00
Sebastien Helleu
b5f7c124ea
script: consider that empty file "plugins.xml.gz" is not up-to-date
2012-09-18 10:07:02 +02:00
Sebastien Helleu
9b607d38f5
script: do not define _XOPEN_SOURCE on OpenBSD (bugs with gcrypt) (bug #37373 )
2012-09-18 09:47:30 +02:00
Sebastien Helleu
a83007d118
core: fix link with gcrypt lib in cmake (use var $GCRYPT_LDFLAGS instead of "gcrypt") (bug #37373 )
2012-09-17 16:01:05 +02:00
Sebastien Helleu
7756be5fea
script: display error when installing/removing/loading script if plugin for language is not loaded
2012-09-04 12:57:26 +02:00
Sebastien Helleu
80e740b72f
script: add diff between current script and version in repository
...
New options:
- script.look.diff_command
- script.look.diff_color
Key alt-d has been changed to alt-v on script buffer (view script).
Key alt-d is now used on detail of script to jump to diff (if diff is displayed).
2012-08-30 08:50:22 +02:00
Sebastien Helleu
186053f90c
script: remove spaces before/after tags displayed on detail of script
2012-08-28 16:37:29 +02:00
Sebastien Helleu
df7b14e41c
script: add option "script.look.display_source" (display source code with detail of script, enabled by default)
2012-08-28 16:11:51 +02: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
ed9537ff76
script: fix color used for script description on script buffer
2012-08-23 19:06:18 +02:00
Sebastien Helleu
b1da1cba4c
script: add missing extensions in output of /script -o|-i
2012-08-21 21:59:58 +02:00
Sebastien Helleu
09f80c20d6
script: add options -o and -i for /script list
2012-08-21 21:42:34 +02:00
Sebastien Helleu
129f32ce8e
script: add option script.look.quiet_actions (no messages when installing/removing/loading/unloading scripts on script buffer)
2012-08-21 18:57:49 +02:00
Sebastien Helleu
2944adc954
script: add focus info for mouse on script buffer, add two default mouse bindings: left button = select line, right button = install/remove script
2012-08-20 13:36:29 +02:00
Sebastien Helleu
fbbfcf95dd
script: add key alt+L to reload script, allow input on script buffer for actions on script, add option script.look.use_keys
2012-08-18 11:53:01 +02:00
Sebastien Helleu
13b1d64aa1
script: add option "search" for command /script (completion with script tags)
2012-08-18 09:01:26 +02:00
Sebastien Helleu
2485831d4a
script: add option "reload" for command /script, fix completion of /script, add examples in /help script
2012-08-17 09:55:02 +02:00
Sebastien Helleu
e211cdad54
script: add option script.look.translate_description
2012-08-16 12:32:41 +02:00
Sebastien Helleu
6a6f45e043
script: add status "a" (autoloaded) for scripts
2012-08-15 09:25:42 +02:00
Sebastien Helleu
3b8cc67f2a
script: fix compilation with -O2 (replace define of _GNU_SOURCE by _XOPEN_SOURCE)
2012-08-15 00:21:01 +02:00
Sebastien Helleu
4c6ee497aa
script: fix missing format in calls to snprintf
2012-08-14 19:19:02 +02:00
Sebastien Helleu
a99d136018
core: add new plugin "script" (scripts manager, replacing scripts weeget.py and script.pl)
2012-08-14 18:29:32 +02:00