All fp messages now use \__msg_kernel (fixes #93).

Most expandable fp messages go through the fp-trap mechanism, and in 
particular through a function \__fp_error:nffn which expands its 
arguments before calling \__msg_kernel_expandable_error:nnnnn.  This is 
cleaner than pretending to do poorman's x-expansion expandably.



git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4058 de43f980-851b-0410-b2f7-c40aca1f87e0
Typo.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4059 de43f980-851b-0410-b2f7-c40aca1f87e0
The \fp_flag_... was documented, but \__fp_flag defined.

Marked the affected functions as added today, since in effect they were 
not usable before this commit.  Also changed the added date of 
\fp_trap:nn to the date it was renamed from the mistaken \__fp_trap:nn.  
More tests.  1/0 doesn't raise a "division_by_zero" exception yet, but 
this is already noted in the "bugs" section of l3fp.dtx.



git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4060 de43f980-851b-0410-b2f7-c40aca1f87e0
Change example to use the :Npnn form, not :Nnn.

We've gone towards using the \cs_new:Npn form with an explicit parameter 
argument, rather than the implicit work done by \cs_new:Nn.  It seems 
consistent to use the corresponding \prg_new_conditional:Npnn rather 
than \prg_new_conditional:Nnn in this code example.



git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4061 de43f980-851b-0410-b2f7-c40aca1f87e0
Check-declarations of tl_concat, of tl_put_right:No, with simpler mapping.

The concat functions need to check their arguments 2 and 3.  The :NV 
variants of \tl_put functions appeared twice in the list, instead of the 
:No variants. Use a list of single tokens rather than a comma list for 
the low-level mapping which redefines \tl_ functions for the 
check-declarations option.  Also simplify the end-test a bit.



git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4062 de43f980-851b-0410-b2f7-c40aca1f87e0
Make \prg_new_conditional's arg behave as a clist (see issue #76)

Empty clist items in the "conditions" argument are now silently ignored, 
rather than stopping the loop.  However, \prg_set_eq_conditional's 
condition argument doesn't obey that yet: an empty clist item will stop 
the loop.
 


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4063 de43f980-851b-0410-b2f7-c40aca1f87e0
Improve the quark example a bit.

Namely use a repeated quark instead of \q_recursion_tail {} {}
because conceptually (in other types of mappings, such as clist
maps), the quark stands for an item in the list.  Also some
markup changes: |\foo| to avoid indexing example functions,
but \cs to correctly index all defined functions.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4064 de43f980-851b-0410-b2f7-c40aca1f87e0
Note that the quark example mapping is not nestable.

I don't see a good interface for nestable user-defined
mappings yet.  Logging this as issue #97.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4065 de43f980-851b-0410-b2f7-c40aca1f87e0
Typo left over from the time l3kernel-extras was l3file-extras.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4066 de43f980-851b-0410-b2f7-c40aca1f87e0
Improve \prg_set_eq_conditional:NNn (fixes #76).

Now the "conditions" arguments of all functions which
define conditionals behave the same: detokenize first,
then loop over the comma-separated list.  Whitespace
is not ignored.  Empty arguments are ignored.
Unknown condition types are caught, with an error.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4067 de43f980-851b-0410-b2f7-c40aca1f87e0
Typo in testfile.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4068 de43f980-851b-0410-b2f7-c40aca1f87e0
Add \token_to_meaning:c for consistency.

This function is a bit different from \exp_args:Nc
\token_to_meaning:N, since an undefined token should
return "undefined".  Simple copy of \cs_meaning:c.

Also add a {macro} block in l3token, to indicate that
the functions are defined in l3basics.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4069 de43f980-851b-0410-b2f7-c40aca1f87e0