Commit Graph
43 Commits
Author SHA1 Message Date
Vibhav Pant c7bc1a37e5 Add method ConnectedToWifi. 2023-08-27 09:44:13 +05:30
Vibhav Pant 4417dd781f Add Wifi Direct files. 2023-08-27 00:35:37 +05:30
Vibhav Pant 55847d7762 Add WifiDirectSocket methods. 2023-08-27 00:35:28 +05:30
Vibhav Pant ef666b2311 Add Wifi Direct medium 2023-08-27 00:32:55 +05:30
Vibhav Pant 6e4c035103 Add ConnectedToWifi. 2023-08-27 00:17:56 +05:30
Vibhav Pant e6d273aaa8 Add additional files. 2023-08-26 21:49:42 +05:30
Vibhav Pant 52121a5a05 Implement remaining platform methods. 2023-08-26 16:46:25 +05:30
Vibhav Pant f1c3e0d7ff Use sdbus-c++ glue proxies for device info. 2023-08-23 20:33:57 +05:30
Vibhav Pant 4908216bbb Use XDG_RUNTIME_PATH for GetTemporaryPath 2023-08-23 17:47:27 +05:30
Vibhav Pant 3034f35fd5 Merge remote-tracking branch 'proatgram/linux-platform' 2023-08-23 17:41:43 +05:30
Vibhav Pant 24474a0c92 Add additional impls. 2023-08-23 17:30:14 +05:30
Vibhav Pant d8b04cdcf4 Add headers to library comm. 2023-08-23 17:29:59 +05:30
Vibhav Pant d7586210dc Add BluezObjectManager. 2023-08-23 16:01:57 +05:30
Vibhav Pant 3a4393ddda Add more wifi code. 2023-08-23 16:01:39 +05:30
Vibhav Pant dd13c8b2c5 Add additional WiFi code. 2023-08-23 00:48:22 +05:30
Vibhav Pant 8daff56437 Code dump. 2023-08-21 23:19:01 +05:30
Timothy Hutchins 1ff995400f Implemented missing implementation files
I missed some implementation when I was looking over them. These are
them.
2023-08-16 21:37:52 -05:00
Timothy Hutchins bfe5db2229 Added base implementation for input_file and output_file
This are unimplemented currently, but will be in the future.
2023-08-16 21:36:04 -05:00
Timothy Hutchins 000c86425c Implemented a TimerQueue class and a Timer class
The Windows implementation of the Timer class (in timer.h) used Timer
Queues. This brings in implementation for a mostly Windows complient
TimerQueue class to work with the Timer class.
2023-08-16 21:31:31 -05:00
Vibhav Pant fc0eed544a Simplify Bluetooth code. 2023-08-16 21:04:18 +05:30
Vibhav Pant 1caa90d162 Use NetworkManager object for checking connectivity. 2023-08-16 19:03:47 +05:30
Vibhav Pant 4f90fa4b72 Add initial wifi medium code. 2023-08-16 02:00:09 +05:30
Vibhav Pant f9fb3d259e Rewrite dbus code using sdbus-c++ 2023-08-15 20:52:51 +05:30
Vibhav Pant 295f9d6b2e Walk through InterfacesAdded data correctly. 2023-08-09 18:42:56 +05:30
Timothy Hutchins 2f2c08c317 Implemented submittable_executor and some other missed files
A file was named wrong. It was changed.
2023-08-07 15:16:43 -05:00
Timothy Hutchins 9872919951 Implemented preferences_manager and helpers 2023-08-07 13:58:39 -05:00
Timothy Hutchins 632b80adb1 Implemented scheduled_executor 2023-08-06 18:28:46 -05:00
Timothy Hutchins 0efd39ca4f Added implementation for test_utils 2023-08-06 16:39:57 -05:00
Timothy Hutchins b0484fd83e Implemented Windows implementation compliant Linux http_loader
The `http_loader` class takes a `WebRequest` with information to send a
web request, and sends it. This uses `libcurl`, which is present from
installation on most major Linux distrobutions (e.g. Fedora, Ubuntu,
PopOS...).

If libcurl is not present on the target system, it will need to be
installed.
2023-08-04 18:13:05 -05:00
Vibhav Pant e8c5a24538 Add additional libraries. 2023-08-03 17:17:59 +05:30
Vibhav Pant 5644e97d46 Refactor 2023-08-03 17:14:03 +05:30
Timothy Hutchins ac121f376f Implemented some more Linux equivalents 2023-08-02 18:24:19 -05:00
Vibhav Pant 24d1021bfa Add additional code for implementing BluetoothClassicMedium. 2023-08-01 18:27:05 +05:30
Vibhav Pant a891e8bee0 Add BluetoothServerSocket implementation. 2023-08-01 18:22:46 +05:30
Vibhav Pant ab3ec3d257 More bluetooth medium code. 2023-07-30 02:10:58 +05:30
Vibhav Pant 1f6a9ccc67 Add bluetooth_adapter implementation. 2023-07-23 19:01:50 +05:30
Vibhav Pant 19240c5a92 Use cleanup attribute for freeing libsystemd resources. 2023-07-23 19:01:14 +05:30
Vibhav Pant 33bd13797b Add additional methods for DeviceInfo. 2023-07-22 20:16:26 +05:30
Vibhav Pant ca8efbf347 Initial sketch. 2023-07-22 15:32:25 +05:30
Timothy Hutchins 046652347f Implemented Linux equivalent to Windows file_path*
This adds a Linux equivalent to file path operations done in the Windows
headers and source files. Some differences that will occur are the
invalid path names and contents, as there are no invalid path names, and
only one invalid path content (excluding non-printable characters) on
Linux.
2023-05-21 18:58:33 -05:00
Timothy Hutchins 0d0f3dcc7e Added program data directories to Linux platform device_info
There are a couple of places where apps can store data in Linux, one is
in the HOME directory, which is being phased out, the second, is in
HOME/.config, and the other is HOME/.local/share. This uses
HOME/.local/share, and since there isn't a common appdata path on Linux
that function will just return the local appdata path.
2023-05-21 17:07:15 -05:00
Timothy Hutchins 688c7fd045 Fix memory leak with getting interfaces
There was no free after we were finished with the interface pointer
2023-05-19 19:51:04 -05:00
Timothy Hutchins bbfc2991c5 Started implementing Linux specific platform
This is the start of the implementing for the Linux platform.

I aim to make this as similar to the Windows platform as possible,
although due to the fundamental difference in the two OS's, there will
be things that need to be different.
As such, I will be using the Windows platform files as a base, and
reimplementing the functions with Linux equivalents.

I am sure this will have bugs, which by my best attempt will be fixed
when found.
2023-05-19 19:19:15 -05:00