aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
AgeCommit message (Collapse)Author
2023-08-21Split unit conversion functions out from deco.cdevelopGravatar Tim Segers
2023-08-21Split gas functions out from deco.cGravatar Tim Segers
2023-08-21Remove END limit from MOD calculationGravatar Tim Segers
2023-08-21Move LAST_STOP_AT_SIX variable from deco.c to schedule.cGravatar Tim Segers
2023-07-09Change count+malloc to realloc in parse_gassesGravatar Tim Segers
Instead of counting the amount of ',' delimiters in the gasses string and then using malloc, realloc on every now token. This prevents a bug when there are consecutive ',' delimiters (in which case nof_gasses and the amount of tokens returned by strtok do not match).
2023-07-09Tweak first stop calculation procedureGravatar Tim Segers
2023-07-09Output ascent segments until deco starts proper even without SHOW_TRAVELGravatar Tim Segers
2023-02-08Remove NULL checks before calling free()Gravatar Tim Segers
2023-01-28Track depth, runtime, and gas in decostate_tGravatar Tim Segers
2023-01-07Refactor scan_gasGravatar Tim Segers
2023-01-07Return errno.h error codes instead of -1 on failGravatar Tim Segers
2023-01-07Restructure main()Gravatar Tim Segers
2023-01-07Print RMV and add units to EAD, NDL, and TTS outputGravatar Tim Segers
2023-01-07Clarify that Imperial mode only affects depth unitsGravatar Tim Segers
References: https://todo.sr.ht/~tsegers/opendeco/1
2023-01-07Improve gas input validationGravatar Tim Segers
2023-01-07Add support for imperial unitsGravatar Tim Segers
Implements: https://todo.sr.ht/~tsegers/opendeco/1
2023-01-07Make print_xxd_arr a function instead of a macroGravatar Tim Segers
2023-01-07Fix --licenses mangling unicodeGravatar Tim Segers
2023-01-07Add --licenses option to print third-party licensesHEADmainGravatar Tim Segers
2023-01-07Add License Identifiers to files lacking themGravatar Tim Segers
2023-01-02Change includes to be relative to top-level directoryGravatar Tim Segers
2023-01-02Fix error in waypoint duration calculationGravatar Tim Segers
2023-01-02Improve GF input validationGravatar Tim Segers
2023-01-02Add support for toml-based config fileGravatar Tim Segers
2022-12-23Extract CLI handling into separate fileGravatar Tim Segers
2022-12-22Make cli options under deco category all uppercaseGravatar Tim Segers
2022-12-22Make sure first stop is not equal to current depthGravatar Tim Segers
Fixes: https://todo.sr.ht/~tsegers/opendeco/8
2022-12-21Add option to show travel segmentsGravatar Tim Segers
Implements: https://todo.sr.ht/~tsegers/opendeco/7
2022-10-22Remove const qualifier from non-pointer parametersGravatar Tim Segers
2022-10-21Make void explicit in print_gas_use declarationGravatar Tim Segers
2022-10-21Change waypoint callback from function-only to function+arg combinationGravatar Tim Segers
2022-10-20Add dirty hack to print gas usageGravatar Tim Segers
2022-10-19Prevent 0 minute first stopv0.4Gravatar Tim Segers
2022-10-19Ascend along fixed stops instead of along rounded ceilingGravatar Tim Segers
2022-10-16Random formattingGravatar Tim Segers
2022-10-16Make LAST_STOP_AT_SIX actually set the last stop to 6mGravatar Tim Segers
Previously LAST_STOP_AT_SIX just skipped the last stop, which is correct for 3m stop increments, but not for any other ones. The implementation has now been brought in line with its name.
2022-10-16Add rough-fine optimization to ndl calculationGravatar Tim Segers
2022-10-16Merge calc_stoplen_rough into deco_stopGravatar Tim Segers
2022-10-14Reject invalid number for surface air pressureGravatar Tim Segers
Filling in a non-number argument for surface pressure sets the value to 0. This value is now rejected.
2022-10-14Add requirement that GF Low not be greater than GF HighGravatar Tim Segers
2022-10-14Tether GF to first and last stop instead of first stop and surfaceGravatar Tim Segers
Also make an exception for when the last stop is at 6m. In that case, do not tether the GF to 6m, but instead treat 6m as if it was 3m. Fixes ~tsegers/opendeco#6
2022-10-13Remove unused variable from simulate_diveGravatar Tim Segers
2022-10-13Make void explicit in print_planhead declarationGravatar Tim Segers
2022-10-12Add option to perform last deco stop at 6m instead of 3mGravatar Tim Segers
2022-10-12Define global defaults explicitly in headerGravatar Tim Segers
2022-10-11Fix uninitialized decostate_t value and free gas list explicitlyGravatar Tim Segers
2022-10-11Add section headers to --help outputv0.3Gravatar Tim Segers
2022-10-11Make various constants configurableGravatar Tim Segers
- SURFACE_PRESSURE* - SWITCH_INTERMEDIATE* - P_WV - PO2_MAX - END_MAX - ALGO_VER * can now also be set from the CLI
2022-10-10Move sources into srcGravatar Tim Segers