Commit Graph

19 Commits

Author SHA1 Message Date
Sebastian Ramacher
843a0513e2 return even earlier 2011-10-19 09:46:48 +02:00
Pavel Borzenkov
721d566881 Fix warnings reported by Clang Analyzer
Clang Analyzer reports:

shortcuts.c:238:11: warning: Value stored to 'new_value' during its initialization is never read
  gdouble new_value   = value;
          ^             ~~~~~

completion.c:163:50: warning: Null pointer passed as an argument to a 'nonnull' parameter
    if (input_length <= strlen(bookmark->id) && !strncmp(input, bookmark->id, input_length)) {
                                                 ^       ~~~~~

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-19 09:44:51 +02:00
Sebastian Ramacher
10fbf29125 adopt to girara changes 2011-10-17 11:16:14 +02:00
Sebastian Ramacher
14535b8f41 use a sorted list for bookmarks 2011-10-15 18:26:04 +02:00
Sebastian Ramacher
d94c6a9cac display a sorted list of bookmarks 2011-10-12 14:40:52 +02:00
Moritz Lipp
f384c912a0 Fix cc_bookmarks 2011-10-12 12:49:52 +02:00
Sebastian Ramacher
4efecff654 make input of completion callbacks const char* 2011-10-08 23:19:28 +02:00
Sebastian Ramacher
4f53b083ef Revert change from 481e52fd and change path_max to long.
pathconf returns -1 on error and if there is no limit. A buffer with size
(size_t) -1 would be too large.
2011-10-05 14:20:59 +02:00
Moritz Lipp
8d3cc43bbe Don't check if unsigned variable is less than zero 2011-10-05 13:49:40 +02:00
Sebastian Ramacher
b614508e16 completion for bookmarks 2011-09-29 17:05:20 +02:00
Moritz Lipp
a58f5f0857 Fix build error 2011-07-20 09:56:57 +02:00
Moritz Lipp
ec836f3334 Update cc_open 2011-05-26 14:58:10 +02:00
Moritz Lipp
032af18f36 Remove obsolete print completion 2011-05-26 11:58:27 +02:00
Moritz Lipp
196c6d2fd6 Update cc_open 2011-05-25 10:26:37 +02:00
Moritz Lipp
caa058e4d2 cc_open: List only supported file types 2011-05-25 00:54:16 +02:00
Moritz Lipp
bd37f6333e Began to implement cmd_open completion 2011-05-25 00:24:43 +02:00
Moritz Lipp
5e7a774101 Updated coding standard 2011-02-09 19:44:48 +08:00
Moritz Lipp
2cfe3f86b8 Complete printer list and execute command 2010-11-29 14:58:56 +01:00
Moritz Lipp
d51bd2bbe6 Updated file structure 2010-11-10 20:31:15 +01:00