aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaUtils.cpp
Commit message (Collapse)AuthorAge
* Fix a luminaDesktop.conf loading bug with regards to panel sizing.Ken Moore2015-10-19
|
* Fix a mapping issue with the mouse position for the ResizeMenu.Ken Moore2015-10-12
|
* Add a process verification check to the LuminaUtils functions for running ↵Ken Moore2015-10-12
| | | | external utilities. This should catch/break the loop if the external utility stops in some strange way.
* Update the new ResizeMenu and startmenu a bit: Now it better performes ↵Ken Moore2015-10-08
| | | | resizing and the startmenu savees it's size between sessions.
* Another batch of small fixes:Ken Moore2015-10-07
| | | | | | | | 1) Add a new ResizeMenu() class to the LuminaUtils library - this class allows the resulting menu to be resizable by the user clicking on an edge and dragging. 2) In the systemstart panel plugin, reverse the location of the shutdown options on the leave page (put them at the bottom next to where the leave button is in the first place) 3) Setup the systemstart plugin to use the new ResizeMenu. It currently does not save the new size to be used for later sessions, but per-session resizing works fine. 4) Quick adjustment to the systemtray icon sizes 5) Quick fix to the detection of a desktop file removal.
* Fix an issue with the runCmd() and getCmdOutput() functions in libLumina - ↵Ken Moore2015-09-30
| | | | ensure that the process was started first before going into the "wait loop" afterwards. This should fix race conditions where Lumina was trying to call an application which was not installed on the system, or the application does not startup for some reason.
* Add a LUtils function for assembling the command to open a terminal in a ↵Ken Moore2015-09-17
| | | | | | | | particular directory. It appears that most Linux-DE terminal apps do not properly apply the universal "-e" flag, so add special handling of the following terminal applications: mate-terminal, lxterminal, gnome-terminal, xfce4-terminal, konsole This makes those application work properly now, but it *could* break in the future if the app devs decide to modify the CLI flags for their app.
* Add come fixes to libLumina to work with the new systemstart plugin, and ↵Ken Moore2015-09-10
| | | | adjust the theme files accordingly.
* Fix a bug in the ~ replacement routine.Ken Moore2015-09-09
|
* Add a new "PathToAbsolute()" function to LuminaUtils for converting a ↵Ken Moore2015-08-31
| | | | possible relative path to an absolute path (for input path validation/checking).
* Add a function to convert a number of bytes into a display string (3 digits)Ken Moore2015-08-19
|
* Now tag version 0.8.7-devel on the master branchKen Moore2015-07-31
|
* Tag version 0.8.6-ReleaseKen Moore2015-07-31
|
* Final fix for the line find/replace functionality in luminaDesktop.conf ↵Ken Moore2015-07-29
| | | | parsing - needed to explicitly use a QREgExp with wildcard matching rules (verified that it works properly).
* Oops, make sure that any new duplicate session setting overwrites the ↵Ken Moore2015-07-29
| | | | previous setting.
* Add the ability to use an optional "_ifexists" tag at the end of any ↵Ken Moore2015-07-29
| | | | "session_*" settings in luminaDesktop.conf. This will check for the existance of the given value (absolute paths only), and skip the assignment if it does not exist.
* Finish cleaning up the new localization configuration settings in libLumina, ↵Ken Moore2015-07-21
| | | | | | and put a combobox in the system dashboard plugin which allows the user to (temporarily) change their session locale. Still need to finish up the active re-translation of the desktop session though.
* Change a bit more of the localization/translation mechanisms: Now it is ↵Ken Moore2015-07-21
| | | | possible to save the translator for use later (instead of always installing a new QTranslator).
* Update/add some localization functions to libLumina.Ken Moore2015-07-21
|
* Commit some quick fixes:Ken Moore2015-07-17
| | | | | | 1) Switch some X11->XCB functions around (SetAsDesktop(), SetDisableWMActions()). 2) Fix up some QtQuick plugin detection routines (now it will properly see the user's quickplugins if any). 3) Connect the status change signal/slots for QtQuick plugins to try and detect script failures and remove the script (still not working reliably).
* Now tag version 0.8.6-devel on the master branchKen Moore2015-07-13
|
* Tag version 0.8.5-release in the source tree.Ken Moore2015-07-13
|
* Oops, forgot to make the new functions staticKen Moore2015-07-09
|
* Expand the QtQuick plugin format and put a couple more functions for ↵Ken Moore2015-07-09
| | | | finding/probing QML scripts/plugins.
* Update the lumina themes and the PC-BSD color scheme a bit, and a couple ↵Ken Moore2015-07-09
| | | | more minor adjustments to case sensitivity in the luminaDesktop.conf parsing.
* Clean up a few other case-sensitive issues with the luminaDesktop.conf file ↵Ken Moore2015-07-08
| | | | loading routine.
* Fix up the loading of luminaDesfaults.conf quite a bit (now it works ↵Ken Moore2015-07-08
| | | | properly/consistently for the new favorites/theme config options).
* Add a new option in luminaDesktop.conf for auto-generating desktop ↵Ken Moore2015-06-23
| | | | icons/launchers.
* Fix a bug in the writeFile() function when passed an empty list of text. ↵Ken Moore2015-06-20
| | | | This fixes the issue with removing the last "favorite" from the system causing a crash.Also make sure to remove any empty lines from the favorites when loading them.
* Add a quick verification to the favorites system to ensure that the ↵Ken Moore2015-06-18
| | | | directory where favorites are stored is actually in existance.
* Add two new plugins for Lumina: QuickPPlugin, QuickDPlugin (panel/desktop ↵Ken Moore2015-06-11
| | | | | | respectively). These are QtQuick "containers" which allow the loading of user/system supplied QML scripts for non-compiled plugin support. These plugins must be single *.qml files located in <Lumina Share>/quickplugins/*.qml or ~/.lumina/quickplugins/*.qml
* Update the luminaDesktop.conf file format/syntax a bit. Now it uses "_" as ↵Ken Moore2015-06-11
| | | | | | the separation character in variables instead of ".", allowing compatibility with libUCL. (Note: it will still detect the "." separation in variables for backwards compatibility at the moment - might remove this compat once we get ready for 1.0-release in the distant future). Also add a couple new panel options (pinlocation, edgepercent) allowing the panel to bet setup in a particular location on the designated screen edge.
* Add new options to the system-wide settings configuration file:Ken Moore2015-05-28
| | | | | | favorites.add: add an entry into the favorites system for a file/dir favorites.remove: remove an entry from the favorites system for a file/dir (for backwards compat later if necessary) favorites.add.ifexists: add an entry but only if the file/dir currently exists
* Add a new LUtils::imageExtensions() function, and setup the lumina-desktop ↵Ken Moore2015-05-28
| | | | plugins to all use that for checking whether a thumbnail can be shown. Also add thumbnail support into the user button for favorite files.
* Add the ability to show binaries on the lumina-search output as well as ↵Ken Moore2015-05-25
| | | | *.desktop files.
* LUtils::getCmdOutput enforce LANG=CChristopher Roy Bratusek2015-05-22
| | | | different formats of output in different locales (eg. colon vs. point as decimal delimiters)
* Commit some debug output for the new Memory/CPU calculations.Ken Moore2015-05-22
|
* Finish cleaning up the new CPU/Memory desction routines in libLumina, and ↵Ken Moore2015-05-22
| | | | add a new desktop plugin for monitoring system statistics (CPU/Mem usage, CPU temps).
* Add a few new functions to LuminaOS:Ken Moore2015-05-21
| | | | | | | | | 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.
* Fix a couple possible parsing issues with loading system/lumina defaults ↵Ken Moore2015-05-13
| | | | (remember case sensitivity!)
* Large update to the XDG autostart spec - Add full write support in libLumina.Ken Moore2015-05-12
| | | | This still needs to be tested/integrated into lumina-config for full access.
* Tag the version in the master branch of the source tree 0.8.5-devel now ↵Ken Moore2015-04-28
| | | | (since 0.8.4-release was just branched/released).
* Tag version 0.8.4-Release in preparation for branching.Ken Moore2015-04-28
|
* Add support for system-defined default non-mime applications in the ↵Ken Moore2015-04-25
| | | | | | | luminaDesktop.conf file. New Values: session.default.[terminal, filemanager, webbrowser, email]=<binary name or path to *.desktop file>
* Finish getting the new Favorites system cleaned up in libLumina. Now it is ↵Ken Moore2015-04-25
| | | | ready for use in the session/plugins.
* Add the ability to use percentages of the screen for panel sizes (%W for ↵Ken Moore2015-04-20
| | | | | | | | | | percent of screen width, %H for percent of screen height), as well as a percentage of the screen height for the font size (<number>%, gets converted to a pixel metric) Some standard percentages for examples: panel height (top/bottom): between 3%H to 4.5%H font height: between 1.5% to 2.5% Also update the default config file to reflect these changes.
* Now tag version 0.8.4-devel on the master branch.Ken Moore2015-03-30
|
* Tag version 0.8.3-release in prparation for branching the master tree.Ken Moore2015-03-30
|
* Add a new favoriting system to the Lumina Utils library. This should make ↵Ken Moore2015-03-14
| | | | things easier to add/change as necessary in the future (not tied into any of the display classes yet).
* Now tag 0.8.3-devel on the master branch (in preparation for the next version)Ken Moore2015-02-18
|
bgstack15