OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Wei Huang [Tue, 28 Apr 2009 00:07:54 +0000 (17:07 -0700)]
store contact id in messages table instead of the contact name string; merge messages and group messages table.
- merge group messages table with the messages table.
- replace the columns 'provider', 'account', 'contact' with 'thread_id' column in the messages table. The thread_id
column really contains the contact id for both messages and group messages.
- when querying for messages, use joined table b/t messages and contacts, so we can get the contact name with
the query. This is really for finding messages given a contact name, with the selection equal to
"contacts.account=? AND contacts.USERNAME=?".
- added uri "content://im/messagesByThreadId", "content://im/messagesByProvider", etc.
- reinstated the contact cleanup triggers to remove chats and messages. This was taken out because GTalkService
wipes out the old contacts and re-insert new roster result, causing the onging chats to be deleted. I changed
the way GTalkService updates contacts when getting a roster result on reconnect, and it's no longer destructive.
Wei Huang [Mon, 27 Apr 2009 17:06:11 +0000 (10:06 -0700)]
remove db trigger to delete chats when a contact is deleted.
The trigger would cause a bug where all chats are removed when we sync the roster from mcs during a reconnect,
because we delete all old contacts and insert the new contacts.
Wei Huang [Thu, 23 Apr 2009 18:14:09 +0000 (11:14 -0700)]
make IM messages and chats persistent in the database.
They used to be in memory portion of the database, and are wiped when the device reboots or the android.acore process dies. We are trying to make them more resilient to process dying, as well as trying to retain longer message history.
updated database version, implemented upgrade path (creating Messages and Chats tables in persistent store).
added back the trigger to delete chat when a contact is deleted.
Jean-Baptiste Queru [Thu, 23 Apr 2009 01:33:19 +0000 (18:33 -0700)]
Merge donut into master
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:57:00 +0000 (17:57 -0700)]
merge cupcake into donut
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:12:41 +0000 (17:12 -0700)]
Merge donut into master
Eric Fischer [Tue, 14 Apr 2009 00:16:22 +0000 (17:16 -0700)]
AI 146037: Import updated translations.
Automated import of CL 146037
Wei Huang [Mon, 13 Apr 2009 15:42:21 +0000 (08:42 -0700)]
AI 145854: am: CL 145547 - make the default build configuration to *not* include the IM app, and don't show the
IM landing page activity. Override the kila_us build (in tmus_overlay) to include the
IM app and enable the landing page activity.
this is in response to Keva asking to take IM app out of Opal. The result is that
only Kila_us build has IM app. Since it's the only, it seems reasonable to make the
default *not* include IM app.
- clean up some old obsolete stuff in the mk files. GTalkSettings isn't present anymore
and was never present in 1.0 release.
Original author: weih
Merged from: //branches/cupcake/...
Automated import of CL 145854
Eric Fischer [Fri, 10 Apr 2009 23:38:00 +0000 (16:38 -0700)]
AI 145782: Import updated translations.
DO NOT MERGE
Automated import of CL 145782
Wei Huang [Thu, 9 Apr 2009 22:43:54 +0000 (15:43 -0700)]
AI 145547: - make the default build configuration to *not* include the IM app, and don't show the
IM landing page activity. Override the kila_us build (in tmus_overlay) to include the
IM app and enable the landing page activity.
this is in response to Keva asking to take IM app out of Opal. The result is that
only Kila_us build has IM app. Since it's the only, it seems reasonable to make the
default *not* include IM app.
- clean up some old obsolete stuff in the mk files. GTalkSettings isn't present anymore
and was never present in 1.0 release.
BUG=
1780685,
1779060
Automated import of CL 145547
Eric Fischer [Thu, 9 Apr 2009 01:43:31 +0000 (18:43 -0700)]
AI 145225: Import more revised translations into cupcake.
Automated import of CL 145225
Eric Fischer [Tue, 7 Apr 2009 20:55:06 +0000 (13:55 -0700)]
AI 144912: Merge from cupcake:
Change 144891 on 2009/04/07 by enf@ebcdic
Import a bunch of revised translations.
Automated import of CL 144912
Eric Fischer [Tue, 7 Apr 2009 18:48:30 +0000 (11:48 -0700)]
AI 144891: Import a bunch of revised translations.
Automated import of CL 144891
Eric Fischer [Fri, 3 Apr 2009 04:42:07 +0000 (21:42 -0700)]
AI 144355: Automated g4 rollback of changelist 144335.
*** Reason for rollback ***
Roll back US Spanish import because it made the build too big.
*** Original change description ***
Import US Spanish translations, and a few Japanese changes.
Automated import of CL 144355
Eric Fischer [Thu, 2 Apr 2009 23:42:16 +0000 (16:42 -0700)]
AI 144336: am: CL 144335 Import US Spanish translations, and a few Japanese changes.
Original author: enf
Merged from: //branches/cupcake/...
Automated import of CL 144336
Eric Fischer [Thu, 2 Apr 2009 23:39:23 +0000 (16:39 -0700)]
AI 144335: Import US Spanish translations, and a few Japanese changes.
Automated import of CL 144335
Eric Fischer [Tue, 31 Mar 2009 18:11:18 +0000 (11:11 -0700)]
AI 143685: am: CL 143547 Import revised translations.
Original author: enf
Merged from: //branches/cupcake/...
Automated import of CL 143685
Eric Fischer [Mon, 30 Mar 2009 22:52:27 +0000 (15:52 -0700)]
AI 143547: Import revised translations.
BUG=
1738388
Automated import of CL 143547
The Android Open Source Project [Sun, 29 Mar 2009 15:55:15 +0000 (08:55 -0700)]
Merge branch 'open_source_no_contributions' into google_internal
The Android Open Source Project [Fri, 27 Mar 2009 22:31:13 +0000 (15:31 -0700)]
Merge commit 'korg/cupcake'
Eric Fischer [Thu, 26 Mar 2009 00:04:29 +0000 (17:04 -0700)]
Automated import from //branches/donutburger/...@142720,142720
Eric Fischer [Wed, 25 Mar 2009 23:13:54 +0000 (16:13 -0700)]
Automated import from //branches/master/...@142759,142759
Eric Fischer [Wed, 25 Mar 2009 22:22:44 +0000 (15:22 -0700)]
Automated import from //branches/cupcake/...@142643,142643
The Android Open Source Project [Thu, 19 Mar 2009 00:39:49 +0000 (17:39 -0700)]
auto import from //branches/cupcake_rel/...@140373
Jean-Baptiste Queru [Tue, 17 Mar 2009 23:08:51 +0000 (16:08 -0700)]
Merge commit 'remotes/korg/cupcake' into merge
The Android Open Source Project [Thu, 5 Mar 2009 22:34:39 +0000 (14:34 -0800)]
auto import from //depot/cupcake/@136594
The Android Open Source Project [Wed, 4 Mar 2009 03:32:43 +0000 (19:32 -0800)]
auto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:28:53 +0000 (18:28 -0800)]
auto import from //depot/cupcake/@135843
The Android Open Source Project [Tue, 3 Mar 2009 22:04:38 +0000 (14:04 -0800)]
auto import from //depot/cupcake/@132589
The Android Open Source Project [Tue, 3 Mar 2009 06:54:46 +0000 (22:54 -0800)]
auto import from //depot/cupcake/@137055
The Android Open Source Project [Thu, 19 Feb 2009 18:57:36 +0000 (10:57 -0800)]
auto import from //branches/cupcake/...@132276
The Android Open Source Project [Fri, 13 Feb 2009 20:57:54 +0000 (12:57 -0800)]
auto import from //branches/cupcake/...@131421
The Android Open Source Project [Tue, 10 Feb 2009 23:44:06 +0000 (15:44 -0800)]
auto import from //branches/cupcake/...@130745
The Android Open Source Project [Tue, 20 Jan 2009 22:05:43 +0000 (14:05 -0800)]
Merge branch 'cupcake'
The Android Open Source Project [Tue, 20 Jan 2009 22:04:01 +0000 (14:04 -0800)]
auto import from //branches/cupcake/...@127101
android-build SharedAccount [Fri, 16 Jan 2009 00:16:10 +0000 (16:16 -0800)]
Merge branch 'cupcake'
The Android Open Source Project [Fri, 16 Jan 2009 00:12:14 +0000 (16:12 -0800)]
auto import from //branches/cupcake/...@126645
The Android Open Source Project [Sat, 10 Jan 2009 02:04:23 +0000 (18:04 -0800)]
Merge branch 'cupcake'
The Android Open Source Project [Sat, 10 Jan 2009 01:51:25 +0000 (17:51 -0800)]
auto import from //branches/cupcake/...@125939
The Android Open Source Project [Thu, 18 Dec 2008 02:06:04 +0000 (18:06 -0800)]
Code drop from //branches/cupcake/...@124589
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)]
Initial Contribution