subsurface/commands
Berthold Stoeger 408b31b6ce core: default initialize units-type objects to 0
Makes the code much nicer to read.

Default initialize cylinder_t to the empty cylinder.

This produces lots of warnings, because most structure are now
not PODs anymore and shouldn't be erased using memset().

These memset()s will be removed one-by-one and replaced by
proper constructors.

The whole ordeal made it necessary to add a constructor to
struct event. To simplify things the whole optimization of
the variable-size event names was removed. In upcoming commits
this will be replaced by std::string anyway.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
..
CMakeLists.txt undo: add device related undo commands 2020-10-25 13:59:04 -07:00
command.cpp undo: pass divecomputer number to EditProfile command 2023-04-16 20:23:59 +02:00
command.h Desktop: Fix Gas Editing for Manually Added Dives. 2024-06-01 23:22:40 +12:00
command_base.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
command_base.h core: make owning pointers a top-level features 2023-04-16 20:23:59 +02:00
command_device.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
command_device.h undo/device: adjust device management infrastructure 2021-08-18 13:22:02 -07:00
command_divelist.cpp core: convert taxonomy.c to C++ 2024-08-13 19:28:30 +02:00
command_divelist.h core: convert taxonomy.c to C++ 2024-08-13 19:28:30 +02:00
command_divesite.cpp core: convert divesite strings to std::string 2024-08-13 19:28:30 +02:00
command_divesite.h core: convert divesite strings to std::string 2024-08-13 19:28:30 +02:00
command_edit.cpp core: default initialize units-type objects to 0 2024-08-13 19:28:30 +02:00
command_edit.h core: convert taxonomy.c to C++ 2024-08-13 19:28:30 +02:00
command_edit_trip.cpp selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
command_edit_trip.h selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
command_event.cpp core: default initialize units-type objects to 0 2024-08-13 19:28:30 +02:00
command_event.h core: default initialize units-type objects to 0 2024-08-13 19:28:30 +02:00
command_filter.cpp core: port filterpreset.cpp to std::string 2024-03-10 11:01:42 +13:00
command_filter.h core: port filterpreset.cpp to std::string 2024-03-10 11:01:42 +13:00
command_pictures.cpp core: convert taxonomy.c to C++ 2024-08-13 19:28:30 +02:00
command_pictures.h core: convert taxonomy.c to C++ 2024-08-13 19:28:30 +02:00