1162 Commits (4f57437ce1fc18c303710cd2e221c3e53fd8628e)
 

Author SHA1 Message Date
John Brooks 683aeb74ba Merge pull request #16 from special/master
[mapplauncherd] Improve OOM score handling
12 years ago
John Brooks 9471a69431 [mapplauncherd] Rename invoker --daemon-mode to --keep-oom-score
The old name was vague and didn't indicate the change in behavior at
all. Its documentation also described the behavior incorrectly. If the
-o or --keep-oom-score parameter is passed, the OOM score of the boosted
process will be unchanged. Normally, it will be reset to 0 on launch.

The --daemon-mode parameter is kept as an alias for compatibility.
12 years ago
John Brooks 6f93c2947a [mapplauncherd] Reset oom_score_adj instead of oom_adj if needed 12 years ago
chriadam 30d2007c5e Merge pull request #15 from rainisto/master
[mapplauncherd] drop setgid from processes that are not isPrivileged()
12 years ago
Jonni Rainisto 764fd9f3ad [mapplauncherd] added error logging to setregid() 12 years ago
Jonni Rainisto bb6033b1af [mapplauncherd] drop setgid from processes that are not isPrivileged() 12 years ago
John Brooks 2265cc2e0f Merge pull request #14 from rainisto/master
[mapplauncherd] Add privileged group and setgit binaries.
12 years ago
Jonni Rainisto a063dfc7da [mapplauncherd] Add privileged group and setgit binaries. 12 years ago
Thomas Perl e51e40e3a1 Merge pull request #13 from thp/progname-for-launcher
[invoker] For launchers, add the first argument to the name
12 years ago
Thomas Perl 5771a1acd7 [invoker] For launchers, add the first argument to the name 12 years ago
Thomas Perl 925b07a306 Merge pull request #12 from thp/argv0-full-path
[mapplauncherd] Add full path to argv[0] of invoked process
12 years ago
Thomas Perl a07b13b192 [mapplauncherd] Add full path to argv[0] of invoked process
This allows the application to look up its installation prefix (e.g.
/usr) by just looking at argv[0] and calculating relative paths from
there (previously one would need to pass the full path to invoker).
12 years ago
Thomas Perl 702e915d20 Merge pull request #11 from thp/booster-name-update
[mapplauncherd] Update names and mappings of boosters for Qt 5
12 years ago
Thomas Perl 52f1fa4798 [mapplauncherd] Update names and mappings of boosters for Qt 5 12 years ago
chriadam 5c7bf2b8b6 Merge pull request #10 from chriadam/privs
[mapplauncherd] Drop user/group ID only if not privileged
12 years ago
Chris Adams dee0f6be15 [mapplauncherd] Drop user/group ID only if not privileged
Previously, the user ID and group ID of the process was always set
to that of the application, if it differed from that of the invoker.
This commit adds simple privileges checking for the application
to determine whether or not it is allowed to access privileged
system information, before deciding to drop user ID or group ID.
12 years ago
Pekka Lundstrom 128912aa48 Merge pull request #9 from plundstr/master
[systemd] restart booster if crash
12 years ago
Pekka Lundstrom d97d1fc65c [systemd] restart booster if crash
Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
12 years ago
Robin Burchell aa82164908 Merge pull request #7 from rburchell/splash
[mapplauncherd] Remove splash support.
12 years ago
Robin Burchell 6ad8d7ac16 [mapplauncherd] Remove splash support.
This feature only encourages poor application interactivity: anything which is
sufficiently slow to require a splash screen should be made faster instead.

In addition to that, the feature is poorly implemented (X11-specific), and thus
useless. Rip it out, and remove the last dependency on X11 from applauncherd.
12 years ago
Robin Burchell 71fd46dd80 Merge pull request #8 from rburchell/single-instance
[mapplauncherd] Remove X11 dependency from single-instance.
12 years ago
Robin Burchell 4400a6f836 Merge pull request #6 from rburchell/tests
[mapplauncherd] Remove obsolete tests.
12 years ago
Robin Burchell ce482b52c5 [mapplauncherd] Remove X11 dependency from single-instance.
Instead of using windowsystem-specific functionality, ask the system compositor
to activate the given binary for us.
12 years ago
Robin Burchell 32ad5ce75c [mapplauncherd] Remove obsolete tests.
The tests in here have been in a completely non-working state for a very long
time, and it's now getting to a point where it hurts, rather than hinders
development. Nuke them from the tree.

In the future, the useful parts can be brought back easily from history.
12 years ago
Pekka Lundstrom baf27949ac Merge pull request #5 from plundstr/master
Start using new user session targets
13 years ago
Pekka Lundstrom 44b2a40216 Removed mappaluncherd.target from makefile
Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
13 years ago
Pekka Lundstrom aa38d37ad0 Removed mapplauncherd.target
Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
13 years ago
Pekka Lundstrom 585025c8a9 [boot] start using new session targets
Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
13 years ago
John Brooks 8b2d165a85 Rename ebooster to booster-generic 13 years ago
John Brooks 9dd3ef92cb [mapplauncherd] Install mapplauncherd.target for systemd startup 13 years ago
John Brooks 07a233fb3b [mapplauncherd] Remove Booster::boosterTemporaryProcessName 13 years ago
John Brooks 25dfb62293 [mapplauncherd] Change booster type to strings
Single-character booster types could potentially conflict when
using out-of-tree boosters, and quickly become confusing.

Old types are mapped for compatibility.
13 years ago
John Brooks 1a09eb0fe5 [mapplauncherd] Put booster sockets under XDG_RUNTIME_DIR
This is a compatibility-breaking change with boosters. The socketId
field is now expected to be a socket name, not a path. Sockets are
placed under ${XDG_RUNTIME_DIR}/mapplauncherd/, defaulting to /tmp/.

Invoker currently expects sockets in that path and named 'booster-X'
where X is the single character booster type. That is expected to
change when types are refactored to use full strings.
13 years ago
John Brooks b6e9aa171b [mapplauncherd] Remove applauncherd and refactor boosters into independent processes
Having a single applauncherd process with boosters as plugins is a
flawed idea: most notably, it's not possible to have two boosters with
conflicting libraries, like Qt4 and Qt5.

A much cleaner solution is to turn libapplauncherd into a support
library for boosters, and have each booster run as an independent
process.
13 years ago
John Brooks 34c64fdf1a Merge pull request #4 from saukko/master
write to /run instead of /home
13 years ago
Marko Saukko dfb08e7834 [tmpfs] Write files under XDG_RUNTIME_DIR instead of HOME. Contributes to NEMO#489.
XDG_RUNTIME_DIR is tmpfs where HOME is just normal filesystem. We can avoid
some write operations to emmc when we do move these to tmpfs. Also
these files are something that should be reset on each boot anyway.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
13 years ago
John Brooks f6b9e71d2b [mapplauncherd] Fix tests package dependency 13 years ago
John Brooks 736baf0852 Merge pull request #3 from special/qt5-refactor
Move Qt boosters to a separate repository
13 years ago
John Brooks 13fcb649bb Set USE_X11 for launcherlib 13 years ago
John Brooks f86d2d489c Require mapplauncherd-qt4 for tests 13 years ago
John Brooks e5db280ce4 Extend the pattern for recognizing booster libraries 13 years ago
John Brooks adef09cd6f [mapplauncherd] Remove Qt boosters and related tests
These have been split to a separate repository and package.
13 years ago
John Brooks 6fd7197814 [mapplauncherd] Avoid using PROG_NAME_LAUNCHER in installed headers 13 years ago
John Brooks 8a2ebc8b0b Remove unnecessary use of Qt in launcherlib and ebooster 13 years ago
Robin Burchell 7938f7cada [mapplauncherd] Convert to git packaging. 13 years ago
Pekka Lundstrom 23aa7485ce Added systemd notification. Fixes NEMO#637
Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
13 years ago
Robin Burchell 5b3e45bf8a Merge pull request #2 from special/master
Fix NEMO#598: invoker segfaults when run without --type
13 years ago
John Brooks 45bf8c61bd Fix NEMO#598: invoker segfaults when run without --type 13 years ago
John Brooks 519330b404 Fix build dependency for mdeclarativecache 13 years ago
John Brooks 63ba6b77df Move eventhandler to mdeclarativecache
EventHandler is only used by qdeclarativebooster and its derivatives
at the moment. It can't be included in libapplauncherd, because of the
Qt dependency, but it needs to be available for out-of-tree plugins.
Putting it into libmdeclarativecache seems like the most reasonable
option at present.
13 years ago