Dave Davenport
9cd1e3fac2
Indent
2017-11-07 20:04:07 +01:00
Dave Davenport
bcb5844b6d
[History] When getting history fields, do not parse order fields.
...
- This is the critical part of the code, most code and direct influence
on user.
2017-10-14 13:18:21 +02:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +02:00
Dave Davenport
2784959fc1
Allow maximum history size to be configured.
...
Fixes : #613
2017-10-03 19:59:35 +02:00
Dave Davenport
ebffe5503d
Implement support for specifying negated match
...
- Prepending - inverts the matching result.
- Fix logic window/drun browser.
- Breaks API as argument token_match callback changed.
- Update tests.
Fixes : #665
2017-09-29 08:40:25 +02:00
Quentin Glidic
9a68b22009
Fix licenses headers
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:32:05 +02:00
Quentin Glidic
cfbe4027bc
Consolidate logging
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:07:29 +02:00
Dave Davenport
22e2d7587d
Update copyright to 2017.
2017-01-03 17:59:28 +01:00
Dave Davenport
9293c8b8ce
More docu updates
2016-10-14 18:56:09 +02:00
Dave Davenport
e84e387e94
Fix 1 character entries in git.
2016-05-27 09:31:57 +02:00
Dave Davenport
8e05106c87
Add option to view background image instead of screenshot in fake transparency. Issue #390
2016-05-06 12:40:55 +02:00
Dave Davenport
4dbf2813d0
Issue #388 , Try to make history parser more robust against corruption.
2016-04-27 12:57:43 +02:00
Dave Davenport
96cb3a8695
Remove fgets and replace by getline.
2016-04-10 14:30:13 +02:00
Dave Davenport
b63f8e2275
Move history to getline and remove magic limit.
2016-04-10 13:55:18 +02:00
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