aboutsummaryrefslogtreecommitdiff
path: root/lumina-open/main.cpp
Commit message (Collapse)AuthorAge
* Cleanup how auto-start apps are launched a bit (start them via a single ↵Ken Moore2015-10-30
| | | | | | lumina-open call now, instead of a bunch of individual ones). Also fix up the tray app detection/failover methods a bit to catch/discard tray icons which were registered/destroyed almost simultaneously (or no destroy event was ever caught for the icon). This prevents the situation where a "blank" tray icon may be trying to repaint itself repeatedly (eating up CPU cycles). NOTE: It seems like these "blank" tray apps are all GTK based, so it might be something in that toolkit which needs fixing to prevent registering a tray window which will never be used (or is instantly destroyed).
* Make sure that lumina-open always watches files that are *not* in the XDG ↵Ken Moore2015-10-29
| | | | autostart folder(s) when opening a *.desktop file.
* Add a hidden option to lumina-open to test the crash handler (-testcrash). ↵Ken Moore2015-10-08
| | | | This is generally only used for internal testing.
* oops, accidentally removed the URL detection from lumina-open with the ↵Ken Moore2015-09-18
| | | | earlier commit.
* Clean up a little bit of the URL syntax handling in lumina-open. Now it will ↵Ken Moore2015-09-18
| | | | better handle inputs which are provided in the "file://" syntax.
* Update the lumina theme engine/class so that custom environment variables ↵Ken Moore2015-08-18
| | | | may be set/loaded for all apps using the theme engine (including the session - which propagates to new non-lumina applications as well)
* Change the QSplashScreen for the lumina-open OSD to a simple QLabel (makes ↵Ken Moore2015-07-31
| | | | it faster to load/show - preventing the issues with QSplashScreen and particular GPU drivers).
* Do not have lumina-open show the crash handler if a "pc-su" process returns ↵Ken Moore2015-07-29
| | | | error code 1 (user cancelled the procedure).
* Finish up the XDG "Actions" specification for *.desktop files, and integrate ↵Ken Moore2015-07-22
| | | | it into the AppMenu and UserButton. Also add a new flag to lumina-open so that we can specify which action to use when starting an app.
* Oops, forgot to include the process exit status comparison before changing ↵Ken Moore2015-05-21
| | | | the rreturn code to 1 with the new lumina-open changes.
* Fix the issues with running commands with lots of forward slashes in the ↵Ken Moore2015-05-20
| | | | commandd string (generally Wine programs). These programs/commands will now be run with the "system()" command instead of using a QProcess, resulting in a lack of usable error logs, but at least it functions properly now.
* Add the "file:" flag to the beginning of any local file in lumina-open if ↵Ken Moore2015-04-28
| | | | the app specifically asks for a URL.
* A couple updates for lumina-open:Ken Moore2015-04-23
| | | | | 1) Apply the "%20" <--> " " conversion on the input file/path depending on the URL/File input specified by the application about to be launched. 2) Ensure that "binaries" passed in with the "-select" flag properly get passed to the app selection dialog.
* Add a special flag to prevent the lumina-open crash handler from starting up ↵Ken Moore2015-04-20
| | | | during the session cleanup procedures.
* Disable the process crash handler in lumina-open if the input *.desktop file ↵Ken Moore2015-03-30
| | | | does not have the startupNotify flag set.
* Clean up the retcode > 0 "or" usage in main.cppKen Moore2015-03-26
|
* Merge remote-tracking branch 'upstream/master' into fmNumberswilliam2015-03-20
|\
| * Add a new error dialog to lumina-open so that there is a graphical ↵Ken Moore2015-03-12
| | | | | | | | notification if the input file could not be used for some reason.
* | fix issue #55: inform user whan return code is not nullwilliam os4y2015-02-22
|/
* Clean up a few things in Lumina:Ken Moore2015-02-17
| | | | | | | 1) When finding a file mimetype, try a case-insensitive filter if nothing came out of the case-sensitive search. 2) lumina-fm: when removing a slideshow file, try to automatically go to the next/previous picture instead of index=0; 3) Add a bunch more processEvents() calls to the lumina-fm file operations dialog. This should keep the UI's more responsive and update the visuals more often while running operations on large numbers of files. 4) lumina-fm: Fix another upper->lower case extension issue when checking if a file is supported by Qt's read/write operations.
* Fix the detection of file extensions within lumina-open for files that have ↵Ken Moore2015-01-20
| | | | multiple "."s in the name.
* Fix a couple other minor display issues in lumina-openKen Moore2015-01-05
|
* Put another couple quick fixes in:Ken Moore2015-01-05
| | | | | 1) Do not adjust the width of new windows (even if they go off the right side of the screen, they still have some part of them on the main screen) 2) Add better crash handling to lumina-open (put the standard error text or standard output text of the application in the "details" for the message box).
* Make sure that the system encoding is loaded with QTextCodec before doing ↵Ken Moore2015-01-02
| | | | any command-line argument parsing.
* Make sure that any argv[] -> QString translations from CLI input are run ↵Ken Moore2015-01-01
| | | | through QString::fromLocal8Bit(). This should correctly catch any key presses specific to particular locales.
* Be a little bit more careful about the handling of the "Exec=" field codes ↵Ken Moore2014-12-31
| | | | in *.desktop files. This seems to fix the occasional issue with KDE *.desktop shotcuts (okular in particular).
* Clean up how translations are loaded for all the Lumina utilities, and also ↵Ken Moore2014-12-30
| | | | apply the relative path fixes to all LSingleApplication's forwarded inputs.
* Commit some more XLib->XCB conversions (everything for the task manager), ↵Ken Moore2014-12-30
| | | | and fix a stray seg fault in the XCB window class detection routine.
* Commit a checkpoint on the conversion of Lumina to Qt5.Ken Moore2014-12-18
| | | | 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).
* Finish up the new Mime type default app usage in lumina-config and ↵Ken Moore2014-11-17
| | | | lumina-open. The new buttons in lumina config set the backends fine, but the file manager/terminal options will not be respected yet until I update the menu plugins in lumina-desktop.
* Add detection/conversion of relative file paths to absolute file paths ↵Ken Moore2014-11-14
| | | | within lumina-open (prevent miscategorization of files as URLs within the algorithm as well).
* Large update to the Lumina project: provide full theming capabilities.Ken Moore2014-10-10
| | | | | | | | | | | | | 1) New libLumina classes: LuminaThemes.h 2) Single-line usage to add lumina theme usage to an application (already added to all the Lumina utilities) 3) Include a Lumina-default theme template, as well as a single color scheme (will add more later) 4) Will create a global Qt style for "lumina" so that this theme engine can be automatically applied to all Qt applications at a later date (want to make sure to beat this up and get it working reliably before turning it on for everything). Major Features: 1) Full Qt theme capabilities through Qt stylesheets (so they can be modified and applied on the fly). 2) Stylesheets are broken into a couple pieces: an "incomplete" stylesheet file (the theme template) with variables in place of colors, font size, and font family. A "color" file which variable->value definitions for the different colors. And a themesettings.cfg files which keeps track of the files/font settings. 3) Along with this, add the ability to specify the icon theme that is used as well, and make that automatically re-loaded as necessary. 4) Add the ability to read/set thes values in lumina-config. The lumina-config usage is still a bit rough: working on cleaning it up right now.
* Make sure the directory catch for running lumina-fm happens at the end (in ↵Ken Moore2014-10-08
| | | | case of an invalid default that was set).
* Oops, fix a typo in the lumina-open usage: Missed removing a couple of the ↵Ken Moore2014-10-08
| | | | QSettings lines
* Add better binary detection to LuminaUtils, and setup lumina-open to use it.Ken Moore2014-10-08
|
* Clean up the default filemanager/terminal settings. Put them in the main ↵Ken Moore2014-10-08
| | | | session file (instead of desktop settings), and also have lumina-config safe it to the lumina-open defaults file directly (in the case of the file manager).
* make file-manager user-chooseableChristopher Roy Bratusek2014-10-07
|
* Clean up the new global.h usage in all the Lumina subprojects.Ken Moore2014-10-06
| | | | | | | | | | 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.
* add global.h containing PREFIX and make use of it in all sub-modules,Christopher Roy Bratusek2014-10-05
| | | | | add PREFIX and LIBPREFIX to the qmake .pro files (allows to change prefix and libdir using <qmake PREFIX=/usr LIBDIR=/usr/lib/x86_64-linux-gnu/> or whatever) update debian packaging scripts accordingly
* Make sure to initialize the QApplication before trying to show the error box ↵Ken Moore2014-10-03
| | | | in lumina-open (if the application that got started crashed).
* Adjust how the QApplication is initialized in lumina-open to try and prevent ↵Ken Moore2014-09-22
| | | | | | a seg fault when showing the OSD on FreeBSD 10-Stable. It appears that a QApplication is a *very* special type of class and should not be initialized to a static pointer for the application.
* Update lumina-open to remove some of the other Exec= flags that might be ↵Ken Moore2014-09-09
| | | | available (if not handled previously).
* Fix a bug where a directory was not getting the input file added to the ↵Ken Moore2014-09-08
| | | | lumina-fm command properly.
* Also make sure that lumina-open uses the current locale encoding for ↵Ken Moore2014-09-08
| | | | translations.
* Add a simple OSD to the audio/brightness up/down options in lumina-open ↵Ken Moore2014-09-05
| | | | (since these are what the keyboard shortcuts run). Also adjust the window list filter to cut out any "Lumina-" utilities that do not provide a custom window title (such as the OSD or other splashscreens).
* Initial import of the lumina code from pcbsd git repoKris Moore2014-09-04
bgstack15