home/src
Maxime Coste e701254b02 Fix String::Data::reserve on big endian platforms, and document String::Data
reserve was not ensuring the capacity would be pair, which is needed
on big endian machines, as we use its least significant bit to flag
short string optimizations. On little endian the bit we use is the
8th most significant (the least significant bit of the last byte),
so we were not hitting any problems.

Fixes #828
2016-09-28 19:06:25 +01:00
..
.gdbinit update gdbinit 2014-01-27 19:51:58 +00:00
alias_registry.cc Rework container helpers, use pipe syntax and cleanup implementation 2016-03-08 21:35:56 +00:00
alias_registry.hh Use ranked match based completion for command names 2016-03-08 13:56:37 +00:00
array_view.hh Add an unmap command to remove key mappings 2016-09-19 09:10:41 +01:00
assert.cc Use a StringView in notify_fatal_error 2016-02-29 22:15:36 +00:00
assert.hh Use variadic macros for kak_assert to remove the need for COMMA 2016-05-17 19:39:55 +01:00
backtrace.cc String usage cleanups 2016-02-04 23:54:22 +00:00
backtrace.hh Return a String in Backtrace::desc 2015-05-29 13:35:54 +01:00
buffer_manager.cc Merge remote-tracking branch 'lenormf/readonly-mode' 2016-07-24 21:21:49 +01:00
buffer_manager.hh BufferManager now owns the Buffers instead of registering them 2016-05-14 08:33:50 +01:00
buffer_utils.cc Add a fd_readable(int fd) helper function 2016-08-30 22:56:47 +01:00
buffer_utils.hh Add a char_length(Buffer&, const ByteCoord&, const ByteCoord&) util 2016-07-28 09:41:47 +01:00
buffer.cc Tweak Buffer::offset_coord implementation 2016-09-21 13:36:11 +01:00
buffer.hh BufferIterator is random access, not just bidirectional 2016-07-27 21:36:52 +01:00
buffer.inl.hh Make buffer iterator iteration/dereference faster 2016-07-15 19:48:13 +01:00
client_manager.cc Rework client quitting and handling of remote errors 2016-09-04 17:56:07 +01:00
client_manager.hh Rework client quitting and handling of remote errors 2016-09-04 17:56:07 +01:00
client.cc Make hook disabling work for all hooks, not only user hooks 2016-09-26 23:43:05 +01:00
client.hh Replace menu and info when they actually moved 2016-03-30 19:46:43 +01:00
clock.hh Introduce chrono.hh 2016-07-24 21:25:05 +01:00
color.cc Move Colors enum class as NamedColor enum inside Color struct 2015-04-25 10:47:39 +01:00
color.hh Move Colors enum class as NamedColor enum inside Color struct 2015-04-25 10:47:39 +01:00
command_manager.cc Rewrite PerArgumentCommandCompleter to use compile time dispatching 2016-09-18 16:07:00 +01:00
command_manager.hh Rewrite PerArgumentCommandCompleter to use compile time dispatching 2016-09-18 16:07:00 +01:00
commands.cc Make hook disabling work for all hooks, not only user hooks 2016-09-26 23:43:05 +01:00
commands.hh Remove the exec_keys function 2015-12-27 23:15:09 +00:00
completion.cc Remove trailing whitespaces 2015-11-19 16:31:00 +01:00
completion.hh Regenerate shell-candidates for each completion sessions 2016-08-05 13:53:19 +01:00
containers.hh Add a SplitView container view 2016-03-25 20:38:26 +00:00
context.cc Clear up info/menus and eventual prompts when reseting to normal mode 2016-06-16 19:35:43 +01:00
context.hh Make hook disabling work for all hooks, not only user hooks 2016-09-26 23:43:05 +01:00
coord.hh Add information of types of options 2016-08-06 09:05:50 +01:00
diff.hh Remove trailing whitespaces 2015-11-19 16:31:00 +01:00
display_buffer.cc Add a char_length(Buffer&, const ByteCoord&, const ByteCoord&) util 2016-07-28 09:41:47 +01:00
display_buffer.hh Initial, WIP spelling implementation 2015-12-17 04:07:49 +00:00
enum.hh Add a SplitView container view 2016-03-25 20:38:26 +00:00
env_vars.cc Keep it simple, remove all that sorted id map thing 2015-09-18 13:52:32 +01:00
env_vars.hh Use IdMap instead of UnorderedMap for ui options and env vars 2015-09-16 19:04:19 +01:00
event_manager.cc Rename set_signal_wrapper to set_signal_handler and tweak SignalHandler def 2016-01-10 20:46:15 +00:00
event_manager.hh Introduce chrono.hh 2016-07-24 21:25:05 +01:00
exception.cc exception::what returns a StringView rather than a const char* 2015-03-13 13:15:51 +00:00
exception.hh Remove unneeded c_str() call 2015-03-25 13:42:36 +00:00
face_registry.cc fix whitespace label 2016-04-30 11:59:53 +02:00
face_registry.hh Fix face completion, avoid a spurious temporary 2016-02-12 19:14:06 +00:00
face.hh Add an exclusive attribute that overrides existing face 2015-10-23 13:46:41 +01:00
file.cc Add a fd_readable(int fd) helper function 2016-08-30 22:56:47 +01:00
file.hh Add a fd_readable(int fd) helper function 2016-08-30 22:56:47 +01:00
flags.hh Use flags and bit operations instead of bools in RankedMatch 2016-08-29 23:56:22 +01:00
hash.cc Rework hashing, use a more extensible framework similar to n3876 proposal 2014-12-16 18:57:19 +00:00
hash.hh Add a combine_hash helper function 2015-06-20 15:04:31 +01:00
highlighter_group.cc Rework container helpers, use pipe syntax and cleanup implementation 2016-03-08 21:35:56 +00:00
highlighter_group.hh Add missing 'override' specifiers 2015-05-25 13:54:18 +01:00
highlighter.hh Remove redundant forward declaration 2015-06-01 18:33:08 +01:00
highlighters.cc Avoid repeated calls to context.selections() in highlight_selections 2016-07-27 09:03:01 +01:00
highlighters.hh Initial, WIP spelling implementation 2015-12-17 04:07:49 +00:00
hook_manager.cc Make hook disabling work for all hooks, not only user hooks 2016-09-26 23:43:05 +01:00
hook_manager.hh Detect recursive hook run and abort in that case 2016-06-27 20:55:07 +01:00
id_map.hh Keep it simple, remove all that sorted id map thing 2015-09-18 13:52:32 +01:00
input_handler.cc Make hook disabling work for all hooks, not only user hooks 2016-09-26 23:43:05 +01:00
input_handler.hh Only drop blank prefixed history entries in command/shell prompts 2016-08-22 20:37:14 +01:00
insert_completer.cc Add InsertCompletionShow/InsertCompletionHide hooks 2016-09-21 13:43:06 +01:00
insert_completer.hh Add InsertCompletionShow/InsertCompletionHide hooks 2016-09-21 13:43:06 +01:00
json_ui.cc Add a fd_readable(int fd) helper function 2016-08-30 22:56:47 +01:00
json_ui.hh Merge remote-tracking branch 'lenormf/buffer-padding' 2016-04-11 13:44:10 +01:00
keymap_manager.cc ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
keymap_manager.hh Add remapping of text object keys 2015-07-01 17:53:38 +02:00
keys.cc Use named keys for Return and Tab instead of <c-m> and <c-i> 2016-07-05 20:08:13 +01:00
keys.hh Use named keys for Return and Tab instead of <c-m> and <c-i> 2016-07-05 20:08:13 +01:00
line_modification.cc Use variadic macros for kak_assert to remove the need for COMMA 2016-05-17 19:39:55 +01:00
line_modification.hh Rewrite line modifications, hopefully with easier to comprehend code 2015-01-31 23:50:24 +00:00
main.cc Make idle timeout and filesystem check timeout configurable 2016-09-18 13:47:22 +01:00
Makefile Add some standard GNU targets to the Makefile 2016-09-25 09:40:24 +03:00
memory.cc refactor slighly memory domain handling 2015-01-12 19:48:51 +00:00
memory.hh Use proper buffering when reading remote messages 2016-09-04 11:17:35 +01:00
ncurses_ui.cc Use named keys for Return and Tab instead of <c-m> and <c-i> 2016-07-05 20:08:13 +01:00
ncurses_ui.hh Remove padding control options from ncurses ui 2016-04-11 13:54:47 +01:00
normal.cc Pass count to all object selectors 2016-09-26 23:32:07 +01:00
normal.hh Use a static array to store the keymap 2015-03-09 13:55:55 +00:00
option_manager.cc OptionDescs are const in OptionRegistry 2016-09-26 22:59:02 +01:00
option_manager.hh Validate option names to be in [a-zA-Z0-9_] 2016-09-27 09:54:55 +01:00
option_types.hh Add information of types of options 2016-08-06 09:05:50 +01:00
optional.hh Rework client quitting and handling of remote errors 2016-09-04 17:56:07 +01:00
parameters_parser.cc Small code tweak in generate_switches_doc 2016-09-05 23:34:03 +01:00
parameters_parser.hh Port even more code to use format function 2015-06-01 21:15:59 +01:00
ranked_match.cc Tweak RankedMatch logic, prioritize matches that are in a single word 2016-09-26 21:54:39 +01:00
ranked_match.hh Tweak RankedMatch logic, prioritize matches that are in a single word 2016-09-26 21:54:39 +01:00
ref_ptr.hh Fix input mode keep alive handling, use a refcount for input modes 2015-12-12 23:51:51 +00:00
regex.cc Go back to libc locale and use c_regex_traits 2016-05-19 21:45:23 +01:00
regex.hh Do not let boost regex errors propagate, convert them to Kakoune errors. 2016-09-06 13:55:14 +01:00
register_manager.cc Refactor registers to initialize all of them at startup and add null register 2015-11-25 21:48:17 +00:00
register_manager.hh Make DynamicRegister statically dispatch to its function 2016-03-31 09:17:02 +01:00
remote.cc Fix handling of remote errors in the accepter 2016-09-05 13:47:56 +01:00
remote.hh Rework client quitting and handling of remote errors 2016-09-04 17:56:07 +01:00
safe_ptr.hh Style tweak 2015-06-10 22:42:07 +01:00
scope.hh small code formatting fix 2015-04-09 16:28:13 +01:00
selection.cc Support merging consecutive selections with <a-m> 2016-08-27 11:20:38 +01:00
selection.hh Support merging consecutive selections with <a-m> 2016-08-27 11:20:38 +01:00
selectors.cc Pass count to all object selectors 2016-09-26 23:32:07 +01:00
selectors.hh Selecting 'around' word when on spaces after word now selects next word 2016-09-26 23:33:28 +01:00
shared_string.cc dont intern SharedStrings but StringDataPtr 2016-02-05 00:20:45 +00:00
shared_string.hh Get rid of SharedString 2016-02-05 09:38:33 +00:00
shell_manager.cc Introduce chrono.hh 2016-07-24 21:25:05 +01:00
shell_manager.hh Add support for env var name completion 2016-04-17 19:21:43 +01:00
string.cc Fix String::Data::reserve on big endian platforms, and document String::Data 2016-09-28 19:06:25 +01:00
string.hh Fix String::Data::reserve on big endian platforms, and document String::Data 2016-09-28 19:06:25 +01:00
unicode.hh Go back to libc locale and use c_regex_traits 2016-05-19 21:45:23 +01:00
unit_tests.cc Small refactor in unit tests 2015-05-24 22:34:05 +01:00
unit_tests.hh Small refactor in unit tests 2015-05-24 22:34:05 +01:00
units.hh Add checked, explicit conversion from strongly typed number for size_t 2016-04-27 09:46:53 +01:00
unordered_map.hh Fix UnorderedSet allocator 2015-04-16 23:46:26 +01:00
user_interface.hh Merge remote-tracking branch 'lenormf/buffer-padding' 2016-04-11 13:44:10 +01:00
utf8_iterator.hh Avoid underlying iterator copies in utf8_iterator 2016-07-27 21:36:32 +01:00
utf8.hh Avoid underlying iterator copies in utf8_iterator 2016-07-27 21:36:32 +01:00
utils.hh Tweak useage of skip_while and move the functions in utils.hh 2016-03-06 15:12:36 +00:00
value.hh Fix Value constructor, we never want to create reference values 2016-03-06 15:12:36 +00:00
vector.hh Try to fix travis compilation errors 2015-01-21 13:35:23 +00:00
window.cc Add a char_length(Buffer&, const ByteCoord&, const ByteCoord&) util 2016-07-28 09:41:47 +01:00
window.hh Keep a pointer to current client in windows so that window hooks can access it 2016-05-09 13:48:48 +01:00
word_db.cc Introduce the 'completion_extra_word_chars' option 2016-08-24 23:47:09 +01:00
word_db.hh Introduce the 'completion_extra_word_chars' option 2016-08-24 23:47:09 +01:00