Skip to content
Snippets Groups Projects
  1. Jan 11, 2013
    • Kurt Partridge's avatar
      [Rlog60] Log if a logUnit is uncommitted · b4fe364b
      Kurt Partridge authored
      Normally logUnits are committed to a log when the word that their data
      corresponds to is complete.   However, if the user reverts a word, or goes
      back to edit it, then the system may "uncommit" the logUnit, and append
      additional editing steps to the end of it.  When this happens, we want to
      make a note of it in the log, which is what this patch does.
      
      Change-Id: If2bbb948469824c76facf5f06ed8a6da8ff9777c
      b4fe364b
  2. Jan 10, 2013
    • Kurt Partridge's avatar
      [Rlog57b] fix logging of reverts · 75e69753
      Kurt Partridge authored
      Change-Id: I07c817061a0cc060197e0fea45195ca07a9bf276
      75e69753
    • Kurt Partridge's avatar
      [Rlog56] Buffer words before pushing out LogUnit · 403c4239
      Kurt Partridge authored
      Previously, a logbuffer only held an n-gram.  Data went in and out of it, FIFO, until privacy
      conditions were met (i.e. data not collected too frequently), and then an n-gram was saved.
      E.g., if n=2, and only 10% of data is collected, then 18 words went through the logbuffer before
      it captured the next 2 words.
      
      However, if a user then went back and edited the n-gram, these edits were not captured.
      
      This change changes the logbuffer size to temporarily hold data about words that are not recorded,
      so that if the user backs up over them, the edits to an n-gram that we do eventually capture are
      stored.  If the example above, instead of a logbuffer holding 2 words, it holds 20.  The system
      waits until all the words not needed for the n-gram have been gathered (i.e. the buffer is full),
      so the user has adequate time to edit, before shifting out the n-gram.  The buffer is still flushed
      when the user closes the IME.  See the comment for MainLogBuffer for an explanation.
      
      multi-project commit with I45317bc95eeb859adc1b35b24d0478f2df1a67f3
      
      Change-Id: I4ffd95d08c6437dcf650d866ef9e24b6af512334
      403c4239
    • Kurt Partridge's avatar
      [Rlog52z] Cleanup and small bug fixes · 8bda3580
      Kurt Partridge authored
      Change-Id: Ia3fca4881370ffcdd5f2b14d2d1094c51f4330ae
      8bda3580
    • Kurt Partridge's avatar
      [Rlog50] capture bigrams properly even with deletions · 3b95eaf7
      Kurt Partridge authored
      multi-project commit with Ia4ec213e8356897807cb6a278fccdbaa945732f0
      
      Change-Id: Ib3fe886dc889954a31586ab81d00a21d8d55efd2
      3b95eaf7
  3. Jan 08, 2013
  4. Jan 07, 2013
  5. Jan 04, 2013
  6. Dec 23, 2012
  7. Dec 22, 2012
  8. Dec 21, 2012
  9. Dec 20, 2012
  10. Dec 19, 2012
    • Kurt Partridge's avatar
      [Rlog6.1] Fix LOG_EVERYTHING bug. · 41fe487e
      Kurt Partridge authored
      (It wasn't logging everything).
      
      Change-Id: I8c9fd1e7c04e1a3813e26e67691e0366ff48c9ee
      41fe487e
    • Kurt Partridge's avatar
      Add ProductionFlag.IS_EXPERIMENTAL_DEBUG · 0aafbcf8
      Kurt Partridge authored
      The IS_EXPERIMENTAL_DEBUG flag gives a single place to turn off all debugging flags that might be
      set and to also enforce privacy controls.  Currently only used in the research package.
      
      multi-project commit with I9275a7c8e40bf56106447a02d3056655329074b3
      
      Change-Id: If769fe3a633f33963ca49e8ddf01ab24a30b6fd2
      0aafbcf8
  11. Dec 18, 2012
  12. Dec 17, 2012
    • Kurt Partridge's avatar
      [Rlog2] ResearchLogging fix multi-space logging · 3370dc82
      Kurt Partridge authored
      multi-space logging should look like single-space logging, missing a few minor log statements
      (SuggestionUpdates, SetComposingText)
      
      multi-project commit with I2af842348c2f2b8f7271ac5b63def245e83df24d
      
      Change-Id: Icd3187c0d0377255f82787afffea657c14345803
      3370dc82
  13. Dec 14, 2012
    • Kurt Partridge's avatar
      [Rlog1] Track time of log statements · 5e854e28
      Kurt Partridge authored
      Log statements are now recorded with a timestamp.  This is important for filtering out statements
      not part of words that are sampled when spaces are inserted automatically.
      
      multi-project commit with Change-Id: I68221a2528045d25632aef4bb716f92a4f4a56a4
      
      Change-Id: I46ac9b3b1dcbb08425160d0109028cb64445139c
      5e854e28
  14. Dec 06, 2012
  15. Dec 04, 2012
    • Kurt Partridge's avatar
      Fix crashes related to setSpan(-1 ... -1) errors · b10ec531
      Kurt Partridge authored
      Fixes b/7652661
      
      In some circumstnaces, when hiding the window, the logger tries to capture the TextView contents
      and restore the cursor position based on the values stored in LatinIME.  However, the IME may not
      know the cursor position.
      
      This fix does two things 1) doesn't try to reposition the cursor if the TextView contents are not
      to be captured, and 2) if the cursor position is unknown (i.e., == -1), doesn't try to move it back.
      
      Change-Id: I3976aaccf58c18f892c3a8530218ae52bcac9989
      b10ec531
  16. Nov 30, 2012
    • Kurt Partridge's avatar
      Revert "ResearchLog. Track time of log statements" · 33d5da59
      Kurt Partridge authored
      This reverts commit bdbe279c
      
      Other half of this change couldn't be committed because of a inter-project directory migration.  Reverting until things settle down.
      
      Change-Id: I3862fc8485dfca6d507f620e905cfa583aa0e39a
      33d5da59
    • Kurt Partridge's avatar
      ResearchLog. Track time of log statements · bdbe279c
      Kurt Partridge authored
      Log statements are now recorded with a timestamp.  This is important for filtering out statements
      not part of words that are sampled when spaces are inserted automatically.
      
      multi-project commit with Change-Id: I68221a2528045d25632aef4bb716f92a4f4a56a4
      
      Change-Id: I9f49c36391e1e1773b6d4876d7387c893024f87b
      bdbe279c
    • Kurt Partridge's avatar
      ResearchLogger switch word segmentation · 6a072047
      Kurt Partridge authored
      Previously, a logunit was considered a word only if it was all letters.  This is important for
      tracking bigrams correctly.
      
      Now, a logunit must have only at least one letter.  The dictionary check is still performed,
      and punctuation, etc. still comes in as separate LogUnits.  But a word can contain a space,
      which helps set up for logging words where spaces are inserted automatically, and other situations
      in which text is committed with an additional space tacked onto the end.
      
      Change-Id: Ia74094a99058890d20a9cdadf2d0989841a79a41
      6a072047
    • Kurt Partridge's avatar
      ResearchLogging of segments: groups of LogUnits that are sampled together · 98967539
      Kurt Partridge authored
      Change-Id: Id68de4c6b2df574a38bb5ca800a9b641b1d78200
      98967539
  17. Nov 29, 2012
  18. Oct 29, 2012
  19. Sep 04, 2012
Loading