ARB
|
#include "aw_awar.hxx"
#include "aw_window.hxx"
#include "aw_edit.hxx"
#include "aw_root.hxx"
#include "aw_global_awars.hxx"
#include "aw_msg.hxx"
#include "aw_select.hxx"
#include <arb_file.h>
#include <arb_strarray.h>
#include <sys/stat.h>
#include <arb_str.h>
Go to the source code of this file.
Macros | |
#define | AWAR_HELP "tmp/help/" |
#define | AWAR_HELPFILE AWAR_HELP "file" |
#define | AWAR_HELPTEXT AWAR_HELP "text" |
#define | AWAR_HELPSEARCH AWAR_HELP "search" |
Functions | |
static const char * | develDocPath () |
void | AW_openURL (AW_root *aw_root, const char *url) |
static char * | get_full_qualified_help_file_name (const char *helpfile, bool path_for_edit=false) |
static char * | get_full_qualified_help_file_name (AW_root *awr, bool path_for_edit=false) |
static char * | get_local_help_url (AW_root *awr) |
static void | aw_help_edit_help (AW_window *aww) |
static char * | aw_ref_to_title (const char *ref) |
static void | aw_help_select_newest_in_history (AW_root *aw_root) |
static void | aw_help_back (AW_window *aww) |
static void | aw_help_history (AW_window *aww) |
static GB_ERROR | aw_help_show_external_format (const char *help_file, const char *viewer) |
static void | aw_help_helpfile_changed_cb (AW_root *awr) |
static void | aw_help_browse (AW_window *aww) |
static void | aw_help_search (AW_window *aww) |
void | AW_help_popup (UNFIXED, const char *help_file) |
Variables | |
struct { | |
AW_selection_list * uplinks | |
AW_selection_list * links | |
char * history | |
} | HELP |
#define AWAR_HELP "tmp/help/" |
Definition at line 26 of file AW_help.cxx.
#define AWAR_HELPFILE AWAR_HELP "file" |
Definition at line 27 of file AW_help.cxx.
Referenced by aw_help_back(), aw_help_history(), AW_help_popup(), aw_help_search(), aw_help_select_newest_in_history(), and get_full_qualified_help_file_name().
#define AWAR_HELPTEXT AWAR_HELP "text" |
Definition at line 28 of file AW_help.cxx.
Referenced by aw_help_helpfile_changed_cb(), aw_help_history(), and AW_help_popup().
#define AWAR_HELPSEARCH AWAR_HELP "search" |
Definition at line 29 of file AW_help.cxx.
Referenced by AW_help_popup(), and aw_help_search().
|
static |
Definition at line 31 of file AW_help.cxx.
References GB_path_in_ARBHOME().
Referenced by aw_help_edit_help(), and get_full_qualified_help_file_name().
Definition at line 35 of file AW_help.cxx.
References ARB_strpartdup(), aw_message_if(), AW_root::awar(), AWAR_WWW_BROWSER, command, error(), GBK_system(), GBS_find_string(), GBS_global_string_copy(), AW_awar::read_string(), and start.
Referenced by aw_help_browse(), awt_open_ACI_URL_with_item(), and AWT_openURL().
|
static |
Definition at line 64 of file AW_help.cxx.
References aw_assert, develDocPath(), GB_getenvDOCPATH(), GB_path_in_ARBHOME(), GB_size_of_file(), GBS_global_string(), GBS_global_string_copy(), GBS_static_string(), NULp, and result.
Referenced by aw_help_edit_help(), aw_help_helpfile_changed_cb(), aw_ref_to_title(), get_full_qualified_help_file_name(), and get_local_help_url().
Definition at line 127 of file AW_help.cxx.
References AW_root::awar(), AWAR_HELPFILE, get_full_qualified_help_file_name(), and AW_awar::read_string().
Definition at line 134 of file AW_help.cxx.
References aw_assert, GB_export_error(), GB_getenvDOCPATH(), GB_getenvHTMLDOCPATH(), GBS_global_string_copy(), get_full_qualified_help_file_name(), NULp, and result.
Referenced by aw_help_browse().
|
static |
Definition at line 194 of file AW_help.cxx.
References AW_edit(), AW_edit_notified(), aw_message(), aw_message_if(), develDocPath(), GB_getenvDOCPATH(), GB_is_directory(), GB_is_regularfile(), GB_is_writeablefile(), GB_size_of_file(), GBK_system(), GBS_global_string(), get_full_qualified_help_file_name(), and AW_window::get_root().
Referenced by AW_help_popup().
Definition at line 230 of file AW_help.cxx.
References GB_clear_error(), GB_IGNORE_CASE, GB_read_file(), GBS_global_string_copy(), GBS_string_eval(), GBS_string_matches(), get_full_qualified_help_file_name(), NULp, and result.
Referenced by aw_help_helpfile_changed_cb(), and aw_help_history().
|
static |
Definition at line 261 of file AW_help.cxx.
References ARB_strpartdup(), AW_root::awar(), AWAR_HELPFILE, HELP, history, and AW_awar::write_string().
Referenced by aw_help_back(), and aw_help_helpfile_changed_cb().
|
static |
Definition at line 272 of file AW_help.cxx.
References ARB_strpartdup(), aw_help_select_newest_in_history(), AW_root::awar(), AWAR_HELPFILE, GBS_global_string_copy(), AW_window::get_root(), HELP, history, and AW_awar::read_char_pntr().
Referenced by aw_help_history(), and AW_help_popup().
|
static |
Definition at line 292 of file AW_help.cxx.
References aw_help_back(), aw_ref_to_title(), AW_root::awar(), AWAR_HELPFILE, AWAR_HELPTEXT, GBT_split_string(), AW_window::get_root(), HELP, AW_awar::read_char_pntr(), CharPtrArray::size(), title, and AW_awar::write_string().
Referenced by AW_help_popup().
Definition at line 323 of file AW_help.cxx.
References error(), GB_create_tempfile(), GB_split_full_path(), GB_unique_filename(), GBK_system(), GBS_global_string(), GBS_global_string_copy(), GBS_global_string_to_buffer(), and NULp.
Referenced by aw_help_helpfile_changed_cb().
|
static |
Definition at line 422 of file AW_help.cxx.
References aw_assert, aw_help_select_newest_in_history(), aw_help_show_external_format(), aw_message(), aw_ref_to_title(), AW_root::awar(), AWAR_HELPTEXT, GB_await_error(), GB_getenvARB_GS(), GB_getenvARB_PDFVIEW(), GB_IGNORE_CASE, GB_read_file(), GB_time_of_file(), GBS_find_string(), GBS_global_string_copy(), GBS_string_eval(), GBS_string_matches(), get_full_qualified_help_file_name(), HELP, title, and AW_awar::write_string().
Referenced by AW_help_popup().
|
static |
Definition at line 521 of file AW_help.cxx.
References aw_message(), AW_openURL(), GB_await_error(), GBS_global_string(), get_local_help_url(), and AW_window::get_root().
Referenced by AW_help_popup().
|
static |
Definition at line 532 of file AW_help.cxx.
References aw_message(), AW_root::awar(), AWAR_HELPFILE, AWAR_HELPSEARCH, eol, fputc(), GB_await_error(), GB_create_tempfile(), GB_export_IO_error(), GB_getenvDOCPATH(), GB_MIND_CASE, GB_read_file(), GB_remove_on_exit(), GB_unique_filename(), GBK_singlequote(), GBK_system(), GBS_create_dynaval_hash(), GBS_dynaval_free(), GBS_global_string(), GBS_global_string_copy(), GBS_read_hash(), GBS_string_eval(), GBS_write_hash(), AW_window::get_root(), NULp, AW_awar::read_string(), result, and AW_awar::write_string().
Referenced by AW_help_popup().
Definition at line 628 of file AW_help.cxx.
References AW_awar::add_callback(), AW_root::add_timed_callback(), aw_assert, aw_help_back(), aw_help_browse(), aw_help_edit_help(), aw_help_helpfile_changed_cb(), aw_help_history(), aw_help_search(), AW_POPDOWN(), AW_ROOT_DEFAULT, AW_root::awar(), AWAR_HELPFILE, AWAR_HELPSEARCH, AWAR_HELPTEXT, AW_root::awar_string(), GB_IGNORE_CASE, GBS_string_matches(), HELP, NULp, AW_root::SINGLETON, and AW_awar::write_string().
Referenced by AW_advice(), AW_server_callback(), TopologyShader::customize(), GDE_showhelp_cb(), makeHelpCallback(), AW_cb::run_callbacks(), and run_help_cb().
AW_selection_list* uplinks |
Definition at line 59 of file AW_help.cxx.
Referenced by Helpfile::extractInternalLinks(), Helpfile::readHelp(), and Helpfile::writeXML().
AW_selection_list* links |
Definition at line 60 of file AW_help.cxx.
char* history |
Definition at line 61 of file AW_help.cxx.
Referenced by aw_help_back(), and aw_help_select_newest_in_history().
struct { ... } HELP |