openSUSE Commits
Threads by month
- ----- 2024 -----
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
December 2018
- 1 participants
- 2073 discussions
Hello community,
here is the log from the commit of package latte-dock for openSUSE:Factory checked in at 2018-12-31 09:47:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/latte-dock (Old)
and /work/SRC/openSUSE:Factory/.latte-dock.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "latte-dock"
Mon Dec 31 09:47:15 2018 rev:7 rq:662054 version:0.8.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/latte-dock/latte-dock.changes 2018-11-26 10:32:56.356842853 +0100
+++ /work/SRC/openSUSE:Factory/.latte-dock.new.28833/latte-dock.changes 2018-12-31 09:47:53.794142360 +0100
@@ -1,0 +2,15 @@
+Sun Dec 30 08:15:40 UTC 2018 - wbauer(a)tmo.at
+
+- Update to 0.8.4
+ * Restore mouse wheel action to activate your tasks that broke
+ with v0.8.3
+ * Support fillWidth(s)/Height(s) applets in Left/Center/Right
+ alignments, add a plasma taskmanager to see what happens
+ * Do not break applets order in Justify alignment when some of
+ the applets in the layout are not found in the system
+ * Fix a crash that was related to grouped tasks
+ * Improve launchers synchronization between different
+ docks/panels
+- Mark license file as %license instead of %doc
+
+-------------------------------------------------------------------
Old:
----
latte-dock-0.8.3.tar.xz
New:
----
latte-dock-0.8.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ latte-dock.spec ++++++
--- /var/tmp/diff_new_pack.tWJ3ee/_old 2018-12-31 09:47:54.290141954 +0100
+++ /var/tmp/diff_new_pack.tWJ3ee/_new 2018-12-31 09:47:54.290141954 +0100
@@ -13,13 +13,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define kf5_version 5.38.0
Name: latte-dock
-Version: 0.8.3
+Version: 0.8.4
Release: 0
Summary: Task manager
License: GPL-2.0-or-later
@@ -50,10 +50,10 @@
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-util)
BuildRequires: pkgconfig(zlib)
+Recommends: %{name}-lang
%if 0%{?is_opensuse}
BuildRequires: update-desktop-files
%endif
-Recommends: %{name}-lang
%description
Latte is a dock based on plasma frameworks that animating its
@@ -83,7 +83,7 @@
%files
%doc README.md
-%doc COPYING.LIB
+%license COPYING.LIB
%config %{_kf5_sysconfdir}/xdg/latte-layouts.knsrc
%{_kf5_bindir}/%{name}
%{_kf5_plasmadir}/
++++++ latte-dock-0.8.3.tar.xz -> latte-dock-0.8.4.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/CHANGELOG.md new/latte-dock-0.8.4/CHANGELOG.md
--- old/latte-dock-0.8.3/CHANGELOG.md 2018-11-23 17:37:07.328872060 +0100
+++ new/latte-dock-0.8.4/CHANGELOG.md 2018-12-28 22:59:14.787096213 +0100
@@ -1,5 +1,15 @@
#**CHANGELOG**#
+#### Version 0.8.4
+
+* FIX: restore mouse wheel action to activate your tasks that broke with v0.8.3
+* FIX: support fillWidth(s)/Height(s) applets in Left/Center/Right alignments,
+add a plasma taskmanager to see what happens
+* FIX: do not break applets order in Justify alignment when some of
+the applets in the layout are not found in the system
+* fix: a crash that was related to grouped tasks
+* fix: improve launchers synchronization between different docks/panels
+
#### Version 0.8.3
* FIX: support multi-screen plasmoids that use plasmoid.screenGeometry such
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/CMakeLists.txt new/latte-dock-0.8.4/CMakeLists.txt
--- old/latte-dock-0.8.3/CMakeLists.txt 2018-11-23 17:39:40.030116870 +0100
+++ new/latte-dock-0.8.4/CMakeLists.txt 2018-12-28 23:00:14.475864469 +0100
@@ -2,7 +2,7 @@
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
set(CMAKE_CXX_STANDARD 14)
-set(VERSION 0.8.3)
+set(VERSION 0.8.4)
set(AUTHOR "Michail Vourlakos, Smith Ar")
set(EMAIL "mvourlakos(a)gmail.com, audoban(a)openmailbox.org")
set(WEBSITE "https://github.com/psifidotos/Latte-Dock")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/README.md new/latte-dock-0.8.4/README.md
--- old/latte-dock-0.8.3/README.md 2018-11-23 17:37:07.328872060 +0100
+++ new/latte-dock-0.8.4/README.md 2018-12-28 22:59:14.787096213 +0100
@@ -78,7 +78,7 @@
### Void Linux
-- [Void Linux](https://github.com/voidlinux/void-packages/tree/master/srcpkgs/latte…
+- [Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/latt…
### FreeBSD
- [FreeBSD Port](https://www.freshports.org/deskutils/latte-dock/)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/containment/package/contents/code/LayoutManager.js new/latte-dock-0.8.4/containment/package/contents/code/LayoutManager.js
--- old/latte-dock-0.8.3/containment/package/contents/code/LayoutManager.js 2018-11-23 17:37:07.344872191 +0100
+++ new/latte-dock-0.8.4/containment/package/contents/code/LayoutManager.js 2018-12-28 22:59:14.795096311 +0100
@@ -63,11 +63,27 @@
// console.log("splitters restored:"+plasmoid.configuration.splitterPosition+ " - " + plasmoid.configuration.splitterPosition2);
//add the splitters in the correct position if they exist
if(plasmoid.configuration.splitterPosition !== -1){
- root.addInternalViewSplitter(plasmoid.configuration.splitterPosition);
+ var missingApplets = 0;
+
+ for (var i=0; i<plasmoid.configuration.splitterPosition; ++i) {
+ if (appletsOrder[i] === undefined) {
+ missingApplets = missingApplets + 1;
+ }
+ }
+
+ root.addInternalViewSplitter(plasmoid.configuration.splitterPosition-missingApplets);
}
if(plasmoid.configuration.splitterPosition2 !== -1){
- root.addInternalViewSplitter(plasmoid.configuration.splitterPosition2);
+ var missingApplets2 = 0;
+
+ for (var i=0; i<plasmoid.configuration.splitterPosition2; ++i) {
+ if (appletsOrder[i] === undefined) {
+ missingApplets2 = missingApplets2 + 1;
+ }
+ }
+
+ root.addInternalViewSplitter(plasmoid.configuration.splitterPosition2-missingApplets2);
}
//rewrite, so if in the orders there were now invalid ids or if some were missing creates a correct list instead
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/containment/package/contents/code/MathTools.js new/latte-dock-0.8.4/containment/package/contents/code/MathTools.js
--- old/latte-dock-0.8.3/containment/package/contents/code/MathTools.js 1970-01-01 01:00:00.000000000 +0100
+++ new/latte-dock-0.8.4/containment/package/contents/code/MathTools.js 2018-12-28 22:59:14.795096311 +0100
@@ -0,0 +1,25 @@
+/*
+* Copyright 2018 Michail Vourlakos <mvourlakos(a)gmail.com>
+*
+* This file is part of Latte-Dock
+*
+* Latte-Dock is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License as
+* published by the Free Software Foundation; either version 2 of
+* the License, or (at your option) any later version.
+*
+* Latte-Dock is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+
+//! bound the preferred value between minimum and maximum boundaries
+function bound(min, pref, max)
+{
+ return Math.max(min, Math.min(pref, max));
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/containment/package/contents/ui/LayoutsContainer.qml new/latte-dock-0.8.4/containment/package/contents/ui/LayoutsContainer.qml
--- old/latte-dock-0.8.3/containment/package/contents/ui/LayoutsContainer.qml 2018-11-23 17:37:07.348872224 +0100
+++ new/latte-dock-0.8.4/containment/package/contents/ui/LayoutsContainer.qml 2018-12-28 22:59:14.799096360 +0100
@@ -131,7 +131,7 @@
slotAnimationsNeedLength(1);
}
- HeuristicTools.updateSizeForAppletsInFill();
+ layoutsContainer.updateSizeForAppletsInFill();
delayUpdateMaskArea.start();
}
@@ -156,7 +156,7 @@
slotAnimationsNeedLength(1);
}
- HeuristicTools.updateSizeForAppletsInFill();
+ layoutsContainer.updateSizeForAppletsInFill();
delayUpdateMaskArea.start();
}
@@ -230,9 +230,9 @@
return no;
}
- onFillAppletsChanged: HeuristicTools.updateSizeForAppletsInFill();
- onShownAppletsChanged: HeuristicTools.updateSizeForAppletsInFill();
- onSizeWithNoFillAppletsChanged: HeuristicTools.updateSizeForAppletsInFill();
+ onFillAppletsChanged: layoutsContainer.updateSizeForAppletsInFill();
+ onShownAppletsChanged: layoutsContainer.updateSizeForAppletsInFill();
+ onSizeWithNoFillAppletsChanged: layoutsContainer.updateSizeForAppletsInFill();
states:[
State {
@@ -357,9 +357,9 @@
return no;
}
- onFillAppletsChanged: HeuristicTools.updateSizeForAppletsInFill();
- onShownAppletsChanged: HeuristicTools.updateSizeForAppletsInFill();
- onSizeWithNoFillAppletsChanged: HeuristicTools.updateSizeForAppletsInFill();
+ onFillAppletsChanged: layoutsContainer.updateSizeForAppletsInFill();
+ onShownAppletsChanged: layoutsContainer.updateSizeForAppletsInFill();
+ onSizeWithNoFillAppletsChanged: layoutsContainer.updateSizeForAppletsInFill();
transitions: Transition {
enabled: editModeVisual.plasmaEditMode
@@ -623,9 +623,9 @@
return no;
}
- onFillAppletsChanged: HeuristicTools.updateSizeForAppletsInFill();
- onShownAppletsChanged: HeuristicTools.updateSizeForAppletsInFill();
- onSizeWithNoFillAppletsChanged: HeuristicTools.updateSizeForAppletsInFill();
+ onFillAppletsChanged: layoutsContainer.updateSizeForAppletsInFill();
+ onShownAppletsChanged: layoutsContainer.updateSizeForAppletsInFill();
+ onSizeWithNoFillAppletsChanged: layoutsContainer.updateSizeForAppletsInFill();
states:[
State {
@@ -685,6 +685,16 @@
function updateSizeForAppletsInFill() {
- HeuristicTools.updateSizeForAppletsInFill();
+ if (!updateSizeForAppletsInFillTimer.running) {
+ updateSizeForAppletsInFillTimer.start();
+ }
+ }
+
+ //! This timer is needed in order to reduce the calls to heavy cpu function
+ //! HeuristicTools.updateSizeForAppletsInFill()
+ Timer{
+ id: updateSizeForAppletsInFillTimer
+ interval: 10
+ onTriggered: HeuristicTools.updateSizeForAppletsInFill();
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/containment/package/contents/ui/applet/AppletItemWrapper.qml new/latte-dock-0.8.4/containment/package/contents/ui/applet/AppletItemWrapper.qml
--- old/latte-dock-0.8.3/containment/package/contents/ui/applet/AppletItemWrapper.qml 2018-11-23 17:37:07.348872224 +0100
+++ new/latte-dock-0.8.4/containment/package/contents/ui/applet/AppletItemWrapper.qml 2018-12-28 22:59:14.799096360 +0100
@@ -28,6 +28,7 @@
import org.kde.latte 0.1 as Latte
+import "../../code/MathTools.js" as MathTools
Item{
id: wrapper
@@ -44,15 +45,17 @@
}
//! width for applets that use fillWidth/fillHeight such plasma taskmanagers and AWC
- if (container.needsFillSpace) {
- if (root.panelAlignment !== Latte.Dock.Justify && root.isHorizontal) {
- var constrainedWidth = container.sizeForFill>-1 ? Math.min(container.sizeForFill, applet.Layout.preferredWidth) :
- applet.Layout.preferredWidth;
+ if (container.needsFillSpace && root.isHorizontal) {
+ if (root.panelAlignment !== Latte.Dock.Justify) {
+ var maximumValue = (applet.Layout.maximumWidth === Infinity) || applet.Layout.maximumWidth === -1 ?
+ container.sizeForFill : Math.min(container.sizeForFill, applet.Layout.maximumWidth);
+
+ var constrainedWidth = MathTools.bound(applet.Layout.minimumWidth, applet.Layout.preferredWidth, maximumValue);
return root.editMode ? Math.max(constrainedWidth, root.iconSize) : constrainedWidth;
}
- if((container.sizeForFill>-1) && root.isHorizontal){
+ if(container.sizeForFill>-1){
return container.sizeForFill;
}
}
@@ -81,16 +84,18 @@
return root.iconSize;
}
- if (container.needsFillSpace) {
- //! height for applets that use fillWidth/fillHeight such plasma taskmanagers and AWC
- if (root.panelAlignment !== Latte.Dock.Justify && root.isVertical) {
- var constrainedHeight = container.sizeForFill>-1 ? Math.min(container.sizeForFill, applet.Layout.preferredHeight) :
- applet.Layout.preferredHeight;
+ //! height for applets that use fillWidth/fillHeight such plasma taskmanagers and AWC
+ if (container.needsFillSpace && root.isVertical) {
+ if (root.panelAlignment !== Latte.Dock.Justify) {
+ var maximumValue = (applet.Layout.maximumHeight === Infinity) || applet.Layout.maximumHeight === -1 ?
+ container.sizeForFill : Math.min(container.sizeForFill, applet.Layout.maximumHeight);
+
+ var constrainedHeight = MathTools.bound(applet.Layout.minimumHeight, applet.Layout.preferredHeight, maximumValue);
return root.editMode ? Math.max(constrainedHeight, root.iconSize) : constrainedHeight;
}
- if ((container.sizeForFill>-1) && root.isVertical){
+ if (container.sizeForFill>-1){
return container.sizeForFill;
}
}
@@ -261,6 +266,10 @@
}
function updateLayoutHeight(){
+ if (container.needsFillSpace && root.isVertical) {
+ layoutsContainer.updateSizeForAppletsInFill();
+ return;
+ }
if(container.isInternalViewSplitter){
if(!root.editMode)
@@ -307,6 +316,10 @@
}
function updateLayoutWidth(){
+ if (container.needsFillSpace && root.isHorizontal) {
+ layoutsContainer.updateSizeForAppletsInFill();
+ return;
+ }
if(container.isInternalViewSplitter){
if(!root.editMode)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/containment/package/metadata.desktop new/latte-dock-0.8.4/containment/package/metadata.desktop
--- old/latte-dock-0.8.3/containment/package/metadata.desktop 2018-11-23 17:37:07.348872224 +0100
+++ new/latte-dock-0.8.4/containment/package/metadata.desktop 2018-12-28 22:59:14.799096360 +0100
@@ -55,7 +55,7 @@
X-KDE-PluginInfo-Author=Michail Vourlakos, Smith Ar
X-KDE-PluginInfo-Email=mvourlakos(a)gmail.com, audoban(a)openmailbox.org
X-KDE-PluginInfo-Name=org.kde.latte.containment
-X-KDE-PluginInfo-Version=0.8.3
+X-KDE-PluginInfo-Version=0.8.4
X-KDE-PluginInfo-Website=https://github.com/psifidotos/Latte-Dock
X-KDE-PluginInfo-Category=X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-License=GPL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/plasmoid/package/contents/ui/main.qml new/latte-dock-0.8.4/plasmoid/package/contents/ui/main.qml
--- old/latte-dock-0.8.3/plasmoid/package/contents/ui/main.qml 2018-11-23 17:37:07.356872289 +0100
+++ new/latte-dock-0.8.4/plasmoid/package/contents/ui/main.qml 2018-12-28 22:59:14.803096409 +0100
@@ -1419,6 +1419,7 @@
launchers.length = 0;
parabolicManager.updateTasksEdgesIndexes();
root.separatorsUpdated();
+ tasksModel.syncLaunchers();
} else {
var currentLaunchers = currentListViewLauncherList();
@@ -1710,6 +1711,7 @@
if (group === latteDock.launchersGroup) {
tasksModel.requestAddLauncher(launcher);
launchersUpdatedFor(launcher);
+ tasksModel.syncLaunchers();
}
}
@@ -1718,6 +1720,7 @@
root.launcherForRemoval = launcher;
tasksModel.requestRemoveLauncher(launcher);
launchersUpdatedFor(launcher);
+ tasksModel.syncLaunchers();
}
}
@@ -1731,6 +1734,7 @@
tasksModel.requestAddLauncherToActivity(launcher, activity);
launchersUpdatedFor(launcher);
+ tasksModel.syncLaunchers();
}
}
@@ -1742,6 +1746,7 @@
tasksModel.requestRemoveLauncherFromActivity(launcher, activity);
launchersUpdatedFor(launcher);
+ tasksModel.syncLaunchers();
}
}
@@ -1753,10 +1758,10 @@
function extSignalMoveTask(group, from, to) {
if (group === latteDock.launchersGroup && !root.dragSource) {
- //! disable syncing for moving launchers action in favor of validatorOrder launchersSignal
- /* tasksModel.move(from, to);
+ tasksModel.move(from, to);
parabolicManager.updateTasksEdgesIndexes();
- root.separatorsUpdated();*/
+ root.separatorsUpdated();
+ tasksModel.syncLaunchers();
}
}
@@ -1880,6 +1885,7 @@
tasksModel.requestAddLauncher(url);
launchersUpdatedFor(url);
+ tasksModel.syncLaunchers();
}
function resetDragSource() {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/plasmoid/package/contents/ui/task/TaskWindows.qml new/latte-dock-0.8.4/plasmoid/package/contents/ui/task/TaskWindows.qml
--- old/latte-dock-0.8.3/plasmoid/package/contents/ui/task/TaskWindows.qml 2018-11-23 17:37:07.356872289 +0100
+++ new/latte-dock-0.8.4/plasmoid/package/contents/ui/task/TaskWindows.qml 2018-12-28 22:59:14.803096409 +0100
@@ -27,7 +27,17 @@
Item{
id: windowsContainer
- property int windowsCount: 0
+ property int windowsCount: {
+ if (isLauncher) {
+ return 0;
+ }
+
+ if (isGroupParent) {
+ return windowsRepeater.count;
+ }
+
+ return 1;
+ }
property bool isLauncher: IsLauncher ? true : false
property bool isStartup: IsStartup ? true : false
@@ -35,60 +45,67 @@
property int lastActiveWinInGroup: -1
- onIsLauncherChanged: updateCounter();
- // onIsStartupChanged: updateCounter();
- // onIsWindowChanged: updateCounter();
-
//states that exist in windows in a Group of windows
property bool hasMinimized: false;
property bool hasShown: false;
property bool hasActive: false;
- //FIXME: For some reason the index is not updated correctly in some cases (e.g. window dragging, repositioning launchers)
- // and this way much beautiful information are lost, an activity change back and return,
- // it fixes this sometimes...
Repeater{
+ id: windowsRepeater
model:DelegateModel {
id: windowsLocalModel
- model: tasksModel //icList.model
- /* rootIndex: {
- if (root.inDraggingPhase) {
- return tasksModel.makeModelIndex(lastValidIndex);
- }
+ model: tasksModel
- return tasksModel.makeModelIndex(currentIndex >=0 ? currentIndex : index)
- }*/
-
- property int currentIndex: -1
+ delegate: Item{
+ readonly property string title: display !== undefined ? display : ""
+ readonly property bool isMinimized: IsMinimized === true ? true : false
+ readonly property bool isActive: IsActive === true ? true : false
- //! Trying to avoid a crash during dragging tasks/launchers
- Binding{
- target: windowsLocalModel
- property: "rootIndex"
-
- value: {
- if (root.inDraggingPhase) {
- return 0;
+ onIsMinimizedChanged: windowsContainer.updateStates();
+ onIsActiveChanged: {
+ if (isActive) {
+ windowsContainer.lastActiveWinInGroup = (LegacyWinIdList!==undefined ? LegacyWinIdList[0] : 0);
}
-
- return tasksModel.makeModelIndex(currentIndex >=0 ? currentIndex : index)
+ windowsContainer.updateStates();
}
}
- delegate: Item{
- readonly property string title: display
- readonly property bool isMinimized: IsMinimized === true ? true : false
-
- onIsMinimizedChanged: windowsContainer.initializeStates();
+ Component.onCompleted: {
+ rootIndex = mainItemContainer.modelIndex();
}
}
+ }
+
+ Connections{
+ target: mainItemContainer
+ onItemIndexChanged: windowsContainer.updateStates();
+ }
+
+ Connections{
+ target: root
+ onInDraggingPhaseChanged: windowsContainer.updateStates();
+ }
- onCountChanged:{
- windowsContainer.updateCounter();
+ //! try to give the time to the model to update its states in order to
+ //! avoid any suspicious crashes during dragging grouped tasks that
+ //! are synced between multiple panels/docks. At the same time in updateStates()
+ //! function we block any DelegateModel updates when the user is dragging
+ //! a task because this could create crashes
+ Timer{
+ id: initializeStatesTimer
+ interval: 200
+ onTriggered: windowsContainer.initializeStates();
+ }
+
+ function updateStates() {
+ if (!root.inDraggingPhase) {
+ initializeStatesTimer.start();
}
}
function initializeStates(){
+ windowsLocalModel.rootIndex = mainItemContainer.modelIndex();
+
hasMinimized = false;
hasShown = false;
hasActive = false;
@@ -109,7 +126,6 @@
}
function checkInternalStates(){
- windowsLocalModel.currentIndex = index;
var childs = windowsLocalModel.items;
for(var i=0; i<childs.count; ++i){
@@ -126,22 +142,14 @@
}
function windowsTitles() {
+ windowsLocalModel.rootIndex = mainItemContainer.modelIndex();
var result = new Array;
-
- windowsLocalModel.currentIndex = index;
var childs = windowsLocalModel.items;
for(var i=0; i<childs.count; ++i){
var kid = childs.get(i);
var title = kid.model.display
- //console.log(title);
- // FIXME: we may need a way to remove the app name from the end
- /* var lst = title.lastIndexOf(" - ");
- if (lst > 0) {
- title = title.substring(0, lst);
- }*/
-
result.push(title);
}
@@ -151,13 +159,13 @@
//! function which is used to cycle activation into
//! a group of windows
function activateNextTask() {
+ windowsLocalModel.rootIndex = mainItemContainer.modelIndex();
+
if (!mainItemContainer.isGroupParent) {
return;
}
- windowsLocalModel.currentIndex = index;
var childs = windowsLocalModel.items;
-
var nextAvailableWindow = -1;
for(var i=0; i<childs.count; ++i){
@@ -194,11 +202,12 @@
//! function which is used to cycle activation into
//! a group of windows backwise
function activatePreviousTask() {
+ windowsLocalModel.rootIndex = mainItemContainer.modelIndex();
+
if (!mainItemContainer.isGroupParent) {
return;
}
- windowsLocalModel.currentIndex = index;
var childs = windowsLocalModel.items;
//indicates than nothing was found
@@ -234,69 +243,11 @@
tasksModel.requestActivate(tasksModel.makeModelIndex(index,prevAvailableWindow));
}
-
-
- // keep a record of the last active window in a group
- Connections{
- target:tasksModel
- onActiveTaskChanged:{
- if (!mainItemContainer.isGroupParent) {
- return;
- }
-
- windowsLocalModel.currentIndex = index;
- var childs = windowsLocalModel.items;
-
- for(var i=0; i<childs.count; ++i){
- var kid = childs.get(i);
- if (kid.model.IsActive === true) {
- windowsContainer.lastActiveWinInGroup = kid.model.LegacyWinIdList ? kid.model.LegacyWinIdList[0] : 0;
- break;
- }
- }
- }
- }
-
Component.onCompleted: {
mainItemContainer.checkWindowsStates.connect(initializeStates);
- updateCounter();
}
Component.onDestruction: {
mainItemContainer.checkWindowsStates.disconnect(initializeStates);
}
-
- function updateCounter(){
- // console.log("--------- "+ index+" -------");
- if(index>=0){
- if(IsGroupParent){
- windowsLocalModel.currentIndex = index;
- var tempC = windowsLocalModel.count;
-
- if (tempC == 0){
- if(isLauncher){
- windowsCount = 0;
- }
- else if(isWindow || isStartup){
- windowsCount = 1;
- }
- }
- else{
- windowsCount = tempC;
- }
- }
- else{
- if(isLauncher){
- windowsCount = 0;
- }
- else if(isWindow || isStartup){
- windowsCount = 1;
- }
- }
-
- initializeStates();
- }
-
- }
-
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/plasmoid/package/metadata.desktop new/latte-dock-0.8.4/plasmoid/package/metadata.desktop
--- old/latte-dock-0.8.3/plasmoid/package/metadata.desktop 2018-11-23 17:37:07.356872289 +0100
+++ new/latte-dock-0.8.4/plasmoid/package/metadata.desktop 2018-12-28 22:59:14.803096409 +0100
@@ -57,7 +57,7 @@
X-KDE-PluginInfo-Author=Michail Vourlakos, Smith Ar
X-KDE-PluginInfo-Email=mvourlakos(a)gmail.com, audoban(a)openmailbox.org
X-KDE-PluginInfo-Name=org.kde.latte.plasmoid
-X-KDE-PluginInfo-Version=0.8.3
+X-KDE-PluginInfo-Version=0.8.4
X-KDE-PluginInfo-Website=https://github.com/psifidotos/Latte-Dock
X-KDE-PluginInfo-Category=Windows and Tasks
X-KDE-PluginInfo-Depends=X-KDE-PluginInfo-License=GPL v2+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/po/gl/latte-dock.po new/latte-dock-0.8.4/po/gl/latte-dock.po
--- old/latte-dock-0.8.3/po/gl/latte-dock.po 2018-11-23 17:38:29.169539219 +0100
+++ new/latte-dock-0.8.4/po/gl/latte-dock.po 2018-12-28 22:59:46.563489484 +0100
@@ -7,7 +7,7 @@
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2018-07-13 06:00+0200\n"
-"PO-Revision-Date: 2018-10-20 11:15+0100\n"
+"PO-Revision-Date: 2018-12-28 19:38+0100\n"
"Last-Translator: Adrián Chaves (Gallaecio) <adrian(a)chaves.io>\n"
"Language-Team: Galician <kde-i18n-doc(a)kde.org>\n"
"Language: gl\n"
@@ -655,7 +655,7 @@
#: ../shell/package/contents/configuration/TasksConfig.qml:229
#, kde-format
msgid "Right Click"
-msgstr "Botón secundario"
+msgstr "Clic dereito"
#: ../shell/package/contents/configuration/TasksConfig.qml:258
#, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/po/zh_CN/latte-dock.po new/latte-dock-0.8.4/po/zh_CN/latte-dock.po
--- old/latte-dock-0.8.3/po/zh_CN/latte-dock.po 2018-11-23 17:39:37.246094170 +0100
+++ new/latte-dock-0.8.4/po/zh_CN/latte-dock.po 2018-12-28 23:00:14.027858455 +0100
@@ -3,7 +3,7 @@
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2018-07-13 06:00+0200\n"
-"PO-Revision-Date: 2018-11-12 09:30\n"
+"PO-Revision-Date: 2018-12-27 07:45\n"
"Last-Translator: guoyunhe <i(a)guoyunhe.me>\n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
@@ -68,7 +68,7 @@
#: ../shell/package/contents/configuration/AppearanceConfig.qml:358
#, kde-format
msgid "Background"
-msgstr "背景色"
+msgstr "背景"
#: ../shell/package/contents/configuration/AppearanceConfig.qml:368
#, kde-format
@@ -91,7 +91,7 @@
#: ../shell/package/contents/configuration/AppearanceConfig.qml:506
#, kde-format
msgid "Solid"
-msgstr "立体"
+msgstr "纯色"
#: ../shell/package/contents/configuration/AppearanceConfig.qml:526
#, kde-format
@@ -101,7 +101,7 @@
#: ../shell/package/contents/configuration/AppearanceConfig.qml:547
#, kde-format
msgid "None"
-msgstr "未分组"
+msgstr "无"
#: ../shell/package/contents/configuration/AppearanceConfig.qml:556
#, kde-format
@@ -127,13 +127,13 @@
#, kde-format
msgctxt "active indicator style"
msgid "Style"
-msgstr "风格"
+msgstr "样式"
#: ../shell/package/contents/configuration/AppearanceConfig.qml:630
#, kde-format
msgctxt "line indicator"
msgid "Line"
-msgstr "直线"
+msgstr "线条"
#: ../shell/package/contents/configuration/AppearanceConfig.qml:634
#, kde-format
@@ -144,7 +144,7 @@
#, kde-format
msgctxt "dot indicator"
msgid "Dot"
-msgstr "Dot"
+msgstr "圆点"
#: ../shell/package/contents/configuration/AppearanceConfig.qml:646
#, kde-format
@@ -155,7 +155,7 @@
#, kde-format
msgctxt "reverse the position of the active indicator e.g. from bottom to top"
msgid "Reverse"
-msgstr "逆序"
+msgstr "反转"
#: ../shell/package/contents/configuration/AppearanceConfig.qml:661
#, kde-format
@@ -166,7 +166,7 @@
#, kde-format
msgctxt "active indicator to no applets"
msgid "None"
-msgstr "未分组"
+msgstr "无"
#: ../shell/package/contents/configuration/AppearanceConfig.qml:682
#, kde-format
@@ -179,7 +179,7 @@
#, kde-format
msgctxt "active indicator only to in-house latte applets"
msgid "Internals"
-msgstr "内置"
+msgstr "内部"
#: ../shell/package/contents/configuration/AppearanceConfig.qml:694
#, kde-format
@@ -555,7 +555,7 @@
#: ../shell/package/contents/configuration/TasksConfig.qml:135
#, kde-format
msgid "Show window actions in the context menu"
-msgstr "在上下文菜单中显示窗口操作"
+msgstr "在右键菜单中显示窗口操作"
#: ../shell/package/contents/configuration/TasksConfig.qml:148
#, kde-format
@@ -1434,7 +1434,7 @@
#, kde-format
msgctxt "single layout"
msgid "Single"
-msgstr "单人照"
+msgstr "单个"
#. i18n: ectx: property (toolTip), widget (QToolButton, multipleToolBtn)
#: settingsdialog.ui:66
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/po/zh_CN/plasma_applet_audoban.applet.separator.po new/latte-dock-0.8.4/po/zh_CN/plasma_applet_audoban.applet.separator.po
--- old/latte-dock-0.8.3/po/zh_CN/plasma_applet_audoban.applet.separator.po 2018-11-23 17:39:37.246094170 +0100
+++ new/latte-dock-0.8.4/po/zh_CN/plasma_applet_audoban.applet.separator.po 2018-12-28 23:00:14.031858507 +0100
@@ -3,7 +3,7 @@
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2017-09-09 03:09+0200\n"
-"PO-Revision-Date: 2018-11-12 09:30\n"
+"PO-Revision-Date: 2018-12-27 07:45\n"
"Last-Translator: guoyunhe <i(a)guoyunhe.me>\n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/po/zh_CN/plasma_applet_org.kde.latte.containment.po new/latte-dock-0.8.4/po/zh_CN/plasma_applet_org.kde.latte.containment.po
--- old/latte-dock-0.8.3/po/zh_CN/plasma_applet_org.kde.latte.containment.po 2018-11-23 17:39:37.254094236 +0100
+++ new/latte-dock-0.8.4/po/zh_CN/plasma_applet_org.kde.latte.containment.po 2018-12-28 23:00:14.031858507 +0100
@@ -3,7 +3,7 @@
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2018-05-01 03:23+0200\n"
-"PO-Revision-Date: 2018-11-12 09:30\n"
+"PO-Revision-Date: 2018-12-27 07:45\n"
"Last-Translator: guoyunhe <i(a)guoyunhe.me>\n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/po/zh_CN/plasma_applet_org.kde.latte.plasmoid.po new/latte-dock-0.8.4/po/zh_CN/plasma_applet_org.kde.latte.plasmoid.po
--- old/latte-dock-0.8.3/po/zh_CN/plasma_applet_org.kde.latte.plasmoid.po 2018-11-23 17:39:37.254094236 +0100
+++ new/latte-dock-0.8.4/po/zh_CN/plasma_applet_org.kde.latte.plasmoid.po 2018-12-28 23:00:14.031858507 +0100
@@ -3,7 +3,7 @@
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2018-10-07 06:49+0200\n"
-"PO-Revision-Date: 2018-11-12 09:30\n"
+"PO-Revision-Date: 2018-12-27 07:45\n"
"Last-Translator: guoyunhe <i(a)guoyunhe.me>\n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
@@ -117,7 +117,7 @@
#: package/contents/ui/config/ConfigInteraction.qml:78
#, kde-format
msgid "Show window actions in the context menu"
-msgstr "在上下文菜单中显示窗口操作"
+msgstr "在右键菜单中显示窗口操作"
#: package/contents/ui/config/ConfigInteraction.qml:84
#, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/po/zh_CN/plasma_applet_org.kde.latte.spacer.po new/latte-dock-0.8.4/po/zh_CN/plasma_applet_org.kde.latte.spacer.po
--- old/latte-dock-0.8.3/po/zh_CN/plasma_applet_org.kde.latte.spacer.po 2018-11-23 17:39:37.246094170 +0100
+++ new/latte-dock-0.8.4/po/zh_CN/plasma_applet_org.kde.latte.spacer.po 2018-12-28 23:00:14.031858507 +0100
@@ -3,7 +3,7 @@
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2017-09-09 03:09+0200\n"
-"PO-Revision-Date: 2018-11-12 09:30\n"
+"PO-Revision-Date: 2018-12-27 07:45\n"
"Last-Translator: guoyunhe <i(a)guoyunhe.me>\n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/po/zh_CN/plasma_containmentactions_lattecontextmenu.po new/latte-dock-0.8.4/po/zh_CN/plasma_containmentactions_lattecontextmenu.po
--- old/latte-dock-0.8.3/po/zh_CN/plasma_containmentactions_lattecontextmenu.po 2018-11-23 17:39:37.254094236 +0100
+++ new/latte-dock-0.8.4/po/zh_CN/plasma_containmentactions_lattecontextmenu.po 2018-12-28 23:00:14.031858507 +0100
@@ -8,7 +8,7 @@
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2018-02-13 03:14+0100\n"
-"PO-Revision-Date: 2018-11-12 09:30\n"
+"PO-Revision-Date: 2018-12-27 07:45\n"
"Last-Translator: guoyunhe <i(a)guoyunhe.me>\n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/po/zh_TW/latte-dock.po new/latte-dock-0.8.4/po/zh_TW/latte-dock.po
--- old/latte-dock-0.8.3/po/zh_TW/latte-dock.po 2018-11-23 17:39:40.010116708 +0100
+++ new/latte-dock-0.8.4/po/zh_TW/latte-dock.po 2018-12-28 23:00:14.451864146 +0100
@@ -2,14 +2,15 @@
# This file is distributed under the same license as the PACKAGE package.
#
# Jeff Huang <s8321414(a)gmail.com>, 2016, 2017, 2018.
+# pan93412 <pan93412(a)gmail.com>, 2018.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2018-07-13 06:00+0200\n"
-"PO-Revision-Date: 2018-04-18 12:09+0800\n"
-"Last-Translator: Jeff Huang <s8321414(a)gmail.com>\n"
-"Language-Team: Chinese <kde-i18n-doc(a)kde.org>\n"
+"PO-Revision-Date: 2018-12-02 23:33+0800\n"
+"Last-Translator: pan93412 <pan93412(a)gmail.com>\n"
+"Language-Team: Chinese <zh-l10n(a)linux.org.tw>\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -576,12 +577,12 @@
#: ../shell/package/contents/configuration/TasksConfig.qml:161
#, kde-format
msgid "Group tasks of the same application"
-msgstr ""
+msgstr "將同一個應用程式的視窗分為一個群組"
#: ../shell/package/contents/configuration/TasksConfig.qml:163
#, kde-format
msgid "By default group tasks of the same application"
-msgstr ""
+msgstr "預設情況下同一個應用程式的視窗會分為一個群組"
#: ../shell/package/contents/configuration/TasksConfig.qml:174
#, kde-format
@@ -774,10 +775,9 @@
"在最大化或被捕捉的視窗中"
#: ../shell/package/contents/configuration/TweaksConfig.qml:130
-#, fuzzy, kde-format
-#| msgid "Improve contents visibility when panel is transparent"
+#, kde-format
msgid "Monochrome contents when panel is transparent"
-msgstr "當面板是透明的時候改善內容可讀性"
+msgstr "當面板是透明的時候將內容變成單色"
#: ../shell/package/contents/configuration/TweaksConfig.qml:132
#, kde-format
@@ -841,16 +841,14 @@
"Dock 將不會在設定為「總是在最上層」的視窗上"
#: ../shell/package/contents/configuration/TweaksConfig.qml:213
-#, fuzzy, kde-format
-#| msgid "Raise dock on desktop change"
+#, kde-format
msgid "Raise on desktop change"
-msgstr "在桌面變更時提升 dock"
+msgstr "在桌面變更時提升"
#: ../shell/package/contents/configuration/TweaksConfig.qml:224
-#, fuzzy, kde-format
-#| msgid "Raise dock on activity change"
+#, kde-format
msgid "Raise on activity change"
-msgstr "在活動變更時提升 dock"
+msgstr "在活動變更時提升"
#: ../shell/package/contents/configuration/TweaksConfig.qml:242
#, kde-format
@@ -998,10 +996,9 @@
msgstr "預設"
#: layoutmanager.cpp:911
-#, fuzzy, kde-format
-#| msgid "Adding layout: <b>%0</b> ..."
+#, kde-format
msgid "Activating layout: <b>%0</b> ..."
-msgstr "正在新增佈局:<b>%0</b> ..."
+msgstr "正在啟用佈局:<b>%0</b> ..."
#: layoutmanager.cpp:1201
#, kde-format
@@ -1029,12 +1026,10 @@
msgstr "文字顏色..."
#: main.cpp:99
-#, fuzzy, kde-format
-#| msgctxt "command line"
-#| msgid "Replace the current dock instance."
+#, kde-format
msgctxt "command line"
msgid "Replace the current Latte instance."
-msgstr "取代目前的 dock 實體。"
+msgstr "取代目前的 Latte 實體。"
#: main.cpp:100
#, kde-format
@@ -1379,22 +1374,19 @@
msgstr "佈局:<b>%0</b> 匯入成功<br>"
#: settingsdialog.cpp:872
-#, fuzzy, kde-format
-#| msgid "Background"
+#, kde-format
msgctxt "column for layout background"
msgid "Background"
msgstr "背景"
#: settingsdialog.cpp:873
-#, fuzzy, kde-format
-#| msgid "Name"
+#, kde-format
msgctxt "column for layout name"
msgid "Name"
msgstr "名稱"
#: settingsdialog.cpp:874
-#, fuzzy, kde-format
-#| msgid "In Menu"
+#, kde-format
msgctxt "column for layout to show in menu"
msgid "In Menu"
msgstr "在選單中"
@@ -1403,11 +1395,10 @@
#, kde-format
msgctxt "column for layout to hide borders for maximized windows"
msgid "Borderless"
-msgstr ""
+msgstr "無邊框"
#: settingsdialog.cpp:876
-#, fuzzy, kde-format
-#| msgid "Activities"
+#, kde-format
msgctxt "column for layout to show which activities is assigned to"
msgid "Activities"
msgstr "活動"
@@ -1462,10 +1453,9 @@
#. i18n: ectx: property (toolTip), widget (QToolButton, multipleToolBtn)
#: settingsdialog.ui:66
-#, fuzzy, kde-format
-#| msgid "Multiple layouts can be present in memory"
+#, kde-format
msgid "Multiple layouts can be present and active in memory at the same time"
-msgstr "記憶中可以有多種佈局"
+msgstr "記憶中可以有多種佈局同時啟用"
#. i18n: ectx: property (text), widget (QToolButton, multipleToolBtn)
#: settingsdialog.ui:69
@@ -1542,15 +1532,14 @@
#: settingsdialog.ui:270
#, kde-format
msgid "Lock layout and make it read-only"
-msgstr ""
+msgstr "鎖定佈局並使其唯讀"
#. i18n: ectx: property (text), widget (QPushButton, lockedButton)
#: settingsdialog.ui:273
-#, fuzzy, kde-format
-#| msgid "Locked"
+#, kde-format
msgctxt "locked layout"
msgid "Locked"
-msgstr "鎖定"
+msgstr "已鎖定"
#. i18n: ectx: property (toolTip), widget (QPushButton, importButton)
#: settingsdialog.ui:347
@@ -1611,30 +1600,28 @@
#. i18n: ectx: property (toolTip), widget (QCheckBox, infoWindowChkBox)
#: settingsdialog.ui:558
-#, fuzzy, kde-format
-#| msgid "Provide visual feedback when layouts are added automatically"
+#, kde-format
msgid "Provide visual feedback when layouts are activated automatically"
-msgstr "當自動新增佈局時提供視覺回饋"
+msgstr "當自動啟用佈局時提供視覺回饋"
#. i18n: ectx: property (text), widget (QCheckBox, infoWindowChkBox)
#: settingsdialog.ui:561
-#, fuzzy, kde-format
-#| msgid "Show informative window for layouts automatic switching"
+#, kde-format
msgid "Show informative window for layouts automatic activation"
-msgstr "顯示佈局自動切換的資訊視窗"
+msgstr "顯示佈局自動啟用的資訊視窗"
#. i18n: ectx: property (toolTip), widget (QCheckBox, noBordersForMaximizedChkBox)
#: settingsdialog.ui:588
#, kde-format
msgid ""
"Activate support for borderless maximized windows between different layouts"
-msgstr ""
+msgstr "在不同的佈局間啟用對無邊框最大化視窗的支援"
#. i18n: ectx: property (text), widget (QCheckBox, noBordersForMaximizedChkBox)
#: settingsdialog.ui:591
#, kde-format
msgid "Support borderless maximized windows in different layouts"
-msgstr ""
+msgstr "在不同佈局支援無邊框最大化視窗"
#. i18n: ectx: property (text), widget (QLabel, mouseSensetivityLbl)
#: settingsdialog.ui:622
@@ -1701,10 +1688,9 @@
#. i18n: ectx: property (text), widget (QLabel, trackScreensDelayLbl)
#: settingsdialog.ui:806
-#, fuzzy, kde-format
-#| msgid "Track screen changes after"
+#, kde-format
msgid "React to screen changes after"
-msgstr "追蹤螢幕變更在多久之後"
+msgstr "反應螢幕變更在多久之後"
#. i18n: ectx: property (suffix), widget (QSpinBox, screenTrackerSpinBox)
#: settingsdialog.ui:835
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/po/zh_TW/plasma_applet_org.kde.latte.plasmoid.po new/latte-dock-0.8.4/po/zh_TW/plasma_applet_org.kde.latte.plasmoid.po
--- old/latte-dock-0.8.3/po/zh_TW/plasma_applet_org.kde.latte.plasmoid.po 2018-11-23 17:39:40.014116739 +0100
+++ new/latte-dock-0.8.4/po/zh_TW/plasma_applet_org.kde.latte.plasmoid.po 2018-12-28 23:00:14.455864201 +0100
@@ -2,14 +2,15 @@
# This file is distributed under the same license as the PACKAGE package.
#
# Jeff Huang <s8321414(a)gmail.com>, 2016, 2017, 2018.
+# pan93412 <pan93412(a)gmail.com>, 2018.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2018-10-07 06:49+0200\n"
-"PO-Revision-Date: 2018-04-18 11:37+0800\n"
-"Last-Translator: Jeff Huang <s8321414(a)gmail.com>\n"
-"Language-Team: Chinese <kde-i18n-doc(a)kde.org>\n"
+"PO-Revision-Date: 2018-12-02 23:33+0800\n"
+"Last-Translator: pan93412 <pan93412(a)gmail.com>\n"
+"Language-Team: Chinese <zh-l10n(a)linux.org.tw>\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -387,16 +388,14 @@
msgstr "取消釘選"
#: package/contents/ui/ContextMenu.qml:793
-#, fuzzy, kde-format
-#| msgid "Add Internal Separator"
+#, kde-format
msgid "Add Separator"
-msgstr "新增內部分隔器"
+msgstr "新增分隔器"
#: package/contents/ui/ContextMenu.qml:807
-#, fuzzy, kde-format
-#| msgid "Remove Internal Separator"
+#, kde-format
msgid "Remove Separator"
-msgstr "移除內部分隔器"
+msgstr "移除分隔器"
#: package/contents/ui/ContextMenu.qml:896
#, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/latte-dock-0.8.3/shell/package/metadata.desktop new/latte-dock-0.8.4/shell/package/metadata.desktop
--- old/latte-dock-0.8.3/shell/package/metadata.desktop 2018-11-23 17:37:07.356872289 +0100
+++ new/latte-dock-0.8.4/shell/package/metadata.desktop 2018-12-28 22:59:14.807096458 +0100
@@ -80,5 +80,5 @@
X-KDE-PluginInfo-Email=mvourlakos(a)gmail.com, audoban(a)openmailbox.org
X-KDE-PluginInfo-License=GPLv3+
X-KDE-PluginInfo-Name=org.kde.latte.shell
-X-KDE-PluginInfo-Version=0.8.3
+X-KDE-PluginInfo-Version=0.8.4
X-KDE-PluginInfo-Website=https://github.com/psifidotos/Latte-Dock
1
0
Hello community,
here is the log from the commit of package python-yamllint for openSUSE:Factory checked in at 2018-12-31 09:47:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-yamllint (Old)
and /work/SRC/openSUSE:Factory/.python-yamllint.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yamllint"
Mon Dec 31 09:47:12 2018 rev:3 rq:662050 version:1.13.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-yamllint/python-yamllint.changes 2018-12-13 19:45:51.144902644 +0100
+++ /work/SRC/openSUSE:Factory/.python-yamllint.new.28833/python-yamllint.changes 2018-12-31 09:47:51.310144399 +0100
@@ -1,0 +2,11 @@
+Sun Dec 30 04:03:53 UTC 2018 - John Vandenberg <jayvdb(a)gmail.com>
+
+- Update to 1.13.0
+ * Add a new -f colored option
+- Update to 1.12.1
+ * Fix the `quoted-strings` rule
+- Update to 1.12.0
+ * Add a new `quoted-strings` rule
+- Changes file fix
+
+-------------------------------------------------------------------
Old:
----
yamllint-1.11.1.tar.gz
New:
----
yamllint-1.13.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-yamllint.spec ++++++
--- /var/tmp/diff_new_pack.iNk3De/_old 2018-12-31 09:47:51.998143834 +0100
+++ /var/tmp/diff_new_pack.iNk3De/_new 2018-12-31 09:47:51.998143834 +0100
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-yamllint
-Version: 1.11.1
+Version: 1.13.0
Release: 0
Summary: A linter for YAML files
License: GPL-3.0-only
++++++ yamllint-1.11.1.tar.gz -> yamllint-1.13.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/PKG-INFO new/yamllint-1.13.0/PKG-INFO
--- old/yamllint-1.11.1/PKG-INFO 2018-04-06 11:14:37.000000000 +0200
+++ new/yamllint-1.13.0/PKG-INFO 2018-11-14 19:10:45.000000000 +0100
@@ -1,12 +1,11 @@
Metadata-Version: 1.1
Name: yamllint
-Version: 1.11.1
+Version: 1.13.0
Summary: A linter for YAML files.
Home-page: https://github.com/adrienverge/yamllint
Author: Adrien Vergé
Author-email: UNKNOWN
License: GPLv3
-Description-Content-Type: UNKNOWN
Description: A linter for YAML files.
yamllint does not only check for syntax validity, but for weirdnesses like key
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/README.rst new/yamllint-1.13.0/README.rst
--- old/yamllint-1.11.1/README.rst 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/README.rst 2018-11-14 19:10:16.000000000 +0100
@@ -38,7 +38,8 @@
Installation
^^^^^^^^^^^^
-On Fedora / CentOS:
+On Fedora / CentOS (note: `EPEL <https://fedoraproject.org/wiki/EPEL>`_ is
+required on CentOS):
.. code:: bash
@@ -50,11 +51,17 @@
sudo apt-get install yamllint
+On Mac OS 10.11+:
+
+.. code:: bash
+
+ brew install yamllint
+
Alternatively using pip, the Python package manager:
.. code:: bash
- sudo pip install yamllint
+ pip install --user yamllint
Usage
^^^^^
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/docs/configuration.rst new/yamllint-1.13.0/docs/configuration.rst
--- old/yamllint-1.11.1/docs/configuration.rst 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/docs/configuration.rst 2018-11-14 19:10:16.000000000 +0100
@@ -102,8 +102,8 @@
-------------------
Problems detected by yamllint can be raised either as errors or as warnings.
-The CLI will output them (with different colors when using the ``standard``
-output format).
+The CLI will output them (with different colors when using the ``colored``
+output format, or ``auto`` when run from a terminal).
By default the script will exit with a return code ``1`` *only when* there is one or
more error(s).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/docs/quickstart.rst new/yamllint-1.13.0/docs/quickstart.rst
--- old/yamllint-1.11.1/docs/quickstart.rst 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/docs/quickstart.rst 2018-11-14 19:10:16.000000000 +0100
@@ -16,25 +16,24 @@
sudo apt-get install yamllint
-On older Debian / Ubuntu versions:
+On Mac OS 10.11+:
.. code:: bash
- sudo add-apt-repository -y ppa:adrienverge/ppa && sudo apt-get update
- sudo apt-get install yamllint
+ brew install yamllint
Alternatively using pip, the Python package manager:
.. code:: bash
- sudo pip install yamllint
+ pip install --user yamllint
If you prefer installing from source, you can run, from the source directory:
.. code:: bash
python setup.py sdist
- sudo pip install dist/yamllint-*.tar.gz
+ pip install --user dist/yamllint-*.tar.gz
Running yamllint
----------------
@@ -69,6 +68,10 @@
10:1 error too many blank lines (4 > 2) (empty-lines)
11:4 error too many spaces inside braces (braces)
+By default, the output of yamllint is colored when run from a terminal, and pure
+text in other cases. Add the ``-f standard`` arguments to force non-colored output.
+Use the ``-f colored`` arguments to force colored output.
+
Add the ``-f parsable`` arguments if you need an output format parsable by a
machine (for instance for :doc:`syntax highlighting in text editors
<text_editors>`). The output will then look like:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/docs/rules.rst new/yamllint-1.13.0/docs/rules.rst
--- old/yamllint-1.11.1/docs/rules.rst 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/docs/rules.rst 2018-11-14 19:10:16.000000000 +0100
@@ -104,6 +104,11 @@
.. automodule:: yamllint.rules.octal_values
+quoted-strings
+--------------
+
+.. automodule:: yamllint.rules.quoted_strings
+
trailing-spaces
---------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/tests/rules/test_quoted_strings.py new/yamllint-1.13.0/tests/rules/test_quoted_strings.py
--- old/yamllint-1.11.1/tests/rules/test_quoted_strings.py 1970-01-01 01:00:00.000000000 +0100
+++ new/yamllint-1.13.0/tests/rules/test_quoted_strings.py 2018-11-14 19:10:16.000000000 +0100
@@ -0,0 +1,125 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 2018 ClearScore
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+from tests.common import RuleTestCase
+
+
+class QuotedTestCase(RuleTestCase):
+ rule_id = 'quoted-strings'
+
+ def test_disabled(self):
+ conf = 'quoted-strings: disable'
+ self.check('---\n'
+ 'foo: bar\n', conf)
+ self.check('---\n'
+ 'foo: "bar"\n', conf)
+ self.check('---\n'
+ 'foo: \'bar\'\n', conf)
+ self.check('---\n'
+ 'bar: 123\n', conf)
+
+ def test_quote_type_any(self):
+ conf = 'quoted-strings: {quote-type: any}\n'
+ self.check('---\n'
+ 'boolean1: true\n'
+ 'number1: 123\n'
+ 'string1: foo\n' # fails
+ 'string2: "foo"\n'
+ 'string3: \'bar\'\n'
+ 'string4: !!str genericstring\n'
+ 'string5: !!str 456\n'
+ 'string6: !!str "quotedgenericstring"\n'
+ 'binary: !!binary binstring\n'
+ 'integer: !!int intstring\n'
+ 'boolean2: !!bool boolstring\n'
+ 'boolean3: !!bool "quotedboolstring"\n',
+ conf, problem=(4, 10))
+ self.check('---\n'
+ 'multiline string 1: |\n'
+ ' line 1\n'
+ ' line 2\n'
+ 'multiline string 2: >\n'
+ ' word 1\n'
+ ' word 2\n'
+ 'multiline string 3:\n'
+ ' word 1\n'
+ ' word 2\n'
+ 'multiline string 4:\n'
+ ' "word 1\\\n'
+ ' word 2"\n',
+ conf, problem1=(9, 3))
+
+ def test_quote_type_single(self):
+ conf = 'quoted-strings: {quote-type: single}\n'
+ self.check('---\n'
+ 'boolean1: true\n'
+ 'number1: 123\n'
+ 'string1: foo\n' # fails
+ 'string2: "foo"\n' # fails
+ 'string3: \'bar\'\n'
+ 'string4: !!str genericstring\n'
+ 'string5: !!str 456\n'
+ 'string6: !!str "quotedgenericstring"\n'
+ 'binary: !!binary binstring\n'
+ 'integer: !!int intstring\n'
+ 'boolean2: !!bool boolstring\n'
+ 'boolean3: !!bool "quotedboolstring"\n',
+ conf, problem1=(4, 10), problem2=(5, 10))
+ self.check('---\n'
+ 'multiline string 1: |\n'
+ ' line 1\n'
+ ' line 2\n'
+ 'multiline string 2: >\n'
+ ' word 1\n'
+ ' word 2\n'
+ 'multiline string 3:\n'
+ ' word 1\n'
+ ' word 2\n'
+ 'multiline string 4:\n'
+ ' "word 1\\\n'
+ ' word 2"\n',
+ conf, problem1=(9, 3), problem2=(12, 3))
+
+ def test_quote_type_double(self):
+ conf = 'quoted-strings: {quote-type: double}\n'
+ self.check('---\n'
+ 'boolean1: true\n'
+ 'number1: 123\n'
+ 'string1: foo\n' # fails
+ 'string2: "foo"\n'
+ 'string3: \'bar\'\n' # fails
+ 'string4: !!str genericstring\n'
+ 'string5: !!str 456\n'
+ 'string6: !!str "quotedgenericstring"\n'
+ 'binary: !!binary binstring\n'
+ 'integer: !!int intstring\n'
+ 'boolean2: !!bool boolstring\n'
+ 'boolean3: !!bool "quotedboolstring"\n',
+ conf, problem1=(4, 10), problem2=(6, 10))
+ self.check('---\n'
+ 'multiline string 1: |\n'
+ ' line 1\n'
+ ' line 2\n'
+ 'multiline string 2: >\n'
+ ' word 1\n'
+ ' word 2\n'
+ 'multiline string 3:\n'
+ ' word 1\n'
+ ' word 2\n'
+ 'multiline string 4:\n'
+ ' "word 1\\\n'
+ ' word 2"\n',
+ conf, problem1=(9, 3))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/tests/test_cli.py new/yamllint-1.13.0/tests/test_cli.py
--- old/yamllint-1.11.1/tests/test_cli.py 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/tests/test_cli.py 2018-11-14 19:10:16.000000000 +0100
@@ -351,7 +351,7 @@
'\n' % file))
self.assertEqual(err, '')
- def test_run_colored_output(self):
+ def test_run_default_format_output_in_tty(self):
file = os.path.join(self.wd, 'a.yaml')
# Create a pseudo-TTY and redirect stdout to it
@@ -383,3 +383,59 @@
'no new line character at the end of file '
'\033[2m(new-line-at-end-of-file)\033[0m\n'
'\n' % file))
+
+ def test_run_default_format_output_without_tty(self):
+ file = os.path.join(self.wd, 'a.yaml')
+
+ sys.stdout, sys.stderr = StringIO(), StringIO()
+ with self.assertRaises(SystemExit) as ctx:
+ cli.run((file, ))
+
+ self.assertEqual(ctx.exception.code, 1)
+
+ out, err = sys.stdout.getvalue(), sys.stderr.getvalue()
+ self.assertEqual(out, (
+ '%s\n'
+ ' 2:4 error trailing spaces (trailing-spaces)\n'
+ ' 3:4 error no new line character at the end of file '
+ '(new-line-at-end-of-file)\n'
+ '\n' % file))
+ self.assertEqual(err, '')
+
+ def test_run_auto_output_without_tty_output(self):
+ file = os.path.join(self.wd, 'a.yaml')
+
+ sys.stdout, sys.stderr = StringIO(), StringIO()
+ with self.assertRaises(SystemExit) as ctx:
+ cli.run((file, '--format', 'auto'))
+
+ self.assertEqual(ctx.exception.code, 1)
+
+ out, err = sys.stdout.getvalue(), sys.stderr.getvalue()
+ self.assertEqual(out, (
+ '%s\n'
+ ' 2:4 error trailing spaces (trailing-spaces)\n'
+ ' 3:4 error no new line character at the end of file '
+ '(new-line-at-end-of-file)\n'
+ '\n' % file))
+ self.assertEqual(err, '')
+
+ def test_run_format_colored(self):
+ file = os.path.join(self.wd, 'a.yaml')
+
+ sys.stdout, sys.stderr = StringIO(), StringIO()
+ with self.assertRaises(SystemExit) as ctx:
+ cli.run((file, '--format', 'colored'))
+
+ self.assertEqual(ctx.exception.code, 1)
+
+ out, err = sys.stdout.getvalue(), sys.stderr.getvalue()
+ self.assertEqual(out, (
+ '\033[4m%s\033[0m\n'
+ ' \033[2m2:4\033[0m \033[31merror\033[0m '
+ 'trailing spaces \033[2m(trailing-spaces)\033[0m\n'
+ ' \033[2m3:4\033[0m \033[31merror\033[0m '
+ 'no new line character at the end of file '
+ '\033[2m(new-line-at-end-of-file)\033[0m\n'
+ '\n' % file))
+ self.assertEqual(err, '')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint/__init__.py new/yamllint-1.13.0/yamllint/__init__.py
--- old/yamllint-1.11.1/yamllint/__init__.py 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/yamllint/__init__.py 2018-11-14 19:10:16.000000000 +0100
@@ -22,7 +22,7 @@
APP_NAME = 'yamllint'
-APP_VERSION = '1.11.1'
+APP_VERSION = '1.13.0'
APP_DESCRIPTION = __doc__
__author__ = u'Adrien Vergé'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint/cli.py new/yamllint-1.13.0/yamllint/cli.py
--- old/yamllint-1.11.1/yamllint/cli.py 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/yamllint/cli.py 2018-11-14 19:10:16.000000000 +0100
@@ -96,8 +96,8 @@
action='store',
help='custom configuration (as YAML source)')
parser.add_argument('-f', '--format',
- choices=('parsable', 'standard'), default='standard',
- help='format for parsing output')
+ choices=('parsable', 'standard', 'colored', 'auto'),
+ default='auto', help='format for parsing output')
parser.add_argument('-s', '--strict',
action='store_true',
help='return non-zero exit code on warnings '
@@ -143,7 +143,8 @@
for problem in linter.run(f, conf, filepath):
if args.format == 'parsable':
print(Format.parsable(problem, file))
- elif supports_color():
+ elif args.format == 'colored' or \
+ (args.format == 'auto' and supports_color()):
if first:
print('\033[4m%s\033[0m' % file)
first = False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint/conf/default.yaml new/yamllint-1.13.0/yamllint/conf/default.yaml
--- old/yamllint-1.11.1/yamllint/conf/default.yaml 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/yamllint/conf/default.yaml 2018-11-14 19:10:16.000000000 +0100
@@ -32,6 +32,7 @@
max: 2
max-start: 0
max-end: 0
+ quoted-strings: disable
empty-values:
forbid-in-block-mappings: false
forbid-in-flow-mappings: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint/config.py new/yamllint-1.13.0/yamllint/config.py
--- old/yamllint-1.11.1/yamllint/config.py 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/yamllint/config.py 2018-11-14 19:10:16.000000000 +0100
@@ -52,7 +52,7 @@
assert isinstance(base_config, YamlLintConfig)
for rule in self.rules:
- if (type(self.rules[rule]) == dict and
+ if (isinstance(self.rules[rule], dict) and
rule in base_config.rules and
base_config.rules[rule] is not False):
base_config.rules[rule].update(self.rules[rule])
@@ -70,7 +70,7 @@
except Exception as e:
raise YamlLintConfigError('invalid config: %s' % e)
- if type(conf) != dict:
+ if not isinstance(conf, dict):
raise YamlLintConfigError('invalid config: not a dict')
self.rules = conf.get('rules', {})
@@ -85,7 +85,7 @@
raise YamlLintConfigError('invalid config: %s' % e)
if 'ignore' in conf:
- if type(conf['ignore']) != str:
+ if not isinstance(conf['ignore'], str):
raise YamlLintConfigError(
'invalid config: ignore should contain file patterns')
self.ignore = pathspec.PathSpec.from_lines(
@@ -107,10 +107,10 @@
elif conf == 'enable':
conf = {}
- if type(conf) == dict:
+ if isinstance(conf, dict):
if ('ignore' in conf and
- type(conf['ignore']) != pathspec.pathspec.PathSpec):
- if type(conf['ignore']) != str:
+ not isinstance(conf['ignore'], pathspec.pathspec.PathSpec)):
+ if not isinstance(conf['ignore'], str):
raise YamlLintConfigError(
'invalid config: ignore should contain file patterns')
conf['ignore'] = pathspec.PathSpec.from_lines(
@@ -130,14 +130,14 @@
raise YamlLintConfigError(
'invalid config: unknown option "%s" for rule "%s"' %
(optkey, rule.ID))
- if type(options[optkey]) == tuple:
+ if isinstance(options[optkey], tuple):
if (conf[optkey] not in options[optkey] and
type(conf[optkey]) not in options[optkey]):
raise YamlLintConfigError(
'invalid config: option "%s" of "%s" should be in %s'
% (optkey, rule.ID, options[optkey]))
else:
- if type(conf[optkey]) != options[optkey]:
+ if not isinstance(conf[optkey], options[optkey]):
raise YamlLintConfigError(
'invalid config: option "%s" of "%s" should be %s'
% (optkey, rule.ID, options[optkey].__name__))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint/linter.py new/yamllint-1.13.0/yamllint/linter.py
--- old/yamllint-1.11.1/yamllint/linter.py 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/yamllint/linter.py 2018-11-14 19:10:16.000000000 +0100
@@ -226,7 +226,7 @@
if conf.is_file_ignored(filepath):
return ()
- if type(input) in (type(b''), type(u'')): # compat with Python 2 & 3
+ if isinstance(input, (type(b''), type(u''))): # compat with Python 2 & 3
return _run(input, conf, filepath)
elif hasattr(input, 'read'): # Python 2's file or Python 3's io.IOBase
# We need to have everything in memory to parse correctly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint/rules/__init__.py new/yamllint-1.13.0/yamllint/rules/__init__.py
--- old/yamllint-1.11.1/yamllint/rules/__init__.py 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/yamllint/rules/__init__.py 2018-11-14 19:10:16.000000000 +0100
@@ -33,6 +33,7 @@
new_line_at_end_of_file,
new_lines,
octal_values,
+ quoted_strings,
trailing_spaces,
truthy,
)
@@ -56,6 +57,7 @@
new_line_at_end_of_file.ID: new_line_at_end_of_file,
new_lines.ID: new_lines,
octal_values.ID: octal_values,
+ quoted_strings.ID: quoted_strings,
trailing_spaces.ID: trailing_spaces,
truthy.ID: truthy,
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint/rules/document_end.py new/yamllint-1.13.0/yamllint/rules/document_end.py
--- old/yamllint-1.11.1/yamllint/rules/document_end.py 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/yamllint/rules/document_end.py 2018-11-14 19:10:16.000000000 +0100
@@ -86,14 +86,16 @@
def check(conf, token, prev, next, nextnext, context):
if conf['present']:
- if (isinstance(token, yaml.StreamEndToken) and
- not (isinstance(prev, yaml.DocumentEndToken) or
- isinstance(prev, yaml.StreamStartToken))):
+ is_stream_end = isinstance(token, yaml.StreamEndToken)
+ is_start = isinstance(token, yaml.DocumentStartToken)
+ prev_is_end_or_stream_start = isinstance(
+ prev, (yaml.DocumentEndToken, yaml.StreamStartToken)
+ )
+
+ if is_stream_end and not prev_is_end_or_stream_start:
yield LintProblem(token.start_mark.line, 1,
'missing document end "..."')
- elif (isinstance(token, yaml.DocumentStartToken) and
- not (isinstance(prev, yaml.DocumentEndToken) or
- isinstance(prev, yaml.StreamStartToken))):
+ elif is_start and not prev_is_end_or_stream_start:
yield LintProblem(token.start_mark.line + 1, 1,
'missing document end "..."')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint/rules/indentation.py new/yamllint-1.13.0/yamllint/rules/indentation.py
--- old/yamllint-1.11.1/yamllint/rules/indentation.py 2018-04-06 11:12:20.000000000 +0200
+++ new/yamllint-1.13.0/yamllint/rules/indentation.py 2018-11-14 19:10:16.000000000 +0100
@@ -224,7 +224,7 @@
def compute_expected_indent(found_indent):
def detect_indent(base_indent):
- if type(context['spaces']) is not int:
+ if not isinstance(context['spaces'], int):
context['spaces'] = found_indent - base_indent
return base_indent + context['spaces']
@@ -312,7 +312,7 @@
token.start_mark.line + 1 > context['cur_line'])
def detect_indent(base_indent, next):
- if type(context['spaces']) is not int:
+ if not isinstance(context['spaces'], int):
context['spaces'] = next.start_mark.column - base_indent
return base_indent + context['spaces']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint/rules/quoted_strings.py new/yamllint-1.13.0/yamllint/rules/quoted_strings.py
--- old/yamllint-1.11.1/yamllint/rules/quoted_strings.py 1970-01-01 01:00:00.000000000 +0100
+++ new/yamllint-1.13.0/yamllint/rules/quoted_strings.py 2018-11-14 19:10:16.000000000 +0100
@@ -0,0 +1,77 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 2018 ClearScore
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+"""
+Use this rule to forbid any string values that are not quoted.
+You can also enforce the type of the quote used using the ``quote-type`` option
+(``single``, ``double`` or ``any``).
+
+**Note**: Multi-line strings (with ``|`` or ``>``) will not be checked.
+
+.. rubric:: Examples
+
+#. With ``quoted-strings: {quote-type: any}``
+
+ the following code snippet would **PASS**:
+ ::
+
+ foo: "bar"
+ bar: 'foo'
+ number: 123
+ boolean: true
+
+ the following code snippet would **FAIL**:
+ ::
+
+ foo: bar
+"""
+
+import yaml
+
+from yamllint.linter import LintProblem
+
+ID = 'quoted-strings'
+TYPE = 'token'
+CONF = {'quote-type': ('any', 'single', 'double')}
+
+
+def check(conf, token, prev, next, nextnext, context):
+ quote_type = conf['quote-type']
+
+ if (isinstance(token, yaml.tokens.ScalarToken) and
+ isinstance(prev, (yaml.ValueToken, yaml.TagToken))):
+ # Ignore explicit types, e.g. !!str testtest or !!int 42
+ if (prev and isinstance(prev, yaml.tokens.TagToken) and
+ prev.value[0] == '!!'):
+ return
+
+ # Ignore numbers, booleans, etc.
+ resolver = yaml.resolver.Resolver()
+ if resolver.resolve(yaml.nodes.ScalarNode, token.value,
+ (True, False)) != 'tag:yaml.org,2002:str':
+ return
+
+ # Ignore multi-line strings
+ if (not token.plain) and (token.style == "|" or token.style == ">"):
+ return
+
+ if ((quote_type == 'single' and token.style != "'") or
+ (quote_type == 'double' and token.style != '"') or
+ (quote_type == 'any' and token.style is None)):
+ yield LintProblem(
+ token.start_mark.line + 1,
+ token.start_mark.column + 1,
+ "string value is not quoted with %s quotes" % (quote_type))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint.egg-info/PKG-INFO new/yamllint-1.13.0/yamllint.egg-info/PKG-INFO
--- old/yamllint-1.11.1/yamllint.egg-info/PKG-INFO 2018-04-06 11:14:37.000000000 +0200
+++ new/yamllint-1.13.0/yamllint.egg-info/PKG-INFO 2018-11-14 19:10:45.000000000 +0100
@@ -1,12 +1,11 @@
Metadata-Version: 1.1
Name: yamllint
-Version: 1.11.1
+Version: 1.13.0
Summary: A linter for YAML files.
Home-page: https://github.com/adrienverge/yamllint
Author: Adrien Vergé
Author-email: UNKNOWN
License: GPLv3
-Description-Content-Type: UNKNOWN
Description: A linter for YAML files.
yamllint does not only check for syntax validity, but for weirdnesses like key
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yamllint-1.11.1/yamllint.egg-info/SOURCES.txt new/yamllint-1.13.0/yamllint.egg-info/SOURCES.txt
--- old/yamllint-1.11.1/yamllint.egg-info/SOURCES.txt 2018-04-06 11:14:37.000000000 +0200
+++ new/yamllint-1.13.0/yamllint.egg-info/SOURCES.txt 2018-11-14 19:10:45.000000000 +0100
@@ -44,6 +44,7 @@
tests/rules/test_new_line_at_end_of_file.py
tests/rules/test_new_lines.py
tests/rules/test_octal_values.py
+tests/rules/test_quoted_strings.py
tests/rules/test_trailing_spaces.py
tests/rules/test_truthy.py
tests/yaml-1.2-spec-examples/example-10.1
@@ -212,5 +213,6 @@
yamllint/rules/new_line_at_end_of_file.py
yamllint/rules/new_lines.py
yamllint/rules/octal_values.py
+yamllint/rules/quoted_strings.py
yamllint/rules/trailing_spaces.py
yamllint/rules/truthy.py
\ No newline at end of file
1
0
Hello community,
here is the log from the commit of package python-vcrpy for openSUSE:Factory checked in at 2018-12-31 09:47:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-vcrpy (Old)
and /work/SRC/openSUSE:Factory/.python-vcrpy.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vcrpy"
Mon Dec 31 09:47:11 2018 rev:3 rq:662049 version:2.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-vcrpy/python-vcrpy.changes 2018-10-26 11:08:47.765839974 +0200
+++ /work/SRC/openSUSE:Factory/.python-vcrpy.new.28833/python-vcrpy.changes 2018-12-31 09:47:50.674144921 +0100
@@ -1,0 +2,7 @@
+Sat Dec 29 15:56:43 UTC 2018 - mardnh(a)gmx.de
+
+- Add patch:
+ * python-vcrpy-fix-tunnel-uri-generation.patch
+ Needed for python-pyvmomi
+
+-------------------------------------------------------------------
New:
----
python-vcrpy-fix-tunnel-uri-generation.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-vcrpy.spec ++++++
--- /var/tmp/diff_new_pack.ZIG3Hk/_old 2018-12-31 09:47:51.106144566 +0100
+++ /var/tmp/diff_new_pack.ZIG3Hk/_new 2018-12-31 09:47:51.110144563 +0100
@@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -26,6 +26,7 @@
Group: Development/Languages/Python
URL: https://github.com/kevin1024/vcrpy
Source: https://files.pythonhosted.org/packages/source/v/vcrpy/vcrpy-%{version}.tar…
+Patch0: python-vcrpy-fix-tunnel-uri-generation.patch
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module pytest-httpbin}
BuildRequires: %{python_module pytest}
@@ -58,6 +59,7 @@
%prep
%setup -q -n vcrpy-%{version}
+%patch0 -p1
%build
%python_build
++++++ python-vcrpy-fix-tunnel-uri-generation.patch ++++++
>From a4e60d4bb10f49ec212ec89e9a632dc42e4fd477 Mon Sep 17 00:00:00 2001
From: "James E. King III" <jking(a)apache.org>
Date: Sat, 22 Dec 2018 17:21:25 +0000
Subject: [PATCH] properly handle tunnel connect uri generation broken in #389
---
tests/unit/test_request.py | 25 ++++++++++++++++---------
vcr/request.py | 5 ++++-
2 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/tests/unit/test_request.py b/tests/unit/test_request.py
index dfd68d7..00793f8 100644
--- a/tests/unit/test_request.py
+++ b/tests/unit/test_request.py
@@ -3,9 +3,13 @@
from vcr.request import Request, HeadersDict
-def test_str():
- req = Request('GET', 'http://www.google.com/', '', {})
- str(req) == '<Request (GET) http://www.google.com/>'
+(a)pytest.mark.parametrize("method, uri, expected_str", [
+ ('GET', 'http://www.google.com/', '<Request (GET) http://www.google.com/>'),
+ ('OPTIONS', '*', '<Request (OPTIONS) *>'),
+ ('CONNECT', 'host.some.where:1234', '<Request (CONNECT) host.some.where:1234>')
+])
+def test_str(method, uri, expected_str):
+ assert str(Request(method, uri, '', {})) == expected_str
def test_headers():
@@ -29,18 +33,21 @@ def test_add_header_deprecated():
('https://go.com/', 443),
('https://go.com:443/', 443),
('https://go.com:3000/', 3000),
+ ('*', None)
])
def test_port(uri, expected_port):
req = Request('GET', uri, '', {})
assert req.port == expected_port
-def test_uri():
- req = Request('GET', 'http://go.com/', '', {})
- assert req.uri == 'http://go.com/'
-
- req = Request('GET', 'http://go.com:80/', '', {})
- assert req.uri == 'http://go.com:80/'
+(a)pytest.mark.parametrize("method, uri", [
+ ('GET', 'http://go.com/'),
+ ('GET', 'http://go.com:80/'),
+ ('CONNECT', 'localhost:1234'),
+ ('OPTIONS', '*')
+])
+def test_uri(method, uri):
+ assert Request(method, uri, '', {}).uri == uri
def test_HeadersDict():
diff --git a/vcr/request.py b/vcr/request.py
index e268053..dfd6d46 100644
--- a/vcr/request.py
+++ b/vcr/request.py
@@ -58,7 +58,10 @@ def port(self):
parse_uri = urlparse(self.uri)
port = parse_uri.port
if port is None:
- port = {'https': 443, 'http': 80}[parse_uri.scheme]
+ try:
+ port = {'https': 443, 'http': 80}[parse_uri.scheme]
+ except KeyError:
+ pass
return port
@property
1
0
Hello community,
here is the log from the commit of package kurso-de-esperanto for openSUSE:Factory checked in at 2018-12-31 09:47:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kurso-de-esperanto (Old)
and /work/SRC/openSUSE:Factory/.kurso-de-esperanto.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kurso-de-esperanto"
Mon Dec 31 09:47:07 2018 rev:3 rq:662004 version:4.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/kurso-de-esperanto/kurso-de-esperanto.changes 2018-03-30 12:09:02.846209472 +0200
+++ /work/SRC/openSUSE:Factory/.kurso-de-esperanto.new.28833/kurso-de-esperanto.changes 2018-12-31 09:47:48.434146758 +0100
@@ -1,0 +2,5 @@
+Fri Dec 28 20:30:26 UTC 2018 - sor.alexei(a)meowr.ru
+
+- Use identify to detect existing icon sizes.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kurso-de-esperanto.spec ++++++
--- /var/tmp/diff_new_pack.p86wTQ/_old 2018-12-31 09:47:49.362145997 +0100
+++ /var/tmp/diff_new_pack.p86wTQ/_new 2018-12-31 09:47:49.366145994 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -74,11 +74,11 @@
install -Dpm 0644 br.com.kurso.%{_name}.desktop %{buildroot}%{_datadir}/applications/br.com.kurso.%{_name}.desktop
install -Dpm 0644 br.com.kurso.%{_name}.appdata.xml %{buildroot}%{_datadir}/metainfo/br.com.kurso.%{_name}.appdata.xml
-inc=0
-for size in 256x256 128x128 64x64 48x48 32x32 24x24 16x16; do
- mkdir -p %{buildroot}%{_datadir}/icons/hicolor/$size/apps/
- convert -strip "ico:%{_name}%{_version}.ico[$inc]" "png:%{buildroot}%{_datadir}/icons/hicolor/$size/apps/%{name}.png"
- inc=$(($inc + 1))
+convert -strip ico:%{_name}%{_version}.ico png:%{name}-icon.png
+ls %{name}-icon*.png | while read -r i; do
+ size=$(identify -ping -format '%%[w]x%%[h]\n' "$i")
+ mkdir -p "%{buildroot}%{_datadir}/icons/hicolor/$size/apps/"
+ mv "$i" "%{buildroot}%{_datadir}/icons/hicolor/$size/apps/%{name}.png"
done
%suse_update_desktop_file br.com.kurso.%{_name}
@@ -93,11 +93,7 @@
%endif
%files
-%if 0%{?suse_version} >= 1500
%license COPYRIGHT
-%else
-%doc COPYRIGHT
-%endif
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/br.com.kurso.%{_name}.desktop
1
0
Hello community,
here is the log from the commit of package uhd for openSUSE:Factory checked in at 2018-12-31 09:47:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uhd (Old)
and /work/SRC/openSUSE:Factory/.uhd.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "uhd"
Mon Dec 31 09:47:03 2018 rev:24 rq:661984 version:3.9.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/uhd/uhd.changes 2018-05-30 12:41:42.731582036 +0200
+++ /work/SRC/openSUSE:Factory/.uhd.new.28833/uhd.changes 2018-12-31 09:47:47.218147756 +0100
@@ -1,0 +2,6 @@
+Fri Dec 28 12:21:29 UTC 2018 - mardnh(a)gmx.de
+
+- Disable support for GPSD in uhd for now.
+ gps support is not yet adapted to the latest gpsd API.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ uhd.spec ++++++
--- /var/tmp/diff_new_pack.bQgNdv/_old 2018-12-31 09:47:48.298146870 +0100
+++ /var/tmp/diff_new_pack.bQgNdv/_new 2018-12-31 09:47:48.302146867 +0100
@@ -150,7 +150,7 @@
%limit_build
%cmake \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
- -DENABLE_GPSD=1
+ -DENABLE_GPSD=0
%make_jobs
%check
1
0
Hello community,
here is the log from the commit of package gsequencer for openSUSE:Factory checked in at 2018-12-31 09:47:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gsequencer (Old)
and /work/SRC/openSUSE:Factory/.gsequencer.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gsequencer"
Mon Dec 31 09:47:01 2018 rev:29 rq:661983 version:2.1.21
Changes:
--------
--- /work/SRC/openSUSE:Factory/gsequencer/gsequencer.changes 2018-12-27 00:30:00.767632535 +0100
+++ /work/SRC/openSUSE:Factory/.gsequencer.new.28833/gsequencer.changes 2018-12-31 09:47:45.866148865 +0100
@@ -1,0 +2,25 @@
+Fri Dec 28 10:15:19 UTC 2018 - Joël Krähemann <jkraehemann(a)gmail.com>
+
+- new upstream v2.1.21 improved unit tests.
+
+-------------------------------------------------------------------
+Thu Dec 27 22:12:37 UTC 2018 - Joël Krähemann <jkraehemann(a)gmail.com>
+
+- new upstream v2.1.20 targeted compiler warnings.
+- Fixed potential dead-locks.
+- Minor improvements.
+
+-------------------------------------------------------------------
+Sun Dec 23 20:20:45 UTC 2018 - Joël Krähemann <jkraehemann(a)gmail.com>
+
+- new upstream v2.1.18 fixed AgsSeekSoundcard get/set offset
+ property.
+- Minor fixes and improvements.
+- Added new unit-tests.
+
+-------------------------------------------------------------------
+Sun Dec 23 17:13:30 UTC 2018 - Joël Krähemann <jkraehemann(a)gmail.com>
+
+- new upstream v2.1.17 minor fixes.
+
+-------------------------------------------------------------------
Old:
----
gsequencer-2.1.16.tar.gz
New:
----
gsequencer-2.1.21.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gsequencer.spec ++++++
--- /var/tmp/diff_new_pack.YshsbF/_old 2018-12-31 09:47:46.430148403 +0100
+++ /var/tmp/diff_new_pack.YshsbF/_new 2018-12-31 09:47:46.430148403 +0100
@@ -18,7 +18,7 @@
%define libagssonumber 2
%define libgsequencersonumber 0
Name: gsequencer
-Version: 2.1.16
+Version: 2.1.21
Release: 0
Summary: Audio processing engine
License: GPL-3.0+ AND AGPL-3.0+ AND GFDL-1.3
++++++ gsequencer-2.1.16.tar.gz -> gsequencer-2.1.21.tar.gz ++++++
++++ 30183 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package wine for openSUSE:Factory checked in at 2018-12-31 09:46:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wine (Old)
and /work/SRC/openSUSE:Factory/.wine.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wine"
Mon Dec 31 09:46:58 2018 rev:269 rq:661971 version:4.0~rc4
Changes:
--------
--- /work/SRC/openSUSE:Factory/wine/wine.changes 2018-12-21 08:21:37.865558094 +0100
+++ /work/SRC/openSUSE:Factory/.wine.new.28833/wine.changes 2018-12-31 09:47:44.446150031 +0100
@@ -1,0 +2,14 @@
+Sat Dec 29 11:57:54 UTC 2018 - meissner(a)suse.com
+
+- Update to 4.0rc4 release candidate
+ - bugfixes only
+- updated staging to 4.0-rc4
+
+-------------------------------------------------------------------
+Fri Dec 21 19:55:16 UTC 2018 - meissner(a)suse.com
+
+- Update to 4.0rc3 release candidate
+ - bugfixes only
+- updated staging to 4.0-rc3
+
+-------------------------------------------------------------------
Old:
----
wine-4.0-rc2.tar.xz
wine-4.0-rc2.tar.xz.sign
wine-staging-4.0rc2.tar.xz
New:
----
wine-4.0-rc4.tar.xz
wine-4.0-rc4.tar.xz.sign
wine-staging-4.0rc4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wine.spec ++++++
--- /var/tmp/diff_new_pack.LEdm80/_old 2018-12-31 09:47:45.462149197 +0100
+++ /var/tmp/diff_new_pack.LEdm80/_new 2018-12-31 09:47:45.462149197 +0100
@@ -107,8 +107,8 @@
BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(zlib)
-%define realver 4.0-rc2
-Version: 4.0~rc2
+%define realver 4.0-rc4
+Version: 4.0~rc4
Release: 0
Summary: An MS Windows Emulator
License: LGPL-2.1-or-later
@@ -142,7 +142,7 @@
ExclusiveArch: %{ix86} x86_64 ppc %arm aarch64
%if %{staging}
# upstream patch target version
-%define staging_version 4.0rc2
+%define staging_version 4.0rc4
Source100: wine-staging-%{staging_version}.tar.xz
BuildRequires: gtk3-devel
BuildRequires: libOSMesa-devel
++++++ _service ++++++
--- /var/tmp/diff_new_pack.LEdm80/_old 2018-12-31 09:47:45.514149154 +0100
+++ /var/tmp/diff_new_pack.LEdm80/_new 2018-12-31 09:47:45.514149154 +0100
@@ -3,7 +3,7 @@
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="url">https://github.com/wine-staging/wine-staging.git</param>
- <param name="revision">refs/tags/v4.0-rc2</param>
+ <param name="revision">refs/tags/v4.0-rc4</param>
<param name="match-tag">v*.*</param>
<param name="scm">git</param>
</service>
++++++ wine-4.0-rc2.tar.xz -> wine-4.0-rc4.tar.xz ++++++
/work/SRC/openSUSE:Factory/wine/wine-4.0-rc2.tar.xz /work/SRC/openSUSE:Factory/.wine.new.28833/wine-4.0-rc4.tar.xz differ: char 26, line 1
++++++ wine-staging-4.0rc2.tar.xz -> wine-staging-4.0rc4.tar.xz ++++++
/work/SRC/openSUSE:Factory/wine/wine-staging-4.0rc2.tar.xz /work/SRC/openSUSE:Factory/.wine.new.28833/wine-staging-4.0rc4.tar.xz differ: char 27, line 1
1
0
Hello community,
here is the log from the commit of package sc-controller for openSUSE:Factory checked in at 2018-12-31 09:46:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sc-controller (Old)
and /work/SRC/openSUSE:Factory/.sc-controller.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sc-controller"
Mon Dec 31 09:46:56 2018 rev:3 rq:661960 version:0.4.6.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/sc-controller/sc-controller.changes 2018-11-26 10:27:53.773197612 +0100
+++ /work/SRC/openSUSE:Factory/.sc-controller.new.28833/sc-controller.changes 2018-12-31 09:47:38.466154937 +0100
@@ -1,0 +2,11 @@
+Fri Dec 28 13:54:52 UTC 2018 - Jannik Seiler <seil0(a)mosad.xyz>
+
+- Update to version 0.4.6.1
+ * Backups created while converting profiles were not ignored by GUI nor when converting profiles, creating more and more backups every time application started.
+ * New in 0.4.6:
+ * Added support for Retroarch RemotePad protocol, which allows using mobile phone as additional controller. See this wiki page for more info.
+ * Added option to use shell command as condition in modeshift (#427)
+ * Fixes in 0.4.6:
+ * Proton (Steam Play) crashing scc-daemon (#435)
+
+-------------------------------------------------------------------
Old:
----
sc-controller-0.4.5.tar.gz
New:
----
sc-controller-0.4.6.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sc-controller.spec ++++++
--- /var/tmp/diff_new_pack.rn2myw/_old 2018-12-31 09:47:38.986154510 +0100
+++ /var/tmp/diff_new_pack.rn2myw/_new 2018-12-31 09:47:38.986154510 +0100
@@ -17,7 +17,7 @@
Name: sc-controller
-Version: 0.4.5
+Version: 0.4.6.1
Release: 0
Summary: User-mode driver and GTK3-based GUI for the Steam Controller
License: GPL-2.0-only
++++++ sc-controller-0.4.5.tar.gz -> sc-controller-0.4.6.1.tar.gz ++++++
++++ 4653 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package log4cpp for openSUSE:Factory checked in at 2018-12-31 09:46:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/log4cpp (Old)
and /work/SRC/openSUSE:Factory/.log4cpp.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "log4cpp"
Mon Dec 31 09:46:54 2018 rev:4 rq:661958 version:1.1.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/log4cpp/log4cpp.changes 2018-12-24 11:46:56.165157845 +0100
+++ /work/SRC/openSUSE:Factory/.log4cpp.new.28833/log4cpp.changes 2018-12-31 09:47:36.914156210 +0100
@@ -1,0 +2,6 @@
+Fri Dec 28 21:40:47 UTC 2018 - Jan Engelhardt <jengelh(a)inai.de>
+
+- Wrap description again.
+- Replace %__-type macro indirections.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ log4cpp.spec ++++++
--- /var/tmp/diff_new_pack.xQBNRb/_old 2018-12-31 09:47:37.622155630 +0100
+++ /var/tmp/diff_new_pack.xQBNRb/_new 2018-12-31 09:47:37.626155626 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -34,7 +34,9 @@
%define libname lib%{name}5
%description
-Log for C++ is a library of classes for flexible logging to files, syslog, and other destinations. It is modeled after the Log for Java library and stays as close to its API as is reasonable.
+Log for C++ is a library of classes for flexible logging to files,
+syslog, and other destinations. It is modeled after the Log for Java
+library and stays as close to its API as is reasonable.
%package -n %{libname}
Summary: Logging for C++
@@ -66,10 +68,10 @@
%build
%configure --enable-doxygen --disable-static
-%{__make} %{?_smp_mflags}
+make %{?_smp_mflags}
%install
-%{__make} %{?_smp_mflags} install DESTDIR=%{buildroot} mandir=%{buildroot}%{_mandir} docdir=%{buildroot}%{_docdir}/%{name}
+%make_install mandir="%{buildroot}/%{_mandir}" docdir="%{buildroot}/%{_docdir}/%{name}"
find %{buildroot} -type f -name "*.la" -delete -print
%if 0%{?suse_version}
%fdupes -s %{buildroot}/%{_docdir}/%{name}/api
1
0
Hello community,
here is the log from the commit of package eric for openSUSE:Factory checked in at 2018-12-31 09:46:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/eric (Old)
and /work/SRC/openSUSE:Factory/.eric.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "eric"
Mon Dec 31 09:46:52 2018 rev:6 rq:661955 version:18.12
Changes:
--------
--- /work/SRC/openSUSE:Factory/eric/eric.changes 2018-11-10 17:01:22.575607051 +0100
+++ /work/SRC/openSUSE:Factory/.eric.new.28833/eric.changes 2018-12-31 09:47:34.950157822 +0100
@@ -1,0 +2,11 @@
+Sat Dec 29 07:55:14 UTC 2018 - sean(a)suspend.net
+
+- Update to 18.12:
+ * changed the 'regexp' search option to use POSIX mode
+ * added the ability to search for a regex
+ * added support for the resource-suffix and --import-from= opts
+ * added a button to open the translator config page
+ * extended the env definition by a flag indicating an Anaconda env
+ * changed the start menu to give a list of defined envs
+
+-------------------------------------------------------------------
Old:
----
eric6-18.11.tar.gz
New:
----
eric6-18.12.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ eric.spec ++++++
--- /var/tmp/diff_new_pack.8Gwrgu/_old 2018-12-31 09:47:36.694156391 +0100
+++ /var/tmp/diff_new_pack.8Gwrgu/_new 2018-12-31 09:47:36.698156387 +0100
@@ -37,7 +37,7 @@
%define qt_dir %{_datadir}/qt%{qt_ver}
Name: eric
-Version: 18.11
+Version: 18.12
Release: 0
Summary: Python IDE based on Qt5
License: GPL-3.0-or-later
++++++ eric6-18.11.tar.gz -> eric6-18.12.tar.gz ++++++
/work/SRC/openSUSE:Factory/eric/eric6-18.11.tar.gz /work/SRC/openSUSE:Factory/.eric.new.28833/eric6-18.12.tar.gz differ: char 5, line 1
1
0