| Commit message (Collapse) | Author | Age |
|
|
|
| |
it into all the various LuminaOS-<OS>.cpp files instead. This allows the Lumina library to function properly when compiling an external application against an installed version of the lib.
|
|
|
|
|
|
|
| |
1) Setup all the subprojects to use the new OS-detect.pri subfile
2) Automatically detect/set the build datetime string for the project when qmake is run.
3) Automatically read/embed the current GIT revision into the Lumina version string
4) Remove the old QtConfig shortcut function from the LuminaOS class (and all templates).
|
|
|
|
| |
This returns true if the system is in the middle of applying updates and cannot be powered off at the present time.
|
|
|
|
|
| |
This returns the current stats about the available disks on the system (current read/write rates on FreeBSD - not implemented on other OS's yet).
Also use this new function in the systemmonitor desktop plugin.
|
|
|
|
|
|
|
|
|
| |
1) CPUTemperatures()
2) CPUUsagePercent()
3) MemoryUsagePercent()
These functions have been filled out for the LuminaOS-FreeBSD implementation, but not for any of the others yet. The FreeBSD implementation has also not been tested yet.
Also add a new "DisplayNumberToBytes()" function into LuminaUtils for converting sizes in a string format (50M or 50MB for example) into a double with the number of bytes for calculations.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This just returns the name of the OS template used within the library.
(No action required for OS-specific maintainers, already handled for all templates).
|
|
|
|
| |
It is functional at the moment, but still has a few rough edges with regards to the X11 background interface (due to the move from XLib to XCB in Qt5). This reulst in some of the window manager interactions not behaving properly (such as sticky status on panels).
|
|
|
|
|
|
|
|
|
|
| |
1) Move the global.h file usage into libLumina exclusively
2) Define a new "LuminaOS::LuminaShare()" function for retrieving the install directory for Lumina (based on the PREFIX/global.h)
3) Change all the other lumina sub directories/projects to use the new LuminaShare() function when necessary.
4) This also fixes up the loading of translations in many of the subprojects (found a bug in the path used in a number of them).
Reason:
Previous implementation *only* worked if you built lumina from the base directory, causing problems with rebuilding individual pieces of Lumina. This also cleans up the general lumina projects as they only need the LuminaOS class loaded instead of knowing about this other possible OS implementation.
|
|
|
|
| |
shutdown/restart the system, and enable/disable those options in the logout menu appropriately.
|
|
|
|
| |
the AppStore/ControlPanel/QtConfig shortcut definitions into the LuminaOS class for use in other OS's.
|
|
|
|
| |
have all the different defines all over the place.
|
|
|
|
| |
That will let it persist between login sessions, allowing Lumina to automatically return to the previous setting on login.
|
|
|