e5b1102abf
some changes inside bug reportin backend
2016-08-22 19:10:37 +03:00
f3f9239984
more correct error checking
2016-08-21 19:24:16 +03:00
18c993c0d5
add github issue reporing backend ( #104 )
2016-08-20 12:14:22 +03:00
a9e3e3f087
Possible one more performance increasing
...
Lets try to use own QueuedConnection type instead of default
AutoConnection. To implement it we need to disconnect all default slots
and reconnect them with specified connection type
2016-08-18 20:16:05 +03:00
8f6d9e7ab5
release 3.2.1
2016-08-11 15:05:53 +03:00
90c33ab24d
use m_ prefix for all internal variables, update CONTRIBUTING.md
...
accordingly
2016-07-27 20:40:17 +03:00
052d8a034c
add formatters reinit ( fix #102 )
2016-07-26 15:11:52 +03:00
9e59b22c32
add formatters to configuration functions
2016-07-21 12:20:55 +03:00
7836fbf77f
add macro to combobox
2016-07-14 13:23:49 +03:00
d90d9e2c6f
bump desktop versions in the repo
2016-07-12 12:25:29 +03:00
0d4211b2c4
add string formatter
2016-07-07 13:36:30 +03:00
085eec7a3d
some fixes inside extensions
...
* do not use private variables if there are special methods
* change macro call from `aw_*` to `aw_macro_*`
* add forgotten configuration reading/writting for list formatter
2016-07-06 14:23:01 +03:00
17a0c61b4a
add list formatter
2016-07-03 04:10:04 +03:00
3497922928
function improvements
...
* use $ for args inside macros
* allow to use screened brackets inside functions
2016-07-02 04:07:43 +03:00
2f88c7ae60
add macros support
...
Macros should be declared as `aw_macro<name,arg1,arg2,...>{{macro body}}` and then
they may be used as `aw_name<arg1,arg2,...>{{}}`. It just puts `macro
body` to pattern and replaces arguments to provided ones according to
macro call. E.g.:
```
$aw_macro<test,phrase>{{phrase}}$aw_test<hello world>{{}}
```
will transform into
```
hello world
```
2016-07-01 02:21:48 +03:00
8e8ac2f3c7
some refactoring
...
* fix undefinded behaviour
* drop dbus timout, use generic timeout insead
* drop load source to own cmake key
* update contributing.md
2016-06-30 01:59:06 +03:00
5cd5272f10
add tests for awkeys
2016-06-28 11:19:33 +03:00
bf16e72e1e
add configuration tests
2016-06-26 01:52:15 +03:00
faf259e339
add tests for pattern functions some simplifications
2016-06-25 03:11:21 +03:00
b20a96d32f
add fix for possible race condition ( #96 )
2016-06-16 15:17:58 +03:00
4337379177
add tests for abstract formatter
2016-06-01 10:55:51 +03:00
72f0d4587b
more correct test class for extscripts
2016-05-23 11:04:12 +03:00
f717c984b7
add formatters configuration to ui
2016-05-18 12:46:50 +03:00
906ad56c46
Rename some properties in GI.
...
Actually properties height and width are QDialog ones, just rename them
to ones with `item` prefix. No configuration keys were changed.
Update translations as well.
2016-05-17 14:22:12 +03:00
301a908aed
add formatter configuration to ui
2016-05-15 01:18:18 +03:00
6bd7788aa9
More consistent formatters
2016-05-14 04:08:22 +03:00
51c7299ad0
changes in Extensions ABI
...
* rewrite aggregator to normal qt ui
* use X-AW prefix for formatters options
* fix logging
* use nullptr in headers
2016-05-13 13:23:25 +03:00
326c65528d
rewrite formatters to ext classes
2016-05-12 20:51:21 +03:00
7c37134aab
rewrite formatters according to rfc #91
2016-05-10 02:16:24 +03:00
734cbe2f4c
upload vertical alignment patch, fix code ( #94 )
2016-05-09 04:07:58 +03:00
4bcdb3a7ff
release 3.1.2
2016-05-09 00:12:06 +03:00
d57e54b714
add script formatter
2016-05-07 00:10:06 +03:00
13f2d560d0
Some more changes
...
* new tag - $tstime
* add summand parameter to float formatter
* drop version.h includes since it has been moved to awdebug.h (e.g. to
introduce BUILD_FUTURE guards easy in the future)
2016-05-06 01:22:59 +03:00
2220ad6bfe
initial creation of custom formatters ( #91 )
2016-05-05 00:11:31 +03:00
3771ce6ec2
rename forma_t_er to forma_tt_er
2016-05-03 05:04:12 +03:00
a339f9a743
drop needToBeUpdated call from qml since it is not required
2016-04-30 17:36:01 +03:00
097b63415e
drop own workaround for update functions
...
use qtimer instead
2016-04-28 18:18:13 +03:00
77388deab6
initial support of total sent/received data
...
Tags {up,down}total{,kb}[0-9]?+
2016-04-25 16:06:37 +03:00
22586811de
backport QML code changes from awesome-widgets to deskop-panel
2016-04-22 15:39:36 +03:00
82dda14260
add background configuration dialog
2016-04-21 16:44:21 +03:00
f8e9945bc4
fix configuration dialog error
...
even if user selects Cancel in font dialog html codes pasted
2016-04-20 15:50:45 +03:00
139554578c
fix bug introduced by 5c474e822b
...
No conversion has been applied for total memory values
2016-04-18 09:33:35 +03:00
aef1a736c8
code improvements
...
* drop c++14 requirements since it is not used
* move from enum to enum classes
* more intuitive graph building in GI
* allow X-AW-Direction property works with graphs and bars
2016-04-17 16:18:13 +03:00
d30df9dafc
fix configuration ui
...
In some cases text is removed, but no new text is pasted.
2016-04-15 15:02:35 +03:00
f7a6b86cae
GI improvements
...
* add tag information to GI configuration
* change tag identification to avoid keys reorderding
2016-04-14 16:14:26 +03:00
a3e7a84b92
drop another part of pornography in gi
...
more intuinitve configuration interface in graphicalitem. Improve code
for the future references (in case if new color type will be added).
Change X-AW-*Color values to ones with prefixes (added autoconversion
from old-version api)
2016-04-12 14:22:19 +03:00
15abe54290
Another fixes
...
* update translator list
* drop russian changelog at all
* fix changelog building
* fix invalid graphical item UI behaviour
2016-04-09 03:55:52 +03:00
bfa4f9e98e
Some small changes
...
* changelog update
* version metadata update
* bump required Qt version to 5.6 and update patch accordinly
* fix invalid cast in update dialog
2016-04-07 16:52:05 +03:00
e9146b3b6c
release 3.1.1
...
* translation update
* fix broken build with gcc (#87 ). The issue was reproduced only with
gcc build and has been resolved by just replacing C-like `isnan` to
`std::isnan`
2016-04-06 14:42:56 +03:00
d9409c25f4
Preparing to prerelease
...
* apply clangformat
* fix yahoo weather api
2016-04-05 00:24:37 +03:00
7d1e035240
replace own workaround for version checking to QVersionNumber
...
QVersionNumber has been introduced since Qt-5.6 and it is better to use
it instead of custom version checking
2016-04-04 10:47:12 +03:00
4a6aaa95b0
Move hddtemp engine to qprocess
...
in lieu of #83
2016-03-25 18:19:26 +03:00
88f0ebfe96
Revert bd65e44002
2016-03-23 16:27:05 +03:00
bd65e44002
add delayed initialization
...
This workaround probably will fix issue with the recent plasma when
plasmashell fails to load sometimes.
2016-03-21 12:10:27 +03:00
52b1255d3f
move graph data store to graphical item helper
...
It is required by custom graphs. X-AW-Count parameter (which is only
recognized by Graph item type) has been introduced
2016-03-14 12:04:38 +03:00
7f665fef77
update to the newest Qt
...
First it crashes with the newest Qt due to nan values in graphs.
Second it produces several warnings
2016-03-13 22:20:22 +03:00
7ff1515c94
Merge branch 'development' of github.com:arcan1s/awesome-widgets into development
2016-03-11 20:51:19 +03:00
162708295d
improve configuration import and export
...
Special directory for configuration store has been created. In
particular it will allow to realize #72
2016-03-11 20:48:36 +03:00
be9203e816
update project url
...
For some time my site has been moved from arcanis.name to arcanis.me.
Also https protocol forced.
2016-03-05 19:39:26 +03:00
071d7fdb78
bump default gi configuration
...
Bump API version and add new parameters. Also:
1. Fix function combobox in configuration UI.
2. Drop datasource from time engine as well.
3. Small edit abstractdesources class
2016-03-03 19:57:31 +03:00
89d573450a
fix #81
...
As it was found the issue has been caused by parallel access to
QGraphicsScene so it has been cleared before convertion to pixmap. It
has been resolved by deletion concurrent updates in this place (it makes
sense anyway).
2016-03-01 00:58:37 +03:00
50f3ef5bba
move gihelper to own class from namespace
...
This action will allow to store data in the helper class. Also
notification for high memory usage has been changed from 90 to 80.
2016-02-26 20:04:27 +03:00
15d4d7667d
change formating
...
* add *h.in to clang-format configuration
* move static keys definition to header. Probably it may break something
with key parsing
2016-02-17 09:31:11 +03:00
95a5eec108
Cosmetic commit
...
* apply clangformat settings
* update translations
* rename settings
2016-02-16 08:46:43 +03:00
362f1fd87e
prepare to move to generic bars
...
This commits series introduces bars which may be calculated from any
custom formula. For a start I've renamed $bar*tag to $bar* and add new
configuration parameters to graphical items.
2016-02-12 09:23:30 +03:00
5c474e822b
one more optimization
...
The previous versions stored values as string, so any (even if they are
not used) values being converted into string, and then (if required)
being converted back to float/int/etc. I've changed the mechanism, so
they are stored as QVariant (native value).
Please note that it is possible that this rewrite may cause crash in
some cases (if I've missed smth).
2016-02-10 10:51:01 +03:00
d856fa8e97
possible fix #75
...
I've added 'optimize' option (by default true). If it options is set
then sources will be checked if they are required (with dependencies if
any). And if they are not required they will be dropped by using common
mechanism.
Please note that if this option enabled the following features (at the
moment) will be unavailable:
* key request from context menu (from configuration interface it still works)
* notifications event if sources on which notification is not connected
I suppose this commit will increase performance in about 4-5 times.
2016-02-05 11:08:09 +03:00
54e1545bb1
create update helper class
...
Move old chechUpdates() method to this class. Create ability to show
ChangeLog after updates (by using global config with version). Changelog
(only for the latest version) will be written to version.h during cmake
run.
2016-02-04 00:02:49 +07:00
beb2682b04
Stabilizing commit
...
* move request timeout settings to the configuration header
* initial support of requiredby dictionary
* add AWPatternFunctions namespace
* improve components communication
* update UI to recent abilities
* rewrite qCDebug messages and update CONTRIBUTING.md accordingly
2016-02-01 00:25:28 +07:00
966c6059a0
split some classes to different namespaces to improve code base
...
No significant changes applied.
* function syntax has been changed to another one, any function may be called
by using the following construction:
$aw_function_name<some args here if any>{{function body if any}}
* rewrite travis.yml
2016-01-31 00:00:12 +07:00
1c78e0d779
Initial support of templates and so on ( #71 )
...
* Initial syntax is the following:
* $template{{ some JS code here }} - simple template based on JS
code inside. It works the same as lambda functions, but calculates
only once.
* aw_count(regex) - keys count found for given regex
* aw_keys(regex, [separator]) - keys found for given regex and
joined by using given separator
* aw_names(regex, [separator]) - key names found for given regex and
joined by using given separator (the same as previous but w\o $)
The template and function syntax may be changed before release.
* replace `foreach` to `for (auto foo : bar)` and update CONTRIBUTING.md
accordingly
2016-01-30 00:07:47 +07:00
fba58c27e8
fix #73
...
I suppose the better way is to move weather adaptor to another open
weather engine despite the fact that OWM has provided me a special FOSS
permissions. I've changed weather provider to Yahoo! Weather because
there is no good way to provide my own API key to end-users except for
being compiled to the source code.
In other hand this solution leads to the fact that humidity and
atmosphere pressure is not available for forecast more. And moreover
pressure units has been changed for current weather.
+ fix possible memory leak in dataengine aggregator
+ add "special thanks" group to acknoledgment tab
2016-01-29 01:31:00 +07:00
arcan1s
ac089dee9c
Release 3.0.1
...
drop nullptr checking
2015-10-23 00:20:30 +03:00
arcan1s
99e38118a4
drop unused declarations, update qt5.5 patch
2015-10-22 05:22:02 +03:00
arcan1s
8545192ef8
move dialog part to qml files
2015-10-22 02:52:06 +03:00
arcan1s
df87850f65
Release 3.0.0
...
* turn back concurrent text update
* update screenshots
2015-10-21 06:53:34 +03:00
arcan1s
75ab84e993
* logging changes
...
* add configuration export status message
* prepare to release
2015-10-20 00:34:29 +03:00
arcan1s
c1a8c17ecb
* drop workspace.xml from source tree (it is changed too offen)
...
* fix export and import configurations for json files
2015-10-19 00:57:27 +03:00
arcan1s
17a8a1734b
* create cppcheck and clangformat targets
...
* apply code style (#67 )
* send values by reference
* fix warnings on plugin destruction by disconnecting dataengines first
* fix invalid hddtemp group definition
2015-10-18 00:05:42 +03:00
arcan1s
8645260f99
* end work on #68
...
* create special class for configuration
* update clion settings
2015-10-17 00:06:32 +03:00
arcan1s
0e1b101703
* initial implementation of configuration export and import feature ( #68 )
...
* drop mediators in data transition
2015-10-16 07:22:03 +03:00
arcan1s
2db2de4c27
* try to drop text update to main thread instead of concurrent run
...
* update contributing.md
2015-10-15 16:54:13 +03:00
arcan1s
3be733a775
drop code oriented on the stream lock in parallel updates
...
This fact caused by the qt signal-slot implementation. Even if slots
code is going into parallel they will be called in the main app thread.
And also it is used inside KF5 dataengine implementation, so I'm affraid
that it could not be optimized w\o backend rewriting
2015-10-13 01:49:12 +03:00
arcan1s
d3ab0a7228
* add mutex to avoid crash on qhash data update ( #62 )
...
* update gitignore
* update contributing.md
2015-10-11 18:28:21 +03:00
arcan1s
440d180c20
some code style improvements ( #67 )
2015-10-10 00:51:24 +03:00
arcan1s
827275da3f
fix crash which has been caused by the fact that we've called concurrent
...
data update and don't copy object (#66 )
* more correct concurrent run
* move data split to awdataengineaggregator
2015-10-09 07:22:54 +03:00
arcan1s
f1e6f74c7d
* add CONTRIBUTING.md
...
* add drop source ability for extsysmon
2015-10-08 01:08:59 +03:00
arcan1s
f7e24f680a
* add Optimization build type which uses -O3
...
* create QTimer object in AWDataEngineAggregator class, emit signal to
this timer because timers could not be started in the separate thread
* increase limit x2 with leaving the thread pool size as was
2015-10-07 01:39:10 +03:00
arcan1s
69c1f0ed5a
* small build changes
...
* drop cast (they were added to try to avoid possible crash)
2015-10-06 06:49:24 +03:00
arcan1s
c4612d84ed
move dataengine control to plugin part (ref to #66 )
2015-10-05 00:00:38 +03:00
arcan1s
befdf0519f
add loadsource for testing needs
2015-09-30 00:16:57 +03:00
arcan1s
84f6f1a820
* add commit SHA information
...
* allow to open link in quotes editor
* fix bug with no data updates in configuration ui
2015-09-28 19:27:55 +03:00
arcan1s
92ce241742
return back stream lock which will be disabled from qml by the timer. In
...
other case there is possibe plasma crash
2015-09-26 03:23:10 +03:00
arcan1s
0fa274ad75
* fix bug in ui
...
* drop QUEUE_LIMIT build option (moved to runtime cfg)
* apply concurrent updates for slots
2015-09-23 03:53:42 +03:00
arcan1s
82e2bc23a1
* more intuitive configuration UI
...
* add queueLimit runtime configuration
2015-09-22 00:31:30 +03:00
arcan1s
120e201c5b
* move update interval to another tab
...
* some changes inside concurrent run
* update COPYING to vanila format
2015-09-19 10:25:26 +03:00
arcan1s
24eb548bb3
* limit messages queue to ideal thread count
...
* move from QtScript to QJSEngine (first is deprecated since 5.6)
* drop unneeded includes in headers
* some changes inside queue managing
2015-09-17 01:10:55 +03:00
arcan1s
95b6b2d9e9
* add preview function
...
* more comments inside
* variables renaming
* unite several lists to one hash
* add build_future definition checking to source code
2015-09-15 00:02:59 +03:00
arcan1s
dddc3962a5
* better extensions update
...
* prepare dataaggregator to graph data
* add ability to wrap text
* move tag selection dialog to ui
2015-09-14 05:01:34 +03:00
arcan1s
f08600db61
change quotes output format
...
integrate aggregators to the plugin
2015-09-13 00:13:49 +03:00
arcan1s
0ba74b3130
add ability to wrap lines
...
rename AWToolTip to AWDataAggregator object
drop hasOutput property from ExtScript
fix some bugs in AWKeysAggregator
2015-09-12 02:32:31 +03:00
arcan1s
0298a8c088
create awkeysaggregator
...
change netwrok device definition (fix #64 )
2015-09-11 00:43:35 +03:00
arcan1s
bf5c500938
fix bugs caused by integration
2015-09-10 04:59:35 +03:00
arcan1s
ab0ab0d40f
some optimizations
2015-09-08 00:07:47 +03:00
arcan1s
f5e40d084d
show message on no updates
2015-09-07 01:47:50 +03:00
arcan1s
d00ab81fe9
better look and feel for tooltip configuration ui
2015-09-06 01:43:45 +03:00
arcan1s
09275731aa
try to implement concurent data update
2015-09-05 03:02:02 +03:00
arcan1s
7218defe19
add '$this' feature to lambda functions
...
fix large size on startup
fix invalid key parsing
2015-09-03 00:30:10 +03:00
arcan1s
6689bea9a7
implement dynamic tags
2015-09-02 00:05:11 +03:00
arcan1s
08dae3b02b
small patch to avoid notifications on nan
2015-08-31 01:43:39 +03:00
arcan1s
cc2b1b7b8a
add images feature to extweather (apiver == 2)
2015-08-31 00:16:04 +03:00
arcan1s
4c27382467
more correct logging, use qt logging for qml as well
2015-08-30 16:24:00 +03:00
arcan1s
aacb50c946
start moving to qt5 style logging
2015-08-29 00:58:39 +03:00
arcan1s
466faf53fa
some refactoring, prepare to moving to qt5 style logging
2015-08-28 00:15:25 +03:00
arcan1s
37726370ee
Add additional column to configuraion ui to better tag selection
2015-08-25 00:07:23 +03:00
arcan1s
b50c1d2363
add ability to do not translate strings
2015-08-23 02:14:55 +03:00
arcan1s
29b75e2b12
update additional files
...
update translations
add "Add lambda" button to ui
2015-08-22 00:40:14 +03:00
arcan1s
835eb00f0d
add lambda support
2015-08-21 00:05:15 +03:00
arcan1s
a5e9b32b28
implement support of network speed units tags
...
fix warning for empty tooltip image
2015-08-18 01:17:51 +03:00
arcan1s
24b143f43a
release 2.4.0
2015-08-10 00:09:31 +03:00
arcan1s
df473c53b5
move plugins to iterators
2015-08-08 00:22:25 +03:00
arcan1s
1cddf6f14d
some map replacing
2015-08-04 00:15:19 +03:00
arcan1s
6173b60806
edit cmake files
...
edit font dialog
2015-08-01 00:10:18 +03:00
arcan1s
c9acb0bdcd
edit build, create a separate cmake include file
2015-07-29 23:59:42 +03:00
arcan1s
16305a91c4
rewrite tooltip class
2015-07-29 00:03:12 +03:00
arcan1s
983b808247
move aw plugin to template-based system
...
bump graphicalitems to ApiVer 2 (add number property)
2015-07-27 00:05:15 +03:00
arcan1s
c61a5ac092
create a static library for backend items
...
move backend items to template-based mechanism
2015-07-26 12:58:59 +03:00
arcan1s
3b6df44489
more correct methods naming, prepare to move to templates
2015-07-25 00:03:45 +03:00
arcan1s
4742617e3e
* fix building
...
* add clang build
* more correct method types
2015-07-24 00:18:21 +03:00
arcan1s
880a986782
add abstactextitem class (building is broken atm)
2015-07-23 00:07:21 +03:00
arcan1s
b699095f38
initial support of weather
2015-07-22 00:44:39 +03:00
arcan1s
a065e96bc3
* move isDebugEnabled method to AWActions
...
* add "Drop key cache" button
2015-07-21 00:24:50 +03:00
arcan1s
1110929b14
improve update events
2015-07-20 00:21:39 +03:00
arcan1s
c7d998eb12
more correct fix for #57
2015-07-19 00:14:49 +03:00
arcan1s
327d5a7ff9
more correct fix for #57
2015-07-17 09:44:44 +03:00
arcan1s
cd36c4ed68
drop key definition on startup since it blocks several plasmoid
...
instances (refer to #57 )
2015-07-15 19:50:12 +03:00
arcan1s
903a1a454d
move plugin back to private
2015-07-15 19:49:54 +03:00
arcan1s
cf5d713d2e
Revert "drop key definition on startup since it blocks several plasmoid"
...
This reverts commit 4e78e0e1dd
.
2015-07-15 19:34:19 +03:00
arcan1s
467a3bf508
fix network speed calculation for $down and $up tags
2015-07-14 00:18:29 +03:00
arcan1s
4e78e0e1dd
drop key definition on startup since it blocks several plasmoid
...
instances (refer to #57 )
2015-07-11 15:04:53 +03:00
arcan1s
d01fb91e36
bump to 2.3.2
2015-07-09 00:28:47 +03:00
arcan1s
61ed3a444f
change text rendering
2015-07-08 12:20:01 +03:00
arcan1s
27ab7d9cd7
fix cast int as float
2015-07-03 00:05:47 +03:00
arcan1s
1869a68122
fix bug with no actions
...
set network speed units as MB/s if the value more than 1k KB/s
2015-07-03 00:04:03 +03:00
arcan1s
aa0a4b417d
improve battery support
2015-07-01 01:14:04 +03:00
arcan1s
41deb8ef72
fix plasma crash with extquotes
...
rewrite main widget to use signal-slot model
2015-06-30 07:13:58 +03:00
arcan1s
ad63f78929
update links to opensuse packages
2015-06-12 15:05:56 +03:00
arcan1s
a391df2804
- fix bug with invalid values updates from configuration UI
...
* merge fan tags to temp ones for better handling
2015-06-10 10:31:41 +03:00
arcan1s
f96b3fcb07
implement \r to default json of ExtScripts
...
some refactoring
bump ApiVer of ExtQuotes
update changelog
2015-05-31 02:57:43 +03:00
arcan1s
b51c97abbb
drop qxml, port quotes from xml to json (xml has been used for qt4
...
branch)
2015-05-28 09:16:27 +03:00