Modify

Opened 6 years ago

Last modified 5 years ago

#347 assigned enhancement

Port to Python 3 and PyGObject

Reported by: István Váradi Owned by: István Váradi
Priority: major Milestone: Maintenance
Component: other Keywords:
Cc:

Description

Support for Python 2 will end in 2020, so it is time to upgrade for a more modern version. PyGObject is also available for Windows and CEF supports it, so the PyGTK support can be removed as well.

Attachments (0)

Change History (76)

comment:1 by István Váradi, 6 years ago

Owner: set to István Váradi
Status: newassigned

comment:2 by István Váradi <ivaradi@…>, 6 years ago

In 921:11f9fb4fb178:

Fixed ordering for classes that used cmp (re #347).

comment:3 by István Váradi <ivaradi@…>, 6 years ago

In 922:fcbc41076194:

Using integer division where necessary (re #347).

comment:4 by István Váradi <ivaradi@…>, 6 years ago

In 923:fe2a902681bc:

Eliminated calls to cmp() (re #347).

comment:5 by István Váradi <ivaradi@…>, 6 years ago

In 924:05c2338a2dc4:

Fixed CEF window ID detection for Linux (re #347).

comment:6 by István Váradi <ivaradi@…>, 6 years ago

In 925:7b6e501f28a1:

GI modules are required properly (re #347).

comment:7 by István Váradi <ivaradi@…>, 6 years ago

In 926:4cfa5825f5ab:

If the AppIndicator module is not available, it is ignored properly (re #347).

comment:8 by István Váradi <ivaradi@…>, 6 years ago

In 927:566a7479b869:

Update to Gtk 3 API changes (re #347).

comment:9 by István Váradi <ivaradi@…>, 6 years ago

In 928:3b16c095d166:

Unicode handling changes (re #347).

comment:10 by István Váradi <ivaradi@…>, 6 years ago

In 931:8286bd44662d:

Setting visual for CEF (re #347).

comment:11 by István Váradi <ivaradi@…>, 6 years ago

In 932:4da884d85526:

The delay code data generator uses Python 3 (re #347).

comment:12 by István Váradi <ivaradi@…>, 6 years ago

In 933:d165e47fda52:

The runner script uses Python 3 (re #347).

comment:13 by István Váradi <ivaradi@…>, 6 years ago

In 934:b37db35a1329:

New script to build the distribution under windows (re #347)

comment:14 by István Váradi <ivaradi@…>, 6 years ago

In 935:79a441954367:

Windows build changes in setup.py for the new environment and py2exe (re #347).

comment:15 by István Váradi <ivaradi@…>, 6 years ago

In 936:2d2c88cfc74a:

Programs are produced for the Windows subsysteam (re #347)

comment:16 by István Váradi <ivaradi@…>, 6 years ago

In 937:aef37697026f:

makeinst.sh calls NSIS as well (re #347)

comment:17 by István Váradi <ivaradi@…>, 6 years ago

In 938:f26db2a00d8a:

Updated the explicit DLL list in setup.py for Wine (re #347)

comment:18 by István Váradi <ivaradi@…>, 6 years ago

In 939:de728888b85e:

The Docker/Wine-based build infrastructure works for Python 3 (re #347)

comment:19 by István Váradi <ivaradi@…>, 6 years ago

In 940:6da6ea0248c7:

makesdist.sh uses Python 3 (re #347)

comment:20 by István Váradi <ivaradi@…>, 6 years ago

In 941:2c0ae842657e:

The version number indicates Python 3 (re #347)

comment:21 by István Váradi <ivaradi@…>, 6 years ago

In 942:26919855c6dd:

PyGObject is the default (re #347)

comment:22 by István Váradi <ivaradi@…>, 6 years ago

In 943:fc1c41b8f42b:

The signatures of some CEF callback functions are updated (re #347).

comment:23 by István Váradi <ivaradi@…>, 6 years ago

In 944:ebf5b88d3fd2:

Extra checks in the CEF code (re #347).

comment:24 by István Váradi <ivaradi@…>, 6 years ago

In 945:90f458a3bc2d:

ACARS CEF works on Windows (re #347)

comment:25 by István Váradi <ivaradi@…>, 6 years ago

In 946:c358a058574e:

CEF initialization is put after updating (re #347)

comment:26 by István Váradi <ivaradi@…>, 6 years ago

In 947:23ae37c287b6:

Proper manifest is added to the Windows EXEs (re #347)

comment:27 by István Váradi <ivaradi@…>, 6 years ago

In 948:483488585dd8:

Encoding handling is fixed during update (re #347).

comment:28 by István Váradi <ivaradi@…>, 6 years ago

In 949:235472e65d0f:

File names differing only in case are handled properly during update (re #347).

comment:29 by István Váradi <ivaradi@…>, 6 years ago

In 950:ff816fbdc044:

Files updated in the root directory of the logger are handled (re #347)

comment:30 by István Váradi <ivaradi@…>, 6 years ago

In 951:579389f54dae:

CEF initialization is put after updating (re #347)

comment:31 by István Váradi <ivaradi@…>, 6 years ago

In 952:9ebb7d1ef494:

File names differing only in case are handled properly during update (re #347).

comment:32 by István Váradi <ivaradi@…>, 6 years ago

In 953:ad2ac5a19fc2:

Files updated in the root directory of the logger are handled (re #347)

comment:33 by István Váradi <ivaradi@…>, 6 years ago

In 954:ad190b3a88c7:

Removed text2unicode (re #347).

comment:34 by István Váradi <ivaradi@…>, 6 years ago

In 955:d98b211d32fa:

Fixed pickling of PIREPs saved with Python 2 (re #347).

comment:35 by István Váradi <ivaradi@…>, 6 years ago

In 956:86878bb8d9f1:

The test simulator is run with Python 3 (re #347)

comment:36 by István Váradi <ivaradi@…>, 6 years ago

In 959:45c27c0c294f:

Add the certifi package and the certificates for HTTPS access (re #347)

comment:37 by István Váradi <ivaradi@…>, 6 years ago

In 960:8e3a82e27332:

Removed unnecessary latin-1 decoder from the FSUIPC handler (re #347)

comment:38 by István Váradi <ivaradi@…>, 6 years ago

In 961:fd26a8f057b1:

Made MCI access compatible with Python 3 (re #347)

comment:39 by István Váradi <ivaradi@…>, 6 years ago

In 962:a0b8491a5a12:

Use the certificates for HTTPS access (re #347).

comment:40 by István Váradi <ivaradi@…>, 6 years ago

In 965:63e290b4ba1e:

The heading of the delay code table appears properly (re #347)

comment:41 by István Váradi <ivaradi@…>, 6 years ago

In 967:843cc4f0f5d5:

Removed some superflouous stuff from the setup code (re #347)

comment:42 by István Váradi <ivaradi@…>, 6 years ago

In 968:1128dfecb282:

Changed some variable names generated by the 2to3 into more readable ones (re #347)

comment:43 by István Váradi <ivaradi@…>, 6 years ago

In 969:1e193fa64d1e:

Strings are returned as string by the FSUIPC simulator (re #347)

comment:44 by István Váradi <ivaradi@…>, 6 years ago

In 970:440095aa63dc:

Better border colour for the fault explanation frame (re #347)

comment:45 by István Váradi <ivaradi@…>, 6 years ago

In 971:3f37dc53abb3:

py2exe patch modified so that py2exe properly creates directory for module data files (re #347)

comment:46 by István Váradi <ivaradi@…>, 6 years ago

In 973:6b82c047497f:

Removed latin-1 decoder from the X-Plane adaptor (re #347)

comment:47 by István Váradi <ivaradi@…>, 6 years ago

In 974:84ed92b50949:

Added TODO items (re #347)

comment:48 by István Váradi <ivaradi@…>, 6 years ago

In 975:2e3edeb1f47d:

Description of how to install Windows 10 and Docker (re #347)

comment:49 by István Váradi <ivaradi@…>, 6 years ago

In 976:69bc5891e14d:

Reworked Windows Docker image and MSYS building (re #347)

comment:50 by István Váradi <ivaradi@…>, 6 years ago

In 977:68c0592b4915:

The certificates are set for HTTPS access during update (re #347)

comment:51 by István Váradi <ivaradi@…>, 5 years ago

In 981:3fa8c08f4b8f:

Reduced the size of the package a bit (re #347)

comment:52 by István Váradi <ivaradi@…>, 5 years ago

In 982:5834a65a8527:

The buttons on the flight list windows handle underline (re #347).

comment:53 by István Váradi <ivaradi@…>, 5 years ago

In 983:c8bdc51e9f79:

The cell data function of the flight percentage column in the accepted flights window expects the correct number of arguments (re #347).

comment:54 by István Váradi <ivaradi@…>, 5 years ago

In 984:499ea82e9b0d:

New TODO item about the PIREP viewer (re #347).

comment:55 by István Váradi <ivaradi@…>, 5 years ago

In 985:f5569c17e934:

The sender of a message is visible in the PIREP viewer (re #347).

comment:56 by István Váradi <ivaradi@…>, 5 years ago

In 988:0ba32f747163:

The fault display in the explanation widget is of the correct size initially as well (re #347).

comment:57 by István Váradi <ivaradi@…>, 5 years ago

In 989:d60ebbdef36c:

The width of the fuel page has been significantly reduced (re #347).

comment:58 by István Váradi <ivaradi@…>, 5 years ago

In 990:7ba1c9864bbb:

Further reduced the window size by making the registration page smaller (re #347)

comment:59 by István Váradi <ivaradi@…>, 5 years ago

In 991:7cbd8b240083:

Removed some TODO items (re #347).

comment:60 by István Váradi <ivaradi@…>, 5 years ago

In 992:6dcd4236af57:

The size of the flight wizard is computed earlier to avoid resizing on startup (re #347)

comment:61 by István Váradi <ivaradi@…>, 5 years ago

In 994:e71fbf2ee978:

Removed conditions on pygobject (re #347)

comment:62 by István Váradi <ivaradi@…>, 5 years ago

In 995:ad90726834d4:

Using 'GObject' instead of 'gobject' (re #347)

comment:63 by István Váradi <ivaradi@…>, 5 years ago

In 996:8035d80d5feb:

Using 'Gtk' instead of 'gtk' (re #347)

comment:64 by István Váradi <ivaradi@…>, 5 years ago

In 997:57814da33b6a:

Using 'Gdk' instead of 'gdk' (re #347)

comment:65 by István Váradi <ivaradi@…>, 5 years ago

In 998:6fda08fc895b:

Using 'GdkPixbuf' instead of 'gdkPixbuf', 'AppIndicator3' instead of 'appindicator' and 'Pango' instead of 'pango' (re #347)

comment:66 by István Váradi <ivaradi@…>, 5 years ago

In 999:e096a5638b87:

Removed Gtk 2/3 constant definitions (re #347)

comment:67 by István Váradi <ivaradi@…>, 5 years ago

In 1001:e5cde583f829:

The booking frame is now constructed properly (re #347)

comment:68 by István Váradi <ivaradi@…>, 5 years ago

In 1002:5e741be6b47c:

The printing of a briefing works with Gtk 3 (re #347)

comment:69 by István Váradi <ivaradi@…>, 5 years ago

In 1003:21efc7bbbbc2:

The fuel tank levels can be changed with the mouse wheel (re #347).

comment:70 by István Váradi <ivaradi@…>, 5 years ago

In 1004:09bc17c7f94e:

Removed the xxx_todo stuff generated by 2to3 (re #347).

comment:71 by István Váradi <ivaradi@…>, 5 years ago

In 1005:5ba38c0f2ab9:

The monitor window has enough space for the NAV1 and NAV2 frequencies (re #347).

comment:72 by István Váradi <ivaradi@…>, 5 years ago

In 1006:9a97fc27f9d8:

Fonts are not scaled with the DPI when producing the briefing (re #347).

comment:73 by István Váradi <ivaradi@…>, 5 years ago

In 1008:5a311694b5cb:

If the number of fuel tanks is less than 5, the old-style, side-by-side display is used (re #347).

comment:74 by István Váradi <ivaradi@…>, 5 years ago

In 1012:bad9cfc4bfc3:

Fixed date selection in the booking window (re #347).

comment:75 by István Váradi <ivaradi@…>, 5 years ago

In 1013:84d79c1cab91:

The unavailable types in the booking window are not checked (re #347)

comment:76 by István Váradi <ivaradi@…>, 5 years ago

In 1015:a6e03fae41e0:

Adapted to the new interface of PyUIPC using bytes for strings (re #347)

Modify Ticket

Action
as assigned The owner will remain István Váradi.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.