pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   // -*- Pike -*-   //   // Master Control Program for Pike.   //   // This file is part of Pike. For copyright information see COPYRIGHT.   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.476 2010/07/28 22:58:01 mast Exp $ + // $Id$      #pike __REAL_VERSION__   //#pragma strict_types      //! @appears predef::MasterObject   //!   //! Master control program for Pike.   //!   //! @seealso   //! @[predef::master()], @[predef::replace_master()]
pike.git/lib/master.pike.in:160:   //! @[get_compat_master()], @[master()], @[predef::MasterObject]   protected class Pike_0_5_master   {    string describe_backtrace(array(mixed) trace);    object low_cast_to_object(string oname, string current_file);    extern array(string) pike_include_path;    string pike_library_path =   #if "#lib_prefix#"[0]!='#'    "#lib_prefix#"   #else -  __DIR__ +  dirname(__FILE__)   #endif    ;    extern array(string) pike_module_path;    extern array(string) pike_program_path;   #ifdef GETCWD_CACHE    extern string current_path;    int cd(string s);    string getcwd();   #endif    string combine_path_with_cwd(string path);
pike.git/lib/master.pike.in:749:    // Hide clone() and new().    private local __deprecated__ object new(mixed prog, mixed ... args){}    private local __deprecated__(function) clone = new;    void unregister(program p);    program low_cast_to_program(string pname,    string current_file,    object|void handler,    void|int mkobj);    extern string include_prefix;    extern mapping(string:string) predefines; +  // FIXME: Not in 7.7!    extern CompatResolver parent_resolver;    void add_predefine (string name, string value);    void remove_predefine (string name);    mapping get_predefines();   #if constant(thread_create)    object backend_thread();   #endif    function(string:string) set_trim_file_name_callback(function(string:string) s);    int compile_exception (array|object trace);    string program_path_to_name ( string path,
pike.git/lib/master.pike.in:820:   //! This interface is used for compatibility with   //! Pike 7.5 and 7.6.   //!   //! @deprecated predef::MasterObject   //!   //! @seealso   //! @[get_compat_master()], @[master()], @[predef::MasterObject]   protected class Pike_7_6_master   {    inherit Pike_7_4_master; +  +  extern int show_if_constant_errors; +  protected void create(); +  extern mapping(string:string) initial_predefines; +  extern joinnode root_module; +  extern mapping(object:joinnode) handler_root_modules; +  extern array(string) system_module_path; +  protected extern CompatResolver parent_resolver; +  protected extern mapping resolv_cache; +  extern CompatResolver fallback_resolver; +  joinnode get_root_module(object|void current_handler); +  class Pike06Resolver {}    local protected object Pike_7_6_compat_handler; -  +  local mixed resolv_or_error(string identifier, string|void current_file, +  void|object current_handler) +  { +  if (!Pike_7_6_compat_handler) { +  Pike_7_6_compat_handler = global::get_compilation_handler(7, 6); +  } +  return Pike_7_6_compat_handler->resolv_or_error(identifier, current_file, +  current_handler); +  }    local mixed resolv(string identifier, string|void current_file)    {    if (!Pike_7_6_compat_handler) {    Pike_7_6_compat_handler = global::get_compilation_handler(7, 6);    }    return Pike_7_6_compat_handler->resolv(identifier, current_file);    }    array get_backtrace (object|array err);    object get_compat_master(int major, int minor)    {    if ((major < 7) || ((major == 7) && (minor < 5)))    return Pike_7_4_master::get_compat_master(major, minor);    // 7.5 & 7.6    if ((major == 7) && (minor < 7))    return this_program::this;    return get_compat_master(major, minor);    } -  +  +  /* No missing symbols. */   }      //! Namespaces for compat masters.   //!   //! This inherit is used to provide compatibility namespaces   //! for @[get_compat_master()].   //!   //! @seealso   //! @[get_compat_master()]   protected inherit Pike_7_6_master;