Skip to content

Commit ac9b829

Browse files
author
Stanisław
committed
Merge branch 'dev'
2 parents 38b0b78 + 98f1bf7 commit ac9b829

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+5201
-2148
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
custom: https://www.paypal.me/stsdc

.github/workflows/lint.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
name: "CI: Lint"
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
lint:
8+
9+
runs-on: ubuntu-latest
10+
11+
container:
12+
image: valalang/lint
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Lint
17+
run: io.elementary.vala-lint -d .

data/Application.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
border-width: 0;
1515
}
1616

17+
.green {
18+
background-color: alpha(@LIME_300, 0.6);
19+
}
20+
21+
.blue {
22+
background-color: alpha(@BLUEBERRY_300, 0.6);
23+
}
24+
1725
/* .vertical-label,
1826
.vertical-label:hover,
1927
.vertical-label:selected,
@@ -84,15 +92,15 @@
8492
}
8593

8694
.core_badge-mild-warning {
87-
background-color: @BANANA_100;
95+
background-color: alpha(@BANANA_100, 0.7);
8896
color: @BANANA_900;
89-
border: 1px solid @BANANA_300;
97+
border: 1px solid alpha(@BANANA_300, 0.7);
9098
}
9199

92100
.core_badge-strong-warning {
93-
background-color: @ORANGE_100;
101+
background-color: alpha(@ORANGE_100, 0.7);
94102
color: @ORANGE_900;
95-
border: 1px solid @ORANGE_300;
103+
border: 1px solid alpha(@ORANGE_300, 0.7);
96104
}
97105

98106
.core_badge-critical-warning {

data/com.github.stsdc.monitor.appdata.xml.in

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- Copyright 2019 Stanisław <@ststdc> -->
2+
<!-- Copyright 2020 Stanisław <@ststdc> -->
33
<component type="desktop">
44
<id>com.github.stsdc.monitor</id>
55
<metadata_license>CC0</metadata_license>
@@ -28,6 +28,16 @@
2828
<url type="help">https://github.com/stsdc/monitor/issues</url>
2929

3030
<releases>
31+
<release version="0.9.2" date="2020-12-14">
32+
​ <description>
33+
​ <ul>
34+
<li>Display Storage usage</li>
35+
<li>Update Russian translation (@camellan)</li>
36+
<li>Update Portuguese translation (@hugok79)</li>
37+
<li>Different colours for Upload and Download</li>
38+
</ul>
39+
​ </description>
40+
​ </release>
3141
<release version="0.9.1" date="2020-09-04">
3242
​ <description>
3343
​ <ul>

meson.build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
project('com.github.stsdc.monitor', 'vala', 'c', version: '0.9.1')
1+
project('com.github.stsdc.monitor', 'vala', 'c', version: '0.9.2')
22

33
# these are Meson modules
44
gnome = import('gnome')
@@ -71,6 +71,7 @@ executable(
7171
'src/Views/SystemView/SystemCPUInfoPopover.vala',
7272
'src/Views/SystemView/SystemMemoryView.vala',
7373
'src/Views/SystemView/SystemNetworkView.vala',
74+
'src/Views/SystemView/SystemStorageView.vala',
7475

7576
# Widgets related only to ProcessInfoView
7677
'src/Views/ProcessView/ProcessInfoView/Preventor.vala',
@@ -87,8 +88,6 @@ executable(
8788
'src/Widgets/Labels/LabelRoundy.vala',
8889
'src/Widgets/Labels/LabelH4.vala',
8990
'src/Widgets/Chart/Chart.vala',
90-
'src/Widgets/Chart/ProcessChart.vala',
91-
9291

9392
# Models
9493
'src/Models/TreeViewModel.vala',
@@ -112,6 +111,7 @@ executable(
112111
'src/Resources/Swap.vala',
113112
'src/Resources/TemperatureSensor.vala',
114113
'src/Resources/Network.vala',
114+
'src/Resources/Storage.vala',
115115
c_args: c_args,
116116
dependencies: [
117117
glib,

po/com.github.stsdc.monitor.pot

Lines changed: 156 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: com.github.stsdc.monitor\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-04-28 22:18+0400\n"
11+
"POT-Creation-Date: 2020-09-25 22:12+0400\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -17,7 +17,15 @@ msgstr ""
1717
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
1919

20-
#: src/Utils.vala:13
20+
#: src/MainWindow.vala:34
21+
msgid "Processes"
22+
msgstr ""
23+
24+
#: src/MainWindow.vala:35
25+
msgid "System"
26+
msgstr ""
27+
28+
#: src/Utils.vala:2
2129
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoHeader.vala:32
2230
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoHeader.vala:35
2331
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoIOStats.vala:24
@@ -29,20 +37,26 @@ msgstr ""
2937
msgid "N/A"
3038
msgstr ""
3139

32-
#: src/Utils.vala:45
40+
#: src/Utils.vala:67
3341
msgid "B"
3442
msgstr ""
3543

36-
#: src/Utils.vala:50
37-
#: src/Views/ProcessView/ProcessTreeView/CPUProcessTreeView.vala:113
44+
#: src/Utils.vala:72
45+
#: src/Views/ProcessView/ProcessTreeView/CPUProcessTreeView.vala:116
3846
msgid "KiB"
3947
msgstr ""
4048

41-
#: src/Utils.vala:56
42-
#: src/Views/ProcessView/ProcessTreeView/CPUProcessTreeView.vala:118
49+
#: src/Utils.vala:78
50+
#: src/Views/ProcessView/ProcessTreeView/CPUProcessTreeView.vala:121
4351
msgid "MiB"
4452
msgstr ""
4553

54+
#: src/Utils.vala:83
55+
#: src/Views/ProcessView/ProcessTreeView/CPUProcessTreeView.vala:127
56+
#: src/Widgets/Statusbar/Statusbar.vala:55
57+
msgid "GiB"
58+
msgstr ""
59+
4660
#: src/Indicator/Widgets/PopoverWidget.vala:13
4761
msgid "Show Monitor"
4862
msgstr ""
@@ -55,15 +69,15 @@ msgstr ""
5569
msgid "Deleted"
5670
msgstr ""
5771

58-
#: src/Views/ProcessView/ProcessInfoView/Preventor.vala:21
72+
#: src/Views/ProcessView/ProcessInfoView/Preventor.vala:20
5973
msgid "Are you sure you want to do this?"
6074
msgstr ""
6175

62-
#: src/Views/ProcessView/ProcessInfoView/Preventor.vala:24
76+
#: src/Views/ProcessView/ProcessInfoView/Preventor.vala:23
6377
msgid "Yes"
6478
msgstr ""
6579

66-
#: src/Views/ProcessView/ProcessInfoView/Preventor.vala:28
80+
#: src/Views/ProcessView/ProcessInfoView/Preventor.vala:27
6781
msgid "No"
6882
msgstr ""
6983

@@ -84,6 +98,35 @@ msgstr ""
8498
msgid "THR"
8599
msgstr ""
86100

101+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoHeader.vala:110
102+
msgid "The app is waiting in an uninterruptible disk sleep"
103+
msgstr ""
104+
105+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoHeader.vala:112
106+
msgid "Idle kernel thread"
107+
msgstr ""
108+
109+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoHeader.vala:114
110+
msgid "The process is running or runnable (on run queue)"
111+
msgstr ""
112+
113+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoHeader.vala:116
114+
msgid ""
115+
"The process is in an interruptible sleep; waiting for an event to complete"
116+
msgstr ""
117+
118+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoHeader.vala:118
119+
msgid "The process is stopped by a job control signal"
120+
msgstr ""
121+
122+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoHeader.vala:120
123+
msgid "The process is stopped stopped by a debugger during the tracing"
124+
msgstr ""
125+
126+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoHeader.vala:122
127+
msgid "The app is terminated but not reaped by its parent"
128+
msgstr ""
129+
87130
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoIOStats.vala:18
88131
msgid "Opened files"
89132
msgstr ""
@@ -104,27 +147,27 @@ msgstr ""
104147
msgid "Cancelled write"
105148
msgstr ""
106149

107-
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:79
150+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:73
108151
msgid "End Process"
109152
msgstr ""
110153

111-
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:81
154+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:75
112155
msgid "End selected process"
113156
msgstr ""
114157

115-
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:85
158+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:79
116159
msgid "Kill Process"
117160
msgstr ""
118161

119-
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:86
162+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:80
120163
msgid "Kill selected process"
121164
msgstr ""
122165

123-
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:96
166+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:90
124167
msgid "Confirm kill of the process?"
125168
msgstr ""
126169

127-
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:103
170+
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoView.vala:97
128171
msgid "Confirm end of the process?"
129172
msgstr ""
130173

@@ -139,16 +182,11 @@ msgid "CPU"
139182
msgstr ""
140183

141184
#: src/Views/ProcessView/ProcessTreeView/CPUProcessTreeView.vala:49
185+
#: src/Views/SystemView/SystemMemoryView.vala:26
142186
#: src/Widgets/Statusbar/Statusbar.vala:11
143187
msgid "Memory"
144188
msgstr ""
145189

146-
#: src/Views/ProcessView/ProcessTreeView/CPUProcessTreeView.vala:124
147-
#: src/Widgets/Statusbar/Statusbar.vala:41
148-
#: src/Widgets/Statusbar/Statusbar.vala:49
149-
msgid "GiB"
150-
msgstr ""
151-
152190
#: src/Views/ProcessView/ProcessInfoView/ProcessInfoCPURAM.vala:50
153191
#, c-format
154192
msgid "CPU: %.1f%%"
@@ -159,6 +197,100 @@ msgstr ""
159197
msgid "RAM: %.1f%%"
160198
msgstr ""
161199

200+
#: src/Views/SystemView/SystemCPUView.vala:32
201+
#: src/Views/SystemView/SystemMemoryView.vala:28
202+
msgid "UTILIZATION"
203+
msgstr ""
204+
205+
#: src/Views/SystemView/SystemCPUView.vala:34
206+
#: src/Views/SystemView/SystemCPUView.vala:94
207+
#: src/Views/SystemView/SystemMemoryView.vala:30
208+
#: src/Views/SystemView/SystemMemoryView.vala:35
209+
msgid "Show detailed info"
210+
msgstr ""
211+
212+
#: src/Views/SystemView/SystemCPUView.vala:36
213+
msgid "FREQUENCY"
214+
msgstr ""
215+
216+
#: src/Views/SystemView/SystemCPUView.vala:40
217+
msgid "TEMPERATURE"
218+
msgstr ""
219+
220+
#: src/Views/SystemView/SystemCPUView.vala:96
221+
#: src/Views/SystemView/SystemMemoryView.vala:37
222+
msgid "Hide detailed info"
223+
msgstr ""
224+
225+
#: src/Views/SystemView/SystemCPUView.vala:152
226+
#: src/Views/SystemView/SystemMemoryView.vala:100
227+
#, c-format
228+
msgid "%d%%"
229+
msgstr ""
230+
231+
#: src/Views/SystemView/SystemCPUView.vala:153
232+
#: src/Widgets/Statusbar/Statusbar.vala:44
233+
msgid "GHz"
234+
msgstr ""
235+
236+
#: src/Views/SystemView/SystemCPUView.vala:154
237+
msgid "℃"
238+
msgstr ""
239+
240+
#: src/Views/SystemView/SystemMemoryView.vala:41
241+
msgid "Total: "
242+
msgstr ""
243+
244+
#: src/Views/SystemView/SystemMemoryView.vala:44
245+
msgid "Used: "
246+
msgstr ""
247+
248+
#: src/Views/SystemView/SystemMemoryView.vala:47
249+
msgid "Shared: "
250+
msgstr ""
251+
252+
#: src/Views/SystemView/SystemMemoryView.vala:50
253+
msgid "Buffered: "
254+
msgstr ""
255+
256+
#: src/Views/SystemView/SystemMemoryView.vala:53
257+
msgid "Cached: "
258+
msgstr ""
259+
260+
#: src/Views/SystemView/SystemMemoryView.vala:56
261+
msgid "Locked: "
262+
msgstr ""
263+
264+
#: src/Views/SystemView/SystemMemoryView.vala:103
265+
#, c-format
266+
msgid "Total: %s"
267+
msgstr ""
268+
269+
#: src/Views/SystemView/SystemMemoryView.vala:104
270+
#, c-format
271+
msgid "Used: %s"
272+
msgstr ""
273+
274+
#: src/Views/SystemView/SystemMemoryView.vala:105
275+
#, c-format
276+
msgid "Shared: %s"
277+
msgstr ""
278+
279+
#: src/Views/SystemView/SystemMemoryView.vala:106
280+
#, c-format
281+
msgid "Buffered: %s"
282+
msgstr ""
283+
284+
#: src/Views/SystemView/SystemMemoryView.vala:107
285+
#, c-format
286+
msgid "Cached: %s"
287+
msgstr ""
288+
289+
#: src/Views/SystemView/SystemMemoryView.vala:108
290+
#, c-format
291+
msgid "Locked: %s"
292+
msgstr ""
293+
162294
#: src/Widgets/Headerbar/Headerbar.vala:13
163295
msgid "Monitor"
164296
msgstr ""
@@ -188,11 +320,7 @@ msgid "Swap"
188320
msgstr ""
189321

190322
#: src/Widgets/Statusbar/Statusbar.vala:16
191-
#: src/Widgets/Statusbar/Statusbar.vala:20
192-
#: src/Widgets/Statusbar/Statusbar.vala:25
323+
#: src/Widgets/Statusbar/Statusbar.vala:22
324+
#: src/Widgets/Statusbar/Statusbar.vala:29
193325
msgid "Calculating…"
194326
msgstr ""
195-
196-
#: src/Widgets/Statusbar/Statusbar.vala:38
197-
msgid "GHz"
198-
msgstr ""

0 commit comments

Comments
 (0)