polybar-dwm/src/components
patrick96 095d68fad0 fix: Stop using ato* for string to num conversion
atoi, atof and so on have undefined behavior if anything goes wrong. We
now use strto*, but without error checking. In most places overflows and
the like *should* not happen. String to number conversions are only used
when reading data from other applications or from the config, if another
application gives unparsable strings or too large numbers, then most
likely there is something wrong with that application. If the error
comes from the user config, then the user has to live with values
provided by strto* on error (which are very reasonable)

Fixes #1201
2018-05-03 11:07:37 -07:00
..
bar.cpp fix: Stop using ato* for string to num conversion 2018-05-03 11:07:37 -07:00
builder.cpp fix: Stop using ato* for string to num conversion 2018-05-03 11:07:37 -07:00
command_line.cpp refactor(clang-tidy): Apply fixes 2017-01-24 08:01:04 +01:00
config.cpp fix: Stop using ato* for string to num conversion 2018-05-03 11:07:37 -07:00
controller.cpp refactor(controller): Print error message on select fail 2018-02-15 19:26:35 -08:00
ipc.cpp fix(ipc): Remove existing fifo file 2017-01-24 07:11:14 +01:00
logger.cpp wip(refactor): Cairo drawing 2017-01-24 07:11:14 +01:00
parser.cpp fix: Stop using ato* for string to num conversion 2018-05-03 11:07:37 -07:00
renderer.cpp fix: Stop using ato* for string to num conversion 2018-05-03 11:07:37 -07:00
screen.cpp refactor(x11): Cleanup 2017-01-24 10:49:14 +01:00
taskqueue.cpp wip: Window autohide 2016-12-21 04:50:43 +01:00