[lnt/v0.4] lnt.server.reporting: Fix the url in v4 email reports.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@147656 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.reporting: Fix run report to match old order (instead of
grouping by primary field), which is more natural to read.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@147990 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.db: Change import to use "tag" field directly to determine database name.
 - For historical reasons, switch the default --use-v4 database to be called "its".

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@147991 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.db.testsuitedb: Fix import to properly remove mangled
schema name in tests.
 - <rdar://problem/10676737> [lnt/v0.4] Fix imports to properly strip leading
   mangled schema name

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@147992 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.db: Change Order objects to form a doubly linked list instead of caching their ordinal in the total lexicographic ordering.
 - This eliminates one potentially large scalability problem when we couldn't guarantee runs were normally inserted in increasing order.
 - <rdar://problem/10678610> [lnt/v0.4] run order ordinal computation is not scalable

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@147994 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt] lnt.server.ui.views/submitRun: Organize stashed copies of submitted runs
by database and date.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@147995 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.db.testsuitedb: Fix a serious bug importing runs with multiple samples per test.
 - In turns out my assumption that we didn't use one way of reporting multiple samples was completely bogus. We want to support both ways, at least for now. See the comments for more information.
 - <rdar://problem/10669625> [lnt/v0.4] failure to import multiple samples with multisampling (N=3)

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@147996 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.db.testsuitedb: Add a field to v0.4 Run's to allow them to specify what simple/ style run ID they are matched to.
 - This is part of an effort to allow us to migrate to using a v0.4 database without breaking any old URLs which have found their way into bug reports, etc.
 - WIP for <rdar://problem/10665231> [lnt] Support old simple/ links in v0.4 schema
 - I still don't know how I am going to go about populating this column (maybe just a batch job offline), but at least the DB has room for it.
 - No support for handling graph links yet (which requires translating the options as well).

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@147997 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.db.testsuitedb: Allow configs to declare a "simple run source", in which case the v0.4 import process will attempt to automatically populate the SimpleRunID field.
 - This commit is mostly just threading the config object around, the actual interesting bit is in testsuitedb.py.
 - WIP on <rdar://problem/10665231> [lnt] Support old simple/ links in v0.4 schema

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@147998 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4]: lnt.server.ui.view/simple_graph: Add simple -> v4 compatibility forwarding for graphs.
 - Finishes <rdar://problem/10665231> [lnt] Support old simple/ links in v0.4 schema

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@147999 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt] Tweak View2D to allow scaling along both axes.
 - Leads to ugly results in extreme cases because we really should be doing our own world -> client transformation, but occasionally very useful.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@148000 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] Fix a refacto in the v4_order template.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@148004 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.ui: Return a nice HTTP error instead of crashing when
trying to access an invalid test suite.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@148007 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt] lnt import: Add a --no-report option, useful for speeding up large batch
imports.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@148008 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt] Fix an obvious typo.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@148009 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt] lnt.server.ui.views/submitRun: Ensure tmpdir is a regular string, which we
unintentionally rely upon.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@148015 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4]: Remove a dead and not useful link.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@148060 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.ui/all_orders: Add a view of the entire run order table.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@148061 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.ui/v4_graph: Fix a crash when displaying sample points.
 - Also, don't default linear regression line to on.
 - Also, show_all_points shouldn't also require checking show_points.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@148062 91177308-0d34-0410-b5e6-96231b3b80d8
[lnt/v0.4] lnt.server.db.testsuitedb: Fix a major algorithmic/DB issue in get_adjacent_runs_on_machine, where we could end up materializing an inordinate number of SA Order objects.
 - See comments for the gratuitous explanation.

On my local server, this sped up one particular graph page by about 16x!

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@148063 91177308-0d34-0410-b5e6-96231b3b80d8