Murray Cumming [Wed, 18 Apr 2007 12:06:49 +0000 (12:06 +0000)]
2007-04-18 Murray Cumming <murrayc@murrayc.com>
* src/modest-defs.h:
* src/modest-account-mgr-helpers.h:
* src/modest-account-mgr-helpers.c:
Store the security account setting in a single conf key instead of using
the options list, so that the list is left for just the to-be-removed camel hack,
and because gconf_client_set_list() is failing for some reason.
* src/modest-account-mgr.c:
(modest_account_mgr_add_server_account):
* src/maemo/modest-account-settings-dialog.c:
(modest_account_settings_dialog_set_account_name),
(save_configuration): Use the renamed functions.
pmo-trunk-r1583
Sergio Villar Senin [Wed, 18 Apr 2007 10:46:51 +0000 (10:46 +0000)]
* Fixed a bug when the model is empty
pmo-trunk-r1582
Murray Cumming [Wed, 18 Apr 2007 10:10:37 +0000 (10:10 +0000)]
2007-04-18 Murray Cumming <murrayc@murrayc.com>
* src/widgets/Makefile.am:
* src/widgets/modest-limit-retrieve-combo-box.c:
* src/widgets/modest-limit-retrieve-combo-box.h:
* src/widgets/modest-retrieve-combo-box.c:
* src/widgets/modest-retrieve-combo-box.h: Added new widgets for use in
the account settings dialog.
* src/modest-defs.h:
* src/modest-account-mgr-helpers.h:
* src/modest-account-mgr-helpers.c:
(modest_server_account_get_option_secure_auth),
(modest_server_account_set_option_secure_auth):
* src/modest-account-mgr.c:
(modest_account_mgr_add_server_account):
Use the existing AUTH_MECH conf key for the secure-auth setting,
instead of putting it in the list options, because this was actually used already.
* src/maemo/modest-account-settings-dialog.c:
(create_page_account_details),
(modest_account_settings_dialog_set_account_name),
(save_configuration):
* src/maemo/modest-account-settings-dialog.h:
Add the retrieve and retrieve-limit combo boxes, as per the UI spec.
Hide the leave-messages checkbox for non-POP accounts, as per the UI spec.
pmo-trunk-r1581
Sergio Villar Senin [Wed, 18 Apr 2007 09:49:30 +0000 (09:49 +0000)]
* Added hardware key navigation
pmo-trunk-r1580
Murray Cumming [Wed, 18 Apr 2007 08:30:27 +0000 (08:30 +0000)]
2007-04-18 Murray Cumming <murrayc@murrayc.com>
* src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.h:
* src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.c:
Added easysetup_serversecurity_combo_box_get_active_serversecurity_port()
* src/modest-defs.h:
* src/maemo/modest-account-settings-dialog.c:
(create_page_incoming), (on_combo_outgoing_security_changed),
(on_combo_incoming_security_changed), (create_page_outgoing),
(modest_account_settings_dialog_set_account_name),
(save_configuration): Load/Save the port number, and change it when the
security combo changes, to suitable defaults.
pmo-trunk-r1579
Sergio Villar Senin [Wed, 18 Apr 2007 07:22:01 +0000 (07:22 +0000)]
* Added preliminar code to support send and receive from the toolbar menu
pmo-trunk-r1578
Javier Fernandez Garcia-Boente [Tue, 17 Apr 2007 20:52:56 +0000 (20:52 +0000)]
* Change headers list tree view rows layout (flags, header, date).
* Use pango markup to set width and size font settings.
* Add a new compact flag column to show priority/attachment data.
* Enable multiple selection on headers list tree view.
* Change header settings in runtime configuration.
* Add 5 new icons to show all combinations of priority/attachment values.
pmo-trunk-r1577
Dirk-Jan C. Binnema [Tue, 17 Apr 2007 19:04:00 +0000 (19:04 +0000)]
add conic to PKG_CHECK_MODULES
pmo-trunk-r1576
Murray Cumming [Tue, 17 Apr 2007 16:49:15 +0000 (16:49 +0000)]
2007-04-17 Murray Cumming <murrayc@murrayc.com>
* src/modest-account-mgr.c:
(modest_account_mgr_add_server_account): Set the security and secure-auth
options, and add a comment saying that the other camel-specific options should be
removed in future.
pmo-trunk-r1575
Dirk-Jan C. Binnema [Tue, 17 Apr 2007 13:57:59 +0000 (13:57 +0000)]
* use the new TnyMaemoConicDevice
pmo-trunk-r1574
Murray Cumming [Tue, 17 Apr 2007 13:53:46 +0000 (13:53 +0000)]
2007-04-17 Murray Cumming <murrayc@murrayc.com>
* src/maemo/modest-account-settings-dialog.c: (check_data): Always return something,
found by valgrind.
* src/modest-tny-account-store.c: (account_list_free),
(on_account_changed): Add a TODO comment about a valgrind error, caused by using
cursor->data after unreffing it. But there is some strange stuff there so it might not be
easy to fix.
pmo-trunk-r1573
Murray Cumming [Tue, 17 Apr 2007 13:34:43 +0000 (13:34 +0000)]
2007-04-17 Murray Cumming <murrayc@murrayc.com>
* src/modest-protocol-info.c:
* src/modest-protocol-info.h: Added a MODEST_PROTOCOL_AUTH_CRAMMD5 enum value, because it
is required by our UI spec. Maybe something in our implementation will use this eventually.
* src/maemo/easysetup/modest-easysetup-secureauth-combo-box.c:
(easysetup_secureauth_combo_box_fill): Use the CRAM MD5 enum value
instead of the previous 0 placeholder.
* src/modest-defs.h: Added gconf list pair key names and value strings for the security and
secure-auth settings.
* src/modest-account-mgr-helpers.h:
* src/modest-account-mgr-helpers.c:
(modest_server_account_data_get_option_secure_auth),
(modest_server_account_set_option_secure_auth),
(modest_server_account_data_get_option_security),
(modest_server_account_set_option_security): Added this API for getting and setting the security
and secure-auth settings.
* src/maemo/modest-account-settings-dialog.h:
* src/maemo/modest-account-settings-dialog.c:
(modest_account_settings_dialog_finalize), (check_data),
(on_response): Store the original title as well as the name, to avoid unnececessary warnings
about changing titles.
(modest_account_settings_dialog_set_account_name): Load the security and secure-auth settings.
(save_configuration): Save the security and secure-auth settings.
* src/modest-conf.c: (modest_conf_set_list): Get the list after setting it, to show that this
is failing sometimes (though reporting success). I fear I may need to debug gconf to fix this.
pmo-trunk-r1572
Dirk-Jan C. Binnema [Tue, 17 Apr 2007 13:01:24 +0000 (13:01 +0000)]
fix link failures in tests/
pmo-trunk-r1571
Murray Cumming [Tue, 17 Apr 2007 09:22:05 +0000 (09:22 +0000)]
2007-04-17 Murray Cumming <murrayc@murrayc.com>
* src/modest-defs.h:
* src/modest-account-mgr.c:
(modest_account_mgr_add_server_account):
Added and used defines for the options key and value pair strings,
that are used so far, though they do not seem to correspond to anything in our
UI specs or ModestProtocol enum.
* src/modest-account-mgr-helpers.h:
* src/modest-account-mgr-helpers.c:
(compare_option_strings_for_name),
(modest_server_account_data_get_option_value),
(modest_server_account_data_get_option_bool),
(modest_account_mgr_get_server_account_option):
Added helper functions for parsing the options GSList.
pmo-trunk-r1570
Sergio Villar Senin [Tue, 17 Apr 2007 07:44:25 +0000 (07:44 +0000)]
* Replaced a duplicated action name in the msg window
pmo-trunk-r1569
Murray Cumming [Mon, 16 Apr 2007 18:23:01 +0000 (18:23 +0000)]
Attempt to commit. See ChangeLog2
pmo-trunk-r1568
Murray Cumming [Mon, 16 Apr 2007 13:26:17 +0000 (13:26 +0000)]
2007-04-16 Murray Cumming <murrayc@murrayc.com>
* po/en_GB.po: Added needed logical ID and translation.
* src/widgets/modest-account-view.c: (on_account_default_toggled),
(init_view): Made the is-default column clicking work.
pmo-trunk-r1567
Murray Cumming [Mon, 16 Apr 2007 12:19:50 +0000 (12:19 +0000)]
2007-04-16 Murray Cumming <murrayc@murrayc.com>
* configure.ac:
* src/maemo/easysetup/Makefile.am:
* src/maemo/easysetup/modest-easysetup-wizard.c:
(modest_easysetup_wizard_dialog_init):
* src/maemo/easysetup/provider-data-test.keyfile:
* src/maemo/easysetup/provider-data.keyfile:
Moved the provider data file to the new modest-providers-data package and used it from there.
pmo-trunk-r1565
Murray Cumming [Mon, 16 Apr 2007 10:49:53 +0000 (10:49 +0000)]
modest-providers-data directory added.
pmo-trunk-r1563
Sergio Villar Senin [Mon, 16 Apr 2007 07:00:46 +0000 (07:00 +0000)]
2007-04-16 Sergio Villar Senin <svillar@igalia.com>
* Fixed compilation error
pmo-trunk-r1562
Sergio Villar Senin [Sun, 15 Apr 2007 11:32:49 +0000 (11:32 +0000)]
2007-04-15 Sergio Villar Senin <svillar@igalia.com>
* Fixed the issue with the reply button popup
* Removed create_toolbar virtual method
* Fixed the GTK_STOCK_FULLSCREEN double definition in GNOME
* Replaced the hildon_window_toolbar_add/remove by gtk_widget_show/remove functions
pmo-trunk-r1561
Dirk-Jan C. Binnema [Sat, 14 Apr 2007 10:50:00 +0000 (10:50 +0000)]
small compile fixes
pmo-trunk-r1560
Sergio Villar Senin [Fri, 13 Apr 2007 17:15:12 +0000 (17:15 +0000)]
* Added simple/split view mode persistence for ModestMainWindow
pmo-trunk-r1559
Sergio Villar Senin [Fri, 13 Apr 2007 16:38:40 +0000 (16:38 +0000)]
* Added application wide toolbars to the pending windows
pmo-trunk-r1558
Sergio Villar Senin [Fri, 13 Apr 2007 13:12:06 +0000 (13:12 +0000)]
* Added show toolbar application wide code
* Added show toolbar code to main window (msgview and msgeditor pending)
pmo-trunk-r1557
Jose Dapena Paz [Fri, 13 Apr 2007 09:16:27 +0000 (09:16 +0000)]
* src/maemo/modest-msg-edit-window.c:
* Replaced the toolbar font size combobox with a completely new
button fitting better the specs.
* Also replaced the font face selector. Now it previews the font
in the combo and in the button.
* Changed the recipient buttons, to use the new
ModestRecptEditor widget.
* Unref the labels size group when it's initialized to avoid a
leak.
* Added size group for all the entry fields.
* Policy for horizontal scrollbar in scrolled window set to
never.
* Changed placeholder positions to put font color at the end and
font size and face at the beginning.
* Added expand and homogeneous properties to all buttons in
toolbar.
* Removed bullet list toolbar button.
* src/maemo/ui/modest-msg-edit-window-ui.xml:
* Added independent place holders for font color and font
attributes (size and face).
* src/widgets/modest-msg-edit-window-ui.h:
* Updated the zoom +/- actions to call modest ui actions instead
of private methods in edit window.
* Added src/widgets/modest-recpt-editor.[ch]:
* New widget to edit a list of recipients. It will be used to
implement the specific UI interactions and addressbook
integration expected in clients.
* It shows an addressbook button that will be used for
opening the addressbook and adding addresses to the recipient
list.
* It's work-in-progress
* src/widgets/Makefile.am:
* Added ModestRecptEditor to compilation.
pmo-trunk-r1556
Sergio Villar Senin [Fri, 13 Apr 2007 09:02:57 +0000 (09:02 +0000)]
* Added the proper icon to each window
* Replaced the Modest icon in the desktop file
pmo-trunk-r1555
Sergio Villar Senin [Thu, 12 Apr 2007 17:55:36 +0000 (17:55 +0000)]
* Added toggle actions for show toolbars
* Replaced some action names
pmo-trunk-r1554
Sergio Villar Senin [Thu, 12 Apr 2007 15:55:58 +0000 (15:55 +0000)]
* Fixed some compilation problems in GNOME
pmo-trunk-r1553
Dirk-Jan C. Binnema [Thu, 12 Apr 2007 14:35:21 +0000 (14:35 +0000)]
* it's SPLIT not SPLITTED :-)
pmo-trunk-r1552
Dirk-Jan C. Binnema [Thu, 12 Apr 2007 14:29:57 +0000 (14:29 +0000)]
* when removing an account, also remove the corresponding server_accounts
pmo-trunk-r1551
Sergio Villar Senin [Thu, 12 Apr 2007 12:59:24 +0000 (12:59 +0000)]
* Added simple view mode for main window
* Fixed an issue with an include file
pmo-trunk-r1550
Jose Dapena Paz [Thu, 12 Apr 2007 11:32:24 +0000 (11:32 +0000)]
* src/maemo/modest-msg-edit-window.c:
* Implemented support for ModestWindow zoom_minus and zoom_plus
virtual methods, replacing the previous minus/plus methods.
* Take into account window manager API in window-state-event
handler.
* src/widgets/modest-msg-edit-window-ui.h:
* Updated the zoom +/- actions to call modest ui actions instead
of private methods in edit window.
pmo-trunk-r1549
Jose Dapena Paz [Thu, 12 Apr 2007 11:13:11 +0000 (11:13 +0000)]
* src/modest-ui-actions.[ch]:
* Refactored and reworked fullscreen methods to use the
new modest_window_mgr methods.
* New Zoom plus and Zoom minus action handlers using the new
ModestWindow zooming interfaces.
* Added handlers for toggle actions "Show Cc:" and "Show Bcc:".
* src/maemo/modest-main-window-ui.h:
* Put zoom actions in main window action list.
* Use the new fullscreen actions interface.
* src/maemo/modest-msg-edit-window.ch:
* Implement the ModestWindow set_zoom and get_zoom interfaces.
Added menu actions for switching among different zoom levels.
* Implement full view scroll of the editor. Now it includes
the headers in the scrollable area. It uses the mark_set
event handler of the body GtkTextView, to update the scroll
current value.
* Replaced buttons and labels form header fields with
HildonCaption, to fit UI specs (and make the UI more usable).
* Added autocap setters.
* Max length of the subject field is now 1000 characters.
* Support for fullscreen modes (not ended yet).
* If To: field is empty on setting a new message to edit, it's
the field to take focus. If not, focus goes to body editor.
* Added zoom plus and minus key shortcuts.
* Implemented showing/hiding Cc: and Bcc: fields depending on
the selected menu option.
* src/maemo/modest-main-window.[ch]:
* Replaced radio menu options for fullscreen modes with a
toggle.
* Added support for the new window manager fullscreen management
API and behavior.
* src/maemo/ui/modest-msg-edit-window-ui.xml:
* Added zoom levels to menu.
* Added fullscreen toggle to menu.
* Added key accelerators for zoom and fullscreen.
* src/maemo/ui/modest-main-window-ui.xml:
* Added key accelerator for fullscreen.
* Now it uses the fullscreen toggle instead of radio menu items.
* src/maemo/modest-msg-view-window.c:
* Use the new zooming api available in ModestMsgWindow. Add
fullscreen state code to modify the status of the fullscreen
toggle action.
* src/gnome/modest-msg-edit-window.c:
* Added some stubs for newly implemented functionality in maemo
client. Anyway, there may be missing ones to compile in gnome.
* src/widgets/modest-msg-edit-window.h:
* Added new methods for toggling Cc: and Bcc: fields.
* Added interface for toggling fullscreen status.
* src/widgets/modest-window-mgr.[ch]:
* Added method for getting the current fullscreen status.
* src/widgets/modest-window.[ch]:
* Added interface methods for working with zoom (set/get, and
minus/plus). Added also default empty implementations.
* src/widgets/modest-msg-view-window.h:
* Added toggle fullscreen method.
* src/widgets/modest-msg-edit-window-ui.h:
* Added zoom support menu options.
* Added fullscreen toggle menu option
* Updated the Cc: and Bcc: field toggles, and removed the To:
toggle.
* Added key accelerator actions for zoom and fullscreen.
pmo-trunk-r1548
Sergio Villar Senin [Wed, 11 Apr 2007 17:30:15 +0000 (17:30 +0000)]
* Added code to handle fullscreen mode for the whole application
* Added ModestWindowMgr code
* Added automatic mail operation canceling when closing
* Added closing dialog MSG-NOT308
pmo-trunk-r1547
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 12:00:44 +0000 (12:00 +0000)]
build fixes for maemo
pmo-trunk-r1546
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 11:38:47 +0000 (11:38 +0000)]
build fixes for gnome
pmo-trunk-r1545
Jose Dapena Paz [Wed, 11 Apr 2007 11:11:46 +0000 (11:11 +0000)]
* src/maemo/modest-msg-view-window.c:
* Remove gtk_window_add_accel_group as it wasn't really needed
to attach actions. Should remove a runtime warning.
pmo-trunk-r1544
Jose Dapena Paz [Wed, 11 Apr 2007 10:57:51 +0000 (10:57 +0000)]
* src/maemo/modest-main-window-ui.h:
* Readded add to contacts action, that's different from
"contacts..." action.
* Removed accel actions for up and down, as this is now handled
internally through key events.
pmo-trunk-r1543
Sergio Villar Senin [Wed, 11 Apr 2007 10:06:32 +0000 (10:06 +0000)]
* Removed some files
pmo-trunk-r1542
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 09:53:43 +0000 (09:53 +0000)]
* build fixes for Bora
pmo-trunk-r1541
Jose Dapena Paz [Wed, 11 Apr 2007 08:01:59 +0000 (08:01 +0000)]
* Removed --enable-debug (added with error in previous commit)
pmo-trunk-r1540
Jose Dapena Paz [Wed, 11 Apr 2007 07:59:55 +0000 (07:59 +0000)]
* src/maemo/modest-msg-edit-window.c:
* Commented call to gtk_text_buffer_set_can_paste_rich_text
as it does not exist in gtk 2.10.
* src/maemo/modest-main-window-ui.h:
* Added zoom menu.
* Added callback for message details action.
* Added next/prev message menu actions.
* Added callback for "close window" menu action.
* Added next message, prev message, find in message and move to
actions to toolbar.
* Added toggle action for toggling fullscreen view.
* src/maemo/modest-platform.c:
* Added support for n800 and osso 1.1 implementation switching
of URI handling (n800 uses osso-uri and osso 1.1 uses
hildon-uri).
* Added implementation of modest_platform_activate_uri and
modest_platform_show_uri_popup (both for n800 and osso 1.1).
* Added warning banners for trying to show a popup of an
URI we don't support.
* src/maemo/modest-icon-names.h:
* Added "move to..." icon.
* src/maemo/modest-msg-view-window.c,
src/widgets/modest-msg-view-window.h:
* Added support for adding key accelerators from ui manager.
* Added support for zooming (actions for zoom levels, key
accelerators for hw keys, integration in menu). It uses the
magnification support in gtkhtml.
* Added support for fullscreen (actions for toggling fullscreen,
key accelerator for hw key, integration in menu). It uses the
standard ui action for toggling fullscreen in GtkWindow.
* Added ..._new_with_header_model. This function is used to
add a reference to a header list model. It's used for
implementing next/prev message actions.
* Added support for browsing next/prev messages of the header
model inside (the one the view was opened from). Added also
dimming support of next/prev message actions.
* Refactored toolbar setup to the new get_toolbar function.
* Now toolbar buttons get the whole space with homogeneous
spacing and expandable properties.
* Contextual menu for toolbar button "reply". It shows a menu
with different kinds of reply actions (forward, reply and
reply to all).
* Added "find in message" implementation. It uses
HildonFindToolbar and gtkhtml engine search. It's working
partially, as automatic scroll to the words found is not
working yet.
* Now it sets the priority of the message shown in the message
view, getting the information from the headers list.
* Added support for translation of ui manager actions.
* Added handler for contextual links in message view.
* Dimming support of reply button depending on the folder the
message is opened from.
* src/maemo/ui/modest-msg-view-window-ui.xml:
* Renamed some action names to be the same of main window.
* Added zoom level menu.
* Added fullscreen toggle menu option
* Added next/prev message menu options.
* Added "close all windows" menu option.
* Completed the toolbar layout:
- Added new, move to, find in message, prev message and
next message actions.
- Removed forward and reply to all toolbar buttons, and added
contextual menu for reply (including these actions).
* Added keyboard accelerators for zoom, fullscreen, and scroll.
* src/maemo/ui/modest-main-window-ui.xml:
* Renamed action names
* src/modest-ui-actions.[ch]:
* ..._on_delete closes the window after deletion when used
from ModestMsgView.
* ..._on_quit now calls gtk_main_quit () to really close the
application.
* ..._on_close_window added to implement specific window close.
It's partially implemented now (does not close properly the
main window).
* ..._on_next and ..._on_prev: added support for prev and next
operations in ModestMsgViewWindow (not implemented yet in
Maemo client). It passes a reference to the modesl of the
header list, that the ModestMsgViewWindow should hold to
implement next/prev on the specific model.
* ..._on_header_activate: now it passes the reference of the
header list model to the constructor of ModestMsgViewWindow
(used in implementation of on_next and on_prev).
* ..._on_msg_link_clicked: calls to the new platform function
modest_platform_activate_uri (currently only implemented in
maemo platform).
* Added ..._on_msg_link_contextual action, that's run on
requesting the contextual menu of a link. It calls to the new
modest_platform_show_uri_popup ().
* Added ..._on_change_zoom. This calls to the newly implemented
zoom support in ModestWindow (implemented at least for
ModestMsgViewWindow in maemo).
* Added ..._on_toggle_fullscreen. This toggles fullscreen status
of the window it's called from.
* Added ..._on_message_details. This opens the new message
details dialog.
* src/modest-platform.h:
* Added new function ..._activate_uri for implementing default
uri action handler.
* Added new function ..._show_uri_popup for implementing
contextual menu of an uri.
* src/gnome/modest-platform.c:
* Added skel implementations for ..._activate_uri and
..._show_uri_popup.
* src/gnome/modest-msg-view-window.c:
* Added skel implementations of ..._new_with_header_model,
..._select_next_message and ..._select_previous_message.
* src/widgets/modest-mail-header-view.c:
* Added support for showing the priority of the message. It does
not use the priority in the TnyHeader, but there are methods
for setting it externally.
* Removed bolding of field names.
* Now it get's and expanded parameter in constructor to specify
if it should be expanded on startup.
* src/widgets/modest-msg-view.[ch]:
* Added support for searching in gtkhtml view.
* Added support for showing contextual menus using tap and hold
(only in MAEMO).
* Added support for zooming (using gtkhtml magnification).
* Now it constructs the mail header view expanded.
* Added separator
* Added support for showing priority of messages (it simply sets
the priority of the mail header view).
* src/widgets/modest-window.[ch]:
* Added abstract methods for setting/getting zoom level.
* Added src/widgets/modest-msg-view-details-dialog.[ch]:
* Dialog to show some message properties. Now it's used only
from ModestMsgViewWindow details action.
pmo-trunk-r1539
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 07:21:39 +0000 (07:21 +0000)]
* cleanup icon handling a bit
pmo-trunk-r1538
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 06:59:24 +0000 (06:59 +0000)]
* get rid of our icon caches, use gtk's; now icons are displayed
again in the header view
pmo-trunk-r1537
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 06:34:29 +0000 (06:34 +0000)]
* make package compilable on arm again
* activate the i18n stuff
pmo-trunk-r1536
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 21:32:58 +0000 (21:32 +0000)]
* uncommented valid strings
pmo-trunk-r1535
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 21:32:31 +0000 (21:32 +0000)]
* minor fixes; revert is-default logic for default account
pmo-trunk-r1534
Sergio Villar Senin [Tue, 10 Apr 2007 17:45:18 +0000 (17:45 +0000)]
* Added window manager calls
* Commented some code in the mail operations that should be reviewed
* Added support to automatically unregister windows when destroyed
pmo-trunk-r1533
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 11:37:54 +0000 (11:37 +0000)]
* typo fix: rename recpt-activated into recpt_activated
pmo-trunk-r1532
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 11:36:32 +0000 (11:36 +0000)]
* enable the accounts stuff access through the menu
pmo-trunk-r1531
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 11:35:48 +0000 (11:35 +0000)]
* make the easy setup stuff somewhat working, using real data
pmo-trunk-r1530
Sergio Villar Senin [Tue, 10 Apr 2007 11:02:55 +0000 (11:02 +0000)]
* Added ModestWindowMgr object
* Added ModestWindowMgr singleton stuff
* Added homogeneous toolbar items to the main window
pmo-trunk-r1529
Sergio Villar Senin [Tue, 10 Apr 2007 09:55:04 +0000 (09:55 +0000)]
* Added logical ids to main window menus
pmo-trunk-r1528
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 08:06:25 +0000 (08:06 +0000)]
* build fixes
pmo-trunk-r1527
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 07:13:24 +0000 (07:13 +0000)]
* folder-view, header-view:
- compile fixes
pmo-trunk-r1526
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
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
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
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
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
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
Murray Cumming [Fri, 6 Apr 2007 08:10:00 +0000 (08:10 +0000)]
Committing so that svn lets me rename
pmo-trunk-r1519
Murray Cumming [Fri, 6 Apr 2007 08:05:43 +0000 (08:05 +0000)]
Committing so that svn lets me rename
pmo-trunk-r1518
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
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
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
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
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
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
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
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
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
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
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
Sergio Villar Senin [Wed, 4 Apr 2007 12:53:54 +0000 (12:53 +0000)]
Updated translatable strings
pmo-trunk-r1504
Sergio Villar Senin [Wed, 4 Apr 2007 12:53:22 +0000 (12:53 +0000)]
Replaced some logical id
pmo-trunk-r1503
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
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
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
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
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
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
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
Sergio Villar Senin [Tue, 3 Apr 2007 16:30:55 +0000 (16:30 +0000)]
remove duplicated
pmo-trunk-r1495
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
Sergio Villar Senin [Tue, 3 Apr 2007 15:31:14 +0000 (15:31 +0000)]
Added easysetup dir to configure
pmo-trunk-r1493
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
Sergio Villar Senin [Tue, 3 Apr 2007 15:09:38 +0000 (15:09 +0000)]
Temporal fix
pmo-trunk-r1490
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
Murray Cumming [Tue, 3 Apr 2007 13:36:38 +0000 (13:36 +0000)]
Added files from osso-modest-easysetup
pmo-trunk-r1487
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
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
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
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
Philip Van Hoof [Fri, 30 Mar 2007 18:25:40 +0000 (18:25 +0000)]
Incrementally filling up while downloading
pmo-trunk-r1468
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
Sergio Villar Senin [Tue, 20 Mar 2007 18:38:38 +0000 (18:38 +0000)]
* Removed platform icons from Maemo UI
pmo-trunk-r914
Dirk-Jan C. Binnema [Tue, 20 Mar 2007 13:52:59 +0000 (13:52 +0000)]
* tiny fixes for -Wall and Sardine
pmo-trunk-r913
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