Commit Graph

18 Commits

Author SHA1 Message Date
Michael Stapelberg 73c6eb2d4c use param structs everywhere for consistency 2021-11-02 21:45:31 +01:00
Orestis Floros 980164ccca
Fix various memory leaks
Fixes #362
2020-05-01 13:55:19 +02:00
Felix Buehler 0a5f0ef115 use exact size for known strings 2020-02-21 15:23:37 +01:00
Felix Buehler 3ceb0b8fcf use format_placeholder for ddate 2020-02-18 20:22:36 +01:00
Michael Stapelberg a57cdc84e2
Switch to autotools (#316) 2019-01-23 08:56:40 +01:00
Michael Stapelberg d74e904bf4 clang-format-3.5 -i **/*.[ch], update modeline
From here on, we’ll use clang-format to automatically format the source.

This has worked well in i3, so we are introducing it for i3status.
2015-03-16 10:01:07 +01:00
Emil Mikulic 2ebe1f3726 Add tztime module to support multiple different timezones. 2013-02-10 17:18:32 +01:00
Deiz 638156c8b2 Teen ordinal numbers always use a 'th' suffix. 2012-11-06 00:26:47 +01:00
Deiz e10d38fea0 Reduce the season day to 0-9 to properly print ordinal suffixes 2012-10-19 19:36:53 +02:00
Deiz 04dc34f27d Skip a day in the Discordian calendar when St. Tib's Day has passed 2012-10-16 09:25:38 +02:00
Michael Stapelberg 7dc10f4205 Fix harmless format string mistake (Thanks loblik) 2012-05-02 17:42:51 +02:00
Michael Stapelberg 1b3aa40485 add yajl compat code 2012-04-08 14:05:47 +02:00
Michael Stapelberg 12b1bfa9b8 Properly output JSON with libyajl 2012-03-25 22:05:00 +02:00
Michael Stapelberg d5b4c8e368 Implement the i3bar JSON protocol
This hardcodes all the JSON parts. Strings are not properly escaped currently.
The best/easiest way to fix this is by actually using libyajl.
2012-02-16 23:30:54 +00:00
Michael Stapelberg 0a13d30465 Also use the correct time for the ddate module 2011-04-22 01:10:40 +02:00
Axel Wagner d8b6f03144 print_ddate(): Correctly seperate the St. Tibs String from the rest 2010-07-15 15:12:48 +02:00
Michael Stapelberg 93ea987f84 ddate: Use static memory / only allocate format copy memory once 2010-06-19 12:50:03 +02:00
Axel Wagner 6298377bd4 Implemented a ddate-module 2010-06-19 12:44:43 +02:00