aboutsummaryrefslogtreecommitdiff
path: root/src/lib/strfuncs.c
AgeCommit message (Expand)AuthorLines
2021-09-27lib: Add i_memspn() and i_memcspn()Aki Tuomi-0/+40
2021-09-21lib: Optimize t_strdup*()Timo Sirainen-4/+26
2021-09-21lib: Optimize p_strndup()Timo Sirainen-4/+6
2020-10-22global: Use SIZE_MAX instead of (size_t)-1Aki Tuomi-1/+1
2020-04-15lib: Add str_equals_timing_almost_safe()Timo Sirainen-0/+15
2019-01-15global: Rename array_first and array_last to array_front and backAki Tuomi-1/+1
2019-01-10global: Really change array_idx(A, 0) to array_first(A)Aki Tuomi-1/+2
2018-11-06lib: strfuncs: Add t_str_oneline().Stephan Bosch-0/+50
2018-04-26lib: strfuncs - string match length and prefix checking helpersPhil Carmody-0/+11
2018-03-23lib: Add i_strstr_arr for searching string for multiple needlesAki Tuomi-0/+9
2018-01-01Updated copyright notices to include the year 2018.Stephan Bosch-1/+1
2017-11-28lib: strfuncs: Fixed value of uchar_empty_ptr not to be NULL.Stephan Bosch-1/+1
2017-11-06lib: *_strsplit() - implement more efficient version for a single separator charTimo Sirainen-3/+46
2017-05-09lib: Add dec2str_buf()Timo Sirainen-3/+5
2017-04-11lib: Add mem_equals_timing_safe()Timo Sirainen-0/+17
2017-01-01Updated copyright notices to include the year 2017.Stephan Bosch-1/+1
2016-12-27lib: add separator also if arr[0] is empty in string array joinsMartti Rannanjärvi-1/+1
2016-12-16global: Make sure *_malloc() calculations won't cause integer overflows.Timo Sirainen-0/+1
2016-12-16global: Change string position/length from unsigned int to size_tTimo Sirainen-2/+2
2016-12-16lib: Optimization - p_strconcat() doesn't need to allocate from data stackTimo Sirainen-6/+3
2016-10-28lib: Removed t_strsplit_tab()Timo Sirainen-41/+0
2016-10-17lib: Add null_strcasecmpAki Tuomi-0/+10
2016-08-23global: Added uchar_empty_ptr and use it instead of &uchar_nul.Timo Sirainen-0/+1
2016-08-13lib: move sort and search from strfuncs.h to sort.hMartti Rannanjärvi-10/+0
2016-06-05global: Fixed mismatched bool vs. int/pointer handlingTimo Sirainen-1/+1
2016-06-03lib: remove useless NULL check after calling vstrconcatBaofeng Wang-11/+5
2016-06-03liblib: *_strndup() and *_strconcat() shouldn't pass through NULLs.Baofeng Wang-5/+7
2016-05-30Remove t_malloc in favour of t_malloc_no0Martti Rannanjärvi-2/+2
2016-04-29lib: Finished string trimming functions to trim characters from beginning and...Stephan Bosch-27/+69
2016-02-21lib: Added [pt]_array_const_string_join()Timo Sirainen-0/+9
2016-02-21lib: Move code from t_strarray_join() into a more generic p_strarray_join_n()Timo Sirainen-5/+17
2016-01-13global: freshen copyrightTimo Sirainen-1/+1
2015-12-04lib: Removed t_str_trim() for now due to collision in Pigeonhole v0.4.9Timo Sirainen-0/+2
2015-11-28lib: Created t_str_trim() functions to trim characters from beginning and end...Stephan Bosch-0/+57
2015-05-16lib: Added p_memdup()Timo Sirainen-0/+9
2015-04-24lib: Added t_str_replace() to replace one character with another oneTimo Sirainen-0/+20
2015-01-05global: freshen copyrightPhil Carmody-1/+1
2014-05-27lib: pair VA_COPY with va_endPhil Carmody-0/+1
2014-05-06lib: cosmetic - rename parameters so that .h and .c files matchPhil Carmody-4/+4
2014-04-03DEBUG: Make sure errno isn't changed by vsnprintf()/malloc()/free() implement...Timo Sirainen-0/+7
2014-02-04Updated copyright notices to include year 2014.Timo Sirainen-1/+1
2013-02-02Oops :) Update copyrights to 2013 without breaking all .c files.Timo Sirainen-1/+1
2013-02-02Updated copyright notices to include year 2013.Timo Sirainen-1/+1
2012-08-19Removed CONTEXT_TYPE_SAFETY macro and reimplemented its functionality better.Timo Sirainen-14/+4
2012-06-24Marked functions parameters that are allowed to be NULL. Some APIs were also ...Timo Sirainen-0/+2
2012-04-19Added t_strsplit_tab()Timo Sirainen-0/+41
2012-03-26Changes to make static analyzer happier.Timo Sirainen-0/+4
2012-02-12Updated copyright notices to include year 2012.Timo Sirainen-1/+1
2011-03-04Updated copyright notices to include year 2011.Timo Sirainen-1/+1
2010-08-10p_strdup(): Small optimization.Timo Sirainen-4/+1