|
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 "aw_system.hxx"#include <arb_file.h>#include <arb_strarray.h>#include <arb_strbuf.h>#include <arb_str.h>#include <sys/stat.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 | |
| void | AW_system (const char *command) |
| void | AW_system_async (const char *command) |
| void | AW_console () |
| 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 27 of file AW_help.cxx.
| #define AWAR_HELPFILE AWAR_HELP "file" |
Definition at line 28 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 29 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 30 of file AW_help.cxx.
Referenced by AW_help_popup(), and aw_help_search().
| void AW_system | ( | const char * | command | ) |
Definition at line 32 of file AW_help.cxx.
References aw_message_if(), and GBK_system().
Referenced by aw_help_edit_help(), AW_openURL(), AW_system_async(), AW_system_cb(), awtc_remove_arb_acc(), merge_from_to(), nt_start_editor_on_configuration(), and startup_gui().
| void AW_system_async | ( | const char * | command | ) |
Definition at line 35 of file AW_help.cxx.
References AW_system(), GBS_strstruct::get_data(), GBS_strstruct::ncat(), and GBS_strstruct::put().
Referenced by AW_console(), and AW_system_async_cb().
| void AW_console | ( | ) |
Definition at line 45 of file AW_help.cxx.
References AW_system_async(), and GB_getenvARB_XTERM().
Referenced by AW_console_cb().
|
static |
Definition at line 49 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 53 of file AW_help.cxx.
References ARB_strpartdup(), AW_system(), AW_root::awar(), AWAR_WWW_BROWSER, command, 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 79 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 142 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 149 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 209 of file AW_help.cxx.
References AW_edit(), AW_edit_notified(), aw_message(), AW_system(), develDocPath(), GB_getenvDOCPATH(), GB_is_directory(), GB_is_regularfile(), GB_is_writeablefile(), GB_size_of_file(), GBS_global_string(), get_full_qualified_help_file_name(), and AW_window::get_root().
Referenced by AW_help_popup().
Definition at line 245 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 276 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 287 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 307 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 338 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 436 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 535 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 546 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 642 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 74 of file AW_help.cxx.
Referenced by Helpfile::extractInternalLinks(), Helpfile::readHelp(), and Helpfile::writeXML().
| AW_selection_list* links |
Definition at line 75 of file AW_help.cxx.
| char* history |
Definition at line 76 of file AW_help.cxx.
Referenced by aw_help_back(), and aw_help_select_newest_in_history().
| struct { ... } HELP |
1.8.8