aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaUtils.cpp
Commit message (Collapse)AuthorAge
* Tag version 0.9.0-devel on the master branch (corresponds to ↵Ken Moore2016-02-19
| | | | 0.8.8-Release-p1 on qt5/0.8.8 branch)
* Tag Lumina version 0.8.8-ReleaseKen Moore2016-02-10
|
* Tinker with the resizeMenu class to try and bypass a bug in Qt 5.5.1 ↵Ken Moore2016-02-04
| | | | (QWidget embedded in a QWidgetAction does not receive mouse-over events properly). Also ensure that when resizing the menu, the grabbed side cannot go beyond the opposite side.
* Large cleanup of the Lumina project files and OS-detection/support systems.Ken Moore2016-01-11
| | | | | | | 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).
* Make sure to round the generated panel size to the nearest pixel rather than ↵Ken Moore2015-12-28
| | | | save the float to the settings file.
* Fix up the loading of theme colors on first-run. Also find/fix a typo in the ↵Ken Moore2015-12-17
| | | | default luminaDesktop.conf file.
* Fix up the loading of locales through the StartMenu/Session. Now it will ↵Ken Moore2015-12-01
| | | | properly make the locale changes *if* it could properly load the locale (ensuring consistency between system/session).
* Re-work how Lumina finds/loads icons from the current theme. This bypasses ↵Ken Moore2015-11-10
| | | | the QIcon::fromTheme() functionality completely, that way we get more detection/control over finding bad files and such (SVG files in particular).
* A couple changes to Lumina:Ken Moore2015-11-09
| | | | | | 1) Add 3 different "view modes" for applications in the start menu: Alphabetical (no categories), Partial Categories (same as before - still on list though), or Categories (need to click the category to go into it and see the applications).2) Fix the theming of partially checked checkboxes and groupboxes. 3) Force the desktop icons to have black text in the theme (no matter which color scheme is in use). 4) Adjust the outlining effects of the desktop icons to use a radial gradient now, so you get a smoother effect which does not steal eye focus as much on contrasting backgrounds.
* Ok, now the external process commands *truly* run in a separate thread ↵Ken Moore2015-10-28
| | | | through the QtConcurrent module.
* Remove the "waitForStarted()" function call in the external process launcher ↵Ken Moore2015-10-28
| | | | functions, and adjust the manual check for process started/running/finished to also account for the "Starting" State (only breaks out for the "NotRunning" process state now).
* Tag version 0.8.7-Release in sourcesKen Moore2015-10-21
|
* 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).
bgstack15