summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx198
1 files changed, 31 insertions, 167 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx b/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx
index 11b3cfc8214..2eb2a8c7f37 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3deprecation.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2019-07-01}
+% \date{Released 2019-07-25}
%
% \maketitle
%
@@ -376,14 +376,30 @@
\__kernel_patch_deprecation:nnNNpn {#3} {#2}
\cs_new:Npn #1 { }
}
+\@@_old:Nnn \box_resize:Nnn
+ { \box_resize_to_wd_and_ht_plus_dp:Nnn } { 2019-01-01 }
+\@@_old:Nnn \box_use_clear:N
+ { \box_use_drop:N } { 2019-01-01 }
\@@_old:Nnn \c_job_name_tl
{ \c_sys_jobname_str } { 2017-01-01 }
+\@@_old:Nnn \c_minus_one
+ { -1 } { 2019-01-01 }
\@@_old:Nnn \dim_case:nnn
{ \dim_case:nnF } { 2015-07-14 }
+\@@_old:Nnn \file_add_path:nN
+ { \file_get_full_name:nN } { 2019-01-01 }
\@@_old_protected:Nnn \file_if_exist_input:nT
{ \file_if_exist:nT and~ \file_input:n } { 2018-03-05 }
\@@_old_protected:Nnn \file_if_exist_input:nTF
{ \file_if_exist:nT and~ \file_input:n } { 2018-03-05 }
+\@@_old:Nnn \file_list:
+ { \file_log_list: } { 2019-01-01 }
+\@@_old:Nnn \file_path_include:n
+ { \seq_put_right:Nn \l_file_search_path_seq } { 2019-01-01 }
+\@@_old:Nnn \file_path_remove:n
+ { \seq_remove_all:Nn \l_file_search_path_seq } { 2019-01-01 }
+\@@_old:Nnn \g_file_current_name_tl
+ { \g_file_curr_name_str } { 2019-01-01 }
\@@_old:Nnn \int_case:nnn
{ \int_case:nnF } { 2015-07-14 }
\@@_old:Nnn \int_from_binary:n
@@ -400,6 +416,14 @@
{ \int_to_oct:n } { 2016-01-05 }
\@@_old_protected:Nnn \ior_get_str:NN
{ \ior_str_get:NN } { 2018-03-05 }
+\@@_old:Nnn \ior_list_streams:
+ { \ior_show_list: } { 2019-01-01 }
+\@@_old:Nnn \ior_log_streams:
+ { \ior_log_list: } { 2019-01-01 }
+\@@_old:Nnn \iow_list_streams:
+ { \iow_show_list: } { 2019-01-01 }
+\@@_old:Nnn \iow_log_streams:
+ { \iow_log_list: } { 2019-01-01 }
\@@_old:Nnn \luatex_if_engine_p:
{ \sys_if_engine_luatex_p: } { 2017-01-01 }
\@@_old:Nnn \luatex_if_engine:F
@@ -426,6 +450,10 @@
{ } { 2015-07-14 }
\@@_old:Nnn \scan_align_safe_stop:
{ protected~commands } { 2017-01-01 }
+\@@_old:Nnn \sort_ordered:
+ { \sort_return_same: } { 2019-01-01 }
+\@@_old:Nnn \sort_reversed:
+ { \sort_return_swapped: } { 2019-01-01 }
\@@_old:Nnn \str_case:nnn
{ \str_case:nnF } { 2015-07-14 }
\@@_old:Nnn \str_case:onn
@@ -440,6 +468,8 @@
{ \tex_lowercase:D } { 2018-03-05 }
\@@_old_protected:Nnn \tl_to_uppercase:n
{ \tex_uppercase:D } { 2018-03-05 }
+\@@_old:Nnn \token_new:Nn
+ { \cs_new_eq:NN } { 2019-01-01 }
\@@_old:Nnn \xetex_if_engine_p:
{ \sys_if_engine_xetex_p: } { 2017-01-01 }
\@@_old:Nnn \xetex_if_engine:F
@@ -517,24 +547,6 @@
%
% \subsection{Deprecated \pkg{l3box} functions}
%
-% \begin{macro}[deprecated = 2019-07-01]
-% {\box_resize:Nnn, \box_resize:cnn, \box_use_clear:N, \box_use_clear:c}
-% \begin{macrocode}
-\__kernel_patch_deprecation:nnNNpn
- { 2019-01-01 } { \box_resize_to_wd_and_ht_plus_dp:Nnn }
-\cs_new_protected:Npn \box_resize:Nnn
- { \box_resize_to_wd_and_ht_plus_dp:Nnn }
-\__kernel_patch_deprecation:nnNNpn
- { 2019-01-01 } { \box_resize_to_wd_and_ht_plus_dp:cnn }
-\cs_new_protected:Npn \box_resize:cnn
- { \box_resize_to_wd_and_ht_plus_dp:cnn }
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \box_use_drop:N }
-\cs_new_protected:Npn \box_use_clear:N { \box_use_drop:N }
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \box_use_drop:c }
-\cs_new_protected:Npn \box_use_clear:c { \box_use_drop:c }
-% \end{macrocode}
-% \end{macro}
-%
% \begin{macro}[deprecated = 2021-07-01]
% {
% \box_set_eq_clear:NN, \box_set_eq_clear:cN,
@@ -576,139 +588,9 @@
% \end{macrocode}
% \end{macro}
%
-% \subsection{Deprecated \pkg{l3file} functions}
-%
-% \begin{macrocode}
-%<@@=deprecation>
-% \end{macrocode}
-%
-% \begin{variable}[deprecated = 2019-07-01]{\g_file_current_name_tl}
-% Contrarily to most other deprecated commands this is a token list so
-% we have to resort to lower-level code.
-%
-% so we need to put code by hand in two token lists. We use
-% \cs{tex_def:D} directly because \cs{g_file_current_name_tl} is made
-% outer by \cs{debug_on:n} \texttt{\{deprecation\}}.
-% \begin{macrocode}
-\__kernel_deprecation_code:nn
- {
- \tex_let:D \g_file_current_name_tl \scan_stop:
- \__kernel_deprecation_error:Nnn \g_file_current_name_tl
- { \g_file_curr_name_str } { 2019-01-01 }
- }
- {
- \tex_let:D \g_file_current_name_tl \scan_stop:
- \cs_set_nopar:Npn \g_file_current_name_tl { \g_file_curr_name_str }
- }
-\@@_not_yet_deprecated:nTF { 2019-01-01 }
- {
- \tl_new:N \g_file_current_name_tl
- \tl_gset:Nn \g_file_current_name_tl { \g_file_curr_name_str }
- }
- {
- \cs_gset_nopar:Npn \g_file_current_name_tl
- {
- \__kernel_msg_expandable_error:nnnnn
- { kernel } { deprecated-command }
- { 2019-01-01 } { \g_file_current_name_tl } { \g_file_curr_name_str }
- }
- }
-% \end{macrocode}
-% \end{variable}
-%
-% \begin{macrocode}
-%<@@=file>
-% \end{macrocode}
-%
-% \begin{macro}[deprecated = 2019-07-01]{\file_path_include:n, \file_path_remove:n}
-% \begin{macrocode}
-\__kernel_patch_deprecation:nnNNpn
- { 2019-01-01 } { \seq_put_right:Nn \l_file_search_path_seq }
-\cs_new_protected:Npn \file_path_include:n #1
- {
- \__kernel_file_name_sanitize:nN {#1} \l_@@_full_name_str
- \seq_if_in:NVF \l_file_search_path_seq \l_@@_full_name_str
- { \seq_put_right:NV \l_file_search_path_seq \l_@@_full_name_str }
- }
-\__kernel_patch_deprecation:nnNNpn
- { 2019-01-01 } { \seq_remove_all:Nn \l_file_search_path_seq }
-\cs_new_protected:Npn \file_path_remove:n #1
- {
- \__kernel_file_name_sanitize:nN {#1} \l_@@_full_name_str
- \seq_remove_all:NV \l_file_search_path_seq \l_@@_full_name_str
- }
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}[deprecated = 2019-07-01]{\file_add_path:nN}
-% \begin{macrocode}
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \file_get_full_name:nN }
-\cs_new_protected:Npn \file_add_path:nN #1#2
- {
- \file_get_full_name:nN {#1} #2
- \str_if_empty:NT #2
- { \tl_set:Nn #2 { \q_no_value } }
- }
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}[deprecated = 2019-07-01]{\file_list:}
-% \begin{macrocode}
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \file_log_list: }
-\cs_new_protected:Npn \file_list: { \file_log_list: }
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}[added = 2014-08-22, updated = 2015-08-01, deprecated = 2019-07-01]
-% {\ior_list_streams:, \ior_log_streams:, \iow_list_streams:, \iow_log_streams:}
-% These got a more consistent naming.
-% \begin{macrocode}
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \ior_show_list: }
-\cs_new_protected:Npn \ior_list_streams: { \ior_show_list: }
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \ior_log_list: }
-\cs_new_protected:Npn \ior_log_streams: { \ior_log_list: }
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \iow_show_list: }
-\cs_new_protected:Npn \iow_list_streams: { \iow_show_list: }
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \iow_log_list: }
-\cs_new_protected:Npn \iow_log_streams: { \iow_log_list: }
-% \end{macrocode}
-% \end{macro}
-%
% \subsection{Deprecated \pkg{l3int} functions}
%
% \begin{macrocode}
-%<@@=deprecation>
-% \end{macrocode}
-%
-% \begin{variable}[deprecated = 2019-07-01]{\c_minus_one, \c_@@_minus_one}
-% In order to toggle definitions on and off locally we declare an
-% internal constant integer and copy it into \cs{c_minus_one}.
-% \begin{macrocode}
-\int_const:Nn \c_@@_minus_one { -1 }
-\__kernel_deprecation_code:nn
- {
- \tex_let:D \c_minus_one \scan_stop:
- \__kernel_deprecation_error:Nnn \c_minus_one { -1 } { 2019-01-01 }
- }
- {
- \tex_let:D \c_minus_one \scan_stop:
- \cs_set_eq:NN \c_minus_one \c_@@_minus_one
- }
-\@@_not_yet_deprecated:nTF { 2019-01-01 }
- { \cs_new_eq:NN \c_minus_one \c_@@_minus_one }
- {
- \cs_gset_nopar:Npn \c_minus_one
- {
- \__kernel_msg_expandable_error:nnnnn
- { kernel } { deprecated-command }
- { 2019-01-01 } { \c_minus_one } { -1 }
- \c_@@_minus_one
- }
- }
-% \end{macrocode}
-% \end{variable}
-%
-% \begin{macrocode}
%<@@=int>
% \end{macrocode}
%
@@ -938,17 +820,6 @@
% \end{macrocode}
% \end{macro}
%
-% \subsection{Deprecated \pkg{l3sort} functions}
-%
-% \begin{macro}[deprecated = 2019-07-01]{\sort_ordered:, \sort_reversed:}
-% \begin{macrocode}
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \sort_return_same: }
-\cs_new_protected:Npn \sort_ordered: { \sort_return_same: }
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \sort_return_swapped: }
-\cs_new_protected:Npn \sort_reversed: { \sort_return_swapped: }
-% \end{macrocode}
-% \end{macro}
-%
% \subsection{Deprecated \pkg{l3str} functions}
%
% \begin{macro}[EXP, deprecated = 2020-07-01, noTF]{\str_case_x:nn}
@@ -1040,13 +911,6 @@
%
% \subsection{Deprecated \pkg{l3token} functions}
%
-% \begin{macro}[deprecated = 2019-07-01]{\token_new:Nn}
-% \begin{macrocode}
-\__kernel_patch_deprecation:nnNNpn { 2019-01-01 } { \cs_new_eq:NN }
-\cs_new_protected:Npn \token_new:Nn #1#2 { \cs_new_eq:NN #1 #2 }
-% \end{macrocode}
-% \end{macro}
-%
% \begin{macro}[EXP, deprecated = 2021-07-01]
% {
% \token_get_prefix_spec:N,