238 Commits (038b3b87b882d08fb86164fabdfef8c00d052521)

Author SHA1 Message Date
Alexey Shilov 4b6b9888c5 Fixes: NB#217376 - Applauncherd writes log messages, but not to syslog
RevBy: Jussi Lind
15 years ago
Alexey Shilov 194646aaea Changes: rename logNotice to logDebug, use logDebug instead of logInfo
RevBy: TrustMe
15 years ago
Alexey Shilov deb480881f Changes: EventHandler class added 15 years ago
Alexey Shilov 05abf64ae3 Merge remote branch 'origin/master' 15 years ago
Alexey Shilov 3d94bcf6d9 Changes: remove QObject as base class for Booster
RevBy: Jussi Lind
15 years ago
Jussi Lind f37405a6f0 Changes: Removed old code that was commented out.
RevBy: TrustMe
15 years ago
Jussi Lind 1d459029c2 Changes: Booster::renameProcess() refactored.
RevBy: Antti Kervinen

Details: New arguments copied as a contiguous, NULL-separated block. Unit tests refactored.
15 years ago
Alexey Shilov 973d2be629 Changes: load plugins without qt stuff.
Details: libapplauncherd.so still needs to be linked to QtCore, mainly
because of the booster being QObject.

RevBy: Jussi Lind, Antti Kervinen
15 years ago
Juha Lintula 7d65a7de19 Changes: single-instance support, invoker bad exit status removed, check file added
RevBy: Jussi Lind, Juha Lintula
15 years ago
Jussi Lind 4a0d5de729 Changes: Boosters loaded as plugins.
Details: Boosters are in separate dirs under src/ and are compiled/loaded as plugins.
15 years ago
Alexey Shilov 1161ca8807 Fixes: Bug 214093 - application started with launcher has wrong name in the process list
RevBy: Jussi Lind
15 years ago
Jussi Lind 191251d200 Fixes: NB#211510 - boosters should update oom_adj to 0 before calling main
RevBy: Antti Kervinen
15 years ago
Jussi Lind 706672a85f Changes: Some comments made clearer / added.
RevBy: TrustMe
15 years ago
Juha Lintula 354a47786e Fixes: NB#207781 - Some applications do not load QAccessibleBridgePlugin plug-ins
RevBy: Jussi Lind
15 years ago
Juha Lintula d6ec01ab55 Fixes: NB#207781 - Some applications do not load QAccessibleBridgePlugin plug-ins
RevBy: Olli Leppänen
15 years ago
Alexey Shilov 348a760013 Merge remote branch 'origin/master' 15 years ago
Alexey Shilov ae6a55cb48 Fixes: NB#210094 - files cleanup for applauncherd/booster-m
RevBy: Jussi Lind
15 years ago
Jussi Lind 32ed9c650b Changes: Install libapplauncherd.so to /usr/lib/applauncherd/libapplaucherd.so
RevBy: TrustMe
15 years ago
Jussi Lind 2c9ce7fc94 Merge branch 'master', remote branch 'origin' 15 years ago
Jussi Lind f34a9aa9ec Changes: Test apps use the default C-flags defined in the top-level CMakeLists.txt. 15 years ago
Alexey Shilov 7c16d54295 Changes: change warning message when library can't be preloaded 15 years ago
Jussi Lind 7768e742a2 Changes: Fixed crash of booster-m and booster-w / non-quitting booster-m caused by erroneous handling of SIGHUP.
No more QThread warnings related to QSocketNotifier. Removed SIGHUP handler from main.cpp
         (Set in mbooster.cpp and wrtbooster.cpp. Default behavior is always exit() anyway).

RevBy: TrustMe
15 years ago
Jussi Lind 232a4d0221 Changes: A bit confusing Booster::readCommand() renamed to Booster::receiveDataFromInvoker().
RevBy: TrustMe
15 years ago
Jussi Lind 27762f316d Changes: Access Booster::m_connection and Booster::m_appData through setter/getter in derived classes.
RevBy: TrustMe
15 years ago
Alexey Shilov 0c9adf06e2 Changes: get rid of monitor booster 15 years ago
Alexey Shilov 69b7ebba63 Changes: new list of libraries to preload 15 years ago
Alexey Shilov 592e92440c Merge remote branch 'origin/master' 15 years ago
Alexey Shilov 96f73a2ce1 Fixes: NB#206309 - applauncherd cannot locate shared objects 15 years ago
Jussi Lind d9af11ef65 Changes: Launcher library exports only main()
RevBy: Alexey Shilov
15 years ago
Jussi Lind 811eae9b4d Merge branch 'master', remote branch 'origin' 15 years ago
Jussi Lind c624a676f6 Changes: Install /usr/bin/applauncherd.launcher to /usr/lib/libapplauncherd.so
due to dh_strip problems and because it's not -pie.

RevBy: Alexey Shilov
15 years ago
Alexey Shilov ce934ac2bc Changes: remove --help option from applauncherd 15 years ago
Jussi Lind c263e56c42 Changes: Basic implementation of library-based launcher. 15 years ago
Alexey Shilov 89039bd90e Changes: clean-up code to avoid compiler warnings 15 years ago
Alexey Shilov 9de5c27e9d Fixes: Bug 205663 - crashes due to exit() is used in forked process 15 years ago
Alexey Shilov aaeb5887bb Changes: invoker code clean-up for coverity tool
RevBy: TrustMe
15 years ago
Alexey Shilov 11025f1036 Fixes: Bug 199342 - Music-suite crashes when started using invoker
RevBy: Leonid Moiseichuk
15 years ago
Oskari Timperi 38c9655fa8 Changes: Moved the implementation of MonitorBooster::boosterType() to the source file from the header file
RevBy: Antti Kervinen
15 years ago
Oskari Timperi 605cda8d3b Changes: Remove invoke_recv_str as it is never used
RevBy: Antti Kervinen
15 years ago
Alexey Shilov 35c230464b Revert "Changes: Too exact library versions made more general in preload.h"
This reverts commit 0521924a4c.
15 years ago
Alexey Shilov 194e48497c Changes: no-wait option for invoker is added 15 years ago
Alexey Shilov 204c5a5246 Changes: invoker - launcher protocol simplification 15 years ago
Alexey Shilov 6f533b9cab Changes: use at() instead of [] operator to read-only access to vector elements 15 years ago
Alexey Shilov 842be3431a Changes: clean-up preload library list 15 years ago
Antti Kervinen fac0e7b564 Fixes: NB#199342 - Music-suite crashes when started using invoker
Details: Introduced --global-syms (-G) and --deep-syms (-D) flags to invoker.
15 years ago
Antti Kervinen f5f64d6bd2 Revert: change RTLD_LOCAL back to RTLD_GLOBAL when dlopening application binary
This reverts commit dfac5b0f10.
15 years ago
Antti Kervinen 0521924a4c Changes: Too exact library versions made more general in preload.h 15 years ago
Jussi Lind 9b11c59bce Changes: Qt-styled Unix signal handling added to MBooster. Fixes the issue where booster-m
is not killed when launcher dies.

RevBy: Alexey Shilov, Antti Kervinen
15 years ago
Jussi Lind 879d66a131 Changes: cosmetic fix 15 years ago
Jussi Lind d5cdb70b75 Changes: Polished the credential filtering stuff in Booster, some comments added
RevBy: Antti Kervinen
15 years ago
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