X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=HACKING;h=f61fa36ef2c13272b9679d510c236ca1ce38ce28;hp=7bf3acc7be976ec6d7f0433dcfc80521ca8bfedf;hb=00843109d0342129e01ba4b4848ad89eea5fe3e7;hpb=c914d3bc38581e163a1fa3e970add2bfea33fc41 diff --git a/HACKING b/HACKING index 7bf3acc..f61fa36 100644 --- a/HACKING +++ b/HACKING @@ -1,6 +1,9 @@ HACKING ======= +[ Unfortunately, modest is not following these rules everywhere; +however, it *should* ] + When hacking on modest, please honour these time-tested coding guidelines. First, please follow the Linux CodingStyle guidelines (/usr/src/linux/Documentation/CodingStyle); for naming, follow the @@ -55,3 +58,18 @@ GLib/GTK+/GObject. Some things to remember: for NULL returns; * g_return_if_fail, g_return_if_reached and friends may be 'turned off', ie. they are to be used for error checking, but not for your programming logic + + +DEBUGGING +========= +There are some DBUS methods available for debugging. + +run-standalone.sh dbus-send --print-reply --dest=com.nokia.modest /com/nokia/modest com.nokia.modest.DumpOperationQueue + +(instead of DumpOperationQueue, you can also use DumpSendQueues or +DumpAccounts) + +These methods will print a list of the current mail operation queue, +send queues or the accounts. If you don't know what that means, then +this problably not for you :) +