1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 18:32:15 -05:00
Commit Graph

5155 Commits

Author SHA1 Message Date
Jesse Vincent
12c3f7fb1e changelog update 2013-02-04 22:10:05 -05:00
cketti
ecc9f40899 Merge pull request #245 from m0vie/fixes
fixes for split-view changes
2013-02-04 13:57:30 -08:00
m0viefreak
a74d57cb71 MessageView: Theme fix when global and message view theme differ
- Since the split-view change, MessageView is only a fragment, so we
  can't call setTheme() anymore so easily.
  Instead, use a ContextThemeWrapper and use that to inflate the
  layout. This way the message header and attachment view
  are styled correctly.

- The HTC WebView fix in SingleMessageView was returning the wrong
  background color, when message view theme and global theme differ,
  because it always used the global theme to retrieve it.
  Fix: Specifically put the light/dark values in the themes.xml,
  and get them using getContext().getTheme().resolveAttribute().
  getContext() will use the ContextThemeWrapper from above, so
  even if the global and message view themes differ, it aleays
  returns the correct one.
  The getThemeBackgroundColor() method added to the K9ActivityMagic
  interface in 309eeb72ac is now not
  needed anymore, and was removed.
2013-02-04 19:30:40 +01:00
m0viefreak
2c87efe5f3 Put back prev/next buttons to non-split message views for now.
Some people prefer them over swiping / volume keys.

They could probably be made optional so they can be hidden.

Also: delete the now unused message_view_fragment.xml and message_view_option.xml.
2013-02-04 19:26:04 +01:00
m0viefreak
7bcecf7060 Fix action bar items missing when opening new message.
Calling configureMenu() inside updateMenu() doesn't update the
buttons properly. Instead, call invalidateOptionsMenu(). This forces
the menu to be re-created, and onPreareOptionsMenu() to be called.
From there, configureMenu() is called automatically.
2013-02-04 19:26:04 +01:00
cketti
7a5095a6aa Fix back button behavior when rotating the device 2013-02-04 17:26:46 +01:00
Danny Baumann
bed0d16304 Update German translation. 2013-02-04 11:39:25 +01:00
maniac103
debbb27dc2 Merge pull request #244 from rk4an/master
Update French translation
2013-02-04 02:32:32 -08:00
maniac103
3a81ccff1d Merge pull request #243 from jkinnunen/UpdatedFinnishTranslation
Finnish translation updated
2013-02-04 02:32:15 -08:00
Danny Baumann
275700e482 Fix a number of build warnings.
This gets rid of about 50 warnings. Deprecation warnings still remain,
though.
2013-02-04 11:18:49 +01:00
Erkan
5c384b1b62 Update res/values-fr/strings.xml 2013-02-04 09:22:21 +01:00
Jani Kinnunen
d2e59af3fa Finnish translation updated 2013-02-04 07:55:41 +02:00
Jesse Vincent
0645cd8d8f Bumped manifest to 4.322 2013-02-03 23:19:09 -05:00
cketti
250e79c3ba Clean up 'images' folder
* Remove outdated logos/icons
* Create new SVG version from K-9_Mail_Ears.ai (and rename that to K-9_Mail.ai)
* Create new 512x512 PNG of the logo
2013-02-04 02:42:14 +01:00
cketti
a5c00a42d0 Add missing Override annotations 2013-02-03 17:23:39 +01:00
cketti
869a769e23 Stop using deprecated PullToRefresh methods 2013-02-03 17:22:34 +01:00
cketti
d5a417d936 Fix some warnings 2013-02-03 17:08:48 +01:00
cketti
e2ce85706d Fix NullPointerException 2013-02-03 17:00:56 +01:00
cketti
8899031a3b Update changelog 2013-02-03 15:06:56 +01:00
cketti
034a4348c1 Set Theme.K9.Light in the manifest to get a nice startup animation
This will still look bad when the user is using the dark theme. But at
least there will be no flash of a dark actionbar when using the light
theme.
2013-02-03 15:06:27 +01:00
Sander Bogaert
565adb8aa3 Small dutch translation fix. 2013-02-02 14:25:21 +01:00
maniac103
6c1369b734 Merge pull request #233 from maniac103/improve-cert-fail-notification
Improve certificate failure notifications.
2013-02-02 04:05:23 -08:00
Danny Baumann
5d1e42c453 Improve certificate failure notifications.
The commit that introduced those notifications also introduced a rather
... interesting design pattern: The CertificateValidationException
notified the user of its pure existance - it's no longer a 'message'
only, but defines policy. As this is more than unusual, replace this
pattern by the MessagingController treating
CertificateValidationException specially when accessing remote folders.

Also make clear which account failed when constructing the notification.
2013-02-02 13:04:41 +01:00
maniac103
d97d6b848d Merge pull request #240 from maniac103/thread-star
Show thread as starred if at least one message in it is starred.
2013-02-02 04:03:22 -08:00
cketti
cce969a6b6 Merge branch 'split_view'
Conflicts:
	res/values-de/strings.xml
	src/com/fsck/k9/fragment/MessageListFragment.java
2013-02-02 05:30:30 +01:00
cketti
156e921814 Merge pull request #239 from maniac103/improve-pref-layout
Improve layout of preference screens
2013-02-01 19:48:30 -08:00
cketti
6a1b878321 Merge pull request #234 from maniac103/update-de-translation
Update German translation
2013-02-01 19:42:53 -08:00
cketti
57e55734c4 Make sure semaphore in MessageProvider is released in case of an error
Patch provided by teslacoil
2013-02-02 04:25:39 +01:00
cketti
3171ee969f Fix some warnings 2013-02-02 04:14:56 +01:00
cketti
58919c2912 Fix accessing the unread count using MessageProvider
Thanks to teslacoil for diagnosing the problem and coming up with a fix.
2013-02-02 04:13:26 +01:00
cketti
1f5ca9eeaa Don't use MessageViewFragment before it's initialized
The previous code worked fine on Android 4.2. But the lifecycle on older
Android versions (tested with 2.2) seems to be slightly different. This
should fix the problem.
2013-02-02 02:35:48 +01:00
cketti
b02e338b49 Add animation when switching from message list to message view 2013-02-02 02:21:20 +01:00
cketti
a7b90feb83 Fix handling of hotkeys to move to previous/next message 2013-02-01 21:35:38 +01:00
cketti
3cd1b13833 Update help text for hotkeys 2013-02-01 21:30:07 +01:00
Danny Baumann
6d1f96966a Fix sorting of threaded messages. 2013-02-01 09:52:14 +01:00
Danny Baumann
74c79cc365 Aggregate some more thread columns properly.
- show thread as starred if at least one message in it is starred
- use arrival date of last message as thread arrival date
- use sum of message attachment counts in thread as thread attachment
  count
- show thread as answered/forwarded if all messages in thread were
  answered/forwarded
2013-02-01 09:51:28 +01:00
cketti
40bbc5f5ae Change default value of split-screen setting 2013-02-01 03:37:47 +01:00
cketti
9a4b674282 Extract string to strings.xml 2013-02-01 03:34:35 +01:00
cketti
546b9434de Remove unused layouts 2013-02-01 03:24:00 +01:00
cketti
3439a2326d Use theme-specific color for message list divider 2013-02-01 03:18:04 +01:00
cketti
6b143d845a Set MessageList title in action bar depending on display mode 2013-02-01 02:50:00 +01:00
cketti
c11e5ef76b Fix back button behavior 2013-02-01 00:47:28 +01:00
Danny Baumann
cc805894c5 Update and improve German translation. 2013-01-31 10:42:09 +01:00
Danny Baumann
f27fc78922 Improve Account settings -> notifications layout.
It makes no sense to display ringtone and vibration as children, but not
doing that for the vibration pattern and length. As double indention is
not available, un-indent ringtone and vibration and indent the vibration
parameters instead.
2013-01-31 10:39:38 +01:00
Danny Baumann
5d713ace01 Re-order global preferences -> display.
Put folder list options between account list options and message list
options, so the order matches the order the respective activities appear
on screen.
2013-01-31 10:39:31 +01:00
cketti
af51eee9b1 Get rid of MessageView activity 2013-01-31 04:34:23 +01:00
cketti
1ab04587a9 Restore list state when recreating MessageListFragment 2013-01-30 22:30:19 +01:00
cketti
5b8fe64917 Refactor code to restore the list state 2013-01-30 21:56:16 +01:00
cketti
e9f57dd9c6 Merge branch 'remember-message-list-state' of git://github.com/maniac103/k-9 2013-01-30 20:30:46 +01:00
cketti
c87878fb63 Merge pull request #238 from maniac103/thread-unread
Show thread as unread if at least one of the messages of the thread is unread.
2013-01-30 11:19:56 -08:00