Commit Graph

18 Commits

Author SHA1 Message Date
Jari Vetoniemi
014c20099d Refactor code to snake_style, turn renderers into plugins, and start
wayland (cairo) renderer.
2014-10-22 22:46:51 +03:00
Jari Vetoniemi
33aedfe237 Skip whitespace when tokenizing too. 2014-08-21 02:10:56 +03:00
Jari Vetoniemi
536eee6d0b Skip leading whitespace. 2014-08-21 01:45:52 +03:00
Jari Vetoniemi
5599e1aa8e Store tmp to tokv in for loop, so we can free it if something fails. 2014-04-12 20:52:01 +03:00
Jari Vetoniemi
d54381f009 Fix out of bound access, and provide better tokenize api. 2014-04-12 20:16:33 +03:00
Jari Vetoniemi
311e4b3676 Use strcspn instead of strtok 2014-04-12 19:59:21 +03:00
Jari Vetoniemi
9e9b671fa3 Remove highlight logic from filters, it does not belong there.
Plus it seems dmenu always just highlights first item on filter change.
2014-04-12 14:36:12 +03:00
Jari Vetoniemi
544b1973c4 Why is this here? Remove commented memmove. 2014-04-12 14:16:25 +03:00
Jari Vetoniemi
9d867bea0c Sort results like dmenu does. 2014-04-12 12:56:34 +03:00
Jari Vetoniemi
5a0a2659ed Cleanup dmenu filter. 2014-04-11 23:58:36 +03:00
Jari Vetoniemi
3c6e167578 Silly me, why not just get the highlighted item once.. 2014-04-11 23:58:09 +03:00
Jari Vetoniemi
71beb7583f Make it possible filter manually, and optimized filtering. 2014-04-10 23:05:13 +03:00
Jari Vetoniemi
45502a2fd9 Proper filtering functions. 2014-04-10 22:02:47 +03:00
Jari Vetoniemi
a6d0413b97 Implement list structure, and feature for multiple selections. 2014-04-10 20:04:06 +03:00
Jari Vetoniemi
8631506d9d Update documentation, include only public API in doxygen output. 2014-04-10 17:26:42 +03:00
Jari Vetoniemi
ff8ad3a804 Remove @file from non-public library files. 2014-04-10 11:08:10 +03:00
Jari Vetoniemi
4d920ad9e4 Make asserts and ifs more consistent. 2014-04-10 01:41:32 +03:00
Jari Vetoniemi
67be25fbe4 Basic working bemenu with curses backend 2014-04-10 01:10:05 +03:00