Commit graph

24 commits

Author SHA1 Message Date
Dave Davenport
51b5511017 More doxygen sugar. 2016-01-07 16:01:56 +01:00
Dave Davenport
d83f0531d6 Change writing of file, a+ does not allow fseek start on bsd. 2016-01-03 20:13:08 +01:00
Dave Davenport
5a3c202423 Update copyright 2016-01-01 00:27:00 +01:00
QC
b18d68eff2 Adjust new editor width 2015-09-19 12:57:48 +02:00
Dave Davenport
69c75971f3 Print error to stderr when fclose fails. 2015-07-31 10:21:32 +02:00
QC
f88cfacfde Replace all qsorts. 2015-07-05 09:47:55 +02:00
QC
a38ddb3b06 Fix space. 2015-04-14 22:12:21 +02:00
QC
877c8051c6 Update copyright license. 2015-02-12 22:34:06 +01:00
QC
169c05cc15 Fix crash in history when removing last entry. 2014-08-29 12:14:43 +02:00
Dave Davenport
86b7571e04 Cleanup warnings.
* unused var and arguments.
2014-08-22 09:43:26 +02:00
Dave Davenport
62d4f0cdad Make rofi compile happily under clang.
* Set features in configure.ac
    * use config.h file, instead of hardcoded _GNU_SOURCE
      in each c file.
    * Fix mix up unsigned/signed.
2014-08-22 09:27:45 +02:00
Dave Davenport
63e5f4e940 Small cleanup and fixes.
* Use g_strfreev
    * Use g_ascii*strto(u)ll
2014-08-21 19:14:01 +02:00
QC
98dfbddadb Move to glib's based memory allocation functions
* replace calloc by malloc0_n
        * malloc by g_malloc
        * strdup by g_strdup
        * asprintf by g_strdup_printf
        * realloc by g_realloc
        * free loop by g_strfreev (if possible)
2014-08-09 11:40:42 +02:00
QC
f9149b5bdb Add option to disable history. 2014-06-05 21:55:47 +02:00
QC
9fbd7fc99c Re-indent. 2014-06-04 21:29:23 +02:00
Qball Cow
3188236121 Cleanups 2014-05-27 08:42:21 +02:00
Qball Cow
c400c44ec1 Make cppcheck happy. (normally we assume malloc does not fail.) 2014-05-26 09:19:58 +02:00
QC
56a911129d Re-use XftFont instead of recreating it each and every time. 2014-05-25 23:32:06 +02:00
QC
cba893f500 Fix history becoming stuck. 2014-05-25 17:55:27 +02:00
QC
21a0666a6e Cleanups and indenting. 2014-05-22 09:33:32 +02:00
Qball Cow
cb15a57fb7 Remove memory wrappers, and use system stuff directly. 2014-05-19 16:48:50 +02:00
QC
4f1ab47b7d Small 'correctness' fixes (thx to sparse) 2014-05-17 23:06:45 +02:00
Qball Cow
a925e59653 Small fixes 2014-05-13 22:11:42 +02:00
Qball Cow
87b51f5430 Extract out the history code and create functions for it.
(Easier to fix issues later on)
2014-05-13 10:45:59 +02:00