Commit Graph

1701 Commits

Author SHA1 Message Date
Nodir Temirkhodjaev
8cbc8f62bb UI: Services: Show empty app groups. 2021-06-25 18:41:28 +03:00
Nodir Temirkhodjaev
f42e9e1ecb UI: Services: Fix list loading. 2021-06-25 18:26:53 +03:00
Nodir Temirkhodjaev
f42fc60147 UI: Ip4Range: Fix PVS-Studio warning.
V815 Decreased performance. Consider replacing the expression 'm_errorMessage = QString()' with 'm_errorMessage.clear()'. ip4range.cpp 14
2021-06-23 09:51:12 +03:00
Nodir Temirkhodjaev
b5fac204ad UI: TaskInfoZoneDownloader: Fix PVS-Studio warning.
V669 The 'zonesMask' argument is a non-constant reference. The analyzer is unable to determine the position at which this argument is being modified. It is possible that the function contains an error. taskinfozonedownloader.cpp 206
2021-06-23 09:49:28 +03:00
Nodir Temirkhodjaev
cb545cdecd UI: StatManager: Fix PVS-Studio warning.
V821 Decreased performance. The 'insertTrafStmts' variable can be constructed in a lower level scope. statmanager.cpp 310
V821 Decreased performance. The 'updateTrafStmts' variable can be constructed in a lower level scope. statmanager.cpp 322
2021-06-22 23:03:02 +03:00
Nodir Temirkhodjaev
3c46567df7 UI: ServiceInfoManager: Fix PVS-Studio warning.
V641 The size of the 'buffer' buffer is not a multiple of the element size of the type 'const ENUM_SERVICE_STATUS_PROCESS'. serviceinfomanager.cpp 28
2021-06-22 22:57:32 +03:00
Nodir Temirkhodjaev
25c52e93bc UI: ConnectionsPage: Use enum for conn-mode. 2021-06-22 16:49:56 +03:00
Nodir Temirkhodjaev
164dcf2ad6 Driver: fortout: Fix PVS-Studio warning.
V807 Decreased performance. Consider creating a pointer to avoid using the 'fort_device()->stat' expression repeatedly. fortcout.c 531
2021-06-22 16:45:47 +03:00
Nodir Temirkhodjaev
db8c129636 Driver: fortlog: Fix macros. 2021-06-22 16:39:57 +03:00
Nodir Temirkhodjaev
99cad2a4a3 UI: ServiceInfoManager: Fix buffer's alignment. 2021-06-22 16:39:24 +03:00
Nodir Temirkhodjaev
dde511b7b6 Update ChangeLog. 2021-06-19 19:24:48 +03:00
Nodir Temirkhodjaev
17f8db40af UI: Update SQLite v3.36.0 2021-06-19 18:59:51 +03:00
Nodir Temirkhodjaev
92ee005d92 UI: ApplicationsPage: Fix PVS-Studio warning.
V807 Decreased performance. Consider creating a pointer to avoid using the 'm_splitter->handle()' expression repeatedly. applicationspage.cpp 93
2021-06-19 18:35:44 +03:00
Nodir Temirkhodjaev
80ca97d41b UI: AppInfoManager: Fix PVS-Studio warning.
V773 The 'm_sqliteDb' pointer was not released in destructor. A memory leak is possible. appinfomanager.cpp 72
2021-06-19 18:26:31 +03:00
Nodir Temirkhodjaev
f2d0b96092 UI: SqliteStmt: Use "= default". 2021-06-19 18:13:11 +03:00
Nodir Temirkhodjaev
3d6ee83ed0 Driver: Buffer: Double check the buffer size. 2021-06-19 18:01:44 +03:00
Nodir Temirkhodjaev
a05ee35f68 UI: Net/Ip4Range: Fix PVS-Studio warning.
V610 Undefined behavior. Check the shift operator '<<'. The right operand ('(32 - nbits)' = [1..32]) is greater than or equal to the length in bits of the promoted left operand. ip4range.cpp 152
2021-06-19 17:54:07 +03:00
Nodir Temirkhodjaev
cf2ed5ad8f UI: Settings: Fix PVS-Studio warning.
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_iniExists. settings.cpp 7
2021-06-19 09:16:32 +03:00
Nodir Temirkhodjaev
0a9ea1cd0c UI: Rename abort()-s: Fix PVS-Studio warning.
V779 Unreachable code detected. It is possible that an error is present. taskinfozonedownloader.cpp 89
2021-06-19 09:12:16 +03:00
Nodir Temirkhodjaev
1fca942138 UI: StatManager: Fix PVS-Studio warning.
V773 The 'm_sqliteDb' pointer was not released in destructor. A memory leak is possible. statmanager.cpp 68
2021-06-19 08:53:02 +03:00
Nodir Temirkhodjaev
6682730b99 UI: Options: Fix PVS-Studio warning.
V807 Decreased performance. Consider creating a pointer to avoid using the 'm_splitter->handle()' expression repeatedly. addressespage.cpp 75
2021-06-18 22:22:28 +03:00
Nodir Temirkhodjaev
9476314f7b Driver: Packet: Fix PVS-Studio warning.
V547 Expression 'inbound' is always true. fortpkt.c 285
2021-06-18 22:14:12 +03:00
Nodir Temirkhodjaev
57e9528f95 Driver: Buffer: Fix PVS-Studio warning.
V1004 The 'data' pointer was used unsafely after it was verified against nullptr. Check lines: 123, 132. fortbuf.c 132
2021-06-18 22:07:05 +03:00
Nodir Temirkhodjaev
5a8f2cb640 Driver: Fix PVS-Studio warning.
V677 Custom declaration of a standard 'PVOID' type. The system header file should be used: #include <WinNT.h>. um_wdm.h 19
2021-06-18 22:05:57 +03:00
Nodir Temirkhodjaev
b996ad0dab UI: Prepare ServicesPage. 2021-06-17 19:13:47 +03:00
Nodir Temirkhodjaev
5685c5aa29 UI: Fix for Qt 5 2021-06-17 19:12:29 +03:00
Nodir Temirkhodjaev
3e6bf2a958 Installer: Ignore version of .example.ini 2021-06-17 19:12:00 +03:00
Nodir Temirkhodjaev
d0bbe8f794 UI: Update translations. 2021-06-15 19:39:04 +03:00
Nodir Temirkhodjaev
2ea622852b UI: LogManager: Fix IoC() usage. 2021-06-14 13:07:17 +03:00
Nodir Temirkhodjaev
2ca9de04bf FortFirewallDriver.pro: Don't build driver from .pro 2021-06-14 12:51:31 +03:00
Nodir Temirkhodjaev
c35dfdee48 UI: Logger: Move console stuff to OsUtil. 2021-06-08 18:19:53 +03:00
Nodir Temirkhodjaev
fde3d1f9ca UI: IocContainer: Class is final.
Hint for devirtualization.
2021-06-07 15:29:20 +03:00
Nodir Temirkhodjaev
3cd7bb7db0 UI: IocContainer: Check array index. 2021-06-07 13:34:29 +03:00
Nodir Temirkhodjaev
e15cb97f0f UI: IocContainer: Don't inherit from QObject. 2021-06-06 19:54:36 +03:00
Nodir Temirkhodjaev
7d1e1f6f4d UI: IocContainer: Just use arrays. 2021-06-06 19:29:18 +03:00
Nodir Temirkhodjaev
bad1b2fafa UI: IocContainer: Inline the TlsGetValue(). 2021-06-05 18:01:28 +03:00
Nodir Temirkhodjaev
19845e5b9f UI: IocContainer: Inline resolve*() functions. 2021-06-03 20:29:39 +03:00
Nodir Temirkhodjaev
1306b174c5 UI: RpcManager: Refactor commands handling. 2021-06-03 19:49:00 +03:00
Nodir Temirkhodjaev
4a75936f97 UI: IocContainer: Don't delete TlsIndex.
Several unit tests can run in parallel.
2021-06-03 17:24:19 +03:00
Nodir Temirkhodjaev
121619a939 UI: Add WindowManagerFake for service mode. 2021-06-03 17:21:26 +03:00
Nodir Temirkhodjaev
c930b07704 UI: FortManager: Move window stuff to WindowManager. 2021-06-03 16:19:47 +03:00
Nodir Temirkhodjaev
a624ef74b4 UI: Move manager/serviceinfo* classes to serviceinfo/. 2021-06-03 14:43:17 +03:00
Nodir Temirkhodjaev
0bcafeb3d7 UI: Move util/net/hostinfo* classes to hostinfo/. 2021-06-03 14:42:41 +03:00
Nodir Temirkhodjaev
e5ad07d207 UI: IocContainer: Extract create/deleteTlsIndex() functions. 2021-06-03 09:54:41 +03:00
Nodir Temirkhodjaev
78fe8b943f UI: Move managers from util/ to manager/. 2021-06-02 19:42:53 +03:00
Nodir Temirkhodjaev
064b154b52 UI: IocContainer: Minor fix for consistency. 2021-06-02 18:07:17 +03:00
Nodir Temirkhodjaev
1aeb788728 UI: Minor fixes. 2021-06-02 17:56:52 +03:00
Nodir Temirkhodjaev
03ba22436a UI: Move ZoneListModel to IocContainer. 2021-06-02 16:30:08 +03:00
Nodir Temirkhodjaev
6fbe782b61 UI: Move AppListModel to ProgramsController. 2021-06-02 16:14:43 +03:00
Nodir Temirkhodjaev
80ab7df81f UI: AppInfoUtil: Use QVarLengthArray. 2021-06-02 15:30:28 +03:00