Maxime Coste
|
2a28260f87
|
Extend line numbering max width to 15 char
|
2015-02-03 13:44:42 +00:00 |
|
Maxime Coste
|
18eec7e511
|
Regex selectors more tolerant to matches not ending on char boundaries
|
2015-02-02 22:54:05 +00:00 |
|
Maxime Coste
|
340fc63f84
|
Improve code compatibility
|
2015-02-02 18:46:55 +00:00 |
|
Maxime Coste
|
b4442055e8
|
Fix recursive regions matching when a recursive matches just before an end
%sh{ $test {} $test } was incorrrectly closing the %sh block at the first {
because it was immediatly followed by a }.
|
2015-02-02 13:48:27 +00:00 |
|
Maxime Coste
|
c004187f32
|
Fix buffer reloading
|
2015-02-02 13:24:40 +00:00 |
|
Maxime Coste
|
09fc14be4b
|
Small refactor in highlighters.cc
|
2015-02-01 23:30:58 +00:00 |
|
Maxime Coste
|
4d6b8a70e1
|
Fix highlighter update with new LineModification behaviour
|
2015-02-01 23:19:07 +00:00 |
|
Maxime Coste
|
d3bccfeb94
|
Fixes in line_modification change, along with style tweak
|
2015-02-01 22:33:59 +00:00 |
|
Maxime Coste
|
0b4ecef2d2
|
Rewrite line modifications, hopefully with easier to comprehend code
|
2015-01-31 23:50:24 +00:00 |
|
Maxime Coste
|
804a050c39
|
Tweak Buffer::Change layout
|
2015-01-29 22:44:07 +00:00 |
|
Maxime Coste
|
ffff4711c5
|
Add history memory domain
|
2015-01-28 22:33:29 +00:00 |
|
Maxime Coste
|
bb74770a24
|
Add C-f and C-b binding for page up/page down
Fixes #173
|
2015-01-27 23:33:22 +00:00 |
|
Maxime Coste
|
cc699faa54
|
Store direct ref_ptr<StringStorage> for WordDB lines
Storing a SharedString is a waste, we want the whole line.
|
2015-01-27 13:12:52 +00:00 |
|
Maxime Coste
|
fb98ff652d
|
Keep all completion matches when selecting a candidate
|
2015-01-27 13:12:52 +00:00 |
|
Maxime Coste
|
2c425bb436
|
Always inline StringStorage methods
|
2015-01-26 19:41:26 +00:00 |
|
Maxime Coste
|
b697bf1795
|
Release display buffers when a window is added to free list
|
2015-01-26 19:41:10 +00:00 |
|
Maxime Coste
|
92cb3a035f
|
Try to improve ga behaviour
|
2015-01-26 19:40:48 +00:00 |
|
Maxime Coste
|
42966317b8
|
Tweak SharedString
|
2015-01-25 22:36:05 +00:00 |
|
Maxime Coste
|
79954e89ab
|
Fix GCC 4.8 compilation
|
2015-01-24 14:36:03 +00:00 |
|
Maxime Coste
|
f4e96e7f2e
|
Fix bug when deleting end of buffer text using multiple selections
|
2015-01-23 19:12:15 +00:00 |
|
Maxime Coste
|
cb197f57ba
|
Avoid temporary strings on buffer load/reload
Pass directly a Vector<ref_ptr<StringStorage>> to the buffer
|
2015-01-22 13:39:29 +00:00 |
|
Maxime Coste
|
2516c16bb9
|
Fix error message in tuple option parsing
|
2015-01-22 13:10:21 +00:00 |
|
Maxime Coste
|
0ff415597e
|
Add Display memory domain
|
2015-01-21 13:35:46 +00:00 |
|
Maxime Coste
|
b2d5b9ca5f
|
Try to fix travis compilation errors
|
2015-01-21 13:35:23 +00:00 |
|
Maxime Coste
|
5383cece3e
|
Fix write_debug with no debug buffer and multiple lines
|
2015-01-20 19:57:17 +00:00 |
|
Maxime Coste
|
b1281d225d
|
rename SharedString::Storage to StringStorage and use directly in Buffer
|
2015-01-19 19:31:56 +00:00 |
|
Maxime Coste
|
3697548e35
|
Use a single allocation for SharedString::Storage
|
2015-01-19 13:25:04 +00:00 |
|
Maxime Coste
|
39689f0a18
|
Add helper for overloading operator new/delete
|
2015-01-18 18:49:32 +00:00 |
|
Maxime Coste
|
9b057896d4
|
Replace std::shared_ptr with homemade, intrusive, ref_ptr
That saves a lot of memory as sizeof(SharedString) is now one
pointer less.
|
2015-01-18 18:23:58 +00:00 |
|
Maxime Coste
|
ef26b77aa7
|
buffer updates are in BufferMeta memory domain
|
2015-01-18 11:22:28 +00:00 |
|
Maxime Coste
|
7cdeb3d7f7
|
simplify echo code, avoid trailing spaces
|
2015-01-17 22:55:48 +00:00 |
|
Maxime Coste
|
32319aca45
|
Add support for per type default memory domain
|
2015-01-16 13:58:21 +00:00 |
|
Maxime Coste
|
4fd92127c3
|
Add a no copy shared string constructor, used for map lookup, and intern words
|
2015-01-15 19:58:08 +00:00 |
|
Maxime Coste
|
bb915f0bc5
|
Fix filename completion
|
2015-01-15 19:26:38 +00:00 |
|
Maxime Coste
|
8eef019cf8
|
Do not store lines to word in word db, just keep the old lines alive
|
2015-01-15 19:26:38 +00:00 |
|
Maxime Coste
|
76d806e98d
|
Replace InternedStrings with SharedString, shared_ptr based
|
2015-01-15 19:26:38 +00:00 |
|
Maxime Coste
|
2a878d51fd
|
Even more memory tracking
|
2015-01-14 19:16:32 +00:00 |
|
Maxime Coste
|
442304bc1c
|
Add missing cast to void* in placement new
|
2015-01-14 00:01:20 +00:00 |
|
Maxime Coste
|
2415d3f63c
|
Add missing <new> include
|
2015-01-13 23:54:58 +00:00 |
|
Maxime Coste
|
1e3e0b01af
|
Fix compatibility with gcc 4.8
|
2015-01-13 22:56:51 +00:00 |
|
Maxime Coste
|
118a6e1a7c
|
Use uint32_t for interned strings slots
|
2015-01-13 13:58:11 +00:00 |
|
Maxime Coste
|
61619a4d4d
|
Style tweak in WordDB
|
2015-01-13 13:57:44 +00:00 |
|
Maxime Coste
|
0412487b0c
|
-rdynamic does not work on gcc 4.9 under cygwin
|
2015-01-13 13:50:16 +00:00 |
|
Maxime Coste
|
beb3390334
|
Add interned string stats in debug command
|
2015-01-13 13:48:16 +00:00 |
|
Maxime Coste
|
b9c4fc2d8c
|
Add size_t and float to_string overload, and _sv UDL
|
2015-01-13 13:47:46 +00:00 |
|
Maxime Coste
|
f440c31370
|
Add missing cstddef include for ptrdiff_t
|
2015-01-12 20:03:52 +00:00 |
|
Maxime Coste
|
c8d651a517
|
Protect use of mallinfo in #ifdef __GLIBC__ blocks
|
2015-01-12 19:55:58 +00:00 |
|
Maxime Coste
|
e8b8070536
|
refactor slighly memory domain handling
|
2015-01-12 19:48:51 +00:00 |
|
Maxime Coste
|
19797ae8d6
|
Fix flag line highlighting
|
2015-01-12 19:35:31 +00:00 |
|
Maxime Coste
|
da562e03a0
|
replace all std::vector with Vector
|
2015-01-12 13:58:41 +00:00 |
|
Maxime Coste
|
83d0813b0f
|
Yet more tracking
|
2015-01-12 13:45:44 +00:00 |
|
Maxime Coste
|
f1f10639a5
|
Compute tracked memory total as well
|
2015-01-12 13:32:30 +00:00 |
|
Maxime Coste
|
0bdf1778cb
|
Some more memory tracking
|
2015-01-12 13:32:14 +00:00 |
|
Maxime Coste
|
dedb16bc73
|
Track some more memory
|
2015-01-11 19:28:03 +00:00 |
|
Maxime Coste
|
9adb97ea28
|
Track buffer lines memory
|
2015-01-10 12:56:09 +00:00 |
|
Maxime Coste
|
9f9156a752
|
Track String memory allocations
|
2015-01-09 13:57:21 +00:00 |
|
Maxime Coste
|
e5b36f548b
|
Add missing include
|
2015-01-08 19:31:28 +00:00 |
|
Maxime Coste
|
9b30e7469a
|
Add initial memory domain allocation tracking support
|
2015-01-07 19:29:31 +00:00 |
|
Maxime Coste
|
de12fe1cc6
|
Add completion for debug command
|
2015-01-06 19:06:53 +00:00 |
|
Maxime Coste
|
295a97f2a6
|
Rename memoryview to ArrayView
|
2015-01-06 13:43:37 +00:00 |
|
Maxime Coste
|
8e92e0eebc
|
Go back to previous buffer name completion implementation
|
2015-01-05 19:33:33 +00:00 |
|
Maxime Coste
|
c279da14e3
|
Refactor write_debug to avoid empty first line in *debug* buffer
|
2015-01-05 09:38:51 +00:00 |
|
Maxime Coste
|
ca9baecd4c
|
Another stule tweak
|
2015-01-04 22:34:36 +00:00 |
|
Maxime Coste
|
23f30f6709
|
Small style tweak
|
2015-01-03 17:35:53 +00:00 |
|
Maxime Coste
|
019a91505f
|
Remove unneeded static String
|
2015-01-02 11:55:15 +00:00 |
|
Maxime Coste
|
15542c3357
|
minor style tweak
|
2015-01-01 12:09:30 +00:00 |
|
Maxime Coste
|
c698032ace
|
Style tweak
|
2014-12-31 13:09:35 +00:00 |
|
Maxime Coste
|
0493cf6d62
|
Use a struct rather than a std::pair for InternedString DataAndRefCount
|
2014-12-30 11:56:01 +00:00 |
|
Maxime Coste
|
d4a929b42e
|
Use a struct KeyAndName rather than a std::pair
|
2014-12-29 17:18:42 +00:00 |
|
Maxime Coste
|
955d1dea66
|
Small formatting fixes
|
2014-12-29 12:19:16 +00:00 |
|
Maxime Coste
|
8cc96ec36b
|
Add a join function for joining strings using a specific char
|
2014-12-28 11:16:51 +00:00 |
|
Maxime Coste
|
71bfe5498d
|
Refactor color functions
|
2014-12-27 12:09:28 +00:00 |
|
Maxime Coste
|
248c1bda02
|
Style tweak
|
2014-12-26 10:53:30 +00:00 |
|
Maxime Coste
|
33bde3e067
|
Minor code tweak in optional.hh
|
2014-12-25 10:59:06 +00:00 |
|
Maxime Coste
|
2e1c6eaff7
|
sort includes
|
2014-12-24 13:03:17 +00:00 |
|
Maxime Coste
|
2852e0fbe5
|
Remove trailing blank lines
|
2014-12-23 23:00:20 +00:00 |
|
Maxime Coste
|
b0fef1a962
|
Rename id_map to IdMap
|
2014-12-23 22:51:00 +00:00 |
|
Maxime Coste
|
fb611e2f62
|
Use an id_map directly for HighlighterRegistry rather than the FunctionRegistry class
|
2014-12-23 22:15:53 +00:00 |
|
Maxime Coste
|
c17fa7be14
|
Tweak id_map implementation
|
2014-12-23 22:15:25 +00:00 |
|
Maxime Coste
|
79de7ee717
|
Code refactoring in WordDB
|
2014-12-23 19:32:42 +00:00 |
|
Maxime Coste
|
ed54e102ee
|
Extract complete_buffer_name as a free function in commands.cc
|
2014-12-23 17:42:17 +00:00 |
|
Maxime Coste
|
ae602106e0
|
Remove prefix_complete, superseeded by complete
|
2014-12-23 17:39:12 +00:00 |
|
Maxime Coste
|
b6ff15aa75
|
Unify completion from container content logic
|
2014-12-23 13:54:09 +00:00 |
|
Maxime Coste
|
064fb81b8d
|
Move containers utils to containers.hh and add filtered/transformed utils
|
2014-12-23 13:40:26 +00:00 |
|
Maxime Coste
|
bf980eba04
|
Merge branch 'list_buffers'
|
2014-12-23 13:20:29 +00:00 |
|
Eike Plack
|
9f81093411
|
Expose buffer list to shell over $kak_buflist
|
2014-12-23 02:49:53 +01:00 |
|
Maxime Coste
|
ff1f4dcb5c
|
Minor cleanup
|
2014-12-22 20:08:53 +00:00 |
|
Maxime Coste
|
e911c86306
|
Remove useless code
|
2014-12-22 20:08:30 +00:00 |
|
Maxime Coste
|
7a7ad57871
|
Support absolute paths when completing commands
|
2014-12-21 17:08:33 +00:00 |
|
Maxime Coste
|
5b94b73152
|
Small code tweak
|
2014-12-20 18:40:17 +00:00 |
|
Maxime Coste
|
116ea7364a
|
Restore some special behaviours, I missed them in interactive mode.
|
2014-12-19 13:58:33 +00:00 |
|
Maxime Coste
|
c454cf1379
|
Avoid eol after undo/redo
|
2014-12-18 23:17:38 +00:00 |
|
Maxime Coste
|
eee2cb3a6e
|
Revert "Add support for BufInsert/BufErase hooks"
This is potentially quite slow, and not used, reintroduce
later if we have a use case for it.
This reverts commit 5f3a477277 .
|
2014-12-18 23:13:45 +00:00 |
|
Maxime Coste
|
1c8ee78d1a
|
Do not register timers for transient input handlers
|
2014-12-18 23:12:58 +00:00 |
|
Maxime Coste
|
4827ae0a53
|
Do not wait for the first event before drawing clients
|
2014-12-18 19:01:18 +00:00 |
|
Maxime Coste
|
5f3a477277
|
Add support for BufInsert/BufErase hooks
|
2014-12-17 13:56:45 +00:00 |
|
Maxime Coste
|
3b9f40fd58
|
Fix split selecting the buffer end
Fixes #241
|
2014-12-17 13:21:20 +00:00 |
|
Maxime Coste
|
e0c452adb6
|
Tweak keymap_manager style, fix missing move
|
2014-12-17 13:20:48 +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
|
72bdb8faa9
|
Always use plain ncurses.h
|
2014-12-14 23:42:00 +00:00 |
|