Maxime Coste
|
185b980718
|
Add scoped aliases
aliases are now stored in window, buffer, or globally.
|
2014-10-30 14:02:13 +00:00 |
|
Maxime Coste
|
502de87697
|
Actually release interned string data when refcount drops to 0
|
2014-10-29 13:54:35 +00:00 |
|
Maxime Coste
|
d29419bcd6
|
Fix invalid memory access when applying modifications on an empty buffer
That can happen when undoing/redoing accross a buffer reload
boundary.
|
2014-10-28 21:55:08 +00:00 |
|
Maxime Coste
|
62f56378c9
|
Add some asserts in StringRegistry methods
|
2014-10-28 21:54:25 +00:00 |
|
Maxime Coste
|
2944dbc332
|
Style fixes
|
2014-10-28 20:01:55 +00:00 |
|
Maxime Coste
|
d3091cb553
|
Add noexcept spec to move constructor and move assign
|
2014-10-28 20:01:27 +00:00 |
|
Maxime Coste
|
00aede6e57
|
mark InternedString move constructor noexcept
|
2014-10-28 19:44:00 +00:00 |
|
Maxime Coste
|
fa886ffaac
|
Refactor word_db, use an unordered map
|
2014-10-28 19:23:02 +00:00 |
|
Maxime Coste
|
c2c980c484
|
Fix unneeded WordDB copy in complete_word
|
2014-10-28 19:18:33 +00:00 |
|
Maxime Coste
|
efa276b13b
|
Tweak Value constructor, no need for the const ref one
|
2014-10-28 19:17:54 +00:00 |
|
Maxime Coste
|
5078b9077d
|
Fix interned string hashing, we need to hash content
|
2014-10-28 19:16:35 +00:00 |
|
Maxime Coste
|
54fd0aab22
|
Fix filter mode
|
2014-10-27 17:54:20 +00:00 |
|
Maxime Coste
|
372ba2936f
|
Small formatting fix
|
2014-10-27 13:22:42 +00:00 |
|
Maxime Coste
|
992c74a06d
|
small formatting tweak
|
2014-10-26 20:21:01 +00:00 |
|
Maxime Coste
|
2213f98176
|
Add virtual destructor to Highlighter
|
2014-10-25 10:40:26 +01:00 |
|
Maxime Coste
|
54f4b8fc2d
|
Do not lose history when reloading a buffer
Fixes #157
|
2014-10-23 21:04:58 +01:00 |
|
Maxime Coste
|
3e797a3d15
|
centralize bit operation support for enum used as flags
|
2014-10-23 19:02:39 +01:00 |
|
Maxime Coste
|
5eb8989192
|
Fix slow InternedString copy constructor
|
2014-10-23 13:53:04 +01:00 |
|
Maxime Coste
|
67a5493fa2
|
minor code tweaks
|
2014-10-23 13:37:47 +01:00 |
|
Maxime Coste
|
38df876586
|
Reread file timestamp at the moment the user choose to keep
The previous behaviour ended up asking twice for reloading if the
buffer was modified again after Kakoune had detected the first
change.
|
2014-10-22 19:24:26 +01:00 |
|
Maxime Coste
|
7f23d4b756
|
Close fd before notifiying buffer of modification when writing to file
|
2014-10-22 19:23:54 +01:00 |
|
Maxime Coste
|
b2e90fe21e
|
Refactor highlighters, use an interface with virtual methods
|
2014-10-22 13:54:03 +01:00 |
|
Maxime Coste
|
fc4142178f
|
Port more code to StringView instead of const String&
|
2014-10-20 19:18:38 +01:00 |
|
Maxime Coste
|
69113e2711
|
Add a split function that does not take an escape and returns StringViews
When an escape character is not present, split can just return sub
strings of the parameter, so we can avoid duplicating the original
string data.
|
2014-10-19 16:27:36 +01:00 |
|
Maxime Coste
|
2e0b4d02b7
|
Small tweak
|
2014-10-16 19:43:09 +01:00 |
|
Maxime Coste
|
9c2f9d5547
|
Make it more explicit that Key modifiers is a bit field
|
2014-10-15 19:13:51 +01:00 |
|
Maxime Coste
|
1128d941ff
|
Do not write pid and session name in debug buffer on startup
|
2014-10-14 13:42:47 +01:00 |
|
Maxime Coste
|
e362eb4f3b
|
Add a disabled wrapper for using std regex instead of boost
|
2014-10-14 13:40:13 +01:00 |
|
Maxime Coste
|
eb0d03f437
|
Use Pass as default policy for invalid utf8 avoid asserting on that
|
2014-10-13 21:07:23 +01:00 |
|
Maxime Coste
|
894dd2e055
|
Add missing includes
|
2014-10-13 19:28:02 +01:00 |
|
Maxime Coste
|
2adaa7bdfa
|
Do not assert on SIGTERM and backup modified buffers on signal induced termination
|
2014-10-13 13:38:28 +01:00 |
|
Maxime Coste
|
fa85f0fc32
|
Refactor regex uses, do not reference boost except in regex.hh
|
2014-10-13 13:14:23 +01:00 |
|
Maxime Coste
|
b6f2b872b0
|
Preserve selection orientation when replacing
Fixes #31
|
2014-10-12 18:58:10 +01:00 |
|
Maxime Coste
|
cbf4d3db3f
|
Add a test make target
|
2014-10-11 19:50:30 +01:00 |
|
Maxime Coste
|
6a48b5eabc
|
Merge branch 'master' of github.com:mawww/kakoune
|
2014-10-11 15:54:06 +01:00 |
|
Maxime Coste
|
729e55573f
|
Support changing buffer when an edition is in progress
|
2014-10-10 14:00:24 +01:00 |
|
Maxime Coste
|
c94b343c65
|
Start regex search from selection min/max depending on search direction
|
2014-10-09 18:55:58 +01:00 |
|
Roberto Zanotto
|
daeb8a1c8d
|
empty DESTDIR
|
2014-10-08 21:23:20 +02:00 |
|
Maxime Coste
|
8a7e16cec3
|
Switch some const String& parameters to StringView
|
2014-10-07 21:11:55 +01:00 |
|
Maxime Coste
|
a627eab57c
|
Small refactor
|
2014-10-07 19:46:12 +01:00 |
|
Maxime Coste
|
b097bbbf52
|
WordDB: Use interned strings pointing directly into the buffer line data
|
2014-10-07 09:16:19 +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
|
844c8f1ec4
|
InternedStrings know their slots
|
2014-10-05 10:20:50 +01:00 |
|
Maxime Coste
|
d4a84125ef
|
Use InternedStrings for buffer contents
|
2014-10-03 13:39:13 +01:00 |
|
Maxime Coste
|
fc53a80395
|
Small refactor
|
2014-10-01 23:41:06 +01:00 |
|
Maxime Coste
|
3ea690a92e
|
Fix finding next match when the cursor is in the middle of the only match
|
2014-10-01 13:54:33 +01:00 |
|
Maxime Coste
|
d55d041c6a
|
Add support for interned strings
Use interned strings for Modification contents and word database.
Interned strings are guaranteed not to move in memory and are
reference counted.
|
2014-10-01 00:20:12 +01:00 |
|
Maxime Coste
|
d9e462851c
|
Pass -rdynamic only to the linker
|
2014-09-28 23:59:04 +01:00 |
|
Maxime Coste
|
507cdd7272
|
Start with the whole buffer selected in filter mode
|
2014-09-28 23:58:34 +01:00 |
|