pagedown
15615a4cd1
Avoid defining variables with the same name that already exist
...
Avoid using existing parameter names for local variables.
Avoid using variable names from upper level for nested loops.
Avoid local variables hiding existing global variables.
2022-01-01 21:29:32 +08:00
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6
2021-10-21 12:43:55 +05:30
Kovid Goyal
ca1b2454bd
Fix position output in matcher
2021-08-07 10:45:50 +05:30
Kovid Goyal
2486cfd45d
Move match() into a more re-useable location
2021-08-05 06:59:24 +05:30
Kovid Goyal
be34af4555
Remove inline from .c files
...
It is ignored by compilers and hides unused static functions
2021-08-03 09:11:17 +05:30
Kovid Goyal
0372242d12
Use an enum for UTF8 decoder state
2021-03-31 15:19:27 +05:30
Kovid Goyal
ca65ad6fa3
Inline qsort
...
Cleaner, more local code and faster sorting by virtue of inlining the
comparisons. What's not to like.
2021-01-04 14:14:15 +05:30
Kovid Goyal
229134cf31
Misc. fixes for issues reported by clang's static analyzer
...
Most of them are false positives. A couple of mem leaks after unlikely
failure conditions.
2020-09-10 10:47:28 +05:30
Kovid Goyal
8a3e71d3d0
oops
2020-03-12 11:28:58 +05:30
Kovid Goyal
149ae2866a
more typing work
2020-03-12 08:10:51 +05:30
Kovid Goyal
5730ce5f53
More typing work
2020-03-03 20:18:24 +05:30
Kovid Goyal
6a31909557
Make the MIN and MAX macros typesafe
2019-07-01 17:03:47 +05:30
Kovid Goyal
af3504e05c
Ensure that ensure_space() does not leave a NULL pointer
2019-06-24 16:00:45 +05:30
Luflosi
a792c94ccf
Use python3 shebang for all python scripts
...
Fixes #1624 .
Use python3 shebang for all python scripts as python still defaults to python2 on many systems.
2019-05-20 14:44:24 +02:00
Kovid Goyal
4fff84b4b9
Add void to all function declarations for functions that take no arguments
...
Micro-optimization for some architectures. Enforced via
-Wstrict-prototypes
2019-05-13 11:04:21 +05:30
Kovid Goyal
6c8ccbd73a
...
2019-03-07 06:40:33 +05:30
Luflosi
37afd7aaa7
Fix memory leak
2019-02-23 15:46:16 +01:00
Luflosi
862075bd65
Fix memory leak
2019-02-23 12:32:40 +01:00
Luflosi
174a45b4bd
Add check for NULL after malloc()
2019-02-23 09:13:12 +01:00
Kovid Goyal
aed504efdc
Remove unnecessary NULL check
2019-02-23 07:42:08 +05:30
Kovid Goyal
8952afd6cc
Fix compilation of new choose kitten under FreeBSD
...
I hope. Fixes #1347
2019-01-30 09:11:25 +05:30
Kovid Goyal
60b64dadfe
Add tests for the subseq matcher
2019-01-24 20:52:18 +05:30
Kovid Goyal
edb25314c5
Add skeleton for choose kitten
2019-01-23 20:04:46 +05:30
Kovid Goyal
19bce0c23c
Start work on a choose kitten for fuzzy selection
2019-01-23 19:38:08 +05:30