Fossil

Check-in [bbcc8fe3]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Re-added the jsonApiVersion field to /json/version output. Not sure why i had removed it. /json/report/create now fails with an NYI error instead of succeeding but doing nothing.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bbcc8fe351784c9a8a17f63cfbc234f92a6ef085
User & Date: stephan 2012-06-24 03:47:13
Context
2012-06-25
15:15
Whan a commit fails because the repository checksum does match the working directory, in addition to printing the names of the files that disagree, also output the repository version of the files to separate temporary files to facilitate error analysis. check-in: edc0c946 user: drh tags: trunk
2012-06-24
03:47
Re-added the jsonApiVersion field to /json/version output. Not sure why i had removed it. /json/report/create now fails with an NYI error instead of succeeding but doing nothing. check-in: bbcc8fe3 user: stephan tags: trunk
2012-06-22
23:42
Updates to test procedures. Add a test case for the hard-to-diff sqlite3.c change. check-in: f9b89f61 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/json.c.

  1911   1911     FSET(MANIFEST_DATE,"manifestDate");
  1912   1912     FSET(MANIFEST_YEAR,"manifestYear");
  1913   1913     FSET(RELEASE_VERSION,"releaseVersion");
  1914   1914     cson_object_set( jobj, "releaseVersionNumber",
  1915   1915                      cson_value_new_integer(RELEASE_VERSION_NUMBER) );
  1916   1916     cson_object_set( jobj, "resultCodeParanoiaLevel",
  1917   1917                      cson_value_new_integer(g.json.errorDetailParanoia) );
  1918         -  /*FSET(FOSSIL_JSON_API_VERSION, "jsonApiVersion" );*/
         1918  +  FSET(FOSSIL_JSON_API_VERSION, "jsonApiVersion" );
  1919   1919   #undef FSET
  1920   1920     return jval;
  1921   1921   }
  1922   1922   
  1923   1923   
  1924   1924   /*
  1925   1925   ** Returns the current user's capabilities string as a String value.

Changes to src/json_report.c.

    76     76         nReport = atoi(arg);
    77     77       }
    78     78     }
    79     79     return nReport;
    80     80   }
    81     81   
    82     82   static cson_value * json_report_create(){
           83  +  json_set_err(FSL_JSON_E_NYI, NULL);
    83     84     return NULL;
    84     85   }
    85     86   
    86     87   static cson_value * json_report_get(){
    87     88     int nReport;
    88     89     Stmt q = empty_Stmt;
    89     90     cson_value * pay = NULL;