Commit Graph

165 Commits

Author SHA1 Message Date
Jari Vetoniemi
ba03036a39 Store item pointer before removal. 2014-10-25 21:54:03 +03:00
Jari Vetoniemi
c1bdca9cc4 Use sizeof(void*) and fix list remove. 2014-10-25 21:53:48 +03:00
Jari Vetoniemi
d799bbd246 Close when connection is broken. 2014-10-25 21:12:55 +03:00
Jari Vetoniemi
9ad69fb4b4 Sort items in bemenu-run. 2014-10-25 20:57:30 +03:00
Jari Vetoniemi
9f13ca2e6d Share client code, add bemenu-run 2014-10-25 20:43:52 +03:00
Jari Vetoniemi
595ff4f687 Use dprintf 2014-10-25 20:43:31 +03:00
Jari Vetoniemi
d3db039136 Single line mode, color customization, etc.. 2014-10-25 20:02:34 +03:00
Jari Vetoniemi
2820734ec0 Fix stdin read. 2014-10-25 17:18:41 +03:00
Jari Vetoniemi
b03cd1ea53 Use BM_PLUGIN_VERSION for renderers. 2014-10-25 16:39:39 +03:00
Jari Vetoniemi
92b9044da8 More standard ints. 2014-10-25 01:41:57 +03:00
Jari Vetoniemi
3f5e21a83f Cleanup wayland renderer and plugin support. 2014-10-25 01:38:30 +03:00
Jari Vetoniemi
f8d97efb8f Install wayland renderer as well. 2014-10-23 02:20:34 +03:00
Jari Vetoniemi
84fb6b99a3 Make test, test failures instead of skipping. 2014-10-23 02:18:27 +03:00
Jari Vetoniemi
c0f49aaf67 Update test. 2014-10-23 02:16:53 +03:00
Jari Vetoniemi
c98fcc5100 Add wayland renderer (experimental) 2014-10-23 02:11:35 +03:00
Jari Vetoniemi
6ebdb0030a Only compile curses renderer if curses was found. 2014-10-23 02:10:22 +03:00
Jari Vetoniemi
df396986b1 vsnprintf is null terminated. 2014-10-23 02:09:52 +03:00
Jari Vetoniemi
20c1b5d04f Use get_wch 2014-10-23 01:33:12 +03:00
Jari Vetoniemi
fa9c421b77 No longer true. 2014-10-22 23:33:06 +03:00
Jari Vetoniemi
f26981a144 Make test actually work again. 2014-10-22 23:11:57 +03:00
Jari Vetoniemi
0abad19b3e Pass bm_menu struct on each render api call. 2014-10-22 23:10:11 +03:00
Jari Vetoniemi
30269b6385 Remove old test. 2014-10-22 22:56:27 +03:00
Jari Vetoniemi
0b02230935 Call constructor of activated renderer. 2014-10-22 22:52:14 +03:00
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
6e99ec2b61 No developer activity, so simplifying to just master branch. 2014-08-21 01:48:55 +03:00
Jari Vetoniemi
f1bb87a808 Merge branch 'develop' 2014-08-21 01:47:30 +03:00
Jari Vetoniemi
536eee6d0b Skip leading whitespace. 2014-08-21 01:45:52 +03:00
Jari Vetoniemi
4ce638eb3a Length check is fragile and breaking behaviour. 2014-05-14 20:50:32 +03:00
Jari Vetoniemi
953c61f4ad Support older ncurses. 2014-04-15 20:34:21 +03:00
Jari Vetoniemi
8e415197d2 This is not used 2014-04-15 20:31:10 +03:00
Jari Vetoniemi
88590ddcfe Don't use the enumerator variable. 2014-04-15 20:14:42 +03:00
Jari Vetoniemi
f77ae857b1 It's better to guard whole function. 2014-04-15 20:07:47 +03:00
Jari Vetoniemi
cf27013c1d Print the missing function and from what library in case of exception. 2014-04-15 20:06:51 +03:00
Jari Vetoniemi
5556779dd2 Consistency. 2014-04-14 21:18:50 +03:00
Jari Vetoniemi
d36f4039d9 Identation. 2014-04-14 20:46:15 +03:00
Jari Vetoniemi
5165a42ecb Support disco parameter. 2014-04-14 20:43:01 +03:00
Jari Vetoniemi
77f2c264e7 Make version function exit itself. 2014-04-14 20:42:10 +03:00
Jari Vetoniemi
5dda1e46e9 Print usage on wrong options. 2014-04-14 19:39:41 +03:00
Jari Vetoniemi
ce46a04999 Add break for no reason. 2014-04-14 19:39:29 +03:00
Jari Vetoniemi
14a1644085 Useless whitespace. 2014-04-14 19:39:20 +03:00
Jari Vetoniemi
7533cebfe5 Tell curses to use terminal default colors 2014-04-14 19:33:50 +03:00
Jari Vetoniemi
617c4ab827 Add selection wrapping (-w). 2014-04-14 19:25:16 +03:00
Jari Vetoniemi
4f72d188ad Fix documentation. 2014-04-14 19:25:04 +03:00
Jari Vetoniemi
bcda540401 Hide title if more than NCOLS 2014-04-14 19:14:30 +03:00
Jari Vetoniemi
9df8716cb8 Handle window resize. 2014-04-14 19:11:26 +03:00
Jari Vetoniemi
5b873de2de Better input scroll logic. 2014-04-14 19:00:15 +03:00
Jari Vetoniemi
066c5c2e61 Make sure text fits tightly terminal + simplified logic 2014-04-14 19:00:03 +03:00
Jari Vetoniemi
f410a5e391 Make sure the text is null terminated. 2014-04-14 18:10:01 +03:00
Jari Vetoniemi
0f34b70c90 Move this check before allocation. 2014-04-14 18:08:13 +03:00