Changeset 185
- Timestamp:
- Nov 21, 2016, 2:33:11 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
diffs/psi_0.16.diff
r184 r185 1 1 diff -Naur -x Makefile -x Makefile.initvars -x '*.dll' -x 'conf*.pri' -x '*.zip' -x '*.exe' -x '*.map' -x '*.obj' -x '*.moc' -x '*.rcc' -x iris.prl -x irisnet.prl -x '*.sym' -x .ui -x '*.bak' -x '*.lib' -x '*.rsp' -x 'moc_*.cpp' -x Info.plist -x conf.log -x .qmake.cache -x build.sh -x '*.pem' vendor/current/configure trunk/configure 2 --- vendor/current/configure 2016-05-02 17:29:30.000000000 +0200 3 +++ trunk/configure 2016-05-02 17:28:48.000000000 +0200 4 @@ -1090,8 +1090,8 @@ 2 --- vendor/current/configure 2016-11-17 17:03:00.000000000 +0100 3 +++ trunk/configure 2016-11-18 11:32:54.000000000 +0100 4 @@ -393,7 +393,7 @@ 5 if [ "$QC_VERBOSE" = "Y" ]; then 6 echo "running: $cmd" 7 fi 8 - vout=`/bin/sh -c "$cmd" 2>&1` 9 + vout=`sh -c "$cmd" 2>&1` 10 case "${vout}" in 11 ?.?.?) 12 vmaj="${vout%%.*}" 13 @@ -1137,8 +1137,8 @@ 5 14 QString shortname() const { return "qjdns"; } 6 15 bool exec() … … 13 22 return true; 14 23 #else 15 @@ -12 07,13 +1207,13 @@24 @@ -1254,13 +1254,13 @@ 16 25 qc_qdbus(Conf *c) : ConfObj(c) {} 17 26 QString name() const { return "QDBUS"; } … … 30 39 #else 31 40 if (!conf->getenv("QC_DISABLE_qdbus").isEmpty()) 32 @@ -2 225,18 +2225,36 @@41 @@ -2307,18 +2307,36 @@ 33 42 QString path = qc_getenv("PATH"); 34 43 if(!path.isEmpty()) … … 69 78 { 70 79 QString out; 71 @@ -2 250,8 +2268,8 @@80 @@ -2332,8 +2350,8 @@ 72 81 break; 73 82 } … … 80 89 { 81 90 fi = QFileInfo(list[n] + '/' + prog + ".exe"); 82 @@ -2 268,7 +2286,7 @@91 @@ -2350,7 +2368,7 @@ 83 92 84 93 QString qc_findself(const QString &argv0) … … 89 98 #else 90 99 if(argv0.contains('/')) 91 @@ -24 14,7 +2432,7 @@100 @@ -2496,7 +2514,7 @@ 92 101 searchStart = true; 93 102 buf.clear(); … … 98 107 escaped = true; 99 108 continue; // just add next symbol 100 @@ -2 488,7 +2506,7 @@109 @@ -2570,7 +2588,7 @@ 101 110 // Using Windows-style '\\\\' can leads strange compilation error with MSYS which uses 102 111 // unix style. … … 107 116 #endif 108 117 // trim trailing slashes 109 @@ -2 894,6 +2912,9 @@118 @@ -2976,6 +2994,9 @@ 110 119 QStringList dirs; 111 120 dirs += "/usr/local/include"; … … 117 126 { 118 127 if(checkHeader(*it, h)) 119 @@ - 2936,6 +2957,19 @@128 @@ -3018,6 +3039,19 @@ 120 129 *lib = "/usr/local/lib"; 121 130 return true; … … 138 147 139 148 diff -Naur -x Makefile -x Makefile.initvars -x '*.dll' -x 'conf*.pri' -x '*.zip' -x '*.exe' -x '*.map' -x '*.obj' -x '*.moc' -x '*.rcc' -x iris.prl -x irisnet.prl -x '*.sym' -x .ui -x '*.bak' -x '*.lib' -x '*.rsp' -x 'moc_*.cpp' -x Info.plist -x conf.log -x .qmake.cache -x build.sh -x '*.pem' vendor/current/iris/configure trunk/iris/configure 140 --- vendor/current/iris/configure 201 4-04-17 19:29:12.000000000 +0200141 +++ trunk/iris/configure 201 4-04-23 10:36:10.000000000 +0200142 @@ -1 018,8 +1018,8 @@149 --- vendor/current/iris/configure 2016-11-17 17:03:20.000000000 +0100 150 +++ trunk/iris/configure 2016-11-18 10:17:42.000000000 +0100 151 @@ -1112,8 +1112,8 @@ 143 152 QString shortname() const { return "qjdns"; } 144 153 bool exec() 145 154 { 146 -#if defined Q_OS_WIN || Q_OS_MAC155 -#if defined Q_OS_WIN || defined Q_OS_MAC 147 156 - // HACK: on Windows and Mac OS X, always use psi's bundled qjdns 148 157 +#if defined Q_OS_WIN || defined Q_OS_MAC || defined Q_OS_OS2 … … 1022 1031 QString XdgCacheHome = QString::fromLocal8Bit(getenv("XDG_CACHE_HOME")); 1023 1032 diff -Naur -x Makefile -x Makefile.initvars -x '*.dll' -x 'conf*.pri' -x '*.zip' -x '*.exe' -x '*.map' -x '*.obj' -x '*.moc' -x '*.rcc' -x iris.prl -x irisnet.prl -x '*.sym' -x .ui -x '*.bak' -x '*.lib' -x '*.rsp' -x 'moc_*.cpp' -x Info.plist -x conf.log -x .qmake.cache -x build.sh -x '*.pem' vendor/current/src/common.cpp trunk/src/common.cpp 1024 --- vendor/current/src/common.cpp 2016- 05-02 17:20:46.000000000 +02001025 +++ trunk/src/common.cpp 2016- 05-02 17:54:10.000000000 +02001033 --- vendor/current/src/common.cpp 2016-11-17 17:03:02.000000000 +0100 1034 +++ trunk/src/common.cpp 2016-11-18 10:32:32.000000000 +0100 1026 1035 @@ -285,7 +285,7 @@ 1027 1036 return; … … 1035 1044 diff -Naur -x Makefile -x Makefile.initvars -x '*.dll' -x 'conf*.pri' -x '*.zip' -x '*.exe' -x '*.map' -x '*.obj' -x '*.moc' -x '*.rcc' -x iris.prl -x irisnet.prl -x '*.sym' -x .ui -x '*.bak' -x '*.lib' -x '*.rsp' -x 'moc_*.cpp' -x Info.plist -x conf.log -x .qmake.cache -x build.sh -x '*.pem' vendor/current/src/config.h trunk/src/config.h 1036 1045 --- vendor/current/src/config.h 1970-01-01 01:00:00.000000000 +0100 1037 +++ trunk/src/config.h 2016- 04-13 16:30:38.000000000 +02001046 +++ trunk/src/config.h 2016-11-18 11:34:06.000000000 +0100 1038 1047 @@ -0,0 +1,3 @@ 1039 1048 +#define PSI_LIBDIR "/usr/local/lib/psi" 1040 1049 +#define PSI_DATADIR "/usr/local/share/psi" 1041 +#define PSI_VERSION "0.16-dev-2016 0413"1050 +#define PSI_VERSION "0.16-dev-20161118" 1042 1051 diff -Naur -x Makefile -x Makefile.initvars -x '*.dll' -x 'conf*.pri' -x '*.zip' -x '*.exe' -x '*.map' -x '*.obj' -x '*.moc' -x '*.rcc' -x iris.prl -x irisnet.prl -x '*.sym' -x .ui -x '*.bak' -x '*.lib' -x '*.rsp' -x 'moc_*.cpp' -x Info.plist -x conf.log -x .qmake.cache -x build.sh -x '*.pem' vendor/current/src/homedirmigration.cpp trunk/src/homedirmigration.cpp 1043 1052 --- vendor/current/src/homedirmigration.cpp 2016-04-08 16:55:16.000000000 +0200 … … 1218 1227 +} 1219 1228 diff -Naur -x Makefile -x Makefile.initvars -x '*.dll' -x 'conf*.pri' -x '*.zip' -x '*.exe' -x '*.map' -x '*.obj' -x '*.moc' -x '*.rcc' -x iris.prl -x irisnet.prl -x '*.sym' -x .ui -x '*.bak' -x '*.lib' -x '*.rsp' -x 'moc_*.cpp' -x Info.plist -x conf.log -x .qmake.cache -x build.sh -x '*.pem' vendor/current/src/main.cpp trunk/src/main.cpp 1220 --- vendor/current/src/main.cpp 2016- 04-08 16:55:16.000000000 +02001221 +++ trunk/src/main.cpp 2016- 04-13 15:22:48.000000000 +02001222 @@ -4 86,7 +486,7 @@1229 --- vendor/current/src/main.cpp 2016-11-17 17:03:02.000000000 +0100 1230 +++ trunk/src/main.cpp 2016-11-18 11:09:52.000000000 +0100 1231 @@ -464,7 +464,7 @@ 1223 1232 QByteArray val = qgetenv("QT_PLUGIN_PATH"); 1224 1233 if(!val.isEmpty()) … … 1256 1265 $$PWD/networkaccessmanager.h \ 1257 1266 diff -Naur -x Makefile -x Makefile.initvars -x '*.dll' -x 'conf*.pri' -x '*.zip' -x '*.exe' -x '*.map' -x '*.obj' -x '*.moc' -x '*.rcc' -x iris.prl -x irisnet.prl -x '*.sym' -x .ui -x '*.bak' -x '*.lib' -x '*.rsp' -x 'moc_*.cpp' -x Info.plist -x conf.log -x .qmake.cache -x build.sh -x '*.pem' vendor/current/src/src.pro trunk/src/src.pro 1258 --- vendor/current/src/src.pro 2016- 04-08 16:55:18.000000000 +02001259 +++ trunk/src/src.pro 2016- 04-13 15:54:12.000000000 +02001260 @@ -15 3,6 +153,9 @@1261 # buggy MSVC workaround1262 win32-msvc|win32-msvc.net|win32-msvc2005: QMAKE_LFLAGS += /FORCE:MULTIPLE1267 --- vendor/current/src/src.pro 2016-11-17 17:03:02.000000000 +0100 1268 +++ trunk/src/src.pro 2016-11-18 12:15:06.000000000 +0100 1269 @@ -159,6 +159,9 @@ 1270 windows { 1271 RC_ICONS = ../win32/app.ico 1263 1272 } 1264 1273 +os2 { … … 1270 1279 diff -Naur -x Makefile -x Makefile.initvars -x '*.dll' -x 'conf*.pri' -x '*.zip' -x '*.exe' -x '*.map' -x '*.obj' -x '*.moc' -x '*.rcc' -x iris.prl -x irisnet.prl -x '*.sym' -x .ui -x '*.bak' -x '*.lib' -x '*.rsp' -x 'moc_*.cpp' -x Info.plist -x conf.log -x .qmake.cache -x build.sh -x '*.pem' vendor/current/src/systeminfo.cpp trunk/src/systeminfo.cpp 1271 1280 --- vendor/current/src/systeminfo.cpp 2016-04-08 16:55:18.000000000 +0200 1272 +++ trunk/src/systeminfo.cpp 2016-04-13 16:05:58.000000000 +0200 1273 @@ -172,7 +172,6 @@ 1274 { 1275 // Initialize 1276 os_str_ = "Unknown"; 1277 - os_name_str_ = os_str_; 1278 1279 // Detect 1280 #if defined(HAVE_X11) 1281 @@ -236,6 +235,56 @@ 1281 +++ trunk/src/systeminfo.cpp 2016-11-18 10:58:42.000000000 +0100 1282 @@ -236,6 +236,56 @@ 1282 1283 os_str_ = "Mac OS X"; 1283 1284 } else { … … 1349 1350 #endif 1350 1351 diff -Naur -x Makefile -x Makefile.initvars -x '*.dll' -x 'conf*.pri' -x '*.zip' -x '*.exe' -x '*.map' -x '*.obj' -x '*.moc' -x '*.rcc' -x iris.prl -x irisnet.prl -x '*.sym' -x .ui -x '*.bak' -x '*.lib' -x '*.rsp' -x 'moc_*.cpp' -x Info.plist -x conf.log -x .qmake.cache -x build.sh -x '*.pem' vendor/current/src/webview.cpp trunk/src/webview.cpp 1351 --- vendor/current/src/webview.cpp 2016- 04-08 16:55:18.000000000 +02001352 +++ trunk/src/webview.cpp 2016- 04-13 16:13:32.000000000 +02001353 @@ -1 46,7 +146,11 @@1352 --- vendor/current/src/webview.cpp 2016-11-17 17:03:02.000000000 +0100 1353 +++ trunk/src/webview.cpp 2016-11-18 12:01:52.000000000 +0100 1354 @@ -150,7 +150,11 @@ 1354 1355 QDrag *drag = new QDrag(this); 1355 1356 QMimeData *mimeData = new QMimeData; … … 1363 1364 mimeData->setText(TextUtil::rich2plain(html)); 1364 1365 1365 @@ -1 57,7 +161,11 @@1366 @@ -161,7 +165,11 @@ 1366 1367 void WebView::convertClipboardHtmlImages(QClipboard::Mode mode) 1367 1368 { … … 1375 1376 data->setHtml(html); 1376 1377 data->setText(TextUtil::rich2plain(html, false)); 1377 @@ -17 0,6 +178,22 @@1378 @@ -174,6 +182,22 @@ 1378 1379 page()->mainFrame()->evaluateJavaScript(scriptSource); 1379 1380 } … … 1398 1399 { 1399 1400 return TextUtil::rich2plain(TextUtil::img2title(selectedHtml())); 1401 @@ -183,7 +207,11 @@ 1402 { 1403 // use native selectedText w/o clipboard hacks. 1404 // ideally we should call something like hasSelection() but there is no such method in Qt API for webkit classes. 1405 +#ifdef Q_OS_OS2 //remove with qt 4.8 or better 1406 + if (!page()->selectedText().isEmpty()) { 1407 +#else 1408 if (page()->hasSelection()) { 1409 +#endif 1410 page()->triggerAction(QWebPage::Copy); 1411 textCopiedEvent(); 1412 } 1400 1413 diff -Naur -x Makefile -x Makefile.initvars -x '*.dll' -x 'conf*.pri' -x '*.zip' -x '*.exe' -x '*.map' -x '*.obj' -x '*.moc' -x '*.rcc' -x iris.prl -x irisnet.prl -x '*.sym' -x .ui -x '*.bak' -x '*.lib' -x '*.rsp' -x 'moc_*.cpp' -x Info.plist -x conf.log -x .qmake.cache -x build.sh -x '*.pem' vendor/current/src/webview.h trunk/src/webview.h 1401 1414 --- vendor/current/src/webview.h 2015-09-15 16:33:22.000000000 +0200
Note:
See TracChangeset
for help on using the changeset viewer.