modest
17 years ago* restore gnome building (check for easysetup)
Dirk-Jan C. Binnema [Fri, 6 Apr 2007 13:43:18 +0000 (13:43 +0000)]
* restore gnome building (check for easysetup)
* use the MODEST_PLATFORM_(GNOME|MAEMO) instead of ugly MODEST_PLATFORM_ID

pmo-trunk-r1525

17 years ago2007-04-06 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 6 Apr 2007 12:57:03 +0000 (12:57 +0000)]
2007-04-06  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-account-settings-dialog.c:
        (create_page_incoming),
        (modest_account_settings_dialog_set_account_name):
        Added comments about the need for new API in ModestAccountMgr to handle the authentication
        and secure-connection stuff that is stored in the options GSList* with hard-coded names.
        I will do this if nobody else gets there first.

pmo-trunk-r1524

17 years ago2007-04-06 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 6 Apr 2007 12:47:15 +0000 (12:47 +0000)]
2007-04-06  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-account-settings-dialog.c: (save_configuration):
        Saved much of the incoming and outgoing data too, though I cannot yet see how to
        save the security stuff.

pmo-trunk-r1523

17 years ago2007-04-06 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 6 Apr 2007 12:23:31 +0000 (12:23 +0000)]
2007-04-06  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
        Set the email address and user fullname, which I now see must be
        done separately.

        * src/maemo/modest-account-settings-dialog.h:
        * src/maemo/modest-account-settings-dialog.c:
         (on_response),
        (modest_account_settings_dialog_set_account_name): Show the email address, fullname,
        leave-on-server and authentication.
        (save_configuration): Save most of the non-server-account specific stuff, but I don't see
        how to do the rest.

pmo-trunk-r1522

17 years ago2007-04-06 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 6 Apr 2007 10:32:34 +0000 (10:32 +0000)]
2007-04-06  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-account-settings-dialog.c:
        * src/maemo/modest-account-settings-dialog.h:
        Most (but not all) of the widgets are now present as specified by the UI spec.
        No changes are yet saved, and some details are not properly shown yet.

        * po/en_GB.po: Added translations for logical IDs used by the Account Settings dialog.

pmo-trunk-r1521

17 years ago2007-04-06 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 6 Apr 2007 08:21:32 +0000 (08:21 +0000)]
2007-04-06  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/Makefile.am:
        * src/maemo/modest-account-settings-dialog.c:
        * src/maemo/modest-account-settings-dialog.h: The beginnings of the dialog to edit
        an existing account. Doesn't do much yet.

        * src/maemo/modest-account-view-window.c: (on_edit_button_clicked):
        Open the accounts settings dialog when Edit is clicked.

pmo-trunk-r1520

17 years agoCommitting so that svn lets me rename
Murray Cumming [Fri, 6 Apr 2007 08:10:00 +0000 (08:10 +0000)]
Committing so that svn lets me rename

pmo-trunk-r1519

17 years agoCommitting so that svn lets me rename
Murray Cumming [Fri, 6 Apr 2007 08:05:43 +0000 (08:05 +0000)]
Committing so that svn lets me rename

pmo-trunk-r1518

17 years ago2007-04-05 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 5 Apr 2007 20:18:06 +0000 (20:18 +0000)]
2007-04-05  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/Makefile.am:
        * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
        (load_from_file):
        * src/maemo/easysetup/modest-easysetup-wizard.c:
        (modest_easysetup_wizard_dialog_init):
        Try to get the source directory from the build system,
        instead of hard-coding ./ into the source code, when opening our local
        copies of the configuration files.
        But this still fails when opening the wizard from the Accounts window,
        maybe because the working directory seems to change at runtime.
        So the wizard will fail the second time unless you copy the files into their
        proper locations - see the stdout warnings for the paths.

        (create_page_account_details),(on_before_next):
        Check for existing non-server accounts instead of server accounts,
        so the default account name is useful again, and to prevent trying to
        recreate accounts.

        * src/maemo/modest-account-view-window.c: (on_new_button_clicked):
        Show the wizard when New is clicked.

        * src/widgets/modest-account-view.c: (on_account_default_toggled),
        (init_view): Show the column headers, and show the columns that are
        specified in the UI specs. However, something in Maemo's GTK+ prevents
        us from handling the GtkCellRendererToggle::toggled signal, so we cannot
        change the default account. This is despite unsetting the special properties.

pmo-trunk-r1517

17 years ago2007-04-05 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 5 Apr 2007 17:58:43 +0000 (17:58 +0000)]
2007-04-05  Murray Cumming  <murrayc@murrayc.com>

* docs/reference/modest-design.sgml: Corrected spelling mistake.
        * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
        Create the 2 server accounts and then create the account, using the names of the 2 server accounts.
        This seems to be how this should be used. If it is, then I will update the AccountMgr documentation
        to make that clearer.
        * src/modest-account-mgr.h: Corrected the modest_account_mgr_search_server_account() documentation.

pmo-trunk-r1516

17 years ago* make modest build on both N800(bora) and the OSSO 1.1 target;
Dirk-Jan C. Binnema [Thu, 5 Apr 2007 14:23:02 +0000 (14:23 +0000)]
* make modest build on both N800(bora) and the OSSO 1.1 target;
  there are some differences in Hildon and library names

MODEST_HILDON_VERSION_0 will be defined (config.h) if we are
  using the 'old' (bora) hildon.

pmo-trunk-r1515

17 years ago* have the folder view use the right icons for the local folders
Dirk-Jan C. Binnema [Thu, 5 Apr 2007 12:20:17 +0000 (12:20 +0000)]
* have the folder view use the right icons for the local folders
* use the right logical ids
* auto-create only the folders we should
* remove some cruft

pmo-trunk-r1514

17 years ago2007-04-05 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 5 Apr 2007 12:12:36 +0000 (12:12 +0000)]
2007-04-05  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-account-view-window.c:
        (modest_account_view_window_init),
        (modest_account_view_window_new):
        Use the same buttons as specified in the
        UI spec. Add the widgets to the vbox and action_area instead of just assigning them to
        the existing widgets, which never had a chance of working.
        Put the ModestAccountView treeview in a scrolled window.
        Do not repeat the initialization in both _init() and _new().

        * src/widgets/modest-account-view.c: (update_account_view):
        Add a warning about modest_account_mgr_account_names() returning NULL, which is why
        this widget and window shows no accounts.

        * po/en_GB.po: Added translations needed for the dialog button logical IDs.

pmo-trunk-r1513

17 years ago2007-04-05 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 5 Apr 2007 11:32:45 +0000 (11:32 +0000)]
2007-04-05  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-wizard.c:
        (set_default_custom_servernames): Avoid a dereference of a destroyed widget.
        (create_account): Do a sanity check, showing that modest_account_mgr_account_names()
        returns NULL after modest_account_mgr_add_server_account() returned TRUE,
        which seems wrong.

        * src/maemo/modest-main-window-ui.h: Specify the callback for the Accounts menu item.
        * src/modest-ui-actions.c: (modest_ui_actions_on_accounts): Open the wizard if no
        accounts exist yet, as in the UI spec.

        * src/modest-account-mgr.h: Add TODO comment about a possible memory leak.

pmo-trunk-r1512

17 years ago2007-04-05 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 5 Apr 2007 10:48:27 +0000 (10:48 +0000)]
2007-04-05  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/Makefile.am:
        * src/maemo/modest-connection-specific-smtp-edit-window.c:
        * src/maemo/modest-connection-specific-smtp-edit-window.h:
        New window for editing connection-specific smtp details.
        Not fully implemented.

        * src/maemo/modest-connection-specific-smtp-window.c:
        (modest_connection_specific_smtp_window_finalize) :
        unref the tree model.
        (on_button_edit): Show the edit window.

pmo-trunk-r1511

17 years ago2007-04-05 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 5 Apr 2007 09:58:33 +0000 (09:58 +0000)]
2007-04-05  Murray Cumming  <murrayc@murrayc.com>

* src/Makefile.am: Change sequence of sub-libraries, which fixed an undefined symbol
        error for me.

        * src/maemo/Makefile.am:
        * src/maemo/modest-connection-specific-smtp-window.c:
        * src/maemo/modest-connection-specific-smtp-window.h:
        New window for showing the list of connections, for connection-specific
        SMTP servers. Not fully implemented, because it needs an enhancement to TnyMaemoDevice.
        * src/maemo/easysetup/modest-easysetup-wizard.c:
        (create_page_custom_outgoing): Show the new window when the button is clicked.

pmo-trunk-r1510

17 years ago* added #defines for MODEST_MMC_ACCOUNT_ID and MODEST_MMC_ACCOUNT_MAILDIR
Dirk-Jan C. Binnema [Thu, 5 Apr 2007 08:33:06 +0000 (08:33 +0000)]
* added #defines for MODEST_MMC_ACCOUNT_ID  and MODEST_MMC_ACCOUNT_MAILDIR

pmo-trunk-r1507

17 years ago2007-04-04 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 4 Apr 2007 16:50:04 +0000 (16:50 +0000)]
2007-04-04  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
        * src/maemo/easysetup/modest-presets.c: (modest_presets_new):
        * src/maemo/modest-msg-edit-window.c:
        (modest_msg_edit_window_insert_image):
        * src/modest-conf.c: (modest_conf_key_escape):
        * src/modest-mail-operation.c:
        (modest_mail_operation_send_new_mail):
        * src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
        (modest_ui_actions_on_new_account):
        * src/widgets/modest-attachment-view.c: (update_filename_request):
        * src/widgets/modest-mail-header-view.c:
        Corrected warnings that were breaking the build, by commenting out unused variables,
        and a function, and by including a header.

pmo-trunk-r1506

17 years ago* added -Wno-format-extra-args -Werror to the Maemo CFLAGS;
Dirk-Jan C. Binnema [Wed, 4 Apr 2007 13:57:16 +0000 (13:57 +0000)]
* added -Wno-format-extra-args -Werror to the Maemo CFLAGS;
  this should enforce warning-free code, but allow for the
  logical ids

pmo-trunk-r1505

17 years agoUpdated translatable strings
Sergio Villar Senin [Wed, 4 Apr 2007 12:53:54 +0000 (12:53 +0000)]
Updated translatable strings

pmo-trunk-r1504

17 years agoReplaced some logical id
Sergio Villar Senin [Wed, 4 Apr 2007 12:53:22 +0000 (12:53 +0000)]
Replaced some logical id

pmo-trunk-r1503

17 years ago* Added the Main Window menus from the specs
Sergio Villar Senin [Wed, 4 Apr 2007 11:51:57 +0000 (11:51 +0000)]
* Added the Main Window menus from the specs

pmo-trunk-r1502

17 years ago2007-04-04 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 4 Apr 2007 10:12:39 +0000 (10:12 +0000)]
2007-04-04  Murray Cumming  <murrayc@murrayc.com>

* configure.ac: Define MODEST_PLATFORM_MAEMO and MODEST_PLATFORM_GNOME in config.h,
        so we can #ifdef around platform-specific code when necessary.
        * src/modest-ui-actions.c: (modest_ui_actions_on_new_account): Use MODEST_PLATFORM_MAEMO
        to allow this to build for the GNOME platform too.

pmo-trunk-r1501

17 years ago2007-04-04 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 4 Apr 2007 09:30:54 +0000 (09:30 +0000)]
2007-04-04  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-wizard.c:
        Added util_increment_name() and used it in create_page_account_details()
        to make sure that the default account name is always a new name.

        (modest_easysetup_wizard_dialog_init),
        (set_default_custom_servernames): Some minor memory management fixes.

pmo-trunk-r1500

17 years ago2007-04-04 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 4 Apr 2007 08:14:01 +0000 (08:14 +0000)]
2007-04-04  Murray Cumming  <murrayc@murrayc.com>

* Makefile.am:
        * configure.ac:
        * src/modest-runtime.c: (init_i18n): Restored the translation
        infrastructure, so that GETTEXT_PACKAGE and MODEST_LOCALE_DIR
        are defined in config.h, and the translations are installed.

        * src/maemo/easysetup/: Include config.h so that GETTEXT_PACKAGE
        is defined for translation.

pmo-trunk-r1499

17 years ago* update comment for tightened modest_conf_key_escape
Dirk-Jan C. Binnema [Wed, 4 Apr 2007 07:02:44 +0000 (07:02 +0000)]
* update comment for tightened modest_conf_key_escape

pmo-trunk-r1498

17 years ago* tighten modest_conf_key_escape contract to disallow empty keys;
Dirk-Jan C. Binnema [Wed, 4 Apr 2007 07:02:08 +0000 (07:02 +0000)]
* tighten modest_conf_key_escape contract to disallow empty keys;
  gconf_key_escape crashes with such keys

pmo-trunk-r1497

17 years ago* Main window toolbar is now shown
Sergio Villar Senin [Tue, 3 Apr 2007 18:39:14 +0000 (18:39 +0000)]
* Main window toolbar is now shown
* Added some more Maemo stock icons
* Added stock icons registration
* Added Context-sensitive menu to the reply toolbar button

pmo-trunk-r1496

17 years agoremove duplicated
Sergio Villar Senin [Tue, 3 Apr 2007 16:30:55 +0000 (16:30 +0000)]
remove duplicated

pmo-trunk-r1495

17 years ago2007-04-03 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 3 Apr 2007 15:51:37 +0000 (15:51 +0000)]
2007-04-03  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-country-combo-box.c:
        (load_from_file):
        * src/maemo/easysetup/modest-easysetup-wizard.c:
        (modest_easysetup_wizard_dialog_init):
        * src/maemo/easysetup/modest-presets.c: (modest_presets_new):
        Use realistic paths (though they should use  generically) to the
        mcc_mapping and provider-data.keyfile files which might work when they
        are installed by the future version of the operator-wizard package,
        and then fallback to paths in our source code, with an explanatory
        warning.

pmo-trunk-r1494

17 years agoAdded easysetup dir to configure
Sergio Villar Senin [Tue, 3 Apr 2007 15:31:14 +0000 (15:31 +0000)]
Added easysetup dir to configure

pmo-trunk-r1493

17 years ago2007-04-03 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 3 Apr 2007 15:10:07 +0000 (15:10 +0000)]
2007-04-03  Murray Cumming  <murrayc@murrayc.com>

* configure.ac:
        * src/Makefile.am:
        * src/maemo/Makefile.am:
        * src/maemo/easysetup/: Added files from the previously-exernal
        osso-modest-easysetup.
        * src/maemo/modest-main-window-ui.h:
        * src/modest-ui-actions.c:
        * src/modest-ui-actions.h:
        Added modest_ui_actions_on_new_account() as a signal handler for the
        New Account menu item. It shows the easysetup wizard.
        * po/en_GB.po: Added additional needed logical IDs and translations.

Started ChangeLog2 file, because I cannot work without a ChangeLog. murrayc.
Apparently ChangeLog is not used for some vague Nokia legal reasons.

pmo-trunk-r1491

17 years agoTemporal fix
Sergio Villar Senin [Tue, 3 Apr 2007 15:09:38 +0000 (15:09 +0000)]
Temporal fix

pmo-trunk-r1490

17 years ago* src/modest-ui-actions.[ch]:
Jose Dapena Paz [Tue, 3 Apr 2007 14:58:15 +0000 (14:58 +0000)]
* src/modest-ui-actions.[ch]:
* Added implementation of cut/copy/paste/select all.
* src/maemo/modest-main-window-ui.h,
* Restructured menus to put clipboard actions callbacks,
  and make it more compliant with UI specs.
* src/maemo/ui/modest-msg-edit-window-ui.xml,
  src/maemo/ui/modest-msg-view-window-ui.xml,
  src/maemo/ui/modest-main-window-ui.xml.
* Added clipboard actions menu.
* Restructured menus to put clipboard actions callbacks,
  and make it more compliant with UI specs.
* src/maemo/modest-msg-view-window.c:
* Removed shadows of msg view and scrolls
* Added actions to handle clicks, recipients and attachments in
  msg view.
* src/gnome/modest-main-window-ui.h:
* Modified actions to make them more similar to maemo client.
* src/gnome/ui/modest-msg-edit-window-ui.xml,
  src/gnome/ui/modest-msg-view-window-ui.xml,
  src/gnome/ui/modest-main-window-ui.xml.
* Added clipboard actions menu.
* Restructured menus to put clipboard actions callbacks,
  and make it more similar to maemo client.
* src/gnome/modest-msg-view-window.c:
* Added clipboard actions, and make it more similar to maemo
  client.
* src/widgets/modest-attachment-view.c:
* Fix filename view size calculation. Now it does not ellipsize
  if it's not required.
* src/widgets/modest-msg-edit-window-ui.h:
* Added clipboard actions.

pmo-trunk-r1489

17 years agoAdded files from osso-modest-easysetup
Murray Cumming [Tue, 3 Apr 2007 13:36:38 +0000 (13:36 +0000)]
Added files from osso-modest-easysetup

pmo-trunk-r1487

17 years ago* configure.ac:
Jose Dapena Paz [Mon, 2 Apr 2007 14:06:41 +0000 (14:06 +0000)]
* configure.ac:
* Moved the wpeditor dependency to the maemo platform dependency list, as
  it's only required in this platform.

pmo-trunk-r1472

17 years ago* Added wpeditor dependency to configure.ac
Sergio Villar Senin [Mon, 2 Apr 2007 11:34:21 +0000 (11:34 +0000)]
* Added wpeditor dependency to configure.ac
* Fixed a problem in the Modest main window

pmo-trunk-r1471

17 years ago* Added Progress Object
Sergio Villar Senin [Mon, 2 Apr 2007 08:29:13 +0000 (08:29 +0000)]
* Added Progress Object
* Added Gnome info bar
* Ported mail operation calls to the new design
* Removed non-common code from UI actions

pmo-trunk-r1470

17 years ago* src/maemo/modest-msg-edit-window.c: added support for rich editing
Jose Dapena Paz [Sun, 1 Apr 2007 13:03:27 +0000 (13:03 +0000)]
* src/maemo/modest-msg-edit-window.c: added support for rich editing
  (using wpeditor library).
        * Includes support for toggling bold/italics, adding bullet lists,
          inserting images, changing font color, size and face.
* src/maemo/modest-icon-names.h:
        * Added icon for bullet lists in edit window.
* src/gnome/modest-icon-names.h:
        * Added icon for bullet lists in edit window.
* src/maemo/ui/modest-msg-edit-window-ui.xml:
        * Added menu formatting actions (inserting images, alignments, background
          color, bullet lists).
        * Added toolbar formatting actions (bold, italics, bullet lists), and
          a place holder for font properties elements in toolbar.
* src/maemo/ui/modest-msg-view-window-ui.xml:
        * Added menu actions for messages (not implemented yet, includes replying,
          deleting, and others.
* src/gnome/modest-msg-edit-window.c:
        * Modified methods to send mail to support the new API supporting rich text
          editting. Anyway the Gnome client does not support this yet.
* src/widgets/modest-mail-header-view.[ch]:
        * Now date/time field separates the Time: value as a new field, and it's
          always shown independent from being a mail sent another day.
        * Preliminar support for showing priority icons in subjects. Now subject is
          showin as a GTKHBox, with a first part for priority icon (currently not used)
          and a second part for the subject itself.
        * Changed order of header fields (recipients in special) to accomplish the
          UI specs.
        * Added new method to add custom headers (header data implemented with a widget).
          This is used for adding attachments list as a header.
* src/widgets/modest-msg-edit-window.h:
        * Added support for exposing rich text editing format.
* Added src/widgets/modest-attachment-view.[ch]:
        * Widget showing an only attachment, with its size and icon. It's a refactoring
          of previous attachments view, splitting in specific widgets each attachment.
* src/widgets/modest-attachments-view.[ch]: big rework of this widget.
        * Now the "activated" signal passes a TnyMimePart instead of an attachmetn index.
        * Now it's a GtkVBox with the attachments one per line. They include the new
          ModestAttachmentView for showing each mime part.
* src/widgets/modest-msg-edit-window-ui.h:
        * Added support for rich editing actions.
* src/widgets/Makefile.am:
        * Added compilation of new ModestAttachmentView widget.
* src/widgets/modest-msg-view.[ch]:
        * Now attachments signal returns a TnyMimePart instead of an index.
        * Now attachments are shown as a header, using the new modest_header_view_add_custom_header
          method.
* src/modest-tny-msg.[ch]:
        * Support for sending html-formatted mails.
* src/modest-mail-operations.[ch]:
        * Now ..._send_new_mail gets both plain text and html versions of the message,
          to allow sending rich text messages.
* src/modest-runtime.c:
        * Add bullet list icons.
* src/modest-main.c:
        * Use the new _send_new_mail api supporting rich text messages (sends a NULL html
          field, as the command line API is only supporting plain text sends).
* src/modest-ui-actions.[ch]:
        * Update on_msg_attachment_clicked, as now it gets a TnyMimePart
          instead of an index.
        * (modest_ui_actions_on_send): updated to handle rich text messages
          (those with html and raw text versions).
        * Methods for rich text editor actions: ..._on_toggle_bold,
          ..._on_toggle_italics, ..._on_toggle_bullets, ..._on_change_justify,
          ..._on_select_editor_color, ..._on_select_editor_background_color,
          ..._on_insert_image.

pmo-trunk-r1469

17 years agoIncrementally filling up while downloading
Philip Van Hoof [Fri, 30 Mar 2007 18:25:40 +0000 (18:25 +0000)]
Incrementally filling up while downloading

pmo-trunk-r1468

17 years ago* Moved two methods from mail operation API to ModestTnyMsg API
Sergio Villar Senin [Wed, 21 Mar 2007 10:28:19 +0000 (10:28 +0000)]
* Moved two methods from mail operation API to ModestTnyMsg API

pmo-trunk-r915

17 years ago* Removed platform icons from Maemo UI
Sergio Villar Senin [Tue, 20 Mar 2007 18:38:38 +0000 (18:38 +0000)]
* Removed platform icons from Maemo UI

pmo-trunk-r914

17 years ago* tiny fixes for -Wall and Sardine
Dirk-Jan C. Binnema [Tue, 20 Mar 2007 13:52:59 +0000 (13:52 +0000)]
* tiny fixes for -Wall and Sardine

pmo-trunk-r913

17 years ago* Commented some devive_force_online methods
Sergio Villar Senin [Mon, 19 Mar 2007 09:58:47 +0000 (09:58 +0000)]
* Commented some devive_force_online methods
* Added tap-and-hold activated context menus to Maemo UI
* Fixed the drag and drop issue in the Maemo UI

pmo-trunk-r912

17 years ago* groundwork for dragging to the desktop
Dirk-Jan C. Binnema [Sat, 17 Mar 2007 12:37:27 +0000 (12:37 +0000)]
* groundwork for dragging to the desktop

pmo-trunk-r911

17 years ago* fix some compiler warnings (-Wall -Werror)
Dirk-Jan C. Binnema [Sat, 17 Mar 2007 12:36:21 +0000 (12:36 +0000)]
* fix some compiler warnings (-Wall -Werror)

pmo-trunk-r910

17 years ago* Various fixes
Sergio Villar Senin [Fri, 16 Mar 2007 13:41:44 +0000 (13:41 +0000)]
* Various fixes

pmo-trunk-r909

17 years agoAdded debug check
Sergio Villar Senin [Fri, 16 Mar 2007 12:42:07 +0000 (12:42 +0000)]
Added debug check

pmo-trunk-r908

17 years agoAdded code to fit a DBC assertion
Sergio Villar Senin [Fri, 16 Mar 2007 10:56:51 +0000 (10:56 +0000)]
Added code to fit a DBC assertion

pmo-trunk-r907

17 years ago* Fixed some issues of the drag and drop system
Sergio Villar Senin [Thu, 15 Mar 2007 17:38:08 +0000 (17:38 +0000)]
* Fixed some issues of the drag and drop system

pmo-trunk-r906

17 years ago* src/widgets/modest-mail-header-view.c:
Jose Dapena Paz [Wed, 14 Mar 2007 17:36:11 +0000 (17:36 +0000)]
* src/widgets/modest-mail-header-view.c:
* Reworked code for bolding labels, to make easier to add
  localisation strings from en_GB file.
* Added localisation id strings.
* src/widgets/modest-msg-view.c:
* Better calculation of allocation of headers and html scroll.
  This should fix a problem that was making
  ModestScrollText scroll buttons show partially.
* src/widgets/modest-attachments-view.c:
* Now clicking on attachment icons also fires attachment
  activated event.

pmo-trunk-r905

17 years ago* src/widgets/modest-mail-header-view.c:
Jose Dapena Paz [Wed, 14 Mar 2007 14:00:28 +0000 (14:00 +0000)]
* src/widgets/modest-mail-header-view.c:
* If message is a draft, show "Last saved:" instead of "Sent:"
* src/gnome/modest-msg-view-window.c:
* Show subject in window title.

pmo-trunk-r904

17 years ago* src/widgets/modest-recpt-view.c:
Jose Dapena Paz [Wed, 14 Mar 2007 13:07:07 +0000 (13:07 +0000)]
* src/widgets/modest-recpt-view.c:
* Put definitions of static functions at the start of the file.
* src/widgets/modest-msg-view.[ch]:
* Added support for showing shadows (methods
  (get|set)_shadow_type).
* Added (get|set)_property implementation.
* src/widgets/modest-scroll-text.c
* Now the scroll text embedded text view is shown as a label
  (uses the bg color as base color).

pmo-trunk-r903

17 years ago* src/widgets/modest-msg-view.c:
Jose Dapena Paz [Wed, 14 Mar 2007 10:12:21 +0000 (10:12 +0000)]
* src/widgets/modest-msg-view.c:
* When we were setting an empty message, we were getting the
  previous attachment list in the view. Now the attachments are
  correctly updated when we set an empty message (msg == NULL).

pmo-trunk-r902

17 years ago* widgets/:
Dirk-Jan C. Binnema [Wed, 14 Mar 2007 08:25:07 +0000 (08:25 +0000)]
* widgets/:
  - fix some compiler warnings

pmo-trunk-r901

17 years ago* src/widgets/modest-msg-view.[ch]:
Jose Dapena Paz [Tue, 13 Mar 2007 15:12:05 +0000 (15:12 +0000)]
* src/widgets/modest-msg-view.[ch]:
* Completely reworked the scroll support. Now it's
  implemented using proper GdkWindow operations
* Now it inherits directly from GtkContainer, and
  implements set_scroll_adjustments. This way, it
  can be added to a GtkScrolledWindow controlling
  its scroll bars.
* Implementation of internal gtk widget methods
  for managing the drawing (realize, expose, etc).
* Implementation of internal gtk container methods
  for managing children removal.
* It embeds the contents gtkhtml in a scrolled window,
  but it always tries to make the scroll be completely
          shown in the backing store gdkwindow that provides
          scrolls to upper windows.
* src/maemo/modest-msg-view-window.c
* Embed the new msg view with a scrollbar now
          it's supported.
* src/gnome/modest-msg-view-window.c
* Embed the new msg view with a scrollbar now
          it's supported. Now it does not need a
  viewport.
* src/gnome/modest-main-window.c
* Embed the new msg view with a scrollbar now
          it's supported. Now it does not need a
  viewport.

pmo-trunk-r900

17 years ago* Added modest-scroll-text.[ch]
Jose Dapena Paz [Mon, 12 Mar 2007 09:42:50 +0000 (09:42 +0000)]
* Added modest-scroll-text.[ch]
        * It's a refactorization from ModestRecptView. Now the feature
          "limit the recpt view to two lines" and "scroll line by line"
          is in this class.
        * It inherits from GtkScrolledWindow, and embeds a GtkTextView
        * Generalized to be able to limit the text view to an arbitrary
          number of lines (not only 2).
* modest-recpt-view.[ch]
        * Updated to inherit/use the new ModestScrollText class.
* modest-mail-header.[ch]
* Now all headers use ModestScrollText (and then they're limited
  all to two lines, in special subject).

pmo-trunk-r899

17 years ago* modest-tny-account-store:
Dirk-Jan C. Binnema [Sun, 11 Mar 2007 10:17:55 +0000 (10:17 +0000)]
* modest-tny-account-store:
- implement the new find_account_func in the TnyAccountStore interface
  this is to find the account for a mail, based on its URL

pmo-trunk-r898

17 years ago* fix for compiler warning
Dirk-Jan C. Binnema [Sat, 10 Mar 2007 14:03:51 +0000 (14:03 +0000)]
* fix for compiler warning

pmo-trunk-r897

17 years ago* configure.ac:
Dirk-Jan C. Binnema [Sat, 10 Mar 2007 14:03:25 +0000 (14:03 +0000)]
* configure.ac:
- require gtk+2.10 for gnome/

pmo-trunk-r896

17 years ago* src/gnome/modest-main-window.c
Jose Dapena Paz [Fri, 9 Mar 2007 12:39:22 +0000 (12:39 +0000)]
* src/gnome/modest-main-window.c
* Now the msg preview is embedded in a scroll.
* src/gnome/modest-msg-view-window.c
* Now the msg view is embedded in a scroll.
* src/widgets/modest-mail-header-view.c
* Set wrapping mode to label values, in order to
  make subject appear completely.
* src/widgets/modest-recpt.view.c
* Changed the way recpt view is set to the first
  line, as the previous method wasn't working in
  the new msg view.
* src/widgets/modest-msg-view.c
* Added event handling for attachment_activated
  signal, using the new ModestAttachmentsView
  widget.
* New size requisition/allocation system that
  tries to get the correct size to be embedded.
  It fails a lot in Gnome. Need a review from a
  gtk allocation mage.
* Removed old attachments management code.

pmo-trunk-r895

17 years ago* renamed '_sent' into '_outgoing', as for example Draft message are outgoing
Dirk-Jan C. Binnema [Wed, 7 Mar 2007 21:10:51 +0000 (21:10 +0000)]
* renamed '_sent' into '_outgoing', as for example Draft message are outgoing
  but not sent :)

pmo-trunk-r894

17 years ago* some compile (-Wall -Werror) fixes
Dirk-Jan C. Binnema [Wed, 7 Mar 2007 21:06:51 +0000 (21:06 +0000)]
* some compile (-Wall -Werror) fixes
* modest-attachment-view should ref the msg argument

pmo-trunk-r893

17 years ago* src/widgets/modest-mail-header-view.c:
Jose Dapena Paz [Wed, 7 Mar 2007 11:32:05 +0000 (11:32 +0000)]
* src/widgets/modest-mail-header-view.c:
        * Added modest_mail_header_view_update_is_sent. It detects
          if the mail is incoming or outcoming using the folder
          information.
* Added src/widgets/modest-attachments-view.[ch]:
        * New GtkTextView based view for attachments. It shows
          attachments as a list of links.
* src/widgets/modest-recpt-view.c:
        * Removed warnings that happened on instantiation of
          ModestRecptView. The problem was that a GtkScrolledWindow
          required to get adjustments in initialisation (even if they
          are NULL).
* src/widgets/modest-msg-view.c:
        * Modified to use the new ModestAttachmentsView widget, and
          removed old attachments_as_html as it's not required now.
* src/widgets/Makefile.am:
        * Included modest-attachments-view.[ch]
* src/Makefile.am:
        * Now gtk directory is gnome.

pmo-trunk-r892

17 years ago* small fix:
Dirk-Jan C. Binnema [Wed, 7 Mar 2007 07:39:36 +0000 (07:39 +0000)]
* small fix:
- unref camel object in error path
- added some docu

pmo-trunk-r891

17 years ago* fix small leak
Dirk-Jan C. Binnema [Tue, 6 Mar 2007 21:30:59 +0000 (21:30 +0000)]
* fix small leak

pmo-trunk-r890

17 years ago* add the engineering english PO-file
Dirk-Jan C. Binnema [Tue, 6 Mar 2007 11:35:23 +0000 (11:35 +0000)]
* add the engineering english PO-file

pmo-trunk-r889

17 years ago* update for tinymail changes
Dirk-Jan C. Binnema [Tue, 6 Mar 2007 08:32:11 +0000 (08:32 +0000)]
* update for tinymail changes

pmo-trunk-r888

17 years ago* fixes for -Wall -Warning
Dirk-Jan C. Binnema [Mon, 5 Mar 2007 20:21:03 +0000 (20:21 +0000)]
* fixes for -Wall -Warning

pmo-trunk-r887

17 years ago* src/widgets/modest-recpt.view.[ch]:
Jose Dapena Paz [Mon, 5 Mar 2007 18:22:46 +0000 (18:22 +0000)]
* src/widgets/modest-recpt.view.[ch]:
        * Changed a lot the structure. Now it inherits from GtkScrolledWindow,
          and contains a GtkTextView (instead of a GtkLabel).
        * This scrolled window is limited to two lines. Then this widget includes
          internal methods for this, and to manage specific scrollbuttons.
        * Removed the calculation of address bounds in a string (it's now in
          text utils).
        * Added a method modest_recpt_view_set_recipients (), as now we don't
          have the GtkLabel API set_text function.
        * Migrated the button press/release events handling to use GtkTextView
          API.
        * Scrollbar button clicks move buffer line by line.
        * Now the activate handler passes a string with the recipient list.
* src/widgets/modest-mail-header-view.[ch]:
        * Modified recpt view activate handler (now it passes a string with
          the activated address, not the recpt view object).
        * Updates to fit the new ModestRecptView api (now it's not
          a GtkLabel child, but a GtkScrolledWindow's).
        * Force allocation update of expander (to prevent a nasty effect on
          expanding more than one time the from/to recpt view. Now the
          full expander is sent to the resize and draw queues.
        * Added alignment hint for from/to label.
        * Set spacing among other headers vbox to 0.
        * Set the mail header "reallocate_redraws" to TRUE
* src/modest-msg-view.c:
        * Use the new recpt view activate API.
* src/modest-ui-actions.[ch]:
        * Added implementation of action "add to contacts". It
          gets the primary selection and calls the addressbook
          add to contacts implementation.
        * Updated API of msg_recpt_view_activated (now handler
          gets a string with the activated address).
* src/modest-text-utils.[ch]:
        * Added modest_text_utils_address_range_at_position, used
          to find addresses in a string (used for automatic selection).
* Added src/modest-address-book.h:
        * Interface to addressbook functions. Implementations fall
          in specific gnome/maemo modules.
* src/Makefile.am:
        * Add modest address book interface.
* src/maemo/modest-main-window-ui.h:
        * Added action for adding primary selection to contacts.
* Added src/maemo/modest-address-book.c:
        * Implementation for maemo of address book interface.
        * Currently it only contains stub implementations, and
          a draft implementation of add to contacts method.
* Added src/gnome/modest-address-book.c:
        * Implementation for gnome of address book interface.
        * Currently it only contains stub implementations.
* src/maemo/Makefile.am
        * Added compilation of address book implementation
* src/gnome/Makefile.am
        * Added compilation of address book implementation
* src/maemo/ui/modest-msg-view-window-ui.xml:
        * Added add to contacts menu option.
* src/maemo/ui/modest-main-window-ui.xml:
        * Added add to contacts menu option.
* src/gnome/ui/modest-main-window-ui.xml:
        * Added add to contacts menu option.
* configure.ac:
        * Added dependency on osso-address-book in MAEMO platform.

pmo-trunk-r886

17 years ago* fix ref leak
Dirk-Jan C. Binnema [Mon, 5 Mar 2007 10:56:34 +0000 (10:56 +0000)]
* fix ref leak

pmo-trunk-r885

17 years ago* small note
Dirk-Jan C. Binnema [Mon, 5 Mar 2007 08:29:39 +0000 (08:29 +0000)]
* small note

pmo-trunk-r884

17 years ago* some more work on folder rules; still in progress
Dirk-Jan C. Binnema [Mon, 5 Mar 2007 08:28:53 +0000 (08:28 +0000)]
* some more work on folder rules; still in progress

pmo-trunk-r883

17 years ago* invent the MODEST_CONF_CONNECT_AT_STARTUP property, and make
Dirk-Jan C. Binnema [Mon, 5 Mar 2007 08:27:48 +0000 (08:27 +0000)]
* invent the MODEST_CONF_CONNECT_AT_STARTUP property, and make
it the default.
  now, modest will try to make a connection by default when it starts

pmo-trunk-r882

17 years ago* small stuff
Dirk-Jan C. Binnema [Sun, 4 Mar 2007 19:29:43 +0000 (19:29 +0000)]
* small stuff

pmo-trunk-r881

17 years ago* show toolbar when it's enabled in modest-conf
Dirk-Jan C. Binnema [Sun, 4 Mar 2007 19:27:46 +0000 (19:27 +0000)]
* show toolbar when it's enabled in modest-conf

pmo-trunk-r880

17 years ago* small updates, show toolbar
Dirk-Jan C. Binnema [Sun, 4 Mar 2007 19:22:22 +0000 (19:22 +0000)]
* small updates, show toolbar

pmo-trunk-r879

17 years ago* include modest-platform.h, to remove compile warnign
Dirk-Jan C. Binnema [Sun, 4 Mar 2007 18:11:04 +0000 (18:11 +0000)]
* include modest-platform.h, to remove compile warnign

pmo-trunk-r878

17 years ago* modest-runtime:
Dirk-Jan C. Binnema [Sun, 4 Mar 2007 18:10:25 +0000 (18:10 +0000)]
* modest-runtime:
- set some sane defaults for show toolbar|cc|bcc

pmo-trunk-r877

17 years ago* the modest cache should go to ~/.modest/cache, not ~/.modest/cache/cache.
Dirk-Jan C. Binnema [Sun, 4 Mar 2007 13:10:56 +0000 (13:10 +0000)]
* the modest cache should go to ~/.modest/cache, not ~/.modest/cache/cache.
  NOTE: this invalidates your old cache... sorry...

pmo-trunk-r876

17 years ago* big commit, mainly cleanups:
Dirk-Jan C. Binnema [Sat, 3 Mar 2007 16:20:52 +0000 (16:20 +0000)]
* big commit, mainly cleanups:
        - renamed gtk frontend into "gnome", which is more accurate
        - create "src/modest-platform.h" and platform-specific
          src/maemo/modest-platform.c and src/gtk/platform.c
        - get rid of all the #if-#else-stuff in src/, use the
          modest-platform instead
        - implemented modest_platform_get_file_icon_name, to get
  the icon name for some file or mime-type
        - move the menubar_to_menu to modest_maemo_utils_menubar_to_menu

pmo-trunk-r875

17 years agoFixed a leak reference when selecting folders
Sergio Villar Senin [Fri, 2 Mar 2007 23:32:00 +0000 (23:32 +0000)]
Fixed a leak reference when selecting folders

pmo-trunk-r874

17 years agopmo-trunk-r873
Dirk-Jan C. Binnema [Fri, 2 Mar 2007 11:20:11 +0000 (11:20 +0000)]
pmo-trunk-r873

17 years agoMaking Push E-mail work
Philip Van Hoof [Fri, 2 Mar 2007 11:20:09 +0000 (11:20 +0000)]
Making Push E-mail work

pmo-trunk-r872

17 years ago* test
Dirk-Jan C. Binnema [Fri, 2 Mar 2007 11:19:49 +0000 (11:19 +0000)]
* test

pmo-trunk-r871

17 years ago* Commented the popup-menu
Sergio Villar Senin [Thu, 1 Mar 2007 15:26:31 +0000 (15:26 +0000)]
* Commented the popup-menu
* Fixed some leaks in the ui actions
* Added TnyFolderMonitor support to the header view

pmo-trunk-r870

17 years ago* start in thumbnail mode
Dirk-Jan C. Binnema [Thu, 1 Mar 2007 07:10:19 +0000 (07:10 +0000)]
* start in thumbnail mode

pmo-trunk-r869

17 years ago* Added src/widgets/modest-recpt-view.[ch].
Jose Dapena Paz [Wed, 28 Feb 2007 18:08:57 +0000 (18:08 +0000)]
* Added src/widgets/modest-recpt-view.[ch].
        * Inherits from GtkLabel.
        * It's a tweaked GtkLabel for showing a list of recipients.
        * Main feature is the way it handles selections (tries to
          select a full recipient).
        * Emits a signal when a recipient is selected and clicked/
          double clicked.
* Added src/widgets/modest-mail-header-view.[ch].
        * Contains implementation of ModestMailHeaderView, which is
          an implementation of TnyHeaderView.
        * It's used in ModestMsgView to show the mail headers.
        * It shows the recipients list with the new ModestRecptView
        * It features an expansor, to hide or show more headers.
* src/modest-text-utils.[ch]:
        * Added modest_text_utils_split_addresses_list. It splits a
          list of email addresses in the format accepted by mail
          recipients list.
* src/modest-ui-actions.[ch]:
        * Added stub handler for message recipient activation (click on
          emails in a mail header).
* src/gtk/modest_main_window.c:
        * Main window GtkVBox spacing is now 0 for better HIG compliance.
        * Now scrolled windows are added with shadow (HIG compliance).
        * Added handling of signal from recipients in mail preview.

pmo-trunk-r868

17 years ago* Removed the modest send/receive custom icon
Sergio Villar Senin [Wed, 28 Feb 2007 13:31:21 +0000 (13:31 +0000)]
* Removed the modest send/receive custom icon
* Removed the drag-data-delete handler of the header view
* Added a folder observer for each refreshed folder
* Fixed a memory issue

pmo-trunk-r867

17 years ago* gtk/ compile fix
Dirk-Jan C. Binnema [Wed, 28 Feb 2007 06:51:24 +0000 (06:51 +0000)]
* gtk/ compile fix

pmo-trunk-r866

17 years ago* ui-actions, mail-operation:
Dirk-Jan C. Binnema [Wed, 28 Feb 2007 00:05:22 +0000 (00:05 +0000)]
* ui-actions, mail-operation:
- try to improve send/receive.
* runtime:
- add option "tny-test-accounts", to automagically add
  the tny test accounts
* tny-account-store:
- fix bug with getting transport account
- cache the accounts

pmo-trunk-r865

17 years ago* main-window:
Dirk-Jan C. Binnema [Tue, 27 Feb 2007 23:55:25 +0000 (23:55 +0000)]
* main-window:
- small updates, try to get device name
* edit-window:
- load correct xml file
* maemo-utils:
- small cleanups
* ...ui.xml:
- improve

pmo-trunk-r864

17 years ago* small cleanups, refactor, remove debug spam
Dirk-Jan C. Binnema [Tue, 27 Feb 2007 23:53:32 +0000 (23:53 +0000)]
* small cleanups, refactor, remove debug spam

pmo-trunk-r863

17 years agoCleaned up some code. Moved the monitor to the header view
Sergio Villar Senin [Tue, 27 Feb 2007 19:42:55 +0000 (19:42 +0000)]
Cleaned up some code. Moved the monitor to the header view

pmo-trunk-r862

17 years agoReplaced the first argument
Sergio Villar Senin [Tue, 27 Feb 2007 18:06:56 +0000 (18:06 +0000)]
Replaced the first argument

pmo-trunk-r861

17 years ago* set the local folders name to the device name if it exists,
Dirk-Jan C. Binnema [Tue, 27 Feb 2007 16:21:17 +0000 (16:21 +0000)]
* set the local folders name to the device name if it exists,
  not fully working yet.

pmo-trunk-r860

17 years ago* only use striketrough to mark deleted messages
Dirk-Jan C. Binnema [Tue, 27 Feb 2007 16:20:07 +0000 (16:20 +0000)]
* only use striketrough to mark deleted messages

pmo-trunk-r859

17 years ago* get the device name, surprisingly hard...
Dirk-Jan C. Binnema [Tue, 27 Feb 2007 16:19:41 +0000 (16:19 +0000)]
* get the device name, surprisingly hard...

pmo-trunk-r858

17 years agoDelete message does not copy it to the Trash, still unimplemented
Sergio Villar Senin [Tue, 27 Feb 2007 12:37:17 +0000 (12:37 +0000)]
Delete message does not copy it to the Trash, still unimplemented

pmo-trunk-r857

17 years ago* fix the doc building
Dirk-Jan C. Binnema [Tue, 27 Feb 2007 12:18:31 +0000 (12:18 +0000)]
* fix the doc building

pmo-trunk-r856