syncevolution/m4-repo
Patrick Ohly f13956bd4b PIM: locale-aware sorting and searching
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.
2012-10-25 16:43:48 +02:00
..
autotroll.m4 Update m4-repo/ files from upstream 2011-07-04 14:43:03 +02:00
ax_boost_base.m4 Update m4-repo/ files from upstream 2011-07-04 14:43:03 +02:00
ax_boost_locale.m4 PIM: locale-aware sorting and searching 2012-10-25 16:43:48 +02:00
dk-warn.m4 Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
README autotools: cleaner separation between permanent and temporary m4 macro copies 2009-07-15 22:17:28 +02:00
se_macros.m4 Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00

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.