aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt
AgeCommit message (Collapse)AuthorFilesLines
2021-10-17[Automatic update for 2021-10-17]Gerald Combs12-51/+84
Update manuf, services enterprise numbers, translations, and other items.
2021-10-12Proposed rewording of filter tooltipsDavid Perry1-2/+2
For #16186. Proposed changes to the tooltips which appear when a filter expression is potentially problematic. Rename references to "User's Guide" to "Help" since the link to the User's Guide in the Help menu is just called *Contents*. Name specific sections within the help which pertain to the warning tooltip being shown. Gives first-time users some help in finding the right part of the sizeable User's Guide.
2021-10-11Qt: More new-style signals+slot conversions.Gerald Combs10-39/+40
2021-10-11Qt: Use new-style signals+slots in more places.Gerald Combs24-38/+33
2021-10-11Rawshark: is not a CamelCase wordChuck Craft15-28/+28
2021-10-10[Automatic update for 2021-10-10]Gerald Combs12-329/+425
Update manuf, services enterprise numbers, translations, and other items.
2021-10-09Qt: Remove more Q_OBJECT macro calls.Gerald Combs31-68/+3
2021-10-09text2pcap: typo on Help -> Manual PagesChuck Craft15-28/+28
2021-10-08Qt: Remove Q_OBJECT in a few places where it's not needed.Gerald Combs7-17/+0
Q_OBJECT is only needed for signals+slots, translations, and other meta-object services. Remove it in some classes, since having it means we're generating and compiling code unnecessarily.
2021-10-06Add NGAP Stats.Martin Mathieson3-0/+15
2021-10-04Qt: Handle fieldsChanged before prefs_apply_allStig Bjørlykke1-1/+1
Improve reload Lua plugins to handle fieldsChanged before calling the preferences apply callback, because a proto.prefs_changed() function may call reload_packets() or redissect_packets(), and this requires the fields to be updated.
2021-10-04Qt: Handle errors when reloading Lua FileHandlerStig Bjørlykke1-1/+3
Reloading the capture file after reloading a Lua FileHandler may fail because of Lua errors. Handle this by closing the file. Related to #17615
2021-10-03[Automatic update for 2021-10-03]Gerald Combs12-192/+294
Update manuf, services enterprise numbers, translations, and other items.
2021-10-01UI: Fix "Follow Stream" spin box for protocols without substreamsJohn Thacker1-18/+22
If the substream spin box is not visible, then we don't need to go looking for a new substream value. Fix #17624
2021-10-01capture: Check for valid wtap when capture.show_infoStig Bjørlykke1-0/+1
Changing profile during capture may change the capture_opts->show_info setting. Always init cap_session->wtap and check if valid before doing capture_info_new_packets(). Always close dialog and cap_session->wtap in capture_input_closed(). This will not bring up the Capture Information dialog when switching to a profile having this enabled. Fixes #17622
2021-09-30Qt: Reload Lua FileHandler when having a capture fileStig Bjørlykke1-1/+24
Support reloading a Lua FileHandler when this is in use for a loaded capture file. Prompt to save the file if having unsaved changes because the file must be reloaded. Fixes #17615
2021-09-26[Automatic update for 2021-09-26]Gerald Combs12-185/+222
Update manuf, services enterprise numbers, translations, and other items.
2021-09-26QUIC: disable "Follow TLS stream" for QUIC sessionNardi Ivan1-1/+1
Close #17602
2021-09-26Qt: Add heuristic description to dissector tablesRoland Knall3-9/+16
Add the descriptive name for the heuristic dissector to the dissector tables as well as move search bar to top Fixes #17603
2021-09-23Add compatibility fix for Minizip dependencyJoão Valverde1-1/+9
2021-09-21Qt: Register import_hexdump.json as a profile fileStig Bjørlykke1-4/+5
Profile files which is only used in Qt is not automatically registered during startup and must be explicit registered. Add profile_register_persconffile() to handle this registration.
2021-09-21IO Graph: Add checkbox to prevent automatic rescansDeveloper Alexander3-2/+39
Adds a checkbox 'Automatic Update' to the IO Graph to enable or disable rescans and recalculation of graph data temporarily. This is useful when you want to modify settings of multiple graphs without triggering a rescan with every change of a single setting. This becomes useful for large trace files in particular. Rescan or recalculation events are queued while 'Automatic Update' is not active. Checking 'Automatic Update' triggers the queued updates. The setting for 'Automatic Update' is stored in a preference. A german translation for 'Automatic Update' is included.
2021-09-21MinGW-w64: Use clock_gettime()João Valverde1-5/+5
Mingw-w64 has this function. We may have to define some extra symbols for API visibility but on my system the config check is working out of the box. POSIX systems come in many flavours, remove the "save time" if() condition in this case. Fix code to check if we have clock_gettime() on Windows as well.
2021-09-20Qt: Pad time values for loading timesRoland Knall1-3/+4
Pad the loading time values with leading zeros each Fixes: #17601
2021-09-19[Automatic update for 2021-09-19]Gerald Combs12-87/+110
Update manuf, services enterprise numbers, translations, and other items.
2021-09-18Qt: Store Import Hex Dump settingsStig Bjørlykke3-5/+217
Store all user specified values from the "Import from Hex Dump" dialog in a profile import_hexdump.json file. Set default ExportPDU dissector to "data". Fixed a minor typo in a help text.
2021-09-17Use the musl in-tree getopt_long() everywhereJoão Valverde1-13/+0
Besides the obvious limitation of being unavailable on Windows, the standard is vague about getopt() and getopt_long() has many non-portable pitfalls and buggy implementations, that increase the maintainance cost a lot. Also the GNU libc code currently in the tree is not suited for embedding and is unmaintainable. Own maintainership for getopt_long() and use the musl implementation everywhere. This way we don't need to worry if optreset is available, or if the $OPERATING_SYSTEM version behaves in subtly different ways. The API is under the Wireshark namespace to avoid conflicts with system headers. Side-note, the Mingw-w64 9.0 getopt_long() implementation is buggy with opterr and known to crash. In my experience it's a headache to use the embedded getopt implementation if the system provides one.
2021-09-13Qt: ByteView make hover configurableRoland Knall4-3/+26
Allow the hover selection to be either configured via context menu or by pressing the Ctrl key while moving the mouse. The configuration is stored via profile
2021-09-13HTTP2, QUIC: fix "Follow Stream"Nardi Ivan1-0/+3
"Follow Stream" functionality assumes that all data in a single packet belongs to the same stream. That is not true for HTTP2 and QUIC, where we end up having data from unrelated streams. Filter out the unwanted data directly in the protocol dissector code with a custom `tap_handler` (as TCP already does). Close #16093
2021-09-13Qt: Enable Edit Name Resolution for EXPORTED_PDUJoakim Karlsson1-1/+8
2021-09-13Qt: Restructure related-packet indicator drawing.Darius Davis1-26/+62
The related-packet drawing code currently intermingles the selection and the drawing of the conversation "trace" lines and the indicators. Separating them out -- so we make the decisions upfront and then do the drawing -- will help with any future work in this area.
2021-09-12[Automatic update for 2021-09-12]Gerald Combs12-12/+276
Update manuf, services enterprise numbers, translations, and other items.
2021-09-11Qt: Add Decode as Hex Digits in Show Packet BytesStig Bjørlykke2-0/+7
Non-hex character in the data are skipped, enabling the decoding to continue converting all hex digits found.
2021-09-11Fix spelling errors.Guy Harris1-2/+2
The Ubuntu build commented on some spelling errors in executable code files. Fix the errors that don't come from external files containing the spelling errors (USB product and vendor IDs, PCI IDs, ASN.1 specifications), and fix some errors that don't show up in the executable code files (e.g., in comments and variable names).
2021-09-10Allow adding comments to all selected packetsDavid Perry6-20/+61
Allow the user to select multiple packets, and * add the same comment to all selected packets * remove all comments from selected packets A new comment is added to each packet, now that we support multiple comments per packet. This is one potential way to address #8713.
2021-09-09[#12331] Persist cmd-line prefs on reloading LuaDavid Perry4-0/+15
Save a list of all user options that were specified on the Wireshark command line using the `-o` option. Reapply those preferences after reloading Lua plugins. Fixes the behaviour given in #12331 wherein such prefs were reset to the defaults, not the command-line values, when reloading Lua plugins. When the user changes a preference in the Wireshark UI, remove that preference from the stored command line options, so it doesn't get reset when Lua plugins are reloaded again.
2021-09-08Qt: IOGraph - correctly add new graphsRoland Knall5-58/+142
If a graph is added it should be a single operation, not multiple setData operations leading to a myriad of dataChanged signals to be fired, which in turn can hinder redissection.
2021-09-07sequence_dialog(Qt): Fix Called C++ object is nullAlexis La Goutte1-10/+11
2021-09-05fix two display issues with remote interfaces windowRamin Moussavi2-4/+48
2021-09-04Qt: Debounce Preferences -> Advanced menu : Avoid leaking memoryMoshe Kaplan1-0/+1
Free the QTimer in the PreferencesDialog's destructor to avoid leaking memory.
2021-08-29[Automatic update for 2021-08-29]Gerald Combs1-8059/+4712
Update manuf, services enterprise numbers, translations, and other items.
2021-08-29Qt: fix memory leaks found by Visual Leak DetectorTomasz Moń4-16/+11
Set PacketDiagram as parent of QGraphicsScene so the scene is destroyed together with PacketDiagram. Dynamically allocate WiresharkApplication and explicitly call its destructor when no longer needed. This results in deletion of FunnelAction objects created in register_menu_cb() and QAction objects created in TapParameterDialog::registerDialog(). For some reason, when breakpoint was set inside WiresharkApplication destructor it would not get triggered on exit, and so the child objects would get reported as memory leaks. Delete main window and application only after epan_cleanup(). This makes lua plugins actually call ops during cleanup (e.g. destroy_text_window) and makes it possible to free the memory allocated in FunnelStatistics constructor.
2021-08-29Qt: stop capture syntax worker thread on exitTomasz Moń4-106/+89
Instead of creating endless loop and synchronizing using QWaitCondition, execute the syntax worker check in its thread by emitting signal. The syntax worker thread affinity is set to worker thread so the slots handling takes place within the worker thread context.
2021-08-25Qt: Add Turkey translationAlexis La Goutte2-0/+17609
Thanks to Serkan ÖNDER
2021-08-25UI: Import profiles from ZIP supporting bigger files (Bugfix)Dr. Lars Völker2-1/+12
This patch allows the profile importer to recover from a file too large to import as well as adjusts the maximum allowed config file size. Closes: #17504
2021-08-21RTP Player: Fix of resampling for visual waveformJirka Novak1-2/+2
When capture was longer (e.g. 800s), audio was decoded correctly, but visual waveform was shown incorrectly. Reason was exceeding range of guint32 during calculation. Calculation is now made in guint64 and then put back to guint32.
2021-08-18RTP Analysis: CSV export has header lineJirka Novak2-0/+28
Export to CSV from RTP Analysis has header now. Header is on top of the export so for export of multiple tabs it is just once in the export.
2021-08-15[Automatic update for 2021-08-15]Gerald Combs3-5/+5
Update manuf, services enterprise numbers, translations, and other items.
2021-08-09[Automatic update for 2021-08-09]Gerald Combs11-0/+88
Update manuf, services enterprise numbers, translations, and other items.
2021-08-06F1AP statsMartin Mathieson3-0/+16