238 Commits (038b3b87b882d08fb86164fabdfef8c00d052521)

Author SHA1 Message Date
Alexey Shilov 884ec58c65 Changes: filter out invoker credentials from boosted applications 15 years ago
Alexey Shilov 21b57bed7e Fixes: Bug 196289 - applauncher.bin adds 3-28 extra file descriptors for nothing 15 years ago
Alexey Shilov 864c5beca0 Changes: add event loop to m-booster 15 years ago
Alexey Shilov dfac5b0f10 Changes: use RTLD_LOCAL flag instead of RTLD_GLOBAL in dlopen() to load application binary 15 years ago
Jussi Lind 98758a08f7 Changes: acceptConn() => accept(), closeConn() => close(), socket pool is cleared on closeAllSockets(). 15 years ago
Jussi Lind 0d04c011a0 Changes: Logger refactored, #ifdef _DEBUG => #ifndef DEBUG_LOGGING_DISABLED 15 years ago
Jussi Lind 1fcca22670 Changes: Communication stuff moved from Booster::initialize() to a separate method sendDataToParent(). 15 years ago
Jussi Lind 072d7e82f6 Changes: Compilation fixed. 15 years ago
Jussi Lind 1d91fccf7f Changes: Minor refactoring.
Details: Error messages improved / added, useless variables removed.
15 years ago
Wellu Mäkinen f1871eeca2 Use WrtComponentCache
Signed-off-by: Wellu Mäkinen <wellu.makinen@nokia.com>
15 years ago
Alexey Shilov 5495ec7130 Merge remote branch 'origin/master' 15 years ago
Alexey Shilov e452bae599 Fixes: NB#194550 - applauncherd should have configurable delay when creating new booster process 15 years ago
Jussi Lind f0b46236db Changes: Comment regarding creds_confine2() improved. 15 years ago
Jussi Lind 0fbedf04b8 Changes: Refactoring: Too long invoke() split into invoke_fallback() and invoke_remote().
invoked_pid renamed to g_invoked_pid as it's a global variable.
15 years ago
Jussi Lind 21aade02a0 Changes: report(..) + usage(1) instead of just die() 15 years ago
Jussi Lind e775b2d38c Changes: Invoker polished. 15 years ago
Jussi Lind 07207ee76a Changes: Connection unit tests refactored, test mode added to
Connection, comments added / improved.

Details: Avoid creating useless sockets in the unit tests by using a
         dedicated test mode.
15 years ago
Jussi Lind 2959fb7b47 Changes: Logger::logErrorAndDie() prints also to stderr in order to help
debugging.
15 years ago
Jussi Lind 01dca440c5 Changes: MonitorBooster sends a message to Daemon, who kills MBooster
and WRTBooster.

Details: Fixes the issue where MonitorBooster killed wrong boosters with
         pkill. This functionality is now moved to Daemon since it knows
         the correct pid's.
15 years ago
Jussi Lind ba3776508b Changes: Made MonitorBooster to re-implement run() and initialize(). 15 years ago
Jussi Lind 5d680f7d0c Changes: Daemon::initializeBooster(Booster *) moved to Booster::initialize(...).
RevBy: Antti Kervinen
15 years ago
Jussi Lind f7146b065e Changes: Useless destructors removed. 15 years ago
Jussi Lind 1cfc067bb0 Changes: Polishing
Details: Comments added, confusing variable name and log messages fixed in the Daemon class.
15 years ago
Jussi Lind aa42abe7a4 Changes: Hard-coded GConf key strings moved from monitorbooster.cpp to the top-level CMakeLists.txt 15 years ago
Alexey Shilov abe1df3fff Changes: merge with master 15 years ago
Alexey Shilov ed132aee32 Changes: refactor boosterkiller to monitorbooster 15 years ago
Jussi Lind 933faa51ad Changes: Temporary booster process name defined and initialized in
booster classes as a static variable. Getters added.

RevBy: Antti Kervinen

Details: Temporary booster process name was previously generated from
the type char at the time process was renamed. This made it impossible
to use the temporary process name from other classes.
15 years ago
Jussi Lind 0195e8b9b3 Changes: Comments in booster.h / booster.cpp improved. One useless
method declaration removed.
15 years ago
Jussi Lind e78012ffdb New: Unit test for getBoosterPidForType() added to ut_boosterfactory 15 years ago
Jussi Lind 39474b47c4 Changes: Return values of forking methods in Daemon changed from bool to
void

RevBy: Antti Kervinen
15 years ago
Jussi Lind b4480b410b Changes: BoosterKiller polished
RevBy: Antti Kervinen
15 years ago
Alexey Shilov 6c59077919 Changes: add copyrights to boosterkiller.* 15 years ago
Antti Kervinen ba085e6a5a Fixes: NB#191847 - First application launched with m-booster after theme change crashes
RevBy: Jussi Lind

Details: m and w boosters are killed and restarted when language or
theme changes
15 years ago
Alexey Shilov 53fc0a223f Changes: fix signal forwarding for wrt booster, code refactoring 15 years ago
Jussi Lind b005f2a87a Changes: Comment about preloading added to CMakelists.txt, needless explicit linking to Qt libs removed. 15 years ago
Alexey Shilov a6b7a681d3 Changes: logging messages update 15 years ago
Alexey Shilov e1a75a7e27 Changes: remove duplicated library from preload list 15 years ago
Jussi Lind 707457b879 Merge branch 'master' into my-master 15 years ago
Jussi Lind d3a6eec634 Changes: Double check for mcomponentcache.h removed.
Details: tests/ and src/launcher/ both checked for mcomponentcache.h. Both checks moved to the root CMakeLists.txt.
15 years ago
Antti Kervinen e9592725de Changes: cleaned up the initial set of dlopened libraries 15 years ago
Antti Kervinen 8f8595b71b Changes: list of dlopened libraries updated. 15 years ago
Jussi Lind f6171930cd Changes: MComponentCache::populateForWRTApplication() enabled in WRTBooster. 15 years ago
Jussi Lind 8320d4f06a Changes: Minor invoker polishing 15 years ago
Jussi Lind dac5e98bb7 Merge branch 'wrtbooster' into my-wrtbooster 15 years ago
Jussi Lind 2e3e1d1932 Changes: invokers --help polished 15 years ago
Alexey Shilov a3cd37b678 Merge remote branch 'origin/wrtbooster' into wrtbooster 15 years ago
Alexey Shilov 45dae49a0c Changes: copyright 15 years ago
Jussi Lind a6e86f68b1 Merge branch 'wrtbooster' into my-wrtbooster 15 years ago
Jussi Lind 8b60efebe9 Merge branch 'master' into my-wrtbooster
Conflicts:
	src/launcher/daemon.cpp
	src/launcher/mbooster.h
	src/launcher/qtbooster.h
15 years ago
Alexey Shilov 24941bea23 Changes: warning removal 15 years ago
Alexey Shilov d1c73a4fc5 Changes: add include files 15 years ago
Alexey Shilov 86720dbfdd Changes: preload meegotouch and qt libs 15 years ago
Jussi Lind f360de70f4 Changes: BoosterFactory added, refactoring of Daemon. 15 years ago
Alexey Shilov 488ecbbaf0 Merge remote branch 'origin/master' 15 years ago
Alexey Shilov e326258213 Changes: wrong comment corrected 15 years ago
Antti Kervinen eca50a4466 Fixes: NB#187583 - Update application launcher to use creds_confine2() for credential setup. 15 years ago
Antti Kervinen 97bd274cf7 New: wrtbooster basic implementation added 15 years ago
Alexey Shilov bd12b73119 Changes: fix for Bug 187780 15 years ago
Alexey Shilov 89c1dec365 Changes: wait-term parameter support for applications started without launcher 15 years ago
Alexey Shilov b240224f6e Changes: invoker can launch applications even without applauncherd 15 years ago
Alexey Shilov 816670c5e6 Changes: logging message update 15 years ago
Alexey Shilov a9f688e276 Changes: signals forwarding update 15 years ago
Jussi Lind 470a364373 Changes: PROG_NAME separated into PROG_NAME_LAUNCHER and PROG_NAME_INVOKER. One compiler warning due to signed to unsigned comparison fixed. 15 years ago
Jussi Lind 9e1768ae1b Changes: Two temp variables eliminated. 15 years ago
Jussi Lind 9a385e95ea Merge branch 'master' into my-master 15 years ago
Jussi Lind ba4c53a0ca Changes: Set PWD correctly 15 years ago
Alexey Shilov dbc4b84e22 Changes: pass pid of invoker from booster to launcher 15 years ago
Alexey Shilov 9cb6adacbf Changes: daemon error messages refactoring 15 years ago
Alexey Shilov 851152cd46 Changes: added Connection::peersPid() method 15 years ago
Alexey Shilov b1631e0968 Changes: invoker's receiving of booster process exit code refactoring 15 years ago
Alexey Shilov 0740932d25 Changes: pass and set gid and uid from invoker process to launcher 15 years ago
Alexey Shilov f8f18c9026 Changes: return application's exit status to invoker 15 years ago
Alexey Shilov a43e0660eb Changes: sending application exit status to invoker stubs, code refactoring 15 years ago
Alexey Shilov bb8223f4e4 Changes: close connection with invoker if --wait-term param is not used 15 years ago
Alexey Shilov a7ccf75392 Changes: applauncherd will re-start booster if it crashes or is killed 15 years ago
Alexey Shilov 7c380b0fde Changes: move pipefd to daemon class members 15 years ago
Alexey Shilov 057c667e99 Changes: close unused sockets in booster processes 15 years ago
Jussi Lind 37bbe2ad05 Changes: Broken build of unit tests fixed. 15 years ago
Jussi Lind 1d8f49413c Changes: Useless void's removed, typo in a comment fixed. 15 years ago
Jussi Lind e83566cbbf Changes: Comment improved 15 years ago
Jussi Lind 496d23dff8 Changes: Logger uses PROG_NAME to form the name for the log file. 15 years ago
Oskari Timperi 7b8f56d268 Changes: Set dumpable flag so that launched applications are able to core dump
RevBy: Jussi Lind
15 years ago
Oskari Timperi cca1281165 Changes: Moved printing the applauncherd usage from Daemon class to main()
RevBy: Olli Leppänen
16 years ago
Antti Kervinen c6cda7f7f6 Changes: a bug fixed in io descriptor count, previous rearrangement taken back 16 years ago
Antti Kervinen de27ea8803 Changes: test mode removed from ut_daemon, rearranged member variables in connection 16 years ago
Alexey Shilov c1446b8d35 Changes: invoker's command line parameter --test is removed 16 years ago
Alexey Shilov 12a33d246e Changes: tests update, signals forwarding 16 years ago
Antti Kervinen d18c8d95ef Changes: First public release 16 years ago