Author: lslezak Date: Fri Mar 6 13:21:43 2009 New Revision: 55964 URL: http://svn.opensuse.org/viewcvs/yast?rev=55964&view=rev Log: - merged changes from trunk (updated to r55963) Modified: branches/tmp/lslezak/core/ (props changed) branches/tmp/lslezak/core/VERSION branches/tmp/lslezak/core/agent-any/doc/ag_anyagent.html (props changed) branches/tmp/lslezak/core/agent-dummy/doc/ag_dummy.html (props changed) branches/tmp/lslezak/core/agent-ini/doc/ag_ini.html (props changed) branches/tmp/lslezak/core/agent-modules/doc/ag_modules.html (props changed) branches/tmp/lslezak/core/agent-process/doc/ag_process.html (props changed) branches/tmp/lslezak/core/agent-resolver/doc/ag_resolver.html (props changed) branches/tmp/lslezak/core/agents-perl/doc/ag_modinfo.html (props changed) branches/tmp/lslezak/core/agents-perl/doc/ag_yp_makefile.html (props changed) branches/tmp/lslezak/core/agents-perl/testsuite/t-echo.exp branches/tmp/lslezak/core/agents-perl/testsuite/t-norun.exp branches/tmp/lslezak/core/agents-perl/testsuite/test-common.exp branches/tmp/lslezak/core/dbus/SCR_service/ (props changed) branches/tmp/lslezak/core/dbus/namespace_service/src/yast_dbus_names.h.in (props changed) branches/tmp/lslezak/core/liby2dbus/ (props changed) branches/tmp/lslezak/core/liby2dbus/src/PolKit.cc branches/tmp/lslezak/core/liby2dbus/src/PolKit.h branches/tmp/lslezak/core/libycp/src/ExecutionEnvironment.cc branches/tmp/lslezak/core/package/yast2-core.changes Modified: branches/tmp/lslezak/core/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/core/VERSION?rev=55964&r1=55963&r2=55964&view=diff ============================================================================== --- branches/tmp/lslezak/core/VERSION (original) +++ branches/tmp/lslezak/core/VERSION Fri Mar 6 13:21:43 2009 @@ -1 +1 @@ -2.18.3 +2.18.4 Modified: branches/tmp/lslezak/core/agents-perl/testsuite/t-echo.exp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/core/agents-perl/testsuite/t-echo.exp?rev=55964&r1=55963&r2=55964&view=diff ============================================================================== --- branches/tmp/lslezak/core/agents-perl/testsuite/t-echo.exp (original) +++ branches/tmp/lslezak/core/agents-perl/testsuite/t-echo.exp Fri Mar 6 13:21:43 2009 @@ -3,8 +3,6 @@ source test-common.exp -expect -exact "" - # sleep: have it still running while this simple test runs send "`Execute(.run, \"sleep 2; echo Hello world\")\r" expect "(true)" Modified: branches/tmp/lslezak/core/agents-perl/testsuite/t-norun.exp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/core/agents-perl/testsuite/t-norun.exp?rev=55964&r1=55963&r2=55964&view=diff ============================================================================== --- branches/tmp/lslezak/core/agents-perl/testsuite/t-norun.exp (original) +++ branches/tmp/lslezak/core/agents-perl/testsuite/t-norun.exp Fri Mar 6 13:21:43 2009 @@ -3,8 +3,6 @@ source test-common.exp -expect -exact "" - send "`Read(.pid)\r" expect "(-1)" send_user "\n" Modified: branches/tmp/lslezak/core/agents-perl/testsuite/test-common.exp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/core/agents-perl/testsuite/test-common.exp?rev=55964&r1=55963&r2=55964&view=diff ============================================================================== --- branches/tmp/lslezak/core/agents-perl/testsuite/test-common.exp (original) +++ branches/tmp/lslezak/core/agents-perl/testsuite/test-common.exp Fri Mar 6 13:21:43 2009 @@ -1,7 +1,8 @@ # common setup for test cases of ag_backgound #tests disabled until libyui is integrated -exit 0 +#exit 77 # automake TESTS: SKIP + # enlarge your input buffer now! satisfaction guaranteed! give us your $$$ match_max 100000 Modified: branches/tmp/lslezak/core/liby2dbus/src/PolKit.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/core/liby2dbus/src/PolKit.cc?rev=55964&r1=55963&r2=55964&view=diff ============================================================================== --- branches/tmp/lslezak/core/liby2dbus/src/PolKit.cc (original) +++ branches/tmp/lslezak/core/liby2dbus/src/PolKit.cc Fri Mar 6 13:21:43 2009 @@ -9,14 +9,13 @@ PolKit::PolKit() : polkit_error(NULL) { - dbus_error_init (&dbus_error); context = polkit_context_new(); polkit_context_init(context, &polkit_error); } PolKit::~PolKit() { - dbus_error_free(&dbus_error); + polkit_context_unref(context); } @@ -32,7 +31,7 @@ // see bnc#439150 if (pk_caller == NULL) { - y2error ("DBus error: creating PolKitCaller object failed: %s: %s", dbus_error.name, dbus_error.message); + y2error ("DBus error: creating PolKitCaller object failed: %s: %s", err->name, err->message); return false; } else Modified: branches/tmp/lslezak/core/liby2dbus/src/PolKit.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/core/liby2dbus/src/PolKit.h?rev=55964&r1=55963&r2=55964&view=diff ============================================================================== --- branches/tmp/lslezak/core/liby2dbus/src/PolKit.h (original) +++ branches/tmp/lslezak/core/liby2dbus/src/PolKit.h Fri Mar 6 13:21:43 2009 @@ -32,7 +32,6 @@ private: - DBusError dbus_error; PolKitError *polkit_error; PolKitContext *context; }; Modified: branches/tmp/lslezak/core/libycp/src/ExecutionEnvironment.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/core/libycp/src/ExecutionEnvironment.cc?rev=55964&r1=55963&r2=55964&view=diff ============================================================================== --- branches/tmp/lslezak/core/libycp/src/ExecutionEnvironment.cc (original) +++ branches/tmp/lslezak/core/libycp/src/ExecutionEnvironment.cc Fri Mar 6 13:21:43 2009 @@ -93,7 +93,7 @@ { if (m_backtrace.size () == m_recursion_limit) { - y2error ("Recursion limit of %d call frames reached. Set the environment variable %s to change this", m_recursion_limit, Y2RECURSIONLIMIT); + y2error ("Recursion limit of %zd call frames reached. Set the environment variable %s to change this", m_recursion_limit, Y2RECURSIONLIMIT); return true; } return false; @@ -128,6 +128,8 @@ // FIXME: omit CallStack::const_reverse_iterator it = m_backtrace.rbegin(); + + y2logger(level, "------------- Backtrace begin -------------"); while (it != m_backtrace.rend()) { @@ -135,6 +137,8 @@ , "", "%s", (*it)->called_function.c_str ()); ++it; }; + + y2logger(level, "------------- Backtrace end ---------------"); } Modified: branches/tmp/lslezak/core/package/yast2-core.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/core/package/yast2-core.changes?rev=55964&r1=55963&r2=55964&view=diff ============================================================================== --- branches/tmp/lslezak/core/package/yast2-core.changes (original) +++ branches/tmp/lslezak/core/package/yast2-core.changes Fri Mar 6 13:21:43 2009 @@ -1,9 +1,30 @@ ------------------------------------------------------------------- +Fri Mar 6 13:08:10 CET 2009 - lslezak@suse.cz + +- put backtrace begin and end markers to y2log when e.g. + y2error(-1, ...) is called + +------------------------------------------------------------------- +Fri Mar 6 10:57:11 CET 2009 - mvidner@suse.cz + +- ag_background: re-enabled the testsuite (bnc#470645#c11), + with some expect magic (~bnc#475551) +- 2.18.4 + +------------------------------------------------------------------- Wed Feb 25 14:49:33 CET 2009 - mvidner@suse.cz - Fixed tty_wrapper losing output: stdio was interrupted by SIGCHLD (bnc#470645). ------------------------------------------------------------------- +Sun Feb 01 03:14:16 CET 2009 - mvidner@suse.cz + +- dbus: fixed timeout handling to reduce latency (kkaempf) + http://lists.opensuse.org/yast-devel/2009-02/msg00004.html +- dbus: code cleanup (kkaempf) +- dbus: fixed resource leaks (aschnell, lslezak) + +------------------------------------------------------------------- Thu Jan 29 15:15:57 CET 2009 - aschnell@suse.de - added dbus client agent (required for bnc #464453) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org