123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- <!DOCTYPE html>
- <html dir="ltr">
- <head>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
- <title>Dev/SWT - XOWA</title>
- <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
- <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
-
- </head>
- <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
- <div id="mw-page-base" class="noprint"></div>
- <div id="mw-head-base" class="noprint"></div>
- <div id="content" class="mw-body">
- <h1 id="firstHeading" class="firstHeading"><span>Dev/SWT</span></h1>
- <div id="bodyContent" class="mw-body-content">
- <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
- <div id="contentSub"></div>
- <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
-
- <p>
- SWT is a core GUI library in XOWA.
- </p>
- <div id="toc" class="toc">
- <div id="toctitle" class="toctitle">
- <h2>
- Contents
- </h2>
- </div>
- <ul>
- <li class="toclevel-1 tocsection-1">
- <a href="#Overview"><span class="tocnumber">1</span> <span class="toctext">Overview</span></a>
- </li>
- <li class="toclevel-1 tocsection-2">
- <a href="#SWT_is_not_used_in_HTTP_Server_or_Android"><span class="tocnumber">2</span> <span class="toctext">SWT is not used in HTTP Server or Android</span></a>
- </li>
- <li class="toclevel-1 tocsection-3">
- <a href="#Packaging_details"><span class="tocnumber">3</span> <span class="toctext">Packaging details</span></a>
- <ul>
- <li class="toclevel-2 tocsection-4">
- <a href="#Platform-specific_jar"><span class="tocnumber">3.1</span> <span class="toctext">Platform-specific jar</span></a>
- </li>
- <li class="toclevel-2 tocsection-5">
- <a href="#Annual_update"><span class="tocnumber">3.2</span> <span class="toctext">Annual update</span></a>
- </li>
- </ul>
- </li>
- <li class="toclevel-1 tocsection-6">
- <a href="#SWT_version"><span class="tocnumber">4</span> <span class="toctext">SWT version</span></a>
- </li>
- </ul>
- </div>
- <h2>
- <span class="mw-headline" id="Overview">Overview</span>
- </h2>
- <p>
- The <a href="https://www.eclipse.org/swt/" rel="nofollow" class="external text">SWT library</a> is an open-source GUI library, used by the open-source Java IDE <a href="https://www.eclipse.org/eclipse/" rel="nofollow" class="external text">Eclipse</a>.
- </p>
- <p>
- XOWA uses SWT in its GUI application across the 3 major operating systems: Windows, Linux, Mac OS X. This means that SWT handles everything visual: including buttons, text boxes, windows, and of course, the HTML browser.
- </p>
- <h2>
- <span class="mw-headline" id="SWT_is_not_used_in_HTTP_Server_or_Android">SWT is not used in HTTP Server or Android</span>
- </h2>
- <p>
- If you are running XOWA as an HTTP server or are using the Android version, then SWT is not used.
- </p>
- <h2>
- <span class="mw-headline" id="Packaging_details">Packaging details</span>
- </h2>
- <h3>
- <span class="mw-headline" id="Platform-specific_jar">Platform-specific jar</span>
- </h3>
- <p>
- SWT comes packaged in an operating system-specific jar called swt.jar. XOWA includes this at /xowa/operating_system_name/swt/swt.jar. For example, on Linux 64-bit, this file is at /xowa/linux_64/swt/swt.jar
- </p>
- <h3>
- <span class="mw-headline" id="Annual_update">Annual update</span>
- </h3>
- <p>
- SWT does a major update annually in coordination with the Eclipse release. Typically, this occurs in June. There are also development snapshots that are released during the course of the year.
- </p>
- <p>
- XOWA will always update SWT shortly after the major version release. Depending on changes, it may also update after development snapshots.
- </p>
- <h2>
- <span class="mw-headline" id="SWT_version">SWT version</span>
- </h2>
- <p>
- XOWA v0.0.0 through v2.6.4 had been using SWT 4.2.
- </p>
- <p>
- XOWA had been stalled in using SWT 4.3 and SWT 4.4 due to the following SWT bug: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=429739" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=429739</a> This bug was corrected in SWT 4.5.
- </p>
- <p>
- As of v2.6.5, XOWA now uses SWT 4.5. As a result the following 2 bugs were also fixed:
- </p>
- <ul>
- <li>
- Printing was not available. See: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376358" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=376358</a>
- </li>
- <li>
- A very small minority of pages would not render the same as a browser. For example, <a href="https://en.wikisource.org/wiki/Lubbers_Don't_Live" rel="nofollow" class="external free">https://en.wikisource.org/wiki/Lubbers_Don't_Live</a>!
- </li>
- </ul>
-
- </div>
- </div>
- </div>
- <div id="mw-head" class="noprint">
- <div id="left-navigation">
- <div id="p-namespaces" class="vectorTabs">
- <h3>Namespaces</h3>
- <ul>
- <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
- </ul>
- </div>
- </div>
- </div>
- <div id='mw-panel' class='noprint'>
- <div id='p-logo'>
- <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
- </div>
- <div class="portal" id='xowa-portal-home'>
- <h3>XOWA</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
- <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
- <li><a href="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
- <li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
- <li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-started'>
- <h3>Getting started</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA's system requirements'>Requirements</a></li>
- <li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
- <li><a href="http://xowa.org/home/wiki/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
- <li><a href="http://xowa.org/home/wiki/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
- <li><a href="http://xowa.org/home/wiki/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-android'>
- <h3>Android</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
- <li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-help'>
- <h3>Help</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
- <li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
- <li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
- <li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
- </ul>
- </div>
- </div>
-
- <div class="portal" id='xowa-portal-blog'>
- <h3>Blog</h3>
- <div class="body">
- <ul>
- <li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-links'>
- <h3>Links</h3>
- <div class="body">
- <ul>
- <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
- <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
- <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
- </ul>
- </div>
- </div>
- <div class="portal" id='xowa-portal-donate'>
- <h3>Donate</h3>
- <div class="body">
- <ul>
- <li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
- <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
- <li><a href="http://xowa.org/home/wiki/Help/Donate.html" title="Support XOWA!">XOWA</a></li>
- </ul>
- </div>
- </div>
-
- </div>
- </body>
- </html>
|