PySWT.DownloadAndInstall History

Hide minor edits - Show changes to markup

November 06, 2005, at 12:02 AM by 69.86.99.69
Changed lines 48-52 from:
  org/eclipse/swt/widgets/Display.h: commet out static jint fixedClassInitProc; static jint fixedMapProc; 
  org/eclipse/swt/graphics/Device.h: commet out static jint XErrorProc?; static jint XIOErrorProc?; 
  org/eclipse/swt/browser/Browser.h: commet out static jint eventProc; 

to:
  org/eclipse/swt/widgets/Display.h: comment out "static jint fixedClassInitProc; static jint fixedMapProc;" 
  org/eclipse/swt/graphics/Device.h: comment out "static jint XErrorProc?; static jint XIOErrorProc?;"
  org/eclipse/swt/browser/Browser.h: comment out "static jint eventProc; "

September 02, 2005, at 04:57 PM by 128.122.20.208
Changed lines 4-5 from:

to:
  • (binary files for windows): pyswt-0.0.3-win-bin.zip

August 25, 2005, at 11:55 PM by 69.86.99.69
Changed line 2 from:
  • New Release 0.0.3:
to:
  • New Release 0.0.3: (including jsip, automatically generate all source codes)
August 25, 2005, at 11:54 PM by 69.86.99.69
Changed lines 2-4 from:

to:
  • New Release 0.0.3:
    • (source files): pyswt-0.0.3.tgz

August 03, 2005, at 03:44 PM by 208.217.164.134
Changed lines 47-48 from:

to:
  org/eclipse/swt/browser/Browser.h: commet out static jint eventProc; 

August 03, 2005, at 11:46 AM by 208.217.164.134
Changed line 41 from:
  • Update: for SWT 3.1, you need patch the following files:
to:
  • Update: for SWT 3.1, you need patch the following java source files:
Changed lines 44-48 from:

to:

and the following header files:

  org/eclipse/swt/widgets/Display.h: commet out static jint fixedClassInitProc; static jint fixedMapProc; 
  org/eclipse/swt/graphics/Device.h: commet out static jint XErrorProc?; static jint XIOErrorProc?; 

August 03, 2005, at 11:07 AM by 208.217.164.134
Changed lines 41-44 from:

to:
  • Update: for SWT 3.1, you need patch the following files:
  org/eclipse/swt/browser/Browser.java: change "static String error(int)" to "static String serror(int)"
  org/eclipse/swt/browser/Download.java, HelperAppLauncherDialog?.java, PromptService?.java, WindowCreator?.java: replace Browser.error by Browser.serror

June 30, 2005, at 01:23 AM by 69.86.99.69
Changed lines 9-10 from:
  • old releases: pyswt-0.0.1.tgz
to:
  • old releases:
    • pyswt-0.0.1.tgz
June 30, 2005, at 01:23 AM by 69.86.99.69
Deleted line 8:

June 30, 2005, at 01:23 AM by 69.86.99.69
Changed lines 2-5 from:
  • Binary files (for linux+gtk): pyswt-0.0.2-linux-bin.tgz
  • Binary files (for windows platform): pyswt-0.0.2-win-bin.tgz
  • source files (for linux+gtk): pyswt-0.0.2-linux-src.tgz
  • source files (for windows/MINGW): pyswt-0.0.2-win-src.tgz
to:

  • Binary files
    • (for linux+gtk): pyswt-0.0.2-linux-bin.tgz
    • (for windows platform): pyswt-0.0.2-win-bin.tgz
  • source files
    • (for linux+gtk): pyswt-0.0.2-linux-src.tgz
    • (for windows/MINGW): pyswt-0.0.2-win-src.tgz

June 30, 2005, at 01:20 AM by 69.86.99.69
Added line 2:
  • Binary files (for linux+gtk): pyswt-0.0.2-linux-bin.tgz
June 30, 2005, at 12:40 AM by 69.86.99.69
Added lines 1-6:

Downloads

  • Binary files (for windows platform): pyswt-0.0.2-win-bin.tgz
  • source files (for linux+gtk): pyswt-0.0.2-linux-src.tgz
  • source files (for windows/MINGW): pyswt-0.0.2-win-src.tgz
  • old releases: pyswt-0.0.1.tgz

June 30, 2005, at 12:36 AM by 69.86.99.69
Changed line 15 from:
  • If you don't want to use browser control in SWT, then remove org/eclipse/swt/browser/, otherwise you need change error() in class Browser to serror since class Browser cannot have an same name static method with its parent class Widget. You need patch those java files:
to:
  • If you don't want to use browser control in SWT, then remove org/eclipse/swt/browser/, otherwise you need change error() in class Browser to serror() since class Browser cannot have an same name static method with its parent class Widget. You need patch those java files:
June 30, 2005, at 12:36 AM by 69.86.99.69
Changed lines 15-19 from:
  • If you don't want to use browser control in SWT, then remove org/eclipse/swt/browser/, otherwise you need patch those java files:
    • since Browser cannot have an same name static method with its parent class Widget. you need change error to serror in
      • org/eclipse/swt/browser/Browser.java:837,
      • org/eclipse/swt/browser/PromptService?.java:99,100,108,109,115,116,122,123,129,130,
      • org/eclipse/swt/browser/WindowCreator?.java:97,98,103,104,111,112
to:
  • If you don't want to use browser control in SWT, then remove org/eclipse/swt/browser/, otherwise you need change error() in class Browser to serror since class Browser cannot have an same name static method with its parent class Widget. You need patch those java files:
    • org/eclipse/swt/browser/Browser.java:837,
    • org/eclipse/swt/browser/PromptService?.java:99,100,108,109,115,116,122,123,129,130,
    • org/eclipse/swt/browser/WindowCreator?.java:97,98,103,104,111,112
June 29, 2005, at 01:04 AM by 69.86.99.69
Changed lines 13-14 from:
  • org/eclipse/swt/custom/TextCursor?.java:486, change void to boolean, line:492, change return to return false;, line:495, add return true;
  • If you don't want to use AWT inside SWT, then remove org/eclipse/swt/awt
to:
  • org/eclipse/swt/custom/TableCursor?.java:479, change void to boolean, line:485, change return; to return false;, line:487, add return true;
  • If you don't want to use AWT inside SWT, then remove org/eclipse/swt/awt.
Changed lines 17-20 from:
  • org/eclipse/swt/browser/Browser.java:982,
  • org/eclipse/swt/browser/Download.java:278,279, org/eclipse/swt/browser/HelpAppLauncher?.java:151,159,160,
  • org/eclipse/swt/browser/PromptService?.java:100,101,109,110,116,116,123,124,130,131,
  • org/eclipse/swt/browser/WindowCreator?.java:98,99,104,105,112,113
to:
  • org/eclipse/swt/browser/Browser.java:837,
  • org/eclipse/swt/browser/PromptService?.java:99,100,108,109,115,116,122,123,129,130,
  • org/eclipse/swt/browser/WindowCreator?.java:97,98,103,104,111,112
Added line 22:
  1. A little patch on generate header file: org/eclipse/swt/SWT.h:75, comment out the definition of constant NULL in class SWT.
Changed lines 27-31 from:
  1. Copy the following libraries:
    • libswt-gtk.so, libswt.so, and add the directory into LD_LIBRARY_PATH
    • pyswt.so into python site-package, or add it into PYTHONPATH
  2. Test PySWT

to:
  1. Set environment variables for SWT:
    • intall libswt-*.so (from swt-3.0.2-gtk-linux.zip ) and libswt.so (compiled by GCJ from SWT source files) into your system library path or put them in some directory and add this directory into LD_LIBRARY_PATH.
    • intall pyswt.so into python site-package, or add its directory into PYTHONPATH so that python can find it.
  2. Test PySWT, under test, there are two simple python test script files, test.py and jzip.py, jzip.py is converted from my Java SWT version JavaZip? program in a hurry, still not finished yet. but you can see Menu, ToolBar?, Table already.

June 29, 2005, at 12:31 AM by 69.86.99.69
Changed lines 4-7 from:
  1. GCC/GCJ
  2. Python
  3. SIP

to:
  1. GCC/GCJ (I used GCC 3.4.3)
  2. Python (I used Python 2.4)
  3. SIP (I used SIP 4.2.1)

June 29, 2005, at 12:29 AM by 69.86.99.69
Changed lines 1-2 from:

For unix/linux platform

to:

For unix/linux platform with SWT 3.0.2

Changed lines 10-11 from:
  1. Download SWT source codes and native binary libraries swt-3.1-gtk-linux-x86.zip from www.eclipse.org.
  2. Unzip swt-3.1-gtk-linux-x86.zip first, then unzip src.zip into ~/pyswt/jswt. move all "*.so" file into another directory, say, ~pyswt/lib since we need them to run SWT.
to:
  1. Download SWT source codes and native binary libraries swt-3.0.2-gtk-linux.zip from www.eclipse.org.
  2. Unzip swt-3.0.2-gtk-linux.zip first, then unzip swtsrc.zip, swt-pisrc.zip, swt-mozillasrc.zip into ~/pyswt/jswt. move all "*.so" file into another directory, say, ~pyswt/lib since we need them to run SWT.
Changed lines 22-23 from:
  1. Type "make headers" under ~/pyswt/jswt to generate C++ header files from SWT using GCJ, GCJH. (It will stop at some files for some reason, just tyep "make headers" again and again until you see nothing to be done with header)
  2. Install SIP if you don't have.
to:
  1. Type "make headers" under ~/pyswt/jswt to generate C++ header files from SWT using GCJ, GCJH. (It will stop at some files for some reason, just type "make headers" again and again until you see nothing to be done with header)
  2. Now we have native compiled SWT and neccessary header files for C++ wrapping. Install SIP if you don't have.
Added line 25:
  1. Set CLASSPATH to swt directory, here it is: export CLASSPATH=$HOME/pyswt/jswt:. under bash
June 29, 2005, at 12:19 AM by 69.86.99.69
Changed line 22 from:
  1. Type "make headers" under ~/pyswt/jswt to generate C++ header files from SWT using GCJ, GCJH. (It will stop at some files for some reason, just tyep "make headers" again and again until you say "nothing to be done with header")
to:
  1. Type "make headers" under ~/pyswt/jswt to generate C++ header files from SWT using GCJ, GCJH. (It will stop at some files for some reason, just tyep "make headers" again and again until you see nothing to be done with header)
June 29, 2005, at 12:18 AM by 69.86.99.69
Changed line 11 from:
  1. Unzip swt-3.1-gtk-linux-x86.zip first, then unzip src.zip into ~/pyswt/jswt
to:
  1. Unzip swt-3.1-gtk-linux-x86.zip first, then unzip src.zip into ~/pyswt/jswt. move all "*.so" file into another directory, say, ~pyswt/lib since we need them to run SWT.
Changed line 22 from:
  1. Type "make headers" under ~/pyswt/jswt to generate C++ header files from SWT using GCJ, GCJH.
to:
  1. Type "make headers" under ~/pyswt/jswt to generate C++ header files from SWT using GCJ, GCJH. (It will stop at some files for some reason, just tyep "make headers" again and again until you say "nothing to be done with header")
June 29, 2005, at 12:14 AM by 69.86.99.69
Changed line 21 from:
  1. Type "make shared" under ~/pyswt/jswt to compile SWT into native shared libraries libswt.so using GCJ.
to:
  1. Type "make shared" under ~/pyswt/jswt to compile SWT into native shared libraries libswt.so using GCJ.
Changed line 25 from:
  1. Type "make" under ~/pyswt/src to Compile and build pyswt.so.
to:
  1. Type "make" under ~/pyswt/src to Compile and build pyswt.so.
June 29, 2005, at 12:12 AM by 69.86.99.69
Changed line 13 from:
to:
  • org/eclipse/swt/custom/TextCursor?.java:486, change void to boolean, line:492, change return to return false;, line:495, add return true;
Changed lines 16-18 from:
  • org/eclipse/swt/browser/Browser.java:982, change error to serror, since Browser cannot have an same name static method with its parent class Widget.
  • then you also need change error to serror in org/eclipse/swt/browser/Download.java:278,279, org/eclipse/swt/browser/HelpAppLauncher?.java:151,159,160, org/eclipse/swt/browser/PromptService?.java:100,101,109,110,116,116,123,124,130,131

org/eclipse/swt/browser/WindowCreator?.java:98,99,104,105,112,113

to:
  • since Browser cannot have an same name static method with its parent class Widget. you need change error to serror in
    • org/eclipse/swt/browser/Browser.java:982,
    • org/eclipse/swt/browser/Download.java:278,279, org/eclipse/swt/browser/HelpAppLauncher?.java:151,159,160,
    • org/eclipse/swt/browser/PromptService?.java:100,101,109,110,116,116,123,124,130,131,
    • org/eclipse/swt/browser/WindowCreator?.java:98,99,104,105,112,113
June 29, 2005, at 12:04 AM by 69.86.99.69
Added lines 16-18:
  • org/eclipse/swt/browser/Browser.java:982, change error to serror, since Browser cannot have an same name static method with its parent class Widget.
  • then you also need change error to serror in org/eclipse/swt/browser/Download.java:278,279, org/eclipse/swt/browser/HelpAppLauncher?.java:151,159,160, org/eclipse/swt/browser/PromptService?.java:100,101,109,110,116,116,123,124,130,131

org/eclipse/swt/browser/WindowCreator?.java:98,99,104,105,112,113

June 28, 2005, at 11:53 PM by 69.86.99.69
Changed line 16 from:
  1. Type "make shared" under ~/pyswt/jswt to compile SWT into native shared libraries libswt.so using GCJ.
to:
  1. Type "make shared" under ~/pyswt/jswt to compile SWT into native shared libraries libswt.so using GCJ.
Changed line 20 from:
  1. Type "make" under ~/pyswt/src to Compile and build pyswt.so.
to:
  1. Type "make" under ~/pyswt/src to Compile and build pyswt.so.
June 28, 2005, at 11:52 PM by 69.86.99.69
Changed line 11 from:
  1. Unzip swt-3.1-gtk-linux-x86.zip first, then unzip swtsrc.zip, swt-pisrc.zip, swt-mozilla-src.zip into ~/pyswt/jswt
to:
  1. Unzip swt-3.1-gtk-linux-x86.zip first, then unzip src.zip into ~/pyswt/jswt
Changed line 17 from:
  1. Type "make headers" under ~/pyswt/jswt to generate C++ header files from SWT using GCJ, GCJH.
to:
  1. Type "make headers" under ~/pyswt/jswt to generate C++ header files from SWT using GCJ, GCJH.
June 28, 2005, at 11:37 PM by 69.86.99.69
Changed lines 10-11 from:
  1. Download SWT source codes and native binary libraries from www.eclipse.org.
  2. Unzip swt-3.0.2.zip first, then unzip swtsrc.zip, swt-pisrc.zip, swt-mozilla-src.zip into ~/pyswt/jswt
to:
  1. Download SWT source codes and native binary libraries swt-3.1-gtk-linux-x86.zip from www.eclipse.org.
  2. Unzip swt-3.1-gtk-linux-x86.zip first, then unzip swtsrc.zip, swt-pisrc.zip, swt-mozilla-src.zip into ~/pyswt/jswt
June 28, 2005, at 11:03 PM by 69.86.99.69
Changed lines 32-33 from:
  • Procedure:

( will be available soon)

to:
  • Procedure: (will be available soon)
June 28, 2005, at 11:02 PM by 69.86.99.69
Changed line 16 from:
  1. Type "make shared" under ~/pyswt/jswt to compile SWT into native shared libraries using GCJ.
to:
  1. Type "make shared" under ~/pyswt/jswt to compile SWT into native shared libraries libswt.so using GCJ.
Changed lines 20-23 from:
  1. Type "make" under ~/pyswt/src to Compile and build PySWT.
to:
  1. Type "make" under ~/pyswt/src to Compile and build pyswt.so.
  2. Copy the following libraries:
    • libswt-gtk.so, libswt.so, and add the directory into LD_LIBRARY_PATH
    • pyswt.so into python site-package, or add it into PYTHONPATH
June 28, 2005, at 10:59 PM by 69.86.99.69
Changed line 19 from:
  1. (Ignored for now since I have included the generated source codes in this release)Generate SIP C++ wrapper source files for SWT
to:
  1. (Ignored for now since I have included the generated source codes in this release) Generate SIP C++ wrapper source files for SWT
June 28, 2005, at 10:57 PM by 69.86.99.69
Changed lines 14-19 from:
  • org/eclipse/swt/browser/browser.java
  1. Compile SWT to shared libraries using GCJ.
  2. Generate C++ header files from SWT
  3. Install SIP
  4. Generate SIP C++ wrapper source files for SWT
  5. Compile and build PySWT.
to:
  • If you don't want to use AWT inside SWT, then remove org/eclipse/swt/awt
  • If you don't want to use browser control in SWT, then remove org/eclipse/swt/browser/, otherwise you need patch those java files:
  1. Type "make shared" under ~/pyswt/jswt to compile SWT into native shared libraries using GCJ.
  2. Type "make headers" under ~/pyswt/jswt to generate C++ header files from SWT using GCJ, GCJH.
  3. Install SIP if you don't have.
  4. (Ignored for now since I have included the generated source codes in this release)Generate SIP C++ wrapper source files for SWT
  5. Type "make" under ~/pyswt/src to Compile and build PySWT.
June 28, 2005, at 10:51 PM by 69.86.99.69
Changed lines 9-10 from:
  1. Download SWT source codes and native binary supporting libraries from
  2. Compile SWT to shared libraries using GCJ
to:
  1. Download pyswt-0.0.1.tgz and unzip it into some directory, say, ~/pyswt.
  2. Download SWT source codes and native binary libraries from www.eclipse.org.
  3. Unzip swt-3.0.2.zip first, then unzip swtsrc.zip, swt-pisrc.zip, swt-mozilla-src.zip into ~/pyswt/jswt
  4. Patch the following java files:
    • org/eclipse/swt/custom/TextCursor?.java
    • org/eclipse/swt/browser/browser.java
  5. Compile SWT to shared libraries using GCJ.
June 28, 2005, at 10:42 PM by 69.86.99.69
Changed line 3 from:
  • requirements:
to:
  • Requirements:
Added line 7:

June 28, 2005, at 10:41 PM by 69.86.99.69
Changed lines 4-6 from:
  1. GCC/GCJ
  2. Python
  3. SIP
to:
  1. GCC/GCJ
  2. Python
  3. SIP
Changed line 8 from:
  1. Download SWT source codes and native binary supporting libraries
to:
  1. Download SWT source codes and native binary supporting libraries from
June 28, 2005, at 10:39 PM by 69.86.99.69
Changed lines 3-7 from:

to:
  • requirements:
    1. GCC/GCJ
    2. Python
    3. SIP
  • Procedure:
Added lines 18-23:
  • requirements:
    1. GCC/GCJ for mingw
    2. Python
    3. SIP
  • Procedure:

( will be available soon)

June 28, 2005, at 10:36 PM by 69.86.99.69
Changed lines 1-3 from:
  • For unix/linux platform
to:

For unix/linux platform

Changed lines 10-13 from:
  1. Test PySWT
to:
  1. Test PySWT

For Windows platform (using GCJ for mingw)

June 28, 2005, at 10:34 PM by 69.86.99.69
Changed lines 2-8 from:
  • Download SWT source codes and native binary supporting libraries
  • Compile SWT to shared libraries using GCJ
  • Generate C++ header files from SWT
  • Install SIP
  • Generate SIP C++ wrapper source files for SWT
  • Compile and build PySWT.
  • Test PySWT
to:
  1. Download SWT source codes and native binary supporting libraries
  2. Compile SWT to shared libraries using GCJ
  3. Generate C++ header files from SWT
  4. Install SIP
  5. Generate SIP C++ wrapper source files for SWT
  6. Compile and build PySWT.
  7. Test PySWT
June 28, 2005, at 10:33 PM by 69.86.99.69
Added lines 1-8:
  • For unix/linux platform
    • Download SWT source codes and native binary supporting libraries
    • Compile SWT to shared libraries using GCJ
    • Generate C++ header files from SWT
    • Install SIP
    • Generate SIP C++ wrapper source files for SWT
    • Compile and build PySWT.
    • Test PySWT
Valid XHTML 1.0! Valid CSS!