Commit Graph

1611 Commits

Author SHA1 Message Date
Nodir Temirkhodjaev
bd535e94c7 UI: SQLite: Add config.h 2021-09-21 12:32:28 +03:00
Nodir Temirkhodjaev
5e5058883e UI: Minor fix of previous commit. 2021-09-07 10:43:39 +03:00
Nodir Temirkhodjaev
f1c66c19c9 UI: Disable WOW64 FS Redirection for 32-bit build.
Fix the Programs: "Purge All" & "Open Folder" actions.
2021-09-07 08:47:32 +03:00
Nodir Temirkhodjaev
a20b96f26c Driver: Prepare Windows 7 & 10 separating.
ExFreePoolWithTag() is deprecated since Windows 10 v2004.
2021-09-01 12:59:11 +03:00
Nodir Temirkhodjaev
27d55effba Driver: Separate builds for Windows 7 & 10. 2021-09-01 12:03:20 +03:00
Nodir Temirkhodjaev
6a4511274a UI: ConfUtil: Fix warnings for 64-bit build. 2021-08-31 15:33:08 +03:00
Nodir Temirkhodjaev
1072d0914e UI: Fix "static non-POD" warnings. 2021-08-30 14:23:16 +03:00
Nodir Temirkhodjaev
900dc2bcdc UI: Util/RegKey: Fix warning for 64-bit build. 2021-08-30 14:21:30 +03:00
Nodir Temirkhodjaev
8eca6c318f Installer: Win10: Include only 64-bit driver. 2021-08-29 20:21:48 +03:00
Nodir Temirkhodjaev
b60c87713b UI: AppInfoManager: Fix warning for 64-bit build. 2021-08-29 19:37:18 +03:00
Nodir Temirkhodjaev
96729f1cc1 UI: NetDownloader: Clear buffer after processing it. 2021-08-28 18:06:57 +03:00
Nodir Temirkhodjaev
d75e02d3fb UI: Use QtNetwork for downloads.
Installer: Remove `curl.*` later.
2021-08-28 17:46:24 +03:00
Nodir Temirkhodjaev
6afc993876 UI: ControlManager: Refactor processCommand*(args). 2021-08-20 18:48:10 +03:00
Nodir Temirkhodjaev
3178b3ef05 Bump version. 2021-08-08 18:21:05 +03:00
Nodir Temirkhodjaev
4760547083 UI: ControlManager: Named pipe name is per user name. 2021-08-08 16:17:21 +03:00
Nodir Temirkhodjaev
4000db08b8 UI: Options: Fix password checking. 2021-08-07 13:59:30 +03:00
Nodir Temirkhodjaev
67a779e1ed UI: RpcManager: Fix password checking. 2021-08-07 13:11:41 +03:00
Nodir Temirkhodjaev
2ee85e656c UI: Fix activating a minimized window. 2021-08-07 12:40:28 +03:00
Nodir Temirkhodjaev
8e49563eec UI: Fix a warning with Qt 6.2
'QFont' is deprecated: Pass QStringList{family} or family.split(QLatin1Char(',')) instead of family
2021-08-07 12:29:46 +03:00
Nodir Temirkhodjaev
8e5c236293 UI: ControlUtil: Extract dialog functions to DialogUtil. 2021-08-07 12:13:49 +03:00
Nodir Temirkhodjaev
96beea0f08 Bump version. 2021-07-30 13:32:13 +03:00
Nodir Temirkhodjaev
fd4246783d UI: FirewallConf: Prepare services edit. 2021-07-30 11:45:03 +03:00
Nodir Temirkhodjaev
5f7c9de4b0 UI: Minor fix of previous commit. 2021-07-27 18:21:34 +03:00
Nodir Temirkhodjaev
cf13cdf6e9 UI: Util/IconCache: Check non-main thead usage. 2021-07-27 15:31:59 +03:00
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
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
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
Nodir Temirkhodjaev
5a01c9bd79 UI: IocContainer: Only services are auto-deletable. 2021-06-02 14:38:44 +03:00
Nodir Temirkhodjaev
49396ce920 UI: TaskManager: Load zones later. 2021-06-02 14:26:29 +03:00
Nodir Temirkhodjaev
81e8df92fc UI: Start IocContainer usage. 2021-06-02 13:59:10 +03:00
Nodir Temirkhodjaev
e0748c4ee9 UI: IocContainer is non-intrusive. 2021-06-01 12:49:21 +03:00
Nodir Temirkhodjaev
c28e626dbd UI: Prepare IocContainer usage. 2021-05-31 20:33:49 +03:00
Nodir Temirkhodjaev
f066e3b68c UI: Util: Add IocContainer. 2021-05-31 19:40:14 +03:00
Nodir Temirkhodjaev
4703d28384 UI: RpcManager: Simplify processConfManagerRpc(). 2021-05-31 13:37:45 +03:00
Nodir Temirkhodjaev
77d26b888f UI: Programs: Show clear removing rows. 2021-05-31 13:22:00 +03:00
Nodir Temirkhodjaev
e445dbdfd6 UI: ConfManager: Simplify addApp(). 2021-05-31 13:14:41 +03:00
Nodir Temirkhodjaev
1d7017d585 UI: Driver: Continue log reading after cancelling. 2021-05-31 10:37:02 +03:00
Nodir Temirkhodjaev
6be568c174 UI: Refactor models. 2021-05-30 15:14:19 +03:00
Nodir Temirkhodjaev
8269330a6d UI: Refactor models. 2021-05-30 12:14:07 +03:00
Nodir Temirkhodjaev
3dafdeb2fb UI: Simplify RpcManager. 2021-05-29 22:03:40 +03:00
Nodir Temirkhodjaev
bdef6166fd UI: TaskManager: Check tasks each 5 minutes. 2021-05-29 21:50:35 +03:00
Nodir Temirkhodjaev
78160a116d UI: TrayIcon: Set type. 2021-05-29 16:34:01 +03:00
Nodir Temirkhodjaev
f64c3b5366 UI: Don't update driver with its sent app alert. 2021-05-29 15:34:10 +03:00
Nodir Temirkhodjaev
09413876e4 UI: Statistics: Fix traffic updating for new app, after it was blocked. 2021-05-29 15:17:03 +03:00
Nodir Temirkhodjaev
c8ef46ee4b UI: Schedule: Fix tasks updating on client. 2021-05-29 14:05:38 +03:00
Nodir Temirkhodjaev
2cb38b43c3 UI: Zones: Fix Addresses Count handling. 2021-05-29 11:00:22 +03:00
Nodir Temirkhodjaev
3796b8a955 UI: Debug log curl runs. 2021-05-28 15:59:57 +03:00
Nodir Temirkhodjaev
bb0cc44ce4 UI: Update translations. 2021-05-28 15:45:39 +03:00
Nodir Temirkhodjaev
273cbb5bea UI: Zones: Add "Addresses" column. 2021-05-28 15:40:59 +03:00
Nodir Temirkhodjaev
9f7adf79e8 UI: Zones: Fill default URL in dialog. 2021-05-28 14:32:27 +03:00
Nodir Temirkhodjaev
533720018b UI: Zones: Add "WindowsSpyBlocker" source. 2021-05-28 14:31:51 +03:00
Nodir Temirkhodjaev
10e3a9d13e UI: Zones: Improve IPv4 address regexp. 2021-05-28 13:15:53 +03:00
Nodir Temirkhodjaev
377ac86778 UI: Don't use Breakpad when debugging. 2021-05-28 12:35:45 +03:00
Nodir Temirkhodjaev
2bd992bd12 UI: HostInfoCache: Abort lookups on exit. 2021-05-28 12:35:20 +03:00
Nodir Temirkhodjaev
b65e76eba2 UI: TrayIcon: Queued Connection didn't help with spurious clicks. 2021-05-28 09:06:01 +03:00