Skip to content

Commit cd12329

Browse files
committed
TODO: remove completed todos
majority of these have been completed already, so remove them to reduce clutter.
1 parent 6581021 commit cd12329

File tree

1 file changed

+3
-56
lines changed

1 file changed

+3
-56
lines changed

TODO.md

Lines changed: 3 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -11,60 +11,7 @@ Look for any bugs reported downstream or in our github issues and fix them:
1111
- <https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=scrot&product=Fedora>
1212
- <https://bugs.gentoo.org/buglist.cgi?quicksearch=scrot>
1313

14-
## Shell completion improvements
14+
## Misc TODOs
1515

16-
- Improve the bash completion script. Currently it's quite rudimentary.
17-
- ~~Filter out mutually exclusive options in zsh completion. E.g if `-b` is
18-
already provided then `--border` should no longer be considered a potential
19-
match.~~
20-
- ~~Add some way to install zsh/bash completion scripts. Since the directory where
21-
completion script go into can vary, we want the user to explicitly set the
22-
installation directory. E.g via the configure script
23-
`./configure --with-zsh-completion-path=...`.~~
24-
25-
## Switch to newer Imlib2 interfaces
26-
27-
These will require a minimum version bump on imlib2 and so has to be done with
28-
care.
29-
30-
- Switch to using `imlib_save_image_fd()` for saving images.
31-
- ~~Switch to `imlib_get_error()` to retrieve the cause of error when saving and
32-
loading images (and `imlib_strerror()` to stringify them).~~
33-
34-
## Integrate [libbsd](https://libbsd.freedesktop.org/wiki/)
35-
36-
The BSD systems provide nonstandard C functions; many of the functions remove
37-
the need for some boilerplate code, and provide safer or easier to use APIs
38-
compared to the C standard library.
39-
scrot is in the process of auditing its source to make use of BSD extensions
40-
to the C library where they are found to improve code quality. scrot depends on
41-
libbsd to provide the required functions where they're missing to remain
42-
portable. libbsd includes manuals for all the functions it implements-a list of
43-
them can be found at libbsd(7). The manual can alternatively be accessed from
44-
the web at [manpages.debian.org](https://manpages.debian.org/unstable/libbsd-dev/libbsd.7.en.html).
45-
BSD systems provide manuals for these functions in the default install.
46-
47-
The following libbsd integration efforts are in progress:
48-
- ~~Replace strncpy() and strcpy() calls with strlcpy().~~
49-
- ~~Replace strcat() and strncat() calls with strlcat().~~
50-
- ~~Replace error exits with the err() family of functions.~~
51-
- ~~Replace local implementations of data structures with the sys/queue.h API.~~
52-
- Find places where other BSD functions can serve scrot well.
53-
54-
## v2 checklist
55-
56-
Version 2 will remove some deprecated features and increase the minimum version
57-
required for some of the dependencies.
58-
Work for it happens on the `v2` branch.
59-
It will be released when Imlib2 v1.11 is available on Debian stable to ease the
60-
transition for users and avoid depending on bleeding edge library versions.
61-
62-
- [x] Require Imlib2 v1.11.0
63-
- [x] Document minimum version of other dependencies [#307](https://github.com/resurrecting-open-source-projects/scrot/issues/307)
64-
- [x] Use file descriptors when saving images
65-
- [x] https://github.com/resurrecting-open-source-projects/scrot/issues/244
66-
- [x] https://github.com/resurrecting-open-source-projects/scrot/issues/246
67-
- [ ] https://github.com/resurrecting-open-source-projects/scrot/issues/226
68-
- [x] Remove deprecated features
69-
- [x] --note [#236](https://github.com/resurrecting-open-source-projects/scrot/issues/236)
70-
- [x] --script
16+
- [ ] Improve the bash completion script. Currently it's quite rudimentary.
17+
- [ ] Figure out a more robust way to save thumbnails [#226](https://github.com/resurrecting-open-source-projects/scrot/issues/226)

0 commit comments

Comments
 (0)