Kaydet (Commit) 826e7877 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Split offapi/type_reference/types.rdb in two

...now that UnoApiMerge_types is gone.

Change-Id: Ie33aeb09692e3b3d851f2278714b037e183b627c
üst b3bf16a5
......@@ -3,9 +3,12 @@ Contains all of the IDL files except those in [[udkapi]]
i.e. the interfaces that are specific to the OppenOffice.org application.
An artificial (?) separation.
The reference offapi/type_reference/types.rdb, used to detect inadvertent
incompatible changes, is maintained via offapi/type_reference/update-rdb.sh (see
its usage message for details) for cases where we deliberately /do/ become
incompatible. Old such cases are listed in
offapi/type_reference/typelibrary_history.txt, new such cases are recorded in
the git log of offapi/type_reference/types.rdb.
The reference offapi/type_reference/offapi.rdb and
udkapi/type_reference/udkapi.rdb (formerly combined into a single
offapi/type_reference/types.rdb), used to detect inadvertent incompatible
changes, are maintained via offapi/type_reference/update-rdb.sh (see its usage
message for details) for cases where we deliberately /do/ become incompatible.
Old such cases are listed in offapi/type_reference/typelibrary_history.txt,
newer such cases are recorded in the git log of (now removed)
offapi/type_reference/types.rdb, new such cases are recorded in the git logs of
offapi/type_reference/offapi.rdb and udkapi/type_reference/udkapi.rdb.
......@@ -4267,4 +4267,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/org/freedesktop/Package
SyncDbusSessionHelper \
))
$(eval $(call gb_UnoApi_set_reference_rdbfile,offapi,offapi/type_reference/offapi))
# vim: set noet sw=4 ts=4:
......@@ -184,4 +184,4 @@
Update css.awt.UnoControlDialog to reflect the supported XDialog2 interface
additionally to XDialog
For later changes, consult the git log of the accompanying types.rdb file.
For later changes, see offapi/README.
......@@ -10,28 +10,30 @@
set -e
# Basic argument checks
if [ $# -lt 1 ]
if [ $# -lt 2 ]
then
echo "usage:"
echo " make cmd cmd='$0 <idl file list>'"
echo " make cmd cmd='$0 <rdb file> <idl file list>'"
echo ""
echo "example:"
echo " make cmd cmd='$0"
echo " offapi/type_reference/offapi.rdb"
echo " offapi/com/sun/star/auth/SSOManagerFactory.idl"
echo " offapi/com/sun/star/auth/SSOPasswordCache.idl'"
exit 1
fi
rdb=${1?}
shift
mkdir tmp
for i in "$@"; do
"${OUTDIR_FOR_BUILD?}"/bin/regmerge -v tmp/out1.rdb /UCR \
"${WORKDIR_FOR_BUILD?}"/UnoApiPartTarget/"${i%.idl}".urd
done
"${OUTDIR_FOR_BUILD?}"/bin/regmerge -v tmp/out2.rdb / \
"${SRC_ROOT?}"/offapi/type_reference/types.rdb tmp/out1.rdb
"${OUTDIR_FOR_BUILD?}"/bin/regmerge -v tmp/out2.rdb / "${SRC_ROOT?}"/"${rdb?}" \
tmp/out1.rdb
echo "sanity check diff:"
diff <("${OUTDIR_FOR_BUILD?}"/bin/regview \
"${SRC_ROOT?}"/offapi/type_reference/types.rdb) \
diff <("${OUTDIR_FOR_BUILD?}"/bin/regview "${SRC_ROOT?}"/"${rdb?}") \
<("${OUTDIR_FOR_BUILD?}"/bin/regview tmp/out2.rdb) && $? -le 1
mv tmp/out2.rdb "${SRC_ROOT?}"/offapi/type_reference/types.rdb
mv tmp/out2.rdb "${SRC_ROOT?}"/"${rdb?}"
rm -r tmp
......@@ -536,4 +536,6 @@ $(eval $(call gb_UnoApi_add_idlfiles,udkapi,udkapi/com/sun/star/util,\
XVeto \
))
$(eval $(call gb_UnoApi_set_reference_rdbfile,udkapi,udkapi/type_reference/udkapi))
# vim: set noet sw=4 ts=4:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment