X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=HACKING;h=f61fa36ef2c13272b9679d510c236ca1ce38ce28;hp=e69f7ac1c98a9d8415942b507dd8111069e9c6a9;hb=596a74d8798410d738adef0ad9357aa6c6ade185;hpb=1551548a3d5c9b37abc65c660b03dc0be6a99932 diff --git a/HACKING b/HACKING index e69f7ac..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 @@ -10,7 +13,7 @@ Here are some additional notes. Your editor may help you with this, for example for emacs: - (c-set-style "K&R") + (c-set-style "K&R") (setq tab-width 8) (setq indent-tabs-mode t) (setq c-basic-offset 8) @@ -57,4 +60,16 @@ GLib/GTK+/GObject. Some things to remember: 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 :)