[latex3-commits] [git/LaTeX3-latex3-latex3] master: Keep deprecated functions defined as error messages (8591c9b)

Bruno Le Floch bruno at le-floch.fr
Sat Dec 29 11:49:29 CET 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/8591c9b13a2de24ceaaccf84fc7e97ab6b27818d

>---------------------------------------------------------------

commit 8591c9b13a2de24ceaaccf84fc7e97ab6b27818d
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Sat Dec 29 11:49:29 2018 +0100

    Keep deprecated functions defined as error messages


>---------------------------------------------------------------

8591c9b13a2de24ceaaccf84fc7e97ab6b27818d
 l3kernel/l3deprecation.dtx |   56 +++++++++++++++++++++++++++-----------------
 1 file changed, 34 insertions(+), 22 deletions(-)

diff --git a/l3kernel/l3deprecation.dtx b/l3kernel/l3deprecation.dtx
index 55a03cc..746e20a 100644
--- a/l3kernel/l3deprecation.dtx
+++ b/l3kernel/l3deprecation.dtx
@@ -83,14 +83,34 @@
           { \tl_to_str:n {#3} } { \token_to_str:N #1 } { \tl_to_str:n {#2} }
       }
   }
-\__kernel_deprecation_error:Nnn \file_if_exist_input:nT
-  { \file_if_exist:nT and~ \file_input:n } { 2018-03-05 }
-\__kernel_deprecation_error:Nnn \file_if_exist_input:nTF
-  { \file_if_exist:nT and~ \file_input:n } { 2018-03-05 }
+\__kernel_deprecation_error:Nnn \box_resize:cnn
+  { \box_resize_to_wd_and_ht_plus_dp:cnn } { 2018-12-27 }
+\__kernel_deprecation_error:Nnn \box_resize:Nnn
+  { \box_resize_to_wd_and_ht_plus_dp:Nnn } { 2018-12-27 }
+\__kernel_deprecation_error:Nnn \box_use_clear:c
+  { \box_use_drop:c } { 2018-12-27 }
+\__kernel_deprecation_error:Nnn \box_use_clear:N
+  { \box_use_drop:N } { 2018-12-27 }
 \__kernel_deprecation_error:Nnn \c_job_name_tl
   { \c_sys_jobname_str } { 2017-01-01 }
+\__kernel_deprecation_error:Nnn \c_minus_one
+  { -1 } { 2018-12-27 }
 \__kernel_deprecation_error:Nnn \dim_case:nnn
   { \dim_case:nnF } { 2015-07-14 }
+\__kernel_deprecation_error:Nnn \file_add_path:nN
+  { \file_get_full_name:nN } { 2018-12-27 }
+\__kernel_deprecation_error:Nnn \file_if_exist_input:nT
+  { \file_if_exist:nT and~ \file_input:n } { 2018-03-05 }
+\__kernel_deprecation_error:Nnn \file_if_exist_input:nTF
+  { \file_if_exist:nT and~ \file_input:n } { 2018-03-05 }
+\__kernel_deprecation_error:Nnn \file_list:
+  { \file_log_list: } { 2018-12-27 }
+\__kernel_deprecation_error:Nnn \file_path_include:n
+  { \seq_put_right:Nn \l_file_search_path_seq } { 2018-12-27 }
+\__kernel_deprecation_error:Nnn \file_path_remove:n
+  { \seq_remove_all:Nn \l_file_search_path_seq } { 2018-12-27 }
+\__kernel_deprecation_error:Nnn \g_file_current_name_tl
+  { \g_file_current_name_str } { 2018-12-27 }
 \__kernel_deprecation_error:Nnn \int_case:nnn
   { \int_case:nnF } { 2015-07-14 }
 \__kernel_deprecation_error:Nnn \int_from_binary:n
@@ -107,6 +127,10 @@
   { \int_to_oct:n } { 2016-01-05 }
 \__kernel_deprecation_error:Nnn \ior_get_str:NN
   { \ior_str_get:NN } { 2018-03-05 }
+\__kernel_deprecation_error:Nnn \ior_list_streams:
+  { \ior_show_list: } { 2018-12-27 }
+\__kernel_deprecation_error:Nnn \ior_log_streams:
+  { \ior_log_list: } { 2018-12-27 }
 \__kernel_deprecation_error:Nnn \luatex_if_engine_p:
   { \sys_if_engine_luatex_p: } { 2017-01-01 }
 \__kernel_deprecation_error:Nnn \luatex_if_engine:F
@@ -133,6 +157,10 @@
   { } { 2015-07-14 }
 \__kernel_deprecation_error:Nnn \scan_align_safe_stop:
   { protected~commands } { 2017-01-01 }
+\__kernel_deprecation_error:Nnn \sort_ordered:
+  { \sort_return_same: } { 2018-12-27 }
+\__kernel_deprecation_error:Nnn \sort_reversed:
+  { \sort_return_swapped: } { 2018-12-27 }
 \__kernel_deprecation_error:Nnn \str_case:nnn
   { \str_case:nnF } { 2015-07-14 }
 \__kernel_deprecation_error:Nnn \str_case:onn
@@ -147,6 +175,8 @@
   { \tex_lowercase:D } { 2018-03-05 }
 \__kernel_deprecation_error:Nnn \tl_to_uppercase:n
   { \tex_uppercase:D } { 2018-03-05 }
+\__kernel_deprecation_error:Nnn \token_new:Nn
+  { \cs_new_eq:NN } { 2018-12-29 }
 \__kernel_deprecation_error:Nnn \xetex_if_engine_p:
   { \sys_if_engine_xetex_p: } { 2017-01-01 }
 \__kernel_deprecation_error:Nnn \xetex_if_engine:F
@@ -158,24 +188,6 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}[deprecated = 2018-12-31]{\__cs_generate_variant_loop_warning:nnxxxx}
-%   This is left-over from \pkg{l3expan}.  It cannot be done there
-%   because \pkg{l3tl} is not loaded at that time.  Of course what's
-%   deprecated is actually some combinations of variants; see
-%   \pkg{l3expan}.
-%    \begin{macrocode}
-\__kernel_deprecation_code:nn
-  {
-    \cs_set_protected:Npn \__cs_generate_variant_loop_warning:nnxxxx
-      { \__kernel_msg_error:nnxxxx }
-  }
-  {
-    \cs_set_protected:Npn \__cs_generate_variant_loop_warning:nnxxxx
-      { \__kernel_msg_warning:nnxxxx }
-  }
-%    \end{macrocode}
-% \end{macro}
-%
 % \begin{macro}[deprecated = 2019-12-31]{\etex_beginL:D}
 % \begin{macro}{\@@_primitive:NN, \@@_primitive:w}
 %   We renamed all primitives to \cs[no-index]{tex_\ldots{}:D} so all





More information about the latex3-commits mailing list