Commit Graph

4748 Commits

Author SHA1 Message Date
Joe Steele 2df436e7bc Close stream when done (StrictMode error). 2013-08-02 12:56:10 -04:00
Joe Steele fce39f0fce HTML tag cleanup
Effective with earlier commit e2c5229e85,
messages are wrapped with <html> tags at display time, rather than
when messages are saved.

For consistency, this commit removes tags from a status message, because
they, too, will be added back at display time.

Closes pull request 286.
2013-08-01 19:38:48 -04:00
Joe Steele b795106289 New "-pre-bump-check" target for sanity checks.
Perform all sanity checks before making any changes.
2013-08-01 11:21:52 -04:00
Joe Steele b8b21a0bcb Make sure the gh-pages branch is pushed. 2013-08-01 11:02:58 -04:00
Joe Steele 6e62081390 More robust parsing of changelog in build.xml 2013-08-01 11:02:57 -04:00
Joe Steele 57c998becc Automate publishing of the changelogs.
Publishes the changelog on github using a gh-pages branch.

This implementation changes back and forth between git
branches without updating the working tree.  This should
be faster because the branches are unrelated so updating
the tree would require removing and recreating all the files.
2013-08-01 11:02:49 -04:00
Koji Arai 3d6a7b6409 Updated Japanese translation of the changelog. 2013-07-31 22:32:16 +09:00
Jesse Vincent 2ba84bceaa Merge pull request #353 from sfuhrm/gmail-style-user-pics
Gmail style user pics, 2nd try

* sfuhrm/gmail-style-user-pics:
  Changed the fallback char from 'K' to '?'. The riddler was here ;).
  Using Android proposed colors as contact color palette now: http://developer.android.com/design/style/color.html
  Fixed NPE found by blackbox87 ... thanks pal!
  Added more finer characters as proposed by cketti
  Caching also the calculated anonymous bitmap as proposed by maniac103. This removes a lot of code for special handling unknown contacts.
  Bugfix for negative modulo result indexing the palette array
  Changed hash based color calc to a hash indexed palette as discussed in the pull request.
  GMail-app-style generated colorful one-letter contact pictures for pictureless contacts

Conflicts:
	src/com/fsck/k9/activity/misc/ContactPictureLoader.java
	src/com/fsck/k9/fragment/MessageListFragment.java
2013-07-30 22:00:19 -04:00
Jesse Vincent bbad298bf6 Convert OpenMode from an Enum to static ints for perf improvement.
(Based on profiling of long folder list opens)

This should be backported to 4.4
2013-07-30 21:32:35 -04:00
Jesse Vincent e9a0cbb269 Ask SQLite for a simpler calculation when counting unread messages. The docs imply this is a decent perf win. I'm seeing at least a bit of one 2013-07-30 21:32:35 -04:00
Jesse Vincent 375d62fb7d Add an actionbar item for "add account" to the account list (if there's room)
This should be backported to 4.4
2013-07-30 21:32:35 -04:00
Stephan Fuhrmann c30af244cf Changed the fallback char from 'K' to '?'. The riddler was here ;). 2013-07-30 21:27:52 +02:00
Stephan Fuhrmann ea5905861a Using Android proposed colors as contact color palette now: http://developer.android.com/design/style/color.html 2013-07-30 21:27:52 +02:00
Stephan Fuhrmann 393f45bda1 Fixed NPE found by blackbox87 ... thanks pal! 2013-07-30 21:27:52 +02:00
Stephan Fuhrmann 6af02c4c13 Added more finer characters as proposed by cketti 2013-07-30 21:27:52 +02:00
Stephan Fuhrmann df5766ba3a Caching also the calculated anonymous bitmap as proposed by maniac103. This removes a lot of code for special handling unknown contacts. 2013-07-30 21:27:52 +02:00
Stephan Fuhrmann d45c8b053b Bugfix for negative modulo result indexing the palette array 2013-07-30 21:27:52 +02:00
Stephan Fuhrmann 64212072c0 Changed hash based color calc to a hash indexed palette as discussed in the pull request. 2013-07-30 21:27:52 +02:00
cketti dfda81efe2 Merge pull request #352 from p0izon/patch-1
Update Hungarian translation
2013-07-25 16:35:13 -07:00
p0izon da70d0c5e0 fix some typos, update translation 2013-07-26 00:27:42 +02:00
russian k-9 mail user 765555eb18 Update providers.xml
Some Russian ISP added
2013-07-24 01:28:13 +04:00
cketti 55b10948c4 Fix "-set-version" build target that checks if the changelog is up-to-date
Adjust path to the master changelog file.
2013-07-23 20:53:47 +02:00
cketti a779e0e6f8 Merge branch 'ckChangeLog_update'
Closes pull request #345
2013-07-23 20:44:04 +02:00
cketti 2673b072fa Rename master changelog file 2013-07-23 20:33:44 +02:00
cketti 5069b70710 Update ckChangeLog to v1.0.0 2013-07-23 20:28:16 +02:00
cketti c8e15dc63f Merge branch 'translations' 2013-07-23 20:17:59 +02:00
cketti e6d6744f55 Rename string to better convey the meaning
notification_action_read -> notification_action_mark_as_read
2013-07-23 20:12:48 +02:00
cketti a597d2ef6c Clean up translations 2013-07-23 19:35:39 +02:00
Daniel Malmgren e992d4d0dc Update Swedish translation
Fixes issue 2172
2013-07-23 19:07:39 +02:00
cketti b0f9e63019 Merge pull request #346 from sfuhrm/fix-de-strings-xml
Update German translation
2013-07-23 17:56:02 +02:00
cketti 8330a846c7 Merge branch 'update_italian_translation' into translations
Fixes issue 5792
2013-07-23 17:53:31 +02:00
Vincenzo Reale c47ca191dc Another fix for the Italian translation 2013-07-23 17:42:44 +02:00
Sirtao Esposito fbf1a80083 Fix Italian translation 2013-07-23 17:41:39 +02:00
Vincenzo Reale f707872ca4 Update Italian translation 2013-07-23 17:39:45 +02:00
Wang Li 231367b448 required exception class 2013-07-23 14:17:11 +08:00
Wang Li 50a8d89468 remoteStore assocciated with account indirectly should also be reseted when acccount was removed. Otherwise, there might be residual data that will affec account being added later. 2013-07-23 14:09:53 +08:00
Stephan Fuhrmann a89a510f4e Tweaked the label a little to match better what the code does 2013-07-22 22:37:50 +02:00
Stephan Fuhrmann 722c732ea8 Added 2 missing German locale strings in strings.xml 2013-07-22 22:24:57 +02:00
Jesse Vincent 917da8cd90 Fix for market-reported NPE:
java.lang.NullPointerException
at com.fsck.k9.controller.MessagingController.actOnMessages(MessagingController.java:5602)
at com.fsck.k9.controller.MessagingController.deleteThreads(MessagingController.java:3986)
at com.fsck.k9.fragment.MessageListFragment.onDelete(MessageListFragment.java:1311)
at com.fsck.k9.fragment.MessageListFragment.onDelete(MessageListFragment.java:1306)
at com.fsck.k9.fragment.MessageListFragment.onContextItemSelected(MessageListFragment.java:1506)
at android.support.v4.app.Fragment.performContextItemSelected(Fragment.java:1583)
at android.support.v4.app.FragmentManagerImpl.dispatchContextItemSelected(FragmentManager.java:1992)
at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:370)
at com.actionbarsherlock.app.SherlockFragmentActivity.onMenuItemSelected(SherlockFragmentActivity.java:211)
at com.android.internal.policy.impl.PhoneWindow$DialogMenuCallback.onMenuItemSelected(PhoneWindow.java:4038)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:735)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:149)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:874)
at com.android.internal.view.menu.MenuDialogHelper.onClick(MenuDialogHelper.java:193)
at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:934)
at android.widget.AdapterView.performItemClick(AdapterView.java:301)
at android.widget.AbsListView.performItemClick(AbsListView.java:1287)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3078)
at android.widget.AbsListView$1.run(AbsListView.java:4161)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
2013-07-21 15:54:46 -04:00
Stephan Fuhrmann 16f6d85ea2 GMail-app-style generated colorful one-letter contact pictures for pictureless contacts 2013-07-21 14:34:45 -04:00
Stephan Fuhrmann 3feaeb6903 GMail-app-style generated colorful one-letter contact pictures for pictureless contacts 2013-07-21 16:58:38 +02:00
Jesse Vincent b0c9ae0d88 Tighten up the account list display for narrow-screened devices like the HTC One 2013-07-21 10:42:31 -04:00
Jesse Vincent 6c3fb46541 only show the super-condensed layout if the contact picture is not being displayed. 2013-07-21 09:20:40 -04:00
Jesse Vincent f494035e02 Update the invalid ssl warning string a bit 2013-07-21 08:26:30 -04:00
David Nahodyl 27bddd8dd3 Issue 1292 - Updated invalid certificate message to be a bit more user-friendly. 2013-07-21 08:24:52 -04:00
Uni- db22718700 Update Korean translation 2013-07-21 08:10:35 -04:00
Jani Kinnunen 2bb2bafe6e Finnish translation updated 2013-07-21 08:09:40 -04:00
Jesse Vincent 86ec4b32e9 restore super-dense layout when the user has selected 0 lines of message preview 2013-07-20 14:53:39 -04:00
Jesse Vincent 1fa6d5f960 Add an index for a heavy query 2013-07-18 20:09:39 -04:00
cketti 31553844ba Fix Spanish translation
Information provided by Luis Angel Yague on Google+
2013-07-19 01:20:17 +02:00