Maxime Coste
|
a49e175727
|
Migrate to a more value based meta programming model
Introduce Meta::Type<T> to store a type as value, and pass it
around, migrate enum_desc and option_type_name to this.
|
2017-03-15 17:42:02 +00:00 |
|
Maxime Coste
|
f0ae0b8410
|
Replace IdMap with HashMap
|
2017-03-07 01:12:37 +00:00 |
|
Maxime Coste
|
e9f93f1b2f
|
Add support for HashMap options types
|
2017-03-06 22:25:08 +00:00 |
|
Maxime Coste
|
ea6994dd3b
|
Use a struct WorstMatch instead of varargs for the fallback option_add
varargs cannot handle non pod types.
|
2016-12-30 06:43:32 +00:00 |
|
Maxime Coste
|
243bcf6a6d
|
Support set -add on flag types
Fixes #1082
|
2016-12-27 21:52:53 +00:00 |
|
Maxime Coste
|
b337f99ca7
|
Add a 'keys' debug flag, showing the keystrokes comming to clients
|
2016-11-26 13:29:17 +00:00 |
|
Maxime Coste
|
025b91baca
|
Convert some uses of lambda to more concise std::mem_fn
|
2016-10-10 23:44:18 +01:00 |
|
Maxime Coste
|
f73e89a716
|
Add information of types of options
|
2016-08-06 09:05:50 +01:00 |
|
Maxime Coste
|
b5a68307ba
|
Use a specific option type completions for insert completion
Fix escaping in jedi.kak as well
|
2016-04-04 13:42:58 +01:00 |
|
Maxime Coste
|
b6105fa106
|
Use markup for line-flags instead of a single face
|
2015-12-12 23:16:07 +00:00 |
|
Maxime Coste
|
4cb74623bb
|
Store the buffer timestamp in line flags options respect it for highlighting
Option content is auto updated to match current buffer, so that line flags
are updated according to buffer modifications.
|
2015-12-12 11:45:45 +00:00 |
|
Maxime Coste
|
70250fc1e3
|
Pass directly the StringView to option_add and let it do the option parsing
|
2015-12-12 11:26:34 +00:00 |
|
Maxime Coste
|
a8d2c93ac8
|
Add a profiling debug flag to get timings for hooks/shell eval
|
2015-11-21 12:11:19 +00:00 |
|
Maxime Coste
|
5e4f5cd2a0
|
Move enum option handling in enum.hh and refactor enum options
|
2015-11-20 09:06:53 +00:00 |
|
Maxime Coste
|
c0f1b7b99f
|
Introduce a debug flags option to control some tracing
Support shell|hooks and write traces in debug buffer
|
2015-11-19 21:58:26 +00:00 |
|
Maxime Coste
|
daf041e839
|
Implement some generic utilities to convert flags to/from strings
|
2015-11-19 00:17:52 +00:00 |
|
Maxime Coste
|
9656f088e7
|
Change autoinfo option to be a flags option, document flags options
Support the value1|value2|value3 syntax for flag options.
|
2015-11-18 23:47:28 +00:00 |
|
Maxime Coste
|
5938712d1f
|
Support :set -add on strings, using concatenation
|
2015-10-22 13:21:59 +01:00 |
|
Maxime Coste
|
693d9a4861
|
Store key hash in IdMap
|
2015-09-16 20:02:12 +01:00 |
|
Maxime Coste
|
73c0fa175e
|
Use IdMap instead of UnorderedMap for ui options and env vars
|
2015-09-16 19:04:19 +01:00 |
|
Maxime Coste
|
dc504284c3
|
Change flag lines highlighter to use faces instead of colors
Fixes #130
|
2015-08-23 12:13:14 +01:00 |
|
Maxime Coste
|
8f6fc6a0f3
|
Port even more code to use format function
|
2015-06-01 21:15:59 +01:00 |
|
Maxime Coste
|
f19bb4fe6d
|
Port more code to use the format function instead of adhoc string concat
|
2015-06-01 19:06:35 +01:00 |
|
Maxime Coste
|
8439059758
|
Fix wrong implicit conversions from int/Codepoint to StringView
|
2015-03-30 13:33:46 +01:00 |
|
Maxime Coste
|
3c1a325b6f
|
Refactor String, use a common StringOps interface, hide std::string
|
2015-03-10 19:50:22 +00:00 |
|
Maxime Coste
|
1cec8df45e
|
ArrayView content is not const anymore
As in upcoming std c++ array_view, ArrayView<T> points to mutable
data, use ArrayView<const T> or alias ConstArrayView<T> for const
data.
|
2015-03-09 13:54:09 +00:00 |
|
Maxime Coste
|
2516c16bb9
|
Fix error message in tuple option parsing
|
2015-01-22 13:10:21 +00:00 |
|
Maxime Coste
|
2a878d51fd
|
Even more memory tracking
|
2015-01-14 19:16:32 +00:00 |
|
Maxime Coste
|
da562e03a0
|
replace all std::vector with Vector
|
2015-01-12 13:58:41 +00:00 |
|
Maxime Coste
|
9f9156a752
|
Track String memory allocations
|
2015-01-09 13:57:21 +00:00 |
|
Maxime Coste
|
295a97f2a6
|
Rename memoryview to ArrayView
|
2015-01-06 13:43:37 +00:00 |
|
Maxime Coste
|
15542c3357
|
minor style tweak
|
2015-01-01 12:09:30 +00:00 |
|
Maxime Coste
|
ebecd60eb8
|
Rework hashing, use a more extensible framework similar to n3876 proposal
std::hash specialization is a pain to work with, stop using that, and
just specialize a 'size_t hash_value(const T&)' free function.
|
2014-12-16 18:57:19 +00:00 |
|
Maxime Coste
|
319cfcda34
|
Get rid of uses of unordered_set, vector is just simpler and faster...
|
2014-12-09 21:59:47 +00:00 |
|
Maxime Coste
|
3a817e2f96
|
Cleanup includes
|
2014-11-12 21:27:07 +00:00 |
|
Maxime Coste
|
d803333e73
|
Add support for unordered_map options
|
2014-11-10 23:24:02 +00:00 |
|
Maxime Coste
|
8a7e16cec3
|
Switch some const String& parameters to StringView
|
2014-10-07 21:11:55 +01:00 |
|
Maxime Coste
|
008ba2cbab
|
Use ',' instead of '|' as tuple option fields separators
|
2014-10-06 19:32:25 +01:00 |
|
Maxime Coste
|
17d591b61c
|
scrolloff is now a line,column pair
Fixes #152
|
2014-10-06 19:21:32 +01:00 |
|
Maxime Coste
|
cb7ef23c44
|
fix invalid value handling for yes no ask options
|
2013-11-16 00:26:56 +00:00 |
|
Maxime Coste
|
76deb60771
|
Add YesNoAsk type for options
|
2013-10-21 18:57:48 +01:00 |
|
Maxime Coste
|
eedd37c09a
|
memoryview: always pass by value
|
2013-07-26 01:50:36 +02:00 |
|
Maxime Coste
|
38c7197770
|
go back to : as set/list separator in options
|
2013-07-24 22:41:41 +02:00 |
|
Maxime Coste
|
d29fb6f2c4
|
list,set and tuple options support escaping the separator
|
2013-07-24 22:41:13 +02:00 |
|
Maxime Coste
|
c3d53d588d
|
revive str_to_int so that the good exception type is thrown on error
|
2013-05-17 14:09:42 +02:00 |
|
Maxime Coste
|
26f0fd4cc6
|
Use more std::* for string handling
|
2013-05-13 18:43:38 +02:00 |
|
Maxime Coste
|
c1615b5c15
|
add unordered_set option support, use it for completers
|
2013-05-06 13:52:20 +02:00 |
|
Maxime Coste
|
270e950cf1
|
sort includes directives
|
2013-04-09 20:05:40 +02:00 |
|
Maxime Coste
|
3a351aa436
|
Change list separators to ; and tuple separators to |
|
2013-04-02 18:56:09 +02:00 |
|
Maxime Coste
|
f09e24607a
|
add support for adding to options instead of replacing
|
2013-03-31 14:53:32 +02:00 |
|