aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2016-06-25 16:36:20 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2016-06-25 17:17:45 +0200
commit670519d2568c1a84331bd35a32b56887bb7191d9 (patch)
tree628204d8ee3df8c6ed1276967b351499d3e994da /dev
parent1053a1d4e8112ae78af86024073cf03c072d1a7c (diff)
[doc] Update changes for feedback.
I've included some other changes that didn't happen in this PR.
Diffstat (limited to 'dev')
-rw-r--r--dev/doc/changes.txt20
1 files changed, 15 insertions, 5 deletions
diff --git a/dev/doc/changes.txt b/dev/doc/changes.txt
index 4199b7141..f7c8fbb30 100644
--- a/dev/doc/changes.txt
+++ b/dev/doc/changes.txt
@@ -44,16 +44,24 @@ val emacs_logger : logger
val feedback_logger : logger
````
+* Changes in the Feedback format/Protocol.
+
+- The `Message` feedback type now carries an optional location, the main
+ payload is encoded using the richpp document format.
+
+- The `ErrorMsg` feedback type is thus unified now with `Message` at
+ level `Error`.
+
* We now provide several loggers, `log_via_feedback` is removed in
favor of `set_logger feedback_logger`. Output functions are:
```` ocaml
val with_output_to_file : string -> ('a -> 'b) -> 'a -> 'b
-val msg_info : Pp.std_ppcmds -> unit
-val msg_notice : Pp.std_ppcmds -> unit
-val msg_warning : Pp.std_ppcmds -> unit
-val msg_error : Pp.std_ppcmds -> unit
-val msg_debug : Pp.std_ppcmds -> unit
+val msg_error : ?loc:Loc.t -> Pp.std_ppcmds -> unit
+val msg_warning : ?loc:Loc.t -> Pp.std_ppcmds -> unit
+val msg_notice : ?loc:Loc.t -> Pp.std_ppcmds -> unit
+val msg_info : ?loc:Loc.t -> Pp.std_ppcmds -> unit
+val msg_debug : ?loc:Loc.t -> Pp.std_ppcmds -> unit
````
with the `msg_*` functions being just an alias for `logger $Level`.
@@ -72,6 +80,8 @@ val set_id_for_feedback : ?route:route_id -> edit_or_state_id -> unit
val get_id_for_feedback : unit -> edit_or_state_id * route_id
````
+** Kernel API changes **
+
- The interface of the Context module was changed.
Related types and functions were put in separate submodules.
The mapping from old identifiers to new identifiers is the following: