Wireshark-commits: [Wireshark-commits] master 5a54d69: Don't just blindly tell application X11 to d
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 21 May 2015 07:28:04 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5a54d69b72e025169c47220a505118b0501b3cd6
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

5a54d69 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't just blindly tell application X11 to do anything.
    
    Determine what type of X11 (bundled from Apple, unbundled XQuartz) we
    should have and what type we do have.
    
    If we don't have any installed, don't tell X11 to do anything, as that
    just pops up a "where is X11?" dialog; that's information the user
    shouldn't need to tell the system if it is installed, and it's
    information for which the user shouldn't be asked if it's not installed
    - and if they're asked, they might answer incorrectly, leaving a system
    that doesn't properly launch X11 for Wireshark.  (See various
    ask.wireshark.org questions about this, for example.)
    
    Pick up some changes from newer versions of Inkscape, such as using
    unsigned char *, not using FSSpecs, and adding some comments, while
    we're at it.
    
    Change-Id: Ic9a2b25938c4eec5628d1c16c7db28aa0714203e
    Reviewed-on: https://code.wireshark.org/review/8559
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    Reviewed-on: https://code.wireshark.org/review/8561
    

Actions performed:

    from  90a1303   802.11: Remove duplicate RIC Descriptor display
    adds  5a54d69   Don't just blindly tell application X11 to do anything.


Summary of changes:
 packaging/macosx/ScriptExec/main.c |  183 +++++++++++++++++++++++++++---------
 1 file changed, 140 insertions(+), 43 deletions(-)