aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/splash_overlay.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-07-04Qt: add initializer (CID 1159360).Dario Lombardo1-0/+1
Change-Id: I0ade3925497022d5ac16e66c02727be7fd9f4aa5 Reviewed-on: https://code.wireshark.org/review/16274 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-06-26Add an RA_INTERFACES register action.Gerald Combs1-1/+4
Add RA_INTERFACES between RA_PREFERENCES and RA_CONFIGURATION. Wireshark was spending a suspiciously long time loading module preferences here. (Now we just need to find out why that section of the code is slow.) Change-Id: Iecbe55e8e10c8844bcb151a13e383cb13a3f6eb1 Reviewed-on: https://code.wireshark.org/review/16133 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-02Qt: Try to speed up SplashOverlayGerald Combs1-12/+8
Limit the amount of event processing SplashOverlay does. Let QWidget take care of painting. Change-Id: I9176baeba2cc9203e50c02029d85689f8908daba Reviewed-on: https://code.wireshark.org/review/14771 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-10-05Move utf8_entities.h to wsutilJoão Valverde1-1/+1
Change-Id: I6298b3de5f0a1cb988014ff16082eaf8c2a3c3c0 Reviewed-on: https://code.wireshark.org/review/10786 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-09-17Qt: Add an event processing timer.Gerald Combs1-4/+4
When updating the progress dialog (which happens each time we read a packet) the GTK+ UI processes application events every 100ms. Do the same in the Qt UI. Ping-Bug: 11515 Change-Id: Ic53eade05c0b82bf436c08618f28506c5fcdbc94 Reviewed-on: https://code.wireshark.org/review/10554 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-08-11Added Reload Lua plugins.Stig Bjørlykke1-0/+3
This is initial support for reloading Lua plugins without restarting the application. Still todo: - Deregister FileHandlers - Support deregister ProtoField with existing abbrev (same_name_hfinfo) - Add a progress dialog when reloading many plugins - Search for memory leakages in wslua functions Change-Id: I48870d8741251705ca15ffe1068613fcb0cb18c1 Reviewed-on: https://code.wireshark.org/review/5028 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2015-08-09Reset the splash timer after processing events.Gerald Combs1-1/+1
Change-Id: Id71a3ac5e8f04df6a19e92021e47ea64728c2595 Reviewed-on: https://code.wireshark.org/review/9936 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-08-07Fixup the Qt splash overlay progress calculations.Gerald Combs1-11/+6
Fix a couple of issues in the way we calculate the splash overlay progress. Avoid unnecessary repaints. Change-Id: I1f4800b2c2836b67ca9ff3d6d24af150f4379ba9 Reviewed-on: https://code.wireshark.org/review/9916 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-08-07Lua: Count Lua plugins in splash screenStig Bjørlykke1-1/+5
This will avoid slow startup when having many Lua plugins. Change-Id: I67b5f38108a5c500682bc727734375da5fa762c8 Reviewed-on: https://code.wireshark.org/review/9910 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2015-07-16Add display_is_remote.Gerald Combs1-1/+1
Add a display_is_remote function and use it instead of get_conn_cfilter to check for remoteness. Change-Id: Ia93d113afec36ede55daf7dc8394b2dc0d8c9abf Reviewed-on: https://code.wireshark.org/review/9659 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-07-07Starting to get rid of Q_UNUSED declarations for unused function parameters.Joerg Mayer1-6/+2
The official C++ way is to leave out the variable name instead. This has the advantage to be reliable: In one case a variable declared unused was later used. Change-Id: I1c96636f7fa7a621d1594d1e9cacaec75c561faa Reviewed-on: https://code.wireshark.org/review/9532 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2015-06-25Qt: use <> for including the generated ui_*.h filesMartin Kaiser1-1/+1
this should make Visual Studio pick up the generated include files from the build directory instead of the source directory (which may contain lefovers from an in-tree build) Change-Id: Ie3de4cdd85a2865e203118a42ab10f443372f03b Reviewed-on: https://code.wireshark.org/review/9129 Petri-Dish: Martin Kaiser <wireshark@kaiser.cx> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-31Remove unused RA_PYTHON_REGISTER and RA_PYTHON_HANDOFF.Stig Bjørlykke1-6/+0
Change-Id: Ia2bccb46be79a934dce447ec04dd81e12df9e131 Reviewed-on: https://code.wireshark.org/review/5021 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2014-10-15Typos in source code and in README.qtDario Lombardo1-2/+2
Change-Id: I5aef31ef7ad604352f6e108835f0e9c2d10cdf8a Reviewed-on: https://code.wireshark.org/review/4706 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-10-01Qt: Try to reduce the initialization time.Gerald Combs1-1/+1
Change-Id: I4f7e9abee9ebb7ecc862e2122bc47ec65252c3ec Reviewed-on: https://code.wireshark.org/review/4410 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-06-16More Python-bindings removal.Jeff Morriss1-3/+0
Change-Id: I4d82175781e65c73179f4c8e737a7900cb050bce Reviewed-on: https://code.wireshark.org/review/2283 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-10-05Fix the white-rectangle-at-startup artifact with the help of GammaRay[1].Gerald Combs1-1/+3
Make extra_split_ a member variable again. Make it and master_split_ full-on values. Set various parent/child relationships at startup so that each widget is associated with a layout (which appears to be the actual fix). Make the throttled startup delay huge so that it's easier to browse using GammaRay. [1] https://github.com/KDAB/GammaRay svn path=/trunk/; revision=52386
2013-09-10Restart the splash timer *after* the paint has completed, so that in situationsEvan Huus1-2/+3
when the paint takes a long time (for very large windows, or on older machines) that doesn't cause every single event to paint (which slows the whole thing to a crawl). Drop the splash timer to 15ms, since we're no longer counting paints this seems like a more appropriate value. The old value of 50ms would causing the splash to only paint once or twice during startup. svn path=/trunk/; revision=51914
2013-01-20Add Some missing text to translateAlexis La Goutte1-12/+12
svn path=/trunk/; revision=47182
2012-12-18Add an AccordionFrame class which can animate showing and hiding (exceptGerald Combs1-1/+1
when we detect a remote connection). Use it for the "go to" and search frames. Properly detect remote connections in the splash overlay. svn path=/trunk/; revision=46591
2012-11-05Check for a remote connection and change our update frequency accordingly,Gerald Combs1-1/+6
similar to the GTK version. svn path=/trunk/; revision=45941
2012-11-05Fix a variable name.Gerald Combs1-7/+7
svn path=/trunk/; revision=45939
2012-11-05Enable the splash screen blur on OSes other than OS X.Gerald Combs1-7/+0
svn path=/trunk/; revision=45935
2012-11-05Have InterfaceTree wait until the application is initialized to startGerald Combs1-10/+17
gathering statistics. This fixes behavior broken by the recent startup changes. Enable and disable the SplashOverlay delay via a #define. svn path=/trunk/; revision=45934
2012-11-05Comment out an include.Gerald Combs1-1/+1
svn path=/trunk/; revision=45933
2012-11-05Move the MWOverlay code into its own class, SplashOverlay. Use it toGerald Combs1-0/+205
implement a splash screen. svn path=/trunk/; revision=45912