Dillo v3.1.1-98-g318d1f14
|
#include "bw.h"
Go to the source code of this file.
Macros | |
#define | NAV_UIDX(bw, i) a_Nav_get_uidx(bw, i) |
#define | NAV_TOP_UIDX(bw) a_Nav_get_top_uidx(bw) |
#define NAV_TOP_UIDX | ( | bw | ) | a_Nav_get_top_uidx(bw) |
#define NAV_UIDX | ( | bw, | |
i | |||
) | a_Nav_get_uidx(bw, i) |
void a_Nav_back | ( | BrowserWindow * | bw | ) |
Definition at line 438 of file nav.c.
References a_History_get_url(), a_Nav_cancel_expect(), a_Nav_stack_ptr(), a_UIcmd_set_msg(), Nav_open_url(), and NAV_UIDX.
Referenced by a_UIcmd_back().
void a_Nav_cancel_expect | ( | BrowserWindow * | bw | ) |
Definition at line 247 of file nav.c.
References a_Bw_cancel_expect(), a_Bw_expecting(), a_UIcmd_set_buttons_sens(), and BrowserWindow::meta_refresh_status.
Referenced by a_Nav_back(), a_Nav_cancel_expect_if_eq(), a_Nav_expect_done(), a_Nav_forw(), a_Nav_free(), a_Nav_jump(), a_Nav_push(), a_UIcmd_stop(), Nav_reload_callback(), and Nav_repush().
void a_Nav_cancel_expect_if_eq | ( | BrowserWindow * | bw, |
const DilloUrl * | url | ||
) |
Definition at line 260 of file nav.c.
References a_Bw_expected_url(), a_Nav_cancel_expect(), and a_Url_cmp().
Referenced by a_Capi_ccc(), and Cache_process_queue().
void a_Nav_expect_done | ( | BrowserWindow * | bw | ) |
Definition at line 272 of file nav.c.
References _MSG, a_Bw_expected_url(), a_Bw_expecting(), a_History_add_url(), a_Nav_cancel_expect(), a_Nav_stack_ptr(), a_UIcmd_set_buttons_sens(), a_UIcmd_set_scroll_by_fragment(), a_UIcmd_set_scroll_xy(), a_Url_decode_hex_str(), a_Url_dup(), a_Url_free(), a_Url_set_flags(), dFree(), dReturn_if_fail, FALSE, MSG, Nav_get_scroll_pos(), Nav_save_scroll_pos(), Nav_stack_append(), Nav_stack_clean(), Nav_stack_move_ptr(), Nav_stack_truncate(), TRUE, URL_E2EQuery, URL_FLAGS, URL_FRAGMENT_, URL_IgnoreScroll, URL_ReloadFromCache, and URL_ReloadPage.
Referenced by a_Web_dispatch_by_type().
void a_Nav_forw | ( | BrowserWindow * | bw | ) |
Definition at line 452 of file nav.c.
References a_History_get_url(), a_Nav_cancel_expect(), a_Nav_stack_ptr(), a_Nav_stack_size(), a_UIcmd_set_msg(), Nav_open_url(), and NAV_UIDX.
Referenced by a_UIcmd_forw().
void a_Nav_free | ( | BrowserWindow * | bw | ) |
Definition at line 43 of file nav.c.
References a_Nav_cancel_expect(), dFree(), and BrowserWindow::nav_stack.
int a_Nav_get_buf | ( | const DilloUrl * | Url, |
char ** | PBuf, | ||
int * | BufSize | ||
) |
Definition at line 580 of file nav.c.
References a_Capi_get_buf().
Referenced by a_UIcmd_view_page_source().
const char * a_Nav_get_content_type | ( | const DilloUrl * | url | ) |
Definition at line 596 of file nav.c.
References a_Capi_get_content_type().
Referenced by a_UIcmd_view_page_source().
int a_Nav_get_top_uidx | ( | BrowserWindow * | bw | ) |
Definition at line 72 of file nav.c.
References a_Nav_stack_ptr(), dList_nth_data(), and BrowserWindow::nav_stack.
int a_Nav_get_uidx | ( | BrowserWindow * | bw, |
int | i | ||
) |
Definition at line 63 of file nav.c.
References dList_nth_data(), and BrowserWindow::nav_stack.
void a_Nav_home | ( | BrowserWindow * | bw | ) |
Definition at line 466 of file nav.c.
References a_Nav_push(), DilloPrefs::home, and prefs.
void a_Nav_jump | ( | BrowserWindow * | bw, |
int | offset, | ||
int | new_bw | ||
) |
Definition at line 525 of file nav.c.
References a_History_get_url(), a_Nav_cancel_expect(), a_Nav_stack_ptr(), a_UIcmd_open_url_nw(), a_UIcmd_set_buttons_sens(), Nav_open_url(), and NAV_UIDX.
Referenced by a_UIcmd_nav_jump().
void a_Nav_push | ( | BrowserWindow * | bw, |
const DilloUrl * | url, | ||
const DilloUrl * | requester | ||
) |
Definition at line 342 of file nav.c.
References a_Bw_expect(), a_Bw_expected_url(), a_Nav_cancel_expect(), a_UIcmd_set_location_text(), a_Url_cmp(), dReturn_if_fail, Nav_open_url(), URL_FRAGMENT, and URL_STR.
Referenced by a_Nav_home(), a_UIcmd_open_url(), Cache_redirect(), Nav_redirection0_callback(), and UIcmd_open_url_nbw().
void a_Nav_redirection0 | ( | BrowserWindow * | bw, |
const DilloUrl * | new_url | ||
) |
Definition at line 422 of file nav.c.
References _MSG, a_Timeout_add(), a_Url_dup(), a_Url_free(), a_Url_set_flags(), dReturn_if_fail, BrowserWindow::meta_refresh_status, BrowserWindow::meta_refresh_url, Nav_redirection0_callback(), URL_E2EQuery, URL_FLAGS, and URL_IgnoreScroll.
Referenced by a_UIcmd_redirection0().
void a_Nav_reload | ( | BrowserWindow * | bw | ) |
Definition at line 516 of file nav.c.
References a_Timeout_add(), dReturn_if_fail, and Nav_reload_callback().
Referenced by a_Capi_ccc(), a_UIcmd_reload(), and Cache_auth_callback().
void a_Nav_repush | ( | BrowserWindow * | bw | ) |
Definition at line 393 of file nav.c.
References a_Timeout_add(), dReturn_if_fail, MSG, and Nav_repush_callback().
Referenced by a_UIcmd_repush(), a_UIcmd_zoom_in(), a_UIcmd_zoom_out(), and a_UIcmd_zoom_reset().
void a_Nav_save_url | ( | BrowserWindow * | bw, |
const DilloUrl * | url, | ||
const char * | filename | ||
) |
Definition at line 567 of file nav.c.
References a_Capi_open_url(), a_Web_new(), dStrdup(), _DilloWeb::filename, _DilloWeb::flags, Nav_save_cb(), and WEB_Download.
Referenced by UIcmd_save().
void a_Nav_set_vsource_url | ( | const DilloUrl * | Url | ) |
Definition at line 604 of file nav.c.
References a_Capi_set_vsource_url().
Referenced by a_UIcmd_view_page_source().
int a_Nav_stack_ptr | ( | BrowserWindow * | bw | ) |
Definition at line 55 of file nav.c.
References BrowserWindow::nav_stack_ptr.
Referenced by a_Nav_back(), a_Nav_expect_done(), a_Nav_forw(), a_Nav_get_top_uidx(), a_Nav_jump(), a_UIcmd_get_history(), a_UIcmd_set_buttons_sens(), Nav_get_scroll_pos(), and Nav_open_url().
int a_Nav_stack_size | ( | BrowserWindow * | bw | ) |
Definition at line 98 of file nav.c.
References dList_length(), and BrowserWindow::nav_stack.
Referenced by a_Capi_dpi_verify_request(), a_Nav_forw(), a_UIcmd_get_history(), a_UIcmd_set_buttons_sens(), Nav_reload_callback(), Nav_repush(), Nav_stack_clean(), and Nav_stack_move_ptr().
void a_Nav_unref_buf | ( | const DilloUrl * | Url | ) |
Definition at line 588 of file nav.c.
References a_Capi_unref_buf().
Referenced by a_UIcmd_view_page_source().