Wireshark-commits: [Wireshark-commits] master-1.10 f2d3c71: Don't just blindly tell application X11

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 21 May 2015 07:26:48 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f2d3c71b8571e98bec462f735959285b2730c5d3
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

f2d3c71 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>
    (cherry picked from commit 6380d81023e41ed29c6d7047ff5cddc6e7d695d5)
    Reviewed-on: https://code.wireshark.org/review/8560
    

Actions performed:

    from  7df61d2   [Automatic update for 2015-05-17]
    adds  f2d3c71   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(-)