Skip to content

Commit

Permalink
Release 2.2.2
Browse files Browse the repository at this point in the history
* update screenshots
+ add error logging to extquotes
- fix paragraph bug
- fix bug with DP settings
  • Loading branch information
arcan1s committed May 21, 2015
1 parent 78931b3 commit 8c73b25
Show file tree
Hide file tree
Showing 35 changed files with 3,878 additions and 9,131 deletions.
28 changes: 23 additions & 5 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
Ver.2.2.2:
+ add quotes support (#46)
+ add support of properties height and width (#47)
+ add transtaltion support to the plugins (#50)
+ add support of key caching
+ add support of X-AW-Number to ExtScript and ExtUpgrade (ApiVer=2)
+ add reconnection to DataEngine (in some cases some values are not updated)
+ add widgets width and height update
- fix bug with Ext* items update (#49)
- fix bug with GPUDEV, HDDDEV settings saving from UI
- fix Desktop Panel settings
- fix bug with adding paragraph settings
* drop support of KDE4 support, created a separate branch
* increase intervals limits (#48)
* hddtemp was replaced to smartctl by default
* plugins were moved from private
* more correct interface painting

Ver.2.2.1:
+ add key X-AW-Interval to ExtUpgrade (ApiVer = 1, default = 3600)
+ add values cache to ExtScript and ExtUpgrade
Expand All @@ -17,7 +35,7 @@ Ver.2.2.0:
* small changes in widget logic
* edit window preview painting
* KDE4 code upgrade to new ABI
* dataengine optimization
* DataEngine optimization
* PKGCMD was replaced by ExtUpgrade

Ver.2.1.0:
Expand Down Expand Up @@ -92,7 +110,7 @@ Ver.1.11.0:
+ add desktop label (tags $name, $number, $total)
+ add ability to interact with players using mpris
* rewrite to use submodules
* rewrite dataengine to use tasks
* rewrite DataEngine to use tasks
* fix nvidia temperature definition

Ver.1.10.2:
Expand Down Expand Up @@ -121,7 +139,7 @@ Ver.1.10.0:
- remove util.py
- remove createNotifyrc since it isn't needed
* refactoring of configuration interface
* player settings was moved from plasmoid to dataengine
* player settings was moved from plasmoid to DataEngine
* edit readme call
* change readme from md to html

Expand Down Expand Up @@ -169,8 +187,8 @@ Ver.1.7.3:
Ver.1.7.2:
+ add tags $dd, $d, $hh, $h, $mm, $m to custom uptime format
+ add scalling to tooltips
+ add dataengine configuration from ptm
+ add custom command to dataengine
+ add DataEngine configuration from ptm
+ add custom command to DataEngine
- remove custom command from ptm
- remove tags $ds, $hs, $ms

Expand Down
24 changes: 21 additions & 3 deletions CHANGELOG-RU
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
Вер.2.2.2:
+ добавлена поддержка котировок (#46)
+ добавлена поддержка свойств height и width (#47)
+ добавлена поддержка перевода в плагины (#50)
+ добавлено кеширование ключей
+ добавлена поддержка X-AW-Number в ExtScript, ExtUpgrade (ApiVer=2)
+ добавлено переподключение DataEngine (в некоторых случаях отдельные значения не обновляются)
+ добавлено обновление ширины и высоты виджета
- исправлен баг при обновлении Ext* (#49)
- исправлен баг с сохранением настроек GPUDEV, HDDDEV из графического интерфейса
- исправлены настройки Desktop Panel
- исправлен баг с добавлением настроек параграфа
* дропнута поддержка KDE4 версии (отдельная ветка разработки)
* увеличены лимиты для интервалов (#48)
* hddtemp был заменен на smartctl по умолчанию
* плагины были перемещены из private
* более корректное рисование интерфейса

Вер.2.2.1:
+ добавлен ключ X-AW-Interval в ExtUpgrade (ApiVer = 1, default = 3600)
+ добавлено кеширование значений в ExtScript и ExtUpgrade
Expand All @@ -17,7 +35,7 @@
* незначительно изменена логика работы виджета
* исправлена отрисовка превью окон
* обновление кодовой базы KDE4 под новый ABI
* оптимизация работы dataengine
* оптимизация работы DataEngine
* PKGCMD были заменены на ExtUpgrade

Вер.2.1.0:
Expand Down Expand Up @@ -92,7 +110,7 @@
+ добавлено поле текущий рабочий стол (теги $name, $number, $total)
+ добавлена возможность взаимодействия с плеерами через mpris
* добавлено использование сабмодулей
* dataengine переписан с использованием tasks
* DataEngine переписан с использованием tasks
* фикс чтения температуры nvidia

Вер.1.10.2:
Expand Down Expand Up @@ -121,7 +139,7 @@
- удален util.py
- удалены функции createNotifyrc, поскольку они больше не нужны
* рефакторинг конфигурационного интерфейса
* настройки плеера были перенесены из виджета в dataengine
* настройки плеера были перенесены из виджета в DataEngine
* исправлен вызов readme под четырехсимвольное обозначение
* перенос readme с md на html

Expand Down
4 changes: 2 additions & 2 deletions arch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=plasma5-applet-awesome-widgets
_pkgname=awesome-widgets
pkgver=2.2.1
pkgver=2.2.2
pkgrel=1
pkgdesc="Collection of minimalistic Plasmoids which look like Awesome WM widgets (ex-PyTextMonitor)"
arch=('i686' 'x86_64')
Expand All @@ -20,7 +20,7 @@ optdepends=("amarok: for music player monitor"
makedepends=('cmake' 'extra-cmake-modules')
source=(https://github.com/arcan1s/awesome-widgets/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
install=${pkgname}.install
md5sums=('74099a8150aa1992b8a168934878d928')
md5sums=('73e176a124f8bfe43a0a112307624bfe')
backup=('etc/xdg/plasma-dataengine-extsysmon.conf')

prepare() {
Expand Down
2 changes: 1 addition & 1 deletion arch/PKGBUILD-git
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=plasma5-applet-awesome-widgets
_pkgname=awesome-widgets
pkgver=2.2.1.r12.gb82d78b
pkgver=2.2.1.r15.g78931b3
pkgrel=1
pkgdesc="Collection of minimalistic Plasmoids which look like Awesome WM widgets (ex-PyTextMonitor). Git version"
arch=('i686' 'x86_64')
Expand Down
4 changes: 2 additions & 2 deletions create_archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ rm -rf "${ARCHIVE}"

# update md5sum
MD5SUMS=$(md5sum ${ARCHIVE}-${VERSION}-src.tar.xz | awk '{print $1}')
sed -i "/md5sums=('[0-9A-Fa-f]*/s/[^'][^)]*/md5sums=('${MD5SUMS}'/" arch/PKGBUILD{-kf5,-kde4}
sed -i "s/pkgver=[0-9.]*/pkgver=${VERSION}/" arch/PKGBUILD{-kf5,-kde4}
sed -i "/md5sums=('[0-9A-Fa-f]*/s/[^'][^)]*/md5sums=('${MD5SUMS}'/" arch/PKGBUILD
sed -i "s/pkgver=[0-9.]*/pkgver=${VERSION}/" arch/PKGBUILD
# clear
find . -type f -name '*src.tar.xz' -not -name "*${VERSION}-src.tar.xz" -exec rm -rf {} \;
find arch -type l -xtype l -exec rm -rf {} \;
Binary file modified screenshots/config_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/config_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/config_03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/config_04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/config_05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/config_06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/dp_config_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/dp_config_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/dp_config_03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/dp_config_04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions sources/awesome-widget/package/contents/ui/widget.qml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Item {
var pos = textPattern.cursorPosition
var selected = textPattern.selectedText
textPattern.remove(textPattern.selectionStart, textPattern.selectionEnd)
textPattern.insert(pos, "<p align=\"left\">" + selected + "</p")
textPattern.insert(pos, "<p align=\"left\">" + selected + "</p>")
}
}
QtControls.Button {
Expand All @@ -180,7 +180,7 @@ Item {
var pos = textPattern.cursorPosition
var selected = textPattern.selectedText
textPattern.remove(textPattern.selectionStart, textPattern.selectionEnd)
textPattern.insert(pos, "<p align=\"center\">" + selected + "</p")
textPattern.insert(pos, "<p align=\"center\">" + selected + "</p>")
}
}
QtControls.Button {
Expand All @@ -192,7 +192,7 @@ Item {
var pos = textPattern.cursorPosition
var selected = textPattern.selectedText
textPattern.remove(textPattern.selectionStart, textPattern.selectionEnd)
textPattern.insert(pos, "<p align=\"right\">" + selected + "</p")
textPattern.insert(pos, "<p align=\"right\">" + selected + "</p>")
}
}
QtControls.Button {
Expand All @@ -204,7 +204,7 @@ Item {
var pos = textPattern.cursorPosition
var selected = textPattern.selectedText
textPattern.remove(textPattern.selectionStart, textPattern.selectionEnd)
textPattern.insert(pos, "<p align=\"justify\">" + selected + "</p")
textPattern.insert(pos, "<p align=\"justify\">" + selected + "</p>")
}
}
}
Expand Down Expand Up @@ -283,8 +283,7 @@ Item {
PlasmaCore.DataSource {
id: extsysmonDE
engine: "extsysmon"
connectedSources: ["battery", "custom", "desktop", "netdev", "gpu",
"gputemp", "hddtemp", "pkg", "player", "ps", "update"]
connectedSources: extsysmonDE.sources
interval: 5000

onNewData: {
Expand Down
4 changes: 2 additions & 2 deletions sources/desktop-panel/package/contents/ui/activeapp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Item {
Component.onCompleted: {
for (var i = 0; i < model.length; i++) {
if (model[i]["name"] == plasmoid.configuration.currentFontWeight) {
currentFontWeight.currentIndex = i;
fontWeight.currentIndex = i;
}
}
}
Expand Down Expand Up @@ -162,7 +162,7 @@ Item {
Component.onCompleted: {
for (var i = 0; i < model.length; i++) {
if (model[i]["name"] == plasmoid.configuration.currentFontStyle) {
currentFontStyle.currentIndex = i;
fontStyle.currentIndex = i;
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions sources/desktop-panel/package/contents/ui/widget.qml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Item {
var pos = textPattern.cursorPosition
var selected = textPattern.selectedText
textPattern.remove(textPattern.selectionStart, textPattern.selectionEnd)
textPattern.insert(pos, "<p align=\"left\">" + selected + "</p")
textPattern.insert(pos, "<p align=\"left\">" + selected + "</p>")
}
}
QtControls.Button {
Expand All @@ -152,7 +152,7 @@ Item {
var pos = textPattern.cursorPosition
var selected = textPattern.selectedText
textPattern.remove(textPattern.selectionStart, textPattern.selectionEnd)
textPattern.insert(pos, "<p align=\"center\">" + selected + "</p")
textPattern.insert(pos, "<p align=\"center\">" + selected + "</p>")
}
}
QtControls.Button {
Expand All @@ -164,7 +164,7 @@ Item {
var pos = textPattern.cursorPosition
var selected = textPattern.selectedText
textPattern.remove(textPattern.selectionStart, textPattern.selectionEnd)
textPattern.insert(pos, "<p align=\"right\">" + selected + "</p")
textPattern.insert(pos, "<p align=\"right\">" + selected + "</p>")
}
}
QtControls.Button {
Expand All @@ -176,7 +176,7 @@ Item {
var pos = textPattern.cursorPosition
var selected = textPattern.selectedText
textPattern.remove(textPattern.selectionStart, textPattern.selectionEnd)
textPattern.insert(pos, "<p align=\"justify\">" + selected + "</p")
textPattern.insert(pos, "<p align=\"justify\">" + selected + "</p>")
}
}
}
Expand Down
9 changes: 8 additions & 1 deletion sources/extsysmon/extquotes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,14 @@ void ExtQuotes::writeConfiguration()

void ExtQuotes::quotesReplyReceived(QNetworkReply *reply)
{
if (debug) qDebug() << PDEBUG << reply->url();
if (debug) qDebug() << PDEBUG;
if (debug) qDebug() << PDEBUG << ":" << "Return code" << reply->error();
if (debug) qDebug() << PDEBUG << ":" << "Error message" << reply->errorString();

if (reply->error() != QNetworkReply::NoError) {
reply->deleteLater();
return;
}

QDomDocument doc;
if (!doc.setContent(reply)) {
Expand Down
Loading

0 comments on commit 8c73b25

Please sign in to comment.