Commit Graph

348 Commits

Author SHA1 Message Date
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
arcan1s
8dc3510a30 more pretty configuration interface
implement quotes changes
2015-05-25 02:28:09 +03:00
arcan1s
fce098cb5c improve work with filters for custom scripts
implement new line filters for widget text
fix bug with html parsing
implement key sorting in combo boxes
2015-05-24 00:03:54 +03:00
arcan1s
8c73b2560b Release 2.2.2
* update screenshots
+ add error logging to extquotes
- fix paragraph bug
- fix bug with DP settings
2015-05-22 00:18:14 +03:00
arcan1s
a53c5ec38c drop kde4 from master 2015-05-20 00:36:48 +03:00
arcan1s
cc7b7b5659 create skel for aw 2015-01-16 05:27:41 +03:00
arcan1s
56e7ee3d11 approve translation 2014-12-24 00:05:40 +03:00
underr
78ab09c1da pt_BR translation 2014-12-23 14:21:32 -02:00
arcan1s
8f1e8606d4 update Ukrainian transaltion 2014-12-18 01:37:06 +03:00
arcan1s
b682c6dbd6 update Spanish translation 2014-12-16 09:36:02 +03:00
arcan1s
c8bf047e76 implement #36
fix (?) initialization
update translations
2014-12-15 02:41:39 +03:00
arcan1s
a336d9aa04 fix #37 2014-12-12 01:04:31 +03:00
arcan1s
0533ee8cd5 add #38 2014-12-07 03:04:35 +03:00
arcan1s
6bcb6798a2 fix #37 2014-11-28 21:02:45 +03:00
arcan1s
695a85be29 update translations, implement copy method 2014-11-21 05:13:01 +03:00
arcan1s
bae34ba898 update translations, version and readme 2014-11-21 03:28:11 +03:00
arcan1s
93db63b16c * fix naming
* fix notification
2014-11-20 06:13:09 +03:00
arcan1s
0cd2ff6813 rewrite all ui interfaces t oKDE standards 2014-11-20 06:01:56 +03:00
arcan1s
e4be3b2e02 simplify custom script class
remove QGraphicsView border
2014-11-20 04:07:14 +03:00
arcan1s
543e39a7ac Merge branch 'master' of github.com:arcan1s/awesome-widgets 2014-11-20 03:18:53 +03:00
arcan1s
ca60a85241 update graphicalitem 2014-11-19 16:19:23 +03:00
arcan1s
2c3c575493 * add .desktop suffix to files if they have not
* remove frameshape
2014-11-19 15:04:10 +03:00
arcan1s
5f37a9d8c7 fix direction 2014-11-19 12:28:43 +03:00
arcan1s
c3420a8393 some simplification of graphicalitem 2014-11-19 12:08:54 +03:00
arcan1s
5ce3a5c213 fix configuration 2014-11-19 11:14:55 +03:00
arcan1s
179a97b01b implement tooltip to configuration interface 2014-11-18 12:58:56 +03:00
arcan1s
f0c79a4dab implement contextual menu to listWidgets 2014-11-18 11:54:23 +03:00
arcan1s
f56f319075 some update on graphical items 2014-11-18 06:56:22 +03:00
arcan1s
f7b7d5b6b4 fix run 2014-11-17 17:38:02 +03:00
arcan1s
3193de1a85 implement ExtScripts configuration 2014-11-17 17:04:31 +03:00
arcan1s
8cdfdd4e81 start work on porting extscripts to *.desktop configuration 2014-11-17 10:29:09 +03:00
arcan1s
16d7ca2005 update extscript to inherit from QDialog 2014-11-17 10:01:57 +03:00
arcan1s
e54ab7e1a5 small update 2014-11-16 22:37:55 +03:00
arcan1s
a335979830 implement grapicalitem settings 2014-11-16 13:33:09 +03:00
arcan1s
8460d07875 implement tryDelete() method 2014-11-16 11:40:16 +03:00
arcan1s
5ec26c7747 implement graphical item to aw (except for configuration) 2014-11-14 07:16:55 +03:00
arcan1s
8aafdb6fc4 update gi to use desktop conf files 2014-11-14 04:19:53 +03:00
arcan1s
9eedaf246f rename ring to circle 2014-11-13 12:03:48 +03:00
arcan1s
0f4bbbfba1 some intermediate commit 2014-11-12 05:16:05 +03:00
arcan1s
7069758b73 add colorsettings to DP tooltip
remove deprecated settings from AW
2014-11-10 01:53:27 +03:00
arcan1s
583046e195 update translations 2014-11-08 18:41:33 +03:00
arcan1s
4b90fac0c4 implement #28 2014-11-07 04:56:32 +03:00
arcan1s
7e095c4349 implement script function 2014-11-03 06:33:39 +03:00
arcan1s
a4af7ffc07 some improvemance of external scripts 2014-11-03 05:03:14 +03:00
arcan1s
0ab4878b22 update translations 2014-11-01 23:26:47 +03:00
arcan1s
1748829901 implement script feature to the widget 2014-10-31 07:20:14 +03:00
arcan1s
13023a4985 add workaround for #34 to AW 2014-10-27 04:20:13 +03:00
arcan1s
5bf3847bc9 add checkupdates function 2014-10-15 16:41:31 +04:00
arcan1s
4fc2e238bd fix regexp matching 2014-10-14 05:15:13 +04:00
arcan1s
c18bb61521 implement about window 2014-10-12 15:01:07 +04:00
arcan1s
9e82210463 implement autoupdate function to aw (see #32) 2014-10-11 03:38:19 +04:00
arcan1s
171d545562 add skel for #32 2014-10-10 23:36:11 +04:00
arcan1s
4387bb1e76 some fixes which was introduced with the latest patches 2014-10-02 06:13:10 +04:00
arcan1s
03af5f0e49 upd task, add ability to use $ symbol over $$ 2014-10-02 05:10:02 +04:00
arcan1s
952fa97fcc Merge branch 'master' of github.com:arcan1s/awesome-widgets 2014-10-01 02:02:13 +04:00
arcan1s
677ed1ab5e fix update netdev 2014-10-01 02:01:18 +04:00
arcan1s
deb0b3bdbb chenge forceupdate logic 2014-09-29 00:59:19 +04:00
arcan1s
0c8013c26b add tooltip bottom 2014-09-26 01:41:27 +04:00
arcan1s
c506183247 fix battery tooltip 2014-09-24 09:51:46 +04:00
arcan1s
fe822518d5 release 2014-09-21 21:50:03 +04:00
arcan1s
1f9e8221f0 release 2.0.4
battery fixes
2014-09-21 21:49:02 +04:00
arcan1s
17c3383616 fix aw geometry 2014-09-21 20:43:27 +04:00
arcan1s
830bab7cb6 add support of several $bat tags. Update translations 2014-09-21 20:19:57 +04:00
arcan1s
0b3832cc32 some work 2014-09-18 21:57:59 +04:00
arcan1s
84b93098f2 release 2.0.2 2014-09-16 00:04:31 +04:00
arcan1s
4907496a2e fix text edit dp configuration interface 2014-09-14 00:01:23 +04:00
arcan1s
43daae5529 edit temp conversion 2014-09-13 03:06:00 +04:00
arcan1s
99049164be fix cpu* tags
fix notifiations
2014-09-12 00:03:18 +04:00
arcan1s
f61948d9b3 fix (?) notifications 2014-09-11 00:00:08 +04:00
arcan1s
ea54c54d42 add fan tags 2014-09-10 23:51:14 +04:00
Steve Lemuel
a8912074dd Modify Chinese translations 2014-09-10 22:56:21 +08:00
Steve Lemuel
2be0edcb40 Add Chinese translations 2014-09-10 22:40:32 +08:00
arcan1s
fcf7ca233f release 2.0.1 2014-09-10 11:18:36 +04:00
arcan1s
aa127574c4 fix label edge's shading 2014-09-09 03:12:20 +04:00
arcan1s
d72f827984 fix empty values 2014-09-09 02:29:59 +04:00
arcan1s
b7d607bfcc add support of custom interfaces 2014-09-09 02:09:58 +04:00
arcan1s
e0aadc48c4 fix acoffline variable 2014-09-09 00:00:57 +04:00
arcan1s
ab966504cc update translations, fix layout, some edit of formating
prepare to release 2.0.0
(I plan to update all translations with next releases)
2014-09-08 01:52:40 +04:00
arcan1s
ce761db924 change layout to gridlayout
remove deprecated functions
2014-09-08 00:36:55 +04:00
arcan1s
f91c80b5b1 rollback taging 2014-09-08 00:09:41 +04:00
arcan1s
97fbb4acc1 update install scripts 2014-09-07 19:40:12 +04:00
arcan1s
554354ce36 update trasnaltions 2014-09-06 16:06:47 +04:00
arcan1s
c007fabe12 some fixes 2014-09-06 15:43:53 +04:00
arcan1s
3b11e39e99 change color 2014-09-05 19:43:04 +04:00
arcan1s
653cc4fd84 add button to insert tag 2014-09-05 11:47:05 +04:00
arcan1s
eae742c559 update translations 2014-09-05 11:22:56 +04:00
arcan1s
e339f5aa1a start porting translations 2014-09-05 11:16:56 +04:00
arcan1s
0ea17555b1 update to use cfontdialog 2014-09-04 21:04:44 +04:00
arcan1s
eec87be7a2 add html text interaction 2014-09-04 03:32:37 +04:00
arcan1s
0cd293c4c3 add support of battery tooltip 2014-09-03 22:14:50 +04:00
arcan1s
e5c70b9535 more correct interaction with DataEngines 2014-09-03 15:08:33 +04:00
arcan1s
3ef68f7a43 fix tooltip adding processing 2014-09-03 14:58:01 +04:00
arcan1s
1fbc9e315e update formating 2014-09-03 14:52:52 +04:00
arcan1s
4164c7fe04 commit before renaming 2014-09-02 22:49:17 +04:00
arcan1s
bc8aadc17b fix temperature 2014-09-02 22:20:43 +04:00
arcan1s
cd48ac8245 fix cpu reading 2014-09-02 22:16:13 +04:00
arcan1s
0751d080eb move back layout settings 2014-09-02 22:06:01 +04:00
arcan1s
6c6cfe9a04 fix time and uptime 2014-09-02 21:55:23 +04:00
arcan1s
b61d514cb2 add notification module
fix definition of network deivce
2014-09-02 04:30:43 +04:00
arcan1s
a5c352bc06 add contextual actions
fix icons
2014-09-02 03:56:34 +04:00
arcan1s
54174974b1 edit supported information
update desktop panel to tag changes
2014-09-02 03:29:17 +04:00
arcan1s
fd81fda9a1 fix tooltip
fix memory
remove layout settings
more correct parsing
2014-09-02 02:42:34 +04:00
arcan1s
c69957e905 add configuration interface slots 2014-09-02 01:10:27 +04:00
arcan1s
a65f4cb02f commit before tests 2014-09-01 20:58:47 +04:00
arcan1s
3b89b30a98 fix formating 2014-09-01 12:57:10 +04:00
arcan1s
5921bd4c1d add tooltip 2014-09-01 12:35:43 +04:00
arcan1s
5b26d835df end work on deinteraction module 2014-09-01 03:49:00 +04:00
arcan1s
38c4d3bfaf work on data update 2014-08-31 20:21:06 +04:00
arcan1s
eac50a8799 plasmoid fixes 2014-08-31 18:45:43 +04:00
arcan1s
6e5a068ad2 add battery dataengine 2014-08-31 18:35:35 +04:00
arcan1s
7f639805e6 add connectToEngine() function 2014-08-31 18:07:18 +04:00
arcan1s
8a6650f833 add findKeys() function
it's time to drink!
2014-08-30 18:17:37 +04:00
arcan1s
96cfeb520d add keys 2014-08-30 18:14:56 +04:00
arcan1s
7cd80e14a7 create initialization skeleton 2014-08-30 17:40:25 +04:00
arcan1s
b55d453aeb add checkboxes to tooltip window 2014-08-30 16:30:58 +04:00
arcan1s
7eb5197318 add configChanged() function 2014-08-30 16:17:42 +04:00
arcan1s
e603ad9977 add configAccepted() function 2014-08-30 15:56:05 +04:00
arcan1s
068a976499 add createConfigurationInterface() function 2014-08-30 15:24:19 +04:00
arcan1s
5b44fa5c75 starting of porting ptm to C++ 2014-08-29 10:50:37 +04:00