f13956bd4b
Change the --enable-dbus-service-pim parameter into one which takes a parameter that specifies how locale-aware sorting and searching is to be implemented. The default implementation uses boost::locale. It is expected to get replaced or augemented by OEMs which want to implement more complex sorting or searching (like ignoring Tussenvoegsel in the Netherlands). The LocaleFactory instance takes the current locale from the environment. Making it and its users aware of locale changes at runtime might be needed at some point but is not part of the API at the moment. The Manager class uses the factory to handle sorting and searching requests coming in via D-Bus. Right now, that is not functional yet because the boost::locale implementation is just a stub. It only compiles and links. FullView::setSortOrder is now functional. Clean up view code a bit: - All views delay populating their content until the caller asks for it. For the FullView this will only happen once, so the caller must be able to handle an already populated view, which was missing in ViewResource. Still need a test for this. - Use init(<smart pointer) consistently. |
||
---|---|---|
.. | ||
autotroll.m4 | ||
ax_boost_base.m4 | ||
ax_boost_locale.m4 | ||
dk-warn.m4 | ||
README | ||
se_macros.m4 |
This directory contains m4 macros which we store in our own git repository because they are not necessarily available in a typical Linux distro. The m4 directory is created automatically during autogen.sh and contains temporary copies of system macros. It is wiped out at the beginning of our autogen.sh because these copies do not always work when moving between distros: libtool had problems with that.