lePerdu
1bd4dba6eb
Zach Peltzer Copyright Waiver
...
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
2018-11-18 10:31:43 -05:00
Frank LENORMAND
70097a98b3
Sinplify regex
...
Co-Authored-By: JJK96 <jjkorpershoek96@gmail.com>
2018-11-18 08:28:50 +01:00
Jan-Jaap Korpershoek
7fc43252f1
Make header clearer
2018-11-16 13:56:48 +01:00
Jan-Jaap Korpershoek
1228eddc00
Add markdown sql language support
2018-11-16 13:54:43 +01:00
Maxime Coste
9a68a2d3af
Change BufReadFifo hook param to contain the inserted range
...
the buffer name was not a very interesting information, whereas
the buffer range allows a hook to run only on the appended text
instead of all the buffer.
2018-11-14 17:52:57 +11:00
Maxime Coste
021ba55b38
Small code tweak in DualThreadStack::swap_next
2018-11-14 17:50:17 +11:00
Maxime Coste
54d35472c0
Fix spurious redraw
...
m_last_setup was not storing the actual position that was used to
redraw the window, but the previous one, leading to an additional
spurious redraw immediatly after (triggered by window position not
believed to be the one at last redraw).
Fixes #2562
2018-11-14 17:49:44 +11:00
Maxime Coste
b9ca3ee6dc
Fix column highlighter adding display atoms past the window width
2018-11-14 17:47:11 +11:00
Andrey Orst
3e194fbb2e
fix hex numbers for gas filetype - add missing a-f letters
2018-11-13 13:02:04 +03:00
lePerdu
e539347f2a
Give lua block comments higher match precedence
2018-11-12 15:39:34 -05:00
roger
b672e7c100
python: add async/await keywords highlighting
2018-11-12 15:03:32 +01:00
Muffindrake
a807dbf1e0
Add missing highlighting for time/wctype
2018-11-11 15:33:55 +01:00
Delapouite
4c68abab11
doc: fix misc typos for source and region highlighter
2018-11-10 12:12:03 +01:00
Delapouite
22166a69c2
Add set-face/unset-face CommandHelpers
2018-11-09 08:29:16 +01:00
Muffindrake
3012bf48e5
Convert subshells to strings
2018-11-08 18:26:16 +01:00
Muffindrake
3c9f9255d7
Add macros for float.h
2018-11-08 18:03:31 +01:00
Muffindrake
22358d41fd
copyright waiver
...
Muffindrake Copyright Waiver
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
2018-11-08 10:34:07 +01:00
Muffindrake
f088dd957a
Update C grammar
...
This highlighting and static completion for types and macros that were
previously missing. No functions are included, but some macros are
highlighted as such, even if they're function-like macros.
2018-11-08 10:30:27 +01:00
Olivier Perret
b96ab67479
Expose selection(s) length with a value
2018-11-08 20:14:33 +11:00
Maxime Coste
8c2c3d27ad
Fix memory leak in DualThreadStack
...
Fixes #2556
2018-11-07 12:28:41 +11:00
Maxime Coste
9bc893e70b
Merge remote-tracking branch 'laelath/c-indent-fixes'
2018-11-06 20:22:50 +11:00
Maxime Coste
95622bc6e8
Merge remote-tracking branch 'Delapouite/debug-regex'
2018-11-06 20:17:41 +11:00
Maxime Coste
bcd50d7dd8
Merge remote-tracking branch 'eraserhd/clojure-indent-fix'
2018-11-06 20:16:57 +11:00
Maxime Coste
2eeb9d8deb
Merge remote-tracking branch 'ul/replace-e-face-with-F-in-rc'
2018-11-06 20:16:38 +11:00
Maxime Coste
7f83c41256
align ThreadedRegexVM::Thread to permit fused copy optimization
...
Aligning makes gcc able to copy a Thread object with a single
32bit mov instruction instead of two 16bits one.
2018-11-06 20:13:09 +11:00
Maxime Coste
05a9eb62f4
Never grow the DualThreadStack in push_next
...
As we do at most one push_next per step_thread, and we pop_current
before step_thread, we can avoid a branch there at the expense of
sometimes growing unecessarily (once).
2018-11-06 07:32:47 +11:00
Maxime Coste
7fbde0d44e
Various micro performance tweaks in ThreadedRegexVM
2018-11-05 21:54:29 +11:00
Maxime Coste
7959c7f731
Refactor ThreadedRegexVM::exec_program to avoid branching
...
Moving logic into step_thread instead of returning an enum to
select what to run avoids the switch logic and improves run time.
2018-11-05 19:46:53 +11:00
Maxime Coste
7463a0d449
Remove use of utf8::iterator in regex execution
...
This avoids having two copies of the subject string bounds, one
in the ExecConfig and one in the utf8 iterator.
2018-11-05 08:17:50 +11:00
Maxime Coste
b4571bd172
Dump start description as well when writing a regex dump
2018-11-04 12:01:29 +11:00
Maxime Coste
4ac7df3842
Remove most regex impl special casing for backwards matching
2018-11-03 13:52:40 +11:00
Maxime Coste
ee74c2c2df
Use custom code instead of reverse_iterator in Regex VM
2018-11-02 08:23:39 +11:00
Maxime Coste
6fce8050ee
Use BufferCoord sentinel type for regex matching on BufferIterators
...
BufferIterators are large-ish, and need to check the buffer pointer
on comparison. Checking against a coord is just a 64 bit comparison.
2018-11-01 21:51:10 +11:00
Maxime Coste
8a751e1b57
Remove caching from utf8_iterator
2018-11-01 21:05:09 +11:00
Justin Frank
521e5032c9
Don't require content in parens for single statment indent
2018-11-01 00:21:48 -07:00
Justin Frank
ee65954ed4
Make statement after if/else/while/for optional for indenting c-family
2018-10-31 16:09:13 -07:00
Maxime Coste
4cd7583bbc
Improve regex vm to next start performance by avoiding iterator copies
2018-11-01 08:22:43 +11:00
Maxime Coste
4cfb46ff2e
Support different type for iterators and sentinel in utf8 functions
2018-11-01 08:22:43 +11:00
Delapouite
a61c6a9bb5
Truncate incomplete debug command docstring
2018-10-30 19:46:05 +01:00
Maxime Coste
9fec1b3faf
Buffer: Remove m_line_count field from BufferIterator
...
It seems unlikely this would give performance gain, as buffer
lines are always accessed when we read that field, leading to
all the necessary data already being in memory. Removing it
reduces the size of a BufferIterator, which are already pretty
hefty objects.
2018-10-30 23:18:41 +11:00
Jason Felice
db937beff0
Make lisp/clojure indent work for append
2018-10-29 12:16:13 -04:00
Maxime Coste
6271d0d9ff
Merge remote-tracking branch 'eraserhd/refactor-surround'
2018-10-29 19:27:18 +11:00
Maxime Coste
a6334aed59
Merge remote-tracking branch 'Delapouite/doc-registers'
2018-10-29 19:26:16 +11:00
Delapouite
44ce4bc069
Remove extra spaces for switches list in info
2018-10-28 13:34:19 +01:00
Delapouite
794f84498c
doc: complete list of normal commands using default registers
2018-10-28 09:52:33 +01:00
Ruslan Prokopchuk
b65a6493aa
replace usage of the deprecated 'e' face attribute with the new 'F' one
...
and update set-face docstring
2018-10-28 08:52:14 +11:00
Delapouite
c08ec08513
test: add end-extending-parent/braces for }B}B - Ref #2479
2018-10-27 13:49:45 -04:00
Jason Felice
feea0064d8
Simplify surround selection
...
This has the same effect with fewer conditions, and I think it also
specifies the intent more closely this way.
2018-10-27 13:49:45 -04:00
Maxime Coste
3b40ab82f4
Kakoune v2018.10.27
2018-10-27 09:26:50 +11:00
Justin Frank
0d49c925e3
Keep doc/kak.1 when running make-install
2018-10-23 18:15:01 -07:00