summary refs log tree commit diff stats
Commit message (Expand)AuthorAgeFilesLines
...
* | | schedule even small directories for more fluent scrollinghut2010-03-301-1/+1
* | | ranger.main: use metavars with optparsehut2010-03-301-12/+5
* | | README: updatedhut2010-03-291-1/+1
* | | Changed mouse wheel behaviourhut2010-03-292-11/+3
* | | defaults.apps: add the 'd' flag to pdf readershut2010-03-291-0/+1
* | | removed the cd-after-exit hackhut2010-03-296-190/+22
* | | README: Removed the reference to code/keys.rb >_<hut2010-03-291-2/+2
* | | defaults.commands: fixed find commandhut2010-03-291-0/+1
* | | closed issue #76 (was implemented in f5e9c01e)hut2010-03-291-1/+1
* | | fixed --clean, which was violated in ranger.shared.settingshut2010-03-291-6/+9
* | | added option "save_console_history"hut2010-03-294-7/+33
* | | core.environment: don't GC directories which you're in. lolhut2010-03-281-1/+1
* | | new option: colorscheme_overlayhut2010-03-285-0/+38
* | | revert a part of 103a23b8hut2010-03-281-1/+1
* | | colorschemes.default: *slight* performance improvementhut2010-03-281-1/+1
* | | fsobject.directory: forgot to rename attributeshut2010-03-281-2/+2
* | | renamed three options, display a warning if the old ones are usedhut2010-03-286-26/+43
* | | added an extra option: draw_bookmark_bordershut2010-03-283-1/+3
* | | fsobject.directory: little optimization in sortinghut2010-03-281-2/+2
* | | add case_insensitive setting for directory sort orderLucas de Vries2010-03-284-2/+17
* | | defaults.keys: also map ZQ to exitLucas de Vries2010-03-281-1/+1
* | | widgets.browserview: only display bookmarks border if draw_borders is onLucas de Vries2010-03-281-4/+7
* | | widgets.browserview: improved bookmark preview borderhut2010-03-281-3/+4
* | | widgets.browserview: fix unicode issue when drawing bookmarkshut2010-03-281-1/+4
* | | defaults.keys: draw bookmarks when typing "um"hut2010-03-281-1/+1
* | | widgets.browserview: draw a border around bookmark listhut2010-03-281-2/+5
* | | commands: don't ask for confirmation when deleting single linkshut2010-03-281-2/+5
* | | closed issue #70: mouse click handler for the titlebarhut2010-03-282-1/+21
* | | closed issue #71hut2010-03-283-4/+48
* | | slightly changed default colorschemehut2010-03-281-1/+2
* | | todo: updatedhut2010-03-281-0/+2
* | | closed #73, reason was it didn't move and coords didnt get updatedhut2010-03-272-2/+4
* | | closed #40 for nowhut2010-03-271-2/+2
* | | fixed bug in defaults.appshut2010-03-271-7/+10
* | | fixed #74 and closed #67 (was fixed earlier)hut2010-03-272-4/+8
* | | gui.ui: corrected docstringhut2010-03-271-1/+1
* | | ranger.__main__: setlocale fixhut2010-03-261-3/+4
* | | ranger.__init__: don't implicitly import ranger.__main__hut2010-03-262-4/+1
* | | make test: reduce verbosityhut2010-03-261-1/+1
* | | defaults.keys: additional keys/aliaseshut2010-03-251-6/+8
* | | fixed make cleanhut2010-03-251-1/+1
| |/ |/|
* | fm: removed trailing whitespacehut2010-03-241-1/+1
* | added J/K hotkeys for faster movementhut2010-03-241-2/+2
* | main: updatedhut2010-03-242-9/+17
* | make clean: safer method of cleaninghut2010-03-221-1/+1
* | make compile: create pyc files toohut2010-03-221-1/+2
* | core.fm: use local variables in main loop for faster lookuphut2010-03-221-13/+21
* | fixes small bug introduced in fe14923hut2010-03-221-1/+1
* | widgets.browsercolumn: don't load preview when its turned offhut2010-03-221-1/+2
* | make test: don't use "clean" before "test"hut2010-03-211-1/+1
an class="k">static jabber_conn_status_t _mock_jabber_connect_with_account(const ProfAccount * const account) { check_expected(account); return (jabber_conn_status_t)mock(); } static char * _mock_jabber_get_presence_message(void) { return mock_ptr_type(char *); } static void _mock_presence_update(resource_presence_t status, const char * const msg, int idle) { check_expected(status); check_expected(msg); check_expected(idle); } static const GList * _mock_bookmark_get_list(void) { return mock_ptr_type(GList *); } static gboolean _mock_bookmark_add(const char *jid, const char *nick, const char *password, const char *autojoin_str) { check_expected(jid); check_expected(nick); check_expected(password); check_expected(autojoin_str); return (gboolean)mock(); } static gboolean _mock_bookmark_remove(const char *jid) { check_expected(jid); return (gboolean)mock(); } static void _mock_message_send(const char * const msg, const char * const recipient) { check_expected(msg); check_expected(recipient); } static void _mock_presence_join_room(char *room, char*nick, char *passwd) { check_expected(room); check_expected(nick); check_expected(passwd); } static void _mock_roster_send_add_new(const char *const barejid, const char * const name) { check_expected(barejid); check_expected(name); } static void _mock_roster_send_remove(const char * const barejid) { check_expected(barejid); } static void _mock_roster_send_name_change(const char * const barejid, const char * const new_name, GSList *groups) { check_expected(barejid); check_expected(new_name); check_expected(groups); } void mock_jabber_connect_with_details(void) { jabber_connect_with_details = _mock_jabber_connect_with_details; } void mock_jabber_connect_with_account(void) { jabber_connect_with_account = _mock_jabber_connect_with_account; } void mock_presence_update(void) { presence_update = _mock_presence_update; } void mock_connection_status(jabber_conn_status_t status) { jabber_get_connection_status = _mock_jabber_get_connection_status; will_return(_mock_jabber_get_connection_status, status); } void mock_bookmark_add(void) { bookmark_add = _mock_bookmark_add; } void mock_bookmark_remove(void) { bookmark_remove = _mock_bookmark_remove; } void mock_presence_join_room(void) { presence_join_room = _mock_presence_join_room; } void mock_roster_send_add_new(void) { roster_send_add_new = _mock_roster_send_add_new; } void mock_roster_send_remove(void) { roster_send_remove = _mock_roster_send_remove; } void mock_roster_send_name_change(void) { roster_send_name_change = _mock_roster_send_name_change; } void bookmark_get_list_returns(GList *bookmarks) { bookmark_get_list = _mock_bookmark_get_list; will_return(_mock_bookmark_get_list, bookmarks); } void mock_connection_account_name(char *name) { jabber_get_account_name = _mock_jabber_get_account_name; will_return(_mock_jabber_get_account_name, name); } void mock_connection_presence_message(char *message) { jabber_get_presence_message = _mock_jabber_get_presence_message; will_return(_mock_jabber_get_presence_message, message); } void expect_room_list_request(char *conf_server) { iq_room_list_request = _mock_iq_room_list_request; expect_string(_mock_iq_room_list_request, conf_server, conf_server); } void jabber_connect_with_details_expect_and_return(char *jid, char *password, char *altdomain, int port, jabber_conn_status_t result) { expect_string(_mock_jabber_connect_with_details, jid, jid); expect_string(_mock_jabber_connect_with_details, passwd, password); if (altdomain == NULL) { expect_value(_mock_jabber_connect_with_details, altdomain, NULL); } else { expect_string(_mock_jabber_connect_with_details, altdomain, altdomain); } expect_value(_mock_jabber_connect_with_details, port, port); will_return(_mock_jabber_connect_with_details, result); } void jabber_connect_with_details_return(jabber_conn_status_t result) { expect_any(_mock_jabber_connect_with_details, jid); expect_any(_mock_jabber_connect_with_details, passwd); expect_any(_mock_jabber_connect_with_details, altdomain); expect_any(_mock_jabber_connect_with_details, port); will_return(_mock_jabber_connect_with_details, result); } void jabber_connect_with_account_expect_and_return(ProfAccount *account, jabber_conn_status_t result) { expect_memory(_mock_jabber_connect_with_account, account, account, sizeof(ProfAccount)); will_return(_mock_jabber_connect_with_account, result); } void jabber_connect_with_account_return(ProfAccount *account, jabber_conn_status_t result) { expect_any(_mock_jabber_connect_with_account, account); will_return(_mock_jabber_connect_with_account, result); } void presence_update_expect(resource_presence_t presence, char *msg, int idle) { expect_value(_mock_presence_update, status, presence); expect_string(_mock_presence_update, msg, msg); expect_value(_mock_presence_update, idle, idle); } void expect_and_return_bookmark_add(char *expected_jid, char *expected_nick, const char *expected_password, const char *expected_autojoin_str, gboolean added) { expect_string(_mock_bookmark_add, jid, expected_jid); if (expected_nick != NULL) { expect_string(_mock_bookmark_add, nick, expected_nick); } else { expect_value(_mock_bookmark_add, nick, NULL); } if (expected_password != NULL) { expect_string(_mock_bookmark_add, password, expected_password); } else { expect_value(_mock_bookmark_add, password, NULL); } if (expected_autojoin_str != NULL) { expect_string(_mock_bookmark_add, autojoin_str, expected_autojoin_str); } else { expect_value(_mock_bookmark_add, autojoin_str, NULL); } will_return(_mock_bookmark_add, added); } void expect_and_return_bookmark_remove(char *expected_jid, gboolean removed) { expect_string(_mock_bookmark_remove, jid, expected_jid); will_return(_mock_bookmark_remove, removed); } void message_send_expect(char *message, char *recipient) { message_send = _mock_message_send; expect_string(_mock_message_send, msg, message); expect_string(_mock_message_send, recipient, recipient); } void presence_join_room_expect(char *room, char *nick, char *passwd) { expect_string(_mock_presence_join_room, room, room); expect_string(_mock_presence_join_room, nick, nick); if (passwd == NULL) { expect_value(_mock_presence_join_room, passwd, NULL); } else { expect_string(_mock_presence_join_room, passwd, passwd); } } void roster_send_add_new_expect(char *jid, char *nick) { expect_string(_mock_roster_send_add_new, barejid, jid); expect_string(_mock_roster_send_add_new, name, nick); } void roster_send_remove_expect(char *jid) { expect_string(_mock_roster_send_remove, barejid, jid); } void roster_send_name_change_expect(char *jid, char *nick, GSList *groups) { expect_string(_mock_roster_send_name_change, barejid, jid); if (nick == NULL) { expect_value(_mock_roster_send_name_change, new_name, NULL); } else { expect_string(_mock_roster_send_name_change, new_name, nick); } expect_memory(_mock_roster_send_name_change, groups, groups, sizeof(GSList)); }