wireshark/ui/qt/utils
John Thacker 87441e45d8 Qt: minizip and minizip-ng size compatibility issues
MS-DOS Date and MS-DOS Time are packed 16-bit values
(https://learn.microsoft.com/en-us/windows/win32/sysinfo/ms-dos-date-and-time)
and when combined they make a 32-bit value.

In the original minizip that comes with zlib, the combined dosDate
parameter is a uLong, which is 64 bits on LP64 platforms. In minizip-ng,
it is a uint32_t.

At one point, minizip-ng renamed the dosDate struct member of
zip_fileinfo to dos_date, but more recent versions changed it back
to dosDate for compatibility, except the size remains different,
so our compatibility check can't distinguish the size.

clang (and possibly other compilers) complain about shortening a 64 bit
unsigned long to a uint32_t so make the return value from our
qDateToDosDate a uint32_t as it should be to avoid warnings on
distributions with minizip-ng

Also the maximum year value that can be stored in the format is
127, since it occupies bits 9-15 of the MS-DOS Date. (There was
probably some confusion since the maximum year is 2107, but its
offset from 1980, not 1900.)
2022-10-12 22:03:34 -04:00
..
color_utils.cpp Qt: Split MainApplication out from WiresharkApplication. 2022-04-04 09:39:27 -07:00
color_utils.h Qt: Add a common hover color. 2022-01-03 19:03:46 +00:00
data_printer.cpp Add copy as a Base64 string 2022-10-04 12:36:25 +00:00
data_printer.h Add copy as a Base64 string 2022-10-04 12:36:25 +00:00
field_information.cpp Qt: Properly truncate our FieldInformation strings. 2022-10-11 16:59:32 +00:00
field_information.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
frame_information.cpp regex: Prefer C99/POSIX types 2021-11-15 02:41:59 +00:00
frame_information.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
idata_printable.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
proto_node.cpp Replace the last of PROTO_ITEM_ macro calls with function calls 2022-09-29 05:59:12 +00:00
proto_node.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
qt_ui_utils.cpp Require Qt 5.9 or later 2022-04-20 18:59:32 -04:00
qt_ui_utils.h Qt: Recommend 5.12 and enforce 5.10 2022-07-13 21:26:46 +00:00
rtp_audio_file.cpp Fix spelling errors. 2021-09-11 10:01:27 +00:00
rtp_audio_file.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
rtp_audio_routing.cpp WSUG: Added description of new features of telephony dialogs 2021-04-11 15:46:48 +00:00
rtp_audio_routing.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
rtp_audio_routing_filter.cpp Remove modelines in ui/qt. 2021-03-08 18:11:32 +00:00
rtp_audio_routing_filter.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
rtp_audio_silence_generator.cpp Remove modelines in ui/qt. 2021-03-08 18:11:32 +00:00
rtp_audio_silence_generator.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
stock_icon.cpp Qt: Make utils more independent. 2021-12-22 19:00:13 -08:00
stock_icon.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
tango_colors.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
variant_pointer.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
wireshark_mime_data.cpp Remove modelines in ui/qt. 2021-03-08 18:11:32 +00:00
wireshark_mime_data.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00
wireshark_zip_helper.cpp Qt: minizip and minizip-ng size compatibility issues 2022-10-12 22:03:34 -04:00
wireshark_zip_helper.h Add UI header files to Doxygen 2021-11-30 08:01:36 -05:00