* src/modest-ui-actions.[ch]:
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 2 May 2007 14:12:38 +0000 (14:12 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 2 May 2007 14:12:38 +0000 (14:12 +0000)
        * Run check names before sending email from editor.
        * New check names action, used to validate and
          search addresses in addressbook.
* src/modest-address-book.h:
        * Added new check_names method.
* src/modest-text-utils.[ch]:
        * Added ..._get_addresses_indexes. It finds the offset ranges
          of the addresses in a string.
        * ..._split_addresses_list now takes ";" into account, not only
          ",".
        * ..._split_addresses_list fixed offset calculations. Now uses
         utf8 characters.
        * ..._validate_recipient: strips the string before processing.
        * ..._validate_recipient: now counts utf8 characters. Also
          accepts spaces in left part of the address, even when they're
          not between quotes.
* src/maemo/modest-address-book.c:
        * ..._add_address: now the dialog title uses the logical id.
        * (ui_get_formatted_email_id): Now it adds quotes to address
          strings with spaces.
        * New ..._check_names method. It validates all addresses in
          the recipient editor. If address is valid, ok, if not valid,
          it checks if this is an email address attempt (shows error)
          or a generic string (searches in addressbook and replaces
          with matches).
* src/maemo/modest-msg-edit-window.c:
        * New ..._check_names method. Checks all recipient fields using
          new check names implementation in addressbook module.
* src/maemo/ui/modest-msg-edit-window-ui.xml:
        * Added "Check names" menu option.
* src/gnome/modest-address-book.c:
        * Added stubs for new functions.
* src/gnome/modest-msg-edit-window.c:
        * Added stubs for new functions.
* src/widgets/modest-msg-edit-window.h:
        * New _check_names method.
* src/widgets/modest-recpt-editor.[ch]:
        * Now , and ; inside quotes do not insert a CR.
        * New ..._replace_with_resolved_recipient method, to replace
          a range of the editor with a resolved recipient. It's used
          on _check_names implementation.
* src/widgets/modest-msg-edit-window-ui.h:
        * Added action for check names.

pmo-trunk-r1730


No differences found