From 5aee2f85474686a307f2acda957ffe363a72eff3 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Tue, 17 Feb 2004 10:47:02 +0000 Subject: [PATCH] triciclo.conf.xml ==> gTopLevel.conf.xml --- ...conf.xml.sample => gTopLevel.conf.xml.sample} | 4 ++-- helm/gTopLevel/gTopLevel.ml | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) rename helm/gTopLevel/{triciclo.conf.xml.sample => gTopLevel.conf.xml.sample} (93%) diff --git a/helm/gTopLevel/triciclo.conf.xml.sample b/helm/gTopLevel/gTopLevel.conf.xml.sample similarity index 93% rename from helm/gTopLevel/triciclo.conf.xml.sample rename to helm/gTopLevel/gTopLevel.conf.xml.sample index 7a2a3e305..e8f1a5c58 100644 --- a/helm/gTopLevel/triciclo.conf.xml.sample +++ b/helm/gTopLevel/gTopLevel.conf.xml.sample @@ -17,9 +17,9 @@
remote - $(users_settings.daemons_host):58081 + $(users_settings.daemons_host):58081/
-
+
$(users_settings.per_user_work_directory)/constanttype $(users_settings.per_user_work_directory)/environment $(users_settings.per_user_work_directory)/innertypes diff --git a/helm/gTopLevel/gTopLevel.ml b/helm/gTopLevel/gTopLevel.ml index ba334ac03..e14c9955b 100644 --- a/helm/gTopLevel/gTopLevel.ml +++ b/helm/gTopLevel/gTopLevel.ml @@ -50,7 +50,7 @@ module MQG = MQueryGenerator (* GLOBAL CONSTANTS *) -let configuration_file = "triciclo.conf.xml" +let configuration_file = "gTopLevel.conf.xml" let mqi_debug_fun s = debug_print ~level:2 s let mqi_flags = [MQIC.Postgres ; MQIC.Stat ; MQIC.Warn ; MQIC.Log] @@ -484,8 +484,8 @@ let qed () = (** save an unfinished proof on the filesystem *) let save_unfinished_proof () = let (xml, bodyxml) = ProofEngine.get_current_status_as_xml () in - let proof_file_type = Helm_registry.get "triciclo.proof_file_type" in - let proof_file = Helm_registry.get "triciclo.proof_file" in + let proof_file_type = Helm_registry.get "gtoplevel.proof_file_type" in + let proof_file = Helm_registry.get "gtoplevel.proof_file" in Xml.pp ~quiet:true xml (Some proof_file_type) ; HelmLogger.log (`Msg (`T ("Current proof type saved to " ^ proof_file_type))) ; @@ -676,8 +676,8 @@ let load_unfinished_proof () = None -> raise NoChoice | Some uri0 -> let uri = UriManager.uri_of_string ("cic:" ^ uri0) in - let proof_file_type = Helm_registry.get "triciclo.proof_file_type" in - let proof_file = Helm_registry.get "triciclo.proof_file" in + let proof_file_type = Helm_registry.get "gtoplevel.proof_file_type" in + let proof_file = Helm_registry.get "gtoplevel.proof_file" in match CicParser.obj_of_xml proof_file_type (Some proof_file) with Cic.CurrentProof (_,metasenv,bo,ty,_) -> typecheck_loaded_proof metasenv bo ty ; @@ -2585,7 +2585,7 @@ end let dump_environment () = try - let oc = open_out (Helm_registry.get "triciclo.environment_file") in + let oc = open_out (Helm_registry.get "gtoplevel.environment_file") in HelmLogger.log (`Msg (`T "Dumping environment ...")); CicEnvironment.dump_to_channel oc; HelmLogger.log (`Msg (`T "... done!")) ; @@ -2597,7 +2597,7 @@ let dump_environment () = ;; let restore_environment () = try - let ic = open_in (Helm_registry.get "triciclo.environment_file") in + let ic = open_in (Helm_registry.get "gtoplevel.environment_file") in HelmLogger.log (`Msg (`T "Restoring environment ... ")); CicEnvironment.restore_from_channel ic; HelmLogger.log (`Msg (`T "... done!")); @@ -2853,7 +2853,7 @@ let initialize_everything () = (Some (print_error_as_html "XSLT Debug Message: ")); rendering_window'#show () ; if restore_environment_on_boot && - Sys.file_exists (Helm_registry.get "triciclo.environment_file") + Sys.file_exists (Helm_registry.get "gtoplevel.environment_file") then restore_environment (); GtkThread.main () -- 2.39.2