<?xml version="1.0" encoding="UTF-8"?>
<commits type="array">
  <commit>
    <parents type="array">
      <parent>
        <id>1b2de810389aff7cd9886cb120242669c02b5b0e</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/36bb34696989f569dbc815d8b5330337d901a27f</url>
    <id>36bb34696989f569dbc815d8b5330337d901a27f</id>
    <committed-date>2008-10-22T08:22:29-07:00</committed-date>
    <authored-date>2008-10-22T08:22:29-07:00</authored-date>
    <message>If we want to force a reload of a headerless file's totals array, we
must also clear the per-request cache, since it might carry an
incorrect totals array.

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8826 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>f7c61d868dfb80e6b6a49068ba9bb9eb5f0b5785</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>60cc9d0486e57b94b23d00546aba89dce7ac9621</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/c6dbaf84e2171fc7cb59843c3af342d1737b7656</url>
    <id>c6dbaf84e2171fc7cb59843c3af342d1737b7656</id>
    <committed-date>2008-10-21T01:34:51-07:00</committed-date>
    <authored-date>2008-10-21T01:34:51-07:00</authored-date>
    <message>Remove dead code which no longer has an effect.

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8814 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>40f4f5593e18b71a8ef2384d7c91d08112115501</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>766a44a30853f4c5768e4b52aadfab33c72f5171</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/60cc9d0486e57b94b23d00546aba89dce7ac9621</url>
    <id>60cc9d0486e57b94b23d00546aba89dce7ac9621</id>
    <committed-date>2008-10-21T01:33:37-07:00</committed-date>
    <authored-date>2008-10-21T01:33:37-07:00</authored-date>
    <message>When loading a file, we ask the statistics db module to give us
an array of all the units in a file which are editable.

Once this is loaded, it remains loaded, until we reload a file,
but not when we saved a file.

If the user edited a PO file without a header, Pootle would add
a header and save the file - this would add a new unit to the
top of the file. But since we didn't update the list of
editable units when saving, we had an incorrect view of the file.
We fix this by forcing the list of editable units to be reloaded
when saving.

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8813 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>be93c07c545d66fd98e7fa5901c9d851be6575b7</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>8af1930ed7280c98bf2eeea9acd9d361ede2619d</id>
      </parent>
    </parents>
    <author>
      <name>walter_l</name>
      <email>walter_l@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/733905f9d7a641ee32e3d6d4480107985fddcf1a</url>
    <id>733905f9d7a641ee32e3d6d4480107985fddcf1a</id>
    <committed-date>2008-10-20T08:26:47-07:00</committed-date>
    <authored-date>2008-10-20T08:26:47-07:00</authored-date>
    <message>When caching bites, it bites hard.

Each HTTP request caches per request data. This speeds up repeated stats
queries. But it also messes up if a file changes half-way through
a request and we're using old cached stats. So we MUST clear the cache
if a file's structure changes.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8804 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>1ce9f6e46a9770de61ae7dabb98fbb0869072028</tree>
    <committer>
      <name>walter_l</name>
      <email>walter_l@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>a87c2aaac45eb1344a6d5f9585782ef0d968ab4e</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/6571bc8f06a916e37511ecb0effac0593804c9a1</url>
    <id>6571bc8f06a916e37511ecb0effac0593804c9a1</id>
    <committed-date>2008-09-30T00:55:22-07:00</committed-date>
    <authored-date>2008-09-30T00:55:22-07:00</authored-date>
    <message>[Authors: Wil Clouser &amp; Julen Ruiz Aizpuru]
[Bug URL: http://bugs.locamotion.org/show_bug.cgi?id=490]

Original problem description:

	I think this was introduced with the patch from bug 427. To reproduce:

	1) Have a project with .po files in a directory.  For example:
	/$project/en/somedirectory/messages.po

	2) Make a suggestion for a string in the .po
	3) Approve the suggestion via the AJAX link (it will fail)
	4) Approve the suggestion via the submit button (it will work)

	I did some debugging on this and it looks like the submit button is sending
	more data via POST than the ajax method.  The item it's sending that matters
	here is pofilename.  When that isn't set in the POST it ends up being double up
	like so:
	  /somedirectory/somedirectory/messages.po

	Easy solution is to make the ajax send pofilename.  The hard solution is to dig
	through pootle.py and look at the pathwords variable to see why it's doubling
	up. :)

This patch fixes the suggestion problems.

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8557 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>71f4ddd56bb4fc58cc0834f201a9b59545ff04ad</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>6f6a3387bf2e98a664241afd480ce119fed9850c</id>
      </parent>
    </parents>
    <author>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/a87c2aaac45eb1344a6d5f9585782ef0d968ab4e</url>
    <id>a87c2aaac45eb1344a6d5f9585782ef0d968ab4e</id>
    <committed-date>2008-09-29T14:14:25-07:00</committed-date>
    <authored-date>2008-09-29T14:14:25-07:00</authored-date>
    <message>Provide the new 'Language' field for the PO header if we update the file header

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8546 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>4c8cbd8bdb4701ea8ed0b3f76aea095751eb7049</tree>
    <committer>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>322969c3dd6ed7d472e39363fc9af733a703b440</id>
      </parent>
    </parents>
    <author>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/411c7fed017fcf81938f91cc0ce204aebc86d536</url>
    <id>411c7fed017fcf81938f91cc0ce204aebc86d536</id>
    <committed-date>2008-09-23T06:28:19-07:00</committed-date>
    <authored-date>2008-09-23T06:28:19-07:00</authored-date>
    <message>Remove deprecated code that was needed earlier to update quickstats and for memoization

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8446 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>2dd6abac850d73d7f5034c2c0607d974ece0bb9e</tree>
    <committer>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>5404786641c2a25b3d7c0e1986be2d366f93e438</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/ad242a2cdc1bfae89c29b76b444a4597f123d79e</url>
    <id>ad242a2cdc1bfae89c29b76b444a4597f123d79e</id>
    <committed-date>2008-09-08T04:15:24-07:00</committed-date>
    <authored-date>2008-09-08T04:15:24-07:00</authored-date>
    <message>We might as well store the totals array - that is,
the mapping from unit indices to their positions in the store -
inside a pootlefile. Thus we can avoid hitting the stats code
every time we need to do such a lookup.

This code also uses the new lazy evaluation code to defer
loading the totals array until it is needed. Note that
the totals array has to be reset when we reload the po file,
thus we do self._total = util.undefined.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8249 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>7960f115102a91d279179c92c46f666087e5e14e</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>b213582b76bb127168ebe013e8f4ec7179fe79d5</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/30214079eb6e0eaf0b218c7de6a2181616c51422</url>
    <id>30214079eb6e0eaf0b218c7de6a2181616c51422</id>
    <committed-date>2008-09-08T04:12:50-07:00</committed-date>
    <authored-date>2008-09-08T04:12:50-07:00</authored-date>
    <message>Storing the quick stats in a file leads to some stats synchronization
nightmares.

The toolkit already supports storing the quick stats in the stats
database, and so we are moving everything there.

This commit also includes some other changes:
1. Move scanpofiles down the stack, so that it will only be called
   once when a ZIP file is uploaded (instead of once for every
   file).
2. Move stats resetting code to savepofile, so that it is centralized.

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8246 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>d79a141612256a499ca8276dc7d1be09e3928c81</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>2419caeffedb0adc1d1191dc4d917de904df6314</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/7f561bd88e643e8ae284a8d4d24e3203eac5d4d6</url>
    <id>7f561bd88e643e8ae284a8d4d24e3203eac5d4d6</id>
    <committed-date>2008-08-27T09:18:08-07:00</committed-date>
    <authored-date>2008-08-27T09:18:08-07:00</authored-date>
    <message>Added an ugly hack to force the recalculation of the stats of a
PO file which lacks a header and then gains one by being saved
in Pootle.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8221 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>984367718a83a49bfa7c0ccd5cfbdda816a4d98d</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>15c977bb3aa9d4c2883c3cbca79b9bd3ded5853e</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/e71a655463bff49079221c5342e07b5ecda7a383</url>
    <id>e71a655463bff49079221c5342e07b5ecda7a383</id>
    <committed-date>2008-08-27T09:16:31-07:00</committed-date>
    <authored-date>2008-08-27T09:16:31-07:00</authored-date>
    <message>We don't need to reread a file to have its stats recalculated.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8219 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>3eca6324dfae8bf5b72d9939dce6b85af779ee17</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>b15afe6c851c30050030844020ac6f2eecf2df4b</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/15c977bb3aa9d4c2883c3cbca79b9bd3ded5853e</url>
    <id>15c977bb3aa9d4c2883c3cbca79b9bd3ded5853e</id>
    <committed-date>2008-08-27T09:15:42-07:00</committed-date>
    <authored-date>2008-08-27T09:15:42-07:00</authored-date>
    <message>Removed dead code in pootlefile


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8218 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>10d5f311921b5b84599150d75a892ce40d44a331</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>a094a0d1393d5cdee07aa9665a83a0115f17bab9</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/b15afe6c851c30050030844020ac6f2eecf2df4b</url>
    <id>b15afe6c851c30050030844020ac6f2eecf2df4b</id>
    <committed-date>2008-08-27T09:14:56-07:00</committed-date>
    <authored-date>2008-08-27T09:14:56-07:00</authored-date>
    <message>Don't allow units to be shared between stores. There be dragons.

The thing is, this won't work with our libgettext bindings, since
libgettext only provides us with iterators to translation stores.
So that's the real reason we require units to be copied instead
of shared.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8217 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>1c3ea8d902300a631f659644a84bc8d20f794e9a</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>f922a963d7384c95858f1dab4646605994cd762f</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/a845b95ba67300a749b174ac54216089d9548902</url>
    <id>a845b95ba67300a749b174ac54216089d9548902</id>
    <committed-date>2008-08-25T07:02:21-07:00</committed-date>
    <authored-date>2008-08-25T07:02:21-07:00</authored-date>
    <message>Fixed a mismatch in the way the quality checks looked at suggestions
and in the way that Pootle looked at suggestions.

When the suggestion quality check looks at whether a unit has a
suggestion, it simply looks to see whether there exists a suggestion
with a matching source string.

In contrast, Pootle also required that the location information
of a unit in a suggestion file matched.

This caused problems if the location information in translation
files was updated. This is because the quality check mechanism
would report that there were suggestions, while Pootle would
fail to find the suggestions, due to the mismatch of location
information.

Pootle now also only looks at the source information. This is not
ideal and we need a more fundamental solution. But for now, this
is the best way to go.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8176 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>bf39c87c899c807777f9c3371bbc17cf7d8b743a</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>5728898183ccefd1b0d2cb48f33f859eaeb11cc3</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/a4de7ea08635824caa16553e876d1aea049c729f</url>
    <id>a4de7ea08635824caa16553e876d1aea049c729f</id>
    <committed-date>2008-08-21T03:37:40-07:00</committed-date>
    <authored-date>2008-08-21T03:37:40-07:00</authored-date>
    <message>Refactored and reworked the code to find the indices.

This code should be fast and should work when walking through
assignments and tests.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8145 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>cfb3a5a8eb681a1f90baef174ea42d6014d3645a</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>4b90b42bba8423a36109545412214555633374a2</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/e68b6f935d31b19adc459f993ccb0cc158ca5618</url>
    <id>e68b6f935d31b19adc459f993ccb0cc158ca5618</id>
    <committed-date>2008-08-19T09:03:18-07:00</committed-date>
    <authored-date>2008-08-19T09:03:18-07:00</authored-date>
    <message>Add a check to ensure that we use valid list indices.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8117 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>1fbd702d090eeac9886c933d2d568a1938ec9967</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>684d2f796b6fadd54be597592ac0cfca0fd3a59a</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/1589a4272b54575977faa44052dff00aa8286bb8</url>
    <id>1589a4272b54575977faa44052dff00aa8286bb8</id>
    <committed-date>2008-08-19T07:44:15-07:00</committed-date>
    <authored-date>2008-08-19T07:44:15-07:00</authored-date>
    <message>Replaced a linear search with a binary search. This speeds up
the enumeration of checks on large files significantly.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8107 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>fe67c8d8bc84c1f1283ed4c3c4add10655de8648</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>04f0247b86ec3518bedcbee533cc7ab7fc074ba9</id>
      </parent>
    </parents>
    <author>
      <name>murgilduta</name>
      <email>murgilduta@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/b2f5a1765d268fa7d5b76aad9a7f5f1bc71dfff7</url>
    <id>b2f5a1765d268fa7d5b76aad9a7f5f1bc71dfff7</id>
    <committed-date>2008-08-18T07:06:59-07:00</committed-date>
    <authored-date>2008-08-18T07:06:59-07:00</authored-date>
    <message>Do not use mutable objects as default parameters.

For more information, see &quot;important warning&quot; in http://docs.python.org/tut/node6.html#SECTION006710000000000000000


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8074 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>d139d4d03825a6c1ed5a8408088badbe46c68e91</tree>
    <committer>
      <name>murgilduta</name>
      <email>murgilduta@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>a3911a6963e4e642969cc0944443469c8a8d3be3</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/98e97a8c6dfc15a87b48b285d6d091e576661c2e</url>
    <id>98e97a8c6dfc15a87b48b285d6d091e576661c2e</id>
    <committed-date>2008-08-15T05:42:45-07:00</committed-date>
    <authored-date>2008-08-15T05:42:45-07:00</authored-date>
    <message>Fix pootlefile to work correctly when using XLIFF files.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8065 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>f09b28cc89a12318b0031d5644ad00025a1c06e0</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>8b8d36c0a1fc965f14c4aff2a950b4b640124ade</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/cc99f129ae304d979dd7d562a9930e9670406e65</url>
    <id>cc99f129ae304d979dd7d562a9930e9670406e65</id>
    <committed-date>2008-08-15T05:41:17-07:00</committed-date>
    <authored-date>2008-08-15T05:41:17-07:00</authored-date>
    <message>Improve data structures used in matchitems.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8063 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>e1f7bbe01f7740b5f6e5c5f1e0c0579873e91ccc</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>af08783c3e90719255d35d275b5d1157f7ad24b8</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/8b8d36c0a1fc965f14c4aff2a950b4b640124ade</url>
    <id>8b8d36c0a1fc965f14c4aff2a950b4b640124ade</id>
    <committed-date>2008-08-15T05:40:29-07:00</committed-date>
    <authored-date>2008-08-15T05:40:29-07:00</authored-date>
    <message>Add a position index for the units so that, given a unit, we can find
its position in the unit list in O(1) time (instead of the silly O(n)
system we had in place).


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8062 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>65cc09640ea9a35162b65b6f4de45835242b0b9f</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>891d73baefa0459ff971372c7868116aedf95d85</id>
      </parent>
    </parents>
    <author>
      <name>murgilduta</name>
      <email>murgilduta@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/c168a11513e5e709e59f4f754904d8cdbd9a0aa2</url>
    <id>c168a11513e5e709e59f4f754904d8cdbd9a0aa2</id>
    <committed-date>2008-08-14T11:04:17-07:00</committed-date>
    <authored-date>2008-08-14T11:04:17-07:00</authored-date>
    <message>Allow Pootle to search for fields.

This is the codebase for implementing search for fields (GUI follows).
Important note: this commit introduces changes in terms of what information and under which names is stored by the indexing engine, so from now on it is necessary to rebuild the search indexes in order to work this functionality.
Specifically, &quot;msgid&quot; and &quot;msgstr&quot; fields now are known as &quot;source&quot; and &quot;target&quot;. Additionally, &quot;notes&quot; and &quot;locations&quot; fields have been added.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8050 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>3019abd060d23fc6bb7e165d764d6334fea76773</tree>
    <committer>
      <name>murgilduta</name>
      <email>murgilduta@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>f6e14048dc64a26614bdeca5fc655c4e65279329</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/dbc5bf001f1962b17396ab4b0ec4ed9b2344e5fd</url>
    <id>dbc5bf001f1962b17396ab4b0ec4ed9b2344e5fd</id>
    <committed-date>2008-08-04T08:12:32-07:00</committed-date>
    <authored-date>2008-08-04T08:12:32-07:00</authored-date>
    <message>Currently, when we reclassify a unit, we recompute the statistics of an entire file
due to a bug. This is now fixed.



git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@7978 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>d672e5c010c566f9f39279a6dc45d1040fffd2aa</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>a30046e6a199dfad7548e4640bd2863f3ecf0011</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/8d57c3f8e3121e3065b81b1b2d311aa77725d7aa</url>
    <id>8d57c3f8e3121e3065b81b1b2d311aa77725d7aa</id>
    <committed-date>2008-07-17T10:50:43-07:00</committed-date>
    <authored-date>2008-07-17T10:50:43-07:00</authored-date>
    <message>We make sure to invalidate memoized stats values when we realize that
a file has changed since we last read its stats.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@7800 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>9c11b4df8258771befc7b7afc6424ed4ec6de180</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>f189ff7081c6c200ce4a47686e3c1b475fac3231</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/460f150d0d9e3971d3b97356ea3e4c0975a0fdce</url>
    <id>460f150d0d9e3971d3b97356ea3e4c0975a0fdce</id>
    <committed-date>2008-07-15T08:27:49-07:00</committed-date>
    <authored-date>2008-07-15T08:27:49-07:00</authored-date>
    <message>Fixed a stupid bug which caused projects containing more than one type of
translation file to experience strange bugs.

One can indeed be too smart for oneself. pootlefile.pootlefile was a class
which extended the functionality an existing file store. When the old code
was asked to load a translation file, it found the translation store class
corresponding to the file and set pootlefile.pootlefile's base class to that
class. Thus, if you loaded a PO file, then pootlefile.pootlefile's class's
__bases__ member was set to (pofile,). This would cause pootlefile.pootlefile
to behave as a class derived from pofile.

This worked great in projects with only a single file type. But if you also
happened to use something like XLIFF, then the base class of
pootlefile.pootlefile would flip between pofile and xlifffile depending on
the last loaded file type.

This is obviously not a good thing. So, we need to create pootlefile classes
for each type of translation store that gets used. We do this at runtime
by seeing whether such a class already exists; if not, it is created.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@7757 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>f3c69984ddc054306b76f79239bac5fcb46d2240</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>ae930be37749a8c30b09cf5f74e4209cad91a7e0</id>
      </parent>
    </parents>
    <author>
      <name>murgilduta</name>
      <email>murgilduta@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/f189ff7081c6c200ce4a47686e3c1b475fac3231</url>
    <id>f189ff7081c6c200ce4a47686e3c1b475fac3231</id>
    <committed-date>2008-07-15T05:45:51-07:00</committed-date>
    <authored-date>2008-07-15T05:45:51-07:00</authored-date>
    <message>Fixed retrieval of suggestions from XLIFF files in reviewing mode.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@7754 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>5776d7f5b3fd54261126b7f55cca98640105a909</tree>
    <committer>
      <name>murgilduta</name>
      <email>murgilduta@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>49ca02f88f35f99eade40c044f4d6c98f264b63d</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/739b412f97df3180a65d5165b59815cf4aa20fb5</url>
    <id>739b412f97df3180a65d5165b59815cf4aa20fb5</id>
    <committed-date>2008-07-01T07:47:22-07:00</committed-date>
    <authored-date>2008-07-01T07:47:22-07:00</authored-date>
    <message>pootlefile.getitem was previously modified not to trigger full-scale quality checks on a unit,
with the aim of speeding up common operations. At the moment though, there is no other code
to trigger checks, which means that the quality checking functionality doesn't work with
these changes.

We really ought to work on this high coupling that causes so much unexpected breakage.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@7687 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>7e6651787c5120a9cf73c761c08fcb515e7b4915</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>8f96ef12462bbb5bcf3b490bb7db5be4fd9b2ece</id>
      </parent>
    </parents>
    <author>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/49ca02f88f35f99eade40c044f4d6c98f264b63d</url>
    <id>49ca02f88f35f99eade40c044f4d6c98f264b63d</id>
    <committed-date>2008-07-01T04:23:36-07:00</committed-date>
    <authored-date>2008-07-01T04:23:36-07:00</authored-date>
    <message>Merged in changes from branches/Pootle-diet-and-trunk-merge.

Please see the branch if you are interested in the changes that
led to this commit.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@7686 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>33d5ed133e1d790ed8b735f1a21e137c8711acf7</tree>
    <committer>
      <name>winterstream</name>
      <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>b414d1072ed0b3dcf4d9dbde6bb9863afc9ab4d8</id>
      </parent>
    </parents>
    <author>
      <name>walter_l</name>
      <email>walter_l@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/a65c03a0651992740768071cf74f209ba6b3483e</url>
    <id>a65c03a0651992740768071cf74f209ba6b3483e</id>
    <committed-date>2008-06-20T05:30:56-07:00</committed-date>
    <authored-date>2008-06-20T05:30:56-07:00</authored-date>
    <message>Changed the &quot;%F&quot; formatter to the expanded &quot;%Y-%m-%d&quot; which results in the same
date. The difference is that the former is not supported on Windows.

This is related to bug #290.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@7622 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>4488f4178bedc1e5c1972c1cbb203bafd46cffa0</tree>
    <committer>
      <name>walter_l</name>
      <email>walter_l@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>b5ee8d846a519c5a0220b26985c5d1779b7d02ab</id>
      </parent>
    </parents>
    <author>
      <name>walter_l</name>
      <email>walter_l@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/b414d1072ed0b3dcf4d9dbde6bb9863afc9ab4d8</url>
    <id>b414d1072ed0b3dcf4d9dbde6bb9863afc9ab4d8</id>
    <committed-date>2008-06-20T04:32:15-07:00</committed-date>
    <authored-date>2008-06-20T04:32:15-07:00</authored-date>
    <message>Used translate.storage.poheader.tzstring() to replace the &quot;%z&quot; date formatting
option.

This fixes bug #290


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@7620 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>01897968795c645a70209904e08cbd6a7d62cee3</tree>
    <committer>
      <name>walter_l</name>
      <email>walter_l@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>4f16688f2df6637b800b0e84574ad9bc4cf76a6f</id>
      </parent>
    </parents>
    <author>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/6c506348b1a9e84d1c8706ddf30df98a2452901b</url>
    <id>6c506348b1a9e84d1c8706ddf30df98a2452901b</id>
    <committed-date>2008-03-13T03:13:41-07:00</committed-date>
    <authored-date>2008-03-13T03:13:41-07:00</authored-date>
    <message>Use .addunit() instead of .units.append. +Note about inefficient merging code

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@7073 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>7d145fbea8e5732a4e0f79f18437a7f2ee48fe32</tree>
    <committer>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>4c6c7d27e9ba8d9cd9481dd9515e7cd41cec2eb1</id>
      </parent>
    </parents>
    <author>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/55d4caaea740129f3262aa30bda653853ada412f</url>
    <id>55d4caaea740129f3262aa30bda653853ada412f</id>
    <committed-date>2008-02-29T04:54:45-08:00</committed-date>
    <authored-date>2008-02-29T04:54:45-08:00</authored-date>
    <message>Provide an upload box for users that only have the 'suggest' right, and handle such uploads properly.

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@7045 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>b861df19e83eea5c35094ea7778289d2513823e4</tree>
    <committer>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>b508d973f5bcdf571bf53d7a0a3cc0dfafb023a5</id>
      </parent>
    </parents>
    <author>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/b61665967b0e368ab878e5c0f3eac8a73d1a52f8</url>
    <id>b61665967b0e368ab878e5c0f3eac8a73d1a52f8</id>
    <committed-date>2007-11-13T04:40:39-08:00</committed-date>
    <authored-date>2007-11-13T04:40:39-08:00</authored-date>
    <message>Update now that ._initallcomments() is private in the toolkit

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@6708 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>779762f5533fc638da39ee23cb48fc6628bf7d84</tree>
    <committer>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>916d9566062411309ac86323983216187e4cab32</id>
      </parent>
    </parents>
    <author>
      <name>dwaynebailey</name>
      <email>dwaynebailey@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/166b830827ad6ef257600986215dedd46518b156</url>
    <id>166b830827ad6ef257600986215dedd46518b156</id>
    <committed-date>2007-09-14T01:50:16-07:00</committed-date>
    <authored-date>2007-09-14T01:50:16-07:00</authored-date>
    <message>Change isblankmsgstr() and use istranslated() instead; to align with base class.


git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@6527 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>13d4239bc3b6caf25762839dbfd719a0af4cd339</tree>
    <committer>
      <name>dwaynebailey</name>
      <email>dwaynebailey@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>8a7aa8162042c0ce3864c614ab18e7a468a769bf</id>
      </parent>
    </parents>
    <author>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </author>
    <url>http://github.com/julen/pootle/commit/cc95e4fa84ebed2a754c9a3d227653d425cd17d9</url>
    <id>cc95e4fa84ebed2a754c9a3d227653d425cd17d9</id>
    <committed-date>2007-07-17T03:49:19-07:00</committed-date>
    <authored-date>2007-07-17T03:49:19-07:00</authored-date>
    <message>Remove unused functions getfilename() and getext()

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@6128 54714841-351b-0410-a198-e36a94b762f5</message>
    <tree>4b50ff2de2599e8999e0fb9d253f6b5a9d5f5ffc</tree>
    <committer>
      <name>friedelwolff</name>
      <email>friedelwolff@54714841-351b-0410-a198-e36a94b762f5</email>
    </committer>
  </commit>
</commits>
